@shepai/cli 1.183.0-pr554.2632d62 → 1.183.0-pr555.e53ab0e
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/Application.yaml +0 -22
- package/apis/json-schema/Feature.yaml +3 -0
- package/apis/json-schema/NotificationEventConfig.yaml +0 -4
- package/apis/json-schema/NotificationEventType.yaml +0 -1
- package/apis/json-schema/Plugin.yaml +86 -0
- package/apis/json-schema/PluginHealthStatus.yaml +9 -0
- package/apis/json-schema/PluginTransport.yaml +7 -0
- package/apis/json-schema/PluginType.yaml +8 -0
- package/apis/json-schema/RecordBoolean.yaml +6 -0
- package/apis/json-schema/ToolGroup.yaml +18 -0
- package/dist/eslint.config.mjs +0 -19
- package/dist/packages/core/src/application/ports/output/agents/agent-executor.interface.d.ts +7 -0
- package/dist/packages/core/src/application/ports/output/agents/agent-executor.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/agents/index.d.ts +0 -1
- package/dist/packages/core/src/application/ports/output/agents/index.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts +1 -1
- package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/repositories/index.d.ts +1 -0
- package/dist/packages/core/src/application/ports/output/repositories/index.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/repositories/plugin-repository.interface.d.ts +60 -0
- package/dist/packages/core/src/application/ports/output/repositories/plugin-repository.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/repositories/plugin-repository.interface.js +11 -0
- package/dist/packages/core/src/application/ports/output/services/index.d.ts +2 -5
- package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/mcp-server-manager.interface.d.ts +66 -0
- package/dist/packages/core/src/application/ports/output/services/mcp-server-manager.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/mcp-server-manager.interface.js +12 -0
- package/dist/packages/core/src/application/ports/output/services/plugin-health-checker.interface.d.ts +49 -0
- package/dist/packages/core/src/application/ports/output/services/plugin-health-checker.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/plugin-health-checker.interface.js +12 -0
- package/dist/packages/core/src/application/services/agents/agent-session-repository.registry.d.ts +24 -0
- package/dist/packages/core/src/application/services/agents/agent-session-repository.registry.d.ts.map +1 -0
- package/dist/packages/core/src/{infrastructure → application}/services/agents/agent-session-repository.registry.js +5 -10
- package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.d.ts +1 -5
- package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.js +6 -10
- package/dist/packages/core/src/application/use-cases/agents/check-agent-auth.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/agents/check-agent-auth.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/check-agent-auth.use-case.js +4 -10
- package/dist/packages/core/src/application/use-cases/agents/get-agent-session.use-case.d.ts +2 -4
- package/dist/packages/core/src/application/use-cases/agents/get-agent-session.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/get-agent-session.use-case.js +8 -15
- package/dist/packages/core/src/application/use-cases/agents/list-agent-sessions.use-case.d.ts +2 -4
- package/dist/packages/core/src/application/use-cases/agents/list-agent-sessions.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/list-agent-sessions.use-case.js +8 -15
- package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.d.ts +1 -7
- package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.js +8 -15
- package/dist/packages/core/src/application/use-cases/agents/stop-agent-run.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/agents/stop-agent-run.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/stop-agent-run.use-case.js +5 -7
- package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.js +7 -12
- package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.js +1 -2
- package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.js +1 -2
- package/dist/packages/core/src/application/use-cases/applications/resume-application-workflow.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/applications/resume-application-workflow.use-case.js +2 -3
- package/dist/packages/core/src/application/use-cases/deployments/start-feature-deployment.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/deployments/start-feature-deployment.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/deployments/start-feature-deployment.use-case.js +4 -7
- package/dist/packages/core/src/application/use-cases/features/cleanup-feature-worktree.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/features/cleanup-feature-worktree.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/cleanup-feature-worktree.use-case.js +10 -17
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts +2 -10
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +10 -20
- package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +2 -0
- package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/get-feature-artifact.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/features/get-feature-artifact.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/get-feature-artifact.use-case.js +4 -6
- package/dist/packages/core/src/application/use-cases/features/get-plan-artifact.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/features/get-plan-artifact.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/get-plan-artifact.use-case.js +4 -6
- package/dist/packages/core/src/application/use-cases/features/get-research-artifact.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/features/get-research-artifact.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/get-research-artifact.use-case.js +4 -6
- package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.d.ts +2 -2
- package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/rebase-feature-on-main.use-case.js +2 -2
- package/dist/packages/core/src/application/use-cases/ide/launch-ide.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/ide/launch-ide.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/ide/launch-ide.use-case.js +4 -8
- package/dist/packages/core/src/application/use-cases/plugins/add-plugin.use-case.d.ts +35 -0
- package/dist/packages/core/src/application/use-cases/plugins/add-plugin.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/add-plugin.use-case.js +106 -0
- package/dist/packages/core/src/application/use-cases/plugins/check-plugin-health.use-case.d.ts +20 -0
- package/dist/packages/core/src/application/use-cases/plugins/check-plugin-health.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/check-plugin-health.use-case.js +72 -0
- package/dist/packages/core/src/application/use-cases/plugins/configure-plugin.use-case.d.ts +22 -0
- package/dist/packages/core/src/application/use-cases/plugins/configure-plugin.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/configure-plugin.use-case.js +59 -0
- package/dist/packages/core/src/application/use-cases/plugins/disable-plugin.use-case.d.ts +18 -0
- package/dist/packages/core/src/application/use-cases/plugins/disable-plugin.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/{cloud-deploy/ensure-gh-authenticated.use-case.js → plugins/disable-plugin.use-case.js} +31 -12
- package/dist/packages/core/src/application/use-cases/plugins/enable-plugin.use-case.d.ts +18 -0
- package/dist/packages/core/src/application/use-cases/plugins/enable-plugin.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/{cloud-deploy/select-cloud-provider.use-case.js → plugins/enable-plugin.use-case.js} +31 -17
- package/dist/packages/core/src/application/use-cases/plugins/get-plugin-catalog.use-case.d.ts +21 -0
- package/dist/packages/core/src/application/use-cases/plugins/get-plugin-catalog.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/get-plugin-catalog.use-case.js +45 -0
- package/dist/packages/core/src/application/use-cases/plugins/list-plugins.use-case.d.ts +22 -0
- package/dist/packages/core/src/application/use-cases/plugins/list-plugins.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/list-plugins.use-case.js +50 -0
- package/dist/packages/core/src/application/use-cases/plugins/remove-plugin.use-case.d.ts +21 -0
- package/dist/packages/core/src/application/use-cases/plugins/remove-plugin.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/plugins/remove-plugin.use-case.js +50 -0
- package/dist/packages/core/src/application/use-cases/repositories/add-repository.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/repositories/add-repository.use-case.js +11 -1
- package/dist/packages/core/src/application/use-cases/repositories/import-github-repository.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/repositories/import-github-repository.use-case.js +9 -1
- package/dist/packages/core/src/application/use-cases/settings/check-onboarding-status.use-case.d.ts +2 -6
- package/dist/packages/core/src/application/use-cases/settings/check-onboarding-status.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/settings/check-onboarding-status.use-case.js +7 -30
- package/dist/packages/core/src/application/use-cases/tools/launch-tool.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/tools/launch-tool.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/tools/launch-tool.use-case.js +4 -6
- package/dist/packages/core/src/application/use-cases/tools/list-tools.use-case.d.ts +1 -3
- package/dist/packages/core/src/application/use-cases/tools/list-tools.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/tools/list-tools.use-case.js +4 -6
- package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.d.ts +2 -4
- package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.js +4 -8
- package/dist/packages/core/src/application/workflows/application-creation.workflow.d.ts.map +1 -0
- package/dist/packages/core/src/domain/factories/index.d.ts +1 -0
- package/dist/packages/core/src/domain/factories/index.d.ts.map +1 -1
- package/dist/packages/core/src/domain/factories/index.js +1 -0
- package/dist/packages/core/src/domain/factories/spec-yaml-parser.d.ts +29 -0
- package/dist/packages/core/src/domain/factories/spec-yaml-parser.d.ts.map +1 -0
- package/dist/packages/core/src/domain/factories/spec-yaml-parser.js +134 -0
- package/dist/packages/core/src/domain/generated/output.d.ts +113 -41
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/domain/generated/output.js +18 -25
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.js +679 -32
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts +0 -7
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.js +6 -23
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.js +8 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/plugin.mapper.d.ts +61 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/plugin.mapper.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/plugin.mapper.js +91 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/060-create-plugins-table.d.ts +13 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/060-create-plugins-table.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/060-create-plugins-table.js +51 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/061-add-active-plugins-to-features.d.ts +12 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/061-add-active-plugins-to-features.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/061-add-active-plugins-to-features.js +17 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.js +2 -40
- package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.js +3 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-plugin.repository.d.ts +24 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-plugin.repository.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-plugin.repository.js +114 -0
- package/dist/packages/core/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.js +2 -0
- package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts +1 -2
- package/dist/packages/core/src/infrastructure/services/agents/conflict-resolution/conflict-resolution.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +6 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +18 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +12 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/plugin-startup.d.ts +23 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/plugin-startup.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/plugin-startup.js +53 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.js +5 -0
- package/dist/packages/core/src/infrastructure/services/attachment-storage.service.d.ts +5 -3
- package/dist/packages/core/src/infrastructure/services/attachment-storage.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/notifications/notification.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/notifications/notification.service.js +0 -1
- package/dist/packages/core/src/infrastructure/services/plugin/mcp-server-manager.service.d.ts +51 -0
- package/dist/packages/core/src/infrastructure/services/plugin/mcp-server-manager.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/plugin/mcp-server-manager.service.js +206 -0
- package/dist/packages/core/src/infrastructure/services/plugin/plugin-catalog.d.ts +52 -0
- package/dist/packages/core/src/infrastructure/services/plugin/plugin-catalog.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/plugin/plugin-catalog.js +86 -0
- package/dist/packages/core/src/infrastructure/services/plugin/plugin-health-checker.service.d.ts +28 -0
- package/dist/packages/core/src/infrastructure/services/plugin/plugin-health-checker.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/plugin/plugin-health-checker.service.js +95 -0
- package/dist/src/presentation/cli/commands/app/index.d.ts +4 -10
- package/dist/src/presentation/cli/commands/app/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/app/index.js +5 -17
- package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/new.command.js +1 -2
- package/dist/src/presentation/cli/commands/plugin/add.command.d.ts +12 -0
- package/dist/src/presentation/cli/commands/plugin/add.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/plugin/add.command.js +75 -0
- package/dist/src/presentation/cli/commands/plugin/catalog.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/plugin/catalog.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/plugin/catalog.command.js +46 -0
- package/dist/src/presentation/cli/commands/plugin/configure.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/plugin/configure.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/plugin/configure.command.js +37 -0
- package/dist/src/presentation/cli/commands/plugin/disable.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/plugin/disable.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/plugin/disable.command.js +31 -0
- package/dist/src/presentation/cli/commands/plugin/enable.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/plugin/enable.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/plugin/enable.command.js +31 -0
- package/dist/src/presentation/cli/commands/plugin/index.d.ts +22 -0
- package/dist/src/presentation/cli/commands/plugin/index.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/plugin/index.js +41 -0
- package/dist/src/presentation/cli/commands/plugin/list.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/plugin/list.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/plugin/list.command.js +63 -0
- package/dist/src/presentation/cli/commands/plugin/remove.command.d.ts +11 -0
- package/dist/src/presentation/cli/commands/plugin/remove.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/plugin/remove.command.js +31 -0
- package/dist/src/presentation/cli/commands/plugin/status.command.d.ts +12 -0
- package/dist/src/presentation/cli/commands/plugin/status.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/plugin/status.command.js +126 -0
- package/dist/src/presentation/cli/index.js +2 -0
- package/dist/src/presentation/web/app/(dashboard)/@drawer/create/page.d.ts.map +1 -1
- package/dist/src/presentation/web/app/(dashboard)/@drawer/create/page.js +9 -2
- package/dist/src/presentation/web/app/actions/add-plugin.d.ts +7 -0
- package/dist/src/presentation/web/app/actions/add-plugin.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/add-plugin.js +15 -0
- package/dist/src/presentation/web/app/actions/check-plugin-health.d.ts +7 -0
- package/dist/src/presentation/web/app/actions/check-plugin-health.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/check-plugin-health.js +15 -0
- package/dist/src/presentation/web/app/actions/configure-plugin.d.ts +7 -0
- package/dist/src/presentation/web/app/actions/configure-plugin.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/configure-plugin.js +15 -0
- package/dist/src/presentation/web/app/actions/create-feature.d.ts +2 -0
- package/dist/src/presentation/web/app/actions/create-feature.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/create-feature.js +3 -1
- package/dist/src/presentation/web/app/actions/deploy-application.d.ts +9 -8
- package/dist/src/presentation/web/app/actions/deploy-application.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/deploy-application.js +38 -22
- package/dist/src/presentation/web/app/actions/get-plugin-catalog.d.ts +7 -0
- package/dist/src/presentation/web/app/actions/get-plugin-catalog.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/get-plugin-catalog.js +13 -0
- package/dist/src/presentation/web/app/actions/list-plugins.d.ts +7 -0
- package/dist/src/presentation/web/app/actions/list-plugins.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/list-plugins.js +13 -0
- package/dist/src/presentation/web/app/actions/remove-plugin.d.ts +7 -0
- package/dist/src/presentation/web/app/actions/remove-plugin.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/remove-plugin.js +15 -0
- package/dist/src/presentation/web/app/actions/toggle-plugin.d.ts +7 -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 +23 -0
- package/dist/src/presentation/web/app/api/agent-events/route.d.ts +12 -17
- package/dist/src/presentation/web/app/api/agent-events/route.d.ts.map +1 -1
- package/dist/src/presentation/web/app/api/agent-events/route.js +331 -58
- package/dist/src/presentation/web/app/api/applications/[id]/route.d.ts.map +1 -1
- package/dist/src/presentation/web/app/api/applications/[id]/route.js +1 -4
- package/dist/src/presentation/web/app/api/deployment-logs/route.d.ts.map +1 -1
- package/dist/src/presentation/web/app/api/deployment-logs/route.js +2 -4
- package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
- package/dist/src/presentation/web/app/build-graph-nodes.js +1 -2
- package/dist/src/presentation/web/app/plugins/page.d.ts +4 -0
- package/dist/src/presentation/web/app/plugins/page.d.ts.map +1 -0
- package/dist/src/presentation/web/app/plugins/page.js +24 -0
- package/dist/src/presentation/web/app/plugins/plugins-page-client.d.ts +8 -0
- package/dist/src/presentation/web/app/plugins/plugins-page-client.d.ts.map +1 -0
- package/dist/src/presentation/web/app/plugins/plugins-page-client.js +61 -0
- package/dist/src/presentation/web/components/common/application-node/application-node.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/application-node/application-node.js +1 -2
- package/dist/src/presentation/web/components/common/control-center-drawer/create-drawer-client.d.ts +6 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/create-drawer-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/create-drawer-client.js +2 -2
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +9 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +15 -3
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +0 -4
- package/dist/src/presentation/web/components/common/plugin-catalog/index.d.ts +2 -0
- package/dist/src/presentation/web/components/common/plugin-catalog/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/plugin-catalog/index.js +1 -0
- package/dist/src/presentation/web/components/common/plugin-catalog/plugin-catalog.d.ts +7 -0
- package/dist/src/presentation/web/components/common/plugin-catalog/plugin-catalog.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/plugin-catalog/plugin-catalog.js +32 -0
- package/dist/src/presentation/web/components/common/plugin-catalog/plugin-catalog.stories.d.ts +16 -0
- package/dist/src/presentation/web/components/common/plugin-catalog/plugin-catalog.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/plugin-catalog/plugin-catalog.stories.js +87 -0
- package/dist/src/presentation/web/components/common/plugin-list/index.d.ts +2 -0
- package/dist/src/presentation/web/components/common/plugin-list/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/plugin-list/index.js +1 -0
- package/dist/src/presentation/web/components/common/plugin-list/plugin-list.d.ts +9 -0
- package/dist/src/presentation/web/components/common/plugin-list/plugin-list.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/plugin-list/plugin-list.js +77 -0
- package/dist/src/presentation/web/components/common/plugin-list/plugin-list.stories.d.ts +17 -0
- package/dist/src/presentation/web/components/common/plugin-list/plugin-list.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/plugin-list/plugin-list.stories.js +114 -0
- package/dist/src/presentation/web/components/features/application-page/application-page.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/application-page/application-page.js +306 -17
- package/dist/src/presentation/web/components/features/applications/application-card.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/applications/application-card.js +1 -2
- package/dist/src/presentation/web/components/features/chat/workflow-placeholder.d.ts +1 -1
- package/dist/src/presentation/web/components/features/chat/workflow-placeholder.js +1 -1
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js +1 -2
- 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 +2 -2
- package/dist/src/presentation/web/hooks/deployment-status-provider.js +3 -4
- package/dist/translations/ar/cli.json +82 -0
- package/dist/translations/ar/web.json +2 -1
- package/dist/translations/de/cli.json +82 -0
- package/dist/translations/de/web.json +2 -1
- package/dist/translations/en/cli.json +82 -0
- package/dist/translations/en/web.json +2 -1
- package/dist/translations/es/cli.json +82 -0
- package/dist/translations/es/web.json +2 -1
- package/dist/translations/fr/cli.json +82 -0
- package/dist/translations/fr/web.json +2 -1
- package/dist/translations/he/cli.json +82 -0
- package/dist/translations/he/web.json +2 -1
- package/dist/translations/pt/cli.json +82 -0
- package/dist/translations/pt/web.json +2 -1
- package/dist/translations/ru/cli.json +82 -0
- package/dist/translations/ru/web.json +2 -1
- package/dist/translations/uk/cli.json +82 -0
- package/dist/translations/uk/web.json +2 -1
- 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 -8
- package/web/.next/build-manifest.json +2 -2
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/routes-manifest.json +6 -58
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +32 -32
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +3 -3
- 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/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +3 -3
- 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/server-reference-manifest.json +33 -33
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +3 -3
- 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/server-reference-manifest.json +41 -41
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +4 -4
- 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/server-reference-manifest.json +41 -41
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +4 -4
- 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/server-reference-manifest.json +31 -31
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +3 -3
- 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/server-reference-manifest.json +31 -31
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +3 -3
- 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/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/chat/page.js +3 -3
- 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/server-reference-manifest.json +33 -33
- package/web/.next/server/app/(dashboard)/create/page.js +3 -3
- 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/server-reference-manifest.json +41 -41
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +4 -4
- 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/server-reference-manifest.json +41 -41
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +4 -4
- 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/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/page.js +3 -3
- 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/server-reference-manifest.json +31 -31
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +3 -3
- 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/server-reference-manifest.json +31 -31
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +3 -3
- 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/page.js +1 -1
- package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- 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/server-reference-manifest.json +7 -7
- package/web/.next/server/app/_not-found/page.js +2 -2
- 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/agent-events/route.js +2 -1
- package/web/.next/server/app/api/agent-events/route.js.nft.json +1 -1
- package/web/.next/server/app/api/applications/[id]/route.js +1 -1
- package/web/.next/server/app/api/applications/[id]/route.js.nft.json +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
- package/web/.next/server/app/api/attachments/upload-from-path/route.js +1 -1
- package/web/.next/server/app/api/attachments/upload-from-path/route.js.nft.json +1 -1
- package/web/.next/server/app/api/evidence/route.js +1 -1
- package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
- package/web/.next/server/app/api/feature-logs/route.js +1 -1
- package/web/.next/server/app/api/feature-logs/route.js.nft.json +1 -1
- package/web/.next/server/app/api/graph-data/route.js +2 -2
- 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/application/[id]/page/server-reference-manifest.json +40 -70
- package/web/.next/server/app/application/[id]/page.js +3 -3
- package/web/.next/server/app/application/[id]/page.js.nft.json +1 -1
- package/web/.next/server/app/application/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/applications/page/server-reference-manifest.json +15 -15
- package/web/.next/server/app/applications/page.js +3 -3
- package/web/.next/server/app/applications/page.js.nft.json +1 -1
- package/web/.next/server/app/applications/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/features/page/server-reference-manifest.json +7 -7
- package/web/.next/server/app/features/page.js +2 -2
- package/web/.next/server/app/features/page.js.nft.json +1 -1
- package/web/.next/server/app/features/page_client-reference-manifest.js +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 +6 -0
- package/web/.next/server/app/plugins/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/plugins/page/server-reference-manifest.json +170 -0
- package/web/.next/server/app/plugins/page.js +19 -0
- package/web/.next/server/app/plugins/page.js.nft.json +1 -0
- package/web/.next/server/app/plugins/page_client-reference-manifest.js +2 -0
- package/web/.next/server/app/settings/page/server-reference-manifest.json +10 -10
- package/web/.next/server/app/settings/page.js +3 -3
- 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/server-reference-manifest.json +15 -15
- package/web/.next/server/app/skills/page.js +3 -3
- 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/server-reference-manifest.json +13 -13
- package/web/.next/server/app/tools/page.js +3 -3
- 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/server-reference-manifest.json +7 -7
- package/web/.next/server/app/version/page.js +2 -2
- 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 -8
- package/web/.next/server/chunks/{[root-of-the-server]__582ebd78._.js → [root-of-the-server]__0702fed9._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__10e976f3._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__3f7e7be1._.js +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__3f7e7be1._.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__7a2ddaea._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__7a2ddaea._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__84fede21._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__84fede21._.js.map +1 -0
- package/web/.next/server/chunks/{[root-of-the-server]__76a92098._.js → [root-of-the-server]__88c71186._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__7de24eaf._.js → [root-of-the-server]__8b6abaa3._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__aabea727._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__aabea727._.js.map +1 -0
- package/web/.next/server/chunks/{[root-of-the-server]__6af3863d._.js → [root-of-the-server]__cfba7146._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__6af3863d._.js.map → [root-of-the-server]__cfba7146._.js.map} +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__1133b25d._.js → [root-of-the-server]__dbb420e4._.js} +2 -2
- package/web/.next/server/chunks/d9f3b_next_dist_esm_build_templates_app-route_4faf694b.js +12 -0
- package/web/.next/server/chunks/d9f3b_next_dist_esm_build_templates_app-route_4faf694b.js.map +1 -0
- package/web/.next/server/chunks/d9f3b_next_dist_esm_build_templates_app-route_fc401c5d.js +1 -1
- package/web/.next/server/chunks/d9f3b_next_dist_esm_build_templates_app-route_fc401c5d.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_4f9eef62.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_4f9eef62.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_ffa16a22.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_ffa16a22.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_a1a998f9.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_a1a998f9.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +2 -2
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_features_applications_applications-page-client_tsx_d0db9938._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_features_applications_applications-page-client_tsx_d0db9938._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__269765de._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__269765de._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__ec85e47f._.js → [root-of-the-server]__288ffaa6._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__ec85e47f._.js.map → [root-of-the-server]__288ffaa6._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4101a4a8._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4101a4a8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__7ea16f3a._.js → [root-of-the-server]__46dd2baf._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__7ea16f3a._.js.map → [root-of-the-server]__46dd2baf._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__538580df._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__538580df._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__58043de2._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__58043de2._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__5193e3ce._.js → [root-of-the-server]__5c5de261._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__5193e3ce._.js.map → [root-of-the-server]__5c5de261._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__638955bc._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__87d5ff6e._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__87d5ff6e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9b0e14ee._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9b0e14ee._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__93be3301._.js → [root-of-the-server]__ac9ab3c5._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__93be3301._.js.map → [root-of-the-server]__ac9ab3c5._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3d233f3._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3d233f3._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c6dba2b8._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c6dba2b8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__de3991d8._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__de3991d8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e4fac430._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e4fac430._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__eacd32e9._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__eacd32e9._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__494cf0fb._.js → [root-of-the-server]__ef0b8905._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ef0b8905._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__7198dce9._.js → [root-of-the-server]__f94e4165._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__7198dce9._.js.map → [root-of-the-server]__f94e4165._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__149d89d9._.js → [root-of-the-server]__ff5a5243._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__149d89d9._.js.map → [root-of-the-server]__ff5a5243._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_0f41c049._.js +3 -0
- package/web/.next/server/chunks/ssr/_0f41c049._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_33a243dd._.js +1 -1
- package/web/.next/server/chunks/ssr/_33a243dd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_5bf2415e._.js → _34113cf8._.js} +2 -2
- package/web/.next/server/chunks/ssr/_34113cf8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_519d77a9._.js +3 -0
- package/web/.next/server/chunks/ssr/_519d77a9._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_563be831._.js +3 -0
- package/web/.next/server/chunks/ssr/_563be831._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
- package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_57643324._.js +3 -0
- package/web/.next/server/chunks/ssr/_57643324._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6a252f90._.js +3 -0
- package/web/.next/server/chunks/ssr/_6a252f90._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6b254164._.js +1 -1
- package/web/.next/server/chunks/ssr/_6b254164._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_6cc2c4f7._.js +3 -0
- package/web/.next/server/chunks/ssr/_6cc2c4f7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6cc4c05b._.js +3 -0
- package/web/.next/server/chunks/ssr/_6cc4c05b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_6fd324a3._.js +3 -0
- package/web/.next/server/chunks/ssr/_6fd324a3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_82baa7c1._.js → _828a0b9c._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_82baa7c1._.js.map → _828a0b9c._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_8757ce67._.js +4 -0
- package/web/.next/server/chunks/ssr/_8757ce67._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_8e101e0b._.js +12 -12
- package/web/.next/server/chunks/ssr/_8e101e0b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_93002ccf._.js +3 -0
- package/web/.next/server/chunks/ssr/_93002ccf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_9f191a54._.js +3 -0
- package/web/.next/server/chunks/ssr/_9f191a54._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_d6ba4d64._.js +3 -0
- package/web/.next/server/chunks/ssr/_d6ba4d64._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_e225a49c._.js +3 -0
- package/web/.next/server/chunks/ssr/_e225a49c._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_e28c6144._.js +3 -0
- package/web/.next/server/chunks/ssr/_e28c6144._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_e65abbd1._.js +3 -0
- package/web/.next/server/chunks/ssr/_e65abbd1._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_ebd74417._.js +9 -0
- package/web/.next/server/chunks/ssr/_ebd74417._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_750b8cfe._.js → _f39276bf._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_750b8cfe._.js.map → _f39276bf._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_f86fc1bf._.js +1 -1
- package/web/.next/server/chunks/ssr/_f86fc1bf._.js.map +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_28388798._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_28388798._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_72cc0c05._.js → node_modules__pnpm_632deb2b._.js} +2 -2
- package/web/.next/server/chunks/ssr/node_modules__pnpm_632deb2b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_47181610._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_47181610._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_5d3f4199._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_5d3f4199._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_6159fef8._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_6159fef8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_61d96ba8._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_61d96ba8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_6994959a._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_6994959a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_77dadf68._.js +3 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_77dadf68._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_9a543843._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_9a543843._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_c3f6f57e.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_c3f6f57e.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ad42cc73._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ad42cc73._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_8514dfcd._.js +3 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_8514dfcd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_b95ed206._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_b95ed206._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_bade80bd._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_bade80bd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_c543cf3e._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_c543cf3e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_common_base-drawer_base-drawer_tsx_97dfbbc8._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_common_base-drawer_base-drawer_tsx_97dfbbc8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_skills_8a174cac._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_bb8735f7._.js → src_presentation_web_components_ui_dropdown-menu_tsx_229332e3._.js} +2 -2
- package/web/.next/server/chunks/ssr/src_presentation_web_components_ui_dropdown-menu_tsx_229332e3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/translations_1562ae1a._.js +1 -1
- package/web/.next/server/chunks/ssr/translations_1562ae1a._.js.map +1 -1
- package/web/.next/server/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +165 -86
- package/web/.next/static/chunks/{113f38481fc14902.js → 08fd591b02975483.js} +12 -12
- package/web/.next/static/chunks/{74d3f880029b266f.js → 0b974caf7e3c6fea.js} +1 -1
- package/web/.next/static/chunks/116e8d2a69619e48.js +1 -0
- package/web/.next/static/chunks/1b72915af68bd327.js +1 -0
- package/web/.next/static/chunks/{e0f33f0d6cb8cf21.js → 1f2f77dd2f63f257.js} +1 -1
- package/web/.next/static/chunks/3031618bf02ecd26.js +1 -0
- package/web/.next/static/chunks/{d770f7a879b2f43a.js → 3caa2489e09df522.js} +1 -1
- package/web/.next/static/chunks/463c8dd86ed296c9.js +1 -0
- package/web/.next/static/chunks/{6bac882ad18c881c.js → 534c414bd5e096af.js} +2 -2
- package/web/.next/static/chunks/59e96a965c1cc25b.js +7 -0
- package/web/.next/static/chunks/5a2f5a3c29c6c3dd.js +1 -0
- package/web/.next/static/chunks/616760ae36cf397f.js +1 -0
- package/web/.next/static/chunks/{6512133101a3eb85.js → 6aa8cfb9a0673778.js} +3 -3
- package/web/.next/static/chunks/772f87225f881091.css +1 -0
- package/web/.next/static/chunks/854d1bb6e05cadeb.js +1 -0
- package/web/.next/static/chunks/86ce4c6dcb228907.js +1 -0
- package/web/.next/static/chunks/86e9d633379e74e8.js +5 -0
- package/web/.next/static/chunks/88aa4f96ec9e8349.js +1 -0
- package/web/.next/static/chunks/{7f25b508e717b00c.js → a3ea2afcbac5ac67.js} +1 -1
- package/web/.next/static/chunks/{270528435203323f.js → b58faaa9802033ff.js} +1 -1
- package/web/.next/static/chunks/b9102b4bbe2f64f9.js +1 -0
- package/web/.next/static/chunks/b944b65ad181b84d.js +1 -0
- package/web/.next/static/chunks/c77489661f071f47.js +1 -0
- package/web/.next/static/chunks/cadb8f07b3c1e864.js +1 -0
- package/web/.next/static/chunks/d3224741c62e8767.js +1 -0
- package/web/.next/static/chunks/d51b987a73d58809.js +1 -0
- package/web/.next/static/chunks/e99459f76df95a70.js +1 -0
- package/web/.next/static/chunks/{9c4c03206c46abd2.js → f318341087d1415a.js} +1 -1
- package/web/.next/static/chunks/f76f1155e5d0d296.js +1 -0
- package/web/.next/static/chunks/fc5dbf92b25edf22.js +1 -0
- package/apis/json-schema/CloudDeploymentProvider.yaml +0 -10
- package/apis/json-schema/CloudDeploymentStatus.yaml +0 -11
- package/apis/json-schema/InteractiveSessionEventType.yaml +0 -9
- package/dist/packages/core/src/application/ports/output/agents/agent-session-repository-registry.interface.d.ts +0 -23
- package/dist/packages/core/src/application/ports/output/agents/agent-session-repository-registry.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/agents/agent-session-repository-registry.interface.js +0 -12
- package/dist/packages/core/src/application/ports/output/repositories/cloud-provider-tokens.repository.interface.d.ts +0 -29
- package/dist/packages/core/src/application/ports/output/repositories/cloud-provider-tokens.repository.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/repositories/cloud-provider-tokens.repository.interface.js +0 -9
- package/dist/packages/core/src/application/ports/output/services/attachment-storage.interface.d.ts +0 -31
- package/dist/packages/core/src/application/ports/output/services/attachment-storage.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/attachment-storage.interface.js +0 -9
- package/dist/packages/core/src/application/ports/output/services/cloud-deployment-event-bus.interface.d.ts +0 -23
- package/dist/packages/core/src/application/ports/output/services/cloud-deployment-event-bus.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/cloud-deployment-event-bus.interface.js +0 -8
- package/dist/packages/core/src/application/ports/output/services/cloud-deployment-provider-registry.interface.d.ts +0 -30
- package/dist/packages/core/src/application/ports/output/services/cloud-deployment-provider-registry.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/cloud-deployment-provider-registry.interface.js +0 -9
- package/dist/packages/core/src/application/ports/output/services/cloud-deployment-provider.interface.d.ts +0 -54
- package/dist/packages/core/src/application/ports/output/services/cloud-deployment-provider.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/cloud-deployment-provider.interface.js +0 -10
- package/dist/packages/core/src/application/ports/output/services/conflict-resolution.interface.d.ts +0 -36
- package/dist/packages/core/src/application/ports/output/services/conflict-resolution.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/conflict-resolution.interface.js +0 -8
- package/dist/packages/core/src/application/ports/output/services/git-commit.service.interface.d.ts +0 -47
- package/dist/packages/core/src/application/ports/output/services/git-commit.service.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/git-commit.service.interface.js +0 -19
- package/dist/packages/core/src/application/ports/output/services/git-remote.service.interface.d.ts +0 -41
- package/dist/packages/core/src/application/ports/output/services/git-remote.service.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/git-remote.service.interface.js +0 -18
- package/dist/packages/core/src/application/ports/output/services/logger.interface.d.ts +0 -14
- package/dist/packages/core/src/application/ports/output/services/logger.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/logger.interface.js +0 -8
- package/dist/packages/core/src/application/ports/output/services/node-helpers.interface.d.ts +0 -28
- package/dist/packages/core/src/application/ports/output/services/node-helpers.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/node-helpers.interface.js +0 -8
- package/dist/packages/core/src/application/ports/output/services/phase-timing-context.interface.d.ts +0 -25
- package/dist/packages/core/src/application/ports/output/services/phase-timing-context.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/phase-timing-context.interface.js +0 -9
- package/dist/packages/core/src/application/ports/output/services/process-liveness.interface.d.ts +0 -20
- package/dist/packages/core/src/application/ports/output/services/process-liveness.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/process-liveness.interface.js +0 -12
- package/dist/packages/core/src/application/ports/output/services/spec-artifact-parser.interface.d.ts +0 -37
- package/dist/packages/core/src/application/ports/output/services/spec-artifact-parser.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/spec-artifact-parser.interface.js +0 -14
- package/dist/packages/core/src/application/ports/output/services/tool-metadata-provider.interface.d.ts +0 -85
- package/dist/packages/core/src/application/ports/output/services/tool-metadata-provider.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/tool-metadata-provider.interface.js +0 -9
- package/dist/packages/core/src/application/ports/output/services/worktree-path-provider.interface.d.ts +0 -22
- package/dist/packages/core/src/application/ports/output/services/worktree-path-provider.interface.d.ts.map +0 -1
- package/dist/packages/core/src/application/ports/output/services/worktree-path-provider.interface.js +0 -9
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-feature-deltas.d.ts +0 -19
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-feature-deltas.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-feature-deltas.js +0 -74
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-phase-completion-deltas.d.ts +0 -17
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-phase-completion-deltas.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-phase-completion-deltas.js +0 -31
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-pr-deltas.d.ts +0 -18
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-pr-deltas.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-pr-deltas.js +0 -43
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-session-deltas.d.ts +0 -20
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-session-deltas.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-session-deltas.js +0 -51
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-status-deltas.d.ts +0 -22
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-status-deltas.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/compute-status-deltas.js +0 -59
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/stream-agent-events.types.d.ts +0 -73
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/stream-agent-events.types.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events/stream-agent-events.types.js +0 -63
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events.use-case.d.ts +0 -79
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/agents/stream-agent-events.use-case.js +0 -291
- package/dist/packages/core/src/application/use-cases/applications/application-creation.workflow.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/applications/commit-and-push-application-changes.use-case.d.ts +0 -22
- package/dist/packages/core/src/application/use-cases/applications/commit-and-push-application-changes.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/applications/commit-and-push-application-changes.use-case.js +0 -63
- package/dist/packages/core/src/application/use-cases/applications/commit-application-changes.use-case.d.ts +0 -21
- package/dist/packages/core/src/application/use-cases/applications/commit-application-changes.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/applications/commit-application-changes.use-case.js +0 -61
- package/dist/packages/core/src/application/use-cases/cloud-deploy/connect-cloud-provider.use-case.d.ts +0 -14
- package/dist/packages/core/src/application/use-cases/cloud-deploy/connect-cloud-provider.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/cloud-deploy/connect-cloud-provider.use-case.js +0 -38
- package/dist/packages/core/src/application/use-cases/cloud-deploy/create-git-remote.use-case.d.ts +0 -12
- package/dist/packages/core/src/application/use-cases/cloud-deploy/create-git-remote.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/cloud-deploy/create-git-remote.use-case.js +0 -41
- package/dist/packages/core/src/application/use-cases/cloud-deploy/ensure-gh-authenticated.use-case.d.ts +0 -9
- package/dist/packages/core/src/application/use-cases/cloud-deploy/ensure-gh-authenticated.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/cloud-deploy/get-cloud-deployment-status.use-case.d.ts +0 -17
- package/dist/packages/core/src/application/use-cases/cloud-deploy/get-cloud-deployment-status.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/cloud-deploy/get-cloud-deployment-status.use-case.js +0 -44
- package/dist/packages/core/src/application/use-cases/cloud-deploy/initiate-cloud-deployment.use-case.d.ts +0 -27
- package/dist/packages/core/src/application/use-cases/cloud-deploy/initiate-cloud-deployment.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/cloud-deploy/initiate-cloud-deployment.use-case.js +0 -120
- package/dist/packages/core/src/application/use-cases/cloud-deploy/list-cloud-providers.use-case.d.ts +0 -16
- package/dist/packages/core/src/application/use-cases/cloud-deploy/list-cloud-providers.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/cloud-deploy/list-cloud-providers.use-case.js +0 -38
- package/dist/packages/core/src/application/use-cases/cloud-deploy/select-cloud-provider.use-case.d.ts +0 -12
- package/dist/packages/core/src/application/use-cases/cloud-deploy/select-cloud-provider.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/deployments/start-application-deployment.use-case.d.ts +0 -48
- package/dist/packages/core/src/application/use-cases/deployments/start-application-deployment.use-case.d.ts.map +0 -1
- package/dist/packages/core/src/application/use-cases/deployments/start-application-deployment.use-case.js +0 -99
- package/dist/packages/core/src/domain/errors/application-not-found.error.d.ts +0 -12
- package/dist/packages/core/src/domain/errors/application-not-found.error.d.ts.map +0 -1
- package/dist/packages/core/src/domain/errors/application-not-found.error.js +0 -16
- package/dist/packages/core/src/domain/errors/application-not-ready.error.d.ts +0 -12
- package/dist/packages/core/src/domain/errors/application-not-ready.error.d.ts.map +0 -1
- package/dist/packages/core/src/domain/errors/application-not-ready.error.js +0 -16
- package/dist/packages/core/src/domain/errors/application-repository-not-on-disk.error.d.ts +0 -15
- package/dist/packages/core/src/domain/errors/application-repository-not-on-disk.error.d.ts.map +0 -1
- package/dist/packages/core/src/domain/errors/application-repository-not-on-disk.error.js +0 -20
- package/dist/packages/core/src/domain/errors/build-output-not-found.error.d.ts +0 -13
- package/dist/packages/core/src/domain/errors/build-output-not-found.error.d.ts.map +0 -1
- package/dist/packages/core/src/domain/errors/build-output-not-found.error.js +0 -17
- package/dist/packages/core/src/domain/errors/cannot-deploy-self.error.d.ts +0 -14
- package/dist/packages/core/src/domain/errors/cannot-deploy-self.error.d.ts.map +0 -1
- package/dist/packages/core/src/domain/errors/cannot-deploy-self.error.js +0 -18
- package/dist/packages/core/src/domain/errors/cloud-provider-not-connected.error.d.ts +0 -12
- package/dist/packages/core/src/domain/errors/cloud-provider-not-connected.error.d.ts.map +0 -1
- package/dist/packages/core/src/domain/errors/cloud-provider-not-connected.error.js +0 -16
- package/dist/packages/core/src/domain/errors/no-provider-selected.error.d.ts +0 -13
- package/dist/packages/core/src/domain/errors/no-provider-selected.error.d.ts.map +0 -1
- package/dist/packages/core/src/domain/errors/no-provider-selected.error.js +0 -17
- package/dist/packages/core/src/domain/errors/provider-not-implemented.error.d.ts +0 -12
- package/dist/packages/core/src/domain/errors/provider-not-implemented.error.d.ts.map +0 -1
- package/dist/packages/core/src/domain/errors/provider-not-implemented.error.js +0 -16
- package/dist/packages/core/src/domain/shared/feature-id.d.ts +0 -25
- package/dist/packages/core/src/domain/shared/feature-id.d.ts.map +0 -1
- package/dist/packages/core/src/domain/shared/feature-id.js +0 -33
- package/dist/packages/core/src/domain/shared/normalize-path.d.ts +0 -21
- package/dist/packages/core/src/domain/shared/normalize-path.d.ts.map +0 -1
- package/dist/packages/core/src/domain/shared/normalize-path.js +0 -29
- package/dist/packages/core/src/domain/shared/sdlc-lifecycle-mapping.d.ts +0 -25
- package/dist/packages/core/src/domain/shared/sdlc-lifecycle-mapping.d.ts.map +0 -1
- package/dist/packages/core/src/domain/shared/sdlc-lifecycle-mapping.js +0 -40
- package/dist/packages/core/src/infrastructure/di/modules/register-agents.d.ts +0 -8
- package/dist/packages/core/src/infrastructure/di/modules/register-agents.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/di/modules/register-agents.js +0 -100
- package/dist/packages/core/src/infrastructure/di/modules/register-cloud-deploy.d.ts +0 -9
- package/dist/packages/core/src/infrastructure/di/modules/register-cloud-deploy.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/di/modules/register-cloud-deploy.js +0 -82
- package/dist/packages/core/src/infrastructure/di/modules/register-deployment.d.ts +0 -7
- package/dist/packages/core/src/infrastructure/di/modules/register-deployment.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/di/modules/register-deployment.js +0 -38
- package/dist/packages/core/src/infrastructure/di/modules/register-interactive.d.ts +0 -10
- package/dist/packages/core/src/infrastructure/di/modules/register-interactive.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/di/modules/register-interactive.js +0 -41
- package/dist/packages/core/src/infrastructure/di/modules/register-repositories.d.ts +0 -8
- package/dist/packages/core/src/infrastructure/di/modules/register-repositories.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/di/modules/register-repositories.js +0 -70
- package/dist/packages/core/src/infrastructure/di/modules/register-services.d.ts +0 -10
- package/dist/packages/core/src/infrastructure/di/modules/register-services.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/di/modules/register-services.js +0 -113
- package/dist/packages/core/src/infrastructure/di/modules/register-tools.d.ts +0 -7
- package/dist/packages/core/src/infrastructure/di/modules/register-tools.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/di/modules/register-tools.js +0 -16
- package/dist/packages/core/src/infrastructure/di/modules/register-use-cases.d.ts +0 -12
- package/dist/packages/core/src/infrastructure/di/modules/register-use-cases.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/di/modules/register-use-cases.js +0 -327
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/060-add-cloud-deploy-columns-to-applications.d.ts +0 -5
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/060-add-cloud-deploy-columns-to-applications.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/060-add-cloud-deploy-columns-to-applications.js +0 -36
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/061-create-cloud-provider-tokens-table.d.ts +0 -5
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/061-create-cloud-provider-tokens-table.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/061-create-cloud-provider-tokens-table.js +0 -20
- package/dist/packages/core/src/infrastructure/repositories/sqlite-cloud-provider-tokens.repository.d.ts +0 -20
- package/dist/packages/core/src/infrastructure/repositories/sqlite-cloud-provider-tokens.repository.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-cloud-provider-tokens.repository.js +0 -75
- package/dist/packages/core/src/infrastructure/services/agents/agent-session-repository.registry.d.ts +0 -30
- package/dist/packages/core/src/infrastructure/services/agents/agent-session-repository.registry.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.adapter.d.ts +0 -14
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.adapter.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.adapter.js +0 -28
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/phase-timing-context.adapter.d.ts +0 -14
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/phase-timing-context.adapter.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/phase-timing-context.adapter.js +0 -25
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/aws-amplify.provider.stub.d.ts +0 -7
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/aws-amplify.provider.stub.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/aws-amplify.provider.stub.js +0 -17
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/base-provider-stub.d.ts +0 -21
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/base-provider-stub.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/base-provider-stub.js +0 -22
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/cloud-deployment-errors.d.ts +0 -24
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/cloud-deployment-errors.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/cloud-deployment-errors.js +0 -25
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/cloud-deployment-provider.registry.d.ts +0 -19
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/cloud-deployment-provider.registry.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/cloud-deployment-provider.registry.js +0 -48
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/cloudflare-pages.provider.d.ts +0 -52
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/cloudflare-pages.provider.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/cloudflare-pages.provider.js +0 -208
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/gcp-cloud-run.provider.stub.d.ts +0 -7
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/gcp-cloud-run.provider.stub.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/gcp-cloud-run.provider.stub.js +0 -17
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/netlify.provider.stub.d.ts +0 -7
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/netlify.provider.stub.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/netlify.provider.stub.js +0 -17
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/vercel.provider.stub.d.ts +0 -7
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/vercel.provider.stub.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/cloud-deploy/vercel.provider.stub.js +0 -17
- package/dist/packages/core/src/infrastructure/services/crypto/local-secret-box.d.ts +0 -29
- package/dist/packages/core/src/infrastructure/services/crypto/local-secret-box.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/crypto/local-secret-box.js +0 -48
- package/dist/packages/core/src/infrastructure/services/crypto/secret-key-file.d.ts +0 -23
- package/dist/packages/core/src/infrastructure/services/crypto/secret-key-file.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/crypto/secret-key-file.js +0 -46
- package/dist/packages/core/src/infrastructure/services/events/in-memory-cloud-deployment-event-bus.d.ts +0 -14
- package/dist/packages/core/src/infrastructure/services/events/in-memory-cloud-deployment-event-bus.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/events/in-memory-cloud-deployment-event-bus.js +0 -37
- package/dist/packages/core/src/infrastructure/services/git/git-commit.service.d.ts +0 -20
- package/dist/packages/core/src/infrastructure/services/git/git-commit.service.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/git/git-commit.service.js +0 -99
- package/dist/packages/core/src/infrastructure/services/git/git-remote.service.d.ts +0 -23
- package/dist/packages/core/src/infrastructure/services/git/git-remote.service.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/git/git-remote.service.js +0 -131
- package/dist/packages/core/src/infrastructure/services/ide-launchers/worktree-path.provider.d.ts +0 -12
- package/dist/packages/core/src/infrastructure/services/ide-launchers/worktree-path.provider.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/ide-launchers/worktree-path.provider.js +0 -24
- package/dist/packages/core/src/infrastructure/services/logging/console-logger.d.ts +0 -14
- package/dist/packages/core/src/infrastructure/services/logging/console-logger.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/logging/console-logger.js +0 -53
- package/dist/packages/core/src/infrastructure/services/process/process-liveness.adapter.d.ts +0 -11
- package/dist/packages/core/src/infrastructure/services/process/process-liveness.adapter.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/process/process-liveness.adapter.js +0 -23
- package/dist/packages/core/src/infrastructure/services/spec/spec-yaml-parser.service.d.ts +0 -24
- package/dist/packages/core/src/infrastructure/services/spec/spec-yaml-parser.service.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/spec/spec-yaml-parser.service.js +0 -124
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-metadata.provider.d.ts +0 -17
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-metadata.provider.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-metadata.provider.js +0 -31
- package/dist/src/presentation/cli/commands/app/cloud-providers/connect.command.d.ts +0 -10
- package/dist/src/presentation/cli/commands/app/cloud-providers/connect.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/app/cloud-providers/connect.command.js +0 -62
- package/dist/src/presentation/cli/commands/app/cloud-providers/github-login.command.d.ts +0 -10
- package/dist/src/presentation/cli/commands/app/cloud-providers/github-login.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/app/cloud-providers/github-login.command.js +0 -52
- package/dist/src/presentation/cli/commands/app/cloud-providers/index.d.ts +0 -10
- package/dist/src/presentation/cli/commands/app/cloud-providers/index.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/app/cloud-providers/index.js +0 -18
- package/dist/src/presentation/cli/commands/app/cloud-providers/ls.command.d.ts +0 -8
- package/dist/src/presentation/cli/commands/app/cloud-providers/ls.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/app/cloud-providers/ls.command.js +0 -40
- package/dist/src/presentation/cli/commands/app/deploy/index.d.ts +0 -8
- package/dist/src/presentation/cli/commands/app/deploy/index.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/app/deploy/index.js +0 -14
- package/dist/src/presentation/cli/commands/app/deploy/initiate.command.d.ts +0 -10
- package/dist/src/presentation/cli/commands/app/deploy/initiate.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/app/deploy/initiate.command.js +0 -86
- package/dist/src/presentation/cli/commands/app/deploy/status.command.d.ts +0 -8
- package/dist/src/presentation/cli/commands/app/deploy/status.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/app/deploy/status.command.js +0 -49
- package/dist/src/presentation/cli/commands/app/git/create-remote.command.d.ts +0 -10
- package/dist/src/presentation/cli/commands/app/git/create-remote.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/app/git/create-remote.command.js +0 -49
- package/dist/src/presentation/cli/commands/app/git/index.d.ts +0 -9
- package/dist/src/presentation/cli/commands/app/git/index.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/app/git/index.js +0 -13
- package/dist/src/presentation/web/app/actions/applications/commit-and-push-application-changes.d.ts +0 -11
- package/dist/src/presentation/web/app/actions/applications/commit-and-push-application-changes.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/applications/commit-and-push-application-changes.js +0 -22
- package/dist/src/presentation/web/app/actions/applications/commit-application-changes.d.ts +0 -10
- package/dist/src/presentation/web/app/actions/applications/commit-application-changes.d.ts.map +0 -1
- package/dist/src/presentation/web/app/actions/applications/commit-application-changes.js +0 -22
- package/dist/src/presentation/web/app/api/applications/[id]/cloud-deploy/initiate/route.d.ts +0 -19
- package/dist/src/presentation/web/app/api/applications/[id]/cloud-deploy/initiate/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/applications/[id]/cloud-deploy/initiate/route.js +0 -43
- package/dist/src/presentation/web/app/api/applications/[id]/cloud-deploy/select-provider/route.d.ts +0 -16
- package/dist/src/presentation/web/app/api/applications/[id]/cloud-deploy/select-provider/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/applications/[id]/cloud-deploy/select-provider/route.js +0 -35
- package/dist/src/presentation/web/app/api/applications/[id]/cloud-deploy/status/route.d.ts +0 -16
- package/dist/src/presentation/web/app/api/applications/[id]/cloud-deploy/status/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/applications/[id]/cloud-deploy/status/route.js +0 -23
- package/dist/src/presentation/web/app/api/applications/[id]/git/create-remote/route.d.ts +0 -20
- package/dist/src/presentation/web/app/api/applications/[id]/git/create-remote/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/applications/[id]/git/create-remote/route.js +0 -31
- package/dist/src/presentation/web/app/api/cloud-providers/[provider]/connect/route.d.ts +0 -18
- package/dist/src/presentation/web/app/api/cloud-providers/[provider]/connect/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/cloud-providers/[provider]/connect/route.js +0 -38
- package/dist/src/presentation/web/app/api/cloud-providers/github/auth-login/route.d.ts +0 -11
- package/dist/src/presentation/web/app/api/cloud-providers/github/auth-login/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/cloud-providers/github/auth-login/route.js +0 -24
- package/dist/src/presentation/web/app/api/cloud-providers/github/auth-status/route.d.ts +0 -9
- package/dist/src/presentation/web/app/api/cloud-providers/github/auth-status/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/cloud-providers/github/auth-status/route.js +0 -18
- package/dist/src/presentation/web/app/api/cloud-providers/route.d.ts +0 -10
- package/dist/src/presentation/web/app/api/cloud-providers/route.d.ts.map +0 -1
- package/dist/src/presentation/web/app/api/cloud-providers/route.js +0 -19
- package/dist/src/presentation/web/components/features/application-page/app-top-bar.d.ts +0 -27
- package/dist/src/presentation/web/components/features/application-page/app-top-bar.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/app-top-bar.js +0 -24
- package/dist/src/presentation/web/components/features/application-page/app-top-bar.stories.d.ts +0 -9
- package/dist/src/presentation/web/components/features/application-page/app-top-bar.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/app-top-bar.stories.js +0 -79
- package/dist/src/presentation/web/components/features/application-page/application-page-loader.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/application-page-loader.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/application-page-loader.stories.js +0 -63
- package/dist/src/presentation/web/components/features/application-page/cloud-provider-icons.d.ts +0 -22
- package/dist/src/presentation/web/components/features/application-page/cloud-provider-icons.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/cloud-provider-icons.js +0 -28
- package/dist/src/presentation/web/components/features/application-page/connect-provider-modal.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/connect-provider-modal.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/connect-provider-modal.js +0 -61
- package/dist/src/presentation/web/components/features/application-page/connect-provider-modal.stories.d.ts +0 -10
- package/dist/src/presentation/web/components/features/application-page/connect-provider-modal.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/connect-provider-modal.stories.js +0 -40
- package/dist/src/presentation/web/components/features/application-page/copy-prompt-button.d.ts +0 -5
- package/dist/src/presentation/web/components/features/application-page/copy-prompt-button.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/copy-prompt-button.js +0 -37
- package/dist/src/presentation/web/components/features/application-page/copy-prompt-button.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/copy-prompt-button.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/copy-prompt-button.stories.js +0 -13
- package/dist/src/presentation/web/components/features/application-page/create-github-repo-button.d.ts +0 -9
- package/dist/src/presentation/web/components/features/application-page/create-github-repo-button.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/create-github-repo-button.js +0 -85
- package/dist/src/presentation/web/components/features/application-page/create-github-repo-button.stories.d.ts +0 -9
- package/dist/src/presentation/web/components/features/application-page/create-github-repo-button.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/create-github-repo-button.stories.js +0 -19
- package/dist/src/presentation/web/components/features/application-page/delete-button.d.ts +0 -6
- package/dist/src/presentation/web/components/features/application-page/delete-button.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/delete-button.js +0 -24
- package/dist/src/presentation/web/components/features/application-page/delete-button.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/delete-button.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/delete-button.stories.js +0 -16
- package/dist/src/presentation/web/components/features/application-page/deploy-button.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/deploy-button.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/deploy-button.js +0 -94
- package/dist/src/presentation/web/components/features/application-page/deploy-button.stories.d.ts +0 -11
- package/dist/src/presentation/web/components/features/application-page/deploy-button.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/deploy-button.stories.js +0 -53
- package/dist/src/presentation/web/components/features/application-page/git-status-cluster.d.ts +0 -13
- package/dist/src/presentation/web/components/features/application-page/git-status-cluster.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/git-status-cluster.js +0 -113
- package/dist/src/presentation/web/components/features/application-page/git-status-cluster.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/git-status-cluster.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/git-status-cluster.stories.js +0 -19
- package/dist/src/presentation/web/components/features/application-page/path-cluster.d.ts +0 -6
- package/dist/src/presentation/web/components/features/application-page/path-cluster.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/path-cluster.js +0 -32
- package/dist/src/presentation/web/components/features/application-page/path-cluster.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/path-cluster.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/path-cluster.stories.js +0 -19
- package/dist/src/presentation/web/components/features/application-page/provider-dropdown.d.ts +0 -26
- package/dist/src/presentation/web/components/features/application-page/provider-dropdown.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/provider-dropdown.js +0 -30
- package/dist/src/presentation/web/components/features/application-page/provider-dropdown.stories.d.ts +0 -10
- package/dist/src/presentation/web/components/features/application-page/provider-dropdown.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/provider-dropdown.stories.js +0 -80
- package/dist/src/presentation/web/components/features/application-page/resizable-split.d.ts +0 -7
- package/dist/src/presentation/web/components/features/application-page/resizable-split.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/resizable-split.js +0 -30
- package/dist/src/presentation/web/components/features/application-page/resizable-split.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/resizable-split.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/resizable-split.stories.js +0 -23
- package/dist/src/presentation/web/components/features/application-page/run-dev-button.stories.d.ts +0 -12
- package/dist/src/presentation/web/components/features/application-page/run-dev-button.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/run-dev-button.stories.js +0 -53
- package/dist/src/presentation/web/components/features/application-page/session-chip.d.ts +0 -9
- package/dist/src/presentation/web/components/features/application-page/session-chip.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/session-chip.js +0 -38
- package/dist/src/presentation/web/components/features/application-page/session-chip.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/session-chip.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/session-chip.stories.js +0 -16
- package/dist/src/presentation/web/components/features/application-page/status-pill.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/status-pill.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/status-pill.js +0 -16
- package/dist/src/presentation/web/components/features/application-page/status-pill.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/status-pill.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/status-pill.stories.js +0 -22
- package/dist/src/presentation/web/components/features/application-page/terminal-tab.stories.d.ts +0 -15
- package/dist/src/presentation/web/components/features/application-page/terminal-tab.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/terminal-tab.stories.js +0 -31
- package/dist/src/presentation/web/components/features/application-page/use-dev-server-coordinator.d.ts +0 -14
- package/dist/src/presentation/web/components/features/application-page/use-dev-server-coordinator.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/use-dev-server-coordinator.js +0 -82
- package/dist/src/presentation/web/components/features/application-page/view-body.d.ts +0 -17
- package/dist/src/presentation/web/components/features/application-page/view-body.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/view-body.js +0 -25
- package/dist/src/presentation/web/components/features/application-page/view-body.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/view-body.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/view-body.stories.js +0 -42
- package/dist/src/presentation/web/components/features/application-page/view-switcher.d.ts +0 -10
- package/dist/src/presentation/web/components/features/application-page/view-switcher.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/view-switcher.js +0 -18
- package/dist/src/presentation/web/components/features/application-page/view-switcher.stories.d.ts +0 -8
- package/dist/src/presentation/web/components/features/application-page/view-switcher.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/view-switcher.stories.js +0 -13
- package/dist/src/presentation/web/components/features/application-page/web-preview-tab.stories.d.ts +0 -10
- package/dist/src/presentation/web/components/features/application-page/web-preview-tab.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/application-page/web-preview-tab.stories.js +0 -49
- package/dist/src/presentation/web/hooks/use-cloud-deploy-action.d.ts +0 -20
- package/dist/src/presentation/web/hooks/use-cloud-deploy-action.d.ts.map +0 -1
- package/dist/src/presentation/web/hooks/use-cloud-deploy-action.js +0 -120
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/initiate/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/initiate/route/build-manifest.json +0 -11
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/initiate/route/server-reference-manifest.json +0 -4
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/initiate/route.js +0 -7
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/initiate/route.js.nft.json +0 -1
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/initiate/route_client-reference-manifest.js +0 -2
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/select-provider/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/select-provider/route/build-manifest.json +0 -11
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/select-provider/route/server-reference-manifest.json +0 -4
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/select-provider/route.js +0 -7
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/select-provider/route.js.map +0 -5
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/select-provider/route.js.nft.json +0 -1
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/select-provider/route_client-reference-manifest.js +0 -2
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/status/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/status/route/build-manifest.json +0 -11
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/status/route/server-reference-manifest.json +0 -4
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/status/route.js +0 -7
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/status/route.js.map +0 -5
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/status/route.js.nft.json +0 -1
- package/web/.next/server/app/api/applications/[id]/cloud-deploy/status/route_client-reference-manifest.js +0 -2
- package/web/.next/server/app/api/applications/[id]/git/create-remote/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/applications/[id]/git/create-remote/route/build-manifest.json +0 -11
- package/web/.next/server/app/api/applications/[id]/git/create-remote/route/server-reference-manifest.json +0 -4
- package/web/.next/server/app/api/applications/[id]/git/create-remote/route.js +0 -7
- package/web/.next/server/app/api/applications/[id]/git/create-remote/route.js.map +0 -5
- package/web/.next/server/app/api/applications/[id]/git/create-remote/route.js.nft.json +0 -1
- package/web/.next/server/app/api/applications/[id]/git/create-remote/route_client-reference-manifest.js +0 -2
- package/web/.next/server/app/api/cloud-providers/[provider]/connect/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/cloud-providers/[provider]/connect/route/build-manifest.json +0 -11
- package/web/.next/server/app/api/cloud-providers/[provider]/connect/route/server-reference-manifest.json +0 -4
- package/web/.next/server/app/api/cloud-providers/[provider]/connect/route.js +0 -7
- package/web/.next/server/app/api/cloud-providers/[provider]/connect/route.js.map +0 -5
- package/web/.next/server/app/api/cloud-providers/[provider]/connect/route.js.nft.json +0 -1
- package/web/.next/server/app/api/cloud-providers/[provider]/connect/route_client-reference-manifest.js +0 -2
- package/web/.next/server/app/api/cloud-providers/github/auth-login/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/cloud-providers/github/auth-login/route/build-manifest.json +0 -11
- package/web/.next/server/app/api/cloud-providers/github/auth-login/route/server-reference-manifest.json +0 -4
- package/web/.next/server/app/api/cloud-providers/github/auth-login/route.js +0 -7
- package/web/.next/server/app/api/cloud-providers/github/auth-login/route.js.map +0 -5
- package/web/.next/server/app/api/cloud-providers/github/auth-login/route.js.nft.json +0 -1
- package/web/.next/server/app/api/cloud-providers/github/auth-login/route_client-reference-manifest.js +0 -2
- package/web/.next/server/app/api/cloud-providers/github/auth-status/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/cloud-providers/github/auth-status/route/build-manifest.json +0 -11
- package/web/.next/server/app/api/cloud-providers/github/auth-status/route/server-reference-manifest.json +0 -4
- package/web/.next/server/app/api/cloud-providers/github/auth-status/route.js +0 -7
- package/web/.next/server/app/api/cloud-providers/github/auth-status/route.js.map +0 -5
- package/web/.next/server/app/api/cloud-providers/github/auth-status/route.js.nft.json +0 -1
- package/web/.next/server/app/api/cloud-providers/github/auth-status/route_client-reference-manifest.js +0 -2
- package/web/.next/server/app/api/cloud-providers/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/api/cloud-providers/route/build-manifest.json +0 -11
- package/web/.next/server/app/api/cloud-providers/route/server-reference-manifest.json +0 -4
- package/web/.next/server/app/api/cloud-providers/route.js +0 -7
- package/web/.next/server/app/api/cloud-providers/route.js.map +0 -5
- package/web/.next/server/app/api/cloud-providers/route.js.nft.json +0 -1
- package/web/.next/server/app/api/cloud-providers/route_client-reference-manifest.js +0 -2
- package/web/.next/server/chunks/20c8b_app_api_applications_[id]_cloud-deploy_select-provider_route_actions_0b41b3f7.js +0 -3
- package/web/.next/server/chunks/20c8b_app_api_applications_[id]_cloud-deploy_select-provider_route_actions_0b41b3f7.js.map +0 -1
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_cloud-providers_route_actions_b29d775a.js +0 -3
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_cloud-providers_route_actions_b29d775a.js.map +0 -1
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_cloud-deploy_initiate_route_actions_b4867bc6.js +0 -3
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_cloud-deploy_initiate_route_actions_b4867bc6.js.map +0 -1
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_cloud-deploy_status_route_actions_9a3b876b.js +0 -3
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_cloud-deploy_status_route_actions_9a3b876b.js.map +0 -1
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_git_create-remote_route_actions_41c42379.js +0 -3
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_git_create-remote_route_actions_41c42379.js.map +0 -1
- package/web/.next/server/chunks/8ba4b_server_app_api_cloud-providers_[provider]_connect_route_actions_a0ca54c4.js +0 -3
- package/web/.next/server/chunks/8ba4b_server_app_api_cloud-providers_[provider]_connect_route_actions_a0ca54c4.js.map +0 -1
- package/web/.next/server/chunks/8ba4b_server_app_api_cloud-providers_github_auth-login_route_actions_7bef847d.js +0 -3
- package/web/.next/server/chunks/8ba4b_server_app_api_cloud-providers_github_auth-login_route_actions_7bef847d.js.map +0 -1
- package/web/.next/server/chunks/8ba4b_server_app_api_cloud-providers_github_auth-status_route_actions_8cdaeffc.js +0 -3
- package/web/.next/server/chunks/8ba4b_server_app_api_cloud-providers_github_auth-status_route_actions_8cdaeffc.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__2c15d675._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__2c15d675._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__3b3b8980._.js +0 -9
- package/web/.next/server/chunks/[root-of-the-server]__3b3b8980._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__631f5bbe._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__631f5bbe._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__770c0c09._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__770c0c09._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__83e9501d._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__83e9501d._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__9017bfe4._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__9017bfe4._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__90eb0e51._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__90eb0e51._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__9bf8eb9d._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__9bf8eb9d._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__b78eeb4f._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__b78eeb4f._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__cac531cb._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__cac531cb._.js.map +0 -1
- package/web/.next/server/chunks/[root-of-the-server]__e7e98696._.js +0 -3
- package/web/.next/server/chunks/[root-of-the-server]__e7e98696._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__01559f4c._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__01559f4c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0f0865b6._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0f0865b6._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__494cf0fb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__78e103c3._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__78e103c3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_15173081._.js +0 -3
- package/web/.next/server/chunks/ssr/_15173081._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1da7af78._.js +0 -3
- package/web/.next/server/chunks/ssr/_1da7af78._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_22d60ea8._.js +0 -3
- package/web/.next/server/chunks/ssr/_22d60ea8._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_28d8fc85._.js +0 -3
- package/web/.next/server/chunks/ssr/_28d8fc85._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_35b56ded._.js +0 -3
- package/web/.next/server/chunks/ssr/_35b56ded._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_4b57bcc3._.js +0 -9
- package/web/.next/server/chunks/ssr/_4b57bcc3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_5b868d9b._.js +0 -3
- package/web/.next/server/chunks/ssr/_5b868d9b._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_5bf2415e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6401fcb4._.js +0 -3
- package/web/.next/server/chunks/ssr/_6401fcb4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_66d02826._.js +0 -3
- package/web/.next/server/chunks/ssr/_66d02826._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_68befcc0._.js +0 -3
- package/web/.next/server/chunks/ssr/_68befcc0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_72cc0c05._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_82c47cc2._.js +0 -3
- package/web/.next/server/chunks/ssr/_82c47cc2._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_bb8735f7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_e9a4c41e._.js +0 -3
- package/web/.next/server/chunks/ssr/_e9a4c41e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_ef697bcb._.js +0 -3
- package/web/.next/server/chunks/ssr/_ef697bcb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_03825509._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_03825509._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_747b43ac._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_747b43ac._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_b4a5d907._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_b4a5d907._.js.map +0 -1
- package/web/.next/static/chunks/0412f29f896ee09c.js +0 -1
- package/web/.next/static/chunks/0b7fc927918d27b7.js +0 -1
- package/web/.next/static/chunks/0de93c756f719ec3.js +0 -1
- package/web/.next/static/chunks/19327577e3a31a12.js +0 -1
- package/web/.next/static/chunks/21122562afc22707.js +0 -1
- package/web/.next/static/chunks/4f09cbb36f0ee7bc.js +0 -1
- package/web/.next/static/chunks/4fdc8e750df8ca80.js +0 -1
- package/web/.next/static/chunks/544aff2bfab6627d.js +0 -1
- package/web/.next/static/chunks/5a686ebc9fc2add1.js +0 -1
- package/web/.next/static/chunks/63b0b9bd3d9e77c1.js +0 -1
- package/web/.next/static/chunks/693bac34da5f5767.js +0 -1
- package/web/.next/static/chunks/6a7d6f15d3366b65.js +0 -1
- package/web/.next/static/chunks/6d56af6ae0a033a6.js +0 -5
- package/web/.next/static/chunks/8a44ba83aaeb4b83.js +0 -1
- package/web/.next/static/chunks/9b34d8c773ee0165.js +0 -1
- package/web/.next/static/chunks/abe2a450d1e2f77d.js +0 -1
- package/web/.next/static/chunks/b7c8bf8006038a6c.js +0 -1
- package/web/.next/static/chunks/c6011887cf4bc18e.js +0 -1
- package/web/.next/static/chunks/c7659438d8afcb6b.js +0 -1
- package/web/.next/static/chunks/d9ca1010cff1e77d.css +0 -1
- package/web/.next/static/chunks/f7677be24e542028.js +0 -7
- package/web/.next/static/chunks/fb0dc8b38808eaae.js +0 -1
- /package/dist/packages/core/src/application/{use-cases/applications → workflows}/application-creation.workflow.d.ts +0 -0
- /package/dist/packages/core/src/application/{use-cases/applications → workflows}/application-creation.workflow.js +0 -0
- /package/web/.next/server/app/{api/applications/[id]/cloud-deploy/initiate/route.js.map → plugins/page.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__582ebd78._.js.map → [root-of-the-server]__0702fed9._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__76a92098._.js.map → [root-of-the-server]__88c71186._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__7de24eaf._.js.map → [root-of-the-server]__8b6abaa3._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__1133b25d._.js.map → [root-of-the-server]__dbb420e4._.js.map} +0 -0
- /package/web/.next/static/{FRWpPK0Bg6IM4rVnqge0Z → H1ozIesERGbwQQ6nOO8UC}/_buildManifest.js +0 -0
- /package/web/.next/static/{FRWpPK0Bg6IM4rVnqge0Z → H1ozIesERGbwQQ6nOO8UC}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{FRWpPK0Bg6IM4rVnqge0Z → H1ozIesERGbwQQ6nOO8UC}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/chevrons-up-down.ts","../../../../../../../src/presentation/web/components/common/control-center-drawer/adopt-drawer-client.tsx","../../../../../../../src/presentation/web/app/actions/data%3A4ee5c2%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/app/actions/data%3A9de9db%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/components/common/control-center-drawer/adopt-branch-drawer.tsx","../../../../../../../src/presentation/web/components/ui/command.tsx"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm7 15 5 5 5-5', key: '1hf1tw' }],\n ['path', { d: 'm7 9 5-5 5 5', key: 'sgt6xg' }],\n];\n\n/**\n * @component @name ChevronsUpDown\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/chevrons-up-down\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronsUpDown = createLucideIcon('chevrons-up-down', __iconNode);\n\nexport default ChevronsUpDown;\n","'use client';\n\nimport { useState, useCallback, useEffect } from 'react';\nimport { useRouter, usePathname } from 'next/navigation';\nimport { toast } from 'sonner';\nimport { adoptBranch } from '@/app/actions/adopt-branch';\nimport { listBranches } from '@/app/actions/list-branches';\nimport { AdoptBranchDrawer } from './adopt-branch-drawer';\nimport type { RepositoryOption } from '@/components/common/feature-create-drawer/feature-create-drawer';\n\nexport interface AdoptDrawerClientProps {\n repositoryPath: string;\n repositories: RepositoryOption[];\n}\n\nexport function AdoptDrawerClient({ repositoryPath, repositories }: AdoptDrawerClientProps) {\n const router = useRouter();\n const pathname = usePathname();\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [error, setError] = useState<string>();\n const [branches, setBranches] = useState<string[]>([]);\n const [branchesLoading, setBranchesLoading] = useState(false);\n const [selectedRepoPath, setSelectedRepoPath] = useState(repositoryPath);\n\n const isOnAdoptRoute = pathname.startsWith('/adopt');\n const isOpen = !isSubmitting && isOnAdoptRoute;\n\n // Reset isSubmitting once the route has actually changed away from /adopt\n useEffect(() => {\n if (!isOnAdoptRoute && isSubmitting) {\n setIsSubmitting(false);\n }\n }, [isOnAdoptRoute, isSubmitting]);\n\n // Clear error when drawer reopens and reset selected repo to default\n useEffect(() => {\n if (isOnAdoptRoute) {\n setError(undefined);\n setSelectedRepoPath(repositoryPath);\n }\n }, [isOnAdoptRoute, repositoryPath]);\n\n // Fetch branches when drawer opens AND a repository is selected\n useEffect(() => {\n if (isOnAdoptRoute && selectedRepoPath) {\n setBranchesLoading(true);\n setBranches([]);\n listBranches(selectedRepoPath)\n .then(setBranches)\n .catch(() => setBranches([]))\n .finally(() => setBranchesLoading(false));\n } else {\n setBranches([]);\n }\n }, [isOnAdoptRoute, selectedRepoPath]);\n\n const onClose = useCallback(() => {\n router.push('/');\n }, [router]);\n\n const handleRepositoryChange = useCallback((path: string) => {\n setSelectedRepoPath(path);\n }, []);\n\n const onSubmit = useCallback(\n (branchName: string, repoPath: string) => {\n setError(undefined);\n setIsSubmitting(true);\n router.push('/');\n\n adoptBranch({ branchName, repositoryPath: repoPath })\n .then((result) => {\n if (result.error) {\n toast.error(result.error);\n return;\n }\n window.dispatchEvent(\n new CustomEvent('shep:feature-created', {\n detail: {\n featureId: result.feature!.id,\n name: result.feature!.name,\n description: result.feature!.description,\n repositoryPath: result.feature!.repositoryPath,\n },\n })\n );\n toast.success(`Branch adopted as \"${result.feature!.name}\"`);\n })\n .catch(() => {\n toast.error('Failed to adopt branch');\n setIsSubmitting(false);\n });\n },\n [router]\n );\n\n return (\n <AdoptBranchDrawer\n open={isOpen}\n onClose={onClose}\n onSubmit={onSubmit}\n isSubmitting={isSubmitting}\n error={error}\n repositories={repositories}\n selectedRepositoryPath={selectedRepoPath}\n onRepositoryChange={handleRepositoryChange}\n branches={branches}\n branchesLoading={branchesLoading}\n />\n );\n}\n","/* __next_internal_action_entry_do_not_use__ [{\"4009bd45815affc73a57b576e00a76773e8c4c3503\":\"adoptBranch\"},\"src/presentation/web/app/actions/adopt-branch.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"4009bd45815affc73a57b576e00a76773e8c4c3503\",callServer,void 0,findSourceMapURL,\"adoptBranch\");export{$$RSC_SERVER_ACTION_0 as adoptBranch};","/* __next_internal_action_entry_do_not_use__ [{\"40523e915565094321161cb2cba0d5f80912c17236\":\"listBranches\"},\"src/presentation/web/app/actions/list-branches.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"40523e915565094321161cb2cba0d5f80912c17236\",callServer,void 0,findSourceMapURL,\"listBranches\");export{$$RSC_SERVER_ACTION_0 as listBranches};","'use client';\n\nimport { useState, useCallback, useEffect, useRef } from 'react';\nimport { Check, CheckIcon, ChevronsUpDown, GitBranch, Loader2 } from 'lucide-react';\nimport { BaseDrawer } from '@/components/common/base-drawer';\nimport { DrawerTitle, DrawerDescription } from '@/components/ui/drawer';\nimport { Button } from '@/components/ui/button';\nimport { Input } from '@/components/ui/input';\nimport { Label } from '@/components/ui/label';\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n} from '@/components/ui/command';\nimport { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';\nimport { cn } from '@/lib/utils';\nimport type { RepositoryOption } from '@/components/common/feature-create-drawer/feature-create-drawer';\n\nexport interface AdoptBranchDrawerProps {\n open: boolean;\n onClose: () => void;\n onSubmit: (branchName: string, repositoryPath: string) => void;\n isSubmitting?: boolean;\n error?: string;\n /** Available repositories for the repository selector */\n repositories?: RepositoryOption[];\n /** Currently selected repository path */\n selectedRepositoryPath?: string;\n /** Callback when user selects a different repository */\n onRepositoryChange?: (repositoryPath: string) => void;\n /** Available branch names for the combobox dropdown */\n branches?: string[];\n /** Whether branches are still loading */\n branchesLoading?: boolean;\n}\n\nexport function AdoptBranchDrawer({\n open,\n onClose,\n onSubmit,\n isSubmitting = false,\n error,\n repositories = [],\n selectedRepositoryPath,\n onRepositoryChange,\n branches = [],\n branchesLoading = false,\n}: AdoptBranchDrawerProps) {\n const [branchName, setBranchName] = useState('');\n const [comboboxOpen, setComboboxOpen] = useState(false);\n const [inputValue, setInputValue] = useState('');\n const inputRef = useRef<HTMLInputElement>(null);\n const [repoOpen, setRepoOpen] = useState(false);\n const [repoQuery, setRepoQuery] = useState('');\n const repoInputRef = useRef<HTMLInputElement>(null);\n\n const selectedRepo = repositories.find((r) => r.path === selectedRepositoryPath);\n const hasRepo = !!selectedRepositoryPath;\n\n // Reset state when drawer closes\n useEffect(() => {\n if (!open) {\n setBranchName('');\n setInputValue('');\n setComboboxOpen(false);\n setRepoOpen(false);\n setRepoQuery('');\n }\n }, [open]);\n\n // Reset branch selection when repository changes\n useEffect(() => {\n setBranchName('');\n setInputValue('');\n }, [selectedRepositoryPath]);\n\n const handleSubmit = useCallback(\n (e: React.FormEvent) => {\n e.preventDefault();\n const trimmed = branchName.trim();\n if (!trimmed || !selectedRepositoryPath || isSubmitting) return;\n onSubmit(trimmed, selectedRepositoryPath);\n },\n [branchName, selectedRepositoryPath, isSubmitting, onSubmit]\n );\n\n const handleClose = useCallback(() => {\n setBranchName('');\n setInputValue('');\n onClose();\n }, [onClose]);\n\n const handleSelect = useCallback((branch: string) => {\n setBranchName(branch);\n setInputValue(branch);\n setComboboxOpen(false);\n }, []);\n\n const handleInputChange = useCallback(\n (e: React.ChangeEvent<HTMLInputElement>) => {\n setInputValue(e.target.value);\n if (!comboboxOpen) setComboboxOpen(true);\n },\n [comboboxOpen]\n );\n\n const handleInputKeyDown = useCallback(\n (e: React.KeyboardEvent<HTMLInputElement>) => {\n if (e.key === 'Enter') {\n e.preventDefault();\n const trimmed = inputValue.trim();\n if (trimmed) {\n setBranchName(trimmed);\n setComboboxOpen(false);\n }\n }\n if (e.key === 'Escape') {\n setComboboxOpen(false);\n setInputValue(branchName);\n }\n },\n [inputValue, branchName]\n );\n\n const handleRepoSelect = useCallback(\n (path: string) => {\n onRepositoryChange?.(path);\n setRepoOpen(false);\n setRepoQuery('');\n },\n [onRepositoryChange]\n );\n\n const filteredBranches = branches.filter((b) =>\n b.toLowerCase().includes(inputValue.toLowerCase())\n );\n\n const filteredRepos = repoQuery.trim()\n ? repositories.filter(\n (r) =>\n r.name.toLowerCase().includes(repoQuery.toLowerCase()) ||\n r.path.toLowerCase().includes(repoQuery.toLowerCase())\n )\n : repositories;\n\n useEffect(() => {\n if (repoOpen) {\n setTimeout(() => repoInputRef.current?.focus(), 0);\n } else {\n setRepoQuery('');\n }\n }, [repoOpen]);\n\n const isDisabled = !branchName.trim() || !selectedRepositoryPath || isSubmitting;\n\n const header = (\n <div>\n <DrawerTitle className=\"flex items-center gap-2\">\n <GitBranch className=\"h-4 w-4\" />\n Adopt Branch\n </DrawerTitle>\n <DrawerDescription className=\"text-muted-foreground text-sm\">\n Import an existing git branch into Shep's feature tracking\n </DrawerDescription>\n </div>\n );\n\n return (\n <BaseDrawer\n open={open}\n onClose={handleClose}\n size=\"sm\"\n modal={false}\n header={header}\n data-testid=\"adopt-branch-drawer\"\n >\n <form onSubmit={handleSubmit} className=\"flex flex-1 flex-col\">\n <div className=\"flex-1 overflow-y-auto p-4\">\n <div className=\"flex flex-col gap-4\">\n {/* Repository selector */}\n <div className=\"flex flex-col gap-2\">\n <Label>Repository</Label>\n <Popover open={repoOpen} onOpenChange={setRepoOpen}>\n <PopoverTrigger asChild>\n <button\n type=\"button\"\n role=\"combobox\"\n aria-expanded={repoOpen}\n aria-label=\"Repository\"\n disabled={isSubmitting}\n data-testid=\"adopt-repo-combobox\"\n className={cn(\n 'border-input bg-background ring-offset-background focus:ring-ring flex h-9 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50',\n !selectedRepo && 'text-muted-foreground'\n )}\n >\n <span className=\"truncate\">\n {selectedRepo ? selectedRepo.name : 'Select repository...'}\n </span>\n <ChevronsUpDown className=\"ms-2 h-4 w-4 shrink-0 opacity-50\" />\n </button>\n </PopoverTrigger>\n <PopoverContent\n className=\"w-80 p-0\"\n align=\"start\"\n data-testid=\"adopt-repo-combobox-content\"\n >\n <div className=\"flex flex-col\">\n <div className=\"border-b p-2\">\n <Input\n ref={repoInputRef}\n placeholder=\"Search repositories...\"\n value={repoQuery}\n onChange={(e) => setRepoQuery(e.target.value)}\n className=\"h-8 border-0 p-0 text-sm shadow-none focus-visible:ring-0\"\n data-testid=\"adopt-repo-search\"\n />\n </div>\n <div\n className=\"max-h-48 overflow-y-auto py-1\"\n role=\"listbox\"\n aria-label=\"Repositories\"\n >\n {filteredRepos.length === 0 ? (\n <p className=\"text-muted-foreground px-3 py-2 text-sm\">\n No repositories found.\n </p>\n ) : (\n filteredRepos.map((r) => (\n <button\n key={r.id}\n type=\"button\"\n role=\"option\"\n aria-selected={selectedRepositoryPath === r.path}\n onClick={() => handleRepoSelect(r.path)}\n className={cn(\n 'hover:bg-accent hover:text-accent-foreground flex w-full items-center gap-2 px-3 py-2 text-sm',\n selectedRepositoryPath === r.path && 'bg-accent/50'\n )}\n data-testid={`adopt-repo-option-${r.id}`}\n >\n <CheckIcon\n className={cn(\n 'h-4 w-4 shrink-0',\n selectedRepositoryPath !== r.path && 'invisible'\n )}\n />\n <span className=\"flex flex-col items-start truncate\">\n <span className=\"truncate\">{r.name}</span>\n <span className=\"text-muted-foreground truncate text-xs\">\n {r.path}\n </span>\n </span>\n </button>\n ))\n )}\n </div>\n </div>\n </PopoverContent>\n </Popover>\n <p className=\"text-muted-foreground text-xs\">\n Select the repository that contains the branch you want to adopt.\n </p>\n </div>\n\n {/* Branch selector */}\n <div className=\"flex flex-col gap-2\">\n <Label htmlFor=\"branch-name\">Branch name</Label>\n <Popover open={comboboxOpen} onOpenChange={setComboboxOpen}>\n <PopoverTrigger asChild>\n <Button\n variant=\"outline\"\n role=\"combobox\"\n aria-expanded={comboboxOpen}\n disabled={isSubmitting || !hasRepo}\n className=\"w-full justify-between font-normal\"\n data-testid=\"adopt-branch-input\"\n >\n <span className=\"truncate\">\n {!hasRepo\n ? 'Select a repository first...'\n : branchesLoading\n ? 'Loading branches...'\n : branchName || 'Select a branch...'}\n </span>\n <ChevronsUpDown className=\"ms-2 h-4 w-4 shrink-0 opacity-50\" />\n </Button>\n </PopoverTrigger>\n <PopoverContent\n className=\"w-[var(--radix-popover-trigger-width)] p-0\"\n align=\"start\"\n >\n <Command>\n <CommandInput\n ref={inputRef}\n placeholder=\"Search branches...\"\n value={inputValue}\n onChange={handleInputChange}\n onKeyDown={handleInputKeyDown}\n data-testid=\"adopt-branch-search\"\n />\n <CommandList>\n {!branchesLoading && filteredBranches.length === 0 && (\n <CommandEmpty>\n {branches.length === 0\n ? 'No branches found.'\n : inputValue\n ? 'No match — press Enter to use this value.'\n : 'No branches available.'}\n </CommandEmpty>\n )}\n {branchesLoading ? (\n <CommandEmpty>\n <Loader2 className=\"mx-auto h-4 w-4 animate-spin\" />\n </CommandEmpty>\n ) : null}\n {filteredBranches.length > 0 && (\n <CommandGroup>\n {filteredBranches.map((branch) => (\n <CommandItem\n key={branch}\n selected={branch === branchName}\n onClick={() => handleSelect(branch)}\n >\n <Check\n className={cn(\n 'me-2 h-4 w-4',\n branch === branchName ? 'opacity-100' : 'opacity-0'\n )}\n />\n <GitBranch className=\"me-2 h-3 w-3 opacity-50\" />\n {branch}\n </CommandItem>\n ))}\n </CommandGroup>\n )}\n </CommandList>\n </Command>\n </PopoverContent>\n </Popover>\n <p className=\"text-muted-foreground text-xs\">\n {hasRepo\n ? 'Select a branch from the dropdown or type to search. Local and remote branches are shown.'\n : 'Please select a repository above to see available branches.'}\n </p>\n </div>\n\n {error ? (\n <p className=\"text-destructive text-sm\" data-testid=\"adopt-branch-error\">\n {error}\n </p>\n ) : null}\n </div>\n </div>\n\n <div className=\"border-t p-4\">\n <div className=\"flex gap-2\">\n <Button\n type=\"button\"\n variant=\"outline\"\n onClick={handleClose}\n disabled={isSubmitting}\n className=\"flex-1\"\n >\n Cancel\n </Button>\n <Button\n type=\"submit\"\n disabled={isDisabled}\n className=\"flex-1\"\n data-testid=\"adopt-branch-submit\"\n >\n {isSubmitting ? (\n <>\n <Loader2 className=\"me-2 h-4 w-4 animate-spin\" />\n Adopting...\n </>\n ) : (\n 'Adopt Branch'\n )}\n </Button>\n </div>\n </div>\n </form>\n </BaseDrawer>\n );\n}\n","'use client';\n\nimport * as React from 'react';\nimport { Search } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/**\n * Command — minimal combobox primitives for model/item selection.\n *\n * Intentionally avoids the `cmdk` dependency and builds on native React +\n * Tailwind instead. Filtering logic lives in the consumer component.\n */\n\nconst Command = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md',\n className\n )}\n {...props}\n />\n )\n);\nCommand.displayName = 'Command';\n\nconst CommandInput = React.forwardRef<\n HTMLInputElement,\n React.InputHTMLAttributes<HTMLInputElement>\n>(({ className, ...props }, ref) => (\n <div className=\"flex items-center border-b px-3\">\n <Search className=\"me-2 h-4 w-4 shrink-0 opacity-50\" />\n <input\n ref={ref}\n className={cn(\n 'placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n />\n </div>\n));\nCommandInput.displayName = 'CommandInput';\n\nconst CommandList = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('max-h-[300px] overflow-x-hidden overflow-y-auto', className)}\n {...props}\n />\n )\n);\nCommandList.displayName = 'CommandList';\n\nconst CommandEmpty = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('text-muted-foreground py-6 text-center text-sm', className)}\n {...props}\n />\n )\n);\nCommandEmpty.displayName = 'CommandEmpty';\n\nconst CommandGroup = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('text-foreground overflow-hidden p-1', className)} {...props} />\n )\n);\nCommandGroup.displayName = 'CommandGroup';\n\ninterface CommandItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n selected?: boolean;\n}\n\nconst CommandItem = React.forwardRef<HTMLButtonElement, CommandItemProps>(\n ({ className, selected, ...props }, ref) => (\n <button\n ref={ref}\n type=\"button\"\n data-selected={selected}\n className={cn(\n 'relative flex w-full cursor-default items-center rounded-sm px-2 py-1.5 text-sm transition-colors outline-none select-none',\n 'hover:bg-accent hover:text-accent-foreground',\n 'data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground',\n 'disabled:pointer-events-none disabled:opacity-50',\n className\n )}\n {...props}\n />\n )\n);\nCommandItem.displayName = 'CommandItem';\n\nconst CommandSeparator = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('bg-border -mx-1 h-px', className)} {...props} />\n )\n);\nCommandSeparator.displayName = 'CommandSeparator';\n\nexport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandSeparator,\n};\n"],"names":[],"mappings":"uCAmBA,CAAA,CAAA,CAAA,CAAA,AAAM,CAAN,CAAM,CAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAjB,AAAiB,CAAjB,AAAiB,CAAjB,AAAiB,CAAA,CAAA,CAAA,CAAA,IAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAhBJ,CAgBwB,AAf1D,CAe0D,AAfzD,CAeyD,AAfzD,CAAA,AAeyD,CAAA,AAfzD,CAAA,AAeyD,CAfzD,AAeyD,CAfzD,AAeyD,CAAA,AAfzD,AAAQ,CAeiD,AAfjD,AAAE,CAeyD,CAftD,AAesD,CAftD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAAiB,CAAA,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CAC9C,CAAC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D,IAAI,CAAE,AAAD,IACJ,AAAI,EAAO,KAAK,CACd,CADgB,CAChB,KAAK,CAAC,KAAK,CAAC,EAAO,KAAK,GAG1B,OAAO,aAAa,CAClB,IAAI,YAAY,uBAAwB,CACtC,OAAQ,CACN,UAAW,EAAO,OAAO,CAAE,EAAE,CAC7B,KAAM,EAAO,OAAO,CAAE,IAAI,CAC1B,YAAa,EAAO,OAAO,CAAE,WAAW,CACxC,eAAgB,EAAO,OAAO,CAAE,cAAc,AAChD,CACF,IAEF,EAAA,KAAK,CAAC,OAAO,CAAC,CAAC,mBAAmB,EAAE,EAAO,OAAO,CAAE,IAAI,CAAC,CAAC,CAAC,EAC7D,GACC,KAAK,CAAC,KACL,EAAA,KAAK,CAAC,KAAK,CAAC,0BACZ,GAAgB,EAClB,EACJ,EACA,CAAC,EAAO,EAGV,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACC,KAAM,EACN,QAAS,EACT,SAAU,EACV,aAAc,EACd,MAAO,EACP,aAAc,EACd,uBAAwB,EACxB,mBAAoB,EACpB,SAAU,EACV,gBAAiB,GAGvB","ignoreList":[0]}
|
|
1
|
+
{"version":3,"sources":["../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/chevrons-up-down.ts","../../../../../../../src/presentation/web/components/common/control-center-drawer/adopt-drawer-client.tsx","../../../../../../../src/presentation/web/app/actions/data%3Abce3cf%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/app/actions/data%3Ae18cef%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/components/common/control-center-drawer/adopt-branch-drawer.tsx","../../../../../../../src/presentation/web/components/ui/command.tsx"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm7 15 5 5 5-5', key: '1hf1tw' }],\n ['path', { d: 'm7 9 5-5 5 5', key: 'sgt6xg' }],\n];\n\n/**\n * @component @name ChevronsUpDown\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/chevrons-up-down\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronsUpDown = createLucideIcon('chevrons-up-down', __iconNode);\n\nexport default ChevronsUpDown;\n","'use client';\n\nimport { useState, useCallback, useEffect } from 'react';\nimport { useRouter, usePathname } from 'next/navigation';\nimport { toast } from 'sonner';\nimport { adoptBranch } from '@/app/actions/adopt-branch';\nimport { listBranches } from '@/app/actions/list-branches';\nimport { AdoptBranchDrawer } from './adopt-branch-drawer';\nimport type { RepositoryOption } from '@/components/common/feature-create-drawer/feature-create-drawer';\n\nexport interface AdoptDrawerClientProps {\n repositoryPath: string;\n repositories: RepositoryOption[];\n}\n\nexport function AdoptDrawerClient({ repositoryPath, repositories }: AdoptDrawerClientProps) {\n const router = useRouter();\n const pathname = usePathname();\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [error, setError] = useState<string>();\n const [branches, setBranches] = useState<string[]>([]);\n const [branchesLoading, setBranchesLoading] = useState(false);\n const [selectedRepoPath, setSelectedRepoPath] = useState(repositoryPath);\n\n const isOnAdoptRoute = pathname.startsWith('/adopt');\n const isOpen = !isSubmitting && isOnAdoptRoute;\n\n // Reset isSubmitting once the route has actually changed away from /adopt\n useEffect(() => {\n if (!isOnAdoptRoute && isSubmitting) {\n setIsSubmitting(false);\n }\n }, [isOnAdoptRoute, isSubmitting]);\n\n // Clear error when drawer reopens and reset selected repo to default\n useEffect(() => {\n if (isOnAdoptRoute) {\n setError(undefined);\n setSelectedRepoPath(repositoryPath);\n }\n }, [isOnAdoptRoute, repositoryPath]);\n\n // Fetch branches when drawer opens AND a repository is selected\n useEffect(() => {\n if (isOnAdoptRoute && selectedRepoPath) {\n setBranchesLoading(true);\n setBranches([]);\n listBranches(selectedRepoPath)\n .then(setBranches)\n .catch(() => setBranches([]))\n .finally(() => setBranchesLoading(false));\n } else {\n setBranches([]);\n }\n }, [isOnAdoptRoute, selectedRepoPath]);\n\n const onClose = useCallback(() => {\n router.push('/');\n }, [router]);\n\n const handleRepositoryChange = useCallback((path: string) => {\n setSelectedRepoPath(path);\n }, []);\n\n const onSubmit = useCallback(\n (branchName: string, repoPath: string) => {\n setError(undefined);\n setIsSubmitting(true);\n router.push('/');\n\n adoptBranch({ branchName, repositoryPath: repoPath })\n .then((result) => {\n if (result.error) {\n toast.error(result.error);\n return;\n }\n window.dispatchEvent(\n new CustomEvent('shep:feature-created', {\n detail: {\n featureId: result.feature!.id,\n name: result.feature!.name,\n description: result.feature!.description,\n repositoryPath: result.feature!.repositoryPath,\n },\n })\n );\n toast.success(`Branch adopted as \"${result.feature!.name}\"`);\n })\n .catch(() => {\n toast.error('Failed to adopt branch');\n setIsSubmitting(false);\n });\n },\n [router]\n );\n\n return (\n <AdoptBranchDrawer\n open={isOpen}\n onClose={onClose}\n onSubmit={onSubmit}\n isSubmitting={isSubmitting}\n error={error}\n repositories={repositories}\n selectedRepositoryPath={selectedRepoPath}\n onRepositoryChange={handleRepositoryChange}\n branches={branches}\n branchesLoading={branchesLoading}\n />\n );\n}\n","/* __next_internal_action_entry_do_not_use__ [{\"4040c34c62ba448647d84677044738587ca747f1cb\":\"adoptBranch\"},\"src/presentation/web/app/actions/adopt-branch.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"4040c34c62ba448647d84677044738587ca747f1cb\",callServer,void 0,findSourceMapURL,\"adoptBranch\");export{$$RSC_SERVER_ACTION_0 as adoptBranch};","/* __next_internal_action_entry_do_not_use__ [{\"40447d7babb6013cfd0a91b8f5f4919bd515d9b837\":\"listBranches\"},\"src/presentation/web/app/actions/list-branches.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"40447d7babb6013cfd0a91b8f5f4919bd515d9b837\",callServer,void 0,findSourceMapURL,\"listBranches\");export{$$RSC_SERVER_ACTION_0 as listBranches};","'use client';\n\nimport { useState, useCallback, useEffect, useRef } from 'react';\nimport { Check, CheckIcon, ChevronsUpDown, GitBranch, Loader2 } from 'lucide-react';\nimport { BaseDrawer } from '@/components/common/base-drawer';\nimport { DrawerTitle, DrawerDescription } from '@/components/ui/drawer';\nimport { Button } from '@/components/ui/button';\nimport { Input } from '@/components/ui/input';\nimport { Label } from '@/components/ui/label';\nimport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n} from '@/components/ui/command';\nimport { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';\nimport { cn } from '@/lib/utils';\nimport type { RepositoryOption } from '@/components/common/feature-create-drawer/feature-create-drawer';\n\nexport interface AdoptBranchDrawerProps {\n open: boolean;\n onClose: () => void;\n onSubmit: (branchName: string, repositoryPath: string) => void;\n isSubmitting?: boolean;\n error?: string;\n /** Available repositories for the repository selector */\n repositories?: RepositoryOption[];\n /** Currently selected repository path */\n selectedRepositoryPath?: string;\n /** Callback when user selects a different repository */\n onRepositoryChange?: (repositoryPath: string) => void;\n /** Available branch names for the combobox dropdown */\n branches?: string[];\n /** Whether branches are still loading */\n branchesLoading?: boolean;\n}\n\nexport function AdoptBranchDrawer({\n open,\n onClose,\n onSubmit,\n isSubmitting = false,\n error,\n repositories = [],\n selectedRepositoryPath,\n onRepositoryChange,\n branches = [],\n branchesLoading = false,\n}: AdoptBranchDrawerProps) {\n const [branchName, setBranchName] = useState('');\n const [comboboxOpen, setComboboxOpen] = useState(false);\n const [inputValue, setInputValue] = useState('');\n const inputRef = useRef<HTMLInputElement>(null);\n const [repoOpen, setRepoOpen] = useState(false);\n const [repoQuery, setRepoQuery] = useState('');\n const repoInputRef = useRef<HTMLInputElement>(null);\n\n const selectedRepo = repositories.find((r) => r.path === selectedRepositoryPath);\n const hasRepo = !!selectedRepositoryPath;\n\n // Reset state when drawer closes\n useEffect(() => {\n if (!open) {\n setBranchName('');\n setInputValue('');\n setComboboxOpen(false);\n setRepoOpen(false);\n setRepoQuery('');\n }\n }, [open]);\n\n // Reset branch selection when repository changes\n useEffect(() => {\n setBranchName('');\n setInputValue('');\n }, [selectedRepositoryPath]);\n\n const handleSubmit = useCallback(\n (e: React.FormEvent) => {\n e.preventDefault();\n const trimmed = branchName.trim();\n if (!trimmed || !selectedRepositoryPath || isSubmitting) return;\n onSubmit(trimmed, selectedRepositoryPath);\n },\n [branchName, selectedRepositoryPath, isSubmitting, onSubmit]\n );\n\n const handleClose = useCallback(() => {\n setBranchName('');\n setInputValue('');\n onClose();\n }, [onClose]);\n\n const handleSelect = useCallback((branch: string) => {\n setBranchName(branch);\n setInputValue(branch);\n setComboboxOpen(false);\n }, []);\n\n const handleInputChange = useCallback(\n (e: React.ChangeEvent<HTMLInputElement>) => {\n setInputValue(e.target.value);\n if (!comboboxOpen) setComboboxOpen(true);\n },\n [comboboxOpen]\n );\n\n const handleInputKeyDown = useCallback(\n (e: React.KeyboardEvent<HTMLInputElement>) => {\n if (e.key === 'Enter') {\n e.preventDefault();\n const trimmed = inputValue.trim();\n if (trimmed) {\n setBranchName(trimmed);\n setComboboxOpen(false);\n }\n }\n if (e.key === 'Escape') {\n setComboboxOpen(false);\n setInputValue(branchName);\n }\n },\n [inputValue, branchName]\n );\n\n const handleRepoSelect = useCallback(\n (path: string) => {\n onRepositoryChange?.(path);\n setRepoOpen(false);\n setRepoQuery('');\n },\n [onRepositoryChange]\n );\n\n const filteredBranches = branches.filter((b) =>\n b.toLowerCase().includes(inputValue.toLowerCase())\n );\n\n const filteredRepos = repoQuery.trim()\n ? repositories.filter(\n (r) =>\n r.name.toLowerCase().includes(repoQuery.toLowerCase()) ||\n r.path.toLowerCase().includes(repoQuery.toLowerCase())\n )\n : repositories;\n\n useEffect(() => {\n if (repoOpen) {\n setTimeout(() => repoInputRef.current?.focus(), 0);\n } else {\n setRepoQuery('');\n }\n }, [repoOpen]);\n\n const isDisabled = !branchName.trim() || !selectedRepositoryPath || isSubmitting;\n\n const header = (\n <div>\n <DrawerTitle className=\"flex items-center gap-2\">\n <GitBranch className=\"h-4 w-4\" />\n Adopt Branch\n </DrawerTitle>\n <DrawerDescription className=\"text-muted-foreground text-sm\">\n Import an existing git branch into Shep's feature tracking\n </DrawerDescription>\n </div>\n );\n\n return (\n <BaseDrawer\n open={open}\n onClose={handleClose}\n size=\"sm\"\n modal={false}\n header={header}\n data-testid=\"adopt-branch-drawer\"\n >\n <form onSubmit={handleSubmit} className=\"flex flex-1 flex-col\">\n <div className=\"flex-1 overflow-y-auto p-4\">\n <div className=\"flex flex-col gap-4\">\n {/* Repository selector */}\n <div className=\"flex flex-col gap-2\">\n <Label>Repository</Label>\n <Popover open={repoOpen} onOpenChange={setRepoOpen}>\n <PopoverTrigger asChild>\n <button\n type=\"button\"\n role=\"combobox\"\n aria-expanded={repoOpen}\n aria-label=\"Repository\"\n disabled={isSubmitting}\n data-testid=\"adopt-repo-combobox\"\n className={cn(\n 'border-input bg-background ring-offset-background focus:ring-ring flex h-9 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50',\n !selectedRepo && 'text-muted-foreground'\n )}\n >\n <span className=\"truncate\">\n {selectedRepo ? selectedRepo.name : 'Select repository...'}\n </span>\n <ChevronsUpDown className=\"ms-2 h-4 w-4 shrink-0 opacity-50\" />\n </button>\n </PopoverTrigger>\n <PopoverContent\n className=\"w-80 p-0\"\n align=\"start\"\n data-testid=\"adopt-repo-combobox-content\"\n >\n <div className=\"flex flex-col\">\n <div className=\"border-b p-2\">\n <Input\n ref={repoInputRef}\n placeholder=\"Search repositories...\"\n value={repoQuery}\n onChange={(e) => setRepoQuery(e.target.value)}\n className=\"h-8 border-0 p-0 text-sm shadow-none focus-visible:ring-0\"\n data-testid=\"adopt-repo-search\"\n />\n </div>\n <div\n className=\"max-h-48 overflow-y-auto py-1\"\n role=\"listbox\"\n aria-label=\"Repositories\"\n >\n {filteredRepos.length === 0 ? (\n <p className=\"text-muted-foreground px-3 py-2 text-sm\">\n No repositories found.\n </p>\n ) : (\n filteredRepos.map((r) => (\n <button\n key={r.id}\n type=\"button\"\n role=\"option\"\n aria-selected={selectedRepositoryPath === r.path}\n onClick={() => handleRepoSelect(r.path)}\n className={cn(\n 'hover:bg-accent hover:text-accent-foreground flex w-full items-center gap-2 px-3 py-2 text-sm',\n selectedRepositoryPath === r.path && 'bg-accent/50'\n )}\n data-testid={`adopt-repo-option-${r.id}`}\n >\n <CheckIcon\n className={cn(\n 'h-4 w-4 shrink-0',\n selectedRepositoryPath !== r.path && 'invisible'\n )}\n />\n <span className=\"flex flex-col items-start truncate\">\n <span className=\"truncate\">{r.name}</span>\n <span className=\"text-muted-foreground truncate text-xs\">\n {r.path}\n </span>\n </span>\n </button>\n ))\n )}\n </div>\n </div>\n </PopoverContent>\n </Popover>\n <p className=\"text-muted-foreground text-xs\">\n Select the repository that contains the branch you want to adopt.\n </p>\n </div>\n\n {/* Branch selector */}\n <div className=\"flex flex-col gap-2\">\n <Label htmlFor=\"branch-name\">Branch name</Label>\n <Popover open={comboboxOpen} onOpenChange={setComboboxOpen}>\n <PopoverTrigger asChild>\n <Button\n variant=\"outline\"\n role=\"combobox\"\n aria-expanded={comboboxOpen}\n disabled={isSubmitting || !hasRepo}\n className=\"w-full justify-between font-normal\"\n data-testid=\"adopt-branch-input\"\n >\n <span className=\"truncate\">\n {!hasRepo\n ? 'Select a repository first...'\n : branchesLoading\n ? 'Loading branches...'\n : branchName || 'Select a branch...'}\n </span>\n <ChevronsUpDown className=\"ms-2 h-4 w-4 shrink-0 opacity-50\" />\n </Button>\n </PopoverTrigger>\n <PopoverContent\n className=\"w-[var(--radix-popover-trigger-width)] p-0\"\n align=\"start\"\n >\n <Command>\n <CommandInput\n ref={inputRef}\n placeholder=\"Search branches...\"\n value={inputValue}\n onChange={handleInputChange}\n onKeyDown={handleInputKeyDown}\n data-testid=\"adopt-branch-search\"\n />\n <CommandList>\n {!branchesLoading && filteredBranches.length === 0 && (\n <CommandEmpty>\n {branches.length === 0\n ? 'No branches found.'\n : inputValue\n ? 'No match — press Enter to use this value.'\n : 'No branches available.'}\n </CommandEmpty>\n )}\n {branchesLoading ? (\n <CommandEmpty>\n <Loader2 className=\"mx-auto h-4 w-4 animate-spin\" />\n </CommandEmpty>\n ) : null}\n {filteredBranches.length > 0 && (\n <CommandGroup>\n {filteredBranches.map((branch) => (\n <CommandItem\n key={branch}\n selected={branch === branchName}\n onClick={() => handleSelect(branch)}\n >\n <Check\n className={cn(\n 'me-2 h-4 w-4',\n branch === branchName ? 'opacity-100' : 'opacity-0'\n )}\n />\n <GitBranch className=\"me-2 h-3 w-3 opacity-50\" />\n {branch}\n </CommandItem>\n ))}\n </CommandGroup>\n )}\n </CommandList>\n </Command>\n </PopoverContent>\n </Popover>\n <p className=\"text-muted-foreground text-xs\">\n {hasRepo\n ? 'Select a branch from the dropdown or type to search. Local and remote branches are shown.'\n : 'Please select a repository above to see available branches.'}\n </p>\n </div>\n\n {error ? (\n <p className=\"text-destructive text-sm\" data-testid=\"adopt-branch-error\">\n {error}\n </p>\n ) : null}\n </div>\n </div>\n\n <div className=\"border-t p-4\">\n <div className=\"flex gap-2\">\n <Button\n type=\"button\"\n variant=\"outline\"\n onClick={handleClose}\n disabled={isSubmitting}\n className=\"flex-1\"\n >\n Cancel\n </Button>\n <Button\n type=\"submit\"\n disabled={isDisabled}\n className=\"flex-1\"\n data-testid=\"adopt-branch-submit\"\n >\n {isSubmitting ? (\n <>\n <Loader2 className=\"me-2 h-4 w-4 animate-spin\" />\n Adopting...\n </>\n ) : (\n 'Adopt Branch'\n )}\n </Button>\n </div>\n </div>\n </form>\n </BaseDrawer>\n );\n}\n","'use client';\n\nimport * as React from 'react';\nimport { Search } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/**\n * Command — minimal combobox primitives for model/item selection.\n *\n * Intentionally avoids the `cmdk` dependency and builds on native React +\n * Tailwind instead. Filtering logic lives in the consumer component.\n */\n\nconst Command = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md',\n className\n )}\n {...props}\n />\n )\n);\nCommand.displayName = 'Command';\n\nconst CommandInput = React.forwardRef<\n HTMLInputElement,\n React.InputHTMLAttributes<HTMLInputElement>\n>(({ className, ...props }, ref) => (\n <div className=\"flex items-center border-b px-3\">\n <Search className=\"me-2 h-4 w-4 shrink-0 opacity-50\" />\n <input\n ref={ref}\n className={cn(\n 'placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n />\n </div>\n));\nCommandInput.displayName = 'CommandInput';\n\nconst CommandList = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('max-h-[300px] overflow-x-hidden overflow-y-auto', className)}\n {...props}\n />\n )\n);\nCommandList.displayName = 'CommandList';\n\nconst CommandEmpty = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('text-muted-foreground py-6 text-center text-sm', className)}\n {...props}\n />\n )\n);\nCommandEmpty.displayName = 'CommandEmpty';\n\nconst CommandGroup = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('text-foreground overflow-hidden p-1', className)} {...props} />\n )\n);\nCommandGroup.displayName = 'CommandGroup';\n\ninterface CommandItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n selected?: boolean;\n}\n\nconst CommandItem = React.forwardRef<HTMLButtonElement, CommandItemProps>(\n ({ className, selected, ...props }, ref) => (\n <button\n ref={ref}\n type=\"button\"\n data-selected={selected}\n className={cn(\n 'relative flex w-full cursor-default items-center rounded-sm px-2 py-1.5 text-sm transition-colors outline-none select-none',\n 'hover:bg-accent hover:text-accent-foreground',\n 'data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground',\n 'disabled:pointer-events-none disabled:opacity-50',\n className\n )}\n {...props}\n />\n )\n);\nCommandItem.displayName = 'CommandItem';\n\nconst CommandSeparator = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('bg-border -mx-1 h-px', className)} {...props} />\n )\n);\nCommandSeparator.displayName = 'CommandSeparator';\n\nexport {\n Command,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandSeparator,\n};\n"],"names":[],"mappings":"uCAmBA,CAAA,CAAA,CAAA,CAAA,AAAM,CAAN,CAAM,CAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAjB,AAAiB,CAAjB,AAAiB,CAAjB,AAAiB,CAAA,CAAA,CAAA,CAAA,IAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAhBJ,CAgBwB,AAf1D,CAe0D,AAfzD,CAeyD,AAfzD,CAAA,AAeyD,CAAA,AAfzD,CAAA,AAeyD,CAfzD,AAeyD,CAfzD,AAeyD,CAAA,AAfzD,AAAQ,CAeiD,AAfjD,AAAE,CAeyD,CAftD,AAesD,CAftD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAAiB,CAAA,CAAA,CAA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B,OAAS,GACT,GAAgB,GAChB,EAAO,IAAI,CAAC,KAEZ,EAAY,YAAE,EAAY,eAAgB,CAAS,GAChD,IAAI,CAAE,AAAD,IACJ,AAAI,EAAO,KAAK,CACd,CADgB,CAChB,KAAK,CAAC,KAAK,CAAC,EAAO,KAAK,GAG1B,OAAO,aAAa,CAClB,IAAI,YAAY,uBAAwB,CACtC,OAAQ,CACN,UAAW,EAAO,OAAO,CAAE,EAAE,CAC7B,KAAM,EAAO,OAAO,CAAE,IAAI,CAC1B,YAAa,EAAO,OAAO,CAAE,WAAW,CACxC,eAAgB,EAAO,OAAO,CAAE,cAAc,AAChD,CACF,IAEF,EAAA,KAAK,CAAC,OAAO,CAAC,CAAC,mBAAmB,EAAE,EAAO,OAAO,CAAE,IAAI,CAAC,CAAC,CAAC,EAC7D,GACC,KAAK,CAAC,KACL,EAAA,KAAK,CAAC,KAAK,CAAC,0BACZ,GAAgB,EAClB,EACJ,EACA,CAAC,EAAO,EAGV,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,CACC,KAAM,EACN,QAAS,EACT,SAAU,EACV,aAAc,EACd,MAAO,EACP,aAAc,EACd,uBAAwB,EACxB,mBAAoB,EACpB,SAAU,EACV,gBAAiB,GAGvB","ignoreList":[0]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[399517,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return l},NOT_FOUND_SEGMENT_KEY:function(){return m},PAGE_SEGMENT_KEY:function(){return k},addSearchParamsIfPageSegment:function(){return i},computeSelectedLayoutSegment:function(){return j},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return!h||h.startsWith(k)?e:(e.push(h),a(g,c,!1,e))}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(a.includes(k)){let a=JSON.stringify(b);return"{}"!==a?k+"?"+a:k}return a}function j(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===l?null:c}let k="__PAGE__",l="__DEFAULT__",m="/_not-found"},531378,a=>{"use strict";let b=(0,a.i(225700).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);a.s(["Search",()=>b],531378)},302807,889868,a=>{"use strict";let b=(0,a.i(225700).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["default",()=>b],889868),a.s(["X",()=>b],302807)},202811,a=>{"use strict";let b=(0,a.i(225700).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);a.s(["default",()=>b])},872016,151969,a=>{"use strict";let b=(0,a.i(225700).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);a.s(["default",()=>b],151969),a.s(["Check",()=>b],872016)},488064,707052,a=>{"use strict";let b=(0,a.i(225700).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["default",()=>b],707052),a.s(["Loader2",()=>b],488064)},976096,a=>{"use strict";let b=(0,a.i(225700).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);a.s(["default",()=>b])},642642,a=>{"use strict";let b=(0,a.i(225700).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);a.s(["default",()=>b])},85e4,a=>{"use strict";let b=(0,a.i(225700).default)("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]);a.s(["default",()=>b])},122366,273998,352751,a=>{"use strict";var b=a.i(707052);a.s(["Loader2Icon",()=>b.default],122366);var c=a.i(976096);a.s(["DownloadIcon",()=>c.default],273998);let d=(0,a.i(225700).default)("sticky-note",[["path",{d:"M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",key:"1dfntj"}],["path",{d:"M15 3v5a1 1 0 0 0 1 1h5",key:"6s6qgf"}]]);a.s(["StickyNoteIcon",()=>d],352751)},679620,a=>{"use strict";var b=a.i(556365),c=a.i(385536);function d({className:a,...d}){return(0,b.jsx)("textarea",{"data-slot":"textarea",className:(0,c.cn)("placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input field-sizing-content min-h-[80px] w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",a),...d})}a.s(["Textarea",()=>d])},26633,245902,350596,a=>{"use strict";var b=a.i(650049);a.s(["VisuallyHidden",0,b],26633);let c=(0,a.i(225700).default)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);a.s(["default",()=>c],245902),a.s(["FileIcon",()=>c],350596)},200307,730931,a=>{"use strict";var b=a.i(556365),c=a.i(302807),d=a.i(122366),e=a.i(273998),f=a.i(352751),g=a.i(385536),h=a.i(645670),i=a.i(679620),j=a.i(182934),k=a.i(26633),l=a.i(350596),m=a.i(642642),m=m;let n=(0,a.i(225700).default)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);var o=a.i(840617),o=o;a.i(118948);let p=new Set([".png",".jpg",".jpeg",".gif",".svg",".webp",".ico",".bmp"]),q=new Set([".ts",".tsx",".js",".jsx",".json",".yaml",".yml",".xml",".html",".css",".md"]);function r(a){if(0===a)return"0 B";let b=Math.floor(Math.log(a)/Math.log(1024));return`${(a/Math.pow(1024,b)).toFixed(+(0!==b))} ${["B","KB","MB","GB"][b]}`}let s=new Set([".png",".jpg",".jpeg",".gif",".svg",".webp",".ico",".bmp"]);function t(a,b){let c=new URLSearchParams({path:a,mimeType:b});return`/api/attachments/preview?${c.toString()}`}function u({name:a,size:u,mimeType:v,path:w,onRemove:x,loading:y=!1,disabled:z=!1,notes:A,onNotesChange:B}){let C,D,E=(C=a.lastIndexOf("."))>=0?a.slice(C).toLowerCase():"",F=p.has(E)?n:".pdf"===E?m.default:q.has(E)?o.default:l.FileIcon,G=".pdf"===E?"bg-red-50 text-red-600":p.has(E)?"bg-blue-50 text-blue-600":q.has(E)?"bg-emerald-50 text-emerald-600":"bg-gray-50 text-gray-600",H=(D=a.lastIndexOf("."))>=0&&s.has(a.slice(D).toLowerCase());if(y)return(0,b.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-md border",children:(0,b.jsx)(d.Loader2Icon,{className:"text-muted-foreground h-5 w-5 animate-spin"})});if(H){let d=(0,b.jsxs)("button",{type:"button",className:"relative block cursor-pointer rounded-md",children:[(0,b.jsx)("img",{src:t(w,v),alt:a,title:a,className:"h-12 w-12 rounded-md border object-cover transition-opacity hover:opacity-80"}),A?(0,b.jsx)("span",{className:"ring-background absolute -right-1 -bottom-1 flex h-4 w-4 items-center justify-center rounded-full bg-amber-500 text-white shadow-sm ring-2",children:(0,b.jsx)(f.StickyNoteIcon,{className:"h-2.5 w-2.5"})}):null]});return(0,b.jsx)(j.TooltipProvider,{delayDuration:200,children:(0,b.jsxs)(h.Dialog,{children:[(0,b.jsxs)(j.Tooltip,{children:[(0,b.jsxs)("div",{className:"group relative",children:[(0,b.jsx)(j.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(h.DialogTrigger,{asChild:!0,children:d})}),!z&&(0,b.jsx)("button",{type:"button",onClick:x,className:"absolute -top-1.5 -right-1.5 hidden h-5 w-5 cursor-pointer items-center justify-center rounded-full bg-black/70 text-white group-hover:flex","aria-label":`Remove ${a}`,children:(0,b.jsx)(c.X,{className:"h-3 w-3"})})]}),A?(0,b.jsx)(j.TooltipContent,{side:"top",sideOffset:10,className:"z-[80] max-w-[220px]",children:(0,b.jsx)("p",{className:"line-clamp-5 text-xs leading-snug whitespace-pre-wrap",children:A})}):null]}),(0,b.jsxs)(h.DialogContent,{className:"max-w-3xl gap-0 overflow-hidden border-0 p-0 [&>button:last-child]:!cursor-pointer [&>button:last-child]:!rounded-full [&>button:last-child]:!bg-black/70 [&>button:last-child]:!p-1.5 [&>button:last-child]:!text-white [&>button:last-child]:!opacity-100 [&>button:last-child]:!shadow-lg [&>button:last-child]:!backdrop-blur-md [&>button:last-child]:hover:!bg-black/90",children:[(0,b.jsx)(k.VisuallyHidden.Root,{children:(0,b.jsxs)(h.DialogTitle,{children:["Preview: ",a]})}),(0,b.jsx)("div",{className:"relative bg-black/90",children:(0,b.jsx)("img",{src:t(w,v),alt:a,className:"h-auto max-h-[70vh] w-full object-contain"})}),(0,b.jsxs)("div",{className:"bg-background flex flex-col gap-2 px-4 py-3",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[(0,b.jsx)("span",{className:"truncate text-sm font-medium",children:a}),(0,b.jsx)("span",{className:"text-muted-foreground text-xs",children:r(u)})]}),(0,b.jsx)("a",{href:t(w,v),download:a,className:"text-muted-foreground hover:text-foreground shrink-0 cursor-pointer rounded p-1.5 transition-colors","aria-label":`Download ${a}`,children:(0,b.jsx)(e.DownloadIcon,{className:"h-4 w-4"})})]}),B?(0,b.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,b.jsx)(i.Textarea,{placeholder:"Add notes about this image…",value:A??"",onChange:a=>B(a.target.value),rows:2,className:"resize-none text-sm","aria-label":"Image notes"}),A?.trim()?(0,b.jsx)("span",{className:"text-muted-foreground text-xs",children:"Auto-saved"}):null]}):A?(0,b.jsx)("p",{className:"text-muted-foreground text-sm whitespace-pre-wrap",children:A}):null]})]})]})})}return(0,b.jsxs)("div",{className:"group relative flex items-center gap-2 rounded-full border py-1 ps-2 pe-3",children:[(0,b.jsx)("div",{className:(0,g.cn)("flex h-6 w-6 shrink-0 items-center justify-center rounded-full",G),children:(0,b.jsx)(F,{className:"h-3 w-3"})}),(0,b.jsx)("span",{className:"max-w-[120px] truncate text-sm",children:a}),(0,b.jsx)("span",{className:"text-muted-foreground text-xs",children:r(u)}),!z&&(0,b.jsx)("button",{type:"button",onClick:x,className:"absolute -top-1.5 -right-1.5 hidden h-5 w-5 cursor-pointer items-center justify-center rounded-full bg-black/70 text-white group-hover:flex","aria-label":`Remove ${a}`,children:(0,b.jsx)(c.X,{className:"h-3 w-3"})})]})}a.s(["AttachmentChip",()=>u],730931),a.s([],200307)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_57643324._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../node_modules/.pnpm/next%4016.1.6_%40babel%2Bcore%407.29.0_%40opentelemetry%2Bapi%401.9.0_%40playwright%2Btest%401.58.1_react-d_d9c18bd661a1e9b7c9abe9bc5eac27bd/node_modules/next/src/shared/lib/segment.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/search.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/x.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/circle-check.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/check.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/loader-circle.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/download.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/file-text.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/paperclip.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/sticky-note.ts","../../../../../../../src/presentation/web/components/ui/textarea.tsx","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/file.ts","../../../../../../../src/presentation/web/components/common/attachment-chip/attachment-chip.tsx","../../../../../../../src/presentation/web/components/common/attachment-card/attachment-card.tsx","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/image.ts"],"sourcesContent":["import type { FlightRouterState, Segment } from './app-router-types'\n\nexport function getSegmentValue(segment: Segment) {\n return Array.isArray(segment) ? segment[1] : segment\n}\n\nexport function isGroupSegment(segment: string) {\n // Use array[0] for performant purpose\n return segment[0] === '(' && segment.endsWith(')')\n}\n\nexport function isParallelRouteSegment(segment: string) {\n return segment.startsWith('@') && segment !== '@children'\n}\n\nexport function addSearchParamsIfPageSegment(\n segment: Segment,\n searchParams: Record<string, string | string[] | undefined>\n) {\n const isPageSegment = segment.includes(PAGE_SEGMENT_KEY)\n\n if (isPageSegment) {\n const stringifiedQuery = JSON.stringify(searchParams)\n return stringifiedQuery !== '{}'\n ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n : PAGE_SEGMENT_KEY\n }\n\n return segment\n}\n\nexport function computeSelectedLayoutSegment(\n segments: string[] | null,\n parallelRouteKey: string\n): string | null {\n if (!segments || segments.length === 0) {\n return null\n }\n\n // For 'children', use first segment; for other parallel routes, use last segment\n const rawSegment =\n parallelRouteKey === 'children'\n ? segments[0]\n : segments[segments.length - 1]\n\n // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n // Returning an internal value like `__DEFAULT__` would be confusing\n return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment\n}\n\n/** Get the canonical parameters from the current level to the leaf node. */\nexport function getSelectedLayoutSegmentPath(\n tree: FlightRouterState,\n parallelRouteKey: string,\n first = true,\n segmentPath: string[] = []\n): string[] {\n let node: FlightRouterState\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey]\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1]\n node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]\n }\n\n if (!node) return segmentPath\n const segment = node[0]\n\n let segmentValue = getSegmentValue(segment)\n\n if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n return segmentPath\n }\n\n segmentPath.push(segmentValue)\n\n return getSelectedLayoutSegmentPath(\n node,\n parallelRouteKey,\n false,\n segmentPath\n )\n}\n\nexport const PAGE_SEGMENT_KEY = '__PAGE__'\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__'\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found'\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n];\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon('search', __iconNode);\n\nexport default Search;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M18 6 6 18', key: '1bl5f8' }],\n ['path', { d: 'm6 6 12 12', key: 'd8bk6v' }],\n];\n\n/**\n * @component @name X\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/x\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst X = createLucideIcon('x', __iconNode);\n\nexport default X;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'm9 12 2 2 4-4', key: 'dzmm74' }],\n];\n\n/**\n * @component @name CircleCheck\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/circle-check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheck = createLucideIcon('circle-check', __iconNode);\n\nexport default CircleCheck;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M20 6 9 17l-5-5', key: '1gmf2c' }]];\n\n/**\n * @component @name Check\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Check = createLucideIcon('check', __iconNode);\n\nexport default Check;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M21 12a9 9 0 1 1-6.219-8.56', key: '13zald' }]];\n\n/**\n * @component @name LoaderCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/loader-circle\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst LoaderCircle = createLucideIcon('loader-circle', __iconNode);\n\nexport default LoaderCircle;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 15V3', key: 'm9g1x1' }],\n ['path', { d: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4', key: 'ih7n3h' }],\n ['path', { d: 'm7 10 5 5 5-5', key: 'brsn70' }],\n];\n\n/**\n * @component @name Download\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/download\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Download = createLucideIcon('download', __iconNode);\n\nexport default Download;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z',\n key: '1oefj6',\n },\n ],\n ['path', { d: 'M14 2v5a1 1 0 0 0 1 1h5', key: 'wfsgrz' }],\n ['path', { d: 'M10 9H8', key: 'b1mrlr' }],\n ['path', { d: 'M16 13H8', key: 't4e002' }],\n ['path', { d: 'M16 17H8', key: 'z1uh3a' }],\n];\n\n/**\n * @component @name FileText\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/file-text\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst FileText = createLucideIcon('file-text', __iconNode);\n\nexport default FileText;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'm16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551',\n key: '1miecu',\n },\n ],\n];\n\n/**\n * @component @name Paperclip\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/paperclip\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Paperclip = createLucideIcon('paperclip', __iconNode);\n\nexport default Paperclip;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z',\n key: '1dfntj',\n },\n ],\n ['path', { d: 'M15 3v5a1 1 0 0 0 1 1h5', key: '6s6qgf' }],\n];\n\n/**\n * @component @name StickyNote\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/sticky-note\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst StickyNote = createLucideIcon('sticky-note', __iconNode);\n\nexport default StickyNote;\n","import * as React from 'react';\n\nimport { cn } from '@/lib/utils';\n\nfunction Textarea({ className, ...props }: React.ComponentProps<'textarea'>) {\n return (\n <textarea\n data-slot=\"textarea\"\n className={cn(\n 'placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input field-sizing-content min-h-[80px] w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',\n 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',\n 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',\n className\n )}\n {...props}\n />\n );\n}\n\nexport { Textarea };\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z',\n key: '1oefj6',\n },\n ],\n ['path', { d: 'M14 2v5a1 1 0 0 0 1 1h5', key: 'wfsgrz' }],\n];\n\n/**\n * @component @name File\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/file\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst File = createLucideIcon('file', __iconNode);\n\nexport default File;\n","/* eslint-disable @next/next/no-img-element -- Local file preview requires raw <img>, not next/image */\n'use client';\n\nimport { X, Loader2Icon, DownloadIcon, StickyNoteIcon } from 'lucide-react';\nimport { cn } from '@/lib/utils';\nimport { Dialog, DialogTrigger, DialogContent, DialogTitle } from '@/components/ui/dialog';\nimport { Textarea } from '@/components/ui/textarea';\nimport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from '@/components/ui/tooltip';\nimport { VisuallyHidden } from 'radix-ui';\nimport {\n formatFileSize,\n getFileIcon,\n getFileIconColor,\n} from '@/components/common/attachment-card/attachment-card';\n\nexport interface AttachmentChipProps {\n name: string;\n size: number;\n mimeType: string;\n path: string;\n onRemove: () => void;\n loading?: boolean;\n disabled?: boolean;\n /** Optional notes attached to this image */\n notes?: string;\n /** Callback when user edits notes in the preview modal */\n onNotesChange?: (notes: string) => void;\n}\n\nconst IMAGE_EXTS = new Set(['.png', '.jpg', '.jpeg', '.gif', '.svg', '.webp', '.ico', '.bmp']);\n\nfunction isImage(name: string): boolean {\n const dot = name.lastIndexOf('.');\n return dot >= 0 && IMAGE_EXTS.has(name.slice(dot).toLowerCase());\n}\n\nfunction previewUrl(path: string, mimeType: string): string {\n const params = new URLSearchParams({ path, mimeType });\n return `/api/attachments/preview?${params.toString()}`;\n}\n\nfunction getExtension(filename: string): string {\n const dot = filename.lastIndexOf('.');\n return dot >= 0 ? filename.slice(dot).toLowerCase() : '';\n}\n\nexport function AttachmentChip({\n name,\n size,\n mimeType,\n path,\n onRemove,\n loading = false,\n disabled = false,\n notes,\n onNotesChange,\n}: AttachmentChipProps) {\n const ext = getExtension(name);\n const Icon = getFileIcon(ext);\n const iconColorClass = getFileIconColor(ext);\n const imageFile = isImage(name);\n\n if (loading) {\n return (\n <div className=\"flex h-12 w-12 items-center justify-center rounded-md border\">\n <Loader2Icon className=\"text-muted-foreground h-5 w-5 animate-spin\" />\n </div>\n );\n }\n\n if (imageFile) {\n const thumbnail = (\n <button type=\"button\" className=\"relative block cursor-pointer rounded-md\">\n <img\n src={previewUrl(path, mimeType)}\n alt={name}\n title={name}\n className=\"h-12 w-12 rounded-md border object-cover transition-opacity hover:opacity-80\"\n />\n {notes ? (\n <span className=\"ring-background absolute -right-1 -bottom-1 flex h-4 w-4 items-center justify-center rounded-full bg-amber-500 text-white shadow-sm ring-2\">\n <StickyNoteIcon className=\"h-2.5 w-2.5\" />\n </span>\n ) : null}\n </button>\n );\n\n return (\n <TooltipProvider delayDuration={200}>\n <Dialog>\n <Tooltip>\n <div className=\"group relative\">\n <TooltipTrigger asChild>\n <DialogTrigger asChild>{thumbnail}</DialogTrigger>\n </TooltipTrigger>\n {!disabled && (\n <button\n type=\"button\"\n onClick={onRemove}\n className=\"absolute -top-1.5 -right-1.5 hidden h-5 w-5 cursor-pointer items-center justify-center rounded-full bg-black/70 text-white group-hover:flex\"\n aria-label={`Remove ${name}`}\n >\n <X className=\"h-3 w-3\" />\n </button>\n )}\n </div>\n {notes ? (\n <TooltipContent side=\"top\" sideOffset={10} className=\"z-[80] max-w-[220px]\">\n <p className=\"line-clamp-5 text-xs leading-snug whitespace-pre-wrap\">{notes}</p>\n </TooltipContent>\n ) : null}\n </Tooltip>\n <DialogContent className=\"max-w-3xl gap-0 overflow-hidden border-0 p-0 [&>button:last-child]:!cursor-pointer [&>button:last-child]:!rounded-full [&>button:last-child]:!bg-black/70 [&>button:last-child]:!p-1.5 [&>button:last-child]:!text-white [&>button:last-child]:!opacity-100 [&>button:last-child]:!shadow-lg [&>button:last-child]:!backdrop-blur-md [&>button:last-child]:hover:!bg-black/90\">\n <VisuallyHidden.Root>\n <DialogTitle>Preview: {name}</DialogTitle>\n </VisuallyHidden.Root>\n <div className=\"relative bg-black/90\">\n <img\n src={previewUrl(path, mimeType)}\n alt={name}\n className=\"h-auto max-h-[70vh] w-full object-contain\"\n />\n </div>\n <div className=\"bg-background flex flex-col gap-2 px-4 py-3\">\n <div className=\"flex items-center gap-3\">\n <div className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"truncate text-sm font-medium\">{name}</span>\n <span className=\"text-muted-foreground text-xs\">{formatFileSize(size)}</span>\n </div>\n <a\n href={previewUrl(path, mimeType)}\n download={name}\n className=\"text-muted-foreground hover:text-foreground shrink-0 cursor-pointer rounded p-1.5 transition-colors\"\n aria-label={`Download ${name}`}\n >\n <DownloadIcon className=\"h-4 w-4\" />\n </a>\n </div>\n {onNotesChange ? (\n <div className=\"flex flex-col gap-1\">\n <Textarea\n placeholder=\"Add notes about this image…\"\n value={notes ?? ''}\n onChange={(e) => onNotesChange(e.target.value)}\n rows={2}\n className=\"resize-none text-sm\"\n aria-label=\"Image notes\"\n />\n {notes?.trim() ? (\n <span className=\"text-muted-foreground text-xs\">Auto-saved</span>\n ) : null}\n </div>\n ) : notes ? (\n <p className=\"text-muted-foreground text-sm whitespace-pre-wrap\">{notes}</p>\n ) : null}\n </div>\n </DialogContent>\n </Dialog>\n </TooltipProvider>\n );\n }\n\n return (\n <div className=\"group relative flex items-center gap-2 rounded-full border py-1 ps-2 pe-3\">\n <div\n className={cn(\n 'flex h-6 w-6 shrink-0 items-center justify-center rounded-full',\n iconColorClass\n )}\n >\n <Icon className=\"h-3 w-3\" />\n </div>\n <span className=\"max-w-[120px] truncate text-sm\">{name}</span>\n <span className=\"text-muted-foreground text-xs\">{formatFileSize(size)}</span>\n {!disabled && (\n <button\n type=\"button\"\n onClick={onRemove}\n className=\"absolute -top-1.5 -right-1.5 hidden h-5 w-5 cursor-pointer items-center justify-center rounded-full bg-black/70 text-white group-hover:flex\"\n aria-label={`Remove ${name}`}\n >\n <X className=\"h-3 w-3\" />\n </button>\n )}\n </div>\n );\n}\n","import type { LucideIcon } from 'lucide-react';\nimport { FileIcon, FileTextIcon, ImageIcon, CodeIcon, Trash2Icon, Loader2Icon } from 'lucide-react';\nimport { cn } from '@/lib/utils';\nimport { Button } from '@/components/ui/button';\n\nexport interface AttachmentCardProps {\n name: string;\n size: number;\n mimeType: string;\n onRemove: () => void;\n loading?: boolean;\n disabled?: boolean;\n /** Optional secondary text shown below the filename (e.g. file path). */\n subtitle?: string;\n}\n\nexport function AttachmentCard({\n name,\n size,\n mimeType: _mimeType,\n onRemove,\n loading = false,\n disabled = false,\n subtitle,\n}: AttachmentCardProps) {\n const ext = getExtension(name);\n const Icon = getFileIcon(ext);\n const iconColorClass = getFileIconColor(ext);\n\n return (\n <div className=\"flex items-center gap-3 rounded-md border p-2\">\n <div\n className={cn('flex h-8 w-8 shrink-0 items-center justify-center rounded', iconColorClass)}\n >\n <Icon className=\"h-4 w-4\" />\n </div>\n <div className=\"flex min-w-0 flex-1 flex-col\">\n <span className=\"truncate text-sm font-medium\">{name}</span>\n {subtitle ? (\n <span className=\"text-muted-foreground truncate text-xs\">{subtitle}</span>\n ) : null}\n <span className=\"text-muted-foreground text-xs\">\n {loading ? 'Uploading...' : formatFileSize(size)}\n </span>\n </div>\n {loading ? (\n <Loader2Icon className=\"text-muted-foreground h-4 w-4 animate-spin\" />\n ) : (\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"icon-xs\"\n onClick={onRemove}\n disabled={disabled}\n aria-label={`Remove ${name}`}\n >\n <Trash2Icon className=\"h-3 w-3\" />\n </Button>\n )}\n </div>\n );\n}\n\nfunction getExtension(filename: string): string {\n const dot = filename.lastIndexOf('.');\n return dot >= 0 ? filename.slice(dot).toLowerCase() : '';\n}\n\nconst IMAGE_EXTS = new Set(['.png', '.jpg', '.jpeg', '.gif', '.svg', '.webp', '.ico', '.bmp']);\nconst CODE_EXTS = new Set([\n '.ts',\n '.tsx',\n '.js',\n '.jsx',\n '.json',\n '.yaml',\n '.yml',\n '.xml',\n '.html',\n '.css',\n '.md',\n]);\n\nexport function getFileIcon(ext: string): LucideIcon {\n if (IMAGE_EXTS.has(ext)) return ImageIcon;\n if (ext === '.pdf') return FileTextIcon;\n if (CODE_EXTS.has(ext)) return CodeIcon;\n return FileIcon;\n}\n\nexport function getFileIconColor(ext: string): string {\n if (ext === '.pdf') return 'bg-red-50 text-red-600';\n if (IMAGE_EXTS.has(ext)) return 'bg-blue-50 text-blue-600';\n if (CODE_EXTS.has(ext)) return 'bg-emerald-50 text-emerald-600';\n return 'bg-gray-50 text-gray-600';\n}\n\nexport function formatFileSize(bytes: number): string {\n if (bytes === 0) return '0 B';\n const units = ['B', 'KB', 'MB', 'GB'];\n const i = Math.floor(Math.log(bytes) / Math.log(1024));\n return `${(bytes / Math.pow(1024, i)).toFixed(i === 0 ? 0 : 1)} ${units[i]}`;\n}\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '18', height: '18', x: '3', y: '3', rx: '2', ry: '2', key: '1m3agn' }],\n ['circle', { cx: '9', cy: '9', r: '2', key: 'af1f0g' }],\n ['path', { d: 'm21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21', key: '1xmnt7' }],\n];\n\n/**\n * @component @name Image\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/image\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Image = createLucideIcon('image', __iconNode);\n\nexport default Image;\n"],"names":["DEFAULT_SEGMENT_KEY","NOT_FOUND_SEGMENT_KEY","PAGE_SEGMENT_KEY","addSearchParamsIfPageSegment","computeSelectedLayoutSegment","getSegmentValue","getSelectedLayoutSegmentPath","isGroupSegment","isParallelRouteSegment","segment","Array","isArray","endsWith","startsWith","searchParams","isPageSegment","includes","stringifiedQuery","JSON","stringify","segments","parallelRouteKey","length","rawSegment","tree","first","segmentPath","node","parallelRoutes","children","Object","values","segment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700).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],771238)},428002,a=>{"use strict";let b=(0,a.i(225700).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>b],428002)},809955,a=>{"use strict";var b=a.i(976096);a.s(["Download",()=>b.default])},184117,a=>{"use strict";var b=a.i(556365),c=a.i(944592),d=a.i(385536);let e=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("bg-card text-card-foreground rounded-xl border shadow",a),...c}));e.displayName="Card";let f=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("flex flex-col space-y-1.5 p-6",a),...c}));f.displayName="CardHeader";let g=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("leading-none font-semibold tracking-tight",a),...c}));g.displayName="CardTitle";let h=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("text-muted-foreground text-sm",a),...c}));h.displayName="CardDescription";let i=c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("p-6 pt-0",a),...c}));i.displayName="CardContent",c.forwardRef(({className:a,...c},e)=>(0,b.jsx)("div",{ref:e,className:(0,d.cn)("flex items-center p-6 pt-0",a),...c})).displayName="CardFooter",a.s(["Card",()=>e,"CardContent",()=>i,"CardDescription",()=>h,"CardHeader",()=>f,"CardTitle",()=>g])},738702,516223,a=>{"use strict";var b=a.i(556365),c=a.i(385536);function d({icon:a,title:d,description:e,action:f,className:g,...h}){return(0,b.jsxs)("div",{className:(0,c.cn)("flex flex-col items-center gap-4 px-4 py-12 text-center",g),...h,children:[a?(0,b.jsx)("div",{className:"text-muted-foreground",children:a}):null,(0,b.jsx)("h3",{className:"text-lg font-semibold",children:d}),e?(0,b.jsx)("p",{className:"text-muted-foreground max-w-md text-sm",children:e}):null,f?(0,b.jsx)("div",{className:"mt-2",children:f}):null]})}a.s(["EmptyState",()=>d],516223),a.s([],738702)},955135,975550,a=>{"use strict";var b=a.i(556365),c=a.i(385536);function d({title:a,description:d,children:e,className:f}){return(0,b.jsxs)("header",{className:(0,c.cn)("flex items-center justify-between gap-4",f),children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)("h1",{className:"text-2xl font-bold tracking-tight",children:a}),d?(0,b.jsx)("p",{className:"text-muted-foreground",children:d}):null]}),e?(0,b.jsx)("div",{"data-slot":"actions",children:e}):null]})}a.s(["PageHeader",()=>d],975550),a.s([],955135)},896867,a=>{"use strict";var b=a.i(556365),c=a.i(944592),d=a.i(559653),e=a.i(406175),f=a.i(307420),g=a.i(417329),h=a.i(264005),i=a.i(474432),j=a.i(666873),k="Switch",[l,m]=(0,f.createContextScope)(k),[n,o]=l(k),p=c.forwardRef((a,f)=>{let{__scopeSwitch:h,name:i,checked:l,defaultChecked:m,required:o,disabled:p,value:q="on",onCheckedChange:r,form:u,...v}=a,[w,x]=c.useState(null),y=(0,e.useComposedRefs)(f,a=>x(a)),z=c.useRef(!1),A=!w||u||!!w.closest("form"),[B,C]=(0,g.useControllableState)({prop:l,defaultProp:m??!1,onChange:r,caller:k});return(0,b.jsxs)(n,{scope:h,checked:B,disabled:p,children:[(0,b.jsx)(j.Primitive.button,{type:"button",role:"switch","aria-checked":B,"aria-required":o,"data-state":t(B),"data-disabled":p?"":void 0,disabled:p,value:q,...v,ref:y,onClick:(0,d.composeEventHandlers)(a.onClick,a=>{C(a=>!a),A&&(z.current=a.isPropagationStopped(),z.current||a.stopPropagation())})}),A&&(0,b.jsx)(s,{control:w,bubbles:!z.current,name:i,value:q,checked:B,required:o,disabled:p,form:u,style:{transform:"translateX(-100%)"}})]})});p.displayName=k;var q="SwitchThumb",r=c.forwardRef((a,c)=>{let{__scopeSwitch:d,...e}=a,f=o(q,d);return(0,b.jsx)(j.Primitive.span,{"data-state":t(f.checked),"data-disabled":f.disabled?"":void 0,...e,ref:c})});r.displayName=q;var s=c.forwardRef(({__scopeSwitch:a,control:d,checked:f,bubbles:g=!0,...j},k)=>{let l=c.useRef(null),m=(0,e.useComposedRefs)(l,k),n=(0,h.usePrevious)(f),o=(0,i.useSize)(d);return c.useEffect(()=>{let a=l.current;if(!a)return;let b=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(n!==f&&b){let c=new Event("click",{bubbles:g});b.call(a,f),a.dispatchEvent(c)}},[n,f,g]),(0,b.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:f,...j,tabIndex:-1,ref:m,style:{...j.style,...o,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function t(a){return a?"checked":"unchecked"}s.displayName="SwitchBubbleInput",a.s(["Root",()=>p,"Switch",()=>p,"SwitchThumb",()=>r,"Thumb",()=>r,"createSwitchScope",()=>m],791918);var u=a.i(791918),u=u,v=a.i(385536);function w({className:a,size:c="default",...d}){return(0,b.jsx)(u.Root,{"data-slot":"switch","data-size":c,className:(0,v.cn)("peer group/switch focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80 inline-flex shrink-0 cursor-pointer items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6",a),...d,children:(0,b.jsx)(u.Thumb,{"data-slot":"switch-thumb",className:(0,v.cn)("bg-background dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 rtl:data-[state=checked]:-translate-x-[calc(100%-2px)]")})})}a.s(["Switch",()=>w],896867)},700751,a=>{"use strict";var b=a.i(556365),c=a.i(944592),d=a.i(91109),e=a.i(583332),f=a.i(952313);a.i(955135);var g=a.i(975550),h=a.i(216605),i=a.i(428002),j=a.i(488064),k=a.i(385536),l=a.i(184117),m=a.i(658339),n=a.i(118948),o=a.i(896867);a.i(738702);var p=a.i(516223),q=a.i(746847);let r={[q.PluginHealthStatus.Healthy]:"bg-emerald-500/15 text-emerald-700 dark:text-emerald-400",[q.PluginHealthStatus.Degraded]:"bg-amber-500/15 text-amber-700 dark:text-amber-400",[q.PluginHealthStatus.Unavailable]:"bg-red-500/15 text-red-700 dark:text-red-400",[q.PluginHealthStatus.Unknown]:"bg-zinc-500/15 text-zinc-600 dark:text-zinc-400"},s={[q.PluginType.Mcp]:"MCP",[q.PluginType.Hook]:"Hook",[q.PluginType.Cli]:"CLI"};function t({plugins:a,onToggle:d,onRemove:e,onCheckHealth:f}){let[g,q]=(0,c.useState)(new Set),[t,u]=(0,c.useState)(null),[v,w]=(0,c.useState)(new Set);if(0===a.length)return(0,b.jsx)(p.EmptyState,{title:"No plugins installed",description:"Browse the catalog to discover and install AI-native tool plugins."});let x=async(a,b)=>{if(d){q(b=>new Set(b).add(a));try{await d(a,b)}finally{q(b=>{let c=new Set(b);return c.delete(a),c})}}},y=async a=>{if(e){u(a);try{await e(a)}finally{u(null)}}},z=async a=>{if(f){w(b=>new Set(b).add(a));try{await f(a)}finally{w(b=>{let c=new Set(b);return c.delete(a),c})}}};return(0,b.jsx)("div",{className:"grid gap-3",children:a.map(a=>{let c=g.has(a.name),d=t===a.name,e=v.has(a.name);return(0,b.jsx)(l.Card,{children:(0,b.jsxs)(l.CardContent,{className:"flex items-center gap-4 p-4",children:[(0,b.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"truncate text-sm font-medium",children:a.displayName}),(0,b.jsx)(m.Badge,{variant:"outline",className:"shrink-0 text-[10px]",children:s[a.type]}),(0,b.jsx)(m.Badge,{variant:"secondary",className:(0,k.cn)("shrink-0 border-0 text-[10px]",r[a.healthStatus]),children:a.healthStatus})]}),a.description?(0,b.jsx)("p",{className:"text-muted-foreground mt-0.5 line-clamp-1 text-xs",children:a.description}):null]}),(0,b.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,b.jsx)(n.Button,{variant:"ghost",size:"icon-xs",onClick:()=>z(a.name),disabled:e||d,"aria-label":`Check health for ${a.displayName}`,children:(0,b.jsx)(i.RefreshCw,{className:(0,k.cn)("h-3.5 w-3.5",e&&"animate-spin")})}),(0,b.jsx)(o.Switch,{checked:a.enabled,onCheckedChange:b=>x(a.name,b),disabled:c||d,size:"sm","aria-label":`${a.enabled?"Disable":"Enable"} ${a.displayName}`}),(0,b.jsx)(n.Button,{variant:"ghost",size:"icon-xs",onClick:()=>y(a.name),disabled:d,className:"text-destructive hover:text-destructive","aria-label":`Remove ${a.displayName}`,children:d?(0,b.jsx)(j.Loader2,{className:"h-3.5 w-3.5 animate-spin"}):(0,b.jsx)(h.Trash2,{className:"h-3.5 w-3.5"})})]})]})},a.id)})})}var u=a.i(872016),v=a.i(809955),w=a.i(771238);let x={[q.PluginType.Mcp]:"MCP",[q.PluginType.Hook]:"Hook",[q.PluginType.Cli]:"CLI"};function y({catalog:a,onInstall:d}){let[e,f]=(0,c.useState)(null),g=async a=>{if(d){f(a);try{await d(a)}finally{f(null)}}};return(0,b.jsx)("div",{className:"grid gap-3",children:a.map(a=>{let c=e===a.name;return(0,b.jsx)(l.Card,{children:(0,b.jsxs)(l.CardContent,{className:"flex items-start gap-4 p-4",children:[(0,b.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"truncate text-sm font-medium",children:a.displayName}),(0,b.jsx)(m.Badge,{variant:"outline",className:"shrink-0 text-[10px]",children:x[a.type]})]}),(0,b.jsx)("p",{className:"text-muted-foreground mt-0.5 line-clamp-2 text-xs",children:a.description}),(0,b.jsxs)("div",{className:"text-muted-foreground mt-1.5 flex flex-wrap items-center gap-x-3 gap-y-1 text-[10px]",children:[(0,b.jsxs)("span",{children:["python"===a.runtimeType?"Python":"Node.js"," ",a.runtimeMinVersion,"+"]}),a.requiredEnvVars.length>0?(0,b.jsxs)("span",{children:["Requires: ",a.requiredEnvVars.join(", ")]}):null,a.homepageUrl?(0,b.jsxs)("a",{href:a.homepageUrl,target:"_blank",rel:"noopener noreferrer",className:"hover:text-foreground inline-flex items-center gap-0.5 transition-colors",children:[(0,b.jsx)(w.ExternalLink,{className:"h-2.5 w-2.5"}),"Docs"]}):null]})]}),(0,b.jsx)("div",{className:"shrink-0 pt-0.5",children:a.isInstalled?(0,b.jsxs)(m.Badge,{variant:"secondary",className:(0,k.cn)("border-0 text-[10px]","bg-emerald-500/15 text-emerald-700 dark:text-emerald-400"),children:[(0,b.jsx)(u.Check,{className:"mr-1 h-3 w-3"}),"Installed"]}):(0,b.jsxs)(n.Button,{variant:"outline",size:"sm",onClick:()=>g(a.name),disabled:c,className:"h-7 text-xs",children:[c?(0,b.jsx)(j.Loader2,{className:"mr-1 h-3 w-3 animate-spin"}):(0,b.jsx)(v.Download,{className:"mr-1 h-3 w-3"}),"Install"]})})]})},a.name)})})}var z=a.i(441305),A=a.i(289111);let B=(0,A.createServerReference)("4044408471f612e37f9d0c39d2e73e4d97ae4e17b7",A.callServer,void 0,A.findSourceMapURL,"addPlugin"),C=(0,A.createServerReference)("407976af7a69ac7485f20708aa9721d0e0e4ff427c",A.callServer,void 0,A.findSourceMapURL,"removePlugin"),D=(0,A.createServerReference)("6005f73680d9a0f7236dd3d018b6a5b3f67d9a14b9",A.callServer,void 0,A.findSourceMapURL,"togglePlugin"),E=(0,A.createServerReference)("4055b77c4bccc4fa4581b9e80056e5ad94e9c39a54",A.callServer,void 0,A.findSourceMapURL,"checkPluginHealth");function F({plugins:a,catalog:h}){let i=(0,d.useRouter)(),[j,k]=(0,c.useState)(a.length>0?"installed":"catalog"),l=(0,c.useCallback)(async(a,b)=>{let c=await D(a,b);c.error?f.toast.error(c.error):(f.toast.success(`${a} ${b?"enabled":"disabled"}`),i.refresh())},[i]),m=(0,c.useCallback)(async a=>{let b=await C(a);b.error?f.toast.error(b.error):(f.toast.success(`${a} removed`),i.refresh())},[i]),n=(0,c.useCallback)(async a=>{let b=await E(a);if(b.error)f.toast.error(b.error);else if(b.results?.[0]){let c=b.results[0];f.toast.info(`${a}: ${c.status} — ${c.message}`),i.refresh()}},[i]),o=(0,c.useCallback)(async a=>{let b=await B(a);b.error?f.toast.error(b.error):(f.toast.success(`${a} installed`),k("installed"),i.refresh())},[i]);return(0,b.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,b.jsx)(g.PageHeader,{title:"Plugins",description:"Manage AI-native tool plugins for agentic workflows",children:(0,b.jsx)(e.Plug,{className:"text-muted-foreground h-5 w-5"})}),(0,b.jsxs)(z.Tabs,{value:j,onValueChange:k,children:[(0,b.jsxs)(z.TabsList,{children:[(0,b.jsxs)(z.TabsTrigger,{value:"installed",children:["Installed",a.length>0?` (${a.length})`:""]}),(0,b.jsx)(z.TabsTrigger,{value:"catalog",children:"Catalog"})]}),(0,b.jsx)(z.TabsContent,{value:"installed",children:(0,b.jsx)(t,{plugins:a,onToggle:l,onRemove:m,onCheckHealth:n})}),(0,b.jsx)(z.TabsContent,{value:"catalog",children:(0,b.jsx)(y,{catalog:h,onInstall:o})})]})]})}a.s(["PluginsPageClient",()=>F],700751)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_6a252f90._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/external-link.ts","../../../../../../../node_modules/.pnpm/lucide-react%400.563.0_react%4019.2.4/node_modules/lucide-react/src/icons/refresh-cw.ts","../../../../../../../src/presentation/web/components/ui/card.tsx","../../../../../../../src/presentation/web/components/common/empty-state/empty-state.tsx","../../../../../../../src/presentation/web/components/common/page-header/page-header.tsx","../../../../../../../node_modules/.pnpm/%40radix-ui%2Breact-switch%401.2.6_%40types%2Breact-dom%4019.2.3_%40types%2Breact%4019.2.10__%40types%2Breact_82f001e3bde9922eaefd6f7b0722a9bb/node_modules/%40radix-ui/react-switch/dist/index.mjs","../../../../../../../src/presentation/web/components/ui/switch.tsx","../../../../../../../src/presentation/web/app/plugins/plugins-page-client.tsx","../../../../../../../src/presentation/web/components/common/plugin-list/plugin-list.tsx","../../../../../../../src/presentation/web/components/common/plugin-catalog/plugin-catalog.tsx","../../../../../../../src/presentation/web/app/actions/data%3A6b0b61%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/app/actions/data%3Ada0557%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/app/actions/data%3Aa572a8%20%3Ctext/javascript%3E","../../../../../../../src/presentation/web/app/actions/data%3Af03863%20%3Ctext/javascript%3E"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M15 3h6v6', key: '1q9fwt' }],\n ['path', { d: 'M10 14 21 3', key: 'gplh6r' }],\n ['path', { d: 'M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6', key: 'a6xqqp' }],\n];\n\n/**\n * @component @name ExternalLink\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/external-link\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ExternalLink = createLucideIcon('external-link', __iconNode);\n\nexport default ExternalLink;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8', key: 'v9h5vc' }],\n ['path', { d: 'M21 3v5h-5', key: '1q7to0' }],\n ['path', { d: 'M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16', key: '3uifl3' }],\n ['path', { d: 'M8 16H3v5', key: '1cv678' }],\n];\n\n/**\n * @component @name RefreshCw\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/refresh-cw\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst RefreshCw = createLucideIcon('refresh-cw', __iconNode);\n\nexport default RefreshCw;\n","import * as React from 'react';\n\nimport { cn } from '@/lib/utils';\n\nconst Card = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('bg-card text-card-foreground rounded-xl border shadow', className)}\n {...props}\n />\n )\n);\nCard.displayName = 'Card';\n\nconst CardHeader = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('flex flex-col space-y-1.5 p-6', className)} {...props} />\n )\n);\nCardHeader.displayName = 'CardHeader';\n\nconst CardTitle = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('leading-none font-semibold tracking-tight', className)}\n {...props}\n />\n )\n);\nCardTitle.displayName = 'CardTitle';\n\nconst CardDescription = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('text-muted-foreground text-sm', className)} {...props} />\n )\n);\nCardDescription.displayName = 'CardDescription';\n\nconst CardContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('p-6 pt-0', className)} {...props} />\n )\n);\nCardContent.displayName = 'CardContent';\n\nconst CardFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('flex items-center p-6 pt-0', className)} {...props} />\n )\n);\nCardFooter.displayName = 'CardFooter';\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };\n","import type { ReactNode, HTMLAttributes } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {\n icon?: ReactNode;\n title: string;\n description?: string;\n action?: ReactNode;\n}\n\nexport function EmptyState({\n icon,\n title,\n description,\n action,\n className,\n ...props\n}: EmptyStateProps) {\n return (\n <div\n className={cn('flex flex-col items-center gap-4 px-4 py-12 text-center', className)}\n {...props}\n >\n {icon ? <div className=\"text-muted-foreground\">{icon}</div> : null}\n <h3 className=\"text-lg font-semibold\">{title}</h3>\n {description ? <p className=\"text-muted-foreground max-w-md text-sm\">{description}</p> : null}\n {action ? <div className=\"mt-2\">{action}</div> : null}\n </div>\n );\n}\n","import { cn } from '@/lib/utils';\n\nexport interface PageHeaderProps {\n title: string;\n description?: string;\n children?: React.ReactNode;\n className?: string;\n}\n\nexport function PageHeader({ title, description, children, className }: PageHeaderProps) {\n return (\n <header className={cn('flex items-center justify-between gap-4', className)}>\n <div className=\"space-y-1\">\n <h1 className=\"text-2xl font-bold tracking-tight\">{title}</h1>\n {description ? <p className=\"text-muted-foreground\">{description}</p> : null}\n </div>\n {children ? <div data-slot=\"actions\">{children}</div> : null}\n </header>\n );\n}\n","\"use client\";\n\n// src/switch.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar SWITCH_NAME = \"Switch\";\nvar [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);\nvar [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);\nvar Switch = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeSwitch,\n name,\n checked: checkedProp,\n defaultChecked,\n required,\n disabled,\n value = \"on\",\n onCheckedChange,\n form,\n ...switchProps\n } = props;\n const [button, setButton] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = button ? form || !!button.closest(\"form\") : true;\n const [checked, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked ?? false,\n onChange: onCheckedChange,\n caller: SWITCH_NAME\n });\n return /* @__PURE__ */ jsxs(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [\n /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...switchProps,\n ref: composedRefs,\n onClick: composeEventHandlers(props.onClick, (event) => {\n setChecked((prevChecked) => !prevChecked);\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n SwitchBubbleInput,\n {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name,\n value,\n checked,\n required,\n disabled,\n form,\n style: { transform: \"translateX(-100%)\" }\n }\n )\n ] });\n }\n);\nSwitch.displayName = SWITCH_NAME;\nvar THUMB_NAME = \"SwitchThumb\";\nvar SwitchThumb = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeSwitch, ...thumbProps } = props;\n const context = useSwitchContext(THUMB_NAME, __scopeSwitch);\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...thumbProps,\n ref: forwardedRef\n }\n );\n }\n);\nSwitchThumb.displayName = THUMB_NAME;\nvar BUBBLE_INPUT_NAME = \"SwitchBubbleInput\";\nvar SwitchBubbleInput = React.forwardRef(\n ({\n __scopeSwitch,\n control,\n checked,\n bubbles = true,\n ...props\n }, forwardedRef) => {\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(ref, forwardedRef);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = ref.current;\n if (!input) return;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(\n inputProto,\n \"checked\"\n );\n const setChecked = descriptor.set;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [prevChecked, checked, bubbles]);\n return /* @__PURE__ */ jsx(\n \"input\",\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: checked,\n ...props,\n tabIndex: -1,\n ref: composedRefs,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0\n }\n }\n );\n }\n);\nSwitchBubbleInput.displayName = BUBBLE_INPUT_NAME;\nfunction getState(checked) {\n return checked ? \"checked\" : \"unchecked\";\n}\nvar Root = Switch;\nvar Thumb = SwitchThumb;\nexport {\n Root,\n Switch,\n SwitchThumb,\n Thumb,\n createSwitchScope\n};\n//# sourceMappingURL=index.mjs.map\n","'use client';\n\nimport * as React from 'react';\nimport { Switch as SwitchPrimitive } from 'radix-ui';\n\nimport { cn } from '@/lib/utils';\n\nfunction Switch({\n className,\n size = 'default',\n ...props\n}: React.ComponentProps<typeof SwitchPrimitive.Root> & {\n size?: 'sm' | 'default';\n}) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n data-size={size}\n className={cn(\n 'peer group/switch focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80 inline-flex shrink-0 cursor-pointer items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6',\n className\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className={cn(\n 'bg-background dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 rtl:data-[state=checked]:-translate-x-[calc(100%-2px)]'\n )}\n />\n </SwitchPrimitive.Root>\n );\n}\n\nexport { Switch };\n","'use client';\n\nimport { useState, useCallback } from 'react';\nimport { useRouter } from 'next/navigation';\nimport { Plug } from 'lucide-react';\nimport { toast } from 'sonner';\nimport { PageHeader } from '@/components/common/page-header';\nimport { PluginList } from '@/components/common/plugin-list';\nimport { PluginCatalog } from '@/components/common/plugin-catalog';\nimport { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';\nimport { addPlugin } from '@/app/actions/add-plugin';\nimport { removePlugin } from '@/app/actions/remove-plugin';\nimport { togglePlugin } from '@/app/actions/toggle-plugin';\nimport { checkPluginHealth } from '@/app/actions/check-plugin-health';\nimport type { Plugin } from '@shepai/core/domain/generated/output';\nimport type { CatalogEntryWithStatus } from '@shepai/core/application/use-cases/plugins/get-plugin-catalog.use-case';\n\nexport interface PluginsPageClientProps {\n plugins: Plugin[];\n catalog: CatalogEntryWithStatus[];\n}\n\nexport function PluginsPageClient({ plugins, catalog }: PluginsPageClientProps) {\n const router = useRouter();\n const [activeTab, setActiveTab] = useState(plugins.length > 0 ? 'installed' : 'catalog');\n\n const handleToggle = useCallback(\n async (pluginName: string, enabled: boolean) => {\n const result = await togglePlugin(pluginName, enabled);\n if (result.error) {\n toast.error(result.error);\n } else {\n toast.success(`${pluginName} ${enabled ? 'enabled' : 'disabled'}`);\n router.refresh();\n }\n },\n [router]\n );\n\n const handleRemove = useCallback(\n async (pluginName: string) => {\n const result = await removePlugin(pluginName);\n if (result.error) {\n toast.error(result.error);\n } else {\n toast.success(`${pluginName} removed`);\n router.refresh();\n }\n },\n [router]\n );\n\n const handleCheckHealth = useCallback(\n async (pluginName: string) => {\n const result = await checkPluginHealth(pluginName);\n if (result.error) {\n toast.error(result.error);\n } else if (result.results?.[0]) {\n const health = result.results[0];\n toast.info(`${pluginName}: ${health.status} — ${health.message}`);\n router.refresh();\n }\n },\n [router]\n );\n\n const handleInstall = useCallback(\n async (pluginName: string) => {\n const result = await addPlugin(pluginName);\n if (result.error) {\n toast.error(result.error);\n } else {\n toast.success(`${pluginName} installed`);\n setActiveTab('installed');\n router.refresh();\n }\n },\n [router]\n );\n\n return (\n <div className=\"flex flex-col gap-6\">\n <PageHeader title=\"Plugins\" description=\"Manage AI-native tool plugins for agentic workflows\">\n <Plug className=\"text-muted-foreground h-5 w-5\" />\n </PageHeader>\n\n <Tabs value={activeTab} onValueChange={setActiveTab}>\n <TabsList>\n <TabsTrigger value=\"installed\">\n Installed{plugins.length > 0 ? ` (${plugins.length})` : ''}\n </TabsTrigger>\n <TabsTrigger value=\"catalog\">Catalog</TabsTrigger>\n </TabsList>\n\n <TabsContent value=\"installed\">\n <PluginList\n plugins={plugins}\n onToggle={handleToggle}\n onRemove={handleRemove}\n onCheckHealth={handleCheckHealth}\n />\n </TabsContent>\n\n <TabsContent value=\"catalog\">\n <PluginCatalog catalog={catalog} onInstall={handleInstall} />\n </TabsContent>\n </Tabs>\n </div>\n );\n}\n","'use client';\n\nimport { useState } from 'react';\nimport { Trash2, RefreshCw, Loader2 } from 'lucide-react';\nimport { cn } from '@/lib/utils';\nimport { Card, CardContent } from '@/components/ui/card';\nimport { Badge } from '@/components/ui/badge';\nimport { Button } from '@/components/ui/button';\nimport { Switch } from '@/components/ui/switch';\nimport { EmptyState } from '@/components/common/empty-state';\nimport { PluginHealthStatus, PluginType, type Plugin } from '@shepai/core/domain/generated/output';\n\nexport interface PluginListProps {\n plugins: Plugin[];\n onToggle?: (pluginName: string, enabled: boolean) => Promise<void>;\n onRemove?: (pluginName: string) => Promise<void>;\n onCheckHealth?: (pluginName: string) => Promise<void>;\n}\n\nconst HEALTH_BADGE_STYLES: Record<PluginHealthStatus, string> = {\n [PluginHealthStatus.Healthy]: 'bg-emerald-500/15 text-emerald-700 dark:text-emerald-400',\n [PluginHealthStatus.Degraded]: 'bg-amber-500/15 text-amber-700 dark:text-amber-400',\n [PluginHealthStatus.Unavailable]: 'bg-red-500/15 text-red-700 dark:text-red-400',\n [PluginHealthStatus.Unknown]: 'bg-zinc-500/15 text-zinc-600 dark:text-zinc-400',\n};\n\nconst TYPE_LABELS: Record<PluginType, string> = {\n [PluginType.Mcp]: 'MCP',\n [PluginType.Hook]: 'Hook',\n [PluginType.Cli]: 'CLI',\n};\n\nexport function PluginList({ plugins, onToggle, onRemove, onCheckHealth }: PluginListProps) {\n const [togglingPlugins, setTogglingPlugins] = useState<Set<string>>(new Set());\n const [removingPlugin, setRemovingPlugin] = useState<string | null>(null);\n const [checkingHealth, setCheckingHealth] = useState<Set<string>>(new Set());\n\n if (plugins.length === 0) {\n return (\n <EmptyState\n title=\"No plugins installed\"\n description=\"Browse the catalog to discover and install AI-native tool plugins.\"\n />\n );\n }\n\n const handleToggle = async (pluginName: string, enabled: boolean) => {\n if (!onToggle) return;\n setTogglingPlugins((prev) => new Set(prev).add(pluginName));\n try {\n await onToggle(pluginName, enabled);\n } finally {\n setTogglingPlugins((prev) => {\n const next = new Set(prev);\n next.delete(pluginName);\n return next;\n });\n }\n };\n\n const handleRemove = async (pluginName: string) => {\n if (!onRemove) return;\n setRemovingPlugin(pluginName);\n try {\n await onRemove(pluginName);\n } finally {\n setRemovingPlugin(null);\n }\n };\n\n const handleCheckHealth = async (pluginName: string) => {\n if (!onCheckHealth) return;\n setCheckingHealth((prev) => new Set(prev).add(pluginName));\n try {\n await onCheckHealth(pluginName);\n } finally {\n setCheckingHealth((prev) => {\n const next = new Set(prev);\n next.delete(pluginName);\n return next;\n });\n }\n };\n\n return (\n <div className=\"grid gap-3\">\n {plugins.map((plugin) => {\n const isToggling = togglingPlugins.has(plugin.name);\n const isRemoving = removingPlugin === plugin.name;\n const isChecking = checkingHealth.has(plugin.name);\n\n return (\n <Card key={plugin.id}>\n <CardContent className=\"flex items-center gap-4 p-4\">\n {/* Plugin info */}\n <div className=\"min-w-0 flex-1\">\n <div className=\"flex items-center gap-2\">\n <span className=\"truncate text-sm font-medium\">{plugin.displayName}</span>\n <Badge variant=\"outline\" className=\"shrink-0 text-[10px]\">\n {TYPE_LABELS[plugin.type]}\n </Badge>\n <Badge\n variant=\"secondary\"\n className={cn(\n 'shrink-0 border-0 text-[10px]',\n HEALTH_BADGE_STYLES[plugin.healthStatus]\n )}\n >\n {plugin.healthStatus}\n </Badge>\n </div>\n {plugin.description ? (\n <p className=\"text-muted-foreground mt-0.5 line-clamp-1 text-xs\">\n {plugin.description}\n </p>\n ) : null}\n </div>\n\n {/* Actions */}\n <div className=\"flex shrink-0 items-center gap-2\">\n <Button\n variant=\"ghost\"\n size=\"icon-xs\"\n onClick={() => handleCheckHealth(plugin.name)}\n disabled={isChecking || isRemoving}\n aria-label={`Check health for ${plugin.displayName}`}\n >\n <RefreshCw className={cn('h-3.5 w-3.5', isChecking && 'animate-spin')} />\n </Button>\n\n <Switch\n checked={plugin.enabled}\n onCheckedChange={(checked) => handleToggle(plugin.name, checked)}\n disabled={isToggling || isRemoving}\n size=\"sm\"\n aria-label={`${plugin.enabled ? 'Disable' : 'Enable'} ${plugin.displayName}`}\n />\n\n <Button\n variant=\"ghost\"\n size=\"icon-xs\"\n onClick={() => handleRemove(plugin.name)}\n disabled={isRemoving}\n className=\"text-destructive hover:text-destructive\"\n aria-label={`Remove ${plugin.displayName}`}\n >\n {isRemoving ? (\n <Loader2 className=\"h-3.5 w-3.5 animate-spin\" />\n ) : (\n <Trash2 className=\"h-3.5 w-3.5\" />\n )}\n </Button>\n </div>\n </CardContent>\n </Card>\n );\n })}\n </div>\n );\n}\n","'use client';\n\nimport { useState } from 'react';\nimport { Check, Download, Loader2, ExternalLink } from 'lucide-react';\nimport { cn } from '@/lib/utils';\nimport { Card, CardContent } from '@/components/ui/card';\nimport { Badge } from '@/components/ui/badge';\nimport { Button } from '@/components/ui/button';\nimport { PluginType } from '@shepai/core/domain/generated/output';\nimport type { CatalogEntryWithStatus } from '@shepai/core/application/use-cases/plugins/get-plugin-catalog.use-case';\n\nexport interface PluginCatalogProps {\n catalog: CatalogEntryWithStatus[];\n onInstall?: (pluginName: string) => Promise<void>;\n}\n\nconst TYPE_LABELS: Record<PluginType, string> = {\n [PluginType.Mcp]: 'MCP',\n [PluginType.Hook]: 'Hook',\n [PluginType.Cli]: 'CLI',\n};\n\nexport function PluginCatalog({ catalog, onInstall }: PluginCatalogProps) {\n const [installingPlugin, setInstallingPlugin] = useState<string | null>(null);\n\n const handleInstall = async (pluginName: string) => {\n if (!onInstall) return;\n setInstallingPlugin(pluginName);\n try {\n await onInstall(pluginName);\n } finally {\n setInstallingPlugin(null);\n }\n };\n\n return (\n <div className=\"grid gap-3\">\n {catalog.map((entry) => {\n const isInstalling = installingPlugin === entry.name;\n\n return (\n <Card key={entry.name}>\n <CardContent className=\"flex items-start gap-4 p-4\">\n {/* Plugin info */}\n <div className=\"min-w-0 flex-1\">\n <div className=\"flex items-center gap-2\">\n <span className=\"truncate text-sm font-medium\">{entry.displayName}</span>\n <Badge variant=\"outline\" className=\"shrink-0 text-[10px]\">\n {TYPE_LABELS[entry.type]}\n </Badge>\n </div>\n <p className=\"text-muted-foreground mt-0.5 line-clamp-2 text-xs\">\n {entry.description}\n </p>\n <div className=\"text-muted-foreground mt-1.5 flex flex-wrap items-center gap-x-3 gap-y-1 text-[10px]\">\n <span>\n {entry.runtimeType === 'python' ? 'Python' : 'Node.js'}{' '}\n {entry.runtimeMinVersion}+\n </span>\n {entry.requiredEnvVars.length > 0 ? (\n <span>Requires: {entry.requiredEnvVars.join(', ')}</span>\n ) : null}\n {entry.homepageUrl ? (\n <a\n href={entry.homepageUrl}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"hover:text-foreground inline-flex items-center gap-0.5 transition-colors\"\n >\n <ExternalLink className=\"h-2.5 w-2.5\" />\n Docs\n </a>\n ) : null}\n </div>\n </div>\n\n {/* Install button or installed badge */}\n <div className=\"shrink-0 pt-0.5\">\n {entry.isInstalled ? (\n <Badge\n variant=\"secondary\"\n className={cn(\n 'border-0 text-[10px]',\n 'bg-emerald-500/15 text-emerald-700 dark:text-emerald-400'\n )}\n >\n <Check className=\"mr-1 h-3 w-3\" />\n Installed\n </Badge>\n ) : (\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => handleInstall(entry.name)}\n disabled={isInstalling}\n className=\"h-7 text-xs\"\n >\n {isInstalling ? (\n <Loader2 className=\"mr-1 h-3 w-3 animate-spin\" />\n ) : (\n <Download className=\"mr-1 h-3 w-3\" />\n )}\n Install\n </Button>\n )}\n </div>\n </CardContent>\n </Card>\n );\n })}\n </div>\n );\n}\n","/* __next_internal_action_entry_do_not_use__ [{\"4044408471f612e37f9d0c39d2e73e4d97ae4e17b7\":\"addPlugin\"},\"src/presentation/web/app/actions/add-plugin.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"4044408471f612e37f9d0c39d2e73e4d97ae4e17b7\",callServer,void 0,findSourceMapURL,\"addPlugin\");export{$$RSC_SERVER_ACTION_0 as addPlugin};","/* __next_internal_action_entry_do_not_use__ [{\"407976af7a69ac7485f20708aa9721d0e0e4ff427c\":\"removePlugin\"},\"src/presentation/web/app/actions/remove-plugin.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"407976af7a69ac7485f20708aa9721d0e0e4ff427c\",callServer,void 0,findSourceMapURL,\"removePlugin\");export{$$RSC_SERVER_ACTION_0 as removePlugin};","/* __next_internal_action_entry_do_not_use__ [{\"6005f73680d9a0f7236dd3d018b6a5b3f67d9a14b9\":\"togglePlugin\"},\"src/presentation/web/app/actions/toggle-plugin.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"6005f73680d9a0f7236dd3d018b6a5b3f67d9a14b9\",callServer,void 0,findSourceMapURL,\"togglePlugin\");export{$$RSC_SERVER_ACTION_0 as togglePlugin};","/* __next_internal_action_entry_do_not_use__ [{\"4055b77c4bccc4fa4581b9e80056e5ad94e9c39a54\":\"checkPluginHealth\"},\"src/presentation/web/app/actions/check-plugin-health.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"4055b77c4bccc4fa4581b9e80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