takt 0.35.4 → 0.37.0

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 (1489) hide show
  1. package/README.md +17 -17
  2. package/builtins/en/config.yaml +3 -3
  3. package/builtins/en/facets/instructions/ai-fix.md +1 -1
  4. package/builtins/en/facets/instructions/ai-review.md +1 -1
  5. package/builtins/en/facets/instructions/architecture-audit-review.md +8 -3
  6. package/builtins/en/facets/instructions/architecture-audit-team-leader.md +3 -1
  7. package/builtins/en/facets/instructions/audit-security-review.md +6 -6
  8. package/builtins/en/facets/instructions/e2e-audit-review.md +8 -1
  9. package/builtins/en/facets/instructions/implement-after-tests.md +1 -1
  10. package/builtins/en/facets/instructions/implement-terraform.md +1 -1
  11. package/builtins/en/facets/instructions/implement-test.md +1 -1
  12. package/builtins/en/facets/instructions/implement.md +1 -1
  13. package/builtins/en/facets/instructions/review-arch.md +8 -5
  14. package/builtins/en/facets/instructions/review-cqrs-es.md +1 -1
  15. package/builtins/en/facets/instructions/review-qa.md +7 -4
  16. package/builtins/en/facets/instructions/review-requirements.md +6 -3
  17. package/builtins/en/facets/instructions/review-security.md +10 -2
  18. package/builtins/en/facets/instructions/review-terraform.md +1 -1
  19. package/builtins/en/facets/instructions/review-test.md +13 -4
  20. package/builtins/en/facets/instructions/supervise.md +13 -4
  21. package/builtins/en/facets/instructions/unit-audit-review.md +8 -1
  22. package/builtins/en/facets/instructions/write-tests-first.md +1 -1
  23. package/builtins/en/facets/knowledge/architecture.md +9 -9
  24. package/builtins/en/facets/knowledge/frontend.md +42 -2
  25. package/builtins/en/facets/knowledge/react.md +39 -0
  26. package/builtins/en/facets/knowledge/takt.md +12 -12
  27. package/builtins/en/facets/output-contracts/architecture-review.md +5 -0
  28. package/builtins/en/facets/output-contracts/qa-review.md +5 -0
  29. package/builtins/en/facets/output-contracts/requirements-review.md +5 -0
  30. package/builtins/en/facets/output-contracts/security-review.md +5 -0
  31. package/builtins/en/facets/output-contracts/testing-review.md +5 -0
  32. package/builtins/en/facets/personas/research-analyzer.md +1 -1
  33. package/builtins/en/facets/personas/supervisor.md +4 -1
  34. package/builtins/en/facets/policies/ai-antipattern.md +15 -0
  35. package/builtins/en/facets/policies/design-planning.md +1 -1
  36. package/builtins/en/facets/policies/screen-api.md +109 -0
  37. package/builtins/en/workflows/audit-architecture-backend.yaml +12 -4
  38. package/builtins/en/workflows/audit-architecture-dual.yaml +12 -4
  39. package/builtins/en/workflows/audit-architecture-frontend.yaml +12 -4
  40. package/builtins/en/workflows/audit-architecture.yaml +12 -4
  41. package/builtins/en/workflows/audit-e2e.yaml +12 -4
  42. package/builtins/en/workflows/audit-security.yaml +12 -4
  43. package/builtins/en/workflows/audit-unit.yaml +12 -4
  44. package/builtins/en/workflows/dual-cqrs-mini.yaml +3 -0
  45. package/builtins/en/workflows/dual-cqrs.yaml +4 -0
  46. package/builtins/en/workflows/dual-mini.yaml +3 -0
  47. package/builtins/en/workflows/dual.yaml +3 -0
  48. package/builtins/en/workflows/review-fix-dual-cqrs.yaml +2 -0
  49. package/builtins/en/workflows/review-fix-dual.yaml +2 -0
  50. package/builtins/ja/INSTRUCTION_STYLE_GUIDE.md +19 -19
  51. package/builtins/ja/KNOWLEDGE_STYLE_GUIDE.md +2 -2
  52. package/builtins/ja/OUTPUT_CONTRACT_STYLE_GUIDE.md +9 -9
  53. package/builtins/ja/PERSONA_STYLE_GUIDE.md +10 -10
  54. package/builtins/ja/POLICY_STYLE_GUIDE.md +3 -3
  55. package/builtins/ja/STYLE_GUIDE.md +3 -3
  56. package/builtins/ja/config.yaml +3 -3
  57. package/builtins/ja/facets/instructions/ai-fix.md +1 -1
  58. package/builtins/ja/facets/instructions/ai-review.md +1 -1
  59. package/builtins/ja/facets/instructions/architecture-audit-review.md +8 -3
  60. package/builtins/ja/facets/instructions/architecture-audit-team-leader.md +3 -1
  61. package/builtins/ja/facets/instructions/audit-security-review.md +6 -6
  62. package/builtins/ja/facets/instructions/e2e-audit-review.md +8 -1
  63. package/builtins/ja/facets/instructions/implement-after-tests.md +1 -1
  64. package/builtins/ja/facets/instructions/implement-terraform.md +1 -1
  65. package/builtins/ja/facets/instructions/implement-test.md +1 -1
  66. package/builtins/ja/facets/instructions/implement.md +1 -1
  67. package/builtins/ja/facets/instructions/review-arch.md +8 -5
  68. package/builtins/ja/facets/instructions/review-cqrs-es.md +1 -1
  69. package/builtins/ja/facets/instructions/review-qa.md +7 -4
  70. package/builtins/ja/facets/instructions/review-requirements.md +6 -3
  71. package/builtins/ja/facets/instructions/review-security.md +10 -2
  72. package/builtins/ja/facets/instructions/review-terraform.md +1 -1
  73. package/builtins/ja/facets/instructions/review-test.md +13 -4
  74. package/builtins/ja/facets/instructions/supervise.md +13 -4
  75. package/builtins/ja/facets/instructions/unit-audit-review.md +8 -1
  76. package/builtins/ja/facets/instructions/write-tests-first.md +1 -1
  77. package/builtins/ja/facets/knowledge/architecture.md +9 -9
  78. package/builtins/ja/facets/knowledge/frontend.md +41 -34
  79. package/builtins/ja/facets/knowledge/react.md +39 -0
  80. package/builtins/ja/facets/knowledge/takt.md +11 -11
  81. package/builtins/ja/facets/output-contracts/architecture-review.md +5 -0
  82. package/builtins/ja/facets/output-contracts/qa-review.md +5 -0
  83. package/builtins/ja/facets/output-contracts/requirements-review.md +5 -0
  84. package/builtins/ja/facets/output-contracts/security-review.md +5 -0
  85. package/builtins/ja/facets/output-contracts/testing-review.md +5 -0
  86. package/builtins/ja/facets/personas/research-analyzer.md +1 -1
  87. package/builtins/ja/facets/personas/supervisor.md +4 -1
  88. package/builtins/ja/facets/policies/ai-antipattern.md +15 -0
  89. package/builtins/ja/facets/policies/design-planning.md +1 -1
  90. package/builtins/ja/facets/policies/screen-api.md +109 -0
  91. package/builtins/ja/workflows/audit-architecture-backend.yaml +12 -4
  92. package/builtins/ja/workflows/audit-architecture-dual.yaml +12 -4
  93. package/builtins/ja/workflows/audit-architecture-frontend.yaml +12 -4
  94. package/builtins/ja/workflows/audit-architecture.yaml +12 -4
  95. package/builtins/ja/workflows/audit-e2e.yaml +12 -4
  96. package/builtins/ja/workflows/audit-security.yaml +12 -4
  97. package/builtins/ja/workflows/audit-unit.yaml +12 -4
  98. package/builtins/ja/workflows/dual-cqrs-mini.yaml +3 -0
  99. package/builtins/ja/workflows/dual-cqrs.yaml +4 -0
  100. package/builtins/ja/workflows/dual-mini.yaml +3 -0
  101. package/builtins/ja/workflows/dual.yaml +3 -0
  102. package/builtins/ja/workflows/review-fix-dual-cqrs.yaml +2 -0
  103. package/builtins/ja/workflows/review-fix-dual.yaml +2 -0
  104. package/builtins/project/dotgitignore +3 -3
  105. package/builtins/project/tasks/TASK-FORMAT +3 -3
  106. package/builtins/skill/SKILL.md +7 -8
  107. package/builtins/skill/references/engine.md +11 -11
  108. package/builtins/skill/references/yaml-schema.md +6 -8
  109. package/builtins/skill-codex/SKILL.md +7 -8
  110. package/builtins/skill-codex/agents/openai.yaml +2 -2
  111. package/builtins/skill-codex/references/engine.md +7 -7
  112. package/builtins/skill-codex/references/yaml-schema.md +6 -8
  113. package/dist/agents/decompose-task-usecase.d.ts +3 -1
  114. package/dist/agents/decompose-task-usecase.d.ts.map +1 -1
  115. package/dist/agents/decompose-task-usecase.js +5 -1
  116. package/dist/agents/decompose-task-usecase.js.map +1 -1
  117. package/dist/agents/judge-status-usecase.d.ts +6 -6
  118. package/dist/agents/judge-status-usecase.d.ts.map +1 -1
  119. package/dist/agents/judge-status-usecase.js +3 -3
  120. package/dist/agents/judge-status-usecase.js.map +1 -1
  121. package/dist/agents/judge-utils.d.ts +3 -3
  122. package/dist/agents/judge-utils.d.ts.map +1 -1
  123. package/dist/agents/judge-utils.js +2 -2
  124. package/dist/agents/judge-utils.js.map +1 -1
  125. package/dist/agents/runner.d.ts +0 -2
  126. package/dist/agents/runner.d.ts.map +1 -1
  127. package/dist/agents/runner.js +13 -21
  128. package/dist/agents/runner.js.map +1 -1
  129. package/dist/agents/structured-caller/capability-aware-structured-caller.d.ts +20 -0
  130. package/dist/agents/structured-caller/capability-aware-structured-caller.d.ts.map +1 -0
  131. package/dist/agents/structured-caller/capability-aware-structured-caller.js +41 -0
  132. package/dist/agents/structured-caller/capability-aware-structured-caller.js.map +1 -0
  133. package/dist/agents/structured-caller/contracts.d.ts +2 -2
  134. package/dist/agents/structured-caller/contracts.d.ts.map +1 -1
  135. package/dist/agents/structured-caller/default-structured-caller.d.ts +2 -2
  136. package/dist/agents/structured-caller/default-structured-caller.d.ts.map +1 -1
  137. package/dist/agents/structured-caller/default-structured-caller.js.map +1 -1
  138. package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts +2 -2
  139. package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts.map +1 -1
  140. package/dist/agents/structured-caller/prompt-based-structured-caller.js +7 -3
  141. package/dist/agents/structured-caller/prompt-based-structured-caller.js.map +1 -1
  142. package/dist/agents/structured-caller.d.ts +1 -0
  143. package/dist/agents/structured-caller.d.ts.map +1 -1
  144. package/dist/agents/structured-caller.js +1 -0
  145. package/dist/agents/structured-caller.js.map +1 -1
  146. package/dist/agents/team-leader-structured-output.js +1 -1
  147. package/dist/agents/team-leader-structured-output.js.map +1 -1
  148. package/dist/agents/types.d.ts +9 -8
  149. package/dist/agents/types.d.ts.map +1 -1
  150. package/dist/app/cli/commands.js +35 -2
  151. package/dist/app/cli/commands.js.map +1 -1
  152. package/dist/app/cli/helpers.d.ts.map +1 -1
  153. package/dist/app/cli/helpers.js +5 -11
  154. package/dist/app/cli/helpers.js.map +1 -1
  155. package/dist/app/cli/program.d.ts.map +1 -1
  156. package/dist/app/cli/program.js +0 -1
  157. package/dist/app/cli/program.js.map +1 -1
  158. package/dist/app/cli/routing.js +26 -26
  159. package/dist/app/cli/routing.js.map +1 -1
  160. package/dist/commands/repertoire/add.js +14 -14
  161. package/dist/commands/repertoire/add.js.map +1 -1
  162. package/dist/commands/repertoire/remove.d.ts.map +1 -1
  163. package/dist/commands/repertoire/remove.js +4 -3
  164. package/dist/commands/repertoire/remove.js.map +1 -1
  165. package/dist/core/config/provider-resolution.d.ts +1 -1
  166. package/dist/core/config/provider-resolution.d.ts.map +1 -1
  167. package/dist/core/logging/providerEvent.d.ts +7 -7
  168. package/dist/core/logging/providerEvent.d.ts.map +1 -1
  169. package/dist/core/logging/providerEvent.js +6 -6
  170. package/dist/core/logging/providerEvent.js.map +1 -1
  171. package/dist/core/logging/providerEventLogger.d.ts +2 -2
  172. package/dist/core/logging/providerEventLogger.d.ts.map +1 -1
  173. package/dist/core/logging/providerEventLogger.js +6 -6
  174. package/dist/core/logging/providerEventLogger.js.map +1 -1
  175. package/dist/core/logging/usageEventLogger.d.ts +4 -4
  176. package/dist/core/logging/usageEventLogger.d.ts.map +1 -1
  177. package/dist/core/logging/usageEventLogger.js +9 -9
  178. package/dist/core/logging/usageEventLogger.js.map +1 -1
  179. package/dist/core/models/config-schemas.d.ts +59 -174
  180. package/dist/core/models/config-schemas.d.ts.map +1 -1
  181. package/dist/core/models/config-schemas.js +27 -51
  182. package/dist/core/models/config-schemas.js.map +1 -1
  183. package/dist/core/models/config-types.d.ts +45 -45
  184. package/dist/core/models/config-types.d.ts.map +1 -1
  185. package/dist/core/models/config.js +2 -2
  186. package/dist/core/models/config.js.map +1 -1
  187. package/dist/core/models/index.d.ts +1 -1
  188. package/dist/core/models/index.d.ts.map +1 -1
  189. package/dist/core/models/index.js.map +1 -1
  190. package/dist/core/models/interactive-mode.d.ts +1 -1
  191. package/dist/core/models/interactive-mode.js +1 -1
  192. package/dist/core/models/part.d.ts +3 -3
  193. package/dist/core/models/part.d.ts.map +1 -1
  194. package/dist/core/models/provider-profiles.d.ts +3 -3
  195. package/dist/core/models/provider-profiles.d.ts.map +1 -1
  196. package/dist/core/models/schema-base.d.ts +45 -62
  197. package/dist/core/models/schema-base.d.ts.map +1 -1
  198. package/dist/core/models/schema-base.js +25 -17
  199. package/dist/core/models/schema-base.js.map +1 -1
  200. package/dist/core/models/session.d.ts +3 -3
  201. package/dist/core/models/session.d.ts.map +1 -1
  202. package/dist/core/models/session.js +2 -2
  203. package/dist/core/models/session.js.map +1 -1
  204. package/dist/core/models/status.d.ts +2 -2
  205. package/dist/core/models/status.d.ts.map +1 -1
  206. package/dist/core/models/status.js +1 -1
  207. package/dist/core/models/status.js.map +1 -1
  208. package/dist/core/models/types.d.ts +1 -1
  209. package/dist/core/models/types.d.ts.map +1 -1
  210. package/dist/core/models/workflow-schemas.d.ts +376 -968
  211. package/dist/core/models/workflow-schemas.d.ts.map +1 -1
  212. package/dist/core/models/workflow-schemas.js +252 -126
  213. package/dist/core/models/workflow-schemas.js.map +1 -1
  214. package/dist/core/models/workflow-step-kind.d.ts +8 -0
  215. package/dist/core/models/workflow-step-kind.d.ts.map +1 -0
  216. package/dist/core/models/workflow-step-kind.js +13 -0
  217. package/dist/core/models/workflow-step-kind.js.map +1 -0
  218. package/dist/core/models/workflow-system-schemas.d.ts +70 -0
  219. package/dist/core/models/workflow-system-schemas.d.ts.map +1 -0
  220. package/dist/core/models/workflow-system-schemas.js +187 -0
  221. package/dist/core/models/workflow-system-schemas.js.map +1 -0
  222. package/dist/core/models/workflow-types.d.ts +338 -0
  223. package/dist/core/models/workflow-types.d.ts.map +1 -0
  224. package/dist/core/models/{piece-types.js → workflow-types.js} +3 -2
  225. package/dist/core/models/workflow-types.js.map +1 -0
  226. package/dist/core/provider-resolution.d.ts +1 -1
  227. package/dist/core/provider-resolution.d.ts.map +1 -1
  228. package/dist/core/runtime/runtime-environment.d.ts +3 -3
  229. package/dist/core/runtime/runtime-environment.d.ts.map +1 -1
  230. package/dist/core/runtime/runtime-environment.js +4 -4
  231. package/dist/core/runtime/runtime-environment.js.map +1 -1
  232. package/dist/core/{piece → workflow}/arpeggio/csv-data-source.d.ts +1 -1
  233. package/dist/core/workflow/arpeggio/csv-data-source.d.ts.map +1 -0
  234. package/dist/core/{piece → workflow}/arpeggio/csv-data-source.js +1 -1
  235. package/dist/core/workflow/arpeggio/csv-data-source.js.map +1 -0
  236. package/dist/core/workflow/arpeggio/data-source-factory.d.ts.map +1 -0
  237. package/dist/core/workflow/arpeggio/data-source-factory.js.map +1 -0
  238. package/dist/core/{piece → workflow}/arpeggio/merge.d.ts +2 -2
  239. package/dist/core/workflow/arpeggio/merge.d.ts.map +1 -0
  240. package/dist/core/workflow/arpeggio/merge.js.map +1 -0
  241. package/dist/core/{piece → workflow}/arpeggio/template.d.ts +1 -1
  242. package/dist/core/workflow/arpeggio/template.d.ts.map +1 -0
  243. package/dist/core/{piece → workflow}/arpeggio/template.js +1 -1
  244. package/dist/core/workflow/arpeggio/template.js.map +1 -0
  245. package/dist/core/{piece → workflow}/arpeggio/types.d.ts +4 -4
  246. package/dist/core/workflow/arpeggio/types.d.ts.map +1 -0
  247. package/dist/core/workflow/arpeggio/types.js +9 -0
  248. package/dist/core/workflow/arpeggio/types.js.map +1 -0
  249. package/dist/core/{piece → workflow}/ask-user-question-error.d.ts +2 -2
  250. package/dist/core/workflow/ask-user-question-error.d.ts.map +1 -0
  251. package/dist/core/{piece → workflow}/ask-user-question-error.js +2 -2
  252. package/dist/core/workflow/ask-user-question-error.js.map +1 -0
  253. package/dist/core/workflow/claude-effort-compatibility.d.ts +3 -0
  254. package/dist/core/workflow/claude-effort-compatibility.d.ts.map +1 -0
  255. package/dist/core/workflow/claude-effort-compatibility.js +28 -0
  256. package/dist/core/workflow/claude-effort-compatibility.js.map +1 -0
  257. package/dist/core/workflow/constants.d.ts +20 -0
  258. package/dist/core/workflow/constants.d.ts.map +1 -0
  259. package/dist/core/workflow/constants.js +20 -0
  260. package/dist/core/workflow/constants.js.map +1 -0
  261. package/dist/core/{piece → workflow}/engine/ArpeggioRunner.d.ts +9 -9
  262. package/dist/core/workflow/engine/ArpeggioRunner.d.ts.map +1 -0
  263. package/dist/core/{piece → workflow}/engine/ArpeggioRunner.js +21 -21
  264. package/dist/core/workflow/engine/ArpeggioRunner.js.map +1 -0
  265. package/dist/core/workflow/engine/LoopMonitorJudgeRunner.d.ts +29 -0
  266. package/dist/core/workflow/engine/LoopMonitorJudgeRunner.d.ts.map +1 -0
  267. package/dist/core/workflow/engine/LoopMonitorJudgeRunner.js +111 -0
  268. package/dist/core/workflow/engine/LoopMonitorJudgeRunner.js.map +1 -0
  269. package/dist/core/workflow/engine/OptionsBuilder.d.ts +35 -0
  270. package/dist/core/workflow/engine/OptionsBuilder.d.ts.map +1 -0
  271. package/dist/core/{piece → workflow}/engine/OptionsBuilder.js +60 -35
  272. package/dist/core/workflow/engine/OptionsBuilder.js.map +1 -0
  273. package/dist/core/workflow/engine/ParallelRunner.d.ts +38 -0
  274. package/dist/core/workflow/engine/ParallelRunner.d.ts.map +1 -0
  275. package/dist/core/{piece → workflow}/engine/ParallelRunner.js +65 -65
  276. package/dist/core/workflow/engine/ParallelRunner.js.map +1 -0
  277. package/dist/core/workflow/engine/StepExecutor.d.ts +76 -0
  278. package/dist/core/workflow/engine/StepExecutor.d.ts.map +1 -0
  279. package/dist/core/{piece/engine/MovementExecutor.js → workflow/engine/StepExecutor.js} +132 -65
  280. package/dist/core/workflow/engine/StepExecutor.js.map +1 -0
  281. package/dist/core/workflow/engine/SystemStepExecutor.d.ts +23 -0
  282. package/dist/core/workflow/engine/SystemStepExecutor.d.ts.map +1 -0
  283. package/dist/core/workflow/engine/SystemStepExecutor.js +88 -0
  284. package/dist/core/workflow/engine/SystemStepExecutor.js.map +1 -0
  285. package/dist/core/workflow/engine/TeamLeaderRunner.d.ts +24 -0
  286. package/dist/core/workflow/engine/TeamLeaderRunner.d.ts.map +1 -0
  287. package/dist/core/{piece → workflow}/engine/TeamLeaderRunner.js +44 -26
  288. package/dist/core/workflow/engine/TeamLeaderRunner.js.map +1 -0
  289. package/dist/core/workflow/engine/WorkflowCallExecutor.d.ts +52 -0
  290. package/dist/core/workflow/engine/WorkflowCallExecutor.d.ts.map +1 -0
  291. package/dist/core/workflow/engine/WorkflowCallExecutor.js +147 -0
  292. package/dist/core/workflow/engine/WorkflowCallExecutor.js.map +1 -0
  293. package/dist/core/workflow/engine/WorkflowCallRunner.d.ts +36 -0
  294. package/dist/core/workflow/engine/WorkflowCallRunner.d.ts.map +1 -0
  295. package/dist/core/workflow/engine/WorkflowCallRunner.js +114 -0
  296. package/dist/core/workflow/engine/WorkflowCallRunner.js.map +1 -0
  297. package/dist/core/workflow/engine/WorkflowEngine.d.ts +54 -0
  298. package/dist/core/workflow/engine/WorkflowEngine.d.ts.map +1 -0
  299. package/dist/core/workflow/engine/WorkflowEngine.js +261 -0
  300. package/dist/core/workflow/engine/WorkflowEngine.js.map +1 -0
  301. package/dist/core/workflow/engine/WorkflowEnginePhaseRelay.d.ts +9 -0
  302. package/dist/core/workflow/engine/WorkflowEnginePhaseRelay.d.ts.map +1 -0
  303. package/dist/core/workflow/engine/WorkflowEnginePhaseRelay.js +26 -0
  304. package/dist/core/workflow/engine/WorkflowEnginePhaseRelay.js.map +1 -0
  305. package/dist/core/workflow/engine/WorkflowEngineSetup.d.ts +55 -0
  306. package/dist/core/workflow/engine/WorkflowEngineSetup.d.ts.map +1 -0
  307. package/dist/core/workflow/engine/WorkflowEngineSetup.js +176 -0
  308. package/dist/core/workflow/engine/WorkflowEngineSetup.js.map +1 -0
  309. package/dist/core/workflow/engine/WorkflowEngineStepCoordinator.d.ts +79 -0
  310. package/dist/core/workflow/engine/WorkflowEngineStepCoordinator.d.ts.map +1 -0
  311. package/dist/core/workflow/engine/WorkflowEngineStepCoordinator.js +79 -0
  312. package/dist/core/workflow/engine/WorkflowEngineStepCoordinator.js.map +1 -0
  313. package/dist/core/workflow/engine/WorkflowRunLoop.d.ts +45 -0
  314. package/dist/core/workflow/engine/WorkflowRunLoop.d.ts.map +1 -0
  315. package/dist/core/workflow/engine/WorkflowRunLoop.js +220 -0
  316. package/dist/core/workflow/engine/WorkflowRunLoop.js.map +1 -0
  317. package/dist/core/workflow/engine/WorkflowValidator.d.ts +4 -0
  318. package/dist/core/workflow/engine/WorkflowValidator.d.ts.map +1 -0
  319. package/dist/core/workflow/engine/WorkflowValidator.js +62 -0
  320. package/dist/core/workflow/engine/WorkflowValidator.js.map +1 -0
  321. package/dist/core/workflow/engine/abort-signal.d.ts.map +1 -0
  322. package/dist/core/workflow/engine/abort-signal.js.map +1 -0
  323. package/dist/core/workflow/engine/blocked-handler.d.ts +27 -0
  324. package/dist/core/workflow/engine/blocked-handler.d.ts.map +1 -0
  325. package/dist/core/{piece → workflow}/engine/blocked-handler.js +4 -4
  326. package/dist/core/workflow/engine/blocked-handler.js.map +1 -0
  327. package/dist/core/{piece → workflow}/engine/cycle-detector.d.ts +9 -9
  328. package/dist/core/workflow/engine/cycle-detector.d.ts.map +1 -0
  329. package/dist/core/{piece → workflow}/engine/cycle-detector.js +11 -11
  330. package/dist/core/workflow/engine/cycle-detector.js.map +1 -0
  331. package/dist/core/workflow/engine/engine-provider-options.d.ts +12 -0
  332. package/dist/core/workflow/engine/engine-provider-options.d.ts.map +1 -0
  333. package/dist/core/workflow/engine/engine-provider-options.js +32 -0
  334. package/dist/core/workflow/engine/engine-provider-options.js.map +1 -0
  335. package/dist/core/{piece → workflow}/engine/index.d.ts +5 -5
  336. package/dist/core/workflow/engine/index.d.ts.map +1 -0
  337. package/dist/core/{piece → workflow}/engine/index.js +4 -4
  338. package/dist/core/workflow/engine/index.js.map +1 -0
  339. package/dist/core/{piece → workflow}/engine/loop-detector.d.ts +6 -6
  340. package/dist/core/workflow/engine/loop-detector.d.ts.map +1 -0
  341. package/dist/core/{piece → workflow}/engine/loop-detector.js +9 -9
  342. package/dist/core/workflow/engine/loop-detector.js.map +1 -0
  343. package/dist/core/{piece → workflow}/engine/parallel-logger.d.ts +27 -27
  344. package/dist/core/workflow/engine/parallel-logger.d.ts.map +1 -0
  345. package/dist/core/{piece → workflow}/engine/parallel-logger.js +42 -42
  346. package/dist/core/workflow/engine/parallel-logger.js.map +1 -0
  347. package/dist/core/workflow/engine/state-manager.d.ts +46 -0
  348. package/dist/core/workflow/engine/state-manager.d.ts.map +1 -0
  349. package/dist/core/{piece → workflow}/engine/state-manager.js +24 -21
  350. package/dist/core/workflow/engine/state-manager.js.map +1 -0
  351. package/dist/core/workflow/engine/step-delay.d.ts +3 -0
  352. package/dist/core/workflow/engine/step-delay.d.ts.map +1 -0
  353. package/dist/core/workflow/engine/step-delay.js +7 -0
  354. package/dist/core/workflow/engine/step-delay.js.map +1 -0
  355. package/dist/core/workflow/engine/stream-buffer.d.ts.map +1 -0
  356. package/dist/core/workflow/engine/stream-buffer.js.map +1 -0
  357. package/dist/core/workflow/engine/structured-output-schema-validator.d.ts +2 -0
  358. package/dist/core/workflow/engine/structured-output-schema-validator.d.ts.map +1 -0
  359. package/dist/core/workflow/engine/structured-output-schema-validator.js +71 -0
  360. package/dist/core/workflow/engine/structured-output-schema-validator.js.map +1 -0
  361. package/dist/core/workflow/engine/task-decomposer.d.ts.map +1 -0
  362. package/dist/core/workflow/engine/task-decomposer.js.map +1 -0
  363. package/dist/core/workflow/engine/team-leader-aggregation.d.ts.map +1 -0
  364. package/dist/core/workflow/engine/team-leader-aggregation.js.map +1 -0
  365. package/dist/core/workflow/engine/team-leader-common.d.ts +8 -0
  366. package/dist/core/workflow/engine/team-leader-common.d.ts.map +1 -0
  367. package/dist/core/{piece → workflow}/engine/team-leader-common.js +3 -13
  368. package/dist/core/workflow/engine/team-leader-common.js.map +1 -0
  369. package/dist/core/workflow/engine/team-leader-execution.d.ts.map +1 -0
  370. package/dist/core/workflow/engine/team-leader-execution.js.map +1 -0
  371. package/dist/core/workflow/engine/team-leader-streaming.d.ts +5 -0
  372. package/dist/core/workflow/engine/team-leader-streaming.d.ts.map +1 -0
  373. package/dist/core/{piece → workflow}/engine/team-leader-streaming.js +7 -7
  374. package/dist/core/workflow/engine/team-leader-streaming.js.map +1 -0
  375. package/dist/core/workflow/engine/transitions.d.ts +23 -0
  376. package/dist/core/workflow/engine/transitions.d.ts.map +1 -0
  377. package/dist/core/workflow/engine/transitions.js +49 -0
  378. package/dist/core/workflow/engine/transitions.js.map +1 -0
  379. package/dist/core/workflow/evaluation/AggregateEvaluator.d.ts +32 -0
  380. package/dist/core/workflow/evaluation/AggregateEvaluator.d.ts.map +1 -0
  381. package/dist/core/{piece → workflow}/evaluation/AggregateEvaluator.js +33 -33
  382. package/dist/core/workflow/evaluation/AggregateEvaluator.js.map +1 -0
  383. package/dist/core/{piece → workflow}/evaluation/RuleEvaluator.d.ts +23 -14
  384. package/dist/core/workflow/evaluation/RuleEvaluator.d.ts.map +1 -0
  385. package/dist/core/workflow/evaluation/RuleEvaluator.js +252 -0
  386. package/dist/core/workflow/evaluation/RuleEvaluator.js.map +1 -0
  387. package/dist/core/workflow/evaluation/index.d.ts +18 -0
  388. package/dist/core/workflow/evaluation/index.d.ts.map +1 -0
  389. package/dist/core/{piece → workflow}/evaluation/index.js +1 -1
  390. package/dist/core/workflow/evaluation/index.js.map +1 -0
  391. package/dist/core/workflow/evaluation/rule-utils.d.ts +33 -0
  392. package/dist/core/workflow/evaluation/rule-utils.d.ts.map +1 -0
  393. package/dist/core/{piece → workflow}/evaluation/rule-utils.js +15 -9
  394. package/dist/core/workflow/evaluation/rule-utils.js.map +1 -0
  395. package/dist/core/workflow/evaluation/when-evaluator.d.ts +3 -0
  396. package/dist/core/workflow/evaluation/when-evaluator.d.ts.map +1 -0
  397. package/dist/core/workflow/evaluation/when-evaluator.js +101 -0
  398. package/dist/core/workflow/evaluation/when-evaluator.js.map +1 -0
  399. package/dist/core/workflow/index.d.ts +25 -0
  400. package/dist/core/workflow/index.d.ts.map +1 -0
  401. package/dist/core/workflow/index.js +16 -0
  402. package/dist/core/workflow/index.js.map +1 -0
  403. package/dist/core/{piece → workflow}/instruction/InstructionBuilder.d.ts +5 -5
  404. package/dist/core/workflow/instruction/InstructionBuilder.d.ts.map +1 -0
  405. package/dist/core/{piece → workflow}/instruction/InstructionBuilder.js +23 -23
  406. package/dist/core/workflow/instruction/InstructionBuilder.js.map +1 -0
  407. package/dist/core/{piece → workflow}/instruction/ReportInstructionBuilder.d.ts +4 -4
  408. package/dist/core/workflow/instruction/ReportInstructionBuilder.d.ts.map +1 -0
  409. package/dist/core/{piece → workflow}/instruction/ReportInstructionBuilder.js +3 -3
  410. package/dist/core/workflow/instruction/ReportInstructionBuilder.js.map +1 -0
  411. package/dist/core/{piece → workflow}/instruction/StatusJudgmentBuilder.d.ts +2 -2
  412. package/dist/core/workflow/instruction/StatusJudgmentBuilder.d.ts.map +1 -0
  413. package/dist/core/{piece → workflow}/instruction/StatusJudgmentBuilder.js +1 -1
  414. package/dist/core/workflow/instruction/StatusJudgmentBuilder.js.map +1 -0
  415. package/dist/core/{piece → workflow}/instruction/escape.d.ts +4 -7
  416. package/dist/core/workflow/instruction/escape.d.ts.map +1 -0
  417. package/dist/core/{piece → workflow}/instruction/escape.js +16 -8
  418. package/dist/core/workflow/instruction/escape.js.map +1 -0
  419. package/dist/core/workflow/instruction/index.d.ts.map +1 -0
  420. package/dist/core/workflow/instruction/index.js.map +1 -0
  421. package/dist/core/{piece → workflow}/instruction/instruction-context.d.ts +18 -16
  422. package/dist/core/workflow/instruction/instruction-context.d.ts.map +1 -0
  423. package/dist/core/workflow/instruction/instruction-context.js.map +1 -0
  424. package/dist/core/{piece → workflow}/instruction/status-rules.d.ts +4 -4
  425. package/dist/core/workflow/instruction/status-rules.d.ts.map +1 -0
  426. package/dist/core/{piece → workflow}/instruction/status-rules.js +4 -4
  427. package/dist/core/workflow/instruction/status-rules.js.map +1 -0
  428. package/dist/core/workflow/parallel-logger.d.ts.map +1 -0
  429. package/dist/core/workflow/parallel-logger.js.map +1 -0
  430. package/dist/core/workflow/part-definition-validator.d.ts.map +1 -0
  431. package/dist/core/workflow/part-definition-validator.js.map +1 -0
  432. package/dist/core/{piece → workflow}/permission-profile-resolution.d.ts +2 -2
  433. package/dist/core/workflow/permission-profile-resolution.d.ts.map +1 -0
  434. package/dist/core/{piece → workflow}/permission-profile-resolution.js +3 -3
  435. package/dist/core/workflow/permission-profile-resolution.js.map +1 -0
  436. package/dist/core/{piece → workflow}/phase-runner.d.ts +15 -15
  437. package/dist/core/workflow/phase-runner.d.ts.map +1 -0
  438. package/dist/core/{piece → workflow}/phase-runner.js +11 -11
  439. package/dist/core/workflow/phase-runner.js.map +1 -0
  440. package/dist/core/workflow/provider-model-compatibility.d.ts.map +1 -0
  441. package/dist/core/workflow/provider-model-compatibility.js.map +1 -0
  442. package/dist/core/workflow/provider-options-trace.d.ts +18 -0
  443. package/dist/core/workflow/provider-options-trace.d.ts.map +1 -0
  444. package/dist/core/workflow/provider-options-trace.js +2 -0
  445. package/dist/core/workflow/provider-options-trace.js.map +1 -0
  446. package/dist/core/{piece → workflow}/provider-resolution.d.ts +23 -6
  447. package/dist/core/workflow/provider-resolution.d.ts.map +1 -0
  448. package/dist/core/{piece → workflow}/provider-resolution.js +37 -8
  449. package/dist/core/workflow/provider-resolution.js.map +1 -0
  450. package/dist/core/workflow/run/resume-point.d.ts +13 -0
  451. package/dist/core/workflow/run/resume-point.d.ts.map +1 -0
  452. package/dist/core/workflow/run/resume-point.js +65 -0
  453. package/dist/core/workflow/run/resume-point.js.map +1 -0
  454. package/dist/core/workflow/run/retry-metadata.d.ts +11 -0
  455. package/dist/core/workflow/run/retry-metadata.d.ts.map +1 -0
  456. package/dist/core/workflow/run/retry-metadata.js +26 -0
  457. package/dist/core/workflow/run/retry-metadata.js.map +1 -0
  458. package/dist/core/{piece → workflow}/run/run-meta.d.ts +7 -4
  459. package/dist/core/workflow/run/run-meta.d.ts.map +1 -0
  460. package/dist/core/workflow/run/run-meta.js +69 -0
  461. package/dist/core/workflow/run/run-meta.js.map +1 -0
  462. package/dist/core/{piece → workflow}/run/run-paths.d.ts +1 -1
  463. package/dist/core/workflow/run/run-paths.d.ts.map +1 -0
  464. package/dist/core/{piece → workflow}/run/run-paths.js +11 -6
  465. package/dist/core/workflow/run/run-paths.js.map +1 -0
  466. package/dist/core/{piece → workflow}/session-key.d.ts +5 -5
  467. package/dist/core/workflow/session-key.d.ts.map +1 -0
  468. package/dist/core/{piece → workflow}/session-key.js +3 -3
  469. package/dist/core/workflow/session-key.js.map +1 -0
  470. package/dist/core/workflow/state/workflow-state-access.d.ts +6 -0
  471. package/dist/core/workflow/state/workflow-state-access.d.ts.map +1 -0
  472. package/dist/core/workflow/state/workflow-state-access.js +44 -0
  473. package/dist/core/workflow/state/workflow-state-access.js.map +1 -0
  474. package/dist/core/{piece → workflow}/status-judgment-phase.d.ts +2 -2
  475. package/dist/core/workflow/status-judgment-phase.d.ts.map +1 -0
  476. package/dist/core/{piece → workflow}/status-judgment-phase.js +10 -10
  477. package/dist/core/workflow/status-judgment-phase.js.map +1 -0
  478. package/dist/core/workflow/step-kind.d.ts +7 -0
  479. package/dist/core/workflow/step-kind.d.ts.map +1 -0
  480. package/dist/core/workflow/step-kind.js +19 -0
  481. package/dist/core/workflow/step-kind.js.map +1 -0
  482. package/dist/core/workflow/system/system-step-effect-runner.d.ts +3 -0
  483. package/dist/core/workflow/system/system-step-effect-runner.d.ts.map +1 -0
  484. package/dist/core/workflow/system/system-step-effect-runner.js +89 -0
  485. package/dist/core/workflow/system/system-step-effect-runner.js.map +1 -0
  486. package/dist/core/workflow/system/system-step-services.d.ts +16 -0
  487. package/dist/core/workflow/system/system-step-services.d.ts.map +1 -0
  488. package/dist/core/workflow/system/system-step-services.js +2 -0
  489. package/dist/core/workflow/system/system-step-services.js.map +1 -0
  490. package/dist/core/{piece → workflow}/types.d.ts +86 -43
  491. package/dist/core/workflow/types.d.ts.map +1 -0
  492. package/dist/core/workflow/types.js +2 -0
  493. package/dist/core/workflow/types.js.map +1 -0
  494. package/dist/core/workflow/workflow-reference.d.ts +7 -0
  495. package/dist/core/workflow/workflow-reference.d.ts.map +1 -0
  496. package/dist/core/workflow/workflow-reference.js +29 -0
  497. package/dist/core/workflow/workflow-reference.js.map +1 -0
  498. package/dist/features/analytics/events.d.ts +8 -8
  499. package/dist/features/analytics/events.d.ts.map +1 -1
  500. package/dist/features/analytics/events.js +1 -1
  501. package/dist/features/analytics/index.d.ts +1 -1
  502. package/dist/features/analytics/index.d.ts.map +1 -1
  503. package/dist/features/catalog/catalogFacets.d.ts +3 -3
  504. package/dist/features/catalog/catalogFacets.d.ts.map +1 -1
  505. package/dist/features/catalog/catalogFacets.js +3 -3
  506. package/dist/features/catalog/catalogFacets.js.map +1 -1
  507. package/dist/features/config/ejectBuiltin.js +9 -9
  508. package/dist/features/config/ejectBuiltin.js.map +1 -1
  509. package/dist/features/config/resetCategories.d.ts +1 -1
  510. package/dist/features/config/resetCategories.js +4 -4
  511. package/dist/features/config/resetCategories.js.map +1 -1
  512. package/dist/features/interactive/aiCaller.js +2 -2
  513. package/dist/features/interactive/aiCaller.js.map +1 -1
  514. package/dist/features/interactive/completionController.d.ts +36 -0
  515. package/dist/features/interactive/completionController.d.ts.map +1 -0
  516. package/dist/features/interactive/completionController.js +133 -0
  517. package/dist/features/interactive/completionController.js.map +1 -0
  518. package/dist/features/interactive/completionMenu.d.ts +45 -0
  519. package/dist/features/interactive/completionMenu.d.ts.map +1 -0
  520. package/dist/features/interactive/completionMenu.js +74 -0
  521. package/dist/features/interactive/completionMenu.js.map +1 -0
  522. package/dist/features/interactive/conversationLoop.d.ts +2 -2
  523. package/dist/features/interactive/conversationLoop.d.ts.map +1 -1
  524. package/dist/features/interactive/conversationLoop.js +8 -4
  525. package/dist/features/interactive/conversationLoop.js.map +1 -1
  526. package/dist/features/interactive/index.d.ts +1 -1
  527. package/dist/features/interactive/index.d.ts.map +1 -1
  528. package/dist/features/interactive/index.js +1 -1
  529. package/dist/features/interactive/index.js.map +1 -1
  530. package/dist/features/interactive/interactive-summary-types.d.ts +8 -8
  531. package/dist/features/interactive/interactive-summary-types.d.ts.map +1 -1
  532. package/dist/features/interactive/interactive-summary.d.ts +5 -5
  533. package/dist/features/interactive/interactive-summary.d.ts.map +1 -1
  534. package/dist/features/interactive/interactive-summary.js +12 -12
  535. package/dist/features/interactive/interactive-summary.js.map +1 -1
  536. package/dist/features/interactive/interactive.d.ts +4 -4
  537. package/dist/features/interactive/interactive.d.ts.map +1 -1
  538. package/dist/features/interactive/interactive.js +13 -13
  539. package/dist/features/interactive/interactive.js.map +1 -1
  540. package/dist/features/interactive/interactiveInput.d.ts +16 -0
  541. package/dist/features/interactive/interactiveInput.d.ts.map +1 -0
  542. package/dist/features/interactive/interactiveInput.js +55 -0
  543. package/dist/features/interactive/interactiveInput.js.map +1 -0
  544. package/dist/features/interactive/lineEditor.d.ts +16 -2
  545. package/dist/features/interactive/lineEditor.d.ts.map +1 -1
  546. package/dist/features/interactive/lineEditor.js +443 -288
  547. package/dist/features/interactive/lineEditor.js.map +1 -1
  548. package/dist/features/interactive/modeSelection.d.ts +3 -3
  549. package/dist/features/interactive/modeSelection.d.ts.map +1 -1
  550. package/dist/features/interactive/modeSelection.js +4 -4
  551. package/dist/features/interactive/modeSelection.js.map +1 -1
  552. package/dist/features/interactive/personaMode.d.ts +9 -9
  553. package/dist/features/interactive/personaMode.d.ts.map +1 -1
  554. package/dist/features/interactive/personaMode.js +12 -12
  555. package/dist/features/interactive/personaMode.js.map +1 -1
  556. package/dist/features/interactive/quietMode.d.ts +3 -3
  557. package/dist/features/interactive/quietMode.d.ts.map +1 -1
  558. package/dist/features/interactive/quietMode.js +3 -3
  559. package/dist/features/interactive/quietMode.js.map +1 -1
  560. package/dist/features/interactive/retryMode.d.ts +7 -7
  561. package/dist/features/interactive/retryMode.d.ts.map +1 -1
  562. package/dist/features/interactive/retryMode.js +13 -13
  563. package/dist/features/interactive/retryMode.js.map +1 -1
  564. package/dist/features/interactive/runSelector.js +1 -1
  565. package/dist/features/interactive/runSelector.js.map +1 -1
  566. package/dist/features/interactive/runSessionReader.d.ts +11 -7
  567. package/dist/features/interactive/runSessionReader.d.ts.map +1 -1
  568. package/dist/features/interactive/runSessionReader.js +52 -18
  569. package/dist/features/interactive/runSessionReader.js.map +1 -1
  570. package/dist/features/interactive/slashCommandRegistry.d.ts +22 -0
  571. package/dist/features/interactive/slashCommandRegistry.d.ts.map +1 -0
  572. package/dist/features/interactive/slashCommandRegistry.js +38 -0
  573. package/dist/features/interactive/slashCommandRegistry.js.map +1 -0
  574. package/dist/features/pipeline/execute.js +13 -13
  575. package/dist/features/pipeline/execute.js.map +1 -1
  576. package/dist/features/pipeline/steps.d.ts +2 -2
  577. package/dist/features/pipeline/steps.d.ts.map +1 -1
  578. package/dist/features/pipeline/steps.js +8 -8
  579. package/dist/features/pipeline/steps.js.map +1 -1
  580. package/dist/features/prompt/preview.d.ts +4 -4
  581. package/dist/features/prompt/preview.d.ts.map +1 -1
  582. package/dist/features/prompt/preview.js +31 -31
  583. package/dist/features/prompt/preview.js.map +1 -1
  584. package/dist/features/repertoire/file-filter.d.ts +3 -3
  585. package/dist/features/repertoire/file-filter.d.ts.map +1 -1
  586. package/dist/features/repertoire/file-filter.js +3 -3
  587. package/dist/features/repertoire/file-filter.js.map +1 -1
  588. package/dist/features/repertoire/pack-summary.d.ts +8 -8
  589. package/dist/features/repertoire/pack-summary.d.ts.map +1 -1
  590. package/dist/features/repertoire/pack-summary.js +30 -30
  591. package/dist/features/repertoire/pack-summary.js.map +1 -1
  592. package/dist/features/repertoire/remove.d.ts +5 -5
  593. package/dist/features/repertoire/remove.d.ts.map +1 -1
  594. package/dist/features/repertoire/remove.js +9 -5
  595. package/dist/features/repertoire/remove.js.map +1 -1
  596. package/dist/features/repertoire/takt-repertoire-config.d.ts +2 -2
  597. package/dist/features/repertoire/takt-repertoire-config.js +10 -10
  598. package/dist/features/repertoire/takt-repertoire-config.js.map +1 -1
  599. package/dist/features/tasks/add/index.d.ts +5 -6
  600. package/dist/features/tasks/add/index.d.ts.map +1 -1
  601. package/dist/features/tasks/add/index.js +18 -18
  602. package/dist/features/tasks/add/index.js.map +1 -1
  603. package/dist/features/tasks/add/worktree-settings.d.ts +1 -1
  604. package/dist/features/tasks/add/worktree-settings.d.ts.map +1 -1
  605. package/dist/features/tasks/add/worktree-settings.js +3 -3
  606. package/dist/features/tasks/add/worktree-settings.js.map +1 -1
  607. package/dist/features/tasks/execute/abortHandler.d.ts +3 -3
  608. package/dist/features/tasks/execute/abortHandler.d.ts.map +1 -1
  609. package/dist/features/tasks/execute/abortHandler.js +1 -1
  610. package/dist/features/tasks/execute/abortHandler.js.map +1 -1
  611. package/dist/features/tasks/execute/analyticsEmitter.d.ts +7 -7
  612. package/dist/features/tasks/execute/analyticsEmitter.d.ts.map +1 -1
  613. package/dist/features/tasks/execute/analyticsEmitter.js +10 -10
  614. package/dist/features/tasks/execute/analyticsEmitter.js.map +1 -1
  615. package/dist/features/tasks/execute/iterationLimitHandler.d.ts +1 -1
  616. package/dist/features/tasks/execute/iterationLimitHandler.d.ts.map +1 -1
  617. package/dist/features/tasks/execute/iterationLimitHandler.js +9 -9
  618. package/dist/features/tasks/execute/iterationLimitHandler.js.map +1 -1
  619. package/dist/features/tasks/execute/parallelExecution.d.ts +5 -1
  620. package/dist/features/tasks/execute/parallelExecution.d.ts.map +1 -1
  621. package/dist/features/tasks/execute/parallelExecution.js +6 -6
  622. package/dist/features/tasks/execute/parallelExecution.js.map +1 -1
  623. package/dist/features/tasks/execute/postExecution.d.ts +1 -1
  624. package/dist/features/tasks/execute/postExecution.d.ts.map +1 -1
  625. package/dist/features/tasks/execute/postExecution.js +2 -2
  626. package/dist/features/tasks/execute/postExecution.js.map +1 -1
  627. package/dist/features/tasks/execute/resolveTask.d.ts +5 -3
  628. package/dist/features/tasks/execute/resolveTask.d.ts.map +1 -1
  629. package/dist/features/tasks/execute/resolveTask.js +47 -15
  630. package/dist/features/tasks/execute/resolveTask.js.map +1 -1
  631. package/dist/features/tasks/execute/runAllTasks.d.ts +2 -2
  632. package/dist/features/tasks/execute/runAllTasks.d.ts.map +1 -1
  633. package/dist/features/tasks/execute/runAllTasks.js +14 -5
  634. package/dist/features/tasks/execute/runAllTasks.js.map +1 -1
  635. package/dist/features/tasks/execute/runMeta.d.ts +7 -4
  636. package/dist/features/tasks/execute/runMeta.d.ts.map +1 -1
  637. package/dist/features/tasks/execute/runMeta.js +21 -8
  638. package/dist/features/tasks/execute/runMeta.js.map +1 -1
  639. package/dist/features/tasks/execute/runTaskExecution.d.ts +7 -0
  640. package/dist/features/tasks/execute/runTaskExecution.d.ts.map +1 -0
  641. package/dist/features/tasks/execute/runTaskExecution.js +13 -0
  642. package/dist/features/tasks/execute/runTaskExecution.js.map +1 -0
  643. package/dist/features/tasks/execute/selectAndExecute.d.ts +1 -1
  644. package/dist/features/tasks/execute/selectAndExecute.d.ts.map +1 -1
  645. package/dist/features/tasks/execute/selectAndExecute.js +14 -14
  646. package/dist/features/tasks/execute/selectAndExecute.js.map +1 -1
  647. package/dist/features/tasks/execute/session.js +2 -2
  648. package/dist/features/tasks/execute/session.js.map +1 -1
  649. package/dist/features/tasks/execute/sessionLogger.d.ts +12 -15
  650. package/dist/features/tasks/execute/sessionLogger.d.ts.map +1 -1
  651. package/dist/features/tasks/execute/sessionLogger.js +51 -149
  652. package/dist/features/tasks/execute/sessionLogger.js.map +1 -1
  653. package/dist/features/tasks/execute/sessionLoggerPhaseTracker.d.ts +28 -0
  654. package/dist/features/tasks/execute/sessionLoggerPhaseTracker.d.ts.map +1 -0
  655. package/dist/features/tasks/execute/sessionLoggerPhaseTracker.js +70 -0
  656. package/dist/features/tasks/execute/sessionLoggerPhaseTracker.js.map +1 -0
  657. package/dist/features/tasks/execute/sessionLoggerRecordFactory.d.ts +17 -0
  658. package/dist/features/tasks/execute/sessionLoggerRecordFactory.d.ts.map +1 -0
  659. package/dist/features/tasks/execute/sessionLoggerRecordFactory.js +149 -0
  660. package/dist/features/tasks/execute/sessionLoggerRecordFactory.js.map +1 -0
  661. package/dist/features/tasks/execute/shutdownManager.d.ts.map +1 -1
  662. package/dist/features/tasks/execute/shutdownManager.js +12 -4
  663. package/dist/features/tasks/execute/shutdownManager.js.map +1 -1
  664. package/dist/features/tasks/execute/slackSummaryAdapter.d.ts.map +1 -1
  665. package/dist/features/tasks/execute/slackSummaryAdapter.js +2 -3
  666. package/dist/features/tasks/execute/slackSummaryAdapter.js.map +1 -1
  667. package/dist/features/tasks/execute/taskExecution.d.ts +7 -11
  668. package/dist/features/tasks/execute/taskExecution.d.ts.map +1 -1
  669. package/dist/features/tasks/execute/taskExecution.js +19 -62
  670. package/dist/features/tasks/execute/taskExecution.js.map +1 -1
  671. package/dist/features/tasks/execute/taskResultHandler.d.ts +2 -2
  672. package/dist/features/tasks/execute/taskResultHandler.d.ts.map +1 -1
  673. package/dist/features/tasks/execute/taskResultHandler.js +5 -4
  674. package/dist/features/tasks/execute/taskResultHandler.js.map +1 -1
  675. package/dist/features/tasks/execute/taskWorkflowExecution.d.ts +6 -0
  676. package/dist/features/tasks/execute/taskWorkflowExecution.d.ts.map +1 -0
  677. package/dist/features/tasks/execute/taskWorkflowExecution.js +55 -0
  678. package/dist/features/tasks/execute/taskWorkflowExecution.js.map +1 -0
  679. package/dist/features/tasks/execute/traceReport.d.ts +2 -2
  680. package/dist/features/tasks/execute/traceReport.d.ts.map +1 -1
  681. package/dist/features/tasks/execute/traceReport.js +3 -3
  682. package/dist/features/tasks/execute/traceReport.js.map +1 -1
  683. package/dist/features/tasks/execute/traceReportParser.d.ts +2 -2
  684. package/dist/features/tasks/execute/traceReportParser.d.ts.map +1 -1
  685. package/dist/features/tasks/execute/traceReportParser.js +41 -32
  686. package/dist/features/tasks/execute/traceReportParser.js.map +1 -1
  687. package/dist/features/tasks/execute/traceReportRedaction.d.ts +2 -2
  688. package/dist/features/tasks/execute/traceReportRedaction.d.ts.map +1 -1
  689. package/dist/features/tasks/execute/traceReportRedaction.js +9 -9
  690. package/dist/features/tasks/execute/traceReportRedaction.js.map +1 -1
  691. package/dist/features/tasks/execute/traceReportRenderer.d.ts +2 -2
  692. package/dist/features/tasks/execute/traceReportRenderer.d.ts.map +1 -1
  693. package/dist/features/tasks/execute/traceReportRenderer.js +47 -47
  694. package/dist/features/tasks/execute/traceReportRenderer.js.map +1 -1
  695. package/dist/features/tasks/execute/traceReportTypes.d.ts +7 -4
  696. package/dist/features/tasks/execute/traceReportTypes.d.ts.map +1 -1
  697. package/dist/features/tasks/execute/traceReportWriter.d.ts +1 -1
  698. package/dist/features/tasks/execute/traceReportWriter.d.ts.map +1 -1
  699. package/dist/features/tasks/execute/traceReportWriter.js +1 -1
  700. package/dist/features/tasks/execute/traceReportWriter.js.map +1 -1
  701. package/dist/features/tasks/execute/types.d.ts +51 -24
  702. package/dist/features/tasks/execute/types.d.ts.map +1 -1
  703. package/dist/features/tasks/execute/workflowExecution.d.ts +9 -0
  704. package/dist/features/tasks/execute/workflowExecution.d.ts.map +1 -0
  705. package/dist/features/tasks/execute/workflowExecution.js +145 -0
  706. package/dist/features/tasks/execute/workflowExecution.js.map +1 -0
  707. package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts +56 -0
  708. package/dist/features/tasks/execute/workflowExecutionBootstrap.d.ts.map +1 -0
  709. package/dist/features/tasks/execute/workflowExecutionBootstrap.js +201 -0
  710. package/dist/features/tasks/execute/workflowExecutionBootstrap.js.map +1 -0
  711. package/dist/features/tasks/execute/workflowExecutionContext.d.ts +8 -0
  712. package/dist/features/tasks/execute/workflowExecutionContext.d.ts.map +1 -0
  713. package/dist/features/tasks/execute/workflowExecutionContext.js +13 -0
  714. package/dist/features/tasks/execute/workflowExecutionContext.js.map +1 -0
  715. package/dist/features/tasks/execute/workflowExecutionEvents.d.ts +55 -0
  716. package/dist/features/tasks/execute/workflowExecutionEvents.d.ts.map +1 -0
  717. package/dist/features/tasks/execute/workflowExecutionEvents.js +151 -0
  718. package/dist/features/tasks/execute/workflowExecutionEvents.js.map +1 -0
  719. package/dist/features/tasks/execute/workflowExecutionReporting.d.ts +20 -0
  720. package/dist/features/tasks/execute/workflowExecutionReporting.d.ts.map +1 -0
  721. package/dist/features/tasks/execute/workflowExecutionReporting.js +83 -0
  722. package/dist/features/tasks/execute/workflowExecutionReporting.js.map +1 -0
  723. package/dist/features/tasks/execute/{pieceExecutionUtils.d.ts → workflowExecutionUtils.d.ts} +4 -3
  724. package/dist/features/tasks/execute/workflowExecutionUtils.d.ts.map +1 -0
  725. package/dist/features/tasks/execute/{pieceExecutionUtils.js → workflowExecutionUtils.js} +4 -2
  726. package/dist/features/tasks/execute/workflowExecutionUtils.js.map +1 -0
  727. package/dist/features/tasks/execute/workflowStepScope.d.ts +8 -0
  728. package/dist/features/tasks/execute/workflowStepScope.d.ts.map +1 -0
  729. package/dist/features/tasks/execute/workflowStepScope.js +15 -0
  730. package/dist/features/tasks/execute/workflowStepScope.js.map +1 -0
  731. package/dist/features/tasks/index.d.ts +2 -3
  732. package/dist/features/tasks/index.d.ts.map +1 -1
  733. package/dist/features/tasks/index.js +2 -3
  734. package/dist/features/tasks/index.js.map +1 -1
  735. package/dist/features/tasks/list/index.js +1 -1
  736. package/dist/features/tasks/list/index.js.map +1 -1
  737. package/dist/features/tasks/list/instructMode.d.ts +2 -2
  738. package/dist/features/tasks/list/instructMode.d.ts.map +1 -1
  739. package/dist/features/tasks/list/instructMode.js +14 -14
  740. package/dist/features/tasks/list/instructMode.js.map +1 -1
  741. package/dist/features/tasks/list/prepareTaskForExecution.d.ts +1 -1
  742. package/dist/features/tasks/list/prepareTaskForExecution.d.ts.map +1 -1
  743. package/dist/features/tasks/list/prepareTaskForExecution.js +2 -2
  744. package/dist/features/tasks/list/prepareTaskForExecution.js.map +1 -1
  745. package/dist/features/tasks/list/requeueHelpers.d.ts +1 -1
  746. package/dist/features/tasks/list/requeueHelpers.d.ts.map +1 -1
  747. package/dist/features/tasks/list/requeueHelpers.js +19 -19
  748. package/dist/features/tasks/list/requeueHelpers.js.map +1 -1
  749. package/dist/features/tasks/list/taskForceFailActions.d.ts.map +1 -1
  750. package/dist/features/tasks/list/taskForceFailActions.js +8 -8
  751. package/dist/features/tasks/list/taskForceFailActions.js.map +1 -1
  752. package/dist/features/tasks/list/taskInstructionActions.js +14 -14
  753. package/dist/features/tasks/list/taskInstructionActions.js.map +1 -1
  754. package/dist/features/tasks/list/taskRetryActions.d.ts.map +1 -1
  755. package/dist/features/tasks/list/taskRetryActions.js +81 -36
  756. package/dist/features/tasks/list/taskRetryActions.js.map +1 -1
  757. package/dist/features/tasks/list/taskSyncAction.d.ts.map +1 -1
  758. package/dist/features/tasks/list/taskSyncAction.js +4 -27
  759. package/dist/features/tasks/list/taskSyncAction.js.map +1 -1
  760. package/dist/features/tasks/watch/index.d.ts.map +1 -1
  761. package/dist/features/tasks/watch/index.js +2 -2
  762. package/dist/features/tasks/watch/index.js.map +1 -1
  763. package/dist/features/workflowAuthoring/doctor.d.ts +2 -0
  764. package/dist/features/workflowAuthoring/doctor.d.ts.map +1 -0
  765. package/dist/features/workflowAuthoring/doctor.js +97 -0
  766. package/dist/features/workflowAuthoring/doctor.js.map +1 -0
  767. package/dist/features/workflowAuthoring/index.d.ts +3 -0
  768. package/dist/features/workflowAuthoring/index.d.ts.map +1 -0
  769. package/dist/features/workflowAuthoring/index.js +3 -0
  770. package/dist/features/workflowAuthoring/index.js.map +1 -0
  771. package/dist/features/workflowAuthoring/init.d.ts +10 -0
  772. package/dist/features/workflowAuthoring/init.d.ts.map +1 -0
  773. package/dist/features/workflowAuthoring/init.js +82 -0
  774. package/dist/features/workflowAuthoring/init.js.map +1 -0
  775. package/dist/features/workflowAuthoring/template.d.ts +22 -0
  776. package/dist/features/workflowAuthoring/template.d.ts.map +1 -0
  777. package/dist/features/workflowAuthoring/template.js +81 -0
  778. package/dist/features/workflowAuthoring/template.js.map +1 -0
  779. package/dist/features/workflowSelection/categorizedSelection.d.ts +3 -0
  780. package/dist/features/workflowSelection/categorizedSelection.d.ts.map +1 -0
  781. package/dist/features/workflowSelection/categorizedSelection.js +148 -0
  782. package/dist/features/workflowSelection/categorizedSelection.js.map +1 -0
  783. package/dist/features/workflowSelection/entrySelection.d.ts +3 -0
  784. package/dist/features/workflowSelection/entrySelection.d.ts.map +1 -0
  785. package/dist/features/workflowSelection/entrySelection.js +96 -0
  786. package/dist/features/workflowSelection/entrySelection.js.map +1 -0
  787. package/dist/features/workflowSelection/index.d.ts +8 -0
  788. package/dist/features/workflowSelection/index.d.ts.map +1 -0
  789. package/dist/features/workflowSelection/index.js +38 -0
  790. package/dist/features/workflowSelection/index.js.map +1 -0
  791. package/dist/features/workflowSelection/options.d.ts +21 -0
  792. package/dist/features/workflowSelection/options.d.ts.map +1 -0
  793. package/dist/features/workflowSelection/options.js +60 -0
  794. package/dist/features/workflowSelection/options.js.map +1 -0
  795. package/dist/index.d.ts +5 -5
  796. package/dist/index.d.ts.map +1 -1
  797. package/dist/index.js +3 -3
  798. package/dist/index.js.map +1 -1
  799. package/dist/infra/claude/ask-user-question-handler.d.ts +1 -1
  800. package/dist/infra/claude/ask-user-question-handler.d.ts.map +1 -1
  801. package/dist/infra/claude/ask-user-question-handler.js +2 -2
  802. package/dist/infra/claude/ask-user-question-handler.js.map +1 -1
  803. package/dist/infra/claude/ask-user-question-tty.js +1 -1
  804. package/dist/infra/claude/ask-user-question-tty.js.map +1 -1
  805. package/dist/infra/claude/types.d.ts +3 -3
  806. package/dist/infra/claude/types.d.ts.map +1 -1
  807. package/dist/infra/claude-headless/types.d.ts +1 -1
  808. package/dist/infra/claude-headless/types.d.ts.map +1 -1
  809. package/dist/infra/codex/client.d.ts.map +1 -1
  810. package/dist/infra/codex/client.js +32 -8
  811. package/dist/infra/codex/client.js.map +1 -1
  812. package/dist/infra/codex/types.d.ts +1 -1
  813. package/dist/infra/codex/types.d.ts.map +1 -1
  814. package/dist/infra/config/configKeyAliases.d.ts +1 -14
  815. package/dist/infra/config/configKeyAliases.d.ts.map +1 -1
  816. package/dist/infra/config/configKeyAliases.js +2 -79
  817. package/dist/infra/config/configKeyAliases.js.map +1 -1
  818. package/dist/infra/config/configNormalizers.d.ts +11 -12
  819. package/dist/infra/config/configNormalizers.d.ts.map +1 -1
  820. package/dist/infra/config/configNormalizers.js +18 -19
  821. package/dist/infra/config/configNormalizers.js.map +1 -1
  822. package/dist/infra/config/env/config-env-overrides.d.ts +1 -3
  823. package/dist/infra/config/env/config-env-overrides.d.ts.map +1 -1
  824. package/dist/infra/config/env/config-env-overrides.js +0 -2
  825. package/dist/infra/config/env/config-env-overrides.js.map +1 -1
  826. package/dist/infra/config/env/config-env-shared.d.ts +0 -7
  827. package/dist/infra/config/env/config-env-shared.d.ts.map +1 -1
  828. package/dist/infra/config/env/config-env-shared.js.map +1 -1
  829. package/dist/infra/config/global/bookmarks.d.ts +9 -13
  830. package/dist/infra/config/global/bookmarks.d.ts.map +1 -1
  831. package/dist/infra/config/global/bookmarks.js +21 -25
  832. package/dist/infra/config/global/bookmarks.js.map +1 -1
  833. package/dist/infra/config/global/globalConfig.d.ts +1 -1
  834. package/dist/infra/config/global/globalConfig.d.ts.map +1 -1
  835. package/dist/infra/config/global/globalConfig.js +1 -1
  836. package/dist/infra/config/global/globalConfig.js.map +1 -1
  837. package/dist/infra/config/global/globalConfigAccessors.d.ts +1 -1
  838. package/dist/infra/config/global/globalConfigAccessors.d.ts.map +1 -1
  839. package/dist/infra/config/global/globalConfigAccessors.js +2 -2
  840. package/dist/infra/config/global/globalConfigAccessors.js.map +1 -1
  841. package/dist/infra/config/global/globalConfigCore.d.ts.map +1 -1
  842. package/dist/infra/config/global/globalConfigCore.js +36 -33
  843. package/dist/infra/config/global/globalConfigCore.js.map +1 -1
  844. package/dist/infra/config/global/globalConfigSerializer.js +22 -22
  845. package/dist/infra/config/global/globalConfigSerializer.js.map +1 -1
  846. package/dist/infra/config/global/index.d.ts +3 -3
  847. package/dist/infra/config/global/index.d.ts.map +1 -1
  848. package/dist/infra/config/global/index.js +3 -3
  849. package/dist/infra/config/global/index.js.map +1 -1
  850. package/dist/infra/config/global/initialization.d.ts +2 -2
  851. package/dist/infra/config/global/initialization.js +3 -3
  852. package/dist/infra/config/global/initialization.js.map +1 -1
  853. package/dist/infra/config/global/workflowCategories.d.ts +12 -0
  854. package/dist/infra/config/global/workflowCategories.d.ts.map +1 -0
  855. package/dist/infra/config/global/workflowCategories.js +33 -0
  856. package/dist/infra/config/global/workflowCategories.js.map +1 -0
  857. package/dist/infra/config/index.d.ts +4 -2
  858. package/dist/infra/config/index.d.ts.map +1 -1
  859. package/dist/infra/config/index.js +4 -2
  860. package/dist/infra/config/index.js.map +1 -1
  861. package/dist/infra/config/loaders/agentLoader.d.ts +1 -0
  862. package/dist/infra/config/loaders/agentLoader.d.ts.map +1 -1
  863. package/dist/infra/config/loaders/agentLoader.js +28 -18
  864. package/dist/infra/config/loaders/agentLoader.js.map +1 -1
  865. package/dist/infra/config/loaders/index.d.ts +2 -2
  866. package/dist/infra/config/loaders/index.d.ts.map +1 -1
  867. package/dist/infra/config/loaders/index.js +2 -2
  868. package/dist/infra/config/loaders/index.js.map +1 -1
  869. package/dist/infra/config/loaders/loader.d.ts +1 -1
  870. package/dist/infra/config/loaders/loader.d.ts.map +1 -1
  871. package/dist/infra/config/loaders/loader.js +2 -2
  872. package/dist/infra/config/loaders/loader.js.map +1 -1
  873. package/dist/infra/config/loaders/qualityGateOverrides.d.ts +15 -15
  874. package/dist/infra/config/loaders/qualityGateOverrides.d.ts.map +1 -1
  875. package/dist/infra/config/loaders/qualityGateOverrides.js +27 -23
  876. package/dist/infra/config/loaders/qualityGateOverrides.js.map +1 -1
  877. package/dist/infra/config/loaders/resource-resolver.d.ts +13 -45
  878. package/dist/infra/config/loaders/resource-resolver.d.ts.map +1 -1
  879. package/dist/infra/config/loaders/resource-resolver.js +18 -71
  880. package/dist/infra/config/loaders/resource-resolver.js.map +1 -1
  881. package/dist/infra/config/loaders/workflowCallContractValidator.d.ts +20 -0
  882. package/dist/infra/config/loaders/workflowCallContractValidator.d.ts.map +1 -0
  883. package/dist/infra/config/loaders/workflowCallContractValidator.js +45 -0
  884. package/dist/infra/config/loaders/workflowCallContractValidator.js.map +1 -0
  885. package/dist/infra/config/loaders/workflowCallContracts.d.ts +3 -0
  886. package/dist/infra/config/loaders/workflowCallContracts.d.ts.map +1 -0
  887. package/dist/infra/config/loaders/workflowCallContracts.js +13 -0
  888. package/dist/infra/config/loaders/workflowCallContracts.js.map +1 -0
  889. package/dist/infra/config/loaders/workflowCallResolver.d.ts +8 -0
  890. package/dist/infra/config/loaders/workflowCallResolver.d.ts.map +1 -0
  891. package/dist/infra/config/loaders/workflowCallResolver.js +47 -0
  892. package/dist/infra/config/loaders/workflowCallResolver.js.map +1 -0
  893. package/dist/infra/config/loaders/workflowCallableArgResolver.d.ts +18 -0
  894. package/dist/infra/config/loaders/workflowCallableArgResolver.d.ts.map +1 -0
  895. package/dist/infra/config/loaders/workflowCallableArgResolver.js +145 -0
  896. package/dist/infra/config/loaders/workflowCallableArgResolver.js.map +1 -0
  897. package/dist/infra/config/loaders/workflowCallableDiscoveryArgs.d.ts +10 -0
  898. package/dist/infra/config/loaders/workflowCallableDiscoveryArgs.d.ts.map +1 -0
  899. package/dist/infra/config/loaders/workflowCallableDiscoveryArgs.js +47 -0
  900. package/dist/infra/config/loaders/workflowCallableDiscoveryArgs.js.map +1 -0
  901. package/dist/infra/config/loaders/workflowCallableParamRef.d.ts +6 -0
  902. package/dist/infra/config/loaders/workflowCallableParamRef.d.ts.map +1 -0
  903. package/dist/infra/config/loaders/workflowCallableParamRef.js +7 -0
  904. package/dist/infra/config/loaders/workflowCallableParamRef.js.map +1 -0
  905. package/dist/infra/config/loaders/workflowCallableRuleValidation.d.ts +7 -0
  906. package/dist/infra/config/loaders/workflowCallableRuleValidation.d.ts.map +1 -0
  907. package/dist/infra/config/loaders/workflowCallableRuleValidation.js +51 -0
  908. package/dist/infra/config/loaders/workflowCallableRuleValidation.js.map +1 -0
  909. package/dist/infra/config/loaders/workflowCategories.d.ts +5 -0
  910. package/dist/infra/config/loaders/workflowCategories.d.ts.map +1 -0
  911. package/dist/infra/config/loaders/workflowCategories.js +5 -0
  912. package/dist/infra/config/loaders/workflowCategories.js.map +1 -0
  913. package/dist/infra/config/loaders/workflowCategoryLoader.d.ts +6 -0
  914. package/dist/infra/config/loaders/workflowCategoryLoader.d.ts.map +1 -0
  915. package/dist/infra/config/loaders/workflowCategoryLoader.js +54 -0
  916. package/dist/infra/config/loaders/workflowCategoryLoader.js.map +1 -0
  917. package/dist/infra/config/loaders/workflowCategoryParser.d.ts +10 -0
  918. package/dist/infra/config/loaders/workflowCategoryParser.d.ts.map +1 -0
  919. package/dist/infra/config/loaders/workflowCategoryParser.js +131 -0
  920. package/dist/infra/config/loaders/workflowCategoryParser.js.map +1 -0
  921. package/dist/infra/config/loaders/workflowCategoryQueries.d.ts +3 -0
  922. package/dist/infra/config/loaders/workflowCategoryQueries.d.ts.map +1 -0
  923. package/dist/infra/config/loaders/workflowCategoryQueries.js +15 -0
  924. package/dist/infra/config/loaders/workflowCategoryQueries.js.map +1 -0
  925. package/dist/infra/config/loaders/workflowCategoryTree.d.ts +4 -0
  926. package/dist/infra/config/loaders/workflowCategoryTree.d.ts.map +1 -0
  927. package/dist/infra/config/loaders/workflowCategoryTree.js +94 -0
  928. package/dist/infra/config/loaders/workflowCategoryTree.js.map +1 -0
  929. package/dist/infra/config/loaders/workflowCategoryTypes.d.ts +26 -0
  930. package/dist/infra/config/loaders/workflowCategoryTypes.d.ts.map +1 -0
  931. package/dist/infra/config/loaders/workflowCategoryTypes.js +2 -0
  932. package/dist/infra/config/loaders/workflowCategoryTypes.js.map +1 -0
  933. package/dist/infra/config/loaders/workflowDiscovery.d.ts +39 -0
  934. package/dist/infra/config/loaders/workflowDiscovery.d.ts.map +1 -0
  935. package/dist/infra/config/loaders/workflowDiscovery.js +169 -0
  936. package/dist/infra/config/loaders/workflowDiscovery.js.map +1 -0
  937. package/dist/infra/config/loaders/workflowDiscoveryLoader.d.ts +13 -0
  938. package/dist/infra/config/loaders/workflowDiscoveryLoader.d.ts.map +1 -0
  939. package/dist/infra/config/loaders/workflowDiscoveryLoader.js +16 -0
  940. package/dist/infra/config/loaders/workflowDiscoveryLoader.js.map +1 -0
  941. package/dist/infra/config/loaders/workflowDoctor.d.ts +4 -0
  942. package/dist/infra/config/loaders/workflowDoctor.d.ts.map +1 -0
  943. package/dist/infra/config/loaders/workflowDoctor.js +75 -0
  944. package/dist/infra/config/loaders/workflowDoctor.js.map +1 -0
  945. package/dist/infra/config/loaders/workflowDoctorGraph.d.ts +6 -0
  946. package/dist/infra/config/loaders/workflowDoctorGraph.d.ts.map +1 -0
  947. package/dist/infra/config/loaders/workflowDoctorGraph.js +120 -0
  948. package/dist/infra/config/loaders/workflowDoctorGraph.js.map +1 -0
  949. package/dist/infra/config/loaders/workflowDoctorRefValidator.d.ts +7 -0
  950. package/dist/infra/config/loaders/workflowDoctorRefValidator.d.ts.map +1 -0
  951. package/dist/infra/config/loaders/workflowDoctorRefValidator.js +184 -0
  952. package/dist/infra/config/loaders/workflowDoctorRefValidator.js.map +1 -0
  953. package/dist/infra/config/loaders/workflowDoctorTypes.d.ts +9 -0
  954. package/dist/infra/config/loaders/workflowDoctorTypes.d.ts.map +1 -0
  955. package/dist/infra/config/loaders/workflowDoctorTypes.js +2 -0
  956. package/dist/infra/config/loaders/workflowDoctorTypes.js.map +1 -0
  957. package/dist/infra/config/loaders/workflowFileLoader.d.ts +12 -0
  958. package/dist/infra/config/loaders/workflowFileLoader.d.ts.map +1 -0
  959. package/dist/infra/config/loaders/workflowFileLoader.js +42 -0
  960. package/dist/infra/config/loaders/workflowFileLoader.js.map +1 -0
  961. package/dist/infra/config/loaders/workflowLoadWarning.d.ts +2 -0
  962. package/dist/infra/config/loaders/workflowLoadWarning.d.ts.map +1 -0
  963. package/dist/infra/config/loaders/{pieceLoadWarning.js → workflowLoadWarning.js} +6 -7
  964. package/dist/infra/config/loaders/workflowLoadWarning.js.map +1 -0
  965. package/dist/infra/config/loaders/workflowLoader.d.ts +12 -0
  966. package/dist/infra/config/loaders/workflowLoader.d.ts.map +1 -0
  967. package/dist/infra/config/loaders/workflowLoader.js +14 -0
  968. package/dist/infra/config/loaders/workflowLoader.js.map +1 -0
  969. package/dist/infra/config/loaders/workflowLookupDirectories.d.ts +25 -0
  970. package/dist/infra/config/loaders/workflowLookupDirectories.d.ts.map +1 -0
  971. package/dist/infra/config/loaders/workflowLookupDirectories.js +76 -0
  972. package/dist/infra/config/loaders/workflowLookupDirectories.js.map +1 -0
  973. package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.d.ts +17 -0
  974. package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.d.ts.map +1 -0
  975. package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.js +28 -0
  976. package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.js.map +1 -0
  977. package/dist/infra/config/loaders/workflowNormalizationPolicies.d.ts +12 -0
  978. package/dist/infra/config/loaders/workflowNormalizationPolicies.d.ts.map +1 -0
  979. package/dist/infra/config/loaders/workflowNormalizationPolicies.js +85 -0
  980. package/dist/infra/config/loaders/workflowNormalizationPolicies.js.map +1 -0
  981. package/dist/infra/config/loaders/workflowPackageScope.d.ts +16 -0
  982. package/dist/infra/config/loaders/workflowPackageScope.d.ts.map +1 -0
  983. package/dist/infra/config/loaders/workflowPackageScope.js +55 -0
  984. package/dist/infra/config/loaders/workflowPackageScope.js.map +1 -0
  985. package/dist/infra/config/loaders/workflowParser.d.ts +10 -0
  986. package/dist/infra/config/loaders/workflowParser.d.ts.map +1 -0
  987. package/dist/infra/config/loaders/workflowParser.js +107 -0
  988. package/dist/infra/config/loaders/workflowParser.js.map +1 -0
  989. package/dist/infra/config/loaders/workflowPersonaPathPolicy.d.ts +3 -0
  990. package/dist/infra/config/loaders/workflowPersonaPathPolicy.d.ts.map +1 -0
  991. package/dist/infra/config/loaders/workflowPersonaPathPolicy.js +43 -0
  992. package/dist/infra/config/loaders/workflowPersonaPathPolicy.js.map +1 -0
  993. package/dist/infra/config/loaders/workflowPreview.d.ts +23 -0
  994. package/dist/infra/config/loaders/workflowPreview.d.ts.map +1 -0
  995. package/dist/infra/config/loaders/workflowPreview.js +113 -0
  996. package/dist/infra/config/loaders/workflowPreview.js.map +1 -0
  997. package/dist/infra/config/loaders/workflowResolvedLoader.d.ts +14 -0
  998. package/dist/infra/config/loaders/workflowResolvedLoader.d.ts.map +1 -0
  999. package/dist/infra/config/loaders/workflowResolvedLoader.js +32 -0
  1000. package/dist/infra/config/loaders/workflowResolvedLoader.js.map +1 -0
  1001. package/dist/infra/config/loaders/workflowResolver.d.ts +41 -0
  1002. package/dist/infra/config/loaders/workflowResolver.d.ts.map +1 -0
  1003. package/dist/infra/config/loaders/workflowResolver.js +191 -0
  1004. package/dist/infra/config/loaders/workflowResolver.js.map +1 -0
  1005. package/dist/infra/config/loaders/workflowRuleNormalizer.d.ts +11 -0
  1006. package/dist/infra/config/loaders/workflowRuleNormalizer.d.ts.map +1 -0
  1007. package/dist/infra/config/loaders/workflowRuleNormalizer.js +60 -0
  1008. package/dist/infra/config/loaders/workflowRuleNormalizer.js.map +1 -0
  1009. package/dist/infra/config/loaders/workflowSourceMetadata.d.ts +10 -0
  1010. package/dist/infra/config/loaders/workflowSourceMetadata.d.ts.map +1 -0
  1011. package/dist/infra/config/loaders/workflowSourceMetadata.js +47 -0
  1012. package/dist/infra/config/loaders/workflowSourceMetadata.js.map +1 -0
  1013. package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.d.ts +18 -0
  1014. package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.d.ts.map +1 -0
  1015. package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.js +68 -0
  1016. package/dist/infra/config/loaders/workflowStepFeaturesNormalizer.js.map +1 -0
  1017. package/dist/infra/config/loaders/workflowStepNormalizer.d.ts +16 -0
  1018. package/dist/infra/config/loaders/workflowStepNormalizer.d.ts.map +1 -0
  1019. package/dist/infra/config/loaders/workflowStepNormalizer.js +131 -0
  1020. package/dist/infra/config/loaders/workflowStepNormalizer.js.map +1 -0
  1021. package/dist/infra/config/loaders/workflowStructuredOutputResolver.d.ts +11 -0
  1022. package/dist/infra/config/loaders/workflowStructuredOutputResolver.d.ts.map +1 -0
  1023. package/dist/infra/config/loaders/workflowStructuredOutputResolver.js +40 -0
  1024. package/dist/infra/config/loaders/workflowStructuredOutputResolver.js.map +1 -0
  1025. package/dist/infra/config/loaders/workflowSystemStepNormalizer.d.ts +6 -0
  1026. package/dist/infra/config/loaders/workflowSystemStepNormalizer.d.ts.map +1 -0
  1027. package/dist/infra/config/loaders/workflowSystemStepNormalizer.js +67 -0
  1028. package/dist/infra/config/loaders/workflowSystemStepNormalizer.js.map +1 -0
  1029. package/dist/infra/config/loaders/workflowTrustBoundary.d.ts +13 -0
  1030. package/dist/infra/config/loaders/workflowTrustBoundary.d.ts.map +1 -0
  1031. package/dist/infra/config/loaders/workflowTrustBoundary.js +53 -0
  1032. package/dist/infra/config/loaders/workflowTrustBoundary.js.map +1 -0
  1033. package/dist/infra/config/loaders/workflowTrustSource.d.ts +19 -0
  1034. package/dist/infra/config/loaders/workflowTrustSource.d.ts.map +1 -0
  1035. package/dist/infra/config/loaders/workflowTrustSource.js +111 -0
  1036. package/dist/infra/config/loaders/workflowTrustSource.js.map +1 -0
  1037. package/dist/infra/config/paths.d.ts +4 -4
  1038. package/dist/infra/config/paths.d.ts.map +1 -1
  1039. package/dist/infra/config/paths.js +11 -11
  1040. package/dist/infra/config/paths.js.map +1 -1
  1041. package/dist/infra/config/project/projectConfig.d.ts.map +1 -1
  1042. package/dist/infra/config/project/projectConfig.js +17 -23
  1043. package/dist/infra/config/project/projectConfig.js.map +1 -1
  1044. package/dist/infra/config/project/projectConfigTransforms.d.ts +10 -10
  1045. package/dist/infra/config/project/projectConfigTransforms.d.ts.map +1 -1
  1046. package/dist/infra/config/project/projectConfigTransforms.js +6 -6
  1047. package/dist/infra/config/project/projectConfigTransforms.js.map +1 -1
  1048. package/dist/infra/config/project/sessionState.d.ts +4 -4
  1049. package/dist/infra/config/project/sessionState.d.ts.map +1 -1
  1050. package/dist/infra/config/providerBlockOptions.d.ts +2 -2
  1051. package/dist/infra/config/providerBlockOptions.d.ts.map +1 -1
  1052. package/dist/infra/config/providerModelCompatibility.d.ts +1 -1
  1053. package/dist/infra/config/providerModelCompatibility.d.ts.map +1 -1
  1054. package/dist/infra/config/providerModelCompatibility.js +1 -1
  1055. package/dist/infra/config/providerModelCompatibility.js.map +1 -1
  1056. package/dist/infra/config/providerOptions.d.ts +10 -5
  1057. package/dist/infra/config/providerOptions.d.ts.map +1 -1
  1058. package/dist/infra/config/providerOptions.js +69 -14
  1059. package/dist/infra/config/providerOptions.js.map +1 -1
  1060. package/dist/infra/config/providerOptionsContract.d.ts +6 -6
  1061. package/dist/infra/config/providerOptionsContract.d.ts.map +1 -1
  1062. package/dist/infra/config/providerOptionsContract.js +5 -0
  1063. package/dist/infra/config/providerOptionsContract.js.map +1 -1
  1064. package/dist/infra/config/providerReference.d.ts +3 -3
  1065. package/dist/infra/config/providerReference.d.ts.map +1 -1
  1066. package/dist/infra/config/resolveConfigValue.d.ts +4 -4
  1067. package/dist/infra/config/resolveConfigValue.d.ts.map +1 -1
  1068. package/dist/infra/config/resolveConfigValue.js +14 -14
  1069. package/dist/infra/config/resolveConfigValue.js.map +1 -1
  1070. package/dist/infra/config/resolveWorkflowConfigValue.d.ts +6 -0
  1071. package/dist/infra/config/resolveWorkflowConfigValue.d.ts.map +1 -0
  1072. package/dist/infra/config/{resolvePieceConfigValue.js → resolveWorkflowConfigValue.js} +3 -3
  1073. package/dist/infra/config/resolveWorkflowConfigValue.js.map +1 -0
  1074. package/dist/infra/config/resolvedConfig.d.ts +1 -1
  1075. package/dist/infra/config/resolvedConfig.d.ts.map +1 -1
  1076. package/dist/infra/config/traced/tracedConfigLoader.d.ts +0 -2
  1077. package/dist/infra/config/traced/tracedConfigLoader.d.ts.map +1 -1
  1078. package/dist/infra/config/traced/tracedConfigLoader.js +1 -27
  1079. package/dist/infra/config/traced/tracedConfigLoader.js.map +1 -1
  1080. package/dist/infra/config/traced/tracedConfigRuntimeBridge.d.ts.map +1 -1
  1081. package/dist/infra/config/traced/tracedConfigRuntimeBridge.js +13 -8
  1082. package/dist/infra/config/traced/tracedConfigRuntimeBridge.js.map +1 -1
  1083. package/dist/infra/config/traced/tracedConfigSchema.d.ts.map +1 -1
  1084. package/dist/infra/config/traced/tracedConfigSchema.js +0 -30
  1085. package/dist/infra/config/traced/tracedConfigSchema.js.map +1 -1
  1086. package/dist/infra/copilot/client.d.ts.map +1 -1
  1087. package/dist/infra/copilot/client.js +3 -0
  1088. package/dist/infra/copilot/client.js.map +1 -1
  1089. package/dist/infra/copilot/types.d.ts +2 -0
  1090. package/dist/infra/copilot/types.d.ts.map +1 -1
  1091. package/dist/infra/fs/index.d.ts +1 -1
  1092. package/dist/infra/fs/index.d.ts.map +1 -1
  1093. package/dist/infra/fs/session.d.ts +11 -11
  1094. package/dist/infra/fs/session.d.ts.map +1 -1
  1095. package/dist/infra/fs/session.js +30 -28
  1096. package/dist/infra/fs/session.js.map +1 -1
  1097. package/dist/infra/git/format.d.ts +2 -2
  1098. package/dist/infra/git/format.js +2 -2
  1099. package/dist/infra/git/index.d.ts +1 -1
  1100. package/dist/infra/git/index.d.ts.map +1 -1
  1101. package/dist/infra/git/types.d.ts +5 -0
  1102. package/dist/infra/git/types.d.ts.map +1 -1
  1103. package/dist/infra/github/GitHubProvider.d.ts +2 -1
  1104. package/dist/infra/github/GitHubProvider.d.ts.map +1 -1
  1105. package/dist/infra/github/GitHubProvider.js +4 -1
  1106. package/dist/infra/github/GitHubProvider.js.map +1 -1
  1107. package/dist/infra/github/pr.d.ts +2 -1
  1108. package/dist/infra/github/pr.d.ts.map +1 -1
  1109. package/dist/infra/github/pr.js +19 -0
  1110. package/dist/infra/github/pr.js.map +1 -1
  1111. package/dist/infra/gitlab/GitLabProvider.d.ts +2 -1
  1112. package/dist/infra/gitlab/GitLabProvider.d.ts.map +1 -1
  1113. package/dist/infra/gitlab/GitLabProvider.js +4 -1
  1114. package/dist/infra/gitlab/GitLabProvider.js.map +1 -1
  1115. package/dist/infra/gitlab/issue.d.ts +1 -1
  1116. package/dist/infra/gitlab/issue.js +1 -1
  1117. package/dist/infra/gitlab/pr.d.ts +2 -1
  1118. package/dist/infra/gitlab/pr.d.ts.map +1 -1
  1119. package/dist/infra/gitlab/pr.js +19 -0
  1120. package/dist/infra/gitlab/pr.js.map +1 -1
  1121. package/dist/infra/mock/client.d.ts +1 -1
  1122. package/dist/infra/mock/client.d.ts.map +1 -1
  1123. package/dist/infra/mock/client.js +5 -2
  1124. package/dist/infra/mock/client.js.map +1 -1
  1125. package/dist/infra/mock/types.d.ts +1 -0
  1126. package/dist/infra/mock/types.d.ts.map +1 -1
  1127. package/dist/infra/opencode/client.d.ts.map +1 -1
  1128. package/dist/infra/opencode/client.js +4 -1
  1129. package/dist/infra/opencode/client.js.map +1 -1
  1130. package/dist/infra/opencode/types.d.ts +1 -1
  1131. package/dist/infra/opencode/types.d.ts.map +1 -1
  1132. package/dist/infra/providers/claude-headless.d.ts.map +1 -1
  1133. package/dist/infra/providers/claude-headless.js +2 -0
  1134. package/dist/infra/providers/claude-headless.js.map +1 -1
  1135. package/dist/infra/providers/claude.d.ts.map +1 -1
  1136. package/dist/infra/providers/claude.js +4 -1
  1137. package/dist/infra/providers/claude.js.map +1 -1
  1138. package/dist/infra/providers/copilot.d.ts.map +1 -1
  1139. package/dist/infra/providers/copilot.js +1 -0
  1140. package/dist/infra/providers/copilot.js.map +1 -1
  1141. package/dist/infra/providers/mock.d.ts.map +1 -1
  1142. package/dist/infra/providers/mock.js +1 -0
  1143. package/dist/infra/providers/mock.js.map +1 -1
  1144. package/dist/infra/providers/provider-capabilities.d.ts +6 -0
  1145. package/dist/infra/providers/provider-capabilities.d.ts.map +1 -0
  1146. package/dist/infra/providers/provider-capabilities.js +40 -0
  1147. package/dist/infra/providers/provider-capabilities.js.map +1 -0
  1148. package/dist/infra/providers/types.d.ts +2 -2
  1149. package/dist/infra/providers/types.d.ts.map +1 -1
  1150. package/dist/infra/resources/index.d.ts +1 -1
  1151. package/dist/infra/resources/index.js +1 -1
  1152. package/dist/infra/service/runSyncConflictResolver.d.ts +11 -0
  1153. package/dist/infra/service/runSyncConflictResolver.d.ts.map +1 -0
  1154. package/dist/infra/service/runSyncConflictResolver.js +33 -0
  1155. package/dist/infra/service/runSyncConflictResolver.js.map +1 -0
  1156. package/dist/infra/task/autoCommit.d.ts +1 -1
  1157. package/dist/infra/task/autoCommit.js +1 -1
  1158. package/dist/infra/task/clone-base-branch.d.ts.map +1 -1
  1159. package/dist/infra/task/clone-base-branch.js +10 -0
  1160. package/dist/infra/task/clone-base-branch.js.map +1 -1
  1161. package/dist/infra/task/clone.js +2 -2
  1162. package/dist/infra/task/clone.js.map +1 -1
  1163. package/dist/infra/task/display.js +2 -2
  1164. package/dist/infra/task/display.js.map +1 -1
  1165. package/dist/infra/task/index.d.ts +1 -1
  1166. package/dist/infra/task/index.d.ts.map +1 -1
  1167. package/dist/infra/task/index.js +1 -1
  1168. package/dist/infra/task/index.js.map +1 -1
  1169. package/dist/infra/task/listSerializer.js +3 -3
  1170. package/dist/infra/task/listSerializer.js.map +1 -1
  1171. package/dist/infra/task/mapper.d.ts.map +1 -1
  1172. package/dist/infra/task/mapper.js +3 -2
  1173. package/dist/infra/task/mapper.js.map +1 -1
  1174. package/dist/infra/task/runner.d.ts +9 -4
  1175. package/dist/infra/task/runner.d.ts.map +1 -1
  1176. package/dist/infra/task/runner.js +11 -8
  1177. package/dist/infra/task/runner.js.map +1 -1
  1178. package/dist/infra/task/schema.d.ts +3 -400
  1179. package/dist/infra/task/schema.d.ts.map +1 -1
  1180. package/dist/infra/task/schema.js +3 -388
  1181. package/dist/infra/task/schema.js.map +1 -1
  1182. package/dist/infra/task/taskConfigSerialization.d.ts +7 -0
  1183. package/dist/infra/task/taskConfigSerialization.d.ts.map +1 -0
  1184. package/dist/infra/task/taskConfigSerialization.js +83 -0
  1185. package/dist/infra/task/taskConfigSerialization.js.map +1 -0
  1186. package/dist/infra/task/taskExceedService.d.ts +4 -2
  1187. package/dist/infra/task/taskExceedService.d.ts.map +1 -1
  1188. package/dist/infra/task/taskExceedService.js +3 -2
  1189. package/dist/infra/task/taskExceedService.js.map +1 -1
  1190. package/dist/infra/task/taskExecutionSchemas.d.ts +109 -0
  1191. package/dist/infra/task/taskExecutionSchemas.d.ts.map +1 -0
  1192. package/dist/infra/task/taskExecutionSchemas.js +44 -0
  1193. package/dist/infra/task/taskExecutionSchemas.js.map +1 -0
  1194. package/dist/infra/task/taskLifecycleService.d.ts +3 -11
  1195. package/dist/infra/task/taskLifecycleService.d.ts.map +1 -1
  1196. package/dist/infra/task/taskLifecycleService.js +23 -113
  1197. package/dist/infra/task/taskLifecycleService.js.map +1 -1
  1198. package/dist/infra/task/taskRecordMutations.d.ts +17 -0
  1199. package/dist/infra/task/taskRecordMutations.d.ts.map +1 -0
  1200. package/dist/infra/task/taskRecordMutations.js +76 -0
  1201. package/dist/infra/task/taskRecordMutations.js.map +1 -0
  1202. package/dist/infra/task/taskRecordSchemas.d.ts +147 -0
  1203. package/dist/infra/task/taskRecordSchemas.d.ts.map +1 -0
  1204. package/dist/infra/task/taskRecordSchemas.js +239 -0
  1205. package/dist/infra/task/taskRecordSchemas.js.map +1 -0
  1206. package/dist/infra/task/taskRetryService.d.ts +14 -0
  1207. package/dist/infra/task/taskRetryService.d.ts.map +1 -0
  1208. package/dist/infra/task/taskRetryService.js +52 -0
  1209. package/dist/infra/task/taskRetryService.js.map +1 -0
  1210. package/dist/infra/task/types.d.ts +1 -1
  1211. package/dist/infra/task/types.d.ts.map +1 -1
  1212. package/dist/infra/workflow/system/DefaultSystemStepServices.d.ts +10 -0
  1213. package/dist/infra/workflow/system/DefaultSystemStepServices.d.ts.map +1 -0
  1214. package/dist/infra/workflow/system/DefaultSystemStepServices.js +112 -0
  1215. package/dist/infra/workflow/system/DefaultSystemStepServices.js.map +1 -0
  1216. package/dist/infra/workflow/system/system-effect-git-helpers.d.ts +8 -0
  1217. package/dist/infra/workflow/system/system-effect-git-helpers.d.ts.map +1 -0
  1218. package/dist/infra/workflow/system/system-effect-git-helpers.js +64 -0
  1219. package/dist/infra/workflow/system/system-effect-git-helpers.js.map +1 -0
  1220. package/dist/infra/workflow/system/system-enqueue-effect.d.ts +12 -0
  1221. package/dist/infra/workflow/system/system-enqueue-effect.d.ts.map +1 -0
  1222. package/dist/infra/workflow/system/system-enqueue-effect.js +57 -0
  1223. package/dist/infra/workflow/system/system-enqueue-effect.js.map +1 -0
  1224. package/dist/infra/workflow/system/system-git-context.d.ts +13 -0
  1225. package/dist/infra/workflow/system/system-git-context.d.ts.map +1 -0
  1226. package/dist/infra/workflow/system/system-git-context.js +52 -0
  1227. package/dist/infra/workflow/system/system-git-context.js.map +1 -0
  1228. package/dist/infra/workflow/system/system-pr-effects.d.ts +9 -0
  1229. package/dist/infra/workflow/system/system-pr-effects.d.ts.map +1 -0
  1230. package/dist/infra/workflow/system/system-pr-effects.js +18 -0
  1231. package/dist/infra/workflow/system/system-pr-effects.js.map +1 -0
  1232. package/dist/infra/workflow/system/system-sync-effects.d.ts +8 -0
  1233. package/dist/infra/workflow/system/system-sync-effects.d.ts.map +1 -0
  1234. package/dist/infra/workflow/system/system-sync-effects.js +112 -0
  1235. package/dist/infra/workflow/system/system-sync-effects.js.map +1 -0
  1236. package/dist/shared/constants.d.ts +2 -2
  1237. package/dist/shared/constants.d.ts.map +1 -1
  1238. package/dist/shared/constants.js +2 -2
  1239. package/dist/shared/constants.js.map +1 -1
  1240. package/dist/shared/exitCodes.d.ts +1 -1
  1241. package/dist/shared/exitCodes.d.ts.map +1 -1
  1242. package/dist/shared/exitCodes.js +1 -1
  1243. package/dist/shared/exitCodes.js.map +1 -1
  1244. package/dist/shared/i18n/labels_en.yaml +13 -6
  1245. package/dist/shared/i18n/labels_ja.yaml +13 -6
  1246. package/dist/shared/prompt/select.d.ts.map +1 -1
  1247. package/dist/shared/prompt/select.js +1 -0
  1248. package/dist/shared/prompt/select.js.map +1 -1
  1249. package/dist/shared/prompts/en/perform_agent_system_prompt.md +4 -4
  1250. package/dist/shared/prompts/en/perform_phase1_message.md +7 -7
  1251. package/dist/shared/prompts/en/score_instruct_system_prompt.md +6 -6
  1252. package/dist/shared/prompts/en/score_interactive_system_prompt.md +6 -6
  1253. package/dist/shared/prompts/en/score_retry_system_prompt.md +8 -8
  1254. package/dist/shared/prompts/en/score_summary_system_prompt.md +5 -5
  1255. package/dist/shared/prompts/ja/perform_agent_system_prompt.md +4 -4
  1256. package/dist/shared/prompts/ja/perform_phase1_message.md +7 -7
  1257. package/dist/shared/prompts/ja/score_instruct_system_prompt.md +6 -6
  1258. package/dist/shared/prompts/ja/score_interactive_system_prompt.md +6 -6
  1259. package/dist/shared/prompts/ja/score_retry_system_prompt.md +8 -8
  1260. package/dist/shared/prompts/ja/score_summary_system_prompt.md +5 -5
  1261. package/dist/shared/ui/StreamDisplay.d.ts +7 -7
  1262. package/dist/shared/ui/StreamDisplay.d.ts.map +1 -1
  1263. package/dist/shared/ui/StreamDisplay.js +3 -4
  1264. package/dist/shared/ui/StreamDisplay.js.map +1 -1
  1265. package/dist/shared/ui/TaskPrefixWriter.d.ts +7 -7
  1266. package/dist/shared/ui/TaskPrefixWriter.d.ts.map +1 -1
  1267. package/dist/shared/ui/TaskPrefixWriter.js +7 -7
  1268. package/dist/shared/ui/TaskPrefixWriter.js.map +1 -1
  1269. package/dist/shared/utils/notification.d.ts +1 -1
  1270. package/dist/shared/utils/notification.d.ts.map +1 -1
  1271. package/dist/shared/utils/notification.js +15 -37
  1272. package/dist/shared/utils/notification.js.map +1 -1
  1273. package/dist/shared/utils/pathBoundary.d.ts +1 -0
  1274. package/dist/shared/utils/pathBoundary.d.ts.map +1 -1
  1275. package/dist/shared/utils/pathBoundary.js +15 -4
  1276. package/dist/shared/utils/pathBoundary.js.map +1 -1
  1277. package/dist/shared/utils/ruleIndex.d.ts +1 -1
  1278. package/dist/shared/utils/ruleIndex.d.ts.map +1 -1
  1279. package/dist/shared/utils/ruleIndex.js +2 -2
  1280. package/dist/shared/utils/ruleIndex.js.map +1 -1
  1281. package/dist/shared/utils/slackWebhook.d.ts +2 -2
  1282. package/dist/shared/utils/slackWebhook.d.ts.map +1 -1
  1283. package/dist/shared/utils/slackWebhook.js +3 -3
  1284. package/dist/shared/utils/slackWebhook.js.map +1 -1
  1285. package/dist/shared/utils/text.d.ts +1 -1
  1286. package/dist/shared/utils/text.js +1 -1
  1287. package/dist/shared/utils/types.d.ts +33 -10
  1288. package/dist/shared/utils/types.d.ts.map +1 -1
  1289. package/package.json +4 -3
  1290. package/dist/core/models/piece-types.d.ts +0 -167
  1291. package/dist/core/models/piece-types.d.ts.map +0 -1
  1292. package/dist/core/models/piece-types.js.map +0 -1
  1293. package/dist/core/piece/arpeggio/csv-data-source.d.ts.map +0 -1
  1294. package/dist/core/piece/arpeggio/csv-data-source.js.map +0 -1
  1295. package/dist/core/piece/arpeggio/data-source-factory.d.ts.map +0 -1
  1296. package/dist/core/piece/arpeggio/data-source-factory.js.map +0 -1
  1297. package/dist/core/piece/arpeggio/merge.d.ts.map +0 -1
  1298. package/dist/core/piece/arpeggio/merge.js.map +0 -1
  1299. package/dist/core/piece/arpeggio/template.d.ts.map +0 -1
  1300. package/dist/core/piece/arpeggio/template.js.map +0 -1
  1301. package/dist/core/piece/arpeggio/types.d.ts.map +0 -1
  1302. package/dist/core/piece/arpeggio/types.js +0 -9
  1303. package/dist/core/piece/arpeggio/types.js.map +0 -1
  1304. package/dist/core/piece/ask-user-question-error.d.ts.map +0 -1
  1305. package/dist/core/piece/ask-user-question-error.js.map +0 -1
  1306. package/dist/core/piece/constants.d.ts +0 -20
  1307. package/dist/core/piece/constants.d.ts.map +0 -1
  1308. package/dist/core/piece/constants.js +0 -20
  1309. package/dist/core/piece/constants.js.map +0 -1
  1310. package/dist/core/piece/engine/ArpeggioRunner.d.ts.map +0 -1
  1311. package/dist/core/piece/engine/ArpeggioRunner.js.map +0 -1
  1312. package/dist/core/piece/engine/MovementExecutor.d.ts +0 -74
  1313. package/dist/core/piece/engine/MovementExecutor.d.ts.map +0 -1
  1314. package/dist/core/piece/engine/MovementExecutor.js.map +0 -1
  1315. package/dist/core/piece/engine/OptionsBuilder.d.ts +0 -33
  1316. package/dist/core/piece/engine/OptionsBuilder.d.ts.map +0 -1
  1317. package/dist/core/piece/engine/OptionsBuilder.js.map +0 -1
  1318. package/dist/core/piece/engine/ParallelRunner.d.ts +0 -38
  1319. package/dist/core/piece/engine/ParallelRunner.d.ts.map +0 -1
  1320. package/dist/core/piece/engine/ParallelRunner.js.map +0 -1
  1321. package/dist/core/piece/engine/PieceEngine.d.ts +0 -93
  1322. package/dist/core/piece/engine/PieceEngine.d.ts.map +0 -1
  1323. package/dist/core/piece/engine/PieceEngine.js +0 -699
  1324. package/dist/core/piece/engine/PieceEngine.js.map +0 -1
  1325. package/dist/core/piece/engine/TeamLeaderRunner.d.ts +0 -24
  1326. package/dist/core/piece/engine/TeamLeaderRunner.d.ts.map +0 -1
  1327. package/dist/core/piece/engine/TeamLeaderRunner.js.map +0 -1
  1328. package/dist/core/piece/engine/abort-signal.d.ts.map +0 -1
  1329. package/dist/core/piece/engine/abort-signal.js.map +0 -1
  1330. package/dist/core/piece/engine/blocked-handler.d.ts +0 -27
  1331. package/dist/core/piece/engine/blocked-handler.d.ts.map +0 -1
  1332. package/dist/core/piece/engine/blocked-handler.js.map +0 -1
  1333. package/dist/core/piece/engine/cycle-detector.d.ts.map +0 -1
  1334. package/dist/core/piece/engine/cycle-detector.js.map +0 -1
  1335. package/dist/core/piece/engine/index.d.ts.map +0 -1
  1336. package/dist/core/piece/engine/index.js.map +0 -1
  1337. package/dist/core/piece/engine/loop-detector.d.ts.map +0 -1
  1338. package/dist/core/piece/engine/loop-detector.js.map +0 -1
  1339. package/dist/core/piece/engine/parallel-logger.d.ts.map +0 -1
  1340. package/dist/core/piece/engine/parallel-logger.js.map +0 -1
  1341. package/dist/core/piece/engine/state-manager.d.ts +0 -46
  1342. package/dist/core/piece/engine/state-manager.d.ts.map +0 -1
  1343. package/dist/core/piece/engine/state-manager.js.map +0 -1
  1344. package/dist/core/piece/engine/stream-buffer.d.ts.map +0 -1
  1345. package/dist/core/piece/engine/stream-buffer.js.map +0 -1
  1346. package/dist/core/piece/engine/task-decomposer.d.ts.map +0 -1
  1347. package/dist/core/piece/engine/task-decomposer.js.map +0 -1
  1348. package/dist/core/piece/engine/team-leader-aggregation.d.ts.map +0 -1
  1349. package/dist/core/piece/engine/team-leader-aggregation.js.map +0 -1
  1350. package/dist/core/piece/engine/team-leader-common.d.ts +0 -8
  1351. package/dist/core/piece/engine/team-leader-common.d.ts.map +0 -1
  1352. package/dist/core/piece/engine/team-leader-common.js.map +0 -1
  1353. package/dist/core/piece/engine/team-leader-execution.d.ts.map +0 -1
  1354. package/dist/core/piece/engine/team-leader-execution.js.map +0 -1
  1355. package/dist/core/piece/engine/team-leader-streaming.d.ts +0 -5
  1356. package/dist/core/piece/engine/team-leader-streaming.d.ts.map +0 -1
  1357. package/dist/core/piece/engine/team-leader-streaming.js.map +0 -1
  1358. package/dist/core/piece/engine/transitions.d.ts +0 -17
  1359. package/dist/core/piece/engine/transitions.d.ts.map +0 -1
  1360. package/dist/core/piece/engine/transitions.js +0 -38
  1361. package/dist/core/piece/engine/transitions.js.map +0 -1
  1362. package/dist/core/piece/evaluation/AggregateEvaluator.d.ts +0 -32
  1363. package/dist/core/piece/evaluation/AggregateEvaluator.d.ts.map +0 -1
  1364. package/dist/core/piece/evaluation/AggregateEvaluator.js.map +0 -1
  1365. package/dist/core/piece/evaluation/RuleEvaluator.d.ts.map +0 -1
  1366. package/dist/core/piece/evaluation/RuleEvaluator.js +0 -153
  1367. package/dist/core/piece/evaluation/RuleEvaluator.js.map +0 -1
  1368. package/dist/core/piece/evaluation/index.d.ts +0 -18
  1369. package/dist/core/piece/evaluation/index.d.ts.map +0 -1
  1370. package/dist/core/piece/evaluation/index.js.map +0 -1
  1371. package/dist/core/piece/evaluation/rule-utils.d.ts +0 -31
  1372. package/dist/core/piece/evaluation/rule-utils.d.ts.map +0 -1
  1373. package/dist/core/piece/evaluation/rule-utils.js.map +0 -1
  1374. package/dist/core/piece/index.d.ts +0 -25
  1375. package/dist/core/piece/index.d.ts.map +0 -1
  1376. package/dist/core/piece/index.js +0 -36
  1377. package/dist/core/piece/index.js.map +0 -1
  1378. package/dist/core/piece/instruction/InstructionBuilder.d.ts.map +0 -1
  1379. package/dist/core/piece/instruction/InstructionBuilder.js.map +0 -1
  1380. package/dist/core/piece/instruction/ReportInstructionBuilder.d.ts.map +0 -1
  1381. package/dist/core/piece/instruction/ReportInstructionBuilder.js.map +0 -1
  1382. package/dist/core/piece/instruction/StatusJudgmentBuilder.d.ts.map +0 -1
  1383. package/dist/core/piece/instruction/StatusJudgmentBuilder.js.map +0 -1
  1384. package/dist/core/piece/instruction/escape.d.ts.map +0 -1
  1385. package/dist/core/piece/instruction/escape.js.map +0 -1
  1386. package/dist/core/piece/instruction/index.d.ts.map +0 -1
  1387. package/dist/core/piece/instruction/index.js.map +0 -1
  1388. package/dist/core/piece/instruction/instruction-context.d.ts.map +0 -1
  1389. package/dist/core/piece/instruction/instruction-context.js.map +0 -1
  1390. package/dist/core/piece/instruction/status-rules.d.ts.map +0 -1
  1391. package/dist/core/piece/instruction/status-rules.js.map +0 -1
  1392. package/dist/core/piece/parallel-logger.d.ts.map +0 -1
  1393. package/dist/core/piece/parallel-logger.js.map +0 -1
  1394. package/dist/core/piece/part-definition-validator.d.ts.map +0 -1
  1395. package/dist/core/piece/part-definition-validator.js.map +0 -1
  1396. package/dist/core/piece/permission-profile-resolution.d.ts.map +0 -1
  1397. package/dist/core/piece/permission-profile-resolution.js.map +0 -1
  1398. package/dist/core/piece/phase-runner.d.ts.map +0 -1
  1399. package/dist/core/piece/phase-runner.js.map +0 -1
  1400. package/dist/core/piece/provider-model-compatibility.d.ts.map +0 -1
  1401. package/dist/core/piece/provider-model-compatibility.js.map +0 -1
  1402. package/dist/core/piece/provider-resolution.d.ts.map +0 -1
  1403. package/dist/core/piece/provider-resolution.js.map +0 -1
  1404. package/dist/core/piece/run/run-meta.d.ts.map +0 -1
  1405. package/dist/core/piece/run/run-meta.js +0 -42
  1406. package/dist/core/piece/run/run-meta.js.map +0 -1
  1407. package/dist/core/piece/run/run-paths.d.ts.map +0 -1
  1408. package/dist/core/piece/run/run-paths.js.map +0 -1
  1409. package/dist/core/piece/session-key.d.ts.map +0 -1
  1410. package/dist/core/piece/session-key.js.map +0 -1
  1411. package/dist/core/piece/status-judgment-phase.d.ts.map +0 -1
  1412. package/dist/core/piece/status-judgment-phase.js.map +0 -1
  1413. package/dist/core/piece/types.d.ts.map +0 -1
  1414. package/dist/core/piece/types.js +0 -8
  1415. package/dist/core/piece/types.js.map +0 -1
  1416. package/dist/features/pieceSelection/index.d.ts +0 -59
  1417. package/dist/features/pieceSelection/index.d.ts.map +0 -1
  1418. package/dist/features/pieceSelection/index.js +0 -361
  1419. package/dist/features/pieceSelection/index.js.map +0 -1
  1420. package/dist/features/tasks/execute/pieceExecution.d.ts +0 -5
  1421. package/dist/features/tasks/execute/pieceExecution.d.ts.map +0 -1
  1422. package/dist/features/tasks/execute/pieceExecution.js +0 -315
  1423. package/dist/features/tasks/execute/pieceExecution.js.map +0 -1
  1424. package/dist/features/tasks/execute/pieceExecutionUtils.d.ts.map +0 -1
  1425. package/dist/features/tasks/execute/pieceExecutionUtils.js.map +0 -1
  1426. package/dist/infra/config/env/global-legacy-env-specs.d.ts +0 -3
  1427. package/dist/infra/config/env/global-legacy-env-specs.d.ts.map +0 -1
  1428. package/dist/infra/config/env/global-legacy-env-specs.js +0 -122
  1429. package/dist/infra/config/env/global-legacy-env-specs.js.map +0 -1
  1430. package/dist/infra/config/env/project-legacy-env-specs.d.ts +0 -3
  1431. package/dist/infra/config/env/project-legacy-env-specs.d.ts.map +0 -1
  1432. package/dist/infra/config/env/project-legacy-env-specs.js +0 -80
  1433. package/dist/infra/config/env/project-legacy-env-specs.js.map +0 -1
  1434. package/dist/infra/config/global/pieceCategories.d.ts +0 -12
  1435. package/dist/infra/config/global/pieceCategories.d.ts.map +0 -1
  1436. package/dist/infra/config/global/pieceCategories.js +0 -33
  1437. package/dist/infra/config/global/pieceCategories.js.map +0 -1
  1438. package/dist/infra/config/legacy-workflow-key-deprecation.d.ts +0 -11
  1439. package/dist/infra/config/legacy-workflow-key-deprecation.d.ts.map +0 -1
  1440. package/dist/infra/config/legacy-workflow-key-deprecation.js +0 -191
  1441. package/dist/infra/config/legacy-workflow-key-deprecation.js.map +0 -1
  1442. package/dist/infra/config/loaders/pieceCategories.d.ts +0 -53
  1443. package/dist/infra/config/loaders/pieceCategories.d.ts.map +0 -1
  1444. package/dist/infra/config/loaders/pieceCategories.js +0 -366
  1445. package/dist/infra/config/loaders/pieceCategories.js.map +0 -1
  1446. package/dist/infra/config/loaders/pieceLoadWarning.d.ts +0 -2
  1447. package/dist/infra/config/loaders/pieceLoadWarning.d.ts.map +0 -1
  1448. package/dist/infra/config/loaders/pieceLoadWarning.js.map +0 -1
  1449. package/dist/infra/config/loaders/pieceLoader.d.ts +0 -10
  1450. package/dist/infra/config/loaders/pieceLoader.d.ts.map +0 -1
  1451. package/dist/infra/config/loaders/pieceLoader.js +0 -12
  1452. package/dist/infra/config/loaders/pieceLoader.js.map +0 -1
  1453. package/dist/infra/config/loaders/pieceParser.d.ts +0 -18
  1454. package/dist/infra/config/loaders/pieceParser.d.ts.map +0 -1
  1455. package/dist/infra/config/loaders/pieceParser.js +0 -451
  1456. package/dist/infra/config/loaders/pieceParser.js.map +0 -1
  1457. package/dist/infra/config/loaders/pieceResolver.d.ts +0 -117
  1458. package/dist/infra/config/loaders/pieceResolver.d.ts.map +0 -1
  1459. package/dist/infra/config/loaders/pieceResolver.js +0 -458
  1460. package/dist/infra/config/loaders/pieceResolver.js.map +0 -1
  1461. package/dist/infra/config/resolvePieceConfigValue.d.ts +0 -6
  1462. package/dist/infra/config/resolvePieceConfigValue.d.ts.map +0 -1
  1463. package/dist/infra/config/resolvePieceConfigValue.js.map +0 -1
  1464. package/dist/infra/config/traced/tracedConfigLegacyEnvAdapter.d.ts +0 -4
  1465. package/dist/infra/config/traced/tracedConfigLegacyEnvAdapter.d.ts.map +0 -1
  1466. package/dist/infra/config/traced/tracedConfigLegacyEnvAdapter.js +0 -47
  1467. package/dist/infra/config/traced/tracedConfigLegacyEnvAdapter.js.map +0 -1
  1468. /package/dist/core/{piece → workflow}/arpeggio/data-source-factory.d.ts +0 -0
  1469. /package/dist/core/{piece → workflow}/arpeggio/data-source-factory.js +0 -0
  1470. /package/dist/core/{piece → workflow}/arpeggio/merge.js +0 -0
  1471. /package/dist/core/{piece → workflow}/engine/abort-signal.d.ts +0 -0
  1472. /package/dist/core/{piece → workflow}/engine/abort-signal.js +0 -0
  1473. /package/dist/core/{piece → workflow}/engine/stream-buffer.d.ts +0 -0
  1474. /package/dist/core/{piece → workflow}/engine/stream-buffer.js +0 -0
  1475. /package/dist/core/{piece → workflow}/engine/task-decomposer.d.ts +0 -0
  1476. /package/dist/core/{piece → workflow}/engine/task-decomposer.js +0 -0
  1477. /package/dist/core/{piece → workflow}/engine/team-leader-aggregation.d.ts +0 -0
  1478. /package/dist/core/{piece → workflow}/engine/team-leader-aggregation.js +0 -0
  1479. /package/dist/core/{piece → workflow}/engine/team-leader-execution.d.ts +0 -0
  1480. /package/dist/core/{piece → workflow}/engine/team-leader-execution.js +0 -0
  1481. /package/dist/core/{piece → workflow}/instruction/index.d.ts +0 -0
  1482. /package/dist/core/{piece → workflow}/instruction/index.js +0 -0
  1483. /package/dist/core/{piece → workflow}/instruction/instruction-context.js +0 -0
  1484. /package/dist/core/{piece → workflow}/parallel-logger.d.ts +0 -0
  1485. /package/dist/core/{piece → workflow}/parallel-logger.js +0 -0
  1486. /package/dist/core/{piece → workflow}/part-definition-validator.d.ts +0 -0
  1487. /package/dist/core/{piece → workflow}/part-definition-validator.js +0 -0
  1488. /package/dist/core/{piece → workflow}/provider-model-compatibility.d.ts +0 -0
  1489. /package/dist/core/{piece → workflow}/provider-model-compatibility.js +0 -0
@@ -1,11 +1,16 @@
1
1
  /**
2
- * Workflow YAML schemas and alias normalization.
2
+ * Workflow YAML schemas.
3
3
  */
4
4
  import { z } from 'zod/v4';
5
+ export declare const WorkflowParamReferenceRawSchema: z.ZodObject<{
6
+ $param: z.ZodString;
7
+ }, z.core.$strict>;
5
8
  /** Rule-based transition schema (new unified format) */
6
- export declare const PieceRuleSchema: z.ZodObject<{
7
- condition: z.ZodString;
9
+ export declare const WorkflowRuleSchema: z.ZodObject<{
10
+ condition: z.ZodOptional<z.ZodString>;
11
+ when: z.ZodOptional<z.ZodString>;
8
12
  next: z.ZodOptional<z.ZodString>;
13
+ return: z.ZodOptional<z.ZodString>;
9
14
  appendix: z.ZodOptional<z.ZodString>;
10
15
  requires_user_input: z.ZodOptional<z.ZodBoolean>;
11
16
  interactive_only: z.ZodOptional<z.ZodBoolean>;
@@ -55,13 +60,17 @@ export declare const TeamLeaderConfigRawSchema: z.ZodObject<{
55
60
  full: "full";
56
61
  }>>;
57
62
  }, z.core.$strip>;
58
- /** Sub-movement schema for parallel execution */
59
- export declare const ParallelSubMovementRawSchema: z.ZodObject<{
63
+ /** Sub-step schema for parallel execution */
64
+ export declare const ParallelSubStepRawSchema: z.ZodObject<{
60
65
  name: z.ZodString;
61
66
  persona: z.ZodOptional<z.ZodString>;
62
67
  persona_name: z.ZodOptional<z.ZodString>;
63
- policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
64
- knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
68
+ policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
69
+ $param: z.ZodString;
70
+ }, z.core.$strict>]>>;
71
+ knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
72
+ $param: z.ZodString;
73
+ }, z.core.$strict>]>>;
65
74
  allowed_tools: z.ZodOptional<z.ZodNever>;
66
75
  mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
67
76
  type: z.ZodOptional<z.ZodLiteral<"stdio">>;
@@ -129,6 +138,7 @@ export declare const ParallelSubMovementRawSchema: z.ZodObject<{
129
138
  low: "low";
130
139
  medium: "medium";
131
140
  high: "high";
141
+ xhigh: "xhigh";
132
142
  max: "max";
133
143
  }>>;
134
144
  sandbox: z.ZodOptional<z.ZodObject<{
@@ -136,13 +146,25 @@ export declare const ParallelSubMovementRawSchema: z.ZodObject<{
136
146
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
147
  }, z.core.$strip>>;
138
148
  }, z.core.$strip>>;
149
+ copilot: z.ZodOptional<z.ZodObject<{
150
+ effort: z.ZodOptional<z.ZodEnum<{
151
+ low: "low";
152
+ medium: "medium";
153
+ high: "high";
154
+ xhigh: "xhigh";
155
+ }>>;
156
+ }, z.core.$strip>>;
139
157
  }, z.core.$strip>>;
140
158
  edit: z.ZodOptional<z.ZodBoolean>;
141
- instruction: z.ZodOptional<z.ZodString>;
159
+ instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
160
+ $param: z.ZodString;
161
+ }, z.core.$strict>]>>;
142
162
  instruction_template: z.ZodOptional<z.ZodNever>;
143
163
  rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
144
- condition: z.ZodString;
164
+ condition: z.ZodOptional<z.ZodString>;
165
+ when: z.ZodOptional<z.ZodString>;
145
166
  next: z.ZodOptional<z.ZodString>;
167
+ return: z.ZodOptional<z.ZodString>;
146
168
  appendix: z.ZodOptional<z.ZodString>;
147
169
  requires_user_input: z.ZodOptional<z.ZodBoolean>;
148
170
  interactive_only: z.ZodOptional<z.ZodBoolean>;
@@ -150,26 +172,104 @@ export declare const ParallelSubMovementRawSchema: z.ZodObject<{
150
172
  output_contracts: z.ZodOptional<z.ZodObject<{
151
173
  report: z.ZodOptional<z.ZodArray<z.ZodObject<{
152
174
  name: z.ZodString;
153
- format: z.ZodString;
175
+ format: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
176
+ $param: z.ZodString;
177
+ }, z.core.$strict>]>;
154
178
  use_judge: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
155
179
  order: z.ZodOptional<z.ZodString>;
156
180
  }, z.core.$strip>>>;
157
181
  }, z.core.$strip>>;
158
182
  quality_gates: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
- pass_previous_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
183
+ pass_previous_response: z.ZodOptional<z.ZodBoolean>;
160
184
  }, z.core.$strip>;
161
- /** Piece movement schema - raw YAML format */
162
- export declare const PieceMovementRawSchema: z.ZodObject<{
185
+ export declare const WorkflowStepRawSchema: z.ZodObject<{
163
186
  name: z.ZodString;
164
187
  description: z.ZodOptional<z.ZodString>;
188
+ kind: z.ZodOptional<z.ZodEnum<{
189
+ agent: "agent";
190
+ system: "system";
191
+ workflow_call: "workflow_call";
192
+ }>>;
193
+ mode: z.ZodOptional<z.ZodLiteral<"system">>;
194
+ call: z.ZodOptional<z.ZodString>;
195
+ overrides: z.ZodOptional<z.ZodObject<{
196
+ provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
197
+ claude: "claude";
198
+ "claude-sdk": "claude-sdk";
199
+ codex: "codex";
200
+ opencode: "opencode";
201
+ cursor: "cursor";
202
+ copilot: "copilot";
203
+ mock: "mock";
204
+ }>, z.ZodObject<{
205
+ type: z.ZodEnum<{
206
+ claude: "claude";
207
+ "claude-sdk": "claude-sdk";
208
+ codex: "codex";
209
+ opencode: "opencode";
210
+ cursor: "cursor";
211
+ copilot: "copilot";
212
+ mock: "mock";
213
+ }>;
214
+ model: z.ZodOptional<z.ZodString>;
215
+ network_access: z.ZodOptional<z.ZodBoolean>;
216
+ sandbox: z.ZodOptional<z.ZodObject<{
217
+ allow_unsandboxed_commands: z.ZodOptional<z.ZodBoolean>;
218
+ excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
219
+ }, z.core.$strip>>;
220
+ }, z.core.$strict>]>>;
221
+ model: z.ZodOptional<z.ZodString>;
222
+ provider_options: z.ZodOptional<z.ZodObject<{
223
+ codex: z.ZodOptional<z.ZodObject<{
224
+ network_access: z.ZodOptional<z.ZodBoolean>;
225
+ reasoning_effort: z.ZodOptional<z.ZodEnum<{
226
+ minimal: "minimal";
227
+ low: "low";
228
+ medium: "medium";
229
+ high: "high";
230
+ xhigh: "xhigh";
231
+ }>>;
232
+ }, z.core.$strip>>;
233
+ opencode: z.ZodOptional<z.ZodObject<{
234
+ network_access: z.ZodOptional<z.ZodBoolean>;
235
+ }, z.core.$strip>>;
236
+ claude: z.ZodOptional<z.ZodObject<{
237
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
238
+ effort: z.ZodOptional<z.ZodEnum<{
239
+ low: "low";
240
+ medium: "medium";
241
+ high: "high";
242
+ xhigh: "xhigh";
243
+ max: "max";
244
+ }>>;
245
+ sandbox: z.ZodOptional<z.ZodObject<{
246
+ allow_unsandboxed_commands: z.ZodOptional<z.ZodBoolean>;
247
+ excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
248
+ }, z.core.$strip>>;
249
+ }, z.core.$strip>>;
250
+ copilot: z.ZodOptional<z.ZodObject<{
251
+ effort: z.ZodOptional<z.ZodEnum<{
252
+ low: "low";
253
+ medium: "medium";
254
+ high: "high";
255
+ xhigh: "xhigh";
256
+ }>>;
257
+ }, z.core.$strip>>;
258
+ }, z.core.$strip>>;
259
+ }, z.core.$strict>>;
260
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
165
261
  session: z.ZodOptional<z.ZodEnum<{
166
262
  continue: "continue";
167
263
  refresh: "refresh";
168
264
  }>>;
169
265
  persona: z.ZodOptional<z.ZodString>;
170
266
  persona_name: z.ZodOptional<z.ZodString>;
171
- policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
172
- knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
267
+ policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
268
+ $param: z.ZodString;
269
+ }, z.core.$strict>]>>;
270
+ knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
271
+ $param: z.ZodString;
272
+ }, z.core.$strict>]>>;
173
273
  allowed_tools: z.ZodOptional<z.ZodNever>;
174
274
  mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
175
275
  type: z.ZodOptional<z.ZodLiteral<"stdio">>;
@@ -237,6 +337,7 @@ export declare const PieceMovementRawSchema: z.ZodObject<{
237
337
  low: "low";
238
338
  medium: "medium";
239
339
  high: "high";
340
+ xhigh: "xhigh";
240
341
  max: "max";
241
342
  }>>;
242
343
  sandbox: z.ZodOptional<z.ZodObject<{
@@ -244,13 +345,83 @@ export declare const PieceMovementRawSchema: z.ZodObject<{
244
345
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
245
346
  }, z.core.$strip>>;
246
347
  }, z.core.$strip>>;
348
+ copilot: z.ZodOptional<z.ZodObject<{
349
+ effort: z.ZodOptional<z.ZodEnum<{
350
+ low: "low";
351
+ medium: "medium";
352
+ high: "high";
353
+ xhigh: "xhigh";
354
+ }>>;
355
+ }, z.core.$strip>>;
247
356
  }, z.core.$strip>>;
248
357
  edit: z.ZodOptional<z.ZodBoolean>;
249
- instruction: z.ZodOptional<z.ZodString>;
358
+ instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
359
+ $param: z.ZodString;
360
+ }, z.core.$strict>]>>;
250
361
  instruction_template: z.ZodOptional<z.ZodNever>;
362
+ delay_before_ms: z.ZodOptional<z.ZodNumber>;
363
+ structured_output: z.ZodOptional<z.ZodObject<{
364
+ schema_ref: z.ZodString;
365
+ }, z.core.$strip>>;
366
+ system_inputs: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
367
+ as: z.ZodString;
368
+ type: z.ZodLiteral<"task_context">;
369
+ source: z.ZodLiteral<"current_task">;
370
+ }, z.core.$strip>, z.ZodObject<{
371
+ as: z.ZodString;
372
+ type: z.ZodLiteral<"branch_context">;
373
+ source: z.ZodLiteral<"current_task">;
374
+ }, z.core.$strip>, z.ZodObject<{
375
+ as: z.ZodString;
376
+ type: z.ZodLiteral<"pr_context">;
377
+ source: z.ZodLiteral<"current_branch">;
378
+ }, z.core.$strip>, z.ZodObject<{
379
+ as: z.ZodString;
380
+ type: z.ZodLiteral<"issue_context">;
381
+ source: z.ZodLiteral<"current_task">;
382
+ }, z.core.$strip>, z.ZodObject<{
383
+ as: z.ZodString;
384
+ type: z.ZodLiteral<"task_queue_context">;
385
+ source: z.ZodLiteral<"current_project">;
386
+ }, z.core.$strip>], "type">>>;
387
+ effects: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
388
+ type: z.ZodLiteral<"enqueue_task">;
389
+ mode: z.ZodEnum<{
390
+ new: "new";
391
+ from_pr: "from_pr";
392
+ }>;
393
+ workflow: z.ZodString;
394
+ task: z.ZodString;
395
+ pr: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>>;
396
+ issue: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
397
+ create: z.ZodOptional<z.ZodBoolean>;
398
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
399
+ }, z.core.$strict>, z.ZodUnion<readonly [z.ZodString, z.ZodString]>]>>;
400
+ base_branch: z.ZodOptional<z.ZodString>;
401
+ worktree: z.ZodOptional<z.ZodObject<{
402
+ enabled: z.ZodOptional<z.ZodBoolean>;
403
+ auto_pr: z.ZodOptional<z.ZodBoolean>;
404
+ draft_pr: z.ZodOptional<z.ZodBoolean>;
405
+ }, z.core.$strict>>;
406
+ }, z.core.$strict>, z.ZodObject<{
407
+ type: z.ZodLiteral<"comment_pr">;
408
+ pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
409
+ body: z.ZodString;
410
+ }, z.core.$strict>, z.ZodObject<{
411
+ type: z.ZodLiteral<"sync_with_root">;
412
+ pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
413
+ }, z.core.$strict>, z.ZodObject<{
414
+ type: z.ZodLiteral<"resolve_conflicts_with_ai">;
415
+ pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
416
+ }, z.core.$strict>, z.ZodObject<{
417
+ type: z.ZodLiteral<"merge_pr">;
418
+ pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
419
+ }, z.core.$strict>], "type">>>;
251
420
  rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
252
- condition: z.ZodString;
421
+ condition: z.ZodOptional<z.ZodString>;
422
+ when: z.ZodOptional<z.ZodString>;
253
423
  next: z.ZodOptional<z.ZodString>;
424
+ return: z.ZodOptional<z.ZodString>;
254
425
  appendix: z.ZodOptional<z.ZodString>;
255
426
  requires_user_input: z.ZodOptional<z.ZodBoolean>;
256
427
  interactive_only: z.ZodOptional<z.ZodBoolean>;
@@ -258,19 +429,25 @@ export declare const PieceMovementRawSchema: z.ZodObject<{
258
429
  output_contracts: z.ZodOptional<z.ZodObject<{
259
430
  report: z.ZodOptional<z.ZodArray<z.ZodObject<{
260
431
  name: z.ZodString;
261
- format: z.ZodString;
432
+ format: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
433
+ $param: z.ZodString;
434
+ }, z.core.$strict>]>;
262
435
  use_judge: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
263
436
  order: z.ZodOptional<z.ZodString>;
264
437
  }, z.core.$strip>>>;
265
438
  }, z.core.$strip>>;
266
439
  quality_gates: z.ZodOptional<z.ZodArray<z.ZodString>>;
267
- pass_previous_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
440
+ pass_previous_response: z.ZodOptional<z.ZodBoolean>;
268
441
  parallel: z.ZodOptional<z.ZodArray<z.ZodObject<{
269
442
  name: z.ZodString;
270
443
  persona: z.ZodOptional<z.ZodString>;
271
444
  persona_name: z.ZodOptional<z.ZodString>;
272
- policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
273
- knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
445
+ policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
446
+ $param: z.ZodString;
447
+ }, z.core.$strict>]>>;
448
+ knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
449
+ $param: z.ZodString;
450
+ }, z.core.$strict>]>>;
274
451
  allowed_tools: z.ZodOptional<z.ZodNever>;
275
452
  mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
276
453
  type: z.ZodOptional<z.ZodLiteral<"stdio">>;
@@ -338,6 +515,7 @@ export declare const PieceMovementRawSchema: z.ZodObject<{
338
515
  low: "low";
339
516
  medium: "medium";
340
517
  high: "high";
518
+ xhigh: "xhigh";
341
519
  max: "max";
342
520
  }>>;
343
521
  sandbox: z.ZodOptional<z.ZodObject<{
@@ -345,13 +523,25 @@ export declare const PieceMovementRawSchema: z.ZodObject<{
345
523
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
346
524
  }, z.core.$strip>>;
347
525
  }, z.core.$strip>>;
526
+ copilot: z.ZodOptional<z.ZodObject<{
527
+ effort: z.ZodOptional<z.ZodEnum<{
528
+ low: "low";
529
+ medium: "medium";
530
+ high: "high";
531
+ xhigh: "xhigh";
532
+ }>>;
533
+ }, z.core.$strip>>;
348
534
  }, z.core.$strip>>;
349
535
  edit: z.ZodOptional<z.ZodBoolean>;
350
- instruction: z.ZodOptional<z.ZodString>;
536
+ instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
537
+ $param: z.ZodString;
538
+ }, z.core.$strict>]>>;
351
539
  instruction_template: z.ZodOptional<z.ZodNever>;
352
540
  rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
353
- condition: z.ZodString;
541
+ condition: z.ZodOptional<z.ZodString>;
542
+ when: z.ZodOptional<z.ZodString>;
354
543
  next: z.ZodOptional<z.ZodString>;
544
+ return: z.ZodOptional<z.ZodString>;
355
545
  appendix: z.ZodOptional<z.ZodString>;
356
546
  requires_user_input: z.ZodOptional<z.ZodBoolean>;
357
547
  interactive_only: z.ZodOptional<z.ZodBoolean>;
@@ -359,13 +549,15 @@ export declare const PieceMovementRawSchema: z.ZodObject<{
359
549
  output_contracts: z.ZodOptional<z.ZodObject<{
360
550
  report: z.ZodOptional<z.ZodArray<z.ZodObject<{
361
551
  name: z.ZodString;
362
- format: z.ZodString;
552
+ format: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
553
+ $param: z.ZodString;
554
+ }, z.core.$strict>]>;
363
555
  use_judge: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
364
556
  order: z.ZodOptional<z.ZodString>;
365
557
  }, z.core.$strip>>>;
366
558
  }, z.core.$strip>>;
367
559
  quality_gates: z.ZodOptional<z.ZodArray<z.ZodString>>;
368
- pass_previous_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
560
+ pass_previous_response: z.ZodOptional<z.ZodBoolean>;
369
561
  }, z.core.$strip>>>;
370
562
  concurrency: z.ZodOptional<z.ZodNumber>;
371
563
  arpeggio: z.ZodOptional<z.ZodObject<{
@@ -483,18 +675,38 @@ export declare const LoopMonitorSchema: z.ZodObject<{
483
675
  }, z.core.$strip>>;
484
676
  }, z.core.$strip>;
485
677
  }, z.core.$strip>;
486
- /** Interactive mode schema for piece-level default */
678
+ /** Interactive mode schema for workflow-level default */
487
679
  export declare const InteractiveModeSchema: z.ZodEnum<{
488
680
  assistant: "assistant";
489
681
  persona: "persona";
490
682
  quiet: "quiet";
491
683
  passthrough: "passthrough";
492
684
  }>;
493
- /** Piece configuration schema - raw YAML format */
494
- export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodObject<{
685
+ /** Workflow configuration schema - raw YAML format */
686
+ export declare const WorkflowConfigRawSchema: z.ZodObject<{
495
687
  name: z.ZodString;
496
688
  description: z.ZodOptional<z.ZodString>;
497
- piece_config: z.ZodOptional<z.ZodObject<{
689
+ subworkflow: z.ZodOptional<z.ZodObject<{
690
+ callable: z.ZodOptional<z.ZodBoolean>;
691
+ visibility: z.ZodOptional<z.ZodEnum<{
692
+ internal: "internal";
693
+ }>>;
694
+ returns: z.ZodOptional<z.ZodArray<z.ZodString>>;
695
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
696
+ type: z.ZodEnum<{
697
+ facet_ref: "facet_ref";
698
+ "facet_ref[]": "facet_ref[]";
699
+ }>;
700
+ facet_kind: z.ZodEnum<{
701
+ knowledge: "knowledge";
702
+ policy: "policy";
703
+ instruction: "instruction";
704
+ report_format: "report_format";
705
+ }>;
706
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
707
+ }, z.core.$strict>>>;
708
+ }, z.core.$strict>>;
709
+ workflow_config: z.ZodOptional<z.ZodObject<{
498
710
  provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
499
711
  claude: "claude";
500
712
  "claude-sdk": "claude-sdk";
@@ -520,6 +732,7 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
520
732
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
521
733
  }, z.core.$strip>>;
522
734
  }, z.core.$strict>]>>;
735
+ model: z.ZodOptional<z.ZodString>;
523
736
  provider_options: z.ZodOptional<z.ZodObject<{
524
737
  codex: z.ZodOptional<z.ZodObject<{
525
738
  network_access: z.ZodOptional<z.ZodBoolean>;
@@ -540,6 +753,7 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
540
753
  low: "low";
541
754
  medium: "medium";
542
755
  high: "high";
756
+ xhigh: "xhigh";
543
757
  max: "max";
544
758
  }>>;
545
759
  sandbox: z.ZodOptional<z.ZodObject<{
@@ -547,66 +761,13 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
547
761
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
548
762
  }, z.core.$strip>>;
549
763
  }, z.core.$strip>>;
550
- }, z.core.$strip>>;
551
- runtime: z.ZodOptional<z.ZodObject<{
552
- prepare: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
553
- gradle: "gradle";
554
- node: "node";
555
- }>, z.ZodString]>>>;
556
- }, z.core.$strip>>;
557
- }, z.core.$strip>>;
558
- workflow_config: z.ZodOptional<z.ZodObject<{
559
- provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
560
- claude: "claude";
561
- "claude-sdk": "claude-sdk";
562
- codex: "codex";
563
- opencode: "opencode";
564
- cursor: "cursor";
565
- copilot: "copilot";
566
- mock: "mock";
567
- }>, z.ZodObject<{
568
- type: z.ZodEnum<{
569
- claude: "claude";
570
- "claude-sdk": "claude-sdk";
571
- codex: "codex";
572
- opencode: "opencode";
573
- cursor: "cursor";
574
- copilot: "copilot";
575
- mock: "mock";
576
- }>;
577
- model: z.ZodOptional<z.ZodString>;
578
- network_access: z.ZodOptional<z.ZodBoolean>;
579
- sandbox: z.ZodOptional<z.ZodObject<{
580
- allow_unsandboxed_commands: z.ZodOptional<z.ZodBoolean>;
581
- excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
582
- }, z.core.$strip>>;
583
- }, z.core.$strict>]>>;
584
- provider_options: z.ZodOptional<z.ZodObject<{
585
- codex: z.ZodOptional<z.ZodObject<{
586
- network_access: z.ZodOptional<z.ZodBoolean>;
587
- reasoning_effort: z.ZodOptional<z.ZodEnum<{
588
- minimal: "minimal";
589
- low: "low";
590
- medium: "medium";
591
- high: "high";
592
- xhigh: "xhigh";
593
- }>>;
594
- }, z.core.$strip>>;
595
- opencode: z.ZodOptional<z.ZodObject<{
596
- network_access: z.ZodOptional<z.ZodBoolean>;
597
- }, z.core.$strip>>;
598
- claude: z.ZodOptional<z.ZodObject<{
599
- allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
764
+ copilot: z.ZodOptional<z.ZodObject<{
600
765
  effort: z.ZodOptional<z.ZodEnum<{
601
766
  low: "low";
602
767
  medium: "medium";
603
768
  high: "high";
604
- max: "max";
769
+ xhigh: "xhigh";
605
770
  }>>;
606
- sandbox: z.ZodOptional<z.ZodObject<{
607
- allow_unsandboxed_commands: z.ZodOptional<z.ZodBoolean>;
608
- excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
609
- }, z.core.$strip>>;
610
771
  }, z.core.$strip>>;
611
772
  }, z.core.$strip>>;
612
773
  runtime: z.ZodOptional<z.ZodObject<{
@@ -617,138 +778,23 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
617
778
  }, z.core.$strip>>;
618
779
  }, z.core.$strip>>;
619
780
  permission_mode: z.ZodOptional<z.ZodNever>;
781
+ schemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
620
782
  personas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
621
783
  policies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
622
784
  knowledge: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
623
785
  instructions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
624
786
  report_formats: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
625
- movements: z.ZodArray<z.ZodObject<{
787
+ steps: z.ZodArray<z.ZodObject<{
626
788
  name: z.ZodString;
627
789
  description: z.ZodOptional<z.ZodString>;
628
- session: z.ZodOptional<z.ZodEnum<{
629
- continue: "continue";
630
- refresh: "refresh";
790
+ kind: z.ZodOptional<z.ZodEnum<{
791
+ agent: "agent";
792
+ system: "system";
793
+ workflow_call: "workflow_call";
631
794
  }>>;
632
- persona: z.ZodOptional<z.ZodString>;
633
- persona_name: z.ZodOptional<z.ZodString>;
634
- policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
635
- knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
636
- allowed_tools: z.ZodOptional<z.ZodNever>;
637
- mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
638
- type: z.ZodOptional<z.ZodLiteral<"stdio">>;
639
- command: z.ZodString;
640
- args: z.ZodOptional<z.ZodArray<z.ZodString>>;
641
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
642
- }, z.core.$strip>, z.ZodObject<{
643
- type: z.ZodLiteral<"sse">;
644
- url: z.ZodString;
645
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
646
- }, z.core.$strip>, z.ZodObject<{
647
- type: z.ZodLiteral<"http">;
648
- url: z.ZodString;
649
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
650
- }, z.core.$strip>]>>>;
651
- provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
652
- claude: "claude";
653
- "claude-sdk": "claude-sdk";
654
- codex: "codex";
655
- opencode: "opencode";
656
- cursor: "cursor";
657
- copilot: "copilot";
658
- mock: "mock";
659
- }>, z.ZodObject<{
660
- type: z.ZodEnum<{
661
- claude: "claude";
662
- "claude-sdk": "claude-sdk";
663
- codex: "codex";
664
- opencode: "opencode";
665
- cursor: "cursor";
666
- copilot: "copilot";
667
- mock: "mock";
668
- }>;
669
- model: z.ZodOptional<z.ZodString>;
670
- network_access: z.ZodOptional<z.ZodBoolean>;
671
- sandbox: z.ZodOptional<z.ZodObject<{
672
- allow_unsandboxed_commands: z.ZodOptional<z.ZodBoolean>;
673
- excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
674
- }, z.core.$strip>>;
675
- }, z.core.$strict>]>>;
676
- model: z.ZodOptional<z.ZodString>;
677
- permission_mode: z.ZodOptional<z.ZodNever>;
678
- required_permission_mode: z.ZodOptional<z.ZodEnum<{
679
- readonly: "readonly";
680
- edit: "edit";
681
- full: "full";
682
- }>>;
683
- provider_options: z.ZodOptional<z.ZodObject<{
684
- codex: z.ZodOptional<z.ZodObject<{
685
- network_access: z.ZodOptional<z.ZodBoolean>;
686
- reasoning_effort: z.ZodOptional<z.ZodEnum<{
687
- minimal: "minimal";
688
- low: "low";
689
- medium: "medium";
690
- high: "high";
691
- xhigh: "xhigh";
692
- }>>;
693
- }, z.core.$strip>>;
694
- opencode: z.ZodOptional<z.ZodObject<{
695
- network_access: z.ZodOptional<z.ZodBoolean>;
696
- }, z.core.$strip>>;
697
- claude: z.ZodOptional<z.ZodObject<{
698
- allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
699
- effort: z.ZodOptional<z.ZodEnum<{
700
- low: "low";
701
- medium: "medium";
702
- high: "high";
703
- max: "max";
704
- }>>;
705
- sandbox: z.ZodOptional<z.ZodObject<{
706
- allow_unsandboxed_commands: z.ZodOptional<z.ZodBoolean>;
707
- excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
708
- }, z.core.$strip>>;
709
- }, z.core.$strip>>;
710
- }, z.core.$strip>>;
711
- edit: z.ZodOptional<z.ZodBoolean>;
712
- instruction: z.ZodOptional<z.ZodString>;
713
- instruction_template: z.ZodOptional<z.ZodNever>;
714
- rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
715
- condition: z.ZodString;
716
- next: z.ZodOptional<z.ZodString>;
717
- appendix: z.ZodOptional<z.ZodString>;
718
- requires_user_input: z.ZodOptional<z.ZodBoolean>;
719
- interactive_only: z.ZodOptional<z.ZodBoolean>;
720
- }, z.core.$strip>>>;
721
- output_contracts: z.ZodOptional<z.ZodObject<{
722
- report: z.ZodOptional<z.ZodArray<z.ZodObject<{
723
- name: z.ZodString;
724
- format: z.ZodString;
725
- use_judge: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
726
- order: z.ZodOptional<z.ZodString>;
727
- }, z.core.$strip>>>;
728
- }, z.core.$strip>>;
729
- quality_gates: z.ZodOptional<z.ZodArray<z.ZodString>>;
730
- pass_previous_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
731
- parallel: z.ZodOptional<z.ZodArray<z.ZodObject<{
732
- name: z.ZodString;
733
- persona: z.ZodOptional<z.ZodString>;
734
- persona_name: z.ZodOptional<z.ZodString>;
735
- policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
736
- knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
737
- allowed_tools: z.ZodOptional<z.ZodNever>;
738
- mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
739
- type: z.ZodOptional<z.ZodLiteral<"stdio">>;
740
- command: z.ZodString;
741
- args: z.ZodOptional<z.ZodArray<z.ZodString>>;
742
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
743
- }, z.core.$strip>, z.ZodObject<{
744
- type: z.ZodLiteral<"sse">;
745
- url: z.ZodString;
746
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
747
- }, z.core.$strip>, z.ZodObject<{
748
- type: z.ZodLiteral<"http">;
749
- url: z.ZodString;
750
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
751
- }, z.core.$strip>]>>>;
795
+ mode: z.ZodOptional<z.ZodLiteral<"system">>;
796
+ call: z.ZodOptional<z.ZodString>;
797
+ overrides: z.ZodOptional<z.ZodObject<{
752
798
  provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
753
799
  claude: "claude";
754
800
  "claude-sdk": "claude-sdk";
@@ -775,12 +821,6 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
775
821
  }, z.core.$strip>>;
776
822
  }, z.core.$strict>]>>;
777
823
  model: z.ZodOptional<z.ZodString>;
778
- permission_mode: z.ZodOptional<z.ZodNever>;
779
- required_permission_mode: z.ZodOptional<z.ZodEnum<{
780
- readonly: "readonly";
781
- edit: "edit";
782
- full: "full";
783
- }>>;
784
824
  provider_options: z.ZodOptional<z.ZodObject<{
785
825
  codex: z.ZodOptional<z.ZodObject<{
786
826
  network_access: z.ZodOptional<z.ZodBoolean>;
@@ -801,6 +841,7 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
801
841
  low: "low";
802
842
  medium: "medium";
803
843
  high: "high";
844
+ xhigh: "xhigh";
804
845
  max: "max";
805
846
  }>>;
806
847
  sandbox: z.ZodOptional<z.ZodObject<{
@@ -808,74 +849,29 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
808
849
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
809
850
  }, z.core.$strip>>;
810
851
  }, z.core.$strip>>;
852
+ copilot: z.ZodOptional<z.ZodObject<{
853
+ effort: z.ZodOptional<z.ZodEnum<{
854
+ low: "low";
855
+ medium: "medium";
856
+ high: "high";
857
+ xhigh: "xhigh";
858
+ }>>;
859
+ }, z.core.$strip>>;
811
860
  }, z.core.$strip>>;
812
- edit: z.ZodOptional<z.ZodBoolean>;
813
- instruction: z.ZodOptional<z.ZodString>;
814
- instruction_template: z.ZodOptional<z.ZodNever>;
815
- rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
816
- condition: z.ZodString;
817
- next: z.ZodOptional<z.ZodString>;
818
- appendix: z.ZodOptional<z.ZodString>;
819
- requires_user_input: z.ZodOptional<z.ZodBoolean>;
820
- interactive_only: z.ZodOptional<z.ZodBoolean>;
821
- }, z.core.$strip>>>;
822
- output_contracts: z.ZodOptional<z.ZodObject<{
823
- report: z.ZodOptional<z.ZodArray<z.ZodObject<{
824
- name: z.ZodString;
825
- format: z.ZodString;
826
- use_judge: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
827
- order: z.ZodOptional<z.ZodString>;
828
- }, z.core.$strip>>>;
829
- }, z.core.$strip>>;
830
- quality_gates: z.ZodOptional<z.ZodArray<z.ZodString>>;
831
- pass_previous_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
832
- }, z.core.$strip>>>;
833
- concurrency: z.ZodOptional<z.ZodNumber>;
834
- arpeggio: z.ZodOptional<z.ZodObject<{
835
- source: z.ZodString;
836
- source_path: z.ZodString;
837
- batch_size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
838
- concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
839
- template: z.ZodString;
840
- merge: z.ZodOptional<z.ZodObject<{
841
- strategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
842
- custom: "custom";
843
- concat: "concat";
844
- }>>>;
845
- inline_js: z.ZodOptional<z.ZodString>;
846
- file: z.ZodOptional<z.ZodString>;
847
- separator: z.ZodOptional<z.ZodString>;
848
- }, z.core.$strip>>;
849
- max_retries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
850
- retry_delay_ms: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
851
- output_path: z.ZodOptional<z.ZodString>;
852
- }, z.core.$strip>>;
853
- team_leader: z.ZodOptional<z.ZodObject<{
854
- persona: z.ZodOptional<z.ZodString>;
855
- max_parts: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
856
- refill_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
857
- timeout_ms: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
858
- part_persona: z.ZodOptional<z.ZodString>;
859
- part_allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
860
- part_edit: z.ZodOptional<z.ZodBoolean>;
861
- part_permission_mode: z.ZodOptional<z.ZodEnum<{
862
- readonly: "readonly";
863
- edit: "edit";
864
- full: "full";
865
- }>>;
866
- }, z.core.$strip>>;
867
- }, z.core.$strip>>;
868
- steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
869
- name: z.ZodString;
870
- description: z.ZodOptional<z.ZodString>;
861
+ }, z.core.$strict>>;
862
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
871
863
  session: z.ZodOptional<z.ZodEnum<{
872
864
  continue: "continue";
873
865
  refresh: "refresh";
874
866
  }>>;
875
867
  persona: z.ZodOptional<z.ZodString>;
876
868
  persona_name: z.ZodOptional<z.ZodString>;
877
- policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
878
- knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
869
+ policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
870
+ $param: z.ZodString;
871
+ }, z.core.$strict>]>>;
872
+ knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
873
+ $param: z.ZodString;
874
+ }, z.core.$strict>]>>;
879
875
  allowed_tools: z.ZodOptional<z.ZodNever>;
880
876
  mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
881
877
  type: z.ZodOptional<z.ZodLiteral<"stdio">>;
@@ -943,6 +939,7 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
943
939
  low: "low";
944
940
  medium: "medium";
945
941
  high: "high";
942
+ xhigh: "xhigh";
946
943
  max: "max";
947
944
  }>>;
948
945
  sandbox: z.ZodOptional<z.ZodObject<{
@@ -950,13 +947,83 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
950
947
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
951
948
  }, z.core.$strip>>;
952
949
  }, z.core.$strip>>;
950
+ copilot: z.ZodOptional<z.ZodObject<{
951
+ effort: z.ZodOptional<z.ZodEnum<{
952
+ low: "low";
953
+ medium: "medium";
954
+ high: "high";
955
+ xhigh: "xhigh";
956
+ }>>;
957
+ }, z.core.$strip>>;
953
958
  }, z.core.$strip>>;
954
959
  edit: z.ZodOptional<z.ZodBoolean>;
955
- instruction: z.ZodOptional<z.ZodString>;
960
+ instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
961
+ $param: z.ZodString;
962
+ }, z.core.$strict>]>>;
956
963
  instruction_template: z.ZodOptional<z.ZodNever>;
964
+ delay_before_ms: z.ZodOptional<z.ZodNumber>;
965
+ structured_output: z.ZodOptional<z.ZodObject<{
966
+ schema_ref: z.ZodString;
967
+ }, z.core.$strip>>;
968
+ system_inputs: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
969
+ as: z.ZodString;
970
+ type: z.ZodLiteral<"task_context">;
971
+ source: z.ZodLiteral<"current_task">;
972
+ }, z.core.$strip>, z.ZodObject<{
973
+ as: z.ZodString;
974
+ type: z.ZodLiteral<"branch_context">;
975
+ source: z.ZodLiteral<"current_task">;
976
+ }, z.core.$strip>, z.ZodObject<{
977
+ as: z.ZodString;
978
+ type: z.ZodLiteral<"pr_context">;
979
+ source: z.ZodLiteral<"current_branch">;
980
+ }, z.core.$strip>, z.ZodObject<{
981
+ as: z.ZodString;
982
+ type: z.ZodLiteral<"issue_context">;
983
+ source: z.ZodLiteral<"current_task">;
984
+ }, z.core.$strip>, z.ZodObject<{
985
+ as: z.ZodString;
986
+ type: z.ZodLiteral<"task_queue_context">;
987
+ source: z.ZodLiteral<"current_project">;
988
+ }, z.core.$strip>], "type">>>;
989
+ effects: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
990
+ type: z.ZodLiteral<"enqueue_task">;
991
+ mode: z.ZodEnum<{
992
+ new: "new";
993
+ from_pr: "from_pr";
994
+ }>;
995
+ workflow: z.ZodString;
996
+ task: z.ZodString;
997
+ pr: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>>;
998
+ issue: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
999
+ create: z.ZodOptional<z.ZodBoolean>;
1000
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1001
+ }, z.core.$strict>, z.ZodUnion<readonly [z.ZodString, z.ZodString]>]>>;
1002
+ base_branch: z.ZodOptional<z.ZodString>;
1003
+ worktree: z.ZodOptional<z.ZodObject<{
1004
+ enabled: z.ZodOptional<z.ZodBoolean>;
1005
+ auto_pr: z.ZodOptional<z.ZodBoolean>;
1006
+ draft_pr: z.ZodOptional<z.ZodBoolean>;
1007
+ }, z.core.$strict>>;
1008
+ }, z.core.$strict>, z.ZodObject<{
1009
+ type: z.ZodLiteral<"comment_pr">;
1010
+ pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
1011
+ body: z.ZodString;
1012
+ }, z.core.$strict>, z.ZodObject<{
1013
+ type: z.ZodLiteral<"sync_with_root">;
1014
+ pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
1015
+ }, z.core.$strict>, z.ZodObject<{
1016
+ type: z.ZodLiteral<"resolve_conflicts_with_ai">;
1017
+ pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
1018
+ }, z.core.$strict>, z.ZodObject<{
1019
+ type: z.ZodLiteral<"merge_pr">;
1020
+ pr: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodNumber]>;
1021
+ }, z.core.$strict>], "type">>>;
957
1022
  rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
958
- condition: z.ZodString;
1023
+ condition: z.ZodOptional<z.ZodString>;
1024
+ when: z.ZodOptional<z.ZodString>;
959
1025
  next: z.ZodOptional<z.ZodString>;
1026
+ return: z.ZodOptional<z.ZodString>;
960
1027
  appendix: z.ZodOptional<z.ZodString>;
961
1028
  requires_user_input: z.ZodOptional<z.ZodBoolean>;
962
1029
  interactive_only: z.ZodOptional<z.ZodBoolean>;
@@ -964,19 +1031,25 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
964
1031
  output_contracts: z.ZodOptional<z.ZodObject<{
965
1032
  report: z.ZodOptional<z.ZodArray<z.ZodObject<{
966
1033
  name: z.ZodString;
967
- format: z.ZodString;
1034
+ format: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1035
+ $param: z.ZodString;
1036
+ }, z.core.$strict>]>;
968
1037
  use_judge: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
969
1038
  order: z.ZodOptional<z.ZodString>;
970
1039
  }, z.core.$strip>>>;
971
1040
  }, z.core.$strip>>;
972
1041
  quality_gates: z.ZodOptional<z.ZodArray<z.ZodString>>;
973
- pass_previous_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1042
+ pass_previous_response: z.ZodOptional<z.ZodBoolean>;
974
1043
  parallel: z.ZodOptional<z.ZodArray<z.ZodObject<{
975
1044
  name: z.ZodString;
976
1045
  persona: z.ZodOptional<z.ZodString>;
977
1046
  persona_name: z.ZodOptional<z.ZodString>;
978
- policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
979
- knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1047
+ policy: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
1048
+ $param: z.ZodString;
1049
+ }, z.core.$strict>]>>;
1050
+ knowledge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
1051
+ $param: z.ZodString;
1052
+ }, z.core.$strict>]>>;
980
1053
  allowed_tools: z.ZodOptional<z.ZodNever>;
981
1054
  mcp_servers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
982
1055
  type: z.ZodOptional<z.ZodLiteral<"stdio">>;
@@ -1044,6 +1117,7 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
1044
1117
  low: "low";
1045
1118
  medium: "medium";
1046
1119
  high: "high";
1120
+ xhigh: "xhigh";
1047
1121
  max: "max";
1048
1122
  }>>;
1049
1123
  sandbox: z.ZodOptional<z.ZodObject<{
@@ -1051,13 +1125,25 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
1051
1125
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
1052
1126
  }, z.core.$strip>>;
1053
1127
  }, z.core.$strip>>;
1128
+ copilot: z.ZodOptional<z.ZodObject<{
1129
+ effort: z.ZodOptional<z.ZodEnum<{
1130
+ low: "low";
1131
+ medium: "medium";
1132
+ high: "high";
1133
+ xhigh: "xhigh";
1134
+ }>>;
1135
+ }, z.core.$strip>>;
1054
1136
  }, z.core.$strip>>;
1055
1137
  edit: z.ZodOptional<z.ZodBoolean>;
1056
- instruction: z.ZodOptional<z.ZodString>;
1138
+ instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1139
+ $param: z.ZodString;
1140
+ }, z.core.$strict>]>>;
1057
1141
  instruction_template: z.ZodOptional<z.ZodNever>;
1058
1142
  rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
1059
- condition: z.ZodString;
1143
+ condition: z.ZodOptional<z.ZodString>;
1144
+ when: z.ZodOptional<z.ZodString>;
1060
1145
  next: z.ZodOptional<z.ZodString>;
1146
+ return: z.ZodOptional<z.ZodString>;
1061
1147
  appendix: z.ZodOptional<z.ZodString>;
1062
1148
  requires_user_input: z.ZodOptional<z.ZodBoolean>;
1063
1149
  interactive_only: z.ZodOptional<z.ZodBoolean>;
@@ -1065,13 +1151,15 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
1065
1151
  output_contracts: z.ZodOptional<z.ZodObject<{
1066
1152
  report: z.ZodOptional<z.ZodArray<z.ZodObject<{
1067
1153
  name: z.ZodString;
1068
- format: z.ZodString;
1154
+ format: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1155
+ $param: z.ZodString;
1156
+ }, z.core.$strict>]>;
1069
1157
  use_judge: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1070
1158
  order: z.ZodOptional<z.ZodString>;
1071
1159
  }, z.core.$strip>>>;
1072
1160
  }, z.core.$strip>>;
1073
1161
  quality_gates: z.ZodOptional<z.ZodArray<z.ZodString>>;
1074
- pass_previous_response: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1162
+ pass_previous_response: z.ZodOptional<z.ZodBoolean>;
1075
1163
  }, z.core.$strip>>>;
1076
1164
  concurrency: z.ZodOptional<z.ZodNumber>;
1077
1165
  arpeggio: z.ZodOptional<z.ZodObject<{
@@ -1107,11 +1195,9 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
1107
1195
  full: "full";
1108
1196
  }>>;
1109
1197
  }, z.core.$strip>>;
1110
- }, z.core.$strip>>>;
1111
- initial_movement: z.ZodOptional<z.ZodString>;
1198
+ }, z.core.$strip>>;
1112
1199
  initial_step: z.ZodOptional<z.ZodString>;
1113
- max_steps: z.ZodOptional<z.ZodNumber>;
1114
- max_movements: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1200
+ max_steps: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1115
1201
  loop_monitors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1116
1202
  cycle: z.ZodArray<z.ZodString>;
1117
1203
  threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -1157,683 +1243,5 @@ export declare const PieceConfigRawSchema: z.ZodPipe<z.ZodTransform<unknown, unk
1157
1243
  quiet: "quiet";
1158
1244
  passthrough: "passthrough";
1159
1245
  }>>;
1160
- }, z.core.$strip>, z.ZodTransform<{
1161
- name: string;
1162
- movements: {
1163
- name: string;
1164
- pass_previous_response: boolean;
1165
- description?: string | undefined;
1166
- session?: "continue" | "refresh" | undefined;
1167
- persona?: string | undefined;
1168
- persona_name?: string | undefined;
1169
- policy?: string | string[] | undefined;
1170
- knowledge?: string | string[] | undefined;
1171
- allowed_tools?: undefined;
1172
- mcp_servers?: Record<string, {
1173
- command: string;
1174
- type?: "stdio" | undefined;
1175
- args?: string[] | undefined;
1176
- env?: Record<string, string> | undefined;
1177
- } | {
1178
- type: "sse";
1179
- url: string;
1180
- headers?: Record<string, string> | undefined;
1181
- } | {
1182
- type: "http";
1183
- url: string;
1184
- headers?: Record<string, string> | undefined;
1185
- }> | undefined;
1186
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1187
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1188
- model?: string | undefined;
1189
- network_access?: boolean | undefined;
1190
- sandbox?: {
1191
- allow_unsandboxed_commands?: boolean | undefined;
1192
- excluded_commands?: string[] | undefined;
1193
- } | undefined;
1194
- } | undefined;
1195
- model?: string | undefined;
1196
- permission_mode?: undefined;
1197
- required_permission_mode?: "readonly" | "edit" | "full" | undefined;
1198
- provider_options?: {
1199
- codex?: {
1200
- network_access?: boolean | undefined;
1201
- reasoning_effort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1202
- } | undefined;
1203
- opencode?: {
1204
- network_access?: boolean | undefined;
1205
- } | undefined;
1206
- claude?: {
1207
- allowed_tools?: string[] | undefined;
1208
- effort?: "low" | "medium" | "high" | "max" | undefined;
1209
- sandbox?: {
1210
- allow_unsandboxed_commands?: boolean | undefined;
1211
- excluded_commands?: string[] | undefined;
1212
- } | undefined;
1213
- } | undefined;
1214
- } | undefined;
1215
- edit?: boolean | undefined;
1216
- instruction?: string | undefined;
1217
- instruction_template?: undefined;
1218
- rules?: {
1219
- condition: string;
1220
- next?: string | undefined;
1221
- appendix?: string | undefined;
1222
- requires_user_input?: boolean | undefined;
1223
- interactive_only?: boolean | undefined;
1224
- }[] | undefined;
1225
- output_contracts?: {
1226
- report?: {
1227
- name: string;
1228
- format: string;
1229
- use_judge: boolean;
1230
- order?: string | undefined;
1231
- }[] | undefined;
1232
- } | undefined;
1233
- quality_gates?: string[] | undefined;
1234
- parallel?: {
1235
- name: string;
1236
- pass_previous_response: boolean;
1237
- persona?: string | undefined;
1238
- persona_name?: string | undefined;
1239
- policy?: string | string[] | undefined;
1240
- knowledge?: string | string[] | undefined;
1241
- allowed_tools?: undefined;
1242
- mcp_servers?: Record<string, {
1243
- command: string;
1244
- type?: "stdio" | undefined;
1245
- args?: string[] | undefined;
1246
- env?: Record<string, string> | undefined;
1247
- } | {
1248
- type: "sse";
1249
- url: string;
1250
- headers?: Record<string, string> | undefined;
1251
- } | {
1252
- type: "http";
1253
- url: string;
1254
- headers?: Record<string, string> | undefined;
1255
- }> | undefined;
1256
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1257
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1258
- model?: string | undefined;
1259
- network_access?: boolean | undefined;
1260
- sandbox?: {
1261
- allow_unsandboxed_commands?: boolean | undefined;
1262
- excluded_commands?: string[] | undefined;
1263
- } | undefined;
1264
- } | undefined;
1265
- model?: string | undefined;
1266
- permission_mode?: undefined;
1267
- required_permission_mode?: "readonly" | "edit" | "full" | undefined;
1268
- provider_options?: {
1269
- codex?: {
1270
- network_access?: boolean | undefined;
1271
- reasoning_effort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1272
- } | undefined;
1273
- opencode?: {
1274
- network_access?: boolean | undefined;
1275
- } | undefined;
1276
- claude?: {
1277
- allowed_tools?: string[] | undefined;
1278
- effort?: "low" | "medium" | "high" | "max" | undefined;
1279
- sandbox?: {
1280
- allow_unsandboxed_commands?: boolean | undefined;
1281
- excluded_commands?: string[] | undefined;
1282
- } | undefined;
1283
- } | undefined;
1284
- } | undefined;
1285
- edit?: boolean | undefined;
1286
- instruction?: string | undefined;
1287
- instruction_template?: undefined;
1288
- rules?: {
1289
- condition: string;
1290
- next?: string | undefined;
1291
- appendix?: string | undefined;
1292
- requires_user_input?: boolean | undefined;
1293
- interactive_only?: boolean | undefined;
1294
- }[] | undefined;
1295
- output_contracts?: {
1296
- report?: {
1297
- name: string;
1298
- format: string;
1299
- use_judge: boolean;
1300
- order?: string | undefined;
1301
- }[] | undefined;
1302
- } | undefined;
1303
- quality_gates?: string[] | undefined;
1304
- }[] | undefined;
1305
- concurrency?: number | undefined;
1306
- arpeggio?: {
1307
- source: string;
1308
- source_path: string;
1309
- batch_size: number;
1310
- concurrency: number;
1311
- template: string;
1312
- max_retries: number;
1313
- retry_delay_ms: number;
1314
- merge?: {
1315
- strategy: "custom" | "concat";
1316
- inline_js?: string | undefined;
1317
- file?: string | undefined;
1318
- separator?: string | undefined;
1319
- } | undefined;
1320
- output_path?: string | undefined;
1321
- } | undefined;
1322
- team_leader?: {
1323
- max_parts: number;
1324
- refill_threshold: number;
1325
- timeout_ms: number;
1326
- persona?: string | undefined;
1327
- part_persona?: string | undefined;
1328
- part_allowed_tools?: string[] | undefined;
1329
- part_edit?: boolean | undefined;
1330
- part_permission_mode?: "readonly" | "edit" | "full" | undefined;
1331
- } | undefined;
1332
- }[];
1333
- max_movements: number;
1334
- description?: string | undefined;
1335
- piece_config?: {
1336
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1337
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1338
- model?: string | undefined;
1339
- network_access?: boolean | undefined;
1340
- sandbox?: {
1341
- allow_unsandboxed_commands?: boolean | undefined;
1342
- excluded_commands?: string[] | undefined;
1343
- } | undefined;
1344
- } | undefined;
1345
- provider_options?: {
1346
- codex?: {
1347
- network_access?: boolean | undefined;
1348
- reasoning_effort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1349
- } | undefined;
1350
- opencode?: {
1351
- network_access?: boolean | undefined;
1352
- } | undefined;
1353
- claude?: {
1354
- allowed_tools?: string[] | undefined;
1355
- effort?: "low" | "medium" | "high" | "max" | undefined;
1356
- sandbox?: {
1357
- allow_unsandboxed_commands?: boolean | undefined;
1358
- excluded_commands?: string[] | undefined;
1359
- } | undefined;
1360
- } | undefined;
1361
- } | undefined;
1362
- runtime?: {
1363
- prepare?: string[] | undefined;
1364
- } | undefined;
1365
- } | undefined;
1366
- permission_mode?: undefined;
1367
- personas?: Record<string, string> | undefined;
1368
- policies?: Record<string, string> | undefined;
1369
- knowledge?: Record<string, string> | undefined;
1370
- instructions?: Record<string, string> | undefined;
1371
- report_formats?: Record<string, string> | undefined;
1372
- initial_movement?: string | undefined;
1373
- loop_monitors?: {
1374
- cycle: string[];
1375
- threshold: number;
1376
- judge: {
1377
- rules: {
1378
- condition: string;
1379
- next: string;
1380
- }[];
1381
- persona?: string | undefined;
1382
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1383
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1384
- model?: string | undefined;
1385
- network_access?: boolean | undefined;
1386
- sandbox?: {
1387
- allow_unsandboxed_commands?: boolean | undefined;
1388
- excluded_commands?: string[] | undefined;
1389
- } | undefined;
1390
- } | undefined;
1391
- model?: string | undefined;
1392
- instruction?: string | undefined;
1393
- instruction_template?: undefined;
1394
- };
1395
- }[] | undefined;
1396
- interactive_mode?: "assistant" | "persona" | "quiet" | "passthrough" | undefined;
1397
- }, {
1398
- name: string;
1399
- movements: {
1400
- name: string;
1401
- pass_previous_response: boolean;
1402
- description?: string | undefined;
1403
- session?: "continue" | "refresh" | undefined;
1404
- persona?: string | undefined;
1405
- persona_name?: string | undefined;
1406
- policy?: string | string[] | undefined;
1407
- knowledge?: string | string[] | undefined;
1408
- allowed_tools?: undefined;
1409
- mcp_servers?: Record<string, {
1410
- command: string;
1411
- type?: "stdio" | undefined;
1412
- args?: string[] | undefined;
1413
- env?: Record<string, string> | undefined;
1414
- } | {
1415
- type: "sse";
1416
- url: string;
1417
- headers?: Record<string, string> | undefined;
1418
- } | {
1419
- type: "http";
1420
- url: string;
1421
- headers?: Record<string, string> | undefined;
1422
- }> | undefined;
1423
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1424
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1425
- model?: string | undefined;
1426
- network_access?: boolean | undefined;
1427
- sandbox?: {
1428
- allow_unsandboxed_commands?: boolean | undefined;
1429
- excluded_commands?: string[] | undefined;
1430
- } | undefined;
1431
- } | undefined;
1432
- model?: string | undefined;
1433
- permission_mode?: undefined;
1434
- required_permission_mode?: "readonly" | "edit" | "full" | undefined;
1435
- provider_options?: {
1436
- codex?: {
1437
- network_access?: boolean | undefined;
1438
- reasoning_effort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1439
- } | undefined;
1440
- opencode?: {
1441
- network_access?: boolean | undefined;
1442
- } | undefined;
1443
- claude?: {
1444
- allowed_tools?: string[] | undefined;
1445
- effort?: "low" | "medium" | "high" | "max" | undefined;
1446
- sandbox?: {
1447
- allow_unsandboxed_commands?: boolean | undefined;
1448
- excluded_commands?: string[] | undefined;
1449
- } | undefined;
1450
- } | undefined;
1451
- } | undefined;
1452
- edit?: boolean | undefined;
1453
- instruction?: string | undefined;
1454
- instruction_template?: undefined;
1455
- rules?: {
1456
- condition: string;
1457
- next?: string | undefined;
1458
- appendix?: string | undefined;
1459
- requires_user_input?: boolean | undefined;
1460
- interactive_only?: boolean | undefined;
1461
- }[] | undefined;
1462
- output_contracts?: {
1463
- report?: {
1464
- name: string;
1465
- format: string;
1466
- use_judge: boolean;
1467
- order?: string | undefined;
1468
- }[] | undefined;
1469
- } | undefined;
1470
- quality_gates?: string[] | undefined;
1471
- parallel?: {
1472
- name: string;
1473
- pass_previous_response: boolean;
1474
- persona?: string | undefined;
1475
- persona_name?: string | undefined;
1476
- policy?: string | string[] | undefined;
1477
- knowledge?: string | string[] | undefined;
1478
- allowed_tools?: undefined;
1479
- mcp_servers?: Record<string, {
1480
- command: string;
1481
- type?: "stdio" | undefined;
1482
- args?: string[] | undefined;
1483
- env?: Record<string, string> | undefined;
1484
- } | {
1485
- type: "sse";
1486
- url: string;
1487
- headers?: Record<string, string> | undefined;
1488
- } | {
1489
- type: "http";
1490
- url: string;
1491
- headers?: Record<string, string> | undefined;
1492
- }> | undefined;
1493
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1494
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1495
- model?: string | undefined;
1496
- network_access?: boolean | undefined;
1497
- sandbox?: {
1498
- allow_unsandboxed_commands?: boolean | undefined;
1499
- excluded_commands?: string[] | undefined;
1500
- } | undefined;
1501
- } | undefined;
1502
- model?: string | undefined;
1503
- permission_mode?: undefined;
1504
- required_permission_mode?: "readonly" | "edit" | "full" | undefined;
1505
- provider_options?: {
1506
- codex?: {
1507
- network_access?: boolean | undefined;
1508
- reasoning_effort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1509
- } | undefined;
1510
- opencode?: {
1511
- network_access?: boolean | undefined;
1512
- } | undefined;
1513
- claude?: {
1514
- allowed_tools?: string[] | undefined;
1515
- effort?: "low" | "medium" | "high" | "max" | undefined;
1516
- sandbox?: {
1517
- allow_unsandboxed_commands?: boolean | undefined;
1518
- excluded_commands?: string[] | undefined;
1519
- } | undefined;
1520
- } | undefined;
1521
- } | undefined;
1522
- edit?: boolean | undefined;
1523
- instruction?: string | undefined;
1524
- instruction_template?: undefined;
1525
- rules?: {
1526
- condition: string;
1527
- next?: string | undefined;
1528
- appendix?: string | undefined;
1529
- requires_user_input?: boolean | undefined;
1530
- interactive_only?: boolean | undefined;
1531
- }[] | undefined;
1532
- output_contracts?: {
1533
- report?: {
1534
- name: string;
1535
- format: string;
1536
- use_judge: boolean;
1537
- order?: string | undefined;
1538
- }[] | undefined;
1539
- } | undefined;
1540
- quality_gates?: string[] | undefined;
1541
- }[] | undefined;
1542
- concurrency?: number | undefined;
1543
- arpeggio?: {
1544
- source: string;
1545
- source_path: string;
1546
- batch_size: number;
1547
- concurrency: number;
1548
- template: string;
1549
- max_retries: number;
1550
- retry_delay_ms: number;
1551
- merge?: {
1552
- strategy: "custom" | "concat";
1553
- inline_js?: string | undefined;
1554
- file?: string | undefined;
1555
- separator?: string | undefined;
1556
- } | undefined;
1557
- output_path?: string | undefined;
1558
- } | undefined;
1559
- team_leader?: {
1560
- max_parts: number;
1561
- refill_threshold: number;
1562
- timeout_ms: number;
1563
- persona?: string | undefined;
1564
- part_persona?: string | undefined;
1565
- part_allowed_tools?: string[] | undefined;
1566
- part_edit?: boolean | undefined;
1567
- part_permission_mode?: "readonly" | "edit" | "full" | undefined;
1568
- } | undefined;
1569
- }[];
1570
- max_movements: number;
1571
- description?: string | undefined;
1572
- piece_config?: {
1573
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1574
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1575
- model?: string | undefined;
1576
- network_access?: boolean | undefined;
1577
- sandbox?: {
1578
- allow_unsandboxed_commands?: boolean | undefined;
1579
- excluded_commands?: string[] | undefined;
1580
- } | undefined;
1581
- } | undefined;
1582
- provider_options?: {
1583
- codex?: {
1584
- network_access?: boolean | undefined;
1585
- reasoning_effort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1586
- } | undefined;
1587
- opencode?: {
1588
- network_access?: boolean | undefined;
1589
- } | undefined;
1590
- claude?: {
1591
- allowed_tools?: string[] | undefined;
1592
- effort?: "low" | "medium" | "high" | "max" | undefined;
1593
- sandbox?: {
1594
- allow_unsandboxed_commands?: boolean | undefined;
1595
- excluded_commands?: string[] | undefined;
1596
- } | undefined;
1597
- } | undefined;
1598
- } | undefined;
1599
- runtime?: {
1600
- prepare?: string[] | undefined;
1601
- } | undefined;
1602
- } | undefined;
1603
- workflow_config?: {
1604
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1605
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1606
- model?: string | undefined;
1607
- network_access?: boolean | undefined;
1608
- sandbox?: {
1609
- allow_unsandboxed_commands?: boolean | undefined;
1610
- excluded_commands?: string[] | undefined;
1611
- } | undefined;
1612
- } | undefined;
1613
- provider_options?: {
1614
- codex?: {
1615
- network_access?: boolean | undefined;
1616
- reasoning_effort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1617
- } | undefined;
1618
- opencode?: {
1619
- network_access?: boolean | undefined;
1620
- } | undefined;
1621
- claude?: {
1622
- allowed_tools?: string[] | undefined;
1623
- effort?: "low" | "medium" | "high" | "max" | undefined;
1624
- sandbox?: {
1625
- allow_unsandboxed_commands?: boolean | undefined;
1626
- excluded_commands?: string[] | undefined;
1627
- } | undefined;
1628
- } | undefined;
1629
- } | undefined;
1630
- runtime?: {
1631
- prepare?: string[] | undefined;
1632
- } | undefined;
1633
- } | undefined;
1634
- permission_mode?: undefined;
1635
- personas?: Record<string, string> | undefined;
1636
- policies?: Record<string, string> | undefined;
1637
- knowledge?: Record<string, string> | undefined;
1638
- instructions?: Record<string, string> | undefined;
1639
- report_formats?: Record<string, string> | undefined;
1640
- steps?: {
1641
- name: string;
1642
- pass_previous_response: boolean;
1643
- description?: string | undefined;
1644
- session?: "continue" | "refresh" | undefined;
1645
- persona?: string | undefined;
1646
- persona_name?: string | undefined;
1647
- policy?: string | string[] | undefined;
1648
- knowledge?: string | string[] | undefined;
1649
- allowed_tools?: undefined;
1650
- mcp_servers?: Record<string, {
1651
- command: string;
1652
- type?: "stdio" | undefined;
1653
- args?: string[] | undefined;
1654
- env?: Record<string, string> | undefined;
1655
- } | {
1656
- type: "sse";
1657
- url: string;
1658
- headers?: Record<string, string> | undefined;
1659
- } | {
1660
- type: "http";
1661
- url: string;
1662
- headers?: Record<string, string> | undefined;
1663
- }> | undefined;
1664
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1665
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1666
- model?: string | undefined;
1667
- network_access?: boolean | undefined;
1668
- sandbox?: {
1669
- allow_unsandboxed_commands?: boolean | undefined;
1670
- excluded_commands?: string[] | undefined;
1671
- } | undefined;
1672
- } | undefined;
1673
- model?: string | undefined;
1674
- permission_mode?: undefined;
1675
- required_permission_mode?: "readonly" | "edit" | "full" | undefined;
1676
- provider_options?: {
1677
- codex?: {
1678
- network_access?: boolean | undefined;
1679
- reasoning_effort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1680
- } | undefined;
1681
- opencode?: {
1682
- network_access?: boolean | undefined;
1683
- } | undefined;
1684
- claude?: {
1685
- allowed_tools?: string[] | undefined;
1686
- effort?: "low" | "medium" | "high" | "max" | undefined;
1687
- sandbox?: {
1688
- allow_unsandboxed_commands?: boolean | undefined;
1689
- excluded_commands?: string[] | undefined;
1690
- } | undefined;
1691
- } | undefined;
1692
- } | undefined;
1693
- edit?: boolean | undefined;
1694
- instruction?: string | undefined;
1695
- instruction_template?: undefined;
1696
- rules?: {
1697
- condition: string;
1698
- next?: string | undefined;
1699
- appendix?: string | undefined;
1700
- requires_user_input?: boolean | undefined;
1701
- interactive_only?: boolean | undefined;
1702
- }[] | undefined;
1703
- output_contracts?: {
1704
- report?: {
1705
- name: string;
1706
- format: string;
1707
- use_judge: boolean;
1708
- order?: string | undefined;
1709
- }[] | undefined;
1710
- } | undefined;
1711
- quality_gates?: string[] | undefined;
1712
- parallel?: {
1713
- name: string;
1714
- pass_previous_response: boolean;
1715
- persona?: string | undefined;
1716
- persona_name?: string | undefined;
1717
- policy?: string | string[] | undefined;
1718
- knowledge?: string | string[] | undefined;
1719
- allowed_tools?: undefined;
1720
- mcp_servers?: Record<string, {
1721
- command: string;
1722
- type?: "stdio" | undefined;
1723
- args?: string[] | undefined;
1724
- env?: Record<string, string> | undefined;
1725
- } | {
1726
- type: "sse";
1727
- url: string;
1728
- headers?: Record<string, string> | undefined;
1729
- } | {
1730
- type: "http";
1731
- url: string;
1732
- headers?: Record<string, string> | undefined;
1733
- }> | undefined;
1734
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1735
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1736
- model?: string | undefined;
1737
- network_access?: boolean | undefined;
1738
- sandbox?: {
1739
- allow_unsandboxed_commands?: boolean | undefined;
1740
- excluded_commands?: string[] | undefined;
1741
- } | undefined;
1742
- } | undefined;
1743
- model?: string | undefined;
1744
- permission_mode?: undefined;
1745
- required_permission_mode?: "readonly" | "edit" | "full" | undefined;
1746
- provider_options?: {
1747
- codex?: {
1748
- network_access?: boolean | undefined;
1749
- reasoning_effort?: "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
1750
- } | undefined;
1751
- opencode?: {
1752
- network_access?: boolean | undefined;
1753
- } | undefined;
1754
- claude?: {
1755
- allowed_tools?: string[] | undefined;
1756
- effort?: "low" | "medium" | "high" | "max" | undefined;
1757
- sandbox?: {
1758
- allow_unsandboxed_commands?: boolean | undefined;
1759
- excluded_commands?: string[] | undefined;
1760
- } | undefined;
1761
- } | undefined;
1762
- } | undefined;
1763
- edit?: boolean | undefined;
1764
- instruction?: string | undefined;
1765
- instruction_template?: undefined;
1766
- rules?: {
1767
- condition: string;
1768
- next?: string | undefined;
1769
- appendix?: string | undefined;
1770
- requires_user_input?: boolean | undefined;
1771
- interactive_only?: boolean | undefined;
1772
- }[] | undefined;
1773
- output_contracts?: {
1774
- report?: {
1775
- name: string;
1776
- format: string;
1777
- use_judge: boolean;
1778
- order?: string | undefined;
1779
- }[] | undefined;
1780
- } | undefined;
1781
- quality_gates?: string[] | undefined;
1782
- }[] | undefined;
1783
- concurrency?: number | undefined;
1784
- arpeggio?: {
1785
- source: string;
1786
- source_path: string;
1787
- batch_size: number;
1788
- concurrency: number;
1789
- template: string;
1790
- max_retries: number;
1791
- retry_delay_ms: number;
1792
- merge?: {
1793
- strategy: "custom" | "concat";
1794
- inline_js?: string | undefined;
1795
- file?: string | undefined;
1796
- separator?: string | undefined;
1797
- } | undefined;
1798
- output_path?: string | undefined;
1799
- } | undefined;
1800
- team_leader?: {
1801
- max_parts: number;
1802
- refill_threshold: number;
1803
- timeout_ms: number;
1804
- persona?: string | undefined;
1805
- part_persona?: string | undefined;
1806
- part_allowed_tools?: string[] | undefined;
1807
- part_edit?: boolean | undefined;
1808
- part_permission_mode?: "readonly" | "edit" | "full" | undefined;
1809
- } | undefined;
1810
- }[] | undefined;
1811
- initial_movement?: string | undefined;
1812
- initial_step?: string | undefined;
1813
- max_steps?: number | undefined;
1814
- loop_monitors?: {
1815
- cycle: string[];
1816
- threshold: number;
1817
- judge: {
1818
- rules: {
1819
- condition: string;
1820
- next: string;
1821
- }[];
1822
- persona?: string | undefined;
1823
- provider?: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock" | {
1824
- type: "claude" | "claude-sdk" | "codex" | "opencode" | "cursor" | "copilot" | "mock";
1825
- model?: string | undefined;
1826
- network_access?: boolean | undefined;
1827
- sandbox?: {
1828
- allow_unsandboxed_commands?: boolean | undefined;
1829
- excluded_commands?: string[] | undefined;
1830
- } | undefined;
1831
- } | undefined;
1832
- model?: string | undefined;
1833
- instruction?: string | undefined;
1834
- instruction_template?: undefined;
1835
- };
1836
- }[] | undefined;
1837
- interactive_mode?: "assistant" | "persona" | "quiet" | "passthrough" | undefined;
1838
- }>>>;
1246
+ }, z.core.$strict>;
1839
1247
  //# sourceMappingURL=workflow-schemas.d.ts.map