@omercnet/paseo-tell-agent 1.2.3 → 1.2.4-next.320.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
@@ -70,7 +70,7 @@ Either choice only applies to the source agent. Its later message to the target
70
70
 
71
71
  On Paseo 0.13, an agent's send to another agent is queued instead of dispatched at once. Paseo delivers it after about two seconds with no further agent messages for that target, and merges the messages that arrive in that window into one prompt with one block per message. The target's completion notice back to the source agent is batched the same way, so a report and a finish notice can arrive together. Expect the target to receive a `/tell` roughly two seconds after the source agent forwards it. Messages with conflicting steer or interrupt behavior are delivered separately, in order. The pending window is kept in memory: a clean daemon shutdown flushes it, but a crash can lose it. The `/tell` instruction to the source agent is a user prompt and is not delayed.
72
72
 
73
- On Paseo 0.13, a daemon restart marks agents that were running as closed. Closed agents are not offered as targets.
73
+ Closed agents are offered as targets. A closed agent has no live runtime but keeps its record and provider session, and a message to it resumes that session. On Paseo 0.13, a daemon restart marks agents that were running as closed. On Paseo 0.14, an eligible agent that has been idle for an hour is closed automatically (pending permissions, active work and provider safety checks keep it live); set `agents.idleRuntimeCleanup: false` in the host config to turn that off. Archived agents are never offered.
74
74
 
75
75
  ## Trust
76
76
 
@@ -306,10 +306,9 @@ export function contributeAgentMessaging(client: PluginClientContext) {
306
306
  function syncAgent(agent: {
307
307
  id: string;
308
308
  workspaceId?: string | null;
309
- status: string;
310
309
  archivedAt?: string | null;
311
310
  }) {
312
- if (!agent.workspaceId || agent.archivedAt || agent.status === "closed") {
311
+ if (!agent.workspaceId || agent.archivedAt) {
313
312
  removePill(agent.id);
314
313
  return;
315
314
  }
@@ -12,9 +12,11 @@ export type TargetResolution =
12
12
  | { kind: "none" }
13
13
  | { kind: "ambiguous"; entries: AgentEntry[] };
14
14
 
15
+ // A closed agent has no live runtime (idle release on Paseo 0.14, daemon restart on 0.13)
16
+ // but is resumable: a send loads it through ensureAgentLoaded. Archived agents are excluded.
15
17
  export function isMessageable(entry: AgentEntry, sourceAgentId: string): boolean {
16
18
  const agent = entry.agent;
17
- return agent.id !== sourceAgentId && !agent.archivedAt && agent.status !== "closed";
19
+ return agent.id !== sourceAgentId && !agent.archivedAt;
18
20
  }
19
21
 
20
22
  export function messageTargets(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omercnet/paseo-tell-agent",
3
- "version": "1.2.3",
3
+ "version": "1.2.4-next.320.1",
4
4
  "type": "module",
5
5
  "description": "Send messages to agents in other workspaces on the same Paseo host.",
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  "publishConfig": {
17
17
  "access": "public"
18
18
  },
19
- "packageManager": "bun@1.4.3",
19
+ "packageManager": "bun@1.4.4",
20
20
  "engines": {
21
21
  "node": ">=24"
22
22
  },
@@ -44,9 +44,9 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@biomejs/biome": "^2.5.10",
47
- "@getpaseo/client": "0.13.0",
48
- "@getpaseo/plugin": "0.13.0",
49
- "@getpaseo/protocol": "0.13.0",
47
+ "@getpaseo/client": "0.14.0-beta.1",
48
+ "@getpaseo/plugin": "0.14.0-beta.1",
49
+ "@getpaseo/protocol": "0.14.0-beta.1",
50
50
  "@tanstack/react-query": "^5.102.3",
51
51
  "@types/node": "^24.10.1",
52
52
  "@types/react": "^19.2.18",
package/paseo-plugin.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "id": "tell-agent",
3
3
  "description": "Send messages to agents in other workspaces on the same Paseo host.",
4
- "requirements": { "paseo": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0" }
4
+ "requirements": { "paseo": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0" }
5
5
  }