@hearsay-tools/squawk 0.17.0-dev.5736 → 0.17.0-dev.5745
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ci-wait/controller.d.ts +37 -37
- package/dist/contract/discovery.d.ts +1 -32
- package/dist/contract/health.d.ts +2 -17
- package/dist/contract/index.js +2573 -2565
- package/dist/contract/repo-info.d.ts +12 -0
- package/dist/contract/repo.d.ts +1 -2
- package/dist/contract/runner.d.ts +15 -0
- package/dist/contract/usage-limit-hold.d.ts +15 -0
- package/dist/contract/waits.d.ts +2 -11
- package/dist/contract/workflows.d.ts +1 -1
- package/dist/contract/workspace.d.ts +36 -1
- package/dist/delegation/routes.d.ts +4 -4
- package/dist/delegation/transport.d.ts +9 -9
- package/dist/runs/run-exits.js.map +1 -1
- package/dist/server/self-update-routes.d.ts +19 -19
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/dist/workflows/run-states.js +4 -4
- package/dist/workflows/run-states.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/activity-motion-Deqj_hcK.js +2 -0
- package/web/dist/assets/{activity-route-De0BnSrc.js → activity-route-Z8SMpPLm.js} +1 -1
- package/web/dist/assets/{agent-accounts-BCg-578Q.js → agent-accounts-f1cxwgfz.js} +2 -2
- package/web/dist/assets/{cez-idle-BT0U4GN_.js → cez-idle-EVoUsgU3.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-DYtYc_dH.js → commit-diff-panel-DZutYRbq.js} +1 -1
- package/web/dist/assets/{control-locations-CA9TMupq.js → control-locations-C9II3kPz.js} +1 -1
- package/web/dist/assets/{diff-tVGVhYyc.js → diff-DNAtaTLC.js} +2 -2
- package/web/dist/assets/{diff-view-CNM3u77o.js → diff-view---8Bt-0a.js} +1 -1
- package/web/dist/assets/{file-preview-C1eTdJLJ.js → file-preview-D08Kq15E.js} +1 -1
- package/web/dist/assets/{git-toolbar-Dwz8p8GW.js → git-toolbar-DMDmGits.js} +1 -1
- package/web/dist/assets/{github-BSezqH6f.js → github-DlMu4p0I.js} +1 -1
- package/web/dist/assets/{github-sidebar-model-Ct0DltOv.js → github-sidebar-model-B0Ufci5S.js} +1 -1
- package/web/dist/assets/{global-activity-route-BZiYz-B0.js → global-activity-route-mJrrP9I0.js} +1 -1
- package/web/dist/assets/{index-D489J7QW.js → index-FoxgrgAH.js} +8 -8
- package/web/dist/assets/{live-protocol-BDY7JJpT.js → live-protocol-BVn0UA_g.js} +1 -1
- package/web/dist/assets/{live-refetch-C0kQc3-z.js → live-refetch-BdnmTJ_8.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-DGkEs_L3.js → preview-pane-connected-KzJn9jAG.js} +1 -1
- package/web/dist/assets/{project-router-1m_VlC22.js → project-router-MMOk9VbW.js} +1 -1
- package/web/dist/assets/project-scope-context-B3M-u8R0.js +4 -0
- package/web/dist/assets/{queries-DYfIpJ-d.js → queries-DORTKwyN.js} +1 -1
- package/web/dist/assets/{repo-git-CU1S5P-y.js → repo-git-Bf_EfIHt.js} +1 -1
- package/web/dist/assets/{report-reader-DlZol2Ux.js → report-reader-ztLhC9gp.js} +1 -1
- package/web/dist/assets/reports-BxGqf1aC.js +1 -0
- package/web/dist/assets/{run-header-DPjiPKRe.js → run-header-CDMGqoPE.js} +1 -1
- package/web/dist/assets/skills-D2r8n5IP.js +1 -0
- package/web/dist/assets/{tab-link-DCUifQ46.js → tab-link-BvoGfK8S.js} +1 -1
- package/web/dist/assets/{task-changes-BZXWvQN3.js → task-changes-CfUCDwcL.js} +1 -1
- package/web/dist/assets/{task-commits-ByI9MSfc.js → task-commits-IOjoz_mL.js} +1 -1
- package/web/dist/assets/{task-files-LJbenpiH.js → task-files-CpUYhIpd.js} +1 -1
- package/web/dist/assets/{task-github-item-B0CU9lGR.js → task-github-item-B8YPhQDV.js} +1 -1
- package/web/dist/assets/task-thread-2Kme3Fc0.js +9 -0
- package/web/dist/assets/{thread-state-BLaCzqeX.js → thread-state-C136Em0C.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-BkmKad8x.js → use-hand-to-agent-state-C6u70P2A.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-qEY8OhKb.js → useInfiniteQuery-BbYMWe23.js} +1 -1
- package/web/dist/assets/useQuery-CqqnAJvu.js +1 -0
- package/web/dist/assets/{workflows-Dbxb-d-6.js → workflows-CWrdqLII.js} +1 -1
- package/web/dist/assets/{ws-DvGmrP4z.js → ws-BtSVmivO.js} +1 -1
- package/web/dist/index.html +13 -13
- package/web/dist/live-worker.js +1 -1
- package/web/dist/assets/activity-motion-hhx0e841.js +0 -2
- package/web/dist/assets/project-scope-context-CaUqlAd7.js +0 -4
- package/web/dist/assets/reports-DIGGjk7C.js +0 -1
- package/web/dist/assets/skills-BMwanop_.js +0 -1
- package/web/dist/assets/task-thread-CXCN__1a.js +0 -9
- package/web/dist/assets/useQuery-DOJQOEBO.js +0 -1
|
@@ -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;
|
|
@@ -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;
|
|
@@ -194,35 +194,4 @@ export declare const discoveryResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
194
194
|
nextOffset: z.ZodOptional<z.ZodNumber>;
|
|
195
195
|
}, z.core.$strip>]>;
|
|
196
196
|
export type DiscoveryResponse = z.infer<typeof discoveryResponseSchema>;
|
|
197
|
-
export
|
|
198
|
-
runner: z.ZodEnum<{
|
|
199
|
-
claude: "claude";
|
|
200
|
-
codex: "codex";
|
|
201
|
-
cursor: "cursor";
|
|
202
|
-
omp: "omp";
|
|
203
|
-
opencode: "opencode";
|
|
204
|
-
pi: "pi";
|
|
205
|
-
}>;
|
|
206
|
-
requestedModel: z.ZodString;
|
|
207
|
-
availableModels: z.ZodArray<z.ZodObject<{
|
|
208
|
-
id: z.ZodString;
|
|
209
|
-
label: z.ZodString;
|
|
210
|
-
description: z.ZodString;
|
|
211
|
-
effortLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
212
|
-
high: "high";
|
|
213
|
-
low: "low";
|
|
214
|
-
max: "max";
|
|
215
|
-
medium: "medium";
|
|
216
|
-
xhigh: "xhigh";
|
|
217
|
-
}>>>;
|
|
218
|
-
}, z.core.$strip>>;
|
|
219
|
-
otherRunners: z.ZodArray<z.ZodEnum<{
|
|
220
|
-
claude: "claude";
|
|
221
|
-
codex: "codex";
|
|
222
|
-
cursor: "cursor";
|
|
223
|
-
omp: "omp";
|
|
224
|
-
opencode: "opencode";
|
|
225
|
-
pi: "pi";
|
|
226
|
-
}>>;
|
|
227
|
-
}, z.core.$strip>;
|
|
228
|
-
export type ModelChoices = z.infer<typeof modelChoicesSchema>;
|
|
197
|
+
export { modelChoicesSchema, type ModelChoices } from './workspace.ts';
|
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
claude: "claude";
|
|
5
|
-
codex: "codex";
|
|
6
|
-
cursor: "cursor";
|
|
7
|
-
omp: "omp";
|
|
8
|
-
opencode: "opencode";
|
|
9
|
-
pi: "pi";
|
|
10
|
-
}>;
|
|
11
|
-
export type Runner = z.infer<typeof runnerSchema>;
|
|
12
|
-
/** Git facts about the project root, or `null` when it is not a repository. */
|
|
13
|
-
export declare const repoInfoSchema: z.ZodObject<{
|
|
14
|
-
root: z.ZodString;
|
|
15
|
-
branch: z.ZodString;
|
|
16
|
-
remote: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
export type RepoInfo = z.infer<typeof repoInfoSchema>;
|
|
2
|
+
export { runnerSchema, type Runner } from './runner.ts';
|
|
3
|
+
export { repoInfoSchema, type RepoInfo } from './repo-info.ts';
|
|
19
4
|
/** One probed CLI behind the Tools menu. */
|
|
20
5
|
export declare const backendCheckSchema: z.ZodObject<{
|
|
21
6
|
name: z.ZodEnum<{
|