@wjarka/cezarion 0.17.0-dev.5487 → 0.17.0-dev.5501

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.
Files changed (62) hide show
  1. package/dist/ci-wait/controller.d.ts +37 -37
  2. package/dist/server/run-checkout.d.ts +29 -0
  3. package/dist/server/run-checkout.js +31 -0
  4. package/dist/server/run-checkout.js.map +1 -0
  5. package/dist/server/self-update-routes.d.ts +19 -19
  6. package/dist/server/server.d.ts +12 -168
  7. package/dist/server/server.js +28 -54
  8. package/dist/server/server.js.map +1 -1
  9. package/dist/workflows/run/compose.d.ts +0 -5
  10. package/dist/workflows/run/compose.js +32 -46
  11. package/dist/workflows/run/compose.js.map +1 -1
  12. package/dist/workflows/run/family-reconciler.d.ts +2 -6
  13. package/dist/workflows/run/family-reconciler.js +7 -9
  14. package/dist/workflows/run/family-reconciler.js.map +1 -1
  15. package/dist/workflows/run/human-waits.d.ts +0 -2
  16. package/dist/workflows/run/human-waits.js +10 -7
  17. package/dist/workflows/run/human-waits.js.map +1 -1
  18. package/dist/workflows/run/input-delivery.d.ts +2 -2
  19. package/dist/workflows/run/input-delivery.js +2 -2
  20. package/dist/workflows/run/input-delivery.js.map +1 -1
  21. package/dist/workflows/run/run-cancel.d.ts +4 -4
  22. package/dist/workflows/run/run-cancel.js +5 -5
  23. package/dist/workflows/run/run-cancel.js.map +1 -1
  24. package/dist/workflows/run/run-finish.d.ts +2 -2
  25. package/dist/workflows/run/run-finish.js +1 -1
  26. package/dist/workflows/run/run-finish.js.map +1 -1
  27. package/dist/workflows/run/run-recovery.d.ts +0 -4
  28. package/dist/workflows/run/run-recovery.js +10 -8
  29. package/dist/workflows/run/run-recovery.js.map +1 -1
  30. package/dist/workflows/run/step-loop.d.ts +2 -2
  31. package/dist/workflows/run/step-loop.js +1 -1
  32. package/dist/workflows/run/step-loop.js.map +1 -1
  33. package/dist/workflows/run/subagent-waits.d.ts +1 -6
  34. package/dist/workflows/run/subagent-waits.js +5 -17
  35. package/dist/workflows/run/subagent-waits.js.map +1 -1
  36. package/dist/workflows/run/turn-settler.d.ts +0 -2
  37. package/dist/workflows/run/turn-settler.js +3 -6
  38. package/dist/workflows/run/turn-settler.js.map +1 -1
  39. package/dist/workflows/run/wait-engine.d.ts +1186 -28
  40. package/dist/workflows/run/wait-engine.js +399 -50
  41. package/dist/workflows/run/wait-engine.js.map +1 -1
  42. package/dist/workflows/run/wait-kinds.d.ts +5 -3
  43. package/dist/workflows/run/wait-kinds.js +5 -6
  44. package/dist/workflows/run/wait-kinds.js.map +1 -1
  45. package/dist/workflows/run/wait-registry.d.ts +5 -7
  46. package/dist/workflows/run/wait-registry.js +61 -60
  47. package/dist/workflows/run/wait-registry.js.map +1 -1
  48. package/dist/workflows/run/wake-admission.d.ts +2 -4
  49. package/dist/workflows/run/wake-admission.js +4 -4
  50. package/dist/workflows/run/wake-admission.js.map +1 -1
  51. package/dist/workflows/run.js +3 -5
  52. package/dist/workflows/run.js.map +1 -1
  53. package/dist/workflows/wait-scope.d.ts +0 -5
  54. package/dist/workflows/wait-scope.js +1 -5
  55. package/dist/workflows/wait-scope.js.map +1 -1
  56. package/package.json +3 -3
  57. package/dist/workflows/run/wait-cancellation.d.ts +0 -34
  58. package/dist/workflows/run/wait-cancellation.js +0 -54
  59. package/dist/workflows/run/wait-cancellation.js.map +0 -1
  60. package/dist/workflows/run/wait-resolve.d.ts +0 -1139
  61. package/dist/workflows/run/wait-resolve.js +0 -313
  62. package/dist/workflows/run/wait-resolve.js.map +0 -1
@@ -288,11 +288,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
288
288
  "/api/v1/tools/ask": {
289
289
  $post: {
290
290
  output: {
291
- code: 'capability_revoked';
291
+ ok: false;
292
+ code: 'unavailable';
292
293
  message: string;
293
294
  };
294
295
  outputFormat: "json";
295
- status: 401;
296
+ status: import("hono/utils/http-status").ContentfulStatusCode;
296
297
  input: {
297
298
  json: {
298
299
  questions: {
@@ -310,12 +311,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
310
311
  };
311
312
  } | {
312
313
  output: {
313
- ok: false;
314
- code: 'unavailable';
314
+ code: 'capability_revoked';
315
315
  message: string;
316
316
  };
317
317
  outputFormat: "json";
318
- status: import("hono/utils/http-status").ContentfulStatusCode;
318
+ status: 401;
319
319
  input: {
320
320
  json: {
321
321
  questions: {
@@ -383,11 +383,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
383
383
  "/api/v1/tools/cancel-wait": {
384
384
  $post: {
385
385
  output: {
386
- code: 'capability_revoked';
386
+ cancelled: false;
387
+ code: 'unavailable';
387
388
  message: string;
388
389
  };
389
390
  outputFormat: "json";
390
- status: 401;
391
+ status: import("hono/utils/http-status").ContentfulStatusCode;
391
392
  input: {
392
393
  json: {
393
394
  wait_id: string;
@@ -395,12 +396,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
395
396
  };
396
397
  } | {
397
398
  output: {
398
- cancelled: false;
399
- code: 'unavailable';
399
+ code: 'capability_revoked';
400
400
  message: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: import("hono/utils/http-status").ContentfulStatusCode;
403
+ status: 401;
404
404
  input: {
405
405
  json: {
406
406
  wait_id: string;
@@ -448,11 +448,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
448
448
  "/api/v1/tools/done": {
449
449
  $post: {
450
450
  output: {
451
- code: 'capability_revoked';
451
+ ok: false;
452
+ code: 'unavailable';
452
453
  message: string;
453
454
  };
454
455
  outputFormat: "json";
455
- status: 401;
456
+ status: import("hono/utils/http-status").ContentfulStatusCode;
456
457
  input: {
457
458
  json: {
458
459
  summary?: string | undefined;
@@ -460,12 +461,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
460
461
  };
461
462
  } | {
462
463
  output: {
463
- ok: false;
464
- code: 'unavailable';
464
+ code: 'capability_revoked';
465
465
  message: string;
466
466
  };
467
467
  outputFormat: "json";
468
- status: import("hono/utils/http-status").ContentfulStatusCode;
468
+ status: 401;
469
469
  input: {
470
470
  json: {
471
471
  summary?: string | undefined;
@@ -533,11 +533,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
533
533
  "/api/v1/tools/preview-stop": {
534
534
  $post: {
535
535
  output: {
536
- code: 'capability_revoked';
536
+ ok: boolean;
537
+ code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
537
538
  message: string;
539
+ hint: string;
538
540
  };
539
541
  outputFormat: "json";
540
- status: 401;
542
+ status: import("hono/utils/http-status").ContentfulStatusCode;
541
543
  input: {
542
544
  json: {
543
545
  port: number;
@@ -546,13 +548,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
546
548
  };
547
549
  } | {
548
550
  output: {
549
- ok: boolean;
550
- code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
551
+ code: 'capability_revoked';
551
552
  message: string;
552
- hint: string;
553
553
  };
554
554
  outputFormat: "json";
555
- status: import("hono/utils/http-status").ContentfulStatusCode;
555
+ status: 401;
556
556
  input: {
557
557
  json: {
558
558
  port: number;
@@ -565,11 +565,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
565
565
  "/api/v1/tools/preview-serve": {
566
566
  $post: {
567
567
  output: {
568
- code: 'capability_revoked';
568
+ ok: boolean;
569
+ code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
569
570
  message: string;
571
+ hint: string;
570
572
  };
571
573
  outputFormat: "json";
572
- status: 401;
574
+ status: import("hono/utils/http-status").ContentfulStatusCode;
573
575
  input: {
574
576
  json: {
575
577
  command: string;
@@ -581,13 +583,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
581
583
  };
582
584
  } | {
583
585
  output: {
584
- ok: boolean;
585
- code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
586
+ code: 'capability_revoked';
586
587
  message: string;
587
- hint: string;
588
588
  };
589
589
  outputFormat: "json";
590
- status: import("hono/utils/http-status").ContentfulStatusCode;
590
+ status: 401;
591
591
  input: {
592
592
  json: {
593
593
  command: string;
@@ -603,11 +603,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
603
603
  "/api/v1/tools/schedule-task": {
604
604
  $post: {
605
605
  output: {
606
- code: 'capability_revoked';
606
+ ok: false;
607
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
607
608
  message: string;
608
609
  };
609
610
  outputFormat: "json";
610
- status: 401;
611
+ status: import("hono/utils/http-status").ContentfulStatusCode;
611
612
  input: {
612
613
  json: {
613
614
  at?: string | undefined;
@@ -624,12 +625,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
624
625
  };
625
626
  } | {
626
627
  output: {
627
- ok: false;
628
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
628
+ code: 'capability_revoked';
629
629
  message: string;
630
630
  };
631
631
  outputFormat: "json";
632
- status: import("hono/utils/http-status").ContentfulStatusCode;
632
+ status: 401;
633
633
  input: {
634
634
  json: {
635
635
  at?: string | undefined;
@@ -684,11 +684,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
684
684
  "/api/v1/tools/scheduled-tasks": {
685
685
  $post: {
686
686
  output: {
687
- code: 'capability_revoked';
687
+ ok: false;
688
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
688
689
  message: string;
689
690
  };
690
691
  outputFormat: "json";
691
- status: 401;
692
+ status: import("hono/utils/http-status").ContentfulStatusCode;
692
693
  input: {
693
694
  json: {
694
695
  at?: string | undefined;
@@ -721,12 +722,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
721
722
  };
722
723
  } | {
723
724
  output: {
724
- ok: false;
725
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
725
+ code: 'capability_revoked';
726
726
  message: string;
727
727
  };
728
728
  outputFormat: "json";
729
- status: import("hono/utils/http-status").ContentfulStatusCode;
729
+ status: 401;
730
730
  input: {
731
731
  json: {
732
732
  at?: string | undefined;
@@ -0,0 +1,29 @@
1
+ import type { RunManager } from '../workflows/run.ts';
2
+ import type { RunRecord, RunStore } from '../runs/store.ts';
3
+ export declare const worktreeOf: (run: RunRecord) => string | null;
4
+ export declare const workingDirectoryOf: (run: RunRecord, repoRoot: string) => string | null;
5
+ export declare const NO_WORKTREE = "no worktree \u2014 this task ran directly in the repo working tree";
6
+ export type CheckoutIntent = 'read' | 'mutate' | 'publish' | 'remove' | 'open';
7
+ export interface RunCheckoutHost {
8
+ root: string;
9
+ store: Pick<RunStore, 'getRun' | 'updateRun' | 'sourceDataDir' | 'writeRefusal' | 'fallbackDeleteError' | 'canDeleteRun'>;
10
+ manager: Pick<RunManager, 'isActive' | 'claimForPublish' | 'claimWorktreeReclaim'>;
11
+ }
12
+ type ReadDirectoryRule = 'working-directory' | 'existing-worktree' | 'recorded-path-or-root';
13
+ interface ReadOptions<Rule extends ReadDirectoryRule> {
14
+ checksAutosave: boolean;
15
+ directory: Rule;
16
+ }
17
+ type CheckoutRefusal = {
18
+ status: 404 | 409;
19
+ body: {
20
+ error: string;
21
+ };
22
+ };
23
+ type ReadHandle<Rule extends ReadDirectoryRule> = {
24
+ run: RunRecord;
25
+ directory: Rule extends 'existing-worktree' ? string | null : string;
26
+ };
27
+ /** Read admission is synchronous and never claims, adopts or rebuilds a checkout. */
28
+ export declare function runCheckout<Rule extends ReadDirectoryRule>(host: RunCheckoutHost, id: string, _intent: Extract<CheckoutIntent, 'read'>, options: ReadOptions<Rule>): CheckoutRefusal | ReadHandle<Rule>;
29
+ export {};
@@ -0,0 +1,31 @@
1
+ import { existsSync } from 'node:fs';
2
+ import { autosaveCleanupBlocker } from '../autosave-cleanup.js';
3
+ // ---- session git view (redesign R5 Step 1.2 — §"Git/session API additions").
4
+ // Structured sibling of the text-blob /diff route in server.ts (which stays untouched —
5
+ // protected surface). Isolated runs read their worktree; worktree-off runs
6
+ // read the repo checkout they executed in. Every predictable git failure
7
+ // degrades to 409 + human-readable reason, 404 only for unknown ids.
8
+ export const worktreeOf = (run) => run.worktreePath && existsSync(run.worktreePath) ? run.worktreePath : null;
9
+ export const workingDirectoryOf = (run, repoRoot) => run.worktree === false
10
+ ? repoRoot
11
+ : worktreeOf(run);
12
+ export const NO_WORKTREE = 'no worktree — this task ran directly in the repo working tree';
13
+ export function runCheckout({ root, store }, id, _intent, options) {
14
+ const run = store.getRun(id);
15
+ if (!run)
16
+ return { status: 404, body: { error: 'not found' } };
17
+ if (options.checksAutosave) {
18
+ const blocker = autosaveCleanupBlocker(store.sourceDataDir(run.id), run.id);
19
+ if (blocker)
20
+ return { status: 409, body: { error: blocker } };
21
+ }
22
+ if (options.directory === 'recorded-path-or-root') {
23
+ return { run, directory: run.worktreePath ?? root };
24
+ }
25
+ const directory = options.directory === 'existing-worktree' ? worktreeOf(run) : workingDirectoryOf(run, root);
26
+ if (!directory && options.directory === 'working-directory') {
27
+ return { status: 409, body: { error: NO_WORKTREE } };
28
+ }
29
+ return { run, directory };
30
+ }
31
+ //# sourceMappingURL=run-checkout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-checkout.js","sourceRoot":"","sources":["../../src/server/run-checkout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIhE,+EAA+E;AAC/E,wFAAwF;AACxF,2EAA2E;AAC3E,yEAAyE;AACzE,qEAAqE;AACrE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,GAAc,EAAiB,EAAE,CAC1D,GAAG,CAAC,YAAY,IAAI,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC;AAC7E,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,GAAc,EAAE,QAAgB,EAAiB,EAAE,CACpF,GAAG,CAAC,QAAQ,KAAK,KAAK;IACpB,CAAC,CAAC,QAAQ;IACV,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;AACtB,MAAM,CAAC,MAAM,WAAW,GAAG,+DAA+D,CAAC;AA2B3F,MAAM,UAAU,WAAW,CACzB,EAAE,IAAI,EAAE,KAAK,EAAmB,EAChC,EAAU,EACV,OAAwC,EACxC,OAAuC;IAEvC,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC7B,IAAI,CAAC,GAAG;QAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,CAAC;IAC/D,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;QAC3B,MAAM,OAAO,GAAG,sBAAsB,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;QAC5E,IAAI,OAAO;YAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC;IAChE,CAAC;IACD,IAAI,OAAO,CAAC,SAAS,KAAK,uBAAuB,EAAE,CAAC;QAClD,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC,YAAY,IAAI,IAAI,EAAE,CAAC;IACtD,CAAC;IACD,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,KAAK,mBAAmB,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IAC9G,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,SAAS,KAAK,mBAAmB,EAAE,CAAC;QAC5D,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,CAAC;IACvD,CAAC;IACD,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAC5B,CAAC"}
@@ -184,17 +184,6 @@ stores: () => readonly RunStore[]): import("hono/hono-base").HonoBase<import("ho
184
184
  } & {
185
185
  "/workspace/self-update/channel": {
186
186
  $put: {
187
- output: {
188
- error: string;
189
- };
190
- outputFormat: "json";
191
- status: 500;
192
- input: {
193
- json: {
194
- channel: "development" | "nightly" | "stable";
195
- };
196
- };
197
- } | {
198
187
  output: {
199
188
  version: string;
200
189
  installKind: "checkout" | "global-npm" | "managed" | "npx" | "unknown";
@@ -241,22 +230,22 @@ stores: () => readonly RunStore[]): import("hono/hono-base").HonoBase<import("ho
241
230
  channel: "development" | "nightly" | "stable";
242
231
  };
243
232
  };
244
- };
245
- };
246
- } & {
247
- "/workspace/self-update/apply": {
248
- $post: {
233
+ } | {
249
234
  output: {
250
235
  error: string;
251
236
  };
252
237
  outputFormat: "json";
253
- status: 409;
238
+ status: 500;
254
239
  input: {
255
240
  json: {
256
- version: string;
241
+ channel: "development" | "nightly" | "stable";
257
242
  };
258
243
  };
259
- } | {
244
+ };
245
+ };
246
+ } & {
247
+ "/workspace/self-update/apply": {
248
+ $post: {
260
249
  output: {
261
250
  version: string;
262
251
  installKind: "checkout" | "global-npm" | "managed" | "npx" | "unknown";
@@ -303,6 +292,17 @@ stores: () => readonly RunStore[]): import("hono/hono-base").HonoBase<import("ho
303
292
  version: string;
304
293
  };
305
294
  };
295
+ } | {
296
+ output: {
297
+ error: string;
298
+ };
299
+ outputFormat: "json";
300
+ status: 409;
301
+ input: {
302
+ json: {
303
+ version: string;
304
+ };
305
+ };
306
306
  };
307
307
  };
308
308
  }, "/", "/workspace/self-update/apply">;
@@ -18789,18 +18789,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18789
18789
  error: string;
18790
18790
  };
18791
18791
  outputFormat: "json";
18792
- status: 404;
18793
- input: {
18794
- param: {
18795
- id: string;
18796
- };
18797
- };
18798
- } | {
18799
- output: {
18800
- error: string;
18801
- };
18802
- outputFormat: "json";
18803
- status: 409;
18792
+ status: 404 | 409;
18804
18793
  input: {
18805
18794
  param: {
18806
18795
  id: string;
@@ -18815,18 +18804,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18815
18804
  error: string;
18816
18805
  };
18817
18806
  outputFormat: "json";
18818
- status: 404;
18819
- input: {
18820
- param: {
18821
- id: string;
18822
- };
18823
- };
18824
- } | {
18825
- output: {
18826
- error: string;
18827
- };
18828
- outputFormat: "json";
18829
- status: 409;
18807
+ status: 404 | 409;
18830
18808
  input: {
18831
18809
  param: {
18832
18810
  id: string;
@@ -18870,18 +18848,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18870
18848
  error: string;
18871
18849
  };
18872
18850
  outputFormat: "json";
18873
- status: 404;
18874
- input: {
18875
- param: {
18876
- id: string;
18877
- };
18878
- };
18879
- } | {
18880
- output: {
18881
- error: string;
18882
- };
18883
- outputFormat: "json";
18884
- status: 409;
18851
+ status: 404 | 409;
18885
18852
  input: {
18886
18853
  param: {
18887
18854
  id: string;
@@ -18912,20 +18879,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18912
18879
  error: string;
18913
18880
  };
18914
18881
  outputFormat: "json";
18915
- status: 404;
18916
- input: {
18917
- param: {
18918
- id: string;
18919
- } & {
18920
- sha: string;
18921
- };
18922
- };
18923
- } | {
18924
- output: {
18925
- error: string;
18926
- };
18927
- outputFormat: "json";
18928
- status: 409;
18882
+ status: 404 | 409;
18929
18883
  input: {
18930
18884
  param: {
18931
18885
  id: string;
@@ -19004,23 +18958,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19004
18958
  error: string;
19005
18959
  };
19006
18960
  outputFormat: "json";
19007
- status: 404;
19008
- input: {
19009
- param: {
19010
- id: string;
19011
- };
19012
- } & {
19013
- query: {
19014
- path: string | string[];
19015
- raw?: "1" | undefined;
19016
- };
19017
- };
19018
- } | {
19019
- output: {
19020
- error: string;
19021
- };
19022
- outputFormat: "json";
19023
- status: 409;
18961
+ status: 404 | 409;
19024
18962
  input: {
19025
18963
  param: {
19026
18964
  id: string;
@@ -19351,23 +19289,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19351
19289
  error: string;
19352
19290
  };
19353
19291
  outputFormat: "json";
19354
- status: 404;
19355
- input: {
19356
- query: {
19357
- path?: string | undefined;
19358
- raw?: string | undefined;
19359
- };
19360
- } & {
19361
- param: {
19362
- id: string;
19363
- };
19364
- };
19365
- } | {
19366
- output: {
19367
- error: string;
19368
- };
19369
- outputFormat: "json";
19370
- status: 409;
19292
+ status: 404 | 409;
19371
19293
  input: {
19372
19294
  query: {
19373
19295
  path?: string | undefined;
@@ -34837,18 +34759,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34837
34759
  error: string;
34838
34760
  };
34839
34761
  outputFormat: "json";
34840
- status: 404;
34841
- input: {
34842
- param: {
34843
- id: string;
34844
- };
34845
- };
34846
- } | {
34847
- output: {
34848
- error: string;
34849
- };
34850
- outputFormat: "json";
34851
- status: 409;
34762
+ status: 404 | 409;
34852
34763
  input: {
34853
34764
  param: {
34854
34765
  id: string;
@@ -34863,18 +34774,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34863
34774
  error: string;
34864
34775
  };
34865
34776
  outputFormat: "json";
34866
- status: 404;
34867
- input: {
34868
- param: {
34869
- id: string;
34870
- };
34871
- };
34872
- } | {
34873
- output: {
34874
- error: string;
34875
- };
34876
- outputFormat: "json";
34877
- status: 409;
34777
+ status: 404 | 409;
34878
34778
  input: {
34879
34779
  param: {
34880
34780
  id: string;
@@ -34918,18 +34818,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34918
34818
  error: string;
34919
34819
  };
34920
34820
  outputFormat: "json";
34921
- status: 404;
34922
- input: {
34923
- param: {
34924
- id: string;
34925
- };
34926
- };
34927
- } | {
34928
- output: {
34929
- error: string;
34930
- };
34931
- outputFormat: "json";
34932
- status: 409;
34821
+ status: 404 | 409;
34933
34822
  input: {
34934
34823
  param: {
34935
34824
  id: string;
@@ -34960,20 +34849,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34960
34849
  error: string;
34961
34850
  };
34962
34851
  outputFormat: "json";
34963
- status: 404;
34964
- input: {
34965
- param: {
34966
- id: string;
34967
- } & {
34968
- sha: string;
34969
- };
34970
- };
34971
- } | {
34972
- output: {
34973
- error: string;
34974
- };
34975
- outputFormat: "json";
34976
- status: 409;
34852
+ status: 404 | 409;
34977
34853
  input: {
34978
34854
  param: {
34979
34855
  id: string;
@@ -35052,23 +34928,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35052
34928
  error: string;
35053
34929
  };
35054
34930
  outputFormat: "json";
35055
- status: 404;
35056
- input: {
35057
- param: {
35058
- id: string;
35059
- };
35060
- } & {
35061
- query: {
35062
- path: string | string[];
35063
- raw?: "1" | undefined;
35064
- };
35065
- };
35066
- } | {
35067
- output: {
35068
- error: string;
35069
- };
35070
- outputFormat: "json";
35071
- status: 409;
34931
+ status: 404 | 409;
35072
34932
  input: {
35073
34933
  param: {
35074
34934
  id: string;
@@ -35399,23 +35259,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
35399
35259
  error: string;
35400
35260
  };
35401
35261
  outputFormat: "json";
35402
- status: 404;
35403
- input: {
35404
- query: {
35405
- path?: string | undefined;
35406
- raw?: string | undefined;
35407
- };
35408
- } & {
35409
- param: {
35410
- id: string;
35411
- };
35412
- };
35413
- } | {
35414
- output: {
35415
- error: string;
35416
- };
35417
- outputFormat: "json";
35418
- status: 409;
35262
+ status: 404 | 409;
35419
35263
  input: {
35420
35264
  query: {
35421
35265
  path?: string | undefined;