@hearsay-tools/squawk 0.18.0-pr3464.6136 → 0.18.0-pr3467.6147
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 +1 -1
- package/dist/activity/wait.js +1 -1
- package/dist/agent-config/account-identity.js +1 -1
- package/dist/agent-config/catalog.js +1 -1
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/agent-config/model-settings/pi.js +3 -3
- package/dist/agent-config/seed.d.ts +2 -2
- package/dist/agent-config/seed.js +3 -3
- package/dist/agent-config/seed.js.map +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/contract/ask-schema.d.ts +1 -1
- package/dist/contract/attachments.d.ts +2 -2
- package/dist/contract/conversations.d.ts +1 -1
- package/dist/contract/delegation.d.ts +2 -2
- package/dist/contract/events.d.ts +3 -3
- package/dist/contract/handoff.d.ts +2 -2
- package/dist/contract/index.d.ts +1 -1
- package/dist/contract/index.js +16 -16
- package/dist/contract/run-predicates.d.ts +1 -1
- package/dist/contract/skill-sources.d.ts +2 -2
- package/dist/contract/task-options.d.ts +1 -1
- package/dist/contract/usage-limit-hold.d.ts +1 -1
- package/dist/contract/waits.d.ts +13 -13
- package/dist/core/agent-runner.d.ts +3 -0
- package/dist/core/agent-runner.js +1 -0
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/claude-cli-runner.js +11 -9
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-app-server-runner.js +7 -6
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/codex-app-server-transport.d.ts +3 -1
- package/dist/core/codex-app-server-transport.js +7 -7
- package/dist/core/codex-app-server-transport.js.map +1 -1
- package/dist/core/cursor-print-process.d.ts +2 -0
- package/dist/core/cursor-print-process.js +4 -4
- package/dist/core/cursor-print-process.js.map +1 -1
- package/dist/core/cursor-print-runner.js +5 -3
- package/dist/core/cursor-print-runner.js.map +1 -1
- package/dist/core/managed-session.js +4 -3
- package/dist/core/managed-session.js.map +1 -1
- package/dist/core/omp-runner.js +7 -5
- package/dist/core/omp-runner.js.map +1 -1
- package/dist/core/opencode-server-runner.js +5 -4
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/pi-runner.js +8 -6
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/core/runner-runtime.d.ts +9 -0
- package/dist/core/runner-runtime.js +7 -0
- package/dist/core/runner-runtime.js.map +1 -1
- package/dist/core/session-process.d.ts +2 -0
- package/dist/core/session-process.js +3 -3
- package/dist/core/session-process.js.map +1 -1
- package/dist/detached-process.d.ts +2 -2
- package/dist/detached-process.js +2 -2
- package/dist/git-diff-base.d.ts +1 -1
- package/dist/git-refs.d.ts +1 -1
- package/dist/git-refs.js +1 -1
- package/dist/home/protected-roots.d.ts +1 -1
- package/dist/home/protected-roots.js +3 -3
- package/dist/home/protected-roots.js.map +1 -1
- package/dist/paths.d.ts +6 -6
- package/dist/paths.js +8 -8
- package/dist/paths.js.map +1 -1
- package/dist/planner.js +1 -1
- package/dist/planner.js.map +1 -1
- package/dist/release/manifests.d.ts +1 -1
- package/dist/remote-settings-cli.d.ts +1 -1
- package/dist/remote-settings-cli.js +1 -1
- package/dist/serve-boot.js +2 -2
- package/dist/serve-boot.js.map +1 -1
- package/dist/serve-listener.d.ts +2 -2
- package/dist/serve-listener.js +2 -2
- package/dist/server/create-project.js +1 -1
- package/dist/server/create-project.js.map +1 -1
- package/dist/server/forge/draft-pr.d.ts +1 -1
- package/dist/server/forge/draft-pr.js +3 -2
- package/dist/server/forge/draft-pr.js.map +1 -1
- package/dist/server/fs-browse.js +1 -1
- package/dist/server/open-in-terminal.d.ts +3 -3
- package/dist/server/open-in-terminal.js +3 -3
- package/dist/server/project-context.d.ts +1 -1
- package/dist/server/project-context.js +2 -2
- package/dist/server/project-context.js.map +1 -1
- package/dist/server/server-deps.d.ts +1 -1
- package/dist/server/server-deps.js +2 -0
- package/dist/server/server-deps.js.map +1 -1
- package/dist/server/server.d.ts +2 -0
- package/dist/server/server.js +14 -15
- package/dist/server/server.js.map +1 -1
- package/dist/server/start-server.js +1 -1
- package/dist/server/start-server.js.map +1 -1
- package/dist/server/wsl.js +1 -1
- package/dist/server-install/engine.d.ts +2 -2
- package/dist/server-install/engine.js +2 -2
- package/dist/server-install/engine.js.map +1 -1
- package/dist/server-install/platforms/macosx-ngrok.d.ts +2 -2
- package/dist/server-install/platforms/macosx-ngrok.js +6 -6
- package/dist/server-install/platforms/macosx-ngrok.js.map +1 -1
- package/dist/server-install/platforms/ubuntu-vps-migration.d.ts +1 -1
- package/dist/server-install/platforms/ubuntu-vps-migration.js +2 -2
- package/dist/server-install/platforms/ubuntu-vps-migration.js.map +1 -1
- package/dist/server-install/platforms/ubuntu-vps.d.ts +2 -2
- package/dist/server-install/platforms/ubuntu-vps.js +16 -16
- package/dist/server-install/platforms/ubuntu-vps.js.map +1 -1
- package/dist/server-install/types.d.ts +4 -4
- package/dist/server-install/types.js +5 -5
- package/dist/server-install/types.js.map +1 -1
- package/dist/skills-provision.d.ts +4 -4
- package/dist/skills-provision.js +12 -12
- package/dist/skills-provision.js.map +1 -1
- package/dist/skills-remote.js +1 -1
- package/dist/task-cli/discovery.js +1 -1
- package/dist/task-cli/discovery.js.map +1 -1
- package/dist/task-cli/projections.d.ts +1 -1
- package/dist/task-cli/projections.js +1 -1
- package/dist/update-check.js +1 -1
- package/dist/workflows/run/continuation-session.js +1 -0
- package/dist/workflows/run/continuation-session.js.map +1 -1
- package/dist/workflows/run/step-session.js +1 -0
- package/dist/workflows/run/step-session.js.map +1 -1
- package/dist/workflows/run/types.d.ts +1 -0
- package/dist/workflows/run.d.ts +1 -0
- package/dist/workflows/run.js +1 -1
- package/dist/workflows/run.js.map +1 -1
- package/dist/workspace/agent-accounts.js +3 -3
- package/dist/workspace/agent-accounts.js.map +1 -1
- package/dist/workspace/agent-profiles.d.ts +5 -5
- package/dist/workspace/agent-profiles.js +3 -3
- package/dist/workspace/config.d.ts +2 -2
- package/dist/workspace/config.js +6 -6
- package/dist/workspace/config.js.map +1 -1
- package/dist/workspace/migrations.js +1 -1
- package/dist/workspace/projects-cli.d.ts +1 -1
- package/dist/workspace/projects-cli.js +2 -2
- package/dist/workspace/projects-cli.js.map +1 -1
- package/dist/workspace/projects.js +1 -1
- package/dist/workspace/projects.js.map +1 -1
- package/dist/workspace/semaphore.js +1 -1
- package/dist/worktree-manifest.d.ts +13 -13
- package/dist/worktree-manifest.js +17 -17
- package/dist/worktree-manifest.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1200,7 +1200,7 @@ Useful environment variables:
|
|
|
1200
1200
|
| `HSQ_VOICE=1`, `CEZ_VOICE=1` | Turn on **voice mode** (experimental): the ⌘K palette understands a sentence such as “open the next finished task” or “answer yes”, and the server asks Jev (TypeSafe) to turn it into one action that the cockpit shows and runs. Needs `TYPESAFE_API_KEY` (read by the server only; `HSQ_DRY_RUN=1`, `CEZ_DRY_RUN=1` uses a fake engine instead). Off by default, and only the exact value `1` enables it — without it the voice endpoints answer `409` and the palette is unchanged. Read at boot, so restart after changing it. |
|
|
1201
1201
|
| `HSQ_PREVIEW=1`, `CEZ_PREVIEW=1` | Turn on **live preview** (experimental): agents register a dev server with the `cezar_preview_serve` tool, and the cockpit opens it in a headless Chromium on the host, docked next to the task. Squawk first runs a registered command after you press Run and open. Agents can then use `cezar_preview_stop({ port, restart?: boolean })` to stop or restart their own Squawk-started server with that unchanged approval; changed command, cwd or path needs Run and open again. Adopted servers cannot be stopped by this tool. Each agent session also gets `HSQ_PREVIEW_CDP_URL`, `CEZ_PREVIEW_CDP_URL`, a cockpit address through which it drives the same browser (`agent-browser --cdp "$CEZ_PREVIEW_CDP_URL" --pin-tab …`) while you watch; Chromium itself opens no debug port. Off by default, and only the exact value `1` enables it — without it the tool is not listed, its route and the preview WebSocket refuse, and `capabilities.preview` is `false`. Read at boot, so restart after changing it. |
|
|
1202
1202
|
| `HSQ_PREVIEW_NO_SANDBOX=1`, `CEZ_PREVIEW_NO_SANDBOX=1` | Launch the preview's Chromium with `--no-sandbox`. Off by default and never added automatically, not even for root or in a container; use it only where Chromium's sandbox cannot start, and only for pages you trust. Only the exact value `1` applies. Read at boot. |
|
|
1203
|
-
| `HSQ_AUTOSAVE=1`, `CEZ_AUTOSAVE=1` | Re-enable the periodic (90 s) autosave commit in task worktrees. Off by default (open-mercato/cezar#471) — turn-end and pre-PR flushes always run, so branches still end complete. Every autosave names its trigger in the commit subject (`cezar autosave (periodic)` vs `(turn end)` / `(run finalize)` / `(pre-PR)`), so the flushes you keep are distinguishable from the timer you disabled. The turn-end / run-finalize flushes and the timer commit only while HEAD is the task's own `cez/<id8>` branch; on a branch the agent checked out they leave the work uncommitted, and the closing flush says so in the handoff's
|
|
1203
|
+
| `HSQ_AUTOSAVE=1`, `CEZ_AUTOSAVE=1` | Re-enable the periodic (90 s) autosave commit in task worktrees. Off by default (open-mercato/cezar#471) — turn-end and pre-PR flushes always run, so branches still end complete. Every autosave names its trigger in the commit subject (`cezar autosave (periodic)` vs `(turn end)` / `(run finalize)` / `(pre-PR)`), so the flushes you keep are distinguishable from the timer you disabled. The turn-end / run-finalize flushes and the timer commit only while HEAD is the task's own `cez/<id8>` branch; on a branch the agent checked out they leave the work uncommitted, and the closing flush says so in the handoff's Squawk records block, not its Progress log (hearsay-tools/cezarion#1004, hearsay-tools/cezarion#1809). A turn-end / run-finalize commit is reported there too, with its `git reset --soft` fold-back command, and the timer's commits share one line per run of consecutive periodic commits (count, first and latest sha), with no cockpit note. The pre-PR flush is unchanged. |
|
|
1204
1204
|
| `HSQ_CLAUDE_BIN=/path/to/claude`, `CEZ_CLAUDE_BIN=/path/to/claude` | Override the Claude executable for model discovery and execution. A set `HSQ_CLAUDE_BIN` wins over `CEZ_CLAUDE_BIN`; an explicit binary argument wins over both. |
|
|
1205
1205
|
| `HSQ_CODEX_BIN=/path/to/codex`, `CEZ_CODEX_BIN=/path/to/codex` | Override which `codex` binary is used. |
|
|
1206
1206
|
| `HSQ_OPENCODE_BIN=/path/to/opencode`, `CEZ_OPENCODE_BIN=/path/to/opencode` | Override which `opencode` binary is used. |
|
package/dist/activity/wait.js
CHANGED
|
@@ -46,7 +46,7 @@ export function activityWait(run, ledger, ci) {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
/** A question, or one of
|
|
49
|
+
/** A question, or one of Squawk's own waits for the user: a plain turn end, a spent wake budget or
|
|
50
50
|
* the completion gate. */
|
|
51
51
|
function humanWait(run) {
|
|
52
52
|
const entries = openOf(run, 'human');
|
|
@@ -66,7 +66,7 @@ async function readClaudeIdentity(configDir) {
|
|
|
66
66
|
* `refresh_token`, none of which this function so much as names.
|
|
67
67
|
*
|
|
68
68
|
* The signature is NOT verified, and that is correct here: this is a local file the user's own CLI
|
|
69
|
-
* wrote, read to display who they are — not a token
|
|
69
|
+
* wrote, read to display who they are — not a token Squawk is accepting as proof of anything.
|
|
70
70
|
*/
|
|
71
71
|
async function readCodexIdentity(configDir) {
|
|
72
72
|
const auth = await readJsonCapped(join(configDir, 'auth.json'));
|
|
@@ -253,7 +253,7 @@ export const CONFIG_FILES = [
|
|
|
253
253
|
// `AgentHomePaths.omp` (`$PI_CODING_AGENT_DIR` or `~/${PI_CONFIG_DIR || '.omp'}/agent`, the default
|
|
254
254
|
// profile; a named profile relocates it and is not modelled). Project files always live in
|
|
255
255
|
// `<repo>/.omp/`. Settings are YAML (`config.yml`); no `modelKey`, because OMP has no native-default
|
|
256
|
-
// strategy
|
|
256
|
+
// strategy Squawk reads (spec § Model selection). Precedence strings quote the docs in doc order;
|
|
257
257
|
// a numbered doc list is joined with "; ", its wording untouched. Not listed, by the spec's
|
|
258
258
|
// scope: `.omp/AGENTS.md` (OMP's native project context file; project memory is the shared root
|
|
259
259
|
// `AGENTS.md` row) and the `.omp/.mcp.json` / user `.mcp.json` compatibility spellings.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cat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5
5
|
* Pi keeps its startup model as two keys — `defaultProvider` and `defaultModel` — in
|
|
6
6
|
* `~/.pi/agent/settings.json` and `.pi/settings.json` (project over global, per the catalog's
|
|
7
|
-
* `modelPriority`). Its `--model` flag accepts `provider/id`, which is also the shape
|
|
7
|
+
* `modelPriority`). Its `--model` flag accepts `provider/id`, which is also the shape Squawk's own
|
|
8
8
|
* pi presets use, so the two keys compose into one id here; a bare `defaultModel` with no provider
|
|
9
9
|
* passes through unchanged rather than being guessed at. No file at all reports "no native
|
|
10
|
-
* default", and the cockpit falls back to
|
|
10
|
+
* default", and the cockpit falls back to Squawk's preset for pi.
|
|
11
11
|
*
|
|
12
|
-
* The project file counts only when Pi itself would read it.
|
|
12
|
+
* The project file counts only when Pi itself would read it. Squawk launches Pi in `--mode rpc`,
|
|
13
13
|
* which never prompts for project trust: without a saved decision Pi falls back to the global
|
|
14
14
|
* `defaultProjectTrust`, and `ask` (its default) or `never` ignore `.pi/settings.json` outright.
|
|
15
15
|
* The run engine passes the native default on as `--model`, so a model read from a file Pi
|
|
@@ -7,9 +7,9 @@ export declare function isPreserved(preserve: ReadonlySet<string>, rel: string,
|
|
|
7
7
|
* (against the vendor's advice) is neither copied nor excluded. `preserve` names
|
|
8
8
|
* repo-relative paths the caller already placed on purpose (a worker's explicit
|
|
9
9
|
* `--attach` files, hearsay-tools/cezarion#1149): those are left alone and not
|
|
10
|
-
* reported. A file is written only where nothing is, or where
|
|
10
|
+
* reported. A file is written only where nothing is, or where Squawk's own unchanged
|
|
11
11
|
* copy is (the worktree manifest, hearsay-tools/cezarion#1814), so the agent's edit
|
|
12
|
-
* survives a re-seed. Returns the repo-relative paths that hold
|
|
12
|
+
* survives a re-seed. Returns the repo-relative paths that hold Squawk's current copy,
|
|
13
13
|
* for the caller's note. Never throws.
|
|
14
14
|
*/
|
|
15
15
|
export declare function seedAgentConfigLocalLayer(repoRoot: string, worktreeCwd: string, env?: NodeJS.ProcessEnv, preserve?: ReadonlySet<string>, options?: WorktreeFilesOptions): Promise<string[]>;
|
|
@@ -33,9 +33,9 @@ export function isPreserved(preserve, rel, separator = sep) {
|
|
|
33
33
|
* (against the vendor's advice) is neither copied nor excluded. `preserve` names
|
|
34
34
|
* repo-relative paths the caller already placed on purpose (a worker's explicit
|
|
35
35
|
* `--attach` files, hearsay-tools/cezarion#1149): those are left alone and not
|
|
36
|
-
* reported. A file is written only where nothing is, or where
|
|
36
|
+
* reported. A file is written only where nothing is, or where Squawk's own unchanged
|
|
37
37
|
* copy is (the worktree manifest, hearsay-tools/cezarion#1814), so the agent's edit
|
|
38
|
-
* survives a re-seed. Returns the repo-relative paths that hold
|
|
38
|
+
* survives a re-seed. Returns the repo-relative paths that hold Squawk's current copy,
|
|
39
39
|
* for the caller's note. Never throws.
|
|
40
40
|
*/
|
|
41
41
|
export async function seedAgentConfigLocalLayer(repoRoot, worktreeCwd, env = process.env, preserve = new Set(), options = {}) {
|
|
@@ -67,7 +67,7 @@ export async function seedAgentConfigLocalLayer(repoRoot, worktreeCwd, env = pro
|
|
|
67
67
|
const path = rel.split(sep).join('/');
|
|
68
68
|
try {
|
|
69
69
|
const state = await files.inspect(path);
|
|
70
|
-
// The agent's edit, or a file
|
|
70
|
+
// The agent's edit, or a file Squawk never wrote: left as it is.
|
|
71
71
|
if (state.owner === 'theirs')
|
|
72
72
|
files.forget(path);
|
|
73
73
|
if (state.owner !== 'free' && state.owner !== 'ours')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seed.js","sourceRoot":"","sources":["../../src/agent-config/seed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,qB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CAAC;YAAC,MAAM,CAAC;gBACP,oDAAoD;YACtD,CAAC;QACH,CAAC;QACD,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;QAC1C,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;AACrB,CAAC"}
|
package/dist/config.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export type CezConfig = z.infer<typeof configSchema>;
|
|
|
59
59
|
* Read `.ai/cezar/config.json` on demand — never cached, never throws.
|
|
60
60
|
*
|
|
61
61
|
* Also reads the machine-wide defaults, which is one more small JSON read and deliberately not
|
|
62
|
-
* cached for the same reason this one is not: `~/.cezar/` is shared by every
|
|
62
|
+
* cached for the same reason this one is not: `~/.cezar/` is shared by every Squawk process on the
|
|
63
63
|
* machine, so a snapshot is a staleness bug.
|
|
64
64
|
*/
|
|
65
65
|
export declare function loadConfig(repoRoot: string, home: Home): Promise<CezConfig>;
|
package/dist/config.js
CHANGED
|
@@ -145,7 +145,7 @@ function withMachineDefaults(raw, machine) {
|
|
|
145
145
|
* Read `.ai/cezar/config.json` on demand — never cached, never throws.
|
|
146
146
|
*
|
|
147
147
|
* Also reads the machine-wide defaults, which is one more small JSON read and deliberately not
|
|
148
|
-
* cached for the same reason this one is not: `~/.cezar/` is shared by every
|
|
148
|
+
* cached for the same reason this one is not: `~/.cezar/` is shared by every Squawk process on the
|
|
149
149
|
* machine, so a snapshot is a staleness bug.
|
|
150
150
|
*/
|
|
151
151
|
export async function loadConfig(repoRoot, home) {
|
|
@@ -14,7 +14,7 @@ export declare const ASK_LIMITS: {
|
|
|
14
14
|
readonly context: 20000;
|
|
15
15
|
};
|
|
16
16
|
/** hearsay-tools/cezarion#1458: the Markdown the user reads above the questions. On Claude, prose
|
|
17
|
-
* between tool calls can reach
|
|
17
|
+
* between tool calls can reach Squawk only as a short summary; a field inside the call arrives whole. */
|
|
18
18
|
export declare const askContextSchema: z.ZodString;
|
|
19
19
|
export declare const askOptionSchema: z.ZodObject<{
|
|
20
20
|
label: z.ZodString;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Non-image attachment types the composer may send (#950). Deliberately an allowlist and
|
|
8
|
-
* deliberately short:
|
|
8
|
+
* deliberately short: Squawk serves these files back from the cockpit's own origin, so every entry
|
|
9
9
|
* here is one more thing that must be safe to hand a browser. `image/*` stays a regex — narrowing
|
|
10
10
|
* what the route has always accepted would be the breaking half of this change.
|
|
11
11
|
*
|
|
@@ -19,7 +19,7 @@ export declare function isAttachmentMediaType(mediaType: string): boolean;
|
|
|
19
19
|
/**
|
|
20
20
|
* The on-disk extension for an attachment, derived from its media type ALONE — the user's own
|
|
21
21
|
* filename never reaches the wire, and therefore never reaches a path. `img` is the pre-existing
|
|
22
|
-
* catch-all for an image type
|
|
22
|
+
* catch-all for an image type Squawk does not name (an SVG, a BMP), kept so those files land where
|
|
23
23
|
* they always did.
|
|
24
24
|
*/
|
|
25
25
|
export declare function attachmentExtension(mediaType: string): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/** Who may talk: a root and its owned worker (`family`), or two root tasks of one project (`peer`,
|
|
3
|
-
* spec 2026-10-27-task-communication-protocol § 2).
|
|
3
|
+
* spec 2026-10-27-task-communication-protocol § 2). Squawk writes it on peer messages only; an
|
|
4
4
|
* absent field reads as `family`, so family records stay as older versions wrote them. */
|
|
5
5
|
export declare const conversationRelationshipSchema: z.ZodEnum<{
|
|
6
6
|
family: "family";
|
|
@@ -96,7 +96,7 @@ export declare const workerWaitSchema: z.ZodObject<{
|
|
|
96
96
|
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
97
97
|
}, z.core.$strict>;
|
|
98
98
|
export type WorkerWait = z.infer<typeof workerWaitSchema>;
|
|
99
|
-
/**
|
|
99
|
+
/** Squawk's completion wait as inspection and the relationships view show it: the `WorkerWait`
|
|
100
100
|
* projection without a deadline, which that wait does not have, and the `via` that names it.
|
|
101
101
|
* `WorkerWait` keeps requiring a deadline (hearsay-tools/cezarion#1301). */
|
|
102
102
|
export declare const workerCompletionWaitSchema: z.ZodObject<{
|
|
@@ -142,7 +142,7 @@ export type WorkerCompletionWait = z.infer<typeof workerCompletionWaitSchema>;
|
|
|
142
142
|
* attempts ran since the last explicit request, when the next one is due, and whether they
|
|
143
143
|
* reached the hourly cap with nothing changing, which the cockpit shows as needing attention.
|
|
144
144
|
* Absent until the first automatic attempt; a manual destroy clears it. Stored on the run record
|
|
145
|
-
* (`destroyRetry`), never inside the strict worker delegation, so an older
|
|
145
|
+
* (`destroyRetry`), never inside the strict worker delegation, so an older Squawk strips it instead
|
|
146
146
|
* of quarantining the worker; the API shows it as the worker's `destroy.retry`. */
|
|
147
147
|
export declare const workerDestroyRetrySchema: z.ZodObject<{
|
|
148
148
|
attempts: z.ZodNumber;
|
|
@@ -15,7 +15,7 @@ import { z } from 'zod';
|
|
|
15
15
|
* Open by design: `type` is a plain string and unknown keys pass through, because the event
|
|
16
16
|
* vocabulary is an APPEND-ONLY on-disk format (BACKWARD_COMPATIBILITY.md) that old NDJSON
|
|
17
17
|
* recordings must keep replaying forever. Closing this schema would make a recording written by
|
|
18
|
-
* a newer
|
|
18
|
+
* a newer Squawk unreadable by an older one — the opposite of what the format promises.
|
|
19
19
|
*/
|
|
20
20
|
export declare const runEventSchema: z.ZodObject<{
|
|
21
21
|
seq: z.ZodNumber;
|
|
@@ -169,7 +169,7 @@ export declare const humanInputDeliveredEventSchema: z.ZodObject<{
|
|
|
169
169
|
}, z.core.$loose>;
|
|
170
170
|
export type HumanInputDeliveredEvent = z.infer<typeof humanInputDeliveredEventSchema>;
|
|
171
171
|
/** The question was retired unanswered: an accepted Finish ended the task (`finish`,
|
|
172
|
-
* hearsay-tools/cezarion#1260), or new input went to a worker whose only question was
|
|
172
|
+
* hearsay-tools/cezarion#1260), or new input went to a worker whose only question was Squawk's own
|
|
173
173
|
* fallback question (`superseded`, hearsay-tools/cezarion#1301). A worker's question has one
|
|
174
174
|
* addressee, its parent (hearsay-tools/cezarion#2410): it also closes when the parent stopped
|
|
175
175
|
* (`parent-stopped`), when the worker stopped (`worker-stopped`), or when a live parent could not
|
|
@@ -211,7 +211,7 @@ export declare const workerQuestionFallbackEventSchema: z.ZodObject<{
|
|
|
211
211
|
reason: z.ZodString;
|
|
212
212
|
}, z.core.$loose>;
|
|
213
213
|
export type WorkerQuestionFallbackEvent = z.infer<typeof workerQuestionFallbackEventSchema>;
|
|
214
|
-
/** A worker's question could not reach its live parent (hearsay-tools/cezarion#2410):
|
|
214
|
+
/** A worker's question could not reach its live parent (hearsay-tools/cezarion#2410): Squawk answers
|
|
215
215
|
* it with the reason, and no human does. */
|
|
216
216
|
export declare const workerQuestionUndeliveredEventSchema: z.ZodObject<{
|
|
217
217
|
seq: z.ZodNumber;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
3
|
* The handoff journal (`.ai/cezar/runs/<runId>.handoff.md`, spec 007) as the server and the
|
|
4
|
-
* cockpit both read it. The agent writes the file;
|
|
4
|
+
* cockpit both read it. The agent writes the file; Squawk keeps its own records in the run store
|
|
5
5
|
* and writes them into the file as one block that it rewrites whole (hearsay-tools/cezarion#1809).
|
|
6
6
|
*/
|
|
7
7
|
/** How many autosave records a run keeps, newest first. */
|
|
@@ -20,7 +20,7 @@ export declare const handoffAutosaveRecordSchema: z.ZodObject<{
|
|
|
20
20
|
}, z.core.$strip>>;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
22
|
export type HandoffAutosaveRecord = z.infer<typeof handoffAutosaveRecordSchema>;
|
|
23
|
-
/** `RunRecord.handoffRecords`:
|
|
23
|
+
/** `RunRecord.handoffRecords`: Squawk's own records for the run's handoff file, newest first. */
|
|
24
24
|
export declare const handoffRecordsSchema: z.ZodObject<{
|
|
25
25
|
autosave: z.ZodArray<z.ZodObject<{
|
|
26
26
|
at: z.ZodString;
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The
|
|
2
|
+
* The Squawk API contract. See `../README.md` — one zod definition per shape, its TypeScript type
|
|
3
3
|
* inferred from it, shared by the server, the api-client and the cockpit.
|
|
4
4
|
*/
|
|
5
5
|
export * from './events.ts';
|
package/dist/contract/index.js
CHANGED
|
@@ -739,9 +739,9 @@ var agentInputSchema = z8.object({
|
|
|
739
739
|
* such input; records written before #505 never carry it, so nothing historical replays. */
|
|
740
740
|
awaitingRead: z8.literal(true).optional(),
|
|
741
741
|
inboxClaim: inboxClaimSchema.optional(),
|
|
742
|
-
/** A completion refusal
|
|
742
|
+
/** A completion refusal Squawk queued for a closed session (hearsay-tools/cezarion#1301): its
|
|
743
743
|
* delivery is the nudge's turn, bounded by the nudge's reply bound, and a session that closes
|
|
744
|
-
* before it is a failed delivery. `undelivered-question` is
|
|
744
|
+
* before it is a failed delivery. `undelivered-question` is Squawk's answer to a worker question
|
|
745
745
|
* that could not reach its live parent (hearsay-tools/cezarion#2410). Absent on every other input
|
|
746
746
|
* and on records written before. */
|
|
747
747
|
purpose: z8.enum(["completion-refusal", "undelivered-question"]).optional(),
|
|
@@ -886,7 +886,7 @@ var humanInputDeliveredEventSchema = runEventSchema.extend({
|
|
|
886
886
|
type: z9.literal("human-input-delivered"),
|
|
887
887
|
askSeq: z9.number().int().nonnegative(),
|
|
888
888
|
/** Who answered: absent (records before #505) or `human` is a person; `parent` is the
|
|
889
|
-
* owning parent's reply to a routed worker question; `cezar` is
|
|
889
|
+
* owning parent's reply to a routed worker question; `cezar` is Squawk's notice that the question
|
|
890
890
|
* could not reach a live parent (hearsay-tools/cezarion#2410). */
|
|
891
891
|
source: z9.enum(["human", "parent", "cezar"]).optional()
|
|
892
892
|
});
|
|
@@ -1513,7 +1513,7 @@ var previewClientMessageSchema = z14.discriminatedUnion("t", [
|
|
|
1513
1513
|
/** Automatic reconnects may reclaim only this pane's last ownership. */
|
|
1514
1514
|
viewerId: z14.string().min(1).max(128).optional(),
|
|
1515
1515
|
resume: z14.boolean().optional(),
|
|
1516
|
-
/** `agent`: the page an agent drives through
|
|
1516
|
+
/** `agent`: the page an agent drives through Squawk's CDP proxy, shown as it is, never navigated (hearsay-tools/cezarion#784). */
|
|
1517
1517
|
target: z14.union([z14.object({ port }), z14.object({ url: z14.string().min(1).max(2048) }), z14.object({ agent: z14.literal(true) })]),
|
|
1518
1518
|
/** Absent from an older cockpit, which streams `normal`. */
|
|
1519
1519
|
quality: previewQualitySchema.optional(),
|
|
@@ -1966,7 +1966,7 @@ var humanWaitEntrySchema = z17.object({
|
|
|
1966
1966
|
var workerWaitEntrySchema = z17.object({
|
|
1967
1967
|
...waitBaseShape,
|
|
1968
1968
|
kind: z17.literal("worker"),
|
|
1969
|
-
//
|
|
1969
|
+
// Squawk's completion wait has neither: it ends when its workers settle (hearsay-tools/cezarion#1301).
|
|
1970
1970
|
deadline: z17.iso.datetime().optional(),
|
|
1971
1971
|
timeoutSeconds: z17.number().int().min(1).max(PEER_WAIT_MAX_SECONDS).optional(),
|
|
1972
1972
|
mode: workerWaitModeSchema.optional(),
|
|
@@ -2603,7 +2603,7 @@ var runRecordSchema = z20.object({
|
|
|
2603
2603
|
*
|
|
2604
2604
|
* `event` is a plain string rather than `automationEventSchema`: it is the event NAME the
|
|
2605
2605
|
* launching definition matched, recorded on the run for the audit trail, and `src/runs/store.ts`
|
|
2606
|
-
* persists it as free text so an older
|
|
2606
|
+
* persists it as free text so an older Squawk can still read a record written by a newer one.
|
|
2607
2607
|
*/
|
|
2608
2608
|
automation: z20.object({
|
|
2609
2609
|
automationId: z20.string(),
|
|
@@ -2614,7 +2614,7 @@ var runRecordSchema = z20.object({
|
|
|
2614
2614
|
}).optional(),
|
|
2615
2615
|
/**
|
|
2616
2616
|
* Provenance for a task a SCHEDULED automation launched. A separate optional key rather than a
|
|
2617
|
-
* loosened `automation`: `runs.json` is parsed as one array, so a downgraded
|
|
2617
|
+
* loosened `automation`: `runs.json` is parsed as one array, so a downgraded Squawk meeting a
|
|
2618
2618
|
* record without `githubUrl` would drop every run, whereas an unknown key it simply strips.
|
|
2619
2619
|
*/
|
|
2620
2620
|
automationTrigger: z20.object({
|
|
@@ -2626,7 +2626,7 @@ var runRecordSchema = z20.object({
|
|
|
2626
2626
|
occurrenceAt: z20.string()
|
|
2627
2627
|
}).optional(),
|
|
2628
2628
|
/** A pending worker destroy's automatic retry state (hearsay-tools/cezarion#879). Here, not in
|
|
2629
|
-
* the strict worker `delegation`, so an older
|
|
2629
|
+
* the strict worker `delegation`, so an older Squawk strips it instead of quarantining the worker,
|
|
2630
2630
|
* and keeps it across its own writes. The API shows it as the worker's `destroy.retry`. */
|
|
2631
2631
|
destroyRetry: workerDestroyRetrySchema.optional(),
|
|
2632
2632
|
/** Task webhook opt-in (#589): the project's webhook receives this run's status changes.
|
|
@@ -2736,7 +2736,7 @@ var runRecordSchema = z20.object({
|
|
|
2736
2736
|
* like every other key.
|
|
2737
2737
|
*/
|
|
2738
2738
|
workflowDef: workflowDefSchema.optional(),
|
|
2739
|
-
/**
|
|
2739
|
+
/** Squawk's autosave records for the handoff file (hearsay-tools/cezarion#1809). */
|
|
2740
2740
|
handoffRecords: handoffRecordsSchema.optional()
|
|
2741
2741
|
});
|
|
2742
2742
|
var apiRunSchema = runRecordSchema.extend({
|
|
@@ -2818,7 +2818,7 @@ var runSummarySchema = z20.object({
|
|
|
2818
2818
|
* The live CPU/RSS sample of this run's process tree, attached on the way out exactly as
|
|
2819
2819
|
* `GET /runs` attaches it (`withUsage`) — never persisted.
|
|
2820
2820
|
*
|
|
2821
|
-
* It can ride a WORKSPACE-level answer because the sampler is process-wide: one
|
|
2821
|
+
* It can ride a WORKSPACE-level answer because the sampler is process-wide: one Squawk process
|
|
2822
2822
|
* runs every project's agents, so `currentUsage(runId)` knows about a run whatever project it
|
|
2823
2823
|
* belongs to. That is what lets a cross-project table show live usage without opening one
|
|
2824
2824
|
* event stream per project (it could not — the run stream is project-scoped).
|
|
@@ -3679,7 +3679,7 @@ var skillSchema = z23.object({
|
|
|
3679
3679
|
interactive: z23.literal(true).optional(),
|
|
3680
3680
|
body: z23.string(),
|
|
3681
3681
|
path: z23.string(),
|
|
3682
|
-
/** `builtin`: shipped by
|
|
3682
|
+
/** `builtin`: shipped by Squawk itself and listed last (#774), so a repo skill of the same name wins. */
|
|
3683
3683
|
source: z23.enum(["ai", "cezar", "agents", "global", "team", "builtin"]),
|
|
3684
3684
|
/** Team skills only: where the definition lives in its skills repo. */
|
|
3685
3685
|
team: z23.object({
|
|
@@ -3830,7 +3830,7 @@ var agentProfileSchema = z26.object({
|
|
|
3830
3830
|
/** Whether the dir carries this agent's own marker files. ADVISORY: an unrecognised dir is
|
|
3831
3831
|
* still accepted, because "add profile → Connect → the CLI creates it" is the real flow. */
|
|
3832
3832
|
looksValid: z26.boolean(),
|
|
3833
|
-
/** True for the profile
|
|
3833
|
+
/** True for the profile Squawk discovers from the environment. Never stored, never deletable. */
|
|
3834
3834
|
isDefault: z26.boolean(),
|
|
3835
3835
|
/** This account's own authentication state — two Claude logins answer independently.
|
|
3836
3836
|
*
|
|
@@ -3859,7 +3859,7 @@ var agentProfilesResponseSchema = z26.object({
|
|
|
3859
3859
|
*
|
|
3860
3860
|
* Served here rather than on `GET /api/v1/projects` because it is stored beside the accounts it
|
|
3861
3861
|
* names (`~/.cezar/agent-accounts.json`) — one file, so deleting an account and scrubbing every
|
|
3862
|
-
* reference to it is one atomic write, and neither can be dropped by a
|
|
3862
|
+
* reference to it is one atomic write, and neither can be dropped by a Squawk version that never
|
|
3863
3863
|
* heard of accounts. Empty in hosted mode, where the whole family is withheld. */
|
|
3864
3864
|
selections: z26.record(z26.string(), agentAccountSelectionSchema),
|
|
3865
3865
|
/** The machine-wide fallback account per provider, used by any repo that has chosen none. */
|
|
@@ -4322,7 +4322,7 @@ var automationLogResultSchema = z28.enum([
|
|
|
4322
4322
|
"manual",
|
|
4323
4323
|
"catch-up",
|
|
4324
4324
|
"failed",
|
|
4325
|
-
// once schedule:
|
|
4325
|
+
// once schedule: Squawk started after its latest start, so nothing launched.
|
|
4326
4326
|
"missed"
|
|
4327
4327
|
]);
|
|
4328
4328
|
var automationLogRecordSchema = z28.object({
|
|
@@ -4923,8 +4923,8 @@ var activityWaitSchema = z34.discriminatedUnion("kind", [
|
|
|
4923
4923
|
detail: z34.object({
|
|
4924
4924
|
/** The ask card's first question. */
|
|
4925
4925
|
question: z34.string().max(ACTIVITY_TEXT_MAX).optional(),
|
|
4926
|
-
/** `question`: an open question; `turn-end`:
|
|
4927
|
-
* automatic-wake budget is spent; `completion`:
|
|
4926
|
+
/** `question`: an open question; `turn-end`: Squawk's `no-wait` wait; `budget`: the
|
|
4927
|
+
* automatic-wake budget is spent; `completion`: Squawk's completion gate. */
|
|
4928
4928
|
reason: z34.enum(["question", "turn-end", "budget", "completion"]),
|
|
4929
4929
|
/** Inputs not delivered yet, when there are any. */
|
|
4930
4930
|
queuedMessages: z34.number().int().positive().optional()
|
|
@@ -59,7 +59,7 @@ export declare function canBeUnread(run: ReadStateInput): boolean;
|
|
|
59
59
|
* "Mark unread" (hearsay-tools/cezarion#775) takes the other road: it *clears* the receipt, and an absent one is
|
|
60
60
|
* unread by this same clause.
|
|
61
61
|
*
|
|
62
|
-
* ISO-8601 strings compare lexicographically because every timestamp
|
|
62
|
+
* ISO-8601 strings compare lexicographically because every timestamp Squawk writes is UTC
|
|
63
63
|
* (`toISOString()` → trailing `Z`), so `<` on the strings is `<` on the instants.
|
|
64
64
|
*/
|
|
65
65
|
export declare function isUnread(run: ReadStateInput): boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
/** The source shapes
|
|
2
|
+
/** The source shapes Squawk accepts, as the cockpit and every refusal name them. */
|
|
3
3
|
export declare const SKILLS_REPO_FORMATS = "owner/name, an https, ssh or git URL, git@host:path, or a local or file:// path";
|
|
4
4
|
/**
|
|
5
|
-
* The kind of a `skillsRepos` `repo` value, or null when
|
|
5
|
+
* The kind of a `skillsRepos` `repo` value, or null when Squawk refuses it. One rule for the
|
|
6
6
|
* request schema, the cockpit's Add form and the server's git remote (`safeRemoteFor`).
|
|
7
7
|
*
|
|
8
8
|
* Refused: an empty value, a leading `-` (git would read an option), `::` (remote-helper
|
|
@@ -4,7 +4,7 @@ export declare const completionControlsShape: {
|
|
|
4
4
|
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
5
5
|
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
6
6
|
};
|
|
7
|
-
/** Task access (hearsay-tools/cezarion#2784): may the task's agents start and resume
|
|
7
|
+
/** Task access (hearsay-tools/cezarion#2784): may the task's agents start and resume Squawk workers,
|
|
8
8
|
* and message peer tasks. New runs store an explicit value; a missing value is on. */
|
|
9
9
|
export declare const taskAccessShape: {
|
|
10
10
|
allowWorkers: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8,7 +8,7 @@ import type { RunRecord } from './runs.ts';
|
|
|
8
8
|
* the time only, so a caller can still settle the hold to another status.
|
|
9
9
|
*
|
|
10
10
|
* This module has no runtime imports: `vitest.setup.ts` loads it through `run-exits.ts`, so every
|
|
11
|
-
*
|
|
11
|
+
* Squawk test loads it (hearsay-tools/cezarion#3241). `waits.ts` re-exports it.
|
|
12
12
|
*/
|
|
13
13
|
export declare function isUsageLimitHold<T extends Partial<Pick<RunRecord, 'status' | 'autoResumeAt'>>>(run: T): run is T & {
|
|
14
14
|
autoResumeAt: string;
|
package/dist/contract/waits.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export { isUsageLimitHold };
|
|
|
17
17
|
* entry with no deadline, so the list is all `computeWaitingOn` reads.
|
|
18
18
|
* hearsay-tools/cezarion#1995 adds `peer` (spec `2026-10-27-task-communication-protocol` § 7): a root
|
|
19
19
|
* task waits for named peer root tasks to write or to settle, with a deadline.
|
|
20
|
-
* hearsay-tools/cezarion#2431 adds `subagent`:
|
|
20
|
+
* hearsay-tools/cezarion#2431 adds `subagent`: Squawk's own wait on the native subagents a turn left
|
|
21
21
|
* running, with a safety deadline.
|
|
22
22
|
*/
|
|
23
23
|
export declare const WAIT_LIMIT = 16;
|
|
@@ -32,7 +32,7 @@ export declare const PROCESS_EXIT_FILE_MAX = 4096;
|
|
|
32
32
|
export declare const PEER_WAIT_DEFAULT_SECONDS = 600;
|
|
33
33
|
export declare const PEER_WAIT_MAX_SECONDS = 7200;
|
|
34
34
|
/** A subagent wait (hearsay-tools/cezarion#2431): its safety deadline after the last child event,
|
|
35
|
-
* the grace after the last child ends before
|
|
35
|
+
* the grace after the last child ends before Squawk wakes the parent, and its child bound. */
|
|
36
36
|
export declare const SUBAGENT_WAIT_DEADLINE_SECONDS = 1800;
|
|
37
37
|
export declare const SUBAGENT_WAIT_GRACE_SECONDS = 15;
|
|
38
38
|
export declare const SUBAGENT_WAIT_CHILD_LIMIT = 32;
|
|
@@ -45,13 +45,13 @@ export declare const waitPhaseSchema: z.ZodEnum<{
|
|
|
45
45
|
}>;
|
|
46
46
|
export type WaitPhase = z.infer<typeof waitPhaseSchema>;
|
|
47
47
|
/** What opened the wait: the tool itself, or one of the aliases that map into the same list.
|
|
48
|
-
* `no-wait` is the human wait
|
|
48
|
+
* `no-wait` is the human wait Squawk opens when a nudged turn still ends without one; `budget`
|
|
49
49
|
* is the one it opens when the automatic-wake budget is spent; `cez-worker-wait` is
|
|
50
50
|
* `cez worker wait`, the alias that opens a `worker` wait; `completion` is the worker wait
|
|
51
|
-
*
|
|
51
|
+
* Squawk opens for a root whose done is refused twice (hearsay-tools/cezarion#1301).
|
|
52
52
|
* `cez-message-wait` is `cez message wait --peer` (hearsay-tools/cezarion#1995); a request wait
|
|
53
53
|
* from `cez message wait --request` keeps `cez-worker-wait`. `native-subagents` is the subagent
|
|
54
|
-
* wait
|
|
54
|
+
* wait Squawk opens when a turn ends with native subagents still running (hearsay-tools/cezarion#2431). */
|
|
55
55
|
export declare const waitViaSchema: z.ZodEnum<{
|
|
56
56
|
"ask-line": "ask-line";
|
|
57
57
|
budget: "budget";
|
|
@@ -286,8 +286,8 @@ export declare const processWaitEntrySchema: z.ZodObject<{
|
|
|
286
286
|
}, z.core.$strict>;
|
|
287
287
|
export type ProcessWaitEntry = z.infer<typeof processWaitEntrySchema>;
|
|
288
288
|
/** The user. `questions` is the card the agent asked with, absent for a plain "your turn";
|
|
289
|
-
* `askSeq` is the event
|
|
290
|
-
* gate a wait without a card raises, or the note that shows
|
|
289
|
+
* `askSeq` is the event Squawk showed it as, once the turn ended: its `ask.requested`, the human
|
|
290
|
+
* gate a wait without a card raises, or the note that shows Squawk's own wait. */
|
|
291
291
|
export declare const humanWaitEntrySchema: z.ZodObject<{
|
|
292
292
|
id: z.ZodUUID;
|
|
293
293
|
source: z.ZodEnum<{
|
|
@@ -428,7 +428,7 @@ export declare const workerWaitEntrySchema: z.ZodObject<{
|
|
|
428
428
|
wakeInputId: z.ZodOptional<z.ZodUUID>;
|
|
429
429
|
}, z.core.$strict>;
|
|
430
430
|
export type WorkerWaitEntry = z.infer<typeof workerWaitEntrySchema>;
|
|
431
|
-
/** An entry the legacy `WorkerWait` shape can render: its deadline is required there.
|
|
431
|
+
/** An entry the legacy `WorkerWait` shape can render: its deadline is required there. Squawk's
|
|
432
432
|
* deadline-less completion wait is not one (hearsay-tools/cezarion#1301). */
|
|
433
433
|
export type DeadlinedWorkerWaitEntry = WorkerWaitEntry & {
|
|
434
434
|
deadline: string;
|
|
@@ -517,7 +517,7 @@ export declare const subagentWaitResultSchema: z.ZodObject<{
|
|
|
517
517
|
}, z.core.$strict>;
|
|
518
518
|
export type SubagentWaitResult = z.infer<typeof subagentWaitResultSchema>;
|
|
519
519
|
/**
|
|
520
|
-
* The native subagents a turn left running (hearsay-tools/cezarion#2431).
|
|
520
|
+
* The native subagents a turn left running (hearsay-tools/cezarion#2431). Squawk opens it at the
|
|
521
521
|
* turn end instead of a monitoring timer: the park keeps its session, which holds the children, and
|
|
522
522
|
* a monitoring-pool slot. It resolves when every child ended and the runner did not resume the
|
|
523
523
|
* parent within a grace, or at its deadline, which each child event moves.
|
|
@@ -1948,8 +1948,8 @@ export declare function workerWaitTargets(wait: Pick<WorkerWaitEntry, 'requestId
|
|
|
1948
1948
|
export declare function computeWaitingOn(run: WaitingOnInput): WaitingOn | undefined;
|
|
1949
1949
|
/** Whether the run waits on the user: an open human wait (phase 4b, hearsay-tools/cezarion#1236). */
|
|
1950
1950
|
export declare function asksHuman(run: Pick<WaitingOnInput, 'waits'>): boolean;
|
|
1951
|
-
/** Whether a question waits on the user: an open human wait the agent opened, or one of
|
|
1952
|
-
* that carries a card (a worker's fallback question to its parent).
|
|
1951
|
+
/** Whether a question waits on the user: an open human wait the agent opened, or one of Squawk's
|
|
1952
|
+
* that carries a card (a worker's fallback question to its parent). Squawk's other waits
|
|
1953
1953
|
* (`no-wait`, `budget`, `completion`) wait for the user without a question. */
|
|
1954
1954
|
export declare function asksQuestion(run: Pick<WaitingOnInput, 'waits'>): boolean;
|
|
1955
1955
|
/** A resolved wait is a wake owed to the agent: its result is in, its turn has not started.
|
|
@@ -1964,7 +1964,7 @@ export declare function resolveWaitingOn(run: {
|
|
|
1964
1964
|
} & WaitingOnInput): WaitingOn | undefined;
|
|
1965
1965
|
/**
|
|
1966
1966
|
* A run's worker wait in the old `WorkerWait` shape, for views that still show one: the newest
|
|
1967
|
-
* open or owed `worker` entry the agent registered (hearsay-tools/cezarion#1235).
|
|
1967
|
+
* open or owed `worker` entry the agent registered (hearsay-tools/cezarion#1235). Squawk's
|
|
1968
1968
|
* completion wait has no deadline, which that shape requires, so it is not one
|
|
1969
1969
|
* (hearsay-tools/cezarion#1301). An open entry reads `parked` once the run waits on it, unless a
|
|
1970
1970
|
* pending question holds the run.
|
|
@@ -1973,7 +1973,7 @@ export declare function workerWaitView(run: Partial<Pick<RunRecord, 'status' | '
|
|
|
1973
1973
|
/** The newest open or owed deadline-less completion entry, which `workerWaitView` leaves out. */
|
|
1974
1974
|
export declare function completionWaitEntry(waits: readonly Wait[] | undefined, workerId?: string): WorkerWaitEntry | undefined;
|
|
1975
1975
|
/**
|
|
1976
|
-
*
|
|
1976
|
+
* Squawk's completion wait as inspection and the relationships view show it, read from the list
|
|
1977
1977
|
* like `workerWaitView` (hearsay-tools/cezarion#1301): its phases map as the legacy shape's do.
|
|
1978
1978
|
*/
|
|
1979
1979
|
export declare function workerCompletionWaitProjection(entry: WorkerWaitEntry, run: Partial<Pick<RunRecord, 'status' | 'waits'>>): WorkerCompletionWait;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { UiEvent } from './ui-events.ts';
|
|
6
6
|
import type { SessionTransport } from '../contract/index.js';
|
|
7
|
+
import type { RunnerTimings } from './runner-runtime.ts';
|
|
7
8
|
import type { RunnerFacts } from './runner-facts.ts';
|
|
8
9
|
/**
|
|
9
10
|
* Canonical user-selectable runner tuple in display order. Derive runtime enumerations and
|
|
@@ -17,6 +18,8 @@ export type AgentBackend = RunnerId | 'claude-cli';
|
|
|
17
18
|
/** Narrow an arbitrary string (a config value, a check name) to a runner id. */
|
|
18
19
|
export declare function isRunnerId(value: string): value is RunnerId;
|
|
19
20
|
export interface AgentRunSpec {
|
|
21
|
+
/** Internal deadline overrides; never persisted or sent to the native wire. */
|
|
22
|
+
timings?: Partial<RunnerTimings> | undefined;
|
|
20
23
|
/** Appended to the CLI's default system prompt (`--append-system-prompt`). */
|
|
21
24
|
systemPrompt?: string;
|
|
22
25
|
/** Private bundled tool server; capability values belong only in env. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-runner.js","sourceRoot":"","sources":["../../src/core/agent-runner.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"agent-runner.js","sourceRoot":"","sources":["../../src/core/agent-runner.ts"],"names":[],"mapp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