@getpaseo/server 0.17.0 → 0.17.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/dist/server/builtin-plugins/antigravity-provider/server/usage.ts +22 -12
- package/dist/server/builtin-plugins/package.json +1 -1
- package/dist/server/server/agent/agent-manager.d.ts +10 -1
- package/dist/server/server/agent/agent-manager.js +22 -5
- package/dist/server/server/agent/agent-messages/delivery.d.ts +43 -5
- package/dist/server/server/agent/agent-messages/delivery.js +386 -213
- package/dist/server/server/agent/agent-messages/envelope.d.ts +8 -0
- package/dist/server/server/agent/agent-messages/envelope.js +8 -1
- package/dist/server/server/agent/agent-prompt.d.ts +9 -2
- package/dist/server/server/agent/agent-prompt.js +21 -10
- package/dist/server/server/agent/host-operations/index.js +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.js +5 -1
- package/dist/server/server/agent/tools/paseo-tools.js +6 -5
- package/dist/server/server/bootstrap.js +43 -26
- package/dist/server/server/session/checkout/checkout-session.d.ts +3 -1
- package/dist/server/server/session/checkout/checkout-session.js +2 -2
- package/dist/server/server/session.d.ts +3 -2
- package/dist/server/server/session.js +29 -22
- package/dist/server/server/websocket-server.d.ts +1 -0
- package/dist/server/server/websocket-server.js +14 -0
- package/dist/server/server/workspace-archive-operations.d.ts +4 -0
- package/dist/server/server/workspace-archive-operations.js +24 -0
- package/dist/server/server/workspace-directory.d.ts +1 -3
- package/dist/server/server/workspace-directory.js +1 -12
- package/dist/server/skills/paseo/SKILL.md +1 -1
- package/dist/server/web-ui/_expo/static/js/web/{index-9e9b3c5827a186678679c43439d3998a.js → index-12cbb5f1badfbe448300b289565efbeb.js} +42 -42
- package/dist/server/web-ui/_expo/static/js/web/index-12cbb5f1badfbe448300b289565efbeb.js.br +0 -0
- package/dist/server/web-ui/_expo/static/js/web/index-12cbb5f1badfbe448300b289565efbeb.js.gz +0 -0
- package/dist/server/web-ui/index.html +1 -1
- package/dist/server/web-ui/index.html.br +0 -0
- package/dist/server/web-ui/index.html.gz +0 -0
- package/package.json +6 -6
- package/dist/server/web-ui/_expo/static/js/web/index-9e9b3c5827a186678679c43439d3998a.js.br +0 -0
- package/dist/server/web-ui/_expo/static/js/web/index-9e9b3c5827a186678679c43439d3998a.js.gz +0 -0
|
@@ -59,7 +59,6 @@ function activeWorkspaceRecords(workspaces, projects) {
|
|
|
59
59
|
export class WorkspaceDirectory {
|
|
60
60
|
constructor(deps) {
|
|
61
61
|
this.deps = deps;
|
|
62
|
-
this.archivingByWorkspaceId = new Map();
|
|
63
62
|
/**
|
|
64
63
|
* Per-workspace last-seen winning bucket + entered-at. Persists across
|
|
65
64
|
* `buildDescriptorMap` calls inside the daemon process; reset on cold start.
|
|
@@ -87,16 +86,6 @@ export class WorkspaceDirectory {
|
|
|
87
86
|
},
|
|
88
87
|
});
|
|
89
88
|
}
|
|
90
|
-
markArchiving(workspaceIds, archivingAt) {
|
|
91
|
-
for (const workspaceId of workspaceIds) {
|
|
92
|
-
this.archivingByWorkspaceId.set(workspaceId, archivingAt);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
clearArchiving(workspaceIds) {
|
|
96
|
-
for (const workspaceId of workspaceIds) {
|
|
97
|
-
this.archivingByWorkspaceId.delete(workspaceId);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
89
|
async buildDescriptorMap(options) {
|
|
101
90
|
const requestedIds = options.workspaceIds ? new Set(options.workspaceIds) : undefined;
|
|
102
91
|
const [agents, lastUserMessageTimes, providerSubagentActivity, persistedWorkspaces, persistedProjects, terminalContributions,] = await Promise.all([
|
|
@@ -129,7 +118,7 @@ export class WorkspaceDirectory {
|
|
|
129
118
|
...workspaceDescriptors[i],
|
|
130
119
|
createdAt: includedWorkspaces[i].createdAt,
|
|
131
120
|
lastUserMessageAt: lastUserMessageTimes.get(workspaceId) ?? null,
|
|
132
|
-
archivingAt: this.
|
|
121
|
+
archivingAt: this.deps.getArchivingAt(workspaceId),
|
|
133
122
|
});
|
|
134
123
|
}
|
|
135
124
|
// Background agents report to their creator; they never move the workspace's status.
|
|
@@ -84,7 +84,7 @@ Detach is an explicit user action in the subagents track, not an agent tool. A c
|
|
|
84
84
|
|
|
85
85
|
Agent-scoped `create_agent` defaults `notifyOnFinish` to true. Set it to `false` when you want explicit reporting or no completion callback.
|
|
86
86
|
|
|
87
|
-
**`send_agent_prompt`** — `{ agentId, prompt, activeTurnBehavior? }`. Use for follow-ups to an existing agent. Agent-scoped calls default to `steer`; top-level calls default to `interrupt`. For agent-scoped calls, `steer` waits until the recipient's current turn ends, and only `interrupt` stops a running turn. For top-level calls, `steer` joins the running turn and falls back to interruption when unavailable. CLI agent sends use the same defaults and accept `--behavior steer|interrupt`. Agent-scoped calls return a queued receipt immediately; messages to each recipient deliver together after two quiet seconds, or after the recipient's turn ends if it is running. Top-level calls return after dispatch acknowledgement. Agent-scoped calls default `notifyOnFinish` to true; top-level calls have no parent callback.
|
|
87
|
+
**`send_agent_prompt`** — `{ agentId, prompt, activeTurnBehavior? }`. Use for follow-ups to an existing agent. Agent-scoped calls default to `steer`; top-level calls default to `interrupt`. For agent-scoped calls, `steer` waits until the recipient's current turn ends, and only `interrupt` stops a running turn. The recipient reads messages in the order they were queued: an `interrupt` replaces the turn at once and delivers the messages queued before it first, in the same turn, so a later message never cancels an earlier one. To withdraw an earlier instruction, say so in the new message. For top-level calls, `steer` joins the running turn and falls back to interruption when unavailable. CLI agent sends use the same defaults and accept `--behavior steer|interrupt`. Agent-scoped calls return a queued receipt immediately; messages to each recipient deliver together after two quiet seconds, or after the recipient's turn ends if it is running. A person's prompt to the recipient takes the queued messages into its turn. `cancel_agent` and the stop button hold them until the recipient's next prompt. Top-level calls return after dispatch acknowledgement. Agent-scoped calls default `notifyOnFinish` to true; top-level calls have no parent callback.
|
|
88
88
|
|
|
89
89
|
**`update_agent`** — `{ agentId, name?, labels?, settings? }`. Use `settings` for runtime changes on an existing agent: `modeId`, `model`, `thinkingOptionId`, and provider-specific `features`. For Codex fast mode, pass `settings: { features: { "fast_mode": true } }`.
|
|
90
90
|
|