@shepai/cli 1.155.0-pr485.4c45fca → 1.155.0-pr486.e53674d
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/UserProfile.yaml +0 -3
- package/dist/packages/core/src/domain/generated/output.d.ts +0 -14
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/domain/generated/output.js +0 -11
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +2 -4
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +2 -3
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-installer.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-installer.service.js +1 -3
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/claude-code.json +4 -3
- package/dist/src/presentation/cli/commands/_serve.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/_serve.command.js +3 -5
- package/dist/src/presentation/cli/commands/agent/approve.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/approve.command.js +4 -9
- package/dist/src/presentation/cli/commands/agent/delete.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/delete.command.js +5 -9
- package/dist/src/presentation/cli/commands/agent/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/index.js +1 -3
- package/dist/src/presentation/cli/commands/agent/logs.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/logs.command.js +5 -7
- package/dist/src/presentation/cli/commands/agent/ls.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/ls.command.js +10 -12
- package/dist/src/presentation/cli/commands/agent/reject.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/reject.command.js +5 -10
- package/dist/src/presentation/cli/commands/agent/resolve-run.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/resolve-run.js +2 -7
- package/dist/src/presentation/cli/commands/agent/show.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/show.command.js +6 -8
- package/dist/src/presentation/cli/commands/agent/stop.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/stop.command.js +4 -9
- package/dist/src/presentation/cli/commands/daemon/start-daemon.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/daemon/start-daemon.js +8 -10
- package/dist/src/presentation/cli/commands/daemon/stop-daemon.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/daemon/stop-daemon.js +3 -5
- package/dist/src/presentation/cli/commands/feat/adopt.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/adopt.command.js +12 -14
- package/dist/src/presentation/cli/commands/feat/approve.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/approve.command.js +6 -8
- package/dist/src/presentation/cli/commands/feat/archive.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/archive.command.js +8 -10
- package/dist/src/presentation/cli/commands/feat/del.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/del.command.js +15 -17
- package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/index.js +1 -2
- package/dist/src/presentation/cli/commands/feat/logs.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/logs.command.js +6 -8
- package/dist/src/presentation/cli/commands/feat/ls.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/ls.command.js +12 -14
- package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/new.command.js +37 -43
- package/dist/src/presentation/cli/commands/feat/reject.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/reject.command.js +9 -11
- package/dist/src/presentation/cli/commands/feat/resolve-waiting-feature.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/resolve-waiting-feature.js +5 -12
- package/dist/src/presentation/cli/commands/feat/resume.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/resume.command.js +6 -8
- package/dist/src/presentation/cli/commands/feat/review.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/review.command.js +15 -17
- package/dist/src/presentation/cli/commands/feat/show.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/show.command.js +45 -89
- package/dist/src/presentation/cli/commands/feat/start.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/start.command.js +10 -12
- package/dist/src/presentation/cli/commands/feat/unarchive.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/unarchive.command.js +6 -8
- package/dist/src/presentation/cli/commands/ide-open.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/ide-open.command.js +5 -10
- package/dist/src/presentation/cli/commands/install.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/install.command.js +21 -29
- package/dist/src/presentation/cli/commands/log-viewer.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/log-viewer.js +3 -6
- package/dist/src/presentation/cli/commands/repo/add.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/repo/add.command.js +10 -12
- package/dist/src/presentation/cli/commands/repo/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/repo/index.js +1 -3
- package/dist/src/presentation/cli/commands/repo/ls.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/repo/ls.command.js +9 -11
- package/dist/src/presentation/cli/commands/repo/resolve-repository.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/repo/resolve-repository.js +2 -7
- package/dist/src/presentation/cli/commands/repo/show.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/repo/show.command.js +10 -21
- package/dist/src/presentation/cli/commands/restart.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/restart.command.js +4 -6
- package/dist/src/presentation/cli/commands/run.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/run.command.js +17 -21
- package/dist/src/presentation/cli/commands/session/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/session/index.js +1 -3
- package/dist/src/presentation/cli/commands/session/ls.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/session/ls.command.js +9 -11
- package/dist/src/presentation/cli/commands/session/show.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/session/show.command.js +18 -26
- package/dist/src/presentation/cli/commands/settings/agent.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/settings/agent.command.js +8 -12
- package/dist/src/presentation/cli/commands/settings/ide.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/settings/ide.command.js +7 -13
- package/dist/src/presentation/cli/commands/settings/index.d.ts +0 -1
- package/dist/src/presentation/cli/commands/settings/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/settings/index.js +3 -7
- package/dist/src/presentation/cli/commands/settings/init.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/settings/init.command.js +7 -8
- package/dist/src/presentation/cli/commands/settings/model.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/settings/model.command.js +6 -7
- package/dist/src/presentation/cli/commands/settings/show.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/settings/show.command.js +3 -4
- package/dist/src/presentation/cli/commands/settings/workflow.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/settings/workflow.command.js +18 -20
- package/dist/src/presentation/cli/commands/start.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/start.command.js +3 -5
- package/dist/src/presentation/cli/commands/status.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/status.command.js +24 -32
- package/dist/src/presentation/cli/commands/stop.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/stop.command.js +2 -4
- package/dist/src/presentation/cli/commands/tools.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/tools.command.js +4 -8
- package/dist/src/presentation/cli/commands/ui.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/ui.command.js +10 -12
- package/dist/src/presentation/cli/commands/upgrade.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/upgrade.command.js +13 -18
- package/dist/src/presentation/cli/commands/version.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/version.command.js +3 -5
- package/dist/src/presentation/cli/index.js +1 -13
- package/dist/src/presentation/cli/ui/install-messages.d.ts.map +1 -1
- package/dist/src/presentation/cli/ui/install-messages.js +6 -16
- package/dist/src/presentation/tui/prompts/agent-select.prompt.d.ts +31 -13
- package/dist/src/presentation/tui/prompts/agent-select.prompt.d.ts.map +1 -1
- package/dist/src/presentation/tui/prompts/agent-select.prompt.js +15 -17
- package/dist/src/presentation/tui/prompts/auth-method.prompt.d.ts +11 -7
- package/dist/src/presentation/tui/prompts/auth-method.prompt.d.ts.map +1 -1
- package/dist/src/presentation/tui/prompts/auth-method.prompt.js +5 -7
- package/dist/src/presentation/tui/prompts/ide-select.prompt.d.ts.map +1 -1
- package/dist/src/presentation/tui/prompts/ide-select.prompt.js +1 -2
- package/dist/src/presentation/tui/prompts/prd-review-summary.prompt.d.ts.map +1 -1
- package/dist/src/presentation/tui/prompts/prd-review-summary.prompt.js +6 -8
- package/dist/src/presentation/tui/wizards/agent-config.wizard.d.ts.map +1 -1
- package/dist/src/presentation/tui/wizards/agent-config.wizard.js +1 -2
- package/dist/src/presentation/tui/wizards/github-import.wizard.d.ts.map +1 -1
- package/dist/src/presentation/tui/wizards/github-import.wizard.js +11 -15
- package/dist/src/presentation/tui/wizards/merge-review.wizard.d.ts.map +1 -1
- package/dist/src/presentation/tui/wizards/merge-review.wizard.js +8 -10
- package/dist/src/presentation/tui/wizards/onboarding/onboarding.wizard.d.ts.map +1 -1
- package/dist/src/presentation/tui/wizards/onboarding/onboarding.wizard.js +7 -10
- package/dist/src/presentation/tui/wizards/onboarding/steps/workflow-defaults.step.d.ts +41 -0
- package/dist/src/presentation/tui/wizards/onboarding/steps/workflow-defaults.step.d.ts.map +1 -1
- package/dist/src/presentation/tui/wizards/onboarding/steps/workflow-defaults.step.js +15 -15
- package/dist/src/presentation/tui/wizards/plan-review.wizard.d.ts.map +1 -1
- package/dist/src/presentation/tui/wizards/plan-review.wizard.js +8 -10
- package/dist/src/presentation/tui/wizards/prd-review.wizard.d.ts.map +1 -1
- package/dist/src/presentation/tui/wizards/prd-review.wizard.js +2 -3
- package/dist/src/presentation/web/app/layout.d.ts.map +1 -1
- package/dist/src/presentation/web/app/layout.js +2 -5
- package/dist/src/presentation/web/components/assistant-ui/thread.js +5 -5
- package/dist/src/presentation/web/components/common/attachment-chip/attachment-chip.js +1 -1
- package/dist/src/presentation/web/components/common/base-drawer/base-drawer.js +1 -1
- package/dist/src/presentation/web/components/common/ci-status-badge/ci-status-badge.js +3 -3
- package/dist/src/presentation/web/components/common/control-center-drawer/adopt-branch-drawer.js +4 -4
- package/dist/src/presentation/web/components/common/control-center-drawer/repository-drawer-client.js +1 -1
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/delete-feature-dialog/delete-feature-dialog.js +1 -3
- package/dist/src/presentation/web/components/common/deployment-status-badge/deployment-status-badge.js +2 -2
- package/dist/src/presentation/web/components/common/drawer-action-bar/drawer-action-bar.js +2 -2
- package/dist/src/presentation/web/components/common/empty-state/empty-state.stories.js +2 -2
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +2 -2
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/activity-tab.js +4 -4
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/branch-sync-status.js +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/log-tab.js +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/overview-tab.js +1 -1
- package/dist/src/presentation/web/components/common/feature-list-item/feature-list-item.js +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +2 -2
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js +22 -22
- package/dist/src/presentation/web/components/common/feature-node/feature-node.js +4 -4
- package/dist/src/presentation/web/components/common/feature-node/feature-sessions-dropdown.js +1 -1
- package/dist/src/presentation/web/components/common/feature-status-group/feature-status-group.js +1 -1
- package/dist/src/presentation/web/components/common/github-import-dialog/github-repo-browser.js +1 -1
- package/dist/src/presentation/web/components/common/merge-review/diff-view.js +2 -2
- package/dist/src/presentation/web/components/common/merge-review/merge-review.js +2 -2
- package/dist/src/presentation/web/components/common/prd-questionnaire/prd-questionnaire.js +3 -3
- package/dist/src/presentation/web/components/common/reject-feedback-dialog/reject-feedback-dialog.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/reject-feedback-dialog/reject-feedback-dialog.js +4 -6
- package/dist/src/presentation/web/components/common/repository-node/repository-node.js +3 -3
- package/dist/src/presentation/web/components/common/server-log-viewer/server-log-viewer.js +1 -1
- package/dist/src/presentation/web/components/common/task-progress-view/task-progress-view.js +2 -2
- package/dist/src/presentation/web/components/common/tech-decisions-review/tech-decisions-review.js +2 -2
- package/dist/src/presentation/web/components/common/version-badge/version-badge.js +1 -1
- package/dist/src/presentation/web/components/features/chat/ChatMessageBubble.js +4 -4
- package/dist/src/presentation/web/components/features/chat/ChatMessageList.js +1 -1
- package/dist/src/presentation/web/components/features/chat/ChatTab.js +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js +11 -15
- package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/welcome-agent-setup.js +6 -8
- package/dist/src/presentation/web/components/features/features-canvas/canvas-toolbar.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/canvas-toolbar.js +1 -3
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +2 -4
- package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.js +2 -2
- package/dist/src/presentation/web/components/features/settings/ModelPicker/index.js +2 -2
- package/dist/src/presentation/web/components/features/settings/agent-settings-section.js +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +77 -89
- package/dist/src/presentation/web/components/features/settings/timeout-slider.js +1 -1
- package/dist/src/presentation/web/components/features/skills/category-filter.js +1 -1
- package/dist/src/presentation/web/components/features/skills/skills-page-client.js +1 -1
- package/dist/src/presentation/web/components/features/tools/tool-card.js +1 -1
- package/dist/src/presentation/web/components/features/tools/tool-detail-drawer.js +2 -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 +4 -10
- package/dist/src/presentation/web/components/ui/alert-dialog.js +1 -1
- package/dist/src/presentation/web/components/ui/alert.js +1 -1
- package/dist/src/presentation/web/components/ui/checkbox-group.js +1 -1
- package/dist/src/presentation/web/components/ui/command.js +1 -1
- package/dist/src/presentation/web/components/ui/dialog.d.ts.map +1 -1
- package/dist/src/presentation/web/components/ui/dialog.js +2 -2
- package/dist/src/presentation/web/components/ui/dialog.stories.js +1 -1
- package/dist/src/presentation/web/components/ui/drawer.js +1 -1
- package/dist/src/presentation/web/components/ui/dropdown-menu.js +6 -6
- package/dist/src/presentation/web/components/ui/scroll-area.js +1 -1
- package/dist/src/presentation/web/components/ui/select.js +1 -1
- package/dist/src/presentation/web/components/ui/sheet.js +1 -1
- package/dist/src/presentation/web/components/ui/sidebar.js +6 -6
- package/dist/src/presentation/web/hooks/use-sound-action.stories.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -4
- package/web/.next/BUILD_ID +1 -1
- 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/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +28 -28
- 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 +26 -26
- 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 +29 -29
- 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 +36 -36
- 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 +36 -36
- 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 +26 -26
- 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 +26 -26
- 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 +26 -26
- 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 +29 -29
- 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 +36 -36
- 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 +36 -36
- 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 +26 -26
- 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 +26 -26
- 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 +26 -26
- 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.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 +5 -5
- 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/attachments/preview/route.js.nft.json +1 -1
- package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
- package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
- package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
- package/web/.next/server/app/settings/page/server-reference-manifest.json +8 -8
- package/web/.next/server/app/settings/page.js +2 -2
- package/web/.next/server/app/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/skills/page/server-reference-manifest.json +10 -10
- package/web/.next/server/app/skills/page.js +4 -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 +10 -10
- package/web/.next/server/app/tools/page.js +4 -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 +5 -5
- 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/chunks/[root-of-the-server]__a402b567._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__beda892a._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__beda892a._.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.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/[root-of-the-server]__0b150ddf._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0b150ddf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__27301e38._.js → [root-of-the-server]__17ed7ed1._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__27301e38._.js.map → [root-of-the-server]__17ed7ed1._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__8d27866c._.js → [root-of-the-server]__28d0d265._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__28d0d265._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__6fecf886._.js → [root-of-the-server]__42bf1807._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__6fecf886._.js.map → [root-of-the-server]__42bf1807._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__56b70465._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__56b70465._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5edfc56b._.js +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__209c9597._.js → [root-of-the-server]__88f7e8e6._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__209c9597._.js.map → [root-of-the-server]__88f7e8e6._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8b0aac03._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c30f1f82._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c30f1f82._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e91ffd5e._.js +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e91ffd5e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__9f3504c7._.js → [root-of-the-server]__f80bfc75._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__9f3504c7._.js.map → [root-of-the-server]__f80bfc75._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__25ee8d4c._.js → [root-of-the-server]__f8dd4422._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f8dd4422._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
- package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
- package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_3a0b989f._.js +2 -2
- package/web/.next/server/chunks/ssr/_3a0b989f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_41633e32._.js +3 -0
- package/web/.next/server/chunks/ssr/{_28e7429c._.js.map → _41633e32._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_4b432739._.js +3 -0
- package/web/.next/server/chunks/ssr/_4b432739._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_b9ba2473._.js → _507a8382._.js} +2 -2
- package/web/.next/server/chunks/ssr/_507a8382._.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/{_7773b2dc._.js → _59d0f988._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_7773b2dc._.js.map → _59d0f988._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_5f69c13f._.js +1 -1
- package/web/.next/server/chunks/ssr/_5f69c13f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_3bcda5d7._.js → _67104d9e._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_3bcda5d7._.js.map → _67104d9e._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_7c5b97c6._.js +1 -1
- package/web/.next/server/chunks/ssr/_7c5b97c6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_813095ef._.js +4 -0
- package/web/.next/server/chunks/ssr/_813095ef._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_8219712a._.js +3 -0
- package/web/.next/server/chunks/ssr/_8219712a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_82c57f10._.js +1 -1
- package/web/.next/server/chunks/ssr/_82c57f10._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_8b57edb8._.js +1 -1
- package/web/.next/server/chunks/ssr/_8b57edb8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_9495d50b._.js +1 -1
- package/web/.next/server/chunks/ssr/_9495d50b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_a0e3f7e4._.js +1 -1
- package/web/.next/server/chunks/ssr/_a0e3f7e4._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_ac4a3873._.js +1 -1
- package/web/.next/server/chunks/ssr/_ac4a3873._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_ca0aa7f0._.js +1 -1
- package/web/.next/server/chunks/ssr/_ca0aa7f0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_cb5a021e._.js +1 -1
- package/web/.next/server/chunks/ssr/_cb5a021e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_cfbd1d7e._.js +1 -1
- package/web/.next/server/chunks/ssr/_cfbd1d7e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d4b20e29._.js +1 -1
- package/web/.next/server/chunks/ssr/_d4b20e29._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d86175ae._.js +1 -1
- package/web/.next/server/chunks/ssr/_d86175ae._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_d8bedf13._.js +1 -1
- package/web/.next/server/chunks/ssr/_d8bedf13._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_e9a73a63._.js +9 -0
- package/web/.next/server/chunks/ssr/_e9a73a63._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_fa7efce3._.js +2 -2
- package/web/.next/server/chunks/ssr/_fa7efce3._.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/src_presentation_web_324a47da._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_324a47da._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_cdc632e3.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_skills_page_actions_cdc632e3.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_39ca0924.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_tools_page_actions_39ca0924.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_357e3eb0._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_357e3eb0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_3d0aa70c._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_tools_tools-page-client_tsx_3d0aa70c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.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 +45 -45
- package/web/.next/static/chunks/{47477ed4c5871747.js → 11091b676d1b3bd4.js} +1 -1
- package/web/.next/static/chunks/125b250c28113507.js +1 -0
- package/web/.next/static/chunks/{74db65fa7bfb80bd.js → 22c459f1877b1e4f.js} +1 -1
- package/web/.next/static/chunks/2817c3b9d560aaeb.js +1 -0
- package/web/.next/static/chunks/{24d5e151f7de6b4c.js → 42e9d0c76e624005.js} +1 -1
- package/web/.next/static/chunks/{e4e358c4f67366fd.js → 4b2c4a5c35ebb70d.js} +1 -1
- package/web/.next/static/chunks/{d6e702c209c413ce.js → 5ae60a052ab5f437.js} +2 -2
- package/web/.next/static/chunks/{3deefc76ea55047c.js → 688971d5bad5dc7c.js} +1 -1
- package/web/.next/static/chunks/{1c07a9270515f2e3.js → 6e6cd6218f76e404.js} +2 -2
- package/web/.next/static/chunks/7a1a68bdc20f0428.js +1 -0
- package/web/.next/static/chunks/8590bd2e69b24b9e.css +1 -0
- package/web/.next/static/chunks/{536afd754a63da39.js → 902c670cb337840c.js} +1 -1
- package/web/.next/static/chunks/{4978be67c4e6498f.js → a676d236e8214de3.js} +3 -3
- package/web/.next/static/chunks/a7c1cddd7d406fb8.js +7 -0
- package/web/.next/static/chunks/b3be394b3cc24151.js +1 -0
- package/web/.next/static/chunks/b4080e40597d7f8e.js +1 -0
- package/web/.next/static/chunks/{bfdb66301af07da1.js → b4cde06eff374c59.js} +2 -2
- package/web/.next/static/chunks/cd54b758f58061d0.js +1 -0
- package/web/.next/static/chunks/da980f1c277bafcb.js +2 -0
- package/web/.next/static/chunks/{b674bc11b321a5ee.js → ea823175bb410162.js} +1 -1
- package/apis/json-schema/Language.yaml +0 -13
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/049-add-language-preference.d.ts +0 -14
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/049-add-language-preference.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/049-add-language-preference.js +0 -19
- package/dist/src/presentation/cli/commands/settings/language.command.d.ts +0 -14
- package/dist/src/presentation/cli/commands/settings/language.command.d.ts.map +0 -1
- package/dist/src/presentation/cli/commands/settings/language.command.js +0 -79
- package/dist/src/presentation/cli/i18n.d.ts +0 -41
- package/dist/src/presentation/cli/i18n.d.ts.map +0 -1
- package/dist/src/presentation/cli/i18n.js +0 -100
- package/dist/src/presentation/tui/i18n.d.ts +0 -24
- package/dist/src/presentation/tui/i18n.d.ts.map +0 -1
- package/dist/src/presentation/tui/i18n.js +0 -48
- package/dist/src/presentation/web/components/features/settings/language-settings-section.d.ts +0 -5
- package/dist/src/presentation/web/components/features/settings/language-settings-section.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/language-settings-section.js +0 -54
- package/dist/src/presentation/web/components/features/settings/language-settings-section.stories.d.ts +0 -18
- package/dist/src/presentation/web/components/features/settings/language-settings-section.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/settings/language-settings-section.stories.js +0 -36
- package/dist/src/presentation/web/components/providers/i18n-provider.d.ts +0 -17
- package/dist/src/presentation/web/components/providers/i18n-provider.d.ts.map +0 -1
- package/dist/src/presentation/web/components/providers/i18n-provider.js +0 -36
- package/dist/src/presentation/web/lib/i18n.d.ts +0 -15
- package/dist/src/presentation/web/lib/i18n.d.ts.map +0 -1
- package/dist/src/presentation/web/lib/i18n.js +0 -46
- package/dist/src/presentation/web/lib/language.d.ts +0 -23
- package/dist/src/presentation/web/lib/language.d.ts.map +0 -1
- package/dist/src/presentation/web/lib/language.js +0 -37
- package/dist/src/presentation/web/lib/rtl-fonts.d.ts +0 -19
- package/dist/src/presentation/web/lib/rtl-fonts.d.ts.map +0 -1
- package/dist/src/presentation/web/lib/rtl-fonts.js +0 -51
- package/dist/translations/ar/cli.json +0 -613
- package/dist/translations/ar/common.json +0 -55
- package/dist/translations/ar/tui.json +0 -130
- package/dist/translations/ar/web.json +0 -320
- package/dist/translations/de/cli.json +0 -613
- package/dist/translations/de/common.json +0 -55
- package/dist/translations/de/tui.json +0 -109
- package/dist/translations/de/web.json +0 -306
- package/dist/translations/en/cli.json +0 -613
- package/dist/translations/en/common.json +0 -55
- package/dist/translations/en/tui.json +0 -130
- package/dist/translations/en/web.json +0 -320
- package/dist/translations/es/cli.json +0 -613
- package/dist/translations/es/common.json +0 -55
- package/dist/translations/es/tui.json +0 -130
- package/dist/translations/es/web.json +0 -320
- package/dist/translations/fr/cli.json +0 -613
- package/dist/translations/fr/common.json +0 -55
- package/dist/translations/fr/tui.json +0 -130
- package/dist/translations/fr/web.json +0 -320
- package/dist/translations/he/cli.json +0 -613
- package/dist/translations/he/common.json +0 -55
- package/dist/translations/he/tui.json +0 -130
- package/dist/translations/he/web.json +0 -320
- package/dist/translations/pt/cli.json +0 -613
- package/dist/translations/pt/common.json +0 -55
- package/dist/translations/pt/tui.json +0 -130
- package/dist/translations/pt/web.json +0 -320
- package/dist/translations/ru/cli.json +0 -613
- package/dist/translations/ru/common.json +0 -55
- package/dist/translations/ru/tui.json +0 -130
- package/dist/translations/ru/web.json +0 -320
- package/web/.next/server/chunks/ssr/[root-of-the-server]__25ee8d4c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8d27866c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bd6ed91a._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bd6ed91a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__dffa13c5._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__dffa13c5._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0cd9ca53._.js +0 -3
- package/web/.next/server/chunks/ssr/_0cd9ca53._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_28e7429c._.js +0 -3
- package/web/.next/server/chunks/ssr/_470e90f4._.js +0 -9
- package/web/.next/server/chunks/ssr/_470e90f4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_5bfcc8de._.js +0 -4
- package/web/.next/server/chunks/ssr/_5bfcc8de._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_b9ba2473._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_d90b0a06._.js +0 -3
- package/web/.next/server/chunks/ssr/_d90b0a06._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_55cf6695._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_55cf6695._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +0 -1
- package/web/.next/static/chunks/05c9ed792a1d9056.js +0 -1
- package/web/.next/static/chunks/2aada437f51df3e6.js +0 -1
- package/web/.next/static/chunks/2eeee9bcbf660a4b.js +0 -1
- package/web/.next/static/chunks/4a399ee2a9942a1b.js +0 -1
- package/web/.next/static/chunks/70390bd89521bc19.js +0 -1
- package/web/.next/static/chunks/8fd082719935d5e6.js +0 -1
- package/web/.next/static/chunks/91927044df8e28bb.js +0 -7
- package/web/.next/static/chunks/b1b5b0bf84caabd4.js +0 -1
- package/web/.next/static/chunks/b68b16b4c3528979.js +0 -2
- package/web/.next/static/chunks/d58e68d03d055a9b.css +0 -1
- /package/web/.next/static/{Uqo91vsr2HsZrCKrZOYMZ → _5yY0q7bqEA7bwlEo729P}/_buildManifest.js +0 -0
- /package/web/.next/static/{Uqo91vsr2HsZrCKrZOYMZ → _5yY0q7bqEA7bwlEo729P}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{Uqo91vsr2HsZrCKrZOYMZ → _5yY0q7bqEA7bwlEo729P}/_ssgManifest.js +0 -0
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
import { container } from '../../../../../packages/core/src/infrastructure/di/container.js';
|
|
5
5
|
import { GetAgentRunUseCase } from '../../../../../packages/core/src/application/use-cases/agents/get-agent-run.use-case.js';
|
|
6
6
|
import { ListAgentRunsUseCase } from '../../../../../packages/core/src/application/use-cases/agents/list-agent-runs.use-case.js';
|
|
7
|
-
import { getCliI18n } from '../../i18n.js';
|
|
8
7
|
export async function resolveAgentRun(id) {
|
|
9
|
-
const t = getCliI18n().t;
|
|
10
8
|
const getUseCase = container.resolve(GetAgentRunUseCase);
|
|
11
9
|
// Try exact match first
|
|
12
10
|
const exact = await getUseCase.execute(id);
|
|
@@ -21,12 +19,9 @@ export async function resolveAgentRun(id) {
|
|
|
21
19
|
return { run: matches[0] };
|
|
22
20
|
if (matches.length > 1) {
|
|
23
21
|
return {
|
|
24
|
-
error:
|
|
25
|
-
id,
|
|
26
|
-
matches: matches.map((m) => m.id.substring(0, 8)).join(', '),
|
|
27
|
-
}),
|
|
22
|
+
error: `Multiple runs match prefix "${id}": ${matches.map((m) => m.id.substring(0, 8)).join(', ')}`,
|
|
28
23
|
};
|
|
29
24
|
}
|
|
30
25
|
}
|
|
31
|
-
return { error:
|
|
26
|
+
return { error: `Agent run not found: ${id}` };
|
|
32
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/agent/show.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"show.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/agent/show.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,wBAAgB,iBAAiB,IAAI,OAAO,CAoG3C"}
|
|
@@ -12,7 +12,6 @@ import { colors, messages, symbols, renderDetailView } from '../../ui/index.js';
|
|
|
12
12
|
import { resolveAgentRun } from './resolve-run.js';
|
|
13
13
|
import { container } from '../../../../../packages/core/src/infrastructure/di/container.js';
|
|
14
14
|
import { computeWorktreePath } from '../../../../../packages/core/src/infrastructure/services/ide-launchers/compute-worktree-path.js';
|
|
15
|
-
import { getCliI18n } from '../../i18n.js';
|
|
16
15
|
function isProcessAlive(pid) {
|
|
17
16
|
try {
|
|
18
17
|
process.kill(pid, 0);
|
|
@@ -23,10 +22,9 @@ function isProcessAlive(pid) {
|
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
24
|
export function createShowCommand() {
|
|
26
|
-
const t = getCliI18n().t;
|
|
27
25
|
return new Command('show')
|
|
28
|
-
.description(
|
|
29
|
-
.argument('<id>',
|
|
26
|
+
.description('Display details of an agent run')
|
|
27
|
+
.argument('<id>', 'Agent run ID (or prefix)')
|
|
30
28
|
.action(async (id) => {
|
|
31
29
|
try {
|
|
32
30
|
const resolved = await resolveAgentRun(id);
|
|
@@ -75,7 +73,7 @@ export function createShowCommand() {
|
|
|
75
73
|
});
|
|
76
74
|
}
|
|
77
75
|
renderDetailView({
|
|
78
|
-
title:
|
|
76
|
+
title: 'Agent Run',
|
|
79
77
|
sections: [
|
|
80
78
|
{
|
|
81
79
|
fields: [
|
|
@@ -89,14 +87,14 @@ export function createShowCommand() {
|
|
|
89
87
|
],
|
|
90
88
|
},
|
|
91
89
|
{
|
|
92
|
-
title:
|
|
90
|
+
title: 'Paths',
|
|
93
91
|
fields: [
|
|
94
92
|
{ label: 'Worktree', value: worktreePath },
|
|
95
93
|
{ label: 'Spec Dir', value: specPath },
|
|
96
94
|
],
|
|
97
95
|
},
|
|
98
96
|
{
|
|
99
|
-
title:
|
|
97
|
+
title: 'Timing',
|
|
100
98
|
fields: [
|
|
101
99
|
{ label: 'Started', value: formatDate(agentRun.startedAt) },
|
|
102
100
|
{ label: 'Completed', value: formatDate(agentRun.completedAt) },
|
|
@@ -113,7 +111,7 @@ export function createShowCommand() {
|
|
|
113
111
|
}
|
|
114
112
|
catch (error) {
|
|
115
113
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
116
|
-
messages.error(
|
|
114
|
+
messages.error('Failed to show agent run', err);
|
|
117
115
|
process.exitCode = 1;
|
|
118
116
|
}
|
|
119
117
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stop.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/agent/stop.command.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"stop.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/agent/stop.command.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,wBAAgB,iBAAiB,IAAI,OAAO,CA8B3C"}
|
|
@@ -11,12 +11,10 @@ import { container } from '../../../../../packages/core/src/infrastructure/di/co
|
|
|
11
11
|
import { StopAgentRunUseCase } from '../../../../../packages/core/src/application/use-cases/agents/stop-agent-run.use-case.js';
|
|
12
12
|
import { colors, messages } from '../../ui/index.js';
|
|
13
13
|
import { resolveAgentRun } from './resolve-run.js';
|
|
14
|
-
import { getCliI18n } from '../../i18n.js';
|
|
15
14
|
export function createStopCommand() {
|
|
16
|
-
const t = getCliI18n().t;
|
|
17
15
|
return new Command('stop')
|
|
18
|
-
.description(
|
|
19
|
-
.argument('<id>',
|
|
16
|
+
.description('Stop a running agent')
|
|
17
|
+
.argument('<id>', 'Agent run ID (or prefix)')
|
|
20
18
|
.action(async (id) => {
|
|
21
19
|
try {
|
|
22
20
|
const resolved = await resolveAgentRun(id);
|
|
@@ -28,10 +26,7 @@ export function createStopCommand() {
|
|
|
28
26
|
const useCase = container.resolve(StopAgentRunUseCase);
|
|
29
27
|
const result = await useCase.execute(resolved.run.id);
|
|
30
28
|
if (result.stopped) {
|
|
31
|
-
messages.success(
|
|
32
|
-
id: colors.accent(resolved.run.id.substring(0, 8)),
|
|
33
|
-
reason: result.reason,
|
|
34
|
-
}));
|
|
29
|
+
messages.success(`Stopped ${colors.accent(resolved.run.id.substring(0, 8))}: ${result.reason}`);
|
|
35
30
|
}
|
|
36
31
|
else {
|
|
37
32
|
messages.error(result.reason);
|
|
@@ -40,7 +35,7 @@ export function createStopCommand() {
|
|
|
40
35
|
}
|
|
41
36
|
catch (error) {
|
|
42
37
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
43
|
-
messages.error(
|
|
38
|
+
messages.error('Failed to stop agent run', err);
|
|
44
39
|
process.exitCode = 1;
|
|
45
40
|
}
|
|
46
41
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-daemon.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/daemon/start-daemon.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;
|
|
1
|
+
{"version":3,"file":"start-daemon.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/daemon/start-daemon.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAoBH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,wBAAsB,WAAW,CAAC,IAAI,GAAE,kBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,CAgG9E"}
|
|
@@ -24,7 +24,6 @@ import { findAvailablePort, DEFAULT_PORT } from '../../../../../packages/core/sr
|
|
|
24
24
|
import { BrowserOpenerService } from '../../../../../packages/core/src/infrastructure/services/browser-opener.service.js';
|
|
25
25
|
import { getDaemonLogPath } from '../../../../../packages/core/src/infrastructure/services/filesystem/shep-directory.service.js';
|
|
26
26
|
import { fmt, messages, spinner } from '../../ui/index.js';
|
|
27
|
-
import { getCliI18n } from '../../i18n.js';
|
|
28
27
|
/** How long to wait (ms) after spawn to verify the child is still alive. */
|
|
29
28
|
const SPAWN_SETTLE_MS = 500;
|
|
30
29
|
/** Max time (ms) to wait for the server to become reachable before opening the browser. */
|
|
@@ -36,14 +35,13 @@ const READY_POLL_MS = 300;
|
|
|
36
35
|
* Idempotent: if a daemon is already running, prints the existing URL and returns.
|
|
37
36
|
*/
|
|
38
37
|
export async function startDaemon(opts = {}) {
|
|
39
|
-
const t = getCliI18n().t;
|
|
40
38
|
const daemonService = container.resolve('IDaemonService');
|
|
41
39
|
// Check for an already-running daemon
|
|
42
40
|
const existing = await daemonService.read();
|
|
43
41
|
if (existing && daemonService.isAlive(existing.pid)) {
|
|
44
42
|
const url = `http://localhost:${existing.port}`;
|
|
45
43
|
messages.newline();
|
|
46
|
-
messages.info(
|
|
44
|
+
messages.info(`Shep is already running at ${fmt.code(url)}`);
|
|
47
45
|
messages.newline();
|
|
48
46
|
return;
|
|
49
47
|
}
|
|
@@ -80,8 +78,8 @@ export async function startDaemon(opts = {}) {
|
|
|
80
78
|
// Child exited during the settle window — startup failed.
|
|
81
79
|
closeSync(logFd);
|
|
82
80
|
messages.newline();
|
|
83
|
-
messages.error(
|
|
84
|
-
messages.info(
|
|
81
|
+
messages.error(`Daemon failed to start (exit code ${exitCode ?? 'unknown'}).`);
|
|
82
|
+
messages.info(`Check logs: ${fmt.code(logPath)}`);
|
|
85
83
|
messages.newline();
|
|
86
84
|
// Clean up stale daemon.json if it exists
|
|
87
85
|
await daemonService.delete();
|
|
@@ -98,21 +96,21 @@ export async function startDaemon(opts = {}) {
|
|
|
98
96
|
});
|
|
99
97
|
const url = `http://localhost:${port}`;
|
|
100
98
|
messages.newline();
|
|
101
|
-
console.log(fmt.heading(
|
|
99
|
+
console.log(fmt.heading('Shep Web UI'));
|
|
102
100
|
messages.newline();
|
|
103
101
|
// Poll until the server responds, with a spinner on stderr.
|
|
104
102
|
// Skip readiness check in E2E / CI environments where the daemon child
|
|
105
103
|
// cannot actually start a Next.js server within the test's time window.
|
|
106
104
|
if (process.env.SHEP_SKIP_READINESS_CHECK) {
|
|
107
|
-
messages.success(
|
|
105
|
+
messages.success(`Daemon spawned at ${fmt.code(url)}`);
|
|
108
106
|
}
|
|
109
107
|
else {
|
|
110
|
-
const ready = await spinner(
|
|
108
|
+
const ready = await spinner('Starting server', () => waitForServer(url, READY_TIMEOUT_MS));
|
|
111
109
|
if (ready) {
|
|
112
|
-
messages.success(
|
|
110
|
+
messages.success(`Server ready at ${fmt.code(url)}`);
|
|
113
111
|
}
|
|
114
112
|
else {
|
|
115
|
-
messages.warning(
|
|
113
|
+
messages.warning(`Server may still be starting at ${fmt.code(url)}`);
|
|
116
114
|
}
|
|
117
115
|
}
|
|
118
116
|
messages.newline();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stop-daemon.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/daemon/stop-daemon.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iEAAiE,CAAC;
|
|
1
|
+
{"version":3,"file":"stop-daemon.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/daemon/stop-daemon.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iEAAiE,CAAC;AA0BtG;;;GAGG;AACH,wBAAsB,UAAU,CAAC,aAAa,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAyC7E"}
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { treeKill } from '../../../../../packages/core/src/infrastructure/services/process/tree-kill.js';
|
|
22
22
|
import { messages } from '../../ui/index.js';
|
|
23
|
-
import { getCliI18n } from '../../i18n.js';
|
|
24
23
|
const POLL_INTERVAL_MS = 200;
|
|
25
24
|
const MAX_WAIT_MS = 5000;
|
|
26
25
|
/**
|
|
@@ -55,15 +54,14 @@ export async function stopDaemon(daemonService) {
|
|
|
55
54
|
return;
|
|
56
55
|
}
|
|
57
56
|
try {
|
|
58
|
-
|
|
59
|
-
messages.info(t('cli:ui.daemon.stoppingDaemon', { pid }));
|
|
57
|
+
messages.info(`Stopping Shep daemon (PID ${pid})...`);
|
|
60
58
|
// Send SIGTERM to process tree — request graceful shutdown
|
|
61
59
|
treeKill(pid, 'SIGTERM');
|
|
62
60
|
// Poll for up to 5s waiting for the process to exit
|
|
63
61
|
const died = await pollUntilDead(daemonService, pid, MAX_WAIT_MS, POLL_INTERVAL_MS);
|
|
64
62
|
if (!died) {
|
|
65
63
|
// Graceful shutdown timed out — force kill process tree
|
|
66
|
-
messages.info(
|
|
64
|
+
messages.info('Daemon did not stop gracefully, sending SIGKILL...');
|
|
67
65
|
try {
|
|
68
66
|
treeKill(pid, 'SIGKILL');
|
|
69
67
|
}
|
|
@@ -71,7 +69,7 @@ export async function stopDaemon(daemonService) {
|
|
|
71
69
|
// Process may have exited between the check and the kill — ignore
|
|
72
70
|
}
|
|
73
71
|
}
|
|
74
|
-
messages.success(
|
|
72
|
+
messages.success('Shep daemon stopped.');
|
|
75
73
|
}
|
|
76
74
|
finally {
|
|
77
75
|
// Always clean up daemon.json regardless of termination path
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adopt.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/adopt.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"adopt.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/adopt.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,wBAAgB,kBAAkB,IAAI,OAAO,CAkC5C"}
|
|
@@ -13,35 +13,33 @@ import { Command } from 'commander';
|
|
|
13
13
|
import { container } from '../../../../../packages/core/src/infrastructure/di/container.js';
|
|
14
14
|
import { AdoptBranchUseCase } from '../../../../../packages/core/src/application/use-cases/features/adopt-branch.use-case.js';
|
|
15
15
|
import { colors, messages, spinner } from '../../ui/index.js';
|
|
16
|
-
import { getCliI18n } from '../../i18n.js';
|
|
17
16
|
export function createAdoptCommand() {
|
|
18
|
-
const t = getCliI18n().t;
|
|
19
17
|
return new Command('adopt')
|
|
20
|
-
.description(
|
|
21
|
-
.argument('<branch>',
|
|
22
|
-
.option('-r, --repo <path>',
|
|
18
|
+
.description('Adopt an existing branch as a tracked feature')
|
|
19
|
+
.argument('<branch>', 'Branch name to adopt')
|
|
20
|
+
.option('-r, --repo <path>', 'Repository path (defaults to cwd)')
|
|
23
21
|
.action(async (branch, options) => {
|
|
24
22
|
try {
|
|
25
23
|
const useCase = container.resolve(AdoptBranchUseCase);
|
|
26
|
-
const { feature } = await spinner(
|
|
24
|
+
const { feature } = await spinner('Adopting branch', () => useCase.execute({
|
|
27
25
|
branchName: branch,
|
|
28
26
|
repositoryPath: options.repo ?? process.cwd(),
|
|
29
27
|
}));
|
|
30
28
|
messages.newline();
|
|
31
|
-
messages.success(
|
|
32
|
-
console.log(` ${colors.muted(
|
|
33
|
-
console.log(` ${colors.muted(
|
|
34
|
-
console.log(` ${colors.muted(
|
|
35
|
-
console.log(` ${colors.muted(
|
|
29
|
+
messages.success('Branch adopted');
|
|
30
|
+
console.log(` ${colors.muted('ID:')} ${colors.accent(feature.id.slice(0, 8))}`);
|
|
31
|
+
console.log(` ${colors.muted('Name:')} ${feature.name}`);
|
|
32
|
+
console.log(` ${colors.muted('Branch:')} ${colors.accent(feature.branch)}`);
|
|
33
|
+
console.log(` ${colors.muted('Status:')} ${feature.lifecycle}`);
|
|
36
34
|
if (feature.pr) {
|
|
37
|
-
console.log(` ${colors.muted(
|
|
35
|
+
console.log(` ${colors.muted('PR:')} ${colors.accent(feature.pr.url)} (${feature.pr.status})`);
|
|
38
36
|
}
|
|
39
|
-
console.log(` ${colors.muted(
|
|
37
|
+
console.log(` ${colors.muted('Worktree:')} ${colors.accent(feature.worktreePath ?? '')}`);
|
|
40
38
|
messages.newline();
|
|
41
39
|
}
|
|
42
40
|
catch (error) {
|
|
43
41
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
44
|
-
messages.error(
|
|
42
|
+
messages.error('Failed to adopt branch', err);
|
|
45
43
|
process.exitCode = 1;
|
|
46
44
|
}
|
|
47
45
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approve.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/approve.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"approve.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/approve.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC,wBAAgB,oBAAoB,IAAI,OAAO,CAqC9C"}
|
|
@@ -12,12 +12,10 @@ import { container } from '../../../../../packages/core/src/infrastructure/di/co
|
|
|
12
12
|
import { ApproveAgentRunUseCase } from '../../../../../packages/core/src/application/use-cases/agents/approve-agent-run.use-case.js';
|
|
13
13
|
import { resolveWaitingFeature } from './resolve-waiting-feature.js';
|
|
14
14
|
import { colors, messages } from '../../ui/index.js';
|
|
15
|
-
import { getCliI18n } from '../../i18n.js';
|
|
16
15
|
export function createApproveCommand() {
|
|
17
|
-
const t = getCliI18n().t;
|
|
18
16
|
return new Command('approve')
|
|
19
|
-
.description(
|
|
20
|
-
.argument('[id]',
|
|
17
|
+
.description('Approve a feature waiting for review')
|
|
18
|
+
.argument('[id]', 'Feature ID (auto-resolves if omitted)')
|
|
21
19
|
.action(async (featureId) => {
|
|
22
20
|
try {
|
|
23
21
|
const featureRepo = container.resolve('IFeatureRepository');
|
|
@@ -36,14 +34,14 @@ export function createApproveCommand() {
|
|
|
36
34
|
}
|
|
37
35
|
const phase = run.result?.startsWith('node:') ? run.result.slice(5) : 'unknown';
|
|
38
36
|
messages.newline();
|
|
39
|
-
messages.success(
|
|
40
|
-
console.log(` ${colors.muted(
|
|
41
|
-
console.log(` ${colors.muted(
|
|
37
|
+
messages.success(`Approved: ${feature.name}`);
|
|
38
|
+
console.log(` ${colors.muted('Phase:')} ${colors.success(phase)} approved`);
|
|
39
|
+
console.log(` ${colors.muted('Agent:')} resumed`);
|
|
42
40
|
messages.newline();
|
|
43
41
|
}
|
|
44
42
|
catch (error) {
|
|
45
43
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
46
|
-
messages.error(
|
|
44
|
+
messages.error('Failed to approve feature', err);
|
|
47
45
|
process.exitCode = 1;
|
|
48
46
|
}
|
|
49
47
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/archive.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"archive.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/archive.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAkC9C"}
|
|
@@ -16,40 +16,38 @@ import { ShowFeatureUseCase } from '../../../../../packages/core/src/application
|
|
|
16
16
|
import { ArchiveFeatureUseCase } from '../../../../../packages/core/src/application/use-cases/features/archive-feature.use-case.js';
|
|
17
17
|
import { colors, messages } from '../../ui/index.js';
|
|
18
18
|
import { confirm } from '@inquirer/prompts';
|
|
19
|
-
import { getCliI18n } from '../../i18n.js';
|
|
20
19
|
/**
|
|
21
20
|
* Create the feat archive command
|
|
22
21
|
*/
|
|
23
22
|
export function createArchiveCommand() {
|
|
24
|
-
const t = getCliI18n().t;
|
|
25
23
|
return new Command('archive')
|
|
26
|
-
.description(
|
|
27
|
-
.argument('<id>',
|
|
28
|
-
.option('-f, --force',
|
|
24
|
+
.description('Archive a feature to hide it from the canvas')
|
|
25
|
+
.argument('<id>', 'Feature ID or prefix')
|
|
26
|
+
.option('-f, --force', 'Skip confirmation prompt')
|
|
29
27
|
.action(async (featureId, options) => {
|
|
30
28
|
try {
|
|
31
29
|
const showUseCase = container.resolve(ShowFeatureUseCase);
|
|
32
30
|
const feature = await showUseCase.execute(featureId);
|
|
33
31
|
if (!options.force) {
|
|
34
32
|
const confirmed = await confirm({
|
|
35
|
-
message:
|
|
33
|
+
message: `Archive feature "${feature.name}"?`,
|
|
36
34
|
default: false,
|
|
37
35
|
});
|
|
38
36
|
if (!confirmed) {
|
|
39
|
-
messages.info(
|
|
37
|
+
messages.info('Cancelled');
|
|
40
38
|
return;
|
|
41
39
|
}
|
|
42
40
|
}
|
|
43
41
|
const archiveUseCase = container.resolve(ArchiveFeatureUseCase);
|
|
44
42
|
await archiveUseCase.execute(feature.id);
|
|
45
43
|
messages.newline();
|
|
46
|
-
messages.success(
|
|
47
|
-
console.log(` ${colors.muted(
|
|
44
|
+
messages.success('Feature archived');
|
|
45
|
+
console.log(` ${colors.muted('Name:')} ${feature.name}`);
|
|
48
46
|
messages.newline();
|
|
49
47
|
}
|
|
50
48
|
catch (error) {
|
|
51
49
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
52
|
-
messages.error(
|
|
50
|
+
messages.error('Failed to archive feature', err);
|
|
53
51
|
process.exitCode = 1;
|
|
54
52
|
}
|
|
55
53
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"del.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/del.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"del.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/del.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAapC;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CA2E1C"}
|
|
@@ -18,18 +18,16 @@ import { DeleteFeatureUseCase } from '../../../../../packages/core/src/applicati
|
|
|
18
18
|
import { ShowFeatureUseCase } from '../../../../../packages/core/src/application/use-cases/features/show-feature.use-case.js';
|
|
19
19
|
import { colors, messages } from '../../ui/index.js';
|
|
20
20
|
import { confirm } from '@inquirer/prompts';
|
|
21
|
-
import { getCliI18n } from '../../i18n.js';
|
|
22
21
|
/**
|
|
23
22
|
* Create the feat del command
|
|
24
23
|
*/
|
|
25
24
|
export function createDelCommand() {
|
|
26
|
-
const t = getCliI18n().t;
|
|
27
25
|
return new Command('del')
|
|
28
|
-
.description(
|
|
29
|
-
.argument('<id>',
|
|
30
|
-
.option('-f, --force',
|
|
31
|
-
.option('--no-cleanup',
|
|
32
|
-
.option('--no-close-pr',
|
|
26
|
+
.description('Delete a feature')
|
|
27
|
+
.argument('<id>', 'Feature ID or prefix')
|
|
28
|
+
.option('-f, --force', 'Skip confirmation prompt')
|
|
29
|
+
.option('--no-cleanup', 'Skip worktree and branch cleanup')
|
|
30
|
+
.option('--no-close-pr', 'Keep the pull request open')
|
|
33
31
|
.action(async (featureId, options) => {
|
|
34
32
|
try {
|
|
35
33
|
// First show what we're about to delete
|
|
@@ -37,11 +35,11 @@ export function createDelCommand() {
|
|
|
37
35
|
const feature = await showUseCase.execute(featureId);
|
|
38
36
|
if (!options.force) {
|
|
39
37
|
const confirmed = await confirm({
|
|
40
|
-
message:
|
|
38
|
+
message: `Delete feature "${feature.name}"?`,
|
|
41
39
|
default: false,
|
|
42
40
|
});
|
|
43
41
|
if (!confirmed) {
|
|
44
|
-
messages.info(
|
|
42
|
+
messages.info('Cancelled');
|
|
45
43
|
return;
|
|
46
44
|
}
|
|
47
45
|
}
|
|
@@ -52,7 +50,7 @@ export function createDelCommand() {
|
|
|
52
50
|
}
|
|
53
51
|
else if (!options.force) {
|
|
54
52
|
cleanup = await confirm({
|
|
55
|
-
message:
|
|
53
|
+
message: 'Also clean up worktree and branches?',
|
|
56
54
|
default: true,
|
|
57
55
|
});
|
|
58
56
|
}
|
|
@@ -68,7 +66,7 @@ export function createDelCommand() {
|
|
|
68
66
|
}
|
|
69
67
|
else {
|
|
70
68
|
closePr = await confirm({
|
|
71
|
-
message:
|
|
69
|
+
message: `Also close the pull request? (PR #${feature.pr.number})`,
|
|
72
70
|
default: true,
|
|
73
71
|
});
|
|
74
72
|
}
|
|
@@ -80,20 +78,20 @@ export function createDelCommand() {
|
|
|
80
78
|
}
|
|
81
79
|
await deleteUseCase.execute(feature.id, executeOptions);
|
|
82
80
|
messages.newline();
|
|
83
|
-
messages.success(
|
|
84
|
-
console.log(` ${colors.muted(
|
|
85
|
-
console.log(` ${colors.muted(
|
|
81
|
+
messages.success('Feature deleted');
|
|
82
|
+
console.log(` ${colors.muted('Name:')} ${feature.name}`);
|
|
83
|
+
console.log(` ${colors.muted('Branch:')} ${feature.branch}`);
|
|
86
84
|
if (cleanup) {
|
|
87
|
-
console.log(` ${colors.muted(
|
|
85
|
+
console.log(` ${colors.muted('Cleanup:')} worktree, local branch, remote branch`);
|
|
88
86
|
}
|
|
89
87
|
if (closePr && hasOpenPr) {
|
|
90
|
-
console.log(` ${colors.muted(
|
|
88
|
+
console.log(` ${colors.muted('PR:')} #${feature.pr.number} closed`);
|
|
91
89
|
}
|
|
92
90
|
messages.newline();
|
|
93
91
|
}
|
|
94
92
|
catch (error) {
|
|
95
93
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
96
|
-
messages.error(
|
|
94
|
+
messages.error('Failed to delete feature', err);
|
|
97
95
|
process.exitCode = 1;
|
|
98
96
|
}
|
|
99
97
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAepC;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAgB3C"}
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* shep feat del <id> # Delete a feature
|
|
11
11
|
*/
|
|
12
12
|
import { Command } from 'commander';
|
|
13
|
-
import { getCliI18n } from '../../i18n.js';
|
|
14
13
|
import { createNewCommand } from './new.command.js';
|
|
15
14
|
import { createLsCommand } from './ls.command.js';
|
|
16
15
|
import { createShowCommand } from './show.command.js';
|
|
@@ -29,7 +28,7 @@ import { createUnarchiveCommand } from './unarchive.command.js';
|
|
|
29
28
|
*/
|
|
30
29
|
export function createFeatCommand() {
|
|
31
30
|
return new Command('feat')
|
|
32
|
-
.description(
|
|
31
|
+
.description('Manage features through the SDLC lifecycle')
|
|
33
32
|
.addCommand(createNewCommand())
|
|
34
33
|
.addCommand(createLsCommand())
|
|
35
34
|
.addCommand(createShowCommand())
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logs.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/logs.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"logs.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/logs.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC,wBAAgB,iBAAiB,IAAI,OAAO,CAkC3C"}
|
|
@@ -17,20 +17,18 @@ import { container } from '../../../../../packages/core/src/infrastructure/di/co
|
|
|
17
17
|
import { ShowFeatureUseCase } from '../../../../../packages/core/src/application/use-cases/features/show-feature.use-case.js';
|
|
18
18
|
import { messages } from '../../ui/index.js';
|
|
19
19
|
import { viewLog } from '../log-viewer.js';
|
|
20
|
-
import { getCliI18n } from '../../i18n.js';
|
|
21
20
|
export function createLogsCommand() {
|
|
22
|
-
const t = getCliI18n().t;
|
|
23
21
|
return new Command('logs')
|
|
24
|
-
.description(
|
|
25
|
-
.argument('<id>',
|
|
26
|
-
.option('-f, --follow',
|
|
27
|
-
.option('-n, --lines <count>',
|
|
22
|
+
.description('View feature agent logs')
|
|
23
|
+
.argument('<id>', 'Feature ID (or prefix)')
|
|
24
|
+
.option('-f, --follow', 'Follow log output (like tail -f)')
|
|
25
|
+
.option('-n, --lines <count>', 'Number of lines to show from the end', '0')
|
|
28
26
|
.action(async (id, opts) => {
|
|
29
27
|
try {
|
|
30
28
|
const useCase = container.resolve(ShowFeatureUseCase);
|
|
31
29
|
const feature = await useCase.execute(id);
|
|
32
30
|
if (!feature.agentRunId) {
|
|
33
|
-
messages.error(
|
|
31
|
+
messages.error(`Feature "${feature.name}" has no agent run`);
|
|
34
32
|
process.exitCode = 1;
|
|
35
33
|
return;
|
|
36
34
|
}
|
|
@@ -47,7 +45,7 @@ export function createLogsCommand() {
|
|
|
47
45
|
}
|
|
48
46
|
catch (error) {
|
|
49
47
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
50
|
-
messages.error(
|
|
48
|
+
messages.error('Failed to read feature logs', err);
|
|
51
49
|
process.exitCode = 1;
|
|
52
50
|
}
|
|
53
51
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ls.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/ls.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"ls.command.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/cli/commands/feat/ls.command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAyJ/F,8EAA8E;AAC9E,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAOhD;AAiBD,UAAU,KAAK;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,QAAQ,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB;AAED,UAAU,QAAQ;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACtB;AAED,UAAU,SAAS;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAED,UAAU,OAAO;IACf,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,OAAO,EAAE,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,KAAK,EAAE,GAAG,QAAQ,EAAE,CAgCtD;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,SAAS,EAAE,CA8B9E;AAED,kEAAkE;AAClE,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,OAAO,EAAE,CAWjF;AAED,sEAAsE;AACtE,wBAAgB,eAAe,CAAC,YAAY,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO,GAAG,MAAM,CAOhF;AAQD,yDAAyD;AACzD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAazE;AAeD,wBAAgB,eAAe,IAAI,OAAO,CAiFzC"}
|
|
@@ -15,7 +15,6 @@ import { Command } from 'commander';
|
|
|
15
15
|
import { container } from '../../../../../packages/core/src/infrastructure/di/container.js';
|
|
16
16
|
import { ListFeaturesUseCase } from '../../../../../packages/core/src/application/use-cases/features/list-features.use-case.js';
|
|
17
17
|
import { colors, symbols, messages, fmt } from '../../ui/index.js';
|
|
18
|
-
import { getCliI18n } from '../../i18n.js';
|
|
19
18
|
/** Map graph node names to human-readable phase labels (active). */
|
|
20
19
|
const NODE_TO_PHASE = {
|
|
21
20
|
analyze: 'Analyzing',
|
|
@@ -293,12 +292,11 @@ function countFeatures(groups) {
|
|
|
293
292
|
return count;
|
|
294
293
|
}
|
|
295
294
|
export function createLsCommand() {
|
|
296
|
-
const t = getCliI18n().t;
|
|
297
295
|
return new Command('ls')
|
|
298
|
-
.description(
|
|
299
|
-
.option('-r, --repo <path>',
|
|
300
|
-
.option('--include-deleted',
|
|
301
|
-
.option('--show-archived',
|
|
296
|
+
.description('List features')
|
|
297
|
+
.option('-r, --repo <path>', 'Filter by repository path')
|
|
298
|
+
.option('--include-deleted', 'Include soft-deleted features')
|
|
299
|
+
.option('--show-archived', 'Include archived features')
|
|
302
300
|
.action(async (options) => {
|
|
303
301
|
try {
|
|
304
302
|
const useCase = container.resolve(ListFeaturesUseCase);
|
|
@@ -326,20 +324,20 @@ export function createLsCommand() {
|
|
|
326
324
|
const total = countFeatures(groups);
|
|
327
325
|
if (total === 0) {
|
|
328
326
|
messages.newline();
|
|
329
|
-
messages.info(
|
|
327
|
+
messages.info('No features found');
|
|
330
328
|
messages.newline();
|
|
331
329
|
return;
|
|
332
330
|
}
|
|
333
331
|
const lines = [];
|
|
334
332
|
lines.push('');
|
|
335
|
-
lines.push(` ${fmt.heading(
|
|
333
|
+
lines.push(` ${fmt.heading(`Features (${total})`)}`);
|
|
336
334
|
lines.push('');
|
|
337
335
|
// Column headers
|
|
338
|
-
const h1 = colors.muted(
|
|
339
|
-
const h2 = colors.muted(
|
|
340
|
-
const h3 = colors.muted(
|
|
341
|
-
const h4 = colors.muted(
|
|
342
|
-
const h5 = colors.muted(
|
|
336
|
+
const h1 = colors.muted('NAME'.padEnd(FIRST_COL_WIDTH));
|
|
337
|
+
const h2 = colors.muted('STATUS'.padEnd(STATUS_WIDTH));
|
|
338
|
+
const h3 = colors.muted('R P M ↑'.padEnd(GATES_WIDTH));
|
|
339
|
+
const h4 = colors.muted('ELAPSED'.padEnd(ELAPSED_WIDTH));
|
|
340
|
+
const h5 = colors.muted('DONE');
|
|
343
341
|
lines.push(` ${h1} ${h2} ${h3} ${h4} ${h5}`);
|
|
344
342
|
for (const group of groups) {
|
|
345
343
|
lines.push('');
|
|
@@ -355,7 +353,7 @@ export function createLsCommand() {
|
|
|
355
353
|
}
|
|
356
354
|
catch (error) {
|
|
357
355
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
358
|
-
messages.error(
|
|
356
|
+
messages.error('Failed to list features', err);
|
|
359
357
|
process.exitCode = 1;
|
|
360
358
|
}
|
|
361
359
|
});
|