@shepai/cli 1.20.1 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eslint.config.mjs +1 -0
- package/dist/packages/core/src/application/index.d.ts +26 -0
- package/dist/packages/core/src/application/index.d.ts.map +1 -0
- package/dist/packages/core/src/application/index.js +27 -0
- package/dist/packages/core/src/application/ports/output/agents/agent-executor-factory.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/agents/agent-executor-provider.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/agents/agent-executor.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/agents/agent-registry.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/agents/agent-run-repository.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/agents/agent-runner.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/agents/agent-validator.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/agents/index.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/agents/phase-timing-repository.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/index.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/repositories/feature-repository.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/repositories/index.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/repositories/settings.repository.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/external-issue-fetcher.interface.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/application/ports/output/services/index.d.ts +1 -0
- package/dist/packages/core/src/application/ports/output/services/index.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/tool-installer.service.d.ts +35 -0
- package/dist/packages/core/src/application/ports/output/services/tool-installer.service.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/tool-installer.service.js +7 -0
- package/dist/packages/core/src/application/ports/output/services/version-service.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/web-server-service.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/ports/output/services/worktree-service.interface.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/configure-agent.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/delete-agent-run.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/get-agent-run.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/list-agent-runs.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/run-agent.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/show-agent-run.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/stop-agent-run.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/agents/validate-agent-auth.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/features/create/metadata-generator.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/features/create/slug-resolver.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/features/list-features.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/features/show-feature.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/settings/index.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/settings/initialize-settings.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/settings/load-settings.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/settings/update-settings.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/tools/install-tool.use-case.d.ts +21 -0
- package/dist/packages/core/src/application/use-cases/tools/install-tool.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/tools/install-tool.use-case.js +41 -0
- package/dist/packages/core/src/application/use-cases/tools/validate-tool-availability.use-case.d.ts +20 -0
- package/dist/packages/core/src/application/use-cases/tools/validate-tool-availability.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/tools/validate-tool-availability.use-case.js +40 -0
- package/dist/packages/core/src/domain/factories/index.d.ts.map +1 -0
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.d.ts.map +1 -0
- package/dist/packages/core/src/domain/generated/index.d.ts +2 -0
- package/dist/packages/core/src/domain/generated/index.d.ts.map +1 -0
- package/dist/packages/core/src/domain/generated/index.js +2 -0
- package/dist/{src → packages/core/src}/domain/generated/output.d.ts +97 -0
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/domain/generated/output.js +10 -0
- package/dist/packages/core/src/domain/index.d.ts +10 -0
- package/dist/packages/core/src/domain/index.d.ts.map +1 -0
- package/dist/packages/core/src/domain/index.js +10 -0
- package/dist/packages/core/src/domain/value-objects/index.d.ts +5 -0
- package/dist/packages/core/src/domain/value-objects/index.d.ts.map +1 -0
- package/dist/packages/core/src/domain/value-objects/index.js +2 -0
- package/dist/packages/core/src/domain/value-objects/tool-installation-status.d.ts +70 -0
- package/dist/packages/core/src/domain/value-objects/tool-installation-status.d.ts.map +1 -0
- package/dist/packages/core/src/domain/value-objects/tool-installation-status.js +111 -0
- package/dist/packages/core/src/domain/value-objects/version-info.d.ts.map +1 -0
- package/dist/packages/core/src/index.d.ts +6 -0
- package/dist/packages/core/src/index.d.ts.map +1 -0
- package/dist/packages/core/src/index.js +6 -0
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/di/container.js +6 -0
- package/dist/packages/core/src/infrastructure/index.d.ts +8 -0
- package/dist/packages/core/src/infrastructure/index.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/index.js +9 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/connection.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/agent-run.mapper.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/repositories/agent-run.repository.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-phase-timing.repository.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/analyze-repo/prompts/analyze-repository.prompt.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/agent-executor-factory.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/agent-executor-provider.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/agent-registry.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/agent-runner.service.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-runner.service.js +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/common/agent-validator.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/checkpointer.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/cursor-executor.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/mock-executor-factory.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/executors/mock-executor.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/common/types.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +17 -17
- package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/feature-agent-worker.js +2 -2
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/heartbeat.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/analyze.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/implement.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/plan.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/analyze.prompt.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/plan.prompt.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/requirements.prompt.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/research.prompt.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/repair.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/requirements.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/research.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/schemas/plan.schema.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/schemas/research.schema.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/schemas/spec.schema.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/schemas/validation.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/validate.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/phase-timing-context.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/streaming/event-channel.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/streaming/index.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/streaming/streaming-executor-proxy.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/external/github-issue.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/external/jira-ticket.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/filesystem/shep-directory.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/folder-dialog.service.d.ts +20 -0
- package/dist/packages/core/src/infrastructure/services/folder-dialog.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/folder-dialog.service.js +50 -0
- package/dist/packages/core/src/infrastructure/services/git/worktree.service.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/antigravity.launcher.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/services/ide-launchers/antigravity.launcher.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/cursor.launcher.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/services/ide-launchers/cursor.launcher.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/ide-launchers/ide-launcher.interface.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/ide-launchers/ide-launcher.registry.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/vscode.launcher.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/services/ide-launchers/vscode.launcher.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/windsurf.launcher.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/services/ide-launchers/windsurf.launcher.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/zed.launcher.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/services/ide-launchers/zed.launcher.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/port.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/settings.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-installer.service.d.ts +36 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-installer.service.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-installer.service.js +179 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-metadata.d.ts +37 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-metadata.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-metadata.js +52 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/antigravity.json +20 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/claude-code.json +16 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/cursor-cli.json +16 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/cursor.json +17 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/vscode.json +17 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/windsurf.json +17 -0
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/zed.json +17 -0
- package/dist/packages/core/src/infrastructure/services/version.service.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/version.service.js +18 -4
- package/dist/{src → packages/core/src}/infrastructure/services/web-server.service.d.ts +4 -4
- package/dist/packages/core/src/infrastructure/services/web-server.service.d.ts.map +1 -0
- package/dist/{src → packages/core/src}/infrastructure/services/web-server.service.js +8 -7
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.js +1 -1
- package/dist/src/presentation/cli/commands/agent/approve.command.js +2 -2
- package/dist/src/presentation/cli/commands/agent/delete.command.js +3 -3
- package/dist/src/presentation/cli/commands/agent/ls.command.js +2 -2
- package/dist/src/presentation/cli/commands/agent/reject.command.js +2 -2
- package/dist/src/presentation/cli/commands/agent/resolve-run.d.ts +1 -1
- package/dist/src/presentation/cli/commands/agent/resolve-run.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/agent/resolve-run.js +3 -3
- package/dist/src/presentation/cli/commands/agent/show.command.js +2 -2
- package/dist/src/presentation/cli/commands/agent/stop.command.js +2 -2
- package/dist/src/presentation/cli/commands/feat/approve.command.js +2 -2
- package/dist/src/presentation/cli/commands/feat/del.command.js +3 -3
- package/dist/src/presentation/cli/commands/feat/ls.command.js +2 -2
- package/dist/src/presentation/cli/commands/feat/new.command.js +3 -3
- package/dist/src/presentation/cli/commands/feat/reject.command.js +2 -2
- package/dist/src/presentation/cli/commands/feat/resolve-waiting-feature.d.ts +3 -3
- package/dist/src/presentation/cli/commands/feat/resolve-waiting-feature.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/resolve-waiting-feature.js +1 -1
- package/dist/src/presentation/cli/commands/feat/resume.command.js +2 -2
- package/dist/src/presentation/cli/commands/feat/review.command.js +1 -1
- package/dist/src/presentation/cli/commands/feat/show.command.js +3 -3
- package/dist/src/presentation/cli/commands/ide-open.command.js +6 -6
- package/dist/src/presentation/cli/commands/install.command.d.ts +14 -0
- package/dist/src/presentation/cli/commands/install.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/install.command.js +134 -0
- package/dist/src/presentation/cli/commands/run.command.js +2 -2
- package/dist/src/presentation/cli/commands/settings/agent.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/settings/agent.command.js +3 -3
- package/dist/src/presentation/cli/commands/settings/ide.command.js +5 -5
- package/dist/src/presentation/cli/commands/settings/init.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/settings/init.command.js +2 -2
- package/dist/src/presentation/cli/commands/settings/show.command.js +2 -2
- package/dist/src/presentation/cli/commands/ui.command.js +4 -4
- package/dist/src/presentation/cli/commands/version.command.js +1 -1
- package/dist/src/presentation/cli/index.js +13 -3
- package/dist/src/presentation/cli/ui/colors.d.ts +1 -1
- package/dist/src/presentation/cli/ui/colors.js +1 -1
- package/dist/src/presentation/cli/ui/formatters.d.ts +1 -1
- package/dist/src/presentation/cli/ui/formatters.js +1 -1
- package/dist/src/presentation/cli/ui/index.d.ts +2 -1
- package/dist/src/presentation/cli/ui/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/ui/index.js +2 -1
- package/dist/src/presentation/cli/ui/install-messages.d.ts +23 -0
- package/dist/src/presentation/cli/ui/install-messages.d.ts.map +1 -0
- package/dist/src/presentation/cli/ui/install-messages.js +36 -0
- package/dist/src/presentation/cli/ui/messages.d.ts +1 -1
- package/dist/src/presentation/cli/ui/messages.js +1 -1
- package/dist/src/presentation/cli/ui/spinner.d.ts +1 -1
- package/dist/src/presentation/cli/ui/spinner.js +1 -1
- package/dist/src/presentation/cli/ui/symbols.d.ts +1 -1
- package/dist/src/presentation/cli/ui/symbols.js +1 -1
- package/dist/src/presentation/tui/prompts/agent-select.prompt.d.ts +1 -1
- package/dist/src/presentation/tui/prompts/agent-select.prompt.js +1 -1
- package/dist/src/presentation/tui/prompts/auth-method.prompt.d.ts +1 -1
- package/dist/src/presentation/tui/prompts/auth-method.prompt.js +1 -1
- package/dist/src/presentation/tui/prompts/ide-select.prompt.d.ts +1 -1
- package/dist/src/presentation/tui/prompts/ide-select.prompt.d.ts.map +1 -1
- package/dist/src/presentation/tui/prompts/ide-select.prompt.js +1 -1
- package/dist/src/presentation/tui/wizards/agent-config.wizard.d.ts +1 -1
- package/dist/src/presentation/tui/wizards/agent-config.wizard.js +1 -1
- package/dist/src/presentation/web/app/api/dialog/pick-folder/route.d.ts +11 -0
- package/dist/src/presentation/web/app/api/dialog/pick-folder/route.d.ts.map +1 -0
- package/dist/src/presentation/web/app/api/dialog/pick-folder/route.js +16 -0
- package/dist/src/presentation/web/app/layout.js +1 -1
- package/dist/src/presentation/web/app/page.d.ts +1 -1
- package/dist/src/presentation/web/app/page.d.ts.map +1 -1
- package/dist/src/presentation/web/app/page.js +72 -5
- package/dist/src/presentation/web/app/version/page.js +2 -2
- package/dist/src/presentation/web/components/common/add-repository-node/add-repository-node-config.d.ts +7 -0
- package/dist/src/presentation/web/components/common/add-repository-node/add-repository-node-config.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/add-repository-node/add-repository-node-config.js +1 -0
- package/dist/src/presentation/web/components/common/add-repository-node/add-repository-node.d.ts +6 -0
- package/dist/src/presentation/web/components/common/add-repository-node/add-repository-node.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/add-repository-node/add-repository-node.js +23 -0
- package/dist/src/presentation/web/components/common/add-repository-node/add-repository-node.stories.d.ts +8 -0
- package/dist/src/presentation/web/components/common/add-repository-node/add-repository-node.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/add-repository-node/add-repository-node.stories.js +27 -0
- package/dist/src/presentation/web/components/common/add-repository-node/index.d.ts +3 -0
- package/dist/src/presentation/web/components/common/add-repository-node/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/add-repository-node/index.js +1 -0
- package/dist/src/presentation/web/components/common/add-repository-node/pick-folder.d.ts +6 -0
- package/dist/src/presentation/web/components/common/add-repository-node/pick-folder.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/add-repository-node/pick-folder.js +13 -0
- package/dist/src/presentation/web/components/common/elapsed-time/elapsed-time.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/elapsed-time/elapsed-time.stories.js +1 -1
- package/dist/src/presentation/web/components/common/elapsed-time/index.d.ts +1 -1
- package/dist/src/presentation/web/components/common/elapsed-time/index.js +1 -1
- package/dist/src/presentation/web/components/common/empty-state/empty-state.js +1 -1
- package/dist/src/presentation/web/components/common/empty-state/empty-state.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/empty-state/empty-state.stories.js +2 -2
- package/dist/src/presentation/web/components/common/empty-state/index.d.ts +1 -1
- package/dist/src/presentation/web/components/common/empty-state/index.js +1 -1
- package/dist/src/presentation/web/components/common/feature-list-item/feature-list-item.d.ts +1 -1
- package/dist/src/presentation/web/components/common/feature-list-item/feature-list-item.js +3 -3
- package/dist/src/presentation/web/components/common/feature-list-item/feature-list-item.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/feature-list-item/feature-list-item.stories.js +2 -2
- package/dist/src/presentation/web/components/common/feature-list-item/index.d.ts +2 -2
- package/dist/src/presentation/web/components/common/feature-list-item/index.js +1 -1
- package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.d.ts +12 -0
- package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.js +29 -0
- package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.stories.d.ts +8 -0
- package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-node/agent-type-icons.stories.js +30 -0
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts +28 -0
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +71 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +42 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js +71 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts +7 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node.js +37 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node.stories.d.ts +16 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node.stories.js +228 -0
- package/dist/src/presentation/web/components/common/feature-node/index.d.ts +5 -0
- package/dist/src/presentation/web/components/common/feature-node/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-node/index.js +4 -0
- package/dist/src/presentation/web/components/common/feature-status-badges/feature-status-badges.d.ts +1 -1
- package/dist/src/presentation/web/components/common/feature-status-badges/feature-status-badges.js +3 -3
- package/dist/src/presentation/web/components/common/feature-status-badges/feature-status-badges.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/feature-status-badges/feature-status-badges.stories.js +2 -2
- package/dist/src/presentation/web/components/common/feature-status-badges/index.d.ts +2 -2
- package/dist/src/presentation/web/components/common/feature-status-badges/index.js +1 -1
- package/dist/src/presentation/web/components/common/feature-status-group/feature-status-group.js +1 -1
- package/dist/src/presentation/web/components/common/feature-status-group/feature-status-group.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/feature-status-group/feature-status-group.stories.js +3 -3
- package/dist/src/presentation/web/components/common/feature-status-group/index.d.ts +2 -2
- package/dist/src/presentation/web/components/common/feature-status-group/index.js +1 -1
- package/dist/src/presentation/web/components/common/index.d.ts +16 -0
- package/dist/src/presentation/web/components/common/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/index.js +15 -0
- package/dist/src/presentation/web/components/common/loading-skeleton/index.d.ts +1 -1
- package/dist/src/presentation/web/components/common/loading-skeleton/index.js +1 -1
- package/dist/src/presentation/web/components/common/loading-skeleton/loading-skeleton.js +1 -1
- package/dist/src/presentation/web/components/common/loading-skeleton/loading-skeleton.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/loading-skeleton/loading-skeleton.stories.js +1 -1
- package/dist/src/presentation/web/components/common/page-header/index.d.ts +1 -1
- package/dist/src/presentation/web/components/common/page-header/index.js +1 -1
- package/dist/src/presentation/web/components/common/page-header/page-header.js +1 -1
- package/dist/src/presentation/web/components/common/page-header/page-header.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/page-header/page-header.stories.js +2 -2
- package/dist/src/presentation/web/components/common/repository-node/index.d.ts +3 -0
- package/dist/src/presentation/web/components/common/repository-node/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/repository-node/index.js +1 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node-config.d.ts +11 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node-config.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node-config.js +1 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts +6 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node.js +13 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node.stories.d.ts +12 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/repository-node/repository-node.stories.js +76 -0
- package/dist/src/presentation/web/components/common/shep-logo/index.d.ts +2 -2
- package/dist/src/presentation/web/components/common/shep-logo/index.js +1 -1
- package/dist/src/presentation/web/components/common/shep-logo/shep-logo.js +1 -1
- package/dist/src/presentation/web/components/common/shep-logo/shep-logo.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/shep-logo/shep-logo.stories.js +1 -1
- package/dist/src/presentation/web/components/common/sidebar-collapse-toggle/index.d.ts +2 -2
- package/dist/src/presentation/web/components/common/sidebar-collapse-toggle/index.js +1 -1
- package/dist/src/presentation/web/components/common/sidebar-collapse-toggle/sidebar-collapse-toggle.js +3 -3
- package/dist/src/presentation/web/components/common/sidebar-collapse-toggle/sidebar-collapse-toggle.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/sidebar-collapse-toggle/sidebar-collapse-toggle.stories.js +2 -2
- package/dist/src/presentation/web/components/common/sidebar-nav-item/index.d.ts +2 -2
- package/dist/src/presentation/web/components/common/sidebar-nav-item/index.js +1 -1
- package/dist/src/presentation/web/components/common/sidebar-nav-item/sidebar-nav-item.js +1 -1
- package/dist/src/presentation/web/components/common/sidebar-nav-item/sidebar-nav-item.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/sidebar-nav-item/sidebar-nav-item.stories.js +2 -2
- package/dist/src/presentation/web/components/common/sidebar-section-header/index.d.ts +2 -2
- package/dist/src/presentation/web/components/common/sidebar-section-header/index.js +1 -1
- package/dist/src/presentation/web/components/common/sidebar-section-header/sidebar-section-header.js +4 -4
- package/dist/src/presentation/web/components/common/sidebar-section-header/sidebar-section-header.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/sidebar-section-header/sidebar-section-header.stories.js +2 -2
- package/dist/src/presentation/web/components/common/theme-toggle/index.d.ts +1 -1
- package/dist/src/presentation/web/components/common/theme-toggle/index.js +1 -1
- package/dist/src/presentation/web/components/common/theme-toggle/theme-toggle.js +2 -2
- package/dist/src/presentation/web/components/common/theme-toggle/theme-toggle.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/common/theme-toggle/theme-toggle.stories.js +1 -1
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts +6 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.js +31 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts +8 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-empty-state.stories.js +25 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-inner.d.ts +9 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-inner.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/control-center/control-center-inner.js +9 -0
- package/dist/src/presentation/web/components/features/control-center/control-center.d.ts +8 -0
- package/dist/src/presentation/web/components/features/control-center/control-center.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/control-center/control-center.js +7 -0
- package/dist/src/presentation/web/components/features/control-center/control-center.stories.d.ts +29 -0
- package/dist/src/presentation/web/components/features/control-center/control-center.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/control-center/control-center.stories.js +249 -0
- package/dist/src/presentation/web/components/features/control-center/index.d.ts +3 -0
- package/dist/src/presentation/web/components/features/control-center/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/control-center/index.js +2 -0
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts +20 -0
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/control-center/use-control-center-state.js +219 -0
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts +22 -0
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.js +52 -0
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.d.ts +17 -0
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/features-canvas/features-canvas.stories.js +520 -0
- package/dist/src/presentation/web/components/features/features-canvas/index.d.ts +2 -0
- package/dist/src/presentation/web/components/features/features-canvas/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/features-canvas/index.js +1 -0
- package/dist/src/presentation/web/components/features/index.d.ts +2 -0
- package/dist/src/presentation/web/components/features/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/features/index.js +1 -0
- package/dist/src/presentation/web/components/features/version/version-page-client.d.ts +1 -1
- package/dist/src/presentation/web/components/features/version/version-page-client.js +4 -4
- package/dist/src/presentation/web/components/layouts/app-shell/app-shell.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-shell/app-shell.js +4 -5
- package/dist/src/presentation/web/components/layouts/app-shell/index.d.ts +1 -1
- package/dist/src/presentation/web/components/layouts/app-shell/index.js +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +10 -10
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +2 -2
- package/dist/src/presentation/web/components/layouts/app-sidebar/index.d.ts +2 -2
- package/dist/src/presentation/web/components/layouts/app-sidebar/index.js +1 -1
- package/dist/src/presentation/web/components/layouts/dashboard-layout/dashboard-layout.d.ts +1 -1
- package/dist/src/presentation/web/components/layouts/dashboard-layout/dashboard-layout.js +3 -3
- package/dist/src/presentation/web/components/layouts/dashboard-layout/dashboard-layout.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/layouts/dashboard-layout/dashboard-layout.stories.js +1 -1
- package/dist/src/presentation/web/components/layouts/dashboard-layout/index.d.ts +1 -1
- package/dist/src/presentation/web/components/layouts/dashboard-layout/index.js +1 -1
- package/dist/src/presentation/web/components/layouts/header/header.js +1 -1
- package/dist/src/presentation/web/components/layouts/header/header.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/layouts/header/header.stories.js +1 -1
- package/dist/src/presentation/web/components/layouts/header/index.d.ts +1 -1
- package/dist/src/presentation/web/components/layouts/header/index.js +1 -1
- package/dist/src/presentation/web/components/layouts/index.d.ts +6 -0
- package/dist/src/presentation/web/components/layouts/index.d.ts.map +1 -0
- package/dist/src/presentation/web/components/layouts/index.js +5 -0
- package/dist/src/presentation/web/components/layouts/sidebar/index.d.ts +2 -2
- package/dist/src/presentation/web/components/layouts/sidebar/index.js +1 -1
- package/dist/src/presentation/web/components/layouts/sidebar/sidebar.js +1 -1
- package/dist/src/presentation/web/components/layouts/sidebar/sidebar.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/layouts/sidebar/sidebar.stories.js +1 -1
- package/dist/src/presentation/web/components/ui/accordion.js +1 -1
- package/dist/src/presentation/web/components/ui/accordion.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/accordion.stories.js +1 -1
- package/dist/src/presentation/web/components/ui/alert.js +1 -1
- package/dist/src/presentation/web/components/ui/alert.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/alert.stories.js +1 -1
- package/dist/src/presentation/web/components/ui/badge.js +1 -1
- package/dist/src/presentation/web/components/ui/badge.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/badge.stories.js +1 -1
- package/dist/src/presentation/web/components/ui/button.js +1 -1
- package/dist/src/presentation/web/components/ui/button.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/button.stories.js +1 -1
- package/dist/src/presentation/web/components/ui/card.js +1 -1
- package/dist/src/presentation/web/components/ui/card.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/card.stories.js +2 -2
- package/dist/src/presentation/web/components/ui/comet-spinner.d.ts +12 -0
- package/dist/src/presentation/web/components/ui/comet-spinner.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/comet-spinner.js +32 -0
- package/dist/src/presentation/web/components/ui/comet-spinner.stories.d.ts +13 -0
- package/dist/src/presentation/web/components/ui/comet-spinner.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/comet-spinner.stories.js +50 -0
- package/dist/src/presentation/web/components/ui/dialog.js +1 -1
- package/dist/src/presentation/web/components/ui/dialog.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/dialog.stories.js +4 -4
- package/dist/src/presentation/web/components/ui/input.js +1 -1
- package/dist/src/presentation/web/components/ui/input.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/input.stories.js +2 -2
- package/dist/src/presentation/web/components/ui/label.js +1 -1
- package/dist/src/presentation/web/components/ui/label.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/label.stories.js +2 -2
- package/dist/src/presentation/web/components/ui/popover.js +1 -1
- package/dist/src/presentation/web/components/ui/popover.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/popover.stories.js +4 -4
- package/dist/src/presentation/web/components/ui/scroll-area.js +1 -1
- package/dist/src/presentation/web/components/ui/select.js +1 -1
- package/dist/src/presentation/web/components/ui/select.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/select.stories.js +1 -1
- package/dist/src/presentation/web/components/ui/separator.js +1 -1
- package/dist/src/presentation/web/components/ui/sheet.js +1 -1
- package/dist/src/presentation/web/components/ui/sidebar.d.ts +4 -4
- package/dist/src/presentation/web/components/ui/sidebar.js +8 -8
- package/dist/src/presentation/web/components/ui/skeleton.js +1 -1
- package/dist/src/presentation/web/components/ui/sonner.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/sonner.stories.js +2 -2
- package/dist/src/presentation/web/components/ui/spinner.d.ts +10 -0
- package/dist/src/presentation/web/components/ui/spinner.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/spinner.js +28 -0
- package/dist/src/presentation/web/components/ui/spinner.stories.d.ts +11 -0
- package/dist/src/presentation/web/components/ui/spinner.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/spinner.stories.js +38 -0
- package/dist/src/presentation/web/components/ui/tabs.js +1 -1
- package/dist/src/presentation/web/components/ui/tabs.stories.d.ts +1 -1
- package/dist/src/presentation/web/components/ui/tabs.stories.js +4 -4
- package/dist/src/presentation/web/components/ui/tooltip.js +1 -1
- package/dist/src/presentation/web/dev-server.d.ts +11 -0
- package/dist/src/presentation/web/dev-server.d.ts.map +1 -0
- package/dist/src/presentation/web/dev-server.js +68 -0
- package/dist/src/presentation/web/hooks/useTheme.d.ts +1 -1
- package/dist/src/presentation/web/hooks/useTheme.js +1 -1
- package/dist/src/presentation/web/lib/layout-with-dagre.d.ts +27 -0
- package/dist/src/presentation/web/lib/layout-with-dagre.d.ts.map +1 -0
- package/dist/src/presentation/web/lib/layout-with-dagre.js +98 -0
- package/dist/src/presentation/web/lib/use-cases.d.ts +29 -0
- package/dist/src/presentation/web/lib/use-cases.d.ts.map +1 -0
- package/dist/src/presentation/web/lib/use-cases.js +46 -0
- package/dist/src/presentation/web/next.config.d.ts.map +1 -1
- package/dist/src/presentation/web/next.config.js +2 -0
- 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 +1 -0
- package/web/.next/build-manifest.json +5 -5
- package/web/.next/cache/.previewinfo +1 -1
- package/web/.next/cache/.rscinfo +1 -1
- package/web/.next/cache/.tsbuildinfo +1 -1
- package/web/.next/cache/config.json +3 -3
- 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 -1
- package/web/.next/required-server-files.json +4 -1
- package/web/.next/routes-manifest.json +6 -0
- package/web/.next/server/app/_global-error/page/build-manifest.json +3 -3
- package/web/.next/server/app/_global-error/page.js +4 -4
- package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/build-manifest.json +3 -3
- package/web/.next/server/app/_not-found/page.js +4 -4
- 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/_not-found.html +2 -2
- package/web/.next/server/app/_not-found.rsc +9 -9
- package/web/.next/server/app/_not-found.segments/_full.segment.rsc +9 -9
- package/web/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
- package/web/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
- package/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/web/.next/server/app/api/dialog/pick-folder/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/api/dialog/pick-folder/route/build-manifest.json +11 -0
- package/web/.next/server/app/api/dialog/pick-folder/route/server-reference-manifest.json +4 -0
- package/web/.next/server/app/api/dialog/pick-folder/route.js +6 -0
- package/web/.next/server/app/api/dialog/pick-folder/route.js.map +5 -0
- package/web/.next/server/app/api/dialog/pick-folder/route.js.nft.json +1 -0
- package/web/.next/server/app/api/dialog/pick-folder/route_client-reference-manifest.js +2 -0
- package/web/.next/server/app/index.html +2 -2
- package/web/.next/server/app/index.rsc +5 -4
- package/web/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/web/.next/server/app/index.segments/_full.segment.rsc +5 -4
- package/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/index.segments/_index.segment.rsc +3 -3
- package/web/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/web/.next/server/app/page/build-manifest.json +3 -3
- package/web/.next/server/app/page.js +5 -5
- package/web/.next/server/app/page.js.nft.json +1 -1
- package/web/.next/server/app/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.js +4 -4
- 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/version.html +2 -2
- package/web/.next/server/app/version.rsc +4 -4
- package/web/.next/server/app/version.segments/_full.segment.rsc +4 -4
- package/web/.next/server/app/version.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/_index.segment.rsc +3 -3
- package/web/.next/server/app/version.segments/_tree.segment.rsc +2 -2
- package/web/.next/server/app/version.segments/version/__PAGE__.segment.rsc +2 -2
- package/web/.next/server/app/version.segments/version.segment.rsc +1 -1
- package/web/.next/server/app-paths-manifest.json +1 -0
- package/web/.next/server/chunks/744ca_web__next-internal_server_app_api_dialog_pick-folder_route_actions_375ed12f.js +3 -0
- package/web/.next/server/chunks/[externals]_next_dist_a6d89067._.js +3 -0
- package/web/.next/server/chunks/[externals]_next_dist_a6d89067._.js.map +1 -0
- package/web/.next/server/chunks/[root-of-the-server]__ebcd3642._.js +21 -0
- package/web/.next/server/chunks/[root-of-the-server]__ebcd3642._.js.map +1 -0
- package/web/.next/server/chunks/[turbopack]_runtime.js +795 -0
- package/web/.next/server/chunks/[turbopack]_runtime.js.map +10 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_1f3516d7._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__01b8cb62._.js.map → 403f9_next_dist_1f3516d7._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_d738ab66._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__7b98fb96._.js.map → 403f9_next_dist_d738ab66._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_dbf21e04.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__2127336f._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__659cf841._.js.map → [root-of-the-server]__2127336f._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__44c4e191._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__44c4e191._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__492e833d._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__492e833d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__18ff2ebf._.js → [root-of-the-server]__6b3c1f2b._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__ccf8a903._.js.map → [root-of-the-server]__6b3c1f2b._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__80e5bed2._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__80e5bed2._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c37779e6._.js +4 -0
- package/web/.next/server/chunks/ssr/{node_modules__pnpm_03635e2b._.js.map → [root-of-the-server]__c37779e6._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__e55e9c7f._.js +3 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__479da921._.js.map → [root-of-the-server]__e55e9c7f._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__f12b60be._.js +3 -0
- package/web/.next/server/chunks/ssr/{_19be0743._.js.map → [root-of-the-server]__f12b60be._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__fa87595c._.js +3 -0
- package/web/.next/server/chunks/ssr/{_c536147b._.js.map → [root-of-the-server]__fa87595c._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_09afa42a._.js +4 -0
- package/web/.next/server/chunks/ssr/_09afa42a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_4582f3c3._.js → _3d152196._.js} +2 -2
- package/web/.next/server/chunks/ssr/_3d152196._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_884ddade._.js +1 -1
- package/web/.next/server/chunks/ssr/_a0c04017._.js +2 -2
- package/web/.next/server/chunks/ssr/_a0c04017._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_c5d377cc._.js +1 -1
- package/web/.next/server/chunks/ssr/node_modules__pnpm_b11d5ad4._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_b11d5ad4._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app__not-found_page_actions_a836bb2a.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ed0934e5._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_ed0934e5._.js.map +1 -0
- package/web/.next/server/middleware-build-manifest.js +3 -3
- package/web/.next/server/pages/404.html +2 -2
- 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 +1 -1
- package/web/.next/static/chunks/3701b9d5749e6143.css +1 -0
- package/web/.next/static/chunks/a8030d19b4d73c95.js +1 -0
- package/web/.next/static/chunks/b0d13220be9ac29c.js +1 -0
- package/web/.next/static/chunks/b29c0572633eb9e4.js +2 -0
- package/web/.next/static/chunks/be34161188b4e0a0.js +2 -0
- package/web/.next/static/chunks/c87445f8cbe36c74.js +1 -0
- package/web/.next/static/chunks/f220dad9d38bff95.js +5 -0
- package/web/.next/static/chunks/{turbopack-a5a88a85e7ac8e8d.js → turbopack-e0a0178ee911c212.js} +1 -1
- package/web/.next/trace +1 -1
- package/web/.next/trace-build +1 -1
- package/web/.next/types/link.d.ts +1 -0
- package/web/.next/types/routes.d.ts +18 -2
- package/web/.next/types/validator.ts +20 -2
- package/web/package.json +5 -1
- package/dist/src/application/ports/output/agents/agent-executor-factory.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agents/agent-executor-provider.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agents/agent-executor.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agents/agent-registry.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agents/agent-run-repository.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agents/agent-runner.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agents/agent-validator.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/agents/index.d.ts.map +0 -1
- package/dist/src/application/ports/output/agents/phase-timing-repository.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/index.d.ts.map +0 -1
- package/dist/src/application/ports/output/repositories/feature-repository.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/repositories/index.d.ts.map +0 -1
- package/dist/src/application/ports/output/repositories/settings.repository.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/services/external-issue-fetcher.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/services/index.d.ts.map +0 -1
- package/dist/src/application/ports/output/services/spec-initializer.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/services/version-service.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/services/web-server-service.interface.d.ts.map +0 -1
- package/dist/src/application/ports/output/services/worktree-service.interface.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/approve-agent-run.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/configure-agent.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/delete-agent-run.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/get-agent-run.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/list-agent-runs.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/reject-agent-run.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/run-agent.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/show-agent-run.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/stop-agent-run.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/agents/validate-agent-auth.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/features/create/metadata-generator.d.ts.map +0 -1
- package/dist/src/application/use-cases/features/create/slug-resolver.d.ts.map +0 -1
- package/dist/src/application/use-cases/features/create/types.d.ts.map +0 -1
- package/dist/src/application/use-cases/features/delete-feature.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/features/list-features.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/features/resume-feature.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/features/show-feature.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/settings/index.d.ts.map +0 -1
- package/dist/src/application/use-cases/settings/initialize-settings.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/settings/load-settings.use-case.d.ts.map +0 -1
- package/dist/src/application/use-cases/settings/update-settings.use-case.d.ts.map +0 -1
- package/dist/src/domain/factories/index.d.ts.map +0 -1
- package/dist/src/domain/factories/settings-defaults.factory.d.ts.map +0 -1
- package/dist/src/domain/generated/output.d.ts.map +0 -1
- package/dist/src/domain/value-objects/index.d.ts +0 -3
- package/dist/src/domain/value-objects/index.d.ts.map +0 -1
- package/dist/src/domain/value-objects/index.js +0 -1
- package/dist/src/domain/value-objects/version-info.d.ts.map +0 -1
- package/dist/src/infrastructure/di/container.d.ts.map +0 -1
- package/dist/src/infrastructure/persistence/sqlite/connection.d.ts.map +0 -1
- package/dist/src/infrastructure/persistence/sqlite/mappers/agent-run.mapper.d.ts.map +0 -1
- package/dist/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +0 -1
- package/dist/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +0 -1
- package/dist/src/infrastructure/persistence/sqlite/migrations.d.ts.map +0 -1
- package/dist/src/infrastructure/repositories/agent-run.repository.d.ts.map +0 -1
- package/dist/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +0 -1
- package/dist/src/infrastructure/repositories/sqlite-phase-timing.repository.d.ts.map +0 -1
- package/dist/src/infrastructure/repositories/sqlite-settings.repository.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/analyze-repo/prompts/analyze-repository.prompt.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/agent-executor-factory.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/agent-executor-provider.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/agent-registry.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/agent-runner.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/agent-validator.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/checkpointer.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/executors/cursor-executor.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/executors/mock-executor-factory.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/executors/mock-executor.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/common/types.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/heartbeat.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/analyze.node.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/implement.node.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/plan.node.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/analyze.prompt.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/plan.prompt.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/requirements.prompt.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/prompts/research.prompt.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/repair.node.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/requirements.node.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/research.node.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/schemas/plan.schema.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/schemas/research.schema.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/schemas/spec.schema.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/schemas/validation.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/nodes/validate.node.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/phase-timing-context.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/feature-agent/state.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/streaming/event-channel.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/streaming/index.d.ts.map +0 -1
- package/dist/src/infrastructure/services/agents/streaming/streaming-executor-proxy.d.ts.map +0 -1
- package/dist/src/infrastructure/services/external/github-issue.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/external/jira-ticket.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/filesystem/shep-directory.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/git/worktree.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/ide-launchers/antigravity.launcher.d.ts.map +0 -1
- package/dist/src/infrastructure/services/ide-launchers/cursor.launcher.d.ts.map +0 -1
- package/dist/src/infrastructure/services/ide-launchers/ide-launcher.interface.d.ts.map +0 -1
- package/dist/src/infrastructure/services/ide-launchers/ide-launcher.registry.d.ts.map +0 -1
- package/dist/src/infrastructure/services/ide-launchers/vscode.launcher.d.ts.map +0 -1
- package/dist/src/infrastructure/services/ide-launchers/windsurf.launcher.d.ts.map +0 -1
- package/dist/src/infrastructure/services/ide-launchers/zed.launcher.d.ts.map +0 -1
- package/dist/src/infrastructure/services/port.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/settings.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/version.service.d.ts.map +0 -1
- package/dist/src/infrastructure/services/web-server.service.d.ts.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__01b8cb62._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18ff2ebf._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__479da921._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__659cf841._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7b98fb96._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ab31d101._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ab31d101._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ccf8a903._.js +0 -3
- package/web/.next/server/chunks/ssr/_0f02ab66._.js +0 -3
- package/web/.next/server/chunks/ssr/_0f02ab66._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_19be0743._.js +0 -3
- package/web/.next/server/chunks/ssr/_4582f3c3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_90bc0c33._.js +0 -3
- package/web/.next/server/chunks/ssr/_c536147b._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_03635e2b._.js +0 -4
- package/web/.next/server/chunks/ssr/node_modules__pnpm_0ce0b44d._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_0ce0b44d._.js.map +0 -1
- package/web/.next/static/chunks/26d260496abf3ed8.js +0 -5
- package/web/.next/static/chunks/33854795ae473cf1.css +0 -1
- package/web/.next/static/chunks/4d6504b9f2ca7e4d.js +0 -1
- package/web/.next/static/chunks/70993ebedee7eab0.js +0 -2
- package/web/.next/static/chunks/8353f5690707d9a5.js +0 -1
- package/web/.next/static/chunks/df7d29673e0ac11d.js +0 -1
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-executor-factory.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-executor-factory.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-executor-provider.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-executor-provider.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-executor.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-executor.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-registry.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-registry.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-run-repository.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-run-repository.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-runner.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-runner.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-validator.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/agent-validator.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/feature-agent-process.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/feature-agent-process.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/index.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/index.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/phase-timing-repository.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/agents/phase-timing-repository.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/index.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/index.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/repositories/feature-repository.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/repositories/feature-repository.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/repositories/index.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/repositories/index.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/repositories/settings.repository.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/repositories/settings.repository.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/external-issue-fetcher.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/external-issue-fetcher.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/index.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/spec-initializer.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/spec-initializer.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/version-service.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/version-service.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/web-server-service.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/web-server-service.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/worktree-service.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/ports/output/services/worktree-service.interface.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/approve-agent-run.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/approve-agent-run.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/configure-agent.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/configure-agent.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/delete-agent-run.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/delete-agent-run.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/get-agent-run.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/get-agent-run.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/list-agent-runs.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/list-agent-runs.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/reject-agent-run.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/reject-agent-run.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/run-agent.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/run-agent.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/show-agent-run.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/show-agent-run.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/stop-agent-run.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/stop-agent-run.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/validate-agent-auth.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/agents/validate-agent-auth.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/create/create-feature.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/create/create-feature.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/create/metadata-generator.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/create/metadata-generator.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/create/slug-resolver.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/create/slug-resolver.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/create/types.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/create/types.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/delete-feature.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/delete-feature.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/list-features.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/list-features.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/resume-feature.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/resume-feature.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/show-feature.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/features/show-feature.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/settings/index.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/settings/index.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/settings/initialize-settings.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/settings/initialize-settings.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/settings/load-settings.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/settings/load-settings.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/settings/update-settings.use-case.d.ts +0 -0
- /package/dist/{src → packages/core/src}/application/use-cases/settings/update-settings.use-case.js +0 -0
- /package/dist/{src → packages/core/src}/domain/factories/index.d.ts +0 -0
- /package/dist/{src → packages/core/src}/domain/factories/index.js +0 -0
- /package/dist/{src → packages/core/src}/domain/factories/settings-defaults.factory.d.ts +0 -0
- /package/dist/{src → packages/core/src}/domain/factories/settings-defaults.factory.js +0 -0
- /package/dist/{src → packages/core/src}/domain/value-objects/version-info.d.ts +0 -0
- /package/dist/{src → packages/core/src}/domain/value-objects/version-info.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/di/container.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/connection.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/connection.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/mappers/agent-run.mapper.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/mappers/agent-run.mapper.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/mappers/feature.mapper.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/mappers/settings.mapper.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/migrations.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/persistence/sqlite/migrations.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/repositories/agent-run.repository.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/repositories/agent-run.repository.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/repositories/sqlite-feature.repository.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/repositories/sqlite-feature.repository.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/repositories/sqlite-phase-timing.repository.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/repositories/sqlite-phase-timing.repository.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/repositories/sqlite-settings.repository.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/repositories/sqlite-settings.repository.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/analyze-repo/analyze-repository-graph.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/analyze-repo/analyze-repository-graph.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/analyze-repo/prompts/analyze-repository.prompt.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/analyze-repo/prompts/analyze-repository.prompt.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-executor-factory.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-executor-factory.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-executor-provider.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-executor-provider.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-registry.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-registry.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-runner.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-validator.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/agent-validator.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/checkpointer.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/checkpointer.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/executors/claude-code-executor.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/executors/claude-code-executor.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/executors/cursor-executor.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/executors/cursor-executor.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/executors/mock-executor-factory.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/executors/mock-executor-factory.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/executors/mock-executor.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/executors/mock-executor.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/types.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/common/types.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/feature-agent-graph.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/heartbeat.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/heartbeat.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/analyze.node.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/analyze.node.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/implement.node.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/implement.node.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/plan.node.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/plan.node.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/analyze.prompt.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/analyze.prompt.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/implement.prompt.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/plan.prompt.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/plan.prompt.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/requirements.prompt.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/requirements.prompt.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/research.prompt.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/prompts/research.prompt.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/repair.node.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/repair.node.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/requirements.node.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/requirements.node.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/research.node.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/research.node.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/schemas/plan.schema.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/schemas/plan.schema.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/schemas/research.schema.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/schemas/research.schema.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/schemas/spec.schema.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/schemas/spec.schema.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/schemas/validation.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/schemas/validation.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/validate.node.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/nodes/validate.node.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/phase-timing-context.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/phase-timing-context.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/state.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/feature-agent/state.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/streaming/event-channel.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/streaming/event-channel.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/streaming/index.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/streaming/index.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/streaming/streaming-executor-proxy.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/agents/streaming/streaming-executor-proxy.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/external/github-issue.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/external/github-issue.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/external/jira-ticket.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/external/jira-ticket.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/filesystem/shep-directory.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/filesystem/shep-directory.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/git/worktree.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/git/worktree.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/antigravity.launcher.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/cursor.launcher.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/ide-launcher.interface.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/ide-launcher.interface.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/ide-launcher.registry.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/ide-launcher.registry.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/vscode.launcher.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/windsurf.launcher.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/ide-launchers/zed.launcher.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/port.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/port.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/settings.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/settings.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/spec/spec-initializer.service.d.ts +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/spec/spec-initializer.service.js +0 -0
- /package/dist/{src → packages/core/src}/infrastructure/services/version.service.d.ts +0 -0
- /package/web/.next/server/chunks/{ssr/_90bc0c33._.js.map → 744ca_web__next-internal_server_app_api_dialog_pick-folder_route_actions_375ed12f.js.map} +0 -0
- /package/web/.next/static/{xKJulVMYO_ZRGoqa6eM7G → 50v5TcK4kMIcF3xxCPBNl}/_buildManifest.js +0 -0
- /package/web/.next/static/{xKJulVMYO_ZRGoqa6eM7G → 50v5TcK4kMIcF3xxCPBNl}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{xKJulVMYO_ZRGoqa6eM7G → 50v5TcK4kMIcF3xxCPBNl}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,795 @@
|
|
|
1
|
+
const RUNTIME_PUBLIC_PATH = "server/chunks/[turbopack]_runtime.js";
|
|
2
|
+
const RELATIVE_ROOT_PATH = "../../../..";
|
|
3
|
+
const ASSET_PREFIX = "/";
|
|
4
|
+
/**
|
|
5
|
+
* This file contains runtime types and functions that are shared between all
|
|
6
|
+
* TurboPack ECMAScript runtimes.
|
|
7
|
+
*
|
|
8
|
+
* It will be prepended to the runtime code of each runtime.
|
|
9
|
+
*/ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="./runtime-types.d.ts" />
|
|
10
|
+
const REEXPORTED_OBJECTS = new WeakMap();
|
|
11
|
+
/**
|
|
12
|
+
* Constructs the `__turbopack_context__` object for a module.
|
|
13
|
+
*/ function Context(module, exports) {
|
|
14
|
+
this.m = module;
|
|
15
|
+
// We need to store this here instead of accessing it from the module object to:
|
|
16
|
+
// 1. Make it available to factories directly, since we rewrite `this` to
|
|
17
|
+
// `__turbopack_context__.e` in CJS modules.
|
|
18
|
+
// 2. Support async modules which rewrite `module.exports` to a promise, so we
|
|
19
|
+
// can still access the original exports object from functions like
|
|
20
|
+
// `esmExport`
|
|
21
|
+
// Ideally we could find a new approach for async modules and drop this property altogether.
|
|
22
|
+
this.e = exports;
|
|
23
|
+
}
|
|
24
|
+
const contextPrototype = Context.prototype;
|
|
25
|
+
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
26
|
+
const toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag;
|
|
27
|
+
function defineProp(obj, name, options) {
|
|
28
|
+
if (!hasOwnProperty.call(obj, name)) Object.defineProperty(obj, name, options);
|
|
29
|
+
}
|
|
30
|
+
function getOverwrittenModule(moduleCache, id) {
|
|
31
|
+
let module = moduleCache[id];
|
|
32
|
+
if (!module) {
|
|
33
|
+
// This is invoked when a module is merged into another module, thus it wasn't invoked via
|
|
34
|
+
// instantiateModule and the cache entry wasn't created yet.
|
|
35
|
+
module = createModuleObject(id);
|
|
36
|
+
moduleCache[id] = module;
|
|
37
|
+
}
|
|
38
|
+
return module;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Creates the module object. Only done here to ensure all module objects have the same shape.
|
|
42
|
+
*/ function createModuleObject(id) {
|
|
43
|
+
return {
|
|
44
|
+
exports: {},
|
|
45
|
+
error: undefined,
|
|
46
|
+
id,
|
|
47
|
+
namespaceObject: undefined
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
const BindingTag_Value = 0;
|
|
51
|
+
/**
|
|
52
|
+
* Adds the getters to the exports object.
|
|
53
|
+
*/ function esm(exports, bindings) {
|
|
54
|
+
defineProp(exports, '__esModule', {
|
|
55
|
+
value: true
|
|
56
|
+
});
|
|
57
|
+
if (toStringTag) defineProp(exports, toStringTag, {
|
|
58
|
+
value: 'Module'
|
|
59
|
+
});
|
|
60
|
+
let i = 0;
|
|
61
|
+
while(i < bindings.length){
|
|
62
|
+
const propName = bindings[i++];
|
|
63
|
+
const tagOrFunction = bindings[i++];
|
|
64
|
+
if (typeof tagOrFunction === 'number') {
|
|
65
|
+
if (tagOrFunction === BindingTag_Value) {
|
|
66
|
+
defineProp(exports, propName, {
|
|
67
|
+
value: bindings[i++],
|
|
68
|
+
enumerable: true,
|
|
69
|
+
writable: false
|
|
70
|
+
});
|
|
71
|
+
} else {
|
|
72
|
+
throw new Error(`unexpected tag: ${tagOrFunction}`);
|
|
73
|
+
}
|
|
74
|
+
} else {
|
|
75
|
+
const getterFn = tagOrFunction;
|
|
76
|
+
if (typeof bindings[i] === 'function') {
|
|
77
|
+
const setterFn = bindings[i++];
|
|
78
|
+
defineProp(exports, propName, {
|
|
79
|
+
get: getterFn,
|
|
80
|
+
set: setterFn,
|
|
81
|
+
enumerable: true
|
|
82
|
+
});
|
|
83
|
+
} else {
|
|
84
|
+
defineProp(exports, propName, {
|
|
85
|
+
get: getterFn,
|
|
86
|
+
enumerable: true
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
Object.seal(exports);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Makes the module an ESM with exports
|
|
95
|
+
*/ function esmExport(bindings, id) {
|
|
96
|
+
let module;
|
|
97
|
+
let exports;
|
|
98
|
+
if (id != null) {
|
|
99
|
+
module = getOverwrittenModule(this.c, id);
|
|
100
|
+
exports = module.exports;
|
|
101
|
+
} else {
|
|
102
|
+
module = this.m;
|
|
103
|
+
exports = this.e;
|
|
104
|
+
}
|
|
105
|
+
module.namespaceObject = exports;
|
|
106
|
+
esm(exports, bindings);
|
|
107
|
+
}
|
|
108
|
+
contextPrototype.s = esmExport;
|
|
109
|
+
function ensureDynamicExports(module, exports) {
|
|
110
|
+
let reexportedObjects = REEXPORTED_OBJECTS.get(module);
|
|
111
|
+
if (!reexportedObjects) {
|
|
112
|
+
REEXPORTED_OBJECTS.set(module, reexportedObjects = []);
|
|
113
|
+
module.exports = module.namespaceObject = new Proxy(exports, {
|
|
114
|
+
get (target, prop) {
|
|
115
|
+
if (hasOwnProperty.call(target, prop) || prop === 'default' || prop === '__esModule') {
|
|
116
|
+
return Reflect.get(target, prop);
|
|
117
|
+
}
|
|
118
|
+
for (const obj of reexportedObjects){
|
|
119
|
+
const value = Reflect.get(obj, prop);
|
|
120
|
+
if (value !== undefined) return value;
|
|
121
|
+
}
|
|
122
|
+
return undefined;
|
|
123
|
+
},
|
|
124
|
+
ownKeys (target) {
|
|
125
|
+
const keys = Reflect.ownKeys(target);
|
|
126
|
+
for (const obj of reexportedObjects){
|
|
127
|
+
for (const key of Reflect.ownKeys(obj)){
|
|
128
|
+
if (key !== 'default' && !keys.includes(key)) keys.push(key);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return keys;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
return reexportedObjects;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Dynamically exports properties from an object
|
|
139
|
+
*/ function dynamicExport(object, id) {
|
|
140
|
+
let module;
|
|
141
|
+
let exports;
|
|
142
|
+
if (id != null) {
|
|
143
|
+
module = getOverwrittenModule(this.c, id);
|
|
144
|
+
exports = module.exports;
|
|
145
|
+
} else {
|
|
146
|
+
module = this.m;
|
|
147
|
+
exports = this.e;
|
|
148
|
+
}
|
|
149
|
+
const reexportedObjects = ensureDynamicExports(module, exports);
|
|
150
|
+
if (typeof object === 'object' && object !== null) {
|
|
151
|
+
reexportedObjects.push(object);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
contextPrototype.j = dynamicExport;
|
|
155
|
+
function exportValue(value, id) {
|
|
156
|
+
let module;
|
|
157
|
+
if (id != null) {
|
|
158
|
+
module = getOverwrittenModule(this.c, id);
|
|
159
|
+
} else {
|
|
160
|
+
module = this.m;
|
|
161
|
+
}
|
|
162
|
+
module.exports = value;
|
|
163
|
+
}
|
|
164
|
+
contextPrototype.v = exportValue;
|
|
165
|
+
function exportNamespace(namespace, id) {
|
|
166
|
+
let module;
|
|
167
|
+
if (id != null) {
|
|
168
|
+
module = getOverwrittenModule(this.c, id);
|
|
169
|
+
} else {
|
|
170
|
+
module = this.m;
|
|
171
|
+
}
|
|
172
|
+
module.exports = module.namespaceObject = namespace;
|
|
173
|
+
}
|
|
174
|
+
contextPrototype.n = exportNamespace;
|
|
175
|
+
function createGetter(obj, key) {
|
|
176
|
+
return ()=>obj[key];
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @returns prototype of the object
|
|
180
|
+
*/ const getProto = Object.getPrototypeOf ? (obj)=>Object.getPrototypeOf(obj) : (obj)=>obj.__proto__;
|
|
181
|
+
/** Prototypes that are not expanded for exports */ const LEAF_PROTOTYPES = [
|
|
182
|
+
null,
|
|
183
|
+
getProto({}),
|
|
184
|
+
getProto([]),
|
|
185
|
+
getProto(getProto)
|
|
186
|
+
];
|
|
187
|
+
/**
|
|
188
|
+
* @param raw
|
|
189
|
+
* @param ns
|
|
190
|
+
* @param allowExportDefault
|
|
191
|
+
* * `false`: will have the raw module as default export
|
|
192
|
+
* * `true`: will have the default property as default export
|
|
193
|
+
*/ function interopEsm(raw, ns, allowExportDefault) {
|
|
194
|
+
const bindings = [];
|
|
195
|
+
let defaultLocation = -1;
|
|
196
|
+
for(let current = raw; (typeof current === 'object' || typeof current === 'function') && !LEAF_PROTOTYPES.includes(current); current = getProto(current)){
|
|
197
|
+
for (const key of Object.getOwnPropertyNames(current)){
|
|
198
|
+
bindings.push(key, createGetter(raw, key));
|
|
199
|
+
if (defaultLocation === -1 && key === 'default') {
|
|
200
|
+
defaultLocation = bindings.length - 1;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
// this is not really correct
|
|
205
|
+
// we should set the `default` getter if the imported module is a `.cjs file`
|
|
206
|
+
if (!(allowExportDefault && defaultLocation >= 0)) {
|
|
207
|
+
// Replace the binding with one for the namespace itself in order to preserve iteration order.
|
|
208
|
+
if (defaultLocation >= 0) {
|
|
209
|
+
// Replace the getter with the value
|
|
210
|
+
bindings.splice(defaultLocation, 1, BindingTag_Value, raw);
|
|
211
|
+
} else {
|
|
212
|
+
bindings.push('default', BindingTag_Value, raw);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
esm(ns, bindings);
|
|
216
|
+
return ns;
|
|
217
|
+
}
|
|
218
|
+
function createNS(raw) {
|
|
219
|
+
if (typeof raw === 'function') {
|
|
220
|
+
return function(...args) {
|
|
221
|
+
return raw.apply(this, args);
|
|
222
|
+
};
|
|
223
|
+
} else {
|
|
224
|
+
return Object.create(null);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
function esmImport(id) {
|
|
228
|
+
const module = getOrInstantiateModuleFromParent(id, this.m);
|
|
229
|
+
// any ES module has to have `module.namespaceObject` defined.
|
|
230
|
+
if (module.namespaceObject) return module.namespaceObject;
|
|
231
|
+
// only ESM can be an async module, so we don't need to worry about exports being a promise here.
|
|
232
|
+
const raw = module.exports;
|
|
233
|
+
return module.namespaceObject = interopEsm(raw, createNS(raw), raw && raw.__esModule);
|
|
234
|
+
}
|
|
235
|
+
contextPrototype.i = esmImport;
|
|
236
|
+
function asyncLoader(moduleId) {
|
|
237
|
+
const loader = this.r(moduleId);
|
|
238
|
+
return loader(esmImport.bind(this));
|
|
239
|
+
}
|
|
240
|
+
contextPrototype.A = asyncLoader;
|
|
241
|
+
// Add a simple runtime require so that environments without one can still pass
|
|
242
|
+
// `typeof require` CommonJS checks so that exports are correctly registered.
|
|
243
|
+
const runtimeRequire = // @ts-ignore
|
|
244
|
+
typeof require === 'function' ? require : function require1() {
|
|
245
|
+
throw new Error('Unexpected use of runtime require');
|
|
246
|
+
};
|
|
247
|
+
contextPrototype.t = runtimeRequire;
|
|
248
|
+
function commonJsRequire(id) {
|
|
249
|
+
return getOrInstantiateModuleFromParent(id, this.m).exports;
|
|
250
|
+
}
|
|
251
|
+
contextPrototype.r = commonJsRequire;
|
|
252
|
+
/**
|
|
253
|
+
* Remove fragments and query parameters since they are never part of the context map keys
|
|
254
|
+
*
|
|
255
|
+
* This matches how we parse patterns at resolving time. Arguably we should only do this for
|
|
256
|
+
* strings passed to `import` but the resolve does it for `import` and `require` and so we do
|
|
257
|
+
* here as well.
|
|
258
|
+
*/ function parseRequest(request) {
|
|
259
|
+
// Per the URI spec fragments can contain `?` characters, so we should trim it off first
|
|
260
|
+
// https://datatracker.ietf.org/doc/html/rfc3986#section-3.5
|
|
261
|
+
const hashIndex = request.indexOf('#');
|
|
262
|
+
if (hashIndex !== -1) {
|
|
263
|
+
request = request.substring(0, hashIndex);
|
|
264
|
+
}
|
|
265
|
+
const queryIndex = request.indexOf('?');
|
|
266
|
+
if (queryIndex !== -1) {
|
|
267
|
+
request = request.substring(0, queryIndex);
|
|
268
|
+
}
|
|
269
|
+
return request;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* `require.context` and require/import expression runtime.
|
|
273
|
+
*/ function moduleContext(map) {
|
|
274
|
+
function moduleContext(id) {
|
|
275
|
+
id = parseRequest(id);
|
|
276
|
+
if (hasOwnProperty.call(map, id)) {
|
|
277
|
+
return map[id].module();
|
|
278
|
+
}
|
|
279
|
+
const e = new Error(`Cannot find module '${id}'`);
|
|
280
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
281
|
+
throw e;
|
|
282
|
+
}
|
|
283
|
+
moduleContext.keys = ()=>{
|
|
284
|
+
return Object.keys(map);
|
|
285
|
+
};
|
|
286
|
+
moduleContext.resolve = (id)=>{
|
|
287
|
+
id = parseRequest(id);
|
|
288
|
+
if (hasOwnProperty.call(map, id)) {
|
|
289
|
+
return map[id].id();
|
|
290
|
+
}
|
|
291
|
+
const e = new Error(`Cannot find module '${id}'`);
|
|
292
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
293
|
+
throw e;
|
|
294
|
+
};
|
|
295
|
+
moduleContext.import = async (id)=>{
|
|
296
|
+
return await moduleContext(id);
|
|
297
|
+
};
|
|
298
|
+
return moduleContext;
|
|
299
|
+
}
|
|
300
|
+
contextPrototype.f = moduleContext;
|
|
301
|
+
/**
|
|
302
|
+
* Returns the path of a chunk defined by its data.
|
|
303
|
+
*/ function getChunkPath(chunkData) {
|
|
304
|
+
return typeof chunkData === 'string' ? chunkData : chunkData.path;
|
|
305
|
+
}
|
|
306
|
+
function isPromise(maybePromise) {
|
|
307
|
+
return maybePromise != null && typeof maybePromise === 'object' && 'then' in maybePromise && typeof maybePromise.then === 'function';
|
|
308
|
+
}
|
|
309
|
+
function isAsyncModuleExt(obj) {
|
|
310
|
+
return turbopackQueues in obj;
|
|
311
|
+
}
|
|
312
|
+
function createPromise() {
|
|
313
|
+
let resolve;
|
|
314
|
+
let reject;
|
|
315
|
+
const promise = new Promise((res, rej)=>{
|
|
316
|
+
reject = rej;
|
|
317
|
+
resolve = res;
|
|
318
|
+
});
|
|
319
|
+
return {
|
|
320
|
+
promise,
|
|
321
|
+
resolve: resolve,
|
|
322
|
+
reject: reject
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
// Load the CompressedmoduleFactories of a chunk into the `moduleFactories` Map.
|
|
326
|
+
// The CompressedModuleFactories format is
|
|
327
|
+
// - 1 or more module ids
|
|
328
|
+
// - a module factory function
|
|
329
|
+
// So walking this is a little complex but the flat structure is also fast to
|
|
330
|
+
// traverse, we can use `typeof` operators to distinguish the two cases.
|
|
331
|
+
function installCompressedModuleFactories(chunkModules, offset, moduleFactories, newModuleId) {
|
|
332
|
+
let i = offset;
|
|
333
|
+
while(i < chunkModules.length){
|
|
334
|
+
let moduleId = chunkModules[i];
|
|
335
|
+
let end = i + 1;
|
|
336
|
+
// Find our factory function
|
|
337
|
+
while(end < chunkModules.length && typeof chunkModules[end] !== 'function'){
|
|
338
|
+
end++;
|
|
339
|
+
}
|
|
340
|
+
if (end === chunkModules.length) {
|
|
341
|
+
throw new Error('malformed chunk format, expected a factory function');
|
|
342
|
+
}
|
|
343
|
+
// Each chunk item has a 'primary id' and optional additional ids. If the primary id is already
|
|
344
|
+
// present we know all the additional ids are also present, so we don't need to check.
|
|
345
|
+
if (!moduleFactories.has(moduleId)) {
|
|
346
|
+
const moduleFactoryFn = chunkModules[end];
|
|
347
|
+
applyModuleFactoryName(moduleFactoryFn);
|
|
348
|
+
newModuleId?.(moduleId);
|
|
349
|
+
for(; i < end; i++){
|
|
350
|
+
moduleId = chunkModules[i];
|
|
351
|
+
moduleFactories.set(moduleId, moduleFactoryFn);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
i = end + 1; // end is pointing at the last factory advance to the next id or the end of the array.
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
// everything below is adapted from webpack
|
|
358
|
+
// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13
|
|
359
|
+
const turbopackQueues = Symbol('turbopack queues');
|
|
360
|
+
const turbopackExports = Symbol('turbopack exports');
|
|
361
|
+
const turbopackError = Symbol('turbopack error');
|
|
362
|
+
function resolveQueue(queue) {
|
|
363
|
+
if (queue && queue.status !== 1) {
|
|
364
|
+
queue.status = 1;
|
|
365
|
+
queue.forEach((fn)=>fn.queueCount--);
|
|
366
|
+
queue.forEach((fn)=>fn.queueCount-- ? fn.queueCount++ : fn());
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
function wrapDeps(deps) {
|
|
370
|
+
return deps.map((dep)=>{
|
|
371
|
+
if (dep !== null && typeof dep === 'object') {
|
|
372
|
+
if (isAsyncModuleExt(dep)) return dep;
|
|
373
|
+
if (isPromise(dep)) {
|
|
374
|
+
const queue = Object.assign([], {
|
|
375
|
+
status: 0
|
|
376
|
+
});
|
|
377
|
+
const obj = {
|
|
378
|
+
[turbopackExports]: {},
|
|
379
|
+
[turbopackQueues]: (fn)=>fn(queue)
|
|
380
|
+
};
|
|
381
|
+
dep.then((res)=>{
|
|
382
|
+
obj[turbopackExports] = res;
|
|
383
|
+
resolveQueue(queue);
|
|
384
|
+
}, (err)=>{
|
|
385
|
+
obj[turbopackError] = err;
|
|
386
|
+
resolveQueue(queue);
|
|
387
|
+
});
|
|
388
|
+
return obj;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
return {
|
|
392
|
+
[turbopackExports]: dep,
|
|
393
|
+
[turbopackQueues]: ()=>{}
|
|
394
|
+
};
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
function asyncModule(body, hasAwait) {
|
|
398
|
+
const module = this.m;
|
|
399
|
+
const queue = hasAwait ? Object.assign([], {
|
|
400
|
+
status: -1
|
|
401
|
+
}) : undefined;
|
|
402
|
+
const depQueues = new Set();
|
|
403
|
+
const { resolve, reject, promise: rawPromise } = createPromise();
|
|
404
|
+
const promise = Object.assign(rawPromise, {
|
|
405
|
+
[turbopackExports]: module.exports,
|
|
406
|
+
[turbopackQueues]: (fn)=>{
|
|
407
|
+
queue && fn(queue);
|
|
408
|
+
depQueues.forEach(fn);
|
|
409
|
+
promise['catch'](()=>{});
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
const attributes = {
|
|
413
|
+
get () {
|
|
414
|
+
return promise;
|
|
415
|
+
},
|
|
416
|
+
set (v) {
|
|
417
|
+
// Calling `esmExport` leads to this.
|
|
418
|
+
if (v !== promise) {
|
|
419
|
+
promise[turbopackExports] = v;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
Object.defineProperty(module, 'exports', attributes);
|
|
424
|
+
Object.defineProperty(module, 'namespaceObject', attributes);
|
|
425
|
+
function handleAsyncDependencies(deps) {
|
|
426
|
+
const currentDeps = wrapDeps(deps);
|
|
427
|
+
const getResult = ()=>currentDeps.map((d)=>{
|
|
428
|
+
if (d[turbopackError]) throw d[turbopackError];
|
|
429
|
+
return d[turbopackExports];
|
|
430
|
+
});
|
|
431
|
+
const { promise, resolve } = createPromise();
|
|
432
|
+
const fn = Object.assign(()=>resolve(getResult), {
|
|
433
|
+
queueCount: 0
|
|
434
|
+
});
|
|
435
|
+
function fnQueue(q) {
|
|
436
|
+
if (q !== queue && !depQueues.has(q)) {
|
|
437
|
+
depQueues.add(q);
|
|
438
|
+
if (q && q.status === 0) {
|
|
439
|
+
fn.queueCount++;
|
|
440
|
+
q.push(fn);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
currentDeps.map((dep)=>dep[turbopackQueues](fnQueue));
|
|
445
|
+
return fn.queueCount ? promise : getResult();
|
|
446
|
+
}
|
|
447
|
+
function asyncResult(err) {
|
|
448
|
+
if (err) {
|
|
449
|
+
reject(promise[turbopackError] = err);
|
|
450
|
+
} else {
|
|
451
|
+
resolve(promise[turbopackExports]);
|
|
452
|
+
}
|
|
453
|
+
resolveQueue(queue);
|
|
454
|
+
}
|
|
455
|
+
body(handleAsyncDependencies, asyncResult);
|
|
456
|
+
if (queue && queue.status === -1) {
|
|
457
|
+
queue.status = 0;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
contextPrototype.a = asyncModule;
|
|
461
|
+
/**
|
|
462
|
+
* A pseudo "fake" URL object to resolve to its relative path.
|
|
463
|
+
*
|
|
464
|
+
* When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this
|
|
465
|
+
* runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid
|
|
466
|
+
* hydration mismatch.
|
|
467
|
+
*
|
|
468
|
+
* This is based on webpack's existing implementation:
|
|
469
|
+
* https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js
|
|
470
|
+
*/ const relativeURL = function relativeURL(inputUrl) {
|
|
471
|
+
const realUrl = new URL(inputUrl, 'x:/');
|
|
472
|
+
const values = {};
|
|
473
|
+
for(const key in realUrl)values[key] = realUrl[key];
|
|
474
|
+
values.href = inputUrl;
|
|
475
|
+
values.pathname = inputUrl.replace(/[?#].*/, '');
|
|
476
|
+
values.origin = values.protocol = '';
|
|
477
|
+
values.toString = values.toJSON = (..._args)=>inputUrl;
|
|
478
|
+
for(const key in values)Object.defineProperty(this, key, {
|
|
479
|
+
enumerable: true,
|
|
480
|
+
configurable: true,
|
|
481
|
+
value: values[key]
|
|
482
|
+
});
|
|
483
|
+
};
|
|
484
|
+
relativeURL.prototype = URL.prototype;
|
|
485
|
+
contextPrototype.U = relativeURL;
|
|
486
|
+
/**
|
|
487
|
+
* Utility function to ensure all variants of an enum are handled.
|
|
488
|
+
*/ function invariant(never, computeMessage) {
|
|
489
|
+
throw new Error(`Invariant: ${computeMessage(never)}`);
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* A stub function to make `require` available but non-functional in ESM.
|
|
493
|
+
*/ function requireStub(_moduleId) {
|
|
494
|
+
throw new Error('dynamic usage of require is not supported');
|
|
495
|
+
}
|
|
496
|
+
contextPrototype.z = requireStub;
|
|
497
|
+
// Make `globalThis` available to the module in a way that cannot be shadowed by a local variable.
|
|
498
|
+
contextPrototype.g = globalThis;
|
|
499
|
+
function applyModuleFactoryName(factory) {
|
|
500
|
+
// Give the module factory a nice name to improve stack traces.
|
|
501
|
+
Object.defineProperty(factory, 'name', {
|
|
502
|
+
value: 'module evaluation'
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
/// <reference path="../shared/runtime-utils.ts" />
|
|
506
|
+
/// A 'base' utilities to support runtime can have externals.
|
|
507
|
+
/// Currently this is for node.js / edge runtime both.
|
|
508
|
+
/// If a fn requires node.js specific behavior, it should be placed in `node-external-utils` instead.
|
|
509
|
+
async function externalImport(id) {
|
|
510
|
+
let raw;
|
|
511
|
+
try {
|
|
512
|
+
raw = await import(id);
|
|
513
|
+
} catch (err) {
|
|
514
|
+
// TODO(alexkirsz) This can happen when a client-side module tries to load
|
|
515
|
+
// an external module we don't provide a shim for (e.g. querystring, url).
|
|
516
|
+
// For now, we fail semi-silently, but in the future this should be a
|
|
517
|
+
// compilation error.
|
|
518
|
+
throw new Error(`Failed to load external module ${id}: ${err}`);
|
|
519
|
+
}
|
|
520
|
+
if (raw && raw.__esModule && raw.default && 'default' in raw.default) {
|
|
521
|
+
return interopEsm(raw.default, createNS(raw), true);
|
|
522
|
+
}
|
|
523
|
+
return raw;
|
|
524
|
+
}
|
|
525
|
+
contextPrototype.y = externalImport;
|
|
526
|
+
function externalRequire(id, thunk, esm = false) {
|
|
527
|
+
let raw;
|
|
528
|
+
try {
|
|
529
|
+
raw = thunk();
|
|
530
|
+
} catch (err) {
|
|
531
|
+
// TODO(alexkirsz) This can happen when a client-side module tries to load
|
|
532
|
+
// an external module we don't provide a shim for (e.g. querystring, url).
|
|
533
|
+
// For now, we fail semi-silently, but in the future this should be a
|
|
534
|
+
// compilation error.
|
|
535
|
+
throw new Error(`Failed to load external module ${id}: ${err}`);
|
|
536
|
+
}
|
|
537
|
+
if (!esm || raw.__esModule) {
|
|
538
|
+
return raw;
|
|
539
|
+
}
|
|
540
|
+
return interopEsm(raw, createNS(raw), true);
|
|
541
|
+
}
|
|
542
|
+
externalRequire.resolve = (id, options)=>{
|
|
543
|
+
return require.resolve(id, options);
|
|
544
|
+
};
|
|
545
|
+
contextPrototype.x = externalRequire;
|
|
546
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */ const path = require('path');
|
|
547
|
+
const relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, '.');
|
|
548
|
+
// Compute the relative path to the `distDir`.
|
|
549
|
+
const relativePathToDistRoot = path.join(relativePathToRuntimeRoot, RELATIVE_ROOT_PATH);
|
|
550
|
+
const RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot);
|
|
551
|
+
// Compute the absolute path to the root, by stripping distDir from the absolute path to this file.
|
|
552
|
+
const ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot);
|
|
553
|
+
/**
|
|
554
|
+
* Returns an absolute path to the given module path.
|
|
555
|
+
* Module path should be relative, either path to a file or a directory.
|
|
556
|
+
*
|
|
557
|
+
* This fn allows to calculate an absolute path for some global static values, such as
|
|
558
|
+
* `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time.
|
|
559
|
+
* See ImportMetaBinding::code_generation for the usage.
|
|
560
|
+
*/ function resolveAbsolutePath(modulePath) {
|
|
561
|
+
if (modulePath) {
|
|
562
|
+
return path.join(ABSOLUTE_ROOT, modulePath);
|
|
563
|
+
}
|
|
564
|
+
return ABSOLUTE_ROOT;
|
|
565
|
+
}
|
|
566
|
+
Context.prototype.P = resolveAbsolutePath;
|
|
567
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../shared/runtime-utils.ts" />
|
|
568
|
+
function readWebAssemblyAsResponse(path) {
|
|
569
|
+
const { createReadStream } = require('fs');
|
|
570
|
+
const { Readable } = require('stream');
|
|
571
|
+
const stream = createReadStream(path);
|
|
572
|
+
// @ts-ignore unfortunately there's a slight type mismatch with the stream.
|
|
573
|
+
return new Response(Readable.toWeb(stream), {
|
|
574
|
+
headers: {
|
|
575
|
+
'content-type': 'application/wasm'
|
|
576
|
+
}
|
|
577
|
+
});
|
|
578
|
+
}
|
|
579
|
+
async function compileWebAssemblyFromPath(path) {
|
|
580
|
+
const response = readWebAssemblyAsResponse(path);
|
|
581
|
+
return await WebAssembly.compileStreaming(response);
|
|
582
|
+
}
|
|
583
|
+
async function instantiateWebAssemblyFromPath(path, importsObj) {
|
|
584
|
+
const response = readWebAssemblyAsResponse(path);
|
|
585
|
+
const { instance } = await WebAssembly.instantiateStreaming(response, importsObj);
|
|
586
|
+
return instance.exports;
|
|
587
|
+
}
|
|
588
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../shared/runtime-utils.ts" />
|
|
589
|
+
/// <reference path="../shared-node/base-externals-utils.ts" />
|
|
590
|
+
/// <reference path="../shared-node/node-externals-utils.ts" />
|
|
591
|
+
/// <reference path="../shared-node/node-wasm-utils.ts" />
|
|
592
|
+
var SourceType = /*#__PURE__*/ function(SourceType) {
|
|
593
|
+
/**
|
|
594
|
+
* The module was instantiated because it was included in an evaluated chunk's
|
|
595
|
+
* runtime.
|
|
596
|
+
* SourceData is a ChunkPath.
|
|
597
|
+
*/ SourceType[SourceType["Runtime"] = 0] = "Runtime";
|
|
598
|
+
/**
|
|
599
|
+
* The module was instantiated because a parent module imported it.
|
|
600
|
+
* SourceData is a ModuleId.
|
|
601
|
+
*/ SourceType[SourceType["Parent"] = 1] = "Parent";
|
|
602
|
+
return SourceType;
|
|
603
|
+
}(SourceType || {});
|
|
604
|
+
process.env.TURBOPACK = '1';
|
|
605
|
+
const nodeContextPrototype = Context.prototype;
|
|
606
|
+
const url = require('url');
|
|
607
|
+
const moduleFactories = new Map();
|
|
608
|
+
nodeContextPrototype.M = moduleFactories;
|
|
609
|
+
const moduleCache = Object.create(null);
|
|
610
|
+
nodeContextPrototype.c = moduleCache;
|
|
611
|
+
/**
|
|
612
|
+
* Returns an absolute path to the given module's id.
|
|
613
|
+
*/ function resolvePathFromModule(moduleId) {
|
|
614
|
+
const exported = this.r(moduleId);
|
|
615
|
+
const exportedPath = exported?.default ?? exported;
|
|
616
|
+
if (typeof exportedPath !== 'string') {
|
|
617
|
+
return exported;
|
|
618
|
+
}
|
|
619
|
+
const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length);
|
|
620
|
+
const resolved = path.resolve(RUNTIME_ROOT, strippedAssetPrefix);
|
|
621
|
+
return url.pathToFileURL(resolved).href;
|
|
622
|
+
}
|
|
623
|
+
nodeContextPrototype.R = resolvePathFromModule;
|
|
624
|
+
function loadRuntimeChunk(sourcePath, chunkData) {
|
|
625
|
+
if (typeof chunkData === 'string') {
|
|
626
|
+
loadRuntimeChunkPath(sourcePath, chunkData);
|
|
627
|
+
} else {
|
|
628
|
+
loadRuntimeChunkPath(sourcePath, chunkData.path);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
const loadedChunks = new Set();
|
|
632
|
+
const unsupportedLoadChunk = Promise.resolve(undefined);
|
|
633
|
+
const loadedChunk = Promise.resolve(undefined);
|
|
634
|
+
const chunkCache = new Map();
|
|
635
|
+
function clearChunkCache() {
|
|
636
|
+
chunkCache.clear();
|
|
637
|
+
}
|
|
638
|
+
function loadRuntimeChunkPath(sourcePath, chunkPath) {
|
|
639
|
+
if (!isJs(chunkPath)) {
|
|
640
|
+
// We only support loading JS chunks in Node.js.
|
|
641
|
+
// This branch can be hit when trying to load a CSS chunk.
|
|
642
|
+
return;
|
|
643
|
+
}
|
|
644
|
+
if (loadedChunks.has(chunkPath)) {
|
|
645
|
+
return;
|
|
646
|
+
}
|
|
647
|
+
try {
|
|
648
|
+
const resolved = path.resolve(RUNTIME_ROOT, chunkPath);
|
|
649
|
+
const chunkModules = require(resolved);
|
|
650
|
+
installCompressedModuleFactories(chunkModules, 0, moduleFactories);
|
|
651
|
+
loadedChunks.add(chunkPath);
|
|
652
|
+
} catch (cause) {
|
|
653
|
+
let errorMessage = `Failed to load chunk ${chunkPath}`;
|
|
654
|
+
if (sourcePath) {
|
|
655
|
+
errorMessage += ` from runtime for chunk ${sourcePath}`;
|
|
656
|
+
}
|
|
657
|
+
const error = new Error(errorMessage, {
|
|
658
|
+
cause
|
|
659
|
+
});
|
|
660
|
+
error.name = 'ChunkLoadError';
|
|
661
|
+
throw error;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
function loadChunkAsync(chunkData) {
|
|
665
|
+
const chunkPath = typeof chunkData === 'string' ? chunkData : chunkData.path;
|
|
666
|
+
if (!isJs(chunkPath)) {
|
|
667
|
+
// We only support loading JS chunks in Node.js.
|
|
668
|
+
// This branch can be hit when trying to load a CSS chunk.
|
|
669
|
+
return unsupportedLoadChunk;
|
|
670
|
+
}
|
|
671
|
+
let entry = chunkCache.get(chunkPath);
|
|
672
|
+
if (entry === undefined) {
|
|
673
|
+
try {
|
|
674
|
+
// resolve to an absolute path to simplify `require` handling
|
|
675
|
+
const resolved = path.resolve(RUNTIME_ROOT, chunkPath);
|
|
676
|
+
// TODO: consider switching to `import()` to enable concurrent chunk loading and async file io
|
|
677
|
+
// However this is incompatible with hot reloading (since `import` doesn't use the require cache)
|
|
678
|
+
const chunkModules = require(resolved);
|
|
679
|
+
installCompressedModuleFactories(chunkModules, 0, moduleFactories);
|
|
680
|
+
entry = loadedChunk;
|
|
681
|
+
} catch (cause) {
|
|
682
|
+
const errorMessage = `Failed to load chunk ${chunkPath} from module ${this.m.id}`;
|
|
683
|
+
const error = new Error(errorMessage, {
|
|
684
|
+
cause
|
|
685
|
+
});
|
|
686
|
+
error.name = 'ChunkLoadError';
|
|
687
|
+
// Cache the failure promise, future requests will also get this same rejection
|
|
688
|
+
entry = Promise.reject(error);
|
|
689
|
+
}
|
|
690
|
+
chunkCache.set(chunkPath, entry);
|
|
691
|
+
}
|
|
692
|
+
// TODO: Return an instrumented Promise that React can use instead of relying on referential equality.
|
|
693
|
+
return entry;
|
|
694
|
+
}
|
|
695
|
+
contextPrototype.l = loadChunkAsync;
|
|
696
|
+
function loadChunkAsyncByUrl(chunkUrl) {
|
|
697
|
+
const path1 = url.fileURLToPath(new URL(chunkUrl, RUNTIME_ROOT));
|
|
698
|
+
return loadChunkAsync.call(this, path1);
|
|
699
|
+
}
|
|
700
|
+
contextPrototype.L = loadChunkAsyncByUrl;
|
|
701
|
+
function loadWebAssembly(chunkPath, _edgeModule, imports) {
|
|
702
|
+
const resolved = path.resolve(RUNTIME_ROOT, chunkPath);
|
|
703
|
+
return instantiateWebAssemblyFromPath(resolved, imports);
|
|
704
|
+
}
|
|
705
|
+
contextPrototype.w = loadWebAssembly;
|
|
706
|
+
function loadWebAssemblyModule(chunkPath, _edgeModule) {
|
|
707
|
+
const resolved = path.resolve(RUNTIME_ROOT, chunkPath);
|
|
708
|
+
return compileWebAssemblyFromPath(resolved);
|
|
709
|
+
}
|
|
710
|
+
contextPrototype.u = loadWebAssemblyModule;
|
|
711
|
+
function getWorkerBlobURL(_chunks) {
|
|
712
|
+
throw new Error('Worker blobs are not implemented yet for Node.js');
|
|
713
|
+
}
|
|
714
|
+
nodeContextPrototype.b = getWorkerBlobURL;
|
|
715
|
+
function instantiateModule(id, sourceType, sourceData) {
|
|
716
|
+
const moduleFactory = moduleFactories.get(id);
|
|
717
|
+
if (typeof moduleFactory !== 'function') {
|
|
718
|
+
// This can happen if modules incorrectly handle HMR disposes/updates,
|
|
719
|
+
// e.g. when they keep a `setTimeout` around which still executes old code
|
|
720
|
+
// and contains e.g. a `require("something")` call.
|
|
721
|
+
let instantiationReason;
|
|
722
|
+
switch(sourceType){
|
|
723
|
+
case 0:
|
|
724
|
+
instantiationReason = `as a runtime entry of chunk ${sourceData}`;
|
|
725
|
+
break;
|
|
726
|
+
case 1:
|
|
727
|
+
instantiationReason = `because it was required from module ${sourceData}`;
|
|
728
|
+
break;
|
|
729
|
+
default:
|
|
730
|
+
invariant(sourceType, (sourceType)=>`Unknown source type: ${sourceType}`);
|
|
731
|
+
}
|
|
732
|
+
throw new Error(`Module ${id} was instantiated ${instantiationReason}, but the module factory is not available.`);
|
|
733
|
+
}
|
|
734
|
+
const module1 = createModuleObject(id);
|
|
735
|
+
const exports = module1.exports;
|
|
736
|
+
moduleCache[id] = module1;
|
|
737
|
+
const context = new Context(module1, exports);
|
|
738
|
+
// NOTE(alexkirsz) This can fail when the module encounters a runtime error.
|
|
739
|
+
try {
|
|
740
|
+
moduleFactory(context, module1, exports);
|
|
741
|
+
} catch (error) {
|
|
742
|
+
module1.error = error;
|
|
743
|
+
throw error;
|
|
744
|
+
}
|
|
745
|
+
module1.loaded = true;
|
|
746
|
+
if (module1.namespaceObject && module1.exports !== module1.namespaceObject) {
|
|
747
|
+
// in case of a circular dependency: cjs1 -> esm2 -> cjs1
|
|
748
|
+
interopEsm(module1.exports, module1.namespaceObject);
|
|
749
|
+
}
|
|
750
|
+
return module1;
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* Retrieves a module from the cache, or instantiate it if it is not cached.
|
|
754
|
+
*/ // @ts-ignore
|
|
755
|
+
function getOrInstantiateModuleFromParent(id, sourceModule) {
|
|
756
|
+
const module1 = moduleCache[id];
|
|
757
|
+
if (module1) {
|
|
758
|
+
if (module1.error) {
|
|
759
|
+
throw module1.error;
|
|
760
|
+
}
|
|
761
|
+
return module1;
|
|
762
|
+
}
|
|
763
|
+
return instantiateModule(id, 1, sourceModule.id);
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Instantiates a runtime module.
|
|
767
|
+
*/ function instantiateRuntimeModule(chunkPath, moduleId) {
|
|
768
|
+
return instantiateModule(moduleId, 0, chunkPath);
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.
|
|
772
|
+
*/ // @ts-ignore TypeScript doesn't separate this module space from the browser runtime
|
|
773
|
+
function getOrInstantiateRuntimeModule(chunkPath, moduleId) {
|
|
774
|
+
const module1 = moduleCache[moduleId];
|
|
775
|
+
if (module1) {
|
|
776
|
+
if (module1.error) {
|
|
777
|
+
throw module1.error;
|
|
778
|
+
}
|
|
779
|
+
return module1;
|
|
780
|
+
}
|
|
781
|
+
return instantiateRuntimeModule(chunkPath, moduleId);
|
|
782
|
+
}
|
|
783
|
+
const regexJsUrl = /\.js(?:\?[^#]*)?(?:#.*)?$/;
|
|
784
|
+
/**
|
|
785
|
+
* Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment.
|
|
786
|
+
*/ function isJs(chunkUrlOrPath) {
|
|
787
|
+
return regexJsUrl.test(chunkUrlOrPath);
|
|
788
|
+
}
|
|
789
|
+
module.exports = (sourcePath)=>({
|
|
790
|
+
m: (id)=>getOrInstantiateRuntimeModule(sourcePath, id),
|
|
791
|
+
c: (chunkData)=>loadRuntimeChunk(sourcePath, chunkData)
|
|
792
|
+
});
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
//# sourceMappingURL=%5Bturbopack%5D_runtime.js.map
|