@agentxm/client-core 0.4.5 → 0.5.1
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/src/unstable/agents/adal/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/adal/descriptor.js +1 -0
- package/dist/src/unstable/agents/adal/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/amp/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/amp/descriptor.js +4 -0
- package/dist/src/unstable/agents/amp/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/antigravity/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/antigravity/descriptor.js +1 -0
- package/dist/src/unstable/agents/antigravity/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/augment/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/augment/descriptor.js +1 -0
- package/dist/src/unstable/agents/augment/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/augment/service.d.ts.map +1 -1
- package/dist/src/unstable/agents/augment/service.js +26 -9
- package/dist/src/unstable/agents/augment/service.js.map +1 -1
- package/dist/src/unstable/agents/claude-code/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/claude-code/descriptor.js +1 -0
- package/dist/src/unstable/agents/claude-code/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/cline/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/cline/descriptor.js +1 -0
- package/dist/src/unstable/agents/cline/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/codebuddy/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/codebuddy/descriptor.js +1 -0
- package/dist/src/unstable/agents/codebuddy/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/codex/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/codex/descriptor.js +1 -0
- package/dist/src/unstable/agents/codex/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/coding-agent.d.ts +7 -7
- package/dist/src/unstable/agents/coding-agent.d.ts.map +1 -1
- package/dist/src/unstable/agents/coding-agent.js +1 -1
- package/dist/src/unstable/agents/coding-agent.js.map +1 -1
- package/dist/src/unstable/agents/command-code/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/command-code/descriptor.js +1 -0
- package/dist/src/unstable/agents/command-code/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/command-sync.d.ts +3 -3
- package/dist/src/unstable/agents/command-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/command-sync.js +42 -30
- package/dist/src/unstable/agents/command-sync.js.map +1 -1
- package/dist/src/unstable/agents/continue/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/continue/descriptor.js +1 -0
- package/dist/src/unstable/agents/continue/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/crush/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/crush/descriptor.js +1 -0
- package/dist/src/unstable/agents/crush/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/cursor/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/cursor/descriptor.js +1 -0
- package/dist/src/unstable/agents/cursor/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/detection.d.ts +2 -2
- package/dist/src/unstable/agents/detection.d.ts.map +1 -1
- package/dist/src/unstable/agents/detection.js +9 -15
- package/dist/src/unstable/agents/detection.js.map +1 -1
- package/dist/src/unstable/agents/droid/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/droid/descriptor.js +1 -0
- package/dist/src/unstable/agents/droid/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/gemini-cli/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/gemini-cli/descriptor.js +1 -0
- package/dist/src/unstable/agents/gemini-cli/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/github-copilot/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/github-copilot/descriptor.js +1 -0
- package/dist/src/unstable/agents/github-copilot/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/goose/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/goose/descriptor.js +1 -0
- package/dist/src/unstable/agents/goose/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/iflow-cli/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/iflow-cli/descriptor.js +1 -0
- package/dist/src/unstable/agents/iflow-cli/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/index.d.ts +2 -4
- package/dist/src/unstable/agents/index.d.ts.map +1 -1
- package/dist/src/unstable/agents/index.js +2 -4
- package/dist/src/unstable/agents/index.js.map +1 -1
- package/dist/src/unstable/agents/junie/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/junie/descriptor.js +1 -0
- package/dist/src/unstable/agents/junie/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/kilo/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/kilo/descriptor.js +1 -0
- package/dist/src/unstable/agents/kilo/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/kimi-cli/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/kimi-cli/descriptor.js +4 -0
- package/dist/src/unstable/agents/kimi-cli/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/kiro-cli/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/kiro-cli/descriptor.js +1 -0
- package/dist/src/unstable/agents/kiro-cli/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/kode/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/kode/descriptor.js +1 -0
- package/dist/src/unstable/agents/kode/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.js +14 -20
- package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
- package/dist/src/unstable/agents/mcpjam/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/mcpjam/descriptor.js +1 -0
- package/dist/src/unstable/agents/mcpjam/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/mistral-vibe/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/mistral-vibe/descriptor.js +1 -0
- package/dist/src/unstable/agents/mistral-vibe/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/mux/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/mux/descriptor.js +1 -0
- package/dist/src/unstable/agents/mux/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/neovate/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/neovate/descriptor.js +1 -0
- package/dist/src/unstable/agents/neovate/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/openclaw/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/openclaw/descriptor.js +5 -0
- package/dist/src/unstable/agents/openclaw/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/opencode/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/opencode/descriptor.js +1 -0
- package/dist/src/unstable/agents/opencode/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/openhands/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/openhands/descriptor.js +1 -0
- package/dist/src/unstable/agents/openhands/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/pi/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/pi/descriptor.js +1 -0
- package/dist/src/unstable/agents/pi/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/pochi/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/pochi/descriptor.js +1 -0
- package/dist/src/unstable/agents/pochi/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/qoder/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/qoder/descriptor.js +1 -0
- package/dist/src/unstable/agents/qoder/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/qwen-code/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/qwen-code/descriptor.js +1 -0
- package/dist/src/unstable/agents/qwen-code/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/registry.d.ts +1 -40
- package/dist/src/unstable/agents/registry.d.ts.map +1 -1
- package/dist/src/unstable/agents/registry.js +0 -40
- package/dist/src/unstable/agents/registry.js.map +1 -1
- package/dist/src/unstable/agents/replit/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/replit/descriptor.js +4 -0
- package/dist/src/unstable/agents/replit/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/repository.d.ts.map +1 -1
- package/dist/src/unstable/agents/repository.js +15 -15
- package/dist/src/unstable/agents/repository.js.map +1 -1
- package/dist/src/unstable/agents/roo/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/roo/descriptor.js +1 -0
- package/dist/src/unstable/agents/roo/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/subagent-sync.d.ts +1 -1
- package/dist/src/unstable/agents/subagent-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/subagent-sync.js +19 -40
- package/dist/src/unstable/agents/subagent-sync.js.map +1 -1
- package/dist/src/unstable/agents/trae/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/trae/descriptor.js +6 -0
- package/dist/src/unstable/agents/trae/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/trae-cn/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/trae-cn/descriptor.js +6 -0
- package/dist/src/unstable/agents/trae-cn/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/types.d.ts +18 -0
- package/dist/src/unstable/agents/types.d.ts.map +1 -1
- package/dist/src/unstable/agents/windsurf/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/windsurf/descriptor.js +1 -0
- package/dist/src/unstable/agents/windsurf/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/zencoder/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/zencoder/descriptor.js +1 -0
- package/dist/src/unstable/agents/zencoder/descriptor.js.map +1 -1
- package/dist/src/unstable/app-error/app-error.d.ts +10 -9
- package/dist/src/unstable/app-error/app-error.d.ts.map +1 -1
- package/dist/src/unstable/app-error/app-error.js +37 -4
- package/dist/src/unstable/app-error/app-error.js.map +1 -1
- package/dist/src/unstable/app-error/builders.d.ts +21 -0
- package/dist/src/unstable/app-error/builders.d.ts.map +1 -0
- package/dist/src/unstable/app-error/builders.js +46 -0
- package/dist/src/unstable/app-error/builders.js.map +1 -0
- package/dist/src/unstable/app-error/index.d.ts +2 -1
- package/dist/src/unstable/app-error/index.d.ts.map +1 -1
- package/dist/src/unstable/app-error/index.js +2 -1
- package/dist/src/unstable/app-error/index.js.map +1 -1
- package/dist/src/unstable/app-error/render.d.ts.map +1 -1
- package/dist/src/unstable/app-error/render.js +6 -24
- package/dist/src/unstable/app-error/render.js.map +1 -1
- package/dist/src/unstable/auth/auth-client.d.ts +1 -1
- package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
- package/dist/src/unstable/auth/auth-client.js +76 -42
- package/dist/src/unstable/auth/auth-client.js.map +1 -1
- package/dist/src/unstable/auth/credential-store.d.ts +1 -1
- package/dist/src/unstable/auth/credential-store.d.ts.map +1 -1
- package/dist/src/unstable/auth/credential-store.js +22 -24
- package/dist/src/unstable/auth/credential-store.js.map +1 -1
- package/dist/src/unstable/auth/device-login.d.ts +1 -1
- package/dist/src/unstable/auth/device-login.d.ts.map +1 -1
- package/dist/src/unstable/auth/device-login.js +1 -1
- package/dist/src/unstable/auth/device-login.js.map +1 -1
- package/dist/src/unstable/auth/guard-interaction.d.ts +1 -1
- package/dist/src/unstable/auth/guard-interaction.d.ts.map +1 -1
- package/dist/src/unstable/auth/guard-interaction.js +1 -1
- package/dist/src/unstable/auth/guard-interaction.js.map +1 -1
- package/dist/src/unstable/auth/guard.d.ts.map +1 -1
- package/dist/src/unstable/auth/guard.js +5 -9
- package/dist/src/unstable/auth/guard.js.map +1 -1
- package/dist/src/unstable/auth/index.d.ts +1 -1
- package/dist/src/unstable/auth/index.d.ts.map +1 -1
- package/dist/src/unstable/auth/index.js +1 -1
- package/dist/src/unstable/auth/index.js.map +1 -1
- package/dist/src/unstable/auth/login-interaction.d.ts +1 -1
- package/dist/src/unstable/auth/login-interaction.d.ts.map +1 -1
- package/dist/src/unstable/auth/login-interaction.js +1 -1
- package/dist/src/unstable/auth/login-interaction.js.map +1 -1
- package/dist/src/unstable/auth/registry-url.d.ts +1 -1
- package/dist/src/unstable/auth/registry-url.js +1 -1
- package/dist/src/unstable/auth/registry-url.js.map +1 -1
- package/dist/src/unstable/auth/token-resolution.d.ts +10 -1
- package/dist/src/unstable/auth/token-resolution.d.ts.map +1 -1
- package/dist/src/unstable/auth/token-resolution.js +20 -9
- package/dist/src/unstable/auth/token-resolution.js.map +1 -1
- package/dist/src/unstable/cli/prompt/helpers.d.ts +1 -1
- package/dist/src/unstable/cli/prompt/helpers.js +3 -3
- package/dist/src/unstable/cli/prompt/helpers.js.map +1 -1
- package/dist/src/unstable/cli-flags/verbosity.d.ts +1 -1
- package/dist/src/unstable/cli-flags/verbosity.d.ts.map +1 -1
- package/dist/src/unstable/cli-flags/verbosity.js +1 -1
- package/dist/src/unstable/cli-flags/verbosity.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +128 -9
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +45 -10
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +2 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js +80 -21
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +32 -7
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.js +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -1
- package/dist/src/unstable/cli-renderer/entity-registry.d.ts +15 -0
- package/dist/src/unstable/cli-renderer/entity-registry.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/entity-registry.js +17 -0
- package/dist/src/unstable/cli-renderer/entity-registry.js.map +1 -0
- package/dist/src/unstable/cli-renderer/index.d.ts +2 -1
- package/dist/src/unstable/cli-renderer/index.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/index.js +1 -0
- package/dist/src/unstable/cli-renderer/index.js.map +1 -1
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts +9 -0
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/breadcrumb.js +12 -0
- package/dist/src/unstable/cli-runtime/breadcrumb.js.map +1 -0
- package/dist/src/unstable/cli-runtime/command-argv.d.ts +1 -1
- package/dist/src/unstable/cli-runtime/command-argv.js +1 -1
- package/dist/src/unstable/cli-runtime/command-argv.js.map +1 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.js +3 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.js.map +1 -1
- package/dist/src/unstable/cli-runtime/handle-error.d.ts +2 -0
- package/dist/src/unstable/cli-runtime/handle-error.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/handle-error.js +42 -3
- package/dist/src/unstable/cli-runtime/handle-error.js.map +1 -1
- package/dist/src/unstable/cli-runtime/index.d.ts +4 -4
- package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/index.js +3 -3
- package/dist/src/unstable/cli-runtime/index.js.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts +50 -11
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.js +57 -15
- package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.d.ts +9 -8
- package/dist/src/unstable/cli-runtime/output-mode.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.js +11 -7
- package/dist/src/unstable/cli-runtime/output-mode.js.map +1 -1
- package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/runtime-envelope.js +52 -6
- package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/telemetry.d.ts +2 -1
- package/dist/src/unstable/cli-runtime/telemetry.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/telemetry.js +4 -4
- package/dist/src/unstable/cli-runtime/telemetry.js.map +1 -1
- package/dist/src/unstable/commands/command-argument.d.ts +2 -2
- package/dist/src/unstable/commands/command-argument.js +2 -2
- package/dist/src/unstable/commands/command-content.d.ts +11 -24
- package/dist/src/unstable/commands/command-content.d.ts.map +1 -1
- package/dist/src/unstable/commands/command-content.js +34 -36
- package/dist/src/unstable/commands/command-content.js.map +1 -1
- package/dist/src/unstable/commands/index.d.ts +2 -1
- package/dist/src/unstable/commands/index.d.ts.map +1 -1
- package/dist/src/unstable/commands/index.js +1 -0
- package/dist/src/unstable/commands/index.js.map +1 -1
- package/dist/src/unstable/commands/manager.d.ts +4 -3
- package/dist/src/unstable/commands/manager.d.ts.map +1 -1
- package/dist/src/unstable/commands/manager.js +74 -40
- package/dist/src/unstable/commands/manager.js.map +1 -1
- package/dist/src/unstable/commands/manifest-schema.d.ts +0 -1
- package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/commands/manifest-schema.js +0 -1
- package/dist/src/unstable/commands/manifest-schema.js.map +1 -1
- package/dist/src/unstable/commands/operations/disable.d.ts +2 -2
- package/dist/src/unstable/commands/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/disable.js +6 -6
- package/dist/src/unstable/commands/operations/disable.js.map +1 -1
- package/dist/src/unstable/commands/operations/enable.d.ts +3 -3
- package/dist/src/unstable/commands/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/enable.js +32 -11
- package/dist/src/unstable/commands/operations/enable.js.map +1 -1
- package/dist/src/unstable/commands/operations/install.d.ts +6 -6
- package/dist/src/unstable/commands/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/install.js +51 -39
- package/dist/src/unstable/commands/operations/install.js.map +1 -1
- package/dist/src/unstable/commands/operations/new-command.d.ts +8 -3
- package/dist/src/unstable/commands/operations/new-command.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/new-command.js +67 -18
- package/dist/src/unstable/commands/operations/new-command.js.map +1 -1
- package/dist/src/unstable/commands/operations/publish.d.ts +2 -2
- package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/publish.js +25 -17
- package/dist/src/unstable/commands/operations/publish.js.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +11 -15
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.js +27 -37
- package/dist/src/unstable/commands/operations/shared-command-helpers.js.map +1 -1
- package/dist/src/unstable/commands/operations/uninstall.d.ts +2 -2
- package/dist/src/unstable/commands/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/uninstall.js +4 -4
- package/dist/src/unstable/commands/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/commands/paths.d.ts +64 -0
- package/dist/src/unstable/commands/paths.d.ts.map +1 -0
- package/dist/src/unstable/commands/paths.js +41 -0
- package/dist/src/unstable/commands/paths.js.map +1 -0
- package/dist/src/unstable/commands/reconciliation-adapter.d.ts.map +1 -1
- package/dist/src/unstable/commands/reconciliation-adapter.js +19 -13
- package/dist/src/unstable/commands/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/commands/renderers/index.d.ts +6 -5
- package/dist/src/unstable/commands/renderers/index.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/index.js +3 -2
- package/dist/src/unstable/commands/renderers/index.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts +2 -10
- package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-only.js +3 -42
- package/dist/src/unstable/commands/renderers/render-markdown-only.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts +3 -3
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js +7 -46
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-plain-text.d.ts +2 -11
- package/dist/src/unstable/commands/renderers/render-plain-text.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-plain-text.js +8 -46
- package/dist/src/unstable/commands/renderers/render-plain-text.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts +3 -3
- package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-prompt-md.js +7 -37
- package/dist/src/unstable/commands/renderers/render-prompt-md.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-toml.d.ts +4 -5
- package/dist/src/unstable/commands/renderers/render-toml.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-toml.js +36 -53
- package/dist/src/unstable/commands/renderers/render-toml.js.map +1 -1
- package/dist/src/unstable/commands/renderers/types.d.ts +45 -39
- package/dist/src/unstable/commands/renderers/types.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/types.js +19 -1
- package/dist/src/unstable/commands/renderers/types.js.map +1 -1
- package/dist/src/unstable/extensions/agent-overrides.d.ts +45 -0
- package/dist/src/unstable/extensions/agent-overrides.d.ts.map +1 -0
- package/dist/src/unstable/extensions/agent-overrides.js +66 -0
- package/dist/src/unstable/extensions/agent-overrides.js.map +1 -0
- package/dist/src/unstable/extensions/common.js +2 -2
- package/dist/src/unstable/extensions/common.js.map +1 -1
- package/dist/src/unstable/extensions/fqn.d.ts +1 -1
- package/dist/src/unstable/extensions/fqn.d.ts.map +1 -1
- package/dist/src/unstable/extensions/fqn.js +8 -4
- package/dist/src/unstable/extensions/fqn.js.map +1 -1
- package/dist/src/unstable/extensions/frontmatter.d.ts.map +1 -1
- package/dist/src/unstable/extensions/frontmatter.js +8 -4
- package/dist/src/unstable/extensions/frontmatter.js.map +1 -1
- package/dist/src/unstable/extensions/index.d.ts +3 -3
- package/dist/src/unstable/extensions/index.d.ts.map +1 -1
- package/dist/src/unstable/extensions/index.js +3 -5
- package/dist/src/unstable/extensions/index.js.map +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts +24 -0
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts.map +1 -0
- package/dist/src/unstable/extensions/materializable-from-disk.js +235 -0
- package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -0
- package/dist/src/unstable/extensions/operations.d.ts +4 -0
- package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
- package/dist/src/unstable/extensions/operations.js +17 -0
- package/dist/src/unstable/extensions/operations.js.map +1 -1
- package/dist/src/unstable/extensions/reconciliation-utils.js +2 -2
- package/dist/src/unstable/extensions/reconciliation-utils.js.map +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
- package/dist/src/unstable/extensions/universal-skills-dir.d.ts +1 -1
- package/dist/src/unstable/extensions/universal-skills-dir.js +1 -1
- package/dist/src/unstable/extensions/utils.d.ts +1 -1
- package/dist/src/unstable/extensions/utils.d.ts.map +1 -1
- package/dist/src/unstable/extensions/utils.js +3 -3
- package/dist/src/unstable/extensions/utils.js.map +1 -1
- package/dist/src/unstable/git/operations.d.ts.map +1 -1
- package/dist/src/unstable/git/operations.js +2 -8
- package/dist/src/unstable/git/operations.js.map +1 -1
- package/dist/src/unstable/install-meta/install-meta.d.ts +1 -1
- package/dist/src/unstable/install-meta/install-meta.js +1 -1
- package/dist/src/unstable/install-meta/install-meta.js.map +1 -1
- package/dist/src/unstable/install-method/install-method.d.ts +1 -1
- package/dist/src/unstable/install-method/install-method.js +1 -1
- package/dist/src/unstable/install-method/install-method.js.map +1 -1
- package/dist/src/unstable/lint/catalog/index.d.ts +3 -4
- package/dist/src/unstable/lint/catalog/index.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/index.js +4 -5
- package/dist/src/unstable/lint/catalog/index.js.map +1 -1
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.d.ts +12 -22
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.js +8 -9
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.js.map +1 -1
- package/dist/src/unstable/lint/catalog/skill-accessor/contexts.d.ts +12 -22
- package/dist/src/unstable/lint/catalog/skill-accessor/contexts.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/skill-accessor/contexts.js +8 -9
- package/dist/src/unstable/lint/catalog/skill-accessor/contexts.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.js +25 -9
- package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/agents-recognized.d.ts +2 -2
- package/dist/src/unstable/lint/catalog/workspace/agents-recognized.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/agents-recognized.js +15 -17
- package/dist/src/unstable/lint/catalog/workspace/agents-recognized.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.d.ts +4 -0
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.js +78 -0
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/initialized.d.ts +2 -2
- package/dist/src/unstable/lint/catalog/workspace/initialized.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/initialized.js +19 -15
- package/dist/src/unstable/lint/catalog/workspace/initialized.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.js +20 -16
- package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.js +4 -9
- package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js +4 -8
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.js +7 -12
- package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.js +18 -14
- package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.js +40 -73
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.js +4 -9
- package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.d.ts +2 -5
- package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.js +27 -36
- package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js +10 -20
- package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-managed.d.ts +2 -2
- package/dist/src/unstable/lint/catalog/workspace/skills-managed.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-managed.js +31 -66
- package/dist/src/unstable/lint/catalog/workspace/skills-managed.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace-fixtures/fixture-state.d.ts +8 -0
- package/dist/src/unstable/lint/catalog/workspace-fixtures/fixture-state.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-fixtures/fixture-state.js +111 -0
- package/dist/src/unstable/lint/catalog/workspace-fixtures/fixture-state.js.map +1 -0
- package/dist/src/unstable/lint/catalog/{workspace-accessor → workspace-fixtures}/interpret-ops.d.ts +9 -1
- package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/{workspace-accessor → workspace-fixtures}/interpret-ops.js +10 -2
- package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.js.map +1 -0
- package/dist/src/unstable/lint/catalog/{workspace-accessor/contexts.d.ts → workspace-read-model/lint-workspace.d.ts} +53 -32
- package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js +241 -0
- package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace.d.ts +1 -1
- package/dist/src/unstable/lint/catalog/workspace.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace.js +3 -1
- package/dist/src/unstable/lint/catalog/workspace.js.map +1 -1
- package/dist/src/unstable/lint/cli.d.ts +1 -1
- package/dist/src/unstable/lint/cli.js +1 -1
- package/dist/src/unstable/lint/config.d.ts +1 -1
- package/dist/src/unstable/lint/config.js +2 -2
- package/dist/src/unstable/lint/config.js.map +1 -1
- package/dist/src/unstable/lint/context.d.ts +9 -89
- package/dist/src/unstable/lint/context.d.ts.map +1 -1
- package/dist/src/unstable/lint/index.d.ts +2 -2
- package/dist/src/unstable/lint/index.d.ts.map +1 -1
- package/dist/src/unstable/lint/index.js +1 -1
- package/dist/src/unstable/lint/index.js.map +1 -1
- package/dist/src/unstable/lint/rule.d.ts +1 -1
- package/dist/src/unstable/lockfile/index.d.ts +2 -2
- package/dist/src/unstable/lockfile/index.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/index.js +2 -2
- package/dist/src/unstable/lockfile/index.js.map +1 -1
- package/dist/src/unstable/lockfile/lockfile.d.ts +1 -480
- package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/lockfile.js +10 -98
- package/dist/src/unstable/lockfile/lockfile.js.map +1 -1
- package/dist/src/unstable/lockfile/resolved-version.js +7 -7
- package/dist/src/unstable/lockfile/resolved-version.js.map +1 -1
- package/dist/src/unstable/mcp-servers/manager.d.ts +3 -3
- package/dist/src/unstable/mcp-servers/manager.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/manager.js +23 -19
- package/dist/src/unstable/mcp-servers/manager.js.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/install.d.ts +2 -2
- package/dist/src/unstable/mcp-servers/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/install.js +26 -34
- package/dist/src/unstable/mcp-servers/operations/install.js.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/publish.d.ts +2 -2
- package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/publish.js +16 -17
- package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts +2 -2
- package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/uninstall.js +12 -19
- package/dist/src/unstable/mcp-servers/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.js +12 -7
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.js +6 -7
- package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
- package/dist/src/unstable/packs/expansion.d.ts +2 -2
- package/dist/src/unstable/packs/expansion.d.ts.map +1 -1
- package/dist/src/unstable/packs/expansion.js +5 -5
- package/dist/src/unstable/packs/expansion.js.map +1 -1
- package/dist/src/unstable/packs/manager.d.ts +3 -3
- package/dist/src/unstable/packs/manager.d.ts.map +1 -1
- package/dist/src/unstable/packs/manager.js +13 -8
- package/dist/src/unstable/packs/manager.js.map +1 -1
- package/dist/src/unstable/packs/operations/add-to-pack.d.ts +2 -2
- package/dist/src/unstable/packs/operations/add-to-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/add-to-pack.js +18 -14
- package/dist/src/unstable/packs/operations/add-to-pack.js.map +1 -1
- package/dist/src/unstable/packs/operations/install.d.ts +2 -2
- package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/install.js +21 -17
- package/dist/src/unstable/packs/operations/install.js.map +1 -1
- package/dist/src/unstable/packs/operations/new-pack.d.ts +2 -2
- package/dist/src/unstable/packs/operations/new-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/new-pack.js +19 -12
- package/dist/src/unstable/packs/operations/new-pack.js.map +1 -1
- package/dist/src/unstable/packs/operations/publish.d.ts +2 -2
- package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/publish.js +16 -17
- package/dist/src/unstable/packs/operations/publish.js.map +1 -1
- package/dist/src/unstable/packs/operations/remove-from-pack.d.ts +2 -2
- package/dist/src/unstable/packs/operations/remove-from-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/remove-from-pack.js +18 -14
- package/dist/src/unstable/packs/operations/remove-from-pack.js.map +1 -1
- package/dist/src/unstable/packs/operations/uninstall.d.ts +2 -2
- package/dist/src/unstable/packs/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/uninstall.js +5 -5
- package/dist/src/unstable/packs/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/packs/operations/unpack.d.ts +2 -2
- package/dist/src/unstable/packs/operations/unpack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/unpack.js +15 -10
- package/dist/src/unstable/packs/operations/unpack.js.map +1 -1
- package/dist/src/unstable/packs/reconciliation-adapter.d.ts.map +1 -1
- package/dist/src/unstable/packs/reconciliation-adapter.js +7 -4
- package/dist/src/unstable/packs/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/plan/apply-plan.d.ts.map +1 -1
- package/dist/src/unstable/plan/apply-plan.js +5 -6
- package/dist/src/unstable/plan/apply-plan.js.map +1 -1
- package/dist/src/unstable/plan/resolve-plan.d.ts +4 -4
- package/dist/src/unstable/plan/resolve-plan.d.ts.map +1 -1
- package/dist/src/unstable/plan/resolve-plan.js +35 -18
- package/dist/src/unstable/plan/resolve-plan.js.map +1 -1
- package/dist/src/unstable/publish/manifest-policy.d.ts +9 -14
- package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
- package/dist/src/unstable/publish/manifest-policy.js +13 -0
- package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +1271 -51
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +403 -47
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/error-mapping.d.ts +7 -6
- package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -1
- package/dist/src/unstable/registry/error-mapping.js +44 -31
- package/dist/src/unstable/registry/error-mapping.js.map +1 -1
- package/dist/src/unstable/registry/index.d.ts +1 -1
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- package/dist/src/unstable/registry/index.js +1 -1
- package/dist/src/unstable/registry/index.js.map +1 -1
- package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/local-client.js +44 -36
- package/dist/src/unstable/registry/local-client.js.map +1 -1
- package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/remote-client.js +86 -103
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/registry/utils.js +8 -8
- package/dist/src/unstable/registry/utils.js.map +1 -1
- package/dist/src/unstable/settings/ignored-patterns.d.ts.map +1 -1
- package/dist/src/unstable/settings/ignored-patterns.js +13 -7
- package/dist/src/unstable/settings/ignored-patterns.js.map +1 -1
- package/dist/src/unstable/settings/index.d.ts +1 -1
- package/dist/src/unstable/settings/index.d.ts.map +1 -1
- package/dist/src/unstable/settings/index.js +1 -1
- package/dist/src/unstable/settings/index.js.map +1 -1
- package/dist/src/unstable/settings/schema.d.ts +55 -17
- package/dist/src/unstable/settings/schema.d.ts.map +1 -1
- package/dist/src/unstable/settings/schema.js +99 -37
- package/dist/src/unstable/settings/schema.js.map +1 -1
- package/dist/src/unstable/settings/settings.d.ts +0 -160
- package/dist/src/unstable/settings/settings.d.ts.map +1 -1
- package/dist/src/unstable/settings/settings.js +6 -66
- package/dist/src/unstable/settings/settings.js.map +1 -1
- package/dist/src/unstable/skills/index.d.ts +0 -2
- package/dist/src/unstable/skills/index.d.ts.map +1 -1
- package/dist/src/unstable/skills/index.js +0 -1
- package/dist/src/unstable/skills/index.js.map +1 -1
- package/dist/src/unstable/skills/manager.d.ts +3 -3
- package/dist/src/unstable/skills/manager.d.ts.map +1 -1
- package/dist/src/unstable/skills/manager.js +13 -12
- package/dist/src/unstable/skills/manager.js.map +1 -1
- package/dist/src/unstable/skills/manifest-schema.d.ts +0 -1
- package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/skills/manifest-schema.js +0 -1
- package/dist/src/unstable/skills/manifest-schema.js.map +1 -1
- package/dist/src/unstable/skills/materialization.d.ts.map +1 -1
- package/dist/src/unstable/skills/materialization.js +11 -15
- package/dist/src/unstable/skills/materialization.js.map +1 -1
- package/dist/src/unstable/skills/operations/copy.d.ts +2 -2
- package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/copy.js +16 -25
- package/dist/src/unstable/skills/operations/copy.js.map +1 -1
- package/dist/src/unstable/skills/operations/disable.d.ts +2 -2
- package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/disable.js +15 -13
- package/dist/src/unstable/skills/operations/disable.js.map +1 -1
- package/dist/src/unstable/skills/operations/enable.d.ts +2 -2
- package/dist/src/unstable/skills/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/enable.js +12 -9
- package/dist/src/unstable/skills/operations/enable.js.map +1 -1
- package/dist/src/unstable/skills/operations/install.d.ts +2 -2
- package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/install.js +28 -40
- package/dist/src/unstable/skills/operations/install.js.map +1 -1
- package/dist/src/unstable/skills/operations/new-skill.d.ts +2 -2
- package/dist/src/unstable/skills/operations/new-skill.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/new-skill.js +23 -16
- package/dist/src/unstable/skills/operations/new-skill.js.map +1 -1
- package/dist/src/unstable/skills/operations/publish.d.ts +2 -2
- package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/publish.js +28 -26
- package/dist/src/unstable/skills/operations/publish.js.map +1 -1
- package/dist/src/unstable/skills/operations/uninstall.d.ts +3 -3
- package/dist/src/unstable/skills/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/uninstall.js +14 -13
- package/dist/src/unstable/skills/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/skills/reconciliation-adapter.d.ts.map +1 -1
- package/dist/src/unstable/skills/reconciliation-adapter.js +10 -5
- package/dist/src/unstable/skills/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/source-resolution/index.d.ts +1 -2
- package/dist/src/unstable/source-resolution/index.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/index.js +1 -4
- package/dist/src/unstable/source-resolution/index.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js +4 -6
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js +3 -4
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/git-hosting.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/git-hosting.js +8 -10
- package/dist/src/unstable/source-resolution/providers/git-hosting.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/git.js +4 -4
- package/dist/src/unstable/source-resolution/providers/git.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js +3 -4
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/github/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/github/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js +3 -4
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/gitlab/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/local.d.ts +1 -1
- package/dist/src/unstable/source-resolution/providers/local.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/local.js +7 -8
- package/dist/src/unstable/source-resolution/providers/local.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts +1 -1
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js +5 -7
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +6 -7
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-identifier.d.ts +61 -0
- package/dist/src/unstable/source-resolution/resolve-identifier.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-identifier.js +322 -0
- package/dist/src/unstable/source-resolution/resolve-identifier.js.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-source-pattern.d.ts +2 -2
- package/dist/src/unstable/source-resolution/resolve-source-pattern.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js +23 -16
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source.d.ts +9 -9
- package/dist/src/unstable/source-resolution/resolve-source.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source.js +56 -79
- package/dist/src/unstable/source-resolution/resolve-source.js.map +1 -1
- package/dist/src/unstable/source-resolution/service.d.ts +5 -5
- package/dist/src/unstable/source-resolution/service.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/service.js +5 -5
- package/dist/src/unstable/source-resolution/service.js.map +1 -1
- package/dist/src/unstable/sources/index.d.ts +1 -0
- package/dist/src/unstable/sources/index.d.ts.map +1 -1
- package/dist/src/unstable/sources/index.js +2 -1
- package/dist/src/unstable/sources/index.js.map +1 -1
- package/dist/src/unstable/sources/lock-entry-to-ref.d.ts +28 -0
- package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -0
- package/dist/src/unstable/sources/lock-entry-to-ref.js +270 -0
- package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -0
- package/dist/src/unstable/subagents/index.d.ts +3 -4
- package/dist/src/unstable/subagents/index.d.ts.map +1 -1
- package/dist/src/unstable/subagents/index.js +3 -5
- package/dist/src/unstable/subagents/index.js.map +1 -1
- package/dist/src/unstable/subagents/manager.d.ts +3 -3
- package/dist/src/unstable/subagents/manager.d.ts.map +1 -1
- package/dist/src/unstable/subagents/manager.js +62 -64
- package/dist/src/unstable/subagents/manager.js.map +1 -1
- package/dist/src/unstable/subagents/manifest-schema.d.ts +4 -7
- package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/subagents/manifest-schema.js +5 -10
- package/dist/src/unstable/subagents/manifest-schema.js.map +1 -1
- package/dist/src/unstable/subagents/operations/disable.d.ts +2 -2
- package/dist/src/unstable/subagents/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/disable.js +15 -9
- package/dist/src/unstable/subagents/operations/disable.js.map +1 -1
- package/dist/src/unstable/subagents/operations/enable.d.ts +3 -3
- package/dist/src/unstable/subagents/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/enable.js +41 -18
- package/dist/src/unstable/subagents/operations/enable.js.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.d.ts +3 -3
- package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.js +55 -54
- package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
- package/dist/src/unstable/subagents/paths.d.ts +7 -1
- package/dist/src/unstable/subagents/paths.d.ts.map +1 -1
- package/dist/src/unstable/subagents/paths.js +7 -1
- package/dist/src/unstable/subagents/paths.js.map +1 -1
- package/dist/src/unstable/subagents/reconciliation-adapter.d.ts.map +1 -1
- package/dist/src/unstable/subagents/reconciliation-adapter.js +10 -5
- package/dist/src/unstable/subagents/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/json.d.ts +2 -2
- package/dist/src/unstable/subagents/rendering/adapters/json.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/json.js +7 -43
- package/dist/src/unstable/subagents/rendering/adapters/json.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts +2 -1
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js +18 -104
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts +9 -10
- package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/roo.js +24 -50
- package/dist/src/unstable/subagents/rendering/adapters/roo.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts +3 -2
- package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/toml.js +24 -56
- package/dist/src/unstable/subagents/rendering/adapters/toml.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/index.d.ts +1 -4
- package/dist/src/unstable/subagents/rendering/index.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/index.js +1 -2
- package/dist/src/unstable/subagents/rendering/index.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/overrides.d.ts +2 -0
- package/dist/src/unstable/subagents/rendering/overrides.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/overrides.js +2 -0
- package/dist/src/unstable/subagents/rendering/overrides.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/types.d.ts +9 -16
- package/dist/src/unstable/subagents/rendering/types.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/types.js +3 -2
- package/dist/src/unstable/subagents/rendering/types.js.map +1 -1
- package/dist/src/unstable/subagents/subagent-content.d.ts +16 -56
- package/dist/src/unstable/subagents/subagent-content.d.ts.map +1 -1
- package/dist/src/unstable/subagents/subagent-content.js +69 -60
- package/dist/src/unstable/subagents/subagent-content.js.map +1 -1
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts +10 -10
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts.map +1 -1
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.js +8 -5
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.js.map +1 -1
- package/dist/src/unstable/telemetry/client.d.ts +2 -2
- package/dist/src/unstable/telemetry/client.d.ts.map +1 -1
- package/dist/src/unstable/telemetry/client.js +5 -2
- package/dist/src/unstable/telemetry/client.js.map +1 -1
- package/dist/src/unstable/update-check/update-check.d.ts +1 -1
- package/dist/src/unstable/update-check/update-check.js +1 -1
- package/dist/src/unstable/update-check/update-check.js.map +1 -1
- package/dist/src/unstable/utils/build-zip-archive.d.ts.map +1 -1
- package/dist/src/unstable/utils/build-zip-archive.js +11 -6
- package/dist/src/unstable/utils/build-zip-archive.js.map +1 -1
- package/dist/src/unstable/utils/create-symlink.js +8 -8
- package/dist/src/unstable/utils/create-symlink.js.map +1 -1
- package/dist/src/unstable/version-resolution/version-resolution.d.ts.map +1 -1
- package/dist/src/unstable/version-resolution/version-resolution.js +38 -21
- package/dist/src/unstable/version-resolution/version-resolution.js.map +1 -1
- package/dist/src/unstable/workflows/install-command/workflow.d.ts +1 -1
- package/dist/src/unstable/workflows/install-command/workflow.d.ts.map +1 -1
- package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts +1 -1
- package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts.map +1 -1
- package/dist/src/unstable/workspace/augment-plan.d.ts +2 -1
- package/dist/src/unstable/workspace/augment-plan.d.ts.map +1 -1
- package/dist/src/unstable/workspace/augment-plan.js +8 -5
- package/dist/src/unstable/workspace/augment-plan.js.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts +6 -6
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +103 -69
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js +3 -4
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/types.js +5 -8
- package/dist/src/unstable/workspace/configured-entry-resolution/types.js.map +1 -1
- package/dist/src/unstable/workspace/index.d.ts +9 -9
- package/dist/src/unstable/workspace/index.d.ts.map +1 -1
- package/dist/src/unstable/workspace/index.js +12 -15
- package/dist/src/unstable/workspace/index.js.map +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.d.ts +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.js +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -1
- package/dist/src/unstable/workspace/initialization.d.ts +177 -85
- package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
- package/dist/src/unstable/workspace/initialization.js +61 -32
- package/dist/src/unstable/workspace/initialization.js.map +1 -1
- package/dist/src/unstable/workspace/paths.d.ts +1 -1
- package/dist/src/unstable/workspace/paths.js +1 -1
- package/dist/src/unstable/workspace/read-model/__fixtures__/builder.d.ts +194 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/builder.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/builder.js +535 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/builder.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/decoders.d.ts +15 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/decoders.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/decoders.js +15 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/decoders.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.d.ts +70 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.js +131 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/test-layer.d.ts +55 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/test-layer.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/test-layer.js +52 -0
- package/dist/src/unstable/workspace/read-model/__fixtures__/test-layer.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/__tests__/scenarios/_harness.d.ts +99 -0
- package/dist/src/unstable/workspace/read-model/__tests__/scenarios/_harness.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/__tests__/scenarios/_harness.js +141 -0
- package/dist/src/unstable/workspace/read-model/__tests__/scenarios/_harness.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.d.ts +38 -0
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.js +35 -0
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/adal.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/adal.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/adal.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/adal.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/amp.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/amp.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/amp.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/amp.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/antigravity.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/antigravity.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/antigravity.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/antigravity.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/augment.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/augment.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/augment.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/augment.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/claude-code.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/claude-code.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/claude-code.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/claude-code.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/cline.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/cline.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/cline.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/cline.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/codebuddy.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/codebuddy.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/codebuddy.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/codebuddy.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/codex.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/codex.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/codex.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/codex.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/command-code.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/command-code.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/command-code.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/command-code.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/continue.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/continue.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/continue.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/continue.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/crush.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/crush.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/crush.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/crush.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/cursor.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/cursor.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/cursor.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/cursor.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/droid.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/droid.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/droid.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/droid.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/gemini-cli.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/gemini-cli.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/gemini-cli.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/gemini-cli.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/github-copilot.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/github-copilot.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/github-copilot.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/github-copilot.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/goose.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/goose.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/goose.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/goose.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/iflow-cli.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/iflow-cli.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/iflow-cli.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/iflow-cli.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/index.d.ts +201 -0
- package/dist/src/unstable/workspace/read-model/agents/index.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/index.js +180 -0
- package/dist/src/unstable/workspace/read-model/agents/index.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/junie.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/junie.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/junie.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/junie.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/kilo.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/kilo.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/kilo.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/kilo.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/kimi-cli.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/kimi-cli.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/kimi-cli.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/kimi-cli.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/kiro-cli.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/kiro-cli.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/kiro-cli.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/kiro-cli.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/kode.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/kode.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/kode.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/kode.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/mcpjam.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/mcpjam.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/mcpjam.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/mcpjam.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/mistral-vibe.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/mistral-vibe.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/mistral-vibe.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/mistral-vibe.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/mux.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/mux.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/mux.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/mux.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/neovate.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/neovate.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/neovate.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/neovate.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/openclaw.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/openclaw.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/openclaw.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/openclaw.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/opencode.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/opencode.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/opencode.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/opencode.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/openhands.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/openhands.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/openhands.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/openhands.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/pi.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/pi.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/pi.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/pi.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/pochi.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/pochi.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/pochi.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/pochi.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/qoder.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/qoder.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/qoder.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/qoder.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/qwen-code.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/qwen-code.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/qwen-code.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/qwen-code.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/replit.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/replit.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/replit.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/replit.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/roo.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/roo.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/roo.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/roo.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/shared.d.ts +27 -0
- package/dist/src/unstable/workspace/read-model/agents/shared.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/shared.js +62 -0
- package/dist/src/unstable/workspace/read-model/agents/shared.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/trae-cn.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/trae-cn.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/trae-cn.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/trae-cn.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/trae.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/trae.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/trae.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/trae.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/types.d.ts +146 -0
- package/dist/src/unstable/workspace/read-model/agents/types.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/types.js +55 -0
- package/dist/src/unstable/workspace/read-model/agents/types.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/windsurf.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/windsurf.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/windsurf.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/windsurf.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/zencoder.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/zencoder.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/zencoder.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/zencoder.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/diagnostics.d.ts +18 -0
- package/dist/src/unstable/workspace/read-model/diagnostics.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/diagnostics.js +14 -0
- package/dist/src/unstable/workspace/read-model/diagnostics.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/discovery/index.d.ts +5 -0
- package/dist/src/unstable/workspace/read-model/discovery/index.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/discovery/index.js +5 -0
- package/dist/src/unstable/workspace/read-model/discovery/index.js.map +1 -0
- package/dist/src/unstable/{source-resolution/parse-manifests.d.ts → workspace/read-model/discovery/plugin-manifests.d.ts} +2 -2
- package/dist/src/unstable/workspace/read-model/discovery/plugin-manifests.d.ts.map +1 -0
- package/dist/src/unstable/{source-resolution/parse-manifests.js → workspace/read-model/discovery/plugin-manifests.js} +2 -2
- package/dist/src/unstable/workspace/read-model/discovery/plugin-manifests.js.map +1 -0
- package/dist/src/unstable/{source-resolution/discover-skills.d.ts → workspace/read-model/discovery/skills.d.ts} +5 -5
- package/dist/src/unstable/workspace/read-model/discovery/skills.d.ts.map +1 -0
- package/dist/src/unstable/{source-resolution/discover-skills.js → workspace/read-model/discovery/skills.js} +15 -14
- package/dist/src/unstable/workspace/read-model/discovery/skills.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/discovery/subagents.d.ts +36 -0
- package/dist/src/unstable/workspace/read-model/discovery/subagents.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/discovery/subagents.js +52 -0
- package/dist/src/unstable/workspace/read-model/discovery/subagents.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/errors.d.ts +74 -0
- package/dist/src/unstable/workspace/read-model/errors.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/errors.js +24 -0
- package/dist/src/unstable/workspace/read-model/errors.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/actual-helpers.d.ts +4 -0
- package/dist/src/unstable/workspace/read-model/extensions/actual-helpers.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/actual-helpers.js +4 -0
- package/dist/src/unstable/workspace/read-model/extensions/actual-helpers.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/command.d.ts +112 -0
- package/dist/src/unstable/workspace/read-model/extensions/command.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/command.js +136 -0
- package/dist/src/unstable/workspace/read-model/extensions/command.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/file.d.ts +93 -0
- package/dist/src/unstable/workspace/read-model/extensions/file.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/file.js +126 -0
- package/dist/src/unstable/workspace/read-model/extensions/file.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/index.d.ts +18 -0
- package/dist/src/unstable/workspace/read-model/extensions/index.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/index.js +42 -0
- package/dist/src/unstable/workspace/read-model/extensions/index.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/indexByName.d.ts +31 -0
- package/dist/src/unstable/workspace/read-model/extensions/indexByName.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/indexByName.js +30 -0
- package/dist/src/unstable/workspace/read-model/extensions/indexByName.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/mcp-server.d.ts +121 -0
- package/dist/src/unstable/workspace/read-model/extensions/mcp-server.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/mcp-server.js +136 -0
- package/dist/src/unstable/workspace/read-model/extensions/mcp-server.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/pack.d.ts +123 -0
- package/dist/src/unstable/workspace/read-model/extensions/pack.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/pack.js +145 -0
- package/dist/src/unstable/workspace/read-model/extensions/pack.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/package-root.d.ts +40 -0
- package/dist/src/unstable/workspace/read-model/extensions/package-root.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/package-root.js +41 -0
- package/dist/src/unstable/workspace/read-model/extensions/package-root.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/projection.d.ts +183 -0
- package/dist/src/unstable/workspace/read-model/extensions/projection.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/projection.js +255 -0
- package/dist/src/unstable/workspace/read-model/extensions/projection.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/rule.d.ts +97 -0
- package/dist/src/unstable/workspace/read-model/extensions/rule.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/rule.js +123 -0
- package/dist/src/unstable/workspace/read-model/extensions/rule.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/skill.d.ts +187 -0
- package/dist/src/unstable/workspace/read-model/extensions/skill.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/skill.js +169 -0
- package/dist/src/unstable/workspace/read-model/extensions/skill.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/subagent.d.ts +113 -0
- package/dist/src/unstable/workspace/read-model/extensions/subagent.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/subagent.js +140 -0
- package/dist/src/unstable/workspace/read-model/extensions/subagent.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-dir.d.ts +50 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-dir.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-dir.js +149 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-dir.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-root.d.ts +73 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-root.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-root.js +146 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-root.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-settings.d.ts +43 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-settings.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-settings.js +53 -0
- package/dist/src/unstable/workspace/read-model/scanners/agent-settings.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.d.ts +48 -0
- package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js +184 -0
- package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/fs-helpers.d.ts +63 -0
- package/dist/src/unstable/workspace/read-model/scanners/fs-helpers.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/fs-helpers.js +106 -0
- package/dist/src/unstable/workspace/read-model/scanners/fs-helpers.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/index.d.ts +15 -0
- package/dist/src/unstable/workspace/read-model/scanners/index.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/index.js +34 -0
- package/dist/src/unstable/workspace/read-model/scanners/index.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/mcp-config.d.ts +61 -0
- package/dist/src/unstable/workspace/read-model/scanners/mcp-config.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/mcp-config.js +162 -0
- package/dist/src/unstable/workspace/read-model/scanners/mcp-config.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/types.d.ts +193 -0
- package/dist/src/unstable/workspace/read-model/scanners/types.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/scanners/types.js +86 -0
- package/dist/src/unstable/workspace/read-model/scanners/types.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/service.d.ts +81 -0
- package/dist/src/unstable/workspace/read-model/service.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/service.js +292 -0
- package/dist/src/unstable/workspace/read-model/service.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/state.d.ts +35 -0
- package/dist/src/unstable/workspace/read-model/state.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/state.js +93 -0
- package/dist/src/unstable/workspace/read-model/state.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/types.d.ts +76 -0
- package/dist/src/unstable/workspace/read-model/types.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/types.js +26 -0
- package/dist/src/unstable/workspace/read-model/types.js.map +1 -0
- package/dist/src/unstable/workspace/read-model-record-converters.d.ts +24 -0
- package/dist/src/unstable/workspace/read-model-record-converters.d.ts.map +1 -0
- package/dist/src/unstable/workspace/{classifier-records.js → read-model-record-converters.js} +3 -70
- package/dist/src/unstable/workspace/read-model-record-converters.js.map +1 -0
- package/dist/src/unstable/workspace/read-model-record-readers.d.ts +25 -0
- package/dist/src/unstable/workspace/read-model-record-readers.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model-record-readers.js +163 -0
- package/dist/src/unstable/workspace/read-model-record-readers.js.map +1 -0
- package/dist/src/unstable/workspace/read-model-record-types.d.ts +83 -0
- package/dist/src/unstable/workspace/read-model-record-types.d.ts.map +1 -0
- package/dist/src/unstable/workspace/{taxonomy-types.js → read-model-record-types.js} +2 -2
- package/dist/src/unstable/workspace/read-model-record-types.js.map +1 -0
- package/dist/src/unstable/workspace/reconciliation-types.d.ts +7 -1
- package/dist/src/unstable/workspace/reconciliation-types.d.ts.map +1 -1
- package/dist/src/unstable/workspace/reconciliation.d.ts +8 -11
- package/dist/src/unstable/workspace/reconciliation.d.ts.map +1 -1
- package/dist/src/unstable/workspace/reconciliation.js +37 -38
- package/dist/src/unstable/workspace/reconciliation.js.map +1 -1
- package/dist/src/unstable/workspace/rendered-file-cleanup.d.ts +15 -0
- package/dist/src/unstable/workspace/rendered-file-cleanup.d.ts.map +1 -0
- package/dist/src/unstable/workspace/rendered-file-cleanup.js +58 -0
- package/dist/src/unstable/workspace/rendered-file-cleanup.js.map +1 -0
- package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts +1 -1
- package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts.map +1 -1
- package/dist/src/unstable/workspace/resolve-plan-interaction.js +1 -1
- package/dist/src/unstable/workspace/resolve-plan-interaction.js.map +1 -1
- package/dist/src/unstable/workspace/scope.d.ts +1 -1
- package/dist/src/unstable/workspace/scope.js +1 -1
- package/dist/src/unstable/workspace/service-interface.d.ts +43 -67
- package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.js +7 -7
- package/dist/src/unstable/workspace/service-interface.js.map +1 -1
- package/dist/src/unstable/workspace/service.d.ts +76 -94
- package/dist/src/unstable/workspace/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service.js +139 -298
- package/dist/src/unstable/workspace/service.js.map +1 -1
- package/dist/src/unstable/workspace/skill-snapshot.d.ts +2 -2
- package/dist/src/unstable/workspace/skill-snapshot.d.ts.map +1 -1
- package/dist/src/unstable/workspace/skill-snapshot.js +18 -6
- package/dist/src/unstable/workspace/skill-snapshot.js.map +1 -1
- package/dist/src/unstable/workspace/source-metadata.d.ts +2 -37
- package/dist/src/unstable/workspace/source-metadata.d.ts.map +1 -1
- package/dist/src/unstable/workspace/source-metadata.js +1 -87
- package/dist/src/unstable/workspace/source-metadata.js.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.d.ts +8 -32
- package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.js +39 -42
- package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
- package/dist/src/unstable/workspace/version-currency/collectors.d.ts +8 -8
- package/dist/src/unstable/workspace/version-currency/collectors.d.ts.map +1 -1
- package/dist/src/unstable/workspace/version-currency/collectors.js +12 -12
- package/dist/src/unstable/workspace/version-currency/collectors.js.map +1 -1
- package/package.json +11 -11
- package/site-content/__generated__/schemas/command.schema.json +0 -6
- package/site-content/__generated__/schemas/settings.schema.json +17 -8
- package/site-content/__generated__/schemas/skill.schema.json +1 -7
- package/site-content/docs/config.json +4 -1
- package/site-content/docs/quickstart.md +1 -1
- package/site-content/docs/supported-coding-agents.md +31 -0
- package/site-content/install.md +92 -118
- package/dist/src/unstable/agents/subagent-detection.d.ts +0 -74
- package/dist/src/unstable/agents/subagent-detection.d.ts.map +0 -1
- package/dist/src/unstable/agents/subagent-detection.js +0 -85
- package/dist/src/unstable/agents/subagent-detection.js.map +0 -1
- package/dist/src/unstable/cli-runtime/command-document.d.ts +0 -12
- package/dist/src/unstable/cli-runtime/command-document.d.ts.map +0 -1
- package/dist/src/unstable/cli-runtime/command-document.js +0 -13
- package/dist/src/unstable/cli-runtime/command-document.js.map +0 -1
- package/dist/src/unstable/extensions/conflict-detection.d.ts +0 -40
- package/dist/src/unstable/extensions/conflict-detection.d.ts.map +0 -1
- package/dist/src/unstable/extensions/conflict-detection.js +0 -49
- package/dist/src/unstable/extensions/conflict-detection.js.map +0 -1
- package/dist/src/unstable/extensions/managed-marker.d.ts +0 -42
- package/dist/src/unstable/extensions/managed-marker.d.ts.map +0 -1
- package/dist/src/unstable/extensions/managed-marker.js +0 -60
- package/dist/src/unstable/extensions/managed-marker.js.map +0 -1
- package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.d.ts.map +0 -1
- package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.js +0 -127
- package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.js.map +0 -1
- package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.d.ts.map +0 -1
- package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.js.map +0 -1
- package/dist/src/unstable/lint/catalog/workspace-accessor/platform.d.ts +0 -60
- package/dist/src/unstable/lint/catalog/workspace-accessor/platform.d.ts.map +0 -1
- package/dist/src/unstable/lint/catalog/workspace-accessor/platform.js +0 -202
- package/dist/src/unstable/lint/catalog/workspace-accessor/platform.js.map +0 -1
- package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.d.ts +0 -65
- package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.d.ts.map +0 -1
- package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.js +0 -95
- package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.js.map +0 -1
- package/dist/src/unstable/skills/managed-marker-ops.d.ts +0 -23
- package/dist/src/unstable/skills/managed-marker-ops.d.ts.map +0 -1
- package/dist/src/unstable/skills/managed-marker-ops.js +0 -46
- package/dist/src/unstable/skills/managed-marker-ops.js.map +0 -1
- package/dist/src/unstable/skills/operations/rename.d.ts +0 -34
- package/dist/src/unstable/skills/operations/rename.d.ts.map +0 -1
- package/dist/src/unstable/skills/operations/rename.js +0 -117
- package/dist/src/unstable/skills/operations/rename.js.map +0 -1
- package/dist/src/unstable/source-resolution/discover-skills.d.ts.map +0 -1
- package/dist/src/unstable/source-resolution/discover-skills.js.map +0 -1
- package/dist/src/unstable/source-resolution/parse-manifests.d.ts.map +0 -1
- package/dist/src/unstable/source-resolution/parse-manifests.js.map +0 -1
- package/dist/src/unstable/subagents/rendering/model-mapping.d.ts +0 -31
- package/dist/src/unstable/subagents/rendering/model-mapping.d.ts.map +0 -1
- package/dist/src/unstable/subagents/rendering/model-mapping.js +0 -127
- package/dist/src/unstable/subagents/rendering/model-mapping.js.map +0 -1
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts +0 -31
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts.map +0 -1
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.js +0 -169
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.js.map +0 -1
- package/dist/src/unstable/subagents/tool-access.d.ts +0 -11
- package/dist/src/unstable/subagents/tool-access.d.ts.map +0 -1
- package/dist/src/unstable/subagents/tool-access.js +0 -15
- package/dist/src/unstable/subagents/tool-access.js.map +0 -1
- package/dist/src/unstable/workspace/classifier-records.d.ts +0 -39
- package/dist/src/unstable/workspace/classifier-records.d.ts.map +0 -1
- package/dist/src/unstable/workspace/classifier-records.js.map +0 -1
- package/dist/src/unstable/workspace/classifier.d.ts +0 -73
- package/dist/src/unstable/workspace/classifier.d.ts.map +0 -1
- package/dist/src/unstable/workspace/classifier.js +0 -114
- package/dist/src/unstable/workspace/classifier.js.map +0 -1
- package/dist/src/unstable/workspace/settings-validation/detect-blockers.d.ts +0 -7
- package/dist/src/unstable/workspace/settings-validation/detect-blockers.d.ts.map +0 -1
- package/dist/src/unstable/workspace/settings-validation/detect-blockers.js +0 -107
- package/dist/src/unstable/workspace/settings-validation/detect-blockers.js.map +0 -1
- package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.d.ts +0 -18
- package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.d.ts.map +0 -1
- package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.js +0 -201
- package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.js.map +0 -1
- package/dist/src/unstable/workspace/settings-validation/index.d.ts +0 -4
- package/dist/src/unstable/workspace/settings-validation/index.d.ts.map +0 -1
- package/dist/src/unstable/workspace/settings-validation/index.js +0 -3
- package/dist/src/unstable/workspace/settings-validation/index.js.map +0 -1
- package/dist/src/unstable/workspace/settings-validation/types.d.ts +0 -26
- package/dist/src/unstable/workspace/settings-validation/types.d.ts.map +0 -1
- package/dist/src/unstable/workspace/settings-validation/types.js +0 -2
- package/dist/src/unstable/workspace/settings-validation/types.js.map +0 -1
- package/dist/src/unstable/workspace/taxonomy-types.d.ts +0 -120
- package/dist/src/unstable/workspace/taxonomy-types.d.ts.map +0 -1
- package/dist/src/unstable/workspace/taxonomy-types.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"occurrences.d.ts","sourceRoot":"","sources":["../../../../../../src/unstable/workspace/read-model/__fixtures__/occurrences.ts"],"names":[],"mappings":"AAcA,OAAO,EAA2B,KAAK,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE5F,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACx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AM,CAAC;IACtB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC;AAED,eAAO,MAAM,gCAAgC,GAC3C,OAAO,qCAAqC,KAC3C,4BAMD,CAAC;AAEH,eAAO,MAAM,4BAA4B,GACvC,OAAO,iCAAiC,KACvC,wBAOD,CAAC;AAMH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC;AAED,eAAO,MAAM,2BAA2B,GACtC,OAAO,gCAAgC,KACtC,uBAKD,CAAC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test fixture builders for scanner occurrences.
|
|
3
|
+
*
|
|
4
|
+
* Per the Wave 1A scanner contract, every `CanonicalExtensionOccurrence` and
|
|
5
|
+
* `AgentDirOccurrence` carries `pathSegments`, `subjectFile`, and
|
|
6
|
+
* `subjectFileExists` in addition to its identifying fields. These factories
|
|
7
|
+
* compute those derived fields from minimal inputs so test sites supply only
|
|
8
|
+
* the discriminators they care about.
|
|
9
|
+
*
|
|
10
|
+
* `McpConfigOccurrence` is now a discriminated union on `origin`. The
|
|
11
|
+
* `makeMcpConfigOccurrence` factory accepts the variant tag and returns the
|
|
12
|
+
* correct shape — workspace omits `agentId`; agent carries it non-null.
|
|
13
|
+
*/
|
|
14
|
+
import * as Option from "effect/Option";
|
|
15
|
+
import { decodeExtensionNameSync } from "../../../extensions/common.js";
|
|
16
|
+
import { decodeHandleSync } from "../../../extensions/handle.js";
|
|
17
|
+
// ---------------------------------------------------------------------------
|
|
18
|
+
// Path helpers (POSIX, since fixtures synthesize POSIX paths)
|
|
19
|
+
// ---------------------------------------------------------------------------
|
|
20
|
+
const POSIX_SEP = "/";
|
|
21
|
+
const splitSegments = (absolute) => absolute.split(POSIX_SEP);
|
|
22
|
+
const join = (parent, child) => parent.endsWith(POSIX_SEP) ? `${parent}${child}` : `${parent}${POSIX_SEP}${child}`;
|
|
23
|
+
const normalizeFileBackedName = (name) => {
|
|
24
|
+
const normalized = name
|
|
25
|
+
.toLowerCase()
|
|
26
|
+
.replace(/[^a-z0-9]+/g, "-")
|
|
27
|
+
.replace(/^-+|-+$/g, "")
|
|
28
|
+
.slice(0, 64)
|
|
29
|
+
.replace(/-+$/g, "");
|
|
30
|
+
return normalized === "" ? "unnamed" : normalized;
|
|
31
|
+
};
|
|
32
|
+
// ---------------------------------------------------------------------------
|
|
33
|
+
// Subject file mapping (must match scanners/canonical-extensions.ts /
|
|
34
|
+
// scanners/agent-dir.ts)
|
|
35
|
+
// ---------------------------------------------------------------------------
|
|
36
|
+
const subjectFileNameForExtensionType = (type, name) => {
|
|
37
|
+
switch (type) {
|
|
38
|
+
case "skill":
|
|
39
|
+
return "SKILL.md";
|
|
40
|
+
case "command":
|
|
41
|
+
case "subagent":
|
|
42
|
+
return `${name}.md`;
|
|
43
|
+
default:
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
const subjectFileNameForAgentDir = (type, name) => {
|
|
48
|
+
switch (type) {
|
|
49
|
+
case "skill":
|
|
50
|
+
return "SKILL.md";
|
|
51
|
+
case "command":
|
|
52
|
+
case "subagent":
|
|
53
|
+
return `${name}.md`;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Build a `CanonicalExtensionOccurrence` with the new structural fields
|
|
58
|
+
* populated. `pathSegments` is computed from `contentLocation` (POSIX split).
|
|
59
|
+
* `subjectFile` is `Some(<dir>/<name>.md)` for skill/command/subagent; `None`
|
|
60
|
+
* for mcp-server/file/rule/pack. `subjectFileExists` defaults to `true` when
|
|
61
|
+
* the subject has a canonical primary file; pass `false` to model absence.
|
|
62
|
+
*/
|
|
63
|
+
export const makeCanonicalOccurrence = (input) => {
|
|
64
|
+
const subjectFileName = subjectFileNameForExtensionType(input.type, input.name);
|
|
65
|
+
const subjectFile = subjectFileName === null
|
|
66
|
+
? Option.none()
|
|
67
|
+
: Option.some(join(input.contentLocation, subjectFileName));
|
|
68
|
+
const subjectFileExists = input.subjectFileExists ?? (subjectFileName === null ? false : true);
|
|
69
|
+
return {
|
|
70
|
+
_tag: "canonical-extension",
|
|
71
|
+
scope: input.scope,
|
|
72
|
+
type: input.type,
|
|
73
|
+
origin: input.origin,
|
|
74
|
+
name: decodeExtensionNameSync(input.name),
|
|
75
|
+
owner: input.owner === null ? null : decodeHandleSync(input.owner),
|
|
76
|
+
contentLocation: input.contentLocation,
|
|
77
|
+
pathSegments: splitSegments(input.contentLocation),
|
|
78
|
+
subjectFile,
|
|
79
|
+
subjectFileExists,
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Build an `AgentDirOccurrence` with the new structural fields populated.
|
|
84
|
+
* `pathSegments` is computed from `contentLocation` (POSIX split).
|
|
85
|
+
* `subjectFile` is `<contentLocation>/<canonical-file>` for directory
|
|
86
|
+
* occurrences and the `contentLocation` itself for single-file subagent
|
|
87
|
+
* surfaces. `subjectFileExists` defaults to `true`.
|
|
88
|
+
*/
|
|
89
|
+
export const makeAgentDirOccurrence = (input) => {
|
|
90
|
+
const resolvedName = input.singleFile === true ? normalizeFileBackedName(input.name) : input.name;
|
|
91
|
+
const subjectFileName = subjectFileNameForAgentDir(input.type, resolvedName);
|
|
92
|
+
const subjectFile = input.singleFile === true
|
|
93
|
+
? Option.some(input.contentLocation)
|
|
94
|
+
: subjectFileName === null
|
|
95
|
+
? Option.none()
|
|
96
|
+
: Option.some(join(input.contentLocation, subjectFileName));
|
|
97
|
+
const subjectFileExists = input.subjectFileExists ?? true;
|
|
98
|
+
return {
|
|
99
|
+
_tag: "agent-dir",
|
|
100
|
+
scope: input.scope,
|
|
101
|
+
type: input.type,
|
|
102
|
+
agentId: input.agentId,
|
|
103
|
+
name: resolvedName,
|
|
104
|
+
contentLocation: input.contentLocation,
|
|
105
|
+
pathSegments: splitSegments(input.contentLocation),
|
|
106
|
+
subjectFile,
|
|
107
|
+
subjectFileExists,
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export const makeWorkspaceMcpConfigOccurrence = (input) => ({
|
|
111
|
+
_tag: "mcp-config",
|
|
112
|
+
scope: input.scope,
|
|
113
|
+
origin: "workspace",
|
|
114
|
+
name: decodeExtensionNameSync(input.name),
|
|
115
|
+
contentLocation: input.contentLocation,
|
|
116
|
+
});
|
|
117
|
+
export const makeAgentMcpConfigOccurrence = (input) => ({
|
|
118
|
+
_tag: "mcp-config",
|
|
119
|
+
scope: input.scope,
|
|
120
|
+
origin: "agent",
|
|
121
|
+
agentId: input.agentId,
|
|
122
|
+
name: decodeExtensionNameSync(input.name),
|
|
123
|
+
contentLocation: input.contentLocation,
|
|
124
|
+
});
|
|
125
|
+
export const makeAgentSettingsOccurrence = (input) => ({
|
|
126
|
+
_tag: "agent-settings",
|
|
127
|
+
scope: input.scope,
|
|
128
|
+
agentId: input.agentId,
|
|
129
|
+
contentLocation: input.contentLocation,
|
|
130
|
+
});
|
|
131
|
+
//# sourceMappingURL=occurrences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"occurrences.js","sourceRoot":"","sources":["../../../../../../src/unstable/workspace/read-model/__fixtures__/occurrences.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAsB,MAAM,+BAA+B,CAAC;AAC5F,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAajE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B,KAAK,EAAE,KAAK,CAAC,KAAK;IAClB,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,KAAK,CAAC,OAAO;IACtB,IAAI,EAAE,uBAAuB,CAAC,KAAK,CAAC,IAAI,CAAC;IACzC,eAAe,EAAE,KAAK,CAAC,eAAe;CACvC,CAAC,CAAC;AAYH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,KAAuC,EACd,EAAE,CAAC,CAAC;IAC7B,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,KAAK,CAAC,KAAK;IAClB,OAAO,EAAE,KAAK,CAAC,OAAO;IACtB,eAAe,EAAE,KAAK,CAAC,eAAe;CACvC,CAAC,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workspace read-model test layer.
|
|
3
|
+
*
|
|
4
|
+
* Provides {@link WorkspaceReadModelConfig}, {@link AgentRootResolver},
|
|
5
|
+
* `FileSystem`, and `Path` against fixture-built deps. Test bodies call
|
|
6
|
+
* {@link makeWorkspaceReadModel} directly to obtain a per-scope read model.
|
|
7
|
+
*
|
|
8
|
+
* The layer accepts an optional `options.allowedRoot`; when omitted, the
|
|
9
|
+
* filesystem root (`/`) is used so any `workspaceRoot` / `userHome` from the
|
|
10
|
+
* spec is allowed. Tests that want to verify root-escape failure pass an
|
|
11
|
+
* `allowedRoot` outside the spec's `workspaceRoot`.
|
|
12
|
+
*
|
|
13
|
+
* Tests that need to inject filesystem-level faults (e.g. simulate read
|
|
14
|
+
* failures) provide `options.wrapFileSystem` to wrap the fixture's
|
|
15
|
+
* `FileSystem` before it is composed into the layer.
|
|
16
|
+
*/
|
|
17
|
+
import * as FileSystem from "effect/FileSystem";
|
|
18
|
+
import * as Layer from "effect/Layer";
|
|
19
|
+
import * as Path from "effect/Path";
|
|
20
|
+
import { AgentRootResolver } from "../agent-root-resolver.js";
|
|
21
|
+
import { WorkspaceReadModelConfig } from "../service.js";
|
|
22
|
+
import { type FixtureSpec, type PathEscapeError } from "./builder.js";
|
|
23
|
+
/**
|
|
24
|
+
* Optional layer-construction options for {@link WorkspaceReadModelTest}.
|
|
25
|
+
*
|
|
26
|
+
* - `allowedRoot` — workspace-root containment boundary used by
|
|
27
|
+
* {@link makeWorkspaceReadModel} to validate `projectRoot` and `userHome`.
|
|
28
|
+
* Defaults to the filesystem root so tests opt into root-escape behaviour
|
|
29
|
+
* explicitly.
|
|
30
|
+
* - `wrapFileSystem` — optional adapter applied to the fixture's
|
|
31
|
+
* `FileSystem` before it is provided. Tests that simulate IO faults (e.g.
|
|
32
|
+
* read failures on specific paths) wrap the underlying filesystem here
|
|
33
|
+
* without forking the test layer.
|
|
34
|
+
*/
|
|
35
|
+
export interface WorkspaceReadModelTestOptions {
|
|
36
|
+
readonly allowedRoot?: string;
|
|
37
|
+
readonly wrapFileSystem?: (fs: FileSystem.FileSystem) => FileSystem.FileSystem;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Test layer for the workspace read model. Composes the fixture-built
|
|
41
|
+
* `FileSystem` / `Path` with {@link WorkspaceReadModelConfig} and
|
|
42
|
+
* {@link AgentRootResolver}, the dependencies callers need to invoke
|
|
43
|
+
* {@link makeWorkspaceReadModel}.
|
|
44
|
+
*
|
|
45
|
+
* The error channel covers:
|
|
46
|
+
*
|
|
47
|
+
* - `PathEscapeError` — fixture builder rejection (escapes the
|
|
48
|
+
* synthesized tree). Tests that need to assert this branch pass a
|
|
49
|
+
* spec with a `..`-laden tree entry.
|
|
50
|
+
*
|
|
51
|
+
* Workspace-root escape (`WorkspaceRootEscape`) surfaces from
|
|
52
|
+
* {@link makeWorkspaceReadModel} itself, not the layer.
|
|
53
|
+
*/
|
|
54
|
+
export declare const WorkspaceReadModelTest: (spec: FixtureSpec, options?: WorkspaceReadModelTestOptions) => Layer.Layer<FileSystem.FileSystem | Path.Path | WorkspaceReadModelConfig | AgentRootResolver, PathEscapeError>;
|
|
55
|
+
//# sourceMappingURL=test-layer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-layer.d.ts","sourceRoot":"","sources":["../../../../../../src/unstable/workspace/read-model/__fixtures__/test-layer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAyB,MAAM,2BAA2B,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAgB,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpF;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,UAAU,CAAC,UAAU,KAAK,UAAU,CAAC,UAAU,CAAC;CAChF;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,GACjC,MAAM,WAAW,EACjB,UAAS,6BAAkC,KAC1C,KAAK,CAAC,KAAK,CACZ,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,wBAAwB,GAAG,iBAAiB,EAChF,eAAe,CAqBd,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workspace read-model test layer.
|
|
3
|
+
*
|
|
4
|
+
* Provides {@link WorkspaceReadModelConfig}, {@link AgentRootResolver},
|
|
5
|
+
* `FileSystem`, and `Path` against fixture-built deps. Test bodies call
|
|
6
|
+
* {@link makeWorkspaceReadModel} directly to obtain a per-scope read model.
|
|
7
|
+
*
|
|
8
|
+
* The layer accepts an optional `options.allowedRoot`; when omitted, the
|
|
9
|
+
* filesystem root (`/`) is used so any `workspaceRoot` / `userHome` from the
|
|
10
|
+
* spec is allowed. Tests that want to verify root-escape failure pass an
|
|
11
|
+
* `allowedRoot` outside the spec's `workspaceRoot`.
|
|
12
|
+
*
|
|
13
|
+
* Tests that need to inject filesystem-level faults (e.g. simulate read
|
|
14
|
+
* failures) provide `options.wrapFileSystem` to wrap the fixture's
|
|
15
|
+
* `FileSystem` before it is composed into the layer.
|
|
16
|
+
*/
|
|
17
|
+
import * as Effect from "effect/Effect";
|
|
18
|
+
import * as FileSystem from "effect/FileSystem";
|
|
19
|
+
import * as Layer from "effect/Layer";
|
|
20
|
+
import * as Path from "effect/Path";
|
|
21
|
+
import { AgentRootResolver, AgentRootResolverLive } from "../agent-root-resolver.js";
|
|
22
|
+
import { WorkspaceReadModelConfig } from "../service.js";
|
|
23
|
+
import { buildFixture } from "./builder.js";
|
|
24
|
+
/**
|
|
25
|
+
* Test layer for the workspace read model. Composes the fixture-built
|
|
26
|
+
* `FileSystem` / `Path` with {@link WorkspaceReadModelConfig} and
|
|
27
|
+
* {@link AgentRootResolver}, the dependencies callers need to invoke
|
|
28
|
+
* {@link makeWorkspaceReadModel}.
|
|
29
|
+
*
|
|
30
|
+
* The error channel covers:
|
|
31
|
+
*
|
|
32
|
+
* - `PathEscapeError` — fixture builder rejection (escapes the
|
|
33
|
+
* synthesized tree). Tests that need to assert this branch pass a
|
|
34
|
+
* spec with a `..`-laden tree entry.
|
|
35
|
+
*
|
|
36
|
+
* Workspace-root escape (`WorkspaceRootEscape`) surfaces from
|
|
37
|
+
* {@link makeWorkspaceReadModel} itself, not the layer.
|
|
38
|
+
*/
|
|
39
|
+
export const WorkspaceReadModelTest = (spec, options = {}) => Layer.unwrap(Effect.gen(function* () {
|
|
40
|
+
const deps = yield* buildFixture(spec);
|
|
41
|
+
const fs = options.wrapFileSystem === undefined ? deps.fs : options.wrapFileSystem(deps.fs);
|
|
42
|
+
const fsLayer = Layer.succeed(FileSystem.FileSystem, fs);
|
|
43
|
+
const pathLayer = Layer.succeed(Path.Path, deps.path);
|
|
44
|
+
const allowedRoot = options.allowedRoot ?? "/";
|
|
45
|
+
const configLayer = Layer.succeed(WorkspaceReadModelConfig, {
|
|
46
|
+
projectRoot: deps.workspaceRoot,
|
|
47
|
+
userHome: deps.userHome,
|
|
48
|
+
allowedRoot,
|
|
49
|
+
});
|
|
50
|
+
return Layer.mergeAll(fsLayer, pathLayer, configLayer, AgentRootResolverLive.pipe(Layer.provide(pathLayer)));
|
|
51
|
+
}));
|
|
52
|
+
//# sourceMappingURL=test-layer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-layer.js","sourceRoot":"","sources":["../../../../../../src/unstable/workspace/read-model/__fixtures__/test-layer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,YAAY,EAA0C,MAAM,cAAc,CAAC;AAmBpF;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,IAAiB,EACjB,UAAyC,EAAE,EAI3C,EAAE,CACF,KAAK,CAAC,MAAM,CACV,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IACvC,MAAM,EAAE,GAAG,OAAO,CAAC,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC5F,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;IACzD,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACtD,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,GAAG,CAAC;IAC/C,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAAC,wBAAwB,EAAE;QAC1D,WAAW,EAAE,IAAI,CAAC,aAAa;QAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,WAAW;KACZ,CAAC,CAAC;IACH,OAAO,KAAK,CAAC,QAAQ,CACnB,OAAO,EACP,SAAS,EACT,WAAW,EACX,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CACrD,CAAC;AACJ,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Scenario-test harness for the workspace read-model capability.
|
|
3
|
+
*
|
|
4
|
+
* Each scenario file under `__tests__/scenarios/` consumes this harness:
|
|
5
|
+
*
|
|
6
|
+
* - `runScenario(spec, body)` builds both scopes via
|
|
7
|
+
* {@link makeWorkspaceReadModel} against the in-memory fixture FS, exposes
|
|
8
|
+
* them through a thin `ctx.scope(scope)` selector so scenarios can yield
|
|
9
|
+
* from either scope, and runs `body` with the result.
|
|
10
|
+
* - `expectFirst(arr)` asserts the array is non-empty and returns its first
|
|
11
|
+
* element, replacing the silent `if (entry === undefined) return` pattern.
|
|
12
|
+
* - `expectDiagnostics(ctx, scope, predicate)` reads the scoped diagnostics
|
|
13
|
+
* buffer once and asserts at least one warning matches `predicate`.
|
|
14
|
+
* - `tagsOf(cause)` extracts the tagged-error `_tag` set from an `Effect.Cause`
|
|
15
|
+
* so the ≤3-tag assertion in 10.2 stays compact.
|
|
16
|
+
*
|
|
17
|
+
* The harness is a leading-underscore module so vitest does not pick it up as
|
|
18
|
+
* a test file.
|
|
19
|
+
*/
|
|
20
|
+
import * as Cause from "effect/Cause";
|
|
21
|
+
import * as Effect from "effect/Effect";
|
|
22
|
+
import * as Option from "effect/Option";
|
|
23
|
+
import * as Result from "effect/Result";
|
|
24
|
+
import type { WorkspaceReadModelTestOptions } from "../../__fixtures__/test-layer.js";
|
|
25
|
+
import type { FixtureSpec, PathEscapeError } from "../../__fixtures__/builder.js";
|
|
26
|
+
import type { Warning } from "../../diagnostics.js";
|
|
27
|
+
import type { WorkspaceRootEscape } from "../../errors.js";
|
|
28
|
+
import { type WorkspaceReadModel } from "../../service.js";
|
|
29
|
+
import type { Scope } from "../../types.js";
|
|
30
|
+
/**
|
|
31
|
+
* Scenario-side wrapper exposing both scopes through a `scope(scope)`
|
|
32
|
+
* selector. Both scopes are pre-built via {@link makeWorkspaceReadModel} so
|
|
33
|
+
* scenarios can yield from either scope freely. The selector returns a
|
|
34
|
+
* memoized {@link WorkspaceReadModel} per scope.
|
|
35
|
+
*/
|
|
36
|
+
export interface WorkspaceReadModelScenarioCtx {
|
|
37
|
+
readonly scope: (scope: Scope) => WorkspaceReadModel;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Default workspace and user-home roots used by scenario specs. Tests may
|
|
41
|
+
* override per-spec by passing different values when constructing a
|
|
42
|
+
* `FixtureSpec`.
|
|
43
|
+
*/
|
|
44
|
+
export declare const SCENARIO_WORKSPACE_ROOT = "/scenario/workspace";
|
|
45
|
+
export declare const SCENARIO_USER_HOME = "/scenario/home";
|
|
46
|
+
/**
|
|
47
|
+
* Build per-scope read models against the supplied fixture spec, provide them
|
|
48
|
+
* to `body`, and run the resulting effect. Both scopes are constructed
|
|
49
|
+
* eagerly so the body can yield from either scope without re-running the
|
|
50
|
+
* factory.
|
|
51
|
+
*
|
|
52
|
+
* The body's `E` channel is preserved through to the harness's return type
|
|
53
|
+
* so scenario tests can `yield*` source-backed cells (which fail with
|
|
54
|
+
* `SettingsReadError` / `LockfileReadError`) directly without wrapping every
|
|
55
|
+
* call site in `Effect.result`.
|
|
56
|
+
*/
|
|
57
|
+
export declare const runScenario: <A, E = never>(spec: FixtureSpec, body: (ctx: WorkspaceReadModelScenarioCtx) => Effect.Effect<A, E>, options?: WorkspaceReadModelTestOptions) => Effect.Effect<A, E | WorkspaceRootEscape | PathEscapeError>;
|
|
58
|
+
/**
|
|
59
|
+
* Assert that `arr` is non-empty and return its first element. Replaces the
|
|
60
|
+
* silent `if (entry === undefined) return` pattern that lets a misshapen
|
|
61
|
+
* array silently pass a test.
|
|
62
|
+
*/
|
|
63
|
+
export declare const expectFirst: <T>(arr: ReadonlyArray<T>, message?: string) => T;
|
|
64
|
+
/**
|
|
65
|
+
* Assert that `option` is `Option.Some` and return its inner value. Replaces
|
|
66
|
+
* the `expect(Option.isSome(opt)).toBe(true); if (!Option.isSome(opt)) return;`
|
|
67
|
+
* pattern that loses the failure message and lets misshapen values silently
|
|
68
|
+
* pass a test.
|
|
69
|
+
*/
|
|
70
|
+
export declare const expectSome: <T>(option: Option.Option<T>, message?: string) => T;
|
|
71
|
+
/**
|
|
72
|
+
* Assert that `result` is a `Result.Success` and return its success value.
|
|
73
|
+
* Replaces `expect(result._tag).toBe("Success"); if (result._tag === ...)`
|
|
74
|
+
* narrowing chains.
|
|
75
|
+
*/
|
|
76
|
+
export declare const expectSuccess: <A, E>(result: Result.Result<A, E>, message?: string) => A;
|
|
77
|
+
/**
|
|
78
|
+
* Assert that `result` is a `Result.Failure` and return its failure value.
|
|
79
|
+
* Replaces `expect(result._tag).toBe("Failure"); if (result._tag === ...)`
|
|
80
|
+
* narrowing chains.
|
|
81
|
+
*/
|
|
82
|
+
export declare const expectFailure: <A, E>(result: Result.Result<A, E>, message?: string) => E;
|
|
83
|
+
/**
|
|
84
|
+
* Extract the set of tagged-error `_tag` values reachable inside a `Cause`.
|
|
85
|
+
* Used for the ≤3-tag-per-cell quality constraint assertion.
|
|
86
|
+
*/
|
|
87
|
+
export declare const tagsOf: <E>(cause: Cause.Cause<E>) => ReadonlySet<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Read the scoped diagnostics buffer once and assert at least one warning
|
|
90
|
+
* matches `predicate`. Returns the matching warnings so callers can chain
|
|
91
|
+
* additional assertions.
|
|
92
|
+
*/
|
|
93
|
+
export declare const expectDiagnostics: (ctx: WorkspaceReadModelScenarioCtx, scope: Scope, predicate: (warning: Warning) => boolean) => Effect.Effect<ReadonlyArray<Warning>>;
|
|
94
|
+
/**
|
|
95
|
+
* Snapshot the scoped diagnostics buffer without asserting. Useful when a
|
|
96
|
+
* scenario wants to verify the absence of a warning class.
|
|
97
|
+
*/
|
|
98
|
+
export declare const readDiagnostics: (ctx: WorkspaceReadModelScenarioCtx, scope: Scope) => Effect.Effect<ReadonlyArray<Warning>>;
|
|
99
|
+
//# sourceMappingURL=_harness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_harness.d.ts","sourceRoot":"","sources":["../../../../../../../src/unstable/workspace/read-model/__tests__/scenarios/_harness.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAA0B,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC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AAC,KAAK,CAAC,CAAC,CAAC,KAAG,WAAW,CAAC,MAAM,CAUnE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAC5B,KAAK,6BAA6B,EAClC,OAAO,KAAK,EACZ,WAAW,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,KACvC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,CAMnC,CAAC;AAEL;;;GAGG;AACH,eAAO,MAAM,eAAe,GAC1B,KAAK,6BAA6B,EAClC,OAAO,KAAK,KACX,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,CAAiC,CAAC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Scenario-test harness for the workspace read-model capability.
|
|
3
|
+
*
|
|
4
|
+
* Each scenario file under `__tests__/scenarios/` consumes this harness:
|
|
5
|
+
*
|
|
6
|
+
* - `runScenario(spec, body)` builds both scopes via
|
|
7
|
+
* {@link makeWorkspaceReadModel} against the in-memory fixture FS, exposes
|
|
8
|
+
* them through a thin `ctx.scope(scope)` selector so scenarios can yield
|
|
9
|
+
* from either scope, and runs `body` with the result.
|
|
10
|
+
* - `expectFirst(arr)` asserts the array is non-empty and returns its first
|
|
11
|
+
* element, replacing the silent `if (entry === undefined) return` pattern.
|
|
12
|
+
* - `expectDiagnostics(ctx, scope, predicate)` reads the scoped diagnostics
|
|
13
|
+
* buffer once and asserts at least one warning matches `predicate`.
|
|
14
|
+
* - `tagsOf(cause)` extracts the tagged-error `_tag` set from an `Effect.Cause`
|
|
15
|
+
* so the ≤3-tag assertion in 10.2 stays compact.
|
|
16
|
+
*
|
|
17
|
+
* The harness is a leading-underscore module so vitest does not pick it up as
|
|
18
|
+
* a test file.
|
|
19
|
+
*/
|
|
20
|
+
import { expect } from "@effect/vitest";
|
|
21
|
+
import * as Cause from "effect/Cause";
|
|
22
|
+
import * as Effect from "effect/Effect";
|
|
23
|
+
import * as Option from "effect/Option";
|
|
24
|
+
import * as Result from "effect/Result";
|
|
25
|
+
import { WorkspaceReadModelTest } from "../../__fixtures__/test-layer.js";
|
|
26
|
+
import { makeWorkspaceReadModel } from "../../service.js";
|
|
27
|
+
/**
|
|
28
|
+
* Default workspace and user-home roots used by scenario specs. Tests may
|
|
29
|
+
* override per-spec by passing different values when constructing a
|
|
30
|
+
* `FixtureSpec`.
|
|
31
|
+
*/
|
|
32
|
+
export const SCENARIO_WORKSPACE_ROOT = "/scenario/workspace";
|
|
33
|
+
export const SCENARIO_USER_HOME = "/scenario/home";
|
|
34
|
+
/**
|
|
35
|
+
* Build per-scope read models against the supplied fixture spec, provide them
|
|
36
|
+
* to `body`, and run the resulting effect. Both scopes are constructed
|
|
37
|
+
* eagerly so the body can yield from either scope without re-running the
|
|
38
|
+
* factory.
|
|
39
|
+
*
|
|
40
|
+
* The body's `E` channel is preserved through to the harness's return type
|
|
41
|
+
* so scenario tests can `yield*` source-backed cells (which fail with
|
|
42
|
+
* `SettingsReadError` / `LockfileReadError`) directly without wrapping every
|
|
43
|
+
* call site in `Effect.result`.
|
|
44
|
+
*/
|
|
45
|
+
export const runScenario = (spec, body, options) => Effect.gen(function* () {
|
|
46
|
+
const project = yield* makeWorkspaceReadModel("project");
|
|
47
|
+
const user = yield* makeWorkspaceReadModel("user");
|
|
48
|
+
const ctx = {
|
|
49
|
+
scope: (scope) => (scope === "project" ? project : user),
|
|
50
|
+
};
|
|
51
|
+
return yield* body(ctx);
|
|
52
|
+
}).pipe(Effect.provide(WorkspaceReadModelTest(spec, options)));
|
|
53
|
+
/**
|
|
54
|
+
* Assert that `arr` is non-empty and return its first element. Replaces the
|
|
55
|
+
* silent `if (entry === undefined) return` pattern that lets a misshapen
|
|
56
|
+
* array silently pass a test.
|
|
57
|
+
*/
|
|
58
|
+
export const expectFirst = (arr, message) => {
|
|
59
|
+
const value = arr[0];
|
|
60
|
+
if (value === undefined) {
|
|
61
|
+
throw new Error(message ?? "expectFirst: array is empty");
|
|
62
|
+
}
|
|
63
|
+
return value;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Assert that `option` is `Option.Some` and return its inner value. Replaces
|
|
67
|
+
* the `expect(Option.isSome(opt)).toBe(true); if (!Option.isSome(opt)) return;`
|
|
68
|
+
* pattern that loses the failure message and lets misshapen values silently
|
|
69
|
+
* pass a test.
|
|
70
|
+
*/
|
|
71
|
+
export const expectSome = (option, message) => {
|
|
72
|
+
if (!Option.isSome(option)) {
|
|
73
|
+
throw new Error(message ?? "expectSome: option is None");
|
|
74
|
+
}
|
|
75
|
+
return option.value;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Assert that `result` is a `Result.Success` and return its success value.
|
|
79
|
+
* Replaces `expect(result._tag).toBe("Success"); if (result._tag === ...)`
|
|
80
|
+
* narrowing chains.
|
|
81
|
+
*/
|
|
82
|
+
export const expectSuccess = (result, message) => {
|
|
83
|
+
if (!Result.isSuccess(result)) {
|
|
84
|
+
throw new Error(message ?? `expectSuccess: result is Failure`);
|
|
85
|
+
}
|
|
86
|
+
return result.success;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Assert that `result` is a `Result.Failure` and return its failure value.
|
|
90
|
+
* Replaces `expect(result._tag).toBe("Failure"); if (result._tag === ...)`
|
|
91
|
+
* narrowing chains.
|
|
92
|
+
*/
|
|
93
|
+
export const expectFailure = (result, message) => {
|
|
94
|
+
if (!Result.isFailure(result)) {
|
|
95
|
+
throw new Error(message ?? `expectFailure: result is Success`);
|
|
96
|
+
}
|
|
97
|
+
return result.failure;
|
|
98
|
+
};
|
|
99
|
+
const hasStringTag = (value) => {
|
|
100
|
+
if (typeof value !== "object" || value === null)
|
|
101
|
+
return false;
|
|
102
|
+
if (!("_tag" in value))
|
|
103
|
+
return false;
|
|
104
|
+
// After the `in` narrowing, `value._tag` exists with type `unknown`.
|
|
105
|
+
// Compare its dynamic type without an assertion.
|
|
106
|
+
const tagValue = value._tag;
|
|
107
|
+
return typeof tagValue === "string";
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Extract the set of tagged-error `_tag` values reachable inside a `Cause`.
|
|
111
|
+
* Used for the ≤3-tag-per-cell quality constraint assertion.
|
|
112
|
+
*/
|
|
113
|
+
export const tagsOf = (cause) => {
|
|
114
|
+
const tags = new Set();
|
|
115
|
+
for (const reason of cause.reasons) {
|
|
116
|
+
if (!Cause.isFailReason(reason))
|
|
117
|
+
continue;
|
|
118
|
+
const candidate = reason.error;
|
|
119
|
+
if (hasStringTag(candidate)) {
|
|
120
|
+
tags.add(candidate._tag);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return tags;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Read the scoped diagnostics buffer once and assert at least one warning
|
|
127
|
+
* matches `predicate`. Returns the matching warnings so callers can chain
|
|
128
|
+
* additional assertions.
|
|
129
|
+
*/
|
|
130
|
+
export const expectDiagnostics = (ctx, scope, predicate) => Effect.gen(function* () {
|
|
131
|
+
const warnings = yield* ctx.scope(scope).diagnostics;
|
|
132
|
+
const matches = warnings.filter(predicate);
|
|
133
|
+
expect(matches.length, `expected at least one warning matching predicate`).toBeGreaterThan(0);
|
|
134
|
+
return matches;
|
|
135
|
+
});
|
|
136
|
+
/**
|
|
137
|
+
* Snapshot the scoped diagnostics buffer without asserting. Useful when a
|
|
138
|
+
* scenario wants to verify the absence of a warning class.
|
|
139
|
+
*/
|
|
140
|
+
export const readDiagnostics = (ctx, scope) => ctx.scope(scope).diagnostics;
|
|
141
|
+
//# sourceMappingURL=_harness.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_harness.js","sourceRoot":"","sources":["../../../../../../../src/unstable/workspace/read-model/__tests__/scenarios/_harness.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM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
4
|
+
* Wraps the {@link AgentRootResolverState} and the snapshot of warnings
|
|
5
|
+
* emitted by {@link detectAgentRootCollisions}. Sharing one resolver across
|
|
6
|
+
* the per-scope factory ensures the heuristic-fallback warning fires at most
|
|
7
|
+
* once per agent across both scopes and both `mcp-config` / `agent-settings`
|
|
8
|
+
* scanners. Collision detection runs once at layer construction and exposes
|
|
9
|
+
* its warnings as an eager snapshot the project-scope read model seeds into
|
|
10
|
+
* its diagnostics buffer.
|
|
11
|
+
*/
|
|
12
|
+
import * as ServiceMap from "effect/Context";
|
|
13
|
+
import * as Layer from "effect/Layer";
|
|
14
|
+
import * as Path from "effect/Path";
|
|
15
|
+
import { type Warning } from "./diagnostics.js";
|
|
16
|
+
import { type AgentRootResolverState } from "./scanners/agent-root.js";
|
|
17
|
+
/** Public shape of the {@link AgentRootResolver} service. */
|
|
18
|
+
export interface AgentRootResolverShape {
|
|
19
|
+
/** Shared resolver state passed to scanners that resolve agent roots. */
|
|
20
|
+
readonly state: AgentRootResolverState;
|
|
21
|
+
/**
|
|
22
|
+
* Snapshot of `scanner-config` warnings produced by
|
|
23
|
+
* {@link detectAgentRootCollisions} at layer construction. The project
|
|
24
|
+
* scope seeds these into its diagnostics buffer; the user scope does not.
|
|
25
|
+
*/
|
|
26
|
+
readonly collisionWarnings: ReadonlyArray<Warning>;
|
|
27
|
+
}
|
|
28
|
+
declare const AgentRootResolver_base: ServiceMap.ServiceClass<AgentRootResolver, "@agentxm/client-core/unstable/workspace/read-model/agent-root-resolver/AgentRootResolver", AgentRootResolverShape>;
|
|
29
|
+
/** Service tag for the cross-scope agent-root resolver. */
|
|
30
|
+
export declare class AgentRootResolver extends AgentRootResolver_base {
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Live layer for {@link AgentRootResolver}. Allocates the shared state and
|
|
34
|
+
* runs collision detection once when the layer is built.
|
|
35
|
+
*/
|
|
36
|
+
export declare const AgentRootResolverLive: Layer.Layer<AgentRootResolver, never, Path.Path>;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=agent-root-resolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-root-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/workspace/read-model/agent-root-resolver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAGpC,OAAO,EAAmB,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAGL,KAAK,sBAAsB,EAC5B,MAAM,0BAA0B,CAAC;AAElC,6DAA6D;AAC7D,MAAM,WAAW,sBAAsB;IACrC,yEAAyE;IACzE,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACvC;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CACpD;;AAED,2DAA2D;AAC3D,qBAAa,iBAAkB,SAAQ,sBAGwD;CAAG;AAElG;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAAE,KAAK,EAAE,IAAI,CAAC,IAAI,CAUlF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cross-scope agent-root resolver service.
|
|
3
|
+
*
|
|
4
|
+
* Wraps the {@link AgentRootResolverState} and the snapshot of warnings
|
|
5
|
+
* emitted by {@link detectAgentRootCollisions}. Sharing one resolver across
|
|
6
|
+
* the per-scope factory ensures the heuristic-fallback warning fires at most
|
|
7
|
+
* once per agent across both scopes and both `mcp-config` / `agent-settings`
|
|
8
|
+
* scanners. Collision detection runs once at layer construction and exposes
|
|
9
|
+
* its warnings as an eager snapshot the project-scope read model seeds into
|
|
10
|
+
* its diagnostics buffer.
|
|
11
|
+
*/
|
|
12
|
+
import * as ServiceMap from "effect/Context";
|
|
13
|
+
import * as Effect from "effect/Effect";
|
|
14
|
+
import * as Layer from "effect/Layer";
|
|
15
|
+
import * as Path from "effect/Path";
|
|
16
|
+
import * as Ref from "effect/Ref";
|
|
17
|
+
import { AGENTS } from "../../agents/registry.js";
|
|
18
|
+
import { makeDiagnostics } from "./diagnostics.js";
|
|
19
|
+
import { detectAgentRootCollisions, makeAgentRootResolverState, } from "./scanners/agent-root.js";
|
|
20
|
+
/** Service tag for the cross-scope agent-root resolver. */
|
|
21
|
+
export class AgentRootResolver extends ServiceMap.Service()("@agentxm/client-core/unstable/workspace/read-model/agent-root-resolver/AgentRootResolver") {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Live layer for {@link AgentRootResolver}. Allocates the shared state and
|
|
25
|
+
* runs collision detection once when the layer is built.
|
|
26
|
+
*/
|
|
27
|
+
export const AgentRootResolverLive = Layer.effect(AgentRootResolver, Effect.gen(function* () {
|
|
28
|
+
const path = yield* Path.Path;
|
|
29
|
+
const state = makeAgentRootResolverState();
|
|
30
|
+
const ref = yield* Ref.make([]);
|
|
31
|
+
yield* detectAgentRootCollisions(path, Object.values(AGENTS), makeDiagnostics(ref));
|
|
32
|
+
const collisionWarnings = yield* Ref.get(ref);
|
|
33
|
+
return AgentRootResolver.of({ state, collisionWarnings });
|
|
34
|
+
}).pipe(Effect.withSpan("workspace.read-model.agent-root-resolver.build")));
|
|
35
|
+
//# sourceMappingURL=agent-root-resolver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-root-resolver.js","sourceRoot":"","sources":["../../../../../src/unstable/workspace/read-model/agent-root-resolver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACt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
|
+
* ships a placeholder `nativeConfig` shape; later changes can tighten the
|
|
6
|
+
* post-decode native-settings shape without touching `WorkspaceReadModel`.
|
|
7
|
+
*/
|
|
8
|
+
export interface AdalNativeConfig {
|
|
9
|
+
readonly agentId: "adal";
|
|
10
|
+
}
|
|
11
|
+
export declare const agentModule: import("./types.js").AgentModule<AdalNativeConfig, "adal">;
|
|
12
|
+
//# sourceMappingURL=adal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adal.d.ts","sourceRoot":"","sources":["../../../../../../src/unstable/workspace/read-model/agents/adal.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,WAAW,4DAGtB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* adal agent module: typed `nativeConfig` placeholder + projectors.
|
|
3
|
+
*
|
|
4
|
+
* Per design Decision 3 + Decision 10 of the workspace read-model change. v1
|
|
5
|
+
* ships a placeholder `nativeConfig` shape; later changes can tighten the
|
|
6
|
+
* post-decode native-settings shape without touching `WorkspaceReadModel`.
|
|
7
|
+
*/
|
|
8
|
+
import { descriptor } from "../../../agents/adal/descriptor.js";
|
|
9
|
+
import { defineAgentModule } from "./types.js";
|
|
10
|
+
export const agentModule = defineAgentModule({
|
|
11
|
+
agentId: "adal",
|
|
12
|
+
descriptor,
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=adal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adal.js","sourceRoot":"","sources":["../../../../../../src/unstable/workspace/read-model/agents/adal.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAM/C,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAA2B;IACrE,OAAO,EAAE,MAAM;IACf,UAAU;CACX,CAAC,CAAC"}
|