@hearsay-tools/squawk 0.18.0-pr3694.6730 → 0.18.0-pr3694.6731
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/contract/index.js +10 -0
- package/dist/contract/runner-facts.d.ts +11 -1
- package/dist/core/runner-model-catalog.js +2 -2
- package/dist/core/runner-model-catalog.js.map +1 -1
- package/dist/delegation/routes.d.ts +62 -62
- package/package.json +4 -4
- package/web/dist/assets/{activity-motion-DR1fpsSg.js → activity-motion-BfsGJx6P.js} +1 -1
- package/web/dist/assets/{activity-route-BG4hdlE1.js → activity-route-C9ZZYiDq.js} +1 -1
- package/web/dist/assets/{agent-accounts-CLA3cAyr.js → agent-accounts-CgQv1VV_.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-YifgE5dv.js → commit-diff-panel-Bsbb4jXi.js} +1 -1
- package/web/dist/assets/{diff--zreyaUq.js → diff-jkg1DSMK.js} +2 -2
- package/web/dist/assets/{diff-view-BoWn3aAu.js → diff-view-BIQw3vxx.js} +1 -1
- package/web/dist/assets/{file-preview-Bm1zbgD7.js → file-preview-JSSyatwL.js} +1 -1
- package/web/dist/assets/{git-toolbar-CPkJWtCh.js → git-toolbar-ROfOomb5.js} +1 -1
- package/web/dist/assets/{github-DdzQTa9l.js → github-DajrfIj8.js} +1 -1
- package/web/dist/assets/{global-activity-route-CvyoHWFK.js → global-activity-route-__imofk6.js} +1 -1
- package/web/dist/assets/{index-9-d433h8.js → index-BBbLsVNM.js} +8 -8
- package/web/dist/assets/{preview-pane-connected-lAFFGrUS.js → preview-pane-connected-CxmrfQWd.js} +1 -1
- package/web/dist/assets/{prompt-template-menu-CZvIhgNk.js → prompt-template-menu-BiQJj-nc.js} +1 -1
- package/web/dist/assets/queries-B8cOyvJb.js +1 -0
- package/web/dist/assets/{reference-chip-ykjNOYQj.js → reference-chip-F_Me3F60.js} +1 -1
- package/web/dist/assets/{repo-git-DRSy4K67.js → repo-git-DRmhIzGq.js} +1 -1
- package/web/dist/assets/{report-reader-C7B8hwhu.js → report-reader-BklPToJ0.js} +1 -1
- package/web/dist/assets/{reports-DuDsHh3g.js → reports-Brb3vngi.js} +1 -1
- package/web/dist/assets/run-header-iM0QS8Dj.js +2 -0
- package/web/dist/assets/{skills-Bgar-vVn.js → skills-DETFoSD4.js} +1 -1
- package/web/dist/assets/{task-changes-lBU3NlgB.js → task-changes-BPh8L3YW.js} +1 -1
- package/web/dist/assets/{task-commits-Bi8G3bkQ.js → task-commits-jfxhLTWN.js} +1 -1
- package/web/dist/assets/{task-files-BSJb2-Hq.js → task-files-CnYr2Po6.js} +1 -1
- package/web/dist/assets/{task-github-item-BIlO55RT.js → task-github-item-BwoGJR0b.js} +1 -1
- package/web/dist/assets/{task-thread-DQR-c95d.js → task-thread-CF3FhGcd.js} +6 -6
- package/web/dist/assets/{thread-state-ALBNA5k2.js → thread-state-BstGRhS4.js} +1 -1
- package/web/dist/assets/{use-desktop-KuIYM91r.js → use-desktop-BkNENusj.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-B7I3f2cM.js → use-hand-to-agent-state-DPiSll_t.js} +1 -1
- package/web/dist/assets/{workflows-CzX-Tday.js → workflows-DWqcC7Z5.js} +1 -1
- package/web/dist/index.html +6 -6
- package/web/dist/assets/queries-CLLAebDC.js +0 -1
- package/web/dist/assets/run-header-CGpWJ4ac.js +0 -2
package/dist/contract/index.js
CHANGED
|
@@ -1119,6 +1119,7 @@ var healthResponseSchema = z12.object({
|
|
|
1119
1119
|
var RUNNER_COCKPIT_FACTS = {
|
|
1120
1120
|
claude: {
|
|
1121
1121
|
displayName: "Claude Code",
|
|
1122
|
+
modelListName: "Claude",
|
|
1122
1123
|
modelCatalogDelivery: "on-request",
|
|
1123
1124
|
effortLevels: "catalog-or-generic",
|
|
1124
1125
|
modelIdScope: "own",
|
|
@@ -1126,6 +1127,7 @@ var RUNNER_COCKPIT_FACTS = {
|
|
|
1126
1127
|
},
|
|
1127
1128
|
codex: {
|
|
1128
1129
|
displayName: "Codex",
|
|
1130
|
+
modelListName: "Codex",
|
|
1129
1131
|
modelCatalogDelivery: "on-request",
|
|
1130
1132
|
effortLevels: "catalog-or-generic",
|
|
1131
1133
|
modelIdScope: "own",
|
|
@@ -1133,6 +1135,7 @@ var RUNNER_COCKPIT_FACTS = {
|
|
|
1133
1135
|
},
|
|
1134
1136
|
opencode: {
|
|
1135
1137
|
displayName: "OpenCode",
|
|
1138
|
+
modelListName: "OpenCode",
|
|
1136
1139
|
modelCatalogDelivery: "on-request",
|
|
1137
1140
|
effortLevels: "catalog-or-generic",
|
|
1138
1141
|
modelIdScope: "provider-spanning",
|
|
@@ -1140,6 +1143,7 @@ var RUNNER_COCKPIT_FACTS = {
|
|
|
1140
1143
|
},
|
|
1141
1144
|
pi: {
|
|
1142
1145
|
displayName: "pi",
|
|
1146
|
+
modelListName: "Pi",
|
|
1143
1147
|
modelCatalogDelivery: "on-request",
|
|
1144
1148
|
effortLevels: "catalog-or-generic",
|
|
1145
1149
|
modelIdScope: "provider-spanning",
|
|
@@ -1147,6 +1151,7 @@ var RUNNER_COCKPIT_FACTS = {
|
|
|
1147
1151
|
},
|
|
1148
1152
|
cursor: {
|
|
1149
1153
|
displayName: "Cursor",
|
|
1154
|
+
modelListName: "Cursor",
|
|
1150
1155
|
modelCatalogDelivery: "pushed",
|
|
1151
1156
|
effortLevels: "catalog-only",
|
|
1152
1157
|
modelIdScope: "any-provider",
|
|
@@ -1154,6 +1159,7 @@ var RUNNER_COCKPIT_FACTS = {
|
|
|
1154
1159
|
},
|
|
1155
1160
|
omp: {
|
|
1156
1161
|
displayName: "OMP",
|
|
1162
|
+
modelListName: "OMP",
|
|
1157
1163
|
modelCatalogDelivery: "on-request",
|
|
1158
1164
|
effortLevels: "catalog-or-generic",
|
|
1159
1165
|
modelIdScope: "provider-spanning",
|
|
@@ -1163,6 +1169,9 @@ var RUNNER_COCKPIT_FACTS = {
|
|
|
1163
1169
|
function runnerDisplayName(runner) {
|
|
1164
1170
|
return RUNNER_COCKPIT_FACTS[runner].displayName;
|
|
1165
1171
|
}
|
|
1172
|
+
function runnerModelListName(runner) {
|
|
1173
|
+
return RUNNER_COCKPIT_FACTS[runner].modelListName;
|
|
1174
|
+
}
|
|
1166
1175
|
function cockpitRunnersWhere(matches) {
|
|
1167
1176
|
return Object.keys(RUNNER_COCKPIT_FACTS).filter((runner) => matches(RUNNER_COCKPIT_FACTS[runner]));
|
|
1168
1177
|
}
|
|
@@ -6358,6 +6367,7 @@ export {
|
|
|
6358
6367
|
runnerDiscoversModels,
|
|
6359
6368
|
runnerDisplayName,
|
|
6360
6369
|
runnerModelCatalogResponseSchema,
|
|
6370
|
+
runnerModelListName,
|
|
6361
6371
|
runnerModelOptionSchema,
|
|
6362
6372
|
runnerModelsSchema,
|
|
6363
6373
|
runnerSchema,
|
|
@@ -7,8 +7,10 @@ import type { Runner } from './runner.ts';
|
|
|
7
7
|
* where they state the same fact.
|
|
8
8
|
*/
|
|
9
9
|
export interface CockpitRunnerFacts {
|
|
10
|
-
/** The runner's name
|
|
10
|
+
/** The runner's name on provider, account and conversation surfaces and in server messages. */
|
|
11
11
|
readonly displayName: string;
|
|
12
|
+
/** The runner's name in model discovery messages and in the model picker's status line. */
|
|
13
|
+
readonly modelListName: string;
|
|
12
14
|
/**
|
|
13
15
|
* `pushed`: the server refreshes the model catalog in the background, serves the cached copy on
|
|
14
16
|
* request and pushes each change on the `models:<runner>` topic. `on-request`: each request
|
|
@@ -34,6 +36,7 @@ export interface CockpitRunnerFacts {
|
|
|
34
36
|
export declare const RUNNER_COCKPIT_FACTS: {
|
|
35
37
|
readonly claude: {
|
|
36
38
|
readonly displayName: 'Claude Code';
|
|
39
|
+
readonly modelListName: 'Claude';
|
|
37
40
|
readonly modelCatalogDelivery: 'on-request';
|
|
38
41
|
readonly effortLevels: 'catalog-or-generic';
|
|
39
42
|
readonly modelIdScope: 'own';
|
|
@@ -41,6 +44,7 @@ export declare const RUNNER_COCKPIT_FACTS: {
|
|
|
41
44
|
};
|
|
42
45
|
readonly codex: {
|
|
43
46
|
readonly displayName: 'Codex';
|
|
47
|
+
readonly modelListName: 'Codex';
|
|
44
48
|
readonly modelCatalogDelivery: 'on-request';
|
|
45
49
|
readonly effortLevels: 'catalog-or-generic';
|
|
46
50
|
readonly modelIdScope: 'own';
|
|
@@ -48,6 +52,7 @@ export declare const RUNNER_COCKPIT_FACTS: {
|
|
|
48
52
|
};
|
|
49
53
|
readonly opencode: {
|
|
50
54
|
readonly displayName: 'OpenCode';
|
|
55
|
+
readonly modelListName: 'OpenCode';
|
|
51
56
|
readonly modelCatalogDelivery: 'on-request';
|
|
52
57
|
readonly effortLevels: 'catalog-or-generic';
|
|
53
58
|
readonly modelIdScope: 'provider-spanning';
|
|
@@ -55,6 +60,7 @@ export declare const RUNNER_COCKPIT_FACTS: {
|
|
|
55
60
|
};
|
|
56
61
|
readonly pi: {
|
|
57
62
|
readonly displayName: 'pi';
|
|
63
|
+
readonly modelListName: 'Pi';
|
|
58
64
|
readonly modelCatalogDelivery: 'on-request';
|
|
59
65
|
readonly effortLevels: 'catalog-or-generic';
|
|
60
66
|
readonly modelIdScope: 'provider-spanning';
|
|
@@ -62,6 +68,7 @@ export declare const RUNNER_COCKPIT_FACTS: {
|
|
|
62
68
|
};
|
|
63
69
|
readonly cursor: {
|
|
64
70
|
readonly displayName: 'Cursor';
|
|
71
|
+
readonly modelListName: 'Cursor';
|
|
65
72
|
readonly modelCatalogDelivery: 'pushed';
|
|
66
73
|
readonly effortLevels: 'catalog-only';
|
|
67
74
|
readonly modelIdScope: 'any-provider';
|
|
@@ -69,6 +76,7 @@ export declare const RUNNER_COCKPIT_FACTS: {
|
|
|
69
76
|
};
|
|
70
77
|
readonly omp: {
|
|
71
78
|
readonly displayName: 'OMP';
|
|
79
|
+
readonly modelListName: 'OMP';
|
|
72
80
|
readonly modelCatalogDelivery: 'on-request';
|
|
73
81
|
readonly effortLevels: 'catalog-or-generic';
|
|
74
82
|
readonly modelIdScope: 'provider-spanning';
|
|
@@ -77,5 +85,7 @@ export declare const RUNNER_COCKPIT_FACTS: {
|
|
|
77
85
|
};
|
|
78
86
|
/** The display name of a runner. */
|
|
79
87
|
export declare function runnerDisplayName(runner: Runner): string;
|
|
88
|
+
/** The runner's name in model discovery messages. */
|
|
89
|
+
export declare function runnerModelListName(runner: Runner): string;
|
|
80
90
|
/** The runners whose cockpit facts match, in the table's order. */
|
|
81
91
|
export declare function cockpitRunnersWhere(matches: (facts: CockpitRunnerFacts) => boolean): Runner[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { runnerModelListName } from '../contract/index.js';
|
|
2
2
|
const DEFAULT_TTL_MS = 5 * 60 * 1_000;
|
|
3
3
|
/** Host-level, in-memory model discovery cache shared by every workspace. */
|
|
4
4
|
export class RunnerModelCatalog {
|
|
@@ -97,6 +97,6 @@ export class RunnerModelCatalog {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
function unavailableReason(runner) {
|
|
100
|
-
return `${
|
|
100
|
+
return `${runnerModelListName(runner)} model discovery is temporarily unavailable`;
|
|
101
101
|
}
|
|
102
102
|
//# sourceMappingURL=runner-model-catalog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runner-model-catalog.js","sourceRoot":"","sources":["../../src/core/runner-model-catalog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"runner-model-catalog.js","sourceRoot":"","sources":["../../src/core/runner-model-catalog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAoChF,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC;AAEtC,6EAA6E;AAC7E,MAAM,OAAO,kBAAkB;IACpB,SAAS,CAAuD;IAChE,IAAI,CAAe;IACnB,MAAM,CAAS;IACf,MAAM,GAAG,IAAI,GAAG,EAA2B,CAA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AM,EAAE,CAAC,CAAC;YACvG,CAAC;YACD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;QAC7E,CAAC;IACH,CAAC;CACF;AAED,SAAS,iBAAiB,CAAC,MAAgB;IACzC,OAAO,GAAG,mBAAmB,CAAC,MAAM,CAAC,6CAA6C,CAAC;AACrF,CAAC"}
|
|
@@ -27,6 +27,18 @@ export declare function delegationFailure(error: unknown): {
|
|
|
27
27
|
export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
|
|
28
28
|
"/list": {
|
|
29
29
|
$get: {
|
|
30
|
+
output: {
|
|
31
|
+
error: string;
|
|
32
|
+
code?: "invalid_input" | undefined;
|
|
33
|
+
};
|
|
34
|
+
outputFormat: "json";
|
|
35
|
+
status: 400;
|
|
36
|
+
input: {
|
|
37
|
+
query: {
|
|
38
|
+
offset?: string | undefined;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
} | {
|
|
30
42
|
output: {
|
|
31
43
|
workers: {
|
|
32
44
|
workerId: string;
|
|
@@ -64,18 +76,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
64
76
|
offset?: string | undefined;
|
|
65
77
|
};
|
|
66
78
|
};
|
|
67
|
-
} | {
|
|
68
|
-
output: {
|
|
69
|
-
error: string;
|
|
70
|
-
code?: "invalid_input" | undefined;
|
|
71
|
-
};
|
|
72
|
-
outputFormat: "json";
|
|
73
|
-
status: 400;
|
|
74
|
-
input: {
|
|
75
|
-
query: {
|
|
76
|
-
offset?: string | undefined;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
} & {
|
|
@@ -613,6 +613,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
613
613
|
} & {
|
|
614
614
|
"/:workerId": {
|
|
615
615
|
$get: {
|
|
616
|
+
output: {
|
|
617
|
+
error: string;
|
|
618
|
+
code?: "invalid_input" | undefined;
|
|
619
|
+
};
|
|
620
|
+
outputFormat: "json";
|
|
621
|
+
status: 400;
|
|
622
|
+
input: {
|
|
623
|
+
param: {
|
|
624
|
+
workerId: string;
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
} | {
|
|
616
628
|
output: {
|
|
617
629
|
workerId: string;
|
|
618
630
|
parentRunId: string;
|
|
@@ -716,7 +728,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
716
728
|
workerId: string;
|
|
717
729
|
};
|
|
718
730
|
};
|
|
719
|
-
}
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
} & {
|
|
734
|
+
"/:workerId/collect": {
|
|
735
|
+
$post: {
|
|
720
736
|
output: {
|
|
721
737
|
error: string;
|
|
722
738
|
code?: "invalid_input" | undefined;
|
|
@@ -727,12 +743,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
727
743
|
param: {
|
|
728
744
|
workerId: string;
|
|
729
745
|
};
|
|
746
|
+
} & {
|
|
747
|
+
json: Record<string, never>;
|
|
730
748
|
};
|
|
731
|
-
}
|
|
732
|
-
};
|
|
733
|
-
} & {
|
|
734
|
-
"/:workerId/collect": {
|
|
735
|
-
$post: {
|
|
749
|
+
} | {
|
|
736
750
|
output: {
|
|
737
751
|
workerId: string;
|
|
738
752
|
parentRunId: string;
|
|
@@ -834,7 +848,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
834
848
|
} & {
|
|
835
849
|
json: Record<string, never>;
|
|
836
850
|
};
|
|
837
|
-
}
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
} & {
|
|
854
|
+
"/:workerId/steer": {
|
|
855
|
+
$post: {
|
|
838
856
|
output: {
|
|
839
857
|
error: string;
|
|
840
858
|
code?: "invalid_input" | undefined;
|
|
@@ -846,13 +864,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
846
864
|
workerId: string;
|
|
847
865
|
};
|
|
848
866
|
} & {
|
|
849
|
-
json:
|
|
867
|
+
json: {
|
|
868
|
+
text: string;
|
|
869
|
+
};
|
|
850
870
|
};
|
|
851
|
-
}
|
|
852
|
-
};
|
|
853
|
-
} & {
|
|
854
|
-
"/:workerId/steer": {
|
|
855
|
-
$post: {
|
|
871
|
+
} | {
|
|
856
872
|
output: {
|
|
857
873
|
workerId: string;
|
|
858
874
|
state: "delivered" | "queued";
|
|
@@ -868,7 +884,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
868
884
|
text: string;
|
|
869
885
|
};
|
|
870
886
|
};
|
|
871
|
-
}
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
} & {
|
|
890
|
+
"/:workerId/stop": {
|
|
891
|
+
$post: {
|
|
872
892
|
output: {
|
|
873
893
|
error: string;
|
|
874
894
|
code?: "invalid_input" | undefined;
|
|
@@ -880,15 +900,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
880
900
|
workerId: string;
|
|
881
901
|
};
|
|
882
902
|
} & {
|
|
883
|
-
json:
|
|
884
|
-
text: string;
|
|
885
|
-
};
|
|
903
|
+
json: Record<string, never>;
|
|
886
904
|
};
|
|
887
|
-
}
|
|
888
|
-
};
|
|
889
|
-
} & {
|
|
890
|
-
"/:workerId/stop": {
|
|
891
|
-
$post: {
|
|
905
|
+
} | {
|
|
892
906
|
output: {
|
|
893
907
|
workerId: string;
|
|
894
908
|
state: "stopping" | "terminated";
|
|
@@ -902,7 +916,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
902
916
|
} & {
|
|
903
917
|
json: Record<string, never>;
|
|
904
918
|
};
|
|
905
|
-
}
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
} & {
|
|
922
|
+
"/:workerId/destroy": {
|
|
923
|
+
$post: {
|
|
906
924
|
output: {
|
|
907
925
|
error: string;
|
|
908
926
|
code?: "invalid_input" | undefined;
|
|
@@ -916,11 +934,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
916
934
|
} & {
|
|
917
935
|
json: Record<string, never>;
|
|
918
936
|
};
|
|
919
|
-
}
|
|
920
|
-
};
|
|
921
|
-
} & {
|
|
922
|
-
"/:workerId/destroy": {
|
|
923
|
-
$post: {
|
|
937
|
+
} | {
|
|
924
938
|
output: {
|
|
925
939
|
workerId: string;
|
|
926
940
|
state: "complete" | "incomplete";
|
|
@@ -943,20 +957,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
943
957
|
} & {
|
|
944
958
|
json: Record<string, never>;
|
|
945
959
|
};
|
|
946
|
-
} | {
|
|
947
|
-
output: {
|
|
948
|
-
error: string;
|
|
949
|
-
code?: "invalid_input" | undefined;
|
|
950
|
-
};
|
|
951
|
-
outputFormat: "json";
|
|
952
|
-
status: 400;
|
|
953
|
-
input: {
|
|
954
|
-
param: {
|
|
955
|
-
workerId: string;
|
|
956
|
-
};
|
|
957
|
-
} & {
|
|
958
|
-
json: Record<string, never>;
|
|
959
|
-
};
|
|
960
960
|
} | {
|
|
961
961
|
output: {
|
|
962
962
|
workerId: string;
|
|
@@ -986,13 +986,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
986
986
|
"/:workerId/diff": {
|
|
987
987
|
$get: {
|
|
988
988
|
output: {
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
diff: string;
|
|
992
|
-
truncated: boolean;
|
|
989
|
+
error: string;
|
|
990
|
+
code?: "invalid_input" | undefined;
|
|
993
991
|
};
|
|
994
992
|
outputFormat: "json";
|
|
995
|
-
status:
|
|
993
|
+
status: 400;
|
|
996
994
|
input: {
|
|
997
995
|
param: {
|
|
998
996
|
workerId: string;
|
|
@@ -1000,11 +998,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1000
998
|
};
|
|
1001
999
|
} | {
|
|
1002
1000
|
output: {
|
|
1003
|
-
|
|
1004
|
-
|
|
1001
|
+
workerId: string;
|
|
1002
|
+
baselineSha: string;
|
|
1003
|
+
diff: string;
|
|
1004
|
+
truncated: boolean;
|
|
1005
1005
|
};
|
|
1006
1006
|
outputFormat: "json";
|
|
1007
|
-
status:
|
|
1007
|
+
status: 200;
|
|
1008
1008
|
input: {
|
|
1009
1009
|
param: {
|
|
1010
1010
|
workerId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-pr3694.
|
|
3
|
+
"version": "0.18.0-pr3694.6731",
|
|
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-pr3694.
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-pr3694.
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-pr3694.6731",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-pr3694.6731",
|
|
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": "0710c835b503eb9459a045be7c1cf7353d234006"
|
|
85
85
|
}
|