@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,535 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fixture builder: synthesizes minimal workspace trees from declarative specs
|
|
3
|
+
* against an in-memory `FileSystem` for tests.
|
|
4
|
+
*
|
|
5
|
+
* Phase 5 of the workspace read-model change. Downstream phases (scanners,
|
|
6
|
+
* per-extension subject modules, the live `WorkspaceReadModel` service, and
|
|
7
|
+
* golden-fixture scenario tests) call `buildFixture(spec)` to materialize a
|
|
8
|
+
* minimal directory tree; named scenario constructors below provide the
|
|
9
|
+
* canonical specs for the spec scenarios listed in `proposal.md`.
|
|
10
|
+
*
|
|
11
|
+
* Key design choices:
|
|
12
|
+
*
|
|
13
|
+
* - The builder operates on a self-contained in-memory `Map<string, string>`
|
|
14
|
+
* filesystem, exposed through `FileSystem.makeNoop`. No `node:fs` is used.
|
|
15
|
+
* Tests get deterministic, ordered file sets without touching disk.
|
|
16
|
+
* - Path-escape attempts (entries containing `..` segments or absolute paths)
|
|
17
|
+
* fail the builder with `PathEscapeError`. This makes the upcoming
|
|
18
|
+
* Phase 9 `WorkspaceRootEscape` test a separate, deliberate scenario and
|
|
19
|
+
* eliminates the chance of a leaky test fixture corrupting the host fs.
|
|
20
|
+
* - Settings and lockfile files are serialized through `JSON.stringify` and
|
|
21
|
+
* `YAML.stringify` respectively when their `_tag === "valid"`. For
|
|
22
|
+
* `byteCorrupt`, the literal bytes are written verbatim. For
|
|
23
|
+
* `schemaInvalid`, the JSON/YAML serialization of the spec object is
|
|
24
|
+
* written so the parser accepts it but the schema decoder rejects it.
|
|
25
|
+
* - The builder NEVER constructs the live `WorkspaceReadModel` itself. The
|
|
26
|
+
* sibling `test-layer.ts` exposes a `WorkspaceReadModelTest` layer that
|
|
27
|
+
* composes the builder output with the real (Phase 9) Live layer; in
|
|
28
|
+
* Phase 5 it falls back to a `Layer.fail` placeholder.
|
|
29
|
+
*/
|
|
30
|
+
import * as Data from "effect/Data";
|
|
31
|
+
import * as Effect from "effect/Effect";
|
|
32
|
+
import * as FileSystem from "effect/FileSystem";
|
|
33
|
+
import * as Option from "effect/Option";
|
|
34
|
+
import * as Path from "effect/Path";
|
|
35
|
+
import * as PlatformError from "effect/PlatformError";
|
|
36
|
+
import YAML from "yaml";
|
|
37
|
+
import { AGENTS } from "../../../agents/registry.js";
|
|
38
|
+
// ---------------------------------------------------------------------------
|
|
39
|
+
// Errors
|
|
40
|
+
// ---------------------------------------------------------------------------
|
|
41
|
+
/**
|
|
42
|
+
* Builder rejected an entry because the spec asked to write outside the
|
|
43
|
+
* workspace/user-home root. Phase 9's `WorkspaceRootEscape` is a different
|
|
44
|
+
* (Layer-level) error; this one is purely a fixture sanity check so tests
|
|
45
|
+
* cannot accidentally clobber files outside the intended tree.
|
|
46
|
+
*/
|
|
47
|
+
export class PathEscapeError extends Data.TaggedError("PathEscapeError") {
|
|
48
|
+
}
|
|
49
|
+
// ---------------------------------------------------------------------------
|
|
50
|
+
// Internal helpers
|
|
51
|
+
// ---------------------------------------------------------------------------
|
|
52
|
+
const isObject = (value) => typeof value === "object" && value !== null;
|
|
53
|
+
const stringifyJson = (value) => typeof value === "string" ? value : JSON.stringify(value);
|
|
54
|
+
const stringifyYaml = (value) => typeof value === "string" ? value : YAML.stringify(value);
|
|
55
|
+
const validateRelativePath = (relative, owner) => Effect.suspend(() => {
|
|
56
|
+
if (relative.length === 0) {
|
|
57
|
+
return Effect.fail(new PathEscapeError({
|
|
58
|
+
path: relative,
|
|
59
|
+
reason: `${owner} entry path is empty`,
|
|
60
|
+
}));
|
|
61
|
+
}
|
|
62
|
+
if (relative.startsWith("/")) {
|
|
63
|
+
return Effect.fail(new PathEscapeError({
|
|
64
|
+
path: relative,
|
|
65
|
+
reason: `${owner} entry must be a workspace-relative path; absolute paths are rejected`,
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
const segments = relative.split("/");
|
|
69
|
+
for (const segment of segments) {
|
|
70
|
+
if (segment === "..") {
|
|
71
|
+
return Effect.fail(new PathEscapeError({
|
|
72
|
+
path: relative,
|
|
73
|
+
reason: `${owner} entry contains a ".." segment, which would escape the synthesized root`,
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return Effect.void;
|
|
78
|
+
});
|
|
79
|
+
/**
|
|
80
|
+
* Resolve an agent's root directory (e.g., `.claude` for `claude-code`).
|
|
81
|
+
*
|
|
82
|
+
* The agent registry exposes per-subject directories like `.claude/skills`;
|
|
83
|
+
* the builder writes the entire `agentDirs[agentId]` tree under the agent's
|
|
84
|
+
* root, which is the first segment of any of those paths. If the agent is
|
|
85
|
+
* not registered, the builder falls back to `.<agentId>` so callers can
|
|
86
|
+
* still synthesize directories for hypothetical agents.
|
|
87
|
+
*/
|
|
88
|
+
const resolveAgentRoot = (agentId) => {
|
|
89
|
+
const isKnown = (id) => Object.hasOwn(AGENTS, id);
|
|
90
|
+
if (!isKnown(agentId))
|
|
91
|
+
return `.${agentId}`;
|
|
92
|
+
const descriptor = AGENTS[agentId];
|
|
93
|
+
const skillsDir = descriptor.skills.dir;
|
|
94
|
+
const firstSegment = skillsDir.split("/")[0];
|
|
95
|
+
return firstSegment !== undefined && firstSegment.length > 0 ? firstSegment : `.${agentId}`;
|
|
96
|
+
};
|
|
97
|
+
const join = (...parts) => {
|
|
98
|
+
const normalized = [];
|
|
99
|
+
for (const p of parts) {
|
|
100
|
+
if (p.length === 0)
|
|
101
|
+
continue;
|
|
102
|
+
if (p === "/") {
|
|
103
|
+
normalized.push("");
|
|
104
|
+
continue;
|
|
105
|
+
}
|
|
106
|
+
normalized.push(p.endsWith("/") ? p.slice(0, -1) : p);
|
|
107
|
+
}
|
|
108
|
+
return normalized.join("/");
|
|
109
|
+
};
|
|
110
|
+
// ---------------------------------------------------------------------------
|
|
111
|
+
// In-memory FileSystem
|
|
112
|
+
// ---------------------------------------------------------------------------
|
|
113
|
+
const notFound = (method, path) => PlatformError.systemError({
|
|
114
|
+
_tag: "NotFound",
|
|
115
|
+
module: "FileSystem",
|
|
116
|
+
method,
|
|
117
|
+
description: "No such file or directory",
|
|
118
|
+
pathOrDescriptor: path,
|
|
119
|
+
});
|
|
120
|
+
const makeInMemoryFs = (files) => {
|
|
121
|
+
const directorySet = new Set();
|
|
122
|
+
for (const filePath of files.keys()) {
|
|
123
|
+
const segments = filePath.split("/");
|
|
124
|
+
for (let i = 1; i < segments.length; i += 1) {
|
|
125
|
+
const dir = segments.slice(0, i).join("/");
|
|
126
|
+
if (dir.length > 0)
|
|
127
|
+
directorySet.add(dir);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return FileSystem.makeNoop({
|
|
131
|
+
exists: (path) => Effect.sync(() => {
|
|
132
|
+
if (files.has(path))
|
|
133
|
+
return true;
|
|
134
|
+
if (directorySet.has(path))
|
|
135
|
+
return true;
|
|
136
|
+
return false;
|
|
137
|
+
}),
|
|
138
|
+
readFileString: (path) => {
|
|
139
|
+
const value = files.get(path);
|
|
140
|
+
if (value === undefined) {
|
|
141
|
+
return Effect.fail(notFound("readFileString", path));
|
|
142
|
+
}
|
|
143
|
+
return Effect.succeed(value);
|
|
144
|
+
},
|
|
145
|
+
readDirectory: (path) => Effect.sync(() => {
|
|
146
|
+
const prefix = path.endsWith("/") ? path : `${path}/`;
|
|
147
|
+
const entries = new Set();
|
|
148
|
+
for (const filePath of files.keys()) {
|
|
149
|
+
if (!filePath.startsWith(prefix))
|
|
150
|
+
continue;
|
|
151
|
+
const remainder = filePath.slice(prefix.length);
|
|
152
|
+
const head = remainder.split("/")[0];
|
|
153
|
+
if (head !== undefined && head.length > 0)
|
|
154
|
+
entries.add(head);
|
|
155
|
+
}
|
|
156
|
+
for (const dir of directorySet) {
|
|
157
|
+
if (!dir.startsWith(prefix))
|
|
158
|
+
continue;
|
|
159
|
+
const remainder = dir.slice(prefix.length);
|
|
160
|
+
const head = remainder.split("/")[0];
|
|
161
|
+
if (head !== undefined && head.length > 0)
|
|
162
|
+
entries.add(head);
|
|
163
|
+
}
|
|
164
|
+
return Array.from(entries).sort();
|
|
165
|
+
}),
|
|
166
|
+
// Minimal `stat` for callers that probe entry kind. Returns `File` for a
|
|
167
|
+
// path tracked in the files map, `Directory` for a synthesized directory,
|
|
168
|
+
// and fails with NotFound otherwise. Only `type` is meaningful — the
|
|
169
|
+
// remaining fields keep the `FileSystem.File.Info` shape happy.
|
|
170
|
+
stat: (path) => {
|
|
171
|
+
if (files.has(path)) {
|
|
172
|
+
return Effect.succeed({
|
|
173
|
+
type: "File",
|
|
174
|
+
mtime: Option.none(),
|
|
175
|
+
atime: Option.none(),
|
|
176
|
+
birthtime: Option.none(),
|
|
177
|
+
dev: 0,
|
|
178
|
+
ino: Option.none(),
|
|
179
|
+
mode: 0,
|
|
180
|
+
nlink: Option.none(),
|
|
181
|
+
uid: Option.none(),
|
|
182
|
+
gid: Option.none(),
|
|
183
|
+
rdev: Option.none(),
|
|
184
|
+
size: FileSystem.Size(0),
|
|
185
|
+
blksize: Option.none(),
|
|
186
|
+
blocks: Option.none(),
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
if (directorySet.has(path)) {
|
|
190
|
+
return Effect.succeed({
|
|
191
|
+
type: "Directory",
|
|
192
|
+
mtime: Option.none(),
|
|
193
|
+
atime: Option.none(),
|
|
194
|
+
birthtime: Option.none(),
|
|
195
|
+
dev: 0,
|
|
196
|
+
ino: Option.none(),
|
|
197
|
+
mode: 0,
|
|
198
|
+
nlink: Option.none(),
|
|
199
|
+
uid: Option.none(),
|
|
200
|
+
gid: Option.none(),
|
|
201
|
+
rdev: Option.none(),
|
|
202
|
+
size: FileSystem.Size(0),
|
|
203
|
+
blksize: Option.none(),
|
|
204
|
+
blocks: Option.none(),
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
return Effect.fail(notFound("stat", path));
|
|
208
|
+
},
|
|
209
|
+
});
|
|
210
|
+
};
|
|
211
|
+
// ---------------------------------------------------------------------------
|
|
212
|
+
// Spec → file map
|
|
213
|
+
// ---------------------------------------------------------------------------
|
|
214
|
+
const writeFileSpec = (files, absolutePath, spec, format) => {
|
|
215
|
+
switch (spec._tag) {
|
|
216
|
+
case "absent": {
|
|
217
|
+
// No-op: the file is intentionally absent.
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
case "valid": {
|
|
221
|
+
const serialized = format === "json" ? stringifyJson(spec.contents) : stringifyYaml(spec.contents);
|
|
222
|
+
files.set(absolutePath, serialized);
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
case "byteCorrupt": {
|
|
226
|
+
files.set(absolutePath, spec.bytes);
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
case "schemaInvalid": {
|
|
230
|
+
// Use the format's serializer so the parser succeeds but the decoder
|
|
231
|
+
// rejects.
|
|
232
|
+
const serialized = format === "json" ? stringifyJson(spec.contents) : stringifyYaml(spec.contents);
|
|
233
|
+
files.set(absolutePath, serialized);
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
const writeTree = (files, baseAbsolute, tree, ownerLabel) => Effect.gen(function* () {
|
|
239
|
+
for (const [relative, value] of Object.entries(tree)) {
|
|
240
|
+
yield* validateRelativePath(relative, ownerLabel);
|
|
241
|
+
const absolute = join(baseAbsolute, relative);
|
|
242
|
+
if (typeof value === "string") {
|
|
243
|
+
files.set(absolute, value);
|
|
244
|
+
continue;
|
|
245
|
+
}
|
|
246
|
+
// Determine format heuristically from the file extension; default to
|
|
247
|
+
// JSON because tree files we've seen so far are markdown / JSON / plain
|
|
248
|
+
// text.
|
|
249
|
+
const lower = relative.toLowerCase();
|
|
250
|
+
const format = lower.endsWith(".yaml") || lower.endsWith(".yml") ? "yaml" : "json";
|
|
251
|
+
// For tree-level FileSpecs, "valid" with a string maps to literal
|
|
252
|
+
// bytes; with an object we fall back to JSON serialization.
|
|
253
|
+
writeFileSpec(files, absolute, value, format);
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
const writeScope = (files, scope, scopeRoot, options) => Effect.gen(function* () {
|
|
257
|
+
if (scope === undefined)
|
|
258
|
+
return;
|
|
259
|
+
const axmDir = join(scopeRoot, ".axm");
|
|
260
|
+
const settingsPath = join(axmDir, "settings.json");
|
|
261
|
+
const lockfilePath = options.includeLockfile ? join(axmDir, "axm-lock.yaml") : null;
|
|
262
|
+
const mcpJsonPath = join(scopeRoot, ".mcp.json");
|
|
263
|
+
if (scope.settings !== undefined) {
|
|
264
|
+
writeFileSpec(files, settingsPath, scope.settings, "json");
|
|
265
|
+
}
|
|
266
|
+
if (scope.lockfile !== undefined && lockfilePath !== null) {
|
|
267
|
+
writeFileSpec(files, lockfilePath, scope.lockfile, "yaml");
|
|
268
|
+
}
|
|
269
|
+
if (scope.axmExtensions !== undefined) {
|
|
270
|
+
yield* writeTree(files, join(scopeRoot, ".axm", "extensions"), scope.axmExtensions, "axmExtensions");
|
|
271
|
+
}
|
|
272
|
+
if (scope.agentDirs !== undefined) {
|
|
273
|
+
for (const [agentId, tree] of Object.entries(scope.agentDirs)) {
|
|
274
|
+
const agentRoot = resolveAgentRoot(agentId);
|
|
275
|
+
yield* writeTree(files, join(scopeRoot, agentRoot), tree, `agentDirs[${agentId}]`);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
if (scope.mcpJson !== undefined) {
|
|
279
|
+
writeFileSpec(files, mcpJsonPath, scope.mcpJson, "json");
|
|
280
|
+
}
|
|
281
|
+
if (scope.agentSettings !== undefined) {
|
|
282
|
+
for (const [agentId, fileSpec] of Object.entries(scope.agentSettings)) {
|
|
283
|
+
const agentRoot = resolveAgentRoot(agentId);
|
|
284
|
+
const agentSettingsPath = join(scopeRoot, agentRoot, "settings.json");
|
|
285
|
+
writeFileSpec(files, agentSettingsPath, fileSpec, "json");
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
// ---------------------------------------------------------------------------
|
|
290
|
+
// Public builder
|
|
291
|
+
// ---------------------------------------------------------------------------
|
|
292
|
+
/**
|
|
293
|
+
* Build a fixture against an in-memory FileSystem.
|
|
294
|
+
*
|
|
295
|
+
* The returned `FixtureTestDeps` value is a stable, dependency-closed value:
|
|
296
|
+
* it carries the synthesized `FileSystem`, a `Path.Path` value, and the
|
|
297
|
+
* raw file map. Downstream test layers compose these with the real Live
|
|
298
|
+
* implementations.
|
|
299
|
+
*
|
|
300
|
+
* Failures: the builder fails with `PathEscapeError` when any tree entry
|
|
301
|
+
* contains a `..` segment or an absolute path. Phase 9's
|
|
302
|
+
* `WorkspaceRootEscape` is a different (Layer-construction) failure.
|
|
303
|
+
*/
|
|
304
|
+
export const buildFixture = (spec) => Effect.gen(function* () {
|
|
305
|
+
const files = new Map();
|
|
306
|
+
yield* writeScope(files, spec.project, spec.workspaceRoot, { includeLockfile: true });
|
|
307
|
+
yield* writeScope(files, spec.user, join(spec.userHome), { includeLockfile: true });
|
|
308
|
+
const fs = makeInMemoryFs(files);
|
|
309
|
+
const path = yield* Path.Path;
|
|
310
|
+
return {
|
|
311
|
+
fs,
|
|
312
|
+
path,
|
|
313
|
+
files,
|
|
314
|
+
workspaceRoot: spec.workspaceRoot,
|
|
315
|
+
userHome: spec.userHome,
|
|
316
|
+
};
|
|
317
|
+
}).pipe(Effect.provide(Path.layer));
|
|
318
|
+
// ---------------------------------------------------------------------------
|
|
319
|
+
// Named scenario constructors
|
|
320
|
+
// ---------------------------------------------------------------------------
|
|
321
|
+
const validSettingsContents = {
|
|
322
|
+
owner: "@team",
|
|
323
|
+
agents: ["claude-code"],
|
|
324
|
+
skills: { "managed-tool": { source: "github:owner/repo", enabled: true } },
|
|
325
|
+
};
|
|
326
|
+
const validLockfileContents = {
|
|
327
|
+
lockfileVersion: 1,
|
|
328
|
+
skills: {
|
|
329
|
+
"managed-tool": {
|
|
330
|
+
type: "github",
|
|
331
|
+
owner: "owner",
|
|
332
|
+
repo: "repo",
|
|
333
|
+
ref: "main",
|
|
334
|
+
installedAt: "2026-01-01T00:00:00.000Z",
|
|
335
|
+
updatedAt: "2026-01-01T00:00:00.000Z",
|
|
336
|
+
agents: [],
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* No source files materialize. Both scopes return absent for every cell.
|
|
342
|
+
*/
|
|
343
|
+
export const absentAll = (workspaceRoot, userHome) => ({
|
|
344
|
+
workspaceRoot,
|
|
345
|
+
userHome,
|
|
346
|
+
project: { settings: { _tag: "absent" }, lockfile: { _tag: "absent" } },
|
|
347
|
+
user: { settings: { _tag: "absent" } },
|
|
348
|
+
});
|
|
349
|
+
/**
|
|
350
|
+
* Both project sources present and decodable; user scope settings present.
|
|
351
|
+
*/
|
|
352
|
+
export const validAll = (workspaceRoot, userHome) => ({
|
|
353
|
+
workspaceRoot,
|
|
354
|
+
userHome,
|
|
355
|
+
project: {
|
|
356
|
+
settings: { _tag: "valid", contents: validSettingsContents },
|
|
357
|
+
lockfile: { _tag: "valid", contents: validLockfileContents },
|
|
358
|
+
},
|
|
359
|
+
user: {
|
|
360
|
+
settings: { _tag: "valid", contents: { owner: "@user" } },
|
|
361
|
+
},
|
|
362
|
+
});
|
|
363
|
+
/**
|
|
364
|
+
* Settings is valid; the lockfile is byte-corrupt.
|
|
365
|
+
*/
|
|
366
|
+
export const lockfileInvalidOnly = (workspaceRoot, userHome) => ({
|
|
367
|
+
workspaceRoot,
|
|
368
|
+
userHome,
|
|
369
|
+
project: {
|
|
370
|
+
settings: { _tag: "valid", contents: validSettingsContents },
|
|
371
|
+
lockfile: {
|
|
372
|
+
_tag: "byteCorrupt",
|
|
373
|
+
bytes: "skills:\n - bad\n - mismatched: indent\n bad: !!!@@@",
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
});
|
|
377
|
+
/**
|
|
378
|
+
* Lockfile is valid; settings is byte-corrupt.
|
|
379
|
+
*/
|
|
380
|
+
export const settingsInvalidOnly = (workspaceRoot, userHome) => ({
|
|
381
|
+
workspaceRoot,
|
|
382
|
+
userHome,
|
|
383
|
+
project: {
|
|
384
|
+
settings: { _tag: "byteCorrupt", bytes: "{ this is not json" },
|
|
385
|
+
lockfile: { _tag: "valid", contents: validLockfileContents },
|
|
386
|
+
},
|
|
387
|
+
});
|
|
388
|
+
/**
|
|
389
|
+
* Both project sources are byte-corrupt.
|
|
390
|
+
*/
|
|
391
|
+
export const bothInvalid = (workspaceRoot, userHome) => ({
|
|
392
|
+
workspaceRoot,
|
|
393
|
+
userHome,
|
|
394
|
+
project: {
|
|
395
|
+
settings: { _tag: "byteCorrupt", bytes: "{ this is not json" },
|
|
396
|
+
lockfile: { _tag: "byteCorrupt", bytes: "lockfile: [bogus" },
|
|
397
|
+
},
|
|
398
|
+
});
|
|
399
|
+
/**
|
|
400
|
+
* Project state present; user scope absent.
|
|
401
|
+
*/
|
|
402
|
+
export const projectOnly = (workspaceRoot, userHome) => ({
|
|
403
|
+
workspaceRoot,
|
|
404
|
+
userHome,
|
|
405
|
+
project: {
|
|
406
|
+
settings: { _tag: "valid", contents: validSettingsContents },
|
|
407
|
+
lockfile: { _tag: "valid", contents: validLockfileContents },
|
|
408
|
+
},
|
|
409
|
+
user: { settings: { _tag: "absent" } },
|
|
410
|
+
});
|
|
411
|
+
/**
|
|
412
|
+
* User scope settings present; project state absent.
|
|
413
|
+
*/
|
|
414
|
+
export const userOnly = (workspaceRoot, userHome) => ({
|
|
415
|
+
workspaceRoot,
|
|
416
|
+
userHome,
|
|
417
|
+
project: { settings: { _tag: "absent" }, lockfile: { _tag: "absent" } },
|
|
418
|
+
user: { settings: { _tag: "valid", contents: { owner: "@user" } } },
|
|
419
|
+
});
|
|
420
|
+
/**
|
|
421
|
+
* Both scopes declare a source-host with the same name. Phase 9 verifies that
|
|
422
|
+
* the WorkspaceReadModel exposes both scope reads independently and does not
|
|
423
|
+
* implicitly merge them.
|
|
424
|
+
*/
|
|
425
|
+
export const projectUserShadowing = (workspaceRoot, userHome) => ({
|
|
426
|
+
workspaceRoot,
|
|
427
|
+
userHome,
|
|
428
|
+
project: {
|
|
429
|
+
settings: {
|
|
430
|
+
_tag: "valid",
|
|
431
|
+
contents: {
|
|
432
|
+
owner: "@team",
|
|
433
|
+
sources: [{ name: "shared", type: "github", url: "https://github.com/team" }],
|
|
434
|
+
},
|
|
435
|
+
},
|
|
436
|
+
},
|
|
437
|
+
user: {
|
|
438
|
+
settings: {
|
|
439
|
+
_tag: "valid",
|
|
440
|
+
contents: {
|
|
441
|
+
owner: "@user",
|
|
442
|
+
sources: [{ name: "shared", type: "github", url: "https://github.com/user" }],
|
|
443
|
+
},
|
|
444
|
+
},
|
|
445
|
+
},
|
|
446
|
+
});
|
|
447
|
+
/**
|
|
448
|
+
* Agent dir exists on disk but settings does not declare the agent. Phase 9
|
|
449
|
+
* verifies the `agents.detected` projection surfaces a mismatch.
|
|
450
|
+
*/
|
|
451
|
+
export const agentPresentNoDeclaration = (workspaceRoot, userHome) => ({
|
|
452
|
+
workspaceRoot,
|
|
453
|
+
userHome,
|
|
454
|
+
project: {
|
|
455
|
+
settings: { _tag: "valid", contents: { owner: "@team" } },
|
|
456
|
+
agentDirs: {
|
|
457
|
+
"claude-code": {
|
|
458
|
+
"skills/some-skill/SKILL.md": "# some-skill\n",
|
|
459
|
+
},
|
|
460
|
+
},
|
|
461
|
+
},
|
|
462
|
+
});
|
|
463
|
+
/**
|
|
464
|
+
* Settings declares an agent whose directory does not exist.
|
|
465
|
+
*/
|
|
466
|
+
export const agentDeclaredNotInstalled = (workspaceRoot, userHome) => ({
|
|
467
|
+
workspaceRoot,
|
|
468
|
+
userHome,
|
|
469
|
+
project: {
|
|
470
|
+
settings: {
|
|
471
|
+
_tag: "valid",
|
|
472
|
+
contents: { owner: "@team", agents: ["claude-code"] },
|
|
473
|
+
},
|
|
474
|
+
},
|
|
475
|
+
});
|
|
476
|
+
/**
|
|
477
|
+
* Settings disagrees with `.mcp.json`: the keys differ between the two
|
|
478
|
+
* surfaces. Phase 9 verifies the MCP-server projection exposes both views
|
|
479
|
+
* without silently reconciling them.
|
|
480
|
+
*/
|
|
481
|
+
export const mcpConfigDrift = (workspaceRoot, userHome) => ({
|
|
482
|
+
workspaceRoot,
|
|
483
|
+
userHome,
|
|
484
|
+
project: {
|
|
485
|
+
settings: {
|
|
486
|
+
_tag: "valid",
|
|
487
|
+
contents: {
|
|
488
|
+
owner: "@team",
|
|
489
|
+
mcpServers: { declared: { source: "github:owner/repo" } },
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
mcpJson: {
|
|
493
|
+
_tag: "valid",
|
|
494
|
+
contents: { mcpServers: { drifted: { command: "echo" } } },
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
});
|
|
498
|
+
/**
|
|
499
|
+
* Same skill name in three actual surfaces: `.claude/skills/`, `.codex/skills/`,
|
|
500
|
+
* and canonical AXM storage.
|
|
501
|
+
*/
|
|
502
|
+
export const sameNameAcrossOrigins = (workspaceRoot, userHome) => ({
|
|
503
|
+
workspaceRoot,
|
|
504
|
+
userHome,
|
|
505
|
+
project: {
|
|
506
|
+
agentDirs: {
|
|
507
|
+
"claude-code": {
|
|
508
|
+
"skills/some-skill/SKILL.md": "# claude-code\n",
|
|
509
|
+
},
|
|
510
|
+
codex: {
|
|
511
|
+
"skills/some-skill/SKILL.md": "# codex\n",
|
|
512
|
+
},
|
|
513
|
+
},
|
|
514
|
+
axmExtensions: {
|
|
515
|
+
"@owner/skills/src/some-skill/SKILL.md": "# canonical\n",
|
|
516
|
+
},
|
|
517
|
+
},
|
|
518
|
+
});
|
|
519
|
+
/**
|
|
520
|
+
* Spec containing a `..` segment so callers can verify the builder rejects it.
|
|
521
|
+
* The fixture intentionally returns an unbuildable spec; consumers invoke
|
|
522
|
+
* `buildFixture` to assert the rejection path.
|
|
523
|
+
*/
|
|
524
|
+
export const pathEscapeAttempt = (workspaceRoot, userHome) => ({
|
|
525
|
+
workspaceRoot,
|
|
526
|
+
userHome,
|
|
527
|
+
project: {
|
|
528
|
+
axmExtensions: {
|
|
529
|
+
"../../etc/passwd": "evil\n",
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
});
|
|
533
|
+
// Keep `isObject` available for downstream phases that need the same guard.
|
|
534
|
+
void isObject;
|
|
535
|
+
//# sourceMappingURL=builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder.js","sourceRoot":"","sources":["../../../../../../src/unstable/workspace/read-model/__fixtures__/builder.ts"],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;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,aAAqB,EAAE,QAAgB,EAAe,EAAE,CAAC,CAAC;IAC1F,aAAa;IACb,QAAQ;IACR,OAAO,EAAE;QACP,aAAa,EAAE;YACb,kBAAkB,EAAE,QAAQ;SAC7B;KACF;CACF,CAAC,CAAC;AAEH,4EAA4E;AAC5E,KAAK,QAAQ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Schema-decoded fixture builders for tests.
|
|
3
|
+
*
|
|
4
|
+
* Tests that need a real `Settings` or `Lockfile` value should run the input
|
|
5
|
+
* through the actual decoder rather than casting an arbitrary object via
|
|
6
|
+
* `as unknown as Settings`. These helpers wrap the canonical schema decoders
|
|
7
|
+
* so call sites yield the decoded value with `yield* decodedSettings({ ... })`.
|
|
8
|
+
*/
|
|
9
|
+
import * as Effect from "effect/Effect";
|
|
10
|
+
import * as Schema from "effect/Schema";
|
|
11
|
+
import { type Lockfile } from "../../../lockfile/schema.js";
|
|
12
|
+
import { type Settings } from "../../../settings/schema.js";
|
|
13
|
+
export declare const decodedSettings: (input: unknown) => Effect.Effect<Settings, Schema.SchemaError>;
|
|
14
|
+
export declare const decodedLockfile: (input: unknown) => Effect.Effect<Lockfile, Schema.SchemaError>;
|
|
15
|
+
//# sourceMappingURL=decoders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decoders.d.ts","sourceRoot":"","sources":["../../../../../../src/unstable/workspace/read-model/__fixtures__/decoders.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE5E,eAAO,MAAM,eAAe,GAAI,OAAO,OAAO,KAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,WAAW,CACxC,CAAC;AAEpD,eAAO,MAAM,eAAe,GAAI,OAAO,OAAO,KAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,WAAW,CACxC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Schema-decoded fixture builders for tests.
|
|
3
|
+
*
|
|
4
|
+
* Tests that need a real `Settings` or `Lockfile` value should run the input
|
|
5
|
+
* through the actual decoder rather than casting an arbitrary object via
|
|
6
|
+
* `as unknown as Settings`. These helpers wrap the canonical schema decoders
|
|
7
|
+
* so call sites yield the decoded value with `yield* decodedSettings({ ... })`.
|
|
8
|
+
*/
|
|
9
|
+
import * as Effect from "effect/Effect";
|
|
10
|
+
import * as Schema from "effect/Schema";
|
|
11
|
+
import { LockfileSchema } from "../../../lockfile/schema.js";
|
|
12
|
+
import { SettingsSchema } from "../../../settings/schema.js";
|
|
13
|
+
export const decodedSettings = (input) => Schema.decodeUnknownEffect(SettingsSchema)(input);
|
|
14
|
+
export const decodedLockfile = (input) => Schema.decodeUnknownEffect(LockfileSchema)(input);
|
|
15
|
+
//# sourceMappingURL=decoders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decoders.js","sourceRoot":"","sources":["../../../../../../src/unstable/workspace/read-model/__fixtures__/decoders.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,cAAc,EAAiB,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAiB,MAAM,6BAA6B,CAAC;AAE5E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAc,EAA+C,EAAE,CAC7F,MAAM,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC;AAEpD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAc,EAA+C,EAAE,CAC7F,MAAM,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { type ExtensionType } from "../../../extensions/common.js";
|
|
2
|
+
import type { AgentId } from "../../../agents/types.js";
|
|
3
|
+
import type { AgentDirOccurrence, AgentDirSubjectType, AgentMcpConfigOccurrence, AgentSettingsOccurrence, CanonicalExtensionOccurrence, CanonicalExtensionOriginKind, WorkspaceMcpConfigOccurrence } from "../scanners/types.js";
|
|
4
|
+
import type { Scope } from "../types.js";
|
|
5
|
+
export interface MakeCanonicalOccurrenceInput {
|
|
6
|
+
readonly scope: Scope;
|
|
7
|
+
readonly type: ExtensionType;
|
|
8
|
+
readonly origin: CanonicalExtensionOriginKind;
|
|
9
|
+
readonly name: string;
|
|
10
|
+
readonly owner: string | null;
|
|
11
|
+
readonly contentLocation: string;
|
|
12
|
+
/**
|
|
13
|
+
* Override `subjectFileExists`. Defaults to `true` when the subject type has
|
|
14
|
+
* a canonical primary file; `false` otherwise.
|
|
15
|
+
*/
|
|
16
|
+
readonly subjectFileExists?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Build a `CanonicalExtensionOccurrence` with the new structural fields
|
|
20
|
+
* populated. `pathSegments` is computed from `contentLocation` (POSIX split).
|
|
21
|
+
* `subjectFile` is `Some(<dir>/<name>.md)` for skill/command/subagent; `None`
|
|
22
|
+
* for mcp-server/file/rule/pack. `subjectFileExists` defaults to `true` when
|
|
23
|
+
* the subject has a canonical primary file; pass `false` to model absence.
|
|
24
|
+
*/
|
|
25
|
+
export declare const makeCanonicalOccurrence: (input: MakeCanonicalOccurrenceInput) => CanonicalExtensionOccurrence;
|
|
26
|
+
export interface MakeAgentDirOccurrenceInput {
|
|
27
|
+
readonly scope: Scope;
|
|
28
|
+
readonly type: AgentDirSubjectType;
|
|
29
|
+
readonly agentId: AgentId;
|
|
30
|
+
readonly name: string;
|
|
31
|
+
readonly contentLocation: string;
|
|
32
|
+
/**
|
|
33
|
+
* Set to `true` for single-file subagent surfaces (e.g., `.roomodes`) so
|
|
34
|
+
* `subjectFile` is the `contentLocation` itself.
|
|
35
|
+
*/
|
|
36
|
+
readonly singleFile?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Override `subjectFileExists`. Defaults to `true` (the occurrence exists
|
|
39
|
+
* because the file exists).
|
|
40
|
+
*/
|
|
41
|
+
readonly subjectFileExists?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Build an `AgentDirOccurrence` with the new structural fields populated.
|
|
45
|
+
* `pathSegments` is computed from `contentLocation` (POSIX split).
|
|
46
|
+
* `subjectFile` is `<contentLocation>/<canonical-file>` for directory
|
|
47
|
+
* occurrences and the `contentLocation` itself for single-file subagent
|
|
48
|
+
* surfaces. `subjectFileExists` defaults to `true`.
|
|
49
|
+
*/
|
|
50
|
+
export declare const makeAgentDirOccurrence: (input: MakeAgentDirOccurrenceInput) => AgentDirOccurrence;
|
|
51
|
+
export interface MakeWorkspaceMcpConfigOccurrenceInput {
|
|
52
|
+
readonly scope: Scope;
|
|
53
|
+
readonly name: string;
|
|
54
|
+
readonly contentLocation: string;
|
|
55
|
+
}
|
|
56
|
+
export interface MakeAgentMcpConfigOccurrenceInput {
|
|
57
|
+
readonly scope: Scope;
|
|
58
|
+
readonly agentId: AgentId;
|
|
59
|
+
readonly name: string;
|
|
60
|
+
readonly contentLocation: string;
|
|
61
|
+
}
|
|
62
|
+
export declare const makeWorkspaceMcpConfigOccurrence: (input: MakeWorkspaceMcpConfigOccurrenceInput) => WorkspaceMcpConfigOccurrence;
|
|
63
|
+
export declare const makeAgentMcpConfigOccurrence: (input: MakeAgentMcpConfigOccurrenceInput) => AgentMcpConfigOccurrence;
|
|
64
|
+
export interface MakeAgentSettingsOccurrenceInput {
|
|
65
|
+
readonly scope: Scope;
|
|
66
|
+
readonly agentId: AgentId;
|
|
67
|
+
readonly contentLocation: string;
|
|
68
|
+
}
|
|
69
|
+
export declare const makeAgentSettingsOccurrence: (input: MakeAgentSettingsOccurrenceInput) => AgentSettingsOccurrence;
|
|
70
|
+
//# sourceMappingURL=occurrences.d.ts.map
|