@omercnet/paseo-agent-crew 0.2.3-next.72.1 → 0.2.3-next.75.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/README.md CHANGED
@@ -58,7 +58,7 @@ shown without hiding the failure.
58
58
 
59
59
  `usePaseo().agents.list()` and `usePaseo().workspaces.list()` page the selected daemon directory at
60
60
  200 entries per page, up to 10 pages. Parent relationships come from the first-class
61
- `parentAgentId` field when the public 0.8 SDK exposes it, with a legacy label fallback for older
61
+ `parentAgentId` field when the public SDK exposes it, with a legacy label fallback for older
62
62
  snapshots. The workspace crew contains local agents, their managed descendants, and only the foreign
63
63
  ancestor paths needed to explain local membership. Archived agents are omitted, malformed parent
64
64
  cycles are bounded, and siblings are ordered by actionable state, creation time, then ID.
@@ -105,7 +105,14 @@ From GitHub:
105
105
  paseo plugin add omercnet/paseo-plugins:agent-crew
106
106
  ```
107
107
 
108
- From a local checkout on the Paseo daemon host:
108
+ Update a Git installation on either version, or an npm installation on Paseo 0.9, after reviewing
109
+ the proposed revision:
110
+
111
+ ```bash
112
+ paseo plugin update agent-crew
113
+ ```
114
+
115
+ From a local checkout on the Paseo daemon host, on Paseo 0.8 or 0.9:
109
116
 
110
117
  ```bash
111
118
  git clone https://github.com/omercnet/paseo-plugins.git
@@ -129,9 +136,10 @@ paseo plugin install /absolute/path/to/paseo-agent-crew
129
136
  paseo plugin reload agent-crew
130
137
  ```
131
138
 
132
- The manifest requires Paseo `^0.8.0`, which accepts Paseo 0.8.x including compatible prereleases.
133
- The project pins `@getpaseo/cli`, `@getpaseo/client`, `@getpaseo/plugin`, and
134
- `@getpaseo/protocol` to stable `0.8.0`. React 19.1 and React Native 0.81 match the host.
139
+ The manifest supports Paseo 0.8.x and the 0.9 beta line with
140
+ `^0.8.0 || ^0.9.0-beta.1`. The project pins `@getpaseo/cli`, `@getpaseo/client`,
141
+ `@getpaseo/plugin`, and `@getpaseo/protocol` to `0.9.0-beta.1` for development. React 19.1 and
142
+ React Native 0.81 match the host.
135
143
 
136
144
  Release Please maintains versions, changelog entries, component tags, and GitHub releases from
137
145
  Conventional Commits in the monorepo.
package/client/crew.ts CHANGED
@@ -5,6 +5,15 @@ export type PaseoWorkspace = Awaited<ReturnType<PaseoApi["workspaces"]["list"]>>
5
5
  export type AgentEntry = Awaited<ReturnType<PaseoApi["agents"]["list"]>>["entries"][number];
6
6
  type AgentSnapshot = AgentEntry["agent"];
7
7
 
8
+ export function listenToCrewDirectory(paseo: PaseoApi, invalidate: () => void): () => void {
9
+ const unsubscribeAgents = paseo.agents.subscribe(invalidate);
10
+ const unsubscribeWorkspaces = paseo.workspaces.subscribe(invalidate);
11
+ return () => {
12
+ unsubscribeAgents();
13
+ unsubscribeWorkspaces();
14
+ };
15
+ }
16
+
8
17
  const LEGACY_PARENT_AGENT_ID_LABEL = "paseo.parent-agent-id";
9
18
 
10
19
  export type CrewState = "needs-input" | "failed" | "working" | "ready" | "idle" | "closed";
package/client/main.tsx CHANGED
@@ -24,6 +24,7 @@ import {
24
24
  crewState,
25
25
  formatAge,
26
26
  isWorking,
27
+ listenToCrewDirectory,
27
28
  type PaseoApi,
28
29
  type PaseoWorkspace,
29
30
  parentAgentId,
@@ -216,12 +217,10 @@ export function AgentCrew({
216
217
  void queryClient.invalidateQueries({ queryKey });
217
218
  }, REFRESH_DEBOUNCE_MS);
218
219
  };
219
- const unsubscribeAgents = paseo.agents.subscribe(invalidate);
220
- const unsubscribeWorkspaces = paseo.workspaces.subscribe(invalidate);
220
+ const unsubscribeDirectory = listenToCrewDirectory(paseo, invalidate);
221
221
  return () => {
222
222
  clearTimeout(debounce);
223
- unsubscribeAgents();
224
- unsubscribeWorkspaces();
223
+ unsubscribeDirectory();
225
224
  };
226
225
  }, [paseo, queryClient, queryKey]);
227
226
 
@@ -636,7 +635,10 @@ export function AgentCrew({
636
635
  <Pressable
637
636
  accessibilityRole="button"
638
637
  accessibilityLabel={`Open ${agentTitle(item.entry)}`}
639
- onPress={() => navigation.openAgent({ agentId: agent.id })}
638
+ onPress={() => {
639
+ const target = { agentId: agent.id, serverId: host.id };
640
+ navigation.openAgent(target);
641
+ }}
640
642
  style={({ pressed }) => [panelStyles.rowBody, pressed && styles.pressed]}
641
643
  >
642
644
  {rowBody}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-agent-crew",
3
- "version": "0.2.3-next.72.1",
3
+ "version": "0.2.3-next.75.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",
@@ -49,10 +49,10 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@biomejs/biome": "^2.5.10",
52
- "@getpaseo/cli": "0.8.0",
53
- "@getpaseo/client": "0.8.0",
54
- "@getpaseo/plugin": "0.8.0",
55
- "@getpaseo/protocol": "0.8.0",
52
+ "@getpaseo/cli": "0.9.0-beta.1",
53
+ "@getpaseo/client": "0.9.0-beta.1",
54
+ "@getpaseo/plugin": "0.9.0-beta.1",
55
+ "@getpaseo/protocol": "0.9.0-beta.1",
56
56
  "@tanstack/react-query": "^5.102.3",
57
57
  "@types/node": "^24.5.2",
58
58
  "@types/react": "~19.2.0",
package/paseo-plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "agent-crew",
3
3
  "requirements": {
4
- "paseo": "^0.8.0"
4
+ "paseo": "^0.8.0 || ^0.9.0-beta.1"
5
5
  }
6
6
  }