@hearsay-tools/squawk 0.19.0-pr4595.9124 → 0.19.0-pr4597.9122
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/ci-wait/controller.d.ts +7 -7
- package/dist/ci-wait/errors.js +1 -1
- package/dist/ci-wait/errors.js.map +1 -1
- package/dist/core/agent-runner.d.ts +1 -1
- package/dist/core/session-process.d.ts +1 -1
- package/dist/delegation/cli.js +1 -1
- package/dist/delegation/cli.js.map +1 -1
- package/dist/delegation/context.d.ts +1 -1
- package/dist/delegation/context.js +1 -1
- package/dist/delegation/context.js.map +1 -1
- package/dist/delegation/conversation-send.js +1 -1
- package/dist/delegation/conversation-send.js.map +1 -1
- package/dist/delegation/conversations.js +1 -1
- package/dist/delegation/conversations.js.map +1 -1
- package/dist/delegation/effort.js +1 -1
- package/dist/delegation/effort.js.map +1 -1
- package/dist/delegation/execution-settings.js +1 -1
- package/dist/delegation/execution-settings.js.map +1 -1
- package/dist/{core/agent-input-queue.js → delegation/input.js} +2 -2
- package/dist/delegation/input.js.map +1 -0
- package/dist/delegation/policy.d.ts +12 -1
- package/dist/delegation/policy.js +16 -1
- package/dist/delegation/policy.js.map +1 -1
- package/dist/delegation/retry-backoff.js.map +1 -0
- package/dist/delegation/routes.d.ts +15 -15
- package/dist/delegation/routes.js +1 -1
- package/dist/delegation/routes.js.map +1 -1
- package/dist/delegation/scratch-cleanup.js +1 -1
- package/dist/delegation/scratch-cleanup.js.map +1 -1
- package/dist/delegation/service.js +1 -2
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/task-discovery.js +1 -2
- package/dist/delegation/task-discovery.js.map +1 -1
- package/dist/delegation/transport.d.ts +10 -10
- package/dist/delegation/wait-kinds.js +1 -2
- package/dist/delegation/wait-kinds.js.map +1 -1
- package/dist/delegation/worker-cleanup.d.ts +1 -1
- package/dist/delegation/worker-cleanup.js +2 -2
- package/dist/delegation/worker-cleanup.js.map +1 -1
- package/dist/delegation/worker-executions.d.ts +1 -2
- package/dist/delegation/worker-executions.js.map +1 -1
- package/dist/delegation/workspace-kinds.js +1 -1
- package/dist/delegation/workspace-kinds.js.map +1 -1
- package/dist/delegation/workspace.js +1 -1
- package/dist/delegation/workspace.js.map +1 -1
- package/dist/features/hosts/routes.d.ts +44 -44
- package/dist/features/webhooks/routes.d.ts +38 -38
- package/dist/plugin/runner-kit.d.ts +1 -1
- package/dist/preview/dev-server.d.ts +1 -1
- package/dist/preview/host.d.ts +1 -1
- package/dist/runs/run-archive.d.ts +72 -72
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/live-routes.d.ts +6 -6
- package/dist/server/project-run-files.js +1 -1
- package/dist/server/project-run-files.js.map +1 -1
- package/dist/server/projects-routes.d.ts +41 -41
- package/dist/server/runs-routes.d.ts +1007 -1007
- package/dist/server/server.d.ts +58 -58
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/worker-scope/scope.d.ts +10 -0
- package/dist/worker-scope/worker-scopes.d.ts +1 -2
- package/dist/worker-scope/worker-scopes.js.map +1 -1
- package/dist/workflows/continuation-admission.d.ts +72 -72
- package/dist/workflows/grouped-command.d.ts +1 -1
- package/dist/workflows/run/auto-resume.js +1 -1
- package/dist/workflows/run/auto-resume.js.map +1 -1
- package/dist/workflows/run/inbox-claims.js +1 -1
- package/dist/workflows/run/inbox-claims.js.map +1 -1
- package/dist/workflows/run/input-batch.js +1 -1
- package/dist/workflows/run/input-batch.js.map +1 -1
- package/dist/workflows/run/input-delivery.js +2 -2
- package/dist/workflows/run/input-delivery.js.map +1 -1
- package/dist/workflows/run/launch-read-resolver.js +1 -1
- package/dist/workflows/run/launch-read-resolver.js.map +1 -1
- package/dist/workflows/run/resolved-wait-input-batch.js +1 -1
- package/dist/workflows/run/resolved-wait-input-batch.js.map +1 -1
- package/dist/workflows/run/run-cancel.js +1 -1
- package/dist/workflows/run/run-cancel.js.map +1 -1
- package/dist/workflows/run/run-recovery.js +1 -1
- package/dist/workflows/run/run-recovery.js.map +1 -1
- package/dist/workflows/run/run-start.js +1 -1
- package/dist/workflows/run/run-start.js.map +1 -1
- package/dist/workflows/run/turn-nudges.js +1 -1
- package/dist/workflows/run/turn-nudges.js.map +1 -1
- package/dist/workflows/run/wait-engine.d.ts +72 -72
- package/dist/workflows/run/wake-admission.js +1 -1
- package/dist/workflows/run/wake-admission.js.map +1 -1
- package/dist/workflows/run/wake-ledger.js +1 -1
- package/dist/workflows/run/wake-ledger.js.map +1 -1
- package/dist/workflows/run/wake-retries.d.ts +1 -1
- package/dist/workflows/run/wake-retries.js +1 -1
- package/dist/workflows/run/wake-retries.js.map +1 -1
- package/dist/workflows/run/worker-orphans.d.ts +1 -1
- package/dist/workflows/run/worker-orphans.js +1 -1
- package/dist/workflows/run/worker-orphans.js.map +1 -1
- package/dist/workflows/run/worker-questions.js +1 -1
- package/dist/workflows/run/worker-questions.js.map +1 -1
- package/dist/workflows/wait-scope.d.ts +1 -1
- package/dist/workflows/wait-scope.js +2 -2
- package/dist/workflows/wait-scope.js.map +1 -1
- package/dist/worktree-setup.d.ts +1 -1
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-ZXVMfClS.js → accounts-section-CB4vkCsb.js} +1 -1
- package/web/dist/assets/{activity-motion-DTaG0jgp.js → activity-motion-CWVqj0za.js} +1 -1
- package/web/dist/assets/{activity-route-C3iu5mFU.js → activity-route-D_1WO5Z1.js} +1 -1
- package/web/dist/assets/{agent-config-section-9MRfcKQS.js → agent-config-section-DoqyETC4.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-D7g5bTyV.js → agent-defaults-section-OS2L78-e.js} +1 -1
- package/web/dist/assets/{appearance-BJ4j5r5p.js → appearance-CLcSBCp1.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-CNv0Bu3G.js → archive-on-merge-field-C2Byigt_.js} +1 -1
- package/web/dist/assets/{ask-card-CR6DNJF6.js → ask-card-C4IYkE2O.js} +3 -3
- package/web/dist/assets/{automations-route-k4bijucQ.js → automations-route-BZHu5YyF.js} +2 -2
- package/web/dist/assets/{commit-list-_vDQS0ik.js → commit-list-B8WibZ6m.js} +1 -1
- package/web/dist/assets/{diff-C1Iw4dZn.js → diff-B_8aWFPC.js} +2 -2
- package/web/dist/assets/{diff-controls-irO2JNfA.js → diff-controls-QX-jSmyx.js} +1 -1
- package/web/dist/assets/{diff-view-DUluWIDu.js → diff-view-BS1q2trQ.js} +1 -1
- package/web/dist/assets/discard-changes-dialog-_XKURVyg.js +1 -0
- package/web/dist/assets/{file-preview-BXvvN7aY.js → file-preview-Dfpn6tQe.js} +1 -1
- package/web/dist/assets/{git-toolbar-BBLpJRY0.js → git-toolbar-DuUdRzI1.js} +1 -1
- package/web/dist/assets/{github--8WGuRKF.js → github-CPC8EK-y.js} +1 -1
- package/web/dist/assets/{global-activity-route-CA1tk96d.js → global-activity-route-B7WkPq9M.js} +1 -1
- package/web/dist/assets/index-BovBmPyJ.js +21 -0
- package/web/dist/assets/index-FmHk4o3n.css +1 -0
- package/web/dist/assets/{markdown-CtSku8LE.js → markdown-B0yqWHDP.js} +1 -1
- package/web/dist/assets/{option-select-D-dhfwbJ.js → option-select-COXy_9e6.js} +1 -1
- package/web/dist/assets/{preferences-section-BS6aE4jj.js → preferences-section-Bbzs9RW1.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-jsPa_fm_.js → preview-pane-connected-dMTWNhX8.js} +2 -2
- package/web/dist/assets/{project-location-BgTbUmGp.js → project-location-B-O2lQQU.js} +1 -1
- package/web/dist/assets/{projects-section-B6UO2Fsg.js → projects-section-BjffHvrf.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-B82wX3f2.js → prompt-templates-section--SsT2vbo.js} +2 -2
- package/web/dist/assets/{remote-settings-notice-B9SDAJ_X.js → remote-settings-notice-DyWrqTzR.js} +1 -1
- package/web/dist/assets/repo-git-CAX7JKaD.js +1 -0
- package/web/dist/assets/{report-reader-VTSoL24L.js → report-reader-Cu5tL1Ph.js} +1 -1
- package/web/dist/assets/{reports-_Cg433rE.js → reports-D9ouruqt.js} +1 -1
- package/web/dist/assets/{resources-section-10nuK9my.js → resources-section-D21Lq0Jb.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-BO1AQjdK.js → review-notes-drafts-AEBwPEaV.js} +1 -1
- package/web/dist/assets/{review-panel-DC5Vunei.js → review-panel-Cy1EYoBI.js} +1 -1
- package/web/dist/assets/{review-strip-C4IAbY4-.js → review-strip-ClN1AfmS.js} +1 -1
- package/web/dist/assets/run-header-C7L9lspH.js +2 -0
- package/web/dist/assets/{run-header-788Dmvef.css → run-header-Ytho20Wt.css} +1 -1
- package/web/dist/assets/{select-W28UZrYu.js → select-JCfCIElu.js} +1 -1
- package/web/dist/assets/{session-context-section-Bn9C20x6.js → session-context-section-Cbzxxjcu.js} +2 -2
- package/web/dist/assets/{settings-agent-picker-LZFmqPO8.js → settings-agent-picker-1H6fIPXo.js} +1 -1
- package/web/dist/assets/{settings-save-bar-D7CHjcel.js → settings-save-bar-BUi6H-gE.js} +1 -1
- package/web/dist/assets/{settings-shell-CsYs1eAP.js → settings-shell-lj--GRCk.js} +1 -1
- package/web/dist/assets/{sidebar-section-BBih43j5.js → sidebar-section-Cv1ulfXy.js} +1 -1
- package/web/dist/assets/{skills-DwZgc52M.js → skills-DAJzu767.js} +1 -1
- package/web/dist/assets/{task-changes-IYxHw0rk.js → task-changes-GTdXC-dZ.js} +2 -2
- package/web/dist/assets/{task-commits-BiGaHVjY.js → task-commits-6ZKh7FRW.js} +1 -1
- package/web/dist/assets/{task-file-scope-z8doH0Zj.js → task-file-scope-CaJR98S8.js} +1 -1
- package/web/dist/assets/{task-files-DpN6z7aS.js → task-files-DRnSkRoC.js} +1 -1
- package/web/dist/assets/{task-github-item-m0YyjwIK.js → task-github-item-080YJpbP.js} +1 -1
- package/web/dist/assets/{task-thread-COvamr_k.css → task-thread-C70CCqyd.css} +1 -1
- package/web/dist/assets/{task-thread-DRzM4460.js → task-thread-D1bM1I_e.js} +2 -2
- package/web/dist/assets/{thread-state-C-fayyMM.js → thread-state-CmjIQNn7.js} +1 -1
- package/web/dist/assets/{use-finish-run-tE2GMrHz.js → use-finish-run-BE6ugaLE.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-DhwQQtg8.js → use-hand-to-agent-state-CK_1_QCG.js} +1 -1
- package/web/dist/assets/use-path-bases-RiQd3y2m.js +1 -0
- package/web/dist/assets/{workflows-Dzho_Ygn.js → workflows-D9hqYoNT.js} +3 -3
- package/web/dist/assets/{workspace-tools-DX6I2Ks_.js → workspace-tools-DuYt1zu5.js} +1 -1
- package/web/dist/assets/{worktrees-section-C-ccjr9P.js → worktrees-section-JViXzzNC.js} +1 -1
- package/web/dist/index.html +2 -2
- package/dist/core/agent-input-queue.js.map +0 -1
- package/dist/core/delegation-error.d.ts +0 -13
- package/dist/core/delegation-error.js +0 -18
- package/dist/core/delegation-error.js.map +0 -1
- package/dist/core/retry-backoff.js.map +0 -1
- package/dist/core/spawn-scope.d.ts +0 -10
- package/dist/core/spawn-scope.js +0 -2
- package/dist/core/spawn-scope.js.map +0 -1
- package/web/dist/assets/discard-changes-dialog-DycoPvKO.js +0 -1
- package/web/dist/assets/index-CKnh0a_1.js +0 -21
- package/web/dist/assets/index-DpEC_uZL.css +0 -1
- package/web/dist/assets/repo-git-BjHkYOPO.js +0 -1
- package/web/dist/assets/run-header-Do_oAPk-.js +0 -2
- package/web/dist/assets/use-path-bases-DMPVHHPA.js +0 -1
- /package/dist/{core/agent-input-queue.d.ts → delegation/input.d.ts} +0 -0
- /package/dist/{core → delegation}/retry-backoff.d.ts +0 -0
- /package/dist/{core → delegation}/retry-backoff.js +0 -0
|
@@ -100,18 +100,6 @@ export interface ProjectWebhooksRouteDeps {
|
|
|
100
100
|
export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
101
101
|
"/projects/:projectId/webhook/test": {
|
|
102
102
|
$post: {
|
|
103
|
-
output: {
|
|
104
|
-
error: string;
|
|
105
|
-
code?: "no-boot-project" | undefined;
|
|
106
|
-
};
|
|
107
|
-
outputFormat: "json";
|
|
108
|
-
status: 404 | 409;
|
|
109
|
-
input: {
|
|
110
|
-
param: {
|
|
111
|
-
projectId: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
} | {
|
|
115
103
|
output: {
|
|
116
104
|
error: string;
|
|
117
105
|
};
|
|
@@ -136,33 +124,23 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
136
124
|
projectId: string;
|
|
137
125
|
};
|
|
138
126
|
};
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
} & {
|
|
142
|
-
"/projects/:projectId/webhooks": {
|
|
143
|
-
$post: {
|
|
127
|
+
} | {
|
|
144
128
|
output: {
|
|
145
129
|
error: string;
|
|
146
130
|
code?: "no-boot-project" | undefined;
|
|
147
131
|
};
|
|
148
132
|
outputFormat: "json";
|
|
149
|
-
status:
|
|
133
|
+
status: 404 | 409;
|
|
150
134
|
input: {
|
|
151
|
-
json: {
|
|
152
|
-
name: string;
|
|
153
|
-
description?: string | undefined;
|
|
154
|
-
url: string;
|
|
155
|
-
token?: string | undefined;
|
|
156
|
-
tasks?: boolean | undefined;
|
|
157
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
158
|
-
agent?: boolean | undefined;
|
|
159
|
-
};
|
|
160
|
-
} & {
|
|
161
135
|
param: {
|
|
162
136
|
projectId: string;
|
|
163
137
|
};
|
|
164
138
|
};
|
|
165
|
-
}
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
} & {
|
|
142
|
+
"/projects/:projectId/webhooks": {
|
|
143
|
+
$post: {
|
|
166
144
|
output: {
|
|
167
145
|
project: {
|
|
168
146
|
id: string;
|
|
@@ -221,6 +199,28 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
221
199
|
projectId: string;
|
|
222
200
|
};
|
|
223
201
|
};
|
|
202
|
+
} | {
|
|
203
|
+
output: {
|
|
204
|
+
error: string;
|
|
205
|
+
code?: "no-boot-project" | undefined;
|
|
206
|
+
};
|
|
207
|
+
outputFormat: "json";
|
|
208
|
+
status: 400 | 404 | 409 | 500;
|
|
209
|
+
input: {
|
|
210
|
+
json: {
|
|
211
|
+
name: string;
|
|
212
|
+
description?: string | undefined;
|
|
213
|
+
url: string;
|
|
214
|
+
token?: string | undefined;
|
|
215
|
+
tasks?: boolean | undefined;
|
|
216
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
217
|
+
agent?: boolean | undefined;
|
|
218
|
+
};
|
|
219
|
+
} & {
|
|
220
|
+
param: {
|
|
221
|
+
projectId: string;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
224
|
};
|
|
225
225
|
};
|
|
226
226
|
} & {
|
|
@@ -420,13 +420,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
420
420
|
};
|
|
421
421
|
} | {
|
|
422
422
|
output: {
|
|
423
|
-
|
|
424
|
-
status?: number | undefined;
|
|
425
|
-
error?: string | undefined;
|
|
426
|
-
dryRun?: boolean | undefined;
|
|
423
|
+
error: string;
|
|
427
424
|
};
|
|
428
425
|
outputFormat: "json";
|
|
429
|
-
status:
|
|
426
|
+
status: 404;
|
|
430
427
|
input: {
|
|
431
428
|
param: {
|
|
432
429
|
projectId: string;
|
|
@@ -435,11 +432,13 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
435
432
|
};
|
|
436
433
|
} | {
|
|
437
434
|
output: {
|
|
438
|
-
|
|
439
|
-
|
|
435
|
+
ok: boolean;
|
|
436
|
+
status?: number | undefined;
|
|
437
|
+
error?: string | undefined;
|
|
438
|
+
dryRun?: boolean | undefined;
|
|
440
439
|
};
|
|
441
440
|
outputFormat: "json";
|
|
442
|
-
status:
|
|
441
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
443
442
|
input: {
|
|
444
443
|
param: {
|
|
445
444
|
projectId: string;
|
|
@@ -449,9 +448,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
449
448
|
} | {
|
|
450
449
|
output: {
|
|
451
450
|
error: string;
|
|
451
|
+
code?: "no-boot-project" | undefined;
|
|
452
452
|
};
|
|
453
453
|
outputFormat: "json";
|
|
454
|
-
status: 404;
|
|
454
|
+
status: 404 | 409;
|
|
455
455
|
input: {
|
|
456
456
|
param: {
|
|
457
457
|
projectId: string;
|
|
@@ -20,7 +20,7 @@ export { productEnv } from '../core/product-env.ts';
|
|
|
20
20
|
export { agentHomeDir, agentUserHome } from '../paths.ts';
|
|
21
21
|
export type { LeaderState } from '../core/session-process.ts';
|
|
22
22
|
export type { RunnerTimings } from '../core/runner-runtime.ts';
|
|
23
|
-
export type { SpawnScope } from '../
|
|
23
|
+
export type { SpawnScope } from '../worker-scope/scope.ts';
|
|
24
24
|
export type { FileDiff, HookEntryKind, HookStatus, PermissionOption, PlanEntry, PlanStatus, SkillInputIdentity, StopReason, TokenUsage, ToolLocation, ToolStatus, UiAskQuestion, UiAskRequestedEvent, UiEvent, UiHookItem, UiItem, UiMessageItem, UiPermissionRequestedEvent, UiReasoningItem, UiSessionStartedEvent, UiToolItem, UiTurnCompletedEvent, UiUsageUpdatedEvent, } from '../core/ui-events.ts';
|
|
25
25
|
export type { AskQuestion } from '../core/ask.ts';
|
|
26
26
|
export type { RawUsage } from '../core/usage.ts';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from 'node:events';
|
|
2
2
|
import type { PreviewServer } from '../contract/index.js';
|
|
3
|
-
import type { SpawnScope } from '../
|
|
3
|
+
import type { SpawnScope } from '../worker-scope/scope.ts';
|
|
4
4
|
/**
|
|
5
5
|
* Supervisor for one cezar-owned dev server (#781, spec 2026-10-02-live-preview-v1): spawn the
|
|
6
6
|
* registered command in its own process group, TCP-probe until the port answers, and kill the
|
package/dist/preview/host.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { AgentCdpLink, type AgentClient } from './cdp-proxy.ts';
|
|
|
6
6
|
import { DevServer, type DevServerState } from './dev-server.ts';
|
|
7
7
|
import { type PreviewHostLike } from './registration.ts';
|
|
8
8
|
import { type Viewer } from './session.ts';
|
|
9
|
-
import type { SpawnScope } from '../
|
|
9
|
+
import type { SpawnScope } from '../worker-scope/scope.ts';
|
|
10
10
|
/**
|
|
11
11
|
* The workspace-wide preview host (#781, spec 2026-10-02-live-preview-v1): one per server process,
|
|
12
12
|
* because ports are host-global. Keyed by run id, it owns every cezar-started dev server and every
|
|
@@ -233,6 +233,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
233
233
|
deadline: string;
|
|
234
234
|
seconds: number;
|
|
235
235
|
note?: string | undefined;
|
|
236
|
+
} | {
|
|
237
|
+
id: string;
|
|
238
|
+
source: "agent" | "cezar";
|
|
239
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
240
|
+
registeredAt: string;
|
|
241
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
242
|
+
resolvedAt?: string | undefined;
|
|
243
|
+
deliveredAt?: string | undefined;
|
|
244
|
+
cancelledAt?: string | undefined;
|
|
245
|
+
turnId: string;
|
|
246
|
+
kind: "process";
|
|
247
|
+
deadline: string;
|
|
248
|
+
timeoutSeconds: number;
|
|
249
|
+
pid: number;
|
|
250
|
+
startToken?: string | undefined;
|
|
251
|
+
exitFile?: string | undefined;
|
|
252
|
+
note?: string | undefined;
|
|
253
|
+
result?: {
|
|
254
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
255
|
+
observedAt: string;
|
|
256
|
+
exitCode?: number | undefined;
|
|
257
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
258
|
+
diagnostic?: string | undefined;
|
|
259
|
+
} | undefined;
|
|
236
260
|
} | {
|
|
237
261
|
id: string;
|
|
238
262
|
source: "agent" | "cezar";
|
|
@@ -294,30 +318,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
294
318
|
reason: "outcome" | "timeout";
|
|
295
319
|
} | undefined;
|
|
296
320
|
wakeInputId?: string | undefined;
|
|
297
|
-
} | {
|
|
298
|
-
id: string;
|
|
299
|
-
source: "agent" | "cezar";
|
|
300
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
301
|
-
registeredAt: string;
|
|
302
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
303
|
-
resolvedAt?: string | undefined;
|
|
304
|
-
deliveredAt?: string | undefined;
|
|
305
|
-
cancelledAt?: string | undefined;
|
|
306
|
-
turnId: string;
|
|
307
|
-
kind: "process";
|
|
308
|
-
deadline: string;
|
|
309
|
-
timeoutSeconds: number;
|
|
310
|
-
pid: number;
|
|
311
|
-
startToken?: string | undefined;
|
|
312
|
-
exitFile?: string | undefined;
|
|
313
|
-
note?: string | undefined;
|
|
314
|
-
result?: {
|
|
315
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
316
|
-
observedAt: string;
|
|
317
|
-
exitCode?: number | undefined;
|
|
318
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
319
|
-
diagnostic?: string | undefined;
|
|
320
|
-
} | undefined;
|
|
321
321
|
} | {
|
|
322
322
|
id: string;
|
|
323
323
|
source: "agent" | "cezar";
|
|
@@ -446,6 +446,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
446
446
|
deadline: string;
|
|
447
447
|
seconds: number;
|
|
448
448
|
note?: string | undefined;
|
|
449
|
+
} | {
|
|
450
|
+
id: string;
|
|
451
|
+
source: "agent" | "cezar";
|
|
452
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
453
|
+
registeredAt: string;
|
|
454
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
455
|
+
resolvedAt?: string | undefined;
|
|
456
|
+
deliveredAt?: string | undefined;
|
|
457
|
+
cancelledAt?: string | undefined;
|
|
458
|
+
turnId: string;
|
|
459
|
+
kind: "process";
|
|
460
|
+
deadline: string;
|
|
461
|
+
timeoutSeconds: number;
|
|
462
|
+
pid: number;
|
|
463
|
+
startToken?: string | undefined;
|
|
464
|
+
exitFile?: string | undefined;
|
|
465
|
+
note?: string | undefined;
|
|
466
|
+
result?: {
|
|
467
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
468
|
+
observedAt: string;
|
|
469
|
+
exitCode?: number | undefined;
|
|
470
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
471
|
+
diagnostic?: string | undefined;
|
|
472
|
+
} | undefined;
|
|
449
473
|
} | {
|
|
450
474
|
id: string;
|
|
451
475
|
source: "agent" | "cezar";
|
|
@@ -507,30 +531,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
507
531
|
reason: "outcome" | "timeout";
|
|
508
532
|
} | undefined;
|
|
509
533
|
wakeInputId?: string | undefined;
|
|
510
|
-
} | {
|
|
511
|
-
id: string;
|
|
512
|
-
source: "agent" | "cezar";
|
|
513
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
514
|
-
registeredAt: string;
|
|
515
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
516
|
-
resolvedAt?: string | undefined;
|
|
517
|
-
deliveredAt?: string | undefined;
|
|
518
|
-
cancelledAt?: string | undefined;
|
|
519
|
-
turnId: string;
|
|
520
|
-
kind: "process";
|
|
521
|
-
deadline: string;
|
|
522
|
-
timeoutSeconds: number;
|
|
523
|
-
pid: number;
|
|
524
|
-
startToken?: string | undefined;
|
|
525
|
-
exitFile?: string | undefined;
|
|
526
|
-
note?: string | undefined;
|
|
527
|
-
result?: {
|
|
528
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
529
|
-
observedAt: string;
|
|
530
|
-
exitCode?: number | undefined;
|
|
531
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
532
|
-
diagnostic?: string | undefined;
|
|
533
|
-
} | undefined;
|
|
534
534
|
} | {
|
|
535
535
|
id: string;
|
|
536
536
|
source: "agent" | "cezar";
|
|
@@ -658,6 +658,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
658
658
|
deadline: string;
|
|
659
659
|
seconds: number;
|
|
660
660
|
note?: string | undefined;
|
|
661
|
+
} | {
|
|
662
|
+
id: string;
|
|
663
|
+
source: "agent" | "cezar";
|
|
664
|
+
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
665
|
+
registeredAt: string;
|
|
666
|
+
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
667
|
+
resolvedAt?: string | undefined;
|
|
668
|
+
deliveredAt?: string | undefined;
|
|
669
|
+
cancelledAt?: string | undefined;
|
|
670
|
+
turnId: string;
|
|
671
|
+
kind: "process";
|
|
672
|
+
deadline: string;
|
|
673
|
+
timeoutSeconds: number;
|
|
674
|
+
pid: number;
|
|
675
|
+
startToken?: string | undefined;
|
|
676
|
+
exitFile?: string | undefined;
|
|
677
|
+
note?: string | undefined;
|
|
678
|
+
result?: {
|
|
679
|
+
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
680
|
+
observedAt: string;
|
|
681
|
+
exitCode?: number | undefined;
|
|
682
|
+
exitFileNote?: "not-an-exit-code" | undefined;
|
|
683
|
+
diagnostic?: string | undefined;
|
|
684
|
+
} | undefined;
|
|
661
685
|
} | {
|
|
662
686
|
id: string;
|
|
663
687
|
source: "agent" | "cezar";
|
|
@@ -719,30 +743,6 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
719
743
|
reason: "outcome" | "timeout";
|
|
720
744
|
} | undefined;
|
|
721
745
|
wakeInputId?: string | undefined;
|
|
722
|
-
} | {
|
|
723
|
-
id: string;
|
|
724
|
-
source: "agent" | "cezar";
|
|
725
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
726
|
-
registeredAt: string;
|
|
727
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
728
|
-
resolvedAt?: string | undefined;
|
|
729
|
-
deliveredAt?: string | undefined;
|
|
730
|
-
cancelledAt?: string | undefined;
|
|
731
|
-
turnId: string;
|
|
732
|
-
kind: "process";
|
|
733
|
-
deadline: string;
|
|
734
|
-
timeoutSeconds: number;
|
|
735
|
-
pid: number;
|
|
736
|
-
startToken?: string | undefined;
|
|
737
|
-
exitFile?: string | undefined;
|
|
738
|
-
note?: string | undefined;
|
|
739
|
-
result?: {
|
|
740
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
741
|
-
observedAt: string;
|
|
742
|
-
exitCode?: number | undefined;
|
|
743
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
744
|
-
diagnostic?: string | undefined;
|
|
745
|
-
} | undefined;
|
|
746
746
|
} | {
|
|
747
747
|
id: string;
|
|
748
748
|
source: "agent" | "cezar";
|
|
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
|
|
|
58
58
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
59
59
|
"/workspace/activity": {
|
|
60
60
|
$get: {
|
|
61
|
-
output: {
|
|
62
|
-
error: string;
|
|
63
|
-
code?: "invalid_input" | undefined;
|
|
64
|
-
};
|
|
65
|
-
outputFormat: "json";
|
|
66
|
-
status: 400;
|
|
67
|
-
input: {
|
|
68
|
-
query: {
|
|
69
|
-
project?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
output: {
|
|
74
|
-
error: string;
|
|
75
|
-
};
|
|
76
|
-
outputFormat: "json";
|
|
77
|
-
status: 404 | 409 | 503;
|
|
78
|
-
input: {
|
|
79
|
-
query: {
|
|
80
|
-
project?: string | undefined;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
} | {
|
|
84
61
|
output: {
|
|
85
62
|
generatedAt: string;
|
|
86
63
|
projects: {
|
|
@@ -331,6 +308,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
331
308
|
project?: string | undefined;
|
|
332
309
|
};
|
|
333
310
|
};
|
|
311
|
+
} | {
|
|
312
|
+
output: {
|
|
313
|
+
error: string;
|
|
314
|
+
code?: "invalid_input" | undefined;
|
|
315
|
+
};
|
|
316
|
+
outputFormat: "json";
|
|
317
|
+
status: 400;
|
|
318
|
+
input: {
|
|
319
|
+
query: {
|
|
320
|
+
project?: string | undefined;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
} | {
|
|
324
|
+
output: {
|
|
325
|
+
error: string;
|
|
326
|
+
};
|
|
327
|
+
outputFormat: "json";
|
|
328
|
+
status: 404 | 409 | 503;
|
|
329
|
+
input: {
|
|
330
|
+
query: {
|
|
331
|
+
project?: string | undefined;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
334
|
};
|
|
335
335
|
};
|
|
336
336
|
}, "/", "/workspace/activity">;
|
|
@@ -17,12 +17,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
17
17
|
output: {
|
|
18
18
|
generation: string;
|
|
19
19
|
results: ({
|
|
20
|
-
projectId: string;
|
|
21
|
-
runId: string;
|
|
22
|
-
type: "error" | "reset";
|
|
23
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
24
|
-
error: string;
|
|
25
|
-
} | {
|
|
26
20
|
projectId: string;
|
|
27
21
|
runId: string;
|
|
28
22
|
type: "batch";
|
|
@@ -43,6 +37,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
43
37
|
cursor: string;
|
|
44
38
|
afterSeq: number;
|
|
45
39
|
hasMore: boolean;
|
|
40
|
+
} | {
|
|
41
|
+
projectId: string;
|
|
42
|
+
runId: string;
|
|
43
|
+
type: "error" | "reset";
|
|
44
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
45
|
+
error: string;
|
|
46
46
|
})[];
|
|
47
47
|
};
|
|
48
48
|
outputFormat: "json";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { artifactDirectory } from '../task-files/artifact-kind.js';
|
|
2
2
|
import { matchedRoutes } from 'hono/route';
|
|
3
3
|
import { delegationFailure } from '../delegation/routes.js';
|
|
4
|
-
import { DelegationPolicyError } from '../
|
|
4
|
+
import { DelegationPolicyError } from '../delegation/policy.js';
|
|
5
5
|
/** Logical deletion cannot expose a fallback copy. Legacy-only resource cleanup remains allowed. */
|
|
6
6
|
export function protectFallbackRun(kind) {
|
|
7
7
|
return async (context, next) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-run-files.js","sourceRoot":"","sources":["../../src/server/project-run-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAInE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"project-run-files.js","sourceRoot":"","sources":["../../src/server/project-run-files.ts"],"names":[],"mappings":"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"}
|
|
@@ -62,17 +62,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
62
62
|
} & {
|
|
63
63
|
"/projects": {
|
|
64
64
|
$post: {
|
|
65
|
-
output: {
|
|
66
|
-
error: string;
|
|
67
|
-
};
|
|
68
|
-
outputFormat: "json";
|
|
69
|
-
status: 400 | 500;
|
|
70
|
-
input: {
|
|
71
|
-
json: {
|
|
72
|
-
root: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
} | {
|
|
76
65
|
output: {
|
|
77
66
|
project: {
|
|
78
67
|
id: string;
|
|
@@ -103,10 +92,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
103
92
|
agent: boolean;
|
|
104
93
|
}[] | undefined;
|
|
105
94
|
};
|
|
106
|
-
error
|
|
95
|
+
error?: string | undefined;
|
|
107
96
|
};
|
|
108
97
|
outputFormat: "json";
|
|
109
|
-
status:
|
|
98
|
+
status: 200;
|
|
110
99
|
input: {
|
|
111
100
|
json: {
|
|
112
101
|
root: string;
|
|
@@ -143,32 +132,31 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
143
132
|
agent: boolean;
|
|
144
133
|
}[] | undefined;
|
|
145
134
|
};
|
|
146
|
-
error
|
|
135
|
+
error: string;
|
|
147
136
|
};
|
|
148
137
|
outputFormat: "json";
|
|
149
|
-
status:
|
|
138
|
+
status: 409;
|
|
150
139
|
input: {
|
|
151
140
|
json: {
|
|
152
141
|
root: string;
|
|
153
142
|
};
|
|
154
143
|
};
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
} & {
|
|
158
|
-
"/projects/:projectId": {
|
|
159
|
-
$delete: {
|
|
144
|
+
} | {
|
|
160
145
|
output: {
|
|
161
146
|
error: string;
|
|
162
|
-
code?: "no-boot-project" | undefined;
|
|
163
147
|
};
|
|
164
148
|
outputFormat: "json";
|
|
165
|
-
status:
|
|
149
|
+
status: 400 | 500;
|
|
166
150
|
input: {
|
|
167
|
-
|
|
168
|
-
|
|
151
|
+
json: {
|
|
152
|
+
root: string;
|
|
169
153
|
};
|
|
170
154
|
};
|
|
171
|
-
}
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
} & {
|
|
158
|
+
"/projects/:projectId": {
|
|
159
|
+
$delete: {
|
|
172
160
|
output: {
|
|
173
161
|
error: string;
|
|
174
162
|
};
|
|
@@ -213,11 +201,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
213
201
|
projectId: string;
|
|
214
202
|
};
|
|
215
203
|
};
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
} & {
|
|
219
|
-
"/projects/:projectId": {
|
|
220
|
-
$patch: {
|
|
204
|
+
} | {
|
|
221
205
|
output: {
|
|
222
206
|
error: string;
|
|
223
207
|
code?: "no-boot-project" | undefined;
|
|
@@ -225,21 +209,15 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
225
209
|
outputFormat: "json";
|
|
226
210
|
status: 404 | 409;
|
|
227
211
|
input: {
|
|
228
|
-
json: {
|
|
229
|
-
maxParallel?: number | null | undefined;
|
|
230
|
-
tags?: string[] | null | undefined;
|
|
231
|
-
webhook?: {
|
|
232
|
-
url: string;
|
|
233
|
-
token?: string | undefined;
|
|
234
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
235
|
-
} | null | undefined;
|
|
236
|
-
};
|
|
237
|
-
} & {
|
|
238
212
|
param: {
|
|
239
213
|
projectId: string;
|
|
240
214
|
};
|
|
241
215
|
};
|
|
242
|
-
}
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
} & {
|
|
219
|
+
"/projects/:projectId": {
|
|
220
|
+
$patch: {
|
|
243
221
|
output: {
|
|
244
222
|
error: string;
|
|
245
223
|
};
|
|
@@ -330,6 +308,28 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
330
308
|
projectId: string;
|
|
331
309
|
};
|
|
332
310
|
};
|
|
311
|
+
} | {
|
|
312
|
+
output: {
|
|
313
|
+
error: string;
|
|
314
|
+
code?: "no-boot-project" | undefined;
|
|
315
|
+
};
|
|
316
|
+
outputFormat: "json";
|
|
317
|
+
status: 404 | 409;
|
|
318
|
+
input: {
|
|
319
|
+
json: {
|
|
320
|
+
maxParallel?: number | null | undefined;
|
|
321
|
+
tags?: string[] | null | undefined;
|
|
322
|
+
webhook?: {
|
|
323
|
+
url: string;
|
|
324
|
+
token?: string | undefined;
|
|
325
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
326
|
+
} | null | undefined;
|
|
327
|
+
};
|
|
328
|
+
} & {
|
|
329
|
+
param: {
|
|
330
|
+
projectId: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
333
|
};
|
|
334
334
|
};
|
|
335
335
|
} & {
|