@wjarka/cezarion 0.14.4 → 0.14.5
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/README.md +4 -1
- package/dist/automations/types.d.ts +2 -0
- package/dist/contract/automations.d.ts +8 -0
- package/dist/contract/index.js +4 -0
- package/dist/contract/runs.d.ts +10 -2
- package/dist/contract/skills.d.ts +1 -0
- package/dist/contract/workflows.d.ts +6 -0
- package/dist/delegation/cli.js +60 -1
- package/dist/delegation/cli.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/runs/store.d.ts +1 -0
- package/dist/server/server.d.ts +72 -0
- package/dist/server/server.js +6 -5
- package/dist/server/server.js.map +1 -1
- package/dist/workflows/run.d.ts +4 -0
- package/dist/workflows/run.js +64 -19
- package/dist/workflows/run.js.map +1 -1
- package/dist/workflows/types.d.ts +3 -0
- package/dist/workflows/types.js +2 -1
- package/dist/workflows/types.js.map +1 -1
- package/package.json +3 -3
- package/web/dist/assets/{agent-accounts-BxBsIXGa.js → agent-accounts-4EqNShyp.js} +1 -1
- package/web/dist/assets/{alert-dialog-BOp2HnnL.js → alert-dialog-CVF_qvQ8.js} +1 -1
- package/web/dist/assets/{collapsible-bb0csfMs.js → collapsible-DVDGHZAE.js} +1 -1
- package/web/dist/assets/{commit-list-DOWYQ7G6.js → commit-list-BuNsBn8P.js} +1 -1
- package/web/dist/assets/{compare-variants-B1XteHt-.js → compare-variants-BnQ1O8Ix.js} +1 -1
- package/web/dist/assets/{diff-BjLZHKfD2.js → diff-DWmKlqw52.js} +2 -2
- package/web/dist/assets/{diff-controls-DaO836o4.js → diff-controls-CuqRa-63.js} +1 -1
- package/web/dist/assets/{diff-stat-DpHwISUB.js → diff-stat-BXriPIds.js} +1 -1
- package/web/dist/assets/{diff-view-BaYxuP8L.js → diff-view-DLPDcgEV.js} +1 -1
- package/web/dist/assets/{dropdown-menu-DAmCVaLJ.js → dropdown-menu-IsTcumXE.js} +1 -1
- package/web/dist/assets/{git-toolbar-rk3doc2w.js → git-toolbar-BjMzETip.js} +1 -1
- package/web/dist/assets/{github-BhnijVvD.js → github-BvowTAuy.js} +1 -1
- package/web/dist/assets/{image-preview-CFHgISfb.js → image-preview-WXKTY8KT.js} +1 -1
- package/web/dist/assets/index-Cz3N9b18.js +7 -0
- package/web/dist/assets/{markdown-Ir62-VMS.js → markdown-gFxX4dDH.js} +1 -1
- package/web/dist/assets/pill-BlaWNkHk.js +1 -0
- package/web/dist/assets/{project-router-CvFAMDcP.js → project-router-CX1jLqj-.js} +1 -1
- package/web/dist/assets/{prompt-templates-BGGpAIzb.js → prompt-templates-DwdQcfSc.js} +1 -1
- package/web/dist/assets/{repo-git-QEHH7y-w.js → repo-git-DnbE8dR5.js} +1 -1
- package/web/dist/assets/{run-diff-DrQsmf3-.js → run-diff-Mfc85irR.js} +1 -1
- package/web/dist/assets/run-header-CDO3LV4z.js +1 -0
- package/web/dist/assets/{skills-DOT1odMt.js → skills-DHfsyXTQ.js} +1 -1
- package/web/dist/assets/{tab-link-CkIV8ixq.js → tab-link-DhREnUYE.js} +1 -1
- package/web/dist/assets/{task-changes-CUQTi97I.js → task-changes-Cfo-vtEl.js} +1 -1
- package/web/dist/assets/{task-commits-D_N8-awD.js → task-commits-CvK4flXT.js} +1 -1
- package/web/dist/assets/{task-files-CfYcMt07.js → task-files-BwVGUObK.js} +1 -1
- package/web/dist/assets/{task-thread-Bnd_Pc07.js → task-thread-g1vc4tKn.js} +6 -6
- package/web/dist/assets/{textarea-DfvlPIgO.js → textarea-DCP8bOOf.js} +1 -1
- package/web/dist/assets/{thread-loading-B0WsjYr0.js → thread-loading-D9DbIsIS.js} +1 -1
- package/web/dist/assets/{token-metrics-BLzFUb8F.js → token-metrics-PSnNTJZF.js} +1 -1
- package/web/dist/assets/{utils-GZNjgma4.js → utils-DNvmfH6b.js} +1 -1
- package/web/dist/assets/{workflows-C1I-xV9B.js → workflows-BDdUJIFT.js} +3 -3
- package/web/dist/assets/{zoomable-image-COhBxkky.js → zoomable-image-yNqiuVu7.js} +1 -1
- package/web/dist/index.html +13 -13
- package/web/dist/assets/index-DTsigc4h.js +0 -7
- package/web/dist/assets/pill-BoBISMI9.js +0 -1
- package/web/dist/assets/run-header-BKeByMek.js +0 -1
package/dist/server/server.d.ts
CHANGED
|
@@ -2107,6 +2107,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2107
2107
|
prompt?: string | undefined;
|
|
2108
2108
|
skill?: string | undefined;
|
|
2109
2109
|
model?: string | undefined;
|
|
2110
|
+
effort?: string | undefined;
|
|
2110
2111
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
2111
2112
|
allowedTools?: string[] | undefined;
|
|
2112
2113
|
bashAllowlist?: string[] | undefined;
|
|
@@ -2677,6 +2678,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2677
2678
|
prompt?: string | undefined;
|
|
2678
2679
|
skill?: string | undefined;
|
|
2679
2680
|
model?: string | undefined;
|
|
2681
|
+
effort?: string | undefined;
|
|
2680
2682
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
2681
2683
|
allowedTools?: string[] | undefined;
|
|
2682
2684
|
bashAllowlist?: string[] | undefined;
|
|
@@ -3458,6 +3460,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3458
3460
|
prompt?: string | undefined;
|
|
3459
3461
|
skill?: string | undefined;
|
|
3460
3462
|
model?: string | undefined;
|
|
3463
|
+
effort?: string | undefined;
|
|
3461
3464
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
3462
3465
|
allowedTools?: string[] | undefined;
|
|
3463
3466
|
bashAllowlist?: string[] | undefined;
|
|
@@ -3677,6 +3680,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3677
3680
|
prompt?: string | undefined;
|
|
3678
3681
|
skill?: string | undefined;
|
|
3679
3682
|
model?: string | undefined;
|
|
3683
|
+
effort?: string | undefined;
|
|
3680
3684
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
3681
3685
|
allowedTools?: string[] | undefined;
|
|
3682
3686
|
bashAllowlist?: string[] | undefined;
|
|
@@ -3717,6 +3721,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3717
3721
|
prompt?: string | undefined;
|
|
3718
3722
|
skill?: string | undefined;
|
|
3719
3723
|
model?: string | undefined;
|
|
3724
|
+
effort?: string | undefined;
|
|
3720
3725
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
3721
3726
|
allowedTools?: string[] | undefined;
|
|
3722
3727
|
bashAllowlist?: string[] | undefined;
|
|
@@ -3747,6 +3752,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3747
3752
|
prompt?: string | undefined;
|
|
3748
3753
|
skill?: string | undefined;
|
|
3749
3754
|
model?: string | undefined;
|
|
3755
|
+
effort?: string | undefined;
|
|
3750
3756
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
3751
3757
|
allowedTools?: string[] | undefined;
|
|
3752
3758
|
bashAllowlist?: string[] | undefined;
|
|
@@ -3776,6 +3782,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3776
3782
|
prompt?: string | undefined;
|
|
3777
3783
|
skill?: string | undefined;
|
|
3778
3784
|
model?: string | undefined;
|
|
3785
|
+
effort?: string | undefined;
|
|
3779
3786
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
3780
3787
|
allowedTools?: string[] | undefined;
|
|
3781
3788
|
bashAllowlist?: string[] | undefined;
|
|
@@ -3806,6 +3813,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3806
3813
|
prompt?: string | undefined;
|
|
3807
3814
|
skill?: string | undefined;
|
|
3808
3815
|
model?: string | undefined;
|
|
3816
|
+
effort?: string | undefined;
|
|
3809
3817
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
3810
3818
|
allowedTools?: string[] | undefined;
|
|
3811
3819
|
bashAllowlist?: string[] | undefined;
|
|
@@ -3893,6 +3901,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3893
3901
|
prompt?: string | undefined;
|
|
3894
3902
|
skill?: string | undefined;
|
|
3895
3903
|
model?: string | undefined;
|
|
3904
|
+
effort?: string | undefined;
|
|
3896
3905
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
3897
3906
|
allowedTools?: string[] | undefined;
|
|
3898
3907
|
bashAllowlist?: string[] | undefined;
|
|
@@ -4745,6 +4754,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4745
4754
|
prompt?: string | undefined;
|
|
4746
4755
|
skill?: string | undefined;
|
|
4747
4756
|
model?: string | undefined;
|
|
4757
|
+
effort?: string | undefined;
|
|
4748
4758
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
4749
4759
|
allowedTools?: string[] | undefined;
|
|
4750
4760
|
bashAllowlist?: string[] | undefined;
|
|
@@ -4863,6 +4873,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4863
4873
|
prompt?: string | undefined;
|
|
4864
4874
|
skill?: string | undefined;
|
|
4865
4875
|
model?: string | undefined;
|
|
4876
|
+
effort?: string | undefined;
|
|
4866
4877
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
4867
4878
|
allowedTools?: string[] | undefined;
|
|
4868
4879
|
bashAllowlist?: string[] | undefined;
|
|
@@ -4916,6 +4927,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4916
4927
|
prompt?: string | undefined;
|
|
4917
4928
|
skill?: string | undefined;
|
|
4918
4929
|
model?: string | undefined;
|
|
4930
|
+
effort?: string | undefined;
|
|
4919
4931
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
4920
4932
|
allowedTools?: string[] | undefined;
|
|
4921
4933
|
bashAllowlist?: string[] | undefined;
|
|
@@ -4968,6 +4980,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4968
4980
|
prompt?: string | undefined;
|
|
4969
4981
|
skill?: string | undefined;
|
|
4970
4982
|
model?: string | undefined;
|
|
4983
|
+
effort?: string | undefined;
|
|
4971
4984
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
4972
4985
|
allowedTools?: string[] | undefined;
|
|
4973
4986
|
bashAllowlist?: string[] | undefined;
|
|
@@ -5036,6 +5049,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5036
5049
|
prompt?: string | undefined;
|
|
5037
5050
|
skill?: string | undefined;
|
|
5038
5051
|
model?: string | undefined;
|
|
5052
|
+
effort?: string | undefined;
|
|
5039
5053
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
5040
5054
|
allowedTools?: string[] | undefined;
|
|
5041
5055
|
bashAllowlist?: string[] | undefined;
|
|
@@ -5152,6 +5166,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5152
5166
|
prompt?: string | undefined;
|
|
5153
5167
|
skill?: string | undefined;
|
|
5154
5168
|
model?: string | undefined;
|
|
5169
|
+
effort?: string | undefined;
|
|
5155
5170
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
5156
5171
|
allowedTools?: string[] | undefined;
|
|
5157
5172
|
bashAllowlist?: string[] | undefined;
|
|
@@ -5209,6 +5224,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5209
5224
|
prompt?: string | undefined;
|
|
5210
5225
|
skill?: string | undefined;
|
|
5211
5226
|
model?: string | undefined;
|
|
5227
|
+
effort?: string | undefined;
|
|
5212
5228
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
5213
5229
|
allowedTools?: string[] | undefined;
|
|
5214
5230
|
bashAllowlist?: string[] | undefined;
|
|
@@ -5261,6 +5277,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5261
5277
|
prompt?: string | undefined;
|
|
5262
5278
|
skill?: string | undefined;
|
|
5263
5279
|
model?: string | undefined;
|
|
5280
|
+
effort?: string | undefined;
|
|
5264
5281
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
5265
5282
|
allowedTools?: string[] | undefined;
|
|
5266
5283
|
bashAllowlist?: string[] | undefined;
|
|
@@ -5320,6 +5337,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5320
5337
|
prompt?: string | undefined;
|
|
5321
5338
|
skill?: string | undefined;
|
|
5322
5339
|
model?: string | undefined;
|
|
5340
|
+
effort?: string | undefined;
|
|
5323
5341
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
5324
5342
|
allowedTools?: string[] | undefined;
|
|
5325
5343
|
bashAllowlist?: string[] | undefined;
|
|
@@ -5416,6 +5434,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5416
5434
|
prompt?: string | undefined;
|
|
5417
5435
|
skill?: string | undefined;
|
|
5418
5436
|
model?: string | undefined;
|
|
5437
|
+
effort?: string | undefined;
|
|
5419
5438
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
5420
5439
|
allowedTools?: string[] | undefined;
|
|
5421
5440
|
bashAllowlist?: string[] | undefined;
|
|
@@ -5492,6 +5511,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5492
5511
|
prompt?: string | undefined;
|
|
5493
5512
|
skill?: string | undefined;
|
|
5494
5513
|
model?: string | undefined;
|
|
5514
|
+
effort?: string | undefined;
|
|
5495
5515
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
5496
5516
|
allowedTools?: string[] | undefined;
|
|
5497
5517
|
bashAllowlist?: string[] | undefined;
|
|
@@ -5987,6 +6007,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5987
6007
|
prompt?: string | undefined;
|
|
5988
6008
|
skill?: string | undefined;
|
|
5989
6009
|
model?: string | undefined;
|
|
6010
|
+
effort?: string | undefined;
|
|
5990
6011
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
5991
6012
|
allowedTools?: string[] | undefined;
|
|
5992
6013
|
bashAllowlist?: string[] | undefined;
|
|
@@ -5999,6 +6020,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5999
6020
|
source: "built-in" | "file";
|
|
6000
6021
|
path?: string | undefined;
|
|
6001
6022
|
} | undefined;
|
|
6023
|
+
finishBlocked?: string | null | undefined;
|
|
6002
6024
|
cliResumeCommand?: string | undefined;
|
|
6003
6025
|
usage?: {
|
|
6004
6026
|
cpuPct: number;
|
|
@@ -6580,6 +6602,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6580
6602
|
prompt?: string | undefined;
|
|
6581
6603
|
skill?: string | undefined;
|
|
6582
6604
|
model?: string | undefined;
|
|
6605
|
+
effort?: string | undefined;
|
|
6583
6606
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
6584
6607
|
allowedTools?: string[] | undefined;
|
|
6585
6608
|
bashAllowlist?: string[] | undefined;
|
|
@@ -6971,6 +6994,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6971
6994
|
prompt?: string | undefined;
|
|
6972
6995
|
skill?: string | undefined;
|
|
6973
6996
|
model?: string | undefined;
|
|
6997
|
+
effort?: string | undefined;
|
|
6974
6998
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
6975
6999
|
allowedTools?: string[] | undefined;
|
|
6976
7000
|
bashAllowlist?: string[] | undefined;
|
|
@@ -7372,6 +7396,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7372
7396
|
prompt?: string | undefined;
|
|
7373
7397
|
skill?: string | undefined;
|
|
7374
7398
|
model?: string | undefined;
|
|
7399
|
+
effort?: string | undefined;
|
|
7375
7400
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
7376
7401
|
allowedTools?: string[] | undefined;
|
|
7377
7402
|
bashAllowlist?: string[] | undefined;
|
|
@@ -7739,6 +7764,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7739
7764
|
prompt?: string | undefined;
|
|
7740
7765
|
skill?: string | undefined;
|
|
7741
7766
|
model?: string | undefined;
|
|
7767
|
+
effort?: string | undefined;
|
|
7742
7768
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
7743
7769
|
allowedTools?: string[] | undefined;
|
|
7744
7770
|
bashAllowlist?: string[] | undefined;
|
|
@@ -8106,6 +8132,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8106
8132
|
prompt?: string | undefined;
|
|
8107
8133
|
skill?: string | undefined;
|
|
8108
8134
|
model?: string | undefined;
|
|
8135
|
+
effort?: string | undefined;
|
|
8109
8136
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
8110
8137
|
allowedTools?: string[] | undefined;
|
|
8111
8138
|
bashAllowlist?: string[] | undefined;
|
|
@@ -8130,6 +8157,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8130
8157
|
prompt?: string | undefined;
|
|
8131
8158
|
skill?: string | undefined;
|
|
8132
8159
|
model?: string | undefined;
|
|
8160
|
+
effort?: string | undefined;
|
|
8133
8161
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
8134
8162
|
allowedTools?: string[] | undefined;
|
|
8135
8163
|
bashAllowlist?: string[] | undefined;
|
|
@@ -8171,6 +8199,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8171
8199
|
prompt?: string | undefined;
|
|
8172
8200
|
skill?: string | undefined;
|
|
8173
8201
|
model?: string | undefined;
|
|
8202
|
+
effort?: string | undefined;
|
|
8174
8203
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
8175
8204
|
allowedTools?: string[] | undefined;
|
|
8176
8205
|
bashAllowlist?: string[] | undefined;
|
|
@@ -8212,6 +8241,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8212
8241
|
prompt?: string | undefined;
|
|
8213
8242
|
skill?: string | undefined;
|
|
8214
8243
|
model?: string | undefined;
|
|
8244
|
+
effort?: string | undefined;
|
|
8215
8245
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
8216
8246
|
allowedTools?: string[] | undefined;
|
|
8217
8247
|
bashAllowlist?: string[] | undefined;
|
|
@@ -8253,6 +8283,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8253
8283
|
prompt?: string | undefined;
|
|
8254
8284
|
skill?: string | undefined;
|
|
8255
8285
|
model?: string | undefined;
|
|
8286
|
+
effort?: string | undefined;
|
|
8256
8287
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
8257
8288
|
allowedTools?: string[] | undefined;
|
|
8258
8289
|
bashAllowlist?: string[] | undefined;
|
|
@@ -8612,6 +8643,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8612
8643
|
prompt?: string | undefined;
|
|
8613
8644
|
skill?: string | undefined;
|
|
8614
8645
|
model?: string | undefined;
|
|
8646
|
+
effort?: string | undefined;
|
|
8615
8647
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
8616
8648
|
allowedTools?: string[] | undefined;
|
|
8617
8649
|
bashAllowlist?: string[] | undefined;
|
|
@@ -8637,6 +8669,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8637
8669
|
prompt?: string | undefined;
|
|
8638
8670
|
skill?: string | undefined;
|
|
8639
8671
|
model?: string | undefined;
|
|
8672
|
+
effort?: string | undefined;
|
|
8640
8673
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
8641
8674
|
allowedTools?: string[] | undefined;
|
|
8642
8675
|
bashAllowlist?: string[] | undefined;
|
|
@@ -8999,6 +9032,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8999
9032
|
prompt?: string | undefined;
|
|
9000
9033
|
skill?: string | undefined;
|
|
9001
9034
|
model?: string | undefined;
|
|
9035
|
+
effort?: string | undefined;
|
|
9002
9036
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
9003
9037
|
allowedTools?: string[] | undefined;
|
|
9004
9038
|
bashAllowlist?: string[] | undefined;
|
|
@@ -9011,6 +9045,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9011
9045
|
source: "built-in" | "file";
|
|
9012
9046
|
path?: string | undefined;
|
|
9013
9047
|
} | undefined;
|
|
9048
|
+
finishBlocked?: string | null | undefined;
|
|
9014
9049
|
cliResumeCommand?: string | undefined;
|
|
9015
9050
|
usage?: {
|
|
9016
9051
|
cpuPct: number;
|
|
@@ -9494,6 +9529,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9494
9529
|
prompt?: string | undefined;
|
|
9495
9530
|
skill?: string | undefined;
|
|
9496
9531
|
model?: string | undefined;
|
|
9532
|
+
effort?: string | undefined;
|
|
9497
9533
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
9498
9534
|
allowedTools?: string[] | undefined;
|
|
9499
9535
|
bashAllowlist?: string[] | undefined;
|
|
@@ -10684,6 +10720,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10684
10720
|
prompt?: string | undefined;
|
|
10685
10721
|
skill?: string | undefined;
|
|
10686
10722
|
model?: string | undefined;
|
|
10723
|
+
effort?: string | undefined;
|
|
10687
10724
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
10688
10725
|
allowedTools?: string[] | undefined;
|
|
10689
10726
|
bashAllowlist?: string[] | undefined;
|
|
@@ -11254,6 +11291,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11254
11291
|
prompt?: string | undefined;
|
|
11255
11292
|
skill?: string | undefined;
|
|
11256
11293
|
model?: string | undefined;
|
|
11294
|
+
effort?: string | undefined;
|
|
11257
11295
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
11258
11296
|
allowedTools?: string[] | undefined;
|
|
11259
11297
|
bashAllowlist?: string[] | undefined;
|
|
@@ -12035,6 +12073,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12035
12073
|
prompt?: string | undefined;
|
|
12036
12074
|
skill?: string | undefined;
|
|
12037
12075
|
model?: string | undefined;
|
|
12076
|
+
effort?: string | undefined;
|
|
12038
12077
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
12039
12078
|
allowedTools?: string[] | undefined;
|
|
12040
12079
|
bashAllowlist?: string[] | undefined;
|
|
@@ -12254,6 +12293,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12254
12293
|
prompt?: string | undefined;
|
|
12255
12294
|
skill?: string | undefined;
|
|
12256
12295
|
model?: string | undefined;
|
|
12296
|
+
effort?: string | undefined;
|
|
12257
12297
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
12258
12298
|
allowedTools?: string[] | undefined;
|
|
12259
12299
|
bashAllowlist?: string[] | undefined;
|
|
@@ -12294,6 +12334,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12294
12334
|
prompt?: string | undefined;
|
|
12295
12335
|
skill?: string | undefined;
|
|
12296
12336
|
model?: string | undefined;
|
|
12337
|
+
effort?: string | undefined;
|
|
12297
12338
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
12298
12339
|
allowedTools?: string[] | undefined;
|
|
12299
12340
|
bashAllowlist?: string[] | undefined;
|
|
@@ -12324,6 +12365,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12324
12365
|
prompt?: string | undefined;
|
|
12325
12366
|
skill?: string | undefined;
|
|
12326
12367
|
model?: string | undefined;
|
|
12368
|
+
effort?: string | undefined;
|
|
12327
12369
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
12328
12370
|
allowedTools?: string[] | undefined;
|
|
12329
12371
|
bashAllowlist?: string[] | undefined;
|
|
@@ -12353,6 +12395,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12353
12395
|
prompt?: string | undefined;
|
|
12354
12396
|
skill?: string | undefined;
|
|
12355
12397
|
model?: string | undefined;
|
|
12398
|
+
effort?: string | undefined;
|
|
12356
12399
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
12357
12400
|
allowedTools?: string[] | undefined;
|
|
12358
12401
|
bashAllowlist?: string[] | undefined;
|
|
@@ -12383,6 +12426,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12383
12426
|
prompt?: string | undefined;
|
|
12384
12427
|
skill?: string | undefined;
|
|
12385
12428
|
model?: string | undefined;
|
|
12429
|
+
effort?: string | undefined;
|
|
12386
12430
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
12387
12431
|
allowedTools?: string[] | undefined;
|
|
12388
12432
|
bashAllowlist?: string[] | undefined;
|
|
@@ -12470,6 +12514,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12470
12514
|
prompt?: string | undefined;
|
|
12471
12515
|
skill?: string | undefined;
|
|
12472
12516
|
model?: string | undefined;
|
|
12517
|
+
effort?: string | undefined;
|
|
12473
12518
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
12474
12519
|
allowedTools?: string[] | undefined;
|
|
12475
12520
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13322,6 +13367,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13322
13367
|
prompt?: string | undefined;
|
|
13323
13368
|
skill?: string | undefined;
|
|
13324
13369
|
model?: string | undefined;
|
|
13370
|
+
effort?: string | undefined;
|
|
13325
13371
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13326
13372
|
allowedTools?: string[] | undefined;
|
|
13327
13373
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13440,6 +13486,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13440
13486
|
prompt?: string | undefined;
|
|
13441
13487
|
skill?: string | undefined;
|
|
13442
13488
|
model?: string | undefined;
|
|
13489
|
+
effort?: string | undefined;
|
|
13443
13490
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13444
13491
|
allowedTools?: string[] | undefined;
|
|
13445
13492
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13493,6 +13540,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13493
13540
|
prompt?: string | undefined;
|
|
13494
13541
|
skill?: string | undefined;
|
|
13495
13542
|
model?: string | undefined;
|
|
13543
|
+
effort?: string | undefined;
|
|
13496
13544
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13497
13545
|
allowedTools?: string[] | undefined;
|
|
13498
13546
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13545,6 +13593,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13545
13593
|
prompt?: string | undefined;
|
|
13546
13594
|
skill?: string | undefined;
|
|
13547
13595
|
model?: string | undefined;
|
|
13596
|
+
effort?: string | undefined;
|
|
13548
13597
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13549
13598
|
allowedTools?: string[] | undefined;
|
|
13550
13599
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13613,6 +13662,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13613
13662
|
prompt?: string | undefined;
|
|
13614
13663
|
skill?: string | undefined;
|
|
13615
13664
|
model?: string | undefined;
|
|
13665
|
+
effort?: string | undefined;
|
|
13616
13666
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13617
13667
|
allowedTools?: string[] | undefined;
|
|
13618
13668
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13729,6 +13779,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13729
13779
|
prompt?: string | undefined;
|
|
13730
13780
|
skill?: string | undefined;
|
|
13731
13781
|
model?: string | undefined;
|
|
13782
|
+
effort?: string | undefined;
|
|
13732
13783
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13733
13784
|
allowedTools?: string[] | undefined;
|
|
13734
13785
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13786,6 +13837,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13786
13837
|
prompt?: string | undefined;
|
|
13787
13838
|
skill?: string | undefined;
|
|
13788
13839
|
model?: string | undefined;
|
|
13840
|
+
effort?: string | undefined;
|
|
13789
13841
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13790
13842
|
allowedTools?: string[] | undefined;
|
|
13791
13843
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13838,6 +13890,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13838
13890
|
prompt?: string | undefined;
|
|
13839
13891
|
skill?: string | undefined;
|
|
13840
13892
|
model?: string | undefined;
|
|
13893
|
+
effort?: string | undefined;
|
|
13841
13894
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13842
13895
|
allowedTools?: string[] | undefined;
|
|
13843
13896
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13897,6 +13950,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13897
13950
|
prompt?: string | undefined;
|
|
13898
13951
|
skill?: string | undefined;
|
|
13899
13952
|
model?: string | undefined;
|
|
13953
|
+
effort?: string | undefined;
|
|
13900
13954
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13901
13955
|
allowedTools?: string[] | undefined;
|
|
13902
13956
|
bashAllowlist?: string[] | undefined;
|
|
@@ -13993,6 +14047,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
13993
14047
|
prompt?: string | undefined;
|
|
13994
14048
|
skill?: string | undefined;
|
|
13995
14049
|
model?: string | undefined;
|
|
14050
|
+
effort?: string | undefined;
|
|
13996
14051
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
13997
14052
|
allowedTools?: string[] | undefined;
|
|
13998
14053
|
bashAllowlist?: string[] | undefined;
|
|
@@ -14069,6 +14124,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
14069
14124
|
prompt?: string | undefined;
|
|
14070
14125
|
skill?: string | undefined;
|
|
14071
14126
|
model?: string | undefined;
|
|
14127
|
+
effort?: string | undefined;
|
|
14072
14128
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
14073
14129
|
allowedTools?: string[] | undefined;
|
|
14074
14130
|
bashAllowlist?: string[] | undefined;
|
|
@@ -14564,6 +14620,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
14564
14620
|
prompt?: string | undefined;
|
|
14565
14621
|
skill?: string | undefined;
|
|
14566
14622
|
model?: string | undefined;
|
|
14623
|
+
effort?: string | undefined;
|
|
14567
14624
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
14568
14625
|
allowedTools?: string[] | undefined;
|
|
14569
14626
|
bashAllowlist?: string[] | undefined;
|
|
@@ -14576,6 +14633,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
14576
14633
|
source: "built-in" | "file";
|
|
14577
14634
|
path?: string | undefined;
|
|
14578
14635
|
} | undefined;
|
|
14636
|
+
finishBlocked?: string | null | undefined;
|
|
14579
14637
|
cliResumeCommand?: string | undefined;
|
|
14580
14638
|
usage?: {
|
|
14581
14639
|
cpuPct: number;
|
|
@@ -15157,6 +15215,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
15157
15215
|
prompt?: string | undefined;
|
|
15158
15216
|
skill?: string | undefined;
|
|
15159
15217
|
model?: string | undefined;
|
|
15218
|
+
effort?: string | undefined;
|
|
15160
15219
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
15161
15220
|
allowedTools?: string[] | undefined;
|
|
15162
15221
|
bashAllowlist?: string[] | undefined;
|
|
@@ -15548,6 +15607,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
15548
15607
|
prompt?: string | undefined;
|
|
15549
15608
|
skill?: string | undefined;
|
|
15550
15609
|
model?: string | undefined;
|
|
15610
|
+
effort?: string | undefined;
|
|
15551
15611
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
15552
15612
|
allowedTools?: string[] | undefined;
|
|
15553
15613
|
bashAllowlist?: string[] | undefined;
|
|
@@ -15949,6 +16009,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
15949
16009
|
prompt?: string | undefined;
|
|
15950
16010
|
skill?: string | undefined;
|
|
15951
16011
|
model?: string | undefined;
|
|
16012
|
+
effort?: string | undefined;
|
|
15952
16013
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
15953
16014
|
allowedTools?: string[] | undefined;
|
|
15954
16015
|
bashAllowlist?: string[] | undefined;
|
|
@@ -16316,6 +16377,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
16316
16377
|
prompt?: string | undefined;
|
|
16317
16378
|
skill?: string | undefined;
|
|
16318
16379
|
model?: string | undefined;
|
|
16380
|
+
effort?: string | undefined;
|
|
16319
16381
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
16320
16382
|
allowedTools?: string[] | undefined;
|
|
16321
16383
|
bashAllowlist?: string[] | undefined;
|
|
@@ -16683,6 +16745,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
16683
16745
|
prompt?: string | undefined;
|
|
16684
16746
|
skill?: string | undefined;
|
|
16685
16747
|
model?: string | undefined;
|
|
16748
|
+
effort?: string | undefined;
|
|
16686
16749
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
16687
16750
|
allowedTools?: string[] | undefined;
|
|
16688
16751
|
bashAllowlist?: string[] | undefined;
|
|
@@ -16707,6 +16770,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
16707
16770
|
prompt?: string | undefined;
|
|
16708
16771
|
skill?: string | undefined;
|
|
16709
16772
|
model?: string | undefined;
|
|
16773
|
+
effort?: string | undefined;
|
|
16710
16774
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
16711
16775
|
allowedTools?: string[] | undefined;
|
|
16712
16776
|
bashAllowlist?: string[] | undefined;
|
|
@@ -16748,6 +16812,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
16748
16812
|
prompt?: string | undefined;
|
|
16749
16813
|
skill?: string | undefined;
|
|
16750
16814
|
model?: string | undefined;
|
|
16815
|
+
effort?: string | undefined;
|
|
16751
16816
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
16752
16817
|
allowedTools?: string[] | undefined;
|
|
16753
16818
|
bashAllowlist?: string[] | undefined;
|
|
@@ -16789,6 +16854,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
16789
16854
|
prompt?: string | undefined;
|
|
16790
16855
|
skill?: string | undefined;
|
|
16791
16856
|
model?: string | undefined;
|
|
16857
|
+
effort?: string | undefined;
|
|
16792
16858
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
16793
16859
|
allowedTools?: string[] | undefined;
|
|
16794
16860
|
bashAllowlist?: string[] | undefined;
|
|
@@ -16830,6 +16896,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
16830
16896
|
prompt?: string | undefined;
|
|
16831
16897
|
skill?: string | undefined;
|
|
16832
16898
|
model?: string | undefined;
|
|
16899
|
+
effort?: string | undefined;
|
|
16833
16900
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
16834
16901
|
allowedTools?: string[] | undefined;
|
|
16835
16902
|
bashAllowlist?: string[] | undefined;
|
|
@@ -17189,6 +17256,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17189
17256
|
prompt?: string | undefined;
|
|
17190
17257
|
skill?: string | undefined;
|
|
17191
17258
|
model?: string | undefined;
|
|
17259
|
+
effort?: string | undefined;
|
|
17192
17260
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
17193
17261
|
allowedTools?: string[] | undefined;
|
|
17194
17262
|
bashAllowlist?: string[] | undefined;
|
|
@@ -17214,6 +17282,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17214
17282
|
prompt?: string | undefined;
|
|
17215
17283
|
skill?: string | undefined;
|
|
17216
17284
|
model?: string | undefined;
|
|
17285
|
+
effort?: string | undefined;
|
|
17217
17286
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
17218
17287
|
allowedTools?: string[] | undefined;
|
|
17219
17288
|
bashAllowlist?: string[] | undefined;
|
|
@@ -17576,6 +17645,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17576
17645
|
prompt?: string | undefined;
|
|
17577
17646
|
skill?: string | undefined;
|
|
17578
17647
|
model?: string | undefined;
|
|
17648
|
+
effort?: string | undefined;
|
|
17579
17649
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
17580
17650
|
allowedTools?: string[] | undefined;
|
|
17581
17651
|
bashAllowlist?: string[] | undefined;
|
|
@@ -17588,6 +17658,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
17588
17658
|
source: "built-in" | "file";
|
|
17589
17659
|
path?: string | undefined;
|
|
17590
17660
|
} | undefined;
|
|
17661
|
+
finishBlocked?: string | null | undefined;
|
|
17591
17662
|
cliResumeCommand?: string | undefined;
|
|
17592
17663
|
usage?: {
|
|
17593
17664
|
cpuPct: number;
|
|
@@ -18071,6 +18142,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18071
18142
|
prompt?: string | undefined;
|
|
18072
18143
|
skill?: string | undefined;
|
|
18073
18144
|
model?: string | undefined;
|
|
18145
|
+
effort?: string | undefined;
|
|
18074
18146
|
runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
|
|
18075
18147
|
allowedTools?: string[] | undefined;
|
|
18076
18148
|
bashAllowlist?: string[] | undefined;
|
package/dist/server/server.js
CHANGED
|
@@ -3013,13 +3013,14 @@ export function createApp(deps) {
|
|
|
3013
3013
|
// Additive `usage` field (#348): the latest CPU/RSS/proc-count sample of the
|
|
3014
3014
|
// run's live process tree — absent for finished runs and when `ps` yields
|
|
3015
3015
|
// nothing. The stored record itself is never touched.
|
|
3016
|
-
const withUsage = (run) => {
|
|
3016
|
+
const withUsage = (run, finishBlocked) => {
|
|
3017
3017
|
const usage = currentUsage(run.id);
|
|
3018
3018
|
const sessionStep = [...run.steps].reverse().find(step => step.sessionId);
|
|
3019
3019
|
const sessionId = sessionStep?.sessionId;
|
|
3020
3020
|
const backend = sessionStep?.backend ?? run.runner ?? 'claude';
|
|
3021
3021
|
const command = backend === 'cursor' && sessionId ? resumeCommand(backend, sessionId) : null;
|
|
3022
|
-
return { ...run, ...(usage ? { usage } : {}), ...(command ? { cliResumeCommand: command } : {})
|
|
3022
|
+
return { ...run, ...(usage ? { usage } : {}), ...(command ? { cliResumeCommand: command } : {}),
|
|
3023
|
+
...(finishBlocked !== undefined ? { finishBlocked } : {}) };
|
|
3023
3024
|
};
|
|
3024
3025
|
// The inbox half of a composer launch (#374). Since the cockpit's "▶ Run"
|
|
3025
3026
|
// prefills `/new` instead of calling POST /api/todos/:id/start (never launch
|
|
@@ -3044,7 +3045,7 @@ export function createApp(deps) {
|
|
|
3044
3045
|
// ---- chained family: runs lifecycle + artifacts (project-scoped) ----
|
|
3045
3046
|
const delegationService = deps.delegation?.service ?? new DelegationService();
|
|
3046
3047
|
const runsRoutes = new Hono()
|
|
3047
|
-
.get('/runs', (c) => c.json(c.get('project').store.listRuns().map(withUsage)))
|
|
3048
|
+
.get('/runs', (c) => c.json(c.get('project').store.listRuns().map(run => withUsage(run))))
|
|
3048
3049
|
.get('/runs/:id/relationships', paramZodValidator(runIdParamSchema), queryZodValidator(workerEmptyRequestSchema), (c) => {
|
|
3049
3050
|
const { store } = c.get('project');
|
|
3050
3051
|
const run = store.getRun(c.req.valid('param').id);
|
|
@@ -3209,9 +3210,9 @@ export function createApp(deps) {
|
|
|
3209
3210
|
return c.json(run, 201);
|
|
3210
3211
|
})
|
|
3211
3212
|
.get('/runs/:id', (c) => {
|
|
3212
|
-
const { store } = c.get('project');
|
|
3213
|
+
const { store, manager } = c.get('project');
|
|
3213
3214
|
const run = store.getRun(c.req.param('id'));
|
|
3214
|
-
return run ? c.json(withUsage(run)) : c.json({ error: 'not found' }, 404);
|
|
3215
|
+
return run ? c.json(withUsage(run, manager.finishBlockedReason(run.id) ?? null)) : c.json({ error: 'not found' }, 404);
|
|
3215
3216
|
})
|
|
3216
3217
|
.get('/runs/:id/history', paramZodValidator(runIdParamSchema), queryZodValidator(runHistoryQuerySchema), async (c) => {
|
|
3217
3218
|
const { store, dataDir } = c.get('project');
|