@hearsay-tools/squawk 0.17.0-dev.5734 → 0.17.0-dev.5739
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/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 +71 -71
- package/dist/runs/run-exits.js.map +1 -1
- package/dist/voice/routes.d.ts +19 -19
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/dist/workflows/run-states.js +3 -3
- 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
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Git facts about the project root, or `null` when it is not a repository. Health and the Repo
|
|
4
|
+
* view serve the same record. This module imports only zod, so `repo.ts` does not load
|
|
5
|
+
* `health.ts` (hearsay-tools/cezarion#3241); `health.ts` re-exports both names.
|
|
6
|
+
*/
|
|
7
|
+
export declare const repoInfoSchema: z.ZodObject<{
|
|
8
|
+
root: z.ZodString;
|
|
9
|
+
branch: z.ZodString;
|
|
10
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export type RepoInfo = z.infer<typeof repoInfoSchema>;
|
package/dist/contract/repo.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
* The repo / git family of `/api/v1` — the Repo view, the structured diff shapes the Changes and
|
|
4
4
|
* Files tabs read, and the worktree-retention panel.
|
|
5
5
|
*
|
|
6
|
-
* `RepoInfo` is NOT redeclared here:
|
|
7
|
-
* serves the very same record.
|
|
6
|
+
* `RepoInfo` is NOT redeclared here: it lives in `./repo-info.ts`, which health also serves.
|
|
8
7
|
*/
|
|
9
8
|
/** One `git status --porcelain` row. */
|
|
10
9
|
export declare const statusEntrySchema: z.ZodObject<{
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* The agent backends a run can be dispatched to. This module imports only zod: most contract
|
|
4
|
+
* modules import the roster, and a schema module behind it would load in nearly every test
|
|
5
|
+
* (hearsay-tools/cezarion#3241). `health.ts` re-exports both names.
|
|
6
|
+
*/
|
|
7
|
+
export declare const runnerSchema: z.ZodEnum<{
|
|
8
|
+
claude: "claude";
|
|
9
|
+
codex: "codex";
|
|
10
|
+
cursor: "cursor";
|
|
11
|
+
omp: "omp";
|
|
12
|
+
opencode: "opencode";
|
|
13
|
+
pi: "pi";
|
|
14
|
+
}>;
|
|
15
|
+
export type Runner = z.infer<typeof runnerSchema>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { RunRecord } from './runs.ts';
|
|
2
|
+
/**
|
|
3
|
+
* A usage-limit hold (hearsay-tools/cezarion#1236): a `waiting` run with a booked resume time. It
|
|
4
|
+
* holds no slot and no session, so the engine does not own it; its resume or the user's Continue
|
|
5
|
+
* wakes it. The one definition every reader calls (hearsay-tools/cezarion#1496). It takes the
|
|
6
|
+
* record, never a bare status, and the store clears the resume time on every write that leaves
|
|
7
|
+
* `waiting`, so a resume time on any other run is stale and this reads it as no hold. It narrows
|
|
8
|
+
* the time only, so a caller can still settle the hold to another status.
|
|
9
|
+
*
|
|
10
|
+
* This module has no runtime imports: `vitest.setup.ts` loads it through `run-exits.ts`, so every
|
|
11
|
+
* cezar test loads it (hearsay-tools/cezarion#3241). `waits.ts` re-exports it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function isUsageLimitHold<T extends Partial<Pick<RunRecord, 'status' | 'autoResumeAt'>>>(run: T): run is T & {
|
|
14
|
+
autoResumeAt: string;
|
|
15
|
+
};
|
package/dist/contract/waits.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { DelegationState, PeerWaitView, RunDelegationSummary, WorkerCompletionWait, WorkerWait } from './delegation.ts';
|
|
3
3
|
import type { RunRecord } from './runs.ts';
|
|
4
|
+
import { isUsageLimitHold } from './usage-limit-hold.ts';
|
|
5
|
+
export { isUsageLimitHold };
|
|
4
6
|
/**
|
|
5
7
|
* The wait list (spec `.ai/specs/2026-10-17-unified-waits.md`; phase 1 is
|
|
6
8
|
* hearsay-tools/cezarion#1233). A run holds its open and recently settled waits in
|
|
@@ -1927,17 +1929,6 @@ export type WaitingOn = z.infer<typeof waitingOnSchema>;
|
|
|
1927
1929
|
export type WaitingOnInput = Partial<Pick<RunRecord, 'status' | 'waits' | 'autoResumeAt'>> & {
|
|
1928
1930
|
delegation?: DelegationState | RunDelegationSummary | undefined;
|
|
1929
1931
|
};
|
|
1930
|
-
/**
|
|
1931
|
-
* A usage-limit hold (hearsay-tools/cezarion#1236): a `waiting` run with a booked resume time. It
|
|
1932
|
-
* holds no slot and no session, so the engine does not own it; its resume or the user's Continue
|
|
1933
|
-
* wakes it. The one definition every reader calls (hearsay-tools/cezarion#1496). It takes the
|
|
1934
|
-
* record, never a bare status, and the store clears the resume time on every write that leaves
|
|
1935
|
-
* `waiting`, so a resume time on any other run is stale and this reads it as no hold. It narrows
|
|
1936
|
-
* the time only, so a caller can still settle the hold to another status.
|
|
1937
|
-
*/
|
|
1938
|
-
export declare function isUsageLimitHold<T extends Partial<Pick<RunRecord, 'status' | 'autoResumeAt'>>>(run: T): run is T & {
|
|
1939
|
-
autoResumeAt: string;
|
|
1940
|
-
};
|
|
1941
1932
|
/** A summary's slim root delegation with the root's own ledger, which the slim one drops, so
|
|
1942
1933
|
* `computeWaitingOn` still marks a wait on a peer's reply (hearsay-tools/cezarion#1995). The ledger
|
|
1943
1934
|
* is unparsed; `peerRequestIds` reads it defensively. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { type Runner } from './
|
|
2
|
+
import { type Runner } from './runner.ts';
|
|
3
3
|
/**
|
|
4
4
|
* The workspace + settings families: `~/.cezar/config.json`'s settings slice, both GUI-pref bags
|
|
5
5
|
* (per-repo and workspace), the per-repo agent knobs, provider auth status, the host model
|
|
@@ -595,6 +595,41 @@ export declare const runnerModelCatalogResponseSchema: z.ZodObject<{
|
|
|
595
595
|
reason: z.ZodOptional<z.ZodString>;
|
|
596
596
|
}, z.core.$strip>;
|
|
597
597
|
export type RunnerModelCatalogResponse = z.infer<typeof runnerModelCatalogResponseSchema>;
|
|
598
|
+
/** The models a spawn could pin instead of an unknown one, in a delegation error. It lives here,
|
|
599
|
+
* beside its parts, so `delegation.ts` does not load `discovery.ts` (hearsay-tools/cezarion#3241);
|
|
600
|
+
* `discovery.ts` re-exports it. */
|
|
601
|
+
export declare const modelChoicesSchema: z.ZodObject<{
|
|
602
|
+
runner: z.ZodEnum<{
|
|
603
|
+
claude: "claude";
|
|
604
|
+
codex: "codex";
|
|
605
|
+
cursor: "cursor";
|
|
606
|
+
omp: "omp";
|
|
607
|
+
opencode: "opencode";
|
|
608
|
+
pi: "pi";
|
|
609
|
+
}>;
|
|
610
|
+
requestedModel: z.ZodString;
|
|
611
|
+
availableModels: z.ZodArray<z.ZodObject<{
|
|
612
|
+
id: z.ZodString;
|
|
613
|
+
label: z.ZodString;
|
|
614
|
+
description: z.ZodString;
|
|
615
|
+
effortLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
616
|
+
high: "high";
|
|
617
|
+
low: "low";
|
|
618
|
+
max: "max";
|
|
619
|
+
medium: "medium";
|
|
620
|
+
xhigh: "xhigh";
|
|
621
|
+
}>>>;
|
|
622
|
+
}, z.core.$strip>>;
|
|
623
|
+
otherRunners: z.ZodArray<z.ZodEnum<{
|
|
624
|
+
claude: "claude";
|
|
625
|
+
codex: "codex";
|
|
626
|
+
cursor: "cursor";
|
|
627
|
+
omp: "omp";
|
|
628
|
+
opencode: "opencode";
|
|
629
|
+
pi: "pi";
|
|
630
|
+
}>>;
|
|
631
|
+
}, z.core.$strip>;
|
|
632
|
+
export type ModelChoices = z.infer<typeof modelChoicesSchema>;
|
|
598
633
|
/** A local app a worktree can be opened in (#open-in): editor, file manager, or terminal. */
|
|
599
634
|
export declare const openTargetSchema: z.ZodObject<{
|
|
600
635
|
id: z.ZodString;
|
|
@@ -221,13 +221,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
221
221
|
status: 200;
|
|
222
222
|
input: {
|
|
223
223
|
json: {
|
|
224
|
-
workerIds: string[];
|
|
225
|
-
timeoutSeconds?: number | undefined;
|
|
226
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
227
|
-
} | {
|
|
228
224
|
requestIds: string[];
|
|
229
225
|
mode?: "all" | "any" | "one" | undefined;
|
|
230
226
|
timeoutSeconds?: number | undefined;
|
|
227
|
+
} | {
|
|
228
|
+
workerIds: string[];
|
|
229
|
+
timeoutSeconds?: number | undefined;
|
|
230
|
+
mode?: "all" | "any" | "one" | undefined;
|
|
231
231
|
} | {
|
|
232
232
|
peerIds: string[];
|
|
233
233
|
timeoutSeconds?: number | undefined;
|
|
@@ -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,21 +39,24 @@ 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
|
} & {
|
|
57
57
|
"/discover": {
|
|
58
58
|
$post: {
|
|
59
59
|
output: {
|
|
60
|
-
scope: "host-default-account";
|
|
61
|
-
runners: {
|
|
62
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
63
|
-
enabled?: boolean | undefined;
|
|
64
|
-
hint?: string | undefined;
|
|
65
|
-
authFailureId?: string | undefined;
|
|
66
|
-
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
67
|
-
}[];
|
|
68
|
-
} | {
|
|
69
60
|
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
70
61
|
models: {
|
|
71
62
|
id: string;
|
|
@@ -76,6 +67,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
76
67
|
source: "cache" | "live" | "unavailable";
|
|
77
68
|
stale: boolean;
|
|
78
69
|
reason?: string | undefined;
|
|
70
|
+
} | {
|
|
71
|
+
scope: "host-default-account";
|
|
72
|
+
runners: {
|
|
73
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
74
|
+
enabled?: boolean | undefined;
|
|
75
|
+
hint?: string | undefined;
|
|
76
|
+
authFailureId?: string | undefined;
|
|
77
|
+
runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
|
|
78
|
+
}[];
|
|
79
79
|
} | {
|
|
80
80
|
tasks: {
|
|
81
81
|
id: string;
|
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-exits.js","sourceRoot":"","sources":["../../src/runs/run-exits.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"run-exits.js","sourceRoot":"","sources":["../../src/runs/run-exits.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAmDjF,iDAAiD;AACjD,MAAM,iBAAiB,GAAG,CAAC,GAAc,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,KAAK,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,iBAAiB,CAAC;AAEpH,mGAAmG;AACnG,MAAM,UAAU,kBAAkB,CAAC,GAAkC;IACnE,IAAI,GAAG,CAAC,UAAU,EAAE,IAAI,KAAK,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,iBAAiB;QAAE,OAAO,EAAE,CAAC;IACpF,MAAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,UAAU,EAAE,GAAG,GAAG,CAAC,UAAU,CAAC;IACrE,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC;AAED,oGAAoG;AACpG,MAAM,gBAAgB,GAAyB,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,E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SAAS,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;AAC5B,CAAC"}
|
package/dist/voice/routes.d.ts
CHANGED
|
@@ -18,25 +18,6 @@ export interface VoiceRouteDeps {
|
|
|
18
18
|
export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
19
19
|
"/voice/decide": {
|
|
20
20
|
$post: {
|
|
21
|
-
output: {
|
|
22
|
-
error: string;
|
|
23
|
-
};
|
|
24
|
-
outputFormat: "json";
|
|
25
|
-
status: 503;
|
|
26
|
-
input: {
|
|
27
|
-
json: {
|
|
28
|
-
text: string;
|
|
29
|
-
sidebarView: "active" | "automations";
|
|
30
|
-
openRunId?: string | undefined;
|
|
31
|
-
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
32
|
-
askRequestId?: string | null | undefined;
|
|
33
|
-
proposal?: {
|
|
34
|
-
decisionId: string;
|
|
35
|
-
action: "answer" | "tell";
|
|
36
|
-
} | undefined;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
} | {
|
|
40
21
|
output: {
|
|
41
22
|
action: "open";
|
|
42
23
|
decisionId: string;
|
|
@@ -94,6 +75,25 @@ export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/ho
|
|
|
94
75
|
} | undefined;
|
|
95
76
|
};
|
|
96
77
|
};
|
|
78
|
+
} | {
|
|
79
|
+
output: {
|
|
80
|
+
error: string;
|
|
81
|
+
};
|
|
82
|
+
outputFormat: "json";
|
|
83
|
+
status: 503;
|
|
84
|
+
input: {
|
|
85
|
+
json: {
|
|
86
|
+
text: string;
|
|
87
|
+
sidebarView: "active" | "automations";
|
|
88
|
+
openRunId?: string | undefined;
|
|
89
|
+
view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
|
|
90
|
+
askRequestId?: string | null | undefined;
|
|
91
|
+
proposal?: {
|
|
92
|
+
decisionId: string;
|
|
93
|
+
action: "answer" | "tell";
|
|
94
|
+
} | undefined;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
99
|
} & {
|