@wjarka/cezarion 0.11.1 → 0.11.2-pr50.83
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/automations/task-template.js +1 -0
- package/dist/automations/task-template.js.map +1 -1
- package/dist/automations/types.d.ts +2 -0
- package/dist/automations/types.js +1 -0
- package/dist/automations/types.js.map +1 -1
- package/dist/contract/automations.d.ts +8 -0
- package/dist/contract/effort.d.ts +18 -0
- package/dist/contract/index.d.ts +1 -0
- package/dist/contract/index.js +919 -898
- package/dist/contract/runs.d.ts +7 -0
- package/dist/contract/skills.d.ts +1 -0
- package/dist/core/agent-runner.d.ts +4 -0
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/claude-cli-runner.js +4 -0
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-app-server-runner.d.ts +9 -0
- package/dist/core/codex-app-server-runner.js +14 -1
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/opencode-server-runner.js +4 -0
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/pi-runner.js +4 -0
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/runs/store.d.ts +3 -0
- package/dist/runs/store.js +4 -0
- package/dist/runs/store.js.map +1 -1
- package/dist/server/server.d.ts +68 -0
- package/dist/server/server.js +14 -3
- package/dist/server/server.js.map +1 -1
- package/dist/workflows/run.d.ts +7 -0
- package/dist/workflows/run.js +109 -52
- package/dist/workflows/run.js.map +1 -1
- package/package.json +3 -3
- package/scripts/mock-claude.mjs +72 -2
- package/web/dist/assets/{alert-dialog-B4Ofsgv7.js → alert-dialog-g-GVThSw.js} +1 -1
- package/web/dist/assets/arrow-down-BzmL0uj0.js +1 -0
- package/web/dist/assets/arrow-left-DtUM7GFU.js +1 -0
- package/web/dist/assets/{centered-state-duPW0phQ.js → centered-state-DdbE_pNl.js} +2 -2
- package/web/dist/assets/chevron-right-DnLh0uM2.js +1 -0
- package/web/dist/assets/{collapsible-DdcNBdSk.js → collapsible-R1r7zUOB.js} +1 -1
- package/web/dist/assets/{commit-list-CgvN9vec.js → commit-list-Bgb1DHBX.js} +1 -1
- package/web/dist/assets/{compare-variants-CQA2nd65.js → compare-variants-UA_0n_5a.js} +1 -1
- package/web/dist/assets/{diff-B6Agp5Hl.js → diff-Cv3z9esx.js} +2 -2
- package/web/dist/assets/{diff-stat-BoXuGkgq.js → diff-stat-ydfu0_5T.js} +1 -1
- package/web/dist/assets/{diff-view-CD8XI-fj.js → diff-view-DnPdkmk2.js} +1 -1
- package/web/dist/assets/{dropdown-menu-B3SYw-k5.js → dropdown-menu-CPP9gEmn.js} +1 -1
- package/web/dist/assets/{editable-title-B-hjp5wl.js → editable-title-D_bWdmY0.js} +1 -1
- package/web/dist/assets/{ellipsis-vertical-BYwzw0xl.js → ellipsis-vertical-WNkaehnw.js} +1 -1
- package/web/dist/assets/{file-BRj5eISx.js → file-RvhJlchx.js} +1 -1
- package/web/dist/assets/{folder-z4oT5981.js → folder-Dz-weqBo.js} +1 -1
- package/web/dist/assets/{git-toolbar-owSEkYld.js → git-toolbar-BEKuAjHk.js} +1 -1
- package/web/dist/assets/github-CmFHDNje.js +1 -0
- package/web/dist/assets/{image-preview-h3WFluuy.js → image-preview-DYiOSYoY.js} +1 -1
- package/web/dist/assets/index-BQTfjxFm.js +7 -0
- package/web/dist/assets/{markdown-DqBKYPiB.js → markdown-DQHRRO9e.js} +1 -1
- package/web/dist/assets/new-task-form-D2KlpqYC.js +1 -0
- package/web/dist/assets/{pill-BQfmfpYp.js → pill-FAFXjmY6.js} +1 -1
- package/web/dist/assets/{project-router-DxgFZY1l.js → project-router-Dzc0JK2j.js} +1 -1
- package/web/dist/assets/{prompt-templates-B6m16gq-.js → prompt-templates-DmqtzSPL.js} +1 -1
- package/web/dist/assets/{refresh-cw-mhSpxf2a.js → refresh-cw-BP4TkA4M.js} +1 -1
- package/web/dist/assets/{repo-git-CUNRxR3_.js → repo-git-C20pc5tT.js} +1 -1
- package/web/dist/assets/{run-diff-DsmmDVfx.js → run-diff-CvcsWwew.js} +1 -1
- package/web/dist/assets/run-header-xFlbebSJ.js +1 -0
- package/web/dist/assets/{search-x-BqDMB2g8.js → search-x-Drnmsmd0.js} +1 -1
- package/web/dist/assets/{skill-empty-hint-BWEvTggc.js → skill-empty-hint-D2l_OqZ5.js} +1 -1
- package/web/dist/assets/{skills-DwIxnnWO.js → skills-Cn2ppPow.js} +1 -1
- package/web/dist/assets/{sparkles-DIoTQpyx.js → sparkles-B9ja4FHw.js} +1 -1
- package/web/dist/assets/{square-terminal-Cc7CuQxc.js → square-terminal-CB2du-YG.js} +1 -1
- package/web/dist/assets/{tab-link-D1fQgpmO.js → tab-link-C5FWJ66Y.js} +1 -1
- package/web/dist/assets/{task-changes-BKeLlDpK.js → task-changes-CuUmQArS.js} +1 -1
- package/web/dist/assets/{task-commits-gcEFZIa5.js → task-commits-DgIWIhW9.js} +1 -1
- package/web/dist/assets/{task-files-BGAqoXTW.js → task-files-BeDXPyz5.js} +1 -1
- package/web/dist/assets/task-thread-2nmi0vcz.js +9 -0
- package/web/dist/assets/{textarea-BOVbfy5C.js → textarea-Sm6doUPO.js} +1 -1
- package/web/dist/assets/{thread-loading-CypW73KD.js → thread-loading-DojNeADh.js} +1 -1
- package/web/dist/assets/{trash-2-CJq6LHWn.js → trash-2-C_lGBXG2.js} +1 -1
- package/web/dist/assets/{triangle-alert-CjDFvU27.js → triangle-alert-Brk_ldFl.js} +1 -1
- package/web/dist/assets/{upload-CPDZlJeK.js → upload-Cxs1UROt.js} +1 -1
- package/web/dist/assets/{use-desktop-5JsLmi0a.js → use-desktop-Cmrz3npD.js} +1 -1
- package/web/dist/assets/{use-submit-shortcut-CHVFevty.js → use-submit-shortcut-DzeqN3GK.js} +1 -1
- package/web/dist/assets/{utils-DiO6zyJd.js → utils-Unt0mZvU.js} +1 -1
- package/web/dist/assets/{workflows-rQDFzWRt.js → workflows-D_GyBbup.js} +1 -1
- package/web/dist/assets/{zoomable-image-COWqb11v.js → zoomable-image-ByySCppM.js} +1 -1
- package/web/dist/index.html +22 -22
- package/web/dist/assets/arrow-down-Dy8dup7j.js +0 -1
- package/web/dist/assets/arrow-left-BJaucbhn.js +0 -1
- package/web/dist/assets/chevron-right-Be4A5TCS.js +0 -1
- package/web/dist/assets/github-Bz2VgRX3.js +0 -1
- package/web/dist/assets/index-EtQQQ6Kj.js +0 -7
- package/web/dist/assets/new-task-form-BdJKRBJX.js +0 -1
- package/web/dist/assets/run-header-BkhrseLJ.js +0 -1
- package/web/dist/assets/task-thread-DT8aUYTS.js +0 -9
package/dist/server/server.d.ts
CHANGED
|
@@ -2325,6 +2325,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2325
2325
|
}[] | undefined;
|
|
2326
2326
|
taskImages?: string[] | undefined;
|
|
2327
2327
|
model?: string | undefined;
|
|
2328
|
+
effort?: string | undefined;
|
|
2328
2329
|
modelIdentity?: string | undefined;
|
|
2329
2330
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2330
2331
|
agentProfile?: string | undefined;
|
|
@@ -2841,6 +2842,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2841
2842
|
json: {
|
|
2842
2843
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2843
2844
|
model?: string | undefined;
|
|
2845
|
+
effort?: string | undefined;
|
|
2844
2846
|
prompt?: string | undefined;
|
|
2845
2847
|
} | undefined;
|
|
2846
2848
|
} & {
|
|
@@ -2870,6 +2872,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2870
2872
|
}[] | undefined;
|
|
2871
2873
|
taskImages?: string[] | undefined;
|
|
2872
2874
|
model?: string | undefined;
|
|
2875
|
+
effort?: string | undefined;
|
|
2873
2876
|
modelIdentity?: string | undefined;
|
|
2874
2877
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2875
2878
|
agentProfile?: string | undefined;
|
|
@@ -2974,6 +2977,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2974
2977
|
json: {
|
|
2975
2978
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2976
2979
|
model?: string | undefined;
|
|
2980
|
+
effort?: string | undefined;
|
|
2977
2981
|
prompt?: string | undefined;
|
|
2978
2982
|
} | undefined;
|
|
2979
2983
|
} & {
|
|
@@ -2991,6 +2995,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
2991
2995
|
json: {
|
|
2992
2996
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
2993
2997
|
model?: string | undefined;
|
|
2998
|
+
effort?: string | undefined;
|
|
2994
2999
|
prompt?: string | undefined;
|
|
2995
3000
|
} | undefined;
|
|
2996
3001
|
} & {
|
|
@@ -3008,6 +3013,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3008
3013
|
json: {
|
|
3009
3014
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
3010
3015
|
model?: string | undefined;
|
|
3016
|
+
effort?: string | undefined;
|
|
3011
3017
|
prompt?: string | undefined;
|
|
3012
3018
|
} | undefined;
|
|
3013
3019
|
} & {
|
|
@@ -4128,6 +4134,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4128
4134
|
}[] | undefined;
|
|
4129
4135
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4130
4136
|
model?: string | undefined;
|
|
4137
|
+
effort?: string | undefined;
|
|
4131
4138
|
variants?: 1 | 2 | 3 | undefined;
|
|
4132
4139
|
worktree?: boolean | undefined;
|
|
4133
4140
|
generateFollowups?: boolean | undefined;
|
|
@@ -4245,6 +4252,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4245
4252
|
}[] | undefined;
|
|
4246
4253
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4247
4254
|
model?: string | undefined;
|
|
4255
|
+
effort?: string | undefined;
|
|
4248
4256
|
variants?: 1 | 2 | 3 | undefined;
|
|
4249
4257
|
worktree?: boolean | undefined;
|
|
4250
4258
|
generateFollowups?: boolean | undefined;
|
|
@@ -4297,6 +4305,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4297
4305
|
}[] | undefined;
|
|
4298
4306
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4299
4307
|
model?: string | undefined;
|
|
4308
|
+
effort?: string | undefined;
|
|
4300
4309
|
variants?: 1 | 2 | 3 | undefined;
|
|
4301
4310
|
worktree?: boolean | undefined;
|
|
4302
4311
|
generateFollowups?: boolean | undefined;
|
|
@@ -4348,6 +4357,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4348
4357
|
}[] | undefined;
|
|
4349
4358
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4350
4359
|
model?: string | undefined;
|
|
4360
|
+
effort?: string | undefined;
|
|
4351
4361
|
variants?: 1 | 2 | 3 | undefined;
|
|
4352
4362
|
worktree?: boolean | undefined;
|
|
4353
4363
|
generateFollowups?: boolean | undefined;
|
|
@@ -4415,6 +4425,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4415
4425
|
}[] | undefined;
|
|
4416
4426
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4417
4427
|
model?: string | undefined;
|
|
4428
|
+
effort?: string | undefined;
|
|
4418
4429
|
variants?: 1 | 2 | 3 | undefined;
|
|
4419
4430
|
worktree?: boolean | undefined;
|
|
4420
4431
|
generateFollowups?: boolean | undefined;
|
|
@@ -4530,6 +4541,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4530
4541
|
}[] | undefined;
|
|
4531
4542
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4532
4543
|
model?: string | undefined;
|
|
4544
|
+
effort?: string | undefined;
|
|
4533
4545
|
variants?: 1 | 2 | 3 | undefined;
|
|
4534
4546
|
worktree?: boolean | undefined;
|
|
4535
4547
|
generateFollowups?: boolean | undefined;
|
|
@@ -4586,6 +4598,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4586
4598
|
}[] | undefined;
|
|
4587
4599
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4588
4600
|
model?: string | undefined;
|
|
4601
|
+
effort?: string | undefined;
|
|
4589
4602
|
variants?: 1 | 2 | 3 | undefined;
|
|
4590
4603
|
worktree?: boolean | undefined;
|
|
4591
4604
|
generateFollowups?: boolean | undefined;
|
|
@@ -4637,6 +4650,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4637
4650
|
}[] | undefined;
|
|
4638
4651
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4639
4652
|
model?: string | undefined;
|
|
4653
|
+
effort?: string | undefined;
|
|
4640
4654
|
variants?: 1 | 2 | 3 | undefined;
|
|
4641
4655
|
worktree?: boolean | undefined;
|
|
4642
4656
|
generateFollowups?: boolean | undefined;
|
|
@@ -4695,6 +4709,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4695
4709
|
}[] | undefined;
|
|
4696
4710
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4697
4711
|
model?: string | undefined;
|
|
4712
|
+
effort?: string | undefined;
|
|
4698
4713
|
variants?: 1 | 2 | 3 | undefined;
|
|
4699
4714
|
worktree?: boolean | undefined;
|
|
4700
4715
|
generateFollowups?: boolean | undefined;
|
|
@@ -4790,6 +4805,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4790
4805
|
}[] | undefined;
|
|
4791
4806
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4792
4807
|
model?: string | undefined;
|
|
4808
|
+
effort?: string | undefined;
|
|
4793
4809
|
variants?: 1 | 2 | 3 | undefined;
|
|
4794
4810
|
worktree?: boolean | undefined;
|
|
4795
4811
|
generateFollowups?: boolean | undefined;
|
|
@@ -4865,6 +4881,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4865
4881
|
}[] | undefined;
|
|
4866
4882
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
4867
4883
|
model?: string | undefined;
|
|
4884
|
+
effort?: string | undefined;
|
|
4868
4885
|
variants?: 1 | 2 | 3 | undefined;
|
|
4869
4886
|
worktree?: boolean | undefined;
|
|
4870
4887
|
generateFollowups?: boolean | undefined;
|
|
@@ -5036,6 +5053,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5036
5053
|
}[] | undefined;
|
|
5037
5054
|
taskImages?: string[] | undefined;
|
|
5038
5055
|
model?: string | undefined;
|
|
5056
|
+
effort?: string | undefined;
|
|
5039
5057
|
modelIdentity?: string | undefined;
|
|
5040
5058
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5041
5059
|
agentProfile?: string | undefined;
|
|
@@ -5184,6 +5202,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5184
5202
|
}[] | undefined;
|
|
5185
5203
|
taskImages?: string[] | undefined;
|
|
5186
5204
|
model?: string | undefined;
|
|
5205
|
+
effort?: string | undefined;
|
|
5187
5206
|
modelIdentity?: string | undefined;
|
|
5188
5207
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5189
5208
|
agentProfile?: string | undefined;
|
|
@@ -5358,6 +5377,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5358
5377
|
}[] | undefined;
|
|
5359
5378
|
taskImages?: string[] | undefined;
|
|
5360
5379
|
model?: string | undefined;
|
|
5380
|
+
effort?: string | undefined;
|
|
5361
5381
|
modelIdentity?: string | undefined;
|
|
5362
5382
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5363
5383
|
agentProfile?: string | undefined;
|
|
@@ -5498,6 +5518,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5498
5518
|
}[] | undefined;
|
|
5499
5519
|
taskImages?: string[] | undefined;
|
|
5500
5520
|
model?: string | undefined;
|
|
5521
|
+
effort?: string | undefined;
|
|
5501
5522
|
modelIdentity?: string | undefined;
|
|
5502
5523
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5503
5524
|
agentProfile?: string | undefined;
|
|
@@ -5638,6 +5659,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5638
5659
|
}[] | undefined;
|
|
5639
5660
|
taskImages?: string[] | undefined;
|
|
5640
5661
|
model?: string | undefined;
|
|
5662
|
+
effort?: string | undefined;
|
|
5641
5663
|
modelIdentity?: string | undefined;
|
|
5642
5664
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5643
5665
|
agentProfile?: string | undefined;
|
|
@@ -5757,6 +5779,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5757
5779
|
}[] | undefined;
|
|
5758
5780
|
task: string;
|
|
5759
5781
|
model?: string | undefined;
|
|
5782
|
+
effort?: string | undefined;
|
|
5760
5783
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5761
5784
|
agentProfile?: string | undefined;
|
|
5762
5785
|
variants?: number | undefined;
|
|
@@ -5797,6 +5820,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5797
5820
|
}[] | undefined;
|
|
5798
5821
|
task: string;
|
|
5799
5822
|
model?: string | undefined;
|
|
5823
|
+
effort?: string | undefined;
|
|
5800
5824
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5801
5825
|
agentProfile?: string | undefined;
|
|
5802
5826
|
variants?: number | undefined;
|
|
@@ -5837,6 +5861,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5837
5861
|
}[] | undefined;
|
|
5838
5862
|
task: string;
|
|
5839
5863
|
model?: string | undefined;
|
|
5864
|
+
effort?: string | undefined;
|
|
5840
5865
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5841
5866
|
agentProfile?: string | undefined;
|
|
5842
5867
|
variants?: number | undefined;
|
|
@@ -5877,6 +5902,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5877
5902
|
}[] | undefined;
|
|
5878
5903
|
task: string;
|
|
5879
5904
|
model?: string | undefined;
|
|
5905
|
+
effort?: string | undefined;
|
|
5880
5906
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5881
5907
|
agentProfile?: string | undefined;
|
|
5882
5908
|
variants?: number | undefined;
|
|
@@ -5913,6 +5939,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
5913
5939
|
}[] | undefined;
|
|
5914
5940
|
taskImages?: string[] | undefined;
|
|
5915
5941
|
model?: string | undefined;
|
|
5942
|
+
effort?: string | undefined;
|
|
5916
5943
|
modelIdentity?: string | undefined;
|
|
5917
5944
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
5918
5945
|
agentProfile?: string | undefined;
|
|
@@ -6033,6 +6060,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6033
6060
|
}[] | undefined;
|
|
6034
6061
|
task: string;
|
|
6035
6062
|
model?: string | undefined;
|
|
6063
|
+
effort?: string | undefined;
|
|
6036
6064
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6037
6065
|
agentProfile?: string | undefined;
|
|
6038
6066
|
variants?: number | undefined;
|
|
@@ -6072,6 +6100,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6072
6100
|
}[] | undefined;
|
|
6073
6101
|
taskImages?: string[] | undefined;
|
|
6074
6102
|
model?: string | undefined;
|
|
6103
|
+
effort?: string | undefined;
|
|
6075
6104
|
modelIdentity?: string | undefined;
|
|
6076
6105
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6077
6106
|
agentProfile?: string | undefined;
|
|
@@ -6333,6 +6362,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6333
6362
|
}[] | undefined;
|
|
6334
6363
|
taskImages?: string[] | undefined;
|
|
6335
6364
|
model?: string | undefined;
|
|
6365
|
+
effort?: string | undefined;
|
|
6336
6366
|
modelIdentity?: string | undefined;
|
|
6337
6367
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6338
6368
|
agentProfile?: string | undefined;
|
|
@@ -6832,6 +6862,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6832
6862
|
}[] | undefined;
|
|
6833
6863
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6834
6864
|
model?: string | undefined;
|
|
6865
|
+
effort?: string | undefined;
|
|
6835
6866
|
agentProfile?: string | undefined;
|
|
6836
6867
|
};
|
|
6837
6868
|
} & {
|
|
@@ -6854,6 +6885,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6854
6885
|
}[] | undefined;
|
|
6855
6886
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6856
6887
|
model?: string | undefined;
|
|
6888
|
+
effort?: string | undefined;
|
|
6857
6889
|
agentProfile?: string | undefined;
|
|
6858
6890
|
};
|
|
6859
6891
|
} & {
|
|
@@ -6876,6 +6908,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6876
6908
|
}[] | undefined;
|
|
6877
6909
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6878
6910
|
model?: string | undefined;
|
|
6911
|
+
effort?: string | undefined;
|
|
6879
6912
|
agentProfile?: string | undefined;
|
|
6880
6913
|
};
|
|
6881
6914
|
} & {
|
|
@@ -6898,6 +6931,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
6898
6931
|
}[] | undefined;
|
|
6899
6932
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
6900
6933
|
model?: string | undefined;
|
|
6934
|
+
effort?: string | undefined;
|
|
6901
6935
|
agentProfile?: string | undefined;
|
|
6902
6936
|
};
|
|
6903
6937
|
} & {
|
|
@@ -7849,6 +7883,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
7849
7883
|
}[] | undefined;
|
|
7850
7884
|
taskImages?: string[] | undefined;
|
|
7851
7885
|
model?: string | undefined;
|
|
7886
|
+
effort?: string | undefined;
|
|
7852
7887
|
modelIdentity?: string | undefined;
|
|
7853
7888
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
7854
7889
|
agentProfile?: string | undefined;
|
|
@@ -8365,6 +8400,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8365
8400
|
json: {
|
|
8366
8401
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8367
8402
|
model?: string | undefined;
|
|
8403
|
+
effort?: string | undefined;
|
|
8368
8404
|
prompt?: string | undefined;
|
|
8369
8405
|
} | undefined;
|
|
8370
8406
|
} & {
|
|
@@ -8394,6 +8430,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8394
8430
|
}[] | undefined;
|
|
8395
8431
|
taskImages?: string[] | undefined;
|
|
8396
8432
|
model?: string | undefined;
|
|
8433
|
+
effort?: string | undefined;
|
|
8397
8434
|
modelIdentity?: string | undefined;
|
|
8398
8435
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8399
8436
|
agentProfile?: string | undefined;
|
|
@@ -8498,6 +8535,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8498
8535
|
json: {
|
|
8499
8536
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8500
8537
|
model?: string | undefined;
|
|
8538
|
+
effort?: string | undefined;
|
|
8501
8539
|
prompt?: string | undefined;
|
|
8502
8540
|
} | undefined;
|
|
8503
8541
|
} & {
|
|
@@ -8515,6 +8553,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8515
8553
|
json: {
|
|
8516
8554
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8517
8555
|
model?: string | undefined;
|
|
8556
|
+
effort?: string | undefined;
|
|
8518
8557
|
prompt?: string | undefined;
|
|
8519
8558
|
} | undefined;
|
|
8520
8559
|
} & {
|
|
@@ -8532,6 +8571,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8532
8571
|
json: {
|
|
8533
8572
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
8534
8573
|
model?: string | undefined;
|
|
8574
|
+
effort?: string | undefined;
|
|
8535
8575
|
prompt?: string | undefined;
|
|
8536
8576
|
} | undefined;
|
|
8537
8577
|
} & {
|
|
@@ -9652,6 +9692,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9652
9692
|
}[] | undefined;
|
|
9653
9693
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9654
9694
|
model?: string | undefined;
|
|
9695
|
+
effort?: string | undefined;
|
|
9655
9696
|
variants?: 1 | 2 | 3 | undefined;
|
|
9656
9697
|
worktree?: boolean | undefined;
|
|
9657
9698
|
generateFollowups?: boolean | undefined;
|
|
@@ -9769,6 +9810,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9769
9810
|
}[] | undefined;
|
|
9770
9811
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9771
9812
|
model?: string | undefined;
|
|
9813
|
+
effort?: string | undefined;
|
|
9772
9814
|
variants?: 1 | 2 | 3 | undefined;
|
|
9773
9815
|
worktree?: boolean | undefined;
|
|
9774
9816
|
generateFollowups?: boolean | undefined;
|
|
@@ -9821,6 +9863,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9821
9863
|
}[] | undefined;
|
|
9822
9864
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9823
9865
|
model?: string | undefined;
|
|
9866
|
+
effort?: string | undefined;
|
|
9824
9867
|
variants?: 1 | 2 | 3 | undefined;
|
|
9825
9868
|
worktree?: boolean | undefined;
|
|
9826
9869
|
generateFollowups?: boolean | undefined;
|
|
@@ -9872,6 +9915,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9872
9915
|
}[] | undefined;
|
|
9873
9916
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9874
9917
|
model?: string | undefined;
|
|
9918
|
+
effort?: string | undefined;
|
|
9875
9919
|
variants?: 1 | 2 | 3 | undefined;
|
|
9876
9920
|
worktree?: boolean | undefined;
|
|
9877
9921
|
generateFollowups?: boolean | undefined;
|
|
@@ -9939,6 +9983,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
9939
9983
|
}[] | undefined;
|
|
9940
9984
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
9941
9985
|
model?: string | undefined;
|
|
9986
|
+
effort?: string | undefined;
|
|
9942
9987
|
variants?: 1 | 2 | 3 | undefined;
|
|
9943
9988
|
worktree?: boolean | undefined;
|
|
9944
9989
|
generateFollowups?: boolean | undefined;
|
|
@@ -10054,6 +10099,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10054
10099
|
}[] | undefined;
|
|
10055
10100
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10056
10101
|
model?: string | undefined;
|
|
10102
|
+
effort?: string | undefined;
|
|
10057
10103
|
variants?: 1 | 2 | 3 | undefined;
|
|
10058
10104
|
worktree?: boolean | undefined;
|
|
10059
10105
|
generateFollowups?: boolean | undefined;
|
|
@@ -10110,6 +10156,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10110
10156
|
}[] | undefined;
|
|
10111
10157
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10112
10158
|
model?: string | undefined;
|
|
10159
|
+
effort?: string | undefined;
|
|
10113
10160
|
variants?: 1 | 2 | 3 | undefined;
|
|
10114
10161
|
worktree?: boolean | undefined;
|
|
10115
10162
|
generateFollowups?: boolean | undefined;
|
|
@@ -10161,6 +10208,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10161
10208
|
}[] | undefined;
|
|
10162
10209
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10163
10210
|
model?: string | undefined;
|
|
10211
|
+
effort?: string | undefined;
|
|
10164
10212
|
variants?: 1 | 2 | 3 | undefined;
|
|
10165
10213
|
worktree?: boolean | undefined;
|
|
10166
10214
|
generateFollowups?: boolean | undefined;
|
|
@@ -10219,6 +10267,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10219
10267
|
}[] | undefined;
|
|
10220
10268
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10221
10269
|
model?: string | undefined;
|
|
10270
|
+
effort?: string | undefined;
|
|
10222
10271
|
variants?: 1 | 2 | 3 | undefined;
|
|
10223
10272
|
worktree?: boolean | undefined;
|
|
10224
10273
|
generateFollowups?: boolean | undefined;
|
|
@@ -10314,6 +10363,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10314
10363
|
}[] | undefined;
|
|
10315
10364
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10316
10365
|
model?: string | undefined;
|
|
10366
|
+
effort?: string | undefined;
|
|
10317
10367
|
variants?: 1 | 2 | 3 | undefined;
|
|
10318
10368
|
worktree?: boolean | undefined;
|
|
10319
10369
|
generateFollowups?: boolean | undefined;
|
|
@@ -10389,6 +10439,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10389
10439
|
}[] | undefined;
|
|
10390
10440
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10391
10441
|
model?: string | undefined;
|
|
10442
|
+
effort?: string | undefined;
|
|
10392
10443
|
variants?: 1 | 2 | 3 | undefined;
|
|
10393
10444
|
worktree?: boolean | undefined;
|
|
10394
10445
|
generateFollowups?: boolean | undefined;
|
|
@@ -10560,6 +10611,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10560
10611
|
}[] | undefined;
|
|
10561
10612
|
taskImages?: string[] | undefined;
|
|
10562
10613
|
model?: string | undefined;
|
|
10614
|
+
effort?: string | undefined;
|
|
10563
10615
|
modelIdentity?: string | undefined;
|
|
10564
10616
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10565
10617
|
agentProfile?: string | undefined;
|
|
@@ -10708,6 +10760,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10708
10760
|
}[] | undefined;
|
|
10709
10761
|
taskImages?: string[] | undefined;
|
|
10710
10762
|
model?: string | undefined;
|
|
10763
|
+
effort?: string | undefined;
|
|
10711
10764
|
modelIdentity?: string | undefined;
|
|
10712
10765
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10713
10766
|
agentProfile?: string | undefined;
|
|
@@ -10882,6 +10935,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
10882
10935
|
}[] | undefined;
|
|
10883
10936
|
taskImages?: string[] | undefined;
|
|
10884
10937
|
model?: string | undefined;
|
|
10938
|
+
effort?: string | undefined;
|
|
10885
10939
|
modelIdentity?: string | undefined;
|
|
10886
10940
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
10887
10941
|
agentProfile?: string | undefined;
|
|
@@ -11022,6 +11076,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11022
11076
|
}[] | undefined;
|
|
11023
11077
|
taskImages?: string[] | undefined;
|
|
11024
11078
|
model?: string | undefined;
|
|
11079
|
+
effort?: string | undefined;
|
|
11025
11080
|
modelIdentity?: string | undefined;
|
|
11026
11081
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11027
11082
|
agentProfile?: string | undefined;
|
|
@@ -11162,6 +11217,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11162
11217
|
}[] | undefined;
|
|
11163
11218
|
taskImages?: string[] | undefined;
|
|
11164
11219
|
model?: string | undefined;
|
|
11220
|
+
effort?: string | undefined;
|
|
11165
11221
|
modelIdentity?: string | undefined;
|
|
11166
11222
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11167
11223
|
agentProfile?: string | undefined;
|
|
@@ -11281,6 +11337,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11281
11337
|
}[] | undefined;
|
|
11282
11338
|
task: string;
|
|
11283
11339
|
model?: string | undefined;
|
|
11340
|
+
effort?: string | undefined;
|
|
11284
11341
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11285
11342
|
agentProfile?: string | undefined;
|
|
11286
11343
|
variants?: number | undefined;
|
|
@@ -11321,6 +11378,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11321
11378
|
}[] | undefined;
|
|
11322
11379
|
task: string;
|
|
11323
11380
|
model?: string | undefined;
|
|
11381
|
+
effort?: string | undefined;
|
|
11324
11382
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11325
11383
|
agentProfile?: string | undefined;
|
|
11326
11384
|
variants?: number | undefined;
|
|
@@ -11361,6 +11419,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11361
11419
|
}[] | undefined;
|
|
11362
11420
|
task: string;
|
|
11363
11421
|
model?: string | undefined;
|
|
11422
|
+
effort?: string | undefined;
|
|
11364
11423
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11365
11424
|
agentProfile?: string | undefined;
|
|
11366
11425
|
variants?: number | undefined;
|
|
@@ -11401,6 +11460,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11401
11460
|
}[] | undefined;
|
|
11402
11461
|
task: string;
|
|
11403
11462
|
model?: string | undefined;
|
|
11463
|
+
effort?: string | undefined;
|
|
11404
11464
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11405
11465
|
agentProfile?: string | undefined;
|
|
11406
11466
|
variants?: number | undefined;
|
|
@@ -11437,6 +11497,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11437
11497
|
}[] | undefined;
|
|
11438
11498
|
taskImages?: string[] | undefined;
|
|
11439
11499
|
model?: string | undefined;
|
|
11500
|
+
effort?: string | undefined;
|
|
11440
11501
|
modelIdentity?: string | undefined;
|
|
11441
11502
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11442
11503
|
agentProfile?: string | undefined;
|
|
@@ -11557,6 +11618,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11557
11618
|
}[] | undefined;
|
|
11558
11619
|
task: string;
|
|
11559
11620
|
model?: string | undefined;
|
|
11621
|
+
effort?: string | undefined;
|
|
11560
11622
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11561
11623
|
agentProfile?: string | undefined;
|
|
11562
11624
|
variants?: number | undefined;
|
|
@@ -11596,6 +11658,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11596
11658
|
}[] | undefined;
|
|
11597
11659
|
taskImages?: string[] | undefined;
|
|
11598
11660
|
model?: string | undefined;
|
|
11661
|
+
effort?: string | undefined;
|
|
11599
11662
|
modelIdentity?: string | undefined;
|
|
11600
11663
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11601
11664
|
agentProfile?: string | undefined;
|
|
@@ -11857,6 +11920,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
11857
11920
|
}[] | undefined;
|
|
11858
11921
|
taskImages?: string[] | undefined;
|
|
11859
11922
|
model?: string | undefined;
|
|
11923
|
+
effort?: string | undefined;
|
|
11860
11924
|
modelIdentity?: string | undefined;
|
|
11861
11925
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
11862
11926
|
agentProfile?: string | undefined;
|
|
@@ -12356,6 +12420,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12356
12420
|
}[] | undefined;
|
|
12357
12421
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
12358
12422
|
model?: string | undefined;
|
|
12423
|
+
effort?: string | undefined;
|
|
12359
12424
|
agentProfile?: string | undefined;
|
|
12360
12425
|
};
|
|
12361
12426
|
} & {
|
|
@@ -12378,6 +12443,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12378
12443
|
}[] | undefined;
|
|
12379
12444
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
12380
12445
|
model?: string | undefined;
|
|
12446
|
+
effort?: string | undefined;
|
|
12381
12447
|
agentProfile?: string | undefined;
|
|
12382
12448
|
};
|
|
12383
12449
|
} & {
|
|
@@ -12400,6 +12466,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12400
12466
|
}[] | undefined;
|
|
12401
12467
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
12402
12468
|
model?: string | undefined;
|
|
12469
|
+
effort?: string | undefined;
|
|
12403
12470
|
agentProfile?: string | undefined;
|
|
12404
12471
|
};
|
|
12405
12472
|
} & {
|
|
@@ -12422,6 +12489,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
12422
12489
|
}[] | undefined;
|
|
12423
12490
|
runner?: "claude" | "codex" | "opencode" | "pi" | undefined;
|
|
12424
12491
|
model?: string | undefined;
|
|
12492
|
+
effort?: string | undefined;
|
|
12425
12493
|
agentProfile?: string | undefined;
|
|
12426
12494
|
};
|
|
12427
12495
|
} & {
|
package/dist/server/server.js
CHANGED
|
@@ -257,6 +257,8 @@ const startRunSchema = z
|
|
|
257
257
|
// (~25k tokens) is well past any hand-written task.
|
|
258
258
|
task: z.string().min(1).max(100_000, 'must be at most 100000 characters'),
|
|
259
259
|
model: z.string().optional(),
|
|
260
|
+
// Reasoning-effort pin (#45). Omit for the harness default.
|
|
261
|
+
effort: z.string().max(32).optional(),
|
|
260
262
|
// Agent backend for this task (falls back to config `defaultRunner`).
|
|
261
263
|
runner: z.enum(RUNNER_IDS).optional(),
|
|
262
264
|
// Agent account for this task (spec 2026-07-29-agent-profiles). Falls back to the project's
|
|
@@ -508,6 +510,8 @@ const continueSchema = z.object({
|
|
|
508
510
|
images: z.array(imageInputSchema).max(4).optional(),
|
|
509
511
|
runner: z.enum(RUNNER_IDS).optional(),
|
|
510
512
|
model: z.string().max(200).optional(),
|
|
513
|
+
/** Reasoning-effort pin (#45). Omitted keeps the run's pin; empty string clears it. */
|
|
514
|
+
effort: z.string().max(32).optional(),
|
|
511
515
|
/** Agent account for the reopened session (spec 2026-07-29-agent-profiles). Bound mirrors
|
|
512
516
|
* `POST /runs`' own `agentProfile`. Omitted = keep the account the run is already on. */
|
|
513
517
|
agentProfile: z.string().max(64).optional(),
|
|
@@ -523,6 +527,7 @@ const startTodoSchema = z
|
|
|
523
527
|
.object({
|
|
524
528
|
runner: z.enum(RUNNER_IDS).optional(),
|
|
525
529
|
model: z.string().max(200).optional(),
|
|
530
|
+
effort: z.string().max(32).optional(),
|
|
526
531
|
prompt: z
|
|
527
532
|
.string()
|
|
528
533
|
.trim()
|
|
@@ -3080,7 +3085,8 @@ export function createApp(deps) {
|
|
|
3080
3085
|
.post('/runs', jsonZodValidator(startRunSchema), async (c) => {
|
|
3081
3086
|
const { root: repoRoot, dataDir, manager } = c.get('project');
|
|
3082
3087
|
const parsed = { data: c.req.valid('json') };
|
|
3083
|
-
if (agentModelsLocked(repoRoot) &&
|
|
3088
|
+
if (agentModelsLocked(repoRoot) &&
|
|
3089
|
+
(parsed.data.model?.trim() || parsed.data.effort?.trim())) {
|
|
3084
3090
|
return c.json({ error: AGENT_MODELS_LOCKED_ERROR }, 409);
|
|
3085
3091
|
}
|
|
3086
3092
|
let workflow;
|
|
@@ -3121,6 +3127,7 @@ export function createApp(deps) {
|
|
|
3121
3127
|
const input = {
|
|
3122
3128
|
task: parsed.data.task,
|
|
3123
3129
|
model: parsed.data.model,
|
|
3130
|
+
effort: parsed.data.effort,
|
|
3124
3131
|
runner: parsed.data.runner,
|
|
3125
3132
|
agentProfile: parsed.data.agentProfile,
|
|
3126
3133
|
images,
|
|
@@ -3367,7 +3374,8 @@ export function createApp(deps) {
|
|
|
3367
3374
|
// Bounded resume text (#429); an empty/absent body still just re-runs on the
|
|
3368
3375
|
// run's current backend, and a runner/model override reopens on that engine (#401).
|
|
3369
3376
|
const parsed = { data: c.req.valid('json') };
|
|
3370
|
-
if (agentModelsLocked(repoRoot) &&
|
|
3377
|
+
if (agentModelsLocked(repoRoot) &&
|
|
3378
|
+
(parsed.data.model?.trim() || parsed.data.effort?.trim())) {
|
|
3371
3379
|
return c.json({ error: AGENT_MODELS_LOCKED_ERROR }, 409);
|
|
3372
3380
|
}
|
|
3373
3381
|
const blocked = await providerActionError([providerForExistingRun(run, parsed.data.runner)]);
|
|
@@ -3391,6 +3399,7 @@ export function createApp(deps) {
|
|
|
3391
3399
|
})),
|
|
3392
3400
|
runner: parsed.data.runner,
|
|
3393
3401
|
model: parsed.data.model,
|
|
3402
|
+
effort: parsed.data.effort,
|
|
3394
3403
|
agentProfile: parsed.data.agentProfile,
|
|
3395
3404
|
});
|
|
3396
3405
|
if (!result.ok)
|
|
@@ -4035,7 +4044,8 @@ export function createApp(deps) {
|
|
|
4035
4044
|
const id = c.req.param('id');
|
|
4036
4045
|
const todo = c.get('todo');
|
|
4037
4046
|
const parsed = { data: c.req.valid('json') };
|
|
4038
|
-
if (agentModelsLocked(repoRoot) &&
|
|
4047
|
+
if (agentModelsLocked(repoRoot) &&
|
|
4048
|
+
(parsed.data?.model?.trim() || parsed.data?.effort?.trim())) {
|
|
4039
4049
|
return c.json({ error: AGENT_MODELS_LOCKED_ERROR }, 409);
|
|
4040
4050
|
}
|
|
4041
4051
|
if (todo.startedTaskId)
|
|
@@ -4074,6 +4084,7 @@ export function createApp(deps) {
|
|
|
4074
4084
|
task,
|
|
4075
4085
|
runner: parsed.data?.runner,
|
|
4076
4086
|
model: parsed.data?.model,
|
|
4087
|
+
effort: parsed.data?.effort,
|
|
4077
4088
|
});
|
|
4078
4089
|
await markStarted(dataDir, id, run.id);
|
|
4079
4090
|
return c.json({ run }, 201);
|