@omercnet/paseo-agent-crew 1.2.1 → 2.0.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/OVERVIEW.md +1 -2
- package/README.md +3 -4
- package/client/crew.ts +1 -14
- package/index.client.tsx +1 -2
- package/package.json +5 -5
- package/paseo-plugin.json +1 -1
package/OVERVIEW.md
CHANGED
|
@@ -12,6 +12,5 @@ The plugin reads the daemon's agent and workspace lists through the plugin SDK,
|
|
|
12
12
|
|
|
13
13
|
- Managed Paseo agents only. A provider's own subagents are not visible to plugins.
|
|
14
14
|
- Past 2,000 agents the panel warns that agents may be missing. Agents with no workspace appear only under a visible parent.
|
|
15
|
-
- The sidebar **Active crews** row needs Paseo 0.11 or later.
|
|
16
15
|
|
|
17
|
-
Supports Paseo 0.
|
|
16
|
+
Supports Paseo ^0.11.0.
|
package/README.md
CHANGED
|
@@ -73,15 +73,14 @@ shown without hiding the failure.
|
|
|
73
73
|
|
|
74
74
|
## Active crews sidebar row
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
An **Active crews** sidebar header row counts the crews that have a member
|
|
77
77
|
working or waiting for input. Pressing it lists those crews with their workspace; choosing one opens
|
|
78
78
|
that workspace's Agent Crew panel in the Explorer. The list is a popover on wide layouts and a
|
|
79
79
|
bottom sheet on compact ones. Paseo's compact layout does not show Explorer panels, so there the
|
|
80
80
|
jump lands on the workspace. Hide the row from Settings > Sidebar.
|
|
81
81
|
|
|
82
82
|
The row reads the same directory query and subscriptions as the panel, so they stay active while
|
|
83
|
-
the sidebar is mounted.
|
|
84
|
-
there.
|
|
83
|
+
the sidebar is mounted.
|
|
85
84
|
|
|
86
85
|
## How it reads state
|
|
87
86
|
|
|
@@ -147,7 +146,7 @@ bun run test:coverage
|
|
|
147
146
|
bun run typecheck
|
|
148
147
|
```
|
|
149
148
|
|
|
150
|
-
The manifest supports Paseo `^0.
|
|
149
|
+
The manifest supports Paseo `^0.11.0`. Development pins the 0.11 SDK line through the workspace catalog; nightly compatibility checks run the OMP provider against the beta SDK channel. React 19.1 and React Native 0.81 match the host.
|
|
151
150
|
|
|
152
151
|
Release Please maintains versions, changelog entries, component tags, and GitHub releases from
|
|
153
152
|
Conventional Commits in the monorepo.
|
package/client/crew.ts
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
PluginClientContext,
|
|
3
|
-
PluginSidebarItemContribution,
|
|
4
|
-
usePaseo,
|
|
5
|
-
} from "@getpaseo/plugin/client";
|
|
1
|
+
import type { usePaseo } from "@getpaseo/plugin/client";
|
|
6
2
|
|
|
7
3
|
export type PaseoApi = ReturnType<typeof usePaseo>;
|
|
8
4
|
export type PaseoWorkspace = Awaited<ReturnType<PaseoApi["workspaces"]["list"]>>["entries"][number];
|
|
9
5
|
export type AgentEntry = Awaited<ReturnType<PaseoApi["agents"]["list"]>>["entries"][number];
|
|
10
6
|
type AgentSnapshot = AgentEntry["agent"];
|
|
11
7
|
|
|
12
|
-
/** Sidebar header items arrived in Paseo 0.11; on older hosts the item is not registered. */
|
|
13
|
-
export function addSidebarHeaderItemIfSupported(
|
|
14
|
-
client: Pick<PluginClientContext, "addSidebarHeaderItem">,
|
|
15
|
-
item: PluginSidebarItemContribution,
|
|
16
|
-
): () => void {
|
|
17
|
-
if (typeof client.addSidebarHeaderItem !== "function") return () => {};
|
|
18
|
-
return client.addSidebarHeaderItem(item);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
8
|
export function listenToCrewDirectory(paseo: PaseoApi, invalidate: () => void): () => void {
|
|
22
9
|
let closed = false;
|
|
23
10
|
let removeAgentObserver: (() => void) | undefined;
|
package/index.client.tsx
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { PluginClientContext, PluginSurfaceProps } from "@getpaseo/plugin/client";
|
|
2
2
|
import { createAutoOpenManager } from "./client/auto-open";
|
|
3
|
-
import { addSidebarHeaderItemIfSupported } from "./client/crew";
|
|
4
3
|
import { AgentCrew } from "./client/main";
|
|
5
4
|
import { AgentCrewSettingsScreen } from "./client/settings-screen";
|
|
6
5
|
import { createActiveCrewsItem } from "./client/sidebar";
|
|
@@ -37,7 +36,7 @@ export default function contribute(client: PluginClientContext) {
|
|
|
37
36
|
openPanel("crew", { location: "explorer" });
|
|
38
37
|
},
|
|
39
38
|
});
|
|
40
|
-
const removeActiveCrews =
|
|
39
|
+
const removeActiveCrews = client.addSidebarHeaderItem({
|
|
41
40
|
id: "active-crews",
|
|
42
41
|
title: "Active crews",
|
|
43
42
|
Component: createActiveCrewsItem(client),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omercnet/paseo-agent-crew",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Paseo Explorer panel for visualizing and controlling every managed agent crew in a workspace.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@biomejs/biome": "^2.5.10",
|
|
51
|
-
"@getpaseo/cli": "0.11.
|
|
52
|
-
"@getpaseo/client": "0.11.
|
|
53
|
-
"@getpaseo/plugin": "0.11.
|
|
54
|
-
"@getpaseo/protocol": "0.11.
|
|
51
|
+
"@getpaseo/cli": "0.11.1",
|
|
52
|
+
"@getpaseo/client": "0.11.1",
|
|
53
|
+
"@getpaseo/plugin": "0.11.1",
|
|
54
|
+
"@getpaseo/protocol": "0.11.1",
|
|
55
55
|
"@tanstack/react-query": "^5.102.3",
|
|
56
56
|
"@types/node": "^24.10.1",
|
|
57
57
|
"@types/react": "^19.2.18",
|
package/paseo-plugin.json
CHANGED