@shepai/cli 1.169.1-pr526.8e89740 → 1.170.0-pr513.cff27cb

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 (533) hide show
  1. package/apis/json-schema/Feature.yaml +27 -5
  2. package/apis/json-schema/FeatureMode.yaml +8 -0
  3. package/apis/json-schema/SdlcLifecycle.yaml +1 -0
  4. package/apis/json-schema/SkillInjectionConfig.yaml +17 -0
  5. package/apis/json-schema/SkillSource.yaml +21 -0
  6. package/apis/json-schema/SkillSourceType.yaml +7 -0
  7. package/apis/json-schema/WorkflowConfig.yaml +13 -5
  8. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts +2 -2
  9. package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -1
  10. package/dist/packages/core/src/application/ports/output/services/index.d.ts +1 -0
  11. package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
  12. package/dist/packages/core/src/application/ports/output/services/skill-injector.interface.d.ts +39 -0
  13. package/dist/packages/core/src/application/ports/output/services/skill-injector.interface.d.ts.map +1 -0
  14. package/dist/packages/core/src/application/ports/output/services/skill-injector.interface.js +8 -0
  15. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts +4 -3
  16. package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -1
  17. package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.js +2 -2
  18. package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.js +2 -2
  19. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.d.ts.map +1 -1
  20. package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.js +4 -2
  21. package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.js +2 -2
  22. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts +3 -1
  23. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
  24. package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +40 -10
  25. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +5 -2
  26. package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
  27. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -1
  28. package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.js +13 -0
  29. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts +40 -0
  30. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts.map +1 -0
  31. package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.js +125 -0
  32. package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +2 -2
  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 +5 -3
  35. package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
  36. package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +57 -2
  37. package/dist/packages/core/src/domain/generated/output.d.ts +72 -4
  38. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  39. package/dist/packages/core/src/domain/generated/output.js +12 -0
  40. package/dist/packages/core/src/domain/lifecycle-gates.d.ts +21 -6
  41. package/dist/packages/core/src/domain/lifecycle-gates.d.ts.map +1 -1
  42. package/dist/packages/core/src/domain/lifecycle-gates.js +25 -6
  43. package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
  44. package/dist/packages/core/src/infrastructure/di/container.js +7 -0
  45. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +5 -1
  46. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -1
  47. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.js +16 -4
  48. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +4 -1
  49. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
  50. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +34 -2
  51. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts +19 -0
  52. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts.map +1 -0
  53. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.js +46 -0
  54. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts +17 -0
  55. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts.map +1 -0
  56. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.js +37 -0
  57. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts +12 -0
  58. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts.map +1 -0
  59. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.js +17 -0
  60. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-skill-injection-config.d.ts +15 -0
  61. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-skill-injection-config.d.ts.map +1 -0
  62. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-skill-injection-config.js +23 -0
  63. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-injected-skills-to-features.d.ts +11 -0
  64. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-injected-skills-to-features.d.ts.map +1 -0
  65. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-injected-skills-to-features.js +19 -0
  66. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -1
  67. package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.js +13 -7
  68. package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +3 -3
  69. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts +362 -0
  70. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts.map +1 -0
  71. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.js +72 -0
  72. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +20 -0
  73. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -1
  74. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +68 -0
  75. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
  76. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +2 -2
  77. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
  78. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +3 -3
  79. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +2 -2
  80. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
  81. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +19 -8
  82. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.d.ts.map +1 -1
  83. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.js +1 -0
  84. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts +18 -0
  85. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts.map +1 -0
  86. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.js +52 -0
  87. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.d.ts.map +1 -1
  88. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/merge/merge.node.js +39 -20
  89. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
  90. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +1 -0
  91. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts +24 -0
  92. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts.map +1 -0
  93. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.js +38 -0
  94. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts +31 -0
  95. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts.map +1 -0
  96. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.js +240 -0
  97. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts +21 -0
  98. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts.map +1 -0
  99. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.js +134 -0
  100. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts +4 -0
  101. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -1
  102. package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.js +17 -0
  103. package/dist/packages/core/src/infrastructure/services/git/git-fork.service.d.ts +5 -0
  104. package/dist/packages/core/src/infrastructure/services/git/git-fork.service.d.ts.map +1 -1
  105. package/dist/packages/core/src/infrastructure/services/git/git-fork.service.js +34 -0
  106. package/dist/packages/core/src/infrastructure/services/skill-injector.service.d.ts +26 -0
  107. package/dist/packages/core/src/infrastructure/services/skill-injector.service.d.ts.map +1 -0
  108. package/dist/packages/core/src/infrastructure/services/skill-injector.service.js +201 -0
  109. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts +1 -1
  110. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -1
  111. package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.js +7 -4
  112. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts +12 -0
  113. package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts.map +1 -0
  114. package/dist/src/presentation/cli/commands/feat/feedback.command.js +64 -0
  115. package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
  116. package/dist/src/presentation/cli/commands/feat/index.js +5 -1
  117. package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
  118. package/dist/src/presentation/cli/commands/feat/new.command.js +21 -5
  119. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts +13 -0
  120. package/dist/src/presentation/cli/commands/feat/promote.command.d.ts.map +1 -0
  121. package/dist/src/presentation/cli/commands/feat/promote.command.js +41 -0
  122. package/dist/src/presentation/web/app/actions/add-injected-skill.d.ts +7 -0
  123. package/dist/src/presentation/web/app/actions/add-injected-skill.d.ts.map +1 -0
  124. package/dist/src/presentation/web/app/actions/add-injected-skill.js +34 -0
  125. package/dist/src/presentation/web/app/actions/create-feature.d.ts +5 -2
  126. package/dist/src/presentation/web/app/actions/create-feature.d.ts.map +1 -1
  127. package/dist/src/presentation/web/app/actions/create-feature.js +5 -3
  128. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts +9 -0
  129. package/dist/src/presentation/web/app/actions/discard-exploration.d.ts.map +1 -0
  130. package/dist/src/presentation/web/app/actions/discard-exploration.js +29 -0
  131. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts +3 -1
  132. package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts.map +1 -1
  133. package/dist/src/presentation/web/app/actions/get-workflow-defaults.js +3 -1
  134. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts +11 -0
  135. package/dist/src/presentation/web/app/actions/promote-exploration.d.ts.map +1 -0
  136. package/dist/src/presentation/web/app/actions/promote-exploration.js +21 -0
  137. package/dist/src/presentation/web/app/actions/remove-injected-skill.d.ts +6 -0
  138. package/dist/src/presentation/web/app/actions/remove-injected-skill.d.ts.map +1 -0
  139. package/dist/src/presentation/web/app/actions/remove-injected-skill.js +35 -0
  140. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts +12 -0
  141. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts.map +1 -0
  142. package/dist/src/presentation/web/app/actions/submit-exploration-feedback.js +40 -0
  143. package/dist/src/presentation/web/app/api/agent-events/route.d.ts.map +1 -1
  144. package/dist/src/presentation/web/app/api/agent-events/route.js +1 -0
  145. package/dist/src/presentation/web/app/build-feature-node-data.d.ts.map +1 -1
  146. package/dist/src/presentation/web/app/build-feature-node-data.js +6 -2
  147. package/dist/src/presentation/web/app/build-graph-nodes.js +4 -2
  148. package/dist/src/presentation/web/app/skills/page.d.ts.map +1 -1
  149. package/dist/src/presentation/web/app/skills/page.js +6 -1
  150. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts +1 -1
  151. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts.map +1 -1
  152. package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.js +3 -0
  153. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.d.ts.map +1 -1
  154. package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js +65 -1
  155. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +5 -2
  156. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
  157. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +20 -12
  158. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts.map +1 -1
  159. package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.js +3 -1
  160. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts +8 -0
  161. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts.map +1 -0
  162. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.js +33 -0
  163. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts +10 -0
  164. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts.map +1 -0
  165. package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.js +33 -0
  166. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts +6 -1
  167. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts.map +1 -1
  168. package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +16 -4
  169. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.d.ts.map +1 -1
  170. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.js +10 -4
  171. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.stories.d.ts +2 -0
  172. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.stories.d.ts.map +1 -1
  173. package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.stories.js +12 -0
  174. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts +11 -0
  175. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts.map +1 -0
  176. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.js +34 -0
  177. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts +16 -0
  178. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts.map +1 -0
  179. package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.js +70 -0
  180. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -1
  181. package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +2 -0
  182. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +10 -2
  183. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
  184. package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js +12 -0
  185. package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
  186. package/dist/src/presentation/web/components/common/feature-node/feature-node.js +7 -2
  187. package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
  188. package/dist/src/presentation/web/components/features/settings/settings-page-client.js +6 -6
  189. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +3 -3
  190. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.d.ts +10 -0
  191. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.d.ts.map +1 -0
  192. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.js +56 -0
  193. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.stories.d.ts +16 -0
  194. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.stories.d.ts.map +1 -0
  195. package/dist/src/presentation/web/components/features/skills/add-skill-dialog.stories.js +66 -0
  196. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.d.ts +8 -0
  197. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.d.ts.map +1 -0
  198. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.js +42 -0
  199. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.stories.d.ts +16 -0
  200. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.stories.d.ts.map +1 -0
  201. package/dist/src/presentation/web/components/features/skills/auto-injected-skills-section.stories.js +69 -0
  202. package/dist/src/presentation/web/components/features/skills/skills-page-client.d.ts +3 -1
  203. package/dist/src/presentation/web/components/features/skills/skills-page-client.d.ts.map +1 -1
  204. package/dist/src/presentation/web/components/features/skills/skills-page-client.js +5 -3
  205. package/dist/src/presentation/web/components/features/skills/skills-page-client.stories.d.ts +1 -0
  206. package/dist/src/presentation/web/components/features/skills/skills-page-client.stories.d.ts.map +1 -1
  207. package/dist/src/presentation/web/components/features/skills/skills-page-client.stories.js +27 -0
  208. package/dist/src/presentation/web/components/ui/toggle-group.d.ts +10 -0
  209. package/dist/src/presentation/web/components/ui/toggle-group.d.ts.map +1 -0
  210. package/dist/src/presentation/web/components/ui/toggle-group.js +22 -0
  211. package/dist/src/presentation/web/components/ui/toggle.d.ts +10 -0
  212. package/dist/src/presentation/web/components/ui/toggle.d.ts.map +1 -0
  213. package/dist/src/presentation/web/components/ui/toggle.js +26 -0
  214. package/dist/translations/ar/cli.json +26 -0
  215. package/dist/translations/ar/web.json +21 -13
  216. package/dist/translations/de/cli.json +26 -0
  217. package/dist/translations/de/web.json +41 -19
  218. package/dist/translations/en/cli.json +26 -0
  219. package/dist/translations/en/web.json +10 -2
  220. package/dist/translations/es/cli.json +26 -0
  221. package/dist/translations/es/web.json +22 -14
  222. package/dist/translations/fr/cli.json +26 -0
  223. package/dist/translations/fr/web.json +22 -14
  224. package/dist/translations/he/cli.json +26 -0
  225. package/dist/translations/he/web.json +22 -14
  226. package/dist/translations/pt/cli.json +26 -0
  227. package/dist/translations/pt/web.json +22 -14
  228. package/dist/translations/ru/cli.json +26 -0
  229. package/dist/translations/ru/web.json +22 -14
  230. package/dist/tsconfig.build.tsbuildinfo +1 -1
  231. package/package.json +1 -1
  232. package/web/.next/BUILD_ID +1 -1
  233. package/web/.next/build-manifest.json +5 -5
  234. package/web/.next/fallback-build-manifest.json +2 -2
  235. package/web/.next/prerender-manifest.json +3 -3
  236. package/web/.next/required-server-files.js +2 -2
  237. package/web/.next/required-server-files.json +2 -2
  238. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/build-manifest.json +3 -3
  239. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
  240. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +1 -1
  241. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  242. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  243. package/web/.next/server/app/(dashboard)/@drawer/chat/page/build-manifest.json +3 -3
  244. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
  245. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +1 -1
  246. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  247. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  248. package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +3 -3
  249. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +30 -30
  250. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +1 -1
  251. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  252. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  253. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
  254. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +121 -76
  255. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -2
  256. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  257. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  258. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +3 -3
  259. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +121 -76
  260. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -2
  261. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  262. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  263. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
  264. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  265. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +1 -1
  266. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  267. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  268. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +3 -3
  269. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  270. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +1 -1
  271. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  272. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  273. package/web/.next/server/app/(dashboard)/chat/page/build-manifest.json +3 -3
  274. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
  275. package/web/.next/server/app/(dashboard)/chat/page.js +1 -1
  276. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  277. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  278. package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +3 -3
  279. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +30 -30
  280. package/web/.next/server/app/(dashboard)/create/page.js +1 -1
  281. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  282. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  283. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
  284. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +121 -76
  285. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -2
  286. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  287. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  288. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +3 -3
  289. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +121 -76
  290. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -2
  291. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  292. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  293. package/web/.next/server/app/(dashboard)/page/build-manifest.json +3 -3
  294. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
  295. package/web/.next/server/app/(dashboard)/page.js +1 -1
  296. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  297. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  298. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
  299. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  300. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +1 -1
  301. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  302. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  303. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +3 -3
  304. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  305. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +1 -1
  306. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  307. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  308. package/web/.next/server/app/_global-error/page/build-manifest.json +3 -3
  309. package/web/.next/server/app/_global-error.html +2 -2
  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/build-manifest.json +3 -3
  317. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
  318. package/web/.next/server/app/_not-found/page.js +1 -1
  319. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  320. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  321. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  322. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  323. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  324. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  325. package/web/.next/server/app/features/page/build-manifest.json +3 -3
  326. package/web/.next/server/app/features/page/server-reference-manifest.json +6 -6
  327. package/web/.next/server/app/features/page.js +1 -1
  328. package/web/.next/server/app/features/page.js.nft.json +1 -1
  329. package/web/.next/server/app/features/page_client-reference-manifest.js +1 -1
  330. package/web/.next/server/app/settings/page/build-manifest.json +3 -3
  331. package/web/.next/server/app/settings/page/server-reference-manifest.json +9 -9
  332. package/web/.next/server/app/settings/page.js +3 -3
  333. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  334. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  335. package/web/.next/server/app/skills/page/build-manifest.json +3 -3
  336. package/web/.next/server/app/skills/page/server-reference-manifest.json +52 -22
  337. package/web/.next/server/app/skills/page.js +3 -2
  338. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  339. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  340. package/web/.next/server/app/tools/page/build-manifest.json +3 -3
  341. package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
  342. package/web/.next/server/app/tools/page.js +1 -1
  343. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  344. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  345. package/web/.next/server/app/version/page/build-manifest.json +3 -3
  346. package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
  347. package/web/.next/server/app/version/page.js +1 -1
  348. package/web/.next/server/app/version/page.js.nft.json +1 -1
  349. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  350. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
  351. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
  352. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js +1 -1
  353. package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -1
  354. package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
  355. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +1 -1
  356. package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js.map +1 -1
  357. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
  358. package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
  359. package/web/.next/server/chunks/ssr/{_0727935d._.js → 403f9_next_8a33ddee._.js} +2 -2
  360. package/web/.next/server/chunks/ssr/403f9_next_8a33ddee._.js.map +1 -0
  361. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
  362. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
  363. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +3 -3
  364. package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
  365. package/web/.next/server/chunks/ssr/[root-of-the-server]__03c66352._.js +4 -0
  366. package/web/.next/server/chunks/ssr/[root-of-the-server]__03c66352._.js.map +1 -0
  367. package/web/.next/server/chunks/ssr/{[root-of-the-server]__e88da4ee._.js → [root-of-the-server]__1cd4327c._.js} +2 -2
  368. package/web/.next/server/chunks/ssr/[root-of-the-server]__1cd4327c._.js.map +1 -0
  369. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +1 -1
  370. package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +1 -1
  371. package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
  372. package/web/.next/server/chunks/ssr/[root-of-the-server]__403afc23._.js +4 -0
  373. package/web/.next/server/chunks/ssr/[root-of-the-server]__403afc23._.js.map +1 -0
  374. package/web/.next/server/chunks/ssr/[root-of-the-server]__4ed9b909._.js +1 -1
  375. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +1 -1
  376. package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +1 -1
  377. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js +1 -1
  378. package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js.map +1 -1
  379. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +1 -1
  380. package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +1 -1
  381. package/web/.next/server/chunks/ssr/{[root-of-the-server]__7ffd3598._.js → [root-of-the-server]__92ffd5ee._.js} +3 -3
  382. package/web/.next/server/chunks/ssr/[root-of-the-server]__92ffd5ee._.js.map +1 -0
  383. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js +2 -2
  384. package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js.map +1 -1
  385. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +1 -1
  386. package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +1 -1
  387. package/web/.next/server/chunks/ssr/[root-of-the-server]__c1262d08._.js +1 -1
  388. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +1 -1
  389. package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +1 -1
  390. package/web/.next/server/chunks/ssr/[root-of-the-server]__df550e85._.js +3 -0
  391. package/web/.next/server/chunks/ssr/[root-of-the-server]__df550e85._.js.map +1 -0
  392. package/web/.next/server/chunks/ssr/[root-of-the-server]__df5602bf._.js +4 -0
  393. package/web/.next/server/chunks/ssr/[root-of-the-server]__df5602bf._.js.map +1 -0
  394. package/web/.next/server/chunks/ssr/[root-of-the-server]__e9f4767a._.js +4 -0
  395. package/web/.next/server/chunks/ssr/[root-of-the-server]__e9f4767a._.js.map +1 -0
  396. package/web/.next/server/chunks/ssr/_02e01240._.js +1 -1
  397. package/web/.next/server/chunks/ssr/_02e01240._.js.map +1 -1
  398. package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
  399. package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
  400. package/web/.next/server/chunks/ssr/{_97ba1e88._.js → _0fd635d7._.js} +2 -2
  401. package/web/.next/server/chunks/ssr/_0fd635d7._.js.map +1 -0
  402. package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
  403. package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
  404. package/web/.next/server/chunks/ssr/_18886033._.js +1 -1
  405. package/web/.next/server/chunks/ssr/_18886033._.js.map +1 -1
  406. package/web/.next/server/chunks/ssr/_22e00a14._.js +1 -1
  407. package/web/.next/server/chunks/ssr/_22e00a14._.js.map +1 -1
  408. package/web/.next/server/chunks/ssr/_30ddea9d._.js +9 -0
  409. package/web/.next/server/chunks/ssr/_30ddea9d._.js.map +1 -0
  410. package/web/.next/server/chunks/ssr/{_cbeb3852._.js → _34d897da._.js} +2 -2
  411. package/web/.next/server/chunks/ssr/{_cbeb3852._.js.map → _34d897da._.js.map} +1 -1
  412. package/web/.next/server/chunks/ssr/_45496654._.js +3 -0
  413. package/web/.next/server/chunks/ssr/_45496654._.js.map +1 -0
  414. package/web/.next/server/chunks/ssr/_4cbb7f95._.js +1 -1
  415. package/web/.next/server/chunks/ssr/_4cbb7f95._.js.map +1 -1
  416. package/web/.next/server/chunks/ssr/_5119a3df._.js +1 -1
  417. package/web/.next/server/chunks/ssr/_5119a3df._.js.map +1 -1
  418. package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
  419. package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
  420. package/web/.next/server/chunks/ssr/_6e79a2cc._.js +3 -0
  421. package/web/.next/server/chunks/ssr/_6e79a2cc._.js.map +1 -0
  422. package/web/.next/server/chunks/ssr/_6f35fb9a._.js +3 -0
  423. package/web/.next/server/chunks/ssr/_6f35fb9a._.js.map +1 -0
  424. package/web/.next/server/chunks/ssr/_a5a5901d._.js +1 -1
  425. package/web/.next/server/chunks/ssr/_a5a5901d._.js.map +1 -1
  426. package/web/.next/server/chunks/ssr/_ad09f271._.js +1 -1
  427. package/web/.next/server/chunks/ssr/_ad09f271._.js.map +1 -1
  428. package/web/.next/server/chunks/ssr/_c3f595c6._.js +1 -1
  429. package/web/.next/server/chunks/ssr/_c3f595c6._.js.map +1 -1
  430. package/web/.next/server/chunks/ssr/_cac4abe6._.js +3 -0
  431. package/web/.next/server/chunks/ssr/_cac4abe6._.js.map +1 -0
  432. package/web/.next/server/chunks/ssr/_df737cce._.js +3 -0
  433. package/web/.next/server/chunks/ssr/_df737cce._.js.map +1 -0
  434. package/web/.next/server/chunks/ssr/_ea9e1556._.js +1 -1
  435. package/web/.next/server/chunks/ssr/_ea9e1556._.js.map +1 -1
  436. package/web/.next/server/chunks/ssr/_f1ba9be6._.js +2 -2
  437. package/web/.next/server/chunks/ssr/_f1ba9be6._.js.map +1 -1
  438. package/web/.next/server/chunks/ssr/_f33cd07e._.js +2 -2
  439. package/web/.next/server/chunks/ssr/_f33cd07e._.js.map +1 -1
  440. package/web/.next/server/chunks/ssr/_f8b45233._.js +1 -1
  441. package/web/.next/server/chunks/ssr/_f8b45233._.js.map +1 -1
  442. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
  443. package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
  444. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
  445. package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
  446. package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js +3 -0
  447. package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js.map +1 -0
  448. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js +3 -0
  449. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js.map +1 -0
  450. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +1 -1
  451. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
  452. package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
  453. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
  454. package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
  455. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
  456. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
  457. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js +3 -0
  458. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js.map +1 -0
  459. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +1 -1
  460. package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js.map +1 -1
  461. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
  462. package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
  463. package/web/.next/server/middleware-build-manifest.js +3 -3
  464. package/web/.next/server/pages/500.html +2 -2
  465. package/web/.next/server/server-reference-manifest.js +1 -1
  466. package/web/.next/server/server-reference-manifest.json +349 -211
  467. package/web/.next/static/chunks/{bd793f5313d21cef.js → 0769c695d6b663c7.js} +1 -1
  468. package/web/.next/static/chunks/09a25231e5fc1ab8.js +3 -0
  469. package/web/.next/static/chunks/{1b25af1545d4fe75.js → 0f30a983f3467cd5.js} +1 -1
  470. package/web/.next/static/chunks/185e4f36cb6efb24.js +1 -0
  471. package/web/.next/static/chunks/{d5366257d6b9f855.js → 2a9af061f4fbe7f5.js} +1 -1
  472. package/web/.next/static/chunks/2ceebcc839ee0d4b.js +1 -0
  473. package/web/.next/static/chunks/{ff8f6b0cd99a48f0.js → 37f9543560c58ea6.js} +1 -1
  474. package/web/.next/static/chunks/{6d13105df94166ea.js → 4219ddfde68a6d0b.js} +1 -1
  475. package/web/.next/static/chunks/{b1ca3617f9e0b324.js → 478adf5d5156f002.js} +1 -1
  476. package/web/.next/static/chunks/52681a7f14138e48.js +1 -0
  477. package/web/.next/static/chunks/5743a9c1c63e5261.js +5 -0
  478. package/web/.next/static/chunks/5cf9745e2ef3837c.js +1 -0
  479. package/web/.next/static/chunks/5e20f692bbfcfb94.js +7 -0
  480. package/web/.next/static/chunks/74729cbad964be13.js +1 -0
  481. package/web/.next/static/chunks/{294b5af681c0f97c.js → 9a78b4c5dcd28196.js} +2 -2
  482. package/web/.next/static/chunks/c80e8e3d0cf5baa6.css +1 -0
  483. package/web/.next/static/chunks/cc5fe8d1d9e1e519.js +5 -0
  484. package/web/.next/static/chunks/d5bf9c963b5346e1.js +1 -0
  485. package/web/.next/static/chunks/d60cee2e7318f425.js +1 -0
  486. package/web/.next/static/chunks/da565c85277c2461.js +1 -0
  487. package/web/.next/static/chunks/e93ae5725b0babeb.js +1 -0
  488. package/web/.next/static/chunks/fb89cf91c10b2e8b.js +1 -0
  489. package/web/.next/static/chunks/{f06e7cf3b04606a9.js → fc595d95626ac9bb.js} +1 -1
  490. package/web/.next/static/chunks/{turbopack-57bb0674e2cd1d31.js → turbopack-b38a68b1b1c41a87.js} +1 -1
  491. package/web/.next/server/chunks/ssr/[root-of-the-server]__20a36a42._.js +0 -3
  492. package/web/.next/server/chunks/ssr/[root-of-the-server]__20a36a42._.js.map +0 -1
  493. package/web/.next/server/chunks/ssr/[root-of-the-server]__4fb81977._.js +0 -4
  494. package/web/.next/server/chunks/ssr/[root-of-the-server]__4fb81977._.js.map +0 -1
  495. package/web/.next/server/chunks/ssr/[root-of-the-server]__7dcd0917._.js +0 -4
  496. package/web/.next/server/chunks/ssr/[root-of-the-server]__7dcd0917._.js.map +0 -1
  497. package/web/.next/server/chunks/ssr/[root-of-the-server]__7ffd3598._.js.map +0 -1
  498. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba7f5873._.js +0 -4
  499. package/web/.next/server/chunks/ssr/[root-of-the-server]__ba7f5873._.js.map +0 -1
  500. package/web/.next/server/chunks/ssr/[root-of-the-server]__c5e09f6f._.js +0 -4
  501. package/web/.next/server/chunks/ssr/[root-of-the-server]__c5e09f6f._.js.map +0 -1
  502. package/web/.next/server/chunks/ssr/[root-of-the-server]__e88da4ee._.js.map +0 -1
  503. package/web/.next/server/chunks/ssr/_0727935d._.js.map +0 -1
  504. package/web/.next/server/chunks/ssr/_0dc06d07._.js +0 -3
  505. package/web/.next/server/chunks/ssr/_0dc06d07._.js.map +0 -1
  506. package/web/.next/server/chunks/ssr/_52a9052c._.js +0 -3
  507. package/web/.next/server/chunks/ssr/_52a9052c._.js.map +0 -1
  508. package/web/.next/server/chunks/ssr/_682fc996._.js +0 -9
  509. package/web/.next/server/chunks/ssr/_682fc996._.js.map +0 -1
  510. package/web/.next/server/chunks/ssr/_6892e3b9._.js +0 -3
  511. package/web/.next/server/chunks/ssr/_6892e3b9._.js.map +0 -1
  512. package/web/.next/server/chunks/ssr/_97ba1e88._.js.map +0 -1
  513. package/web/.next/server/chunks/ssr/_a1068852._.js +0 -3
  514. package/web/.next/server/chunks/ssr/_a1068852._.js.map +0 -1
  515. package/web/.next/server/chunks/ssr/node_modules__pnpm_12a7ede0._.js +0 -3
  516. package/web/.next/server/chunks/ssr/node_modules__pnpm_12a7ede0._.js.map +0 -1
  517. package/web/.next/static/chunks/14dd572f1096c435.js +0 -1
  518. package/web/.next/static/chunks/20f7cc98a013b11c.js +0 -1
  519. package/web/.next/static/chunks/4cec255f2754e5ec.js +0 -1
  520. package/web/.next/static/chunks/507597d4ee67da52.js +0 -5
  521. package/web/.next/static/chunks/5b7275374d2696b3.css +0 -1
  522. package/web/.next/static/chunks/647140fe96a7c88a.js +0 -1
  523. package/web/.next/static/chunks/688aa1f1c444e691.js +0 -1
  524. package/web/.next/static/chunks/6d6f70ff5151b8cb.js +0 -7
  525. package/web/.next/static/chunks/6e6f02f79befe9a0.js +0 -1
  526. package/web/.next/static/chunks/982aef195c118996.js +0 -1
  527. package/web/.next/static/chunks/c3ef3b892f7794ec.js +0 -1
  528. package/web/.next/static/chunks/cc5eb740be9562f5.js +0 -1
  529. package/web/.next/static/chunks/dc134f3f58cdf850.js +0 -5
  530. package/web/.next/static/chunks/e4523284672b11e5.js +0 -3
  531. /package/web/.next/static/{tylqydlwEYLIq1IbKLtlP → G895CgnbZl4YvWN_DaRC-}/_buildManifest.js +0 -0
  532. /package/web/.next/static/{tylqydlwEYLIq1IbKLtlP → G895CgnbZl4YvWN_DaRC-}/_clientMiddlewareManifest.json +0 -0
  533. /package/web/.next/static/{tylqydlwEYLIq1IbKLtlP → G895CgnbZl4YvWN_DaRC-}/_ssgManifest.js +0 -0
@@ -1,9 +1,10 @@
1
1
  /**
2
- * Lifecycle gate constants for feature dependency blocking logic.
2
+ * Lifecycle gate constants for feature dependency blocking and
3
+ * exploration mode transition validation.
3
4
  *
4
- * Centralises the POST_IMPLEMENTATION membership check used by both
5
- * CreateFeatureUseCase (gate evaluation at creation time) and
6
- * CheckAndUnblockFeaturesUseCase (gate evaluation at unblock time).
5
+ * Centralises membership checks used by:
6
+ * - CreateFeatureUseCase / CheckAndUnblockFeaturesUseCase (dependency gates)
7
+ * - PromoteExplorationUseCase (exploration mode transitions)
7
8
  */
8
9
  import { SdlcLifecycle } from './generated/output.js';
9
10
  /**
@@ -12,8 +13,22 @@ import { SdlcLifecycle } from './generated/output.js';
12
13
  * A parent whose lifecycle is a member of this set satisfies Gate 1:
13
14
  * directly-blocked children may transition from Blocked to Started.
14
15
  *
15
- * Note: Pending is intentionally excluded — pending features are
16
- * user-deferred and cannot unblock child features.
16
+ * Note: Pending and Exploring are intentionally excluded — pending features
17
+ * are user-deferred and exploring features are in prototyping mode; neither
18
+ * can unblock child features.
17
19
  */
18
20
  export declare const POST_IMPLEMENTATION: Set<SdlcLifecycle>;
21
+ /**
22
+ * Valid lifecycle transitions FROM the Exploring state.
23
+ *
24
+ * An exploration feature may transition to:
25
+ * - Implementation: promote to Fast mode (skip SDLC, keep prototype code)
26
+ * - Requirements: promote to Regular mode (full SDLC from requirements phase)
27
+ * - Deleting: discard the exploration and clean up worktree/branch
28
+ *
29
+ * The self-loop (Exploring -> Exploring) for feedback iterations is implicit —
30
+ * the lifecycle stays Exploring during iterations, so no transition occurs.
31
+ * Exploring has no approval gates since exploration bypasses SDLC.
32
+ */
33
+ export declare const EXPLORING_TRANSITIONS: Set<SdlcLifecycle>;
19
34
  //# sourceMappingURL=lifecycle-gates.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lifecycle-gates.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/domain/lifecycle-gates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,oBAI9B,CAAC"}
1
+ {"version":3,"file":"lifecycle-gates.d.ts","sourceRoot":"","sources":["../../../../../packages/core/src/domain/lifecycle-gates.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,oBAI9B,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,oBAIhC,CAAC"}
@@ -1,9 +1,10 @@
1
1
  /**
2
- * Lifecycle gate constants for feature dependency blocking logic.
2
+ * Lifecycle gate constants for feature dependency blocking and
3
+ * exploration mode transition validation.
3
4
  *
4
- * Centralises the POST_IMPLEMENTATION membership check used by both
5
- * CreateFeatureUseCase (gate evaluation at creation time) and
6
- * CheckAndUnblockFeaturesUseCase (gate evaluation at unblock time).
5
+ * Centralises membership checks used by:
6
+ * - CreateFeatureUseCase / CheckAndUnblockFeaturesUseCase (dependency gates)
7
+ * - PromoteExplorationUseCase (exploration mode transitions)
7
8
  */
8
9
  import { SdlcLifecycle } from './generated/output.js';
9
10
  /**
@@ -12,11 +13,29 @@ import { SdlcLifecycle } from './generated/output.js';
12
13
  * A parent whose lifecycle is a member of this set satisfies Gate 1:
13
14
  * directly-blocked children may transition from Blocked to Started.
14
15
  *
15
- * Note: Pending is intentionally excluded — pending features are
16
- * user-deferred and cannot unblock child features.
16
+ * Note: Pending and Exploring are intentionally excluded — pending features
17
+ * are user-deferred and exploring features are in prototyping mode; neither
18
+ * can unblock child features.
17
19
  */
18
20
  export const POST_IMPLEMENTATION = new Set([
19
21
  SdlcLifecycle.Implementation,
20
22
  SdlcLifecycle.Review,
21
23
  SdlcLifecycle.Maintain,
22
24
  ]);
25
+ /**
26
+ * Valid lifecycle transitions FROM the Exploring state.
27
+ *
28
+ * An exploration feature may transition to:
29
+ * - Implementation: promote to Fast mode (skip SDLC, keep prototype code)
30
+ * - Requirements: promote to Regular mode (full SDLC from requirements phase)
31
+ * - Deleting: discard the exploration and clean up worktree/branch
32
+ *
33
+ * The self-loop (Exploring -> Exploring) for feedback iterations is implicit —
34
+ * the lifecycle stays Exploring during iterations, so no transition occurs.
35
+ * Exploring has no approval gates since exploration bypasses SDLC.
36
+ */
37
+ export const EXPLORING_TRANSITIONS = new Set([
38
+ SdlcLifecycle.Implementation,
39
+ SdlcLifecycle.Requirements,
40
+ SdlcLifecycle.Deleting,
41
+ ]);
@@ -1 +1 @@
1
- {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/infrastructure/di/container.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAqJrC;;;;;;GAMG;AACH,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,OAAO,SAAS,CAAC,CA2brE;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,CAEhD;AAED;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/infrastructure/di/container.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAwJrC;;;;;;GAMG;AACH,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,OAAO,SAAS,CAAC,CAgcrE;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,CAEhD;AAED;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -24,6 +24,7 @@ import { WorktreeService } from '../services/git/worktree.service.js';
24
24
  import { ToolInstallerServiceImpl } from '../services/tool-installer/tool-installer.service.js';
25
25
  import { GitPrService } from '../services/git/git-pr.service.js';
26
26
  import { GitForkService } from '../services/git/git-fork.service.js';
27
+ import { SkillInjectorService } from '../services/skill-injector.service.js';
27
28
  import { JsonDrivenIdeLauncherService } from '../services/ide-launchers/json-driven-ide-launcher.service.js';
28
29
  import { DaemonPidService } from '../services/daemon/daemon-pid.service.js';
29
30
  import { DeploymentService } from '../services/deployment/deployment.service.js';
@@ -69,6 +70,7 @@ import { ResumeFeatureUseCase } from '../../application/use-cases/features/resum
69
70
  import { StartFeatureUseCase } from '../../application/use-cases/features/start-feature.use-case.js';
70
71
  import { UpdateFeaturePinnedConfigUseCase } from '../../application/use-cases/features/update-feature-pinned-config.use-case.js';
71
72
  import { AdoptBranchUseCase } from '../../application/use-cases/features/adopt-branch.use-case.js';
73
+ import { PromoteExplorationUseCase } from '../../application/use-cases/features/promote/promote-exploration.use-case.js';
72
74
  import { GetFeatureArtifactUseCase } from '../../application/use-cases/features/get-feature-artifact.use-case.js';
73
75
  import { GetResearchArtifactUseCase } from '../../application/use-cases/features/get-research-artifact.use-case.js';
74
76
  import { GetPlanArtifactUseCase } from '../../application/use-cases/features/get-plan-artifact.use-case.js';
@@ -187,6 +189,7 @@ export async function initializeContainer() {
187
189
  },
188
190
  });
189
191
  container.registerSingleton('IWorktreeService', WorktreeService);
192
+ container.registerSingleton('ISkillInjectorService', SkillInjectorService);
190
193
  container.registerSingleton('IToolInstallerService', ToolInstallerServiceImpl);
191
194
  container.registerSingleton('IGitPrService', GitPrService);
192
195
  container.registerSingleton('IGitForkService', GitForkService);
@@ -309,6 +312,7 @@ export async function initializeContainer() {
309
312
  container.registerSingleton(StartFeatureUseCase);
310
313
  container.registerSingleton(UpdateFeaturePinnedConfigUseCase);
311
314
  container.registerSingleton(AdoptBranchUseCase);
315
+ container.registerSingleton(PromoteExplorationUseCase);
312
316
  container.registerSingleton(GetFeatureArtifactUseCase);
313
317
  container.registerSingleton(GetResearchArtifactUseCase);
314
318
  container.registerSingleton(GetPlanArtifactUseCase);
@@ -384,6 +388,9 @@ export async function initializeContainer() {
384
388
  container.register('StopAgentRunUseCase', {
385
389
  useFactory: (c) => c.resolve(StopAgentRunUseCase),
386
390
  });
391
+ container.register('PromoteExplorationUseCase', {
392
+ useFactory: (c) => c.resolve(PromoteExplorationUseCase),
393
+ });
387
394
  container.register('ApproveAgentRunUseCase', {
388
395
  useFactory: (c) => c.resolve(ApproveAgentRunUseCase),
389
396
  });
@@ -32,7 +32,9 @@ export interface FeatureRow {
32
32
  related_artifacts: string;
33
33
  agent_run_id: string | null;
34
34
  spec_path: string | null;
35
- fast: number;
35
+ mode: string;
36
+ iteration_count: number;
37
+ max_iterations: number | null;
36
38
  push: number;
37
39
  open_pr: number;
38
40
  fork_and_pr: number;
@@ -60,6 +62,8 @@ export interface FeatureRow {
60
62
  parent_id: string | null;
61
63
  previous_lifecycle: string | null;
62
64
  attachments: string;
65
+ inject_skills: number;
66
+ injected_skills: string | null;
63
67
  deleted_at: number | null;
64
68
  created_at: number;
65
69
  updated_at: number;
@@ -1 +1 @@
1
- {"version":3,"file":"feature.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAGtE;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IA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AI,CAAC;IAClC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CA0DvD;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAgErD"}
1
+ {"version":3,"file":"feature.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAItE;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,IAAI,EAAE,MAAM,CAAC;IAEb,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,IAAI,EAAE,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AAO,GAAG,UAAU,CAgEvD;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAsErD"}
@@ -35,8 +35,11 @@ export function toDatabase(feature) {
35
35
  related_artifacts: JSON.stringify(feature.relatedArtifacts),
36
36
  agent_run_id: feature.agentRunId ?? null,
37
37
  spec_path: feature.specPath ?? null,
38
- // Fast mode flag
39
- fast: feature.fast ? 1 : 0,
38
+ // Feature mode
39
+ mode: feature.mode,
40
+ // Iteration tracking
41
+ iteration_count: feature.iterationCount,
42
+ max_iterations: feature.maxIterations ?? null,
40
43
  // Flatten workflow flags to individual columns
41
44
  push: feature.push ? 1 : 0,
42
45
  open_pr: feature.openPr ? 1 : 0,
@@ -70,6 +73,9 @@ export function toDatabase(feature) {
70
73
  previous_lifecycle: feature.previousLifecycle ?? null,
71
74
  // User attachments
72
75
  attachments: JSON.stringify((feature.attachments ?? []).map((a) => ({ ...a, size: Number(a.size) }))),
76
+ // Skill injection
77
+ inject_skills: feature.injectSkills ? 1 : 0,
78
+ injected_skills: feature.injectedSkills?.length ? JSON.stringify(feature.injectedSkills) : null,
73
79
  // Soft delete
74
80
  deleted_at: feature.deletedAt instanceof Date ? feature.deletedAt.getTime() : (feature.deletedAt ?? null),
75
81
  created_at: feature.createdAt instanceof Date ? feature.createdAt.getTime() : feature.createdAt,
@@ -100,8 +106,11 @@ export function fromDatabase(row) {
100
106
  ...(row.plan != null && { plan: JSON.parse(row.plan) }),
101
107
  ...(row.agent_run_id != null && { agentRunId: row.agent_run_id }),
102
108
  ...(row.spec_path != null && { specPath: row.spec_path }),
103
- // Fast mode flag
104
- fast: row.fast === 1,
109
+ // Feature mode
110
+ mode: row.mode,
111
+ // Iteration tracking
112
+ iterationCount: row.iteration_count ?? 0,
113
+ ...(row.max_iterations != null && { maxIterations: row.max_iterations }),
105
114
  // Assemble workflow flags from flat columns
106
115
  push: row.push === 1,
107
116
  openPr: row.open_pr === 1,
@@ -144,6 +153,9 @@ export function fromDatabase(row) {
144
153
  }),
145
154
  // User attachments
146
155
  attachments: JSON.parse(row.attachments ?? '[]'),
156
+ // Skill injection
157
+ injectSkills: row.inject_skills === 1,
158
+ ...(row.injected_skills != null && { injectedSkills: JSON.parse(row.injected_skills) }),
147
159
  // Soft delete
148
160
  ...(row.deleted_at != null && { deletedAt: new Date(row.deleted_at) }),
149
161
  };
@@ -71,7 +71,7 @@ export interface SettingsRow {
71
71
  workflow_enable_evidence: number;
72
72
  workflow_commit_evidence: number;
73
73
  hide_ci_status: number;
74
- default_fast_mode: number;
74
+ default_mode: string;
75
75
  feature_flag_skills: number;
76
76
  feature_flag_env_deploy: number;
77
77
  feature_flag_debug: number;
@@ -85,6 +85,9 @@ export interface SettingsRow {
85
85
  interactive_agent_max_concurrent_sessions: number;
86
86
  auto_archive_delay_minutes: number;
87
87
  fab_position_swapped: number;
88
+ exploration_max_iterations: number | null;
89
+ skill_injection_enabled: number;
90
+ skill_injection_skills: string | null;
88
91
  }
89
92
  /**
90
93
  * Maps Settings domain object to database row.
@@ -1 +1 @@
1
- {"version":3,"file":"settings.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AASvE;;;GAGG;AACH,MAAM,WAAW,WAAW;IAE1B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IAInB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IAGtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IA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AC;IAC1C,+BAA+B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtC,+BAA+B,EAAE,MAAM,GAAG,IAAI,CAAC;IAG/C,mBAAmB,EAAE,MAAM,CAAC;IAG5B,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,EAAE,MAAM,CAAC;IAClC,mCAAmC,EAAE,MAAM,CAAC;IAG5C,wBAAwB,EAAE,MAAM,CAAC;IACjC,wBAAwB,EAAE,MAAM,CAAC;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAG1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uBAAuB,EAAE,MAAM,CAAC;IAChC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,0BAA0B,EAAE,MAAM,CAAC;IACnC,yBAAyB,EAAE,MAAM,CAAC;IAClC,4BAA4B,EAAE,MAAM,CAAC;IACrC,+BAA+B,EAAE,MAAM,CAAC;IACxC,sBAAsB,EAAE,MAAM,CAAC;IAE/B,yBAAyB,EAAE,MAAM,CAAC;IAClC,sCAAsC,EAAE,MAAM,CAAC;IAC/C,yCAAyC,EAAE,MAAM,CAAC;IAGlD,0BAA0B,EAAE,MAAM,CAAC;IAGnC,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,WAAW,CAiH1D;AAwCD;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,WAAW,GAAG,QAAQ,CA6GvD"}
1
+ {"version":3,"file":"settings.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EACV,QAAQ,EAGT,MAAM,wCAAwC,C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CAAC;IAG7B,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAG1C,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,WAAW,CA0H1D;AAiED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,WAAW,GAAG,QAAQ,CAiHvD"}
@@ -10,6 +10,7 @@
10
10
  * - Dates stored as ISO 8601 strings
11
11
  * - Optional fields stored as NULL when missing
12
12
  */
13
+ import { createDefaultSettings } from '../../../../domain/factories/settings-defaults.factory.js';
13
14
  /**
14
15
  * Maps Settings domain object to database row.
15
16
  * Flattens nested objects and converts types for SQL storage.
@@ -81,7 +82,7 @@ export function toDatabase(settings) {
81
82
  workflow_enable_evidence: settings.workflow.enableEvidence ? 1 : 0,
82
83
  workflow_commit_evidence: settings.workflow.commitEvidence ? 1 : 0,
83
84
  hide_ci_status: settings.workflow.hideCiStatus !== false ? 1 : 0,
84
- default_fast_mode: settings.workflow.defaultFastMode !== false ? 1 : 0,
85
+ default_mode: settings.workflow.defaultMode ?? 'Fast',
85
86
  // Onboarding (boolean → INTEGER)
86
87
  onboarding_complete: settings.onboardingComplete ? 1 : 0,
87
88
  // ApprovalGateDefaults (boolean → INTEGER)
@@ -109,6 +110,13 @@ export function toDatabase(settings) {
109
110
  auto_archive_delay_minutes: settings.workflow.autoArchiveDelayMinutes ?? 10,
110
111
  // FAB layout config (default: not swapped)
111
112
  fab_position_swapped: (settings.fabLayout?.swapPosition ?? false) ? 1 : 0,
113
+ // Exploration max iterations (default: 10)
114
+ exploration_max_iterations: settings.workflow.explorationMaxIterations ?? null,
115
+ // Skill injection config (default: disabled, no skills)
116
+ skill_injection_enabled: settings.workflow.skillInjection?.enabled ? 1 : 0,
117
+ skill_injection_skills: settings.workflow.skillInjection?.skills?.length
118
+ ? JSON.stringify(settings.workflow.skillInjection.skills)
119
+ : null,
112
120
  };
113
121
  }
114
122
  /**
@@ -146,6 +154,26 @@ function buildAnalyzeRepoTimeoutsFromRow(row) {
146
154
  return {};
147
155
  return { analyzeRepoTimeouts: { analyzeMs: row.analyze_repo_timeout_analyze_ms } };
148
156
  }
157
+ /**
158
+ * Build the skillInjection spread from DB row columns.
159
+ * Returns `{ skillInjection: { ... } }` when the enabled flag or skills JSON is present,
160
+ * or an empty object `{}` when both are default/null (so the field stays undefined).
161
+ */
162
+ function buildSkillInjectionFromRow(row) {
163
+ const hasSkills = row.skill_injection_skills !== null;
164
+ const isEnabled = row.skill_injection_enabled === 1;
165
+ if (!isEnabled && !hasSkills)
166
+ return {};
167
+ const skills = hasSkills
168
+ ? JSON.parse(row.skill_injection_skills)
169
+ : (createDefaultSettings().workflow.skillInjection?.skills ?? []);
170
+ return {
171
+ skillInjection: {
172
+ enabled: isEnabled,
173
+ skills,
174
+ },
175
+ };
176
+ }
149
177
  /**
150
178
  * Maps database row to Settings domain object.
151
179
  * Reconstructs nested objects and converts types from SQL.
@@ -220,11 +248,15 @@ export function fromDatabase(row) {
220
248
  ...(row.ci_log_max_chars !== null && { ciLogMaxChars: row.ci_log_max_chars }),
221
249
  ...buildStageTimeoutsFromRow(row),
222
250
  ...buildAnalyzeRepoTimeoutsFromRow(row),
251
+ ...buildSkillInjectionFromRow(row),
223
252
  ciWatchEnabled: row.ci_watch_enabled !== 0,
224
253
  enableEvidence: row.workflow_enable_evidence === 1,
225
254
  commitEvidence: row.workflow_commit_evidence === 1,
226
255
  hideCiStatus: row.hide_ci_status === 1,
227
- defaultFastMode: (row.default_fast_mode ?? 1) !== 0,
256
+ defaultMode: row.default_mode ?? 'Fast',
257
+ ...(row.exploration_max_iterations !== null && {
258
+ explorationMaxIterations: row.exploration_max_iterations,
259
+ }),
228
260
  autoArchiveDelayMinutes: row.auto_archive_delay_minutes ?? 10,
229
261
  },
230
262
  // FeatureFlags (INTEGER 0/1 → boolean)
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Migration 051: Replace boolean fast column with TEXT mode column on features table.
3
+ *
4
+ * Migrates the features.fast INTEGER column (0/1 boolean) to a TEXT mode column
5
+ * that stores FeatureMode enum values: 'Regular' (was 0), 'Fast' (was 1), 'Exploration'.
6
+ * Also adds iteration_count and max_iterations columns for exploration feedback loops.
7
+ *
8
+ * Transformation logic:
9
+ * - fast = 0 → mode = 'Regular'
10
+ * - fast = 1 → mode = 'Fast'
11
+ *
12
+ * Default for new rows: mode = 'Regular', iteration_count = 0, max_iterations = NULL.
13
+ * Guards against duplicate column/dropped column using PRAGMA table_info.
14
+ */
15
+ import type { MigrationParams } from 'umzug';
16
+ import type Database from 'better-sqlite3';
17
+ export declare function up({ context: db }: MigrationParams<Database.Database>): Promise<void>;
18
+ export declare function down({ context: db }: MigrationParams<Database.Database>): Promise<void>;
19
+ //# sourceMappingURL=051-replace-fast-with-mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"051-replace-fast-with-mode.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,wBAAsB,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAiC3F;AAED,wBAAsB,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAE7F"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Migration 051: Replace boolean fast column with TEXT mode column on features table.
3
+ *
4
+ * Migrates the features.fast INTEGER column (0/1 boolean) to a TEXT mode column
5
+ * that stores FeatureMode enum values: 'Regular' (was 0), 'Fast' (was 1), 'Exploration'.
6
+ * Also adds iteration_count and max_iterations columns for exploration feedback loops.
7
+ *
8
+ * Transformation logic:
9
+ * - fast = 0 → mode = 'Regular'
10
+ * - fast = 1 → mode = 'Fast'
11
+ *
12
+ * Default for new rows: mode = 'Regular', iteration_count = 0, max_iterations = NULL.
13
+ * Guards against duplicate column/dropped column using PRAGMA table_info.
14
+ */
15
+ export async function up({ context: db }) {
16
+ const columns = db.pragma('table_info(features)');
17
+ const names = new Set(columns.map((c) => c.name));
18
+ // Step 1: Add new TEXT mode column with default 'Regular'
19
+ if (!names.has('mode')) {
20
+ db.exec("ALTER TABLE features ADD COLUMN mode TEXT NOT NULL DEFAULT 'Regular'");
21
+ }
22
+ // Step 2: Migrate data from fast → mode (only if fast column still exists)
23
+ if (names.has('fast')) {
24
+ db.exec(`
25
+ UPDATE features
26
+ SET mode = CASE
27
+ WHEN fast = 1 THEN 'Fast'
28
+ ELSE 'Regular'
29
+ END
30
+ `);
31
+ }
32
+ // Step 3: Drop old fast column
33
+ if (names.has('fast')) {
34
+ db.exec('ALTER TABLE features DROP COLUMN fast');
35
+ }
36
+ // Step 4: Add iteration tracking columns for exploration mode
37
+ if (!names.has('iteration_count')) {
38
+ db.exec('ALTER TABLE features ADD COLUMN iteration_count INTEGER NOT NULL DEFAULT 0');
39
+ }
40
+ if (!names.has('max_iterations')) {
41
+ db.exec('ALTER TABLE features ADD COLUMN max_iterations INTEGER');
42
+ }
43
+ }
44
+ export async function down({ context: db }) {
45
+ void db;
46
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Migration 052: Replace boolean default_fast_mode column with TEXT default_mode column
3
+ * on the settings table.
4
+ *
5
+ * Migrates the settings.default_fast_mode INTEGER column (0/1 boolean) to a TEXT
6
+ * default_mode column that stores FeatureMode enum values:
7
+ * - default_fast_mode = 1 → default_mode = 'Fast'
8
+ * - default_fast_mode = 0 → default_mode = 'Regular'
9
+ *
10
+ * Default for new rows: default_mode = 'Fast' (preserves backward compatibility).
11
+ * Guards against duplicate column using PRAGMA table_info.
12
+ */
13
+ import type { MigrationParams } from 'umzug';
14
+ import type Database from 'better-sqlite3';
15
+ export declare function up({ context: db }: MigrationParams<Database.Database>): Promise<void>;
16
+ export declare function down({ context: db }: MigrationParams<Database.Database>): Promise<void>;
17
+ //# sourceMappingURL=052-replace-default-fast-mode-with-default-mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"052-replace-default-fast-mode-with-default-mode.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,wBAAsB,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAwB3F;AAED,wBAAsB,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAE7F"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Migration 052: Replace boolean default_fast_mode column with TEXT default_mode column
3
+ * on the settings table.
4
+ *
5
+ * Migrates the settings.default_fast_mode INTEGER column (0/1 boolean) to a TEXT
6
+ * default_mode column that stores FeatureMode enum values:
7
+ * - default_fast_mode = 1 → default_mode = 'Fast'
8
+ * - default_fast_mode = 0 → default_mode = 'Regular'
9
+ *
10
+ * Default for new rows: default_mode = 'Fast' (preserves backward compatibility).
11
+ * Guards against duplicate column using PRAGMA table_info.
12
+ */
13
+ export async function up({ context: db }) {
14
+ const columns = db.pragma('table_info(settings)');
15
+ const names = new Set(columns.map((c) => c.name));
16
+ // Step 1: Add new TEXT default_mode column with default 'Fast'
17
+ if (!names.has('default_mode')) {
18
+ db.exec("ALTER TABLE settings ADD COLUMN default_mode TEXT NOT NULL DEFAULT 'Fast'");
19
+ }
20
+ // Step 2: Migrate data from default_fast_mode → default_mode
21
+ if (names.has('default_fast_mode')) {
22
+ db.exec(`
23
+ UPDATE settings
24
+ SET default_mode = CASE
25
+ WHEN default_fast_mode = 1 THEN 'Fast'
26
+ ELSE 'Regular'
27
+ END
28
+ `);
29
+ }
30
+ // Step 3: Drop old default_fast_mode column
31
+ if (names.has('default_fast_mode')) {
32
+ db.exec('ALTER TABLE settings DROP COLUMN default_fast_mode');
33
+ }
34
+ }
35
+ export async function down({ context: db }) {
36
+ void db;
37
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Migration 053: Add exploration_max_iterations column to the settings table.
3
+ *
4
+ * Adds a nullable INTEGER column for the maximum number of feedback iterations
5
+ * in exploration mode. When NULL, the default of 10 is applied at the application layer.
6
+ * Guards against duplicate column using PRAGMA table_info.
7
+ */
8
+ import type { MigrationParams } from 'umzug';
9
+ import type Database from 'better-sqlite3';
10
+ export declare function up({ context: db }: MigrationParams<Database.Database>): Promise<void>;
11
+ export declare function down({ context: db }: MigrationParams<Database.Database>): Promise<void>;
12
+ //# sourceMappingURL=053-add-exploration-max-iterations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"053-add-exploration-max-iterations.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,wBAAsB,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAO3F;AAED,wBAAsB,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAE7F"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Migration 053: Add exploration_max_iterations column to the settings table.
3
+ *
4
+ * Adds a nullable INTEGER column for the maximum number of feedback iterations
5
+ * in exploration mode. When NULL, the default of 10 is applied at the application layer.
6
+ * Guards against duplicate column using PRAGMA table_info.
7
+ */
8
+ export async function up({ context: db }) {
9
+ const columns = db.pragma('table_info(settings)');
10
+ const names = new Set(columns.map((c) => c.name));
11
+ if (!names.has('exploration_max_iterations')) {
12
+ db.exec('ALTER TABLE settings ADD COLUMN exploration_max_iterations INTEGER');
13
+ }
14
+ }
15
+ export async function down({ context: db }) {
16
+ void db;
17
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Migration 050: Add skill injection config columns to the settings table.
3
+ *
4
+ * Adds two new columns for configuring skill injection during feature creation:
5
+ * - skill_injection_enabled (INTEGER DEFAULT 0): whether skill injection is active
6
+ * - skill_injection_skills (TEXT, nullable): JSON array of SkillSource objects
7
+ *
8
+ * Default value of 0 means skill injection is opt-in (disabled by default).
9
+ * Guards against duplicate column errors using table_info pragma.
10
+ */
11
+ import type { MigrationParams } from 'umzug';
12
+ import type Database from 'better-sqlite3';
13
+ export declare function up({ context: db }: MigrationParams<Database.Database>): Promise<void>;
14
+ export declare function down({ context: db }: MigrationParams<Database.Database>): Promise<void>;
15
+ //# sourceMappingURL=053-add-skill-injection-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"053-add-skill-injection-config.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-skill-injection-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,wBAAsB,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAW3F;AAED,wBAAsB,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAE7F"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Migration 050: Add skill injection config columns to the settings table.
3
+ *
4
+ * Adds two new columns for configuring skill injection during feature creation:
5
+ * - skill_injection_enabled (INTEGER DEFAULT 0): whether skill injection is active
6
+ * - skill_injection_skills (TEXT, nullable): JSON array of SkillSource objects
7
+ *
8
+ * Default value of 0 means skill injection is opt-in (disabled by default).
9
+ * Guards against duplicate column errors using table_info pragma.
10
+ */
11
+ export async function up({ context: db }) {
12
+ const columns = db.pragma('table_info(settings)');
13
+ const names = new Set(columns.map((c) => c.name));
14
+ if (!names.has('skill_injection_enabled')) {
15
+ db.exec('ALTER TABLE settings ADD COLUMN skill_injection_enabled INTEGER NOT NULL DEFAULT 0');
16
+ }
17
+ if (!names.has('skill_injection_skills')) {
18
+ db.exec('ALTER TABLE settings ADD COLUMN skill_injection_skills TEXT');
19
+ }
20
+ }
21
+ export async function down({ context: db }) {
22
+ void db;
23
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Migration 054: Add inject_skills and injected_skills columns to features table.
3
+ *
4
+ * inject_skills: boolean flag indicating skill injection was enabled for this feature.
5
+ * injected_skills: JSON array of skill names that were injected into the worktree.
6
+ */
7
+ import type { MigrationParams } from 'umzug';
8
+ import type Database from 'better-sqlite3';
9
+ export declare function up({ context: db }: MigrationParams<Database.Database>): Promise<void>;
10
+ export declare function down({ context: db }: MigrationParams<Database.Database>): Promise<void>;
11
+ //# sourceMappingURL=054-add-injected-skills-to-features.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"054-add-injected-skills-to-features.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-injected-skills-to-features.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,wBAAsB,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAU3F;AAED,wBAAsB,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAE7F"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Migration 054: Add inject_skills and injected_skills columns to features table.
3
+ *
4
+ * inject_skills: boolean flag indicating skill injection was enabled for this feature.
5
+ * injected_skills: JSON array of skill names that were injected into the worktree.
6
+ */
7
+ export async function up({ context: db }) {
8
+ const columns = db.pragma('table_info(features)');
9
+ const names = new Set(columns.map((c) => c.name));
10
+ if (!names.has('inject_skills')) {
11
+ db.exec('ALTER TABLE features ADD COLUMN inject_skills INTEGER NOT NULL DEFAULT 0');
12
+ }
13
+ if (!names.has('injected_skills')) {
14
+ db.exec('ALTER TABLE features ADD COLUMN injected_skills TEXT');
15
+ }
16
+ }
17
+ export async function down({ context: db }) {
18
+ void db;
19
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"sqlite-feature.repository.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/infrastructure/repositories/sqlite-feature.repository.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6EAA6E,CAAC;AACrF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAOhE;;;GAGG;AACH,qBACa,uBAAwB,YAAW,kBAAkB;IACpD,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,QAAQ,CAAC,QAAQ;IAE5C,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAsCvC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAW7C,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAcvD,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAazE,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAa7E,IAAI,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IA8BtD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAQpD,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAqDvC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKjC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAK5C"}
1
+ {"version":3,"file":"sqlite-feature.repository.d.ts","sourceRoot":"","sources":["../../../../../../packages/core/src/infrastructure/repositories/sqlite-feature.repository.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6EAA6E,CAAC;AACrF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAOhE;;;GAGG;AACH,qBACa,uBAAwB,YAAW,kBAAkB;IACpD,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,QAAQ,CAAC,QAAQ;IAE5C,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAwCvC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAW7C,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAcvD,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAazE,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAa7E,IAAI,CAAC,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IA8BtD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAQpD,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAyDvC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKjC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAK5C"}