@hearsay-tools/squawk 0.18.0-pr3511.6266 → 0.18.0-pr3512.6267
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 +3 -9
- package/dist/contract/run-search.d.ts +18 -20
- package/dist/delegation/transport.d.ts +62 -62
- package/dist/server/server.d.ts +1441 -1441
- package/dist/workflows/run/continuation-session.js +1 -1
- package/dist/workflows/run/continuation-session.js.map +1 -1
- package/dist/workflows/run/family-reconciler.d.ts +1 -0
- package/dist/workflows/run/family-reconciler.js +7 -0
- package/dist/workflows/run/family-reconciler.js.map +1 -1
- package/dist/workflows/run/input-delivery.d.ts +3 -2
- package/dist/workflows/run/input-delivery.js +34 -26
- package/dist/workflows/run/input-delivery.js.map +1 -1
- package/dist/workflows/run/input-receipts.js +2 -1
- package/dist/workflows/run/input-receipts.js.map +1 -1
- package/dist/workflows/run/session-events.js +1 -0
- package/dist/workflows/run/session-events.js.map +1 -1
- package/dist/workflows/run/step-session.js +1 -1
- package/dist/workflows/run/step-session.js.map +1 -1
- package/dist/workflows/run/turn-markers.d.ts +3 -0
- package/dist/workflows/run/turn-markers.js +11 -0
- package/dist/workflows/run/turn-markers.js.map +1 -1
- package/dist/workflows/run/turn-settler.js +2 -2
- package/dist/workflows/run/turn-settler.js.map +1 -1
- package/dist/workflows/run/types.d.ts +2 -0
- package/dist/workflows/run.d.ts +2 -2
- package/dist/workflows/run.js +1 -1
- package/dist/workflows/run.js.map +1 -1
- package/package.json +4 -4
- package/scripts/mock-claude.mjs +4 -4
- package/scripts/mock-codex-app-server.mjs +4 -4
- package/scripts/mock-cursor-print.mjs +6 -5
- package/scripts/mock-nudge.mjs +1 -1
- package/scripts/mock-opencode-serve.mjs +5 -4
- package/scripts/mock-scenario.mjs +18 -9
- package/scripts/mock-silent-tail.mjs +9 -1
- package/web/dist/assets/{activity-motion-DjMpx0QL.js → activity-motion-IP8sS6-U.js} +1 -1
- package/web/dist/assets/{activity-route-CE2cYbQO.js → activity-route-DIGKB9PQ.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-DBrsQdXO.js → commit-diff-panel-DFiSaGQ8.js} +1 -1
- package/web/dist/assets/{diff-D81T6FlH.js → diff-BN60wGSU.js} +2 -2
- package/web/dist/assets/{diff-view-Sqk3iny_.js → diff-view-lxvRexYH.js} +1 -1
- package/web/dist/assets/{file-preview-CFvc38AT.js → file-preview-BuhWEbng.js} +1 -1
- package/web/dist/assets/{git-toolbar-CZAj0VNk.js → git-toolbar-CTzewTqu.js} +1 -1
- package/web/dist/assets/{github-Cdg3-sQK.js → github-DFvOUsxa.js} +1 -1
- package/web/dist/assets/{global-activity-route-9DUVLRv0.js → global-activity-route-BdCGpwas.js} +1 -1
- package/web/dist/assets/{index-s7PhnzDS.js → index-BquqwaAl.js} +4 -4
- package/web/dist/assets/{popover-G6KGT-qq.js → popover-BlBKQSyF.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-DVlhmoyi.js → preview-pane-connected-CLIyjRfl.js} +1 -1
- package/web/dist/assets/{prompt-template-menu-D4-inlE4.js → prompt-template-menu-Xn29FISj.js} +1 -1
- package/web/dist/assets/{reference-chip-Drpbf-MP.js → reference-chip-BwpKSr4H.js} +1 -1
- package/web/dist/assets/{repo-git-CwibBYwB.js → repo-git-1gTZVQte.js} +1 -1
- package/web/dist/assets/{report-reader-BdYHFEdw.js → report-reader-Dct5U-rK.js} +1 -1
- package/web/dist/assets/{reports-CWlWhffn.js → reports-DiaOsjGo.js} +1 -1
- package/web/dist/assets/{run-header-Dc5892Cu.js → run-header-CHKNkgGR.js} +1 -1
- package/web/dist/assets/{skills-B2Cc1jJi.js → skills-V8a1rkD7.js} +1 -1
- package/web/dist/assets/{task-changes-CN0VE5bZ.js → task-changes-DcfH9M7H.js} +1 -1
- package/web/dist/assets/{task-commits-ycrhlORw.js → task-commits-CrpLU5BV.js} +1 -1
- package/web/dist/assets/{task-files-CjqaWaul.js → task-files-DlOF2bjK.js} +1 -1
- package/web/dist/assets/{task-github-item-CezPgdB9.js → task-github-item-wFRFpNJf.js} +1 -1
- package/web/dist/assets/{task-thread-BfsMGE4k.js → task-thread-BH_JSxVo.js} +1 -1
- package/web/dist/assets/{thread-state-B6Ar3fj6.js → thread-state-BjqhYmxY.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-BOTjwkGM.js → use-hand-to-agent-state-B4TH7Jhq.js} +1 -1
- package/web/dist/assets/{workflows-B32GiY9u.js → workflows-Xnfv2Nla.js} +1 -1
- package/web/dist/index.html +4 -4
package/dist/contract/index.js
CHANGED
|
@@ -4726,17 +4726,11 @@ var FIELDS = RUN_SEARCH_FIELDS;
|
|
|
4726
4726
|
function searchTokens(query) {
|
|
4727
4727
|
return query.trim().toLowerCase().split(/\s+/).filter((token) => token !== "");
|
|
4728
4728
|
}
|
|
4729
|
-
function queryTokens(query, mode) {
|
|
4730
|
-
if (mode !== "phrase") return searchTokens(query);
|
|
4731
|
-
const phrase = query.trim().toLowerCase();
|
|
4732
|
-
return phrase === "" ? [] : [phrase];
|
|
4733
|
-
}
|
|
4734
4729
|
function storedOrigin(run, names) {
|
|
4735
4730
|
return names && run.automationId !== void 0 ? names.get(run.automationId) ?? run.automationId : void 0;
|
|
4736
4731
|
}
|
|
4737
4732
|
function searchText(run, options) {
|
|
4738
4733
|
const scope = options.scope ?? "stored";
|
|
4739
|
-
const omit = options.scope === "shown" ? options.omit ?? [] : [];
|
|
4740
4734
|
const extras = options.scope === "shown" ? options.extras : { automation: storedOrigin(run, options.automationNames) };
|
|
4741
4735
|
const prose = [];
|
|
4742
4736
|
const ids = [];
|
|
@@ -4744,7 +4738,7 @@ function searchText(run, options) {
|
|
|
4744
4738
|
const buckets = { text: prose, identifier: ids, link: links };
|
|
4745
4739
|
const numberSources = [];
|
|
4746
4740
|
for (const field2 of FIELDS) {
|
|
4747
|
-
if (!field2.scopes.includes(scope)
|
|
4741
|
+
if (!field2.scopes.includes(scope)) continue;
|
|
4748
4742
|
if (field2.kind === "reference") {
|
|
4749
4743
|
numberSources.push(() => field2.numbers(run, extras));
|
|
4750
4744
|
continue;
|
|
@@ -4762,7 +4756,7 @@ function searchText(run, options) {
|
|
|
4762
4756
|
};
|
|
4763
4757
|
}
|
|
4764
4758
|
function matchesRunSearch(run, query, options = {}) {
|
|
4765
|
-
const tokens =
|
|
4759
|
+
const tokens = searchTokens(query);
|
|
4766
4760
|
if (tokens.length === 0) return false;
|
|
4767
4761
|
const { prose, ids, links, references } = searchText(run, options);
|
|
4768
4762
|
return tokens.every((token) => {
|
|
@@ -4776,7 +4770,7 @@ function matchesRunSearch(run, query, options = {}) {
|
|
|
4776
4770
|
}
|
|
4777
4771
|
function sqlPrefilterTokens(query, options = {}) {
|
|
4778
4772
|
const outside = FIELDS.filter((field2) => field2.scopes.includes("stored") && field2.source === "reader").flatMap((field2) => field2.universe?.(options) ?? []).map((text) => text.toLowerCase());
|
|
4779
|
-
return
|
|
4773
|
+
return searchTokens(query).map((token) => token.replace(/^#/, "")).filter((token) => token !== "" && /^[\x20-\x7e]+$/.test(token) && !/["\\]/.test(token)).filter((token) => !/^\d+$/.test(token) || String(Number(token)) === token).filter((token) => !outside.some((text) => text.includes(token)));
|
|
4780
4774
|
}
|
|
4781
4775
|
|
|
4782
4776
|
// ../contract/src/artifacts.ts
|
|
@@ -2,8 +2,8 @@ import type { RunSummary } from './runs.ts';
|
|
|
2
2
|
/**
|
|
3
3
|
* The one rule for "does this run match what was typed" (hearsay-tools/cezarion#1807). The project
|
|
4
4
|
* list, All tasks, the archived pages, the ⌘K palette and the SQL prefilter under the last two all
|
|
5
|
-
* ask it, so a run found in one place is found in the others
|
|
6
|
-
*
|
|
5
|
+
* ask it, so a run found in one place is found in the others; only the scope below differs. A new
|
|
6
|
+
* searchable field is one entry in `RUN_SEARCH_FIELDS`.
|
|
7
7
|
*
|
|
8
8
|
* Every whitespace-separated token must match. A token matches a substring of a text field. A
|
|
9
9
|
* number, with a leading `#` stripped, also matches a reference number EXACTLY and an id as a
|
|
@@ -22,8 +22,6 @@ export type RunSearchRun = Pick<RunSummary, 'id' | 'title' | 'titleSummary' | 'b
|
|
|
22
22
|
* hides: pasting a branch name from a terminal to find its task is a deliberate gesture.
|
|
23
23
|
*/
|
|
24
24
|
export type RunSearchScope = 'stored' | 'shown';
|
|
25
|
-
/** `tokens`: every token must match, in any field. `phrase`: the trimmed query is one token. */
|
|
26
|
-
export type RunSearchMode = 'tokens' | 'phrase';
|
|
27
25
|
/**
|
|
28
26
|
* Automation display names by automation id, for a search whose list shows each task's origin line
|
|
29
27
|
* (hearsay-tools/cezarion#1616). With a lookup, a task an automation launched also matches by that
|
|
@@ -43,20 +41,15 @@ export interface RunSearchExtras {
|
|
|
43
41
|
/** The reference numbers the row shows. Called only when a token is a number. */
|
|
44
42
|
references?: (() => readonly number[]) | undefined;
|
|
45
43
|
}
|
|
46
|
-
interface SearchOptionsBase {
|
|
47
|
-
mode?: RunSearchMode;
|
|
48
|
-
}
|
|
49
44
|
/** The server's reach. Without `automationNames` the automation is not searched. */
|
|
50
|
-
export interface StoredRunSearch
|
|
45
|
+
export interface StoredRunSearch {
|
|
51
46
|
scope?: 'stored';
|
|
52
47
|
automationNames?: AutomationNames | undefined;
|
|
53
48
|
}
|
|
54
49
|
/** A list's reach: what it prints, from `extras`. */
|
|
55
|
-
export interface ShownRunSearch
|
|
50
|
+
export interface ShownRunSearch {
|
|
56
51
|
scope: 'shown';
|
|
57
52
|
extras: RunSearchExtras;
|
|
58
|
-
/** Fields this reader's rows do not print. A field added later is searched unless listed here. */
|
|
59
|
-
omit?: readonly RunSearchFieldId[];
|
|
60
53
|
}
|
|
61
54
|
export type RunSearchOptions = StoredRunSearch | ShownRunSearch;
|
|
62
55
|
type Texts = (run: RunSearchRun, extras: RunSearchExtras) => ReadonlyArray<string | undefined>;
|
|
@@ -86,9 +79,9 @@ export type RunSearchField = FieldCommon & ({
|
|
|
86
79
|
export declare function refNumberFromUrl(url: string): number | null;
|
|
87
80
|
declare function heldReferences(run: RunSearchRun): number[];
|
|
88
81
|
/**
|
|
89
|
-
* THE list of searchable fields. Add a field here and every reader searches it.
|
|
90
|
-
*
|
|
91
|
-
*
|
|
82
|
+
* THE list of searchable fields. Add a field here and every reader of its scopes searches it. The
|
|
83
|
+
* summary-sourced entries are what `runs.db` stores, which is the only thing the SQL prefilter
|
|
84
|
+
* sees (`sqlPrefilterTokens`).
|
|
92
85
|
*/
|
|
93
86
|
export declare const RUN_SEARCH_FIELDS: readonly [{
|
|
94
87
|
readonly id: 'title';
|
|
@@ -170,20 +163,25 @@ export declare const RUN_SEARCH_FIELDS: readonly [{
|
|
|
170
163
|
readonly source: 'reader';
|
|
171
164
|
readonly numbers: (_run: RunSearchRun, extras: RunSearchExtras) => readonly number[];
|
|
172
165
|
}];
|
|
173
|
-
export type RunSearchFieldId = (typeof RUN_SEARCH_FIELDS)[number]['id'];
|
|
174
166
|
/** The query as lowercased, whitespace-split tokens, empties dropped. */
|
|
175
167
|
export declare function searchTokens(query: string): string[];
|
|
176
168
|
/**
|
|
177
|
-
* Whether every token of `query` matches `run`, under `options` (stored scope
|
|
178
|
-
*
|
|
179
|
-
*
|
|
169
|
+
* Whether every token of `query` matches `run`, under `options` (stored scope and no automation
|
|
170
|
+
* names when omitted). A blank query matches nothing: a list that shows every row for a blank
|
|
171
|
+
* query decides that itself.
|
|
180
172
|
*/
|
|
181
173
|
export declare function matchesRunSearch(run: RunSearchRun, query: string, options?: RunSearchOptions): boolean;
|
|
182
174
|
/**
|
|
183
175
|
* The tokens SQL may narrow rows with, as `instr(lower(summary), ?) > 0` over the stored summary
|
|
184
176
|
* JSON. Only tokens that read the same there: ASCII, since SQLite's `lower()` folds ASCII alone,
|
|
185
|
-
* and without `"` or `\`, which JSON escapes.
|
|
186
|
-
*
|
|
177
|
+
* and without `"` or `\`, which JSON escapes. A number whose canonical spelling differs (`007`)
|
|
178
|
+
* is left out too: the predicate matches it by value, as PR 7, and the summary holds `7`. Leaving a
|
|
179
|
+
* token out only widens the prefilter; `matchesRunSearch` still checks it.
|
|
180
|
+
*
|
|
181
|
+
* A known gap stays: JavaScript `toLowerCase()` folds U+212A (Kelvin sign) to `k` and U+0130 to
|
|
182
|
+
* `i` plus a combining dot, and SQLite `lower()` folds ASCII only, so a run whose only match runs
|
|
183
|
+
* through one of them is dropped here. Closing it would change case folding for every reader, or
|
|
184
|
+
* leave the ASCII tokens `k` and `i` out of the prefilter (hearsay-tools/squawk#1884).
|
|
187
185
|
*
|
|
188
186
|
* A token inside a text a `reader` field could hold is left out too (today, an automation's name):
|
|
189
187
|
* the summary holds the automation's id, not its name, so the row it should find would never
|
|
@@ -2,18 +2,6 @@ import type { DelegationRoutes } from './routes.ts';
|
|
|
2
2
|
export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
3
3
|
"/list": {
|
|
4
4
|
$get: {
|
|
5
|
-
output: {
|
|
6
|
-
error: string;
|
|
7
|
-
code?: "invalid_input" | undefined;
|
|
8
|
-
};
|
|
9
|
-
outputFormat: "json";
|
|
10
|
-
status: 400;
|
|
11
|
-
input: {
|
|
12
|
-
query: {
|
|
13
|
-
offset?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
} | {
|
|
17
5
|
output: {
|
|
18
6
|
workers: {
|
|
19
7
|
workerId: string;
|
|
@@ -51,6 +39,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
51
39
|
offset?: string | undefined;
|
|
52
40
|
};
|
|
53
41
|
};
|
|
42
|
+
} | {
|
|
43
|
+
output: {
|
|
44
|
+
error: string;
|
|
45
|
+
code?: "invalid_input" | undefined;
|
|
46
|
+
};
|
|
47
|
+
outputFormat: "json";
|
|
48
|
+
status: 400;
|
|
49
|
+
input: {
|
|
50
|
+
query: {
|
|
51
|
+
offset?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
} & {
|
|
@@ -588,18 +588,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
588
588
|
} & {
|
|
589
589
|
"/:workerId": {
|
|
590
590
|
$get: {
|
|
591
|
-
output: {
|
|
592
|
-
error: string;
|
|
593
|
-
code?: "invalid_input" | undefined;
|
|
594
|
-
};
|
|
595
|
-
outputFormat: "json";
|
|
596
|
-
status: 400;
|
|
597
|
-
input: {
|
|
598
|
-
param: {
|
|
599
|
-
workerId: string;
|
|
600
|
-
};
|
|
601
|
-
};
|
|
602
|
-
} | {
|
|
603
591
|
output: {
|
|
604
592
|
workerId: string;
|
|
605
593
|
parentRunId: string;
|
|
@@ -703,11 +691,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
703
691
|
workerId: string;
|
|
704
692
|
};
|
|
705
693
|
};
|
|
706
|
-
}
|
|
707
|
-
};
|
|
708
|
-
} & {
|
|
709
|
-
"/:workerId/collect": {
|
|
710
|
-
$post: {
|
|
694
|
+
} | {
|
|
711
695
|
output: {
|
|
712
696
|
error: string;
|
|
713
697
|
code?: "invalid_input" | undefined;
|
|
@@ -718,10 +702,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
718
702
|
param: {
|
|
719
703
|
workerId: string;
|
|
720
704
|
};
|
|
721
|
-
} & {
|
|
722
|
-
json: Record<string, never>;
|
|
723
705
|
};
|
|
724
|
-
}
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
} & {
|
|
709
|
+
"/:workerId/collect": {
|
|
710
|
+
$post: {
|
|
725
711
|
output: {
|
|
726
712
|
workerId: string;
|
|
727
713
|
parentRunId: string;
|
|
@@ -823,11 +809,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
823
809
|
} & {
|
|
824
810
|
json: Record<string, never>;
|
|
825
811
|
};
|
|
826
|
-
}
|
|
827
|
-
};
|
|
828
|
-
} & {
|
|
829
|
-
"/:workerId/steer": {
|
|
830
|
-
$post: {
|
|
812
|
+
} | {
|
|
831
813
|
output: {
|
|
832
814
|
error: string;
|
|
833
815
|
code?: "invalid_input" | undefined;
|
|
@@ -839,11 +821,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
839
821
|
workerId: string;
|
|
840
822
|
};
|
|
841
823
|
} & {
|
|
842
|
-
json:
|
|
843
|
-
text: string;
|
|
844
|
-
};
|
|
824
|
+
json: Record<string, never>;
|
|
845
825
|
};
|
|
846
|
-
}
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
} & {
|
|
829
|
+
"/:workerId/steer": {
|
|
830
|
+
$post: {
|
|
847
831
|
output: {
|
|
848
832
|
workerId: string;
|
|
849
833
|
state: "delivered" | "queued";
|
|
@@ -859,11 +843,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
859
843
|
text: string;
|
|
860
844
|
};
|
|
861
845
|
};
|
|
862
|
-
}
|
|
863
|
-
};
|
|
864
|
-
} & {
|
|
865
|
-
"/:workerId/stop": {
|
|
866
|
-
$post: {
|
|
846
|
+
} | {
|
|
867
847
|
output: {
|
|
868
848
|
error: string;
|
|
869
849
|
code?: "invalid_input" | undefined;
|
|
@@ -875,9 +855,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
875
855
|
workerId: string;
|
|
876
856
|
};
|
|
877
857
|
} & {
|
|
878
|
-
json:
|
|
858
|
+
json: {
|
|
859
|
+
text: string;
|
|
860
|
+
};
|
|
879
861
|
};
|
|
880
|
-
}
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
} & {
|
|
865
|
+
"/:workerId/stop": {
|
|
866
|
+
$post: {
|
|
881
867
|
output: {
|
|
882
868
|
workerId: string;
|
|
883
869
|
state: "stopping" | "terminated";
|
|
@@ -891,11 +877,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
891
877
|
} & {
|
|
892
878
|
json: Record<string, never>;
|
|
893
879
|
};
|
|
894
|
-
}
|
|
895
|
-
};
|
|
896
|
-
} & {
|
|
897
|
-
"/:workerId/destroy": {
|
|
898
|
-
$post: {
|
|
880
|
+
} | {
|
|
899
881
|
output: {
|
|
900
882
|
error: string;
|
|
901
883
|
code?: "invalid_input" | undefined;
|
|
@@ -909,7 +891,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
909
891
|
} & {
|
|
910
892
|
json: Record<string, never>;
|
|
911
893
|
};
|
|
912
|
-
}
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
} & {
|
|
897
|
+
"/:workerId/destroy": {
|
|
898
|
+
$post: {
|
|
913
899
|
output: {
|
|
914
900
|
workerId: string;
|
|
915
901
|
state: "complete" | "incomplete";
|
|
@@ -932,6 +918,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
932
918
|
} & {
|
|
933
919
|
json: Record<string, never>;
|
|
934
920
|
};
|
|
921
|
+
} | {
|
|
922
|
+
output: {
|
|
923
|
+
error: string;
|
|
924
|
+
code?: "invalid_input" | undefined;
|
|
925
|
+
};
|
|
926
|
+
outputFormat: "json";
|
|
927
|
+
status: 400;
|
|
928
|
+
input: {
|
|
929
|
+
param: {
|
|
930
|
+
workerId: string;
|
|
931
|
+
};
|
|
932
|
+
} & {
|
|
933
|
+
json: Record<string, never>;
|
|
934
|
+
};
|
|
935
935
|
} | {
|
|
936
936
|
output: {
|
|
937
937
|
workerId: string;
|
|
@@ -961,11 +961,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
961
961
|
"/:workerId/diff": {
|
|
962
962
|
$get: {
|
|
963
963
|
output: {
|
|
964
|
-
|
|
965
|
-
|
|
964
|
+
workerId: string;
|
|
965
|
+
baselineSha: string;
|
|
966
|
+
diff: string;
|
|
967
|
+
truncated: boolean;
|
|
966
968
|
};
|
|
967
969
|
outputFormat: "json";
|
|
968
|
-
status:
|
|
970
|
+
status: 200;
|
|
969
971
|
input: {
|
|
970
972
|
param: {
|
|
971
973
|
workerId: string;
|
|
@@ -973,13 +975,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
973
975
|
};
|
|
974
976
|
} | {
|
|
975
977
|
output: {
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
diff: string;
|
|
979
|
-
truncated: boolean;
|
|
978
|
+
error: string;
|
|
979
|
+
code?: "invalid_input" | undefined;
|
|
980
980
|
};
|
|
981
981
|
outputFormat: "json";
|
|
982
|
-
status:
|
|
982
|
+
status: 400;
|
|
983
983
|
input: {
|
|
984
984
|
param: {
|
|
985
985
|
workerId: string;
|