takt 0.48.0 → 0.49.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 (340) hide show
  1. package/README.md +13 -0
  2. package/builtins/en/facets/instructions/exec-loop-monitor.md +15 -0
  3. package/builtins/en/facets/instructions/exec-replan.md +5 -0
  4. package/builtins/en/facets/instructions/exec-review.md +10 -0
  5. package/builtins/en/facets/instructions/exec-worker.md +5 -0
  6. package/builtins/en/facets/knowledge/takt.md +16 -0
  7. package/builtins/en/facets/output-contracts/exec-review-result.md +13 -0
  8. package/builtins/en/facets/personas/exec-assistant.md +3 -0
  9. package/builtins/en/facets/personas/exec-worker.md +3 -0
  10. package/builtins/en/facets/policies/existing-system-respect.md +13 -0
  11. package/builtins/en/facets/policies/review.md +2 -0
  12. package/builtins/en/facets/policies/testing.md +13 -0
  13. package/builtins/en/workflows/draft.yaml +1 -1
  14. package/builtins/en/workflows/peer-review-with-fc.yaml +1 -1
  15. package/builtins/en/workflows/peer-review.yaml +1 -1
  16. package/builtins/exec/presets/backend.yaml +31 -0
  17. package/builtins/exec/presets/dual.yaml +34 -0
  18. package/builtins/exec/presets/frontend.yaml +31 -0
  19. package/builtins/exec/presets/research.yaml +45 -0
  20. package/builtins/ja/facets/instructions/exec-loop-monitor.md +15 -0
  21. package/builtins/ja/facets/instructions/exec-replan.md +5 -0
  22. package/builtins/ja/facets/instructions/exec-review.md +10 -0
  23. package/builtins/ja/facets/instructions/exec-worker.md +5 -0
  24. package/builtins/ja/facets/knowledge/takt.md +16 -0
  25. package/builtins/ja/facets/output-contracts/exec-review-result.md +13 -0
  26. package/builtins/ja/facets/personas/exec-assistant.md +3 -0
  27. package/builtins/ja/facets/personas/exec-worker.md +3 -0
  28. package/builtins/ja/facets/policies/existing-system-respect.md +13 -0
  29. package/builtins/ja/facets/policies/review.md +3 -0
  30. package/builtins/ja/facets/policies/testing.md +13 -0
  31. package/builtins/ja/workflows/draft.yaml +1 -1
  32. package/builtins/ja/workflows/peer-review-with-fc.yaml +1 -1
  33. package/builtins/ja/workflows/peer-review.yaml +1 -1
  34. package/builtins/skill/SKILL.md +1 -1
  35. package/builtins/skill/references/engine.md +1 -15
  36. package/builtins/skill-codex/SKILL.md +1 -1
  37. package/builtins/skill-codex/references/engine.md +0 -2
  38. package/dist/agents/decompose-task-usecase.d.ts +0 -1
  39. package/dist/agents/decompose-task-usecase.d.ts.map +1 -1
  40. package/dist/agents/decompose-task-usecase.js +0 -4
  41. package/dist/agents/decompose-task-usecase.js.map +1 -1
  42. package/dist/agents/runner.d.ts.map +1 -1
  43. package/dist/agents/runner.js +7 -6
  44. package/dist/agents/runner.js.map +1 -1
  45. package/dist/agents/structured-caller/prompt-based-structured-caller.d.ts.map +1 -1
  46. package/dist/agents/structured-caller/prompt-based-structured-caller.js +0 -3
  47. package/dist/agents/structured-caller/prompt-based-structured-caller.js.map +1 -1
  48. package/dist/agents/structured-caller/shared.d.ts.map +1 -1
  49. package/dist/agents/structured-caller/shared.js +2 -9
  50. package/dist/agents/structured-caller/shared.js.map +1 -1
  51. package/dist/app/cli/commands.js +13 -0
  52. package/dist/app/cli/commands.js.map +1 -1
  53. package/dist/core/models/workflow-schemas.d.ts +204 -16
  54. package/dist/core/models/workflow-schemas.d.ts.map +1 -1
  55. package/dist/core/models/workflow-schemas.js +37 -3
  56. package/dist/core/models/workflow-schemas.js.map +1 -1
  57. package/dist/core/models/workflow-types.d.ts +8 -0
  58. package/dist/core/models/workflow-types.d.ts.map +1 -1
  59. package/dist/core/workflow/engine/LoopMonitorJudgeRunner.d.ts +2 -2
  60. package/dist/core/workflow/engine/LoopMonitorJudgeRunner.d.ts.map +1 -1
  61. package/dist/core/workflow/engine/LoopMonitorJudgeRunner.js +8 -7
  62. package/dist/core/workflow/engine/LoopMonitorJudgeRunner.js.map +1 -1
  63. package/dist/core/workflow/engine/OptionsBuilder.d.ts +1 -0
  64. package/dist/core/workflow/engine/OptionsBuilder.d.ts.map +1 -1
  65. package/dist/core/workflow/engine/OptionsBuilder.js +23 -11
  66. package/dist/core/workflow/engine/OptionsBuilder.js.map +1 -1
  67. package/dist/core/workflow/engine/StepExecutor.d.ts.map +1 -1
  68. package/dist/core/workflow/engine/StepExecutor.js +4 -8
  69. package/dist/core/workflow/engine/StepExecutor.js.map +1 -1
  70. package/dist/core/workflow/engine/WorkflowEngineSetup.js +2 -2
  71. package/dist/core/workflow/engine/WorkflowEngineSetup.js.map +1 -1
  72. package/dist/core/workflow/engine/WorkflowRunLoop.d.ts.map +1 -1
  73. package/dist/core/workflow/engine/WorkflowRunLoop.js +31 -0
  74. package/dist/core/workflow/engine/WorkflowRunLoop.js.map +1 -1
  75. package/dist/core/workflow/engine/WorkflowValidator.d.ts.map +1 -1
  76. package/dist/core/workflow/engine/WorkflowValidator.js +17 -7
  77. package/dist/core/workflow/engine/WorkflowValidator.js.map +1 -1
  78. package/dist/core/workflow/engine/engine-provider-options.d.ts +1 -1
  79. package/dist/core/workflow/engine/engine-provider-options.d.ts.map +1 -1
  80. package/dist/core/workflow/engine/engine-provider-options.js +18 -6
  81. package/dist/core/workflow/engine/engine-provider-options.js.map +1 -1
  82. package/dist/core/workflow/findings/manager-runner.d.ts.map +1 -1
  83. package/dist/core/workflow/findings/manager-runner.js +9 -25
  84. package/dist/core/workflow/findings/manager-runner.js.map +1 -1
  85. package/dist/core/workflow/instruction/InstructionBuilder.js +1 -1
  86. package/dist/core/workflow/instruction/InstructionBuilder.js.map +1 -1
  87. package/dist/core/workflow/provider-model-compatibility.d.ts +0 -1
  88. package/dist/core/workflow/provider-model-compatibility.d.ts.map +1 -1
  89. package/dist/core/workflow/provider-model-compatibility.js +2 -2
  90. package/dist/core/workflow/provider-model-compatibility.js.map +1 -1
  91. package/dist/core/workflow/provider-resolution.d.ts +4 -6
  92. package/dist/core/workflow/provider-resolution.d.ts.map +1 -1
  93. package/dist/core/workflow/provider-resolution.js +19 -11
  94. package/dist/core/workflow/provider-resolution.js.map +1 -1
  95. package/dist/core/workflow/session-key.d.ts +4 -1
  96. package/dist/core/workflow/session-key.d.ts.map +1 -1
  97. package/dist/core/workflow/session-key.js +5 -2
  98. package/dist/core/workflow/session-key.js.map +1 -1
  99. package/dist/features/catalog/catalogFacets.d.ts +11 -1
  100. package/dist/features/catalog/catalogFacets.d.ts.map +1 -1
  101. package/dist/features/catalog/catalogFacets.js +36 -10
  102. package/dist/features/catalog/catalogFacets.js.map +1 -1
  103. package/dist/features/exec/assistantSession.d.ts +18 -0
  104. package/dist/features/exec/assistantSession.d.ts.map +1 -0
  105. package/dist/features/exec/assistantSession.js +51 -0
  106. package/dist/features/exec/assistantSession.js.map +1 -0
  107. package/dist/features/exec/command.d.ts +9 -0
  108. package/dist/features/exec/command.d.ts.map +1 -0
  109. package/dist/features/exec/command.js +143 -0
  110. package/dist/features/exec/command.js.map +1 -0
  111. package/dist/features/exec/commandAvailability.d.ts +4 -0
  112. package/dist/features/exec/commandAvailability.d.ts.map +1 -0
  113. package/dist/features/exec/commandAvailability.js +10 -0
  114. package/dist/features/exec/commandAvailability.js.map +1 -0
  115. package/dist/features/exec/configOps.d.ts +13 -0
  116. package/dist/features/exec/configOps.d.ts.map +1 -0
  117. package/dist/features/exec/configOps.js +129 -0
  118. package/dist/features/exec/configOps.js.map +1 -0
  119. package/dist/features/exec/configValidation.d.ts +15 -0
  120. package/dist/features/exec/configValidation.d.ts.map +1 -0
  121. package/dist/features/exec/configValidation.js +150 -0
  122. package/dist/features/exec/configValidation.js.map +1 -0
  123. package/dist/features/exec/defaults.d.ts +3 -0
  124. package/dist/features/exec/defaults.d.ts.map +1 -0
  125. package/dist/features/exec/defaults.js +30 -0
  126. package/dist/features/exec/defaults.js.map +1 -0
  127. package/dist/features/exec/facetEditor.d.ts +5 -0
  128. package/dist/features/exec/facetEditor.d.ts.map +1 -0
  129. package/dist/features/exec/facetEditor.js +293 -0
  130. package/dist/features/exec/facetEditor.js.map +1 -0
  131. package/dist/features/exec/index.d.ts +2 -0
  132. package/dist/features/exec/index.d.ts.map +1 -0
  133. package/dist/features/exec/index.js +2 -0
  134. package/dist/features/exec/index.js.map +1 -0
  135. package/dist/features/exec/labels.d.ts +11 -0
  136. package/dist/features/exec/labels.d.ts.map +1 -0
  137. package/dist/features/exec/labels.js +20 -0
  138. package/dist/features/exec/labels.js.map +1 -0
  139. package/dist/features/exec/presetSelection.d.ts +3 -0
  140. package/dist/features/exec/presetSelection.d.ts.map +1 -0
  141. package/dist/features/exec/presetSelection.js +16 -0
  142. package/dist/features/exec/presetSelection.js.map +1 -0
  143. package/dist/features/exec/presetSetup.d.ts +7 -0
  144. package/dist/features/exec/presetSetup.d.ts.map +1 -0
  145. package/dist/features/exec/presetSetup.js +120 -0
  146. package/dist/features/exec/presetSetup.js.map +1 -0
  147. package/dist/features/exec/presetStore.d.ts +25 -0
  148. package/dist/features/exec/presetStore.d.ts.map +1 -0
  149. package/dist/features/exec/presetStore.js +326 -0
  150. package/dist/features/exec/presetStore.js.map +1 -0
  151. package/dist/features/exec/projectLocalFiles.d.ts +9 -0
  152. package/dist/features/exec/projectLocalFiles.d.ts.map +1 -0
  153. package/dist/features/exec/projectLocalFiles.js +111 -0
  154. package/dist/features/exec/projectLocalFiles.js.map +1 -0
  155. package/dist/features/exec/promptUtils.d.ts +8 -0
  156. package/dist/features/exec/promptUtils.d.ts.map +1 -0
  157. package/dist/features/exec/promptUtils.js +32 -0
  158. package/dist/features/exec/promptUtils.js.map +1 -0
  159. package/dist/features/exec/runtimeConfig.d.ts +13 -0
  160. package/dist/features/exec/runtimeConfig.d.ts.map +1 -0
  161. package/dist/features/exec/runtimeConfig.js +59 -0
  162. package/dist/features/exec/runtimeConfig.js.map +1 -0
  163. package/dist/features/exec/setupMenu.d.ts +5 -0
  164. package/dist/features/exec/setupMenu.d.ts.map +1 -0
  165. package/dist/features/exec/setupMenu.js +431 -0
  166. package/dist/features/exec/setupMenu.js.map +1 -0
  167. package/dist/features/exec/types.d.ts +52 -0
  168. package/dist/features/exec/types.d.ts.map +1 -0
  169. package/dist/features/exec/types.js +2 -0
  170. package/dist/features/exec/types.js.map +1 -0
  171. package/dist/features/exec/workflowRunner.d.ts +9 -0
  172. package/dist/features/exec/workflowRunner.d.ts.map +1 -0
  173. package/dist/features/exec/workflowRunner.js +96 -0
  174. package/dist/features/exec/workflowRunner.js.map +1 -0
  175. package/dist/features/exec/workflowTemplate.d.ts +9 -0
  176. package/dist/features/exec/workflowTemplate.d.ts.map +1 -0
  177. package/dist/features/exec/workflowTemplate.js +159 -0
  178. package/dist/features/exec/workflowTemplate.js.map +1 -0
  179. package/dist/features/interactive/aiCaller.d.ts +3 -0
  180. package/dist/features/interactive/aiCaller.d.ts.map +1 -1
  181. package/dist/features/interactive/aiCaller.js +4 -0
  182. package/dist/features/interactive/aiCaller.js.map +1 -1
  183. package/dist/features/interactive/commandMatcher.d.ts +2 -1
  184. package/dist/features/interactive/commandMatcher.d.ts.map +1 -1
  185. package/dist/features/interactive/commandMatcher.js +13 -2
  186. package/dist/features/interactive/commandMatcher.js.map +1 -1
  187. package/dist/features/interactive/interactive-summary.d.ts.map +1 -1
  188. package/dist/features/interactive/interactive-summary.js +45 -23
  189. package/dist/features/interactive/interactive-summary.js.map +1 -1
  190. package/dist/features/interactive/interactive.js +2 -2
  191. package/dist/features/interactive/interactive.js.map +1 -1
  192. package/dist/features/interactive/promptSections.d.ts.map +1 -1
  193. package/dist/features/interactive/promptSections.js +3 -6
  194. package/dist/features/interactive/promptSections.js.map +1 -1
  195. package/dist/features/interactive/retryMode.d.ts.map +1 -1
  196. package/dist/features/interactive/retryMode.js +3 -3
  197. package/dist/features/interactive/retryMode.js.map +1 -1
  198. package/dist/features/interactive/runSessionReader.d.ts +4 -37
  199. package/dist/features/interactive/runSessionReader.d.ts.map +1 -1
  200. package/dist/features/interactive/runSessionReader.js +130 -49
  201. package/dist/features/interactive/runSessionReader.js.map +1 -1
  202. package/dist/features/interactive/slashCommandRegistry.d.ts +2 -0
  203. package/dist/features/interactive/slashCommandRegistry.d.ts.map +1 -1
  204. package/dist/features/interactive/slashCommandRegistry.js +5 -0
  205. package/dist/features/interactive/slashCommandRegistry.js.map +1 -1
  206. package/dist/features/prompt/preview.d.ts.map +1 -1
  207. package/dist/features/prompt/preview.js +58 -32
  208. package/dist/features/prompt/preview.js.map +1 -1
  209. package/dist/features/tasks/execute/selectAndExecute.d.ts.map +1 -1
  210. package/dist/features/tasks/execute/selectAndExecute.js +6 -2
  211. package/dist/features/tasks/execute/selectAndExecute.js.map +1 -1
  212. package/dist/features/tasks/execute/taskWorkflowExecution.d.ts.map +1 -1
  213. package/dist/features/tasks/execute/taskWorkflowExecution.js +41 -1
  214. package/dist/features/tasks/execute/taskWorkflowExecution.js.map +1 -1
  215. package/dist/features/tasks/execute/types.d.ts +8 -0
  216. package/dist/features/tasks/execute/types.d.ts.map +1 -1
  217. package/dist/features/tasks/execute/workflowExecutionEvents.d.ts.map +1 -1
  218. package/dist/features/tasks/execute/workflowExecutionEvents.js +3 -1
  219. package/dist/features/tasks/execute/workflowExecutionEvents.js.map +1 -1
  220. package/dist/features/tasks/list/instructMode.d.ts.map +1 -1
  221. package/dist/features/tasks/list/instructMode.js +3 -3
  222. package/dist/features/tasks/list/instructMode.js.map +1 -1
  223. package/dist/features/tasks/resume/directInstructMode.d.ts.map +1 -1
  224. package/dist/features/tasks/resume/directInstructMode.js +3 -3
  225. package/dist/features/tasks/resume/directInstructMode.js.map +1 -1
  226. package/dist/infra/config/configNormalizers.d.ts.map +1 -1
  227. package/dist/infra/config/configNormalizers.js +11 -8
  228. package/dist/infra/config/configNormalizers.js.map +1 -1
  229. package/dist/infra/config/loaders/resource-resolver.d.ts +3 -33
  230. package/dist/infra/config/loaders/resource-resolver.d.ts.map +1 -1
  231. package/dist/infra/config/loaders/resource-resolver.js +119 -46
  232. package/dist/infra/config/loaders/resource-resolver.js.map +1 -1
  233. package/dist/infra/config/loaders/workflowCallableArgResolver.d.ts.map +1 -1
  234. package/dist/infra/config/loaders/workflowCallableArgResolver.js +15 -7
  235. package/dist/infra/config/loaders/workflowCallableArgResolver.js.map +1 -1
  236. package/dist/infra/config/loaders/workflowDoctor.d.ts.map +1 -1
  237. package/dist/infra/config/loaders/workflowDoctor.js +19 -7
  238. package/dist/infra/config/loaders/workflowDoctor.js.map +1 -1
  239. package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.d.ts +3 -1
  240. package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.d.ts.map +1 -1
  241. package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.js +3 -1
  242. package/dist/infra/config/loaders/workflowLoopMonitorNormalizer.js.map +1 -1
  243. package/dist/infra/config/loaders/workflowParser.d.ts.map +1 -1
  244. package/dist/infra/config/loaders/workflowParser.js +6 -8
  245. package/dist/infra/config/loaders/workflowParser.js.map +1 -1
  246. package/dist/infra/config/loaders/workflowPreview.d.ts +3 -0
  247. package/dist/infra/config/loaders/workflowPreview.d.ts.map +1 -1
  248. package/dist/infra/config/loaders/workflowPreview.js +17 -9
  249. package/dist/infra/config/loaders/workflowPreview.js.map +1 -1
  250. package/dist/infra/config/loaders/workflowStepNormalizer.d.ts +1 -1
  251. package/dist/infra/config/loaders/workflowStepNormalizer.d.ts.map +1 -1
  252. package/dist/infra/config/loaders/workflowStepNormalizer.js +18 -10
  253. package/dist/infra/config/loaders/workflowStepNormalizer.js.map +1 -1
  254. package/dist/infra/opencode/allowedTools.d.ts +1 -0
  255. package/dist/infra/opencode/allowedTools.d.ts.map +1 -1
  256. package/dist/infra/opencode/allowedTools.js +7 -0
  257. package/dist/infra/opencode/allowedTools.js.map +1 -1
  258. package/dist/infra/opencode/client.d.ts.map +1 -1
  259. package/dist/infra/opencode/client.js +47 -1
  260. package/dist/infra/opencode/client.js.map +1 -1
  261. package/dist/infra/opencode/types.d.ts +1 -0
  262. package/dist/infra/opencode/types.d.ts.map +1 -1
  263. package/dist/infra/opencode/types.js +10 -10
  264. package/dist/infra/opencode/types.js.map +1 -1
  265. package/dist/infra/providers/allowed-tool-edit-policy.d.ts +1 -0
  266. package/dist/infra/providers/allowed-tool-edit-policy.d.ts.map +1 -1
  267. package/dist/infra/providers/allowed-tool-edit-policy.js +35 -1
  268. package/dist/infra/providers/allowed-tool-edit-policy.js.map +1 -1
  269. package/dist/infra/providers/opencode.d.ts +2 -1
  270. package/dist/infra/providers/opencode.d.ts.map +1 -1
  271. package/dist/infra/providers/opencode.js +17 -7
  272. package/dist/infra/providers/opencode.js.map +1 -1
  273. package/dist/infra/providers/types.d.ts +1 -1
  274. package/dist/infra/providers/types.d.ts.map +1 -1
  275. package/dist/shared/constants.d.ts +1 -0
  276. package/dist/shared/constants.d.ts.map +1 -1
  277. package/dist/shared/constants.js +1 -0
  278. package/dist/shared/constants.js.map +1 -1
  279. package/dist/shared/i18n/labels_en.yaml +115 -0
  280. package/dist/shared/i18n/labels_ja.yaml +115 -0
  281. package/dist/shared/prompts/en/exec_assistant_clarify.md +14 -0
  282. package/dist/shared/prompts/en/exec_assistant_instruct.md +14 -0
  283. package/dist/shared/prompts/en/exec_assistant_summary.md +12 -0
  284. package/dist/shared/prompts/en/exec_facet_create.md +8 -0
  285. package/dist/shared/prompts/en/exec_facet_edit.md +8 -0
  286. package/dist/shared/prompts/en/finding_manager_instruction.md +28 -0
  287. package/dist/shared/prompts/en/opencode_agent_prompt.md +52 -0
  288. package/dist/shared/prompts/en/opencode_report_agent_prompt.md +8 -0
  289. package/dist/shared/prompts/en/opencode_review_agent_prompt.md +35 -0
  290. package/dist/shared/prompts/en/perform_phase1_message.md +1 -4
  291. package/dist/shared/prompts/en/perform_phase2_message.md +1 -0
  292. package/dist/shared/prompts/en/perform_phase3_message.md +1 -0
  293. package/dist/shared/prompts/en/provider_runtime_system_prompt.md +1 -0
  294. package/dist/shared/prompts/en/score_slug_system_prompt.md +1 -0
  295. package/dist/shared/prompts/en/score_slug_user_prompt.md +1 -0
  296. package/dist/shared/prompts/en/score_summary_system_prompt.md +1 -0
  297. package/dist/shared/prompts/en/source_context_section_guidance.md +6 -0
  298. package/dist/shared/prompts/en/source_context_system_guard.md +8 -0
  299. package/dist/shared/prompts/en/structured_json_schema_instruction.md +12 -0
  300. package/dist/shared/prompts/en/structured_json_step_instruction.md +12 -0
  301. package/dist/shared/prompts/en/sync_conflict_resolver_message.md +1 -0
  302. package/dist/shared/prompts/en/sync_conflict_resolver_system_prompt.md +1 -0
  303. package/dist/shared/prompts/index.d.ts.map +1 -1
  304. package/dist/shared/prompts/index.js +3 -1
  305. package/dist/shared/prompts/index.js.map +1 -1
  306. package/dist/shared/prompts/ja/exec_assistant_clarify.md +14 -0
  307. package/dist/shared/prompts/ja/exec_assistant_instruct.md +14 -0
  308. package/dist/shared/prompts/ja/exec_assistant_summary.md +12 -0
  309. package/dist/shared/prompts/ja/exec_facet_create.md +8 -0
  310. package/dist/shared/prompts/ja/exec_facet_edit.md +8 -0
  311. package/dist/shared/prompts/ja/finding_manager_instruction.md +28 -0
  312. package/dist/shared/prompts/ja/opencode_agent_prompt.md +52 -0
  313. package/dist/shared/prompts/ja/opencode_report_agent_prompt.md +8 -0
  314. package/dist/shared/prompts/ja/opencode_review_agent_prompt.md +35 -0
  315. package/dist/shared/prompts/ja/perform_phase1_message.md +1 -4
  316. package/dist/shared/prompts/ja/perform_phase2_message.md +1 -0
  317. package/dist/shared/prompts/ja/perform_phase3_message.md +1 -0
  318. package/dist/shared/prompts/ja/provider_runtime_system_prompt.md +1 -0
  319. package/dist/shared/prompts/ja/score_slug_system_prompt.md +1 -0
  320. package/dist/shared/prompts/ja/score_slug_user_prompt.md +1 -0
  321. package/dist/shared/prompts/ja/score_summary_system_prompt.md +1 -0
  322. package/dist/shared/prompts/ja/source_context_section_guidance.md +6 -0
  323. package/dist/shared/prompts/ja/source_context_system_guard.md +8 -0
  324. package/dist/shared/prompts/ja/structured_json_schema_instruction.md +12 -0
  325. package/dist/shared/prompts/ja/structured_json_step_instruction.md +12 -0
  326. package/dist/shared/prompts/ja/sync_conflict_resolver_message.md +1 -0
  327. package/dist/shared/prompts/ja/sync_conflict_resolver_system_prompt.md +1 -0
  328. package/dist/shared/utils/pathBoundary.d.ts +6 -0
  329. package/dist/shared/utils/pathBoundary.d.ts.map +1 -1
  330. package/dist/shared/utils/pathBoundary.js +38 -1
  331. package/dist/shared/utils/pathBoundary.js.map +1 -1
  332. package/package.json +1 -1
  333. package/builtins/en/provider-options/review-web.yaml +0 -14
  334. package/builtins/ja/provider-options/review-web.yaml +0 -14
  335. package/dist/features/interactive/policyPrompt.d.ts +0 -2
  336. package/dist/features/interactive/policyPrompt.d.ts.map +0 -1
  337. package/dist/features/interactive/policyPrompt.js +0 -18
  338. package/dist/features/interactive/policyPrompt.js.map +0 -1
  339. package/dist/shared/prompts/en/score_interactive_policy.md +0 -83
  340. package/dist/shared/prompts/ja/score_interactive_policy.md +0 -83
@@ -67,6 +67,7 @@ export declare const TeamLeaderConfigRawSchema: z.ZodObject<{
67
67
  /** Sub-step schema for parallel execution */
68
68
  export declare const ParallelSubStepRawSchema: z.ZodObject<{
69
69
  name: z.ZodString;
70
+ session_key: z.ZodOptional<z.ZodString>;
70
71
  persona: z.ZodOptional<z.ZodString>;
71
72
  persona_name: z.ZodOptional<z.ZodString>;
72
73
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -121,7 +122,7 @@ export declare const ParallelSubStepRawSchema: z.ZodObject<{
121
122
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
122
123
  }, z.core.$strip>>;
123
124
  }, z.core.$strict>]>>;
124
- model: z.ZodOptional<z.ZodString>;
125
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
126
  promotion: z.ZodOptional<z.ZodNever>;
126
127
  permission_mode: z.ZodOptional<z.ZodNever>;
127
128
  required_permission_mode: z.ZodOptional<z.ZodEnum<{
@@ -183,6 +184,7 @@ export declare const ParallelSubStepRawSchema: z.ZodObject<{
183
184
  extends: z.ZodOptional<z.ZodString>;
184
185
  }, z.core.$strict>>;
185
186
  edit: z.ZodOptional<z.ZodBoolean>;
187
+ requires_user_input: z.ZodOptional<z.ZodNever>;
186
188
  instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
187
189
  $param: z.ZodString;
188
190
  }, z.core.$strict>]>>;
@@ -218,6 +220,7 @@ export declare const ParallelSubStepRawSchema: z.ZodObject<{
218
220
  export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
219
221
  name: z.ZodString;
220
222
  description: z.ZodOptional<z.ZodString>;
223
+ session_key: z.ZodOptional<z.ZodString>;
221
224
  kind: z.ZodOptional<z.ZodEnum<{
222
225
  agent: "agent";
223
226
  system: "system";
@@ -369,7 +372,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
369
372
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
370
373
  }, z.core.$strip>>;
371
374
  }, z.core.$strict>]>>;
372
- model: z.ZodOptional<z.ZodString>;
375
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
373
376
  promotion: z.ZodOptional<z.ZodArray<z.ZodObject<{
374
377
  at: z.ZodOptional<z.ZodNumber>;
375
378
  condition: z.ZodOptional<z.ZodString>;
@@ -517,6 +520,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
517
520
  extends: z.ZodOptional<z.ZodString>;
518
521
  }, z.core.$strict>>;
519
522
  edit: z.ZodOptional<z.ZodBoolean>;
523
+ requires_user_input: z.ZodOptional<z.ZodBoolean>;
520
524
  instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
521
525
  $param: z.ZodString;
522
526
  }, z.core.$strict>]>>;
@@ -655,6 +659,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
655
659
  pass_previous_response: z.ZodOptional<z.ZodBoolean>;
656
660
  parallel: z.ZodOptional<z.ZodArray<z.ZodObject<{
657
661
  name: z.ZodString;
662
+ session_key: z.ZodOptional<z.ZodString>;
658
663
  persona: z.ZodOptional<z.ZodString>;
659
664
  persona_name: z.ZodOptional<z.ZodString>;
660
665
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -709,7 +714,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
709
714
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
710
715
  }, z.core.$strip>>;
711
716
  }, z.core.$strict>]>>;
712
- model: z.ZodOptional<z.ZodString>;
717
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
713
718
  promotion: z.ZodOptional<z.ZodNever>;
714
719
  permission_mode: z.ZodOptional<z.ZodNever>;
715
720
  required_permission_mode: z.ZodOptional<z.ZodEnum<{
@@ -771,6 +776,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
771
776
  extends: z.ZodOptional<z.ZodString>;
772
777
  }, z.core.$strict>>;
773
778
  edit: z.ZodOptional<z.ZodBoolean>;
779
+ requires_user_input: z.ZodOptional<z.ZodNever>;
774
780
  instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
775
781
  $param: z.ZodString;
776
782
  }, z.core.$strict>]>>;
@@ -844,6 +850,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
844
850
  }, z.core.$strip>, z.ZodTransform<{
845
851
  name: string;
846
852
  description?: string | undefined;
853
+ session_key?: string | undefined;
847
854
  kind?: "agent" | "system" | "workflow_call" | undefined;
848
855
  mode?: "system" | undefined;
849
856
  call?: string | undefined;
@@ -929,7 +936,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
929
936
  excluded_commands?: string[] | undefined;
930
937
  } | undefined;
931
938
  } | undefined;
932
- model?: string | undefined;
939
+ model?: string | null | undefined;
933
940
  promotion?: {
934
941
  at?: number | undefined;
935
942
  condition?: string | undefined;
@@ -1015,6 +1022,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1015
1022
  extends?: string | undefined;
1016
1023
  } | undefined;
1017
1024
  edit?: boolean | undefined;
1025
+ requires_user_input?: boolean | undefined;
1018
1026
  instruction?: string | {
1019
1027
  $param: string;
1020
1028
  } | undefined;
@@ -1150,6 +1158,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1150
1158
  pass_previous_response?: boolean | undefined;
1151
1159
  parallel?: {
1152
1160
  name: string;
1161
+ session_key?: string | undefined;
1153
1162
  persona?: string | undefined;
1154
1163
  persona_name?: string | undefined;
1155
1164
  tags?: string[] | undefined;
@@ -1184,7 +1193,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1184
1193
  excluded_commands?: string[] | undefined;
1185
1194
  } | undefined;
1186
1195
  } | undefined;
1187
- model?: string | undefined;
1196
+ model?: string | null | undefined;
1188
1197
  promotion?: undefined;
1189
1198
  permission_mode?: undefined;
1190
1199
  required_permission_mode?: "readonly" | "edit" | "full" | undefined;
@@ -1223,6 +1232,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1223
1232
  extends?: string | undefined;
1224
1233
  } | undefined;
1225
1234
  edit?: boolean | undefined;
1235
+ requires_user_input?: undefined;
1226
1236
  instruction?: string | {
1227
1237
  $param: string;
1228
1238
  } | undefined;
@@ -1289,6 +1299,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1289
1299
  }, {
1290
1300
  name: string;
1291
1301
  description?: string | undefined;
1302
+ session_key?: string | undefined;
1292
1303
  kind?: "agent" | "system" | "workflow_call" | undefined;
1293
1304
  mode?: "system" | undefined;
1294
1305
  call?: string | undefined;
@@ -1374,7 +1385,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1374
1385
  excluded_commands?: string[] | undefined;
1375
1386
  } | undefined;
1376
1387
  } | undefined;
1377
- model?: string | undefined;
1388
+ model?: string | null | undefined;
1378
1389
  promotion?: {
1379
1390
  at?: number | undefined;
1380
1391
  condition?: string | undefined;
@@ -1460,6 +1471,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1460
1471
  extends?: string | undefined;
1461
1472
  } | undefined;
1462
1473
  edit?: boolean | undefined;
1474
+ requires_user_input?: boolean | undefined;
1463
1475
  instruction?: string | {
1464
1476
  $param: string;
1465
1477
  } | undefined;
@@ -1595,6 +1607,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1595
1607
  pass_previous_response?: boolean | undefined;
1596
1608
  parallel?: {
1597
1609
  name: string;
1610
+ session_key?: string | undefined;
1598
1611
  persona?: string | undefined;
1599
1612
  persona_name?: string | undefined;
1600
1613
  tags?: string[] | undefined;
@@ -1629,7 +1642,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1629
1642
  excluded_commands?: string[] | undefined;
1630
1643
  } | undefined;
1631
1644
  } | undefined;
1632
- model?: string | undefined;
1645
+ model?: string | null | undefined;
1633
1646
  promotion?: undefined;
1634
1647
  permission_mode?: undefined;
1635
1648
  required_permission_mode?: "readonly" | "edit" | "full" | undefined;
@@ -1668,6 +1681,7 @@ export declare const WorkflowStepRawSchema: z.ZodPipe<z.ZodObject<{
1668
1681
  extends?: string | undefined;
1669
1682
  } | undefined;
1670
1683
  edit?: boolean | undefined;
1684
+ requires_user_input?: undefined;
1671
1685
  instruction?: string | {
1672
1686
  $param: string;
1673
1687
  } | undefined;
@@ -1739,6 +1753,7 @@ export declare const LoopMonitorRuleSchema: z.ZodObject<{
1739
1753
  }, z.core.$strip>;
1740
1754
  /** Loop monitor judge schema */
1741
1755
  export declare const LoopMonitorJudgeSchema: z.ZodObject<{
1756
+ session_key: z.ZodOptional<z.ZodString>;
1742
1757
  persona: z.ZodOptional<z.ZodString>;
1743
1758
  provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1744
1759
  claude: "claude";
@@ -1769,7 +1784,60 @@ export declare const LoopMonitorJudgeSchema: z.ZodObject<{
1769
1784
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
1770
1785
  }, z.core.$strip>>;
1771
1786
  }, z.core.$strict>]>>;
1772
- model: z.ZodOptional<z.ZodString>;
1787
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1788
+ provider_options: z.ZodOptional<z.ZodObject<{
1789
+ codex: z.ZodOptional<z.ZodObject<{
1790
+ base_url: z.ZodOptional<z.ZodString>;
1791
+ network_access: z.ZodOptional<z.ZodBoolean>;
1792
+ reasoning_effort: z.ZodOptional<z.ZodEnum<{
1793
+ minimal: "minimal";
1794
+ low: "low";
1795
+ medium: "medium";
1796
+ high: "high";
1797
+ xhigh: "xhigh";
1798
+ }>>;
1799
+ }, z.core.$strip>>;
1800
+ opencode: z.ZodOptional<z.ZodObject<{
1801
+ network_access: z.ZodOptional<z.ZodBoolean>;
1802
+ variant: z.ZodOptional<z.ZodString>;
1803
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1804
+ }, z.core.$strip>>;
1805
+ claude: z.ZodOptional<z.ZodObject<{
1806
+ base_url: z.ZodOptional<z.ZodString>;
1807
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1808
+ effort: z.ZodOptional<z.ZodEnum<{
1809
+ low: "low";
1810
+ medium: "medium";
1811
+ high: "high";
1812
+ xhigh: "xhigh";
1813
+ max: "max";
1814
+ }>>;
1815
+ sandbox: z.ZodOptional<z.ZodObject<{
1816
+ allow_unsandboxed_commands: z.ZodOptional<z.ZodBoolean>;
1817
+ excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
1818
+ }, z.core.$strip>>;
1819
+ }, z.core.$strip>>;
1820
+ claude_terminal: z.ZodOptional<z.ZodObject<{
1821
+ backend: z.ZodOptional<z.ZodEnum<{
1822
+ tmux: "tmux";
1823
+ }>>;
1824
+ timeout_ms: z.ZodOptional<z.ZodNumber>;
1825
+ keep_session: z.ZodOptional<z.ZodBoolean>;
1826
+ transcript_poll_interval_ms: z.ZodOptional<z.ZodNumber>;
1827
+ }, z.core.$strict>>;
1828
+ copilot: z.ZodOptional<z.ZodObject<{
1829
+ effort: z.ZodOptional<z.ZodEnum<{
1830
+ low: "low";
1831
+ medium: "medium";
1832
+ high: "high";
1833
+ xhigh: "xhigh";
1834
+ }>>;
1835
+ }, z.core.$strip>>;
1836
+ kiro: z.ZodOptional<z.ZodObject<{
1837
+ agent: z.ZodOptional<z.ZodString>;
1838
+ }, z.core.$strip>>;
1839
+ extends: z.ZodOptional<z.ZodString>;
1840
+ }, z.core.$strict>>;
1773
1841
  instruction: z.ZodOptional<z.ZodString>;
1774
1842
  instruction_template: z.ZodOptional<z.ZodNever>;
1775
1843
  rules: z.ZodArray<z.ZodObject<{
@@ -1782,6 +1850,7 @@ export declare const LoopMonitorSchema: z.ZodObject<{
1782
1850
  cycle: z.ZodArray<z.ZodString>;
1783
1851
  threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1784
1852
  judge: z.ZodObject<{
1853
+ session_key: z.ZodOptional<z.ZodString>;
1785
1854
  persona: z.ZodOptional<z.ZodString>;
1786
1855
  provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1787
1856
  claude: "claude";
@@ -1812,7 +1881,60 @@ export declare const LoopMonitorSchema: z.ZodObject<{
1812
1881
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
1813
1882
  }, z.core.$strip>>;
1814
1883
  }, z.core.$strict>]>>;
1815
- model: z.ZodOptional<z.ZodString>;
1884
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1885
+ provider_options: z.ZodOptional<z.ZodObject<{
1886
+ codex: z.ZodOptional<z.ZodObject<{
1887
+ base_url: z.ZodOptional<z.ZodString>;
1888
+ network_access: z.ZodOptional<z.ZodBoolean>;
1889
+ reasoning_effort: z.ZodOptional<z.ZodEnum<{
1890
+ minimal: "minimal";
1891
+ low: "low";
1892
+ medium: "medium";
1893
+ high: "high";
1894
+ xhigh: "xhigh";
1895
+ }>>;
1896
+ }, z.core.$strip>>;
1897
+ opencode: z.ZodOptional<z.ZodObject<{
1898
+ network_access: z.ZodOptional<z.ZodBoolean>;
1899
+ variant: z.ZodOptional<z.ZodString>;
1900
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1901
+ }, z.core.$strip>>;
1902
+ claude: z.ZodOptional<z.ZodObject<{
1903
+ base_url: z.ZodOptional<z.ZodString>;
1904
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1905
+ effort: z.ZodOptional<z.ZodEnum<{
1906
+ low: "low";
1907
+ medium: "medium";
1908
+ high: "high";
1909
+ xhigh: "xhigh";
1910
+ max: "max";
1911
+ }>>;
1912
+ sandbox: z.ZodOptional<z.ZodObject<{
1913
+ allow_unsandboxed_commands: z.ZodOptional<z.ZodBoolean>;
1914
+ excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
1915
+ }, z.core.$strip>>;
1916
+ }, z.core.$strip>>;
1917
+ claude_terminal: z.ZodOptional<z.ZodObject<{
1918
+ backend: z.ZodOptional<z.ZodEnum<{
1919
+ tmux: "tmux";
1920
+ }>>;
1921
+ timeout_ms: z.ZodOptional<z.ZodNumber>;
1922
+ keep_session: z.ZodOptional<z.ZodBoolean>;
1923
+ transcript_poll_interval_ms: z.ZodOptional<z.ZodNumber>;
1924
+ }, z.core.$strict>>;
1925
+ copilot: z.ZodOptional<z.ZodObject<{
1926
+ effort: z.ZodOptional<z.ZodEnum<{
1927
+ low: "low";
1928
+ medium: "medium";
1929
+ high: "high";
1930
+ xhigh: "xhigh";
1931
+ }>>;
1932
+ }, z.core.$strip>>;
1933
+ kiro: z.ZodOptional<z.ZodObject<{
1934
+ agent: z.ZodOptional<z.ZodString>;
1935
+ }, z.core.$strip>>;
1936
+ extends: z.ZodOptional<z.ZodString>;
1937
+ }, z.core.$strict>>;
1816
1938
  instruction: z.ZodOptional<z.ZodString>;
1817
1939
  instruction_template: z.ZodOptional<z.ZodNever>;
1818
1940
  rules: z.ZodArray<z.ZodObject<{
@@ -1978,6 +2100,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
1978
2100
  steps: z.ZodArray<z.ZodPipe<z.ZodObject<{
1979
2101
  name: z.ZodString;
1980
2102
  description: z.ZodOptional<z.ZodString>;
2103
+ session_key: z.ZodOptional<z.ZodString>;
1981
2104
  kind: z.ZodOptional<z.ZodEnum<{
1982
2105
  agent: "agent";
1983
2106
  system: "system";
@@ -2129,7 +2252,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2129
2252
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
2130
2253
  }, z.core.$strip>>;
2131
2254
  }, z.core.$strict>]>>;
2132
- model: z.ZodOptional<z.ZodString>;
2255
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2133
2256
  promotion: z.ZodOptional<z.ZodArray<z.ZodObject<{
2134
2257
  at: z.ZodOptional<z.ZodNumber>;
2135
2258
  condition: z.ZodOptional<z.ZodString>;
@@ -2277,6 +2400,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2277
2400
  extends: z.ZodOptional<z.ZodString>;
2278
2401
  }, z.core.$strict>>;
2279
2402
  edit: z.ZodOptional<z.ZodBoolean>;
2403
+ requires_user_input: z.ZodOptional<z.ZodBoolean>;
2280
2404
  instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2281
2405
  $param: z.ZodString;
2282
2406
  }, z.core.$strict>]>>;
@@ -2415,6 +2539,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2415
2539
  pass_previous_response: z.ZodOptional<z.ZodBoolean>;
2416
2540
  parallel: z.ZodOptional<z.ZodArray<z.ZodObject<{
2417
2541
  name: z.ZodString;
2542
+ session_key: z.ZodOptional<z.ZodString>;
2418
2543
  persona: z.ZodOptional<z.ZodString>;
2419
2544
  persona_name: z.ZodOptional<z.ZodString>;
2420
2545
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -2469,7 +2594,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2469
2594
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
2470
2595
  }, z.core.$strip>>;
2471
2596
  }, z.core.$strict>]>>;
2472
- model: z.ZodOptional<z.ZodString>;
2597
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2473
2598
  promotion: z.ZodOptional<z.ZodNever>;
2474
2599
  permission_mode: z.ZodOptional<z.ZodNever>;
2475
2600
  required_permission_mode: z.ZodOptional<z.ZodEnum<{
@@ -2531,6 +2656,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2531
2656
  extends: z.ZodOptional<z.ZodString>;
2532
2657
  }, z.core.$strict>>;
2533
2658
  edit: z.ZodOptional<z.ZodBoolean>;
2659
+ requires_user_input: z.ZodOptional<z.ZodNever>;
2534
2660
  instruction: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2535
2661
  $param: z.ZodString;
2536
2662
  }, z.core.$strict>]>>;
@@ -2604,6 +2730,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2604
2730
  }, z.core.$strip>, z.ZodTransform<{
2605
2731
  name: string;
2606
2732
  description?: string | undefined;
2733
+ session_key?: string | undefined;
2607
2734
  kind?: "agent" | "system" | "workflow_call" | undefined;
2608
2735
  mode?: "system" | undefined;
2609
2736
  call?: string | undefined;
@@ -2689,7 +2816,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2689
2816
  excluded_commands?: string[] | undefined;
2690
2817
  } | undefined;
2691
2818
  } | undefined;
2692
- model?: string | undefined;
2819
+ model?: string | null | undefined;
2693
2820
  promotion?: {
2694
2821
  at?: number | undefined;
2695
2822
  condition?: string | undefined;
@@ -2775,6 +2902,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2775
2902
  extends?: string | undefined;
2776
2903
  } | undefined;
2777
2904
  edit?: boolean | undefined;
2905
+ requires_user_input?: boolean | undefined;
2778
2906
  instruction?: string | {
2779
2907
  $param: string;
2780
2908
  } | undefined;
@@ -2910,6 +3038,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2910
3038
  pass_previous_response?: boolean | undefined;
2911
3039
  parallel?: {
2912
3040
  name: string;
3041
+ session_key?: string | undefined;
2913
3042
  persona?: string | undefined;
2914
3043
  persona_name?: string | undefined;
2915
3044
  tags?: string[] | undefined;
@@ -2944,7 +3073,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2944
3073
  excluded_commands?: string[] | undefined;
2945
3074
  } | undefined;
2946
3075
  } | undefined;
2947
- model?: string | undefined;
3076
+ model?: string | null | undefined;
2948
3077
  promotion?: undefined;
2949
3078
  permission_mode?: undefined;
2950
3079
  required_permission_mode?: "readonly" | "edit" | "full" | undefined;
@@ -2983,6 +3112,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
2983
3112
  extends?: string | undefined;
2984
3113
  } | undefined;
2985
3114
  edit?: boolean | undefined;
3115
+ requires_user_input?: undefined;
2986
3116
  instruction?: string | {
2987
3117
  $param: string;
2988
3118
  } | undefined;
@@ -3049,6 +3179,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
3049
3179
  }, {
3050
3180
  name: string;
3051
3181
  description?: string | undefined;
3182
+ session_key?: string | undefined;
3052
3183
  kind?: "agent" | "system" | "workflow_call" | undefined;
3053
3184
  mode?: "system" | undefined;
3054
3185
  call?: string | undefined;
@@ -3134,7 +3265,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
3134
3265
  excluded_commands?: string[] | undefined;
3135
3266
  } | undefined;
3136
3267
  } | undefined;
3137
- model?: string | undefined;
3268
+ model?: string | null | undefined;
3138
3269
  promotion?: {
3139
3270
  at?: number | undefined;
3140
3271
  condition?: string | undefined;
@@ -3220,6 +3351,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
3220
3351
  extends?: string | undefined;
3221
3352
  } | undefined;
3222
3353
  edit?: boolean | undefined;
3354
+ requires_user_input?: boolean | undefined;
3223
3355
  instruction?: string | {
3224
3356
  $param: string;
3225
3357
  } | undefined;
@@ -3355,6 +3487,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
3355
3487
  pass_previous_response?: boolean | undefined;
3356
3488
  parallel?: {
3357
3489
  name: string;
3490
+ session_key?: string | undefined;
3358
3491
  persona?: string | undefined;
3359
3492
  persona_name?: string | undefined;
3360
3493
  tags?: string[] | undefined;
@@ -3389,7 +3522,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
3389
3522
  excluded_commands?: string[] | undefined;
3390
3523
  } | undefined;
3391
3524
  } | undefined;
3392
- model?: string | undefined;
3525
+ model?: string | null | undefined;
3393
3526
  promotion?: undefined;
3394
3527
  permission_mode?: undefined;
3395
3528
  required_permission_mode?: "readonly" | "edit" | "full" | undefined;
@@ -3428,6 +3561,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
3428
3561
  extends?: string | undefined;
3429
3562
  } | undefined;
3430
3563
  edit?: boolean | undefined;
3564
+ requires_user_input?: undefined;
3431
3565
  instruction?: string | {
3432
3566
  $param: string;
3433
3567
  } | undefined;
@@ -3498,6 +3632,7 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
3498
3632
  cycle: z.ZodArray<z.ZodString>;
3499
3633
  threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3500
3634
  judge: z.ZodObject<{
3635
+ session_key: z.ZodOptional<z.ZodString>;
3501
3636
  persona: z.ZodOptional<z.ZodString>;
3502
3637
  provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3503
3638
  claude: "claude";
@@ -3528,7 +3663,60 @@ export declare const WorkflowConfigRawSchema: z.ZodObject<{
3528
3663
  excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
3529
3664
  }, z.core.$strip>>;
3530
3665
  }, z.core.$strict>]>>;
3531
- model: z.ZodOptional<z.ZodString>;
3666
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3667
+ provider_options: z.ZodOptional<z.ZodObject<{
3668
+ codex: z.ZodOptional<z.ZodObject<{
3669
+ base_url: z.ZodOptional<z.ZodString>;
3670
+ network_access: z.ZodOptional<z.ZodBoolean>;
3671
+ reasoning_effort: z.ZodOptional<z.ZodEnum<{
3672
+ minimal: "minimal";
3673
+ low: "low";
3674
+ medium: "medium";
3675
+ high: "high";
3676
+ xhigh: "xhigh";
3677
+ }>>;
3678
+ }, z.core.$strip>>;
3679
+ opencode: z.ZodOptional<z.ZodObject<{
3680
+ network_access: z.ZodOptional<z.ZodBoolean>;
3681
+ variant: z.ZodOptional<z.ZodString>;
3682
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
3683
+ }, z.core.$strip>>;
3684
+ claude: z.ZodOptional<z.ZodObject<{
3685
+ base_url: z.ZodOptional<z.ZodString>;
3686
+ allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
3687
+ effort: z.ZodOptional<z.ZodEnum<{
3688
+ low: "low";
3689
+ medium: "medium";
3690
+ high: "high";
3691
+ xhigh: "xhigh";
3692
+ max: "max";
3693
+ }>>;
3694
+ sandbox: z.ZodOptional<z.ZodObject<{
3695
+ allow_unsandboxed_commands: z.ZodOptional<z.ZodBoolean>;
3696
+ excluded_commands: z.ZodOptional<z.ZodArray<z.ZodString>>;
3697
+ }, z.core.$strip>>;
3698
+ }, z.core.$strip>>;
3699
+ claude_terminal: z.ZodOptional<z.ZodObject<{
3700
+ backend: z.ZodOptional<z.ZodEnum<{
3701
+ tmux: "tmux";
3702
+ }>>;
3703
+ timeout_ms: z.ZodOptional<z.ZodNumber>;
3704
+ keep_session: z.ZodOptional<z.ZodBoolean>;
3705
+ transcript_poll_interval_ms: z.ZodOptional<z.ZodNumber>;
3706
+ }, z.core.$strict>>;
3707
+ copilot: z.ZodOptional<z.ZodObject<{
3708
+ effort: z.ZodOptional<z.ZodEnum<{
3709
+ low: "low";
3710
+ medium: "medium";
3711
+ high: "high";
3712
+ xhigh: "xhigh";
3713
+ }>>;
3714
+ }, z.core.$strip>>;
3715
+ kiro: z.ZodOptional<z.ZodObject<{
3716
+ agent: z.ZodOptional<z.ZodString>;
3717
+ }, z.core.$strip>>;
3718
+ extends: z.ZodOptional<z.ZodString>;
3719
+ }, z.core.$strict>>;
3532
3720
  instruction: z.ZodOptional<z.ZodString>;
3533
3721
  instruction_template: z.ZodOptional<z.ZodNever>;
3534
3722
  rules: z.ZodArray<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-schemas.d.ts","sourceRoot":"","sources":["../../../src/core/models/workflow-schemas.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AA6B3B,eAAO,MAAM,+BAA+B;;kBAEjC,CAAC;AAkDZ,wDAAwD;AACxD,eAAO,MAAM,kBAAkB;;;;;;;;iBAc9B,CAAC;AA2CF,0CAA0C;AAC1C,eAAO,MAAM,sBAAsB;;;;;;;;iBAWlC,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;iBAUlC,CAAC;AAEH,sEAAsE;AACtE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;iBA+BpC,CAAC;AAEH,6CAA6C;AAC7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCnC,CAAC;AA6PH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmBzB,CAAC"}
@@ -156,6 +156,7 @@ export const TeamLeaderConfigRawSchema = z.object({
156
156
  /** Sub-step schema for parallel execution */
157
157
  export const ParallelSubStepRawSchema = z.object({
158
158
  name: z.string().min(1),
159
+ session_key: z.string().trim().min(1).optional(),
159
160
  persona: z.string().optional(),
160
161
  persona_name: z.string().optional(),
161
162
  tags: z.array(z.string().min(1)).optional(),
@@ -165,12 +166,13 @@ export const ParallelSubStepRawSchema = z.object({
165
166
  allowed_tools: z.never().optional(),
166
167
  mcp_servers: McpServersSchema,
167
168
  provider: ProviderReferenceSchema.optional(),
168
- model: z.string().optional(),
169
+ model: z.string().nullable().optional(),
169
170
  promotion: z.never().optional(),
170
171
  permission_mode: z.never().optional(),
171
172
  required_permission_mode: PermissionModeSchema.optional(),
172
173
  provider_options: WorkflowStepProviderOptionsSchema,
173
174
  edit: z.boolean().optional(),
175
+ requires_user_input: z.never().optional(),
174
176
  instruction: WorkflowFacetRefOrParamSchema.optional(),
175
177
  instruction_template: z.never().optional(),
176
178
  rules: z.array(WorkflowRuleSchema).optional(),
@@ -243,6 +245,7 @@ function createWorkflowStepRawSchema(options) {
243
245
  return z.object({
244
246
  name: z.string().min(1),
245
247
  description: z.string().optional(),
248
+ session_key: z.string().trim().min(1).optional(),
246
249
  kind: WorkflowStepKindSchema.optional(),
247
250
  mode: z.literal('system').optional(),
248
251
  call: z.string().min(1).optional(),
@@ -258,12 +261,13 @@ function createWorkflowStepRawSchema(options) {
258
261
  allowed_tools: z.never().optional(),
259
262
  mcp_servers: McpServersSchema,
260
263
  provider: ProviderReferenceSchema.optional(),
261
- model: z.string().optional(),
264
+ model: z.string().nullable().optional(),
262
265
  promotion: z.array(WorkflowPromotionRawSchema).optional(),
263
266
  permission_mode: z.never().optional(),
264
267
  required_permission_mode: PermissionModeSchema.optional(),
265
268
  provider_options: WorkflowStepProviderOptionsSchema,
266
269
  edit: z.boolean().optional(),
270
+ requires_user_input: z.boolean().optional(),
267
271
  instruction: WorkflowFacetRefOrParamSchema.optional(),
268
272
  instruction_template: z.never().optional(),
269
273
  delay_before_ms: z.number().int().min(0).optional(),
@@ -290,6 +294,34 @@ function createWorkflowStepRawSchema(options) {
290
294
  });
291
295
  }
292
296
  const stepKind = getWorkflowStepKind(data);
297
+ if (data.session_key !== undefined && stepKind !== 'agent') {
298
+ ctx.addIssue({
299
+ code: z.ZodIssueCode.custom,
300
+ path: ['session_key'],
301
+ message: 'session_key is only supported on agent steps, parallel sub-steps, and loop_monitors.judge',
302
+ });
303
+ }
304
+ if (data.session_key !== undefined && data.parallel !== undefined) {
305
+ ctx.addIssue({
306
+ code: z.ZodIssueCode.custom,
307
+ path: ['session_key'],
308
+ message: 'session_key is not supported on parallel parent steps; set it on each parallel sub-step',
309
+ });
310
+ }
311
+ if (data.requires_user_input !== undefined && stepKind !== 'agent') {
312
+ ctx.addIssue({
313
+ code: z.ZodIssueCode.custom,
314
+ path: ['requires_user_input'],
315
+ message: 'requires_user_input is only supported on agent steps',
316
+ });
317
+ }
318
+ if (data.requires_user_input !== undefined && data.parallel !== undefined) {
319
+ ctx.addIssue({
320
+ code: z.ZodIssueCode.custom,
321
+ path: ['requires_user_input'],
322
+ message: 'requires_user_input is not supported on parallel parent steps',
323
+ });
324
+ }
293
325
  if (data.call !== undefined && stepKind !== 'workflow_call') {
294
326
  ctx.addIssue({
295
327
  code: z.ZodIssueCode.custom,
@@ -422,9 +454,11 @@ export const LoopMonitorRuleSchema = z.object({
422
454
  });
423
455
  /** Loop monitor judge schema */
424
456
  export const LoopMonitorJudgeSchema = z.object({
457
+ session_key: z.string().trim().min(1).optional(),
425
458
  persona: z.string().optional(),
426
459
  provider: ProviderReferenceSchema.optional(),
427
- model: z.string().min(1).optional(),
460
+ model: z.string().min(1).nullable().optional(),
461
+ provider_options: WorkflowStepProviderOptionsSchema,
428
462
  instruction: z.string().optional(),
429
463
  instruction_template: z.never().optional(),
430
464
  rules: z.array(LoopMonitorRuleSchema).min(1),