@wjarka/cezarion 0.14.5 → 0.14.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/README.md +4 -1
  2. package/dist/automations/types.d.ts +2 -0
  3. package/dist/contract/automations.d.ts +8 -0
  4. package/dist/contract/delegation.d.ts +1 -0
  5. package/dist/contract/index.js +5 -1
  6. package/dist/contract/runs.d.ts +7 -0
  7. package/dist/contract/skills.d.ts +1 -0
  8. package/dist/contract/workflows.d.ts +6 -0
  9. package/dist/delegation/cli.js +5 -3
  10. package/dist/delegation/cli.js.map +1 -1
  11. package/dist/delegation/execution-identity.d.ts +92 -4
  12. package/dist/delegation/execution-identity.js +40 -10
  13. package/dist/delegation/execution-identity.js.map +1 -1
  14. package/dist/delegation/provision.js +5 -2
  15. package/dist/delegation/provision.js.map +1 -1
  16. package/dist/delegation/routes.d.ts +1 -0
  17. package/dist/delegation/service.js +95 -13
  18. package/dist/delegation/service.js.map +1 -1
  19. package/dist/delegation/transport.d.ts +1 -0
  20. package/dist/runs/store.d.ts +1 -0
  21. package/dist/server/server.d.ts +68 -0
  22. package/dist/workflows/load.d.ts +2 -0
  23. package/dist/workflows/load.js +5 -0
  24. package/dist/workflows/load.js.map +1 -1
  25. package/dist/workflows/run.d.ts +37 -2
  26. package/dist/workflows/run.js +160 -47
  27. package/dist/workflows/run.js.map +1 -1
  28. package/dist/workflows/types.d.ts +5 -1
  29. package/dist/workflows/types.js +6 -2
  30. package/dist/workflows/types.js.map +1 -1
  31. package/package.json +3 -3
  32. package/web/dist/assets/{agent-accounts-4EqNShyp.js → agent-accounts-lP_xK83o.js} +1 -1
  33. package/web/dist/assets/{alert-dialog-CVF_qvQ8.js → alert-dialog-CmDuefYh.js} +1 -1
  34. package/web/dist/assets/{collapsible-DVDGHZAE.js → collapsible-BqX8REmY.js} +1 -1
  35. package/web/dist/assets/{commit-list-BuNsBn8P.js → commit-list-BWvv1H7A.js} +1 -1
  36. package/web/dist/assets/{compare-variants-BnQ1O8Ix.js → compare-variants-Bg7eLW3z.js} +1 -1
  37. package/web/dist/assets/{diff-DWmKlqw52.js → diff-0GBum40Q2.js} +2 -2
  38. package/web/dist/assets/{diff-controls-CuqRa-63.js → diff-controls-HwWHHait.js} +1 -1
  39. package/web/dist/assets/{diff-stat-BXriPIds.js → diff-stat-mNkhAc5m.js} +1 -1
  40. package/web/dist/assets/{diff-view-DLPDcgEV.js → diff-view-DW64doDY.js} +1 -1
  41. package/web/dist/assets/{dropdown-menu-IsTcumXE.js → dropdown-menu-sZjYPcLh.js} +1 -1
  42. package/web/dist/assets/{git-toolbar-BjMzETip.js → git-toolbar-DBW5EIcY.js} +1 -1
  43. package/web/dist/assets/{github-BvowTAuy.js → github-CkZ4hWI5.js} +1 -1
  44. package/web/dist/assets/{image-preview-WXKTY8KT.js → image-preview-DZicGNkU.js} +1 -1
  45. package/web/dist/assets/{index-Cz3N9b18.js → index-DWWI-B9n.js} +3 -3
  46. package/web/dist/assets/{markdown-gFxX4dDH.js → markdown-AY2K3kIV.js} +1 -1
  47. package/web/dist/assets/{pill-BlaWNkHk.js → pill-CcJqA1cL.js} +1 -1
  48. package/web/dist/assets/{project-router-CX1jLqj-.js → project-router-SwsXRKXs.js} +1 -1
  49. package/web/dist/assets/{prompt-templates-DwdQcfSc.js → prompt-templates-iV2WD2jy.js} +1 -1
  50. package/web/dist/assets/{repo-git-DnbE8dR5.js → repo-git-BW3TOs3U.js} +1 -1
  51. package/web/dist/assets/{run-diff-Mfc85irR.js → run-diff-DPUNj56q.js} +1 -1
  52. package/web/dist/assets/{run-header-CDO3LV4z.js → run-header-DbDluWoV.js} +1 -1
  53. package/web/dist/assets/{skills-DHfsyXTQ.js → skills-Dv8Vwv5D.js} +1 -1
  54. package/web/dist/assets/{tab-link-DhREnUYE.js → tab-link-DSftvkZS.js} +1 -1
  55. package/web/dist/assets/{task-changes-Cfo-vtEl.js → task-changes-CTCuVls1.js} +1 -1
  56. package/web/dist/assets/{task-commits-CvK4flXT.js → task-commits-weJQ5GSl.js} +1 -1
  57. package/web/dist/assets/{task-files-BwVGUObK.js → task-files-B4bUimY8.js} +1 -1
  58. package/web/dist/assets/{task-thread-g1vc4tKn.js → task-thread-BuXrVB9K.js} +1 -1
  59. package/web/dist/assets/{textarea-DCP8bOOf.js → textarea-CxRdTWlq.js} +1 -1
  60. package/web/dist/assets/{thread-loading-D9DbIsIS.js → thread-loading-JlP6dUpX.js} +1 -1
  61. package/web/dist/assets/{token-metrics-PSnNTJZF.js → token-metrics-Z3UFYbuD.js} +1 -1
  62. package/web/dist/assets/{utils-DNvmfH6b.js → utils-CUnaAifW.js} +1 -1
  63. package/web/dist/assets/{workflows-BDdUJIFT.js → workflows-vA27Yi8W.js} +3 -3
  64. package/web/dist/assets/{zoomable-image-yNqiuVu7.js → zoomable-image-DUE1KFJ0.js} +1 -1
  65. package/web/dist/index.html +13 -13
@@ -2109,6 +2109,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2109
2109
  model?: string | undefined;
2110
2110
  effort?: string | undefined;
2111
2111
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
2112
+ agentProfile?: string | undefined;
2112
2113
  allowedTools?: string[] | undefined;
2113
2114
  bashAllowlist?: string[] | undefined;
2114
2115
  command?: string | undefined;
@@ -2680,6 +2681,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2680
2681
  model?: string | undefined;
2681
2682
  effort?: string | undefined;
2682
2683
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
2684
+ agentProfile?: string | undefined;
2683
2685
  allowedTools?: string[] | undefined;
2684
2686
  bashAllowlist?: string[] | undefined;
2685
2687
  command?: string | undefined;
@@ -3462,6 +3464,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3462
3464
  model?: string | undefined;
3463
3465
  effort?: string | undefined;
3464
3466
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3467
+ agentProfile?: string | undefined;
3465
3468
  allowedTools?: string[] | undefined;
3466
3469
  bashAllowlist?: string[] | undefined;
3467
3470
  command?: string | undefined;
@@ -3682,6 +3685,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3682
3685
  model?: string | undefined;
3683
3686
  effort?: string | undefined;
3684
3687
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3688
+ agentProfile?: string | undefined;
3685
3689
  allowedTools?: string[] | undefined;
3686
3690
  bashAllowlist?: string[] | undefined;
3687
3691
  command?: string | undefined;
@@ -3723,6 +3727,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3723
3727
  model?: string | undefined;
3724
3728
  effort?: string | undefined;
3725
3729
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3730
+ agentProfile?: string | undefined;
3726
3731
  allowedTools?: string[] | undefined;
3727
3732
  bashAllowlist?: string[] | undefined;
3728
3733
  command?: string | undefined;
@@ -3754,6 +3759,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3754
3759
  model?: string | undefined;
3755
3760
  effort?: string | undefined;
3756
3761
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3762
+ agentProfile?: string | undefined;
3757
3763
  allowedTools?: string[] | undefined;
3758
3764
  bashAllowlist?: string[] | undefined;
3759
3765
  command?: string | undefined;
@@ -3784,6 +3790,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3784
3790
  model?: string | undefined;
3785
3791
  effort?: string | undefined;
3786
3792
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3793
+ agentProfile?: string | undefined;
3787
3794
  allowedTools?: string[] | undefined;
3788
3795
  bashAllowlist?: string[] | undefined;
3789
3796
  command?: string | undefined;
@@ -3815,6 +3822,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3815
3822
  model?: string | undefined;
3816
3823
  effort?: string | undefined;
3817
3824
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3825
+ agentProfile?: string | undefined;
3818
3826
  allowedTools?: string[] | undefined;
3819
3827
  bashAllowlist?: string[] | undefined;
3820
3828
  command?: string | undefined;
@@ -3903,6 +3911,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3903
3911
  model?: string | undefined;
3904
3912
  effort?: string | undefined;
3905
3913
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
3914
+ agentProfile?: string | undefined;
3906
3915
  allowedTools?: string[] | undefined;
3907
3916
  bashAllowlist?: string[] | undefined;
3908
3917
  command?: string | undefined;
@@ -4756,6 +4765,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4756
4765
  model?: string | undefined;
4757
4766
  effort?: string | undefined;
4758
4767
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
4768
+ agentProfile?: string | undefined;
4759
4769
  allowedTools?: string[] | undefined;
4760
4770
  bashAllowlist?: string[] | undefined;
4761
4771
  command?: string | undefined;
@@ -4875,6 +4885,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4875
4885
  model?: string | undefined;
4876
4886
  effort?: string | undefined;
4877
4887
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
4888
+ agentProfile?: string | undefined;
4878
4889
  allowedTools?: string[] | undefined;
4879
4890
  bashAllowlist?: string[] | undefined;
4880
4891
  command?: string | undefined;
@@ -4929,6 +4940,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4929
4940
  model?: string | undefined;
4930
4941
  effort?: string | undefined;
4931
4942
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
4943
+ agentProfile?: string | undefined;
4932
4944
  allowedTools?: string[] | undefined;
4933
4945
  bashAllowlist?: string[] | undefined;
4934
4946
  command?: string | undefined;
@@ -4982,6 +4994,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4982
4994
  model?: string | undefined;
4983
4995
  effort?: string | undefined;
4984
4996
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
4997
+ agentProfile?: string | undefined;
4985
4998
  allowedTools?: string[] | undefined;
4986
4999
  bashAllowlist?: string[] | undefined;
4987
5000
  command?: string | undefined;
@@ -5051,6 +5064,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5051
5064
  model?: string | undefined;
5052
5065
  effort?: string | undefined;
5053
5066
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
5067
+ agentProfile?: string | undefined;
5054
5068
  allowedTools?: string[] | undefined;
5055
5069
  bashAllowlist?: string[] | undefined;
5056
5070
  command?: string | undefined;
@@ -5168,6 +5182,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5168
5182
  model?: string | undefined;
5169
5183
  effort?: string | undefined;
5170
5184
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
5185
+ agentProfile?: string | undefined;
5171
5186
  allowedTools?: string[] | undefined;
5172
5187
  bashAllowlist?: string[] | undefined;
5173
5188
  command?: string | undefined;
@@ -5226,6 +5241,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5226
5241
  model?: string | undefined;
5227
5242
  effort?: string | undefined;
5228
5243
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
5244
+ agentProfile?: string | undefined;
5229
5245
  allowedTools?: string[] | undefined;
5230
5246
  bashAllowlist?: string[] | undefined;
5231
5247
  command?: string | undefined;
@@ -5279,6 +5295,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5279
5295
  model?: string | undefined;
5280
5296
  effort?: string | undefined;
5281
5297
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
5298
+ agentProfile?: string | undefined;
5282
5299
  allowedTools?: string[] | undefined;
5283
5300
  bashAllowlist?: string[] | undefined;
5284
5301
  command?: string | undefined;
@@ -5339,6 +5356,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5339
5356
  model?: string | undefined;
5340
5357
  effort?: string | undefined;
5341
5358
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
5359
+ agentProfile?: string | undefined;
5342
5360
  allowedTools?: string[] | undefined;
5343
5361
  bashAllowlist?: string[] | undefined;
5344
5362
  command?: string | undefined;
@@ -5436,6 +5454,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5436
5454
  model?: string | undefined;
5437
5455
  effort?: string | undefined;
5438
5456
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
5457
+ agentProfile?: string | undefined;
5439
5458
  allowedTools?: string[] | undefined;
5440
5459
  bashAllowlist?: string[] | undefined;
5441
5460
  command?: string | undefined;
@@ -5513,6 +5532,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5513
5532
  model?: string | undefined;
5514
5533
  effort?: string | undefined;
5515
5534
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
5535
+ agentProfile?: string | undefined;
5516
5536
  allowedTools?: string[] | undefined;
5517
5537
  bashAllowlist?: string[] | undefined;
5518
5538
  command?: string | undefined;
@@ -6009,6 +6029,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6009
6029
  model?: string | undefined;
6010
6030
  effort?: string | undefined;
6011
6031
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
6032
+ agentProfile?: string | undefined;
6012
6033
  allowedTools?: string[] | undefined;
6013
6034
  bashAllowlist?: string[] | undefined;
6014
6035
  command?: string | undefined;
@@ -6604,6 +6625,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6604
6625
  model?: string | undefined;
6605
6626
  effort?: string | undefined;
6606
6627
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
6628
+ agentProfile?: string | undefined;
6607
6629
  allowedTools?: string[] | undefined;
6608
6630
  bashAllowlist?: string[] | undefined;
6609
6631
  command?: string | undefined;
@@ -6996,6 +7018,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6996
7018
  model?: string | undefined;
6997
7019
  effort?: string | undefined;
6998
7020
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
7021
+ agentProfile?: string | undefined;
6999
7022
  allowedTools?: string[] | undefined;
7000
7023
  bashAllowlist?: string[] | undefined;
7001
7024
  command?: string | undefined;
@@ -7398,6 +7421,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7398
7421
  model?: string | undefined;
7399
7422
  effort?: string | undefined;
7400
7423
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
7424
+ agentProfile?: string | undefined;
7401
7425
  allowedTools?: string[] | undefined;
7402
7426
  bashAllowlist?: string[] | undefined;
7403
7427
  command?: string | undefined;
@@ -7766,6 +7790,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7766
7790
  model?: string | undefined;
7767
7791
  effort?: string | undefined;
7768
7792
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
7793
+ agentProfile?: string | undefined;
7769
7794
  allowedTools?: string[] | undefined;
7770
7795
  bashAllowlist?: string[] | undefined;
7771
7796
  command?: string | undefined;
@@ -8134,6 +8159,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8134
8159
  model?: string | undefined;
8135
8160
  effort?: string | undefined;
8136
8161
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8162
+ agentProfile?: string | undefined;
8137
8163
  allowedTools?: string[] | undefined;
8138
8164
  bashAllowlist?: string[] | undefined;
8139
8165
  command?: string | undefined;
@@ -8159,6 +8185,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8159
8185
  model?: string | undefined;
8160
8186
  effort?: string | undefined;
8161
8187
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8188
+ agentProfile?: string | undefined;
8162
8189
  allowedTools?: string[] | undefined;
8163
8190
  bashAllowlist?: string[] | undefined;
8164
8191
  command?: string | undefined;
@@ -8201,6 +8228,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8201
8228
  model?: string | undefined;
8202
8229
  effort?: string | undefined;
8203
8230
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8231
+ agentProfile?: string | undefined;
8204
8232
  allowedTools?: string[] | undefined;
8205
8233
  bashAllowlist?: string[] | undefined;
8206
8234
  command?: string | undefined;
@@ -8243,6 +8271,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8243
8271
  model?: string | undefined;
8244
8272
  effort?: string | undefined;
8245
8273
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8274
+ agentProfile?: string | undefined;
8246
8275
  allowedTools?: string[] | undefined;
8247
8276
  bashAllowlist?: string[] | undefined;
8248
8277
  command?: string | undefined;
@@ -8285,6 +8314,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8285
8314
  model?: string | undefined;
8286
8315
  effort?: string | undefined;
8287
8316
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8317
+ agentProfile?: string | undefined;
8288
8318
  allowedTools?: string[] | undefined;
8289
8319
  bashAllowlist?: string[] | undefined;
8290
8320
  command?: string | undefined;
@@ -8645,6 +8675,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8645
8675
  model?: string | undefined;
8646
8676
  effort?: string | undefined;
8647
8677
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8678
+ agentProfile?: string | undefined;
8648
8679
  allowedTools?: string[] | undefined;
8649
8680
  bashAllowlist?: string[] | undefined;
8650
8681
  command?: string | undefined;
@@ -8671,6 +8702,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8671
8702
  model?: string | undefined;
8672
8703
  effort?: string | undefined;
8673
8704
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
8705
+ agentProfile?: string | undefined;
8674
8706
  allowedTools?: string[] | undefined;
8675
8707
  bashAllowlist?: string[] | undefined;
8676
8708
  command?: string | undefined;
@@ -9034,6 +9066,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9034
9066
  model?: string | undefined;
9035
9067
  effort?: string | undefined;
9036
9068
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9069
+ agentProfile?: string | undefined;
9037
9070
  allowedTools?: string[] | undefined;
9038
9071
  bashAllowlist?: string[] | undefined;
9039
9072
  command?: string | undefined;
@@ -9531,6 +9564,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9531
9564
  model?: string | undefined;
9532
9565
  effort?: string | undefined;
9533
9566
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
9567
+ agentProfile?: string | undefined;
9534
9568
  allowedTools?: string[] | undefined;
9535
9569
  bashAllowlist?: string[] | undefined;
9536
9570
  command?: string | undefined;
@@ -10722,6 +10756,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10722
10756
  model?: string | undefined;
10723
10757
  effort?: string | undefined;
10724
10758
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
10759
+ agentProfile?: string | undefined;
10725
10760
  allowedTools?: string[] | undefined;
10726
10761
  bashAllowlist?: string[] | undefined;
10727
10762
  command?: string | undefined;
@@ -11293,6 +11328,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11293
11328
  model?: string | undefined;
11294
11329
  effort?: string | undefined;
11295
11330
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
11331
+ agentProfile?: string | undefined;
11296
11332
  allowedTools?: string[] | undefined;
11297
11333
  bashAllowlist?: string[] | undefined;
11298
11334
  command?: string | undefined;
@@ -12075,6 +12111,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12075
12111
  model?: string | undefined;
12076
12112
  effort?: string | undefined;
12077
12113
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
12114
+ agentProfile?: string | undefined;
12078
12115
  allowedTools?: string[] | undefined;
12079
12116
  bashAllowlist?: string[] | undefined;
12080
12117
  command?: string | undefined;
@@ -12295,6 +12332,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12295
12332
  model?: string | undefined;
12296
12333
  effort?: string | undefined;
12297
12334
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
12335
+ agentProfile?: string | undefined;
12298
12336
  allowedTools?: string[] | undefined;
12299
12337
  bashAllowlist?: string[] | undefined;
12300
12338
  command?: string | undefined;
@@ -12336,6 +12374,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12336
12374
  model?: string | undefined;
12337
12375
  effort?: string | undefined;
12338
12376
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
12377
+ agentProfile?: string | undefined;
12339
12378
  allowedTools?: string[] | undefined;
12340
12379
  bashAllowlist?: string[] | undefined;
12341
12380
  command?: string | undefined;
@@ -12367,6 +12406,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12367
12406
  model?: string | undefined;
12368
12407
  effort?: string | undefined;
12369
12408
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
12409
+ agentProfile?: string | undefined;
12370
12410
  allowedTools?: string[] | undefined;
12371
12411
  bashAllowlist?: string[] | undefined;
12372
12412
  command?: string | undefined;
@@ -12397,6 +12437,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12397
12437
  model?: string | undefined;
12398
12438
  effort?: string | undefined;
12399
12439
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
12440
+ agentProfile?: string | undefined;
12400
12441
  allowedTools?: string[] | undefined;
12401
12442
  bashAllowlist?: string[] | undefined;
12402
12443
  command?: string | undefined;
@@ -12428,6 +12469,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12428
12469
  model?: string | undefined;
12429
12470
  effort?: string | undefined;
12430
12471
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
12472
+ agentProfile?: string | undefined;
12431
12473
  allowedTools?: string[] | undefined;
12432
12474
  bashAllowlist?: string[] | undefined;
12433
12475
  command?: string | undefined;
@@ -12516,6 +12558,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12516
12558
  model?: string | undefined;
12517
12559
  effort?: string | undefined;
12518
12560
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
12561
+ agentProfile?: string | undefined;
12519
12562
  allowedTools?: string[] | undefined;
12520
12563
  bashAllowlist?: string[] | undefined;
12521
12564
  command?: string | undefined;
@@ -13369,6 +13412,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13369
13412
  model?: string | undefined;
13370
13413
  effort?: string | undefined;
13371
13414
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13415
+ agentProfile?: string | undefined;
13372
13416
  allowedTools?: string[] | undefined;
13373
13417
  bashAllowlist?: string[] | undefined;
13374
13418
  command?: string | undefined;
@@ -13488,6 +13532,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13488
13532
  model?: string | undefined;
13489
13533
  effort?: string | undefined;
13490
13534
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13535
+ agentProfile?: string | undefined;
13491
13536
  allowedTools?: string[] | undefined;
13492
13537
  bashAllowlist?: string[] | undefined;
13493
13538
  command?: string | undefined;
@@ -13542,6 +13587,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13542
13587
  model?: string | undefined;
13543
13588
  effort?: string | undefined;
13544
13589
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13590
+ agentProfile?: string | undefined;
13545
13591
  allowedTools?: string[] | undefined;
13546
13592
  bashAllowlist?: string[] | undefined;
13547
13593
  command?: string | undefined;
@@ -13595,6 +13641,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13595
13641
  model?: string | undefined;
13596
13642
  effort?: string | undefined;
13597
13643
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13644
+ agentProfile?: string | undefined;
13598
13645
  allowedTools?: string[] | undefined;
13599
13646
  bashAllowlist?: string[] | undefined;
13600
13647
  command?: string | undefined;
@@ -13664,6 +13711,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13664
13711
  model?: string | undefined;
13665
13712
  effort?: string | undefined;
13666
13713
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13714
+ agentProfile?: string | undefined;
13667
13715
  allowedTools?: string[] | undefined;
13668
13716
  bashAllowlist?: string[] | undefined;
13669
13717
  command?: string | undefined;
@@ -13781,6 +13829,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13781
13829
  model?: string | undefined;
13782
13830
  effort?: string | undefined;
13783
13831
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13832
+ agentProfile?: string | undefined;
13784
13833
  allowedTools?: string[] | undefined;
13785
13834
  bashAllowlist?: string[] | undefined;
13786
13835
  command?: string | undefined;
@@ -13839,6 +13888,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13839
13888
  model?: string | undefined;
13840
13889
  effort?: string | undefined;
13841
13890
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13891
+ agentProfile?: string | undefined;
13842
13892
  allowedTools?: string[] | undefined;
13843
13893
  bashAllowlist?: string[] | undefined;
13844
13894
  command?: string | undefined;
@@ -13892,6 +13942,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13892
13942
  model?: string | undefined;
13893
13943
  effort?: string | undefined;
13894
13944
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
13945
+ agentProfile?: string | undefined;
13895
13946
  allowedTools?: string[] | undefined;
13896
13947
  bashAllowlist?: string[] | undefined;
13897
13948
  command?: string | undefined;
@@ -13952,6 +14003,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13952
14003
  model?: string | undefined;
13953
14004
  effort?: string | undefined;
13954
14005
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14006
+ agentProfile?: string | undefined;
13955
14007
  allowedTools?: string[] | undefined;
13956
14008
  bashAllowlist?: string[] | undefined;
13957
14009
  command?: string | undefined;
@@ -14049,6 +14101,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14049
14101
  model?: string | undefined;
14050
14102
  effort?: string | undefined;
14051
14103
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14104
+ agentProfile?: string | undefined;
14052
14105
  allowedTools?: string[] | undefined;
14053
14106
  bashAllowlist?: string[] | undefined;
14054
14107
  command?: string | undefined;
@@ -14126,6 +14179,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14126
14179
  model?: string | undefined;
14127
14180
  effort?: string | undefined;
14128
14181
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14182
+ agentProfile?: string | undefined;
14129
14183
  allowedTools?: string[] | undefined;
14130
14184
  bashAllowlist?: string[] | undefined;
14131
14185
  command?: string | undefined;
@@ -14622,6 +14676,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14622
14676
  model?: string | undefined;
14623
14677
  effort?: string | undefined;
14624
14678
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
14679
+ agentProfile?: string | undefined;
14625
14680
  allowedTools?: string[] | undefined;
14626
14681
  bashAllowlist?: string[] | undefined;
14627
14682
  command?: string | undefined;
@@ -15217,6 +15272,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15217
15272
  model?: string | undefined;
15218
15273
  effort?: string | undefined;
15219
15274
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
15275
+ agentProfile?: string | undefined;
15220
15276
  allowedTools?: string[] | undefined;
15221
15277
  bashAllowlist?: string[] | undefined;
15222
15278
  command?: string | undefined;
@@ -15609,6 +15665,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15609
15665
  model?: string | undefined;
15610
15666
  effort?: string | undefined;
15611
15667
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
15668
+ agentProfile?: string | undefined;
15612
15669
  allowedTools?: string[] | undefined;
15613
15670
  bashAllowlist?: string[] | undefined;
15614
15671
  command?: string | undefined;
@@ -16011,6 +16068,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16011
16068
  model?: string | undefined;
16012
16069
  effort?: string | undefined;
16013
16070
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16071
+ agentProfile?: string | undefined;
16014
16072
  allowedTools?: string[] | undefined;
16015
16073
  bashAllowlist?: string[] | undefined;
16016
16074
  command?: string | undefined;
@@ -16379,6 +16437,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16379
16437
  model?: string | undefined;
16380
16438
  effort?: string | undefined;
16381
16439
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16440
+ agentProfile?: string | undefined;
16382
16441
  allowedTools?: string[] | undefined;
16383
16442
  bashAllowlist?: string[] | undefined;
16384
16443
  command?: string | undefined;
@@ -16747,6 +16806,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16747
16806
  model?: string | undefined;
16748
16807
  effort?: string | undefined;
16749
16808
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16809
+ agentProfile?: string | undefined;
16750
16810
  allowedTools?: string[] | undefined;
16751
16811
  bashAllowlist?: string[] | undefined;
16752
16812
  command?: string | undefined;
@@ -16772,6 +16832,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16772
16832
  model?: string | undefined;
16773
16833
  effort?: string | undefined;
16774
16834
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16835
+ agentProfile?: string | undefined;
16775
16836
  allowedTools?: string[] | undefined;
16776
16837
  bashAllowlist?: string[] | undefined;
16777
16838
  command?: string | undefined;
@@ -16814,6 +16875,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16814
16875
  model?: string | undefined;
16815
16876
  effort?: string | undefined;
16816
16877
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16878
+ agentProfile?: string | undefined;
16817
16879
  allowedTools?: string[] | undefined;
16818
16880
  bashAllowlist?: string[] | undefined;
16819
16881
  command?: string | undefined;
@@ -16856,6 +16918,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16856
16918
  model?: string | undefined;
16857
16919
  effort?: string | undefined;
16858
16920
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16921
+ agentProfile?: string | undefined;
16859
16922
  allowedTools?: string[] | undefined;
16860
16923
  bashAllowlist?: string[] | undefined;
16861
16924
  command?: string | undefined;
@@ -16898,6 +16961,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16898
16961
  model?: string | undefined;
16899
16962
  effort?: string | undefined;
16900
16963
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
16964
+ agentProfile?: string | undefined;
16901
16965
  allowedTools?: string[] | undefined;
16902
16966
  bashAllowlist?: string[] | undefined;
16903
16967
  command?: string | undefined;
@@ -17258,6 +17322,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17258
17322
  model?: string | undefined;
17259
17323
  effort?: string | undefined;
17260
17324
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
17325
+ agentProfile?: string | undefined;
17261
17326
  allowedTools?: string[] | undefined;
17262
17327
  bashAllowlist?: string[] | undefined;
17263
17328
  command?: string | undefined;
@@ -17284,6 +17349,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17284
17349
  model?: string | undefined;
17285
17350
  effort?: string | undefined;
17286
17351
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
17352
+ agentProfile?: string | undefined;
17287
17353
  allowedTools?: string[] | undefined;
17288
17354
  bashAllowlist?: string[] | undefined;
17289
17355
  command?: string | undefined;
@@ -17647,6 +17713,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
17647
17713
  model?: string | undefined;
17648
17714
  effort?: string | undefined;
17649
17715
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
17716
+ agentProfile?: string | undefined;
17650
17717
  allowedTools?: string[] | undefined;
17651
17718
  bashAllowlist?: string[] | undefined;
17652
17719
  command?: string | undefined;
@@ -18144,6 +18211,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18144
18211
  model?: string | undefined;
18145
18212
  effort?: string | undefined;
18146
18213
  runner?: "claude" | "codex" | "cursor" | "opencode" | "pi" | undefined;
18214
+ agentProfile?: string | undefined;
18147
18215
  allowedTools?: string[] | undefined;
18148
18216
  bashAllowlist?: string[] | undefined;
18149
18217
  command?: string | undefined;
@@ -13,3 +13,5 @@ export declare function loadWorkflows(repoRoot: string): Promise<{
13
13
  workflows: WorkflowDef[];
14
14
  issues: WorkflowLoadIssue[];
15
15
  }>;
16
+ /** One catalog entry by name, or null when no file or built-in carries it. */
17
+ export declare function findWorkflow(repoRoot: string, name: string): Promise<WorkflowDef | null>;
@@ -53,4 +53,9 @@ export async function loadWorkflows(repoRoot) {
53
53
  workflows.sort((a, b) => a.name.localeCompare(b.name));
54
54
  return { workflows, issues };
55
55
  }
56
+ /** One catalog entry by name, or null when no file or built-in carries it. */
57
+ export async function findWorkflow(repoRoot, name) {
58
+ const { workflows } = await loadWorkflows(repoRoot);
59
+ return workflows.find((w) => w.name === name) ?? null;
60
+ }
56
61
  //# sourceMappingURL=load.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"load.js","sourceRoot":"","sources":["../../src/workflows/load.ts"],"names":[],"mappings":"AAAA,OA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AAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;KAC/D,CAAC;IACF,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IACvD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;AAC/B,CAAC;AAED,8EAA8E;AAC9E,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,QAAgB,EAAE,IAAY;IAC/D,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,IAAI,CAAC;AACxD,CAAC"}
@@ -374,19 +374,47 @@ export declare class RunManager {
374
374
  * spawning a CLI. Never throws: an unreadable home degrades to the default profile, which is
375
375
  * exactly the behaviour that predates profiles.
376
376
  */
377
- /** Ordinary runs retain mutable discovery; owned runs require explicit durable evidence. */
377
+ /**
378
+ * Ordinary runs retain mutable discovery; owned runs require explicit durable evidence. With a
379
+ * `stepId`, the step's own pinned entry is checked too (#452): its account must still be
380
+ * available and its model/effort must clear the lock, exactly as the run-level fields must.
381
+ */
378
382
  private workerIdentity;
383
+ /** The pinned identity one agent step of an owned worker runs under; undefined for ordinary and internal runs. */
384
+ private workerStep;
385
+ /**
386
+ * The steps a continuation may extend. An accepted worker's public `workflowDef` is authority
387
+ * only while its identity binds it: a catalog chain through `ownedWorkflow`, and the default
388
+ * quick-task from the built-in constant, exactly the definition `ownedJob` launches — a salvaged
389
+ * or edited public record never picks which pinned identity a turn runs under.
390
+ */
391
+ private continuationDefSteps;
392
+ /**
393
+ * The definition step a continuation extends: the one owning the resumed session, else the
394
+ * chain's last agent step — a synthetic `continue-N` owner and a fresh-session continuation
395
+ * both extend the run's tail. Shared by `continueRun` (which identity to hold the override
396
+ * against) and `runContinuation` (which tools, model, effort and account the turn gets).
397
+ */
398
+ private continuationDefStep;
379
399
  private agentEnvForStep;
380
400
  private delegationProvisioner?;
381
401
  setDelegationProvisioner(provisioner: DelegationProvisioner): () => void;
382
402
  private provisionSession;
383
403
  /** Snapshot of the actual active session, never guessed from partial run settings. */
384
404
  delegationExecutionSettings(runId: string): DelegationExecutionSettings;
385
- /** Resolve caller selection once, before acceptance; permission grants always come from the parent. */
405
+ /**
406
+ * Resolve one agent step's selection before acceptance; permission grants always come from the
407
+ * parent. Called once per agent step of the accepted chain (#452): a same-backend step inherits
408
+ * the parent's account, model and effort, another runner resolves its own project/default
409
+ * account, and an explicit `agentProfile` names the account for either — an id the registry
410
+ * does not know is refused rather than degraded to the default, because a worker silently
411
+ * running on another login is a billing boundary crossed without anyone choosing it.
412
+ */
386
413
  selectDelegationExecutionSettings(runId: string, selection: {
387
414
  backend?: RunnerId;
388
415
  model?: string;
389
416
  effort?: string;
417
+ agentProfile?: string;
390
418
  }): Promise<DelegationExecutionSettings>;
391
419
  startRun(workflow: WorkflowDef, input: StartRunInput, group?: {
392
420
  groupId: string;
@@ -395,6 +423,13 @@ export declare class RunManager {
395
423
  /** Accept only the store's already-durable owned creation, never caller-supplied paths/workflows. */
396
424
  enqueueOwnedRun(runId: string): void;
397
425
  private ownedJob;
426
+ /**
427
+ * The catalog chain an owned worker runs (#451), or undefined for the built-in quick-task.
428
+ * The public `workflowDef` is mutable state, so it is authority only while the private
429
+ * identity's hash binds it — the same shape as the context recipe. A tampered or lost
430
+ * definition refuses execution instead of quietly running quick-task or the edit.
431
+ */
432
+ private ownedWorkflow;
398
433
  /**
399
434
  * Parallel variants (spec 010): N runs of the same workflow on the same
400
435
  * task, sharing a groupId. Variant A gets the task verbatim; B and C get a