@shipit-ai/cli 1.166.1 → 1.167.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 (577) hide show
  1. package/README.md +26 -5
  2. package/apis/json-schema/AgentConfig.yaml +3 -0
  3. package/apis/json-schema/AgentPermissionSettings.yaml +23 -0
  4. package/apis/json-schema/AgentType.yaml +0 -1
  5. package/apis/json-schema/ClaudeCodePermissionMode.yaml +9 -0
  6. package/apis/json-schema/CodexPermissionMode.yaml +8 -0
  7. package/apis/json-schema/CopilotPermissionMode.yaml +8 -0
  8. package/apis/json-schema/CursorPermissionMode.yaml +7 -0
  9. package/apis/json-schema/Feature.yaml +3 -0
  10. package/apis/json-schema/GeminiPermissionMode.yaml +8 -0
  11. package/apis/json-schema/RovoDevPermissionMode.yaml +8 -0
  12. package/dist/packages/core/src/application/ports/output/agents/agent-executor.interface.d.ts +8 -0
  13. package/dist/packages/core/src/application/ports/output/agents/agent-executor.interface.d.ts.map +1 -1
  14. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts +1 -0
  15. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -1
  16. package/dist/packages/core/src/application/ports/output/agents/interactive-agent-executor.interface.d.ts +3 -0
  17. package/dist/packages/core/src/application/ports/output/agents/interactive-agent-executor.interface.d.ts.map +1 -1
  18. package/dist/packages/core/src/application/ports/output/services/index.d.ts +1 -0
  19. package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
  20. package/dist/packages/core/src/application/ports/output/services/settings-reader.interface.d.ts +13 -0
  21. package/dist/packages/core/src/application/ports/output/services/settings-reader.interface.d.ts.map +1 -0
  22. package/dist/packages/core/src/application/ports/output/services/settings-reader.interface.js +1 -0
  23. package/dist/packages/core/src/application/use-cases/agents/configure-agent.use-case.d.ts.map +1 -1
  24. package/dist/packages/core/src/application/use-cases/agents/configure-agent.use-case.js +4 -6
  25. package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.d.ts.map +1 -1
  26. package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.js +1 -0
  27. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
  28. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +21 -2
  29. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +2 -0
  30. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
  31. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.d.ts.map +1 -1
  32. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +1 -0
  33. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.d.ts.map +1 -1
  34. package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.js +1 -0
  35. package/dist/packages/core/src/application/use-cases/settings/complete-onboarding.use-case.d.ts +2 -0
  36. package/dist/packages/core/src/application/use-cases/settings/complete-onboarding.use-case.d.ts.map +1 -1
  37. package/dist/packages/core/src/application/use-cases/settings/complete-onboarding.use-case.js +23 -0
  38. package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
  39. package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +9 -1
  40. package/dist/packages/core/src/domain/generated/output.d.ts +68 -2
  41. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  42. package/dist/packages/core/src/domain/generated/output.js +36 -1
  43. package/dist/packages/core/src/infrastructure/di/modules/agents.module.d.ts.map +1 -1
  44. package/dist/packages/core/src/infrastructure/di/modules/agents.module.js +4 -2
  45. package/dist/packages/core/src/infrastructure/di/modules/services.module.d.ts.map +1 -1
  46. package/dist/packages/core/src/infrastructure/di/modules/services.module.js +2 -0
  47. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +1 -0
  48. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -1
  49. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.js +4 -0
  50. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +6 -0
  51. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
  52. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +31 -0
  53. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-add-agent-permission-modes.d.ts +21 -0
  54. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-add-agent-permission-modes.d.ts.map +1 -0
  55. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-add-agent-permission-modes.js +35 -0
  56. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-feature-permission-mode.d.ts +14 -0
  57. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-feature-permission-mode.d.ts.map +1 -0
  58. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-feature-permission-mode.js +19 -0
  59. package/dist/packages/core/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts +3 -1
  60. package/dist/packages/core/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts.map +1 -1
  61. package/dist/packages/core/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.js +18 -7
  62. package/dist/packages/core/src/infrastructure/services/agents/common/agent-executor-factory.service.d.ts +1 -1
  63. package/dist/packages/core/src/infrastructure/services/agents/common/agent-executor-factory.service.d.ts.map +1 -1
  64. package/dist/packages/core/src/infrastructure/services/agents/common/agent-executor-factory.service.js +1 -6
  65. package/dist/packages/core/src/infrastructure/services/agents/common/agent-permissions.d.ts +21 -0
  66. package/dist/packages/core/src/infrastructure/services/agents/common/agent-permissions.d.ts.map +1 -0
  67. package/dist/packages/core/src/infrastructure/services/agents/common/agent-permissions.js +49 -0
  68. package/dist/packages/core/src/infrastructure/services/agents/common/agent-runner.service.d.ts +3 -1
  69. package/dist/packages/core/src/infrastructure/services/agents/common/agent-runner.service.d.ts.map +1 -1
  70. package/dist/packages/core/src/infrastructure/services/agents/common/agent-runner.service.js +4 -3
  71. package/dist/packages/core/src/infrastructure/services/agents/common/agent-validator.service.d.ts.map +1 -1
  72. package/dist/packages/core/src/infrastructure/services/agents/common/agent-validator.service.js +0 -3
  73. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts.map +1 -1
  74. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.js +11 -0
  75. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-interactive-executor.service.d.ts.map +1 -1
  76. package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-interactive-executor.service.js +1 -1
  77. package/dist/packages/core/src/infrastructure/services/agents/common/executors/codex-cli-executor.service.d.ts.map +1 -1
  78. package/dist/packages/core/src/infrastructure/services/agents/common/executors/codex-cli-executor.service.js +4 -1
  79. package/dist/packages/core/src/infrastructure/services/agents/common/executors/copilot-cli-executor.service.d.ts.map +1 -1
  80. package/dist/packages/core/src/infrastructure/services/agents/common/executors/copilot-cli-executor.service.js +11 -4
  81. package/dist/packages/core/src/infrastructure/services/agents/common/executors/cursor-executor.service.d.ts.map +1 -1
  82. package/dist/packages/core/src/infrastructure/services/agents/common/executors/cursor-executor.service.js +11 -1
  83. package/dist/packages/core/src/infrastructure/services/agents/common/executors/gemini-cli-executor.service.d.ts.map +1 -1
  84. package/dist/packages/core/src/infrastructure/services/agents/common/executors/gemini-cli-executor.service.js +2 -1
  85. package/dist/packages/core/src/infrastructure/services/agents/common/executors/rovo-dev-executor.service.d.ts.map +1 -1
  86. package/dist/packages/core/src/infrastructure/services/agents/common/executors/rovo-dev-executor.service.js +11 -4
  87. package/dist/packages/core/src/infrastructure/services/agents/common/structured-agent-caller.service.d.ts +3 -1
  88. package/dist/packages/core/src/infrastructure/services/agents/common/structured-agent-caller.service.d.ts.map +1 -1
  89. package/dist/packages/core/src/infrastructure/services/agents/common/structured-agent-caller.service.js +13 -6
  90. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts +3 -1
  91. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts.map +1 -1
  92. package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.js +12 -3
  93. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +5 -0
  94. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -1
  95. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +18 -1
  96. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
  97. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +1 -0
  98. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
  99. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +3 -0
  100. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +1 -0
  101. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
  102. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +8 -0
  103. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/evidence.node.d.ts +3 -1
  104. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/evidence.node.d.ts.map +1 -1
  105. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/evidence.node.js +3 -2
  106. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/ci-watch-fix-loop.d.ts +3 -0
  107. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/ci-watch-fix-loop.d.ts.map +1 -1
  108. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/ci-watch-fix-loop.js +1 -1
  109. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.d.ts +3 -0
  110. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.d.ts.map +1 -1
  111. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.js +2 -1
  112. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts +11 -3
  113. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
  114. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +20 -5
  115. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/repair.node.d.ts.map +1 -1
  116. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/repair.node.js +6 -0
  117. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts +1 -0
  118. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -1
  119. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.js +4 -0
  120. package/dist/packages/core/src/infrastructure/services/external/github-repository.service.d.ts.map +1 -1
  121. package/dist/packages/core/src/infrastructure/services/external/github-repository.service.js +14 -3
  122. package/dist/packages/core/src/infrastructure/services/settings-reader.service.d.ts +7 -0
  123. package/dist/packages/core/src/infrastructure/services/settings-reader.service.d.ts.map +1 -0
  124. package/dist/packages/core/src/infrastructure/services/settings-reader.service.js +25 -0
  125. package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
  126. package/dist/src/presentation/cli/commands/feat/new.command.js +18 -0
  127. package/dist/src/presentation/cli/commands/feat/show.command.d.ts.map +1 -1
  128. package/dist/src/presentation/cli/commands/feat/show.command.js +2 -1
  129. package/dist/src/presentation/cli/commands/settings/agent.command.js +2 -2
  130. package/dist/src/presentation/cli/commands/settings/index.d.ts.map +1 -1
  131. package/dist/src/presentation/cli/commands/settings/index.js +3 -1
  132. package/dist/src/presentation/cli/commands/settings/permission-modes.d.ts +19 -0
  133. package/dist/src/presentation/cli/commands/settings/permission-modes.d.ts.map +1 -0
  134. package/dist/src/presentation/cli/commands/settings/permission-modes.js +38 -0
  135. package/dist/src/presentation/cli/commands/settings/permissions.command.d.ts +16 -0
  136. package/dist/src/presentation/cli/commands/settings/permissions.command.d.ts.map +1 -0
  137. package/dist/src/presentation/cli/commands/settings/permissions.command.js +147 -0
  138. package/dist/src/presentation/tui/prompts/agent-select.prompt.d.ts +4 -10
  139. package/dist/src/presentation/tui/prompts/agent-select.prompt.d.ts.map +1 -1
  140. package/dist/src/presentation/tui/prompts/agent-select.prompt.js +8 -13
  141. package/dist/src/presentation/tui/wizards/onboarding/onboarding.wizard.d.ts +5 -3
  142. package/dist/src/presentation/tui/wizards/onboarding/onboarding.wizard.d.ts.map +1 -1
  143. package/dist/src/presentation/tui/wizards/onboarding/onboarding.wizard.js +10 -5
  144. package/dist/src/presentation/tui/wizards/onboarding/steps/agent-permissions.step.d.ts +17 -0
  145. package/dist/src/presentation/tui/wizards/onboarding/steps/agent-permissions.step.d.ts.map +1 -0
  146. package/dist/src/presentation/tui/wizards/onboarding/steps/agent-permissions.step.js +48 -0
  147. package/dist/src/presentation/tui/wizards/onboarding/types.d.ts +2 -0
  148. package/dist/src/presentation/tui/wizards/onboarding/types.d.ts.map +1 -1
  149. package/dist/src/presentation/web/app/actions/agent-permissions.d.ts +14 -0
  150. package/dist/src/presentation/web/app/actions/agent-permissions.d.ts.map +1 -0
  151. package/dist/src/presentation/web/app/actions/agent-permissions.js +181 -0
  152. package/dist/src/presentation/web/app/actions/check-agent-auth.d.ts.map +1 -1
  153. package/dist/src/presentation/web/app/actions/check-agent-auth.js +2 -5
  154. package/dist/src/presentation/web/app/actions/check-agent-tool.js +1 -1
  155. package/dist/src/presentation/web/app/actions/deploy-repository.d.ts.map +1 -1
  156. package/dist/src/presentation/web/app/actions/deploy-repository.js +14 -7
  157. package/dist/src/presentation/web/app/actions/get-all-agent-models.d.ts.map +1 -1
  158. package/dist/src/presentation/web/app/actions/get-all-agent-models.js +2 -17
  159. package/dist/src/presentation/web/app/actions/get-merge-review-data.d.ts.map +1 -1
  160. package/dist/src/presentation/web/app/actions/get-merge-review-data.js +67 -23
  161. package/dist/src/presentation/web/app/actions/open-folder.d.ts.map +1 -1
  162. package/dist/src/presentation/web/app/actions/open-folder.js +12 -4
  163. package/dist/src/presentation/web/app/actions/open-shell.d.ts.map +1 -1
  164. package/dist/src/presentation/web/app/actions/open-shell.js +47 -7
  165. package/dist/src/presentation/web/app/api/agent-events/route.d.ts.map +1 -1
  166. package/dist/src/presentation/web/app/api/agent-events/route.js +2 -6
  167. package/dist/src/presentation/web/app/api/attachments/upload-from-path/route.d.ts.map +1 -1
  168. package/dist/src/presentation/web/app/api/attachments/upload-from-path/route.js +21 -17
  169. package/dist/src/presentation/web/app/api/deployment-logs/route.d.ts.map +1 -1
  170. package/dist/src/presentation/web/app/api/deployment-logs/route.js +2 -6
  171. package/dist/src/presentation/web/app/api/directory/list/route.d.ts.map +1 -1
  172. package/dist/src/presentation/web/app/api/directory/list/route.js +39 -24
  173. package/dist/src/presentation/web/app/api/interactive/chat/[featureId]/stream/route.d.ts.map +1 -1
  174. package/dist/src/presentation/web/app/api/interactive/chat/[featureId]/stream/route.js +2 -6
  175. package/dist/src/presentation/web/app/api/interactive/sessions/[id]/stream/route.d.ts.map +1 -1
  176. package/dist/src/presentation/web/app/api/interactive/sessions/[id]/stream/route.js +2 -6
  177. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
  178. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +1 -1
  179. package/dist/src/presentation/web/components/common/feature-create-drawer/types.d.ts +2 -0
  180. package/dist/src/presentation/web/components/common/feature-create-drawer/types.d.ts.map +1 -1
  181. package/dist/src/presentation/web/components/common/feature-create-drawer/use-feature-create-form.d.ts +2 -0
  182. package/dist/src/presentation/web/components/common/feature-create-drawer/use-feature-create-form.d.ts.map +1 -1
  183. package/dist/src/presentation/web/components/common/feature-create-drawer/use-feature-create-form.js +6 -0
  184. package/dist/src/presentation/web/components/common/feature-create-drawer/workflow-options-section.d.ts +7 -1
  185. package/dist/src/presentation/web/components/common/feature-create-drawer/workflow-options-section.d.ts.map +1 -1
  186. package/dist/src/presentation/web/components/common/feature-create-drawer/workflow-options-section.js +24 -3
  187. package/dist/src/presentation/web/components/common/feature-create-drawer/workflow-options-section.stories.d.ts.map +1 -1
  188. package/dist/src/presentation/web/components/common/feature-create-drawer/workflow-options-section.stories.js +3 -0
  189. package/dist/src/presentation/web/components/common/feature-list-item/feature-list-item.stories.js +2 -2
  190. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.d.ts +2 -2
  191. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.d.ts.map +1 -1
  192. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.js +4 -11
  193. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.stories.d.ts +1 -1
  194. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.stories.d.ts.map +1 -1
  195. package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.stories.js +5 -6
  196. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +2 -0
  197. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
  198. package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
  199. package/dist/src/presentation/web/components/common/feature-node/feature-node.js +2 -2
  200. package/dist/src/presentation/web/components/common/feature-node/feature-node.stories.js +10 -10
  201. package/dist/src/presentation/web/components/features/control-center/control-center.stories.js +1 -1
  202. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.js +2 -2
  203. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/AgentModelPicker.stories.d.ts +1 -1
  204. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/AgentModelPicker.stories.d.ts.map +1 -1
  205. package/dist/src/presentation/web/components/features/settings/AgentModelPicker/AgentModelPicker.stories.js +3 -3
  206. package/dist/src/presentation/web/components/features/settings/agent-permission-picker.d.ts +8 -0
  207. package/dist/src/presentation/web/components/features/settings/agent-permission-picker.d.ts.map +1 -0
  208. package/dist/src/presentation/web/components/features/settings/agent-permission-picker.js +33 -0
  209. package/dist/src/presentation/web/components/features/settings/agent-permission-picker.stories.d.ts +15 -0
  210. package/dist/src/presentation/web/components/features/settings/agent-permission-picker.stories.d.ts.map +1 -0
  211. package/dist/src/presentation/web/components/features/settings/agent-permission-picker.stories.js +75 -0
  212. package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts.map +1 -1
  213. package/dist/src/presentation/web/components/features/settings/agent-settings-section.js +32 -4
  214. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts +1 -1
  215. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts.map +1 -1
  216. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.js +2 -2
  217. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +2 -2
  218. package/dist/src/presentation/web/lib/path-sanitizers.d.ts +50 -0
  219. package/dist/src/presentation/web/lib/path-sanitizers.d.ts.map +1 -0
  220. package/dist/src/presentation/web/lib/path-sanitizers.js +137 -0
  221. package/dist/translations/ar/cli.json +16 -0
  222. package/dist/translations/ar/tui.json +12 -10
  223. package/dist/translations/ar/web.json +15 -0
  224. package/dist/translations/de/cli.json +16 -0
  225. package/dist/translations/de/tui.json +13 -5
  226. package/dist/translations/de/web.json +15 -0
  227. package/dist/translations/en/cli.json +16 -0
  228. package/dist/translations/en/tui.json +12 -10
  229. package/dist/translations/en/web.json +15 -0
  230. package/dist/translations/es/cli.json +16 -0
  231. package/dist/translations/es/tui.json +12 -10
  232. package/dist/translations/es/web.json +15 -0
  233. package/dist/translations/fr/cli.json +16 -0
  234. package/dist/translations/fr/tui.json +12 -10
  235. package/dist/translations/fr/web.json +15 -0
  236. package/dist/translations/he/cli.json +16 -0
  237. package/dist/translations/he/tui.json +12 -10
  238. package/dist/translations/he/web.json +15 -0
  239. package/dist/translations/pt/cli.json +16 -0
  240. package/dist/translations/pt/tui.json +12 -10
  241. package/dist/translations/pt/web.json +15 -0
  242. package/dist/translations/ru/cli.json +16 -0
  243. package/dist/translations/ru/tui.json +12 -10
  244. package/dist/translations/ru/web.json +15 -0
  245. package/dist/tsconfig.build.tsbuildinfo +1 -1
  246. package/package.json +6 -6
  247. package/web/.next/BUILD_ID +1 -1
  248. package/web/.next/build-manifest.json +3 -3
  249. package/web/.next/fallback-build-manifest.json +3 -3
  250. package/web/.next/prerender-manifest.json +3 -3
  251. package/web/.next/required-server-files.js +2 -2
  252. package/web/.next/required-server-files.json +2 -2
  253. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
  254. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +3 -4
  255. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  256. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  257. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
  258. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +3 -4
  259. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  260. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  261. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +72 -60
  262. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +4 -4
  263. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  264. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  265. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +37 -37
  266. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +4 -4
  267. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  268. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  269. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +37 -37
  270. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +4 -4
  271. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  272. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  273. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  274. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +3 -4
  275. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  276. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  277. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  278. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +3 -4
  279. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  280. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  281. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
  282. package/web/.next/server/app/(dashboard)/chat/page.js +3 -4
  283. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  284. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  285. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +72 -60
  286. package/web/.next/server/app/(dashboard)/create/page.js +4 -4
  287. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  288. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  289. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +37 -37
  290. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +4 -4
  291. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  292. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  293. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +37 -37
  294. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +4 -4
  295. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  296. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  297. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
  298. package/web/.next/server/app/(dashboard)/page.js +3 -4
  299. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  300. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  301. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  302. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +3 -4
  303. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  304. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  305. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  306. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +3 -4
  307. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  308. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  309. package/web/.next/server/app/_global-error.html +1 -1
  310. package/web/.next/server/app/_global-error.rsc +1 -1
  311. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  312. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  313. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  314. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  315. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  316. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
  317. package/web/.next/server/app/_not-found/page.js +2 -3
  318. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  319. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  320. package/web/.next/server/app/api/agent-events/route.js +2 -1
  321. package/web/.next/server/app/api/agent-events/route.js.nft.json +1 -1
  322. package/web/.next/server/app/api/attachments/preview/route.js +1 -1
  323. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  324. package/web/.next/server/app/api/attachments/upload-from-path/route.js +1 -1
  325. package/web/.next/server/app/api/attachments/upload-from-path/route.js.nft.json +1 -1
  326. package/web/.next/server/app/api/deployment-logs/route.js +2 -1
  327. package/web/.next/server/app/api/deployment-logs/route.js.nft.json +1 -1
  328. package/web/.next/server/app/api/dialog/pick-files/route.js +1 -1
  329. package/web/.next/server/app/api/dialog/pick-files/route.js.nft.json +1 -1
  330. package/web/.next/server/app/api/directory/list/route.js +1 -1
  331. package/web/.next/server/app/api/directory/list/route.js.nft.json +1 -1
  332. package/web/.next/server/app/api/evidence/route.js +1 -1
  333. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  334. package/web/.next/server/app/api/graph-data/route.js +1 -1
  335. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  336. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js +1 -1
  337. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  338. package/web/.next/server/app/api/interactive/chat/[featureId]/stream/route.js +2 -1
  339. package/web/.next/server/app/api/interactive/chat/[featureId]/stream/route.js.nft.json +1 -1
  340. package/web/.next/server/app/api/interactive/sessions/[id]/stream/route.js +2 -1
  341. package/web/.next/server/app/api/interactive/sessions/[id]/stream/route.js.nft.json +1 -1
  342. package/web/.next/server/app/api/sessions-batch/route.js +1 -1
  343. package/web/.next/server/app/api/sessions-batch/route.js.nft.json +1 -1
  344. package/web/.next/server/app/settings/page/server-reference-manifest.json +11 -11
  345. package/web/.next/server/app/settings/page.js +3 -4
  346. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  347. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  348. package/web/.next/server/app/skills/page/server-reference-manifest.json +11 -11
  349. package/web/.next/server/app/skills/page.js +3 -3
  350. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  351. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  352. package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
  353. package/web/.next/server/app/tools/page.js +3 -3
  354. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  355. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  356. package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
  357. package/web/.next/server/app/version/page.js +2 -3
  358. package/web/.next/server/app/version/page.js.nft.json +1 -1
  359. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  360. package/web/.next/server/chunks/11es_next_dist_esm_build_templates_app-route_067cwst.js +1 -1
  361. package/web/.next/server/chunks/11es_next_dist_esm_build_templates_app-route_067cwst.js.map +1 -1
  362. package/web/.next/server/chunks/{[root-of-the-server]__02xmnal._.js → [root-of-the-server]__08cpfre._.js} +2 -2
  363. package/web/.next/server/chunks/[root-of-the-server]__0_-chcy._.js +3 -0
  364. package/web/.next/server/chunks/[root-of-the-server]__0_-chcy._.js.map +1 -0
  365. package/web/.next/server/chunks/[root-of-the-server]__0aft8l4._.js +9 -0
  366. package/web/.next/server/chunks/{[root-of-the-server]__0_6fhza._.js.map → [root-of-the-server]__0aft8l4._.js.map} +1 -1
  367. package/web/.next/server/chunks/[root-of-the-server]__0e9p7em._.js +3 -0
  368. package/web/.next/server/chunks/[root-of-the-server]__0e9p7em._.js.map +1 -0
  369. package/web/.next/server/chunks/{[root-of-the-server]__0.2exzi._.js → [root-of-the-server]__0gfvkg8._.js} +2 -2
  370. package/web/.next/server/chunks/{[root-of-the-server]__0ip_e1x._.js → [root-of-the-server]__0hcp97v._.js} +2 -2
  371. package/web/.next/server/chunks/{[root-of-the-server]__09118p2._.js → [root-of-the-server]__0iel39d._.js} +2 -2
  372. package/web/.next/server/chunks/[root-of-the-server]__0kc8ify._.js +12 -0
  373. package/web/.next/server/chunks/[root-of-the-server]__0kc8ify._.js.map +1 -0
  374. package/web/.next/server/chunks/[root-of-the-server]__0r5uk_8._.js +9 -0
  375. package/web/.next/server/chunks/[root-of-the-server]__0r5uk_8._.js.map +1 -0
  376. package/web/.next/server/chunks/[root-of-the-server]__0tb~wwk._.js +1 -1
  377. package/web/.next/server/chunks/{[root-of-the-server]__04jjtl_._.js → [root-of-the-server]__0u1jyv9._.js} +2 -2
  378. package/web/.next/server/chunks/{[root-of-the-server]__07suer1._.js → [root-of-the-server]__0zu_byw._.js} +2 -2
  379. package/web/.next/server/chunks/[root-of-the-server]__13e2_kk._.js +18 -0
  380. package/web/.next/server/chunks/[root-of-the-server]__13e2_kk._.js.map +1 -0
  381. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_create-drawer-client_tsx_0g70fc5._.js +1 -1
  382. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_create-drawer-client_tsx_0g70fc5._.js.map +1 -1
  383. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_feature-drawer-client_tsx_104cna.._.js +2 -2
  384. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_feature-drawer-client_tsx_104cna.._.js.map +1 -1
  385. package/web/.next/server/chunks/ssr/0ukq_presentation_web_components_features_settings_settings-page-client_tsx_0j1uius._.js +1 -1
  386. package/web/.next/server/chunks/ssr/0ukq_presentation_web_components_features_settings_settings-page-client_tsx_0j1uius._.js.map +1 -1
  387. package/web/.next/server/chunks/ssr/{_01mq~sm._.js → 11es_next_0q-kz~8._.js} +2 -2
  388. package/web/.next/server/chunks/ssr/11es_next_0q-kz~8._.js.map +1 -0
  389. package/web/.next/server/chunks/ssr/11y9_components_common_control-center-drawer_repository-drawer-client_tsx_09z.znp._.js +1 -1
  390. package/web/.next/server/chunks/ssr/11y9_components_common_control-center-drawer_repository-drawer-client_tsx_09z.znp._.js.map +1 -1
  391. package/web/.next/server/chunks/ssr/[root-of-the-server]__02.89uf._.js +4 -0
  392. package/web/.next/server/chunks/ssr/[root-of-the-server]__02.89uf._.js.map +1 -0
  393. package/web/.next/server/chunks/ssr/[root-of-the-server]__04rq9lr._.js +4 -0
  394. package/web/.next/server/chunks/ssr/[root-of-the-server]__04rq9lr._.js.map +1 -0
  395. package/web/.next/server/chunks/ssr/[root-of-the-server]__05_qc0n._.js +4 -0
  396. package/web/.next/server/chunks/ssr/[root-of-the-server]__05_qc0n._.js.map +1 -0
  397. package/web/.next/server/chunks/ssr/[root-of-the-server]__0c0xoi_._.js +3 -0
  398. package/web/.next/server/chunks/ssr/[root-of-the-server]__0c0xoi_._.js.map +1 -0
  399. package/web/.next/server/chunks/ssr/{[root-of-the-server]__0qh.wn.._.js → [root-of-the-server]__0q3-gz.._.js} +2 -2
  400. package/web/.next/server/chunks/ssr/[root-of-the-server]__0r5zhk.._.js +4 -0
  401. package/web/.next/server/chunks/ssr/[root-of-the-server]__0r5zhk.._.js.map +1 -0
  402. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rv1gci._.js +1 -1
  403. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rvrr1j._.js +4 -0
  404. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rvrr1j._.js.map +1 -0
  405. package/web/.next/server/chunks/ssr/[root-of-the-server]__0tq2syh._.js +4 -0
  406. package/web/.next/server/chunks/ssr/[root-of-the-server]__0tq2syh._.js.map +1 -0
  407. package/web/.next/server/chunks/ssr/[root-of-the-server]__0uy_5rw._.js +4 -0
  408. package/web/.next/server/chunks/ssr/[root-of-the-server]__0uy_5rw._.js.map +1 -0
  409. package/web/.next/server/chunks/ssr/[root-of-the-server]__12j29w-._.js +4 -0
  410. package/web/.next/server/chunks/ssr/[root-of-the-server]__12j29w-._.js.map +1 -0
  411. package/web/.next/server/chunks/ssr/_00k65h-._.js.map +1 -1
  412. package/web/.next/server/chunks/ssr/_01sesw0._.js +1 -1
  413. package/web/.next/server/chunks/ssr/_01sesw0._.js.map +1 -1
  414. package/web/.next/server/chunks/ssr/_069y.js._.js +6 -0
  415. package/web/.next/server/chunks/ssr/_069y.js._.js.map +1 -0
  416. package/web/.next/server/chunks/ssr/_0__4si~._.js +4 -0
  417. package/web/.next/server/chunks/ssr/_0__4si~._.js.map +1 -0
  418. package/web/.next/server/chunks/ssr/_0_m17kl._.js +4 -0
  419. package/web/.next/server/chunks/ssr/_0_m17kl._.js.map +1 -0
  420. package/web/.next/server/chunks/ssr/_0d4miu.._.js +4 -0
  421. package/web/.next/server/chunks/ssr/_0d4miu.._.js.map +1 -0
  422. package/web/.next/server/chunks/ssr/_0e8ern9._.js +4 -0
  423. package/web/.next/server/chunks/ssr/_0e8ern9._.js.map +1 -0
  424. package/web/.next/server/chunks/ssr/{_0e4npv~._.js → _0l10ccg._.js} +2 -2
  425. package/web/.next/server/chunks/ssr/_0l10ccg._.js.map +1 -0
  426. package/web/.next/server/chunks/ssr/_0mo6j.n._.js +3 -0
  427. package/web/.next/server/chunks/ssr/_0mo6j.n._.js.map +1 -0
  428. package/web/.next/server/chunks/ssr/{_0nvrqsj._.js → _0mvhe_2._.js} +2 -2
  429. package/web/.next/server/chunks/ssr/{_0nvrqsj._.js.map → _0mvhe_2._.js.map} +1 -1
  430. package/web/.next/server/chunks/ssr/{_109n-y4._.js → _0n.magx._.js} +2 -2
  431. package/web/.next/server/chunks/ssr/_0n.magx._.js.map +1 -0
  432. package/web/.next/server/chunks/ssr/_0p3~u8u._.js +6 -0
  433. package/web/.next/server/chunks/ssr/_0p3~u8u._.js.map +1 -0
  434. package/web/.next/server/chunks/ssr/_0r.3n~3._.js +4 -0
  435. package/web/.next/server/chunks/ssr/_0r.3n~3._.js.map +1 -0
  436. package/web/.next/server/chunks/ssr/_0t59q8r._.js +4 -0
  437. package/web/.next/server/chunks/ssr/_0t59q8r._.js.map +1 -0
  438. package/web/.next/server/chunks/ssr/_0tcccbb._.js +3 -0
  439. package/web/.next/server/chunks/ssr/_0tcccbb._.js.map +1 -0
  440. package/web/.next/server/chunks/ssr/_0vyfc4b._.js +1 -1
  441. package/web/.next/server/chunks/ssr/_0vyfc4b._.js.map +1 -1
  442. package/web/.next/server/chunks/ssr/_0w-_hww._.js +1 -1
  443. package/web/.next/server/chunks/ssr/_0w-_hww._.js.map +1 -1
  444. package/web/.next/server/chunks/ssr/_0zk-h5w._.js +4 -0
  445. package/web/.next/server/chunks/ssr/_0zk-h5w._.js.map +1 -0
  446. package/web/.next/server/chunks/ssr/_0~7lwu_._.js +1 -1
  447. package/web/.next/server/chunks/ssr/_0~7lwu_._.js.map +1 -1
  448. package/web/.next/server/chunks/ssr/_1161g9x._.js +4 -0
  449. package/web/.next/server/chunks/ssr/_1161g9x._.js.map +1 -0
  450. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_05m2q~u.js +3 -0
  451. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_05m2q~u.js.map +1 -0
  452. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_0.6zk.t.js +3 -0
  453. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_0.6zk.t.js.map +1 -0
  454. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_0pjb_re._.js +3 -0
  455. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_0pjb_re._.js.map +1 -0
  456. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_0w2wqvu._.js +1 -1
  457. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_0w2wqvu._.js.map +1 -1
  458. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_0l3oxx9._.js +1 -1
  459. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_0l3oxx9._.js.map +1 -1
  460. package/web/.next/server/middleware-build-manifest.js +3 -3
  461. package/web/.next/server/pages/500.html +1 -1
  462. package/web/.next/server/server-reference-manifest.js +1 -1
  463. package/web/.next/server/server-reference-manifest.json +127 -109
  464. package/web/.next/static/chunks/{0awttldb-.7m..js → 0.8ue6wwr7ni~.js} +1 -1
  465. package/web/.next/static/chunks/{0d-2jp.f._l2e.js → 028x3z97mchhz.js} +1 -1
  466. package/web/.next/static/chunks/044f5piy5pt5t.js +1 -0
  467. package/web/.next/static/chunks/04~sw.nhpwy6s.css +1 -0
  468. package/web/.next/static/chunks/05enics63g._-.js +7 -0
  469. package/web/.next/static/chunks/0_.x~txb5da7d.js +1 -0
  470. package/web/.next/static/chunks/0_9k2ybutuphq.js +1 -0
  471. package/web/.next/static/chunks/{14g1l3~6i5251.js → 0hti2r43x0~b7.js} +2 -2
  472. package/web/.next/static/chunks/0jo5-_q.1n69j.js +1 -0
  473. package/web/.next/static/chunks/{0t8zwgaz.d1s5.js → 0n3u~4ytndfyd.js} +1 -1
  474. package/web/.next/static/chunks/{0nk2r-18.7g6r.js → 0pyz97q7eg0jz.js} +1 -1
  475. package/web/.next/static/chunks/0qqe9hx_txhso.js +1 -0
  476. package/web/.next/static/chunks/{0ntgq3d_.m5el.js → 0vx7ldqj8436q.js} +2 -2
  477. package/web/.next/static/chunks/11~m1ei9bh269.js +3 -0
  478. package/web/.next/static/chunks/{09dqgshddfxff.js → 13w6ziae82sjy.js} +1 -1
  479. package/web/.next/static/chunks/16.83v.xq8bn9.js +1 -0
  480. package/dist/packages/core/src/infrastructure/services/agents/common/executors/dev-executor.service.d.ts +0 -12
  481. package/dist/packages/core/src/infrastructure/services/agents/common/executors/dev-executor.service.d.ts.map +0 -1
  482. package/dist/packages/core/src/infrastructure/services/agents/common/executors/dev-executor.service.js +0 -233
  483. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/plan.fixture.d.ts +0 -8
  484. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/plan.fixture.d.ts.map +0 -1
  485. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/plan.fixture.js +0 -94
  486. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/research.fixture.d.ts +0 -8
  487. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/research.fixture.d.ts.map +0 -1
  488. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/research.fixture.js +0 -140
  489. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/spec-analyze.fixture.d.ts +0 -8
  490. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/spec-analyze.fixture.d.ts.map +0 -1
  491. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/spec-analyze.fixture.js +0 -81
  492. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/spec-requirements.fixture.d.ts +0 -8
  493. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/spec-requirements.fixture.d.ts.map +0 -1
  494. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/spec-requirements.fixture.js +0 -131
  495. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/tasks.fixture.d.ts +0 -6
  496. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/tasks.fixture.d.ts.map +0 -1
  497. package/dist/packages/core/src/infrastructure/services/agents/common/executors/fixtures/tasks.fixture.js +0 -146
  498. package/web/.next/server/chunks/[root-of-the-server]__0-3b27b._.js +0 -9
  499. package/web/.next/server/chunks/[root-of-the-server]__0-3b27b._.js.map +0 -1
  500. package/web/.next/server/chunks/[root-of-the-server]__0_6fhza._.js +0 -9
  501. package/web/.next/server/chunks/[root-of-the-server]__0esdmru._.js +0 -12
  502. package/web/.next/server/chunks/[root-of-the-server]__0esdmru._.js.map +0 -1
  503. package/web/.next/server/chunks/[root-of-the-server]__0l1p8bx._.js +0 -3
  504. package/web/.next/server/chunks/[root-of-the-server]__0l1p8bx._.js.map +0 -1
  505. package/web/.next/server/chunks/[root-of-the-server]__0p~owgt._.js +0 -18
  506. package/web/.next/server/chunks/[root-of-the-server]__0p~owgt._.js.map +0 -1
  507. package/web/.next/server/chunks/[root-of-the-server]__0rru~m.._.js +0 -3
  508. package/web/.next/server/chunks/[root-of-the-server]__0rru~m.._.js.map +0 -1
  509. package/web/.next/server/chunks/ssr/0j.8_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_00~eq5i.js +0 -3
  510. package/web/.next/server/chunks/ssr/0j.8_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_00~eq5i.js.map +0 -1
  511. package/web/.next/server/chunks/ssr/0j.8_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_0979_c..js +0 -3
  512. package/web/.next/server/chunks/ssr/0j.8_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_0979_c..js.map +0 -1
  513. package/web/.next/server/chunks/ssr/0j.8_web__next-internal_server_app_(dashboard)_chat_page_actions_0dqll_1.js +0 -3
  514. package/web/.next/server/chunks/ssr/0j.8_web__next-internal_server_app_(dashboard)_chat_page_actions_0dqll_1.js.map +0 -1
  515. package/web/.next/server/chunks/ssr/[root-of-the-server]__045sv4b._.js +0 -3
  516. package/web/.next/server/chunks/ssr/[root-of-the-server]__045sv4b._.js.map +0 -1
  517. package/web/.next/server/chunks/ssr/[root-of-the-server]__0d_0_fp._.js +0 -3
  518. package/web/.next/server/chunks/ssr/[root-of-the-server]__0d_0_fp._.js.map +0 -1
  519. package/web/.next/server/chunks/ssr/[root-of-the-server]__0l4d7e.._.js +0 -3
  520. package/web/.next/server/chunks/ssr/[root-of-the-server]__0l4d7e.._.js.map +0 -1
  521. package/web/.next/server/chunks/ssr/[root-of-the-server]__0o3qggc._.js +0 -3
  522. package/web/.next/server/chunks/ssr/[root-of-the-server]__0o3qggc._.js.map +0 -1
  523. package/web/.next/server/chunks/ssr/[root-of-the-server]__0r32z03._.js +0 -3
  524. package/web/.next/server/chunks/ssr/[root-of-the-server]__0r32z03._.js.map +0 -1
  525. package/web/.next/server/chunks/ssr/[root-of-the-server]__12g8h3_._.js +0 -4
  526. package/web/.next/server/chunks/ssr/[root-of-the-server]__12g8h3_._.js.map +0 -1
  527. package/web/.next/server/chunks/ssr/_0.rsra~._.js +0 -3
  528. package/web/.next/server/chunks/ssr/_0.rsra~._.js.map +0 -1
  529. package/web/.next/server/chunks/ssr/_01mq~sm._.js.map +0 -1
  530. package/web/.next/server/chunks/ssr/_0a-ddx-._.js +0 -3
  531. package/web/.next/server/chunks/ssr/_0a-ddx-._.js.map +0 -1
  532. package/web/.next/server/chunks/ssr/_0e4npv~._.js.map +0 -1
  533. package/web/.next/server/chunks/ssr/_0jpbsh_._.js +0 -4
  534. package/web/.next/server/chunks/ssr/_0jpbsh_._.js.map +0 -1
  535. package/web/.next/server/chunks/ssr/_109n-y4._.js.map +0 -1
  536. package/web/.next/server/chunks/ssr/src_presentation_web_0.e4~xc._.js +0 -3
  537. package/web/.next/server/chunks/ssr/src_presentation_web_0.e4~xc._.js.map +0 -1
  538. package/web/.next/server/chunks/ssr/src_presentation_web_00dvh.m._.js +0 -3
  539. package/web/.next/server/chunks/ssr/src_presentation_web_00dvh.m._.js.map +0 -1
  540. package/web/.next/server/chunks/ssr/src_presentation_web_06b6~lt._.js +0 -5
  541. package/web/.next/server/chunks/ssr/src_presentation_web_06b6~lt._.js.map +0 -1
  542. package/web/.next/server/chunks/ssr/src_presentation_web_08fy2mf._.js +0 -3
  543. package/web/.next/server/chunks/ssr/src_presentation_web_08fy2mf._.js.map +0 -1
  544. package/web/.next/server/chunks/ssr/src_presentation_web_0f~udu1._.js +0 -3
  545. package/web/.next/server/chunks/ssr/src_presentation_web_0f~udu1._.js.map +0 -1
  546. package/web/.next/server/chunks/ssr/src_presentation_web_0qys821._.js +0 -5
  547. package/web/.next/server/chunks/ssr/src_presentation_web_0qys821._.js.map +0 -1
  548. package/web/.next/server/chunks/ssr/src_presentation_web_0q~dt0o._.js +0 -3
  549. package/web/.next/server/chunks/ssr/src_presentation_web_0q~dt0o._.js.map +0 -1
  550. package/web/.next/server/chunks/ssr/src_presentation_web_11jrkxt._.js +0 -3
  551. package/web/.next/server/chunks/ssr/src_presentation_web_11jrkxt._.js.map +0 -1
  552. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_1199d3x.js +0 -3
  553. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_1199d3x.js.map +0 -1
  554. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app__not-found_page_actions_0m2jqxx.js +0 -3
  555. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app__not-found_page_actions_0m2jqxx.js.map +0 -1
  556. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_version_page_actions_0krkh_0.js +0 -3
  557. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_version_page_actions_0krkh_0.js.map +0 -1
  558. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_load-settings_ts_0b8f3pf._.js +0 -3
  559. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_load-settings_ts_0b8f3pf._.js.map +0 -1
  560. package/web/.next/static/chunks/00dg6gti40.3i.js +0 -1
  561. package/web/.next/static/chunks/0_--5mgqukm__.js +0 -1
  562. package/web/.next/static/chunks/0_c5~n__lz4ks.js +0 -1
  563. package/web/.next/static/chunks/0ist7260j__0m.js +0 -3
  564. package/web/.next/static/chunks/0j_0i2qsrwh-c.js +0 -1
  565. package/web/.next/static/chunks/0njrgvmyafrod.js +0 -1
  566. package/web/.next/static/chunks/0r5dju6f1-i38.css +0 -1
  567. package/web/.next/static/chunks/0t.pzrmeoq6th.js +0 -7
  568. /package/web/.next/server/chunks/{[root-of-the-server]__02xmnal._.js.map → [root-of-the-server]__08cpfre._.js.map} +0 -0
  569. /package/web/.next/server/chunks/{[root-of-the-server]__0.2exzi._.js.map → [root-of-the-server]__0gfvkg8._.js.map} +0 -0
  570. /package/web/.next/server/chunks/{[root-of-the-server]__0ip_e1x._.js.map → [root-of-the-server]__0hcp97v._.js.map} +0 -0
  571. /package/web/.next/server/chunks/{[root-of-the-server]__09118p2._.js.map → [root-of-the-server]__0iel39d._.js.map} +0 -0
  572. /package/web/.next/server/chunks/{[root-of-the-server]__04jjtl_._.js.map → [root-of-the-server]__0u1jyv9._.js.map} +0 -0
  573. /package/web/.next/server/chunks/{[root-of-the-server]__07suer1._.js.map → [root-of-the-server]__0zu_byw._.js.map} +0 -0
  574. /package/web/.next/server/chunks/ssr/{[root-of-the-server]__0qh.wn.._.js.map → [root-of-the-server]__0q3-gz.._.js.map} +0 -0
  575. /package/web/.next/static/{ZpPnD_b687G9xVr2nzrds → ksBer6au8b_fS1_7dCF2D}/_buildManifest.js +0 -0
  576. /package/web/.next/static/{ZpPnD_b687G9xVr2nzrds → ksBer6au8b_fS1_7dCF2D}/_clientMiddlewareManifest.js +0 -0
  577. /package/web/.next/static/{ZpPnD_b687G9xVr2nzrds → ksBer6au8b_fS1_7dCF2D}/_ssgManifest.js +0 -0
package/README.md CHANGED
@@ -224,17 +224,38 @@ Shipit runs entirely on your machine.
224
224
 
225
225
  ### Agent Permissions
226
226
 
227
- Shipit runs your agent non-interactively it can't pause for "allow this command?" prompts mid-pipeline. By default, it passes permission-bypass flags (e.g., `--dangerously-skip-permissions` for Claude Code — each agent has an equivalent).
227
+ Shipit runs your agent non-interactively -- it can't pause for "allow this command?" prompts mid-pipeline. Each agent has its own permission modes mapped to native CLI flags:
228
+
229
+ | Agent | Default (batch) | Tighter Options |
230
+ |-------|----------------|-----------------|
231
+ | Claude Code | `bypassPermissions` | `acceptEdits`, `plan`, `default` |
232
+ | Cursor | `yolo` | `propose` |
233
+ | Gemini CLI | `yolo` | `auto_edit`, `default` |
234
+ | Codex CLI | `danger-full-access` | `workspace-write`, `read-only` |
235
+ | Copilot CLI | `yolo` | `allow-paths`, `prompt` |
236
+ | Rovo Dev | `yolo` | `shadow`, `config` |
237
+
238
+ Configure per-agent defaults or override per-feature:
239
+
240
+ ```bash
241
+ # Set Claude Code to auto-approve edits but prompt for shell commands
242
+ shipit-ai settings permissions --agent claude-code --mode acceptEdits
243
+
244
+ # Run a single feature in read-only plan mode
245
+ shipit-ai feat new "redesign auth" --permission-mode plan
246
+ ```
228
247
 
229
248
  **Your safety net is three layers deep:**
230
- 1. **Worktree isolation** the agent works on a copy, not your checkout
231
- 2. **Draft PRs** you review the diff before anything is merged
232
- 3. **CI pipeline** your tests, linters, and security scanners run before merge
249
+ 1. **Worktree isolation** -- the agent works on a copy, not your checkout
250
+ 2. **Draft PRs** -- you review the diff before anything is merged
251
+ 3. **CI pipeline** -- your tests, linters, and security scanners run before merge
233
252
 
234
- The skip-permissions flag is a default, not a requirement. Configure your agent's permission model independently if you need tighter control.
253
+ The bypass default is not a requirement. Tighten permissions globally or per-feature to match your risk tolerance.
235
254
 
236
255
  **What Shipit does NOT protect you from:** If your CI doesn't catch a vulnerability, Shipit won't either. Shipit is an orchestration layer, not a security scanner.
237
256
 
257
+ > **[Full agent permission flag reference -->](./docs/development/agent-flag-reference.md)**
258
+
238
259
  ---
239
260
 
240
261
  ## Supported Agents & Tools
@@ -13,6 +13,9 @@ properties:
13
13
  token:
14
14
  type: string
15
15
  description: API token for token-based auth (optional)
16
+ permissions:
17
+ $ref: AgentPermissionSettings.yaml
18
+ description: Per-agent permission mode overrides
16
19
  required:
17
20
  - type
18
21
  - authMethod
@@ -0,0 +1,23 @@
1
+ $schema: https://json-schema.org/draft/2020-12/schema
2
+ $id: AgentPermissionSettings.yaml
3
+ type: object
4
+ properties:
5
+ claudeCode:
6
+ $ref: ClaudeCodePermissionMode.yaml
7
+ description: "Claude Code permission mode (default: bypassPermissions)"
8
+ cursor:
9
+ $ref: CursorPermissionMode.yaml
10
+ description: "Cursor permission mode (default: yolo)"
11
+ geminiCli:
12
+ $ref: GeminiPermissionMode.yaml
13
+ description: "Gemini CLI permission mode (default: yolo)"
14
+ codexCli:
15
+ $ref: CodexPermissionMode.yaml
16
+ description: "Codex CLI sandbox mode (default: danger-full-access)"
17
+ copilotCli:
18
+ $ref: CopilotPermissionMode.yaml
19
+ description: "Copilot CLI permission mode (default: yolo)"
20
+ rovoDev:
21
+ $ref: RovoDevPermissionMode.yaml
22
+ description: "Rovo Dev CLI permission mode (default: yolo)"
23
+ description: Per-agent permission mode overrides
@@ -10,5 +10,4 @@ enum:
10
10
  - copilot-cli
11
11
  - rovo-dev
12
12
  - cursor
13
- - dev
14
13
  description: AI coding agent tool selection
@@ -0,0 +1,9 @@
1
+ $schema: https://json-schema.org/draft/2020-12/schema
2
+ $id: ClaudeCodePermissionMode.yaml
3
+ type: string
4
+ enum:
5
+ - default
6
+ - acceptEdits
7
+ - plan
8
+ - bypassPermissions
9
+ description: Claude Code native permission modes
@@ -0,0 +1,8 @@
1
+ $schema: https://json-schema.org/draft/2020-12/schema
2
+ $id: CodexPermissionMode.yaml
3
+ type: string
4
+ enum:
5
+ - read-only
6
+ - workspace-write
7
+ - danger-full-access
8
+ description: Codex CLI sandbox modes
@@ -0,0 +1,8 @@
1
+ $schema: https://json-schema.org/draft/2020-12/schema
2
+ $id: CopilotPermissionMode.yaml
3
+ type: string
4
+ enum:
5
+ - prompt
6
+ - allow-paths
7
+ - yolo
8
+ description: GitHub Copilot CLI permission modes
@@ -0,0 +1,7 @@
1
+ $schema: https://json-schema.org/draft/2020-12/schema
2
+ $id: CursorPermissionMode.yaml
3
+ type: string
4
+ enum:
5
+ - propose
6
+ - yolo
7
+ description: Cursor agent permission modes
@@ -97,6 +97,9 @@ properties:
97
97
  items:
98
98
  $ref: Attachment.yaml
99
99
  description: Files attached by the user when creating or messaging this feature
100
+ permissionMode:
101
+ type: string
102
+ description: Per-feature permission mode override (overrides agent default from settings)
100
103
  required:
101
104
  - name
102
105
  - userQuery
@@ -0,0 +1,8 @@
1
+ $schema: https://json-schema.org/draft/2020-12/schema
2
+ $id: GeminiPermissionMode.yaml
3
+ type: string
4
+ enum:
5
+ - default
6
+ - auto_edit
7
+ - yolo
8
+ description: Gemini CLI approval modes
@@ -0,0 +1,8 @@
1
+ $schema: https://json-schema.org/draft/2020-12/schema
2
+ $id: RovoDevPermissionMode.yaml
3
+ type: string
4
+ enum:
5
+ - config
6
+ - shadow
7
+ - yolo
8
+ description: Rovo Dev CLI permission modes
@@ -21,6 +21,12 @@
21
21
  * ```
22
22
  */
23
23
  import type { AgentType, AgentFeature } from '../../../../domain/generated/output.js';
24
+ import type { ClaudeCodePermissionMode, CursorPermissionMode, GeminiPermissionMode, CodexPermissionMode, CopilotPermissionMode, RovoDevPermissionMode } from '../../../../domain/generated/output.js';
25
+ /**
26
+ * Union of all per-agent permission mode enum values.
27
+ * Each executor casts to its own specific enum type at runtime.
28
+ */
29
+ export type AgentPermissionModeValue = ClaudeCodePermissionMode | CursorPermissionMode | GeminiPermissionMode | CodexPermissionMode | CopilotPermissionMode | RovoDevPermissionMode;
24
30
  /**
25
31
  * Token usage and execution statistics returned by an agent.
26
32
  */
@@ -88,6 +94,8 @@ export interface AgentExecutionOptions {
88
94
  disableMcp?: boolean;
89
95
  /** Restrict available built-in tools via --tools flag */
90
96
  tools?: string[];
97
+ /** Agent-specific permission/autonomy mode */
98
+ permissionMode?: AgentPermissionModeValue;
91
99
  }
92
100
  /**
93
101
  * Port interface for executing prompts against an AI agent.
@@ -1 +1 @@
1
- {"version":3,"file":"agent-executor.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/agents/agent-executor.interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtF;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,uDAAuD;IACvD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qDAAqD;IACrD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,8BAA8B;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,yCAAyC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,2DAA2D;IAC3D,IAAI,EAAE,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IACtC,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mEAAmE;IACnE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAE9B;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAExF;;;;;;OAMG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAAC,yBAAyB,CAAC,CAAC;IAE5C;;;;;OAKG;IACH,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC;CACjD"}
1
+ {"version":3,"file":"agent-executor.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/agents/agent-executor.interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAEhD;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAChC,wBAAwB,GACxB,oBAAoB,GACpB,oBAAoB,GACpB,mBAAmB,GACnB,qBAAqB,GACrB,qBAAqB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,uDAAuD;IACvD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qDAAqD;IACrD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,8BAA8B;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,yCAAyC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,2DAA2D;IAC3D,IAAI,EAAE,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IACtC,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,sCAAsC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mEAAmE;IACnE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,8CAA8C;IAC9C,cAAc,CAAC,EAAE,wBAAwB,CAAC;CAC3C;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAE9B;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAExF;;;;;;OAMG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,aAAa,CAAC,yBAAyB,CAAC,CAAC;IAE5C;;;;;OAKG;IACH,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC;CACjD"}
@@ -40,6 +40,7 @@ export interface IFeatureAgentProcessService {
40
40
  fast?: boolean;
41
41
  model?: string;
42
42
  resumeReason?: string;
43
+ permissionMode?: string;
43
44
  }): number;
44
45
  /**
45
46
  * Check if a process is still alive.
@@ -1 +1 @@
1
- {"version":3,"file":"feature-agent-process.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/agents/feature-agent-process.interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAEvF;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;;;;;OAQG;IACH,KAAK,CACH,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QACR,aAAa,CAAC,EAAE,aAAa,CAAC;QAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,GACA,MAAM,CAAC;IAEV;;;;;OAKG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAE9B;;;;;OAKG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnD"}
1
+ {"version":3,"file":"feature-agent-process.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/agents/feature-agent-process.interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAEvF;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;;;;;OAQG;IACH,KAAK,CACH,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE;QACR,aAAa,CAAC,EAAE,aAAa,CAAC;QAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,GACA,MAAM,CAAC;IAEV;;;;;OAKG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAE9B;;;;;OAKG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnD"}
@@ -10,6 +10,7 @@
10
10
  * - Infrastructure layer provides concrete implementations
11
11
  * - No SDK types leak through this boundary
12
12
  */
13
+ import type { AgentPermissionModeValue } from './agent-executor.interface.js';
13
14
  /** Options for creating/resuming an interactive agent session. */
14
15
  export interface InteractiveAgentOptions {
15
16
  /** Absolute worktree path (CWD for agent) */
@@ -18,6 +19,8 @@ export interface InteractiveAgentOptions {
18
19
  model?: string;
19
20
  /** Feature context string to append to system prompt */
20
21
  systemPrompt?: string;
22
+ /** Agent-specific permission/autonomy mode */
23
+ permissionMode?: AgentPermissionModeValue;
21
24
  }
22
25
  /** Event emitted by an interactive agent session stream. */
23
26
  export interface InteractiveAgentEvent {
@@ -1 +1 @@
1
- {"version":3,"file":"interactive-agent-executor.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/agents/interactive-agent-executor.interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,kEAAkE;AAClE,MAAM,WAAW,uBAAuB;IACtC,6CAA6C;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,4DAA4D;AAC5D,MAAM,WAAW,qBAAqB;IACpC,IAAI,EACA,OAAO,GACP,UAAU,GACV,aAAa,GACb,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,GACN,WAAW,GACX,YAAY,GACZ,cAAc,GACd,eAAe,GACf,WAAW,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH;AAED,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,mDAAmD;IACnD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,uCAAuC;IACvC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,6CAA6C;IAC7C,MAAM,IAAI,aAAa,CAAC,qBAAqB,CAAC,CAAC;IAC/C,uCAAuC;IACvC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,wEAAwE;IACxE,KAAK,IAAI,IAAI,CAAC;CACf;AAED,yDAAyD;AACzD,MAAM,WAAW,yBAAyB;IACxC,aAAa,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACxF,aAAa,CACX,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC3C"}
1
+ {"version":3,"file":"interactive-agent-executor.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/agents/interactive-agent-executor.interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,kEAAkE;AAClE,MAAM,WAAW,uBAAuB;IACtC,6CAA6C;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,cAAc,CAAC,EAAE,wBAAwB,CAAC;CAC3C;AAED,4DAA4D;AAC5D,MAAM,WAAW,qBAAqB;IACpC,IAAI,EACA,OAAO,GACP,UAAU,GACV,aAAa,GACb,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,GACN,WAAW,GACX,YAAY,GACZ,cAAc,GACd,eAAe,GACf,WAAW,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH;AAED,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,mDAAmD;IACnD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,uCAAuC;IACvC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,6CAA6C;IAC7C,MAAM,IAAI,aAAa,CAAC,qBAAqB,CAAC,CAAC;IAC/C,uCAAuC;IACvC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,wEAAwE;IACxE,KAAK,IAAI,IAAI,CAAC;CACf;AAED,yDAAyD;AACzD,MAAM,WAAW,yBAAyB;IACxC,aAAa,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACxF,aAAa,CACX,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC3C"}
@@ -21,4 +21,5 @@ export type { IGitHubRepositoryService, GitHubRepo, GitHubOrganization, ListUser
21
21
  export { GitHubAuthError, GitHubCloneError, GitHubUrlParseError, GitHubRepoListError, } from './github-repository-service.interface.js';
22
22
  export type { IInteractiveSessionService, StreamChunk, UnsubscribeFn, ChatState, } from './interactive-session-service.interface.js';
23
23
  export type { IEnvironmentDetectorService, DetectedEnvironment, AvailableEditorEntry, AvailableShellEntry, } from './environment-detector.service.js';
24
+ export type { ISettingsReader } from './settings-reader.interface.js';
24
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/services/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAClG,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACtE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACnF,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACjG,YAAY,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,YAAY,EACV,aAAa,EACb,QAAQ,EACR,cAAc,EACd,WAAW,EACX,aAAa,EACb,cAAc,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC3E,YAAY,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjF,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC9F,YAAY,EACV,wBAAwB,EACxB,UAAU,EACV,kBAAkB,EAClB,2BAA2B,EAC3B,YAAY,EACZ,eAAe,GAChB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,0CAA0C,CAAC;AAClD,YAAY,EACV,0BAA0B,EAC1B,WAAW,EACX,aAAa,EACb,SAAS,GACV,MAAM,4CAA4C,CAAC;AACpD,YAAY,EACV,2BAA2B,EAC3B,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/services/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAClG,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACtE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACnF,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACjG,YAAY,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,YAAY,EACV,aAAa,EACb,QAAQ,EACR,cAAc,EACd,WAAW,EACX,aAAa,EACb,cAAc,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC3E,YAAY,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjF,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC9F,YAAY,EACV,wBAAwB,EACxB,UAAU,EACV,kBAAkB,EAClB,2BAA2B,EAC3B,YAAY,EACZ,eAAe,GAChB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,0CAA0C,CAAC;AAClD,YAAY,EACV,0BAA0B,EAC1B,WAAW,EACX,aAAa,EACb,SAAS,GACV,MAAM,4CAA4C,CAAC;AACpD,YAAY,EACV,2BAA2B,EAC3B,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { Settings } from '../../../../domain/generated/output.js';
2
+ /**
3
+ * Port for reading application settings.
4
+ * Replaces direct use of the getSettings()/hasSettings() global accessor.
5
+ */
6
+ export interface ISettingsReader {
7
+ /** Returns true if settings have been initialized */
8
+ hasSettings(): boolean;
9
+ /** Returns current settings, or undefined if not initialized */
10
+ getSettings(): Settings | undefined;
11
+ }
12
+ export declare const ISettingsReader: "ISettingsReader";
13
+ //# sourceMappingURL=settings-reader.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings-reader.interface.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/ports/output/services/settings-reader.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAEvE;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,qDAAqD;IACrD,WAAW,IAAI,OAAO,CAAC;IACvB,gEAAgE;IAChE,WAAW,IAAI,QAAQ,GAAG,SAAS,CAAC;CACrC;AAED,eAAO,MAAM,eAAe,EAAG,iBAA0B,CAAC"}
@@ -0,0 +1 @@
1
+ export const ISettingsReader = 'ISettingsReader';
@@ -1 +1 @@
1
- {"version":3,"file":"configure-agent.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/agents/configure-agent.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAC5G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wDAAwD,CAAC;AAE9F;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,CAAC;IAChB,UAAU,EAAE,eAAe,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,qBACa,qBAAqB;IAG9B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAEnC,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAFd,kBAAkB,EAAE,mBAAmB,EAEvC,cAAc,EAAE,eAAe;IAGlD;;;;;;OAMG;IACG,OAAO,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,QAAQ,CAAC;CAiC7D"}
1
+ {"version":3,"file":"configure-agent.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/agents/configure-agent.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAC5G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wDAAwD,CAAC;AAE9F;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,CAAC;IAChB,UAAU,EAAE,eAAe,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,qBACa,qBAAqB;IAG9B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAEnC,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAFd,kBAAkB,EAAE,mBAAmB,EAEvC,cAAc,EAAE,eAAe;IAGlD;;;;;;OAMG;IACG,OAAO,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,QAAQ,CAAC;CA+B7D"}
@@ -48,12 +48,10 @@ let ConfigureAgentUseCase = class ConfigureAgentUseCase {
48
48
  * @throws Error if agent is not available or settings not initialized
49
49
  */
50
50
  async execute(input) {
51
- // 1. Validate agent is available (dev type requires no binary validation)
52
- if (input.type !== 'dev') {
53
- const validation = await this.agentValidator.isAvailable(input.type);
54
- if (!validation.available) {
55
- throw new Error(`Agent "${input.type}" is not available: ${validation.error ?? 'binary not found'}`);
56
- }
51
+ // 1. Validate agent is available
52
+ const validation = await this.agentValidator.isAvailable(input.type);
53
+ if (!validation.available) {
54
+ throw new Error(`Agent "${input.type}" is not available: ${validation.error ?? 'binary not found'}`);
57
55
  }
58
56
  // 2. Load current settings
59
57
  const settings = await this.settingsRepository.load();
@@ -1 +1 @@
1
- {"version":3,"file":"check-and-unblock-features.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAGhH,qBACa,8BAA8B;IAET,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE1D,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAFkB,WAAW,EAAE,kBAAkB,EAE7D,YAAY,EAAE,2BAA2B;IAG5D;;;;OAIG;IACG,OAAO,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CA4CtD"}
1
+ {"version":3,"file":"check-and-unblock-features.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAGhH,qBACa,8BAA8B;IAET,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE1D,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAFkB,WAAW,EAAE,kBAAkB,EAE7D,YAAY,EAAE,2BAA2B;IAG5D;;;;OAIG;IACG,OAAO,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CA6CtD"}
@@ -70,6 +70,7 @@ let CheckAndUnblockFeaturesUseCase = class CheckAndUnblockFeaturesUseCase {
70
70
  enableEvidence: child.enableEvidence,
71
71
  commitEvidence: child.commitEvidence,
72
72
  ...(child.fast ? { fast: true } : {}),
73
+ ...(child.permissionMode ? { permissionMode: child.permissionMode } : {}),
73
74
  });
74
75
  }
75
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"create-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/use-cases/features/create/create-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAMtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oEAAoE,CAAC;AAC7G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8DAA8D,CAAC;AACrG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iEAAiE,CAAC;AACnH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gEAAgE,CAAC;AAC1G,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AAC5G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uEAAuE,CAAC;AACnH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4DAA4D,CAAC;AAChG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AACjG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAC/G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wEAAwE,CAAC;AAExH,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE9F,qBACa,oBAAoB;IAG7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAElC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAElC,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAtBZ,WAAW,EAAE,kBAAkB,EAE/B,eAAe,EAAE,gBAAgB,EAEjC,YAAY,EAAE,2BAA2B,EAEzC,aAAa,EAAE,mBAAmB,EAElC,eAAe,EAAE,uBAAuB,EAExC,iBAAiB,EAAE,iBAAiB,EAEpC,YAAY,EAAE,YAAY,EAE1B,cAAc,EAAE,qBAAqB,EAErC,YAAY,EAAE,aAAa,EAE3B,iBAAiB,EAAE,yBAAyB,EAE5C,cAAc,EAAE,eAAe,EAE/B,YAAY,EAAE,mBAAmB;IAGpD;;;OAGG;IACG,OAAO,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAMtE;;;;OAIG;IACG,YAAY,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAyI1E;;;OAGG;IACG,kBAAkB,CACtB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,kBAAkB,EACzB,WAAW,EAAE,OAAO,GACnB,OAAO,CAAC;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,OAAO,CAAA;KAAE,CAAC;CAoJ1D"}
1
+ {"version":3,"file":"create-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/use-cases/features/create/create-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAMtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oEAAoE,CAAC;AAC7G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8DAA8D,CAAC;AACrG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iEAAiE,CAAC;AACnH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gEAAgE,CAAC;AAC1G,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AAC5G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uEAAuE,CAAC;AACnH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4DAA4D,CAAC;AAChG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AACjG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAC/G,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wEAAwE,CAAC;AAExH,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE9F,qBACa,oBAAoB;IAG7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAEhC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAElC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAElC,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAtBZ,WAAW,EAAE,kBAAkB,EAE/B,eAAe,EAAE,gBAAgB,EAEjC,YAAY,EAAE,2BAA2B,EAEzC,aAAa,EAAE,mBAAmB,EAElC,eAAe,EAAE,uBAAuB,EAExC,iBAAiB,EAAE,iBAAiB,EAEpC,YAAY,EAAE,YAAY,EAE1B,cAAc,EAAE,qBAAqB,EAErC,YAAY,EAAE,aAAa,EAE3B,iBAAiB,EAAE,yBAAyB,EAE5C,cAAc,EAAE,eAAe,EAE/B,YAAY,EAAE,mBAAmB;IAGpD;;;OAGG;IACG,OAAO,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAMtE;;;;OAIG;IACG,YAAY,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAyJ1E;;;OAGG;IACG,kBAAkB,CACtB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,kBAAkB,EACzB,WAAW,EAAE,OAAO,GACnB,OAAO,CAAC;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,OAAO,CAAA;KAAE,CAAC;CAqJ1D"}
@@ -116,8 +116,25 @@ let CreateFeatureUseCase = class CreateFeatureUseCase {
116
116
  }
117
117
  }
118
118
  }
119
- // Resolve or create repository entity for this path
120
- const normalizedPath = effectiveRepoPath.replace(/\\/g, '/').replace(/\/+$/, '') || effectiveRepoPath;
119
+ // Resolve or create repository entity for this path.
120
+ //
121
+ // Normalization: (1) convert backslashes to forward slashes,
122
+ // (2) strip trailing slashes.
123
+ //
124
+ // Step 2 is implemented as a while-loop specifically to work around a
125
+ // CodeQL js/polynomial-redos FALSE POSITIVE on the equivalent regex
126
+ // `/\/+$/`. That pattern is actually O(n) on V8 and all other modern
127
+ // regex engines (single character class, anchored to end, no alternation
128
+ // — there is no backtracking choice point). CodeQL's query is overly
129
+ // strict on quantifiers against tainted input and does not model this
130
+ // correctly. The loop produces identical output and suppresses the
131
+ // alert without requiring an inline dismissal comment.
132
+ let normalizedPath = effectiveRepoPath.replace(/\\/g, '/');
133
+ while (normalizedPath.length > 1 && normalizedPath.endsWith('/')) {
134
+ normalizedPath = normalizedPath.slice(0, -1);
135
+ }
136
+ if (!normalizedPath)
137
+ normalizedPath = effectiveRepoPath;
121
138
  let repository = await this.repositoryRepo.findByPath(normalizedPath);
122
139
  const now = new Date();
123
140
  if (!repository) {
@@ -167,6 +184,7 @@ let CreateFeatureUseCase = class CreateFeatureUseCase {
167
184
  specPath: '',
168
185
  repositoryId: repository.id,
169
186
  ...(input.parentId ? { parentId: input.parentId } : {}),
187
+ ...(input.permissionMode ? { permissionMode: input.permissionMode } : {}),
170
188
  createdAt: now,
171
189
  updatedAt: now,
172
190
  };
@@ -312,6 +330,7 @@ let CreateFeatureUseCase = class CreateFeatureUseCase {
312
330
  ...(input.fast ? { fast: true } : {}),
313
331
  ...(input.agentType ? { agentType: input.agentType } : {}),
314
332
  ...(input.model ? { model: input.model } : {}),
333
+ ...(input.permissionMode ? { permissionMode: input.permissionMode } : {}),
315
334
  });
316
335
  }
317
336
  return { warning, updatedFeature };
@@ -29,6 +29,8 @@ export interface CreateFeatureInput {
29
29
  agentType?: string;
30
30
  /** Optional model identifier forwarded to the agent executor for this invocation. */
31
31
  model?: string;
32
+ /** Per-feature permission mode override (overrides agent default from settings). */
33
+ permissionMode?: string;
32
34
  /** Attachment records to persist with the feature. */
33
35
  attachments?: Attachment[];
34
36
  /** Session ID for committing pending uploads (web UI flow). */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/use-cases/features/create/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAEjG,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iEAAiE;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0EAA0E;IAC1E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uFAAuF;IACvF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2DAA2D;IAC3D,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wEAAwE;IACxE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uEAAuE;IACvE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,4FAA4F;IAC5F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,8FAA8F;IAC9F,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,8EAA8E;AAC9E,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,WAAW,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/application/use-cases/features/create/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAEjG,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iEAAiE;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0EAA0E;IAC1E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uFAAuF;IACvF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2DAA2D;IAC3D,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wEAAwE;IACxE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uEAAuE;IACvE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,4FAA4F;IAC5F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sDAAsD;IACtD,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,8FAA8F;IAC9F,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,8EAA8E;AAC9E,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,WAAW,EAAE,OAAO,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"resume-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/resume-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAChH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAQlG,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,qBACa,oBAAoB;IAG7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBANf,WAAW,EAAE,kBAAkB,EAE/B,OAAO,EAAE,mBAAmB,EAE5B,cAAc,EAAE,2BAA2B,EAE3C,eAAe,EAAE,gBAAgB;IAG9C,OAAO,CACX,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,GAClC,OAAO,CAAC,mBAAmB,CAAC;CA4GhC"}
1
+ {"version":3,"file":"resume-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/resume-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAChH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAQlG,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,qBACa,oBAAoB;IAG7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBANf,WAAW,EAAE,kBAAkB,EAE/B,OAAO,EAAE,mBAAmB,EAE5B,cAAc,EAAE,2BAA2B,EAE3C,eAAe,EAAE,gBAAgB;IAG9C,OAAO,CACX,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,GAClC,OAAO,CAAC,mBAAmB,CAAC;CA6GhC"}
@@ -117,6 +117,7 @@ let ResumeFeatureUseCase = class ResumeFeatureUseCase {
117
117
  agentType: lastRun.agentType,
118
118
  ...(feature.fast ? { fast: true } : {}),
119
119
  ...(lastRun.modelId ? { model: lastRun.modelId } : {}),
120
+ ...(feature.permissionMode ? { permissionMode: feature.permissionMode } : {}),
120
121
  resumeReason: lastRun.status,
121
122
  });
122
123
  return { feature, newRun };
@@ -1 +1 @@
1
- {"version":3,"file":"start-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/start-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAChH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAGlG,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBANf,WAAW,EAAE,kBAAkB,EAE/B,OAAO,EAAE,mBAAmB,EAE5B,cAAc,EAAE,2BAA2B,EAE3C,eAAe,EAAE,gBAAgB;IAG9C,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAyG9D"}
1
+ {"version":3,"file":"start-feature.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/features/start-feature.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iEAAiE,CAAC;AAC1G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AACvG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8DAA8D,CAAC;AAChH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAGlG,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,qBACa,mBAAmB;IAG5B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAExB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAE/B,OAAO,CAAC,QAAQ,CAAC,eAAe;gBANf,WAAW,EAAE,kBAAkB,EAE/B,OAAO,EAAE,mBAAmB,EAE5B,cAAc,EAAE,2BAA2B,EAE3C,eAAe,EAAE,gBAAgB;IAG9C,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;CA0G9D"}
@@ -105,6 +105,7 @@ let StartFeatureUseCase = class StartFeatureUseCase {
105
105
  agentType: agentRun.agentType,
106
106
  ...(resolved.fast ? { fast: true } : {}),
107
107
  ...(agentRun.modelId ? { model: agentRun.modelId } : {}),
108
+ ...(resolved.permissionMode ? { permissionMode: resolved.permissionMode } : {}),
108
109
  });
109
110
  }
110
111
  return { feature: updatedFeature, agentRun };
@@ -16,6 +16,8 @@ export interface CompleteOnboardingInput {
16
16
  authMethod: AgentAuthMethod;
17
17
  token?: string;
18
18
  };
19
+ /** Permission mode selected for the agent, or undefined if skipped */
20
+ permissionMode?: string;
19
21
  ide: string;
20
22
  workflowDefaults: {
21
23
  allowPrd: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"complete-onboarding.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/settings/complete-onboarding.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,eAAe,EAEhB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAE5G;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE;QACL,IAAI,EAAE,SAAS,CAAC;QAChB,UAAU,EAAE,eAAe,CAAC;QAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE;QAChB,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,EAAE,OAAO,CAAC;QACpB,4BAA4B,EAAE,OAAO,CAAC;QACtC,8BAA8B,EAAE,OAAO,CAAC;KACzC,CAAC;CACH;AAED;;;;GAIG;AACH,qBACa,yBAAyB;IAGlC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAGpD,OAAO,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC;CAkCjE"}
1
+ {"version":3,"file":"complete-onboarding.use-case.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/application/use-cases/settings/complete-onboarding.use-case.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,eAAe,EAGhB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAc5G;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE;QACL,IAAI,EAAE,SAAS,CAAC;QAChB,UAAU,EAAE,eAAe,CAAC;QAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE;QAChB,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,OAAO,CAAC;QACnB,UAAU,EAAE,OAAO,CAAC;QACpB,4BAA4B,EAAE,OAAO,CAAC;QACtC,8BAA8B,EAAE,OAAO,CAAC;KACzC,CAAC;CACH;AAED;;;;GAIG;AACH,qBACa,yBAAyB;IAGlC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,mBAAmB;IAGpD,OAAO,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC;CA+CjE"}
@@ -18,6 +18,17 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
18
18
  return function (target, key) { decorator(target, key, paramIndex); }
19
19
  };
20
20
  import { injectable, inject } from 'tsyringe';
21
+ /**
22
+ * Maps AgentType enum values to their corresponding AgentPermissionSettings key.
23
+ */
24
+ const PERMISSION_KEY_BY_AGENT = {
25
+ 'claude-code': 'claudeCode',
26
+ cursor: 'cursor',
27
+ 'gemini-cli': 'geminiCli',
28
+ 'codex-cli': 'codexCli',
29
+ 'copilot-cli': 'copilotCli',
30
+ 'rovo-dev': 'rovoDev',
31
+ };
21
32
  /**
22
33
  * Use case for completing first-run onboarding.
23
34
  * Loads current settings, merges wizard results, sets onboardingComplete=true,
@@ -33,12 +44,24 @@ let CompleteOnboardingUseCase = class CompleteOnboardingUseCase {
33
44
  if (!settings) {
34
45
  throw new Error('Settings not found. Please run initialization first.');
35
46
  }
47
+ // Build permissions: start from current or defaults, then overlay any chosen mode
48
+ let permissions = settings.agent.permissions;
49
+ if (input.permissionMode !== undefined) {
50
+ const key = PERMISSION_KEY_BY_AGENT[input.agent.type];
51
+ if (key) {
52
+ permissions = {
53
+ ...permissions,
54
+ [key]: input.permissionMode,
55
+ };
56
+ }
57
+ }
36
58
  const updatedSettings = {
37
59
  ...settings,
38
60
  agent: {
39
61
  type: input.agent.type,
40
62
  authMethod: input.agent.authMethod,
41
63
  ...(input.agent.token !== undefined && { token: input.agent.token }),
64
+ ...(permissions !== undefined && { permissions }),
42
65
  },
43
66
  environment: {
44
67
  ...settings.environment,
@@ -1 +1 @@
1
- {"version":3,"file":"settings-defaults.factory.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/domain/factories/settings-defaults.factory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EACV,QAAQ,EAUT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAA8B,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AA4C3F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,CAAC,EAAE;IAChD,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC,GAAG,QAAQ,CAsFX"}
1
+ {"version":3,"file":"settings-defaults.factory.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/domain/factories/settings-defaults.factory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EACV,QAAQ,EAUT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,UAAU,EACV,YAAY,EAOb,MAAM,qBAAqB,CAAC;AA4C7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,CAAC,EAAE;IAChD,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC,GAAG,QAAQ,CA8FX"}
@@ -11,7 +11,7 @@
11
11
  * - Auto-update enabled, log level set to info
12
12
  * - Unique IDs and timestamps generated for each instance
13
13
  */
14
- import { AgentType, AgentAuthMethod, EditorType, TerminalType } from '../generated/output.js';
14
+ import { AgentType, AgentAuthMethod, EditorType, TerminalType, ClaudeCodePermissionMode, CursorPermissionMode, GeminiPermissionMode, CodexPermissionMode, CopilotPermissionMode, RovoDevPermissionMode, } from '../generated/output.js';
15
15
  /**
16
16
  * Default AI model for all SDLC agents.
17
17
  * Provides balanced performance and cost for all workflow stages.
@@ -98,6 +98,14 @@ export function createDefaultSettings(overrides) {
98
98
  const agent = {
99
99
  type: DEFAULT_AGENT_TYPE,
100
100
  authMethod: DEFAULT_AUTH_METHOD,
101
+ permissions: {
102
+ claudeCode: ClaudeCodePermissionMode.BypassPermissions,
103
+ cursor: CursorPermissionMode.Yolo,
104
+ geminiCli: GeminiPermissionMode.Yolo,
105
+ codexCli: CodexPermissionMode.DangerFullAccess,
106
+ copilotCli: CopilotPermissionMode.Yolo,
107
+ rovoDev: RovoDevPermissionMode.Yolo,
108
+ },
101
109
  };
102
110
  const notifications = {
103
111
  inApp: { enabled: true },
@@ -440,6 +440,65 @@ export type WorkflowConfig = {
440
440
  */
441
441
  autoArchiveDelayMinutes?: number;
442
442
  };
443
+ export declare enum ClaudeCodePermissionMode {
444
+ Default = "default",
445
+ AcceptEdits = "acceptEdits",
446
+ Plan = "plan",
447
+ BypassPermissions = "bypassPermissions"
448
+ }
449
+ export declare enum CursorPermissionMode {
450
+ Propose = "propose",
451
+ Yolo = "yolo"
452
+ }
453
+ export declare enum GeminiPermissionMode {
454
+ Default = "default",
455
+ AutoEdit = "auto_edit",
456
+ Yolo = "yolo"
457
+ }
458
+ export declare enum CodexPermissionMode {
459
+ ReadOnly = "read-only",
460
+ WorkspaceWrite = "workspace-write",
461
+ DangerFullAccess = "danger-full-access"
462
+ }
463
+ export declare enum CopilotPermissionMode {
464
+ Prompt = "prompt",
465
+ AllowPaths = "allow-paths",
466
+ Yolo = "yolo"
467
+ }
468
+ export declare enum RovoDevPermissionMode {
469
+ Config = "config",
470
+ Shadow = "shadow",
471
+ Yolo = "yolo"
472
+ }
473
+ /**
474
+ * Per-agent permission mode overrides
475
+ */
476
+ export type AgentPermissionSettings = {
477
+ /**
478
+ * Claude Code permission mode (default: bypassPermissions)
479
+ */
480
+ claudeCode?: ClaudeCodePermissionMode;
481
+ /**
482
+ * Cursor permission mode (default: yolo)
483
+ */
484
+ cursor?: CursorPermissionMode;
485
+ /**
486
+ * Gemini CLI permission mode (default: yolo)
487
+ */
488
+ geminiCli?: GeminiPermissionMode;
489
+ /**
490
+ * Codex CLI sandbox mode (default: danger-full-access)
491
+ */
492
+ codexCli?: CodexPermissionMode;
493
+ /**
494
+ * Copilot CLI permission mode (default: yolo)
495
+ */
496
+ copilotCli?: CopilotPermissionMode;
497
+ /**
498
+ * Rovo Dev CLI permission mode (default: yolo)
499
+ */
500
+ rovoDev?: RovoDevPermissionMode;
501
+ };
443
502
  export declare enum AgentType {
444
503
  ClaudeCode = "claude-code",
445
504
  CodexCli = "codex-cli",
@@ -448,8 +507,7 @@ export declare enum AgentType {
448
507
  Continue = "continue",
449
508
  CopilotCli = "copilot-cli",
450
509
  RovoDev = "rovo-dev",
451
- Cursor = "cursor",
452
- Dev = "dev"
510
+ Cursor = "cursor"
453
511
  }
454
512
  export declare enum AgentAuthMethod {
455
513
  Session = "session",
@@ -471,6 +529,10 @@ export type AgentConfig = {
471
529
  * API token for token-based auth (optional)
472
530
  */
473
531
  token?: string;
532
+ /**
533
+ * Per-agent permission mode overrides
534
+ */
535
+ permissions?: AgentPermissionSettings;
474
536
  };
475
537
  /**
476
538
  * Notification channel enable/disable configuration
@@ -1048,6 +1110,10 @@ export type Feature = SoftDeletableEntity & {
1048
1110
  * Files attached by the user when creating or messaging this feature
1049
1111
  */
1050
1112
  attachments?: Attachment[];
1113
+ /**
1114
+ * Per-feature permission mode override (overrides agent default from settings)
1115
+ */
1116
+ permissionMode?: string;
1051
1117
  };
1052
1118
  /**
1053
1119
  * External link with title and URL