@omercnet/paseo-agent-crew 1.2.0 → 1.2.1-next.241.1
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 +16 -0
- package/README.md +3 -4
- package/client/crew.ts +1 -14
- package/index.client.tsx +1 -2
- package/package.json +7 -7
- package/paseo-plugin.json +1 -1
package/OVERVIEW.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Agent Crew adds an Explorer panel that shows the managed agents in a workspace as a parent and child tree, so you can see which agent is working, which needs you, and which failed. Archived agents are left out.
|
|
2
|
+
|
|
3
|
+
## What it can change
|
|
4
|
+
|
|
5
|
+
Opening an agent and expanding rows only change the view. Every action that changes an agent asks for confirmation first. From the panel you can send a follow-up to an idle or waiting agent, redirect a running agent (by default this stops its current turn first, and a provider that cannot take steering replaces the turn), detach a child from its parent, archive an agent (this can also archive its descendants in the same workspace, and the dialog says which), and allow or deny a pending permission request one at a time. Nothing is approved automatically.
|
|
6
|
+
|
|
7
|
+
## Settings and reads
|
|
8
|
+
|
|
9
|
+
The plugin reads the daemon's agent and workspace lists through the plugin SDK, up to 2,000 agents, and refreshes on live updates plus a timer. Its own code makes no network requests. **Auto open** is off by default. When on, the panel opens once for each new workspace, and the workspaces already opened are recorded in `plugin-data/agent-crew/auto-open.json` under the Paseo home directory.
|
|
10
|
+
|
|
11
|
+
## Limits
|
|
12
|
+
|
|
13
|
+
- Managed Paseo agents only. A provider's own subagents are not visible to plugins.
|
|
14
|
+
- Past 2,000 agents the panel warns that agents may be missing. Agents with no workspace appear only under a visible parent.
|
|
15
|
+
|
|
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": "1.2.
|
|
3
|
+
"version": "1.2.1-next.241.1",
|
|
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",
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"server",
|
|
37
37
|
"index.client.tsx",
|
|
38
38
|
"index.server.ts",
|
|
39
|
-
"paseo-plugin.json"
|
|
39
|
+
"paseo-plugin.json",
|
|
40
|
+
"OVERVIEW.md"
|
|
40
41
|
],
|
|
41
42
|
"scripts": {
|
|
42
43
|
"check": "biome check .",
|
|
@@ -47,15 +48,14 @@
|
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@biomejs/biome": "^2.5.10",
|
|
50
|
-
"@getpaseo/cli": "0.11.
|
|
51
|
-
"@getpaseo/client": "0.11.
|
|
52
|
-
"@getpaseo/plugin": "0.11.
|
|
53
|
-
"@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",
|
|
54
55
|
"@tanstack/react-query": "^5.102.3",
|
|
55
56
|
"@types/node": "^24.10.1",
|
|
56
57
|
"@types/react": "^19.2.18",
|
|
57
58
|
"@vitest/coverage-v8": "^5.0.0",
|
|
58
|
-
"fflate": "^0.8.3",
|
|
59
59
|
"react": "19.1.0",
|
|
60
60
|
"react-native": "0.81.5",
|
|
61
61
|
"typescript": "^7.0.2",
|
package/paseo-plugin.json
CHANGED