@hearsay-tools/squawk 0.18.0-dev.8004 → 0.18.0-dev.8009
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/create-run-input.d.ts +59 -0
- package/dist/contract/discovery.d.ts +0 -1
- package/dist/contract/github.d.ts +0 -18
- package/dist/contract/index.d.ts +3 -0
- package/dist/contract/index.js +2305 -2294
- package/dist/contract/model-choices.d.ts +40 -0
- package/dist/contract/reference-status.d.ts +19 -0
- package/dist/contract/runs.d.ts +0 -57
- package/dist/contract/workspace.d.ts +0 -40
- package/dist/delegation/routes.d.ts +10 -10
- package/dist/runs/run-archive.d.ts +72 -72
- package/dist/runs/wait-phases.d.ts +9 -1
- package/dist/runs/wait-phases.js +17 -2
- package/dist/runs/wait-phases.js.map +1 -1
- package/dist/server/server.d.ts +58 -58
- package/dist/workflows/input-acknowledgement.d.ts +24 -24
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/dist/workflows/run-states.d.ts +1 -8
- package/dist/workflows/run-states.js +0 -16
- package/dist/workflows/run-states.js.map +1 -1
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-BvrCdhB1.js → accounts-section-CJ1xR0FN.js} +1 -1
- package/web/dist/assets/activity-motion-C01GEN0y.js +2 -0
- package/web/dist/assets/{activity-route-BZPRmiNI.js → activity-route-BZ1NIKSY.js} +1 -1
- package/web/dist/assets/{agent-config-section-DEeDIcK_.js → agent-config-section-DvFcRRLD.js} +2 -2
- package/web/dist/assets/{agent-defaults-section-RYnao4vB.js → agent-defaults-section-BE88c2RN.js} +1 -1
- package/web/dist/assets/{appearance-obeD0TrH.js → appearance-B9Z6lNEm.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-DP12N-QW.js → archive-on-merge-field-DtR7twJI.js} +1 -1
- package/web/dist/assets/attention-B6NEiTGm.js +1 -0
- package/web/dist/assets/{automations-route-bJYe7JKX.js → automations-route-Dpa01C3j.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-yCI8kY--.js → commit-diff-panel-CGjhxIPJ.js} +1 -1
- package/web/dist/assets/{diff-B9wl20YA.js → diff-DQ18_bA-.js} +2 -2
- package/web/dist/assets/{diff-view-C-HieogW.js → diff-view-CMwe_Rx7.js} +1 -1
- package/web/dist/assets/{file-preview-BzialgZg.js → file-preview-_lAUlt5u.js} +1 -1
- package/web/dist/assets/{folder-browser-B8_lzQT7.js → folder-browser-Cy26Y6YK.js} +1 -1
- package/web/dist/assets/{git-toolbar-lvqVHT9o.js → git-toolbar-BJM3pWHY.js} +1 -1
- package/web/dist/assets/{github-CQhVzG31.js → github-aO7y0526.js} +1 -1
- package/web/dist/assets/{global-activity-route-Cnk7K6kB.js → global-activity-route-BWOfw2C5.js} +1 -1
- package/web/dist/assets/index-D-Y1olb1.js +21 -0
- package/web/dist/assets/label-CbEJ99h4.js +1 -0
- package/web/dist/assets/{markdown-BLWEExIH.js → markdown-BDWII3gy.js} +1 -1
- package/web/dist/assets/{notifications-section-Ci4iCnOt.js → notifications-section-Z_4IW83J.js} +1 -1
- package/web/dist/assets/{open-in-menu-JhT-c8K6.js → open-in-menu-21vcjK3t.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-COUwLzj1.js → preview-pane-connected-CxwvH4pt.js} +2 -2
- package/web/dist/assets/{project-location-BMreyTgv.js → project-location-CvJMe_Vp.js} +1 -1
- package/web/dist/assets/{project-router-DG3CwEiO.js → project-router-hhGBPlav.js} +1 -1
- package/web/dist/assets/project-scope-context-BiijuuWU.js +4 -0
- package/web/dist/assets/{projects-section-I4Umh57f.js → projects-section-CQ34YFnT.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-Byinr-jH.js → prompt-templates-section-UIxQCLJq.js} +1 -1
- package/web/dist/assets/queries-D6ioEk6c.js +1 -0
- package/web/dist/assets/{reference-chip-Bphmq8DU.js → reference-chip-B5br2cfV.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-CcYe1mbK.js → remote-settings-notice-BWDpTH5W.js} +1 -1
- package/web/dist/assets/{repo-git-tmqJIA3Y.js → repo-git-U12bPaG-.js} +1 -1
- package/web/dist/assets/{report-reader-GE7zBDlE.js → report-reader-B5vipU-m.js} +1 -1
- package/web/dist/assets/{reports-Dzd6o31r.js → reports-Cdk8Dc-w.js} +1 -1
- package/web/dist/assets/{resources-section-D6yjk2_7.js → resources-section-BCLu3v1Z.js} +1 -1
- package/web/dist/assets/run-header-gOqc0BKa.js +2 -0
- package/web/dist/assets/{runners-GyEIYtzT.js → runners-5cgs0qUY.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-gDWJBt2q.js → settings-agent-picker-CB7l8AW-.js} +1 -1
- package/web/dist/assets/{settings-shell-1kV0mCGg.js → settings-shell-BUHHoCDs.js} +1 -1
- package/web/dist/assets/{sidebar-section-bytwajV6.js → sidebar-section-8dTKLdQw.js} +1 -1
- package/web/dist/assets/{skills-oC915Joa.js → skills-thuBrq2s.js} +1 -1
- package/web/dist/assets/{tab-link-BrrGCBYJ.js → tab-link-DaFUyEhe.js} +1 -1
- package/web/dist/assets/{task-changes-CgEF750z.js → task-changes-DSpeg6sX.js} +1 -1
- package/web/dist/assets/{task-commits-CmewNVBz.js → task-commits-DRDRswBh.js} +1 -1
- package/web/dist/assets/{task-files-x0fUUNIG.js → task-files-Cevz9Mex.js} +1 -1
- package/web/dist/assets/{task-github-item-DuwLqcE4.js → task-github-item-DpLkKSKy.js} +1 -1
- package/web/dist/assets/{task-groups-Ccol3P2t.js → task-groups-CafTiSSz.js} +1 -1
- package/web/dist/assets/{task-thread-DkgKDQSG.js → task-thread-BvM4rEQe.js} +6 -6
- package/web/dist/assets/{tasks-table-CbfBNxAB.js → tasks-table-DYjfmofR.js} +1 -1
- package/web/dist/assets/{thread-state-Nzl4pHXB.js → thread-state-A3TSuI5v.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-BMWlCZBX.js → use-hand-to-agent-state-IepoiFbj.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-C8q14xTE.js → useInfiniteQuery-B20OnjTe.js} +1 -1
- package/web/dist/assets/useQuery-BTg3x78A.js +1 -0
- package/web/dist/assets/{workflows-BV5oZdB_.js → workflows-B0TaHAzz.js} +2 -2
- package/web/dist/assets/{workspace-tools-NWKvRhWg.js → workspace-tools-B8sP_p5c.js} +1 -1
- package/web/dist/assets/{worktrees-section--MUxuXUq.js → worktrees-section-BDfwadB6.js} +4 -4
- package/web/dist/assets/{ws-BYbBRDfC.js → ws-ExzR2_Yn.js} +1 -1
- package/web/dist/index.html +15 -15
- package/web/dist/assets/activity-motion-CyQUo8rH.js +0 -2
- package/web/dist/assets/attention-CSFsCoi5.js +0 -1
- package/web/dist/assets/index-D0DvUgTj.js +0 -21
- package/web/dist/assets/label-CYqEyapm.js +0 -1
- package/web/dist/assets/project-scope-context-BairiAvs.js +0 -4
- package/web/dist/assets/queries-bg9YtgmX.js +0 -1
- package/web/dist/assets/run-header-Cc5Flvc9.js +0 -2
- package/web/dist/assets/useQuery-Berjv5Ts.js +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const attachmentInputSchema: z.ZodObject<{
|
|
3
|
+
mediaType: z.ZodString;
|
|
4
|
+
data: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export type AttachmentInput = z.input<typeof attachmentInputSchema>;
|
|
7
|
+
/** @deprecated Attachments are no longer images only — use `attachmentInputSchema`. Kept because
|
|
8
|
+
* the `images` key it validates is the wire contract and did not change name. */
|
|
9
|
+
export declare const imageInputSchema: z.ZodObject<{
|
|
10
|
+
mediaType: z.ZodString;
|
|
11
|
+
data: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type ImageInput = AttachmentInput;
|
|
14
|
+
/**
|
|
15
|
+
* The KEYS of `POST /runs`' body, before the XOR refinement that `createRunInputSchema` adds.
|
|
16
|
+
*
|
|
17
|
+
* Split into a leaf module (hearsay-tools/squawk#3935) so `./automations.ts` builds an
|
|
18
|
+
* automation's task on top of this shape without loading `./runs.ts`, and because zod refuses
|
|
19
|
+
* `.omit()` on a schema that carries refinements. Validate with `createRunInputSchema` in
|
|
20
|
+
* `./runs.ts` — this half accepts a body naming both `workflow` and `steps`, which the server does
|
|
21
|
+
* not.
|
|
22
|
+
*/
|
|
23
|
+
export declare const createRunInputBaseSchema: z.ZodObject<{
|
|
24
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
allowWorkers: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
allowMessaging: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
29
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
name: z.ZodOptional<z.ZodString>;
|
|
32
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
33
|
+
skill: z.ZodOptional<z.ZodString>;
|
|
34
|
+
model: z.ZodOptional<z.ZodString>;
|
|
35
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
36
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
runner: z.ZodOptional<z.ZodString>;
|
|
38
|
+
agentProfile: z.ZodOptional<z.ZodString>;
|
|
39
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
bashAllowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
command: z.ZodOptional<z.ZodString>;
|
|
42
|
+
onFail: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
retry: z.ZodString;
|
|
44
|
+
max: z.ZodDefault<z.ZodNumber>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
}, z.core.$strip>>>;
|
|
47
|
+
task: z.ZodString;
|
|
48
|
+
model: z.ZodOptional<z.ZodString>;
|
|
49
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
50
|
+
runner: z.ZodOptional<z.ZodString>;
|
|
51
|
+
agentProfile: z.ZodOptional<z.ZodString>;
|
|
52
|
+
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
systemPrompt: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
|
|
55
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56
|
+
mediaType: z.ZodString;
|
|
57
|
+
data: z.ZodString;
|
|
58
|
+
}, z.core.$strip>>>;
|
|
59
|
+
}, z.core.$strip>;
|
|
@@ -141,4 +141,3 @@ export declare const discoveryResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
141
141
|
nextOffset: z.ZodOptional<z.ZodNumber>;
|
|
142
142
|
}, z.core.$strip>]>;
|
|
143
143
|
export type DiscoveryResponse = z.infer<typeof discoveryResponseSchema>;
|
|
144
|
-
export { modelChoicesSchema, type ModelChoices } from './workspace.ts';
|
|
@@ -270,24 +270,6 @@ export declare const githubSearchDataSchema: z.ZodObject<{
|
|
|
270
270
|
labelColors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
271
271
|
}, z.core.$strip>;
|
|
272
272
|
export type GithubSearchData = z.infer<typeof githubSearchDataSchema>;
|
|
273
|
-
/**
|
|
274
|
-
* Shared reference-status vocabulary for PRs and issues. Closed PR and completed issue remain
|
|
275
|
-
* distinct outcomes. Server ranking describes the next action; merge conflict is independent.
|
|
276
|
-
*/
|
|
277
|
-
export declare const referenceStatusSchema: z.ZodEnum<{
|
|
278
|
-
"changes-requested": "changes-requested";
|
|
279
|
-
"checks-failing": "checks-failing";
|
|
280
|
-
"checks-pending": "checks-pending";
|
|
281
|
-
closed: "closed";
|
|
282
|
-
completed: "completed";
|
|
283
|
-
draft: "draft";
|
|
284
|
-
merged: "merged";
|
|
285
|
-
"not-planned": "not-planned";
|
|
286
|
-
open: "open";
|
|
287
|
-
ready: "ready";
|
|
288
|
-
"review-required": "review-required";
|
|
289
|
-
}>;
|
|
290
|
-
export type ReferenceStatus = z.infer<typeof referenceStatusSchema>;
|
|
291
273
|
/**
|
|
292
274
|
* `GET /api/v1/github/ref-status?prs=…&issues=…` — batched status for the PR/issue chips a task
|
|
293
275
|
* table is painting. The additive sibling of `/github/checks`: same cache-behind-the-route shape,
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './health.ts';
|
|
|
11
11
|
export { removedRunnerLabel, removedRunnerMessage } from './runner.ts';
|
|
12
12
|
export * from './runners.ts';
|
|
13
13
|
export * from './runs.ts';
|
|
14
|
+
export * from './create-run-input.ts';
|
|
14
15
|
export * from './queued-messages.ts';
|
|
15
16
|
export * from './task-options.ts';
|
|
16
17
|
export * from './run-labels.ts';
|
|
@@ -19,9 +20,11 @@ export * from './attachments.ts';
|
|
|
19
20
|
export * from './attention.ts';
|
|
20
21
|
export * from './repo.ts';
|
|
21
22
|
export * from './github.ts';
|
|
23
|
+
export * from './reference-status.ts';
|
|
22
24
|
export * from './projects.ts';
|
|
23
25
|
export * from './project-limits.ts';
|
|
24
26
|
export * from './workspace.ts';
|
|
27
|
+
export * from './model-choices.ts';
|
|
25
28
|
export * from './workflows.ts';
|
|
26
29
|
export * from './skills.ts';
|
|
27
30
|
export * from './agent-config.ts';
|