@koinzhang/paseo-plugin-customize 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +3 -3
- package/client/dropdown.tsx +1 -1
- package/client/entry-card.tsx +1 -1
- package/client/entry-row.tsx +1 -1
- package/client/mechanism-card.tsx +1 -1
- package/client/preview-pane.tsx +1 -1
- package/client/screen-id.ts +2 -0
- package/client/sidebar-item.tsx +14 -0
- package/client/slash-command.test.ts +1 -1
- package/client/slash-command.ts +3 -2
- package/client/surface.tsx +1 -1
- package/client/ui.tsx +1 -1
- package/index.client.tsx +12 -9
- package/package.json +2 -2
- package/paseo-plugin.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to `@koinzhang/paseo-plugin-customize` are documented in thi
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.4.0] - 2026-11-05
|
|
9
|
+
|
|
10
|
+
Requires Paseo **>= 0.15.0**.
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Align with Paseo 0.15: the Customize board is a screen with a sidebar header row (replacing the deprecated `addSurface` / `addSidebarItem`), `/customize` and the Command Center item open it through `openScreen`, and UI components import from `@getpaseo/plugin/client/ui`.
|
|
15
|
+
|
|
8
16
|
## [0.3.0] - 2026-09-28
|
|
9
17
|
|
|
10
18
|
Requires Paseo **>= 0.9.0**.
|
|
@@ -30,6 +38,7 @@ Requires Paseo **>= 0.9.0**.
|
|
|
30
38
|
- The Rescan icon in the toolbar now matches the search, chevron, and mechanism icons at 14 px.
|
|
31
39
|
- Entry icons in list rows and cards are 14 px and centered with the title; the view toggle no longer shows a hover tooltip.
|
|
32
40
|
|
|
41
|
+
[0.4.0]: https://github.com/koinzhang/paseo-plugins/releases/tag/customize-v0.4.0
|
|
33
42
|
[0.3.0]: https://github.com/koinzhang/paseo-plugins/releases/tag/customize-v0.3.0
|
|
34
43
|
|
|
35
44
|
## [0.2.1] - 2026-09-28
|
package/README.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
One board that scans local agent configuration for a project: **instructions** (AGENTS.md, CLAUDE.md …), **rules**, **skills**, **MCP servers**, **commands**, **subagents**, and **plugins** at project and user level.
|
|
4
4
|
|
|
5
|
-
Requires Paseo >= 0.
|
|
5
|
+
Requires Paseo >= 0.15.0.
|
|
6
6
|
|
|
7
7
|
## What you get
|
|
8
8
|
|
|
9
9
|
- A **Customize** item in the sidebar's top navigation (next to New workspace, History, Search, Schedules) and in the Command Center opens the board.
|
|
10
10
|
- Submit `/customize` in an agent composer to open the board. It selects the agent's Provider and workspace Project when available, updating each independently and keeping the current selection for any unavailable value.
|
|
11
11
|
- Top-right **Provider** and **Project** pickers. The Provider menu lists enabled Paseo providers that Customize can scan, including Cursor, Cline, CodeBuddy Code, Gemini CLI, Goose, Grok Build, Kilo Code, Kiro CLI, Kimi Code, Qwen Code, and TraeCode CLI. It groups Built-in providers above ACP ones, each group sorted by name and separated by a divider, and marks each option as Built-in or ACP. Choices persist on the Paseo host; before a project is chosen, it defaults to the workspace you were last on. The Project menu lists every Paseo project.
|
|
12
|
-
- Tabs for Instructions / Rules / Skills / MCP / Commands / Subagents / Plugins. Each tab starts with a "how it loads" note for that provider and then **Project** and **User** sections grouped by source directory.
|
|
12
|
+
- Tabs for the categories the selected provider supports — Instructions / Rules / Skills / MCP / Commands / Subagents / Plugins. Each tab starts with a "how it loads" note for that provider and then **Project** and **User** sections grouped by source directory.
|
|
13
13
|
- On Skills, a switch beside search shows all skills, automatic skills (Auto and Conditional), or manual-only skills. Disabled and not-loaded skills stay under All. The choice stays on the page and is not saved with Provider or Project.
|
|
14
14
|
- Entries can be shown as a list or as a responsive card grid. The toggle to the right of the search field switches views (grid icon = card view, list icon = list view). Cards carry the same name, status, description, path/reason, token estimate, and Agent Plugins badge, reflow from one to three columns with the panel width, and open the same preview pane. The choice is saved on the Paseo host together with Provider and Project.
|
|
15
15
|
- A link icon to the left of Provider marks agents that search shared skill directories; providers without compatibility support show no icon. Cursor's icon follows its local `thirdPartyExtensibilityEnabled` IDE setting; OpenCode's follows its external-skill environment flags. The icon and skill explanation update on the next scan when those settings change.
|
|
@@ -46,7 +46,7 @@ Per-provider mechanisms and their sources are recorded in [`specs/001-customize-
|
|
|
46
46
|
## Install
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
|
-
paseo plugin add koinzhang/paseo-plugins
|
|
49
|
+
paseo plugin add github:koinzhang/paseo-plugins:customize
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
## Development
|
package/client/dropdown.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Icon } from "@getpaseo/plugin/client/
|
|
1
|
+
import { Icon } from "@getpaseo/plugin/client/ui";
|
|
2
2
|
import { Fragment, useState, type ReactNode } from "react";
|
|
3
3
|
import { Platform, Pressable, ScrollView, Text, View } from "react-native";
|
|
4
4
|
import { CONTROL, FONT_WEIGHT, ICON_SIZE, MENU, RADIUS, TEXT } from "./design-tokens.ts";
|
package/client/entry-card.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Icon } from "@getpaseo/plugin/client/
|
|
1
|
+
import { Icon } from "@getpaseo/plugin/client/ui";
|
|
2
2
|
import { memo, type ReactNode } from "react";
|
|
3
3
|
import { Pressable, Text, View } from "react-native";
|
|
4
4
|
import type { Entry } from "../shared/contracts.ts";
|
package/client/entry-row.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Icon } from "@getpaseo/plugin/client/
|
|
1
|
+
import { Icon } from "@getpaseo/plugin/client/ui";
|
|
2
2
|
import { memo, type ReactNode } from "react";
|
|
3
3
|
import { Pressable, Text, View } from "react-native";
|
|
4
4
|
import type { Category, Entry } from "../shared/contracts.ts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Icon } from "@getpaseo/plugin/client/
|
|
1
|
+
import { Icon } from "@getpaseo/plugin/client/ui";
|
|
2
2
|
import { useState, type ReactNode } from "react";
|
|
3
3
|
import { Platform, Pressable, ScrollView, Text, View } from "react-native";
|
|
4
4
|
import type { Mechanism } from "../shared/mechanisms.ts";
|
package/client/preview-pane.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openExternalUrl, useRpc } from "@getpaseo/plugin/client";
|
|
2
|
-
import { ScrollView, copyText, useToast } from "@getpaseo/plugin/client/
|
|
2
|
+
import { ScrollView, copyText, useToast } from "@getpaseo/plugin/client/ui";
|
|
3
3
|
import { useQuery } from "@tanstack/react-query";
|
|
4
4
|
import type { ReactNode } from "react";
|
|
5
5
|
import { Text, View } from "react-native";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PluginSidebarItemProps } from "@getpaseo/plugin/client";
|
|
2
|
+
import { SidebarRow } from "@getpaseo/plugin/client/ui";
|
|
3
|
+
import { CUSTOMIZE_SCREEN_ID } from "./screen-id.ts";
|
|
4
|
+
|
|
5
|
+
/** Sidebar header row that opens the Customize screen. */
|
|
6
|
+
export function CustomizeSidebarItem({ currentScreen, openScreen }: PluginSidebarItemProps) {
|
|
7
|
+
return (
|
|
8
|
+
<SidebarRow
|
|
9
|
+
icon="FolderCog"
|
|
10
|
+
active={currentScreen?.screenId === CUSTOMIZE_SCREEN_ID}
|
|
11
|
+
onPress={() => openScreen({ screenId: CUSTOMIZE_SCREEN_ID })}
|
|
12
|
+
/>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -9,7 +9,7 @@ function commandContext(provider: string, projectRootPath: string, rpc: (name: s
|
|
|
9
9
|
agent: { provider },
|
|
10
10
|
workspace: { projectRootPath },
|
|
11
11
|
rpc: (contract: { name: string }, input: unknown) => rpc(contract.name, input),
|
|
12
|
-
|
|
12
|
+
openScreen: (input: { screenId: string }) => opened.push(input.screenId),
|
|
13
13
|
} as unknown as PluginAgentCommandContext;
|
|
14
14
|
return { context, opened };
|
|
15
15
|
}
|
package/client/slash-command.ts
CHANGED
|
@@ -2,11 +2,12 @@ import { settingsRpc } from "@getpaseo/plugin";
|
|
|
2
2
|
import type { PluginAgentCommandContext } from "@getpaseo/plugin/client";
|
|
3
3
|
import { isProviderId } from "../shared/providers.ts";
|
|
4
4
|
import { selectionSettings } from "../shared/selection-settings.ts";
|
|
5
|
+
import { CUSTOMIZE_SCREEN_ID } from "./screen-id.ts";
|
|
5
6
|
|
|
6
7
|
const { read, write } = settingsRpc(selectionSettings.id);
|
|
7
8
|
|
|
8
9
|
/** Navigate even if the current agent cannot supply a usable board selection. */
|
|
9
|
-
export async function openCustomizeFromAgent({ agent, workspace, rpc,
|
|
10
|
+
export async function openCustomizeFromAgent({ agent, workspace, rpc, openScreen }: PluginAgentCommandContext): Promise<void> {
|
|
10
11
|
const provider = isProviderId(agent.provider) ? agent.provider : null;
|
|
11
12
|
const projectRoot = workspace.projectRootPath?.trim() ? workspace.projectRootPath : null;
|
|
12
13
|
try {
|
|
@@ -31,6 +32,6 @@ export async function openCustomizeFromAgent({ agent, workspace, rpc, openSurfac
|
|
|
31
32
|
}
|
|
32
33
|
throw new Error("Customize selection changed concurrently; try again");
|
|
33
34
|
} finally {
|
|
34
|
-
|
|
35
|
+
openScreen({ screenId: CUSTOMIZE_SCREEN_ID });
|
|
35
36
|
}
|
|
36
37
|
}
|
package/client/surface.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PluginSurfaceProps, usePaseo, useRpc, useSettings } from "@getpaseo/plugin/client";
|
|
2
|
-
import { Icon, ScrollView, TextInput } from "@getpaseo/plugin/client/
|
|
2
|
+
import { Icon, ScrollView, TextInput } from "@getpaseo/plugin/client/ui";
|
|
3
3
|
import { useQuery } from "@tanstack/react-query";
|
|
4
4
|
import { useCallback, useEffect, useMemo, useState, type ReactNode } from "react";
|
|
5
5
|
import { Platform, Text, View } from "react-native";
|
package/client/ui.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Icon } from "@getpaseo/plugin/client/
|
|
1
|
+
import { Icon } from "@getpaseo/plugin/client/ui";
|
|
2
2
|
import { useState, type ReactNode } from "react";
|
|
3
3
|
import { ActivityIndicator, Pressable, Text, View, type StyleProp, type ViewStyle } from "react-native";
|
|
4
4
|
import type { Status } from "../shared/contracts.ts";
|
package/index.client.tsx
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { PluginClientContext } from "@getpaseo/plugin/client";
|
|
2
2
|
import { Platform } from "react-native";
|
|
3
|
+
import { CustomizeSidebarItem } from "./client/sidebar-item.tsx";
|
|
4
|
+
import { CUSTOMIZE_SCREEN_ID } from "./client/screen-id.ts";
|
|
3
5
|
import { CustomizeSurface } from "./client/surface.tsx";
|
|
4
6
|
import { openCustomizeFromAgent } from "./client/slash-command.ts";
|
|
5
7
|
import { currentAppLanguage, watchAppLanguage } from "./client/use-app-language.ts";
|
|
6
8
|
import { trackWorkspaceRoute } from "./client/web.ts";
|
|
7
9
|
import { messagesFor } from "./shared/i18n.ts";
|
|
8
10
|
|
|
9
|
-
const SURFACE_ID = "customize";
|
|
10
|
-
|
|
11
11
|
/** Command titles follow the app language; the host has no update(), so re-register on change. */
|
|
12
12
|
function addCommands(client: PluginClientContext): () => void {
|
|
13
13
|
const messages = messagesFor(currentAppLanguage());
|
|
@@ -17,8 +17,8 @@ function addCommands(client: PluginClientContext): () => void {
|
|
|
17
17
|
icon: "FolderCog",
|
|
18
18
|
keywords: ["customize", "agents.md", "claude.md", "rules", "skills", "mcp", "instructions", "provider"],
|
|
19
19
|
context: "global",
|
|
20
|
-
onSelect({
|
|
21
|
-
|
|
20
|
+
onSelect({ openScreen }) {
|
|
21
|
+
openScreen({ screenId: CUSTOMIZE_SCREEN_ID });
|
|
22
22
|
},
|
|
23
23
|
});
|
|
24
24
|
const removeSlashCommand = client.addSlashCommand({
|
|
@@ -36,12 +36,15 @@ function addCommands(client: PluginClientContext): () => void {
|
|
|
36
36
|
|
|
37
37
|
export default function contribute(client: PluginClientContext) {
|
|
38
38
|
const stopRouteTracking = Platform.OS === "web" ? trackWorkspaceRoute() : () => {};
|
|
39
|
-
client.
|
|
40
|
-
|
|
41
|
-
id: "customize",
|
|
39
|
+
client.addScreen({
|
|
40
|
+
id: CUSTOMIZE_SCREEN_ID,
|
|
42
41
|
title: "Customize",
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
Component: CustomizeSurface,
|
|
43
|
+
});
|
|
44
|
+
client.addSidebarHeaderItem({
|
|
45
|
+
id: CUSTOMIZE_SCREEN_ID,
|
|
46
|
+
title: "Customize",
|
|
47
|
+
Component: CustomizeSidebarItem,
|
|
45
48
|
});
|
|
46
49
|
|
|
47
50
|
let removeCommands = addCommands(client);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koinzhang/paseo-plugin-customize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Inspect local instructions, rules, skills, MCP servers, commands, subagents, and plugins for Paseo providers.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test": "node --experimental-strip-types --test server/*.test.ts client/*.test.ts"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@getpaseo/plugin": "0.
|
|
28
|
+
"@getpaseo/plugin": "0.15.1",
|
|
29
29
|
"@tanstack/react-query": "^5.90.11",
|
|
30
30
|
"@types/node": "^24.13.5",
|
|
31
31
|
"@types/react": "~19.2.0",
|