@shipit-ai/cli 1.167.1 → 1.169.0-pr12.6d78faf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apis/json-schema/FeatureFlags.yaml +5 -0
- package/apis/json-schema/LiteLLMProxyConfig.yaml +14 -0
- package/apis/json-schema/Settings.yaml +3 -0
- package/dist/packages/core/src/application/ports/output/services/index.d.ts +1 -0
- package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/plugin-marketplace.interface.d.ts +46 -0
- package/dist/packages/core/src/application/ports/output/services/plugin-marketplace.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/plugin-marketplace.interface.js +12 -0
- package/dist/packages/core/src/application/use-cases/plugins/add-marketplace.use-case.d.ts +16 -0
- package/dist/packages/core/src/application/use-cases/plugins/add-marketplace.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/add-marketplace.use-case.js +34 -0
- package/dist/packages/core/src/application/use-cases/plugins/fetch-plugin-catalog.use-case.d.ts +24 -0
- package/dist/packages/core/src/application/use-cases/plugins/fetch-plugin-catalog.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/fetch-plugin-catalog.use-case.js +52 -0
- package/dist/packages/core/src/application/use-cases/plugins/install-plugin.use-case.d.ts +17 -0
- package/dist/packages/core/src/application/use-cases/plugins/install-plugin.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/install-plugin.use-case.js +33 -0
- package/dist/packages/core/src/application/use-cases/plugins/toggle-plugin.use-case.d.ts +17 -0
- package/dist/packages/core/src/application/use-cases/plugins/toggle-plugin.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/toggle-plugin.use-case.js +33 -0
- package/dist/packages/core/src/application/use-cases/plugins/uninstall-plugin.use-case.d.ts +16 -0
- package/dist/packages/core/src/application/use-cases/plugins/uninstall-plugin.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/uninstall-plugin.use-case.js +33 -0
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +1 -0
- package/dist/packages/core/src/domain/generated/output.d.ts +25 -0
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/modules/services.module.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/modules/services.module.js +13 -0
- package/dist/packages/core/src/infrastructure/di/modules/use-cases.module.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/modules/use-cases.module.js +12 -0
- package/dist/packages/core/src/infrastructure/di/modules/web-tokens.module.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/modules/web-tokens.module.js +22 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +4 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +18 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-litellm-proxy.d.ts +14 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-litellm-proxy.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/054-add-litellm-proxy.js +28 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/index.d.ts +4 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/index.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/index.js +3 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.schema.d.ts +78 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.schema.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.schema.js +46 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.service.d.ts +29 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.service.js +147 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.validators.d.ts +11 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.validators.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/plugin-marketplace/plugin-marketplace.validators.js +47 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/antigravity.json +1 -1
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/bash.json +1 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/cursor-cli.json +1 -1
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/cursor.json +1 -1
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/fish.json +1 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/powershell.json +1 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/zsh.json +1 -0
- package/dist/src/presentation/web/app/actions/add-marketplace.d.ts +5 -0
- package/dist/src/presentation/web/app/actions/add-marketplace.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/add-marketplace.js +11 -0
- package/dist/src/presentation/web/app/actions/fetch-plugin-catalog.d.ts +5 -0
- package/dist/src/presentation/web/app/actions/fetch-plugin-catalog.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/fetch-plugin-catalog.js +11 -0
- package/dist/src/presentation/web/app/actions/install-plugin.d.ts +5 -0
- package/dist/src/presentation/web/app/actions/install-plugin.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/install-plugin.js +11 -0
- package/dist/src/presentation/web/app/actions/toggle-plugin.d.ts +5 -0
- package/dist/src/presentation/web/app/actions/toggle-plugin.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/toggle-plugin.js +11 -0
- package/dist/src/presentation/web/app/actions/uninstall-plugin.d.ts +5 -0
- package/dist/src/presentation/web/app/actions/uninstall-plugin.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/uninstall-plugin.js +11 -0
- package/dist/src/presentation/web/app/layout.d.ts.map +1 -1
- package/dist/src/presentation/web/app/layout.js +15 -2
- package/dist/src/presentation/web/app/plugins/page.d.ts +2 -0
- package/dist/src/presentation/web/app/plugins/page.d.ts.map +1 -0
- package/dist/src/presentation/web/app/plugins/page.js +23 -0
- package/dist/src/presentation/web/components/common/base-drawer/base-drawer.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/base-drawer/base-drawer.js +4 -1
- package/dist/src/presentation/web/components/common/page-header/page-header.d.ts +3 -1
- package/dist/src/presentation/web/components/common/page-header/page-header.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/page-header/page-header.js +8 -2
- package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.js +1 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/repository-node/repository-node.js +6 -1
- package/dist/src/presentation/web/components/common/shipit-ai-logo/shipit-ai-logo.d.ts +9 -1
- package/dist/src/presentation/web/components/common/shipit-ai-logo/shipit-ai-logo.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/shipit-ai-logo/shipit-ai-logo.js +12 -6
- package/dist/src/presentation/web/components/common/sidebar-collapse-toggle/sidebar-collapse-toggle.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/sidebar-collapse-toggle/sidebar-collapse-toggle.js +5 -1
- package/dist/src/presentation/web/components/common/sidebar-nav-item/sidebar-nav-item.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/sidebar-nav-item/sidebar-nav-item.js +15 -0
- package/dist/src/presentation/web/components/features/chat/ChatSheet.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/chat/ChatSheet.js +18 -5
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +5 -1
- package/dist/src/presentation/web/components/features/plugins/plugin-card.d.ts +9 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-card.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-card.js +15 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-card.stories.d.ts +17 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-card.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-card.stories.js +60 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.d.ts +11 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.js +33 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.d.ts +18 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.js +51 -0
- package/dist/src/presentation/web/components/features/plugins/plugins-page-client.d.ts +6 -0
- package/dist/src/presentation/web/components/features/plugins/plugins-page-client.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/plugins/plugins-page-client.js +115 -0
- package/dist/src/presentation/web/components/features/plugins/plugins-page-client.stories.d.ts +12 -0
- package/dist/src/presentation/web/components/features/plugins/plugins-page-client.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/plugins/plugins-page-client.stories.js +24 -0
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts +3 -3
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.js +23 -102
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts +2 -3
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.js +18 -22
- package/dist/src/presentation/web/components/features/settings/ci-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/ci-settings-section.js +14 -5
- package/dist/src/presentation/web/components/features/settings/database-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/database-settings-section.js +14 -4
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts +9 -3
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.js +75 -65
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/environment-settings-section.stories.js +20 -18
- package/dist/src/presentation/web/components/features/settings/fab-layout-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/fab-layout-settings-section.js +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts +3 -3
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +53 -50
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +27 -25
- package/dist/src/presentation/web/components/features/settings/interactive-agent-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/interactive-agent-settings-section.js +3 -3
- package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.d.ts +6 -0
- package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.js +76 -0
- package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.stories.d.ts +15 -0
- package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/settings/litellm-proxy-settings-section.stories.js +29 -0
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts +3 -3
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.js +64 -47
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/notification-settings-section.stories.js +32 -24
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +30 -381
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts +2 -0
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +14 -0
- package/dist/src/presentation/web/components/features/settings/settings-section-utils.d.ts +13 -10
- package/dist/src/presentation/web/components/features/settings/settings-section-utils.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-section-utils.js +10 -10
- package/dist/src/presentation/web/components/features/settings/settings-section-utils.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-section-utils.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-section-utils.stories.js +7 -7
- package/dist/src/presentation/web/components/features/settings/stage-timeouts-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/stage-timeouts-settings-section.js +1 -1
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts +3 -3
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.js +118 -165
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +26 -64
- package/dist/src/presentation/web/components/features/skills/category-filter.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/skills/category-filter.js +12 -2
- package/dist/src/presentation/web/components/features/skills/skill-card.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/skills/skill-card.js +3 -3
- package/dist/src/presentation/web/components/features/skills/skill-detail-drawer.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/skills/skill-detail-drawer.js +27 -1
- package/dist/src/presentation/web/components/features/skills/skill-list.js +2 -2
- package/dist/src/presentation/web/components/features/skills/skills-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/skills/skills-page-client.js +2 -2
- package/dist/src/presentation/web/components/features/tools/tool-card.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/tools/tool-card.js +20 -11
- package/dist/src/presentation/web/components/features/tools/tool-detail-drawer.js +1 -1
- package/dist/src/presentation/web/components/features/tools/tools-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/tools/tools-page-client.js +6 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +40 -44
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +1 -0
- package/dist/src/presentation/web/components/ui/card.d.ts.map +1 -1
- package/dist/src/presentation/web/components/ui/card.js +9 -1
- package/dist/src/presentation/web/components/ui/drawer.d.ts.map +1 -1
- package/dist/src/presentation/web/components/ui/drawer.js +8 -2
- package/dist/src/presentation/web/components/ui/tooltip.d.ts.map +1 -1
- package/dist/src/presentation/web/components/ui/tooltip.js +3 -3
- package/dist/src/presentation/web/hooks/feature-flags-context.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.js +1 -0
- package/dist/src/presentation/web/lib/feature-flags.d.ts +2 -0
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +6 -0
- package/dist/translations/ar/web.json +40 -2
- package/dist/translations/de/web.json +40 -2
- package/dist/translations/en/web.json +40 -2
- package/dist/translations/es/web.json +40 -2
- package/dist/translations/fr/web.json +40 -2
- package/dist/translations/he/web.json +40 -2
- package/dist/translations/pt/web.json +40 -2
- package/dist/translations/ru/web.json +40 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +1 -0
- package/web/.next/build-manifest.json +3 -3
- package/web/.next/fallback-build-manifest.json +3 -3
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +3 -3
- package/web/.next/required-server-files.json +3 -3
- package/web/.next/routes-manifest.json +6 -0
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +31 -31
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +37 -37
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +2 -2
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +37 -37
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +2 -2
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
- package/web/.next/server/app/(dashboard)/chat/page.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +31 -31
- package/web/.next/server/app/(dashboard)/create/page.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +37 -37
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +2 -2
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +37 -37
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +2 -2
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
- package/web/.next/server/app/(dashboard)/page.js +1 -1
- package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error.html +1 -1
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/_not-found/page.js +1 -1
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
- package/web/.next/server/app/api/dialog/pick-files/route.js.nft.json +1 -1
- package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
- package/web/.next/server/app/api/graph-data/route.js +1 -1
- package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
- package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js +1 -1
- package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
- package/web/.next/server/app/api/sessions-batch/route.js +1 -1
- package/web/.next/server/app/api/sessions-batch/route.js.nft.json +1 -1
- package/web/.next/server/app/plugins/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/plugins/page/build-manifest.json +18 -0
- package/web/.next/server/app/plugins/page/next-font-manifest.json +10 -0
- package/web/.next/server/app/plugins/page/react-loadable-manifest.json +8 -0
- package/web/.next/server/app/plugins/page/server-reference-manifest.json +185 -0
- package/web/.next/server/app/plugins/page.js +17 -0
- package/web/.next/server/app/plugins/page.js.map +5 -0
- package/web/.next/server/app/plugins/page.js.nft.json +1 -0
- package/web/.next/server/app/plugins/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/settings/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/settings/page/server-reference-manifest.json +34 -22
- package/web/.next/server/app/settings/page.js +2 -2
- package/web/.next/server/app/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/skills/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/skills/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/skills/page.js +1 -1
- package/web/.next/server/app/skills/page.js.nft.json +1 -1
- package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/tools/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/tools/page.js +1 -1
- package/web/.next/server/app/tools/page.js.nft.json +1 -1
- package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/version/page/next-font-manifest.json +6 -2
- package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/version/page.js +1 -1
- package/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app-paths-manifest.json +1 -0
- package/web/.next/server/chunks/11es_next_dist_esm_build_templates_app-route_067cwst.js.map +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__0zu_byw._.js → [root-of-the-server]__07suer1._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__0u1jyv9._.js → [root-of-the-server]__0sgzo7y._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__0tb~wwk._.js +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__08cpfre._.js → [root-of-the-server]__0uxlr84._.js} +2 -2
- package/web/.next/server/chunks/ssr/08qz_lucide-react_dist_esm_icons_0c0dui7._.js +3 -0
- package/web/.next/server/chunks/ssr/08qz_lucide-react_dist_esm_icons_0c0dui7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_create-drawer-client_tsx_0g70fc5._.js +1 -1
- package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_create-drawer-client_tsx_0g70fc5._.js.map +1 -1
- package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_feature-drawer-client_tsx_104cna.._.js +2 -2
- package/web/.next/server/chunks/ssr/0j.8_web_components_common_control-center-drawer_feature-drawer-client_tsx_104cna.._.js.map +1 -1
- package/web/.next/server/chunks/ssr/0ukq_presentation_web_components_features_settings_settings-page-client_tsx_0j1uius._.js +1 -1
- package/web/.next/server/chunks/ssr/0ukq_presentation_web_components_features_settings_settings-page-client_tsx_0j1uius._.js.map +1 -1
- package/web/.next/server/chunks/ssr/11es_next_dist_esm_build_templates_app-page_0y6lfp8.js +4 -0
- package/web/.next/server/chunks/ssr/11es_next_dist_esm_build_templates_app-page_0y6lfp8.js.map +1 -0
- package/web/.next/server/chunks/ssr/11y9_components_common_control-center-drawer_repository-drawer-client_tsx_09z.znp._.js +1 -1
- package/web/.next/server/chunks/ssr/11y9_components_common_control-center-drawer_repository-drawer-client_tsx_09z.znp._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_04s_q5r._.js → 12k._sonner_dist_index_mjs_0-vmpk5._.js} +2 -2
- package/web/.next/server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0rvrr1j._.js → [root-of-the-server]__0.5ojmt._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0.5ojmt._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__04h~gav._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__04h~gav._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__05_qc0n._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__05_qc0n._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0uy_5rw._.js → [root-of-the-server]__0ge~xny._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0uy_5rw._.js.map → [root-of-the-server]__0ge~xny._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0jy4nha._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0jy4nha._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_0e5cv3q._.js → [root-of-the-server]__0n~o-g-._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0n~o-g-._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__02.89uf._.js → [root-of-the-server]__0qda~yi._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__02.89uf._.js.map → [root-of-the-server]__0qda~yi._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0rv1gci._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0tq2syh._.js +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0r5zhk.._.js → [root-of-the-server]__0t~u8sd._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0r5zhk.._.js.map → [root-of-the-server]__0t~u8sd._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0~v1~b9._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0~v1~b9._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__04rq9lr._.js → [root-of-the-server]__10tll_l._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__04rq9lr._.js.map → [root-of-the-server]__10tll_l._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__12j29w-._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__12j29w-._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0-09vq7._.js +1 -1
- package/web/.next/server/chunks/ssr/_0-09vq7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_01sesw0._.js +1 -1
- package/web/.next/server/chunks/ssr/_01sesw0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_00u~.41._.js → _03x4h9e._.js} +2 -2
- package/web/.next/server/chunks/ssr/_03x4h9e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_0hwjfpu._.js → _05fk0a4._.js} +2 -2
- package/web/.next/server/chunks/ssr/_05fk0a4._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_069y.js._.js +2 -2
- package/web/.next/server/chunks/ssr/_069y.js._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_0-.ckn5._.js → _07u.4jr._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_0-.ckn5._.js.map → _07u.4jr._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_083k45~._.js +3 -0
- package/web/.next/server/chunks/ssr/_083k45~._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0__4si~._.js +1 -1
- package/web/.next/server/chunks/ssr/_0__4si~._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0_m17kl._.js +1 -1
- package/web/.next/server/chunks/ssr/_0_m17kl._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0d4miu.._.js +1 -1
- package/web/.next/server/chunks/ssr/_0d4miu.._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0e8ern9._.js +1 -1
- package/web/.next/server/chunks/ssr/_0e8ern9._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0i~-084._.js +3 -0
- package/web/.next/server/chunks/ssr/_0i~-084._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0kt18~b._.js +3 -0
- package/web/.next/server/chunks/ssr/_0kt18~b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_138qywk._.js → _0mj-tmi._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_138qywk._.js.map → _0mj-tmi._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{_0hw~zvl._.js → _0o_oaao._.js} +2 -2
- package/web/.next/server/chunks/ssr/_0o_oaao._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0p3~u8u._.js +2 -2
- package/web/.next/server/chunks/ssr/_0p3~u8u._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0r.3n~3._.js +1 -1
- package/web/.next/server/chunks/ssr/_0r.3n~3._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0rcx2-c._.js +9 -0
- package/web/.next/server/chunks/ssr/_0rcx2-c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0t59q8r._.js +1 -1
- package/web/.next/server/chunks/ssr/_0t59q8r._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0tcccbb._.js +1 -1
- package/web/.next/server/chunks/ssr/_0tcccbb._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0tfz1v_._.js +3 -0
- package/web/.next/server/chunks/ssr/_0tfz1v_._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_00k65h-._.js → _0u3d8.n._.js} +2 -2
- package/web/.next/server/chunks/ssr/_0u3d8.n._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0vjw-e_._.js +7 -0
- package/web/.next/server/chunks/ssr/_0vjw-e_._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0vyfc4b._.js +1 -1
- package/web/.next/server/chunks/ssr/_0vyfc4b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0w-_hww._.js +1 -1
- package/web/.next/server/chunks/ssr/_0w-_hww._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0ygafoy._.js +7 -0
- package/web/.next/server/chunks/ssr/_0ygafoy._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0zk-h5w._.js +1 -1
- package/web/.next/server/chunks/ssr/_0zk-h5w._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0~7lwu_._.js +1 -1
- package/web/.next/server/chunks/ssr/_0~7lwu_._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_10joy2y._.js +3 -0
- package/web/.next/server/chunks/ssr/_10joy2y._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1161g9x._.js +1 -1
- package/web/.next/server/chunks/ssr/_1161g9x._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_12uy.45._.js +3 -0
- package/web/.next/server/chunks/ssr/_12uy.45._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_0y11iiz._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_0y11iiz._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_plugins_page_actions_0rdndum.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_plugins_page_actions_0rdndum.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_05m2q~u.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_05m2q~u.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_0.6zk.t.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_0.6zk.t.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_0pjb_re._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_0w2wqvu._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_0sk2qdt._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_0sk2qdt._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_0l3oxx9._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_0l3oxx9._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_0aji.op._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_0aji.op._.js.map +1 -1
- package/web/.next/server/middleware-build-manifest.js +3 -3
- package/web/.next/server/next-font-manifest.js +1 -1
- package/web/.next/server/next-font-manifest.json +63 -2
- package/web/.next/server/pages/500.html +1 -1
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +187 -61
- package/web/.next/static/chunks/{0q8ax~44oybo2.js → 01~u_q8i2zgcl.js} +2 -2
- package/web/.next/static/chunks/{0-woqr2brccx_.js → 025ml1.quzhqf.js} +1 -1
- package/web/.next/static/chunks/{0fg~vc93spa9c.js → 07gal-~-zwagj.js} +1 -1
- package/web/.next/static/chunks/07le1mov593z9.js +1 -0
- package/web/.next/static/chunks/{0ls0v8h_qbctm.js → 09ungqk9~va40.js} +1 -1
- package/web/.next/static/chunks/0ab36sfvo.9ai.js +1 -0
- package/web/.next/static/chunks/0aq9-lg.5r.nk.js +5 -0
- package/web/.next/static/chunks/{11bi612fz8agh.js → 0b2pi58fg3lt3.js} +1 -1
- package/web/.next/static/chunks/{022nrd6snse79.js → 0cvyulutrctst.js} +1 -1
- package/web/.next/static/chunks/0eqi_uuiepxhf.js +1 -0
- package/web/.next/static/chunks/0inayq2zzadja.js +1 -0
- package/web/.next/static/chunks/{0t3xjndx2s1_j.css → 0j.1nx3ly591i.css} +1 -0
- package/web/.next/static/chunks/{0v~n9z6b639zm.js → 0jwq.mr-.ltps.js} +1 -1
- package/web/.next/static/chunks/0k8m.qcahm63g.js +1 -0
- package/web/.next/static/chunks/0lc0x8kcu46ae.js +1 -0
- package/web/.next/static/chunks/0lz-oq74e_ciu.js +1 -0
- package/web/.next/static/chunks/0nkujbu62z1jl.js +7 -0
- package/web/.next/static/chunks/0o4m0k3642219.js +1 -0
- package/web/.next/static/chunks/0oadtfnesfdqc.js +1 -0
- package/web/.next/static/chunks/0udlnp30o1kjd.js +5 -0
- package/web/.next/static/chunks/{0q7ohuqneuur4.js → 0uryz2ek77e2a.js} +1 -1
- package/web/.next/static/chunks/0v7r7y~3e~oo6.css +1 -0
- package/web/.next/static/chunks/0xo.hi4px83w2.js +1 -0
- package/web/.next/static/chunks/{0j.wph28jrce1.js → 0xr0p_ynap2~d.js} +1 -1
- package/web/.next/static/chunks/0xtzpbc5mm5z7.js +5 -0
- package/web/.next/static/chunks/{02phgt~f2c-2q.js → 0~-kk8o121_13.js} +1 -1
- package/web/.next/static/chunks/13q1peb_t9vj8.js +1 -0
- package/web/.next/static/chunks/{0ps5sykbi-z5-.js → 16k169s1a_8ru.js} +1 -1
- package/web/.next/static/chunks/{0ma7k9iohb3bb.js → 17dp77weos4ao.js} +1 -1
- package/web/.next/static/media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2 +0 -0
- package/web/.next/static/media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 +0 -0
- package/web/.next/static/media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 +0 -0
- package/web/.next/static/media/5476f68d60460930-s.0wxq9webf.ew4.woff2 +0 -0
- package/web/.next/static/media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2 +0 -0
- package/web/.next/static/media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 +0 -0
- package/web/.next/static/media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2 +0 -0
- package/web/package.json +2 -2
- package/web/public/favicon.svg +10 -0
- package/web/public/icons/tools/antigravity.svg +1 -0
- package/web/public/icons/tools/bash.svg +38 -0
- package/web/public/icons/tools/cursor-cli.svg +12 -0
- package/web/public/icons/tools/cursor.svg +1 -0
- package/web/public/icons/tools/fish.svg +153 -0
- package/web/public/icons/tools/powershell.svg +29 -0
- package/web/public/icons/tools/zsh.svg +1 -0
- package/web/.next/server/chunks/ssr/08qz_lucide-react_dist_esm_icons_0zwb4s4._.js +0 -3
- package/web/.next/server/chunks/ssr/08qz_lucide-react_dist_esm_icons_0zwb4s4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0c0xoi_._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0c0xoi_._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0lslgap._.js +0 -7
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0lslgap._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0rvrr1j._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_00k65h-._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_00u~.41._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_04s_q5r._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_08i-c2n._.js +0 -3
- package/web/.next/server/chunks/ssr/_08i-c2n._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0aaotn-._.js +0 -3
- package/web/.next/server/chunks/ssr/_0aaotn-._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0e5cv3q._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0gdghcr._.js +0 -3
- package/web/.next/server/chunks/ssr/_0gdghcr._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0hwjfpu._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0hw~zvl._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0n.magx._.js +0 -3
- package/web/.next/server/chunks/ssr/_0n.magx._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0phryzt._.js +0 -3
- package/web/.next/server/chunks/ssr/_0phryzt._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0y8u4.e._.js +0 -9
- package/web/.next/server/chunks/ssr/_0y8u4.e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_12un22l._.js +0 -7
- package/web/.next/server/chunks/ssr/_12un22l._.js.map +0 -1
- package/web/.next/static/chunks/0-lu0b1ewsb0_.js +0 -1
- package/web/.next/static/chunks/01~dudieyb7wl.js +0 -5
- package/web/.next/static/chunks/02kpdawdtqcxm.js +0 -1
- package/web/.next/static/chunks/03s7z6w1lj0w~.js +0 -1
- package/web/.next/static/chunks/04~sw.nhpwy6s.css +0 -1
- package/web/.next/static/chunks/05enics63g._-.js +0 -7
- package/web/.next/static/chunks/08611baheit.t.js +0 -1
- package/web/.next/static/chunks/0_9k2ybutuphq.js +0 -1
- package/web/.next/static/chunks/0m5~9kij3s~81.js +0 -1
- package/web/.next/static/chunks/0n3kuj7t_-jzp.js +0 -1
- package/web/.next/static/chunks/0q~uf2s33.48w.js +0 -1
- package/web/.next/static/chunks/15m2wfd5k_7fj.js +0 -1
- package/web/.next/static/chunks/15rbgqykl.er8.js +0 -1
- package/web/.next/static/chunks/164dnpi666fv_.js +0 -5
- package/web/.next/static/chunks/17z2sq7c5z8cr.js +0 -5
- /package/web/.next/server/chunks/{[root-of-the-server]__0zu_byw._.js.map → [root-of-the-server]__07suer1._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__0u1jyv9._.js.map → [root-of-the-server]__0sgzo7y._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__08cpfre._.js.map → [root-of-the-server]__0uxlr84._.js.map} +0 -0
- /package/web/.next/static/{GSG_c1emY-f_AA00vD56y → vD7xT4_iwKDhgj4-rr637}/_buildManifest.js +0 -0
- /package/web/.next/static/{GSG_c1emY-f_AA00vD56y → vD7xT4_iwKDhgj4-rr637}/_clientMiddlewareManifest.js +0 -0
- /package/web/.next/static/{GSG_c1emY-f_AA00vD56y → vD7xT4_iwKDhgj4-rr637}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PluginMarketplaceEntry, InstalledPlugin } from '../../../../../../packages/core/src/application/ports/output/services/plugin-marketplace.interface.js';
|
|
2
|
+
export interface PluginCardProps {
|
|
3
|
+
plugin: PluginMarketplaceEntry;
|
|
4
|
+
installed?: InstalledPlugin;
|
|
5
|
+
onSelect: (plugin: PluginMarketplaceEntry) => void;
|
|
6
|
+
onToggle?: (pluginName: string, enabled: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function PluginCard({ plugin, installed, onSelect, onToggle }: PluginCardProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=plugin-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-card.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugin-card.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EAChB,MAAM,gFAAgF,CAAC;AAGxF,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,QAAQ,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3D;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,eAAe,2CA0DpF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Card } from '../../ui/card.js';
|
|
4
|
+
import { Badge } from '../../ui/badge.js';
|
|
5
|
+
import { Switch } from '../../ui/switch.js';
|
|
6
|
+
import { useTranslation } from 'react-i18next';
|
|
7
|
+
export function PluginCard({ plugin, installed, onSelect, onToggle }) {
|
|
8
|
+
const { t } = useTranslation('web');
|
|
9
|
+
return (_jsxs(Card, { className: "cursor-pointer p-5 transition-all duration-300 hover:scale-[1.02] hover:shadow-md hover:ring-slate-300 dark:hover:ring-slate-600", role: "button", tabIndex: 0, onClick: () => onSelect(plugin), onKeyDown: (e) => {
|
|
10
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
11
|
+
e.preventDefault();
|
|
12
|
+
onSelect(plugin);
|
|
13
|
+
}
|
|
14
|
+
}, "data-testid": `plugin-card-${plugin.name}`, children: [_jsx("h3", { className: "text-foreground text-sm leading-tight font-bold tracking-tight", children: plugin.name }), plugin.version ? (_jsxs("p", { className: "text-muted-foreground mt-1 font-mono text-xs", children: ["v", plugin.version] })) : null, _jsx("p", { className: "text-muted-foreground mt-3 line-clamp-2 text-xs leading-relaxed", children: plugin.description }), _jsxs("div", { className: "mt-4 flex flex-wrap items-center gap-1.5", children: [plugin.category ? _jsx(Badge, { variant: "outline", children: plugin.category }) : null, installed ? (_jsx(Badge, { variant: "secondary", children: t('plugins.installed') })) : (_jsx(Badge, { variant: "outline", className: "opacity-50", children: t('plugins.notInstalled') }))] }), installed ? (_jsxs("div", { className: "mt-3 flex items-center gap-2", onClick: (e) => e.stopPropagation(), onKeyDown: (e) => e.stopPropagation(), children: [_jsx(Switch, { checked: installed.enabled, onCheckedChange: (checked) => onToggle?.(plugin.name, checked), "data-testid": `plugin-toggle-${plugin.name}` }), _jsx("span", { className: "text-muted-foreground text-xs", children: installed.enabled ? t('plugins.disable') : t('plugins.enable') })] })) : null] }));
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { PluginCard } from './plugin-card.js';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof PluginCard;
|
|
6
|
+
args: {
|
|
7
|
+
onSelect: () => undefined;
|
|
8
|
+
onToggle: () => undefined;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const Installed: Story;
|
|
15
|
+
export declare const NotInstalled: Story;
|
|
16
|
+
export declare const LongDescription: Story;
|
|
17
|
+
//# sourceMappingURL=plugin-card.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-card.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugin-card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,QAAA,MAAM,IAAI;;;;;;;CAOyB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAgBvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAY7B,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { PluginCard } from './plugin-card.js';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Features/Plugins/PluginCard',
|
|
4
|
+
component: PluginCard,
|
|
5
|
+
args: {
|
|
6
|
+
onSelect: () => undefined,
|
|
7
|
+
onToggle: () => undefined,
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
export const Default = {
|
|
12
|
+
args: {
|
|
13
|
+
plugin: {
|
|
14
|
+
name: 'superpowers',
|
|
15
|
+
description: 'Advanced Claude Code skills and workflow automation for power users',
|
|
16
|
+
version: '2.1.0',
|
|
17
|
+
source: { source: 'github', repo: 'anthropics/superpowers' },
|
|
18
|
+
category: 'productivity',
|
|
19
|
+
keywords: ['automation', 'workflows'],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
export const Installed = {
|
|
24
|
+
args: {
|
|
25
|
+
plugin: {
|
|
26
|
+
name: 'code-review-graph',
|
|
27
|
+
description: 'Build knowledge graphs for intelligent code review with structural analysis',
|
|
28
|
+
version: '1.5.0',
|
|
29
|
+
source: { source: 'github', repo: 'anthropics/code-review-graph' },
|
|
30
|
+
category: 'code-quality',
|
|
31
|
+
},
|
|
32
|
+
installed: {
|
|
33
|
+
id: 'code-review-graph@claude-plugins-official',
|
|
34
|
+
scope: 'user',
|
|
35
|
+
version: '1.5.0',
|
|
36
|
+
enabled: true,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
export const NotInstalled = {
|
|
41
|
+
args: {
|
|
42
|
+
plugin: {
|
|
43
|
+
name: 'hookify',
|
|
44
|
+
description: 'Create hooks to prevent unwanted AI behaviors',
|
|
45
|
+
version: '1.0.0',
|
|
46
|
+
source: { source: 'github', repo: 'anthropics/hookify' },
|
|
47
|
+
category: 'productivity',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
export const LongDescription = {
|
|
52
|
+
args: {
|
|
53
|
+
plugin: {
|
|
54
|
+
name: 'very-long-description-plugin',
|
|
55
|
+
description: 'This plugin has a very long description that should be truncated by the line-clamp CSS utility class. '.repeat(5),
|
|
56
|
+
version: '0.1.0',
|
|
57
|
+
source: { source: 'url', url: 'https://github.com/org/plugin.git' },
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PluginMarketplaceEntry, InstalledPlugin } from '../../../../../../packages/core/src/application/ports/output/services/plugin-marketplace.interface.js';
|
|
2
|
+
export interface PluginDetailDrawerProps {
|
|
3
|
+
plugin: PluginMarketplaceEntry | null;
|
|
4
|
+
installed?: InstalledPlugin;
|
|
5
|
+
open: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onInstall?: (pluginName: string) => void;
|
|
8
|
+
onUninstall?: (pluginName: string) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function PluginDetailDrawer({ plugin, installed, open, onClose, onInstall, onUninstall, }: PluginDetailDrawerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
//# sourceMappingURL=plugin-detail-drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-detail-drawer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugin-detail-drawer.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EAChB,MAAM,gFAAgF,CAAC;AAExF,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAkBD,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,SAAS,EACT,IAAI,EACJ,OAAO,EACP,SAAS,EACT,WAAW,GACZ,EAAE,uBAAuB,kDAmFzB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { BaseDrawer } from '../../common/base-drawer/index.js';
|
|
4
|
+
import { DrawerTitle, DrawerDescription } from '../../ui/drawer.js';
|
|
5
|
+
import { Badge } from '../../ui/badge.js';
|
|
6
|
+
import { Button } from '../../ui/button.js';
|
|
7
|
+
import { Separator } from '../../ui/separator.js';
|
|
8
|
+
import { ExternalLink } from 'lucide-react';
|
|
9
|
+
import { useTranslation } from 'react-i18next';
|
|
10
|
+
function getSourceUrl(plugin) {
|
|
11
|
+
const { source } = plugin;
|
|
12
|
+
if (source.source === 'github' && source.repo) {
|
|
13
|
+
return `https://github.com/${source.repo}`;
|
|
14
|
+
}
|
|
15
|
+
if ((source.source === 'url' || source.source === 'git-subdir') && source.url) {
|
|
16
|
+
try {
|
|
17
|
+
const url = new URL(source.url);
|
|
18
|
+
if (url.protocol === 'https:')
|
|
19
|
+
return source.url;
|
|
20
|
+
}
|
|
21
|
+
catch {
|
|
22
|
+
// Invalid URL — don't render as link
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
export function PluginDetailDrawer({ plugin, installed, open, onClose, onInstall, onUninstall, }) {
|
|
28
|
+
const { t } = useTranslation('web');
|
|
29
|
+
if (!plugin)
|
|
30
|
+
return null;
|
|
31
|
+
const sourceUrl = getSourceUrl(plugin);
|
|
32
|
+
return (_jsxs(BaseDrawer, { open: open, onClose: onClose, children: [_jsx(DrawerTitle, { className: "text-foreground text-lg font-bold tracking-tight", children: plugin.name }), _jsx(DrawerDescription, { className: "text-muted-foreground mt-1 text-sm", children: plugin.description }), _jsx(Separator, { className: "my-4" }), _jsxs("div", { className: "space-y-3", children: [plugin.version ? (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-muted-foreground text-sm", children: t('plugins.version') }), _jsxs("span", { className: "font-mono text-sm", children: ["v", plugin.version] })] })) : null, plugin.category ? (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-muted-foreground text-sm", children: t('plugins.category') }), _jsx(Badge, { variant: "outline", children: plugin.category })] })) : null, sourceUrl ? (_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-muted-foreground text-sm", children: t('plugins.source') }), _jsxs("a", { href: sourceUrl, target: "_blank", rel: "noopener noreferrer", className: "text-primary hover:text-primary/80 inline-flex items-center gap-1 text-sm underline underline-offset-2", children: [plugin.source.repo ?? 'Repository', _jsx(ExternalLink, { className: "size-3" })] })] })) : null, plugin.keywords && plugin.keywords.length > 0 ? (_jsx("div", { className: "flex flex-wrap gap-1.5 pt-2", children: plugin.keywords.map((kw) => (_jsx(Badge, { variant: "outline", className: "text-xs", children: kw }, kw))) })) : null] }), _jsx(Separator, { className: "my-4" }), _jsx("div", { className: "flex gap-2", children: installed ? (_jsx(Button, { variant: "destructive", size: "sm", onClick: () => onUninstall?.(plugin.name), "data-testid": "plugin-uninstall-button", children: t('plugins.uninstall') })) : (_jsx(Button, { size: "sm", onClick: () => onInstall?.(plugin.name), "data-testid": "plugin-install-button", children: t('plugins.install') })) })] }));
|
|
33
|
+
}
|
package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { PluginDetailDrawer } from './plugin-detail-drawer.js';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof PluginDetailDrawer;
|
|
6
|
+
args: {
|
|
7
|
+
open: true;
|
|
8
|
+
onClose: () => undefined;
|
|
9
|
+
onInstall: () => undefined;
|
|
10
|
+
onUninstall: () => undefined;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
export declare const Default: Story;
|
|
16
|
+
export declare const Installed: Story;
|
|
17
|
+
export declare const NoSource: Story;
|
|
18
|
+
//# sourceMappingURL=plugin-detail-drawer.stories.d.ts.map
|
package/dist/src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-detail-drawer.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugin-detail-drawer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,QAAA,MAAM,IAAI;;;;;;;;;CASiC,CAAC;AAE5C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { PluginDetailDrawer } from './plugin-detail-drawer.js';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Features/Plugins/PluginDetailDrawer',
|
|
4
|
+
component: PluginDetailDrawer,
|
|
5
|
+
args: {
|
|
6
|
+
open: true,
|
|
7
|
+
onClose: () => undefined,
|
|
8
|
+
onInstall: () => undefined,
|
|
9
|
+
onUninstall: () => undefined,
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
export default meta;
|
|
13
|
+
export const Default = {
|
|
14
|
+
args: {
|
|
15
|
+
plugin: {
|
|
16
|
+
name: 'superpowers',
|
|
17
|
+
description: 'Advanced Claude Code skills and workflow automation for power users',
|
|
18
|
+
version: '2.1.0',
|
|
19
|
+
source: { source: 'github', repo: 'anthropics/superpowers' },
|
|
20
|
+
category: 'productivity',
|
|
21
|
+
keywords: ['automation', 'workflows', 'skills'],
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
export const Installed = {
|
|
26
|
+
args: {
|
|
27
|
+
plugin: {
|
|
28
|
+
name: 'code-review-graph',
|
|
29
|
+
description: 'Build knowledge graphs for intelligent code review',
|
|
30
|
+
version: '1.5.0',
|
|
31
|
+
source: { source: 'github', repo: 'anthropics/code-review-graph' },
|
|
32
|
+
category: 'code-quality',
|
|
33
|
+
keywords: ['review', 'graph', 'analysis'],
|
|
34
|
+
},
|
|
35
|
+
installed: {
|
|
36
|
+
id: 'code-review-graph@claude-plugins-official',
|
|
37
|
+
scope: 'user',
|
|
38
|
+
version: '1.5.0',
|
|
39
|
+
enabled: true,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
export const NoSource = {
|
|
44
|
+
args: {
|
|
45
|
+
plugin: {
|
|
46
|
+
name: 'mystery-plugin',
|
|
47
|
+
description: 'A plugin with no source URL information',
|
|
48
|
+
source: { source: 'github' },
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface PluginsPageClientProps {
|
|
2
|
+
proxyConfigured: boolean;
|
|
3
|
+
isClaudeCode: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function PluginsPageClient({ proxyConfigured, isClaudeCode }: PluginsPageClientProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=plugins-page-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugins-page-client.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugins-page-client.tsx"],"names":[],"mappings":"AAqBA,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,sBAAsB,2CA0M1F"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useMemo, useEffect, useTransition } from 'react';
|
|
4
|
+
import { Search, Blocks, AlertCircle } from 'lucide-react';
|
|
5
|
+
import { toast } from 'sonner';
|
|
6
|
+
import { Input } from '../../ui/input.js';
|
|
7
|
+
import { Button } from '../../ui/button.js';
|
|
8
|
+
import { PageHeader } from '../../common/page-header/index.js';
|
|
9
|
+
import { EmptyState } from '../../common/empty-state/index.js';
|
|
10
|
+
import { PluginCard } from './plugin-card.js';
|
|
11
|
+
import { PluginDetailDrawer } from './plugin-detail-drawer.js';
|
|
12
|
+
import { useTranslation } from 'react-i18next';
|
|
13
|
+
import { fetchPluginCatalogAction } from '../../../app/actions/fetch-plugin-catalog.js';
|
|
14
|
+
import { installPluginAction } from '../../../app/actions/install-plugin.js';
|
|
15
|
+
import { uninstallPluginAction } from '../../../app/actions/uninstall-plugin.js';
|
|
16
|
+
import { togglePluginAction } from '../../../app/actions/toggle-plugin.js';
|
|
17
|
+
export function PluginsPageClient({ proxyConfigured, isClaudeCode }) {
|
|
18
|
+
const { t } = useTranslation('web');
|
|
19
|
+
const [, startTransition] = useTransition();
|
|
20
|
+
const [searchQuery, setSearchQuery] = useState('');
|
|
21
|
+
const [activeCategory, setActiveCategory] = useState(null);
|
|
22
|
+
const [selectedPlugin, setSelectedPlugin] = useState(null);
|
|
23
|
+
const [plugins, setPlugins] = useState([]);
|
|
24
|
+
const [installedPlugins, setInstalledPlugins] = useState([]);
|
|
25
|
+
const [loading, setLoading] = useState(true);
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
if (!proxyConfigured) {
|
|
28
|
+
setLoading(false);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
fetchPluginCatalogAction().then((result) => {
|
|
32
|
+
setPlugins(result.plugins);
|
|
33
|
+
setInstalledPlugins(result.installedPlugins);
|
|
34
|
+
setLoading(false);
|
|
35
|
+
});
|
|
36
|
+
}, [proxyConfigured]);
|
|
37
|
+
const categories = useMemo(() => {
|
|
38
|
+
const cats = new Set();
|
|
39
|
+
for (const p of plugins) {
|
|
40
|
+
if (p.category)
|
|
41
|
+
cats.add(p.category);
|
|
42
|
+
}
|
|
43
|
+
return Array.from(cats).sort();
|
|
44
|
+
}, [plugins]);
|
|
45
|
+
const filteredPlugins = useMemo(() => {
|
|
46
|
+
const query = searchQuery.toLowerCase();
|
|
47
|
+
return plugins.filter((p) => {
|
|
48
|
+
if (activeCategory && p.category !== activeCategory)
|
|
49
|
+
return false;
|
|
50
|
+
if (query) {
|
|
51
|
+
const matchesName = p.name.toLowerCase().includes(query);
|
|
52
|
+
const matchesDescription = p.description.toLowerCase().includes(query);
|
|
53
|
+
if (!matchesName && !matchesDescription)
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return true;
|
|
57
|
+
});
|
|
58
|
+
}, [plugins, searchQuery, activeCategory]);
|
|
59
|
+
const getInstalled = (pluginName) => installedPlugins.find((ip) => ip.id.startsWith(`${pluginName}@`));
|
|
60
|
+
const handleInstall = (pluginName) => {
|
|
61
|
+
startTransition(async () => {
|
|
62
|
+
const result = await installPluginAction(pluginName, 'default');
|
|
63
|
+
if (result.success) {
|
|
64
|
+
toast.success(`${pluginName} installed`);
|
|
65
|
+
const catalog = await fetchPluginCatalogAction();
|
|
66
|
+
setInstalledPlugins(catalog.installedPlugins);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
toast.error(result.error ?? 'Installation failed');
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
const handleUninstall = (pluginName) => {
|
|
74
|
+
startTransition(async () => {
|
|
75
|
+
const result = await uninstallPluginAction(pluginName, 'default');
|
|
76
|
+
if (result.success) {
|
|
77
|
+
toast.success(`${pluginName} uninstalled`);
|
|
78
|
+
const catalog = await fetchPluginCatalogAction();
|
|
79
|
+
setInstalledPlugins(catalog.installedPlugins);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
toast.error(result.error ?? 'Uninstallation failed');
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
const handleToggle = (pluginName, enabled) => {
|
|
87
|
+
startTransition(async () => {
|
|
88
|
+
const result = await togglePluginAction(pluginName, 'default', enabled);
|
|
89
|
+
if (result.success) {
|
|
90
|
+
toast.success(`${pluginName} ${enabled ? 'enabled' : 'disabled'}`);
|
|
91
|
+
const catalog = await fetchPluginCatalogAction();
|
|
92
|
+
setInstalledPlugins(catalog.installedPlugins);
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
toast.error(result.error ?? 'Toggle failed');
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
if (!isClaudeCode) {
|
|
100
|
+
return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsx(EmptyState, { icon: _jsx(AlertCircle, { className: "size-10" }), title: t('plugins.wrongAgent') })] }));
|
|
101
|
+
}
|
|
102
|
+
if (!proxyConfigured) {
|
|
103
|
+
return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsx(EmptyState, { icon: _jsx(AlertCircle, { className: "size-10" }), title: t('plugins.noProxy') })] }));
|
|
104
|
+
}
|
|
105
|
+
if (loading) {
|
|
106
|
+
return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsxs("div", { className: "text-muted-foreground text-center text-sm", children: [t('accessibility.loading'), "..."] })] }));
|
|
107
|
+
}
|
|
108
|
+
if (plugins.length === 0) {
|
|
109
|
+
return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsx(EmptyState, { icon: _jsx(Blocks, { className: "size-10" }), title: t('plugins.emptyState') })] }));
|
|
110
|
+
}
|
|
111
|
+
return (_jsxs("div", { className: "flex flex-col gap-8 p-8", children: [_jsx(PageHeader, { eyebrow: "Developer Portal", title: t('plugins.title') }), _jsxs("div", { className: "relative", children: [_jsx(Search, { className: "text-muted-foreground absolute top-1/2 left-3 size-4 -translate-y-1/2" }), _jsx(Input, { placeholder: t('plugins.searchPlaceholder'), value: searchQuery, onChange: (e) => setSearchQuery(e.target.value), className: "ps-9", "data-testid": "plugin-search" })] }), _jsxs("div", { className: "flex flex-wrap gap-2", children: [_jsx(Button, { variant: activeCategory === null ? 'default' : 'outline', size: "sm", onClick: () => setActiveCategory(null), children: t('plugins.allCategories') }), categories.map((cat) => (_jsx(Button, { variant: activeCategory === cat ? 'default' : 'outline', size: "sm", onClick: () => setActiveCategory(cat === activeCategory ? null : cat), children: cat }, cat)))] }), filteredPlugins.length > 0 ? (_jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: filteredPlugins.map((plugin) => (_jsx(PluginCard, { plugin: plugin, installed: getInstalled(plugin.name), onSelect: setSelectedPlugin, onToggle: handleToggle }, plugin.name))) })) : (_jsx(EmptyState, { icon: _jsx(Search, { className: "size-10" }), title: t('plugins.emptyState'), action: _jsx(Button, { variant: "outline", onClick: () => {
|
|
112
|
+
setSearchQuery('');
|
|
113
|
+
setActiveCategory(null);
|
|
114
|
+
}, children: t('plugins.clearFilters') }) })), _jsx(PluginDetailDrawer, { plugin: selectedPlugin, installed: selectedPlugin ? getInstalled(selectedPlugin.name) : undefined, open: !!selectedPlugin, onClose: () => setSelectedPlugin(null), onInstall: handleInstall, onUninstall: handleUninstall })] }));
|
|
115
|
+
}
|
package/dist/src/presentation/web/components/features/plugins/plugins-page-client.stories.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { PluginsPageClient } from './plugins-page-client.js';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof PluginsPageClient;
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const Default: Story;
|
|
10
|
+
export declare const NoProxy: Story;
|
|
11
|
+
export declare const WrongAgent: Story;
|
|
12
|
+
//# sourceMappingURL=plugins-page-client.stories.d.ts.map
|
package/dist/src/presentation/web/components/features/plugins/plugins-page-client.stories.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugins-page-client.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/plugins/plugins-page-client.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,QAAA,MAAM,IAAI;;;CAGgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PluginsPageClient } from './plugins-page-client.js';
|
|
2
|
+
const meta = {
|
|
3
|
+
title: 'Features/Plugins/PluginsPageClient',
|
|
4
|
+
component: PluginsPageClient,
|
|
5
|
+
};
|
|
6
|
+
export default meta;
|
|
7
|
+
export const Default = {
|
|
8
|
+
args: {
|
|
9
|
+
proxyConfigured: true,
|
|
10
|
+
isClaudeCode: true,
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
export const NoProxy = {
|
|
14
|
+
args: {
|
|
15
|
+
proxyConfigured: false,
|
|
16
|
+
isClaudeCode: true,
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
export const WrongAgent = {
|
|
20
|
+
args: {
|
|
21
|
+
proxyConfigured: true,
|
|
22
|
+
isClaudeCode: false,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Settings } from '../../../../../../packages/core/src/domain/generated/output.js';
|
|
2
2
|
export interface AgentSettingsSectionProps {
|
|
3
|
-
|
|
3
|
+
settings: Settings;
|
|
4
4
|
}
|
|
5
|
-
export declare function AgentSettingsSection({
|
|
5
|
+
export declare function AgentSettingsSection({ settings }: AgentSettingsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=agent-settings-section.d.ts.map
|
package/dist/src/presentation/web/components/features/settings/agent-settings-section.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/agent-settings-section.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent-settings-section.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/agent-settings-section.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAa,MAAM,yCAAyC,CAAC;AAInF,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE,yBAAyB,2CA0C3E"}
|
|
@@ -1,104 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as _jsx
|
|
3
|
-
import { useState
|
|
4
|
-
import { Bot
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
{ value: AgentAuthMethod.Session, label: 'Session' },
|
|
26
|
-
{ value: AgentAuthMethod.Token, label: 'Token' },
|
|
27
|
-
];
|
|
28
|
-
/** Resolve the current permission mode for the active agent from settings. */
|
|
29
|
-
function resolvePermissionMode(agent) {
|
|
30
|
-
const perms = agent.permissions;
|
|
31
|
-
if (!perms)
|
|
32
|
-
return undefined;
|
|
33
|
-
const keyMap = {
|
|
34
|
-
[AgentType.ClaudeCode]: 'claudeCode',
|
|
35
|
-
[AgentType.Cursor]: 'cursor',
|
|
36
|
-
[AgentType.GeminiCli]: 'geminiCli',
|
|
37
|
-
[AgentType.CodexCli]: 'codexCli',
|
|
38
|
-
[AgentType.CopilotCli]: 'copilotCli',
|
|
39
|
-
[AgentType.RovoDev]: 'rovoDev',
|
|
40
|
-
};
|
|
41
|
-
const key = keyMap[agent.type];
|
|
42
|
-
return key ? perms[key] : undefined;
|
|
43
|
-
}
|
|
44
|
-
export function AgentSettingsSection({ agent }) {
|
|
45
|
-
const [agentType, setAgentType] = useState(agent.type);
|
|
46
|
-
const [authMethod, setAuthMethod] = useState(agent.authMethod);
|
|
47
|
-
const [token, setToken] = useState(agent.token ?? '');
|
|
48
|
-
const [showToken, setShowToken] = useState(false);
|
|
49
|
-
const [permissionMode, setPermissionMode] = useState(resolvePermissionMode(agent));
|
|
50
|
-
const [isPending, startTransition] = useTransition();
|
|
51
|
-
const [showSaved, setShowSaved] = useState(false);
|
|
52
|
-
const prevPendingRef = useRef(false);
|
|
53
|
-
useEffect(() => {
|
|
54
|
-
if (prevPendingRef.current && !isPending) {
|
|
55
|
-
setShowSaved(true);
|
|
56
|
-
const timer = setTimeout(() => setShowSaved(false), 2000);
|
|
57
|
-
return () => clearTimeout(timer);
|
|
58
|
-
}
|
|
59
|
-
prevPendingRef.current = isPending;
|
|
60
|
-
}, [isPending]);
|
|
61
|
-
function save(payload) {
|
|
62
|
-
startTransition(async () => {
|
|
63
|
-
const result = await updateSettingsAction(payload);
|
|
64
|
-
if (!result.success) {
|
|
65
|
-
toast.error(result.error ?? 'Failed to save agent settings');
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function buildPayload(overrides = {}) {
|
|
70
|
-
const merged = { type: agentType, authMethod, ...overrides };
|
|
71
|
-
const result = { type: merged.type, authMethod: merged.authMethod };
|
|
72
|
-
if (merged.authMethod === AgentAuthMethod.Token) {
|
|
73
|
-
result.token = overrides.token ?? token;
|
|
74
|
-
}
|
|
75
|
-
return { agent: result };
|
|
76
|
-
}
|
|
77
|
-
function handleAgentTypeChange(value) {
|
|
78
|
-
setAgentType(value);
|
|
79
|
-
setPermissionMode(undefined); // Reset permission mode when agent changes
|
|
80
|
-
save(buildPayload({ type: value }));
|
|
81
|
-
}
|
|
82
|
-
function handlePermissionModeChange(mode) {
|
|
83
|
-
setPermissionMode(mode);
|
|
84
|
-
startTransition(async () => {
|
|
85
|
-
const result = await setAgentPermissionMode(agentType, mode);
|
|
86
|
-
if (!result.success) {
|
|
87
|
-
toast.error(result.error ?? 'Failed to save permission mode');
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
function handleAuthMethodChange(value) {
|
|
92
|
-
setAuthMethod(value);
|
|
93
|
-
save(buildPayload({ authMethod: value }));
|
|
94
|
-
}
|
|
95
|
-
function handleTokenBlur() {
|
|
96
|
-
if (token !== (agent.token ?? '')) {
|
|
97
|
-
save(buildPayload({ token }));
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
return (_jsxs(Card, { id: "agent", className: "scroll-mt-6", "data-testid": "agent-settings-section", children: [_jsxs(CardHeader, { children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Bot, { className: "text-muted-foreground h-4 w-4" }), _jsx(CardTitle, { children: "Preferred Agent" })] }), isPending ? _jsx("span", { className: "text-muted-foreground text-xs", children: "Saving..." }) : null, showSaved && !isPending ? (_jsxs("span", { className: "flex items-center gap-1 text-xs text-green-600", children: [_jsx(Check, { className: "h-3 w-3" }), "Saved"] })) : null] }), _jsx(CardDescription, { children: "Choose your AI coding agent and authentication method" })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "agent-type", children: "Agent Type" }), _jsxs(Select, { value: agentType, onValueChange: handleAgentTypeChange, children: [_jsx(SelectTrigger, { id: "agent-type", "data-testid": "agent-type-select", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: AGENT_TYPE_OPTIONS.map((opt) => {
|
|
101
|
-
const Icon = getAgentTypeIcon(opt.value);
|
|
102
|
-
return (_jsx(SelectItem, { value: opt.value, children: _jsxs("span", { className: "flex items-center gap-2", children: [_jsx(Icon, { className: "h-4 w-4 shrink-0" }), opt.label] }) }, opt.value));
|
|
103
|
-
}) })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "auth-method", children: "Authentication Method" }), _jsxs(Select, { value: authMethod, onValueChange: handleAuthMethodChange, children: [_jsx(SelectTrigger, { id: "auth-method", "data-testid": "auth-method-select", children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: AUTH_METHOD_OPTIONS.map((opt) => (_jsx(SelectItem, { value: opt.value, children: opt.label }, opt.value))) })] })] }), _jsx(AgentPermissionPicker, { agentType: agentType, currentMode: permissionMode, onChange: handlePermissionModeChange, disabled: isPending }), authMethod === AgentAuthMethod.Token && (_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "agent-token", children: "API Token" }), _jsxs("div", { className: "relative", children: [_jsx(Input, { id: "agent-token", "data-testid": "agent-token-input", type: showToken ? 'text' : 'password', value: token, onChange: (e) => setToken(e.target.value), onBlur: handleTokenBlur, placeholder: "Enter your API token", className: "pe-10" }), _jsx(Button, { type: "button", variant: "ghost", size: "sm", className: "absolute top-0 right-0 h-full px-3 hover:bg-transparent", onClick: () => setShowToken(!showToken), "data-testid": "toggle-token-visibility", "aria-label": showToken ? 'Hide token' : 'Show token', children: showToken ? _jsx(EyeOff, { className: "h-4 w-4" }) : _jsx(Eye, { className: "h-4 w-4" }) })] }), _jsx("p", { className: "text-muted-foreground text-xs", children: "Saves automatically when you leave the field" })] }))] })] }));
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { Bot } from 'lucide-react';
|
|
5
|
+
import { useTranslation } from 'react-i18next';
|
|
6
|
+
import { AgentModelPicker } from '../../features/settings/AgentModelPicker/index.js';
|
|
7
|
+
import { SettingsSection, SettingsRow } from './settings-section-utils.js';
|
|
8
|
+
export function AgentSettingsSection({ settings }) {
|
|
9
|
+
const { t } = useTranslation('web');
|
|
10
|
+
const [agentType, setAgentType] = useState(settings.agent.type);
|
|
11
|
+
return (_jsx(SettingsSection, { icon: Bot, title: t('settings.agent.sectionTitle'), description: t('settings.agent.sectionDescription'), testId: "agent-settings-section", tooltip: t('settings.agent.hint'), tooltipLinks: [
|
|
12
|
+
{
|
|
13
|
+
label: t('settings.agent.links.agentSystem'),
|
|
14
|
+
href: 'https://github.com/jrmatherly/shipit/blob/main/docs/architecture/agent-system.md',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
label: t('settings.agent.links.addingAgents'),
|
|
18
|
+
href: 'https://github.com/jrmatherly/shipit/blob/main/docs/development/adding-agents.md',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
label: t('settings.agent.links.configurationGuide'),
|
|
22
|
+
href: 'https://github.com/jrmatherly/shipit/blob/main/docs/guides/configuration.md',
|
|
23
|
+
},
|
|
24
|
+
], children: _jsx(SettingsRow, { label: t('settings.agent.agentAndModel'), description: t('settings.agent.agentAndModelDescription'), tooltip: "Changing the agent switches which AI CLI tool runs your features. Each agent has different capabilities, speed, and cost tradeoffs.", htmlFor: "agent-model-picker", children: _jsx(AgentModelPicker, { initialAgentType: agentType, initialModel: settings.models.default, mode: "settings", onAgentModelChange: (newAgent) => setAgentType(newAgent), className: "w-55" }) }) }));
|
|
104
25
|
}
|
package/dist/src/presentation/web/components/features/settings/agent-settings-section.stories.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ declare const meta: {
|
|
|
11
11
|
export default meta;
|
|
12
12
|
type Story = StoryObj<typeof meta>;
|
|
13
13
|
export declare const Default: Story;
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const CopilotCli: Story;
|
|
14
|
+
export declare const GeminiAgent: Story;
|
|
15
|
+
export declare const CursorAgent: Story;
|
|
17
16
|
//# sourceMappingURL=agent-settings-section.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/agent-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"agent-settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/settings/agent-settings-section.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAMhE,QAAA,MAAM,IAAI;;;;;;;CAOmC,CAAC;AAE9C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC"}
|