@hearsay-tools/squawk 0.18.0-pr3336.5867 → 0.18.0-pr3341.5874
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 +5 -14
- package/dist/ci-wait/controller.d.ts +41 -41
- package/dist/ci-wait/tools.d.ts +4 -4
- package/dist/cli-dispatch.d.ts +0 -3
- package/dist/cli-dispatch.js +3 -23
- package/dist/cli-dispatch.js.map +1 -1
- package/dist/contract/health.d.ts +0 -12
- package/dist/contract/index.d.ts +0 -2
- package/dist/contract/index.js +1965 -2102
- package/dist/{self-update/supervisor.js → desktop-supervisor.js} +2 -2
- package/dist/desktop-supervisor.js.map +1 -0
- package/dist/home/entry.d.ts +1 -1
- package/dist/home/entry.js +1 -1
- package/dist/home/entry.js.map +1 -1
- package/dist/home/home.d.ts +1 -4
- package/dist/home/home.js +1 -5
- package/dist/home/home.js.map +1 -1
- package/dist/home/migrate.js +4 -4
- package/dist/home/migrate.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/managed-install/launcher.d.ts +14 -0
- package/dist/{self-update → managed-install}/launcher.js +8 -43
- package/dist/managed-install/launcher.js.map +1 -0
- package/dist/managed-install/layout.d.ts +35 -0
- package/dist/managed-install/layout.js +43 -0
- package/dist/managed-install/layout.js.map +1 -0
- package/dist/runs/run-exits.d.ts +301 -301
- package/dist/runs/store.d.ts +72 -72
- package/dist/serve-boot.d.ts +1 -19
- package/dist/serve-boot.js +1 -44
- package/dist/serve-boot.js.map +1 -1
- package/dist/serve-command.d.ts +2 -4
- package/dist/serve-command.js +7 -11
- package/dist/serve-command.js.map +1 -1
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/server.d.ts +61 -405
- package/dist/server/server.js +1 -60
- package/dist/server/server.js.map +1 -1
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/workspace/config.d.ts +0 -5
- package/dist/workspace/config.js +0 -4
- package/dist/workspace/config.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/activity-motion-Dj3dlCYS.js +2 -0
- package/web/dist/assets/{activity-route-1OFUVP3A.js → activity-route-CpjbEhk_.js} +1 -1
- package/web/dist/assets/{alert-dialog-Dj464rjk.js → alert-dialog-h-3h9B4l.js} +1 -1
- package/web/dist/assets/button-CS5tOblf.js +3 -0
- package/web/dist/assets/{centered-state-DGyy0SuA.js → centered-state-BmsqxbI8.js} +1 -1
- package/web/dist/assets/commit-diff-panel-DGx2t9Pw.js +1 -0
- package/web/dist/assets/{control-locations-C9II3kPz.js → control-locations-CD2r0mMU.js} +1 -1
- package/web/dist/assets/{diff-controls-BR2uqhwG.js → diff-controls-BHF0Pvdc.js} +1 -1
- package/web/dist/assets/diff-qq2vW6Xc.js +3 -0
- package/web/dist/assets/{diff-view-BBhxSIlf.js → diff-view-wanjAW5U.js} +5 -5
- package/web/dist/assets/{dropdown-menu-DhrBcVgr.js → dropdown-menu-CjLqyqwB.js} +1 -1
- package/web/dist/assets/{es2015-D345RR4o.js → es2015-CX0rgbM5.js} +1 -1
- package/web/dist/assets/file-preview-YiP5f666.js +2 -0
- package/web/dist/assets/format-BNCkW110.js +1 -0
- package/web/dist/assets/git-toolbar-D0mTYtOj.js +1 -0
- package/web/dist/assets/github-DizdAh0y.js +1 -0
- package/web/dist/assets/{global-activity-route-Dt83uvZc.js → global-activity-route-DMbPEZPP.js} +1 -1
- package/web/dist/assets/{image-preview-Cq1vDiEo.js → image-preview-Dy3o8upo.js} +1 -1
- package/web/dist/assets/index-9YmaiQ1k.css +1 -0
- package/web/dist/assets/index-D51Su-nT.js +34 -0
- package/web/dist/assets/{live-refetch-BdnmTJ_8.js → live-refetch-C2xZHKkJ.js} +1 -1
- package/web/dist/assets/{nav-row-styles-BZUUavOF.js → nav-row-styles-CEA9c88Q.js} +1 -1
- package/web/dist/assets/play-CmVAj_fu.js +1 -0
- package/web/dist/assets/popover-s-Wchzjn.js +1 -0
- package/web/dist/assets/preview-pane-connected-DQYoGd9W.js +3 -0
- package/web/dist/assets/{project-router-MMOk9VbW.js → project-router-BLO2IxbU.js} +1 -1
- package/web/dist/assets/project-scope-context-DbO9a0ii.js +4 -0
- package/web/dist/assets/queries-C_DEjjv2.js +1 -0
- package/web/dist/assets/repo-git-CSTwuYJ5.js +1 -0
- package/web/dist/assets/report-reader-B8D_6si1.js +1 -0
- package/web/dist/assets/reports-Dr312nK-.js +1 -0
- package/web/dist/assets/run-header-B8M6-fvb.js +2 -0
- package/web/dist/assets/skills-Bz-itxvq.js +1 -0
- package/web/dist/assets/{tab-link-BvoGfK8S.js → tab-link-CqVqRhuM.js} +1 -1
- package/web/dist/assets/task-changes-6F8fNE6I.js +1 -0
- package/web/dist/assets/task-commits-1TKZD8tP.js +1 -0
- package/web/dist/assets/task-files-BitTchRw.js +1 -0
- package/web/dist/assets/{task-github-item-npfGLu9C.js → task-github-item-ux8yQOHs.js} +1 -1
- package/web/dist/assets/{task-thread-DnpkXb5P.js → task-thread-DAnwO8BU.js} +7 -7
- package/web/dist/assets/thread-state-COdb27sX.js +4 -0
- package/web/dist/assets/{toaster-B1MyeHiE.js → toaster-CRVRHlMR.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-CZK9cWMq.js +1 -0
- package/web/dist/assets/{useInfiniteQuery-BbYMWe23.js → useInfiniteQuery-DCWsxLiy.js} +1 -1
- package/web/dist/assets/useQuery-C2HBIY3e.js +1 -0
- package/web/dist/assets/workflows-CNnPn5Zx.js +7 -0
- package/web/dist/assets/ws-BXdlGFIZ.js +1 -0
- package/web/dist/assets/{zoomable-image-5pOUaPEg.js → zoomable-image-UzXCYU7Z.js} +1 -1
- package/web/dist/index.html +21 -26
- package/dist/application-update/bin-recovery.d.ts +0 -5
- package/dist/application-update/bin-recovery.js +0 -96
- package/dist/application-update/bin-recovery.js.map +0 -1
- package/dist/application-update/discovery.d.ts +0 -23
- package/dist/application-update/discovery.js +0 -139
- package/dist/application-update/discovery.js.map +0 -1
- package/dist/application-update/helper.d.ts +0 -58
- package/dist/application-update/helper.js +0 -363
- package/dist/application-update/helper.js.map +0 -1
- package/dist/application-update/launcher.d.ts +0 -12
- package/dist/application-update/launcher.js +0 -61
- package/dist/application-update/launcher.js.map +0 -1
- package/dist/application-update/lock.d.ts +0 -4
- package/dist/application-update/lock.js +0 -70
- package/dist/application-update/lock.js.map +0 -1
- package/dist/application-update/npm-process.d.ts +0 -17
- package/dist/application-update/npm-process.js +0 -156
- package/dist/application-update/npm-process.js.map +0 -1
- package/dist/application-update/runtime-layout.d.ts +0 -20
- package/dist/application-update/runtime-layout.js +0 -91
- package/dist/application-update/runtime-layout.js.map +0 -1
- package/dist/application-update/scoped-recovery.d.ts +0 -32
- package/dist/application-update/scoped-recovery.js +0 -210
- package/dist/application-update/scoped-recovery.js.map +0 -1
- package/dist/application-update/service.d.ts +0 -86
- package/dist/application-update/service.js +0 -523
- package/dist/application-update/service.js.map +0 -1
- package/dist/contract/application-update.d.ts +0 -32
- package/dist/contract/self-update.d.ts +0 -255
- package/dist/self-update/checkouts.d.ts +0 -46
- package/dist/self-update/checkouts.js +0 -284
- package/dist/self-update/checkouts.js.map +0 -1
- package/dist/self-update/cli.d.ts +0 -19
- package/dist/self-update/cli.js +0 -243
- package/dist/self-update/cli.js.map +0 -1
- package/dist/self-update/installer.d.ts +0 -24
- package/dist/self-update/installer.js +0 -139
- package/dist/self-update/installer.js.map +0 -1
- package/dist/self-update/launcher.d.ts +0 -30
- package/dist/self-update/launcher.js.map +0 -1
- package/dist/self-update/layout.d.ts +0 -108
- package/dist/self-update/layout.js +0 -276
- package/dist/self-update/layout.js.map +0 -1
- package/dist/self-update/pulls.d.ts +0 -30
- package/dist/self-update/pulls.js +0 -128
- package/dist/self-update/pulls.js.map +0 -1
- package/dist/self-update/registry.d.ts +0 -37
- package/dist/self-update/registry.js +0 -86
- package/dist/self-update/registry.js.map +0 -1
- package/dist/self-update/restart.d.ts +0 -25
- package/dist/self-update/restart.js +0 -79
- package/dist/self-update/restart.js.map +0 -1
- package/dist/self-update/semver.d.ts +0 -19
- package/dist/self-update/semver.js +0 -79
- package/dist/self-update/semver.js.map +0 -1
- package/dist/self-update/service.d.ts +0 -115
- package/dist/self-update/service.js +0 -332
- package/dist/self-update/service.js.map +0 -1
- package/dist/self-update/supervisor.js.map +0 -1
- package/dist/server/self-update-routes.d.ts +0 -308
- package/dist/server/self-update-routes.js +0 -80
- package/dist/server/self-update-routes.js.map +0 -1
- package/web/dist/assets/activity-motion-BdGFmrw-.js +0 -2
- package/web/dist/assets/agent-accounts-f1cxwgfz.js +0 -18
- package/web/dist/assets/button-CHUAMTHK.js +0 -3
- package/web/dist/assets/commit-diff-panel-BiNPMHC6.js +0 -1
- package/web/dist/assets/diff-BHwQUS2W.js +0 -3
- package/web/dist/assets/file-preview-D08Kq15E.js +0 -2
- package/web/dist/assets/git-toolbar-BnOaO_OH.js +0 -1
- package/web/dist/assets/github-CXc8nroh.js +0 -1
- package/web/dist/assets/github-sidebar-model-B0Ufci5S.js +0 -1
- package/web/dist/assets/index-B18AqW0Z.css +0 -1
- package/web/dist/assets/index-B5LayM4y.js +0 -14
- package/web/dist/assets/loader-circle-CZkGEdoI.js +0 -1
- package/web/dist/assets/markdown-D7DUNWcJ.js +0 -6
- package/web/dist/assets/popover-DRcRI46x.js +0 -1
- package/web/dist/assets/preview-pane-connected-JHeCgq7I.js +0 -3
- package/web/dist/assets/project-scope-context-B3M-u8R0.js +0 -4
- package/web/dist/assets/queries-DORTKwyN.js +0 -1
- package/web/dist/assets/repo-git-wEXDON29.js +0 -1
- package/web/dist/assets/report-reader-DJ_0htSx.js +0 -1
- package/web/dist/assets/reports-BIXmTBFJ.js +0 -1
- package/web/dist/assets/run-header-Bgtlx-vc.js +0 -2
- package/web/dist/assets/skills-BJ2nSfyr.js +0 -1
- package/web/dist/assets/skills-DFBiAuJG.js +0 -1
- package/web/dist/assets/skills-workflows-C21NystW.css +0 -1
- package/web/dist/assets/task-changes-Dz0udwrE.js +0 -1
- package/web/dist/assets/task-commits-5uILgm5M.js +0 -1
- package/web/dist/assets/task-files-DGZjTKSS.js +0 -1
- package/web/dist/assets/textarea-DlVUfdWG.js +0 -1
- package/web/dist/assets/thread-state-BfrO2t7g.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-DyVB4IBv.js +0 -1
- package/web/dist/assets/useQuery-CqqnAJvu.js +0 -1
- package/web/dist/assets/workflows-ByduCwgu.js +0 -7
- package/web/dist/assets/ws-BtSVmivO.js +0 -1
- /package/dist/{self-update/supervisor.d.ts → desktop-supervisor.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -45,18 +45,10 @@ inside your repo (`.ai/cezar/` in a project that has not moved yet): your runs i
|
|
|
45
45
|
Node: no server, no install, no config), event logs in NDJSON and journals in
|
|
46
46
|
Markdown. Everything except the run file you can `cat` and fix by hand.
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
successful restart updates the original global installation or ordinary npx
|
|
53
|
-
cache entry, so the same command uses the new version on its next launch.
|
|
54
|
-
Update preparation and recovery state is generated under
|
|
55
|
-
`<state>/application-updates/` in the [resolved home layout](docs/migration.md#home-directories).
|
|
56
|
-
Pinned npx invocations, source checkouts, npm links, and hosted deployments use
|
|
57
|
-
their existing manual update paths. Squawk holds its own installation lock and
|
|
58
|
-
npm's npx lock during promotion; a separate manual `npm install` does not honor
|
|
59
|
-
those locks, so avoid one while an update is preparing or restarting.
|
|
48
|
+
The cockpit checks npm for a newer release when it starts. When one exists, it prints
|
|
49
|
+
the command that starts the newest release and marks the version in the sidebar footer.
|
|
50
|
+
It does not install updates. Install the newer release the way you installed this one,
|
|
51
|
+
then restart the cockpit.
|
|
60
52
|
|
|
61
53
|
Upgrading from Cezarion? Read the [migration guide](docs/migration.md) before
|
|
62
54
|
moving a desktop, server or custom-home install. User paths such as `<config>`
|
|
@@ -1188,10 +1180,9 @@ Useful environment variables:
|
|
|
1188
1180
|
| `HSQ_ALLOW_TEST_SPAWN`, `CEZ_ALLOW_TEST_SPAWN` | Test harness opt-in for real agent process spawning. Leave unset outside tests. |
|
|
1189
1181
|
| `HSQ_ARTIFACTS_DIR`, `CEZ_ARTIFACTS_DIR`, `HSQ_HANDOFF_FILE`, `CEZ_HANDOFF_FILE`, `HSQ_TASK_ID`, `CEZ_TASK_ID`, `HSQ_TODOS_FILE`, `CEZ_TODOS_FILE`, `HSQ_PROJECT_ROOT`, `CEZ_PROJECT_ROOT` | Internal task paths and identity generated by the controller. Do not configure them. |
|
|
1190
1182
|
| `HSQ_TOOL_SOCKET`, `CEZ_TOOL_SOCKET`, `HSQ_TOOL_TOKEN`, `CEZ_TOOL_TOKEN` | Internal tool transport authority generated for each session. Do not configure or copy it. |
|
|
1191
|
-
| `HSQ_AUTOSAVE_OWNER`, `CEZ_AUTOSAVE_OWNER
|
|
1183
|
+
| `HSQ_AUTOSAVE_OWNER`, `CEZ_AUTOSAVE_OWNER` | Internal process attribution markers. Do not configure them. |
|
|
1192
1184
|
| `HSQ_DESKTOP`, `CEZ_DESKTOP`, `HSQ_SUPERVISED`, `CEZ_SUPERVISED`, `HSQ_SUPERVISOR_PID`, `CEZ_SUPERVISOR_PID`, `HSQ_SUPERVISOR_STDIN`, `CEZ_SUPERVISOR_STDIN` | Internal desktop and supervisor lifecycle values. The shell's CEZ value wins when present, including empty values; HSQ is used only when CEZ is absent. Do not configure them. |
|
|
1193
1185
|
| `HSQ_DISCLAIM_EXEC`, `CEZ_DISCLAIM_EXEC` | Desktop executable used to remove inherited macOS execution attribution. A defined CEZ value wins over HSQ. Discovered automatically. |
|
|
1194
|
-
| `HSQ_UPDATE_CHANNEL`, `CEZ_UPDATE_CHANNEL` | Managed desktop channel: stable (default), nightly, or development. The version dialog's saved choice takes precedence. |
|
|
1195
1186
|
| `HSQ_DESKTOP_ENTRY` / `CEZ_DESKTOP_ENTRY` | Native-shell development entry file. The HSQ name wins when present, including an empty value. |
|
|
1196
1187
|
| `HSQ_DESKTOP_CWD` / `CEZ_DESKTOP_CWD` | Native-shell starting project directory. The HSQ name wins when present. |
|
|
1197
1188
|
| `HSQ_DESKTOP_NODE` / `CEZ_DESKTOP_NODE` | Native-shell Node executable. The HSQ name wins when present. Empty selects `node` on PATH. |
|
|
@@ -288,12 +288,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
288
288
|
"/api/v1/tools/ask": {
|
|
289
289
|
$post: {
|
|
290
290
|
output: {
|
|
291
|
-
|
|
292
|
-
code: 'unavailable';
|
|
291
|
+
code: 'capability_revoked';
|
|
293
292
|
message: string;
|
|
294
293
|
};
|
|
295
294
|
outputFormat: "json";
|
|
296
|
-
status:
|
|
295
|
+
status: 401;
|
|
297
296
|
input: {
|
|
298
297
|
json: {
|
|
299
298
|
questions: {
|
|
@@ -311,11 +310,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
311
310
|
};
|
|
312
311
|
} | {
|
|
313
312
|
output: {
|
|
314
|
-
|
|
313
|
+
ok: false;
|
|
314
|
+
code: 'unavailable';
|
|
315
315
|
message: string;
|
|
316
316
|
};
|
|
317
317
|
outputFormat: "json";
|
|
318
|
-
status:
|
|
318
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
319
319
|
input: {
|
|
320
320
|
json: {
|
|
321
321
|
questions: {
|
|
@@ -383,12 +383,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
383
383
|
"/api/v1/tools/cancel-wait": {
|
|
384
384
|
$post: {
|
|
385
385
|
output: {
|
|
386
|
-
|
|
387
|
-
code: 'unavailable';
|
|
386
|
+
code: 'capability_revoked';
|
|
388
387
|
message: string;
|
|
389
388
|
};
|
|
390
389
|
outputFormat: "json";
|
|
391
|
-
status:
|
|
390
|
+
status: 401;
|
|
392
391
|
input: {
|
|
393
392
|
json: {
|
|
394
393
|
wait_id: string;
|
|
@@ -396,11 +395,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
396
395
|
};
|
|
397
396
|
} | {
|
|
398
397
|
output: {
|
|
399
|
-
|
|
398
|
+
cancelled: false;
|
|
399
|
+
code: 'unavailable';
|
|
400
400
|
message: string;
|
|
401
401
|
};
|
|
402
402
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
403
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
404
404
|
input: {
|
|
405
405
|
json: {
|
|
406
406
|
wait_id: string;
|
|
@@ -448,12 +448,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
448
448
|
"/api/v1/tools/done": {
|
|
449
449
|
$post: {
|
|
450
450
|
output: {
|
|
451
|
-
|
|
452
|
-
code: 'unavailable';
|
|
451
|
+
code: 'capability_revoked';
|
|
453
452
|
message: string;
|
|
454
453
|
};
|
|
455
454
|
outputFormat: "json";
|
|
456
|
-
status:
|
|
455
|
+
status: 401;
|
|
457
456
|
input: {
|
|
458
457
|
json: {
|
|
459
458
|
summary?: string | undefined;
|
|
@@ -461,11 +460,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
461
460
|
};
|
|
462
461
|
} | {
|
|
463
462
|
output: {
|
|
464
|
-
|
|
463
|
+
ok: false;
|
|
464
|
+
code: 'unavailable';
|
|
465
465
|
message: string;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
469
469
|
input: {
|
|
470
470
|
json: {
|
|
471
471
|
summary?: string | undefined;
|
|
@@ -533,13 +533,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
533
533
|
"/api/v1/tools/preview-stop": {
|
|
534
534
|
$post: {
|
|
535
535
|
output: {
|
|
536
|
-
|
|
537
|
-
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
536
|
+
code: 'capability_revoked';
|
|
538
537
|
message: string;
|
|
539
|
-
hint: string;
|
|
540
538
|
};
|
|
541
539
|
outputFormat: "json";
|
|
542
|
-
status:
|
|
540
|
+
status: 401;
|
|
543
541
|
input: {
|
|
544
542
|
json: {
|
|
545
543
|
port: number;
|
|
@@ -548,11 +546,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
548
546
|
};
|
|
549
547
|
} | {
|
|
550
548
|
output: {
|
|
551
|
-
|
|
549
|
+
ok: boolean;
|
|
550
|
+
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
552
551
|
message: string;
|
|
552
|
+
hint: string;
|
|
553
553
|
};
|
|
554
554
|
outputFormat: "json";
|
|
555
|
-
status:
|
|
555
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
556
556
|
input: {
|
|
557
557
|
json: {
|
|
558
558
|
port: number;
|
|
@@ -565,13 +565,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
565
565
|
"/api/v1/tools/preview-serve": {
|
|
566
566
|
$post: {
|
|
567
567
|
output: {
|
|
568
|
-
|
|
569
|
-
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
568
|
+
code: 'capability_revoked';
|
|
570
569
|
message: string;
|
|
571
|
-
hint: string;
|
|
572
570
|
};
|
|
573
571
|
outputFormat: "json";
|
|
574
|
-
status:
|
|
572
|
+
status: 401;
|
|
575
573
|
input: {
|
|
576
574
|
json: {
|
|
577
575
|
command: string;
|
|
@@ -583,11 +581,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
583
581
|
};
|
|
584
582
|
} | {
|
|
585
583
|
output: {
|
|
586
|
-
|
|
584
|
+
ok: boolean;
|
|
585
|
+
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
587
586
|
message: string;
|
|
587
|
+
hint: string;
|
|
588
588
|
};
|
|
589
589
|
outputFormat: "json";
|
|
590
|
-
status:
|
|
590
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
591
591
|
input: {
|
|
592
592
|
json: {
|
|
593
593
|
command: string;
|
|
@@ -603,12 +603,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
603
603
|
"/api/v1/tools/schedule-task": {
|
|
604
604
|
$post: {
|
|
605
605
|
output: {
|
|
606
|
-
|
|
607
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
606
|
+
code: 'capability_revoked';
|
|
608
607
|
message: string;
|
|
609
608
|
};
|
|
610
609
|
outputFormat: "json";
|
|
611
|
-
status:
|
|
610
|
+
status: 401;
|
|
612
611
|
input: {
|
|
613
612
|
json: {
|
|
614
613
|
at?: string | undefined;
|
|
@@ -625,11 +624,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
625
624
|
};
|
|
626
625
|
} | {
|
|
627
626
|
output: {
|
|
628
|
-
|
|
627
|
+
ok: false;
|
|
628
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
629
629
|
message: string;
|
|
630
630
|
};
|
|
631
631
|
outputFormat: "json";
|
|
632
|
-
status:
|
|
632
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
633
633
|
input: {
|
|
634
634
|
json: {
|
|
635
635
|
at?: string | undefined;
|
|
@@ -646,6 +646,10 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
646
646
|
};
|
|
647
647
|
} | {
|
|
648
648
|
output: {
|
|
649
|
+
ok: false;
|
|
650
|
+
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
651
|
+
message: string;
|
|
652
|
+
} | {
|
|
649
653
|
ok: true;
|
|
650
654
|
task: {
|
|
651
655
|
id: string;
|
|
@@ -657,10 +661,6 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
657
661
|
url?: string | undefined;
|
|
658
662
|
};
|
|
659
663
|
note: string;
|
|
660
|
-
} | {
|
|
661
|
-
ok: false;
|
|
662
|
-
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
663
|
-
message: string;
|
|
664
664
|
};
|
|
665
665
|
outputFormat: "json";
|
|
666
666
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -684,12 +684,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
684
684
|
"/api/v1/tools/scheduled-tasks": {
|
|
685
685
|
$post: {
|
|
686
686
|
output: {
|
|
687
|
-
|
|
688
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
687
|
+
code: 'capability_revoked';
|
|
689
688
|
message: string;
|
|
690
689
|
};
|
|
691
690
|
outputFormat: "json";
|
|
692
|
-
status:
|
|
691
|
+
status: 401;
|
|
693
692
|
input: {
|
|
694
693
|
json: {
|
|
695
694
|
at?: string | undefined;
|
|
@@ -722,11 +721,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
722
721
|
};
|
|
723
722
|
} | {
|
|
724
723
|
output: {
|
|
725
|
-
|
|
724
|
+
ok: false;
|
|
725
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
726
726
|
message: string;
|
|
727
727
|
};
|
|
728
728
|
outputFormat: "json";
|
|
729
|
-
status:
|
|
729
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
730
730
|
input: {
|
|
731
731
|
json: {
|
|
732
732
|
at?: string | undefined;
|
package/dist/ci-wait/tools.d.ts
CHANGED
|
@@ -783,6 +783,10 @@ export declare function invokeScheduleTaskTool(input: unknown): Promise<{
|
|
|
783
783
|
}[];
|
|
784
784
|
isError: boolean;
|
|
785
785
|
details: {
|
|
786
|
+
ok: false;
|
|
787
|
+
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
788
|
+
message: string;
|
|
789
|
+
} | {
|
|
786
790
|
ok: true;
|
|
787
791
|
task: {
|
|
788
792
|
id: string;
|
|
@@ -794,10 +798,6 @@ export declare function invokeScheduleTaskTool(input: unknown): Promise<{
|
|
|
794
798
|
url?: string | undefined;
|
|
795
799
|
};
|
|
796
800
|
note: string;
|
|
797
|
-
} | {
|
|
798
|
-
ok: false;
|
|
799
|
-
code: "automations_off" | "conflict" | "invalid_request" | "not_found" | "unavailable";
|
|
800
|
-
message: string;
|
|
801
801
|
};
|
|
802
802
|
}>;
|
|
803
803
|
export declare function invokeScheduledTasksTool(input: unknown): Promise<{
|
package/dist/cli-dispatch.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { parseArgs } from 'node:util';
|
|
|
2
2
|
import { productEnv } from './core/product-env.ts';
|
|
3
3
|
import { operatorHomeEntry, prepareOperatorHome } from './home/entry.ts';
|
|
4
4
|
import type { Home } from './home/home.ts';
|
|
5
|
-
import { runManagedCommand } from './self-update/cli.ts';
|
|
6
5
|
import { runSubcommand } from './subcommands.ts';
|
|
7
6
|
import { getRepoInfo } from './server/git.ts';
|
|
8
7
|
import { runProjectsCommand } from './workspace/projects-cli.ts';
|
|
@@ -13,7 +12,6 @@ export declare const defaultCliDeps: {
|
|
|
13
12
|
productEnv: typeof productEnv;
|
|
14
13
|
operatorHomeEntry: typeof operatorHomeEntry;
|
|
15
14
|
prepareOperatorHome: typeof prepareOperatorHome;
|
|
16
|
-
runManagedCommand: typeof runManagedCommand;
|
|
17
15
|
runSubcommand: typeof runSubcommand;
|
|
18
16
|
getRepoInfo: typeof getRepoInfo;
|
|
19
17
|
runProjectsCommand: typeof runProjectsCommand;
|
|
@@ -22,7 +20,6 @@ export declare const defaultCliDeps: {
|
|
|
22
20
|
};
|
|
23
21
|
export type CliDeps = typeof defaultCliDeps & {
|
|
24
22
|
resolveCliHome: () => Home;
|
|
25
|
-
readOwnName: () => string;
|
|
26
23
|
readOwnVersion: () => string;
|
|
27
24
|
serveCommand: (home: Home, root: string, port: number, open: boolean, bindHost: string | undefined, restartExact: boolean) => Promise<void>;
|
|
28
25
|
serverCommand: typeof serverCommand;
|
package/dist/cli-dispatch.js
CHANGED
|
@@ -5,17 +5,16 @@ import { resolve } from 'node:path';
|
|
|
5
5
|
import { productEnv } from './core/product-env.js';
|
|
6
6
|
import { operatorHomeEntry, prepareOperatorHome } from './home/entry.js';
|
|
7
7
|
import { REBRAND_SWITCH } from './home/switch.js';
|
|
8
|
-
import { runManagedCommand } from './self-update/cli.js';
|
|
9
8
|
import { runSubcommand } from './subcommands.js';
|
|
10
9
|
import { getRepoInfo } from './server/git.js';
|
|
11
10
|
import { runProjectsCommand } from './workspace/projects-cli.js';
|
|
12
11
|
import { projectPaths } from './project-paths.js';
|
|
13
12
|
import { assertProjectAdmitted, projectAdmissionRefusal } from './server/cockpit-ownership.js';
|
|
14
13
|
export const defaultCliDeps = {
|
|
15
|
-
parseArgs, productEnv, operatorHomeEntry, prepareOperatorHome,
|
|
14
|
+
parseArgs, productEnv, operatorHomeEntry, prepareOperatorHome,
|
|
16
15
|
runSubcommand, getRepoInfo, runProjectsCommand, process, console,
|
|
17
16
|
};
|
|
18
|
-
function cliHelp(rebrand
|
|
17
|
+
function cliHelp(rebrand) {
|
|
19
18
|
return `${productName('cezar', rebrand)} — local cockpit for AI agent tasks in your repo
|
|
20
19
|
|
|
21
20
|
Usage:
|
|
@@ -39,9 +38,6 @@ Usage:
|
|
|
39
38
|
cez server-deploy redeploy a new version (reload the service) + verify
|
|
40
39
|
cez server-uninstall reverse a server-install
|
|
41
40
|
${rebrand ? ' hsq migrate [--dry-run] migrate the legacy home into the split layout\n hsq migrate --resolve-legacy <file> restore|accept resolve legacy recovery first\n' : ''}${rebrand ? ' hsq migrate-project [--dry-run] move this project\'s state from .ai/cezar/ to .ai/squawk/, offline\n' : ''} cez remote-settings enable|status|disable remote edits of agent config and worktree setup
|
|
42
|
-
cez install | update manage the desktop installation under ${versions}
|
|
43
|
-
cez versions | use <id> list or switch managed versions
|
|
44
|
-
cez link [dir] [--use] link a built development checkout (unlink <id> removes it)
|
|
45
41
|
|
|
46
42
|
Options:
|
|
47
43
|
-p, --port <n> cockpit port (default 4321; server-install: this
|
|
@@ -115,29 +111,13 @@ function printCliMetadata(deps, values, help) {
|
|
|
115
111
|
}
|
|
116
112
|
return false;
|
|
117
113
|
}
|
|
118
|
-
/** Help stays available even when the host cannot resolve a user's home. */
|
|
119
|
-
function cliVersionsPath(deps, rebrand) {
|
|
120
|
-
if (!rebrand)
|
|
121
|
-
return;
|
|
122
|
-
try {
|
|
123
|
-
return deps.resolveCliHome().versions;
|
|
124
|
-
}
|
|
125
|
-
catch {
|
|
126
|
-
return "the data folder's versions directory";
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
114
|
async function dispatch(deps, rebrand) {
|
|
130
115
|
// Help reads resolved paths only. Task commands and version output never need a Home.
|
|
131
|
-
const help = () => commandText(cliHelp(rebrand
|
|
116
|
+
const help = () => commandText(cliHelp(rebrand), deps.process.argv[1], rebrand);
|
|
132
117
|
let resolvedHome;
|
|
133
118
|
let homeEntry = deps.operatorHomeEntry(deps.process.argv.slice(2));
|
|
134
119
|
// Dispatch task commands without invoking this factory or giving them a Home.
|
|
135
120
|
const home = () => resolvedHome ??= deps.prepareOperatorHome(deps.resolveCliHome(), homeEntry);
|
|
136
|
-
const managedExit = await deps.runManagedCommand(deps.process.argv.slice(2), { pkgName: deps.readOwnName(), version: deps.readOwnVersion(), entry: resolve(deps.process.argv[1] ?? '') }, home);
|
|
137
|
-
if (managedExit !== undefined) {
|
|
138
|
-
deps.process.exitCode = managedExit;
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
121
|
// Subcommands with flags of their own run before the global parseArgs (#504, #774, #1576).
|
|
142
122
|
const subcommandExit = await deps.runSubcommand(deps.process.argv.slice(2), deps.process.env, home);
|
|
143
123
|
if (subcommandExit !== undefined) {
|
package/dist/cli-dispatch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-dispatch.js","sourceRoot":"","sources":["../src/cli-dispatch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"cli-dispatch.js","sourceRoot":"","sources":["../src/cli-dispatch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OA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Optional<z.ZodObject<{
|
|
101
|
-
status: z.ZodEnum<{
|
|
102
|
-
error: "error";
|
|
103
|
-
idle: "idle";
|
|
104
|
-
preparing: "preparing";
|
|
105
|
-
ready: "ready";
|
|
106
|
-
restarting: "restarting";
|
|
107
|
-
}>;
|
|
108
|
-
supported: z.ZodBoolean;
|
|
109
|
-
targetVersion: z.ZodOptional<z.ZodString>;
|
|
110
|
-
message: z.ZodOptional<z.ZodString>;
|
|
111
|
-
}, z.core.$strip>>;
|
|
112
100
|
}, z.core.$strip>;
|
|
113
101
|
export type HealthResponse = z.infer<typeof healthResponseSchema>;
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export * from './pending-ask.ts';
|
|
|
8
8
|
export * from './delegation.ts';
|
|
9
9
|
export * from './effort.ts';
|
|
10
10
|
export * from './health.ts';
|
|
11
|
-
export * from './application-update.ts';
|
|
12
11
|
export * from './runs.ts';
|
|
13
12
|
export * from './task-options.ts';
|
|
14
13
|
export * from './run-labels.ts';
|
|
@@ -61,7 +60,6 @@ export * from './repo-requests.ts';
|
|
|
61
60
|
export * from './config-requests.ts';
|
|
62
61
|
export * from './workflow-file.ts';
|
|
63
62
|
export * from './automation-storage.ts';
|
|
64
|
-
export * from './self-update.ts';
|
|
65
63
|
export * from './reports.ts';
|
|
66
64
|
export * from './report-title.ts';
|
|
67
65
|
export * from './control-locations.ts';
|