@wjarka/cezarion 0.17.0-dev.3076 → 0.17.0-nightly.20261028.57

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.
@@ -453,13 +453,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
453
453
  "/api/v1/tools/preview-stop": {
454
454
  $post: {
455
455
  output: {
456
- ok: boolean;
457
- code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
456
+ code: 'capability_revoked';
458
457
  message: string;
459
- hint: string;
460
458
  };
461
459
  outputFormat: "json";
462
- status: import("hono/utils/http-status").ContentfulStatusCode;
460
+ status: 401;
463
461
  input: {
464
462
  json: {
465
463
  port: number;
@@ -468,11 +466,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
468
466
  };
469
467
  } | {
470
468
  output: {
471
- code: 'capability_revoked';
469
+ ok: boolean;
470
+ code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
472
471
  message: string;
472
+ hint: string;
473
473
  };
474
474
  outputFormat: "json";
475
- status: 401;
475
+ status: import("hono/utils/http-status").ContentfulStatusCode;
476
476
  input: {
477
477
  json: {
478
478
  port: number;
@@ -485,13 +485,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
485
485
  "/api/v1/tools/preview-serve": {
486
486
  $post: {
487
487
  output: {
488
- ok: boolean;
489
- code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
488
+ code: 'capability_revoked';
490
489
  message: string;
491
- hint: string;
492
490
  };
493
491
  outputFormat: "json";
494
- status: import("hono/utils/http-status").ContentfulStatusCode;
492
+ status: 401;
495
493
  input: {
496
494
  json: {
497
495
  command: string;
@@ -503,11 +501,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
503
501
  };
504
502
  } | {
505
503
  output: {
506
- code: 'capability_revoked';
504
+ ok: boolean;
505
+ code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
507
506
  message: string;
507
+ hint: string;
508
508
  };
509
509
  outputFormat: "json";
510
- status: 401;
510
+ status: import("hono/utils/http-status").ContentfulStatusCode;
511
511
  input: {
512
512
  json: {
513
513
  command: string;
@@ -523,12 +523,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
523
523
  "/api/v1/tools/schedule-task": {
524
524
  $post: {
525
525
  output: {
526
- ok: false;
527
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
526
+ code: 'capability_revoked';
528
527
  message: string;
529
528
  };
530
529
  outputFormat: "json";
531
- status: import("hono/utils/http-status").ContentfulStatusCode;
530
+ status: 401;
532
531
  input: {
533
532
  json: {
534
533
  at?: string | undefined;
@@ -546,11 +545,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
546
545
  };
547
546
  } | {
548
547
  output: {
549
- code: 'capability_revoked';
548
+ ok: false;
549
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
550
550
  message: string;
551
551
  };
552
552
  outputFormat: "json";
553
- status: 401;
553
+ status: import("hono/utils/http-status").ContentfulStatusCode;
554
554
  input: {
555
555
  json: {
556
556
  at?: string | undefined;
@@ -609,12 +609,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
609
609
  "/api/v1/tools/scheduled-tasks": {
610
610
  $post: {
611
611
  output: {
612
- ok: false;
613
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
612
+ code: 'capability_revoked';
614
613
  message: string;
615
614
  };
616
615
  outputFormat: "json";
617
- status: import("hono/utils/http-status").ContentfulStatusCode;
616
+ status: 401;
618
617
  input: {
619
618
  json: {
620
619
  at?: string | undefined;
@@ -648,11 +647,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
648
647
  };
649
648
  } | {
650
649
  output: {
651
- code: 'capability_revoked';
650
+ ok: false;
651
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
652
652
  message: string;
653
653
  };
654
654
  outputFormat: "json";
655
- status: 401;
655
+ status: import("hono/utils/http-status").ContentfulStatusCode;
656
656
  input: {
657
657
  json: {
658
658
  at?: string | undefined;
@@ -2,18 +2,6 @@ import type { DelegationRoutes } from './routes.ts';
2
2
  export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
3
3
  "/list": {
4
4
  $get: {
5
- output: {
6
- error: string;
7
- code?: "invalid_input" | undefined;
8
- };
9
- outputFormat: "json";
10
- status: 400;
11
- input: {
12
- query: {
13
- offset?: string | undefined;
14
- };
15
- };
16
- } | {
17
5
  output: {
18
6
  workers: {
19
7
  workerId: string;
@@ -51,6 +39,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
51
39
  offset?: string | undefined;
52
40
  };
53
41
  };
42
+ } | {
43
+ output: {
44
+ error: string;
45
+ code?: "invalid_input" | undefined;
46
+ };
47
+ outputFormat: "json";
48
+ status: 400;
49
+ input: {
50
+ query: {
51
+ offset?: string | undefined;
52
+ };
53
+ };
54
54
  };
55
55
  };
56
56
  } & {
@@ -531,18 +531,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
531
531
  } & {
532
532
  "/:workerId": {
533
533
  $get: {
534
- output: {
535
- error: string;
536
- code?: "invalid_input" | undefined;
537
- };
538
- outputFormat: "json";
539
- status: 400;
540
- input: {
541
- param: {
542
- workerId: string;
543
- };
544
- };
545
- } | {
546
534
  output: {
547
535
  workerId: string;
548
536
  parentRunId: string;
@@ -646,11 +634,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
646
634
  workerId: string;
647
635
  };
648
636
  };
649
- };
650
- };
651
- } & {
652
- "/:workerId/collect": {
653
- $post: {
637
+ } | {
654
638
  output: {
655
639
  error: string;
656
640
  code?: "invalid_input" | undefined;
@@ -661,10 +645,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
661
645
  param: {
662
646
  workerId: string;
663
647
  };
664
- } & {
665
- json: Record<string, never>;
666
648
  };
667
- } | {
649
+ };
650
+ };
651
+ } & {
652
+ "/:workerId/collect": {
653
+ $post: {
668
654
  output: {
669
655
  workerId: string;
670
656
  parentRunId: string;
@@ -766,11 +752,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
766
752
  } & {
767
753
  json: Record<string, never>;
768
754
  };
769
- };
770
- };
771
- } & {
772
- "/:workerId/steer": {
773
- $post: {
755
+ } | {
774
756
  output: {
775
757
  error: string;
776
758
  code?: "invalid_input" | undefined;
@@ -782,11 +764,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
782
764
  workerId: string;
783
765
  };
784
766
  } & {
785
- json: {
786
- text: string;
787
- };
767
+ json: Record<string, never>;
788
768
  };
789
- } | {
769
+ };
770
+ };
771
+ } & {
772
+ "/:workerId/steer": {
773
+ $post: {
790
774
  output: {
791
775
  workerId: string;
792
776
  state: "delivered" | "queued";
@@ -802,11 +786,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
802
786
  text: string;
803
787
  };
804
788
  };
805
- };
806
- };
807
- } & {
808
- "/:workerId/stop": {
809
- $post: {
789
+ } | {
810
790
  output: {
811
791
  error: string;
812
792
  code?: "invalid_input" | undefined;
@@ -818,9 +798,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
818
798
  workerId: string;
819
799
  };
820
800
  } & {
821
- json: Record<string, never>;
801
+ json: {
802
+ text: string;
803
+ };
822
804
  };
823
- } | {
805
+ };
806
+ };
807
+ } & {
808
+ "/:workerId/stop": {
809
+ $post: {
824
810
  output: {
825
811
  workerId: string;
826
812
  state: "stopping" | "terminated";
@@ -834,11 +820,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
834
820
  } & {
835
821
  json: Record<string, never>;
836
822
  };
837
- };
838
- };
839
- } & {
840
- "/:workerId/destroy": {
841
- $post: {
823
+ } | {
842
824
  output: {
843
825
  error: string;
844
826
  code?: "invalid_input" | undefined;
@@ -852,7 +834,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
852
834
  } & {
853
835
  json: Record<string, never>;
854
836
  };
855
- } | {
837
+ };
838
+ };
839
+ } & {
840
+ "/:workerId/destroy": {
841
+ $post: {
856
842
  output: {
857
843
  workerId: string;
858
844
  state: "complete" | "incomplete";
@@ -875,6 +861,20 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
875
861
  } & {
876
862
  json: Record<string, never>;
877
863
  };
864
+ } | {
865
+ output: {
866
+ error: string;
867
+ code?: "invalid_input" | undefined;
868
+ };
869
+ outputFormat: "json";
870
+ status: 400;
871
+ input: {
872
+ param: {
873
+ workerId: string;
874
+ };
875
+ } & {
876
+ json: Record<string, never>;
877
+ };
878
878
  } | {
879
879
  output: {
880
880
  workerId: string;
@@ -904,11 +904,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
904
904
  "/:workerId/diff": {
905
905
  $get: {
906
906
  output: {
907
- error: string;
908
- code?: "invalid_input" | undefined;
907
+ workerId: string;
908
+ baselineSha: string;
909
+ diff: string;
910
+ truncated: boolean;
909
911
  };
910
912
  outputFormat: "json";
911
- status: 400;
913
+ status: 200;
912
914
  input: {
913
915
  param: {
914
916
  workerId: string;
@@ -916,13 +918,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
916
918
  };
917
919
  } | {
918
920
  output: {
919
- workerId: string;
920
- baselineSha: string;
921
- diff: string;
922
- truncated: boolean;
921
+ error: string;
922
+ code?: "invalid_input" | undefined;
923
923
  };
924
924
  outputFormat: "json";
925
- status: 200;
925
+ status: 400;
926
926
  input: {
927
927
  param: {
928
928
  workerId: string;
@@ -4298,19 +4298,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4298
4298
  } & {
4299
4299
  "/repo/commit/:sha": {
4300
4300
  $get: {
4301
- output: string;
4302
- outputFormat: "text";
4303
- status: import("hono/utils/http-status").ContentfulStatusCode;
4304
- input: {
4305
- query: {
4306
- structured?: string | undefined;
4307
- };
4308
- } & {
4309
- param: {
4310
- sha: string;
4311
- };
4312
- };
4313
- } | {
4314
4301
  output: {
4315
4302
  error: string;
4316
4303
  code?: "invalid_input" | undefined;
@@ -4374,6 +4361,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4374
4361
  sha: string;
4375
4362
  };
4376
4363
  };
4364
+ } | {
4365
+ output: string;
4366
+ outputFormat: "text";
4367
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4368
+ input: {
4369
+ query: {
4370
+ structured?: string | undefined;
4371
+ };
4372
+ } & {
4373
+ param: {
4374
+ sha: string;
4375
+ };
4376
+ };
4377
4377
  };
4378
4378
  };
4379
4379
  } & {
@@ -14906,20 +14906,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14906
14906
  } & {
14907
14907
  "/runs/:id/handoff": {
14908
14908
  $get: {
14909
- output: string;
14910
- outputFormat: "text";
14911
- status: 200;
14909
+ output: {
14910
+ error: string;
14911
+ };
14912
+ outputFormat: "json";
14913
+ status: 404;
14912
14914
  input: {
14913
14915
  param: {
14914
14916
  id: string;
14915
14917
  };
14916
14918
  };
14917
14919
  } | {
14918
- output: {
14919
- error: string;
14920
- };
14921
- outputFormat: "json";
14922
- status: 404;
14920
+ output: string;
14921
+ outputFormat: "text";
14922
+ status: 200;
14923
14923
  input: {
14924
14924
  param: {
14925
14925
  id: string;
@@ -14957,15 +14957,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14957
14957
  } & {
14958
14958
  "/runs/:id/diff": {
14959
14959
  $get: {
14960
- output: string;
14961
- outputFormat: "text";
14962
- status: import("hono/utils/http-status").ContentfulStatusCode;
14963
- input: {
14964
- param: {
14965
- id: string;
14966
- };
14967
- };
14968
- } | {
14969
14960
  output: {
14970
14961
  error: string;
14971
14962
  };
@@ -14987,6 +14978,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14987
14978
  id: string;
14988
14979
  };
14989
14980
  };
14981
+ } | {
14982
+ output: string;
14983
+ outputFormat: "text";
14984
+ status: import("hono/utils/http-status").ContentfulStatusCode;
14985
+ input: {
14986
+ param: {
14987
+ id: string;
14988
+ };
14989
+ };
14990
14990
  };
14991
14991
  };
14992
14992
  } & {
@@ -17172,19 +17172,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17172
17172
  } & {
17173
17173
  "/repo/commit/:sha": {
17174
17174
  $get: {
17175
- output: string;
17176
- outputFormat: "text";
17177
- status: import("hono/utils/http-status").ContentfulStatusCode;
17178
- input: {
17179
- query: {
17180
- structured?: string | undefined;
17181
- };
17182
- } & {
17183
- param: {
17184
- sha: string;
17185
- };
17186
- };
17187
- } | {
17188
17175
  output: {
17189
17176
  error: string;
17190
17177
  code?: "invalid_input" | undefined;
@@ -17248,6 +17235,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17248
17235
  sha: string;
17249
17236
  };
17250
17237
  };
17238
+ } | {
17239
+ output: string;
17240
+ outputFormat: "text";
17241
+ status: import("hono/utils/http-status").ContentfulStatusCode;
17242
+ input: {
17243
+ query: {
17244
+ structured?: string | undefined;
17245
+ };
17246
+ } & {
17247
+ param: {
17248
+ sha: string;
17249
+ };
17250
+ };
17251
17251
  };
17252
17252
  };
17253
17253
  } & {
@@ -27780,20 +27780,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27780
27780
  } & {
27781
27781
  "/runs/:id/handoff": {
27782
27782
  $get: {
27783
- output: string;
27784
- outputFormat: "text";
27785
- status: 200;
27783
+ output: {
27784
+ error: string;
27785
+ };
27786
+ outputFormat: "json";
27787
+ status: 404;
27786
27788
  input: {
27787
27789
  param: {
27788
27790
  id: string;
27789
27791
  };
27790
27792
  };
27791
27793
  } | {
27792
- output: {
27793
- error: string;
27794
- };
27795
- outputFormat: "json";
27796
- status: 404;
27794
+ output: string;
27795
+ outputFormat: "text";
27796
+ status: 200;
27797
27797
  input: {
27798
27798
  param: {
27799
27799
  id: string;
@@ -27831,15 +27831,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27831
27831
  } & {
27832
27832
  "/runs/:id/diff": {
27833
27833
  $get: {
27834
- output: string;
27835
- outputFormat: "text";
27836
- status: import("hono/utils/http-status").ContentfulStatusCode;
27837
- input: {
27838
- param: {
27839
- id: string;
27840
- };
27841
- };
27842
- } | {
27843
27834
  output: {
27844
27835
  error: string;
27845
27836
  };
@@ -27861,6 +27852,15 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27861
27852
  id: string;
27862
27853
  };
27863
27854
  };
27855
+ } | {
27856
+ output: string;
27857
+ outputFormat: "text";
27858
+ status: import("hono/utils/http-status").ContentfulStatusCode;
27859
+ input: {
27860
+ param: {
27861
+ id: string;
27862
+ };
27863
+ };
27864
27864
  };
27865
27865
  };
27866
27866
  } & {
@@ -18,25 +18,6 @@ export interface VoiceRouteDeps {
18
18
  export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
19
19
  "/voice/decide": {
20
20
  $post: {
21
- output: {
22
- error: string;
23
- };
24
- outputFormat: "json";
25
- status: 503;
26
- input: {
27
- json: {
28
- text: string;
29
- sidebarView: "active" | "automations";
30
- openRunId?: string | undefined;
31
- view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
32
- askRequestId?: string | null | undefined;
33
- proposal?: {
34
- decisionId: string;
35
- action: "answer" | "tell";
36
- } | undefined;
37
- };
38
- };
39
- } | {
40
21
  output: {
41
22
  action: "open";
42
23
  decisionId: string;
@@ -94,6 +75,25 @@ export declare function createVoiceRoutes(deps: VoiceRouteDeps): import("hono/ho
94
75
  } | undefined;
95
76
  };
96
77
  };
78
+ } | {
79
+ output: {
80
+ error: string;
81
+ };
82
+ outputFormat: "json";
83
+ status: 503;
84
+ input: {
85
+ json: {
86
+ text: string;
87
+ sidebarView: "active" | "automations";
88
+ openRunId?: string | undefined;
89
+ view?: "automations" | "git" | "github" | "inbox" | "new-task" | "other" | "settings" | "task" | undefined;
90
+ askRequestId?: string | null | undefined;
91
+ proposal?: {
92
+ decisionId: string;
93
+ action: "answer" | "tell";
94
+ } | undefined;
95
+ };
96
+ };
97
97
  };
98
98
  };
99
99
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wjarka/cezarion",
3
- "version": "0.17.0-dev.3076",
3
+ "version": "0.17.0-nightly.20261028.57",
4
4
  "description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -53,8 +53,8 @@
53
53
  "zod": "^4.4.3"
54
54
  },
55
55
  "devDependencies": {
56
- "@open-mercato/cezar-api-client": "0.17.0-dev.3076",
57
- "@open-mercato/cezar-contract": "0.17.0-dev.3076",
56
+ "@open-mercato/cezar-api-client": "0.17.0-nightly.20261028.57",
57
+ "@open-mercato/cezar-contract": "0.17.0-nightly.20261028.57",
58
58
  "@types/node": "^24.19.1",
59
59
  "@types/ws": "^8.18.1",
60
60
  "esbuild": "^0.28.1",