@hearsay-tools/squawk 0.18.0-pr3586.6464.2 → 0.18.0-pr3586.6473
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 +3 -4
- package/dist/contract/events.d.ts +4 -4
- package/dist/contract/health.d.ts +2 -5
- package/dist/contract/index.d.ts +0 -1
- package/dist/contract/index.js +458 -592
- package/dist/contract/workspace.d.ts +1 -1
- package/dist/data-gitignore.js +0 -1
- package/dist/data-gitignore.js.map +1 -1
- package/dist/delegation/routes.d.ts +11 -11
- package/dist/delegation/transport.d.ts +66 -66
- package/dist/home/identity.d.ts +0 -2
- package/dist/home/identity.js +2 -2
- package/dist/home/identity.js.map +1 -1
- package/dist/server/capabilities.d.ts +0 -1
- package/dist/server/capabilities.js +0 -3
- package/dist/server/capabilities.js.map +1 -1
- package/dist/server/forge/github.d.ts +1 -2
- package/dist/server/forge/github.js +3 -4
- package/dist/server/forge/github.js.map +1 -1
- package/dist/server/forge/types.d.ts +2 -2
- package/dist/server/git-changes.d.ts +1 -1
- package/dist/server/run-checkout.js +2 -2
- package/dist/server/run-checkout.js.map +1 -1
- package/dist/server/server.d.ts +1580 -1775
- package/dist/server/server.js +10 -21
- package/dist/server/server.js.map +1 -1
- package/dist/server/validators.js +1 -1
- package/dist/server-install/types.d.ts +3 -3
- package/dist/server-install/types.js +3 -3
- package/dist/ui-state.d.ts +3 -3
- package/dist/ui-state.js +3 -3
- package/dist/workflows/continuation-admission.d.ts +72 -72
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/dist/workspace/ui-state.js +1 -1
- package/dist/workspace/ui-state.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/activity-motion-Cd6HKRn5.js +2 -0
- package/web/dist/assets/{activity-route-Cq5GO6rp.js → activity-route-Dgjznc_j.js} +1 -1
- package/web/dist/assets/agent-accounts-WZgtbThS.js +18 -0
- package/web/dist/assets/attention-C_kiJ1bk.js +1 -0
- package/web/dist/assets/{cez-idle-xv7f96fc.js → cez-idle-TVRD1sce.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-BInf9r-P.js → commit-diff-panel-Bsf9f2Cd.js} +1 -1
- package/web/dist/assets/{diff-BvCB85J2.js → diff-BB8od2CB.js} +2 -2
- package/web/dist/assets/{diff-view-Cnlbd7ej.js → diff-view-Bbf1guXZ.js} +4 -4
- package/web/dist/assets/{file-preview-EiGdhbDV.js → file-preview-DYaWK5Hi.js} +1 -1
- package/web/dist/assets/git-toolbar-CPxEOnk6.js +1 -0
- package/web/dist/assets/{github-DQe-Ussy.js → github-4ILuqTHS.js} +1 -1
- package/web/dist/assets/{global-activity-route-_1mbn6gk.js → global-activity-route-BaL40ikO.js} +1 -1
- package/web/dist/assets/index-BXr2mRSZ.js +17 -0
- package/web/dist/assets/index-Bv_JpzCB.css +1 -0
- package/web/dist/assets/{live-protocol-DjH6ZQwI.js → live-protocol-aMLJJ0MQ.js} +1 -1
- package/web/dist/assets/preview-pane-connected-CVIYmAKK.js +3 -0
- package/web/dist/assets/{project-router-iGGf0Wcy.js → project-router-_4jaKCY-.js} +1 -1
- package/web/dist/assets/project-scope-context-BwaC58sQ.js +4 -0
- package/web/dist/assets/{prompt-template-menu-D1AqFsnv.js → prompt-template-menu-Q6yvBBX2.js} +1 -1
- package/web/dist/assets/queries-jqgF_s0L.js +1 -0
- package/web/dist/assets/{reference-chip-uYFiC2FE.js → reference-chip-BFXq2y0V.js} +1 -1
- package/web/dist/assets/{repo-git-B_xucWJR.js → repo-git-BXcJkKGQ.js} +1 -1
- package/web/dist/assets/{report-reader-Csv7xOrn.js → report-reader-B2xFHTUH.js} +1 -1
- package/web/dist/assets/reports-JoaY6sCT.js +1 -0
- package/web/dist/assets/{run-header-C941_3eU.js → run-header-4CYT6aL6.js} +2 -2
- package/web/dist/assets/skills-C1zxbSly.js +1 -0
- package/web/dist/assets/{tab-link-dVF0beIK.js → tab-link-BmBr8sDS.js} +1 -1
- package/web/dist/assets/{task-changes-BaCA5Izd.js → task-changes-DDHU2MYs.js} +1 -1
- package/web/dist/assets/{task-commits-B4oZHsub.js → task-commits-ntmx-1wH.js} +1 -1
- package/web/dist/assets/{task-files-Bg_J255X.js → task-files-DlUIW3P5.js} +1 -1
- package/web/dist/assets/task-github-item-Qg7SGfny.js +1 -0
- package/web/dist/assets/task-thread-BKdI_JXT.js +9 -0
- package/web/dist/assets/{thread-state-DA5kehiy.js → thread-state-D8yAejJN.js} +1 -1
- package/web/dist/assets/use-desktop-DpH_9i2n.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-DSRe0E7u.js +1 -0
- package/web/dist/assets/{useInfiniteQuery-CYsKbsRE.js → useInfiniteQuery-BK0ElV__.js} +1 -1
- package/web/dist/assets/useQuery-Qq5WoH8B.js +1 -0
- package/web/dist/assets/{workflows-CsCKM6GN.js → workflows-CK12d25D.js} +2 -2
- package/web/dist/assets/{ws-DdguL17F.js → ws-CayNmoGi.js} +1 -1
- package/web/dist/index.html +15 -15
- package/web/dist/live-worker.js +1 -1
- package/dist/contract/voice.d.ts +0 -213
- package/dist/voice/decide.d.ts +0 -35
- package/dist/voice/decide.js +0 -329
- package/dist/voice/decide.js.map +0 -1
- package/dist/voice/decision-log.d.ts +0 -48
- package/dist/voice/decision-log.js +0 -117
- package/dist/voice/decision-log.js.map +0 -1
- package/dist/voice/engine.d.ts +0 -119
- package/dist/voice/engine.js +0 -61
- package/dist/voice/engine.js.map +0 -1
- package/dist/voice/fake-engine.d.ts +0 -10
- package/dist/voice/fake-engine.js +0 -192
- package/dist/voice/fake-engine.js.map +0 -1
- package/dist/voice/jev-engine.d.ts +0 -17
- package/dist/voice/jev-engine.js +0 -110
- package/dist/voice/jev-engine.js.map +0 -1
- package/dist/voice/pending-ask.d.ts +0 -17
- package/dist/voice/pending-ask.js +0 -51
- package/dist/voice/pending-ask.js.map +0 -1
- package/dist/voice/routes.d.ts +0 -115
- package/dist/voice/routes.js +0 -92
- package/dist/voice/routes.js.map +0 -1
- package/dist/voice/sentence.d.ts +0 -21
- package/dist/voice/sentence.js +0 -61
- package/dist/voice/sentence.js.map +0 -1
- package/dist/voice/thresholds.d.ts +0 -28
- package/dist/voice/thresholds.js +0 -29
- package/dist/voice/thresholds.js.map +0 -1
- package/scripts/voice-replay.ts +0 -50
- package/web/dist/assets/activity-motion-CbA_TAx4.js +0 -2
- package/web/dist/assets/agent-accounts-Cof8AiVl.js +0 -18
- package/web/dist/assets/attention-BjWQsJVw.js +0 -1
- package/web/dist/assets/git-toolbar-D6W3lamH.js +0 -1
- package/web/dist/assets/index-Cs-8u_FQ.js +0 -17
- package/web/dist/assets/index-WLruDkjz.css +0 -1
- package/web/dist/assets/preview-pane-connected-DgZ5q0xy.js +0 -3
- package/web/dist/assets/project-scope-context-DK2mtfmt.js +0 -4
- package/web/dist/assets/queries-CMLTX79n.js +0 -1
- package/web/dist/assets/reports-BVp32fGs.js +0 -1
- package/web/dist/assets/skills-PpSAbEYS.js +0 -1
- package/web/dist/assets/task-github-item-DyBh5-Q_.js +0 -1
- package/web/dist/assets/task-thread-D6wp7G61.js +0 -9
- package/web/dist/assets/use-desktop-BL6xT4Rz.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-CPhF3TRe.js +0 -1
- package/web/dist/assets/useQuery-DMywwX-_.js +0 -1
package/README.md
CHANGED
|
@@ -90,9 +90,9 @@ handoff journal, **Continue**, live follow-up messages, and `hsq message inbox`
|
|
|
90
90
|
available.
|
|
91
91
|
## What Squawk does best 🏆
|
|
92
92
|
|
|
93
|
-
**On your phone:** the
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
**On your phone:** open your HTTPS cockpit in the phone's browser and add it to
|
|
94
|
+
the home screen. [Squawk on your phone](docs/mobile.md) shows how; agents continue
|
|
95
|
+
running on your server.
|
|
96
96
|
|
|
97
97
|
Plenty of tools wrap a single coding agent in a nicer window — a "Codex GUI", a
|
|
98
98
|
conductor-style app, one-agent front-ends. Squawk's bet is different. Three things
|
|
@@ -1196,7 +1196,6 @@ Useful environment variables:
|
|
|
1196
1196
|
| `HSQ_CLAUDE_SETTING_SOURCES`, `CEZ_CLAUDE_SETTING_SOURCES` | When set, Claude agent runs also pass `--setting-sources <value>` (e.g. `user,project,local`). Unset or empty omits the flag. Provider verification is never given this flag. |
|
|
1197
1197
|
| `HSQ_ARCHIVE_ON_MERGE=1`, `CEZ_ARCHIVE_ON_MERGE=1` | Archive settled task families after all associated pull requests merge. Off by default; only `1` enables this environment default. Saved project settings override global Tasks settings, which override the environment. Runs in the background while the cockpit is open, including unopened projects, without starting agents. Unarchive preserves restored tasks until a later merge. |
|
|
1198
1198
|
| `HSQ_AUTOMATIONS=0`, `CEZ_AUTOMATIONS=0` | Disable **automations** (GitHub polls and schedules). On by default; only the exact value `0` disables them. Unset, empty, `1` and other values keep them on. The Automations view and agent schedule tools are available by default. New automations start paused; each enabled automation launches an ordinary task per match or occurrence while Squawk is open. Schedules need no GitHub remote. With `0`, nothing polls or fires, automation endpoints answer `409`, and the nav item and schedule tools are hidden. Read at boot: restart after changing it. Existing enabled definitions resume after an upgrade unless you set `HSQ_AUTOMATIONS=0`, `CEZ_AUTOMATIONS=0` before restart. Definitions, receipts and high-watermarks are retained; unset the flag and restart to resume without migration. |
|
|
1199
|
-
| `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. |
|
|
1200
1199
|
| `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. |
|
|
1201
1200
|
| `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. |
|
|
1202
1201
|
| `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. Draft-PR publish refuses while HEAD is not on the task branch and names both branches; its pre-PR flush commits only onto that branch (hearsay-tools/squawk#1110). |
|
|
@@ -12,10 +12,10 @@ import { z } from 'zod';
|
|
|
12
12
|
/**
|
|
13
13
|
* One line of a run transcript.
|
|
14
14
|
*
|
|
15
|
-
* Open by design: `type` is a plain string and unknown keys pass through, because
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
15
|
+
* Open by design: `type` is a plain string and unknown keys pass through, because old NDJSON
|
|
16
|
+
* recordings on disk must keep replaying after an upgrade (AGENTS.md, Changing what already
|
|
17
|
+
* works). A closed schema would reject a recording that carries a type or key this build does
|
|
18
|
+
* not list.
|
|
19
19
|
*/
|
|
20
20
|
export declare const runEventSchema: z.ZodObject<{
|
|
21
21
|
seq: z.ZodNumber;
|
|
@@ -31,16 +31,14 @@ export declare const capabilitiesSchema: z.ZodObject<{
|
|
|
31
31
|
remoteSettingsAdmin: z.ZodBoolean;
|
|
32
32
|
automations: z.ZodBoolean;
|
|
33
33
|
preview: z.ZodBoolean;
|
|
34
|
-
voice: z.ZodBoolean;
|
|
35
34
|
tokenMetrics: z.ZodBoolean;
|
|
36
35
|
tokenUsageMetrics: z.ZodBoolean;
|
|
37
36
|
costMetrics: z.ZodBoolean;
|
|
38
37
|
}, z.core.$strip>;
|
|
39
38
|
export type Capabilities = z.infer<typeof capabilitiesSchema>;
|
|
40
39
|
/**
|
|
41
|
-
* `GET /api/v1/health` — the CORS-open discovery endpoint
|
|
42
|
-
*
|
|
43
|
-
* Additive fields only: this is the most externally-depended-on JSON in the app.
|
|
40
|
+
* `GET /api/v1/health` — the CORS-open discovery endpoint. Callers outside the cockpit read
|
|
41
|
+
* this JSON.
|
|
44
42
|
*/
|
|
45
43
|
export declare const healthResponseSchema: z.ZodObject<{
|
|
46
44
|
version: z.ZodString;
|
|
@@ -85,7 +83,6 @@ export declare const healthResponseSchema: z.ZodObject<{
|
|
|
85
83
|
remoteSettingsAdmin: z.ZodBoolean;
|
|
86
84
|
automations: z.ZodBoolean;
|
|
87
85
|
preview: z.ZodBoolean;
|
|
88
|
-
voice: z.ZodBoolean;
|
|
89
86
|
tokenMetrics: z.ZodBoolean;
|
|
90
87
|
tokenUsageMetrics: z.ZodBoolean;
|
|
91
88
|
costMetrics: z.ZodBoolean;
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -29,7 +29,6 @@ export * from './automation-schedule.ts';
|
|
|
29
29
|
export * from './automations.ts';
|
|
30
30
|
export * from './scheduled-tasks.ts';
|
|
31
31
|
export * from './preview.ts';
|
|
32
|
-
export * from './voice.ts';
|
|
33
32
|
export * from './conversations.ts';
|
|
34
33
|
export * from './ci-wait.ts';
|
|
35
34
|
export * from './waits.ts';
|