@shipit-ai/cli 1.168.0 → 1.169.0-pr12.6d78faf

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 (428) hide show
  1. package/apis/json-schema/FeatureFlags.yaml +5 -0
  2. package/apis/json-schema/LiteLLMProxyConfig.yaml +14 -0
  3. package/apis/json-schema/Settings.yaml +3 -0
  4. package/dist/packages/core/src/application/ports/output/services/index.d.ts +1 -0
  5. package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
  6. package/dist/packages/core/src/application/ports/output/services/plugin-marketplace.interface.d.ts +46 -0
  7. package/dist/packages/core/src/application/ports/output/services/plugin-marketplace.interface.d.ts.map +1 -0
  8. package/dist/packages/core/src/application/ports/output/services/plugin-marketplace.interface.js +12 -0
  9. package/dist/packages/core/src/application/use-cases/plugins/add-marketplace.use-case.d.ts +16 -0
  10. package/dist/packages/core/src/application/use-cases/plugins/add-marketplace.use-case.d.ts.map +1 -0
  11. package/dist/packages/core/src/application/use-cases/plugins/add-marketplace.use-case.js +34 -0
  12. package/dist/packages/core/src/application/use-cases/plugins/fetch-plugin-catalog.use-case.d.ts +24 -0
  13. package/dist/packages/core/src/application/use-cases/plugins/fetch-plugin-catalog.use-case.d.ts.map +1 -0
  14. package/dist/packages/core/src/application/use-cases/plugins/fetch-plugin-catalog.use-case.js +52 -0
  15. package/dist/packages/core/src/application/use-cases/plugins/install-plugin.use-case.d.ts +17 -0
  16. package/dist/packages/core/src/application/use-cases/plugins/install-plugin.use-case.d.ts.map +1 -0
  17. package/dist/packages/core/src/application/use-cases/plugins/install-plugin.use-case.js +33 -0
  18. package/dist/packages/core/src/application/use-cases/plugins/toggle-plugin.use-case.d.ts +17 -0
  19. package/dist/packages/core/src/application/use-cases/plugins/toggle-plugin.use-case.d.ts.map +1 -0
  20. package/dist/packages/core/src/application/use-cases/plugins/toggle-plugin.use-case.js +33 -0
  21. package/dist/packages/core/src/application/use-cases/plugins/uninstall-plugin.use-case.d.ts +16 -0
  22. package/dist/packages/core/src/application/use-cases/plugins/uninstall-plugin.use-case.d.ts.map +1 -0
  23. package/dist/packages/core/src/application/use-cases/plugins/uninstall-plugin.use-case.js +33 -0
  24. package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
  25. package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +1 -0
  26. package/dist/packages/core/src/domain/generated/output.d.ts +25 -0
  27. package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
  28. package/dist/packages/core/src/infrastructure/di/modules/services.module.d.ts.map +1 -1
  29. package/dist/packages/core/src/infrastructure/di/modules/services.module.js +13 -0
  30. package/dist/packages/core/src/infrastructure/di/modules/use-cases.module.d.ts.map +1 -1
  31. package/dist/packages/core/src/infrastructure/di/modules/use-cases.module.js +12 -0
  32. package/dist/packages/core/src/infrastructure/di/modules/web-tokens.module.d.ts.map +1 -1
  33. package/dist/packages/core/src/infrastructure/di/modules/web-tokens.module.js +22 -0
  34. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +4 -0
  35. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
  36. package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +18 -0
  37. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-litellm-proxy.d.ts +14 -0
  38. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-litellm-proxy.d.ts.map +1 -0
  39. package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-litellm-proxy.js +28 -0
  40. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/index.d.ts +4 -0
  41. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/index.d.ts.map +1 -0
  42. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/index.js +3 -0
  43. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.schema.d.ts +78 -0
  44. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.schema.d.ts.map +1 -0
  45. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.schema.js +46 -0
  46. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.service.d.ts +29 -0
  47. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.service.d.ts.map +1 -0
  48. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.service.js +147 -0
  49. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.validators.d.ts +11 -0
  50. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.validators.d.ts.map +1 -0
  51. package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.validators.js +47 -0
  52. package/dist/src/presentation/web/app/actions/add-marketplace.d.ts +5 -0
  53. package/dist/src/presentation/web/app/actions/add-marketplace.d.ts.map +1 -0
  54. package/dist/src/presentation/web/app/actions/add-marketplace.js +11 -0
  55. package/dist/src/presentation/web/app/actions/fetch-plugin-catalog.d.ts +5 -0
  56. package/dist/src/presentation/web/app/actions/fetch-plugin-catalog.d.ts.map +1 -0
  57. package/dist/src/presentation/web/app/actions/fetch-plugin-catalog.js +11 -0
  58. package/dist/src/presentation/web/app/actions/install-plugin.d.ts +5 -0
  59. package/dist/src/presentation/web/app/actions/install-plugin.d.ts.map +1 -0
  60. package/dist/src/presentation/web/app/actions/install-plugin.js +11 -0
  61. package/dist/src/presentation/web/app/actions/toggle-plugin.d.ts +5 -0
  62. package/dist/src/presentation/web/app/actions/toggle-plugin.d.ts.map +1 -0
  63. package/dist/src/presentation/web/app/actions/toggle-plugin.js +11 -0
  64. package/dist/src/presentation/web/app/actions/uninstall-plugin.d.ts +5 -0
  65. package/dist/src/presentation/web/app/actions/uninstall-plugin.d.ts.map +1 -0
  66. package/dist/src/presentation/web/app/actions/uninstall-plugin.js +11 -0
  67. package/dist/src/presentation/web/app/plugins/page.d.ts +2 -0
  68. package/dist/src/presentation/web/app/plugins/page.d.ts.map +1 -0
  69. package/dist/src/presentation/web/app/plugins/page.js +23 -0
  70. package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.d.ts.map +1 -1
  71. package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.js +1 -0
  72. package/dist/src/presentation/web/components/features/plugins/plugin-card.d.ts +9 -0
  73. package/dist/src/presentation/web/components/features/plugins/plugin-card.d.ts.map +1 -0
  74. package/dist/src/presentation/web/components/features/plugins/plugin-card.js +15 -0
  75. package/dist/src/presentation/web/components/features/plugins/plugin-card.stories.d.ts +17 -0
  76. package/dist/src/presentation/web/components/features/plugins/plugin-card.stories.d.ts.map +1 -0
  77. package/dist/src/presentation/web/components/features/plugins/plugin-card.stories.js +60 -0
  78. package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.d.ts +11 -0
  79. package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.d.ts.map +1 -0
  80. package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.js +33 -0
  81. package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.d.ts +18 -0
  82. package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.d.ts.map +1 -0
  83. package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.js +51 -0
  84. package/dist/src/presentation/web/components/features/plugins/plugins-page-client.d.ts +6 -0
  85. package/dist/src/presentation/web/components/features/plugins/plugins-page-client.d.ts.map +1 -0
  86. package/dist/src/presentation/web/components/features/plugins/plugins-page-client.js +115 -0
  87. package/dist/src/presentation/web/components/features/plugins/plugins-page-client.stories.d.ts +12 -0
  88. package/dist/src/presentation/web/components/features/plugins/plugins-page-client.stories.d.ts.map +1 -0
  89. package/dist/src/presentation/web/components/features/plugins/plugins-page-client.stories.js +24 -0
  90. package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts +3 -3
  91. package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts.map +1 -1
  92. package/dist/src/presentation/web/components/features/settings/agent-settings-section.js +23 -102
  93. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts +2 -3
  94. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts.map +1 -1
  95. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.js +18 -22
  96. package/dist/src/presentation/web/components/features/settings/ci-settings-section.d.ts.map +1 -1
  97. package/dist/src/presentation/web/components/features/settings/ci-settings-section.js +14 -5
  98. package/dist/src/presentation/web/components/features/settings/database-settings-section.d.ts.map +1 -1
  99. package/dist/src/presentation/web/components/features/settings/database-settings-section.js +14 -4
  100. package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts +9 -3
  101. package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts.map +1 -1
  102. package/dist/src/presentation/web/components/features/settings/environment-settings-section.js +75 -65
  103. package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.d.ts.map +1 -1
  104. package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.js +20 -18
  105. package/dist/src/presentation/web/components/features/settings/fab-layout-settings-section.d.ts.map +1 -1
  106. package/dist/src/presentation/web/components/features/settings/fab-layout-settings-section.js +1 -1
  107. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts +3 -3
  108. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -1
  109. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +53 -50
  110. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -1
  111. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +27 -25
  112. package/dist/src/presentation/web/components/features/settings/interactive-agent-settings-section.d.ts.map +1 -1
  113. package/dist/src/presentation/web/components/features/settings/interactive-agent-settings-section.js +3 -3
  114. package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.d.ts +6 -0
  115. package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.d.ts.map +1 -0
  116. package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.js +76 -0
  117. package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.stories.d.ts +15 -0
  118. package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.stories.d.ts.map +1 -0
  119. package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.stories.js +29 -0
  120. package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts +3 -3
  121. package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts.map +1 -1
  122. package/dist/src/presentation/web/components/features/settings/notification-settings-section.js +64 -47
  123. package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.d.ts.map +1 -1
  124. package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.js +32 -24
  125. package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
  126. package/dist/src/presentation/web/components/features/settings/settings-page-client.js +29 -378
  127. package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts +2 -0
  128. package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
  129. package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +14 -0
  130. package/dist/src/presentation/web/components/features/settings/settings-section-utils.d.ts +8 -8
  131. package/dist/src/presentation/web/components/features/settings/settings-section-utils.d.ts.map +1 -1
  132. package/dist/src/presentation/web/components/features/settings/settings-section-utils.js +3 -6
  133. package/dist/src/presentation/web/components/features/settings/settings-section-utils.stories.d.ts +1 -1
  134. package/dist/src/presentation/web/components/features/settings/settings-section-utils.stories.d.ts.map +1 -1
  135. package/dist/src/presentation/web/components/features/settings/settings-section-utils.stories.js +7 -7
  136. package/dist/src/presentation/web/components/features/settings/stage-timeouts-settings-section.d.ts.map +1 -1
  137. package/dist/src/presentation/web/components/features/settings/stage-timeouts-settings-section.js +1 -1
  138. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts +3 -3
  139. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts.map +1 -1
  140. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.js +118 -165
  141. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts +1 -1
  142. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts.map +1 -1
  143. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +26 -64
  144. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
  145. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +2 -2
  146. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map +1 -1
  147. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +1 -0
  148. package/dist/src/presentation/web/components/ui/tooltip.d.ts.map +1 -1
  149. package/dist/src/presentation/web/components/ui/tooltip.js +3 -3
  150. package/dist/src/presentation/web/hooks/feature-flags-context.d.ts.map +1 -1
  151. package/dist/src/presentation/web/hooks/feature-flags-context.js +1 -0
  152. package/dist/src/presentation/web/lib/feature-flags.d.ts +2 -0
  153. package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
  154. package/dist/src/presentation/web/lib/feature-flags.js +6 -0
  155. package/dist/translations/ar/web.json +40 -2
  156. package/dist/translations/de/web.json +40 -2
  157. package/dist/translations/en/web.json +40 -2
  158. package/dist/translations/es/web.json +40 -2
  159. package/dist/translations/fr/web.json +40 -2
  160. package/dist/translations/he/web.json +40 -2
  161. package/dist/translations/pt/web.json +40 -2
  162. package/dist/translations/ru/web.json +40 -2
  163. package/dist/tsconfig.build.tsbuildinfo +1 -1
  164. package/package.json +1 -1
  165. package/web/.next/BUILD_ID +1 -1
  166. package/web/.next/app-path-routes-manifest.json +1 -0
  167. package/web/.next/build-manifest.json +3 -3
  168. package/web/.next/fallback-build-manifest.json +3 -3
  169. package/web/.next/prerender-manifest.json +3 -3
  170. package/web/.next/required-server-files.js +3 -3
  171. package/web/.next/required-server-files.json +3 -3
  172. package/web/.next/routes-manifest.json +6 -0
  173. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
  174. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  175. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  176. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
  177. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  178. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  179. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +31 -31
  180. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  181. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  182. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +37 -37
  183. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  184. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  185. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +37 -37
  186. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  187. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  188. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  189. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  190. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  191. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  192. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  193. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  194. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
  195. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  196. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  197. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +31 -31
  198. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  199. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  200. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +37 -37
  201. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  202. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  203. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +37 -37
  204. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  205. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  206. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
  207. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  208. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  209. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  210. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  211. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  212. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  213. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  214. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  215. package/web/.next/server/app/_global-error.html +1 -1
  216. package/web/.next/server/app/_global-error.rsc +1 -1
  217. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  218. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  219. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  220. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  221. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  222. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
  223. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  224. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  225. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  226. package/web/.next/server/app/api/dialog/pick-files/route.js.nft.json +1 -1
  227. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  228. package/web/.next/server/app/api/graph-data/route.js +1 -1
  229. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  230. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js +1 -1
  231. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  232. package/web/.next/server/app/api/sessions-batch/route.js +1 -1
  233. package/web/.next/server/app/api/sessions-batch/route.js.nft.json +1 -1
  234. package/web/.next/server/app/plugins/page/app-paths-manifest.json +3 -0
  235. package/web/.next/server/app/plugins/page/build-manifest.json +18 -0
  236. package/web/.next/server/app/plugins/page/next-font-manifest.json +10 -0
  237. package/web/.next/server/app/plugins/page/react-loadable-manifest.json +8 -0
  238. package/web/.next/server/app/plugins/page/server-reference-manifest.json +185 -0
  239. package/web/.next/server/app/plugins/page.js +17 -0
  240. package/web/.next/server/app/plugins/page.js.map +5 -0
  241. package/web/.next/server/app/plugins/page.js.nft.json +1 -0
  242. package/web/.next/server/app/plugins/page_client-reference-manifest.js +3 -0
  243. package/web/.next/server/app/settings/page/server-reference-manifest.json +34 -22
  244. package/web/.next/server/app/settings/page.js +1 -1
  245. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  246. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  247. package/web/.next/server/app/skills/page/server-reference-manifest.json +11 -11
  248. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  249. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  250. package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
  251. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  252. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  253. package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
  254. package/web/.next/server/app/version/page.js.nft.json +1 -1
  255. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  256. package/web/.next/server/app-paths-manifest.json +1 -0
  257. package/web/.next/server/chunks/11es_next_dist_esm_build_templates_app-route_067cwst.js.map +1 -1
  258. package/web/.next/server/chunks/{[root-of-the-server]__0zu_byw._.js → [root-of-the-server]__07suer1._.js} +2 -2
  259. package/web/.next/server/chunks/{[root-of-the-server]__0u1jyv9._.js → [root-of-the-server]__0sgzo7y._.js} +2 -2
  260. package/web/.next/server/chunks/[root-of-the-server]__0tb~wwk._.js +1 -1
  261. package/web/.next/server/chunks/{[root-of-the-server]__08cpfre._.js → [root-of-the-server]__0uxlr84._.js} +2 -2
  262. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_create-drawer-client_tsx_0g70fc5._.js +1 -1
  263. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_create-drawer-client_tsx_0g70fc5._.js.map +1 -1
  264. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_feature-drawer-client_tsx_104cna.._.js +2 -2
  265. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_feature-drawer-client_tsx_104cna.._.js.map +1 -1
  266. package/web/.next/server/chunks/ssr/0ukq_presentation_web_components_features_settings_settings-page-client_tsx_0j1uius._.js +1 -1
  267. package/web/.next/server/chunks/ssr/0ukq_presentation_web_components_features_settings_settings-page-client_tsx_0j1uius._.js.map +1 -1
  268. package/web/.next/server/chunks/ssr/11es_next_dist_esm_build_templates_app-page_0y6lfp8.js +4 -0
  269. package/web/.next/server/chunks/ssr/11es_next_dist_esm_build_templates_app-page_0y6lfp8.js.map +1 -0
  270. package/web/.next/server/chunks/ssr/11y9_components_common_control-center-drawer_repository-drawer-client_tsx_09z.znp._.js +1 -1
  271. package/web/.next/server/chunks/ssr/11y9_components_common_control-center-drawer_repository-drawer-client_tsx_09z.znp._.js.map +1 -1
  272. package/web/.next/server/chunks/ssr/{_04s_q5r._.js → 12k._sonner_dist_index_mjs_0-vmpk5._.js} +2 -2
  273. package/web/.next/server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js.map +1 -0
  274. package/web/.next/server/chunks/ssr/{[root-of-the-server]__0rvrr1j._.js → [root-of-the-server]__0.5ojmt._.js} +2 -2
  275. package/web/.next/server/chunks/ssr/[root-of-the-server]__0.5ojmt._.js.map +1 -0
  276. package/web/.next/server/chunks/ssr/[root-of-the-server]__04h~gav._.js +3 -0
  277. package/web/.next/server/chunks/ssr/[root-of-the-server]__04h~gav._.js.map +1 -0
  278. package/web/.next/server/chunks/ssr/[root-of-the-server]__05_qc0n._.js +1 -1
  279. package/web/.next/server/chunks/ssr/[root-of-the-server]__05_qc0n._.js.map +1 -1
  280. package/web/.next/server/chunks/ssr/[root-of-the-server]__0ge~xny._.js +1 -1
  281. package/web/.next/server/chunks/ssr/[root-of-the-server]__0ge~xny._.js.map +1 -1
  282. package/web/.next/server/chunks/ssr/[root-of-the-server]__0qda~yi._.js +1 -1
  283. package/web/.next/server/chunks/ssr/[root-of-the-server]__0qda~yi._.js.map +1 -1
  284. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rv1gci._.js +1 -1
  285. package/web/.next/server/chunks/ssr/[root-of-the-server]__0tq2syh._.js +1 -1
  286. package/web/.next/server/chunks/ssr/[root-of-the-server]__0t~u8sd._.js +1 -1
  287. package/web/.next/server/chunks/ssr/[root-of-the-server]__0t~u8sd._.js.map +1 -1
  288. package/web/.next/server/chunks/ssr/[root-of-the-server]__0~v1~b9._.js +3 -0
  289. package/web/.next/server/chunks/ssr/[root-of-the-server]__0~v1~b9._.js.map +1 -0
  290. package/web/.next/server/chunks/ssr/[root-of-the-server]__10tll_l._.js +1 -1
  291. package/web/.next/server/chunks/ssr/[root-of-the-server]__10tll_l._.js.map +1 -1
  292. package/web/.next/server/chunks/ssr/[root-of-the-server]__12j29w-._.js +1 -1
  293. package/web/.next/server/chunks/ssr/[root-of-the-server]__12j29w-._.js.map +1 -1
  294. package/web/.next/server/chunks/ssr/_01sesw0._.js +1 -1
  295. package/web/.next/server/chunks/ssr/_01sesw0._.js.map +1 -1
  296. package/web/.next/server/chunks/ssr/{_00u~.41._.js → _03x4h9e._.js} +2 -2
  297. package/web/.next/server/chunks/ssr/_03x4h9e._.js.map +1 -0
  298. package/web/.next/server/chunks/ssr/{_0~0jkp_._.js → _05fk0a4._.js} +2 -2
  299. package/web/.next/server/chunks/ssr/_05fk0a4._.js.map +1 -0
  300. package/web/.next/server/chunks/ssr/_069y.js._.js +2 -2
  301. package/web/.next/server/chunks/ssr/_069y.js._.js.map +1 -1
  302. package/web/.next/server/chunks/ssr/{_0r04xhw._.js → _07u.4jr._.js} +2 -2
  303. package/web/.next/server/chunks/ssr/{_0r04xhw._.js.map → _07u.4jr._.js.map} +1 -1
  304. package/web/.next/server/chunks/ssr/_083k45~._.js +3 -0
  305. package/web/.next/server/chunks/ssr/_083k45~._.js.map +1 -0
  306. package/web/.next/server/chunks/ssr/_0__4si~._.js +1 -1
  307. package/web/.next/server/chunks/ssr/_0__4si~._.js.map +1 -1
  308. package/web/.next/server/chunks/ssr/_0_m17kl._.js +1 -1
  309. package/web/.next/server/chunks/ssr/_0_m17kl._.js.map +1 -1
  310. package/web/.next/server/chunks/ssr/_0d4miu.._.js +1 -1
  311. package/web/.next/server/chunks/ssr/_0d4miu.._.js.map +1 -1
  312. package/web/.next/server/chunks/ssr/_0e8ern9._.js +1 -1
  313. package/web/.next/server/chunks/ssr/_0e8ern9._.js.map +1 -1
  314. package/web/.next/server/chunks/ssr/_0i~-084._.js +3 -0
  315. package/web/.next/server/chunks/ssr/_0i~-084._.js.map +1 -0
  316. package/web/.next/server/chunks/ssr/_0kt18~b._.js +3 -0
  317. package/web/.next/server/chunks/ssr/_0kt18~b._.js.map +1 -0
  318. package/web/.next/server/chunks/ssr/{_08_079y._.js → _0mj-tmi._.js} +2 -2
  319. package/web/.next/server/chunks/ssr/{_08_079y._.js.map → _0mj-tmi._.js.map} +1 -1
  320. package/web/.next/server/chunks/ssr/{_0hw~zvl._.js → _0o_oaao._.js} +2 -2
  321. package/web/.next/server/chunks/ssr/_0o_oaao._.js.map +1 -0
  322. package/web/.next/server/chunks/ssr/_0p3~u8u._.js +2 -2
  323. package/web/.next/server/chunks/ssr/_0p3~u8u._.js.map +1 -1
  324. package/web/.next/server/chunks/ssr/_0r.3n~3._.js +1 -1
  325. package/web/.next/server/chunks/ssr/_0r.3n~3._.js.map +1 -1
  326. package/web/.next/server/chunks/ssr/_0rcx2-c._.js +9 -0
  327. package/web/.next/server/chunks/ssr/_0rcx2-c._.js.map +1 -0
  328. package/web/.next/server/chunks/ssr/_0t59q8r._.js +1 -1
  329. package/web/.next/server/chunks/ssr/_0t59q8r._.js.map +1 -1
  330. package/web/.next/server/chunks/ssr/_0tcccbb._.js +1 -1
  331. package/web/.next/server/chunks/ssr/_0tcccbb._.js.map +1 -1
  332. package/web/.next/server/chunks/ssr/_0tfz1v_._.js +3 -0
  333. package/web/.next/server/chunks/ssr/_0tfz1v_._.js.map +1 -0
  334. package/web/.next/server/chunks/ssr/{_0txr945._.js → _0u3d8.n._.js} +2 -2
  335. package/web/.next/server/chunks/ssr/_0u3d8.n._.js.map +1 -0
  336. package/web/.next/server/chunks/ssr/_0vyfc4b._.js +1 -1
  337. package/web/.next/server/chunks/ssr/_0vyfc4b._.js.map +1 -1
  338. package/web/.next/server/chunks/ssr/_0w-_hww._.js +1 -1
  339. package/web/.next/server/chunks/ssr/_0w-_hww._.js.map +1 -1
  340. package/web/.next/server/chunks/ssr/{_09r54oy._.js → _0ygafoy._.js} +2 -2
  341. package/web/.next/server/chunks/ssr/{_09r54oy._.js.map → _0ygafoy._.js.map} +1 -1
  342. package/web/.next/server/chunks/ssr/_0zk-h5w._.js +1 -1
  343. package/web/.next/server/chunks/ssr/_0zk-h5w._.js.map +1 -1
  344. package/web/.next/server/chunks/ssr/_0~7lwu_._.js +1 -1
  345. package/web/.next/server/chunks/ssr/_0~7lwu_._.js.map +1 -1
  346. package/web/.next/server/chunks/ssr/_10joy2y._.js +3 -0
  347. package/web/.next/server/chunks/ssr/_10joy2y._.js.map +1 -0
  348. package/web/.next/server/chunks/ssr/_1161g9x._.js +1 -1
  349. package/web/.next/server/chunks/ssr/_1161g9x._.js.map +1 -1
  350. package/web/.next/server/chunks/ssr/_12uy.45._.js +3 -0
  351. package/web/.next/server/chunks/ssr/_12uy.45._.js.map +1 -0
  352. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_plugins_page_actions_0rdndum.js +3 -0
  353. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_plugins_page_actions_0rdndum.js.map +1 -0
  354. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_05m2q~u.js +1 -1
  355. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_05m2q~u.js.map +1 -1
  356. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_0.6zk.t.js +1 -1
  357. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_0.6zk.t.js.map +1 -1
  358. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_0pjb_re._.js +1 -1
  359. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_0w2wqvu._.js +1 -1
  360. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_0l3oxx9._.js +1 -1
  361. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_0l3oxx9._.js.map +1 -1
  362. package/web/.next/server/middleware-build-manifest.js +3 -3
  363. package/web/.next/server/next-font-manifest.js +1 -1
  364. package/web/.next/server/next-font-manifest.json +3 -0
  365. package/web/.next/server/pages/500.html +1 -1
  366. package/web/.next/server/server-reference-manifest.js +1 -1
  367. package/web/.next/server/server-reference-manifest.json +187 -61
  368. package/web/.next/static/chunks/{0_xww9bsde~1x.js → 01~u_q8i2zgcl.js} +2 -2
  369. package/web/.next/static/chunks/{06nsv-_ec9ehn.js → 025ml1.quzhqf.js} +1 -1
  370. package/web/.next/static/chunks/{0fg~vc93spa9c.js → 07gal-~-zwagj.js} +1 -1
  371. package/web/.next/static/chunks/07le1mov593z9.js +1 -0
  372. package/web/.next/static/chunks/09ungqk9~va40.js +1 -0
  373. package/web/.next/static/chunks/0ab36sfvo.9ai.js +1 -0
  374. package/web/.next/static/chunks/0aq9-lg.5r.nk.js +5 -0
  375. package/web/.next/static/chunks/{0in4l8mne5y~_.js → 0b2pi58fg3lt3.js} +1 -1
  376. package/web/.next/static/chunks/{0cv09-g0prv4o.js → 0cvyulutrctst.js} +1 -1
  377. package/web/.next/static/chunks/0eqi_uuiepxhf.js +1 -0
  378. package/web/.next/static/chunks/{0v~n9z6b639zm.js → 0jwq.mr-.ltps.js} +1 -1
  379. package/web/.next/static/chunks/0k8m.qcahm63g.js +1 -0
  380. package/web/.next/static/chunks/0lc0x8kcu46ae.js +1 -0
  381. package/web/.next/static/chunks/0lz-oq74e_ciu.js +1 -0
  382. package/web/.next/static/chunks/0nkujbu62z1jl.js +7 -0
  383. package/web/.next/static/chunks/0oadtfnesfdqc.js +1 -0
  384. package/web/.next/static/chunks/{0ygtupas8pxdi.js → 0uryz2ek77e2a.js} +1 -1
  385. package/web/.next/static/chunks/0v7r7y~3e~oo6.css +1 -0
  386. package/web/.next/static/chunks/{0hg8qgtv~kuys.js → 0xo.hi4px83w2.js} +1 -1
  387. package/web/.next/static/chunks/{0_v4t6gzx.332.js → 0xr0p_ynap2~d.js} +1 -1
  388. package/web/.next/static/chunks/0xtzpbc5mm5z7.js +5 -0
  389. package/web/.next/static/chunks/{133q8d69p6cl0.js → 0~-kk8o121_13.js} +1 -1
  390. package/web/.next/static/chunks/{078lp287u~c~b.js → 16k169s1a_8ru.js} +1 -1
  391. package/web/.next/static/chunks/{17c31c1biwfyi.js → 17dp77weos4ao.js} +1 -1
  392. package/web/.next/server/chunks/ssr/[root-of-the-server]__0qxd563._.js +0 -3
  393. package/web/.next/server/chunks/ssr/[root-of-the-server]__0qxd563._.js.map +0 -1
  394. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rvrr1j._.js.map +0 -1
  395. package/web/.next/server/chunks/ssr/_00u~.41._.js.map +0 -1
  396. package/web/.next/server/chunks/ssr/_04s_q5r._.js.map +0 -1
  397. package/web/.next/server/chunks/ssr/_0dy8.0k._.js +0 -3
  398. package/web/.next/server/chunks/ssr/_0dy8.0k._.js.map +0 -1
  399. package/web/.next/server/chunks/ssr/_0gdghcr._.js +0 -3
  400. package/web/.next/server/chunks/ssr/_0gdghcr._.js.map +0 -1
  401. package/web/.next/server/chunks/ssr/_0hw~zvl._.js.map +0 -1
  402. package/web/.next/server/chunks/ssr/_0l2~~pi._.js +0 -3
  403. package/web/.next/server/chunks/ssr/_0l2~~pi._.js.map +0 -1
  404. package/web/.next/server/chunks/ssr/_0mi5qj~._.js +0 -3
  405. package/web/.next/server/chunks/ssr/_0mi5qj~._.js.map +0 -1
  406. package/web/.next/server/chunks/ssr/_0n.magx._.js +0 -3
  407. package/web/.next/server/chunks/ssr/_0n.magx._.js.map +0 -1
  408. package/web/.next/server/chunks/ssr/_0txr945._.js.map +0 -1
  409. package/web/.next/server/chunks/ssr/_0y8u4.e._.js +0 -9
  410. package/web/.next/server/chunks/ssr/_0y8u4.e._.js.map +0 -1
  411. package/web/.next/server/chunks/ssr/_0~0jkp_._.js.map +0 -1
  412. package/web/.next/static/chunks/0-ud~1jj7chzu.js +0 -7
  413. package/web/.next/static/chunks/01znjuvi5t9~q.js +0 -5
  414. package/web/.next/static/chunks/033sl_l5o3uo8.css +0 -1
  415. package/web/.next/static/chunks/04r9m_5p953mf.js +0 -1
  416. package/web/.next/static/chunks/07i3-aamszsoh.js +0 -1
  417. package/web/.next/static/chunks/0ee1d3_y40g9f.js +0 -1
  418. package/web/.next/static/chunks/0n3kuj7t_-jzp.js +0 -1
  419. package/web/.next/static/chunks/0pt-d18f7zxvv.js +0 -1
  420. package/web/.next/static/chunks/12pd180jp8zu..js +0 -5
  421. package/web/.next/static/chunks/13fcwhkw7dle2.js +0 -1
  422. package/web/.next/static/chunks/15mks7_3venc1.js +0 -1
  423. /package/web/.next/server/chunks/{[root-of-the-server]__0zu_byw._.js.map → [root-of-the-server]__07suer1._.js.map} +0 -0
  424. /package/web/.next/server/chunks/{[root-of-the-server]__0u1jyv9._.js.map → [root-of-the-server]__0sgzo7y._.js.map} +0 -0
  425. /package/web/.next/server/chunks/{[root-of-the-server]__08cpfre._.js.map → [root-of-the-server]__0uxlr84._.js.map} +0 -0
  426. /package/web/.next/static/{LQMB6QAutWzPQnLUZG96y → vD7xT4_iwKDhgj4-rr637}/_buildManifest.js +0 -0
  427. /package/web/.next/static/{LQMB6QAutWzPQnLUZG96y → vD7xT4_iwKDhgj4-rr637}/_clientMiddlewareManifest.js +0 -0
  428. /package/web/.next/static/{LQMB6QAutWzPQnLUZG96y → vD7xT4_iwKDhgj4-rr637}/_ssgManifest.js +0 -0
@@ -0,0 +1,11 @@
1
+ 'use server';
2
+ import { resolve } from '../../lib/server-container.js';
3
+ export async function fetchPluginCatalogAction() {
4
+ try {
5
+ const useCase = resolve('FetchPluginCatalogUseCase');
6
+ return await useCase.execute();
7
+ }
8
+ catch {
9
+ return { plugins: [], installedPlugins: [], error: 'Failed to fetch plugin catalog' };
10
+ }
11
+ }
@@ -0,0 +1,5 @@
1
+ export declare function installPluginAction(pluginId: string, marketplace: string, scope?: string): Promise<{
2
+ success: boolean;
3
+ error?: string;
4
+ }>;
5
+ //# sourceMappingURL=install-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install-plugin.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/install-plugin.ts"],"names":[],"mappings":"AAKA,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAO/C"}
@@ -0,0 +1,11 @@
1
+ 'use server';
2
+ import { resolve } from '../../lib/server-container.js';
3
+ export async function installPluginAction(pluginId, marketplace, scope) {
4
+ try {
5
+ const useCase = resolve('InstallPluginUseCase');
6
+ return await useCase.execute({ pluginId, marketplace, scope });
7
+ }
8
+ catch {
9
+ return { success: false, error: 'Failed to install plugin' };
10
+ }
11
+ }
@@ -0,0 +1,5 @@
1
+ export declare function togglePluginAction(pluginId: string, marketplace: string, enabled: boolean): Promise<{
2
+ success: boolean;
3
+ error?: string;
4
+ }>;
5
+ //# sourceMappingURL=toggle-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle-plugin.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/toggle-plugin.ts"],"names":[],"mappings":"AAKA,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,OAAO,GACf,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAO/C"}
@@ -0,0 +1,11 @@
1
+ 'use server';
2
+ import { resolve } from '../../lib/server-container.js';
3
+ export async function togglePluginAction(pluginId, marketplace, enabled) {
4
+ try {
5
+ const useCase = resolve('TogglePluginUseCase');
6
+ return await useCase.execute({ pluginId, marketplace, enabled });
7
+ }
8
+ catch {
9
+ return { success: false, error: 'Failed to toggle plugin' };
10
+ }
11
+ }
@@ -0,0 +1,5 @@
1
+ export declare function uninstallPluginAction(pluginId: string, marketplace: string): Promise<{
2
+ success: boolean;
3
+ error?: string;
4
+ }>;
5
+ //# sourceMappingURL=uninstall-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uninstall-plugin.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/actions/uninstall-plugin.ts"],"names":[],"mappings":"AAKA,wBAAsB,qBAAqB,CACzC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAO/C"}
@@ -0,0 +1,11 @@
1
+ 'use server';
2
+ import { resolve } from '../../lib/server-container.js';
3
+ export async function uninstallPluginAction(pluginId, marketplace) {
4
+ try {
5
+ const useCase = resolve('UninstallPluginUseCase');
6
+ return await useCase.execute({ pluginId, marketplace });
7
+ }
8
+ catch {
9
+ return { success: false, error: 'Failed to uninstall plugin' };
10
+ }
11
+ }
@@ -0,0 +1,2 @@
1
+ export default function PluginsPage(): Promise<import("react/jsx-runtime").JSX.Element>;
2
+ //# sourceMappingURL=page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/plugins/page.tsx"],"names":[],"mappings":"AAOA,wBAA8B,WAAW,qDAkBxC"}
@@ -0,0 +1,23 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { notFound } from 'next/navigation';
3
+ import { getFeatureFlags } from '../../lib/feature-flags.js';
4
+ import { PluginsPageClient } from '../../components/features/plugins/plugins-page-client.js';
5
+ import { resolve } from '../../lib/server-container.js';
6
+ import { AgentType } from '../../../../../packages/core/src/domain/generated/output.js';
7
+ export default async function PluginsPage() {
8
+ const flags = await getFeatureFlags();
9
+ if (!flags.plugins)
10
+ notFound();
11
+ let proxyConfigured = false;
12
+ let isClaudeCode = false;
13
+ try {
14
+ const useCase = resolve('LoadSettingsUseCase');
15
+ const settings = await useCase.execute();
16
+ proxyConfigured = !!(settings.litellmProxy?.baseUrl && settings.litellmProxy?.marketplaceEnabled);
17
+ isClaudeCode = settings.agent?.type === AgentType.ClaudeCode;
18
+ }
19
+ catch {
20
+ // Settings not available
21
+ }
22
+ return _jsx(PluginsPageClient, { proxyConfigured: proxyConfigured, isClaudeCode: isClaudeCode });
23
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"repository-drawer.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/repository-node/repository-drawer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAOvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAqB/C,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAuBF,2EAA2E;AAC3E,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAkCF,0FAA0F;AAC1F,eAAO,MAAM,iBAAiB,EAAE,KAE/B,CAAC"}
1
+ {"version":3,"file":"repository-drawer.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/common/repository-node/repository-drawer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAOvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAqB/C,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAuBF,2EAA2E;AAC3E,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAmCF,0FAA0F;AAC1F,eAAO,MAAM,iBAAiB,EAAE,KAE/B,CAAC"}
@@ -57,6 +57,7 @@ function WithGitOpsTemplate({ data }) {
57
57
  adoptBranch: true,
58
58
  gitRebaseSync: true,
59
59
  reactFileManager: true,
60
+ plugins: true,
60
61
  };
61
62
  return (_jsx(FeatureFlagsProvider, { flags: allEnabledFlags, children: _jsxs("div", { style: { height: '100vh', background: '#f8fafc', padding: '2rem' }, children: [_jsx("button", { type: "button", onClick: () => setSelected(data), style: { padding: '8px 16px', border: '1px solid #ccc', borderRadius: '6px' }, children: "Open Drawer" }), _jsx(RepositoryDrawer, { data: selected, onClose: () => setSelected(null) })] }) }));
62
63
  }
@@ -0,0 +1,9 @@
1
+ import type { PluginMarketplaceEntry, InstalledPlugin } from '../../../../../../packages/core/src/application/ports/output/services/plugin-marketplace.interface.js';
2
+ export interface PluginCardProps {
3
+ plugin: PluginMarketplaceEntry;
4
+ installed?: InstalledPlugin;
5
+ onSelect: (plugin: PluginMarketplaceEntry) => void;
6
+ onToggle?: (pluginName: string, enabled: boolean) => void;
7
+ }
8
+ export declare function PluginCard({ plugin, installed, onSelect, onToggle }: PluginCardProps): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=plugin-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugin-card.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EAChB,MAAM,gFAAgF,CAAC;AAGxF,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,QAAQ,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3D;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,eAAe,2CA0DpF"}
@@ -0,0 +1,15 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Card } from '../../ui/card.js';
4
+ import { Badge } from '../../ui/badge.js';
5
+ import { Switch } from '../../ui/switch.js';
6
+ import { useTranslation } from 'react-i18next';
7
+ export function PluginCard({ plugin, installed, onSelect, onToggle }) {
8
+ const { t } = useTranslation('web');
9
+ return (_jsxs(Card, { className: "cursor-pointer p-5 transition-all duration-300 hover:scale-[1.02] hover:shadow-md hover:ring-slate-300 dark:hover:ring-slate-600", role: "button", tabIndex: 0, onClick: () => onSelect(plugin), onKeyDown: (e) => {
10
+ if (e.key === 'Enter' || e.key === ' ') {
11
+ e.preventDefault();
12
+ onSelect(plugin);
13
+ }
14
+ }, "data-testid": `plugin-card-${plugin.name}`, children: [_jsx("h3", { className: "text-foreground text-sm leading-tight font-bold tracking-tight", children: plugin.name }), plugin.version ? (_jsxs("p", { className: "text-muted-foreground mt-1 font-mono text-xs", children: ["v", plugin.version] })) : null, _jsx("p", { className: "text-muted-foreground mt-3 line-clamp-2 text-xs leading-relaxed", children: plugin.description }), _jsxs("div", { className: "mt-4 flex flex-wrap items-center gap-1.5", children: [plugin.category ? _jsx(Badge, { variant: "outline", children: plugin.category }) : null, installed ? (_jsx(Badge, { variant: "secondary", children: t('plugins.installed') })) : (_jsx(Badge, { variant: "outline", className: "opacity-50", children: t('plugins.notInstalled') }))] }), installed ? (_jsxs("div", { className: "mt-3 flex items-center gap-2", onClick: (e) => e.stopPropagation(), onKeyDown: (e) => e.stopPropagation(), children: [_jsx(Switch, { checked: installed.enabled, onCheckedChange: (checked) => onToggle?.(plugin.name, checked), "data-testid": `plugin-toggle-${plugin.name}` }), _jsx("span", { className: "text-muted-foreground text-xs", children: installed.enabled ? t('plugins.disable') : t('plugins.enable') })] })) : null] }));
15
+ }
@@ -0,0 +1,17 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { PluginCard } from './plugin-card.js';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof PluginCard;
6
+ args: {
7
+ onSelect: () => undefined;
8
+ onToggle: () => undefined;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
14
+ export declare const Installed: Story;
15
+ export declare const NotInstalled: Story;
16
+ export declare const LongDescription: Story;
17
+ //# sourceMappingURL=plugin-card.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugin-card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,QAAA,MAAM,IAAI;;;;;;;CAOyB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAgBvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAY7B,CAAC"}
@@ -0,0 +1,60 @@
1
+ import { PluginCard } from './plugin-card.js';
2
+ const meta = {
3
+ title: 'Features/Plugins/PluginCard',
4
+ component: PluginCard,
5
+ args: {
6
+ onSelect: () => undefined,
7
+ onToggle: () => undefined,
8
+ },
9
+ };
10
+ export default meta;
11
+ export const Default = {
12
+ args: {
13
+ plugin: {
14
+ name: 'superpowers',
15
+ description: 'Advanced Claude Code skills and workflow automation for power users',
16
+ version: '2.1.0',
17
+ source: { source: 'github', repo: 'anthropics/superpowers' },
18
+ category: 'productivity',
19
+ keywords: ['automation', 'workflows'],
20
+ },
21
+ },
22
+ };
23
+ export const Installed = {
24
+ args: {
25
+ plugin: {
26
+ name: 'code-review-graph',
27
+ description: 'Build knowledge graphs for intelligent code review with structural analysis',
28
+ version: '1.5.0',
29
+ source: { source: 'github', repo: 'anthropics/code-review-graph' },
30
+ category: 'code-quality',
31
+ },
32
+ installed: {
33
+ id: 'code-review-graph@claude-plugins-official',
34
+ scope: 'user',
35
+ version: '1.5.0',
36
+ enabled: true,
37
+ },
38
+ },
39
+ };
40
+ export const NotInstalled = {
41
+ args: {
42
+ plugin: {
43
+ name: 'hookify',
44
+ description: 'Create hooks to prevent unwanted AI behaviors',
45
+ version: '1.0.0',
46
+ source: { source: 'github', repo: 'anthropics/hookify' },
47
+ category: 'productivity',
48
+ },
49
+ },
50
+ };
51
+ export const LongDescription = {
52
+ args: {
53
+ plugin: {
54
+ name: 'very-long-description-plugin',
55
+ description: 'This plugin has a very long description that should be truncated by the line-clamp CSS utility class. '.repeat(5),
56
+ version: '0.1.0',
57
+ source: { source: 'url', url: 'https://github.com/org/plugin.git' },
58
+ },
59
+ },
60
+ };
@@ -0,0 +1,11 @@
1
+ import type { PluginMarketplaceEntry, InstalledPlugin } from '../../../../../../packages/core/src/application/ports/output/services/plugin-marketplace.interface.js';
2
+ export interface PluginDetailDrawerProps {
3
+ plugin: PluginMarketplaceEntry | null;
4
+ installed?: InstalledPlugin;
5
+ open: boolean;
6
+ onClose: () => void;
7
+ onInstall?: (pluginName: string) => void;
8
+ onUninstall?: (pluginName: string) => void;
9
+ }
10
+ export declare function PluginDetailDrawer({ plugin, installed, open, onClose, onInstall, onUninstall, }: PluginDetailDrawerProps): import("react/jsx-runtime").JSX.Element | null;
11
+ //# sourceMappingURL=plugin-detail-drawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-detail-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugin-detail-drawer.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EAChB,MAAM,gFAAgF,CAAC;AAExF,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAkBD,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,SAAS,EACT,IAAI,EACJ,OAAO,EACP,SAAS,EACT,WAAW,GACZ,EAAE,uBAAuB,kDAmFzB"}
@@ -0,0 +1,33 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { BaseDrawer } from '../../common/base-drawer/index.js';
4
+ import { DrawerTitle, DrawerDescription } from '../../ui/drawer.js';
5
+ import { Badge } from '../../ui/badge.js';
6
+ import { Button } from '../../ui/button.js';
7
+ import { Separator } from '../../ui/separator.js';
8
+ import { ExternalLink } from 'lucide-react';
9
+ import { useTranslation } from 'react-i18next';
10
+ function getSourceUrl(plugin) {
11
+ const { source } = plugin;
12
+ if (source.source === 'github' && source.repo) {
13
+ return `https://github.com/${source.repo}`;
14
+ }
15
+ if ((source.source === 'url' || source.source === 'git-subdir') && source.url) {
16
+ try {
17
+ const url = new URL(source.url);
18
+ if (url.protocol === 'https:')
19
+ return source.url;
20
+ }
21
+ catch {
22
+ // Invalid URL — don't render as link
23
+ }
24
+ }
25
+ return null;
26
+ }
27
+ export function PluginDetailDrawer({ plugin, installed, open, onClose, onInstall, onUninstall, }) {
28
+ const { t } = useTranslation('web');
29
+ if (!plugin)
30
+ return null;
31
+ const sourceUrl = getSourceUrl(plugin);
32
+ return (_jsxs(BaseDrawer, { open: open, onClose: onClose, children: [_jsx(DrawerTitle, { className: "text-foreground text-lg font-bold tracking-tight", children: plugin.name }), _jsx(DrawerDescription, { className: "text-muted-foreground mt-1 text-sm", children: plugin.description }), _jsx(Separator, { className: "my-4" }), _jsxs("div", { className: "space-y-3", children: [plugin.version ? (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-muted-foreground text-sm", children: t('plugins.version') }), _jsxs("span", { className: "font-mono text-sm", children: ["v", plugin.version] })] })) : null, plugin.category ? (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-muted-foreground text-sm", children: t('plugins.category') }), _jsx(Badge, { variant: "outline", children: plugin.category })] })) : null, sourceUrl ? (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-muted-foreground text-sm", children: t('plugins.source') }), _jsxs("a", { href: sourceUrl, target: "_blank", rel: "noopener noreferrer", className: "text-primary hover:text-primary/80 inline-flex items-center gap-1 text-sm underline underline-offset-2", children: [plugin.source.repo ?? 'Repository', _jsx(ExternalLink, { className: "size-3" })] })] })) : null, plugin.keywords && plugin.keywords.length > 0 ? (_jsx("div", { className: "flex flex-wrap gap-1.5 pt-2", children: plugin.keywords.map((kw) => (_jsx(Badge, { variant: "outline", className: "text-xs", children: kw }, kw))) })) : null] }), _jsx(Separator, { className: "my-4" }), _jsx("div", { className: "flex gap-2", children: installed ? (_jsx(Button, { variant: "destructive", size: "sm", onClick: () => onUninstall?.(plugin.name), "data-testid": "plugin-uninstall-button", children: t('plugins.uninstall') })) : (_jsx(Button, { size: "sm", onClick: () => onInstall?.(plugin.name), "data-testid": "plugin-install-button", children: t('plugins.install') })) })] }));
33
+ }
@@ -0,0 +1,18 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { PluginDetailDrawer } from './plugin-detail-drawer.js';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof PluginDetailDrawer;
6
+ args: {
7
+ open: true;
8
+ onClose: () => undefined;
9
+ onInstall: () => undefined;
10
+ onUninstall: () => undefined;
11
+ };
12
+ };
13
+ export default meta;
14
+ type Story = StoryObj<typeof meta>;
15
+ export declare const Default: Story;
16
+ export declare const Installed: Story;
17
+ export declare const NoSource: Story;
18
+ //# sourceMappingURL=plugin-detail-drawer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-detail-drawer.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,QAAA,MAAM,IAAI;;;;;;;;;CASiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC"}
@@ -0,0 +1,51 @@
1
+ import { PluginDetailDrawer } from './plugin-detail-drawer.js';
2
+ const meta = {
3
+ title: 'Features/Plugins/PluginDetailDrawer',
4
+ component: PluginDetailDrawer,
5
+ args: {
6
+ open: true,
7
+ onClose: () => undefined,
8
+ onInstall: () => undefined,
9
+ onUninstall: () => undefined,
10
+ },
11
+ };
12
+ export default meta;
13
+ export const Default = {
14
+ args: {
15
+ plugin: {
16
+ name: 'superpowers',
17
+ description: 'Advanced Claude Code skills and workflow automation for power users',
18
+ version: '2.1.0',
19
+ source: { source: 'github', repo: 'anthropics/superpowers' },
20
+ category: 'productivity',
21
+ keywords: ['automation', 'workflows', 'skills'],
22
+ },
23
+ },
24
+ };
25
+ export const Installed = {
26
+ args: {
27
+ plugin: {
28
+ name: 'code-review-graph',
29
+ description: 'Build knowledge graphs for intelligent code review',
30
+ version: '1.5.0',
31
+ source: { source: 'github', repo: 'anthropics/code-review-graph' },
32
+ category: 'code-quality',
33
+ keywords: ['review', 'graph', 'analysis'],
34
+ },
35
+ installed: {
36
+ id: 'code-review-graph@claude-plugins-official',
37
+ scope: 'user',
38
+ version: '1.5.0',
39
+ enabled: true,
40
+ },
41
+ },
42
+ };
43
+ export const NoSource = {
44
+ args: {
45
+ plugin: {
46
+ name: 'mystery-plugin',
47
+ description: 'A plugin with no source URL information',
48
+ source: { source: 'github' },
49
+ },
50
+ },
51
+ };
@@ -0,0 +1,6 @@
1
+ export interface PluginsPageClientProps {
2
+ proxyConfigured: boolean;
3
+ isClaudeCode: boolean;
4
+ }
5
+ export declare function PluginsPageClient({ proxyConfigured, isClaudeCode }: PluginsPageClientProps): import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=plugins-page-client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugins-page-client.tsx"],"names":[],"mappings":"AAqBA,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,sBAAsB,2CA0M1F"}
@@ -0,0 +1,115 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useState, useMemo, useEffect, useTransition } from 'react';
4
+ import { Search, Blocks, AlertCircle } from 'lucide-react';
5
+ import { toast } from 'sonner';
6
+ import { Input } from '../../ui/input.js';
7
+ import { Button } from '../../ui/button.js';
8
+ import { PageHeader } from '../../common/page-header/index.js';
9
+ import { EmptyState } from '../../common/empty-state/index.js';
10
+ import { PluginCard } from './plugin-card.js';
11
+ import { PluginDetailDrawer } from './plugin-detail-drawer.js';
12
+ import { useTranslation } from 'react-i18next';
13
+ import { fetchPluginCatalogAction } from '../../../app/actions/fetch-plugin-catalog.js';
14
+ import { installPluginAction } from '../../../app/actions/install-plugin.js';
15
+ import { uninstallPluginAction } from '../../../app/actions/uninstall-plugin.js';
16
+ import { togglePluginAction } from '../../../app/actions/toggle-plugin.js';
17
+ export function PluginsPageClient({ proxyConfigured, isClaudeCode }) {
18
+ const { t } = useTranslation('web');
19
+ const [, startTransition] = useTransition();
20
+ const [searchQuery, setSearchQuery] = useState('');
21
+ const [activeCategory, setActiveCategory] = useState(null);
22
+ const [selectedPlugin, setSelectedPlugin] = useState(null);
23
+ const [plugins, setPlugins] = useState([]);
24
+ const [installedPlugins, setInstalledPlugins] = useState([]);
25
+ const [loading, setLoading] = useState(true);
26
+ useEffect(() => {
27
+ if (!proxyConfigured) {
28
+ setLoading(false);
29
+ return;
30
+ }
31
+ fetchPluginCatalogAction().then((result) => {
32
+ setPlugins(result.plugins);
33
+ setInstalledPlugins(result.installedPlugins);
34
+ setLoading(false);
35
+ });
36
+ }, [proxyConfigured]);
37
+ const categories = useMemo(() => {
38
+ const cats = new Set();
39
+ for (const p of plugins) {
40
+ if (p.category)
41
+ cats.add(p.category);
42
+ }
43
+ return Array.from(cats).sort();
44
+ }, [plugins]);
45
+ const filteredPlugins = useMemo(() => {
46
+ const query = searchQuery.toLowerCase();
47
+ return plugins.filter((p) => {
48
+ if (activeCategory && p.category !== activeCategory)
49
+ return false;
50
+ if (query) {
51
+ const matchesName = p.name.toLowerCase().includes(query);
52
+ const matchesDescription = p.description.toLowerCase().includes(query);
53
+ if (!matchesName && !matchesDescription)
54
+ return false;
55
+ }
56
+ return true;
57
+ });
58
+ }, [plugins, searchQuery, activeCategory]);
59
+ const getInstalled = (pluginName) => installedPlugins.find((ip) => ip.id.startsWith(`${pluginName}@`));
60
+ const handleInstall = (pluginName) => {
61
+ startTransition(async () => {
62
+ const result = await installPluginAction(pluginName, 'default');
63
+ if (result.success) {
64
+ toast.success(`${pluginName} installed`);
65
+ const catalog = await fetchPluginCatalogAction();
66
+ setInstalledPlugins(catalog.installedPlugins);
67
+ }
68
+ else {
69
+ toast.error(result.error ?? 'Installation failed');
70
+ }
71
+ });
72
+ };
73
+ const handleUninstall = (pluginName) => {
74
+ startTransition(async () => {
75
+ const result = await uninstallPluginAction(pluginName, 'default');
76
+ if (result.success) {
77
+ toast.success(`${pluginName} uninstalled`);
78
+ const catalog = await fetchPluginCatalogAction();
79
+ setInstalledPlugins(catalog.installedPlugins);
80
+ }
81
+ else {
82
+ toast.error(result.error ?? 'Uninstallation failed');
83
+ }
84
+ });
85
+ };
86
+ const handleToggle = (pluginName, enabled) => {
87
+ startTransition(async () => {
88
+ const result = await togglePluginAction(pluginName, 'default', enabled);
89
+ if (result.success) {
90
+ toast.success(`${pluginName} ${enabled ? 'enabled' : 'disabled'}`);
91
+ const catalog = await fetchPluginCatalogAction();
92
+ setInstalledPlugins(catalog.installedPlugins);
93
+ }
94
+ else {
95
+ toast.error(result.error ?? 'Toggle failed');
96
+ }
97
+ });
98
+ };
99
+ if (!isClaudeCode) {
100
+ return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsx(EmptyState, { icon: _jsx(AlertCircle, { className: "size-10" }), title: t('plugins.wrongAgent') })] }));
101
+ }
102
+ if (!proxyConfigured) {
103
+ return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsx(EmptyState, { icon: _jsx(AlertCircle, { className: "size-10" }), title: t('plugins.noProxy') })] }));
104
+ }
105
+ if (loading) {
106
+ return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsxs("div", { className: "text-muted-foreground text-center text-sm", children: [t('accessibility.loading'), "..."] })] }));
107
+ }
108
+ if (plugins.length === 0) {
109
+ return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsx(EmptyState, { icon: _jsx(Blocks, { className: "size-10" }), title: t('plugins.emptyState') })] }));
110
+ }
111
+ return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsxs("div", { className: "relative", children: [_jsx(Search, { className: "text-muted-foreground absolute top-1/2 left-3 size-4 -translate-y-1/2" }), _jsx(Input, { placeholder: t('plugins.searchPlaceholder'), value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), className: "ps-9", "data-testid": "plugin-search" })] }), _jsxs("div", { className: "flex flex-wrap gap-2", children: [_jsx(Button, { variant: activeCategory === null ? 'default' : 'outline', size: "sm", onClick: () => setActiveCategory(null), children: t('plugins.allCategories') }), categories.map((cat) => (_jsx(Button, { variant: activeCategory === cat ? 'default' : 'outline', size: "sm", onClick: () => setActiveCategory(cat === activeCategory ? null : cat), children: cat }, cat)))] }), filteredPlugins.length > 0 ? (_jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: filteredPlugins.map((plugin) => (_jsx(PluginCard, { plugin: plugin, installed: getInstalled(plugin.name), onSelect: setSelectedPlugin, onToggle: handleToggle }, plugin.name))) })) : (_jsx(EmptyState, { icon: _jsx(Search, { className: "size-10" }), title: t('plugins.emptyState'), action: _jsx(Button, { variant: "outline", onClick: () => {
112
+ setSearchQuery('');
113
+ setActiveCategory(null);
114
+ }, children: t('plugins.clearFilters') }) })), _jsx(PluginDetailDrawer, { plugin: selectedPlugin, installed: selectedPlugin ? getInstalled(selectedPlugin.name) : undefined, open: !!selectedPlugin, onClose: () => setSelectedPlugin(null), onInstall: handleInstall, onUninstall: handleUninstall })] }));
115
+ }
@@ -0,0 +1,12 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { PluginsPageClient } from './plugins-page-client.js';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof PluginsPageClient;
6
+ };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Default: Story;
10
+ export declare const NoProxy: Story;
11
+ export declare const WrongAgent: Story;
12
+ //# sourceMappingURL=plugins-page-client.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins-page-client.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugins-page-client.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,QAAA,MAAM,IAAI;;;CAGgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { PluginsPageClient } from './plugins-page-client.js';
2
+ const meta = {
3
+ title: 'Features/Plugins/PluginsPageClient',
4
+ component: PluginsPageClient,
5
+ };
6
+ export default meta;
7
+ export const Default = {
8
+ args: {
9
+ proxyConfigured: true,
10
+ isClaudeCode: true,
11
+ },
12
+ };
13
+ export const NoProxy = {
14
+ args: {
15
+ proxyConfigured: false,
16
+ isClaudeCode: true,
17
+ },
18
+ };
19
+ export const WrongAgent = {
20
+ args: {
21
+ proxyConfigured: true,
22
+ isClaudeCode: false,
23
+ },
24
+ };
@@ -1,6 +1,6 @@
1
- import type { AgentConfig } from '../../../../../../packages/core/src/domain/generated/output.js';
1
+ import type { Settings } from '../../../../../../packages/core/src/domain/generated/output.js';
2
2
  export interface AgentSettingsSectionProps {
3
- agent: AgentConfig;
3
+ settings: Settings;
4
4
  }
5
- export declare function AgentSettingsSection({ agent }: AgentSettingsSectionProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function AgentSettingsSection({ settings }: AgentSettingsSectionProps): import("react/jsx-runtime").JSX.Element;
6
6
  //# sourceMappingURL=agent-settings-section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/agent-settings-section.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAgB3E,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,WAAW,CAAC;CACpB;AAkBD,wBAAgB,oBAAoB,CAAC,EAAE,KAAK,EAAE,EAAE,yBAAyB,2CAoKxE"}
1
+ {"version":3,"file":"agent-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/agent-settings-section.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAa,MAAM,yCAAyC,CAAC;AAInF,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE,yBAAyB,2CA0C3E"}