@shipit-ai/cli 1.167.1 → 1.169.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (396) hide show
  1. package/dist/packages/core/src/infrastructure/services/tool-installer/tools/antigravity.json +1 -1
  2. package/dist/packages/core/src/infrastructure/services/tool-installer/tools/bash.json +1 -0
  3. package/dist/packages/core/src/infrastructure/services/tool-installer/tools/cursor-cli.json +1 -1
  4. package/dist/packages/core/src/infrastructure/services/tool-installer/tools/cursor.json +1 -1
  5. package/dist/packages/core/src/infrastructure/services/tool-installer/tools/fish.json +1 -0
  6. package/dist/packages/core/src/infrastructure/services/tool-installer/tools/powershell.json +1 -0
  7. package/dist/packages/core/src/infrastructure/services/tool-installer/tools/zsh.json +1 -0
  8. package/dist/src/presentation/web/app/layout.d.ts.map +1 -1
  9. package/dist/src/presentation/web/app/layout.js +15 -2
  10. package/dist/src/presentation/web/components/common/base-drawer/base-drawer.d.ts.map +1 -1
  11. package/dist/src/presentation/web/components/common/base-drawer/base-drawer.js +4 -1
  12. package/dist/src/presentation/web/components/common/page-header/page-header.d.ts +3 -1
  13. package/dist/src/presentation/web/components/common/page-header/page-header.d.ts.map +1 -1
  14. package/dist/src/presentation/web/components/common/page-header/page-header.js +8 -2
  15. package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts.map +1 -1
  16. package/dist/src/presentation/web/components/common/repository-node/repository-node.js +6 -1
  17. package/dist/src/presentation/web/components/common/shipit-ai-logo/shipit-ai-logo.d.ts +9 -1
  18. package/dist/src/presentation/web/components/common/shipit-ai-logo/shipit-ai-logo.d.ts.map +1 -1
  19. package/dist/src/presentation/web/components/common/shipit-ai-logo/shipit-ai-logo.js +12 -6
  20. package/dist/src/presentation/web/components/common/sidebar-collapse-toggle/sidebar-collapse-toggle.d.ts.map +1 -1
  21. package/dist/src/presentation/web/components/common/sidebar-collapse-toggle/sidebar-collapse-toggle.js +5 -1
  22. package/dist/src/presentation/web/components/common/sidebar-nav-item/sidebar-nav-item.d.ts.map +1 -1
  23. package/dist/src/presentation/web/components/common/sidebar-nav-item/sidebar-nav-item.js +15 -0
  24. package/dist/src/presentation/web/components/features/chat/ChatSheet.d.ts.map +1 -1
  25. package/dist/src/presentation/web/components/features/chat/ChatSheet.js +18 -5
  26. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts.map +1 -1
  27. package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js +1 -1
  28. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts.map +1 -1
  29. package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +5 -1
  30. package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts +3 -3
  31. package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts.map +1 -1
  32. package/dist/src/presentation/web/components/features/settings/agent-settings-section.js +23 -102
  33. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts +2 -3
  34. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts.map +1 -1
  35. package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.js +18 -22
  36. package/dist/src/presentation/web/components/features/settings/ci-settings-section.d.ts.map +1 -1
  37. package/dist/src/presentation/web/components/features/settings/ci-settings-section.js +14 -5
  38. package/dist/src/presentation/web/components/features/settings/database-settings-section.d.ts.map +1 -1
  39. package/dist/src/presentation/web/components/features/settings/database-settings-section.js +14 -4
  40. package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts +9 -3
  41. package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts.map +1 -1
  42. package/dist/src/presentation/web/components/features/settings/environment-settings-section.js +75 -65
  43. package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.d.ts.map +1 -1
  44. package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.js +20 -18
  45. package/dist/src/presentation/web/components/features/settings/fab-layout-settings-section.d.ts.map +1 -1
  46. package/dist/src/presentation/web/components/features/settings/fab-layout-settings-section.js +1 -1
  47. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts +3 -3
  48. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -1
  49. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +48 -50
  50. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -1
  51. package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +25 -25
  52. package/dist/src/presentation/web/components/features/settings/interactive-agent-settings-section.d.ts.map +1 -1
  53. package/dist/src/presentation/web/components/features/settings/interactive-agent-settings-section.js +3 -3
  54. package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts +3 -3
  55. package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts.map +1 -1
  56. package/dist/src/presentation/web/components/features/settings/notification-settings-section.js +64 -47
  57. package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.d.ts.map +1 -1
  58. package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.js +32 -24
  59. package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
  60. package/dist/src/presentation/web/components/features/settings/settings-page-client.js +28 -381
  61. package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts +2 -0
  62. package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
  63. package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +13 -0
  64. package/dist/src/presentation/web/components/features/settings/settings-section-utils.d.ts +13 -10
  65. package/dist/src/presentation/web/components/features/settings/settings-section-utils.d.ts.map +1 -1
  66. package/dist/src/presentation/web/components/features/settings/settings-section-utils.js +10 -10
  67. package/dist/src/presentation/web/components/features/settings/settings-section-utils.stories.d.ts +1 -1
  68. package/dist/src/presentation/web/components/features/settings/settings-section-utils.stories.d.ts.map +1 -1
  69. package/dist/src/presentation/web/components/features/settings/settings-section-utils.stories.js +7 -7
  70. package/dist/src/presentation/web/components/features/settings/stage-timeouts-settings-section.d.ts.map +1 -1
  71. package/dist/src/presentation/web/components/features/settings/stage-timeouts-settings-section.js +1 -1
  72. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts +3 -3
  73. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts.map +1 -1
  74. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.js +118 -165
  75. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts +1 -1
  76. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts.map +1 -1
  77. package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +26 -64
  78. package/dist/src/presentation/web/components/features/skills/category-filter.d.ts.map +1 -1
  79. package/dist/src/presentation/web/components/features/skills/category-filter.js +12 -2
  80. package/dist/src/presentation/web/components/features/skills/skill-card.d.ts.map +1 -1
  81. package/dist/src/presentation/web/components/features/skills/skill-card.js +3 -3
  82. package/dist/src/presentation/web/components/features/skills/skill-detail-drawer.d.ts.map +1 -1
  83. package/dist/src/presentation/web/components/features/skills/skill-detail-drawer.js +27 -1
  84. package/dist/src/presentation/web/components/features/skills/skill-list.js +2 -2
  85. package/dist/src/presentation/web/components/features/skills/skills-page-client.d.ts.map +1 -1
  86. package/dist/src/presentation/web/components/features/skills/skills-page-client.js +2 -2
  87. package/dist/src/presentation/web/components/features/tools/tool-card.d.ts.map +1 -1
  88. package/dist/src/presentation/web/components/features/tools/tool-card.js +20 -11
  89. package/dist/src/presentation/web/components/features/tools/tool-detail-drawer.js +1 -1
  90. package/dist/src/presentation/web/components/features/tools/tools-page-client.d.ts.map +1 -1
  91. package/dist/src/presentation/web/components/features/tools/tools-page-client.js +6 -1
  92. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
  93. package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +39 -43
  94. package/dist/src/presentation/web/components/ui/card.d.ts.map +1 -1
  95. package/dist/src/presentation/web/components/ui/card.js +9 -1
  96. package/dist/src/presentation/web/components/ui/drawer.d.ts.map +1 -1
  97. package/dist/src/presentation/web/components/ui/drawer.js +8 -2
  98. package/dist/src/presentation/web/components/ui/tooltip.d.ts.map +1 -1
  99. package/dist/src/presentation/web/components/ui/tooltip.js +3 -3
  100. package/dist/translations/ar/web.json +1 -0
  101. package/dist/translations/de/web.json +1 -0
  102. package/dist/translations/en/web.json +1 -0
  103. package/dist/translations/es/web.json +1 -0
  104. package/dist/translations/fr/web.json +1 -0
  105. package/dist/translations/he/web.json +1 -0
  106. package/dist/translations/pt/web.json +1 -0
  107. package/dist/translations/ru/web.json +1 -0
  108. package/dist/tsconfig.build.tsbuildinfo +1 -1
  109. package/package.json +1 -1
  110. package/web/.next/BUILD_ID +1 -1
  111. package/web/.next/build-manifest.json +3 -3
  112. package/web/.next/fallback-build-manifest.json +3 -3
  113. package/web/.next/prerender-manifest.json +3 -3
  114. package/web/.next/required-server-files.js +2 -2
  115. package/web/.next/required-server-files.json +2 -2
  116. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/next-font-manifest.json +6 -2
  117. package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
  118. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +1 -1
  119. package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
  120. package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
  121. package/web/.next/server/app/(dashboard)/@drawer/chat/page/next-font-manifest.json +6 -2
  122. package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
  123. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +1 -1
  124. package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
  125. package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
  126. package/web/.next/server/app/(dashboard)/@drawer/create/page/next-font-manifest.json +6 -2
  127. package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +31 -31
  128. package/web/.next/server/app/(dashboard)/@drawer/create/page.js +1 -1
  129. package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
  130. package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
  131. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/next-font-manifest.json +6 -2
  132. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +37 -37
  133. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +2 -2
  134. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  135. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  136. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/next-font-manifest.json +6 -2
  137. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +37 -37
  138. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +2 -2
  139. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
  140. package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
  141. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/next-font-manifest.json +6 -2
  142. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  143. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +1 -1
  144. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  145. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  146. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/next-font-manifest.json +6 -2
  147. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  148. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +1 -1
  149. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
  150. package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  151. package/web/.next/server/app/(dashboard)/chat/page/next-font-manifest.json +6 -2
  152. package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
  153. package/web/.next/server/app/(dashboard)/chat/page.js +1 -1
  154. package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
  155. package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
  156. package/web/.next/server/app/(dashboard)/create/page/next-font-manifest.json +6 -2
  157. package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +31 -31
  158. package/web/.next/server/app/(dashboard)/create/page.js +1 -1
  159. package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
  160. package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
  161. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/next-font-manifest.json +6 -2
  162. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +37 -37
  163. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +2 -2
  164. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
  165. package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
  166. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/next-font-manifest.json +6 -2
  167. package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +37 -37
  168. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +2 -2
  169. package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
  170. package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
  171. package/web/.next/server/app/(dashboard)/page/next-font-manifest.json +6 -2
  172. package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
  173. package/web/.next/server/app/(dashboard)/page.js +1 -1
  174. package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  175. package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  176. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/next-font-manifest.json +6 -2
  177. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
  178. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +1 -1
  179. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
  180. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
  181. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/next-font-manifest.json +6 -2
  182. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
  183. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +1 -1
  184. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
  185. package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
  186. package/web/.next/server/app/_global-error.html +1 -1
  187. package/web/.next/server/app/_global-error.rsc +1 -1
  188. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  189. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  190. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  191. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  192. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  193. package/web/.next/server/app/_not-found/page/next-font-manifest.json +6 -2
  194. package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
  195. package/web/.next/server/app/_not-found/page.js +1 -1
  196. package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  197. package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  198. package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
  199. package/web/.next/server/app/api/dialog/pick-files/route.js.nft.json +1 -1
  200. package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
  201. package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
  202. package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
  203. package/web/.next/server/app/settings/page/next-font-manifest.json +6 -2
  204. package/web/.next/server/app/settings/page/server-reference-manifest.json +11 -11
  205. package/web/.next/server/app/settings/page.js +1 -1
  206. package/web/.next/server/app/settings/page.js.nft.json +1 -1
  207. package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  208. package/web/.next/server/app/skills/page/next-font-manifest.json +6 -2
  209. package/web/.next/server/app/skills/page/server-reference-manifest.json +11 -11
  210. package/web/.next/server/app/skills/page.js +1 -1
  211. package/web/.next/server/app/skills/page.js.nft.json +1 -1
  212. package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  213. package/web/.next/server/app/tools/page/next-font-manifest.json +6 -2
  214. package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
  215. package/web/.next/server/app/tools/page.js +1 -1
  216. package/web/.next/server/app/tools/page.js.nft.json +1 -1
  217. package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
  218. package/web/.next/server/app/version/page/next-font-manifest.json +6 -2
  219. package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
  220. package/web/.next/server/app/version/page.js +1 -1
  221. package/web/.next/server/app/version/page.js.nft.json +1 -1
  222. package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
  223. package/web/.next/server/chunks/[root-of-the-server]__0tb~wwk._.js +1 -1
  224. package/web/.next/server/chunks/ssr/08qz_lucide-react_dist_esm_icons_0c0dui7._.js +3 -0
  225. package/web/.next/server/chunks/ssr/08qz_lucide-react_dist_esm_icons_0c0dui7._.js.map +1 -0
  226. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_create-drawer-client_tsx_0g70fc5._.js +1 -1
  227. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_create-drawer-client_tsx_0g70fc5._.js.map +1 -1
  228. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_feature-drawer-client_tsx_104cna.._.js +2 -2
  229. package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_feature-drawer-client_tsx_104cna.._.js.map +1 -1
  230. package/web/.next/server/chunks/ssr/0ukq_presentation_web_components_features_settings_settings-page-client_tsx_0j1uius._.js +1 -1
  231. package/web/.next/server/chunks/ssr/0ukq_presentation_web_components_features_settings_settings-page-client_tsx_0j1uius._.js.map +1 -1
  232. package/web/.next/server/chunks/ssr/11y9_components_common_control-center-drawer_repository-drawer-client_tsx_09z.znp._.js +1 -1
  233. package/web/.next/server/chunks/ssr/11y9_components_common_control-center-drawer_repository-drawer-client_tsx_09z.znp._.js.map +1 -1
  234. package/web/.next/server/chunks/ssr/[root-of-the-server]__05_qc0n._.js +1 -1
  235. package/web/.next/server/chunks/ssr/[root-of-the-server]__05_qc0n._.js.map +1 -1
  236. package/web/.next/server/chunks/ssr/{[root-of-the-server]__0uy_5rw._.js → [root-of-the-server]__0ge~xny._.js} +2 -2
  237. package/web/.next/server/chunks/ssr/{[root-of-the-server]__0uy_5rw._.js.map → [root-of-the-server]__0ge~xny._.js.map} +1 -1
  238. package/web/.next/server/chunks/ssr/[root-of-the-server]__0jy4nha._.js +3 -0
  239. package/web/.next/server/chunks/ssr/[root-of-the-server]__0jy4nha._.js.map +1 -0
  240. package/web/.next/server/chunks/ssr/{_0e5cv3q._.js → [root-of-the-server]__0n~o-g-._.js} +2 -2
  241. package/web/.next/server/chunks/ssr/[root-of-the-server]__0n~o-g-._.js.map +1 -0
  242. package/web/.next/server/chunks/ssr/{[root-of-the-server]__02.89uf._.js → [root-of-the-server]__0qda~yi._.js} +2 -2
  243. package/web/.next/server/chunks/ssr/{[root-of-the-server]__02.89uf._.js.map → [root-of-the-server]__0qda~yi._.js.map} +1 -1
  244. package/web/.next/server/chunks/ssr/{[root-of-the-server]__0c0xoi_._.js → [root-of-the-server]__0qxd563._.js} +2 -2
  245. package/web/.next/server/chunks/ssr/{[root-of-the-server]__0c0xoi_._.js.map → [root-of-the-server]__0qxd563._.js.map} +1 -1
  246. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rv1gci._.js +1 -1
  247. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rvrr1j._.js +1 -1
  248. package/web/.next/server/chunks/ssr/[root-of-the-server]__0rvrr1j._.js.map +1 -1
  249. package/web/.next/server/chunks/ssr/[root-of-the-server]__0tq2syh._.js +1 -1
  250. package/web/.next/server/chunks/ssr/{[root-of-the-server]__0r5zhk.._.js → [root-of-the-server]__0t~u8sd._.js} +2 -2
  251. package/web/.next/server/chunks/ssr/{[root-of-the-server]__0r5zhk.._.js.map → [root-of-the-server]__0t~u8sd._.js.map} +1 -1
  252. package/web/.next/server/chunks/ssr/{[root-of-the-server]__04rq9lr._.js → [root-of-the-server]__10tll_l._.js} +2 -2
  253. package/web/.next/server/chunks/ssr/{[root-of-the-server]__04rq9lr._.js.map → [root-of-the-server]__10tll_l._.js.map} +1 -1
  254. package/web/.next/server/chunks/ssr/[root-of-the-server]__12j29w-._.js +1 -1
  255. package/web/.next/server/chunks/ssr/[root-of-the-server]__12j29w-._.js.map +1 -1
  256. package/web/.next/server/chunks/ssr/_0-09vq7._.js +1 -1
  257. package/web/.next/server/chunks/ssr/_0-09vq7._.js.map +1 -1
  258. package/web/.next/server/chunks/ssr/{_138qywk._.js → _01qdxy2._.js} +2 -2
  259. package/web/.next/server/chunks/ssr/{_138qywk._.js.map → _01qdxy2._.js.map} +1 -1
  260. package/web/.next/server/chunks/ssr/_01sesw0._.js +1 -1
  261. package/web/.next/server/chunks/ssr/_01sesw0._.js.map +1 -1
  262. package/web/.next/server/chunks/ssr/_069y.js._.js +2 -2
  263. package/web/.next/server/chunks/ssr/_069y.js._.js.map +1 -1
  264. package/web/.next/server/chunks/ssr/_09r54oy._.js +7 -0
  265. package/web/.next/server/chunks/ssr/_09r54oy._.js.map +1 -0
  266. package/web/.next/server/chunks/ssr/_0__4si~._.js +1 -1
  267. package/web/.next/server/chunks/ssr/_0__4si~._.js.map +1 -1
  268. package/web/.next/server/chunks/ssr/_0_m17kl._.js +1 -1
  269. package/web/.next/server/chunks/ssr/_0_m17kl._.js.map +1 -1
  270. package/web/.next/server/chunks/ssr/_0a_8rlj._.js +3 -0
  271. package/web/.next/server/chunks/ssr/_0a_8rlj._.js.map +1 -0
  272. package/web/.next/server/chunks/ssr/_0d4miu.._.js +1 -1
  273. package/web/.next/server/chunks/ssr/_0d4miu.._.js.map +1 -1
  274. package/web/.next/server/chunks/ssr/_0dy8.0k._.js +3 -0
  275. package/web/.next/server/chunks/ssr/_0dy8.0k._.js.map +1 -0
  276. package/web/.next/server/chunks/ssr/_0e8ern9._.js +1 -1
  277. package/web/.next/server/chunks/ssr/_0e8ern9._.js.map +1 -1
  278. package/web/.next/server/chunks/ssr/_0l2~~pi._.js +3 -0
  279. package/web/.next/server/chunks/ssr/_0l2~~pi._.js.map +1 -0
  280. package/web/.next/server/chunks/ssr/_0n.magx._.js +1 -1
  281. package/web/.next/server/chunks/ssr/_0p3~u8u._.js +2 -2
  282. package/web/.next/server/chunks/ssr/_0p3~u8u._.js.map +1 -1
  283. package/web/.next/server/chunks/ssr/{_00k65h-._.js → _0pa1dkv._.js} +2 -2
  284. package/web/.next/server/chunks/ssr/_0pa1dkv._.js.map +1 -0
  285. package/web/.next/server/chunks/ssr/_0r.3n~3._.js +1 -1
  286. package/web/.next/server/chunks/ssr/_0r.3n~3._.js.map +1 -1
  287. package/web/.next/server/chunks/ssr/_0t59q8r._.js +1 -1
  288. package/web/.next/server/chunks/ssr/_0t59q8r._.js.map +1 -1
  289. package/web/.next/server/chunks/ssr/_0vjw-e_._.js +7 -0
  290. package/web/.next/server/chunks/ssr/_0vjw-e_._.js.map +1 -0
  291. package/web/.next/server/chunks/ssr/_0vyfc4b._.js +1 -1
  292. package/web/.next/server/chunks/ssr/_0vyfc4b._.js.map +1 -1
  293. package/web/.next/server/chunks/ssr/_0w-_hww._.js +1 -1
  294. package/web/.next/server/chunks/ssr/_0w-_hww._.js.map +1 -1
  295. package/web/.next/server/chunks/ssr/{_0-.ckn5._.js → _0wor25i._.js} +2 -2
  296. package/web/.next/server/chunks/ssr/{_0-.ckn5._.js.map → _0wor25i._.js.map} +1 -1
  297. package/web/.next/server/chunks/ssr/_0zk-h5w._.js +1 -1
  298. package/web/.next/server/chunks/ssr/_0zk-h5w._.js.map +1 -1
  299. package/web/.next/server/chunks/ssr/{_0hwjfpu._.js → _0~0jkp_._.js} +2 -2
  300. package/web/.next/server/chunks/ssr/_0~0jkp_._.js.map +1 -0
  301. package/web/.next/server/chunks/ssr/_0~7lwu_._.js +1 -1
  302. package/web/.next/server/chunks/ssr/_0~7lwu_._.js.map +1 -1
  303. package/web/.next/server/chunks/ssr/_1161g9x._.js +1 -1
  304. package/web/.next/server/chunks/ssr/_1161g9x._.js.map +1 -1
  305. package/web/.next/server/chunks/ssr/src_presentation_web_0y11iiz._.js +1 -1
  306. package/web/.next/server/chunks/ssr/src_presentation_web_0y11iiz._.js.map +1 -1
  307. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_05m2q~u.js +1 -1
  308. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_05m2q~u.js.map +1 -1
  309. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_0.6zk.t.js +1 -1
  310. package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_0.6zk.t.js.map +1 -1
  311. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_0pjb_re._.js +1 -1
  312. package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_0w2wqvu._.js +1 -1
  313. package/web/.next/server/chunks/ssr/src_presentation_web_components_0sk2qdt._.js +1 -1
  314. package/web/.next/server/chunks/ssr/src_presentation_web_components_0sk2qdt._.js.map +1 -1
  315. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_0l3oxx9._.js +1 -1
  316. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_0l3oxx9._.js.map +1 -1
  317. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_0aji.op._.js +1 -1
  318. package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_0aji.op._.js.map +1 -1
  319. package/web/.next/server/middleware-build-manifest.js +3 -3
  320. package/web/.next/server/next-font-manifest.js +1 -1
  321. package/web/.next/server/next-font-manifest.json +60 -2
  322. package/web/.next/server/pages/500.html +1 -1
  323. package/web/.next/server/server-reference-manifest.js +1 -1
  324. package/web/.next/server/server-reference-manifest.json +50 -50
  325. package/web/.next/static/chunks/{05enics63g._-.js → 0-ud~1jj7chzu.js} +4 -4
  326. package/web/.next/static/chunks/00m_fbc2z1gyi.js +5 -0
  327. package/web/.next/static/chunks/{0q7ohuqneuur4.js → 09f2lesd_dd3~.js} +1 -1
  328. package/web/.next/static/chunks/0c0dau5pmseko.js +1 -0
  329. package/web/.next/static/chunks/{0ps5sykbi-z5-.js → 0dq50gtgaj63f.js} +1 -1
  330. package/web/.next/static/chunks/{11bi612fz8agh.js → 0in4l8mne5y~_.js} +1 -1
  331. package/web/.next/static/chunks/0inayq2zzadja.js +1 -0
  332. package/web/.next/static/chunks/{0t3xjndx2s1_j.css → 0j.1nx3ly591i.css} +1 -0
  333. package/web/.next/static/chunks/{0-woqr2brccx_.js → 0k0j7anrbg-of.js} +1 -1
  334. package/web/.next/static/chunks/{0ma7k9iohb3bb.js → 0o33urrd3lk~u.js} +1 -1
  335. package/web/.next/static/chunks/0o4m0k3642219.js +1 -0
  336. package/web/.next/static/chunks/0pt-d18f7zxvv.js +1 -0
  337. package/web/.next/static/chunks/{0ls0v8h_qbctm.js → 0u_27fdqa2jeg.js} +1 -1
  338. package/web/.next/static/chunks/0udlnp30o1kjd.js +5 -0
  339. package/web/.next/static/chunks/0xwh.0u-dexsl.js +1 -0
  340. package/web/.next/static/chunks/0yibymrb2j05t.css +1 -0
  341. package/web/.next/static/chunks/103xnw203o9k1.js +1 -0
  342. package/web/.next/static/chunks/{022nrd6snse79.js → 11vbir.u7_zf7.js} +1 -1
  343. package/web/.next/static/chunks/{02phgt~f2c-2q.js → 121v1_d_dfk2k.js} +1 -1
  344. package/web/.next/static/chunks/{0q8ax~44oybo2.js → 12axopx66pocj.js} +1 -1
  345. package/web/.next/static/chunks/12pd180jp8zu..js +5 -0
  346. package/web/.next/static/chunks/13fcwhkw7dle2.js +1 -0
  347. package/web/.next/static/chunks/13q1peb_t9vj8.js +1 -0
  348. package/web/.next/static/chunks/183ehj-b80a~o.js +1 -0
  349. package/web/.next/static/chunks/{0j.wph28jrce1.js → 1874_wt9rit96.js} +1 -1
  350. package/web/.next/static/media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2 +0 -0
  351. package/web/.next/static/media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 +0 -0
  352. package/web/.next/static/media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 +0 -0
  353. package/web/.next/static/media/5476f68d60460930-s.0wxq9webf.ew4.woff2 +0 -0
  354. package/web/.next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2 +0 -0
  355. package/web/.next/static/media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 +0 -0
  356. package/web/.next/static/media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2 +0 -0
  357. package/web/package.json +2 -2
  358. package/web/public/favicon.svg +10 -0
  359. package/web/public/icons/tools/antigravity.svg +1 -0
  360. package/web/public/icons/tools/bash.svg +38 -0
  361. package/web/public/icons/tools/cursor-cli.svg +12 -0
  362. package/web/public/icons/tools/cursor.svg +1 -0
  363. package/web/public/icons/tools/fish.svg +153 -0
  364. package/web/public/icons/tools/powershell.svg +29 -0
  365. package/web/public/icons/tools/zsh.svg +1 -0
  366. package/web/.next/server/chunks/ssr/08qz_lucide-react_dist_esm_icons_0zwb4s4._.js +0 -3
  367. package/web/.next/server/chunks/ssr/08qz_lucide-react_dist_esm_icons_0zwb4s4._.js.map +0 -1
  368. package/web/.next/server/chunks/ssr/[root-of-the-server]__0lslgap._.js +0 -7
  369. package/web/.next/server/chunks/ssr/[root-of-the-server]__0lslgap._.js.map +0 -1
  370. package/web/.next/server/chunks/ssr/_00k65h-._.js.map +0 -1
  371. package/web/.next/server/chunks/ssr/_08i-c2n._.js +0 -3
  372. package/web/.next/server/chunks/ssr/_08i-c2n._.js.map +0 -1
  373. package/web/.next/server/chunks/ssr/_0aaotn-._.js +0 -3
  374. package/web/.next/server/chunks/ssr/_0aaotn-._.js.map +0 -1
  375. package/web/.next/server/chunks/ssr/_0e5cv3q._.js.map +0 -1
  376. package/web/.next/server/chunks/ssr/_0hwjfpu._.js.map +0 -1
  377. package/web/.next/server/chunks/ssr/_0phryzt._.js +0 -3
  378. package/web/.next/server/chunks/ssr/_0phryzt._.js.map +0 -1
  379. package/web/.next/server/chunks/ssr/_12un22l._.js +0 -7
  380. package/web/.next/server/chunks/ssr/_12un22l._.js.map +0 -1
  381. package/web/.next/static/chunks/0-lu0b1ewsb0_.js +0 -1
  382. package/web/.next/static/chunks/01~dudieyb7wl.js +0 -5
  383. package/web/.next/static/chunks/02kpdawdtqcxm.js +0 -1
  384. package/web/.next/static/chunks/03s7z6w1lj0w~.js +0 -1
  385. package/web/.next/static/chunks/04~sw.nhpwy6s.css +0 -1
  386. package/web/.next/static/chunks/08611baheit.t.js +0 -1
  387. package/web/.next/static/chunks/0_9k2ybutuphq.js +0 -1
  388. package/web/.next/static/chunks/0m5~9kij3s~81.js +0 -1
  389. package/web/.next/static/chunks/0q~uf2s33.48w.js +0 -1
  390. package/web/.next/static/chunks/15m2wfd5k_7fj.js +0 -1
  391. package/web/.next/static/chunks/15rbgqykl.er8.js +0 -1
  392. package/web/.next/static/chunks/164dnpi666fv_.js +0 -5
  393. package/web/.next/static/chunks/17z2sq7c5z8cr.js +0 -5
  394. /package/web/.next/static/{GSG_c1emY-f_AA00vD56y → SNdaKJ9fpre8tUMRe1jlA}/_buildManifest.js +0 -0
  395. /package/web/.next/static/{GSG_c1emY-f_AA00vD56y → SNdaKJ9fpre8tUMRe1jlA}/_clientMiddlewareManifest.js +0 -0
  396. /package/web/.next/static/{GSG_c1emY-f_AA00vD56y → SNdaKJ9fpre8tUMRe1jlA}/_ssgManifest.js +0 -0
@@ -1,10 +1,36 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import Markdown from 'react-markdown';
4
+ import remarkGfm from 'remark-gfm';
3
5
  import { BaseDrawer } from '../../common/base-drawer/index.js';
4
6
  import { DrawerTitle, DrawerDescription } from '../../ui/drawer.js';
5
7
  import { Badge } from '../../ui/badge.js';
6
8
  import { Separator } from '../../ui/separator.js';
9
+ import { Tooltip, TooltipContent, TooltipTrigger } from '../../ui/tooltip.js';
7
10
  import { FolderOpen } from 'lucide-react';
11
+ /*
12
+ * Markdown component overrides for skill body rendering.
13
+ * Styled to match the editorial palette and fit within the drawer's
14
+ * constrained width. Uses the same pattern as tech-decisions-review.
15
+ */
16
+ const mdComponents = {
17
+ h1: ({ children }) => (_jsx("h1", { className: "text-foreground mt-6 mb-3 text-lg font-bold tracking-tight first:mt-0", children: children })),
18
+ h2: ({ children }) => (_jsx("h2", { className: "text-foreground mt-5 mb-2 text-base font-bold tracking-tight", children: children })),
19
+ h3: ({ children }) => _jsx("h3", { className: "text-foreground mt-4 mb-2 text-sm font-bold", children: children }),
20
+ p: ({ children }) => (_jsx("p", { className: "text-muted-foreground mb-3 text-sm leading-relaxed last:mb-0", children: children })),
21
+ strong: ({ children }) => _jsx("strong", { className: "text-foreground font-semibold", children: children }),
22
+ em: ({ children }) => _jsx("em", { className: "italic", children: children }),
23
+ code: ({ children, className }) => className ? (_jsx("code", { className: `${className} text-xs`, children: children })) : (_jsx("code", { className: "bg-muted text-foreground rounded-md px-1.5 py-0.5 font-mono text-xs", children: children })),
24
+ pre: ({ children }) => (_jsx("pre", { className: "bg-muted my-3 overflow-x-auto rounded-lg border p-3 text-xs", children: children })),
25
+ ul: ({ children }) => (_jsx("ul", { className: "text-muted-foreground mb-3 list-disc space-y-1 ps-5 text-sm", children: children })),
26
+ ol: ({ children }) => (_jsx("ol", { className: "text-muted-foreground mb-3 list-decimal space-y-1 ps-5 text-sm", children: children })),
27
+ li: ({ children }) => _jsx("li", { className: "leading-relaxed", children: children }),
28
+ hr: () => _jsx(Separator, { className: "my-4" }),
29
+ a: ({ href, children }) => (_jsx("a", { href: href, target: "_blank", rel: "noopener noreferrer", className: "text-primary hover:text-primary/80 underline underline-offset-2", children: children })),
30
+ blockquote: ({ children }) => (_jsx("blockquote", { className: "border-primary/30 text-muted-foreground my-3 border-l-2 pl-4 italic", children: children })),
31
+ };
8
32
  export function SkillDetailDrawer({ skill, onClose }) {
9
- return (_jsx(BaseDrawer, { open: skill !== null, onClose: onClose, size: "sm", modal: true, "data-testid": "skill-detail-drawer", header: skill ? (_jsxs(_Fragment, { children: [_jsx(DrawerTitle, { children: skill.displayName }), _jsx(DrawerDescription, { children: skill.name })] })) : undefined, children: skill ? (_jsxs("div", { className: "px-4 pb-4", children: [_jsx("p", { className: "text-muted-foreground text-sm", children: skill.description }), _jsxs("div", { className: "mt-4 flex flex-wrap items-center gap-1.5", children: [_jsx(Badge, { variant: skill.source === 'project' ? 'secondary' : 'outline', children: skill.source === 'project' ? 'Project' : 'Global' }), _jsx(Badge, { variant: "outline", children: skill.category }), skill.context ? _jsx(Badge, { variant: "outline", children: skill.context }) : null] }), skill.allowedTools ? (_jsxs(_Fragment, { children: [_jsx(Separator, { className: "my-4" }), _jsxs("div", { children: [_jsx("h3", { className: "text-sm font-semibold", children: "Allowed Tools" }), _jsx("p", { className: "text-muted-foreground mt-1 text-sm", children: skill.allowedTools })] })] })) : null, skill.resources.length > 0 ? (_jsxs(_Fragment, { children: [_jsx(Separator, { className: "my-4" }), _jsxs("div", { children: [_jsx("h3", { className: "text-sm font-semibold", children: "Resources" }), _jsx("ul", { className: "mt-2 space-y-1.5", children: skill.resources.map((resource) => (_jsxs("li", { className: "text-muted-foreground flex items-center gap-2 text-sm", children: [_jsx(FolderOpen, { className: "size-3.5 shrink-0" }), _jsxs("span", { children: [resource.name, "/ \u2014 ", resource.fileCount, ' ', resource.fileCount === 1 ? 'file' : 'files'] })] }, resource.name))) })] })] })) : null, skill.body ? (_jsxs(_Fragment, { children: [_jsx(Separator, { className: "my-4" }), _jsx("pre", { className: "text-muted-foreground text-sm leading-relaxed whitespace-pre-wrap", children: skill.body })] })) : null] })) : null }));
33
+ return (_jsx(BaseDrawer, { open: skill !== null, onClose: onClose, size: "sm", modal: true, "data-testid": "skill-detail-drawer", header: skill ? (_jsxs(_Fragment, { children: [_jsx(DrawerTitle, { children: skill.displayName }), _jsx(DrawerDescription, { children: skill.name })] })) : undefined, children: skill ? (_jsxs("div", { className: "min-h-0 flex-1 overflow-y-auto px-4 pb-4", children: [_jsx("p", { className: "text-muted-foreground text-sm", children: skill.description }), _jsxs("div", { className: "mt-4 flex flex-wrap items-center gap-1.5", children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Badge, { variant: skill.source === 'project' ? 'secondary' : 'outline', className: "cursor-default", children: skill.source === 'project' ? 'Project' : 'Global' }) }), _jsx(TooltipContent, { side: "bottom", children: skill.source === 'project'
34
+ ? 'Installed in this project\u2019s .claude/skills/ directory'
35
+ : 'Installed globally in your user profile' })] }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Badge, { variant: "outline", className: "cursor-default", children: skill.category }) }), _jsx(TooltipContent, { side: "bottom", children: "Skill category \\u2014 used for filtering on the Skills page" })] }), skill.context ? (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Badge, { variant: "outline", className: "cursor-default", children: skill.context }) }), _jsx(TooltipContent, { side: "bottom", children: "Context restriction \\u2014 this skill only activates in this context" })] })) : null] }), skill.allowedTools ? (_jsxs(_Fragment, { children: [_jsx(Separator, { className: "my-4" }), _jsxs("div", { children: [_jsx("h3", { className: "text-sm font-semibold", children: "Allowed Tools" }), _jsx("p", { className: "text-muted-foreground mt-1 text-sm", children: skill.allowedTools })] })] })) : null, skill.resources.length > 0 ? (_jsxs(_Fragment, { children: [_jsx(Separator, { className: "my-4" }), _jsxs("div", { children: [_jsx("h3", { className: "text-sm font-semibold", children: "Resources" }), _jsx("ul", { className: "mt-2 space-y-1.5", children: skill.resources.map((resource) => (_jsxs("li", { className: "text-muted-foreground flex items-center gap-2 text-sm", children: [_jsx(FolderOpen, { className: "size-3.5 shrink-0" }), _jsxs("span", { children: [resource.name, "/ \u2014 ", resource.fileCount, ' ', resource.fileCount === 1 ? 'file' : 'files'] })] }, resource.name))) })] })] })) : null, skill.body ? (_jsxs(_Fragment, { children: [_jsx(Separator, { className: "my-4" }), _jsx("div", { className: "prose-sm", children: _jsx(Markdown, { remarkPlugins: [remarkGfm], components: mdComponents, children: skill.body }) })] })) : null] })) : null }));
10
36
  }
@@ -12,10 +12,10 @@ function groupByCategory(skills) {
12
12
  }
13
13
  export function SkillList({ skills, onSkillSelect }) {
14
14
  const groups = groupByCategory(skills);
15
- return (_jsx("div", { className: "space-y-8", children: CATEGORY_ORDER.map((category) => {
15
+ return (_jsx("div", { className: "space-y-12", children: CATEGORY_ORDER.map((category) => {
16
16
  const categorySkills = groups.get(category);
17
17
  if (!categorySkills || categorySkills.length === 0)
18
18
  return null;
19
- return (_jsxs("section", { children: [_jsxs("h2", { className: "mb-4 text-lg font-semibold", children: [category, ' ', _jsxs("span", { className: "text-muted-foreground text-sm font-normal", children: ["(", categorySkills.length, ")"] })] }), _jsx("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3", children: categorySkills.map((skill) => (_jsx(SkillCard, { skill: skill, onSelect: onSkillSelect }, skill.name))) })] }, category));
19
+ return (_jsxs("section", { children: [_jsxs("h2", { className: "text-foreground mb-6 text-xl font-bold tracking-tight", children: [category, ' ', _jsxs("span", { className: "text-muted-foreground text-sm font-normal", children: ["(", categorySkills.length, ")"] })] }), _jsx("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2 xl:grid-cols-3", children: categorySkills.map((skill) => (_jsx(SkillCard, { skill: skill, onSelect: onSkillSelect }, skill.name))) })] }, category));
20
20
  }) }));
21
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"skills-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/skills/skills-page-client.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAeD,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,qBAAqB,2CAiFjE"}
1
+ {"version":3,"file":"skills-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/skills/skills-page-client.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAeD,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,qBAAqB,2CAyFjE"}
@@ -46,7 +46,7 @@ export function SkillsPageClient({ skills }) {
46
46
  };
47
47
  // No skills installed at all
48
48
  if (skills.length === 0) {
49
- return (_jsxs("div", { className: "flex flex-col gap-6 p-6", children: [_jsx(PageHeader, { title: "Skills", description: "Claude Code skills installed in this project" }), _jsx(EmptyState, { icon: _jsx(Puzzle, { className: "size-10" }), title: "No skills found", description: "No Claude Code skills are installed. Add skills to .claude/skills/ to get started." })] }));
49
+ return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: "Skills", description: "Claude Code skills installed in this project" }), _jsx(EmptyState, { icon: _jsx(Puzzle, { className: "size-10" }), title: "No skills found", description: "No Claude Code skills are installed. Add skills to .claude/skills/ to get started." })] }));
50
50
  }
51
- return (_jsxs("div", { className: "flex flex-col gap-6 p-6", children: [_jsx(PageHeader, { title: "Skills", description: "Claude Code skills installed in this project" }), _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: "Search skills...", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), className: "ps-9" })] }), _jsx(CategoryFilter, { activeCategory: activeCategory, onCategoryChange: setActiveCategory, counts: categoryCounts }), filteredSkills.length > 0 ? (_jsx(SkillList, { skills: filteredSkills, onSkillSelect: setSelectedSkill })) : (_jsx(EmptyState, { icon: _jsx(Search, { className: "size-10" }), title: "No matching skills", description: "No skills match your current search and filter criteria.", action: _jsx(Button, { variant: "outline", onClick: clearFilters, children: "Clear filters" }) })), _jsx(SkillDetailDrawer, { skill: selectedSkill, onClose: () => setSelectedSkill(null) })] }));
51
+ return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: "Skills", description: "Claude Code skills installed in this project" }), _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: "Search skills...", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), className: "ps-9" })] }), _jsx(CategoryFilter, { activeCategory: activeCategory, onCategoryChange: setActiveCategory, counts: categoryCounts }), filteredSkills.length > 0 ? (_jsx(SkillList, { skills: filteredSkills, onSkillSelect: setSelectedSkill })) : (_jsx(EmptyState, { icon: _jsx(Search, { className: "size-10" }), title: "No matching skills", description: "No skills match your current search and filter criteria.", action: _jsx(Button, { variant: "outline", onClick: clearFilters, children: "Clear filters" }) })), _jsx(SkillDetailDrawer, { skill: selectedSkill, onClose: () => setSelectedSkill(null) })] }));
52
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tool-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/tools/tool-card.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iEAAiE,CAAC;AAEhG,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AASD,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,aAAa,2CAkKrE"}
1
+ {"version":3,"file":"tool-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/tools/tool-card.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iEAAiE,CAAC;AAEhG,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAcD,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,aAAa,2CAqOrE"}
@@ -1,16 +1,21 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import { useState, useTransition } from 'react';
4
- import { LoaderCircle, Rocket, Download, Monitor, Terminal, GitBranch, CircleX, Circle, CircleCheck, Package, } from 'lucide-react';
4
+ import { LoaderCircle, Rocket, Download, CircleX, Circle, CircleCheck, Package, Info, AlertTriangle, } from 'lucide-react';
5
5
  import { Button } from '../../ui/button.js';
6
6
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../../ui/tooltip.js';
7
7
  import { cn } from '../../../lib/utils.js';
8
8
  import { ToolDetailDrawer } from './tool-detail-drawer.js';
9
- const TAG_CONFIG = {
10
- ide: { label: 'IDE', icon: Monitor },
11
- 'cli-agent': { label: 'CLI Agent', icon: Terminal },
12
- vcs: { label: 'VCS', icon: GitBranch },
13
- terminal: { label: 'Terminal', icon: Terminal },
9
+ /*
10
+ * Tag labels for the TOOL card "Tag" micro-label row.
11
+ * The tool-detail drawer keeps its own richer tag config (with icons) for its
12
+ * detail view. This map is intentionally small — just label mapping.
13
+ */
14
+ const TAG_LABELS = {
15
+ ide: 'IDE',
16
+ 'cli-agent': 'CLI Agent',
17
+ vcs: 'VCS',
18
+ terminal: 'Terminal',
14
19
  };
15
20
  export function ToolCard({ tool, onRefresh, className }) {
16
21
  const [drawerOpen, setDrawerOpen] = useState(false);
@@ -34,9 +39,13 @@ export function ToolCard({ tool, onRefresh, className }) {
34
39
  setAutoStartInstall(tool.autoInstall);
35
40
  setDrawerOpen(true);
36
41
  }
37
- return (_jsxs(_Fragment, { children: [_jsxs("div", { "data-testid": "tool-card", onClick: handleCardClick, className: cn('bg-card group flex h-30 w-full cursor-pointer flex-col rounded-lg border p-3 transition-shadow hover:shadow-md', className), children: [_jsxs("div", { className: "mb-2 flex items-start justify-between gap-2", children: [_jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [tool.iconUrl ? (_jsx("img", { src: tool.iconUrl, alt: "", width: 20, height: 20, className: "shrink-0 dark:invert" })) : (_jsx(Package, { className: "text-muted-foreground h-5 w-5 shrink-0" })), _jsx("h3", { "data-testid": "tool-card-name", className: "truncate text-sm font-bold", children: tool.name })] }), _jsx("div", { "data-testid": "tool-card-tags", className: "flex shrink-0 items-center gap-1", children: tool.tags.map((tag) => {
38
- const config = TAG_CONFIG[tag] ?? { label: tag, icon: Monitor };
39
- const TagIcon = config.icon;
40
- return (_jsxs("span", { className: "text-muted-foreground/70 inline-flex items-center gap-0.5 text-[9px]", children: [_jsx(TagIcon, { className: "h-2.5 w-2.5" }), config.label] }, tag));
41
- }) })] }), _jsx("p", { "data-testid": "tool-card-summary", className: "text-muted-foreground mt-1 truncate text-xs", children: tool.summary }), _jsxs("div", { className: "mt-auto flex items-center justify-between pt-3", children: [_jsxs("div", { className: "flex items-center gap-2", children: [isError && tool.status.status === 'error' ? (_jsxs("span", { className: "flex items-center gap-1 truncate text-[10px] text-red-600 dark:text-red-400", title: tool.status.errorMessage, children: [_jsx(CircleX, { className: "h-3 w-3 shrink-0" }), tool.status.errorMessage ?? 'Error'] })) : isInstalled ? (_jsxs("span", { className: "flex items-center gap-1 text-[10px] text-emerald-600 dark:text-emerald-400", children: [_jsx(CircleCheck, { className: "h-3 w-3" }), "Installed"] })) : (_jsxs("span", { className: "text-muted-foreground flex items-center gap-1 text-[10px]", children: [_jsx(Circle, { className: "h-3 w-3" }), "Not installed"] })), tool.required ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "rounded bg-amber-100 px-1.5 py-0.5 text-[9px] font-medium text-amber-700 dark:bg-amber-900/50 dark:text-amber-400", children: "Required" }) }), _jsx(TooltipContent, { side: "top", children: "This tool is required for ShipIT to function properly" })] }) })) : null] }), _jsx("div", { className: "flex items-center gap-1", children: isInstalled && canLaunch ? (_jsxs(Button, { size: "sm", variant: "outline", onClick: handleLaunch, disabled: isPending, "aria-label": `Launch ${tool.name}`, "data-testid": "tool-card-launch-button", className: "h-7 cursor-pointer rounded-md px-3 text-xs", children: [isPending ? (_jsx(LoaderCircle, { className: "me-1 h-3 w-3 animate-spin" })) : (_jsx(Rocket, { className: "me-1 h-3 w-3" })), "Launch"] })) : !isInstalled && !isError ? (_jsxs(Button, { size: "sm", variant: "default", onClick: handleInstallClick, "aria-label": `Install ${tool.name}`, "data-testid": "tool-card-install-button", className: "h-7 cursor-pointer rounded-md px-3 text-xs", children: [_jsx(Download, { className: "me-1 h-3 w-3" }), "Install"] })) : null })] })] }), _jsx(ToolDetailDrawer, { tool: tool, open: drawerOpen, onClose: () => setDrawerOpen(false), onRefresh: onRefresh, autoStart: autoStartInstall })] }));
42
+ return (_jsxs(_Fragment, { children: [_jsxs("div", { "data-testid": "tool-card", onClick: handleCardClick, className: cn('bg-card editorial-shadow group flex w-full cursor-pointer flex-col gap-4 rounded-xl p-5', 'transition-all duration-300 hover:-translate-y-0.5 hover:shadow-md hover:ring-slate-300 dark:hover:ring-slate-600', className), children: [_jsxs("div", { className: "flex items-start justify-between gap-3", children: [_jsxs("div", { className: "flex min-w-0 items-center gap-3", children: [_jsx("div", { className: "flex h-11 w-11 shrink-0 items-center justify-center rounded-lg bg-slate-100 p-2 ring-1 ring-slate-200/50 dark:bg-slate-800 dark:ring-slate-700/50", children: tool.iconUrl ? (_jsx("img", { src: tool.iconUrl, alt: "", width: 28, height: 28, className: "h-full w-full" })) : (_jsx(Package, { className: "text-muted-foreground h-full w-full" })) }), _jsxs("div", { className: "min-w-0", children: [_jsx("h3", { "data-testid": "tool-card-name", className: "text-foreground truncate text-sm leading-tight font-bold tracking-tight", children: tool.name }), tool.author ? (_jsxs("div", { className: "mt-1 flex items-center gap-1.5", children: [_jsx("span", { "data-testid": "tool-card-vendor-label", className: "text-[9px] font-bold tracking-wider text-slate-400 uppercase", children: "Vendor" }), _jsx("span", { "data-testid": "tool-card-vendor", className: "text-muted-foreground truncate text-xs font-medium", children: tool.author })] })) : tool.tags.length > 0 ? (_jsxs("div", { className: "mt-1 flex items-center gap-1.5", children: [_jsx("span", { className: "text-[9px] font-bold tracking-wider text-slate-400 uppercase", children: "Tag" }), _jsx("span", { "data-testid": "tool-card-tags", className: "text-muted-foreground truncate text-xs font-medium", children: tool.tags.map((tag) => TAG_LABELS[tag] ?? tag).join(' · ') })] })) : null] })] }), _jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [isError && tool.status.status === 'error' ? (_jsxs("span", { className: "flex items-center gap-1 text-[10px] font-medium text-red-600 dark:text-red-400", title: tool.status.errorMessage, children: [_jsx(CircleX, { className: "h-3 w-3 shrink-0" }), "Error"] })) : isInstalled ? (_jsxs("span", { className: "flex items-center gap-1 text-[10px] font-medium text-emerald-600 dark:text-emerald-400", children: [_jsx(CircleCheck, { className: "h-3 w-3" }), "Installed"] })) : (_jsxs("span", { className: "text-muted-foreground flex items-center gap-1 text-[10px] font-medium", children: [_jsx(Circle, { className: "h-3 w-3" }), "Not installed"] })), tool.required ? (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx("span", { className: "shrink-0 rounded-full bg-amber-100 px-2 py-0.5 text-[9px] font-bold tracking-wider text-amber-700 uppercase dark:bg-amber-900/40 dark:text-amber-400", children: "Required" }) }), _jsx(TooltipContent, { side: "top", children: "This tool is required for ShipIT to function properly" })] }) })) : null] })] }), _jsx("p", { "data-testid": "tool-card-summary", className: "text-muted-foreground -mt-2 line-clamp-2 text-xs leading-relaxed", children: tool.summary }), _jsx("div", { className: "mt-auto flex flex-col gap-1.5", children: isInstalled && canLaunch ? (_jsxs(Button, { variant: "default", onClick: handleLaunch, disabled: isPending, "aria-label": `Launch ${tool.name}`, "data-testid": "tool-card-launch-button", className: "h-9 w-full cursor-pointer rounded-lg text-xs font-bold tracking-wide transition-all duration-300 hover:-translate-y-0.5 hover:shadow-md", children: [isPending ? (_jsx(LoaderCircle, { className: "me-1 h-3.5 w-3.5 animate-spin" })) : (_jsx(Rocket, { className: "me-1 h-3.5 w-3.5" })), "Launch"] })) : !isInstalled && !isError ? (_jsxs(Button, { variant: "default", onClick: handleInstallClick, "aria-label": `Install ${tool.name}`, "data-testid": "tool-card-install-button", className: "h-9 w-full cursor-pointer rounded-lg text-xs font-bold tracking-wide transition-all duration-300 hover:-translate-y-0.5 hover:shadow-md", children: [_jsx(Download, { className: "me-1 h-3.5 w-3.5" }), "Install"] })) : isError ? (_jsxs(Button, { variant: "outline", onClick: (e) => {
43
+ e.stopPropagation();
44
+ setAutoStartInstall(false);
45
+ setDrawerOpen(true);
46
+ }, "aria-label": `View error details for ${tool.name}`, "data-testid": "tool-card-error-button", className: "h-9 w-full cursor-pointer rounded-lg border-red-300 text-xs font-bold tracking-wide text-red-600 transition-all duration-300 hover:-translate-y-0.5 hover:bg-red-50 hover:shadow-md dark:border-red-900 dark:text-red-400 dark:hover:bg-red-950/30", children: [_jsx(AlertTriangle, { className: "me-1 h-3.5 w-3.5" }), "View Error"] })) : (_jsxs(Button, { variant: "outline", onClick: (e) => {
47
+ e.stopPropagation();
48
+ setAutoStartInstall(false);
49
+ setDrawerOpen(true);
50
+ }, "aria-label": `View details for ${tool.name}`, "data-testid": "tool-card-details-button", className: "h-9 w-full cursor-pointer rounded-lg text-xs font-bold tracking-wide transition-all duration-300 hover:-translate-y-0.5 hover:shadow-md", children: [_jsx(Info, { className: "me-1 h-3.5 w-3.5" }), "View Details"] })) })] }), _jsx(ToolDetailDrawer, { tool: tool, open: drawerOpen, onClose: () => setDrawerOpen(false), onRefresh: onRefresh, autoStart: autoStartInstall })] }));
42
51
  }
@@ -82,7 +82,7 @@ export function ToolDetailDrawer({ tool, open, onClose, onRefresh, autoStart, })
82
82
  void onRefresh();
83
83
  }
84
84
  }, [status, onRefresh]);
85
- const header = (_jsxs("div", { className: "flex flex-col gap-1.5 pe-6", children: [_jsxs("div", { className: "flex items-center gap-2", children: [tool.iconUrl ? (_jsx("img", { src: tool.iconUrl, alt: "", width: 24, height: 24, className: "shrink-0 dark:invert" })) : (_jsx(Package, { className: "text-muted-foreground h-6 w-6 shrink-0" })), _jsx("h2", { className: "text-base font-bold", children: tool.name }), _jsx(StatusBadge, { status: tool.status.status })] }), _jsx("div", { className: "flex items-center gap-2", children: tool.tags.map((tag) => {
85
+ const header = (_jsxs("div", { className: "flex flex-col gap-1.5 pe-6", children: [_jsxs("div", { className: "flex items-center gap-2", children: [tool.iconUrl ? (_jsx("img", { src: tool.iconUrl, alt: "", width: 24, height: 24, className: "shrink-0" })) : (_jsx(Package, { className: "text-muted-foreground h-6 w-6 shrink-0" })), _jsx("h2", { className: "text-base font-bold", children: tool.name }), _jsx(StatusBadge, { status: tool.status.status })] }), _jsx("div", { className: "flex items-center gap-2", children: tool.tags.map((tag) => {
86
86
  const config = TAG_CONFIG[tag] ?? { label: tag, icon: Monitor };
87
87
  const TagIcon = config.icon;
88
88
  return (_jsxs("span", { className: "text-muted-foreground/70 inline-flex items-center gap-0.5 text-[10px]", children: [_jsx(TagIcon, { className: "h-3 w-3" }), config.label] }, tag));
@@ -1 +1 @@
1
- {"version":3,"file":"tools-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/tools/tools-page-client.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iEAAiE,CAAC;AAEhG,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,oBAAoB,2CA+EvF"}
1
+ {"version":3,"file":"tools-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/tools/tools-page-client.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iEAAiE,CAAC;AAEhG,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,oBAAoB,2CAkIvF"}
@@ -28,5 +28,10 @@ export function ToolsPageClient({ tools: initialTools, className }) {
28
28
  }
29
29
  }, []);
30
30
  const filtered = tools.filter(TAB_FILTER[activeTab]);
31
- return (_jsxs("div", { "data-testid": "tools-page-client", className: cn('space-y-4', className), children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Wrench, { className: "text-muted-foreground h-4 w-4" }), _jsx("h1", { className: "text-sm font-bold tracking-tight", children: "Tools" }), _jsxs("span", { className: "text-muted-foreground text-[10px]", children: [tools.filter((t) => t.status.status === 'available').length, "/", tools.length, " installed"] })] }), _jsxs(Tabs, { value: activeTab, onValueChange: (value) => setActiveTab(value), "data-testid": "tools-page-tabs", children: [_jsxs(TabsList, { className: "h-7", children: [_jsx(TabsTrigger, { value: "all", "data-testid": "tools-tab-all", className: "px-2.5 text-xs", children: "All" }), _jsx(TabsTrigger, { value: "ide", "data-testid": "tools-tab-ide", className: "px-2.5 text-xs", children: "IDEs" }), _jsx(TabsTrigger, { value: "cli-agent", "data-testid": "tools-tab-cli-agent", className: "px-2.5 text-xs", children: "CLI Agents" }), _jsx(TabsTrigger, { value: "vcs", "data-testid": "tools-tab-vcs", className: "px-2.5 text-xs", children: "Version Control" }), _jsx(TabsTrigger, { value: "terminal", "data-testid": "tools-tab-terminal", className: "px-2.5 text-xs", children: "Terminals" })] }), _jsx(TabsContent, { value: activeTab, className: "mt-3", children: filtered.length === 0 ? (_jsxs("div", { "data-testid": "tools-page-empty", className: "text-muted-foreground flex flex-col items-center justify-center py-12 text-center", children: [_jsx(Wrench, { className: "mb-2 h-6 w-6 opacity-20" }), _jsx("p", { className: "text-xs", children: "No tools in this category." })] })) : (_jsx("div", { "data-testid": "tools-page-grid", className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4", children: filtered.map((tool) => (_jsx(ToolCard, { tool: tool, onRefresh: refreshTools }, tool.id))) })) })] })] }));
31
+ const installedCount = tools.filter((t) => t.status.status === 'available').length;
32
+ return (_jsxs("div", { "data-testid": "tools-page-client", className: cn('space-y-8', className), children: [_jsxs("div", { className: "space-y-1.5", children: [_jsx("div", { className: "flex items-center gap-2", children: _jsx("span", { className: "text-[10px] font-bold tracking-[0.2em] text-slate-400 uppercase", children: "Developer Portal" }) }), _jsxs("div", { className: "flex items-baseline gap-3", children: [_jsx("h1", { className: "text-foreground text-3xl font-black tracking-tight", children: "Tools" }), _jsxs("span", { className: "text-muted-foreground text-sm font-medium", children: [installedCount, " of ", tools.length, " installed"] })] })] }), _jsxs(Tabs, { value: activeTab, onValueChange: (value) => setActiveTab(value), "data-testid": "tools-page-tabs", children: [_jsxs(TabsList, { "data-editorial": "true", className: "bg-card editorial-shadow h-10 p-1", children: [_jsx(TabsTrigger, { value: "all", "data-testid": "tools-tab-all", className: "cursor-pointer px-4 text-xs font-bold", children: "All" }), _jsx(TabsTrigger, { value: "ide", "data-testid": "tools-tab-ide", className: "cursor-pointer px-4 text-xs font-bold", children: "IDEs" }), _jsx(TabsTrigger, { value: "cli-agent", "data-testid": "tools-tab-cli-agent", className: "cursor-pointer px-4 text-xs font-bold", children: "CLI Agents" }), _jsx(TabsTrigger, { value: "vcs", "data-testid": "tools-tab-vcs", className: "cursor-pointer px-4 text-xs font-bold", children: "Version Control" }), _jsx(TabsTrigger, { value: "terminal", "data-testid": "tools-tab-terminal", className: "cursor-pointer px-4 text-xs font-bold", children: "Terminals" })] }), _jsx(TabsContent, { value: activeTab, className: "mt-6", children: filtered.length === 0 ? (_jsxs("div", { "data-testid": "tools-page-empty", className: "text-muted-foreground flex flex-col items-center justify-center py-16 text-center", children: [_jsx(Wrench, { className: "mb-3 h-8 w-8 opacity-20" }), _jsx("p", { className: "text-sm", children: "No tools in this category." })] })) : (_jsx("div", { "data-testid": "tools-page-grid",
33
+ // Editorial density: 3 columns max so cards stay wide enough to
34
+ // give the Stitch "magazine" feel. Previously xl:grid-cols-4 which
35
+ // squeezed cards and reduced background-vs-card contrast.
36
+ className: "grid grid-cols-1 gap-6 md:grid-cols-2 xl:grid-cols-3", children: filtered.map((tool) => (_jsx(ToolCard, { tool: tool, onRefresh: refreshTools }, tool.id))) })) })] })] }));
32
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"app-sidebar.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/layouts/app-sidebar/app-sidebar.tsx"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAI/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,YAAY,EAAE,iBAAiB,CAAC;IAEhC,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,YAAY,EAEZ,cAAc,GACf,EAAE,eAAe,2CAyQjB"}
1
+ {"version":3,"file":"app-sidebar.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/layouts/app-sidebar/app-sidebar.tsx"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAI/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,YAAY,EAAE,iBAAiB,CAAC;IAEhC,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,YAAY,EAEZ,cAAc,GACf,EAAE,eAAe,2CAsRjB"}
@@ -4,7 +4,7 @@ import { useMemo } from 'react';
4
4
  import { usePathname } from 'next/navigation';
5
5
  import { Home, Moon, Sun, Volume2, VolumeOff, Zap, ZapOff, Wrench, Puzzle, Settings, } from 'lucide-react';
6
6
  import { useTranslation } from 'react-i18next';
7
- import { Sidebar, SidebarHeader, SidebarContent, SidebarFooter, SidebarMenu, SidebarMenuItem, SidebarMenuButton, SidebarRail, useSidebar, } from '../../ui/sidebar.js';
7
+ import { Sidebar, SidebarHeader, SidebarContent, SidebarFooter, SidebarMenu, SidebarMenuItem, SidebarMenuButton, useSidebar, } from '../../ui/sidebar.js';
8
8
  import { ScrollArea } from '../../ui/scroll-area.js';
9
9
  import { SidebarNavItem } from '../../common/sidebar-nav-item/index.js';
10
10
  import { SidebarCollapseToggle } from '../../common/sidebar-collapse-toggle/index.js';
@@ -60,50 +60,46 @@ export function AppSidebar({ features, featureFlags, onFeatureClick, }) {
60
60
  .filter((g) => g.items.length > 0),
61
61
  }));
62
62
  }, [features, t]);
63
- return (_jsxs(Sidebar, { "data-testid": "app-sidebar", "data-no-drawer-close": true, collapsible: "icon", side: i18n.dir() === 'rtl' ? 'right' : 'left', children: [_jsx(SidebarHeader, { children: _jsxs(SidebarMenu, { children: [_jsx(SidebarMenuItem, { children: _jsxs("div", { className: "flex h-8 items-center group-data-[collapsible=icon]:justify-center", children: [showExpanded ? (_jsxs("div", { className: [
64
- 'flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2',
65
- 'transition-opacity duration-200 ease-out',
66
- expandedVisible ? 'opacity-100' : 'opacity-0',
67
- ].join(' '), "aria-hidden": !expandedVisible, children: [_jsx(ShipitAiLogo, { className: "shrink-0 drop-shadow-[0_0_4px_rgba(34,211,238,0.4)]", size: 28, variant: versionData.isDev ? 'dev' : 'default' }), _jsx("span", { className: "truncate text-sm font-semibold tracking-tight", children: "ShipIT" }), _jsx(VersionBadge, { version: versionData.version, branch: versionData.branch || undefined, commitHash: versionData.commitHash || undefined, isDev: versionData.isDev, packageName: versionData.packageName, description: versionData.description, instancePath: versionData.instancePath || undefined })] })) : null, _jsx(SidebarCollapseToggle, { className: "shrink-0 transition-all duration-200" })] }) }), _jsx(SidebarNavItem, { icon: Home, label: t('navigation.controlCenter'), href: "/", active: pathname === '/' }), _jsx(SidebarNavItem, { icon: Wrench, label: t('navigation.tools'), href: "/tools", active: pathname === '/tools' }), featureFlags.skills ? (_jsx(SidebarNavItem, { icon: Puzzle, label: t('navigation.skills'), href: "/skills", active: pathname === '/skills' })) : null, _jsx(SidebarNavItem, { icon: Settings, label: t('navigation.settings'), href: "/settings", active: pathname === '/settings' })] }) }), _jsx(SidebarContent, { children: showExpanded ? (_jsx("div", { className: [
63
+ return (_jsxs(Sidebar, { "data-testid": "app-sidebar", "data-no-drawer-close": true, collapsible: "icon", side: i18n.dir() === 'rtl' ? 'right' : 'left', children: [_jsx(SidebarHeader, { children: _jsxs(SidebarMenu, { children: [_jsx(SidebarMenuItem, { children: _jsxs("div", { className: "flex h-10 items-center px-2 group-data-[collapsible=icon]:justify-center", children: [_jsx(ShipitAiLogo, { className: "drop-shadow-[0_0_4px_rgba(34,211,238,0.4)]", size: 32, variant: versionData.isDev ? 'dev' : 'default', isOpen: Boolean(showExpanded && expandedVisible) }), showExpanded && expandedVisible ? (_jsx(VersionBadge, { version: versionData.version, branch: versionData.branch || undefined, commitHash: versionData.commitHash || undefined, isDev: versionData.isDev, packageName: versionData.packageName, description: versionData.description, instancePath: versionData.instancePath || undefined })) : null] }) }), _jsx(SidebarNavItem, { icon: Home, label: t('navigation.controlCenter'), href: "/", active: pathname === '/' }), _jsx(SidebarNavItem, { icon: Wrench, label: t('navigation.tools'), href: "/tools", active: pathname === '/tools' }), featureFlags.skills ? (_jsx(SidebarNavItem, { icon: Puzzle, label: t('navigation.skills'), href: "/skills", active: pathname === '/skills' })) : null, _jsx(SidebarNavItem, { icon: Settings, label: t('navigation.settings'), href: "/settings", active: pathname === '/settings' })] }) }), _jsx(SidebarContent, { children: showExpanded ? (_jsx("div", { className: [
68
64
  'flex min-h-0 flex-1 flex-col overflow-hidden transition-opacity duration-200 ease-out',
69
65
  '[&_[data-sidebar=group-label]]:!mt-0 [&_[data-sidebar=group-label]]:!opacity-100 [&_[data-sidebar=group-label]]:!transition-none',
70
66
  expandedVisible ? 'opacity-100' : 'opacity-0',
71
- ].join(' '), children: repoGroups.length > 0 && (_jsxs(_Fragment, { children: [_jsx(SidebarSectionHeader, { label: t('sidebar.features') }), _jsx(ScrollArea, { className: "min-h-0 flex-1", children: repoGroups.map(({ repoPath, repoName, featureCount, statusGroups }) => (_jsx(RepoGroup, { repoName: repoName, featureCount: featureCount, children: statusGroups.map(({ statusKey, label, items }) => (_jsx(FeatureStatusGroup, { label: label, count: items.length, children: items.map((feature) => (_jsx(FeatureListItem, { name: feature.name, status: feature.status, startedAt: feature.startedAt, duration: feature.duration, agentType: feature.agentType, modelId: feature.modelId, onClick: onFeatureClick ? () => onFeatureClick(feature.featureId) : undefined }, feature.featureId))) }, statusKey))) }, repoPath))) })] })) })) : null }), _jsx(SidebarFooter, { className: "border-t p-2", children: _jsx(SidebarMenu, { children: _jsx(SidebarMenuItem, { children: _jsx("div", { className: "flex items-center gap-1", children: _jsxs(TooltipProvider, { children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsxs(SidebarMenuButton, { className: "w-auto flex-none", onClick: (e) => {
72
- const currentResolved = theme === 'system' ? resolvedTheme : theme;
73
- const goingToDark = currentResolved !== 'dark';
74
- const newTheme = theme === 'system'
75
- ? resolvedTheme === 'dark'
76
- ? 'light'
77
- : 'dark'
78
- : theme === 'dark'
79
- ? 'light'
80
- : 'dark';
81
- if (goingToDark) {
82
- toggleOnSound.play();
83
- }
84
- else {
85
- toggleOffSound.play();
86
- }
87
- const prefersReducedMotion = typeof window !== 'undefined' &&
88
- window.matchMedia('(prefers-reduced-motion: reduce)').matches;
89
- if (!('startViewTransition' in document) || prefersReducedMotion) {
90
- setTheme(newTheme);
91
- return;
92
- }
93
- document.documentElement.style.setProperty('--x', `${e.clientX}px`);
94
- document.documentElement.style.setProperty('--y', `${e.clientY}px`);
95
- document.startViewTransition(() => {
96
- setTheme(newTheme);
97
- });
98
- }, "aria-label": resolvedTheme === 'dark'
67
+ ].join(' '), children: repoGroups.length > 0 && (_jsxs(_Fragment, { children: [_jsx(SidebarSectionHeader, { label: t('sidebar.features') }), _jsx(ScrollArea, { className: "min-h-0 flex-1", children: repoGroups.map(({ repoPath, repoName, featureCount, statusGroups }) => (_jsx(RepoGroup, { repoName: repoName, featureCount: featureCount, children: statusGroups.map(({ statusKey, label, items }) => (_jsx(FeatureStatusGroup, { label: label, count: items.length, children: items.map((feature) => (_jsx(FeatureListItem, { name: feature.name, status: feature.status, startedAt: feature.startedAt, duration: feature.duration, agentType: feature.agentType, modelId: feature.modelId, onClick: onFeatureClick ? () => onFeatureClick(feature.featureId) : undefined }, feature.featureId))) }, statusKey))) }, repoPath))) })] })) })) : null }), _jsx(SidebarFooter, { className: "border-t border-slate-200/50 p-2 dark:border-slate-800/50", children: _jsxs(SidebarMenu, { children: [_jsx(SidebarMenuItem, { children: _jsxs("div", { className: "flex items-center gap-1", children: [_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsxs(SidebarMenuButton, { className: "w-auto flex-none", onClick: (e) => {
68
+ const currentResolved = theme === 'system' ? resolvedTheme : theme;
69
+ const goingToDark = currentResolved !== 'dark';
70
+ const newTheme = theme === 'system'
71
+ ? resolvedTheme === 'dark'
72
+ ? 'light'
73
+ : 'dark'
74
+ : theme === 'dark'
75
+ ? 'light'
76
+ : 'dark';
77
+ if (goingToDark) {
78
+ toggleOnSound.play();
79
+ }
80
+ else {
81
+ toggleOffSound.play();
82
+ }
83
+ const prefersReducedMotion = typeof window !== 'undefined' &&
84
+ window.matchMedia('(prefers-reduced-motion: reduce)').matches;
85
+ if (!('startViewTransition' in document) || prefersReducedMotion) {
86
+ setTheme(newTheme);
87
+ return;
88
+ }
89
+ document.documentElement.style.setProperty('--x', `${e.clientX}px`);
90
+ document.documentElement.style.setProperty('--y', `${e.clientY}px`);
91
+ document.startViewTransition(() => {
92
+ setTheme(newTheme);
93
+ });
94
+ }, "aria-label": resolvedTheme === 'dark'
95
+ ? t('sidebar.switchToLight')
96
+ : t('sidebar.switchToDark'), children: [_jsx(Sun, { className: "h-4 w-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }), _jsx(Moon, { className: "absolute h-4 w-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" })] }) }), _jsx(TooltipContent, { side: "top", children: resolvedTheme === 'dark'
99
97
  ? t('sidebar.switchToLight')
100
- : t('sidebar.switchToDark'), children: [_jsx(Sun, { className: "h-4 w-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }), _jsx(Moon, { className: "absolute h-4 w-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" })] }) }), _jsx(TooltipContent, { side: "top", children: resolvedTheme === 'dark'
101
- ? t('sidebar.switchToLight')
102
- : t('sidebar.switchToDark') })] }), !collapsed && (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(SidebarMenuButton, { className: "w-auto flex-none", onClick: () => {
103
- clickSound.play();
104
- toggleSound();
105
- }, "aria-label": soundEnabled ? t('sidebar.muteSounds') : t('sidebar.unmuteSounds'), children: soundEnabled ? (_jsx(Volume2, { className: "h-4 w-4" })) : (_jsx(VolumeOff, { className: "h-4 w-4" })) }) }), _jsx(TooltipContent, { side: "top", children: soundEnabled ? t('sidebar.muteSounds') : t('sidebar.unmuteSounds') })] })), !collapsed && (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(SidebarMenuButton, { className: "w-auto flex-none", onClick: () => {
106
- clickSound.play();
107
- toggleAnimations();
108
- }, "aria-label": animationsEnabled ? 'Disable animations' : 'Enable animations', children: animationsEnabled ? (_jsx(Zap, { className: "h-4 w-4" })) : (_jsx(ZapOff, { className: "h-4 w-4" })) }) }), _jsx(TooltipContent, { side: "top", children: animationsEnabled ? 'Disable animations' : 'Enable animations' })] }))] }) }) }) }) }), _jsx(SidebarRail, {})] }));
98
+ : t('sidebar.switchToDark') })] }) }), _jsx(SidebarCollapseToggle, { className: "flex-none transition-all duration-200" })] }) }), !collapsed && (_jsx(SidebarMenuItem, { children: _jsx("div", { className: "flex items-center gap-1", children: _jsxs(TooltipProvider, { children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(SidebarMenuButton, { className: "w-auto flex-none", onClick: () => {
99
+ clickSound.play();
100
+ toggleSound();
101
+ }, "aria-label": soundEnabled ? t('sidebar.muteSounds') : t('sidebar.unmuteSounds'), children: soundEnabled ? (_jsx(Volume2, { className: "h-4 w-4" })) : (_jsx(VolumeOff, { className: "h-4 w-4" })) }) }), _jsx(TooltipContent, { side: "top", children: soundEnabled ? t('sidebar.muteSounds') : t('sidebar.unmuteSounds') })] }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(SidebarMenuButton, { className: "w-auto flex-none", onClick: () => {
102
+ clickSound.play();
103
+ toggleAnimations();
104
+ }, "aria-label": animationsEnabled ? 'Disable animations' : 'Enable animations', children: animationsEnabled ? (_jsx(Zap, { className: "h-4 w-4" })) : (_jsx(ZapOff, { className: "h-4 w-4" })) }) }), _jsx(TooltipContent, { side: "top", children: animationsEnabled ? 'Disable animations' : 'Enable animations' })] })] }) }) }))] }) })] }));
109
105
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,IAAI,6GAQT,CAAC;AAGF,QAAA,MAAM,UAAU,6GAIf,CAAC;AAGF,QAAA,MAAM,SAAS,6GAQd,CAAC;AAGF,QAAA,MAAM,eAAe,6GAIpB,CAAC;AAGF,QAAA,MAAM,WAAW,6GAIhB,CAAC;AAGF,QAAA,MAAM,UAAU,6GAIf,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,QAAA,MAAM,IAAI,6GAQT,CAAC;AAGF,QAAA,MAAM,UAAU,6GAIf,CAAC;AAGF,QAAA,MAAM,SAAS,6GAQd,CAAC;AAGF,QAAA,MAAM,eAAe,6GAIpB,CAAC;AAGF,QAAA,MAAM,WAAW,6GAIhB,CAAC;AAGF,QAAA,MAAM,UAAU,6GAIf,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
@@ -1,7 +1,15 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { cn } from '../../lib/utils.js';
4
- const Card = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('bg-card text-card-foreground rounded-xl border shadow', className), ...props })));
4
+ /*
5
+ * Card — shadcn primitive extended with Stitch's editorial-shadow utility.
6
+ * The `editorial-shadow` class (globals.css) replaces the old `shadow` class
7
+ * with a subtle shadow + ring combination that gives cards a "lifted" look
8
+ * and renders consistently against the editorial surface palette in both
9
+ * light and dark modes. The `border` class stays for explicit border visibility
10
+ * in dense grids; editorial-shadow's ring provides the soft lift on top.
11
+ */
12
+ const Card = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('bg-card text-card-foreground editorial-shadow rounded-xl border', className), ...props })));
5
13
  Card.displayName = 'Card';
6
14
  const CardHeader = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { ref: ref, className: cn('flex flex-col space-y-1.5 p-6', className), ...props })));
7
15
  CardHeader.displayName = 'CardHeader';
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAIjD,iBAAS,MAAM,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAE9E;AAED,iBAAS,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAExF;AAED,iBAAS,YAAY,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,2CAEtF;AAED,iBAAS,WAAW,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpF;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAQtD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,SAAoB,EACpB,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IACxD,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,2CAiCA;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQzE;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQzE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQ/F;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,2CAQ1D;AAED,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,WAAW,EACX,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAC"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAIjD,iBAAS,MAAM,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAE9E;AAED,iBAAS,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAExF;AAED,iBAAS,YAAY,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,2CAEtF;AAED,iBAAS,WAAW,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEpF;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAWtD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,SAAoB,EACpB,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IACxD,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,2CAuCA;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQzE;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQzE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQ/F;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,2CAQ1D;AAED,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,WAAW,EACX,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAC"}
@@ -16,10 +16,16 @@ function DrawerClose({ ...props }) {
16
16
  return _jsx(DrawerPrimitive.Close, { "data-slot": "drawer-close", ...props });
17
17
  }
18
18
  function DrawerOverlay({ className, ...props }) {
19
- return (_jsx(DrawerPrimitive.Overlay, { "data-slot": "drawer-overlay", className: cn('fixed inset-0 z-50 bg-black/50', className), ...props }));
19
+ return (_jsx(DrawerPrimitive.Overlay, { "data-slot": "drawer-overlay", className: cn('fixed inset-0 z-50 bg-black/40 backdrop-blur-[2px] dark:bg-black/50', className), ...props }));
20
20
  }
21
21
  function DrawerContent({ className, children, direction = 'bottom', showCloseButton = true, ...props }) {
22
- return (_jsx(DrawerPortal, { children: _jsxs(DrawerPrimitive.Content, { "data-slot": "drawer-content", className: cn('bg-background fixed z-50 flex flex-col shadow-lg', direction === 'bottom' && 'inset-x-0 bottom-0 mb-24 rounded-t-lg border-t', direction === 'top' && 'inset-x-0 top-0 mt-24 rounded-b-lg border-b', direction === 'right' && 'inset-y-0 right-0 h-full w-3/4 border-l', direction === 'left' && 'inset-y-0 left-0 h-full w-3/4 border-r', className), style: {
22
+ return (_jsx(DrawerPortal, { children: _jsxs(DrawerPrimitive.Content, { "data-slot": "drawer-content", className: cn(
23
+ // Editorial drawer: glass-blur backdrop in light mode for a polished
24
+ // semi-transparent feel that lets underlying content bleed through.
25
+ // In dark mode, the solid card surface (#1e293b) against the darker
26
+ // overlay already looks layered, so we use bg-card directly.
27
+ // editorial-shadow provides the subtle ring+shadow lift on the panel edge.
28
+ 'editorial-shadow fixed z-50 flex flex-col', 'bg-white/80 backdrop-blur-xl dark:bg-[#1e293bd9]', direction === 'bottom' && 'inset-x-0 bottom-0 mb-24 rounded-t-lg border-t', direction === 'top' && 'inset-x-0 top-0 mt-24 rounded-b-lg border-b', direction === 'right' && 'inset-y-0 right-0 h-full w-3/4 border-l', direction === 'left' && 'inset-y-0 left-0 h-full w-3/4 border-r', className), style: {
23
29
  '--initial-transform': 'calc(100% + 8px)',
24
30
  // Override vaul's user-select:none on [data-vaul-drawer] so text is selectable
25
31
  userSelect: 'text',
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAIvD,yEAAyE;AACzE,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC,iBAAS,eAAe,CAAC,EACvB,aAAgC,EAChC,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,2CAQxD;AAED,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAEhF;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAE1F;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAiBvD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/components/ui/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAIvD,yEAAyE;AACzE,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC,iBAAS,eAAe,CAAC,EACvB,aAAgC,EAChC,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,2CAQxD;AAED,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAEhF;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAE1F;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAgBvD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { Tooltip as TooltipPrimitive } from 'radix-ui';
4
4
  import { cn } from '../../lib/utils.js';
5
5
  /** Default tooltip hover delay (ms) for canvas nodes and UI controls. */
@@ -13,7 +13,7 @@ function Tooltip({ ...props }) {
13
13
  function TooltipTrigger({ ...props }) {
14
14
  return _jsx(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
15
15
  }
16
- function TooltipContent({ className, sideOffset = 0, children, ...props }) {
17
- return (_jsx(TooltipPrimitive.Portal, { children: _jsxs(TooltipPrimitive.Content, { "data-slot": "tooltip-content", sideOffset: sideOffset, className: cn('bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance', className), ...props, children: [children, _jsx(TooltipPrimitive.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })] }) }));
16
+ function TooltipContent({ className, sideOffset = 4, children, ...props }) {
17
+ return (_jsx(TooltipPrimitive.Portal, { children: _jsx(TooltipPrimitive.Content, { "data-slot": "tooltip-content", sideOffset: sideOffset, className: cn('glass-blur editorial-shadow text-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-lg px-3 py-2 text-xs text-balance', className), ...props, children: children }) }));
18
18
  }
19
19
  export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -5,6 +5,7 @@
5
5
  "saved": "تم الحفظ",
6
6
  "failedToSave": "فشل حفظ الإعدادات",
7
7
  "sections": {
8
+ "all": "الكل",
8
9
  "language": "اللغة",
9
10
  "agent": "الوكيل",
10
11
  "environment": "البيئة",
@@ -5,6 +5,7 @@
5
5
  "saved": "Gespeichert",
6
6
  "failedToSave": "Einstellungen konnten nicht gespeichert werden",
7
7
  "sections": {
8
+ "all": "Alle",
8
9
  "language": "Sprache",
9
10
  "agent": "Agent",
10
11
  "environment": "Umgebung",
@@ -5,6 +5,7 @@
5
5
  "saved": "Saved",
6
6
  "failedToSave": "Failed to save settings",
7
7
  "sections": {
8
+ "all": "All",
8
9
  "language": "Language",
9
10
  "agent": "Agent",
10
11
  "environment": "Environment",
@@ -5,6 +5,7 @@
5
5
  "saved": "Guardado",
6
6
  "failedToSave": "Error al guardar la configuración",
7
7
  "sections": {
8
+ "all": "Todo",
8
9
  "language": "Idioma",
9
10
  "agent": "Agente",
10
11
  "environment": "Entorno",
@@ -5,6 +5,7 @@
5
5
  "saved": "Enregistré",
6
6
  "failedToSave": "Échec de l'enregistrement des paramètres",
7
7
  "sections": {
8
+ "all": "Tout",
8
9
  "language": "Langue",
9
10
  "agent": "Agent",
10
11
  "environment": "Environnement",
@@ -5,6 +5,7 @@
5
5
  "saved": "נשמר",
6
6
  "failedToSave": "שמירת ההגדרות נכשלה",
7
7
  "sections": {
8
+ "all": "הכל",
8
9
  "language": "שפה",
9
10
  "agent": "סוכן",
10
11
  "environment": "סביבה",
@@ -5,6 +5,7 @@
5
5
  "saved": "Salvo",
6
6
  "failedToSave": "Falha ao salvar configurações",
7
7
  "sections": {
8
+ "all": "Tudo",
8
9
  "language": "Idioma",
9
10
  "agent": "Agente",
10
11
  "environment": "Ambiente",
@@ -5,6 +5,7 @@
5
5
  "saved": "Сохранено",
6
6
  "failedToSave": "Не удалось сохранить настройки",
7
7
  "sections": {
8
+ "all": "Все",
8
9
  "language": "Язык",
9
10
  "agent": "Агент",
10
11
  "environment": "Окружение",