@hearsay-tools/squawk 0.18.0-pr3847.7184 → 0.18.0-pr3851.7194
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 +42 -42
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
|
@@ -282,12 +282,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
282
282
|
"/api/v1/tools/ask": {
|
|
283
283
|
$post: {
|
|
284
284
|
output: {
|
|
285
|
-
|
|
286
|
-
code: 'unavailable';
|
|
285
|
+
code: 'capability_revoked';
|
|
287
286
|
message: string;
|
|
288
287
|
};
|
|
289
288
|
outputFormat: "json";
|
|
290
|
-
status:
|
|
289
|
+
status: 401;
|
|
291
290
|
input: {
|
|
292
291
|
json: {
|
|
293
292
|
questions: {
|
|
@@ -305,11 +304,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
305
304
|
};
|
|
306
305
|
} | {
|
|
307
306
|
output: {
|
|
308
|
-
|
|
307
|
+
ok: false;
|
|
308
|
+
code: 'unavailable';
|
|
309
309
|
message: string;
|
|
310
310
|
};
|
|
311
311
|
outputFormat: "json";
|
|
312
|
-
status:
|
|
312
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
313
313
|
input: {
|
|
314
314
|
json: {
|
|
315
315
|
questions: {
|
|
@@ -377,12 +377,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
377
377
|
"/api/v1/tools/cancel-wait": {
|
|
378
378
|
$post: {
|
|
379
379
|
output: {
|
|
380
|
-
|
|
381
|
-
code: 'unavailable';
|
|
380
|
+
code: 'capability_revoked';
|
|
382
381
|
message: string;
|
|
383
382
|
};
|
|
384
383
|
outputFormat: "json";
|
|
385
|
-
status:
|
|
384
|
+
status: 401;
|
|
386
385
|
input: {
|
|
387
386
|
json: {
|
|
388
387
|
wait_id: string;
|
|
@@ -390,11 +389,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
390
389
|
};
|
|
391
390
|
} | {
|
|
392
391
|
output: {
|
|
393
|
-
|
|
392
|
+
cancelled: false;
|
|
393
|
+
code: 'unavailable';
|
|
394
394
|
message: string;
|
|
395
395
|
};
|
|
396
396
|
outputFormat: "json";
|
|
397
|
-
status:
|
|
397
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
398
398
|
input: {
|
|
399
399
|
json: {
|
|
400
400
|
wait_id: string;
|
|
@@ -442,12 +442,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
442
442
|
"/api/v1/tools/done": {
|
|
443
443
|
$post: {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
446
|
-
code: 'unavailable';
|
|
445
|
+
code: 'capability_revoked';
|
|
447
446
|
message: string;
|
|
448
447
|
};
|
|
449
448
|
outputFormat: "json";
|
|
450
|
-
status:
|
|
449
|
+
status: 401;
|
|
451
450
|
input: {
|
|
452
451
|
json: {
|
|
453
452
|
summary?: string | undefined;
|
|
@@ -455,11 +454,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
455
454
|
};
|
|
456
455
|
} | {
|
|
457
456
|
output: {
|
|
458
|
-
|
|
457
|
+
ok: false;
|
|
458
|
+
code: 'unavailable';
|
|
459
459
|
message: string;
|
|
460
460
|
};
|
|
461
461
|
outputFormat: "json";
|
|
462
|
-
status:
|
|
462
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
463
463
|
input: {
|
|
464
464
|
json: {
|
|
465
465
|
summary?: string | undefined;
|
|
@@ -542,13 +542,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
542
542
|
"/api/v1/tools/preview-stop": {
|
|
543
543
|
$post: {
|
|
544
544
|
output: {
|
|
545
|
-
|
|
546
|
-
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
545
|
+
code: 'capability_revoked';
|
|
547
546
|
message: string;
|
|
548
|
-
hint: string;
|
|
549
547
|
};
|
|
550
548
|
outputFormat: "json";
|
|
551
|
-
status:
|
|
549
|
+
status: 401;
|
|
552
550
|
input: {
|
|
553
551
|
json: {
|
|
554
552
|
port: number;
|
|
@@ -557,11 +555,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
557
555
|
};
|
|
558
556
|
} | {
|
|
559
557
|
output: {
|
|
560
|
-
|
|
558
|
+
ok: boolean;
|
|
559
|
+
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
561
560
|
message: string;
|
|
561
|
+
hint: string;
|
|
562
562
|
};
|
|
563
563
|
outputFormat: "json";
|
|
564
|
-
status:
|
|
564
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
565
565
|
input: {
|
|
566
566
|
json: {
|
|
567
567
|
port: number;
|
|
@@ -574,13 +574,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
574
574
|
"/api/v1/tools/preview-serve": {
|
|
575
575
|
$post: {
|
|
576
576
|
output: {
|
|
577
|
-
|
|
578
|
-
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
577
|
+
code: 'capability_revoked';
|
|
579
578
|
message: string;
|
|
580
|
-
hint: string;
|
|
581
579
|
};
|
|
582
580
|
outputFormat: "json";
|
|
583
|
-
status:
|
|
581
|
+
status: 401;
|
|
584
582
|
input: {
|
|
585
583
|
json: {
|
|
586
584
|
command: string;
|
|
@@ -592,11 +590,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
592
590
|
};
|
|
593
591
|
} | {
|
|
594
592
|
output: {
|
|
595
|
-
|
|
593
|
+
ok: boolean;
|
|
594
|
+
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
596
595
|
message: string;
|
|
596
|
+
hint: string;
|
|
597
597
|
};
|
|
598
598
|
outputFormat: "json";
|
|
599
|
-
status:
|
|
599
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
600
600
|
input: {
|
|
601
601
|
json: {
|
|
602
602
|
command: string;
|
|
@@ -612,12 +612,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
612
612
|
"/api/v1/tools/automation": {
|
|
613
613
|
$post: {
|
|
614
614
|
output: {
|
|
615
|
-
|
|
616
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
615
|
+
code: 'capability_revoked';
|
|
617
616
|
message: string;
|
|
618
617
|
};
|
|
619
618
|
outputFormat: "json";
|
|
620
|
-
status:
|
|
619
|
+
status: 401;
|
|
621
620
|
input: {
|
|
622
621
|
json: {
|
|
623
622
|
action: "create";
|
|
@@ -697,11 +696,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
697
696
|
};
|
|
698
697
|
} | {
|
|
699
698
|
output: {
|
|
700
|
-
|
|
699
|
+
ok: false;
|
|
700
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
701
701
|
message: string;
|
|
702
702
|
};
|
|
703
703
|
outputFormat: "json";
|
|
704
|
-
status:
|
|
704
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
705
705
|
input: {
|
|
706
706
|
json: {
|
|
707
707
|
action: "create";
|
|
@@ -957,12 +957,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
957
957
|
"/api/v1/tools/schedule-task": {
|
|
958
958
|
$post: {
|
|
959
959
|
output: {
|
|
960
|
-
|
|
961
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
960
|
+
code: 'capability_revoked';
|
|
962
961
|
message: string;
|
|
963
962
|
};
|
|
964
963
|
outputFormat: "json";
|
|
965
|
-
status:
|
|
964
|
+
status: 401;
|
|
966
965
|
input: {
|
|
967
966
|
json: {
|
|
968
967
|
at?: string | undefined;
|
|
@@ -979,11 +978,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
979
978
|
};
|
|
980
979
|
} | {
|
|
981
980
|
output: {
|
|
982
|
-
|
|
981
|
+
ok: false;
|
|
982
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
983
983
|
message: string;
|
|
984
984
|
};
|
|
985
985
|
outputFormat: "json";
|
|
986
|
-
status:
|
|
986
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
987
987
|
input: {
|
|
988
988
|
json: {
|
|
989
989
|
at?: string | undefined;
|
|
@@ -1038,12 +1038,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1038
1038
|
"/api/v1/tools/scheduled-tasks": {
|
|
1039
1039
|
$post: {
|
|
1040
1040
|
output: {
|
|
1041
|
-
|
|
1042
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1041
|
+
code: 'capability_revoked';
|
|
1043
1042
|
message: string;
|
|
1044
1043
|
};
|
|
1045
1044
|
outputFormat: "json";
|
|
1046
|
-
status:
|
|
1045
|
+
status: 401;
|
|
1047
1046
|
input: {
|
|
1048
1047
|
json: {
|
|
1049
1048
|
at?: string | undefined;
|
|
@@ -1076,11 +1075,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1076
1075
|
};
|
|
1077
1076
|
} | {
|
|
1078
1077
|
output: {
|
|
1079
|
-
|
|
1078
|
+
ok: false;
|
|
1079
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1080
1080
|
message: string;
|
|
1081
1081
|
};
|
|
1082
1082
|
outputFormat: "json";
|
|
1083
|
-
status:
|
|
1083
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1084
1084
|
input: {
|
|
1085
1085
|
json: {
|
|
1086
1086
|
at?: string | undefined;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4538,19 +4538,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4538
4538
|
} & {
|
|
4539
4539
|
"/repo/commit/:sha": {
|
|
4540
4540
|
$get: {
|
|
4541
|
-
output: string;
|
|
4542
|
-
outputFormat: "text";
|
|
4543
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4544
|
-
input: {
|
|
4545
|
-
query: {
|
|
4546
|
-
structured?: string | undefined;
|
|
4547
|
-
};
|
|
4548
|
-
} & {
|
|
4549
|
-
param: {
|
|
4550
|
-
sha: string;
|
|
4551
|
-
};
|
|
4552
|
-
};
|
|
4553
|
-
} | {
|
|
4554
4541
|
output: {
|
|
4555
4542
|
error: string;
|
|
4556
4543
|
code?: "invalid_input" | undefined;
|
|
@@ -4614,6 +4601,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4614
4601
|
sha: string;
|
|
4615
4602
|
};
|
|
4616
4603
|
};
|
|
4604
|
+
} | {
|
|
4605
|
+
output: string;
|
|
4606
|
+
outputFormat: "text";
|
|
4607
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4608
|
+
input: {
|
|
4609
|
+
query: {
|
|
4610
|
+
structured?: string | undefined;
|
|
4611
|
+
};
|
|
4612
|
+
} & {
|
|
4613
|
+
param: {
|
|
4614
|
+
sha: string;
|
|
4615
|
+
};
|
|
4616
|
+
};
|
|
4617
4617
|
};
|
|
4618
4618
|
};
|
|
4619
4619
|
} & {
|
|
@@ -18122,20 +18122,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18122
18122
|
} & {
|
|
18123
18123
|
"/runs/:id/handoff": {
|
|
18124
18124
|
$get: {
|
|
18125
|
-
output:
|
|
18126
|
-
|
|
18127
|
-
|
|
18125
|
+
output: {
|
|
18126
|
+
error: string;
|
|
18127
|
+
};
|
|
18128
|
+
outputFormat: "json";
|
|
18129
|
+
status: 404;
|
|
18128
18130
|
input: {
|
|
18129
18131
|
param: {
|
|
18130
18132
|
id: string;
|
|
18131
18133
|
};
|
|
18132
18134
|
};
|
|
18133
18135
|
} | {
|
|
18134
|
-
output:
|
|
18135
|
-
|
|
18136
|
-
|
|
18137
|
-
outputFormat: "json";
|
|
18138
|
-
status: 404;
|
|
18136
|
+
output: string;
|
|
18137
|
+
outputFormat: "text";
|
|
18138
|
+
status: 200;
|
|
18139
18139
|
input: {
|
|
18140
18140
|
param: {
|
|
18141
18141
|
id: string;
|
|
@@ -18173,20 +18173,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18173
18173
|
} & {
|
|
18174
18174
|
"/runs/:id/diff": {
|
|
18175
18175
|
$get: {
|
|
18176
|
-
output:
|
|
18177
|
-
|
|
18178
|
-
|
|
18176
|
+
output: {
|
|
18177
|
+
error: string;
|
|
18178
|
+
};
|
|
18179
|
+
outputFormat: "json";
|
|
18180
|
+
status: 404 | 409;
|
|
18179
18181
|
input: {
|
|
18180
18182
|
param: {
|
|
18181
18183
|
id: string;
|
|
18182
18184
|
};
|
|
18183
18185
|
};
|
|
18184
18186
|
} | {
|
|
18185
|
-
output:
|
|
18186
|
-
|
|
18187
|
-
|
|
18188
|
-
outputFormat: "json";
|
|
18189
|
-
status: 404 | 409;
|
|
18187
|
+
output: string;
|
|
18188
|
+
outputFormat: "text";
|
|
18189
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18190
18190
|
input: {
|
|
18191
18191
|
param: {
|
|
18192
18192
|
id: string;
|
|
@@ -20230,19 +20230,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20230
20230
|
} & {
|
|
20231
20231
|
"/repo/commit/:sha": {
|
|
20232
20232
|
$get: {
|
|
20233
|
-
output: string;
|
|
20234
|
-
outputFormat: "text";
|
|
20235
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20236
|
-
input: {
|
|
20237
|
-
query: {
|
|
20238
|
-
structured?: string | undefined;
|
|
20239
|
-
};
|
|
20240
|
-
} & {
|
|
20241
|
-
param: {
|
|
20242
|
-
sha: string;
|
|
20243
|
-
};
|
|
20244
|
-
};
|
|
20245
|
-
} | {
|
|
20246
20233
|
output: {
|
|
20247
20234
|
error: string;
|
|
20248
20235
|
code?: "invalid_input" | undefined;
|
|
@@ -20306,6 +20293,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20306
20293
|
sha: string;
|
|
20307
20294
|
};
|
|
20308
20295
|
};
|
|
20296
|
+
} | {
|
|
20297
|
+
output: string;
|
|
20298
|
+
outputFormat: "text";
|
|
20299
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20300
|
+
input: {
|
|
20301
|
+
query: {
|
|
20302
|
+
structured?: string | undefined;
|
|
20303
|
+
};
|
|
20304
|
+
} & {
|
|
20305
|
+
param: {
|
|
20306
|
+
sha: string;
|
|
20307
|
+
};
|
|
20308
|
+
};
|
|
20309
20309
|
};
|
|
20310
20310
|
};
|
|
20311
20311
|
} & {
|
|
@@ -33814,20 +33814,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33814
33814
|
} & {
|
|
33815
33815
|
"/runs/:id/handoff": {
|
|
33816
33816
|
$get: {
|
|
33817
|
-
output:
|
|
33818
|
-
|
|
33819
|
-
|
|
33817
|
+
output: {
|
|
33818
|
+
error: string;
|
|
33819
|
+
};
|
|
33820
|
+
outputFormat: "json";
|
|
33821
|
+
status: 404;
|
|
33820
33822
|
input: {
|
|
33821
33823
|
param: {
|
|
33822
33824
|
id: string;
|
|
33823
33825
|
};
|
|
33824
33826
|
};
|
|
33825
33827
|
} | {
|
|
33826
|
-
output:
|
|
33827
|
-
|
|
33828
|
-
|
|
33829
|
-
outputFormat: "json";
|
|
33830
|
-
status: 404;
|
|
33828
|
+
output: string;
|
|
33829
|
+
outputFormat: "text";
|
|
33830
|
+
status: 200;
|
|
33831
33831
|
input: {
|
|
33832
33832
|
param: {
|
|
33833
33833
|
id: string;
|
|
@@ -33865,20 +33865,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33865
33865
|
} & {
|
|
33866
33866
|
"/runs/:id/diff": {
|
|
33867
33867
|
$get: {
|
|
33868
|
-
output:
|
|
33869
|
-
|
|
33870
|
-
|
|
33868
|
+
output: {
|
|
33869
|
+
error: string;
|
|
33870
|
+
};
|
|
33871
|
+
outputFormat: "json";
|
|
33872
|
+
status: 404 | 409;
|
|
33871
33873
|
input: {
|
|
33872
33874
|
param: {
|
|
33873
33875
|
id: string;
|
|
33874
33876
|
};
|
|
33875
33877
|
};
|
|
33876
33878
|
} | {
|
|
33877
|
-
output:
|
|
33878
|
-
|
|
33879
|
-
|
|
33880
|
-
outputFormat: "json";
|
|
33881
|
-
status: 404 | 409;
|
|
33879
|
+
output: string;
|
|
33880
|
+
outputFormat: "text";
|
|
33881
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
33882
33882
|
input: {
|
|
33883
33883
|
param: {
|
|
33884
33884
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-
|
|
3
|
+
"version": "0.18.0-pr3851.7194",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/parser": "^8.0.8",
|
|
65
65
|
"@babel/types": "^8.0.8",
|
|
66
|
-
"@open-mercato/cezar-api-client": "0.18.0-
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr3851.7194",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr3851.7194",
|
|
68
68
|
"@types/node": "^24.19.1",
|
|
69
69
|
"@types/ws": "^8.18.1",
|
|
70
70
|
"esbuild": "^0.28.1",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "d7151771c9a41a4a719e84587db0b14f70fb6856"
|
|
85
85
|
}
|