Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ pin and a line to read before you move.

## [Unreleased]

### Changed

- **The GitHub mark is restored.** The sidebar, settings, command center and timeline cards use
an inline Octicons SVG instead of a Lucide icon name, so removing Lucide's brand icons cannot
break the plugin. The mark inherits the host's color in light and dark themes.
- **Requires Paseo 0.13.0-beta.1 or newer.** Inline SVG icons need the 0.13 icon API; the SDK and
its client/protocol type dependencies now target 0.13.0.

## [1.0.1] — 2026-09-12

### Changed
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ row that fails validation still renders as nothing rather than throwing.

Still `props.navigation.openAgent({ agentId })`, run in the client bundle because the server half
lives beside the daemon, which on a remote host is a different machine from the one the user is
looking at. The plugin now requires Paseo `>=0.8.0` outright, so the pre-navigation-prop fallback
looking at. The plugin now requires Paseo `>=0.13.0-beta.1` outright, so the pre-navigation-prop fallback
this section used to describe is gone: every client that can run this bundle at all received the
`navigation` prop with it.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ command to run and a button to copy it, rather than an error.

## Install

Requires Paseo **0.8.0 or newer** on the daemon *and* on the app, plus the
Requires Paseo **0.13.0-beta.1 or newer** on the daemon *and* on the app, plus the
[`gh` CLI](https://cli.github.com/) authenticated on the daemon machine — the plugin shells out to
it and never handles a token itself.
it and never handles a token itself. Inline SVG icons require the 0.13 icon API.

```bash
paseo plugin add alysnnix/paseo-github-integration
Expand Down
2 changes: 1 addition & 1 deletion client/board/use-board-overlays.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export function useBoardOverlays(
* `navigateToAgent` against the host rendering the surface.
*
* The prop is still typed optional because hosts before 0.7.0-beta.3 passed
* nothing. This plugin now requires Paseo >=0.8.0, and each app checks that
* nothing. This plugin now requires Paseo >=0.13.0-beta.1, and each app checks that
* against its *own* version before it evaluates this bundle, so every client
* that can run this code passes it. The `undefined` branch therefore only
* leaves the notice standing — which already names the workspace the work went
Expand Down
33 changes: 33 additions & 0 deletions client/icons/github.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import type { PluginSvgIcon } from "@getpaseo/plugin/client";

/**
* GitHub's Octicons mark-github-16, with currentColor for the host's theme.
* Inline SVG keeps the brand mark independent of Lucide's removed brand icons.
* Source: https://github.com/primer/octicons/blob/main/icons/mark-github-16.svg
*
* MIT License
* Copyright (c) 2026 GitHub Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
export const githubIcon: PluginSvgIcon = {
svg: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">
<path d="M6.766 11.328c-2.063-.25-3.516-1.734-3.516-3.656 0-.781.281-1.625.75-2.188-.203-.515-.172-1.609.063-2.062.625-.078 1.468.25 1.968.703.594-.187 1.219-.281 1.985-.281.765 0 1.39.094 1.953.265.484-.437 1.344-.765 1.969-.687.218.422.25 1.515.046 2.047.5.593.766 1.39.766 2.203 0 1.922-1.453 3.375-3.547 3.64.531.344.89 1.094.89 1.954v1.625c0 .468.391.734.86.547C13.781 14.359 16 11.53 16 8.03 16 3.61 12.406 0 7.984 0 3.563 0 0 3.61 0 8.031a7.88 7.88 0 0 0 5.172 7.422c.422.156.828-.125.828-.547v-1.25c-.219.094-.5.156-.75.156-1.031 0-1.64-.562-2.078-1.609-.172-.422-.36-.672-.719-.719-.187-.015-.25-.093-.25-.187 0-.188.313-.328.625-.328.453 0 .844.281 1.25.86.313.452.64.655 1.031.655s.641-.14 1-.5c.266-.265.47-.5.657-.656" />
</svg>`,
};
3 changes: 2 additions & 1 deletion client/timeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { useMemo } from "react";
import { Pressable, Text, View } from "react-native";

import type { BoardTimelineItem } from "../shared/board";
import { githubIcon } from "./icons/github";
import { openExternalUrl } from "./web";

/**
Expand Down Expand Up @@ -81,7 +82,7 @@ export function BoardTimelineCard({
onPress={() => openExternalUrl(url)}
>
<View style={styles.header}>
<Icon name="GitPullRequest" size={14} color={theme.colors.foregroundMuted} />
<Icon icon={githubIcon} size={14} color={theme.colors.foregroundMuted} />
<Text style={styles.slug} numberOfLines={1}>
{repository} #{number}
</Text>
Expand Down
7 changes: 4 additions & 3 deletions index.client.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { PluginClientContext } from "@getpaseo/plugin/client";

import { GitHubBoard } from "./client/board/github-board";
import { githubIcon } from "./client/icons/github";
import { BoardSettingsScreen } from "./client/settings/settings-screen";
import { BoardTimelineCard } from "./client/timeline";
import { BoardTimelineItemSchema } from "./shared/board";
Expand All @@ -26,13 +27,13 @@ export default function contribute(client: PluginClientContext) {
client.addSidebarItem({
id: "board",
title: "GitHub",
icon: "GitPullRequest",
icon: githubIcon,
surface: "board",
});
client.addSettingsScreen({
id: "board",
title: "GitHub board",
icon: "GitPullRequest",
icon: githubIcon,
Component: BoardSettingsScreen,
});
client.addCommandCenterItem({
Expand All @@ -48,7 +49,7 @@ export default function contribute(client: PluginClientContext) {
client.addCommandCenterItem({
id: "open-board",
title: "Open GitHub board",
icon: "GitPullRequest",
icon: githubIcon,
keywords: ["github", "issues", "pull requests", "prs", "discussions"],
context: "global",
onSelect(context) {
Expand Down
129 changes: 101 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"test": "vitest run"
},
"dependencies": {
"@getpaseo/plugin": "0.8.0-beta.1"
"@getpaseo/plugin": "0.13.0"
},
"devDependencies": {
"@getpaseo/client": "0.8.0-beta.1",
"@getpaseo/protocol": "0.8.0-beta.1",
"@getpaseo/client": "0.13.0",
"@getpaseo/protocol": "0.13.0",
"@tanstack/react-query": "^5.102.8",
"@types/node": "^26.5.0",
"@types/react": "~19.2.0",
Expand Down
2 changes: 1 addition & 1 deletion paseo-plugin.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"id": "github-integration",
"requirements": { "paseo": ">=0.8.0" }
"requirements": { "paseo": ">=0.13.0-beta.1" }
}