@hearsay-tools/squawk 0.18.0-pr4095.7844 → 0.18.0-pr4101.7849
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.
|
@@ -285,11 +285,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
285
285
|
"/api/v1/tools/ask": {
|
|
286
286
|
$post: {
|
|
287
287
|
output: {
|
|
288
|
-
|
|
288
|
+
ok: false;
|
|
289
|
+
code: 'unavailable';
|
|
289
290
|
message: string;
|
|
290
291
|
};
|
|
291
292
|
outputFormat: "json";
|
|
292
|
-
status:
|
|
293
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
293
294
|
input: {
|
|
294
295
|
json: {
|
|
295
296
|
questions: {
|
|
@@ -308,12 +309,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
308
309
|
};
|
|
309
310
|
} | {
|
|
310
311
|
output: {
|
|
311
|
-
|
|
312
|
-
code: 'unavailable';
|
|
312
|
+
code: 'capability_revoked';
|
|
313
313
|
message: string;
|
|
314
314
|
};
|
|
315
315
|
outputFormat: "json";
|
|
316
|
-
status:
|
|
316
|
+
status: 401;
|
|
317
317
|
input: {
|
|
318
318
|
json: {
|
|
319
319
|
questions: {
|
|
@@ -383,11 +383,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
383
383
|
"/api/v1/tools/cancel-wait": {
|
|
384
384
|
$post: {
|
|
385
385
|
output: {
|
|
386
|
-
|
|
386
|
+
cancelled: false;
|
|
387
|
+
code: 'unavailable';
|
|
387
388
|
message: string;
|
|
388
389
|
};
|
|
389
390
|
outputFormat: "json";
|
|
390
|
-
status:
|
|
391
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
391
392
|
input: {
|
|
392
393
|
json: {
|
|
393
394
|
wait_id: string;
|
|
@@ -395,12 +396,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
395
396
|
};
|
|
396
397
|
} | {
|
|
397
398
|
output: {
|
|
398
|
-
|
|
399
|
-
code: 'unavailable';
|
|
399
|
+
code: 'capability_revoked';
|
|
400
400
|
message: string;
|
|
401
401
|
};
|
|
402
402
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
403
|
+
status: 401;
|
|
404
404
|
input: {
|
|
405
405
|
json: {
|
|
406
406
|
wait_id: string;
|
|
@@ -448,11 +448,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
448
448
|
"/api/v1/tools/done": {
|
|
449
449
|
$post: {
|
|
450
450
|
output: {
|
|
451
|
-
|
|
451
|
+
ok: false;
|
|
452
|
+
code: 'unavailable';
|
|
452
453
|
message: string;
|
|
453
454
|
};
|
|
454
455
|
outputFormat: "json";
|
|
455
|
-
status:
|
|
456
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
456
457
|
input: {
|
|
457
458
|
json: {
|
|
458
459
|
summary?: string | undefined;
|
|
@@ -460,12 +461,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
460
461
|
};
|
|
461
462
|
} | {
|
|
462
463
|
output: {
|
|
463
|
-
|
|
464
|
-
code: 'unavailable';
|
|
464
|
+
code: 'capability_revoked';
|
|
465
465
|
message: string;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: 401;
|
|
469
469
|
input: {
|
|
470
470
|
json: {
|
|
471
471
|
summary?: string | undefined;
|
|
@@ -548,11 +548,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
548
548
|
"/api/v1/tools/preview-stop": {
|
|
549
549
|
$post: {
|
|
550
550
|
output: {
|
|
551
|
-
|
|
551
|
+
ok: boolean;
|
|
552
|
+
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
552
553
|
message: string;
|
|
554
|
+
hint: string;
|
|
553
555
|
};
|
|
554
556
|
outputFormat: "json";
|
|
555
|
-
status:
|
|
557
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
556
558
|
input: {
|
|
557
559
|
json: {
|
|
558
560
|
port: number;
|
|
@@ -561,13 +563,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
561
563
|
};
|
|
562
564
|
} | {
|
|
563
565
|
output: {
|
|
564
|
-
|
|
565
|
-
code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
|
|
566
|
+
code: 'capability_revoked';
|
|
566
567
|
message: string;
|
|
567
|
-
hint: string;
|
|
568
568
|
};
|
|
569
569
|
outputFormat: "json";
|
|
570
|
-
status:
|
|
570
|
+
status: 401;
|
|
571
571
|
input: {
|
|
572
572
|
json: {
|
|
573
573
|
port: number;
|
|
@@ -580,11 +580,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
580
580
|
"/api/v1/tools/preview-serve": {
|
|
581
581
|
$post: {
|
|
582
582
|
output: {
|
|
583
|
-
|
|
583
|
+
ok: boolean;
|
|
584
|
+
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
584
585
|
message: string;
|
|
586
|
+
hint: string;
|
|
585
587
|
};
|
|
586
588
|
outputFormat: "json";
|
|
587
|
-
status:
|
|
589
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
588
590
|
input: {
|
|
589
591
|
json: {
|
|
590
592
|
command: string;
|
|
@@ -596,13 +598,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
596
598
|
};
|
|
597
599
|
} | {
|
|
598
600
|
output: {
|
|
599
|
-
|
|
600
|
-
code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
|
|
601
|
+
code: 'capability_revoked';
|
|
601
602
|
message: string;
|
|
602
|
-
hint: string;
|
|
603
603
|
};
|
|
604
604
|
outputFormat: "json";
|
|
605
|
-
status:
|
|
605
|
+
status: 401;
|
|
606
606
|
input: {
|
|
607
607
|
json: {
|
|
608
608
|
command: string;
|
|
@@ -618,11 +618,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
618
618
|
"/api/v1/tools/automation": {
|
|
619
619
|
$post: {
|
|
620
620
|
output: {
|
|
621
|
-
|
|
621
|
+
ok: false;
|
|
622
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
622
623
|
message: string;
|
|
623
624
|
};
|
|
624
625
|
outputFormat: "json";
|
|
625
|
-
status:
|
|
626
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
626
627
|
input: {
|
|
627
628
|
json: {
|
|
628
629
|
action: "create";
|
|
@@ -702,12 +703,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
702
703
|
};
|
|
703
704
|
} | {
|
|
704
705
|
output: {
|
|
705
|
-
|
|
706
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
706
|
+
code: 'capability_revoked';
|
|
707
707
|
message: string;
|
|
708
708
|
};
|
|
709
709
|
outputFormat: "json";
|
|
710
|
-
status:
|
|
710
|
+
status: 401;
|
|
711
711
|
input: {
|
|
712
712
|
json: {
|
|
713
713
|
action: "create";
|
|
@@ -963,11 +963,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
963
963
|
"/api/v1/tools/schedule-task": {
|
|
964
964
|
$post: {
|
|
965
965
|
output: {
|
|
966
|
-
|
|
966
|
+
ok: false;
|
|
967
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
967
968
|
message: string;
|
|
968
969
|
};
|
|
969
970
|
outputFormat: "json";
|
|
970
|
-
status:
|
|
971
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
971
972
|
input: {
|
|
972
973
|
json: {
|
|
973
974
|
at?: string | undefined;
|
|
@@ -984,12 +985,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
984
985
|
};
|
|
985
986
|
} | {
|
|
986
987
|
output: {
|
|
987
|
-
|
|
988
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
988
|
+
code: 'capability_revoked';
|
|
989
989
|
message: string;
|
|
990
990
|
};
|
|
991
991
|
outputFormat: "json";
|
|
992
|
-
status:
|
|
992
|
+
status: 401;
|
|
993
993
|
input: {
|
|
994
994
|
json: {
|
|
995
995
|
at?: string | undefined;
|
|
@@ -1044,11 +1044,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1044
1044
|
"/api/v1/tools/scheduled-tasks": {
|
|
1045
1045
|
$post: {
|
|
1046
1046
|
output: {
|
|
1047
|
-
|
|
1047
|
+
ok: false;
|
|
1048
|
+
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1048
1049
|
message: string;
|
|
1049
1050
|
};
|
|
1050
1051
|
outputFormat: "json";
|
|
1051
|
-
status:
|
|
1052
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1052
1053
|
input: {
|
|
1053
1054
|
json: {
|
|
1054
1055
|
at?: string | undefined;
|
|
@@ -1081,12 +1082,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
1081
1082
|
};
|
|
1082
1083
|
} | {
|
|
1083
1084
|
output: {
|
|
1084
|
-
|
|
1085
|
-
code: import('../contract/index.js').ScheduledTaskRefusalCode;
|
|
1085
|
+
code: 'capability_revoked';
|
|
1086
1086
|
message: string;
|
|
1087
1087
|
};
|
|
1088
1088
|
outputFormat: "json";
|
|
1089
|
-
status:
|
|
1089
|
+
status: 401;
|
|
1090
1090
|
input: {
|
|
1091
1091
|
json: {
|
|
1092
1092
|
at?: string | undefined;
|
|
@@ -30,10 +30,19 @@ export declare function createModelsRoutes(options: {
|
|
|
30
30
|
};
|
|
31
31
|
} | {
|
|
32
32
|
output: {
|
|
33
|
-
|
|
33
|
+
runner: string;
|
|
34
|
+
models: {
|
|
35
|
+
id: string;
|
|
36
|
+
label: string;
|
|
37
|
+
description: string;
|
|
38
|
+
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
39
|
+
}[];
|
|
40
|
+
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
41
|
+
stale: boolean;
|
|
42
|
+
reason?: string;
|
|
34
43
|
};
|
|
35
44
|
outputFormat: "json";
|
|
36
|
-
status:
|
|
45
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
37
46
|
input: {
|
|
38
47
|
query: {
|
|
39
48
|
runner: string | string[];
|
|
@@ -54,19 +63,10 @@ export declare function createModelsRoutes(options: {
|
|
|
54
63
|
};
|
|
55
64
|
} | {
|
|
56
65
|
output: {
|
|
57
|
-
|
|
58
|
-
models: {
|
|
59
|
-
id: string;
|
|
60
|
-
label: string;
|
|
61
|
-
description: string;
|
|
62
|
-
effortLevels?: import('../contract/index.js').EffortLevel[];
|
|
63
|
-
}[];
|
|
64
|
-
source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
|
|
65
|
-
stale: boolean;
|
|
66
|
-
reason?: string;
|
|
66
|
+
error: string;
|
|
67
67
|
};
|
|
68
68
|
outputFormat: "json";
|
|
69
|
-
status:
|
|
69
|
+
status: 400;
|
|
70
70
|
input: {
|
|
71
71
|
query: {
|
|
72
72
|
runner: string | string[];
|
|
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
40
40
|
error: string;
|
|
41
41
|
};
|
|
42
42
|
outputFormat: "json";
|
|
43
|
-
status:
|
|
43
|
+
status: 409;
|
|
44
44
|
input: {
|
|
45
45
|
query: {
|
|
46
46
|
q?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
53
53
|
error: string;
|
|
54
54
|
};
|
|
55
55
|
outputFormat: "json";
|
|
56
|
-
status:
|
|
56
|
+
status: 400;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|
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-pr4101.7849",
|
|
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-pr4101.7849",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr4101.7849",
|
|
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": "aa4dce079d0a30f20dacb0f0c5f5c5fd6a5a52cb"
|
|
85
85
|
}
|