@hearsay-tools/squawk 0.19.0-dev.9113 → 0.19.0-dev.9123
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/errors.js +1 -1
- package/dist/ci-wait/errors.js.map +1 -1
- package/dist/{delegation/input.js → core/agent-input-queue.js} +2 -2
- package/dist/core/agent-input-queue.js.map +1 -0
- package/dist/core/agent-runner.d.ts +1 -1
- package/dist/core/delegation-error.d.ts +13 -0
- package/dist/core/delegation-error.js +18 -0
- package/dist/core/delegation-error.js.map +1 -0
- package/dist/core/retry-backoff.js.map +1 -0
- package/dist/core/session-process.d.ts +1 -1
- package/dist/core/spawn-scope.d.ts +10 -0
- package/dist/core/spawn-scope.js +2 -0
- package/dist/core/spawn-scope.js.map +1 -0
- 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/delegation/policy.d.ts +1 -12
- package/dist/delegation/policy.js +1 -16
- package/dist/delegation/policy.js.map +1 -1
- 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 +2 -1
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/task-discovery.js +2 -1
- package/dist/delegation/task-discovery.js.map +1 -1
- package/dist/delegation/transport.d.ts +88 -88
- package/dist/delegation/wait-kinds.js +2 -1
- 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 +2 -1
- 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/automations/automations-routes.d.ts +150 -150
- 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/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/repo-routes.d.ts +52 -52
- package/dist/server/runs-routes.d.ts +666 -666
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/dist/worker-scope/scope.d.ts +0 -10
- package/dist/worker-scope/worker-scopes.d.ts +2 -1
- 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/dist/delegation/input.js.map +0 -1
- package/dist/delegation/retry-backoff.js.map +0 -1
- /package/dist/{delegation/input.d.ts → core/agent-input-queue.d.ts} +0 -0
- /package/dist/{delegation → core}/retry-backoff.d.ts +0 -0
- /package/dist/{delegation → core}/retry-backoff.js +0 -0
|
@@ -233,30 +233,6 @@ 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;
|
|
260
236
|
} | {
|
|
261
237
|
id: string;
|
|
262
238
|
source: "agent" | "cezar";
|
|
@@ -318,6 +294,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
318
294
|
reason: "outcome" | "timeout";
|
|
319
295
|
} | undefined;
|
|
320
296
|
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,30 +446,6 @@ 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;
|
|
473
449
|
} | {
|
|
474
450
|
id: string;
|
|
475
451
|
source: "agent" | "cezar";
|
|
@@ -531,6 +507,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
531
507
|
reason: "outcome" | "timeout";
|
|
532
508
|
} | undefined;
|
|
533
509
|
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,30 +658,6 @@ 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;
|
|
685
661
|
} | {
|
|
686
662
|
id: string;
|
|
687
663
|
source: "agent" | "cezar";
|
|
@@ -743,6 +719,30 @@ export declare class RunArchiveTopic implements RunArchive, RunCompletionActions
|
|
|
743
719
|
reason: "outcome" | "timeout";
|
|
744
720
|
} | undefined;
|
|
745
721
|
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";
|
|
@@ -17,6 +17,12 @@ 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
|
+
} | {
|
|
20
26
|
projectId: string;
|
|
21
27
|
runId: string;
|
|
22
28
|
type: "batch";
|
|
@@ -37,12 +43,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
|
|
|
37
43
|
cursor: string;
|
|
38
44
|
afterSeq: number;
|
|
39
45
|
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 '../delegation
|
|
4
|
+
import { DelegationPolicyError } from '../core/delegation-error.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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"}
|
|
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
31
31
|
error: string;
|
|
32
32
|
};
|
|
33
33
|
outputFormat: "json";
|
|
34
|
-
status:
|
|
34
|
+
status: 409;
|
|
35
35
|
input: {
|
|
36
36
|
json: {
|
|
37
37
|
target: string;
|
|
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 400;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -138,11 +138,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
140
|
output: {
|
|
141
|
-
|
|
142
|
-
worktreeReclaimedAt: string;
|
|
141
|
+
error: string;
|
|
143
142
|
};
|
|
144
143
|
outputFormat: "json";
|
|
145
|
-
status:
|
|
144
|
+
status: 404 | 409;
|
|
146
145
|
input: {
|
|
147
146
|
param: {
|
|
148
147
|
runId: string;
|
|
@@ -154,10 +153,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
154
153
|
};
|
|
155
154
|
} | {
|
|
156
155
|
output: {
|
|
157
|
-
|
|
156
|
+
runId: string;
|
|
157
|
+
worktreeReclaimedAt: string;
|
|
158
158
|
};
|
|
159
159
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
160
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
163
|
runId: string;
|
|
@@ -296,18 +296,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
296
296
|
"/repo/branches/delete": {
|
|
297
297
|
$post: {
|
|
298
298
|
output: {
|
|
299
|
-
|
|
299
|
+
error: string;
|
|
300
300
|
refused: {
|
|
301
301
|
name: string;
|
|
302
302
|
reason: string;
|
|
303
303
|
}[];
|
|
304
|
-
dropped?: {
|
|
305
|
-
sha: string;
|
|
306
|
-
subject: string;
|
|
307
|
-
}[] | undefined;
|
|
308
304
|
};
|
|
309
305
|
outputFormat: "json";
|
|
310
|
-
status:
|
|
306
|
+
status: 409;
|
|
311
307
|
input: {
|
|
312
308
|
json: {
|
|
313
309
|
names: string[];
|
|
@@ -316,14 +312,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
316
312
|
};
|
|
317
313
|
} | {
|
|
318
314
|
output: {
|
|
319
|
-
|
|
315
|
+
deleted: string[];
|
|
320
316
|
refused: {
|
|
321
317
|
name: string;
|
|
322
318
|
reason: string;
|
|
323
319
|
}[];
|
|
320
|
+
dropped?: {
|
|
321
|
+
sha: string;
|
|
322
|
+
subject: string;
|
|
323
|
+
}[] | undefined;
|
|
324
324
|
};
|
|
325
325
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
326
|
+
status: 200;
|
|
327
327
|
input: {
|
|
328
328
|
json: {
|
|
329
329
|
names: string[];
|
|
@@ -344,6 +344,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
+
output: string;
|
|
348
|
+
outputFormat: "text";
|
|
349
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
+
input: {
|
|
351
|
+
query: {
|
|
352
|
+
structured?: string | undefined;
|
|
353
|
+
};
|
|
354
|
+
} & {
|
|
355
|
+
param: {
|
|
356
|
+
sha: string;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
} | {
|
|
347
360
|
output: {
|
|
348
361
|
error: string;
|
|
349
362
|
code?: "invalid_input" | undefined;
|
|
@@ -407,19 +420,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
407
420
|
sha: string;
|
|
408
421
|
};
|
|
409
422
|
};
|
|
410
|
-
} | {
|
|
411
|
-
output: string;
|
|
412
|
-
outputFormat: "text";
|
|
413
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
-
input: {
|
|
415
|
-
query: {
|
|
416
|
-
structured?: string | undefined;
|
|
417
|
-
};
|
|
418
|
-
} & {
|
|
419
|
-
param: {
|
|
420
|
-
sha: string;
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
@@ -442,10 +442,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
442
442
|
};
|
|
443
443
|
} | {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
445
|
+
type: 'file';
|
|
446
|
+
path: string;
|
|
447
|
+
size: number;
|
|
448
|
+
binary: boolean;
|
|
449
|
+
tooLarge: boolean;
|
|
450
|
+
content?: string | undefined;
|
|
446
451
|
};
|
|
447
452
|
outputFormat: "json";
|
|
448
|
-
status:
|
|
453
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
449
454
|
input: {
|
|
450
455
|
param: {
|
|
451
456
|
sha: string;
|
|
@@ -457,15 +462,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
457
462
|
};
|
|
458
463
|
} | {
|
|
459
464
|
output: {
|
|
460
|
-
|
|
461
|
-
path: string;
|
|
462
|
-
size: number;
|
|
463
|
-
binary: boolean;
|
|
464
|
-
tooLarge: boolean;
|
|
465
|
-
content?: string | undefined;
|
|
465
|
+
error: string;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: 409;
|
|
469
469
|
input: {
|
|
470
470
|
param: {
|
|
471
471
|
sha: string;
|
|
@@ -493,10 +493,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
493
493
|
};
|
|
494
494
|
} | {
|
|
495
495
|
output: {
|
|
496
|
-
|
|
496
|
+
type: 'file';
|
|
497
|
+
path: string;
|
|
498
|
+
size: number;
|
|
499
|
+
binary: boolean;
|
|
500
|
+
tooLarge: boolean;
|
|
501
|
+
content?: string | undefined;
|
|
497
502
|
};
|
|
498
503
|
outputFormat: "json";
|
|
499
|
-
status:
|
|
504
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
500
505
|
input: {
|
|
501
506
|
query: {
|
|
502
507
|
path: string | string[];
|
|
@@ -504,15 +509,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
504
509
|
};
|
|
505
510
|
} | {
|
|
506
511
|
output: {
|
|
507
|
-
|
|
508
|
-
path: string;
|
|
509
|
-
size: number;
|
|
510
|
-
binary: boolean;
|
|
511
|
-
tooLarge: boolean;
|
|
512
|
-
content?: string | undefined;
|
|
512
|
+
error: string;
|
|
513
513
|
};
|
|
514
514
|
outputFormat: "json";
|
|
515
|
-
status:
|
|
515
|
+
status: 409;
|
|
516
516
|
input: {
|
|
517
517
|
query: {
|
|
518
518
|
path: string | string[];
|
|
@@ -578,12 +578,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
578
578
|
"/repo/pull": {
|
|
579
579
|
$post: {
|
|
580
580
|
output: {
|
|
581
|
-
|
|
582
|
-
pulled: true;
|
|
583
|
-
summary: string;
|
|
581
|
+
error: string;
|
|
584
582
|
};
|
|
585
583
|
outputFormat: "json";
|
|
586
|
-
status:
|
|
584
|
+
status: 409;
|
|
587
585
|
input: {
|
|
588
586
|
json: {
|
|
589
587
|
branch?: string | undefined;
|
|
@@ -592,10 +590,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
592
590
|
};
|
|
593
591
|
} | {
|
|
594
592
|
output: {
|
|
595
|
-
|
|
593
|
+
branch: string;
|
|
594
|
+
pulled: true;
|
|
595
|
+
summary: string;
|
|
596
596
|
};
|
|
597
597
|
outputFormat: "json";
|
|
598
|
-
status:
|
|
598
|
+
status: 200;
|
|
599
599
|
input: {
|
|
600
600
|
json: {
|
|
601
601
|
branch?: string | undefined;
|