@shepai/cli 1.179.1 → 1.180.0-pr548.764147
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 +40 -0
- package/apis/json-schema/ApplicationStatus.yaml +8 -0
- package/apis/json-schema/InteractiveMessage.yaml +3 -0
- package/apis/json-schema/WorkflowStep.yaml +53 -0
- package/apis/json-schema/WorkflowStepStatus.yaml +10 -0
- package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts +17 -0
- package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/repositories/application-repository.interface.js +6 -0
- 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/interactive-session-repository.interface.d.ts +13 -0
- package/dist/packages/core/src/application/ports/output/repositories/interactive-session-repository.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/repositories/workflow-step-repository.interface.d.ts +52 -0
- package/dist/packages/core/src/application/ports/output/repositories/workflow-step-repository.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/repositories/workflow-step-repository.interface.js +11 -0
- package/dist/packages/core/src/application/ports/output/services/application-brief-store.interface.d.ts +36 -0
- package/dist/packages/core/src/application/ports/output/services/application-brief-store.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/application-brief-store.interface.js +22 -0
- package/dist/packages/core/src/application/ports/output/services/application-creation-prompt-builder.interface.d.ts +116 -0
- package/dist/packages/core/src/application/ports/output/services/application-creation-prompt-builder.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/application-creation-prompt-builder.interface.js +27 -0
- package/dist/packages/core/src/application/ports/output/services/application-file-system-service.interface.d.ts +100 -0
- package/dist/packages/core/src/application/ports/output/services/application-file-system-service.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/application-file-system-service.interface.js +20 -0
- package/dist/packages/core/src/application/ports/output/services/index.d.ts +4 -0
- package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/index.js +1 -0
- package/dist/packages/core/src/application/ports/output/services/interactive-session-service.interface.d.ts +111 -5
- package/dist/packages/core/src/application/ports/output/services/interactive-session-service.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/terminal-session-service.interface.d.ts +46 -0
- package/dist/packages/core/src/application/ports/output/services/terminal-session-service.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/terminal-session-service.interface.js +9 -0
- package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts +92 -0
- package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/create-application.use-case.js +305 -0
- package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.d.ts +15 -0
- package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/delete-application.use-case.js +45 -0
- package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.d.ts +13 -0
- package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/get-application.use-case.js +33 -0
- package/dist/packages/core/src/application/use-cases/applications/index.d.ts +13 -0
- package/dist/packages/core/src/application/use-cases/applications/index.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/index.js +10 -0
- package/dist/packages/core/src/application/use-cases/applications/list-application-files.use-case.d.ts +18 -0
- package/dist/packages/core/src/application/use-cases/applications/list-application-files.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/list-application-files.use-case.js +41 -0
- package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.d.ts +13 -0
- package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/list-applications.use-case.js +33 -0
- package/dist/packages/core/src/application/use-cases/applications/read-application-file-raw.use-case.d.ts +22 -0
- package/dist/packages/core/src/application/use-cases/applications/read-application-file-raw.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/read-application-file-raw.use-case.js +46 -0
- package/dist/packages/core/src/application/use-cases/applications/read-application-file.use-case.d.ts +19 -0
- package/dist/packages/core/src/application/use-cases/applications/read-application-file.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/read-application-file.use-case.js +43 -0
- package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.d.ts +14 -0
- package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/update-application.use-case.js +33 -0
- package/dist/packages/core/src/application/use-cases/applications/watch-application-files.use-case.d.ts +21 -0
- package/dist/packages/core/src/application/use-cases/applications/watch-application-files.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/watch-application-files.use-case.js +43 -0
- package/dist/packages/core/src/application/use-cases/applications/write-application-file.use-case.d.ts +22 -0
- package/dist/packages/core/src/application/use-cases/applications/write-application-file.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/applications/write-application-file.use-case.js +44 -0
- package/dist/packages/core/src/application/use-cases/interactive/send-interactive-message.use-case.d.ts +18 -0
- package/dist/packages/core/src/application/use-cases/interactive/send-interactive-message.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/interactive/send-interactive-message.use-case.js +1 -1
- package/dist/packages/core/src/application/use-cases/terminal/create-terminal-session.use-case.d.ts +19 -0
- package/dist/packages/core/src/application/use-cases/terminal/create-terminal-session.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/terminal/create-terminal-session.use-case.js +42 -0
- package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.d.ts +77 -0
- package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/workflows/run-workflow.use-case.js +191 -0
- package/dist/packages/core/src/application/workflows/application-creation.workflow.d.ts +50 -0
- package/dist/packages/core/src/application/workflows/application-creation.workflow.d.ts.map +1 -0
- package/dist/packages/core/src/application/workflows/application-creation.workflow.js +138 -0
- package/dist/packages/core/src/domain/generated/output.d.ts +102 -0
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/domain/generated/output.js +14 -0
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.js +93 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts +37 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/application.mapper.js +52 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/interactive-message.mapper.d.ts +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/interactive-message.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/interactive-message.mapper.js +2 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow-step.mapper.d.ts +25 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow-step.mapper.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/workflow-step.mapper.js +50 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.d.ts +5 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/056-create-applications-table.js +34 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/057-workflow-steps.d.ts +31 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/057-workflow-steps.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/057-workflow-steps.js +72 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts +21 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-application.repository.js +98 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-interactive-message.repository.js +2 -2
- package/dist/packages/core/src/infrastructure/repositories/sqlite-interactive-session.repository.d.ts +1 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-interactive-session.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-interactive-session.repository.js +16 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow-step.repository.d.ts +29 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow-step.repository.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-workflow-step.repository.js +157 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/application-creation-prompt.builder.d.ts +25 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/application-creation-prompt.builder.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/application-creation-prompt.builder.js +95 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/brand.d.ts +2 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/brand.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/brand.js +11 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/dynamic.d.ts +14 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/dynamic.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/dynamic.js +50 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/mission.d.ts +2 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/mission.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/mission.js +10 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/output-contract.d.ts +2 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/output-contract.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/output-contract.js +20 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/quality.d.ts +2 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/quality.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/quality.js +12 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/role.d.ts +2 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/role.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/role.js +9 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/tech-stack.d.ts +2 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/tech-stack.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/tech-stack.js +23 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/user-interaction.d.ts +2 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/user-interaction.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/user-interaction.js +29 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/workflow.d.ts +15 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/workflow.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/application-creation/prompts/workflow.js +40 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-interactive-executor.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-interactive-executor.service.js +14 -8
- 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 +4 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/merge-prompts.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/merge-prompts.js +11 -6
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/pr-branding.d.ts +2 -2
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/pr-branding.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/pr-branding.js +2 -2
- package/dist/packages/core/src/infrastructure/services/filesystem/application-brief.store.d.ts +20 -0
- package/dist/packages/core/src/infrastructure/services/filesystem/application-brief.store.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/filesystem/application-brief.store.js +40 -0
- package/dist/packages/core/src/infrastructure/services/filesystem/node-application-file-system.service.d.ts +18 -0
- package/dist/packages/core/src/infrastructure/services/filesystem/node-application-file-system.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/filesystem/node-application-file-system.service.js +292 -0
- package/dist/packages/core/src/infrastructure/services/git/git-pr.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/git/git-pr.service.js +3 -2
- package/dist/packages/core/src/infrastructure/services/git/pr-branding.d.ts +16 -5
- package/dist/packages/core/src/infrastructure/services/git/pr-branding.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/git/pr-branding.js +38 -7
- package/dist/packages/core/src/infrastructure/services/interactive/interactive-session.service.d.ts +49 -10
- package/dist/packages/core/src/infrastructure/services/interactive/interactive-session.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/interactive/interactive-session.service.js +323 -149
- package/dist/packages/core/src/infrastructure/services/terminal/pty-terminal-session.service.d.ts +22 -0
- package/dist/packages/core/src/infrastructure/services/terminal/pty-terminal-session.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/terminal/pty-terminal-session.service.js +182 -0
- package/dist/src/presentation/web/app/(dashboard)/get-graph-data.d.ts.map +1 -1
- package/dist/src/presentation/web/app/(dashboard)/get-graph-data.js +11 -1
- package/dist/src/presentation/web/app/actions/check-all-agents-status.d.ts +7 -0
- package/dist/src/presentation/web/app/actions/check-all-agents-status.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/check-all-agents-status.js +30 -0
- package/dist/src/presentation/web/app/actions/create-application.d.ts +33 -0
- package/dist/src/presentation/web/app/actions/create-application.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/create-application.js +29 -0
- package/dist/src/presentation/web/app/actions/create-project-and-feature.d.ts +20 -0
- package/dist/src/presentation/web/app/actions/create-project-and-feature.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/create-project-and-feature.js +84 -0
- package/dist/src/presentation/web/app/actions/delete-application.d.ts +4 -0
- package/dist/src/presentation/web/app/actions/delete-application.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/delete-application.js +16 -0
- package/dist/src/presentation/web/app/actions/deploy-application.d.ts +20 -0
- package/dist/src/presentation/web/app/actions/deploy-application.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/deploy-application.js +62 -0
- package/dist/src/presentation/web/app/actions/get-application-debug-prompt.d.ts +25 -0
- package/dist/src/presentation/web/app/actions/get-application-debug-prompt.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/get-application-debug-prompt.js +37 -0
- package/dist/src/presentation/web/app/actions/get-git-log.js +2 -2
- package/dist/src/presentation/web/app/actions/update-application.d.ts +5 -0
- package/dist/src/presentation/web/app/actions/update-application.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/update-application.js +21 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/content/route.d.ts +17 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/content/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/content/route.js +63 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/raw/route.d.ts +17 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/raw/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/raw/route.js +55 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/route.d.ts +16 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/route.js +23 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/watch/route.d.ts +21 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/watch/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/applications/[id]/files/watch/route.js +86 -0
- package/dist/src/presentation/web/app/api/interactive/chat/[featureId]/stream/route.d.ts +15 -6
- package/dist/src/presentation/web/app/api/interactive/chat/[featureId]/stream/route.d.ts.map +1 -1
- package/dist/src/presentation/web/app/api/interactive/chat/[featureId]/stream/route.js +36 -20
- package/dist/src/presentation/web/app/api/interactive/chat/turn-statuses/stream/route.d.ts +21 -0
- package/dist/src/presentation/web/app/api/interactive/chat/turn-statuses/stream/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/interactive/chat/turn-statuses/stream/route.js +82 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/input/route.d.ts +15 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/input/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/input/route.js +27 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/resize/route.d.ts +15 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/resize/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/resize/route.js +27 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/route.d.ts +15 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/route.js +20 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/stream/route.d.ts +17 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/stream/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/terminal/[sessionId]/stream/route.js +76 -0
- package/dist/src/presentation/web/app/api/terminal/route.d.ts +12 -0
- package/dist/src/presentation/web/app/api/terminal/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/terminal/route.js +34 -0
- package/dist/src/presentation/web/app/application/[id]/page.d.ts +8 -0
- package/dist/src/presentation/web/app/application/[id]/page.d.ts.map +1 -0
- package/dist/src/presentation/web/app/application/[id]/page.js +65 -0
- package/dist/src/presentation/web/app/build-graph-nodes.d.ts +3 -1
- package/dist/src/presentation/web/app/build-graph-nodes.d.ts.map +1 -1
- package/dist/src/presentation/web/app/build-graph-nodes.js +19 -0
- package/dist/src/presentation/web/components/assistant-ui/thread.d.ts +5 -1
- package/dist/src/presentation/web/components/assistant-ui/thread.d.ts.map +1 -1
- package/dist/src/presentation/web/components/assistant-ui/thread.js +19 -5
- package/dist/src/presentation/web/components/common/application-node/application-node-config.d.ts +24 -0
- package/dist/src/presentation/web/components/common/application-node/application-node-config.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/application-node/application-node-config.js +1 -0
- package/dist/src/presentation/web/components/common/application-node/application-node.d.ts +7 -0
- package/dist/src/presentation/web/components/common/application-node/application-node.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/application-node/application-node.js +156 -0
- package/dist/src/presentation/web/components/common/application-node/application-node.stories.d.ts +12 -0
- package/dist/src/presentation/web/components/common/application-node/application-node.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/application-node/application-node.stories.js +100 -0
- package/dist/src/presentation/web/components/common/attachment-chip/attachment-chip.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/attachment-chip/attachment-chip.js +1 -1
- package/dist/src/presentation/web/components/features/application-page/application-page.d.ts +31 -0
- package/dist/src/presentation/web/components/features/application-page/application-page.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/application-page.js +330 -0
- package/dist/src/presentation/web/components/features/application-page/application-page.stories.d.ts +9 -0
- package/dist/src/presentation/web/components/features/application-page/application-page.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/application-page.stories.js +51 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/api.d.ts +11 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/api.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/api.js +35 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/editor-pane.d.ts +27 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/editor-pane.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/editor-pane.js +147 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/file-tree-panel.d.ts +19 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/file-tree-panel.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/file-tree-panel.js +85 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.d.ts +16 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.js +53 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.stories.d.ts +9 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/ide-tab.stories.js +111 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/image-viewer.d.ts +27 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/image-viewer.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/image-viewer.js +162 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/index.d.ts +3 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/index.js +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/types.d.ts +56 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/types.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/types.js +35 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/use-ide-state.d.ts +39 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/use-ide-state.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/use-ide-state.js +238 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/use-resolved-theme.d.ts +14 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/use-resolved-theme.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/ide-tab/use-resolved-theme.js +37 -0
- package/dist/src/presentation/web/components/features/application-page/run-dev-button.d.ts +19 -0
- package/dist/src/presentation/web/components/features/application-page/run-dev-button.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/run-dev-button.js +80 -0
- package/dist/src/presentation/web/components/features/application-page/terminal-tab.d.ts +9 -0
- package/dist/src/presentation/web/components/features/application-page/terminal-tab.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/terminal-tab.js +224 -0
- package/dist/src/presentation/web/components/features/application-page/web-preview-tab.d.ts +6 -0
- package/dist/src/presentation/web/components/features/application-page/web-preview-tab.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/application-page/web-preview-tab.js +57 -0
- package/dist/src/presentation/web/components/features/chat/ChatSheet.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/chat/ChatSheet.js +4 -2
- package/dist/src/presentation/web/components/features/chat/ChatTab.d.ts +38 -1
- package/dist/src/presentation/web/components/features/chat/ChatTab.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/chat/ChatTab.js +53 -8
- package/dist/src/presentation/web/components/features/chat/StepTracker.d.ts +36 -0
- package/dist/src/presentation/web/components/features/chat/StepTracker.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/StepTracker.js +133 -0
- package/dist/src/presentation/web/components/features/chat/StepTracker.stories.d.ts +11 -0
- package/dist/src/presentation/web/components/features/chat/StepTracker.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/StepTracker.stories.js +121 -0
- package/dist/src/presentation/web/components/features/chat/chat-state-query.d.ts +12 -0
- package/dist/src/presentation/web/components/features/chat/chat-state-query.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/chat-state-query.js +20 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/detect.d.ts +38 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/detect.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/detect.js +91 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/file-card.d.ts +17 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/file-card.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/file-card.js +25 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/generic-bubble.d.ts +11 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/generic-bubble.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/generic-bubble.js +15 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/index.d.ts +21 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/index.js +37 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/tool-chip.d.ts +14 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/tool-chip.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/tool-bubble/tool-chip.js +13 -0
- package/dist/src/presentation/web/components/features/chat/useChatRuntime.d.ts +52 -1
- package/dist/src/presentation/web/components/features/chat/useChatRuntime.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/chat/useChatRuntime.js +360 -28
- package/dist/src/presentation/web/components/features/chat/workflow-placeholder.d.ts +21 -0
- package/dist/src/presentation/web/components/features/chat/workflow-placeholder.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/chat/workflow-placeholder.js +40 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts +3 -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 +183 -120
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts +4 -16
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.js +16 -109
- package/dist/src/presentation/web/components/features/control-center/control-center-inner.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-inner.js +40 -17
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts +4 -0
- 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 +25 -1
- package/dist/src/presentation/web/components/features/control-center/use-fab-actions.d.ts +2 -1
- package/dist/src/presentation/web/components/features/control-center/use-fab-actions.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/control-center/use-fab-actions.js +9 -2
- 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 +2 -9
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts +2 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +2 -0
- package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.d.ts +3 -1
- package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/AgentModelPicker/index.js +9 -4
- package/dist/src/presentation/web/hooks/deployment-status-provider.d.ts +1 -1
- package/dist/src/presentation/web/hooks/deployment-status-provider.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/deployment-status-provider.js +4 -1
- package/dist/src/presentation/web/hooks/use-graph-state.d.ts +5 -0
- package/dist/src/presentation/web/hooks/use-graph-state.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/use-graph-state.js +37 -2
- package/dist/src/presentation/web/hooks/use-turn-statuses.d.ts +13 -3
- package/dist/src/presentation/web/hooks/use-turn-statuses.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/use-turn-statuses.js +73 -13
- package/dist/src/presentation/web/lib/derive-graph.d.ts +11 -1
- package/dist/src/presentation/web/lib/derive-graph.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/derive-graph.js +35 -1
- package/dist/src/presentation/web/lib/layout-with-dagre.d.ts +8 -1
- package/dist/src/presentation/web/lib/layout-with-dagre.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/layout-with-dagre.js +27 -3
- package/dist/src/presentation/web/next.config.d.ts.map +1 -1
- package/dist/src/presentation/web/next.config.js +1 -0
- package/dist/translations/ar/web.json +2 -1
- package/dist/translations/de/web.json +2 -1
- package/dist/translations/en/web.json +2 -1
- package/dist/translations/es/web.json +2 -1
- package/dist/translations/fr/web.json +2 -1
- package/dist/translations/he/web.json +2 -1
- package/dist/translations/pt/web.json +2 -1
- package/dist/translations/ru/web.json +2 -1
- package/dist/translations/uk/web.json +2 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +5 -3
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +11 -0
- package/web/.next/build-manifest.json +5 -5
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +4 -3
- package/web/.next/required-server-files.json +4 -3
- package/web/.next/routes-manifest.json +84 -0
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +111 -81
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +107 -77
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +113 -83
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +129 -99
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +129 -99
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +109 -79
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +109 -79
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +107 -77
- package/web/.next/server/app/(dashboard)/chat/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +113 -83
- package/web/.next/server/app/(dashboard)/create/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +129 -99
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +129 -99
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +107 -77
- package/web/.next/server/app/(dashboard)/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +109 -79
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +6 -5
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +109 -79
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +6 -5
- 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/build-manifest.json +3 -3
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +27 -12
- 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/applications/[id]/files/content/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/applications/[id]/files/content/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/applications/[id]/files/content/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/applications/[id]/files/content/route.js +6 -0
- package/web/.next/server/app/api/applications/[id]/files/content/route.js.map +5 -0
- package/web/.next/server/app/api/applications/[id]/files/content/route.js.nft.json +1 -0
- package/web/.next/server/app/api/applications/[id]/files/content/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/applications/[id]/files/raw/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/applications/[id]/files/raw/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/applications/[id]/files/raw/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/applications/[id]/files/raw/route.js +7 -0
- package/web/.next/server/app/api/applications/[id]/files/raw/route.js.map +5 -0
- package/web/.next/server/app/api/applications/[id]/files/raw/route.js.nft.json +1 -0
- package/web/.next/server/app/api/applications/[id]/files/raw/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/applications/[id]/files/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/applications/[id]/files/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/applications/[id]/files/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/applications/[id]/files/route.js +6 -0
- package/web/.next/server/app/api/applications/[id]/files/route.js.map +5 -0
- package/web/.next/server/app/api/applications/[id]/files/route.js.nft.json +1 -0
- package/web/.next/server/app/api/applications/[id]/files/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/applications/[id]/files/watch/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/applications/[id]/files/watch/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/applications/[id]/files/watch/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/applications/[id]/files/watch/route.js +6 -0
- package/web/.next/server/app/api/applications/[id]/files/watch/route.js.map +5 -0
- package/web/.next/server/app/api/applications/[id]/files/watch/route.js.nft.json +1 -0
- package/web/.next/server/app/api/applications/[id]/files/watch/route_client-reference-manifest.js +2 -0
- 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/directory/list/route.js +1 -1
- package/web/.next/server/app/api/directory/list/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 +1 -1
- package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
- package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js +1 -1
- package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
- package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route.js +6 -0
- package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route.js.map +5 -0
- package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route.js.nft.json +1 -0
- package/web/.next/server/app/api/interactive/chat/turn-statuses/stream/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/sessions/route.js +1 -1
- package/web/.next/server/app/api/sessions/route.js.nft.json +1 -1
- package/web/.next/server/app/api/sessions-batch/route.js +1 -1
- package/web/.next/server/app/api/sessions-batch/route.js.nft.json +1 -1
- package/web/.next/server/app/api/terminal/[sessionId]/input/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/terminal/[sessionId]/input/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/terminal/[sessionId]/input/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/terminal/[sessionId]/input/route.js +6 -0
- package/web/.next/server/app/api/terminal/[sessionId]/input/route.js.map +5 -0
- package/web/.next/server/app/api/terminal/[sessionId]/input/route.js.nft.json +1 -0
- package/web/.next/server/app/api/terminal/[sessionId]/input/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/terminal/[sessionId]/resize/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/terminal/[sessionId]/resize/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/terminal/[sessionId]/resize/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/terminal/[sessionId]/resize/route.js +6 -0
- package/web/.next/server/app/api/terminal/[sessionId]/resize/route.js.map +5 -0
- package/web/.next/server/app/api/terminal/[sessionId]/resize/route.js.nft.json +1 -0
- package/web/.next/server/app/api/terminal/[sessionId]/resize/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/terminal/[sessionId]/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/terminal/[sessionId]/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/terminal/[sessionId]/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/terminal/[sessionId]/route.js +6 -0
- package/web/.next/server/app/api/terminal/[sessionId]/route.js.map +5 -0
- package/web/.next/server/app/api/terminal/[sessionId]/route.js.nft.json +1 -0
- package/web/.next/server/app/api/terminal/[sessionId]/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/terminal/[sessionId]/stream/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/terminal/[sessionId]/stream/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/terminal/[sessionId]/stream/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/terminal/[sessionId]/stream/route.js +6 -0
- package/web/.next/server/app/api/terminal/[sessionId]/stream/route.js.map +5 -0
- package/web/.next/server/app/api/terminal/[sessionId]/stream/route.js.nft.json +1 -0
- package/web/.next/server/app/api/terminal/[sessionId]/stream/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/api/terminal/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/terminal/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/terminal/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/terminal/route.js +6 -0
- package/web/.next/server/app/api/terminal/route.js.map +5 -0
- package/web/.next/server/app/api/terminal/route.js.nft.json +1 -0
- package/web/.next/server/app/api/terminal/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/application/[id]/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/application/[id]/page/build-manifest.json +18 -0
- package/web/.next/server/app/application/[id]/page/next-font-manifest.json +6 -0
- package/web/.next/server/app/application/[id]/page/react-loadable-manifest.json +8 -0
- package/web/.next/server/app/application/[id]/page/server-reference-manifest.json +230 -0
- package/web/.next/server/app/application/[id]/page.js +19 -0
- package/web/.next/server/app/application/[id]/page.js.map +5 -0
- package/web/.next/server/app/application/[id]/page.js.nft.json +1 -0
- package/web/.next/server/app/application/[id]/page_client-reference-manifest.js +2 -0
- package/web/.next/server/app/features/page/build-manifest.json +3 -3
- package/web/.next/server/app/features/page/server-reference-manifest.json +27 -12
- 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/settings/page/build-manifest.json +3 -3
- package/web/.next/server/app/settings/page/server-reference-manifest.json +33 -18
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/skills/page/server-reference-manifest.json +56 -26
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/tools/page/server-reference-manifest.json +52 -22
- package/web/.next/server/app/tools/page.js +3 -2
- 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/build-manifest.json +3 -3
- package/web/.next/server/app/version/page/server-reference-manifest.json +27 -12
- package/web/.next/server/app/version/page.js +3 -3
- 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 +11 -0
- package/web/.next/server/chunks/0d725_next-internal_server_app_api_applications_[id]_files_raw_route_actions_69e55b18.js +3 -0
- package/web/.next/server/chunks/0d725_next-internal_server_app_api_applications_[id]_files_raw_route_actions_69e55b18.js.map +1 -0
- package/web/.next/server/chunks/0d725_next-internal_server_app_api_terminal_[sessionId]_resize_route_actions_068451e5.js +3 -0
- package/web/.next/server/chunks/0d725_next-internal_server_app_api_terminal_[sessionId]_resize_route_actions_068451e5.js.map +1 -0
- package/web/.next/server/chunks/0d725_next-internal_server_app_api_terminal_[sessionId]_stream_route_actions_475d5f68.js +3 -0
- package/web/.next/server/chunks/0d725_next-internal_server_app_api_terminal_[sessionId]_stream_route_actions_475d5f68.js.map +1 -0
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_terminal_[sessionId]_route_actions_20e0d9a3.js +3 -0
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_terminal_[sessionId]_route_actions_20e0d9a3.js.map +1 -0
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_files_content_route_actions_b0c05593.js +3 -0
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_files_content_route_actions_b0c05593.js.map +1 -0
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_files_watch_route_actions_30d3aeeb.js +3 -0
- package/web/.next/server/chunks/8ba4b_server_app_api_applications_[id]_files_watch_route_actions_30d3aeeb.js.map +1 -0
- package/web/.next/server/chunks/8ba4b_server_app_api_interactive_chat_turn-statuses_stream_route_actions_52514889.js +3 -0
- package/web/.next/server/chunks/8ba4b_server_app_api_interactive_chat_turn-statuses_stream_route_actions_52514889.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__038012df._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__038012df._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__0e3323be._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__0e3323be._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__38b9b39e._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__38b9b39e._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__3c22f57d._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__3c22f57d._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__4906ab60._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__4906ab60._.js.map +1 -0
- package/web/.next/server/chunks/{[root-of-the-server]__2f61738a._.js → [root-of-the-server]__4eb2c4e4._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__acea6565._.js → [root-of-the-server]__5e3c6f3a._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__72175657._.js +9 -0
- package/web/.next/server/chunks/[root-of-the-server]__72175657._.js.map +1 -0
- package/web/.next/server/chunks/{[root-of-the-server]__31598852._.js → [root-of-the-server]__86965b92._.js} +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__8a281f8d._.js +19 -13
- package/web/.next/server/chunks/[root-of-the-server]__8a281f8d._.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__92409aeb._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__92409aeb._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__a52f55af._.js +6 -0
- package/web/.next/server/chunks/[root-of-the-server]__a52f55af._.js.map +1 -0
- package/web/.next/server/chunks/{[root-of-the-server]__2b1074db._.js → [root-of-the-server]__ac92afe7._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__2b1074db._.js.map → [root-of-the-server]__ac92afe7._.js.map} +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__b2a4bfcc._.js +3 -0
- package/web/.next/server/chunks/{[root-of-the-server]__c78383b1._.js.map → [root-of-the-server]__b2a4bfcc._.js.map} +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__e3692208._.js → [root-of-the-server]__c8f90b29._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__2b71641f._.js → [root-of-the-server]__cbf5b20b._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__2b71641f._.js.map → [root-of-the-server]__cbf5b20b._.js.map} +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__ccfcaa08._.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__ccfcaa08._.js.map +1 -0
- 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/[root-of-the-server]__deb67d81._.js +9 -0
- package/web/.next/server/chunks/[root-of-the-server]__deb67d81._.js.map +1 -0
- package/web/.next/server/chunks/{[root-of-the-server]__fc6fd958._.js → [root-of-the-server]__ecd08b79._.js} +2 -2
- package/web/.next/server/chunks/b1a17_presentation_web__next-internal_server_app_api_terminal_route_actions_f93ca3cb.js +3 -0
- package/web/.next/server/chunks/b1a17_presentation_web__next-internal_server_app_api_terminal_route_actions_f93ca3cb.js.map +1 -0
- package/web/.next/server/chunks/f3a1f__next-internal_server_app_api_applications_[id]_files_route_actions_e1af3c3a.js +3 -0
- package/web/.next/server/chunks/f3a1f__next-internal_server_app_api_applications_[id]_files_route_actions_e1af3c3a.js.map +1 -0
- package/web/.next/server/chunks/f3a1f__next-internal_server_app_api_terminal_[sessionId]_input_route_actions_b7785e18.js +3 -0
- package/web/.next/server/chunks/f3a1f__next-internal_server_app_api_terminal_[sessionId]_input_route_actions_b7785e18.js.map +1 -0
- 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/7f428_lucide-react_dist_esm_icons_5da25833._.js +3 -0
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_5da25833._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__013a0318._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__013a0318._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__d1040bd1._.js → [root-of-the-server]__090f24cb._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__d1040bd1._.js.map → [root-of-the-server]__090f24cb._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__17dadd08._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__17dadd08._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1925bef0._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1925bef0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1a9687c4._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1a9687c4._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__24756fa9._.js +12 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__24756fa9._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4ee8be85._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4ee8be85._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__70986695._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__70986695._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__efeeaed4._.js → [root-of-the-server]__7aa484f5._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__efeeaed4._.js.map → [root-of-the-server]__7aa484f5._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__86ff0bc5._.js → [root-of-the-server]__87bc4dac._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__87bc4dac._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__e0592c69._.js → [root-of-the-server]__894882ab._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a3a4ddef._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a3a4ddef._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a4222b95._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a4222b95._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a5ea76a6._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a5ea76a6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a6f2b763._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a6f2b763._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bb391c45._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__bb391c45._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__dd3e834e._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__dd3e834e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__357d99f9._.js → [root-of-the-server]__e265da61._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f3ca7bea._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f3ca7bea._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0277d3b5._.js +21 -0
- package/web/.next/server/chunks/ssr/_0277d3b5._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1879404a._.js +1 -1
- package/web/.next/server/chunks/ssr/_1879404a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1e08a336._.js +1 -1
- package/web/.next/server/chunks/ssr/_295fffde._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_2bea8166._.js +4 -0
- package/web/.next/server/chunks/ssr/_2bea8166._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_44531b76._.js +9 -0
- package/web/.next/server/chunks/ssr/_44531b76._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_45496654._.js +1 -1
- package/web/.next/server/chunks/ssr/_45496654._.js.map +1 -1
- 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/_5bf2415e._.js +7 -0
- package/web/.next/server/chunks/ssr/_5bf2415e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_82c47cc2._.js +3 -0
- package/web/.next/server/chunks/ssr/{_bb09579b._.js.map → _82c47cc2._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_869a3a15._.js +3 -0
- package/web/.next/server/chunks/ssr/_869a3a15._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_7d50fed0._.js → _946a7fc6._.js} +3 -3
- package/web/.next/server/chunks/ssr/_946a7fc6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_948d3cc6._.js +3 -0
- package/web/.next/server/chunks/ssr/_948d3cc6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_5889596f._.js → _96718a00._.js} +2 -2
- package/web/.next/server/chunks/ssr/_96718a00._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_9df33116._.js +3 -0
- package/web/.next/server/chunks/ssr/_9df33116._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_b227ff50._.js +3 -0
- package/web/.next/server/chunks/ssr/_b227ff50._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_e071ba48._.js +3 -0
- package/web/.next/server/chunks/ssr/_e071ba48._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_ee88b448._.js +3 -0
- package/web/.next/server/chunks/ssr/_ee88b448._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_eff1b518._.js +3 -0
- package/web/.next/server/chunks/ssr/_eff1b518._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f227429a._.js +3 -0
- package/web/.next/server/chunks/ssr/_f227429a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_496c9117._.js → _f86fc1bf._.js} +2 -2
- package/web/.next/server/chunks/ssr/_f86fc1bf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_f8c55130._.js +4 -0
- package/web/.next/server/chunks/ssr/_f8c55130._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_ff6f3257._.js +3 -0
- package/web/.next/server/chunks/ssr/_ff6f3257._.js.map +1 -0
- 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/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_1b7dae9a._.js → f7870_sonner_dist_index_mjs_dbf63824._.js} +2 -2
- package/web/.next/server/chunks/ssr/f7870_sonner_dist_index_mjs_dbf63824._.js.map +1 -0
- 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/src_presentation_web_36f2bc45._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_36f2bc45._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_486908de._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_486908de._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_5c3596bc._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_5c3596bc._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_6159fef8._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_6159fef8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_6326f81e._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_6326f81e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_6b2fdcd8._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_6b2fdcd8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_74703c9f._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_74703c9f._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_a8056dac._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_a8056dac._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_ad42cc73._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_ad42cc73._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +32 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_b00bfb08._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_b00bfb08._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -0
- 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 +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_common_base-drawer_base-drawer_tsx_97dfbbc8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -0
- 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/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_f1edcf5e._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_f1edcf5e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_f9436804._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_f9436804._.js.map +1 -0
- package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
- package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
- package/web/.next/server/middleware-build-manifest.js +3 -3
- 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 +1084 -703
- package/web/.next/static/chunks/{d26d0a7bc1a9b5a4.js → 010215070d22b4e6.js} +2 -2
- package/web/.next/static/chunks/06b9d6dbf635c370.css +1 -0
- package/web/.next/static/chunks/0a67d6e50e27452e.js +1 -0
- package/web/.next/static/chunks/11ef340e4cfbdbe6.js +1 -0
- package/web/.next/static/chunks/1ae0cf5be30ef398.js +1 -0
- package/web/.next/static/chunks/2a64d4b1a285fac5.js +1 -0
- package/web/.next/static/chunks/2ddda685a9100fd8.js +19 -0
- package/web/.next/static/chunks/2fe20598e1b4793a.js +5 -0
- package/web/.next/static/chunks/3ee4449e73eb4917.js +1 -0
- package/web/.next/static/chunks/{eb1ca1b0a34166f5.js → 66261997e6f830f1.js} +1 -1
- package/web/.next/static/chunks/6ecbcce796343f44.js +1 -0
- package/web/.next/static/chunks/7c3fe3c694874dea.js +1 -0
- package/web/.next/static/chunks/8f783e12274578c2.js +1 -0
- package/web/.next/static/chunks/927442d2628f6e22.js +1 -0
- package/web/.next/static/chunks/9370d114ce5b69fb.js +7 -0
- package/web/.next/static/chunks/b17c2d874c373d4e.js +1 -0
- package/web/.next/static/chunks/b2a010b2ba8710f4.js +1 -0
- package/web/.next/static/chunks/b7b85a15f387ab7c.css +1 -0
- package/web/.next/static/chunks/b99506a6f7bc2fa8.js +1 -0
- package/web/.next/static/chunks/{5a2bdbc57ed1368e.js → c1559152cf2ab9c6.js} +1 -1
- package/web/.next/static/chunks/d2182843a406b5a7.js +5 -0
- package/web/.next/static/chunks/edf812d5efffa096.js +7 -0
- package/web/.next/static/chunks/{f5c61237675acc89.js → ee9a716c6424ff25.js} +1 -1
- package/web/.next/static/chunks/f7a55ba1f789c55f.js +1 -0
- package/web/.next/static/chunks/fcf27468f8026dbd.js +1 -0
- package/web/.next/static/chunks/fe8bcc8ff36a61c0.js +1 -0
- package/web/.next/static/chunks/{turbopack-fa58b7ea4a4b26e7.js → turbopack-d16f2f815897af68.js} +1 -1
- package/web/next.config.mjs +1 -1
- package/web/package.json +7 -0
- package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +0 -3
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_bdff55d6.js +0 -3
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_adopt_page_actions_bdff55d6.js.map +0 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_6aa77d75.js +0 -3
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_@drawer_chat_page_actions_6aa77d75.js.map +0 -1
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_24adb073.js +0 -3
- package/web/.next/server/chunks/ssr/744ca_web__next-internal_server_app_(dashboard)_chat_page_actions_24adb073.js.map +0 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_281e0ef8._.js +0 -3
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_281e0ef8._.js.map +0 -1
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_a593f310._.js +0 -3
- package/web/.next/server/chunks/ssr/7f428_lucide-react_dist_esm_icons_a593f310._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__16c1388b._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__16c1388b._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__22d17c66._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__22d17c66._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__75070d2e._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__75070d2e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7c634c0f._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7c634c0f._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__86ff0bc5._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8f02b364._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8f02b364._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9dde817e._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__9dde817e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a00db173._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__a00db173._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__cf751517._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__cf751517._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e5f31e9a._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e5f31e9a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_15f6bbd4._.js +0 -3
- package/web/.next/server/chunks/ssr/_15f6bbd4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1b7dae9a._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_396a6887._.js +0 -3
- package/web/.next/server/chunks/ssr/_396a6887._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_43ba79e7._.js +0 -3
- package/web/.next/server/chunks/ssr/_43ba79e7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_496c9117._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_49b8d085._.js +0 -3
- package/web/.next/server/chunks/ssr/_49b8d085._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_5889596f._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_6abfa39e._.js +0 -3
- package/web/.next/server/chunks/ssr/_6abfa39e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_74a1a173._.js +0 -7
- package/web/.next/server/chunks/ssr/_74a1a173._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_7cb0396e._.js +0 -3
- package/web/.next/server/chunks/ssr/_7cb0396e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_7d50fed0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_9bbdd461._.js +0 -4
- package/web/.next/server/chunks/ssr/_9bbdd461._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_b7a43c05._.js +0 -3
- package/web/.next/server/chunks/ssr/_b7a43c05._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_bb09579b._.js +0 -3
- package/web/.next/server/chunks/ssr/_bcd239dd._.js +0 -3
- package/web/.next/server/chunks/ssr/_bcd239dd._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_e680c57c._.js +0 -9
- package/web/.next/server/chunks/ssr/_e680c57c._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_63d47a3e._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_63d47a3e._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_ef15a0bd._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_ef15a0bd._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_0338c789._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_0338c789._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_071f1e80._.js +0 -5
- package/web/.next/server/chunks/ssr/src_presentation_web_071f1e80._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_55c1ff7d._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_55c1ff7d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_9a543843._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_9a543843._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ad14a90f.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_(dashboard)_page_actions_ad14a90f.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_bade80bd._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_bade80bd._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_d5838156._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_d5838156._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_dc28bc60._.js +0 -5
- package/web/.next/server/chunks/ssr/src_presentation_web_dc28bc60._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_dcb020e3._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_dcb020e3._.js.map +0 -1
- package/web/.next/static/chunks/09edd35d194bec06.js +0 -5
- package/web/.next/static/chunks/124b79a5d2a760fb.css +0 -1
- package/web/.next/static/chunks/200e07d995bd9a42.js +0 -1
- package/web/.next/static/chunks/22e3a3738308da2e.js +0 -1
- package/web/.next/static/chunks/25d3c4d18b8aecff.js +0 -7
- package/web/.next/static/chunks/2ceebcc839ee0d4b.js +0 -1
- package/web/.next/static/chunks/34444901ca3a1c3b.js +0 -1
- package/web/.next/static/chunks/3cf86457869c47bc.js +0 -1
- package/web/.next/static/chunks/4052a4971fbbac9c.js +0 -1
- package/web/.next/static/chunks/55060446f5490f20.js +0 -3
- package/web/.next/static/chunks/59bff7b33ebe5f68.js +0 -1
- package/web/.next/static/chunks/8b0a9cb5109fe899.js +0 -1
- package/web/.next/static/chunks/971e52f3f386ccfd.js +0 -1
- package/web/.next/static/chunks/981c6f3f1db99b4e.js +0 -1
- package/web/.next/static/chunks/b63e6727c84f30e2.js +0 -1
- package/web/.next/static/chunks/c10c0d6d458453bc.js +0 -1
- package/web/.next/static/chunks/c94a6a3d54dd4997.js +0 -5
- package/web/.next/static/chunks/d04d868f0971941d.js +0 -1
- package/web/.next/static/chunks/e7502fb670f32235.js +0 -1
- package/web/.next/static/chunks/fb7211d94190d010.js +0 -5
- /package/web/.next/server/chunks/{[root-of-the-server]__2f61738a._.js.map → [root-of-the-server]__4eb2c4e4._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__acea6565._.js.map → [root-of-the-server]__5e3c6f3a._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__31598852._.js.map → [root-of-the-server]__86965b92._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__e3692208._.js.map → [root-of-the-server]__c8f90b29._.js.map} +0 -0
- /package/web/.next/server/chunks/{[root-of-the-server]__fc6fd958._.js.map → [root-of-the-server]__ecd08b79._.js.map} +0 -0
- /package/web/.next/server/chunks/ssr/{[root-of-the-server]__e0592c69._.js.map → [root-of-the-server]__894882ab._.js.map} +0 -0
- /package/web/.next/server/chunks/ssr/{[root-of-the-server]__357d99f9._.js.map → [root-of-the-server]__e265da61._.js.map} +0 -0
- /package/web/.next/static/{mLJ1Qa4FUFmmZm0crRH2U → ex3OTWRXHxfwD9RkifALI}/_buildManifest.js +0 -0
- /package/web/.next/static/{mLJ1Qa4FUFmmZm0crRH2U → ex3OTWRXHxfwD9RkifALI}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{mLJ1Qa4FUFmmZm0crRH2U → ex3OTWRXHxfwD9RkifALI}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Node Application File System Service
|
|
3
|
+
*
|
|
4
|
+
* Infrastructure adapter for `IApplicationFileSystemService` backed by
|
|
5
|
+
* `node:fs`. Confines all operations to a caller-supplied `rootPath` so
|
|
6
|
+
* path traversal is impossible regardless of what the web/cli layer
|
|
7
|
+
* passes in.
|
|
8
|
+
*/
|
|
9
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
13
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
|
+
};
|
|
15
|
+
import * as fs from 'node:fs';
|
|
16
|
+
import * as fsp from 'node:fs/promises';
|
|
17
|
+
import * as path from 'node:path';
|
|
18
|
+
import { injectable } from 'tsyringe';
|
|
19
|
+
import { ApplicationFileSystemError, } from '../../../application/ports/output/services/application-file-system-service.interface.js';
|
|
20
|
+
/** Directories we never traverse into or surface in the tree. */
|
|
21
|
+
const ALWAYS_IGNORED_DIRS = new Set([
|
|
22
|
+
'.git',
|
|
23
|
+
'node_modules',
|
|
24
|
+
'.next',
|
|
25
|
+
'.turbo',
|
|
26
|
+
'dist',
|
|
27
|
+
'build',
|
|
28
|
+
'out',
|
|
29
|
+
'.cache',
|
|
30
|
+
'.pnpm-store',
|
|
31
|
+
'coverage',
|
|
32
|
+
]);
|
|
33
|
+
/** Max bytes we will read into memory for a single file (1 MiB). */
|
|
34
|
+
const MAX_FILE_BYTES = 1024 * 1024;
|
|
35
|
+
/** Max bytes allowed for the raw-bytes endpoint (10 MiB — covers typical images). */
|
|
36
|
+
const MAX_RAW_FILE_BYTES = 10 * 1024 * 1024;
|
|
37
|
+
/** Extension → MIME type table for the raw endpoint. Covers common assets. */
|
|
38
|
+
const EXTENSION_MIME_TYPES = {
|
|
39
|
+
png: 'image/png',
|
|
40
|
+
jpg: 'image/jpeg',
|
|
41
|
+
jpeg: 'image/jpeg',
|
|
42
|
+
gif: 'image/gif',
|
|
43
|
+
webp: 'image/webp',
|
|
44
|
+
avif: 'image/avif',
|
|
45
|
+
bmp: 'image/bmp',
|
|
46
|
+
ico: 'image/x-icon',
|
|
47
|
+
svg: 'image/svg+xml',
|
|
48
|
+
pdf: 'application/pdf',
|
|
49
|
+
mp3: 'audio/mpeg',
|
|
50
|
+
wav: 'audio/wav',
|
|
51
|
+
ogg: 'audio/ogg',
|
|
52
|
+
mp4: 'video/mp4',
|
|
53
|
+
webm: 'video/webm',
|
|
54
|
+
woff: 'font/woff',
|
|
55
|
+
woff2: 'font/woff2',
|
|
56
|
+
ttf: 'font/ttf',
|
|
57
|
+
otf: 'font/otf',
|
|
58
|
+
};
|
|
59
|
+
function mimeTypeForPath(filePath) {
|
|
60
|
+
const base = path.basename(filePath).toLowerCase();
|
|
61
|
+
const dot = base.lastIndexOf('.');
|
|
62
|
+
if (dot === -1)
|
|
63
|
+
return 'application/octet-stream';
|
|
64
|
+
const ext = base.slice(dot + 1);
|
|
65
|
+
return EXTENSION_MIME_TYPES[ext] ?? 'application/octet-stream';
|
|
66
|
+
}
|
|
67
|
+
/** POSIX-normalized path (always "/"-separated). */
|
|
68
|
+
function toPosix(p) {
|
|
69
|
+
return p.replace(/\\/g, '/');
|
|
70
|
+
}
|
|
71
|
+
/** Resolve `relativePath` against `rootPath`, rejecting escapes. */
|
|
72
|
+
function resolveInside(rootPath, relativePath) {
|
|
73
|
+
// Treat empty/"/"/"." as the root itself.
|
|
74
|
+
const cleaned = (relativePath ?? '').replace(/^[/\\]+/, '');
|
|
75
|
+
const absRoot = path.resolve(rootPath);
|
|
76
|
+
const absTarget = path.resolve(absRoot, cleaned);
|
|
77
|
+
const rootWithSep = absRoot.endsWith(path.sep) ? absRoot : absRoot + path.sep;
|
|
78
|
+
if (absTarget !== absRoot && !absTarget.startsWith(rootWithSep)) {
|
|
79
|
+
throw new ApplicationFileSystemError(`Path escapes application root: ${relativePath}`, 'PATH_ESCAPES_ROOT');
|
|
80
|
+
}
|
|
81
|
+
return absTarget;
|
|
82
|
+
}
|
|
83
|
+
/** Heuristic: a buffer is "binary" if it contains a NUL byte in its first 8 KiB. */
|
|
84
|
+
function looksBinary(buf) {
|
|
85
|
+
const end = Math.min(buf.length, 8192);
|
|
86
|
+
for (let i = 0; i < end; i++) {
|
|
87
|
+
if (buf[i] === 0)
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
let NodeApplicationFileSystemService = class NodeApplicationFileSystemService {
|
|
93
|
+
async listTree(rootPath) {
|
|
94
|
+
const absRoot = path.resolve(rootPath);
|
|
95
|
+
let stat;
|
|
96
|
+
try {
|
|
97
|
+
stat = await fsp.stat(absRoot);
|
|
98
|
+
}
|
|
99
|
+
catch {
|
|
100
|
+
throw new ApplicationFileSystemError(`Application root does not exist: ${rootPath}`, 'NOT_FOUND');
|
|
101
|
+
}
|
|
102
|
+
if (!stat.isDirectory()) {
|
|
103
|
+
throw new ApplicationFileSystemError(`Application root is not a directory: ${rootPath}`, 'NOT_A_DIRECTORY');
|
|
104
|
+
}
|
|
105
|
+
const root = {
|
|
106
|
+
name: path.basename(absRoot) || absRoot,
|
|
107
|
+
path: '',
|
|
108
|
+
isDirectory: true,
|
|
109
|
+
children: await this.#readDir(absRoot, ''),
|
|
110
|
+
};
|
|
111
|
+
return root;
|
|
112
|
+
}
|
|
113
|
+
async #readDir(absDir, relDir) {
|
|
114
|
+
let entries;
|
|
115
|
+
try {
|
|
116
|
+
entries = await fsp.readdir(absDir, { withFileTypes: true });
|
|
117
|
+
}
|
|
118
|
+
catch {
|
|
119
|
+
return [];
|
|
120
|
+
}
|
|
121
|
+
// Sort: directories first, then alphabetical (case-insensitive).
|
|
122
|
+
entries.sort((a, b) => {
|
|
123
|
+
const ad = a.isDirectory() ? 0 : 1;
|
|
124
|
+
const bd = b.isDirectory() ? 0 : 1;
|
|
125
|
+
if (ad !== bd)
|
|
126
|
+
return ad - bd;
|
|
127
|
+
return a.name.toLowerCase().localeCompare(b.name.toLowerCase());
|
|
128
|
+
});
|
|
129
|
+
const results = [];
|
|
130
|
+
for (const entry of entries) {
|
|
131
|
+
if (entry.isDirectory() && ALWAYS_IGNORED_DIRS.has(entry.name))
|
|
132
|
+
continue;
|
|
133
|
+
// Skip symlinks (could escape root, not worth following).
|
|
134
|
+
if (entry.isSymbolicLink())
|
|
135
|
+
continue;
|
|
136
|
+
const childRel = relDir ? `${relDir}/${entry.name}` : entry.name;
|
|
137
|
+
const childAbs = path.join(absDir, entry.name);
|
|
138
|
+
if (entry.isDirectory()) {
|
|
139
|
+
results.push({
|
|
140
|
+
name: entry.name,
|
|
141
|
+
path: childRel,
|
|
142
|
+
isDirectory: true,
|
|
143
|
+
children: await this.#readDir(childAbs, childRel),
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
else if (entry.isFile()) {
|
|
147
|
+
results.push({
|
|
148
|
+
name: entry.name,
|
|
149
|
+
path: childRel,
|
|
150
|
+
isDirectory: false,
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
return results;
|
|
155
|
+
}
|
|
156
|
+
async readFile(rootPath, relativePath) {
|
|
157
|
+
const abs = resolveInside(rootPath, relativePath);
|
|
158
|
+
let stat;
|
|
159
|
+
try {
|
|
160
|
+
stat = await fsp.stat(abs);
|
|
161
|
+
}
|
|
162
|
+
catch {
|
|
163
|
+
throw new ApplicationFileSystemError(`File not found: ${relativePath}`, 'NOT_FOUND');
|
|
164
|
+
}
|
|
165
|
+
if (stat.isDirectory()) {
|
|
166
|
+
throw new ApplicationFileSystemError(`Path is a directory: ${relativePath}`, 'IS_DIRECTORY');
|
|
167
|
+
}
|
|
168
|
+
const posixPath = toPosix(path.relative(path.resolve(rootPath), abs));
|
|
169
|
+
if (stat.size > MAX_FILE_BYTES) {
|
|
170
|
+
return {
|
|
171
|
+
path: posixPath,
|
|
172
|
+
content: '',
|
|
173
|
+
size: stat.size,
|
|
174
|
+
tooLarge: true,
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
let buf;
|
|
178
|
+
try {
|
|
179
|
+
buf = await fsp.readFile(abs);
|
|
180
|
+
}
|
|
181
|
+
catch (err) {
|
|
182
|
+
throw new ApplicationFileSystemError(`Failed to read file: ${relativePath} (${err.message})`, 'IO');
|
|
183
|
+
}
|
|
184
|
+
if (looksBinary(buf)) {
|
|
185
|
+
return {
|
|
186
|
+
path: posixPath,
|
|
187
|
+
content: '',
|
|
188
|
+
size: stat.size,
|
|
189
|
+
binary: true,
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
return {
|
|
193
|
+
path: posixPath,
|
|
194
|
+
content: buf.toString('utf8'),
|
|
195
|
+
size: stat.size,
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
async readFileBuffer(rootPath, relativePath) {
|
|
199
|
+
const abs = resolveInside(rootPath, relativePath);
|
|
200
|
+
let stat;
|
|
201
|
+
try {
|
|
202
|
+
stat = await fsp.stat(abs);
|
|
203
|
+
}
|
|
204
|
+
catch {
|
|
205
|
+
throw new ApplicationFileSystemError(`File not found: ${relativePath}`, 'NOT_FOUND');
|
|
206
|
+
}
|
|
207
|
+
if (stat.isDirectory()) {
|
|
208
|
+
throw new ApplicationFileSystemError(`Path is a directory: ${relativePath}`, 'IS_DIRECTORY');
|
|
209
|
+
}
|
|
210
|
+
if (stat.size > MAX_RAW_FILE_BYTES) {
|
|
211
|
+
throw new ApplicationFileSystemError(`File exceeds raw-read size limit: ${relativePath}`, 'TOO_LARGE');
|
|
212
|
+
}
|
|
213
|
+
let buffer;
|
|
214
|
+
try {
|
|
215
|
+
buffer = await fsp.readFile(abs);
|
|
216
|
+
}
|
|
217
|
+
catch (err) {
|
|
218
|
+
throw new ApplicationFileSystemError(`Failed to read file: ${relativePath} (${err.message})`, 'IO');
|
|
219
|
+
}
|
|
220
|
+
return {
|
|
221
|
+
path: toPosix(path.relative(path.resolve(rootPath), abs)),
|
|
222
|
+
buffer,
|
|
223
|
+
size: stat.size,
|
|
224
|
+
mimeType: mimeTypeForPath(abs),
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
async writeFile(rootPath, relativePath, content) {
|
|
228
|
+
const abs = resolveInside(rootPath, relativePath);
|
|
229
|
+
try {
|
|
230
|
+
await fsp.mkdir(path.dirname(abs), { recursive: true });
|
|
231
|
+
await fsp.writeFile(abs, content, 'utf8');
|
|
232
|
+
}
|
|
233
|
+
catch (err) {
|
|
234
|
+
throw new ApplicationFileSystemError(`Failed to write file: ${relativePath} (${err.message})`, 'IO');
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
watch(rootPath, listener) {
|
|
238
|
+
const absRoot = path.resolve(rootPath);
|
|
239
|
+
// `fs.watch` recursive mode is supported on macOS, Windows, and
|
|
240
|
+
// Linux (Node >= 20). On older Linux it throws; we swallow the
|
|
241
|
+
// error and return a no-op to keep presentation code simple.
|
|
242
|
+
let watcher = null;
|
|
243
|
+
try {
|
|
244
|
+
watcher = fs.watch(absRoot, { recursive: true, persistent: false }, (_eventType, filename) => {
|
|
245
|
+
if (!filename)
|
|
246
|
+
return;
|
|
247
|
+
const rel = toPosix(String(filename));
|
|
248
|
+
// Skip anything inside an ignored dir (cheap prefix check).
|
|
249
|
+
const topSegment = rel.split('/')[0];
|
|
250
|
+
if (ALWAYS_IGNORED_DIRS.has(topSegment))
|
|
251
|
+
return;
|
|
252
|
+
// `kind` is always assigned in the try/catch below — either
|
|
253
|
+
// 'modified' if the path still exists on disk, or 'deleted'
|
|
254
|
+
// if the stat fails. Initialising it here with a placeholder
|
|
255
|
+
// would be dead code that lint correctly flags as a useless
|
|
256
|
+
// assignment. The `!` on the read below acknowledges that
|
|
257
|
+
// both branches set it before listener() runs.
|
|
258
|
+
let kind;
|
|
259
|
+
let isDirectory = false;
|
|
260
|
+
try {
|
|
261
|
+
const st = fs.statSync(path.join(absRoot, rel));
|
|
262
|
+
isDirectory = st.isDirectory();
|
|
263
|
+
kind = 'modified'; // heuristic: if it exists now, treat as created-or-modified
|
|
264
|
+
}
|
|
265
|
+
catch {
|
|
266
|
+
kind = 'deleted';
|
|
267
|
+
}
|
|
268
|
+
listener({ kind, path: rel, isDirectory });
|
|
269
|
+
});
|
|
270
|
+
watcher.on('error', () => {
|
|
271
|
+
// Swallow — watch errors should not crash the caller.
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
catch {
|
|
275
|
+
return () => {
|
|
276
|
+
/* no-op: watch unsupported on this platform */
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
return () => {
|
|
280
|
+
try {
|
|
281
|
+
watcher?.close();
|
|
282
|
+
}
|
|
283
|
+
catch {
|
|
284
|
+
// ignore
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
NodeApplicationFileSystemService = __decorate([
|
|
290
|
+
injectable()
|
|
291
|
+
], NodeApplicationFileSystemService);
|
|
292
|
+
export { NodeApplicationFileSystemService };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-pr.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/git-pr.service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AAC5G,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EACX,QAAQ,EACR,aAAa,EACb,cAAc,EACd,YAAY,EACb,MAAM,wEAAwE,CAAC;AAUhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,qBACa,YAAa,YAAW,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,YAAY;IAErE,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKxC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAgBjD,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAgF9C,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAKnD,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKpD,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAWxD,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAYvE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAuClE,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAE,aAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;YA6BjF,eAAe;IASvB,gBAAgB,CACpB,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,SAAS,UAAQ,GAChB,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"git-pr.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/git-pr.service.ts"],"names":[],"mappings":"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"}
|
|
@@ -22,7 +22,7 @@ import { readFileSync, writeFileSync, unlinkSync } from 'node:fs';
|
|
|
22
22
|
import { tmpdir } from 'node:os';
|
|
23
23
|
import { join } from 'node:path';
|
|
24
24
|
import yaml from 'js-yaml';
|
|
25
|
-
import { applyPrBranding } from './pr-branding.js';
|
|
25
|
+
import { applyPrBranding, applyCommitBranding } from './pr-branding.js';
|
|
26
26
|
let GitPrService = class GitPrService {
|
|
27
27
|
execFile;
|
|
28
28
|
constructor(execFile) {
|
|
@@ -298,9 +298,10 @@ let GitPrService = class GitPrService {
|
|
|
298
298
|
if (status.trim().length > 0) {
|
|
299
299
|
// Write commit message to a temp file to avoid shell splitting on Windows
|
|
300
300
|
// (DI-injected execFile uses shell: true on Windows, which splits on spaces)
|
|
301
|
+
const brandedMessage = applyCommitBranding(commitMessage);
|
|
301
302
|
const msgFile = join(tmpdir(), `shep-merge-msg-${Date.now()}.txt`);
|
|
302
303
|
try {
|
|
303
|
-
writeFileSync(msgFile,
|
|
304
|
+
writeFileSync(msgFile, brandedMessage, 'utf8');
|
|
304
305
|
await this.execFile('git', ['commit', '--file', msgFile], { cwd });
|
|
305
306
|
}
|
|
306
307
|
finally {
|
|
@@ -1,17 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* PR Branding
|
|
2
|
+
* PR & Commit Branding
|
|
3
3
|
*
|
|
4
|
-
* Centralizes the branding
|
|
5
|
-
* created by Shep. Ensures consistent attribution across all
|
|
6
|
-
* PR creation paths (agent-driven, fork-and-PR, etc.)
|
|
4
|
+
* Centralizes the branding used in pull request bodies and commit
|
|
5
|
+
* trailers created by Shep. Ensures consistent attribution across all
|
|
6
|
+
* PR creation paths (agent-driven, fork-and-PR, etc.) and all commit
|
|
7
|
+
* paths (agent commits, squash-merge commits, CI-fix commits).
|
|
7
8
|
*/
|
|
8
9
|
/** The branding line to append to PR bodies. */
|
|
9
10
|
export declare const PR_BRANDING = "[\uD83D\uDC11](https://github.com/shep-ai/shep) Built with [Shep.bot](https://shep.bot)";
|
|
11
|
+
/** The co-author trailer to include in commit messages. */
|
|
12
|
+
export declare const COMMIT_CO_AUTHOR = "Co-Authored-By: Shep Bot <shep-agent@users.noreply.github.com>";
|
|
10
13
|
/**
|
|
11
14
|
* Ensure a PR body carries the correct Shep branding.
|
|
12
15
|
*
|
|
13
16
|
* 1. Strips any unwanted AI-tool attribution footers
|
|
14
|
-
* 2.
|
|
17
|
+
* 2. Strips any unwanted Co-Authored-By trailers
|
|
18
|
+
* 3. Appends the Shep branding line if not already present
|
|
15
19
|
*/
|
|
16
20
|
export declare function applyPrBranding(body: string): string;
|
|
21
|
+
/**
|
|
22
|
+
* Ensure a commit message carries the correct Shep co-author trailer.
|
|
23
|
+
*
|
|
24
|
+
* 1. Strips any unwanted Co-Authored-By trailers (e.g. Claude)
|
|
25
|
+
* 2. Appends the Shep Bot co-author trailer if not already present
|
|
26
|
+
*/
|
|
27
|
+
export declare function applyCommitBranding(message: string): string;
|
|
17
28
|
//# sourceMappingURL=pr-branding.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pr-branding.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/pr-branding.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"pr-branding.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/git/pr-branding.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,gDAAgD;AAChD,eAAO,MAAM,WAAW,4FACyD,CAAC;AAElF,2DAA2D;AAC3D,eAAO,MAAM,gBAAgB,mEAAmE,CAAC;AAkBjG;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAgBpD;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAa3D"}
|
|
@@ -1,26 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* PR Branding
|
|
2
|
+
* PR & Commit Branding
|
|
3
3
|
*
|
|
4
|
-
* Centralizes the branding
|
|
5
|
-
* created by Shep. Ensures consistent attribution across all
|
|
6
|
-
* PR creation paths (agent-driven, fork-and-PR, etc.)
|
|
4
|
+
* Centralizes the branding used in pull request bodies and commit
|
|
5
|
+
* trailers created by Shep. Ensures consistent attribution across all
|
|
6
|
+
* PR creation paths (agent-driven, fork-and-PR, etc.) and all commit
|
|
7
|
+
* paths (agent commits, squash-merge commits, CI-fix commits).
|
|
7
8
|
*/
|
|
8
9
|
/** The branding line to append to PR bodies. */
|
|
9
10
|
export const PR_BRANDING = '[🐑](https://github.com/shep-ai/shep) Built with [Shep.bot](https://shep.bot)';
|
|
11
|
+
/** The co-author trailer to include in commit messages. */
|
|
12
|
+
export const COMMIT_CO_AUTHOR = 'Co-Authored-By: Shep Bot <shep-agent@users.noreply.github.com>';
|
|
10
13
|
/**
|
|
11
14
|
* Pattern matching common AI-tool attribution footers that should be
|
|
12
15
|
* replaced (e.g. "Generated with Claude Code", "Co-Authored-By: Claude").
|
|
13
16
|
*/
|
|
14
|
-
const
|
|
17
|
+
const UNWANTED_PR_BRANDING_PATTERN = /\n*(?:🤖\s*)?Generated with \[Claude Code\]\(https:\/\/claude\.com\/claude-code\)\s*/gi;
|
|
18
|
+
/**
|
|
19
|
+
* Pattern matching unwanted Co-Authored-By trailers from AI tools.
|
|
20
|
+
* Matches lines like:
|
|
21
|
+
* Co-Authored-By: Claude <noreply@anthropic.com>
|
|
22
|
+
* Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
|
23
|
+
* Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
|
|
24
|
+
*/
|
|
25
|
+
const UNWANTED_CO_AUTHOR_PATTERN = /\n*Co-Authored-By:\s*Claude[^\n]*<noreply@anthropic\.com>\s*/gi;
|
|
15
26
|
/**
|
|
16
27
|
* Ensure a PR body carries the correct Shep branding.
|
|
17
28
|
*
|
|
18
29
|
* 1. Strips any unwanted AI-tool attribution footers
|
|
19
|
-
* 2.
|
|
30
|
+
* 2. Strips any unwanted Co-Authored-By trailers
|
|
31
|
+
* 3. Appends the Shep branding line if not already present
|
|
20
32
|
*/
|
|
21
33
|
export function applyPrBranding(body) {
|
|
22
34
|
// Strip unwanted branding
|
|
23
|
-
let cleaned = body.replace(
|
|
35
|
+
let cleaned = body.replace(UNWANTED_PR_BRANDING_PATTERN, '');
|
|
36
|
+
// Strip unwanted co-author trailers
|
|
37
|
+
cleaned = cleaned.replace(UNWANTED_CO_AUTHOR_PATTERN, '');
|
|
24
38
|
// Trim trailing whitespace/newlines before appending branding
|
|
25
39
|
cleaned = cleaned.trimEnd();
|
|
26
40
|
// Only append if not already present
|
|
@@ -29,3 +43,20 @@ export function applyPrBranding(body) {
|
|
|
29
43
|
}
|
|
30
44
|
return cleaned;
|
|
31
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Ensure a commit message carries the correct Shep co-author trailer.
|
|
48
|
+
*
|
|
49
|
+
* 1. Strips any unwanted Co-Authored-By trailers (e.g. Claude)
|
|
50
|
+
* 2. Appends the Shep Bot co-author trailer if not already present
|
|
51
|
+
*/
|
|
52
|
+
export function applyCommitBranding(message) {
|
|
53
|
+
// Strip unwanted co-author trailers
|
|
54
|
+
let cleaned = message.replace(UNWANTED_CO_AUTHOR_PATTERN, '');
|
|
55
|
+
// Trim trailing whitespace/newlines
|
|
56
|
+
cleaned = cleaned.trimEnd();
|
|
57
|
+
// Only append if not already present
|
|
58
|
+
if (!cleaned.includes(COMMIT_CO_AUTHOR)) {
|
|
59
|
+
cleaned = `${cleaned}\n\n${COMMIT_CO_AUTHOR}`;
|
|
60
|
+
}
|
|
61
|
+
return cleaned;
|
|
62
|
+
}
|
package/dist/packages/core/src/infrastructure/services/interactive/interactive-session.service.d.ts
CHANGED
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
import type { IInteractiveSessionService, StreamChunk, UnsubscribeFn, ChatState } from '../../../application/ports/output/services/interactive-session-service.interface.js';
|
|
13
13
|
import type { IInteractiveSessionRepository } from '../../../application/ports/output/repositories/interactive-session-repository.interface.js';
|
|
14
14
|
import type { IInteractiveMessageRepository } from '../../../application/ports/output/repositories/interactive-message-repository.interface.js';
|
|
15
|
+
import type { IWorkflowStepRepository } from '../../../application/ports/output/repositories/workflow-step-repository.interface.js';
|
|
15
16
|
import type { IAgentExecutorFactory } from '../../../application/ports/output/agents/agent-executor-factory.interface.js';
|
|
16
17
|
import type { IFeatureRepository } from '../../../application/ports/output/repositories/feature-repository.interface.js';
|
|
17
|
-
import type { InteractiveSession, InteractiveMessage } from '../../../domain/generated/output.js';
|
|
18
|
+
import type { InteractiveSession, InteractiveMessage, WorkflowStep } from '../../../domain/generated/output.js';
|
|
18
19
|
import { type FeatureContextBuilder } from './feature-context.builder.js';
|
|
19
20
|
/**
|
|
20
21
|
* Core service managing interactive agent session lifecycles.
|
|
@@ -37,6 +38,7 @@ export declare class InteractiveSessionService implements IInteractiveSessionSer
|
|
|
37
38
|
private readonly executorFactory;
|
|
38
39
|
private readonly featureRepo;
|
|
39
40
|
private readonly contextBuilder;
|
|
41
|
+
private readonly workflowStepRepo;
|
|
40
42
|
/** Live sessions indexed by sessionId. */
|
|
41
43
|
private sessions;
|
|
42
44
|
/** Cached agentSessionIds from stopped sessions, keyed by featureId. */
|
|
@@ -49,8 +51,23 @@ export declare class InteractiveSessionService implements IInteractiveSessionSer
|
|
|
49
51
|
* subscribe here so they continue receiving events from new sessions.
|
|
50
52
|
*/
|
|
51
53
|
private featureSubscribers;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Global subscribers — receive every chunk from every session tagged
|
|
56
|
+
* with its feature scope key. Used by the global turn-status SSE
|
|
57
|
+
* endpoint so the sidebar can track all active sessions without
|
|
58
|
+
* polling.
|
|
59
|
+
*/
|
|
60
|
+
private globalSubscribers;
|
|
61
|
+
/**
|
|
62
|
+
* Currently-active workflow step id per feature scope. Set by the
|
|
63
|
+
* orchestrator (`RunWorkflowUseCase`) before each agent turn and
|
|
64
|
+
* cleared between steps. `persistMessage` reads this so every row
|
|
65
|
+
* it inserts is tagged with the right `step_id`. In-memory only —
|
|
66
|
+
* the DB is the source of truth for per-message `stepId`.
|
|
67
|
+
*/
|
|
68
|
+
private activeStepByFeature;
|
|
69
|
+
constructor(sessionRepo: IInteractiveSessionRepository, messageRepo: IInteractiveMessageRepository, executorFactory: IAgentExecutorFactory, featureRepo: IFeatureRepository, contextBuilder: FeatureContextBuilder, workflowStepRepo: IWorkflowStepRepository);
|
|
70
|
+
startSession(featureId: string, worktreePath: string, model?: string, agentType?: string, systemPrompt?: string, initialUserMessage?: string): Promise<InteractiveSession>;
|
|
54
71
|
/**
|
|
55
72
|
* Asynchronously complete the boot sequence: build feature context,
|
|
56
73
|
* create an SDK session via the interactive executor, send the boot
|
|
@@ -68,14 +85,25 @@ export declare class InteractiveSessionService implements IInteractiveSessionSer
|
|
|
68
85
|
clearMessages(featureId: string): Promise<void>;
|
|
69
86
|
getSession(sessionId: string): Promise<InteractiveSession | null>;
|
|
70
87
|
subscribe(sessionId: string, onChunk: (chunk: StreamChunk) => void): UnsubscribeFn;
|
|
71
|
-
sendUserMessage(featureId: string, content: string, worktreePath: string, model?: string, agentType?: string): Promise<InteractiveMessage>;
|
|
88
|
+
sendUserMessage(featureId: string, content: string, worktreePath: string, model?: string, agentType?: string, systemPrompt?: string, agentKickoffOverride?: string): Promise<InteractiveMessage>;
|
|
72
89
|
getChatState(featureId: string): Promise<ChatState>;
|
|
73
90
|
subscribeByFeature(featureId: string, onChunk: (chunk: StreamChunk) => void): UnsubscribeFn;
|
|
91
|
+
subscribeAll(onChunk: (featureId: string, chunk: StreamChunk) => void): UnsubscribeFn;
|
|
74
92
|
stopByFeature(featureId: string): Promise<void>;
|
|
75
93
|
markRead(featureId: string): Promise<void>;
|
|
76
94
|
getTurnStatuses(featureIds: string[]): Promise<Map<string, string>>;
|
|
77
95
|
getAllActiveTurnStatuses(): Promise<Map<string, string>>;
|
|
78
96
|
respondToInteraction(featureId: string, answers: Record<string, string>): Promise<void>;
|
|
97
|
+
setActiveStep(featureId: string, stepId: string): void;
|
|
98
|
+
clearActiveStep(featureId: string): void;
|
|
99
|
+
notifyWorkflowStep(featureId: string, step: WorkflowStep): void;
|
|
100
|
+
/**
|
|
101
|
+
* Resolves the next time any subscriber receives a `done: true`
|
|
102
|
+
* chunk for the given feature. The orchestrator subscribes BEFORE
|
|
103
|
+
* sending the step prompt so the resolution can't race with the
|
|
104
|
+
* agent finishing before the promise is set up.
|
|
105
|
+
*/
|
|
106
|
+
waitForTurnDone(featureId: string, signal?: AbortSignal): Promise<void>;
|
|
79
107
|
/**
|
|
80
108
|
* Build the onUserQuestion callback for a session.
|
|
81
109
|
* Called by the SDK's canUseTool when the agent invokes AskUserQuestion.
|
|
@@ -101,12 +129,23 @@ export declare class InteractiveSessionService implements IInteractiveSessionSer
|
|
|
101
129
|
* must survive session restarts).
|
|
102
130
|
*/
|
|
103
131
|
private notify;
|
|
104
|
-
/**
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
private
|
|
132
|
+
/**
|
|
133
|
+
* Notify feature-level subscribers when no in-memory session state is
|
|
134
|
+
* available (e.g. while persisting the user message before cold-boot).
|
|
135
|
+
* Session-scoped subscribers don't exist yet at that point.
|
|
136
|
+
*/
|
|
137
|
+
private notifyByFeatureId;
|
|
138
|
+
/** Persist a message AND notify subscribers. Use everywhere instead of
|
|
139
|
+
* calling `messageRepo.create` directly. The current active workflow
|
|
140
|
+
* step for the feature (if any) is stamped onto the row so every
|
|
141
|
+
* message is grouped under the right step card in the UI. */
|
|
142
|
+
private persistMessage;
|
|
143
|
+
/** Update session status AND notify subscribers. Passes `endedAt` to
|
|
144
|
+
* the repo only when supplied so call-arity matches the legacy
|
|
145
|
+
* two-argument shape (keeps existing test expectations happy). */
|
|
146
|
+
private updateSessionStatusAndNotify;
|
|
147
|
+
/** Update turn status AND notify subscribers. */
|
|
148
|
+
private updateTurnStatusAndNotify;
|
|
110
149
|
/** Read the concurrent session cap from settings or fall back to default. */
|
|
111
150
|
private getCap;
|
|
112
151
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactive-session.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/interactive/interactive-session.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EACV,0BAA0B,EAC1B,WAAW,EACX,aAAa,EACb,SAAS,EACV,MAAM,qFAAqF,CAAC;AAC7F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4FAA4F,CAAC;AAChJ,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4FAA4F,CAAC;AAChJ,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8EAA8E,CAAC;AAK1H,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gFAAgF,CAAC;AACzH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"interactive-session.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/interactive/interactive-session.service.ts"],"names":[],"mappings":"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"}
|