@agentxm/client-core 0.1.6
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/LICENSE +21 -0
- package/dist/src/unstable/agents/adal/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/adal/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/adal/descriptor.js +19 -0
- package/dist/src/unstable/agents/adal/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/adal/index.d.ts +8 -0
- package/dist/src/unstable/agents/adal/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/adal/index.js +8 -0
- package/dist/src/unstable/agents/adal/index.js.map +1 -0
- package/dist/src/unstable/agents/amp/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/amp/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/amp/descriptor.js +19 -0
- package/dist/src/unstable/agents/amp/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/amp/index.d.ts +8 -0
- package/dist/src/unstable/agents/amp/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/amp/index.js +8 -0
- package/dist/src/unstable/agents/amp/index.js.map +1 -0
- package/dist/src/unstable/agents/antigravity/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/antigravity/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/antigravity/descriptor.js +19 -0
- package/dist/src/unstable/agents/antigravity/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/antigravity/index.d.ts +8 -0
- package/dist/src/unstable/agents/antigravity/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/antigravity/index.js +8 -0
- package/dist/src/unstable/agents/antigravity/index.js.map +1 -0
- package/dist/src/unstable/agents/augment/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/augment/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/augment/descriptor.js +25 -0
- package/dist/src/unstable/agents/augment/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/augment/index.d.ts +8 -0
- package/dist/src/unstable/agents/augment/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/augment/index.js +8 -0
- package/dist/src/unstable/agents/augment/index.js.map +1 -0
- package/dist/src/unstable/agents/augment/service.d.ts +16 -0
- package/dist/src/unstable/agents/augment/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/augment/service.js +103 -0
- package/dist/src/unstable/agents/augment/service.js.map +1 -0
- package/dist/src/unstable/agents/claude-code/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/claude-code/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/claude-code/descriptor.js +25 -0
- package/dist/src/unstable/agents/claude-code/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/claude-code/index.d.ts +9 -0
- package/dist/src/unstable/agents/claude-code/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/claude-code/index.js +9 -0
- package/dist/src/unstable/agents/claude-code/index.js.map +1 -0
- package/dist/src/unstable/agents/claude-code/service.d.ts +18 -0
- package/dist/src/unstable/agents/claude-code/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/claude-code/service.js +95 -0
- package/dist/src/unstable/agents/claude-code/service.js.map +1 -0
- package/dist/src/unstable/agents/cline/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/cline/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/cline/descriptor.js +19 -0
- package/dist/src/unstable/agents/cline/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/cline/index.d.ts +8 -0
- package/dist/src/unstable/agents/cline/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/cline/index.js +8 -0
- package/dist/src/unstable/agents/cline/index.js.map +1 -0
- package/dist/src/unstable/agents/codebuddy/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/codebuddy/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/codebuddy/descriptor.js +19 -0
- package/dist/src/unstable/agents/codebuddy/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/codebuddy/index.d.ts +8 -0
- package/dist/src/unstable/agents/codebuddy/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/codebuddy/index.js +8 -0
- package/dist/src/unstable/agents/codebuddy/index.js.map +1 -0
- package/dist/src/unstable/agents/codex/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/codex/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/codex/descriptor.js +25 -0
- package/dist/src/unstable/agents/codex/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/codex/index.d.ts +9 -0
- package/dist/src/unstable/agents/codex/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/codex/index.js +9 -0
- package/dist/src/unstable/agents/codex/index.js.map +1 -0
- package/dist/src/unstable/agents/codex/service.d.ts +16 -0
- package/dist/src/unstable/agents/codex/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/codex/service.js +69 -0
- package/dist/src/unstable/agents/codex/service.js.map +1 -0
- package/dist/src/unstable/agents/coding-agent.d.ts +250 -0
- package/dist/src/unstable/agents/coding-agent.d.ts.map +1 -0
- package/dist/src/unstable/agents/coding-agent.js +14 -0
- package/dist/src/unstable/agents/coding-agent.js.map +1 -0
- package/dist/src/unstable/agents/command-code/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/command-code/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/command-code/descriptor.js +19 -0
- package/dist/src/unstable/agents/command-code/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/command-code/index.d.ts +8 -0
- package/dist/src/unstable/agents/command-code/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/command-code/index.js +8 -0
- package/dist/src/unstable/agents/command-code/index.js.map +1 -0
- package/dist/src/unstable/agents/command-sync.d.ts +59 -0
- package/dist/src/unstable/agents/command-sync.d.ts.map +1 -0
- package/dist/src/unstable/agents/command-sync.js +152 -0
- package/dist/src/unstable/agents/command-sync.js.map +1 -0
- package/dist/src/unstable/agents/constants.d.ts +26 -0
- package/dist/src/unstable/agents/constants.d.ts.map +1 -0
- package/dist/src/unstable/agents/constants.js +38 -0
- package/dist/src/unstable/agents/constants.js.map +1 -0
- package/dist/src/unstable/agents/continue/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/continue/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/continue/descriptor.js +19 -0
- package/dist/src/unstable/agents/continue/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/continue/index.d.ts +8 -0
- package/dist/src/unstable/agents/continue/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/continue/index.js +8 -0
- package/dist/src/unstable/agents/continue/index.js.map +1 -0
- package/dist/src/unstable/agents/crush/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/crush/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/crush/descriptor.js +19 -0
- package/dist/src/unstable/agents/crush/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/crush/index.d.ts +8 -0
- package/dist/src/unstable/agents/crush/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/crush/index.js +8 -0
- package/dist/src/unstable/agents/crush/index.js.map +1 -0
- package/dist/src/unstable/agents/cursor/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/cursor/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/cursor/descriptor.js +25 -0
- package/dist/src/unstable/agents/cursor/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/cursor/index.d.ts +9 -0
- package/dist/src/unstable/agents/cursor/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/cursor/index.js +9 -0
- package/dist/src/unstable/agents/cursor/index.js.map +1 -0
- package/dist/src/unstable/agents/cursor/service.d.ts +13 -0
- package/dist/src/unstable/agents/cursor/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/cursor/service.js +28 -0
- package/dist/src/unstable/agents/cursor/service.js.map +1 -0
- package/dist/src/unstable/agents/detection.d.ts +52 -0
- package/dist/src/unstable/agents/detection.d.ts.map +1 -0
- package/dist/src/unstable/agents/detection.js +91 -0
- package/dist/src/unstable/agents/detection.js.map +1 -0
- package/dist/src/unstable/agents/droid/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/droid/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/droid/descriptor.js +19 -0
- package/dist/src/unstable/agents/droid/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/droid/index.d.ts +8 -0
- package/dist/src/unstable/agents/droid/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/droid/index.js +8 -0
- package/dist/src/unstable/agents/droid/index.js.map +1 -0
- package/dist/src/unstable/agents/gemini-cli/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/gemini-cli/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/gemini-cli/descriptor.js +25 -0
- package/dist/src/unstable/agents/gemini-cli/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/gemini-cli/index.d.ts +9 -0
- package/dist/src/unstable/agents/gemini-cli/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/gemini-cli/index.js +9 -0
- package/dist/src/unstable/agents/gemini-cli/index.js.map +1 -0
- package/dist/src/unstable/agents/gemini-cli/service.d.ts +16 -0
- package/dist/src/unstable/agents/gemini-cli/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/gemini-cli/service.js +91 -0
- package/dist/src/unstable/agents/gemini-cli/service.js.map +1 -0
- package/dist/src/unstable/agents/github-copilot/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/github-copilot/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/github-copilot/descriptor.js +25 -0
- package/dist/src/unstable/agents/github-copilot/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/github-copilot/index.d.ts +9 -0
- package/dist/src/unstable/agents/github-copilot/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/github-copilot/index.js +9 -0
- package/dist/src/unstable/agents/github-copilot/index.js.map +1 -0
- package/dist/src/unstable/agents/github-copilot/service.d.ts +13 -0
- package/dist/src/unstable/agents/github-copilot/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/github-copilot/service.js +28 -0
- package/dist/src/unstable/agents/github-copilot/service.js.map +1 -0
- package/dist/src/unstable/agents/goose/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/goose/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/goose/descriptor.js +19 -0
- package/dist/src/unstable/agents/goose/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/goose/index.d.ts +8 -0
- package/dist/src/unstable/agents/goose/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/goose/index.js +8 -0
- package/dist/src/unstable/agents/goose/index.js.map +1 -0
- package/dist/src/unstable/agents/iflow-cli/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/iflow-cli/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/iflow-cli/descriptor.js +19 -0
- package/dist/src/unstable/agents/iflow-cli/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/iflow-cli/index.d.ts +8 -0
- package/dist/src/unstable/agents/iflow-cli/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/iflow-cli/index.js +8 -0
- package/dist/src/unstable/agents/iflow-cli/index.js.map +1 -0
- package/dist/src/unstable/agents/index.d.ts +35 -0
- package/dist/src/unstable/agents/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/index.js +43 -0
- package/dist/src/unstable/agents/index.js.map +1 -0
- package/dist/src/unstable/agents/junie/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/junie/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/junie/descriptor.js +25 -0
- package/dist/src/unstable/agents/junie/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/junie/index.d.ts +8 -0
- package/dist/src/unstable/agents/junie/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/junie/index.js +8 -0
- package/dist/src/unstable/agents/junie/index.js.map +1 -0
- package/dist/src/unstable/agents/junie/service.d.ts +11 -0
- package/dist/src/unstable/agents/junie/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/junie/service.js +18 -0
- package/dist/src/unstable/agents/junie/service.js.map +1 -0
- package/dist/src/unstable/agents/kilo/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/kilo/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/kilo/descriptor.js +25 -0
- package/dist/src/unstable/agents/kilo/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/kilo/index.d.ts +8 -0
- package/dist/src/unstable/agents/kilo/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/kilo/index.js +8 -0
- package/dist/src/unstable/agents/kilo/index.js.map +1 -0
- package/dist/src/unstable/agents/kilo/service.d.ts +18 -0
- package/dist/src/unstable/agents/kilo/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/kilo/service.js +86 -0
- package/dist/src/unstable/agents/kilo/service.js.map +1 -0
- package/dist/src/unstable/agents/kimi-cli/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/kimi-cli/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/kimi-cli/descriptor.js +19 -0
- package/dist/src/unstable/agents/kimi-cli/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/kimi-cli/index.d.ts +8 -0
- package/dist/src/unstable/agents/kimi-cli/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/kimi-cli/index.js +8 -0
- package/dist/src/unstable/agents/kimi-cli/index.js.map +1 -0
- package/dist/src/unstable/agents/kiro-cli/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/kiro-cli/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/kiro-cli/descriptor.js +25 -0
- package/dist/src/unstable/agents/kiro-cli/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/kiro-cli/index.d.ts +8 -0
- package/dist/src/unstable/agents/kiro-cli/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/kiro-cli/index.js +8 -0
- package/dist/src/unstable/agents/kiro-cli/index.js.map +1 -0
- package/dist/src/unstable/agents/kiro-cli/service.d.ts +16 -0
- package/dist/src/unstable/agents/kiro-cli/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/kiro-cli/service.js +73 -0
- package/dist/src/unstable/agents/kiro-cli/service.js.map +1 -0
- package/dist/src/unstable/agents/kode/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/kode/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/kode/descriptor.js +19 -0
- package/dist/src/unstable/agents/kode/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/kode/index.d.ts +8 -0
- package/dist/src/unstable/agents/kode/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/kode/index.js +8 -0
- package/dist/src/unstable/agents/kode/index.js.map +1 -0
- package/dist/src/unstable/agents/mcp-sync.d.ts +46 -0
- package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -0
- package/dist/src/unstable/agents/mcp-sync.js +333 -0
- package/dist/src/unstable/agents/mcp-sync.js.map +1 -0
- package/dist/src/unstable/agents/mcpjam/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/mcpjam/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/mcpjam/descriptor.js +19 -0
- package/dist/src/unstable/agents/mcpjam/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/mcpjam/index.d.ts +8 -0
- package/dist/src/unstable/agents/mcpjam/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/mcpjam/index.js +8 -0
- package/dist/src/unstable/agents/mcpjam/index.js.map +1 -0
- package/dist/src/unstable/agents/mistral-vibe/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/mistral-vibe/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/mistral-vibe/descriptor.js +19 -0
- package/dist/src/unstable/agents/mistral-vibe/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/mistral-vibe/index.d.ts +8 -0
- package/dist/src/unstable/agents/mistral-vibe/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/mistral-vibe/index.js +8 -0
- package/dist/src/unstable/agents/mistral-vibe/index.js.map +1 -0
- package/dist/src/unstable/agents/mux/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/mux/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/mux/descriptor.js +19 -0
- package/dist/src/unstable/agents/mux/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/mux/index.d.ts +8 -0
- package/dist/src/unstable/agents/mux/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/mux/index.js +8 -0
- package/dist/src/unstable/agents/mux/index.js.map +1 -0
- package/dist/src/unstable/agents/neovate/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/neovate/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/neovate/descriptor.js +19 -0
- package/dist/src/unstable/agents/neovate/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/neovate/index.d.ts +8 -0
- package/dist/src/unstable/agents/neovate/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/neovate/index.js +8 -0
- package/dist/src/unstable/agents/neovate/index.js.map +1 -0
- package/dist/src/unstable/agents/openclaw/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/openclaw/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/openclaw/descriptor.js +19 -0
- package/dist/src/unstable/agents/openclaw/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/openclaw/index.d.ts +8 -0
- package/dist/src/unstable/agents/openclaw/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/openclaw/index.js +8 -0
- package/dist/src/unstable/agents/openclaw/index.js.map +1 -0
- package/dist/src/unstable/agents/opencode/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/opencode/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/opencode/descriptor.js +25 -0
- package/dist/src/unstable/agents/opencode/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/opencode/index.d.ts +9 -0
- package/dist/src/unstable/agents/opencode/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/opencode/index.js +9 -0
- package/dist/src/unstable/agents/opencode/index.js.map +1 -0
- package/dist/src/unstable/agents/opencode/service.d.ts +13 -0
- package/dist/src/unstable/agents/opencode/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/opencode/service.js +27 -0
- package/dist/src/unstable/agents/opencode/service.js.map +1 -0
- package/dist/src/unstable/agents/openhands/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/openhands/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/openhands/descriptor.js +19 -0
- package/dist/src/unstable/agents/openhands/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/openhands/index.d.ts +8 -0
- package/dist/src/unstable/agents/openhands/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/openhands/index.js +8 -0
- package/dist/src/unstable/agents/openhands/index.js.map +1 -0
- package/dist/src/unstable/agents/pi/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/pi/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/pi/descriptor.js +19 -0
- package/dist/src/unstable/agents/pi/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/pi/index.d.ts +8 -0
- package/dist/src/unstable/agents/pi/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/pi/index.js +8 -0
- package/dist/src/unstable/agents/pi/index.js.map +1 -0
- package/dist/src/unstable/agents/pochi/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/pochi/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/pochi/descriptor.js +19 -0
- package/dist/src/unstable/agents/pochi/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/pochi/index.d.ts +8 -0
- package/dist/src/unstable/agents/pochi/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/pochi/index.js +8 -0
- package/dist/src/unstable/agents/pochi/index.js.map +1 -0
- package/dist/src/unstable/agents/project-only-agent.d.ts +48 -0
- package/dist/src/unstable/agents/project-only-agent.d.ts.map +1 -0
- package/dist/src/unstable/agents/project-only-agent.js +81 -0
- package/dist/src/unstable/agents/project-only-agent.js.map +1 -0
- package/dist/src/unstable/agents/qoder/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/qoder/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/qoder/descriptor.js +19 -0
- package/dist/src/unstable/agents/qoder/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/qoder/index.d.ts +8 -0
- package/dist/src/unstable/agents/qoder/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/qoder/index.js +8 -0
- package/dist/src/unstable/agents/qoder/index.js.map +1 -0
- package/dist/src/unstable/agents/qwen-code/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/qwen-code/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/qwen-code/descriptor.js +19 -0
- package/dist/src/unstable/agents/qwen-code/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/qwen-code/index.d.ts +8 -0
- package/dist/src/unstable/agents/qwen-code/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/qwen-code/index.js +8 -0
- package/dist/src/unstable/agents/qwen-code/index.js.map +1 -0
- package/dist/src/unstable/agents/registry.d.ts +72 -0
- package/dist/src/unstable/agents/registry.d.ts.map +1 -0
- package/dist/src/unstable/agents/registry.js +152 -0
- package/dist/src/unstable/agents/registry.js.map +1 -0
- package/dist/src/unstable/agents/replit/descriptor.d.ts +16 -0
- package/dist/src/unstable/agents/replit/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/replit/descriptor.js +21 -0
- package/dist/src/unstable/agents/replit/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/replit/index.d.ts +8 -0
- package/dist/src/unstable/agents/replit/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/replit/index.js +8 -0
- package/dist/src/unstable/agents/replit/index.js.map +1 -0
- package/dist/src/unstable/agents/repository.d.ts +10 -0
- package/dist/src/unstable/agents/repository.d.ts.map +1 -0
- package/dist/src/unstable/agents/repository.js +119 -0
- package/dist/src/unstable/agents/repository.js.map +1 -0
- package/dist/src/unstable/agents/roo/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/roo/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/roo/descriptor.js +26 -0
- package/dist/src/unstable/agents/roo/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/roo/index.d.ts +8 -0
- package/dist/src/unstable/agents/roo/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/roo/index.js +8 -0
- package/dist/src/unstable/agents/roo/index.js.map +1 -0
- package/dist/src/unstable/agents/roo/service.d.ts +14 -0
- package/dist/src/unstable/agents/roo/service.d.ts.map +1 -0
- package/dist/src/unstable/agents/roo/service.js +90 -0
- package/dist/src/unstable/agents/roo/service.js.map +1 -0
- package/dist/src/unstable/agents/subagent-detection.d.ts +74 -0
- package/dist/src/unstable/agents/subagent-detection.d.ts.map +1 -0
- package/dist/src/unstable/agents/subagent-detection.js +85 -0
- package/dist/src/unstable/agents/subagent-detection.js.map +1 -0
- package/dist/src/unstable/agents/subagent-sync.d.ts +56 -0
- package/dist/src/unstable/agents/subagent-sync.d.ts.map +1 -0
- package/dist/src/unstable/agents/subagent-sync.js +240 -0
- package/dist/src/unstable/agents/subagent-sync.js.map +1 -0
- package/dist/src/unstable/agents/trae/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/trae/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/trae/descriptor.js +19 -0
- package/dist/src/unstable/agents/trae/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/trae/index.d.ts +8 -0
- package/dist/src/unstable/agents/trae/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/trae/index.js +8 -0
- package/dist/src/unstable/agents/trae/index.js.map +1 -0
- package/dist/src/unstable/agents/trae-cn/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/trae-cn/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/trae-cn/descriptor.js +19 -0
- package/dist/src/unstable/agents/trae-cn/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/trae-cn/index.d.ts +8 -0
- package/dist/src/unstable/agents/trae-cn/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/trae-cn/index.js +8 -0
- package/dist/src/unstable/agents/trae-cn/index.js.map +1 -0
- package/dist/src/unstable/agents/types.d.ts +75 -0
- package/dist/src/unstable/agents/types.d.ts.map +1 -0
- package/dist/src/unstable/agents/types.js +60 -0
- package/dist/src/unstable/agents/types.js.map +1 -0
- package/dist/src/unstable/agents/windsurf/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/windsurf/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/windsurf/descriptor.js +19 -0
- package/dist/src/unstable/agents/windsurf/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/windsurf/index.d.ts +8 -0
- package/dist/src/unstable/agents/windsurf/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/windsurf/index.js +8 -0
- package/dist/src/unstable/agents/windsurf/index.js.map +1 -0
- package/dist/src/unstable/agents/zencoder/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/zencoder/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/zencoder/descriptor.js +19 -0
- package/dist/src/unstable/agents/zencoder/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/zencoder/index.d.ts +8 -0
- package/dist/src/unstable/agents/zencoder/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/zencoder/index.js +8 -0
- package/dist/src/unstable/agents/zencoder/index.js.map +1 -0
- package/dist/src/unstable/app-error/app-error.d.ts +21 -0
- package/dist/src/unstable/app-error/app-error.d.ts.map +1 -0
- package/dist/src/unstable/app-error/app-error.js +12 -0
- package/dist/src/unstable/app-error/app-error.js.map +1 -0
- package/dist/src/unstable/app-error/index.d.ts +3 -0
- package/dist/src/unstable/app-error/index.d.ts.map +1 -0
- package/dist/src/unstable/app-error/index.js +3 -0
- package/dist/src/unstable/app-error/index.js.map +1 -0
- package/dist/src/unstable/app-error/render.d.ts +7 -0
- package/dist/src/unstable/app-error/render.d.ts.map +1 -0
- package/dist/src/unstable/app-error/render.js +78 -0
- package/dist/src/unstable/app-error/render.js.map +1 -0
- package/dist/src/unstable/auth/auth-client.d.ts +73 -0
- package/dist/src/unstable/auth/auth-client.d.ts.map +1 -0
- package/dist/src/unstable/auth/auth-client.js +284 -0
- package/dist/src/unstable/auth/auth-client.js.map +1 -0
- package/dist/src/unstable/auth/auth-middleware.d.ts +28 -0
- package/dist/src/unstable/auth/auth-middleware.d.ts.map +1 -0
- package/dist/src/unstable/auth/auth-middleware.js +62 -0
- package/dist/src/unstable/auth/auth-middleware.js.map +1 -0
- package/dist/src/unstable/auth/credential-store.d.ts +61 -0
- package/dist/src/unstable/auth/credential-store.d.ts.map +1 -0
- package/dist/src/unstable/auth/credential-store.js +262 -0
- package/dist/src/unstable/auth/credential-store.js.map +1 -0
- package/dist/src/unstable/auth/device-login.d.ts +32 -0
- package/dist/src/unstable/auth/device-login.d.ts.map +1 -0
- package/dist/src/unstable/auth/device-login.js +88 -0
- package/dist/src/unstable/auth/device-login.js.map +1 -0
- package/dist/src/unstable/auth/guard-interaction.d.ts +26 -0
- package/dist/src/unstable/auth/guard-interaction.d.ts.map +1 -0
- package/dist/src/unstable/auth/guard-interaction.js +35 -0
- package/dist/src/unstable/auth/guard-interaction.js.map +1 -0
- package/dist/src/unstable/auth/guard.d.ts +23 -0
- package/dist/src/unstable/auth/guard.d.ts.map +1 -0
- package/dist/src/unstable/auth/guard.js +64 -0
- package/dist/src/unstable/auth/guard.js.map +1 -0
- package/dist/src/unstable/auth/index.d.ts +27 -0
- package/dist/src/unstable/auth/index.d.ts.map +1 -0
- package/dist/src/unstable/auth/index.js +23 -0
- package/dist/src/unstable/auth/index.js.map +1 -0
- package/dist/src/unstable/auth/login-interaction.d.ts +34 -0
- package/dist/src/unstable/auth/login-interaction.d.ts.map +1 -0
- package/dist/src/unstable/auth/login-interaction.js +93 -0
- package/dist/src/unstable/auth/login-interaction.js.map +1 -0
- package/dist/src/unstable/auth/oauth-contract.d.ts +6 -0
- package/dist/src/unstable/auth/oauth-contract.d.ts.map +1 -0
- package/dist/src/unstable/auth/oauth-contract.js +2 -0
- package/dist/src/unstable/auth/oauth-contract.js.map +1 -0
- package/dist/src/unstable/auth/registry-url.d.ts +14 -0
- package/dist/src/unstable/auth/registry-url.d.ts.map +1 -0
- package/dist/src/unstable/auth/registry-url.js +12 -0
- package/dist/src/unstable/auth/registry-url.js.map +1 -0
- package/dist/src/unstable/auth/schema.d.ts +70 -0
- package/dist/src/unstable/auth/schema.d.ts.map +1 -0
- package/dist/src/unstable/auth/schema.js +53 -0
- package/dist/src/unstable/auth/schema.js.map +1 -0
- package/dist/src/unstable/auth/token-resolution.d.ts +67 -0
- package/dist/src/unstable/auth/token-resolution.d.ts.map +1 -0
- package/dist/src/unstable/auth/token-resolution.js +149 -0
- package/dist/src/unstable/auth/token-resolution.js.map +1 -0
- package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts +16 -0
- package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts.map +1 -0
- package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js +239 -0
- package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js.map +1 -0
- package/dist/src/unstable/cli/prompt/group-multiselect.d.ts +22 -0
- package/dist/src/unstable/cli/prompt/group-multiselect.d.ts.map +1 -0
- package/dist/src/unstable/cli/prompt/group-multiselect.js +245 -0
- package/dist/src/unstable/cli/prompt/group-multiselect.js.map +1 -0
- package/dist/src/unstable/cli/prompt/helpers.d.ts +11 -0
- package/dist/src/unstable/cli/prompt/helpers.d.ts.map +1 -0
- package/dist/src/unstable/cli/prompt/helpers.js +26 -0
- package/dist/src/unstable/cli/prompt/helpers.js.map +1 -0
- package/dist/src/unstable/cli/prompt/index.d.ts +10 -0
- package/dist/src/unstable/cli/prompt/index.d.ts.map +1 -0
- package/dist/src/unstable/cli/prompt/index.js +13 -0
- package/dist/src/unstable/cli/prompt/index.js.map +1 -0
- package/dist/src/unstable/cli/prompt/select-key.d.ts +14 -0
- package/dist/src/unstable/cli/prompt/select-key.d.ts.map +1 -0
- package/dist/src/unstable/cli/prompt/select-key.js +38 -0
- package/dist/src/unstable/cli/prompt/select-key.js.map +1 -0
- package/dist/src/unstable/cli-flags/index.d.ts +22 -0
- package/dist/src/unstable/cli-flags/index.d.ts.map +1 -0
- package/dist/src/unstable/cli-flags/index.js +51 -0
- package/dist/src/unstable/cli-flags/index.js.map +1 -0
- package/dist/src/unstable/cli-flags/non-interactive.d.ts +24 -0
- package/dist/src/unstable/cli-flags/non-interactive.d.ts.map +1 -0
- package/dist/src/unstable/cli-flags/non-interactive.js +31 -0
- package/dist/src/unstable/cli-flags/non-interactive.js.map +1 -0
- package/dist/src/unstable/cli-flags/resolve-verbosity.d.ts +7 -0
- package/dist/src/unstable/cli-flags/resolve-verbosity.d.ts.map +1 -0
- package/dist/src/unstable/cli-flags/resolve-verbosity.js +17 -0
- package/dist/src/unstable/cli-flags/resolve-verbosity.js.map +1 -0
- package/dist/src/unstable/cli-flags/verbosity-helpers.d.ts +7 -0
- package/dist/src/unstable/cli-flags/verbosity-helpers.d.ts.map +1 -0
- package/dist/src/unstable/cli-flags/verbosity-helpers.js +22 -0
- package/dist/src/unstable/cli-flags/verbosity-helpers.js.map +1 -0
- package/dist/src/unstable/cli-flags/verbosity.d.ts +20 -0
- package/dist/src/unstable/cli-flags/verbosity.d.ts.map +1 -0
- package/dist/src/unstable/cli-flags/verbosity.js +27 -0
- package/dist/src/unstable/cli-flags/verbosity.js.map +1 -0
- package/dist/src/unstable/cli-prompt/prompt-cancelled.d.ts +9 -0
- package/dist/src/unstable/cli-prompt/prompt-cancelled.d.ts.map +1 -0
- package/dist/src/unstable/cli-prompt/prompt-cancelled.js +4 -0
- package/dist/src/unstable/cli-prompt/prompt-cancelled.js.map +1 -0
- package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts +27 -0
- package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/ansi-chrome.js +274 -0
- package/dist/src/unstable/cli-renderer/ansi-chrome.js.map +1 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts +4 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +256 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts +4 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +240 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +60 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js +338 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -0
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +148 -0
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/cli-renderer.js +7 -0
- package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -0
- package/dist/src/unstable/cli-renderer/command-output.d.ts +4 -0
- package/dist/src/unstable/cli-renderer/command-output.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/command-output.js +33 -0
- package/dist/src/unstable/cli-renderer/command-output.js.map +1 -0
- package/dist/src/unstable/cli-renderer/index.d.ts +6 -0
- package/dist/src/unstable/cli-renderer/index.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/index.js +6 -0
- package/dist/src/unstable/cli-renderer/index.js.map +1 -0
- package/dist/src/unstable/cli-runtime/command-argv.d.ts +14 -0
- package/dist/src/unstable/cli-runtime/command-argv.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/command-argv.js +46 -0
- package/dist/src/unstable/cli-runtime/command-argv.js.map +1 -0
- package/dist/src/unstable/cli-runtime/command-document.d.ts +12 -0
- package/dist/src/unstable/cli-runtime/command-document.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/command-document.js +13 -0
- package/dist/src/unstable/cli-runtime/command-document.js.map +1 -0
- package/dist/src/unstable/cli-runtime/command-summary.d.ts +19 -0
- package/dist/src/unstable/cli-runtime/command-summary.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/command-summary.js +31 -0
- package/dist/src/unstable/cli-runtime/command-summary.js.map +1 -0
- package/dist/src/unstable/cli-runtime/effect-cli-builtins.d.ts +3 -0
- package/dist/src/unstable/cli-runtime/effect-cli-builtins.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/effect-cli-builtins.js +8 -0
- package/dist/src/unstable/cli-runtime/effect-cli-builtins.js.map +1 -0
- package/dist/src/unstable/cli-runtime/effect-cli-exit.d.ts +11 -0
- package/dist/src/unstable/cli-runtime/effect-cli-exit.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/effect-cli-exit.js +18 -0
- package/dist/src/unstable/cli-runtime/effect-cli-exit.js.map +1 -0
- package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts +10 -0
- package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/graceful-shutdown.js +26 -0
- package/dist/src/unstable/cli-runtime/graceful-shutdown.js.map +1 -0
- package/dist/src/unstable/cli-runtime/handle-error.d.ts +33 -0
- package/dist/src/unstable/cli-runtime/handle-error.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/handle-error.js +87 -0
- package/dist/src/unstable/cli-runtime/handle-error.js.map +1 -0
- package/dist/src/unstable/cli-runtime/index.d.ts +16 -0
- package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/index.js +15 -0
- package/dist/src/unstable/cli-runtime/index.js.map +1 -0
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts +23 -0
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/json-envelope.js +34 -0
- package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -0
- package/dist/src/unstable/cli-runtime/output-mode.d.ts +32 -0
- package/dist/src/unstable/cli-runtime/output-mode.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/output-mode.js +59 -0
- package/dist/src/unstable/cli-runtime/output-mode.js.map +1 -0
- package/dist/src/unstable/cli-runtime/resolve-format.d.ts +15 -0
- package/dist/src/unstable/cli-runtime/resolve-format.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/resolve-format.js +17 -0
- package/dist/src/unstable/cli-runtime/resolve-format.js.map +1 -0
- package/dist/src/unstable/cli-runtime/run-cli-main.d.ts +14 -0
- package/dist/src/unstable/cli-runtime/run-cli-main.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/run-cli-main.js +24 -0
- package/dist/src/unstable/cli-runtime/run-cli-main.js.map +1 -0
- package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts +44 -0
- package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/runtime-envelope.js +158 -0
- package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -0
- package/dist/src/unstable/cli-runtime/telemetry-layer.d.ts +9 -0
- package/dist/src/unstable/cli-runtime/telemetry-layer.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/telemetry-layer.js +7 -0
- package/dist/src/unstable/cli-runtime/telemetry-layer.js.map +1 -0
- package/dist/src/unstable/cli-runtime/telemetry.d.ts +52 -0
- package/dist/src/unstable/cli-runtime/telemetry.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/telemetry.js +107 -0
- package/dist/src/unstable/cli-runtime/telemetry.js.map +1 -0
- package/dist/src/unstable/commands/command-argument.d.ts +27 -0
- package/dist/src/unstable/commands/command-argument.d.ts.map +1 -0
- package/dist/src/unstable/commands/command-argument.js +25 -0
- package/dist/src/unstable/commands/command-argument.js.map +1 -0
- package/dist/src/unstable/commands/command-content.d.ts +87 -0
- package/dist/src/unstable/commands/command-content.d.ts.map +1 -0
- package/dist/src/unstable/commands/command-content.js +88 -0
- package/dist/src/unstable/commands/command-content.js.map +1 -0
- package/dist/src/unstable/commands/index.d.ts +24 -0
- package/dist/src/unstable/commands/index.d.ts.map +1 -0
- package/dist/src/unstable/commands/index.js +19 -0
- package/dist/src/unstable/commands/index.js.map +1 -0
- package/dist/src/unstable/commands/manager.d.ts +27 -0
- package/dist/src/unstable/commands/manager.d.ts.map +1 -0
- package/dist/src/unstable/commands/manager.js +313 -0
- package/dist/src/unstable/commands/manager.js.map +1 -0
- package/dist/src/unstable/commands/manifest-schema.d.ts +59 -0
- package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -0
- package/dist/src/unstable/commands/manifest-schema.js +40 -0
- package/dist/src/unstable/commands/manifest-schema.js.map +1 -0
- package/dist/src/unstable/commands/operations/disable.d.ts +38 -0
- package/dist/src/unstable/commands/operations/disable.d.ts.map +1 -0
- package/dist/src/unstable/commands/operations/disable.js +106 -0
- package/dist/src/unstable/commands/operations/disable.js.map +1 -0
- package/dist/src/unstable/commands/operations/enable.d.ts +39 -0
- package/dist/src/unstable/commands/operations/enable.d.ts.map +1 -0
- package/dist/src/unstable/commands/operations/enable.js +120 -0
- package/dist/src/unstable/commands/operations/enable.js.map +1 -0
- package/dist/src/unstable/commands/operations/install.d.ts +47 -0
- package/dist/src/unstable/commands/operations/install.d.ts.map +1 -0
- package/dist/src/unstable/commands/operations/install.js +235 -0
- package/dist/src/unstable/commands/operations/install.js.map +1 -0
- package/dist/src/unstable/commands/operations/new-command.d.ts +38 -0
- package/dist/src/unstable/commands/operations/new-command.d.ts.map +1 -0
- package/dist/src/unstable/commands/operations/new-command.js +87 -0
- package/dist/src/unstable/commands/operations/new-command.js.map +1 -0
- package/dist/src/unstable/commands/operations/publish.d.ts +41 -0
- package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -0
- package/dist/src/unstable/commands/operations/publish.js +120 -0
- package/dist/src/unstable/commands/operations/publish.js.map +1 -0
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +133 -0
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -0
- package/dist/src/unstable/commands/operations/shared-command-helpers.js +172 -0
- package/dist/src/unstable/commands/operations/shared-command-helpers.js.map +1 -0
- package/dist/src/unstable/commands/operations/uninstall.d.ts +37 -0
- package/dist/src/unstable/commands/operations/uninstall.d.ts.map +1 -0
- package/dist/src/unstable/commands/operations/uninstall.js +108 -0
- package/dist/src/unstable/commands/operations/uninstall.js.map +1 -0
- package/dist/src/unstable/commands/reconciliation-adapter.d.ts +3 -0
- package/dist/src/unstable/commands/reconciliation-adapter.d.ts.map +1 -0
- package/dist/src/unstable/commands/reconciliation-adapter.js +145 -0
- package/dist/src/unstable/commands/reconciliation-adapter.js.map +1 -0
- package/dist/src/unstable/commands/refs.d.ts +17 -0
- package/dist/src/unstable/commands/refs.d.ts.map +1 -0
- package/dist/src/unstable/commands/refs.js +8 -0
- package/dist/src/unstable/commands/refs.js.map +1 -0
- package/dist/src/unstable/commands/registry-ref-builder.d.ts +7 -0
- package/dist/src/unstable/commands/registry-ref-builder.d.ts.map +1 -0
- package/dist/src/unstable/commands/registry-ref-builder.js +13 -0
- package/dist/src/unstable/commands/registry-ref-builder.js.map +1 -0
- package/dist/src/unstable/commands/renderers/index.d.ts +30 -0
- package/dist/src/unstable/commands/renderers/index.d.ts.map +1 -0
- package/dist/src/unstable/commands/renderers/index.js +43 -0
- package/dist/src/unstable/commands/renderers/index.js.map +1 -0
- package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts +19 -0
- package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts.map +1 -0
- package/dist/src/unstable/commands/renderers/render-markdown-only.js +57 -0
- package/dist/src/unstable/commands/renderers/render-markdown-only.js.map +1 -0
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts +16 -0
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts.map +1 -0
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js +72 -0
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js.map +1 -0
- package/dist/src/unstable/commands/renderers/render-plain-text.d.ts +20 -0
- package/dist/src/unstable/commands/renderers/render-plain-text.d.ts.map +1 -0
- package/dist/src/unstable/commands/renderers/render-plain-text.js +66 -0
- package/dist/src/unstable/commands/renderers/render-plain-text.js.map +1 -0
- package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts +19 -0
- package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts.map +1 -0
- package/dist/src/unstable/commands/renderers/render-prompt-md.js +67 -0
- package/dist/src/unstable/commands/renderers/render-prompt-md.js.map +1 -0
- package/dist/src/unstable/commands/renderers/render-toml.d.ts +19 -0
- package/dist/src/unstable/commands/renderers/render-toml.d.ts.map +1 -0
- package/dist/src/unstable/commands/renderers/render-toml.js +77 -0
- package/dist/src/unstable/commands/renderers/render-toml.js.map +1 -0
- package/dist/src/unstable/commands/renderers/types.d.ts +74 -0
- package/dist/src/unstable/commands/renderers/types.d.ts.map +1 -0
- package/dist/src/unstable/commands/renderers/types.js +11 -0
- package/dist/src/unstable/commands/renderers/types.js.map +1 -0
- package/dist/src/unstable/commands/rendering-warnings.d.ts +43 -0
- package/dist/src/unstable/commands/rendering-warnings.d.ts.map +1 -0
- package/dist/src/unstable/commands/rendering-warnings.js +36 -0
- package/dist/src/unstable/commands/rendering-warnings.js.map +1 -0
- package/dist/src/unstable/commands/variable-substitution.d.ts +76 -0
- package/dist/src/unstable/commands/variable-substitution.d.ts.map +1 -0
- package/dist/src/unstable/commands/variable-substitution.js +176 -0
- package/dist/src/unstable/commands/variable-substitution.js.map +1 -0
- package/dist/src/unstable/date-time.d.ts +4 -0
- package/dist/src/unstable/date-time.d.ts.map +1 -0
- package/dist/src/unstable/date-time.js +20 -0
- package/dist/src/unstable/date-time.js.map +1 -0
- package/dist/src/unstable/discover/discover.d.ts +38 -0
- package/dist/src/unstable/discover/discover.d.ts.map +1 -0
- package/dist/src/unstable/discover/discover.js +179 -0
- package/dist/src/unstable/discover/discover.js.map +1 -0
- package/dist/src/unstable/discover/index.d.ts +8 -0
- package/dist/src/unstable/discover/index.d.ts.map +1 -0
- package/dist/src/unstable/discover/index.js +8 -0
- package/dist/src/unstable/discover/index.js.map +1 -0
- package/dist/src/unstable/extensions/common.d.ts +184 -0
- package/dist/src/unstable/extensions/common.d.ts.map +1 -0
- package/dist/src/unstable/extensions/common.js +283 -0
- package/dist/src/unstable/extensions/common.js.map +1 -0
- package/dist/src/unstable/extensions/conflict-detection.d.ts +40 -0
- package/dist/src/unstable/extensions/conflict-detection.d.ts.map +1 -0
- package/dist/src/unstable/extensions/conflict-detection.js +49 -0
- package/dist/src/unstable/extensions/conflict-detection.js.map +1 -0
- package/dist/src/unstable/extensions/constants.d.ts +8 -0
- package/dist/src/unstable/extensions/constants.d.ts.map +1 -0
- package/dist/src/unstable/extensions/constants.js +8 -0
- package/dist/src/unstable/extensions/constants.js.map +1 -0
- package/dist/src/unstable/extensions/fqn.d.ts +32 -0
- package/dist/src/unstable/extensions/fqn.d.ts.map +1 -0
- package/dist/src/unstable/extensions/fqn.js +46 -0
- package/dist/src/unstable/extensions/fqn.js.map +1 -0
- package/dist/src/unstable/extensions/frontmatter.d.ts +39 -0
- package/dist/src/unstable/extensions/frontmatter.d.ts.map +1 -0
- package/dist/src/unstable/extensions/frontmatter.js +71 -0
- package/dist/src/unstable/extensions/frontmatter.js.map +1 -0
- package/dist/src/unstable/extensions/handle.d.ts +16 -0
- package/dist/src/unstable/extensions/handle.d.ts.map +1 -0
- package/dist/src/unstable/extensions/handle.js +30 -0
- package/dist/src/unstable/extensions/handle.js.map +1 -0
- package/dist/src/unstable/extensions/index.d.ts +22 -0
- package/dist/src/unstable/extensions/index.d.ts.map +1 -0
- package/dist/src/unstable/extensions/index.js +30 -0
- package/dist/src/unstable/extensions/index.js.map +1 -0
- package/dist/src/unstable/extensions/installable-types.d.ts +13 -0
- package/dist/src/unstable/extensions/installable-types.d.ts.map +1 -0
- package/dist/src/unstable/extensions/installable-types.js +46 -0
- package/dist/src/unstable/extensions/installable-types.js.map +1 -0
- package/dist/src/unstable/extensions/managed-marker.d.ts +42 -0
- package/dist/src/unstable/extensions/managed-marker.d.ts.map +1 -0
- package/dist/src/unstable/extensions/managed-marker.js +60 -0
- package/dist/src/unstable/extensions/managed-marker.js.map +1 -0
- package/dist/src/unstable/extensions/operations.d.ts +82 -0
- package/dist/src/unstable/extensions/operations.d.ts.map +1 -0
- package/dist/src/unstable/extensions/operations.js +152 -0
- package/dist/src/unstable/extensions/operations.js.map +1 -0
- package/dist/src/unstable/extensions/reconciliation-utils.d.ts +38 -0
- package/dist/src/unstable/extensions/reconciliation-utils.d.ts.map +1 -0
- package/dist/src/unstable/extensions/reconciliation-utils.js +57 -0
- package/dist/src/unstable/extensions/reconciliation-utils.js.map +1 -0
- package/dist/src/unstable/extensions/ref-base.d.ts +92 -0
- package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -0
- package/dist/src/unstable/extensions/ref-base.js +12 -0
- package/dist/src/unstable/extensions/ref-base.js.map +1 -0
- package/dist/src/unstable/extensions/refs.d.ts +18 -0
- package/dist/src/unstable/extensions/refs.d.ts.map +1 -0
- package/dist/src/unstable/extensions/refs.js +12 -0
- package/dist/src/unstable/extensions/refs.js.map +1 -0
- package/dist/src/unstable/extensions/registry-source.d.ts +32 -0
- package/dist/src/unstable/extensions/registry-source.d.ts.map +1 -0
- package/dist/src/unstable/extensions/registry-source.js +150 -0
- package/dist/src/unstable/extensions/registry-source.js.map +1 -0
- package/dist/src/unstable/extensions/rendered-files.d.ts +61 -0
- package/dist/src/unstable/extensions/rendered-files.d.ts.map +1 -0
- package/dist/src/unstable/extensions/rendered-files.js +51 -0
- package/dist/src/unstable/extensions/rendered-files.js.map +1 -0
- package/dist/src/unstable/extensions/utils.d.ts +34 -0
- package/dist/src/unstable/extensions/utils.d.ts.map +1 -0
- package/dist/src/unstable/extensions/utils.js +81 -0
- package/dist/src/unstable/extensions/utils.js.map +1 -0
- package/dist/src/unstable/git/index.d.ts +8 -0
- package/dist/src/unstable/git/index.d.ts.map +1 -0
- package/dist/src/unstable/git/index.js +8 -0
- package/dist/src/unstable/git/index.js.map +1 -0
- package/dist/src/unstable/git/operations.d.ts +34 -0
- package/dist/src/unstable/git/operations.d.ts.map +1 -0
- package/dist/src/unstable/git/operations.js +102 -0
- package/dist/src/unstable/git/operations.js.map +1 -0
- package/dist/src/unstable/install-meta/install-meta.d.ts +80 -0
- package/dist/src/unstable/install-meta/install-meta.d.ts.map +1 -0
- package/dist/src/unstable/install-meta/install-meta.js +124 -0
- package/dist/src/unstable/install-meta/install-meta.js.map +1 -0
- package/dist/src/unstable/install-method/install-method.d.ts +84 -0
- package/dist/src/unstable/install-method/install-method.d.ts.map +1 -0
- package/dist/src/unstable/install-method/install-method.js +191 -0
- package/dist/src/unstable/install-method/install-method.js.map +1 -0
- package/dist/src/unstable/lockfile/index.d.ts +15 -0
- package/dist/src/unstable/lockfile/index.d.ts.map +1 -0
- package/dist/src/unstable/lockfile/index.js +15 -0
- package/dist/src/unstable/lockfile/index.js.map +1 -0
- package/dist/src/unstable/lockfile/lockfile.d.ts +512 -0
- package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -0
- package/dist/src/unstable/lockfile/lockfile.js +174 -0
- package/dist/src/unstable/lockfile/lockfile.js.map +1 -0
- package/dist/src/unstable/lockfile/resolved-version.d.ts +6 -0
- package/dist/src/unstable/lockfile/resolved-version.d.ts.map +1 -0
- package/dist/src/unstable/lockfile/resolved-version.js +19 -0
- package/dist/src/unstable/lockfile/resolved-version.js.map +1 -0
- package/dist/src/unstable/lockfile/schema.d.ts +1483 -0
- package/dist/src/unstable/lockfile/schema.d.ts.map +1 -0
- package/dist/src/unstable/lockfile/schema.js +304 -0
- package/dist/src/unstable/lockfile/schema.js.map +1 -0
- package/dist/src/unstable/mcp-servers/index.d.ts +12 -0
- package/dist/src/unstable/mcp-servers/index.d.ts.map +1 -0
- package/dist/src/unstable/mcp-servers/index.js +8 -0
- package/dist/src/unstable/mcp-servers/index.js.map +1 -0
- package/dist/src/unstable/mcp-servers/manager.d.ts +21 -0
- package/dist/src/unstable/mcp-servers/manager.d.ts.map +1 -0
- package/dist/src/unstable/mcp-servers/manager.js +189 -0
- package/dist/src/unstable/mcp-servers/manager.js.map +1 -0
- package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +57 -0
- package/dist/src/unstable/mcp-servers/manifest-schema.d.ts.map +1 -0
- package/dist/src/unstable/mcp-servers/manifest-schema.js +38 -0
- package/dist/src/unstable/mcp-servers/manifest-schema.js.map +1 -0
- package/dist/src/unstable/mcp-servers/operations/install.d.ts +44 -0
- package/dist/src/unstable/mcp-servers/operations/install.d.ts.map +1 -0
- package/dist/src/unstable/mcp-servers/operations/install.js +239 -0
- package/dist/src/unstable/mcp-servers/operations/install.js.map +1 -0
- package/dist/src/unstable/mcp-servers/operations/publish.d.ts +41 -0
- package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -0
- package/dist/src/unstable/mcp-servers/operations/publish.js +120 -0
- package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -0
- package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts +40 -0
- package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts.map +1 -0
- package/dist/src/unstable/mcp-servers/operations/uninstall.js +195 -0
- package/dist/src/unstable/mcp-servers/operations/uninstall.js.map +1 -0
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.d.ts +3 -0
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.d.ts.map +1 -0
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.js +145 -0
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.js.map +1 -0
- package/dist/src/unstable/mcp-servers/refs.d.ts +17 -0
- package/dist/src/unstable/mcp-servers/refs.d.ts.map +1 -0
- package/dist/src/unstable/mcp-servers/refs.js +8 -0
- package/dist/src/unstable/mcp-servers/refs.js.map +1 -0
- package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts +7 -0
- package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts.map +1 -0
- package/dist/src/unstable/mcp-servers/registry-ref-builder.js +13 -0
- package/dist/src/unstable/mcp-servers/registry-ref-builder.js.map +1 -0
- package/dist/src/unstable/packaging/axm-package-meta.d.ts +23 -0
- package/dist/src/unstable/packaging/axm-package-meta.d.ts.map +1 -0
- package/dist/src/unstable/packaging/axm-package-meta.js +22 -0
- package/dist/src/unstable/packaging/axm-package-meta.js.map +1 -0
- package/dist/src/unstable/packaging/bazel.d.ts +27 -0
- package/dist/src/unstable/packaging/bazel.d.ts.map +1 -0
- package/dist/src/unstable/packaging/bazel.js +184 -0
- package/dist/src/unstable/packaging/bazel.js.map +1 -0
- package/dist/src/unstable/packaging/cargo.d.ts +29 -0
- package/dist/src/unstable/packaging/cargo.d.ts.map +1 -0
- package/dist/src/unstable/packaging/cargo.js +234 -0
- package/dist/src/unstable/packaging/cargo.js.map +1 -0
- package/dist/src/unstable/packaging/cocoapods.d.ts +26 -0
- package/dist/src/unstable/packaging/cocoapods.d.ts.map +1 -0
- package/dist/src/unstable/packaging/cocoapods.js +212 -0
- package/dist/src/unstable/packaging/cocoapods.js.map +1 -0
- package/dist/src/unstable/packaging/composer.d.ts +26 -0
- package/dist/src/unstable/packaging/composer.d.ts.map +1 -0
- package/dist/src/unstable/packaging/composer.js +166 -0
- package/dist/src/unstable/packaging/composer.js.map +1 -0
- package/dist/src/unstable/packaging/conan.d.ts +30 -0
- package/dist/src/unstable/packaging/conan.d.ts.map +1 -0
- package/dist/src/unstable/packaging/conan.js +249 -0
- package/dist/src/unstable/packaging/conan.js.map +1 -0
- package/dist/src/unstable/packaging/conda.d.ts +26 -0
- package/dist/src/unstable/packaging/conda.d.ts.map +1 -0
- package/dist/src/unstable/packaging/conda.js +345 -0
- package/dist/src/unstable/packaging/conda.js.map +1 -0
- package/dist/src/unstable/packaging/cpan.d.ts +29 -0
- package/dist/src/unstable/packaging/cpan.d.ts.map +1 -0
- package/dist/src/unstable/packaging/cpan.js +214 -0
- package/dist/src/unstable/packaging/cpan.js.map +1 -0
- package/dist/src/unstable/packaging/cran.d.ts +29 -0
- package/dist/src/unstable/packaging/cran.d.ts.map +1 -0
- package/dist/src/unstable/packaging/cran.js +187 -0
- package/dist/src/unstable/packaging/cran.js.map +1 -0
- package/dist/src/unstable/packaging/detect.d.ts +16 -0
- package/dist/src/unstable/packaging/detect.d.ts.map +1 -0
- package/dist/src/unstable/packaging/detect.js +25 -0
- package/dist/src/unstable/packaging/detect.js.map +1 -0
- package/dist/src/unstable/packaging/docker.d.ts +27 -0
- package/dist/src/unstable/packaging/docker.d.ts.map +1 -0
- package/dist/src/unstable/packaging/docker.js +282 -0
- package/dist/src/unstable/packaging/docker.js.map +1 -0
- package/dist/src/unstable/packaging/gem.d.ts +26 -0
- package/dist/src/unstable/packaging/gem.d.ts.map +1 -0
- package/dist/src/unstable/packaging/gem.js +248 -0
- package/dist/src/unstable/packaging/gem.js.map +1 -0
- package/dist/src/unstable/packaging/golang.d.ts +26 -0
- package/dist/src/unstable/packaging/golang.d.ts.map +1 -0
- package/dist/src/unstable/packaging/golang.js +193 -0
- package/dist/src/unstable/packaging/golang.js.map +1 -0
- package/dist/src/unstable/packaging/hackage.d.ts +26 -0
- package/dist/src/unstable/packaging/hackage.d.ts.map +1 -0
- package/dist/src/unstable/packaging/hackage.js +316 -0
- package/dist/src/unstable/packaging/hackage.js.map +1 -0
- package/dist/src/unstable/packaging/hex.d.ts +28 -0
- package/dist/src/unstable/packaging/hex.d.ts.map +1 -0
- package/dist/src/unstable/packaging/hex.js +225 -0
- package/dist/src/unstable/packaging/hex.js.map +1 -0
- package/dist/src/unstable/packaging/huggingface.d.ts +20 -0
- package/dist/src/unstable/packaging/huggingface.d.ts.map +1 -0
- package/dist/src/unstable/packaging/huggingface.js +123 -0
- package/dist/src/unstable/packaging/huggingface.js.map +1 -0
- package/dist/src/unstable/packaging/index.d.ts +54 -0
- package/dist/src/unstable/packaging/index.d.ts.map +1 -0
- package/dist/src/unstable/packaging/index.js +130 -0
- package/dist/src/unstable/packaging/index.js.map +1 -0
- package/dist/src/unstable/packaging/jsr.d.ts +30 -0
- package/dist/src/unstable/packaging/jsr.d.ts.map +1 -0
- package/dist/src/unstable/packaging/jsr.js +260 -0
- package/dist/src/unstable/packaging/jsr.js.map +1 -0
- package/dist/src/unstable/packaging/julia.d.ts +27 -0
- package/dist/src/unstable/packaging/julia.d.ts.map +1 -0
- package/dist/src/unstable/packaging/julia.js +193 -0
- package/dist/src/unstable/packaging/julia.js.map +1 -0
- package/dist/src/unstable/packaging/luarocks.d.ts +28 -0
- package/dist/src/unstable/packaging/luarocks.d.ts.map +1 -0
- package/dist/src/unstable/packaging/luarocks.js +184 -0
- package/dist/src/unstable/packaging/luarocks.js.map +1 -0
- package/dist/src/unstable/packaging/maven.d.ts +26 -0
- package/dist/src/unstable/packaging/maven.d.ts.map +1 -0
- package/dist/src/unstable/packaging/maven.js +450 -0
- package/dist/src/unstable/packaging/maven.js.map +1 -0
- package/dist/src/unstable/packaging/mojo.d.ts +30 -0
- package/dist/src/unstable/packaging/mojo.d.ts.map +1 -0
- package/dist/src/unstable/packaging/mojo.js +192 -0
- package/dist/src/unstable/packaging/mojo.js.map +1 -0
- package/dist/src/unstable/packaging/npm.d.ts +26 -0
- package/dist/src/unstable/packaging/npm.d.ts.map +1 -0
- package/dist/src/unstable/packaging/npm.js +214 -0
- package/dist/src/unstable/packaging/npm.js.map +1 -0
- package/dist/src/unstable/packaging/nuget.d.ts +26 -0
- package/dist/src/unstable/packaging/nuget.d.ts.map +1 -0
- package/dist/src/unstable/packaging/nuget.js +258 -0
- package/dist/src/unstable/packaging/nuget.js.map +1 -0
- package/dist/src/unstable/packaging/opam.d.ts +27 -0
- package/dist/src/unstable/packaging/opam.d.ts.map +1 -0
- package/dist/src/unstable/packaging/opam.js +298 -0
- package/dist/src/unstable/packaging/opam.js.map +1 -0
- package/dist/src/unstable/packaging/package-type.d.ts +19 -0
- package/dist/src/unstable/packaging/package-type.d.ts.map +1 -0
- package/dist/src/unstable/packaging/package-type.js +18 -0
- package/dist/src/unstable/packaging/package-type.js.map +1 -0
- package/dist/src/unstable/packaging/package-url.d.ts +44 -0
- package/dist/src/unstable/packaging/package-url.d.ts.map +1 -0
- package/dist/src/unstable/packaging/package-url.js +63 -0
- package/dist/src/unstable/packaging/package-url.js.map +1 -0
- package/dist/src/unstable/packaging/pub.d.ts +26 -0
- package/dist/src/unstable/packaging/pub.d.ts.map +1 -0
- package/dist/src/unstable/packaging/pub.js +335 -0
- package/dist/src/unstable/packaging/pub.js.map +1 -0
- package/dist/src/unstable/packaging/purl-match.d.ts +28 -0
- package/dist/src/unstable/packaging/purl-match.d.ts.map +1 -0
- package/dist/src/unstable/packaging/purl-match.js +35 -0
- package/dist/src/unstable/packaging/purl-match.js.map +1 -0
- package/dist/src/unstable/packaging/pypi.d.ts +23 -0
- package/dist/src/unstable/packaging/pypi.d.ts.map +1 -0
- package/dist/src/unstable/packaging/pypi.js +482 -0
- package/dist/src/unstable/packaging/pypi.js.map +1 -0
- package/dist/src/unstable/packaging/read.d.ts +17 -0
- package/dist/src/unstable/packaging/read.d.ts.map +1 -0
- package/dist/src/unstable/packaging/read.js +31 -0
- package/dist/src/unstable/packaging/read.js.map +1 -0
- package/dist/src/unstable/packaging/swift.d.ts +26 -0
- package/dist/src/unstable/packaging/swift.d.ts.map +1 -0
- package/dist/src/unstable/packaging/swift.js +165 -0
- package/dist/src/unstable/packaging/swift.js.map +1 -0
- package/dist/src/unstable/packaging/types.d.ts +43 -0
- package/dist/src/unstable/packaging/types.d.ts.map +1 -0
- package/dist/src/unstable/packaging/types.js +8 -0
- package/dist/src/unstable/packaging/types.js.map +1 -0
- package/dist/src/unstable/packaging/zig.d.ts +32 -0
- package/dist/src/unstable/packaging/zig.d.ts.map +1 -0
- package/dist/src/unstable/packaging/zig.js +176 -0
- package/dist/src/unstable/packaging/zig.js.map +1 -0
- package/dist/src/unstable/packs/dependency-resolution.d.ts +15 -0
- package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -0
- package/dist/src/unstable/packs/dependency-resolution.js +77 -0
- package/dist/src/unstable/packs/dependency-resolution.js.map +1 -0
- package/dist/src/unstable/packs/expansion.d.ts +64 -0
- package/dist/src/unstable/packs/expansion.d.ts.map +1 -0
- package/dist/src/unstable/packs/expansion.js +149 -0
- package/dist/src/unstable/packs/expansion.js.map +1 -0
- package/dist/src/unstable/packs/index.d.ts +30 -0
- package/dist/src/unstable/packs/index.d.ts.map +1 -0
- package/dist/src/unstable/packs/index.js +27 -0
- package/dist/src/unstable/packs/index.js.map +1 -0
- package/dist/src/unstable/packs/manager.d.ts +22 -0
- package/dist/src/unstable/packs/manager.d.ts.map +1 -0
- package/dist/src/unstable/packs/manager.js +132 -0
- package/dist/src/unstable/packs/manager.js.map +1 -0
- package/dist/src/unstable/packs/manifest-schema.d.ts +52 -0
- package/dist/src/unstable/packs/manifest-schema.d.ts.map +1 -0
- package/dist/src/unstable/packs/manifest-schema.js +33 -0
- package/dist/src/unstable/packs/manifest-schema.js.map +1 -0
- package/dist/src/unstable/packs/operations/add-to-pack.d.ts +43 -0
- package/dist/src/unstable/packs/operations/add-to-pack.d.ts.map +1 -0
- package/dist/src/unstable/packs/operations/add-to-pack.js +116 -0
- package/dist/src/unstable/packs/operations/add-to-pack.js.map +1 -0
- package/dist/src/unstable/packs/operations/hash-content.d.ts +2 -0
- package/dist/src/unstable/packs/operations/hash-content.d.ts.map +1 -0
- package/dist/src/unstable/packs/operations/hash-content.js +3 -0
- package/dist/src/unstable/packs/operations/hash-content.js.map +1 -0
- package/dist/src/unstable/packs/operations/install.d.ts +62 -0
- package/dist/src/unstable/packs/operations/install.d.ts.map +1 -0
- package/dist/src/unstable/packs/operations/install.js +78 -0
- package/dist/src/unstable/packs/operations/install.js.map +1 -0
- package/dist/src/unstable/packs/operations/new-pack.d.ts +38 -0
- package/dist/src/unstable/packs/operations/new-pack.d.ts.map +1 -0
- package/dist/src/unstable/packs/operations/new-pack.js +99 -0
- package/dist/src/unstable/packs/operations/new-pack.js.map +1 -0
- package/dist/src/unstable/packs/operations/publish.d.ts +40 -0
- package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -0
- package/dist/src/unstable/packs/operations/publish.js +133 -0
- package/dist/src/unstable/packs/operations/publish.js.map +1 -0
- package/dist/src/unstable/packs/operations/remove-from-pack.d.ts +43 -0
- package/dist/src/unstable/packs/operations/remove-from-pack.d.ts.map +1 -0
- package/dist/src/unstable/packs/operations/remove-from-pack.js +100 -0
- package/dist/src/unstable/packs/operations/remove-from-pack.js.map +1 -0
- package/dist/src/unstable/packs/operations/uninstall.d.ts +36 -0
- package/dist/src/unstable/packs/operations/uninstall.d.ts.map +1 -0
- package/dist/src/unstable/packs/operations/uninstall.js +86 -0
- package/dist/src/unstable/packs/operations/uninstall.js.map +1 -0
- package/dist/src/unstable/packs/operations/unpack.d.ts +35 -0
- package/dist/src/unstable/packs/operations/unpack.d.ts.map +1 -0
- package/dist/src/unstable/packs/operations/unpack.js +125 -0
- package/dist/src/unstable/packs/operations/unpack.js.map +1 -0
- package/dist/src/unstable/packs/paths.d.ts +29 -0
- package/dist/src/unstable/packs/paths.d.ts.map +1 -0
- package/dist/src/unstable/packs/paths.js +22 -0
- package/dist/src/unstable/packs/paths.js.map +1 -0
- package/dist/src/unstable/packs/reconciliation-adapter.d.ts +3 -0
- package/dist/src/unstable/packs/reconciliation-adapter.d.ts.map +1 -0
- package/dist/src/unstable/packs/reconciliation-adapter.js +312 -0
- package/dist/src/unstable/packs/reconciliation-adapter.js.map +1 -0
- package/dist/src/unstable/packs/refs.d.ts +15 -0
- package/dist/src/unstable/packs/refs.d.ts.map +1 -0
- package/dist/src/unstable/packs/refs.js +10 -0
- package/dist/src/unstable/packs/refs.js.map +1 -0
- package/dist/src/unstable/publish/archive-guardrails.d.ts +28 -0
- package/dist/src/unstable/publish/archive-guardrails.d.ts.map +1 -0
- package/dist/src/unstable/publish/archive-guardrails.js +222 -0
- package/dist/src/unstable/publish/archive-guardrails.js.map +1 -0
- package/dist/src/unstable/publish/index.d.ts +5 -0
- package/dist/src/unstable/publish/index.d.ts.map +1 -0
- package/dist/src/unstable/publish/index.js +5 -0
- package/dist/src/unstable/publish/index.js.map +1 -0
- package/dist/src/unstable/publish/ingest-limits.d.ts +25 -0
- package/dist/src/unstable/publish/ingest-limits.d.ts.map +1 -0
- package/dist/src/unstable/publish/ingest-limits.js +41 -0
- package/dist/src/unstable/publish/ingest-limits.js.map +1 -0
- package/dist/src/unstable/publish/input-normalization.d.ts +39 -0
- package/dist/src/unstable/publish/input-normalization.d.ts.map +1 -0
- package/dist/src/unstable/publish/input-normalization.js +85 -0
- package/dist/src/unstable/publish/input-normalization.js.map +1 -0
- package/dist/src/unstable/publish/manifest-policy.d.ts +171 -0
- package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -0
- package/dist/src/unstable/publish/manifest-policy.js +131 -0
- package/dist/src/unstable/publish/manifest-policy.js.map +1 -0
- package/dist/src/unstable/publish/test-zip-helpers.d.ts +13 -0
- package/dist/src/unstable/publish/test-zip-helpers.d.ts.map +1 -0
- package/dist/src/unstable/publish/test-zip-helpers.js +117 -0
- package/dist/src/unstable/publish/test-zip-helpers.js.map +1 -0
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +2632 -0
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -0
- package/dist/src/unstable/registry/__generated__/registry-client.js +1026 -0
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -0
- package/dist/src/unstable/registry/client.d.ts +182 -0
- package/dist/src/unstable/registry/client.d.ts.map +1 -0
- package/dist/src/unstable/registry/client.js +45 -0
- package/dist/src/unstable/registry/client.js.map +1 -0
- package/dist/src/unstable/registry/discover-schema.d.ts +74 -0
- package/dist/src/unstable/registry/discover-schema.d.ts.map +1 -0
- package/dist/src/unstable/registry/discover-schema.js +64 -0
- package/dist/src/unstable/registry/discover-schema.js.map +1 -0
- package/dist/src/unstable/registry/error-mapping.d.ts +98 -0
- package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -0
- package/dist/src/unstable/registry/error-mapping.js +307 -0
- package/dist/src/unstable/registry/error-mapping.js.map +1 -0
- package/dist/src/unstable/registry/index.d.ts +20 -0
- package/dist/src/unstable/registry/index.d.ts.map +1 -0
- package/dist/src/unstable/registry/index.js +21 -0
- package/dist/src/unstable/registry/index.js.map +1 -0
- package/dist/src/unstable/registry/local-client.d.ts +24 -0
- package/dist/src/unstable/registry/local-client.d.ts.map +1 -0
- package/dist/src/unstable/registry/local-client.js +355 -0
- package/dist/src/unstable/registry/local-client.js.map +1 -0
- package/dist/src/unstable/registry/remote-client.d.ts +24 -0
- package/dist/src/unstable/registry/remote-client.d.ts.map +1 -0
- package/dist/src/unstable/registry/remote-client.js +572 -0
- package/dist/src/unstable/registry/remote-client.js.map +1 -0
- package/dist/src/unstable/registry/schema.d.ts +85 -0
- package/dist/src/unstable/registry/schema.d.ts.map +1 -0
- package/dist/src/unstable/registry/schema.js +73 -0
- package/dist/src/unstable/registry/schema.js.map +1 -0
- package/dist/src/unstable/registry/utils.d.ts +33 -0
- package/dist/src/unstable/registry/utils.d.ts.map +1 -0
- package/dist/src/unstable/registry/utils.js +98 -0
- package/dist/src/unstable/registry/utils.js.map +1 -0
- package/dist/src/unstable/schema/format-issues.d.ts +13 -0
- package/dist/src/unstable/schema/format-issues.d.ts.map +1 -0
- package/dist/src/unstable/schema/format-issues.js +34 -0
- package/dist/src/unstable/schema/format-issues.js.map +1 -0
- package/dist/src/unstable/schema/index.d.ts +4 -0
- package/dist/src/unstable/schema/index.d.ts.map +1 -0
- package/dist/src/unstable/schema/index.js +3 -0
- package/dist/src/unstable/schema/index.js.map +1 -0
- package/dist/src/unstable/schema/read-and-validate-json-file.d.ts +20 -0
- package/dist/src/unstable/schema/read-and-validate-json-file.d.ts.map +1 -0
- package/dist/src/unstable/schema/read-and-validate-json-file.js +85 -0
- package/dist/src/unstable/schema/read-and-validate-json-file.js.map +1 -0
- package/dist/src/unstable/schema/types.d.ts +26 -0
- package/dist/src/unstable/schema/types.d.ts.map +1 -0
- package/dist/src/unstable/schema/types.js +2 -0
- package/dist/src/unstable/schema/types.js.map +1 -0
- package/dist/src/unstable/settings/format-preserving-json.d.ts +19 -0
- package/dist/src/unstable/settings/format-preserving-json.d.ts.map +1 -0
- package/dist/src/unstable/settings/format-preserving-json.js +11 -0
- package/dist/src/unstable/settings/format-preserving-json.js.map +1 -0
- package/dist/src/unstable/settings/ignored-patterns.d.ts +20 -0
- package/dist/src/unstable/settings/ignored-patterns.d.ts.map +1 -0
- package/dist/src/unstable/settings/ignored-patterns.js +46 -0
- package/dist/src/unstable/settings/ignored-patterns.js.map +1 -0
- package/dist/src/unstable/settings/index.d.ts +15 -0
- package/dist/src/unstable/settings/index.d.ts.map +1 -0
- package/dist/src/unstable/settings/index.js +15 -0
- package/dist/src/unstable/settings/index.js.map +1 -0
- package/dist/src/unstable/settings/schema.d.ts +478 -0
- package/dist/src/unstable/settings/schema.d.ts.map +1 -0
- package/dist/src/unstable/settings/schema.js +466 -0
- package/dist/src/unstable/settings/schema.js.map +1 -0
- package/dist/src/unstable/settings/settings.d.ts +185 -0
- package/dist/src/unstable/settings/settings.d.ts.map +1 -0
- package/dist/src/unstable/settings/settings.js +147 -0
- package/dist/src/unstable/settings/settings.js.map +1 -0
- package/dist/src/unstable/skills/disk-check.d.ts +13 -0
- package/dist/src/unstable/skills/disk-check.d.ts.map +1 -0
- package/dist/src/unstable/skills/disk-check.js +38 -0
- package/dist/src/unstable/skills/disk-check.js.map +1 -0
- package/dist/src/unstable/skills/index.d.ts +33 -0
- package/dist/src/unstable/skills/index.d.ts.map +1 -0
- package/dist/src/unstable/skills/index.js +29 -0
- package/dist/src/unstable/skills/index.js.map +1 -0
- package/dist/src/unstable/skills/managed-marker-ops.d.ts +23 -0
- package/dist/src/unstable/skills/managed-marker-ops.d.ts.map +1 -0
- package/dist/src/unstable/skills/managed-marker-ops.js +46 -0
- package/dist/src/unstable/skills/managed-marker-ops.js.map +1 -0
- package/dist/src/unstable/skills/manager.d.ts +24 -0
- package/dist/src/unstable/skills/manager.d.ts.map +1 -0
- package/dist/src/unstable/skills/manager.js +167 -0
- package/dist/src/unstable/skills/manager.js.map +1 -0
- package/dist/src/unstable/skills/manifest-schema.d.ts +48 -0
- package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -0
- package/dist/src/unstable/skills/manifest-schema.js +29 -0
- package/dist/src/unstable/skills/manifest-schema.js.map +1 -0
- package/dist/src/unstable/skills/materialization.d.ts +31 -0
- package/dist/src/unstable/skills/materialization.d.ts.map +1 -0
- package/dist/src/unstable/skills/materialization.js +105 -0
- package/dist/src/unstable/skills/materialization.js.map +1 -0
- package/dist/src/unstable/skills/operations/copy.d.ts +43 -0
- package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/copy.js +92 -0
- package/dist/src/unstable/skills/operations/copy.js.map +1 -0
- package/dist/src/unstable/skills/operations/disable.d.ts +41 -0
- package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/disable.js +131 -0
- package/dist/src/unstable/skills/operations/disable.js.map +1 -0
- package/dist/src/unstable/skills/operations/enable.d.ts +38 -0
- package/dist/src/unstable/skills/operations/enable.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/enable.js +84 -0
- package/dist/src/unstable/skills/operations/enable.js.map +1 -0
- package/dist/src/unstable/skills/operations/install-result.d.ts +31 -0
- package/dist/src/unstable/skills/operations/install-result.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/install-result.js +10 -0
- package/dist/src/unstable/skills/operations/install-result.js.map +1 -0
- package/dist/src/unstable/skills/operations/install.d.ts +73 -0
- package/dist/src/unstable/skills/operations/install.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/install.js +366 -0
- package/dist/src/unstable/skills/operations/install.js.map +1 -0
- package/dist/src/unstable/skills/operations/new-skill.d.ts +42 -0
- package/dist/src/unstable/skills/operations/new-skill.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/new-skill.js +125 -0
- package/dist/src/unstable/skills/operations/new-skill.js.map +1 -0
- package/dist/src/unstable/skills/operations/publish.d.ts +43 -0
- package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/publish.js +135 -0
- package/dist/src/unstable/skills/operations/publish.js.map +1 -0
- package/dist/src/unstable/skills/operations/rename.d.ts +34 -0
- package/dist/src/unstable/skills/operations/rename.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/rename.js +117 -0
- package/dist/src/unstable/skills/operations/rename.js.map +1 -0
- package/dist/src/unstable/skills/operations/uninstall.d.ts +39 -0
- package/dist/src/unstable/skills/operations/uninstall.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/uninstall.js +123 -0
- package/dist/src/unstable/skills/operations/uninstall.js.map +1 -0
- package/dist/src/unstable/skills/paths.d.ts +45 -0
- package/dist/src/unstable/skills/paths.d.ts.map +1 -0
- package/dist/src/unstable/skills/paths.js +26 -0
- package/dist/src/unstable/skills/paths.js.map +1 -0
- package/dist/src/unstable/skills/reconciliation-adapter.d.ts +4 -0
- package/dist/src/unstable/skills/reconciliation-adapter.d.ts.map +1 -0
- package/dist/src/unstable/skills/reconciliation-adapter.js +115 -0
- package/dist/src/unstable/skills/reconciliation-adapter.js.map +1 -0
- package/dist/src/unstable/skills/refs.d.ts +20 -0
- package/dist/src/unstable/skills/refs.d.ts.map +1 -0
- package/dist/src/unstable/skills/refs.js +11 -0
- package/dist/src/unstable/skills/refs.js.map +1 -0
- package/dist/src/unstable/skills/registry-ref-builder.d.ts +18 -0
- package/dist/src/unstable/skills/registry-ref-builder.d.ts.map +1 -0
- package/dist/src/unstable/skills/registry-ref-builder.js +24 -0
- package/dist/src/unstable/skills/registry-ref-builder.js.map +1 -0
- package/dist/src/unstable/skills/skill-content.d.ts +30 -0
- package/dist/src/unstable/skills/skill-content.d.ts.map +1 -0
- package/dist/src/unstable/skills/skill-content.js +69 -0
- package/dist/src/unstable/skills/skill-content.js.map +1 -0
- package/dist/src/unstable/skills/types.d.ts +22 -0
- package/dist/src/unstable/skills/types.d.ts.map +1 -0
- package/dist/src/unstable/skills/types.js +9 -0
- package/dist/src/unstable/skills/types.js.map +1 -0
- package/dist/src/unstable/skills/utils.d.ts +32 -0
- package/dist/src/unstable/skills/utils.d.ts.map +1 -0
- package/dist/src/unstable/skills/utils.js +56 -0
- package/dist/src/unstable/skills/utils.js.map +1 -0
- package/dist/src/unstable/source-resolution/discover-skills.d.ts +58 -0
- package/dist/src/unstable/source-resolution/discover-skills.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/discover-skills.js +218 -0
- package/dist/src/unstable/source-resolution/discover-skills.js.map +1 -0
- package/dist/src/unstable/source-resolution/index.d.ts +20 -0
- package/dist/src/unstable/source-resolution/index.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/index.js +23 -0
- package/dist/src/unstable/source-resolution/index.js.map +1 -0
- package/dist/src/unstable/source-resolution/parse-manifests.d.ts +16 -0
- package/dist/src/unstable/source-resolution/parse-manifests.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/parse-manifests.js +168 -0
- package/dist/src/unstable/source-resolution/parse-manifests.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/index.d.ts +11 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/index.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/index.js +11 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/index.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/print.d.ts +3 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/print.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/print.js +10 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/print.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.d.ts +5 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js +23 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts +10 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js +33 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts +11 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.js +40 -0
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/index.d.ts +12 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/index.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/index.js +12 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/index.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/print.d.ts +3 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/print.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/print.js +10 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/print.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.d.ts +11 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js +34 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts +9 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js +32 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/shorthand.d.ts +9 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/shorthand.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/shorthand.js +11 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/shorthand.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts +10 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.js +41 -0
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/git-hosting.d.ts +49 -0
- package/dist/src/unstable/source-resolution/providers/git-hosting.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/git-hosting.js +133 -0
- package/dist/src/unstable/source-resolution/providers/git-hosting.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/git.d.ts +19 -0
- package/dist/src/unstable/source-resolution/providers/git.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/git.js +31 -0
- package/dist/src/unstable/source-resolution/providers/git.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/index.d.ts +12 -0
- package/dist/src/unstable/source-resolution/providers/github/index.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/index.js +12 -0
- package/dist/src/unstable/source-resolution/providers/github/index.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/print.d.ts +3 -0
- package/dist/src/unstable/source-resolution/providers/github/print.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/print.js +10 -0
- package/dist/src/unstable/source-resolution/providers/github/print.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.d.ts +11 -0
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js +35 -0
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/scp.d.ts +9 -0
- package/dist/src/unstable/source-resolution/providers/github/scp.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/scp.js +32 -0
- package/dist/src/unstable/source-resolution/providers/github/scp.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/shorthand.d.ts +9 -0
- package/dist/src/unstable/source-resolution/providers/github/shorthand.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/shorthand.js +11 -0
- package/dist/src/unstable/source-resolution/providers/github/shorthand.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/url.d.ts +10 -0
- package/dist/src/unstable/source-resolution/providers/github/url.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/github/url.js +41 -0
- package/dist/src/unstable/source-resolution/providers/github/url.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/index.d.ts +12 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/index.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/index.js +12 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/index.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/print.d.ts +3 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/print.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/print.js +10 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/print.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.d.ts +11 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js +34 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts +9 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.js +32 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/shorthand.d.ts +9 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/shorthand.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/shorthand.js +11 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/shorthand.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts +10 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/url.js +41 -0
- package/dist/src/unstable/source-resolution/providers/gitlab/url.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/index.d.ts +9 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/index.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/index.js +9 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/index.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/parser.d.ts +14 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/parser.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/parser.js +14 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/parser.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/print.d.ts +3 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/print.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/print.js +2 -0
- package/dist/src/unstable/source-resolution/providers/local-parser/print.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/local.d.ts +21 -0
- package/dist/src/unstable/source-resolution/providers/local.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/local.js +66 -0
- package/dist/src/unstable/source-resolution/providers/local.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts +18 -0
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js +46 -0
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js.map +1 -0
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts +49 -0
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +321 -0
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-source-pattern.d.ts +28 -0
- package/dist/src/unstable/source-resolution/resolve-source-pattern.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js +112 -0
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-source.d.ts +73 -0
- package/dist/src/unstable/source-resolution/resolve-source.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-source.js +440 -0
- package/dist/src/unstable/source-resolution/resolve-source.js.map +1 -0
- package/dist/src/unstable/source-resolution/service.d.ts +69 -0
- package/dist/src/unstable/source-resolution/service.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/service.js +179 -0
- package/dist/src/unstable/source-resolution/service.js.map +1 -0
- package/dist/src/unstable/sources/index.d.ts +21 -0
- package/dist/src/unstable/sources/index.d.ts.map +1 -0
- package/dist/src/unstable/sources/index.js +20 -0
- package/dist/src/unstable/sources/index.js.map +1 -0
- package/dist/src/unstable/sources/parser.d.ts +76 -0
- package/dist/src/unstable/sources/parser.d.ts.map +1 -0
- package/dist/src/unstable/sources/parser.js +108 -0
- package/dist/src/unstable/sources/parser.js.map +1 -0
- package/dist/src/unstable/sources/printer.d.ts +24 -0
- package/dist/src/unstable/sources/printer.d.ts.map +1 -0
- package/dist/src/unstable/sources/printer.js +93 -0
- package/dist/src/unstable/sources/printer.js.map +1 -0
- package/dist/src/unstable/sources/provider.d.ts +65 -0
- package/dist/src/unstable/sources/provider.d.ts.map +1 -0
- package/dist/src/unstable/sources/provider.js +11 -0
- package/dist/src/unstable/sources/provider.js.map +1 -0
- package/dist/src/unstable/sources/source-to-lock-entry.d.ts +29 -0
- package/dist/src/unstable/sources/source-to-lock-entry.d.ts.map +1 -0
- package/dist/src/unstable/sources/source-to-lock-entry.js +111 -0
- package/dist/src/unstable/sources/source-to-lock-entry.js.map +1 -0
- package/dist/src/unstable/sources/types.d.ts +210 -0
- package/dist/src/unstable/sources/types.d.ts.map +1 -0
- package/dist/src/unstable/sources/types.js +101 -0
- package/dist/src/unstable/sources/types.js.map +1 -0
- package/dist/src/unstable/sources/utils.d.ts +9 -0
- package/dist/src/unstable/sources/utils.d.ts.map +1 -0
- package/dist/src/unstable/sources/utils.js +12 -0
- package/dist/src/unstable/sources/utils.js.map +1 -0
- package/dist/src/unstable/subagents/index.d.ts +23 -0
- package/dist/src/unstable/subagents/index.d.ts.map +1 -0
- package/dist/src/unstable/subagents/index.js +28 -0
- package/dist/src/unstable/subagents/index.js.map +1 -0
- package/dist/src/unstable/subagents/lock-entry-builder.d.ts +17 -0
- package/dist/src/unstable/subagents/lock-entry-builder.d.ts.map +1 -0
- package/dist/src/unstable/subagents/lock-entry-builder.js +108 -0
- package/dist/src/unstable/subagents/lock-entry-builder.js.map +1 -0
- package/dist/src/unstable/subagents/manager.d.ts +23 -0
- package/dist/src/unstable/subagents/manager.d.ts.map +1 -0
- package/dist/src/unstable/subagents/manager.js +266 -0
- package/dist/src/unstable/subagents/manager.js.map +1 -0
- package/dist/src/unstable/subagents/manifest-schema.d.ts +62 -0
- package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -0
- package/dist/src/unstable/subagents/manifest-schema.js +45 -0
- package/dist/src/unstable/subagents/manifest-schema.js.map +1 -0
- package/dist/src/unstable/subagents/operations/disable.d.ts +42 -0
- package/dist/src/unstable/subagents/operations/disable.d.ts.map +1 -0
- package/dist/src/unstable/subagents/operations/disable.js +114 -0
- package/dist/src/unstable/subagents/operations/disable.js.map +1 -0
- package/dist/src/unstable/subagents/operations/enable.d.ts +40 -0
- package/dist/src/unstable/subagents/operations/enable.d.ts.map +1 -0
- package/dist/src/unstable/subagents/operations/enable.js +136 -0
- package/dist/src/unstable/subagents/operations/enable.js.map +1 -0
- package/dist/src/unstable/subagents/operations/publish.d.ts +44 -0
- package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -0
- package/dist/src/unstable/subagents/operations/publish.js +164 -0
- package/dist/src/unstable/subagents/operations/publish.js.map +1 -0
- package/dist/src/unstable/subagents/paths.d.ts +57 -0
- package/dist/src/unstable/subagents/paths.d.ts.map +1 -0
- package/dist/src/unstable/subagents/paths.js +34 -0
- package/dist/src/unstable/subagents/paths.js.map +1 -0
- package/dist/src/unstable/subagents/reconciliation-adapter.d.ts +13 -0
- package/dist/src/unstable/subagents/reconciliation-adapter.d.ts.map +1 -0
- package/dist/src/unstable/subagents/reconciliation-adapter.js +124 -0
- package/dist/src/unstable/subagents/reconciliation-adapter.js.map +1 -0
- package/dist/src/unstable/subagents/refs.d.ts +17 -0
- package/dist/src/unstable/subagents/refs.d.ts.map +1 -0
- package/dist/src/unstable/subagents/refs.js +8 -0
- package/dist/src/unstable/subagents/refs.js.map +1 -0
- package/dist/src/unstable/subagents/registry-ref-builder.d.ts +18 -0
- package/dist/src/unstable/subagents/registry-ref-builder.d.ts.map +1 -0
- package/dist/src/unstable/subagents/registry-ref-builder.js +24 -0
- package/dist/src/unstable/subagents/registry-ref-builder.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/adapters/json.d.ts +17 -0
- package/dist/src/unstable/subagents/rendering/adapters/json.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/adapters/json.js +62 -0
- package/dist/src/unstable/subagents/rendering/adapters/json.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts +18 -0
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js +130 -0
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts +80 -0
- package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/adapters/roo.js +125 -0
- package/dist/src/unstable/subagents/rendering/adapters/roo.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts +17 -0
- package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/adapters/toml.js +79 -0
- package/dist/src/unstable/subagents/rendering/adapters/toml.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/index.d.ts +37 -0
- package/dist/src/unstable/subagents/rendering/index.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/index.js +83 -0
- package/dist/src/unstable/subagents/rendering/index.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/model-mapping.d.ts +31 -0
- package/dist/src/unstable/subagents/rendering/model-mapping.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/model-mapping.js +127 -0
- package/dist/src/unstable/subagents/rendering/model-mapping.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts +31 -0
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.js +169 -0
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/types.d.ts +100 -0
- package/dist/src/unstable/subagents/rendering/types.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/types.js +28 -0
- package/dist/src/unstable/subagents/rendering/types.js.map +1 -0
- package/dist/src/unstable/subagents/subagent-content.d.ts +82 -0
- package/dist/src/unstable/subagents/subagent-content.d.ts.map +1 -0
- package/dist/src/unstable/subagents/subagent-content.js +90 -0
- package/dist/src/unstable/subagents/subagent-content.js.map +1 -0
- package/dist/src/unstable/subagents/tool-access.d.ts +11 -0
- package/dist/src/unstable/subagents/tool-access.d.ts.map +1 -0
- package/dist/src/unstable/subagents/tool-access.js +15 -0
- package/dist/src/unstable/subagents/tool-access.js.map +1 -0
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts +701 -0
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts.map +1 -0
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.js +327 -0
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.js.map +1 -0
- package/dist/src/unstable/telemetry/client.d.ts +36 -0
- package/dist/src/unstable/telemetry/client.d.ts.map +1 -0
- package/dist/src/unstable/telemetry/client.js +87 -0
- package/dist/src/unstable/telemetry/client.js.map +1 -0
- package/dist/src/unstable/telemetry/index.d.ts +3 -0
- package/dist/src/unstable/telemetry/index.d.ts.map +1 -0
- package/dist/src/unstable/telemetry/index.js +3 -0
- package/dist/src/unstable/telemetry/index.js.map +1 -0
- package/dist/src/unstable/telemetry/mode.d.ts +11 -0
- package/dist/src/unstable/telemetry/mode.d.ts.map +1 -0
- package/dist/src/unstable/telemetry/mode.js +23 -0
- package/dist/src/unstable/telemetry/mode.js.map +1 -0
- package/dist/src/unstable/update-check/update-check.d.ts +101 -0
- package/dist/src/unstable/update-check/update-check.d.ts.map +1 -0
- package/dist/src/unstable/update-check/update-check.js +181 -0
- package/dist/src/unstable/update-check/update-check.js.map +1 -0
- package/dist/src/unstable/utils/build-zip-archive.d.ts +19 -0
- package/dist/src/unstable/utils/build-zip-archive.d.ts.map +1 -0
- package/dist/src/unstable/utils/build-zip-archive.js +66 -0
- package/dist/src/unstable/utils/build-zip-archive.js.map +1 -0
- package/dist/src/unstable/utils/create-symlink.d.ts +25 -0
- package/dist/src/unstable/utils/create-symlink.d.ts.map +1 -0
- package/dist/src/unstable/utils/create-symlink.js +89 -0
- package/dist/src/unstable/utils/create-symlink.js.map +1 -0
- package/dist/src/unstable/utils/environment.d.ts +37 -0
- package/dist/src/unstable/utils/environment.d.ts.map +1 -0
- package/dist/src/unstable/utils/environment.js +69 -0
- package/dist/src/unstable/utils/environment.js.map +1 -0
- package/dist/src/unstable/utils/fs-helpers.d.ts +25 -0
- package/dist/src/unstable/utils/fs-helpers.d.ts.map +1 -0
- package/dist/src/unstable/utils/fs-helpers.js +45 -0
- package/dist/src/unstable/utils/fs-helpers.js.map +1 -0
- package/dist/src/unstable/utils/glob.d.ts +35 -0
- package/dist/src/unstable/utils/glob.d.ts.map +1 -0
- package/dist/src/unstable/utils/glob.js +48 -0
- package/dist/src/unstable/utils/glob.js.map +1 -0
- package/dist/src/unstable/utils/index.d.ts +10 -0
- package/dist/src/unstable/utils/index.d.ts.map +1 -0
- package/dist/src/unstable/utils/index.js +10 -0
- package/dist/src/unstable/utils/index.js.map +1 -0
- package/dist/src/unstable/utils/integrity.d.ts +9 -0
- package/dist/src/unstable/utils/integrity.d.ts.map +1 -0
- package/dist/src/unstable/utils/integrity.js +13 -0
- package/dist/src/unstable/utils/integrity.js.map +1 -0
- package/dist/src/unstable/utils/network.d.ts +6 -0
- package/dist/src/unstable/utils/network.d.ts.map +1 -0
- package/dist/src/unstable/utils/network.js +6 -0
- package/dist/src/unstable/utils/network.js.map +1 -0
- package/dist/src/unstable/utils/path-safety.d.ts +6 -0
- package/dist/src/unstable/utils/path-safety.d.ts.map +1 -0
- package/dist/src/unstable/utils/path-safety.js +16 -0
- package/dist/src/unstable/utils/path-safety.js.map +1 -0
- package/dist/src/unstable/utils/resolve-parent-symlinks.d.ts +13 -0
- package/dist/src/unstable/utils/resolve-parent-symlinks.d.ts.map +1 -0
- package/dist/src/unstable/utils/resolve-parent-symlinks.js +19 -0
- package/dist/src/unstable/utils/resolve-parent-symlinks.js.map +1 -0
- package/dist/src/unstable/version-constraints/version-constraints.d.ts +61 -0
- package/dist/src/unstable/version-constraints/version-constraints.d.ts.map +1 -0
- package/dist/src/unstable/version-constraints/version-constraints.js +112 -0
- package/dist/src/unstable/version-constraints/version-constraints.js.map +1 -0
- package/dist/src/unstable/version-resolution/version-resolution.d.ts +39 -0
- package/dist/src/unstable/version-resolution/version-resolution.d.ts.map +1 -0
- package/dist/src/unstable/version-resolution/version-resolution.js +159 -0
- package/dist/src/unstable/version-resolution/version-resolution.js.map +1 -0
- package/dist/src/unstable/workflows/index.d.ts +9 -0
- package/dist/src/unstable/workflows/index.d.ts.map +1 -0
- package/dist/src/unstable/workflows/index.js +9 -0
- package/dist/src/unstable/workflows/index.js.map +1 -0
- package/dist/src/unstable/workflows/install-command/workflow.d.ts +50 -0
- package/dist/src/unstable/workflows/install-command/workflow.d.ts.map +1 -0
- package/dist/src/unstable/workflows/install-command/workflow.js +37 -0
- package/dist/src/unstable/workflows/install-command/workflow.js.map +1 -0
- package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts +38 -0
- package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts.map +1 -0
- package/dist/src/unstable/workflows/uninstall-command/workflow.js +26 -0
- package/dist/src/unstable/workflows/uninstall-command/workflow.js.map +1 -0
- package/dist/src/unstable/workspace/apply-plan.d.ts +29 -0
- package/dist/src/unstable/workspace/apply-plan.d.ts.map +1 -0
- package/dist/src/unstable/workspace/apply-plan.js +91 -0
- package/dist/src/unstable/workspace/apply-plan.js.map +1 -0
- package/dist/src/unstable/workspace/augment-plan.d.ts +33 -0
- package/dist/src/unstable/workspace/augment-plan.d.ts.map +1 -0
- package/dist/src/unstable/workspace/augment-plan.js +71 -0
- package/dist/src/unstable/workspace/augment-plan.js.map +1 -0
- package/dist/src/unstable/workspace/classifier-records.d.ts +39 -0
- package/dist/src/unstable/workspace/classifier-records.d.ts.map +1 -0
- package/dist/src/unstable/workspace/classifier-records.js +182 -0
- package/dist/src/unstable/workspace/classifier-records.js.map +1 -0
- package/dist/src/unstable/workspace/classifier.d.ts +62 -0
- package/dist/src/unstable/workspace/classifier.d.ts.map +1 -0
- package/dist/src/unstable/workspace/classifier.js +102 -0
- package/dist/src/unstable/workspace/classifier.js.map +1 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/index.d.ts +4 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/index.d.ts.map +1 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/index.js +4 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/index.js.map +1 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts +29 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts.map +1 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +256 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts +5 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts.map +1 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js +12 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js.map +1 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts +20 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts.map +1 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/types.js +17 -0
- package/dist/src/unstable/workspace/configured-entry-resolution/types.js.map +1 -0
- package/dist/src/unstable/workspace/display-plan.d.ts +18 -0
- package/dist/src/unstable/workspace/display-plan.d.ts.map +1 -0
- package/dist/src/unstable/workspace/display-plan.js +126 -0
- package/dist/src/unstable/workspace/display-plan.js.map +1 -0
- package/dist/src/unstable/workspace/doctor/check-def.d.ts +29 -0
- package/dist/src/unstable/workspace/doctor/check-def.d.ts.map +1 -0
- package/dist/src/unstable/workspace/doctor/check-def.js +17 -0
- package/dist/src/unstable/workspace/doctor/check-def.js.map +1 -0
- package/dist/src/unstable/workspace/doctor/checks/agents-configured.d.ts +5 -0
- package/dist/src/unstable/workspace/doctor/checks/agents-configured.d.ts.map +1 -0
- package/dist/src/unstable/workspace/doctor/checks/agents-configured.js +170 -0
- package/dist/src/unstable/workspace/doctor/checks/agents-configured.js.map +1 -0
- package/dist/src/unstable/workspace/doctor/checks/extensions-installed.d.ts +5 -0
- package/dist/src/unstable/workspace/doctor/checks/extensions-installed.d.ts.map +1 -0
- package/dist/src/unstable/workspace/doctor/checks/extensions-installed.js +472 -0
- package/dist/src/unstable/workspace/doctor/checks/extensions-installed.js.map +1 -0
- package/dist/src/unstable/workspace/doctor/checks/workspace-ready.d.ts +5 -0
- package/dist/src/unstable/workspace/doctor/checks/workspace-ready.d.ts.map +1 -0
- package/dist/src/unstable/workspace/doctor/checks/workspace-ready.js +201 -0
- package/dist/src/unstable/workspace/doctor/checks/workspace-ready.js.map +1 -0
- package/dist/src/unstable/workspace/doctor/diagnose.d.ts +49 -0
- package/dist/src/unstable/workspace/doctor/diagnose.d.ts.map +1 -0
- package/dist/src/unstable/workspace/doctor/diagnose.js +65 -0
- package/dist/src/unstable/workspace/doctor/diagnose.js.map +1 -0
- package/dist/src/unstable/workspace/doctor/index.d.ts +8 -0
- package/dist/src/unstable/workspace/doctor/index.d.ts.map +1 -0
- package/dist/src/unstable/workspace/doctor/index.js +6 -0
- package/dist/src/unstable/workspace/doctor/index.js.map +1 -0
- package/dist/src/unstable/workspace/doctor/rollup.d.ts +4 -0
- package/dist/src/unstable/workspace/doctor/rollup.d.ts.map +1 -0
- package/dist/src/unstable/workspace/doctor/rollup.js +28 -0
- package/dist/src/unstable/workspace/doctor/rollup.js.map +1 -0
- package/dist/src/unstable/workspace/doctor/runner.d.ts +6 -0
- package/dist/src/unstable/workspace/doctor/runner.d.ts.map +1 -0
- package/dist/src/unstable/workspace/doctor/runner.js +179 -0
- package/dist/src/unstable/workspace/doctor/runner.js.map +1 -0
- package/dist/src/unstable/workspace/doctor/types.d.ts +125 -0
- package/dist/src/unstable/workspace/doctor/types.d.ts.map +1 -0
- package/dist/src/unstable/workspace/doctor/types.js +58 -0
- package/dist/src/unstable/workspace/doctor/types.js.map +1 -0
- package/dist/src/unstable/workspace/index.d.ts +33 -0
- package/dist/src/unstable/workspace/index.d.ts.map +1 -0
- package/dist/src/unstable/workspace/index.js +46 -0
- package/dist/src/unstable/workspace/index.js.map +1 -0
- package/dist/src/unstable/workspace/initialization-interaction.d.ts +36 -0
- package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -0
- package/dist/src/unstable/workspace/initialization-interaction.js +41 -0
- package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -0
- package/dist/src/unstable/workspace/initialization.d.ts +225 -0
- package/dist/src/unstable/workspace/initialization.d.ts.map +1 -0
- package/dist/src/unstable/workspace/initialization.js +156 -0
- package/dist/src/unstable/workspace/initialization.js.map +1 -0
- package/dist/src/unstable/workspace/paths.d.ts +81 -0
- package/dist/src/unstable/workspace/paths.d.ts.map +1 -0
- package/dist/src/unstable/workspace/paths.js +95 -0
- package/dist/src/unstable/workspace/paths.js.map +1 -0
- package/dist/src/unstable/workspace/plan.d.ts +98 -0
- package/dist/src/unstable/workspace/plan.d.ts.map +1 -0
- package/dist/src/unstable/workspace/plan.js +12 -0
- package/dist/src/unstable/workspace/plan.js.map +1 -0
- package/dist/src/unstable/workspace/reconciliation-types.d.ts +75 -0
- package/dist/src/unstable/workspace/reconciliation-types.d.ts.map +1 -0
- package/dist/src/unstable/workspace/reconciliation-types.js +2 -0
- package/dist/src/unstable/workspace/reconciliation-types.js.map +1 -0
- package/dist/src/unstable/workspace/reconciliation.d.ts +34 -0
- package/dist/src/unstable/workspace/reconciliation.d.ts.map +1 -0
- package/dist/src/unstable/workspace/reconciliation.js +201 -0
- package/dist/src/unstable/workspace/reconciliation.js.map +1 -0
- package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts +26 -0
- package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts.map +1 -0
- package/dist/src/unstable/workspace/resolve-plan-interaction.js +35 -0
- package/dist/src/unstable/workspace/resolve-plan-interaction.js.map +1 -0
- package/dist/src/unstable/workspace/resolve-plan.d.ts +45 -0
- package/dist/src/unstable/workspace/resolve-plan.d.ts.map +1 -0
- package/dist/src/unstable/workspace/resolve-plan.js +128 -0
- package/dist/src/unstable/workspace/resolve-plan.js.map +1 -0
- package/dist/src/unstable/workspace/scan-plan-readiness.d.ts +22 -0
- package/dist/src/unstable/workspace/scan-plan-readiness.d.ts.map +1 -0
- package/dist/src/unstable/workspace/scan-plan-readiness.js +41 -0
- package/dist/src/unstable/workspace/scan-plan-readiness.js.map +1 -0
- package/dist/src/unstable/workspace/scope.d.ts +11 -0
- package/dist/src/unstable/workspace/scope.d.ts.map +1 -0
- package/dist/src/unstable/workspace/scope.js +10 -0
- package/dist/src/unstable/workspace/scope.js.map +1 -0
- package/dist/src/unstable/workspace/service-interface.d.ts +357 -0
- package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -0
- package/dist/src/unstable/workspace/service-interface.js +27 -0
- package/dist/src/unstable/workspace/service-interface.js.map +1 -0
- package/dist/src/unstable/workspace/service.d.ts +1055 -0
- package/dist/src/unstable/workspace/service.d.ts.map +1 -0
- package/dist/src/unstable/workspace/service.js +1062 -0
- package/dist/src/unstable/workspace/service.js.map +1 -0
- package/dist/src/unstable/workspace/settings-validation/detect-blockers.d.ts +7 -0
- package/dist/src/unstable/workspace/settings-validation/detect-blockers.d.ts.map +1 -0
- package/dist/src/unstable/workspace/settings-validation/detect-blockers.js +107 -0
- package/dist/src/unstable/workspace/settings-validation/detect-blockers.js.map +1 -0
- package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.d.ts +18 -0
- package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.d.ts.map +1 -0
- package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.js +201 -0
- package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.js.map +1 -0
- package/dist/src/unstable/workspace/settings-validation/index.d.ts +4 -0
- package/dist/src/unstable/workspace/settings-validation/index.d.ts.map +1 -0
- package/dist/src/unstable/workspace/settings-validation/index.js +3 -0
- package/dist/src/unstable/workspace/settings-validation/index.js.map +1 -0
- package/dist/src/unstable/workspace/settings-validation/types.d.ts +16 -0
- package/dist/src/unstable/workspace/settings-validation/types.d.ts.map +1 -0
- package/dist/src/unstable/workspace/settings-validation/types.js +2 -0
- package/dist/src/unstable/workspace/settings-validation/types.js.map +1 -0
- package/dist/src/unstable/workspace/skill-snapshot.d.ts +77 -0
- package/dist/src/unstable/workspace/skill-snapshot.d.ts.map +1 -0
- package/dist/src/unstable/workspace/skill-snapshot.js +117 -0
- package/dist/src/unstable/workspace/skill-snapshot.js.map +1 -0
- package/dist/src/unstable/workspace/source-metadata.d.ts +42 -0
- package/dist/src/unstable/workspace/source-metadata.d.ts.map +1 -0
- package/dist/src/unstable/workspace/source-metadata.js +96 -0
- package/dist/src/unstable/workspace/source-metadata.js.map +1 -0
- package/dist/src/unstable/workspace/sync.d.ts +17 -0
- package/dist/src/unstable/workspace/sync.d.ts.map +1 -0
- package/dist/src/unstable/workspace/sync.js +142 -0
- package/dist/src/unstable/workspace/sync.js.map +1 -0
- package/dist/src/unstable/workspace/taxonomy-types.d.ts +119 -0
- package/dist/src/unstable/workspace/taxonomy-types.d.ts.map +1 -0
- package/dist/src/unstable/workspace/taxonomy-types.js +10 -0
- package/dist/src/unstable/workspace/taxonomy-types.js.map +1 -0
- package/dist/src/unstable/workspace/test-stubs.d.ts +146 -0
- package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -0
- package/dist/src/unstable/workspace/test-stubs.js +245 -0
- package/dist/src/unstable/workspace/test-stubs.js.map +1 -0
- package/package.json +202 -0
- package/site-content/INSTALL.md +189 -0
- package/site-content/__generated__/schemas/axm-lock.schema.json +1642 -0
- package/site-content/__generated__/schemas/axm-package-meta.schema.json +34 -0
- package/site-content/__generated__/schemas/command.schema.json +179 -0
- package/site-content/__generated__/schemas/extension-pack.schema.json +221 -0
- package/site-content/__generated__/schemas/mcp-server.schema.json +179 -0
- package/site-content/__generated__/schemas/settings.schema.json +483 -0
- package/site-content/__generated__/schemas/skill.schema.json +192 -0
- package/site-content/docs/config.json +3 -0
- package/site-content/docs/quickstart.md +236 -0
- package/site-content/install.sh +146 -0
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Command extension manager service.
|
|
3
|
+
*
|
|
4
|
+
* Implements ExtensionManager<CommandExtensionRef> with support for all ref
|
|
5
|
+
* types (registry, git-hosted, local). Delegates to existing command
|
|
6
|
+
* materialization functions and workspace service methods.
|
|
7
|
+
*
|
|
8
|
+
* @experimental This API is unstable and may change without notice.
|
|
9
|
+
*/
|
|
10
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
11
|
+
import * as Effect from "effect/Effect";
|
|
12
|
+
import * as Layer from "effect/Layer";
|
|
13
|
+
import * as Option from "effect/Option";
|
|
14
|
+
import * as FileSystem from "effect/FileSystem";
|
|
15
|
+
import * as Path from "effect/Path";
|
|
16
|
+
import { makeAppError } from "../app-error/index.js";
|
|
17
|
+
import { computeIntegrity, isPathSafe, stripFileProtocol } from "../utils/index.js";
|
|
18
|
+
import { Workspace } from "../workspace/service-interface.js";
|
|
19
|
+
import { EXTERNAL_EXTENSIONS_DIR, REGISTRY_EXTENSIONS_DIR } from "../extensions/index.js";
|
|
20
|
+
import { copyExtensionDirectory, validatePathSafety } from "../extensions/utils.js";
|
|
21
|
+
import { createRegistryClient, extractZip } from "../registry/index.js";
|
|
22
|
+
import { validateExactResolvedVersion } from "../lockfile/index.js";
|
|
23
|
+
import { decodeExactSemverVersionSync } from "../version-constraints/version-constraints.js";
|
|
24
|
+
import { checkInstalledOnDisk } from "./operations/shared-command-helpers.js";
|
|
25
|
+
// -----------------------------------------------------------------------------
|
|
26
|
+
// Service Tag
|
|
27
|
+
// -----------------------------------------------------------------------------
|
|
28
|
+
export class CommandManager extends ServiceMap.Service()("axm.sh/CommandManager") {
|
|
29
|
+
}
|
|
30
|
+
// Build lock entry from registry ref
|
|
31
|
+
const buildCommandLockEntry = (ref, now) => ({
|
|
32
|
+
type: "registry",
|
|
33
|
+
owner: ref.owner,
|
|
34
|
+
name: ref.name,
|
|
35
|
+
resolvedVersion: decodeExactSemverVersionSync(ref.version),
|
|
36
|
+
integrity: Option.getOrElse(ref.integrity, () => ""),
|
|
37
|
+
sourceName: "default",
|
|
38
|
+
agents: [],
|
|
39
|
+
installedAt: now,
|
|
40
|
+
updatedAt: now,
|
|
41
|
+
});
|
|
42
|
+
// Build lock entry for git-hosted refs
|
|
43
|
+
const buildGitHostedCommandLockEntry = (ref, now) => {
|
|
44
|
+
const source = ref.source;
|
|
45
|
+
switch (source.type) {
|
|
46
|
+
case "github":
|
|
47
|
+
return {
|
|
48
|
+
type: "github",
|
|
49
|
+
owner: source.owner,
|
|
50
|
+
repo: source.repo,
|
|
51
|
+
...(Option.isSome(source.ref) ? { ref: source.ref.value } : {}),
|
|
52
|
+
...(Option.isSome(source.subPath) ? { path: source.subPath.value } : {}),
|
|
53
|
+
...(Option.isSome(ref.gitTreeSha) ? { gitTreeHash: ref.gitTreeSha.value } : {}),
|
|
54
|
+
agents: [],
|
|
55
|
+
installedAt: now,
|
|
56
|
+
updatedAt: now,
|
|
57
|
+
};
|
|
58
|
+
case "gitlab":
|
|
59
|
+
return {
|
|
60
|
+
type: "gitlab",
|
|
61
|
+
owner: source.owner,
|
|
62
|
+
repo: source.repo,
|
|
63
|
+
...(Option.isSome(source.ref) ? { ref: source.ref.value } : {}),
|
|
64
|
+
...(Option.isSome(source.subPath) ? { path: source.subPath.value } : {}),
|
|
65
|
+
...(Option.isSome(ref.gitTreeSha) ? { gitTreeHash: ref.gitTreeSha.value } : {}),
|
|
66
|
+
agents: [],
|
|
67
|
+
installedAt: now,
|
|
68
|
+
updatedAt: now,
|
|
69
|
+
};
|
|
70
|
+
case "bitbucket":
|
|
71
|
+
return {
|
|
72
|
+
type: "bitbucket",
|
|
73
|
+
owner: source.owner,
|
|
74
|
+
repo: source.repo,
|
|
75
|
+
...(Option.isSome(source.ref) ? { ref: source.ref.value } : {}),
|
|
76
|
+
...(Option.isSome(source.subPath) ? { path: source.subPath.value } : {}),
|
|
77
|
+
...(Option.isSome(ref.gitTreeSha) ? { gitTreeHash: ref.gitTreeSha.value } : {}),
|
|
78
|
+
agents: [],
|
|
79
|
+
installedAt: now,
|
|
80
|
+
updatedAt: now,
|
|
81
|
+
};
|
|
82
|
+
case "azurerepos":
|
|
83
|
+
return {
|
|
84
|
+
type: "azurerepos",
|
|
85
|
+
organization: source.organization,
|
|
86
|
+
project: source.project,
|
|
87
|
+
repo: source.repo,
|
|
88
|
+
...(Option.isSome(source.ref) ? { ref: source.ref.value } : {}),
|
|
89
|
+
...(Option.isSome(source.subPath) ? { path: source.subPath.value } : {}),
|
|
90
|
+
...(Option.isSome(ref.gitTreeSha) ? { gitTreeHash: ref.gitTreeSha.value } : {}),
|
|
91
|
+
agents: [],
|
|
92
|
+
installedAt: now,
|
|
93
|
+
updatedAt: now,
|
|
94
|
+
};
|
|
95
|
+
case "git":
|
|
96
|
+
return {
|
|
97
|
+
type: "git",
|
|
98
|
+
url: source.url.href,
|
|
99
|
+
...(Option.isSome(source.ref) ? { ref: source.ref.value } : {}),
|
|
100
|
+
...(Option.isSome(ref.gitTreeSha) ? { gitTreeHash: ref.gitTreeSha.value } : {}),
|
|
101
|
+
agents: [],
|
|
102
|
+
installedAt: now,
|
|
103
|
+
updatedAt: now,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
// Build lock entry for local refs
|
|
108
|
+
const buildLocalCommandLockEntry = (ref, now) => ({
|
|
109
|
+
type: "local",
|
|
110
|
+
path: ref.source.path,
|
|
111
|
+
agents: [],
|
|
112
|
+
installedAt: now,
|
|
113
|
+
updatedAt: now,
|
|
114
|
+
});
|
|
115
|
+
/**
|
|
116
|
+
* Build a CommandLockEntry from any ref type.
|
|
117
|
+
*/
|
|
118
|
+
export const buildLockEntryFromRef = (ref, now) => {
|
|
119
|
+
switch (ref.refType) {
|
|
120
|
+
case "registry":
|
|
121
|
+
return buildCommandLockEntry(ref, now);
|
|
122
|
+
case "git-hosted":
|
|
123
|
+
return buildGitHostedCommandLockEntry(ref, now);
|
|
124
|
+
case "local":
|
|
125
|
+
return buildLocalCommandLockEntry(ref, now);
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
// NOTE: manager.ts previously only checked registry dirs; the shared
|
|
129
|
+
// checkInstalledOnDisk also checks the external extensions dir, which is
|
|
130
|
+
// strictly more thorough and correct for detecting locally/git-installed
|
|
131
|
+
// commands.
|
|
132
|
+
// -----------------------------------------------------------------------------
|
|
133
|
+
// Live Layer
|
|
134
|
+
// -----------------------------------------------------------------------------
|
|
135
|
+
export const CommandManagerLive = Layer.effect(CommandManager, Effect.gen(function* () {
|
|
136
|
+
const ws = yield* Workspace;
|
|
137
|
+
const fs = yield* FileSystem.FileSystem;
|
|
138
|
+
const path = yield* Path.Path;
|
|
139
|
+
const baseDir = ws.baseDir;
|
|
140
|
+
// Build a layer to provide FileSystem + Path to inner effects
|
|
141
|
+
const fsPathLayer = Layer.merge(Layer.succeed(FileSystem.FileSystem, fs), Layer.succeed(Path.Path, path));
|
|
142
|
+
const provide = (effect) => Effect.provide(effect, fsPathLayer);
|
|
143
|
+
// --- Registry materialization ---
|
|
144
|
+
// NOTE: Materialization logic here mirrors install.ts but differs structurally:
|
|
145
|
+
// manager.ts captures fs/path/baseDir from the Layer constructor and uses a
|
|
146
|
+
// `provide` helper for inner effects, while install.ts yields services from
|
|
147
|
+
// the generator. Consolidating would require an architectural change to one
|
|
148
|
+
// of the two patterns.
|
|
149
|
+
const materializeFromRegistry = (ref) => Effect.gen(function* () {
|
|
150
|
+
const canonicalPath = path.join(baseDir, REGISTRY_EXTENSIONS_DIR, ref.owner, "commands", ref.name);
|
|
151
|
+
if (!isPathSafe(baseDir, canonicalPath)) {
|
|
152
|
+
return yield* makeAppError({
|
|
153
|
+
code: "INSTALL_COMMAND_PATH_TRAVERSAL",
|
|
154
|
+
what: `Path traversal detected: ${canonicalPath}`,
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
const canonicalExists = yield* fs.exists(canonicalPath).pipe(Effect.mapError((e) => makeAppError({
|
|
158
|
+
code: "INSTALL_COMMAND_PATH_CHECK_FAILED",
|
|
159
|
+
what: `Failed to check if canonical path exists: ${canonicalPath}`,
|
|
160
|
+
cause: e,
|
|
161
|
+
})));
|
|
162
|
+
const useExisting = Option.isNone(ref.integrity) && canonicalExists;
|
|
163
|
+
if (!useExisting) {
|
|
164
|
+
const locationStr = ref.source.location.protocol === "file:"
|
|
165
|
+
? ref.source.location.pathname
|
|
166
|
+
: ref.source.location.href;
|
|
167
|
+
const client = yield* provide(createRegistryClient(locationStr));
|
|
168
|
+
const { archive } = yield* client.getExtensionPackage({
|
|
169
|
+
owner: ref.owner,
|
|
170
|
+
type: "command",
|
|
171
|
+
name: ref.name,
|
|
172
|
+
version: Option.some(ref.version),
|
|
173
|
+
});
|
|
174
|
+
if (Option.isSome(ref.integrity)) {
|
|
175
|
+
const actualIntegrity = yield* computeIntegrity(archive);
|
|
176
|
+
if (actualIntegrity !== ref.integrity.value) {
|
|
177
|
+
return yield* makeAppError({
|
|
178
|
+
code: "INSTALL_COMMAND_INTEGRITY_MISMATCH",
|
|
179
|
+
what: `Integrity mismatch for ${ref.name}@${ref.version}`,
|
|
180
|
+
details: [`Expected ${ref.integrity.value}, got ${actualIntegrity}`],
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
const tmpDir = yield* fs.makeTempDirectory().pipe(Effect.mapError((e) => makeAppError({
|
|
185
|
+
code: "INSTALL_COMMAND_TEMP_DIR_FAILED",
|
|
186
|
+
what: `Failed to create temporary directory for registry install`,
|
|
187
|
+
cause: e,
|
|
188
|
+
})));
|
|
189
|
+
yield* Effect.ensuring(Effect.gen(function* () {
|
|
190
|
+
yield* provide(extractZip(archive, tmpDir));
|
|
191
|
+
yield* fs.remove(canonicalPath, { recursive: true }).pipe(Effect.ignore);
|
|
192
|
+
yield* fs.makeDirectory(canonicalPath, { recursive: true }).pipe(Effect.mapError((e) => makeAppError({
|
|
193
|
+
code: "INSTALL_COMMAND_COPY_FAILED",
|
|
194
|
+
what: `Failed to create canonical directory: ${canonicalPath}`,
|
|
195
|
+
cause: e,
|
|
196
|
+
})));
|
|
197
|
+
const entries = yield* fs.readDirectory(tmpDir).pipe(Effect.mapError((e) => makeAppError({
|
|
198
|
+
code: "INSTALL_COMMAND_COPY_FAILED",
|
|
199
|
+
what: `Failed to read extracted directory`,
|
|
200
|
+
cause: e,
|
|
201
|
+
})));
|
|
202
|
+
yield* Effect.forEach(entries, (entry) => {
|
|
203
|
+
const src = path.join(tmpDir, entry);
|
|
204
|
+
const dest = path.join(canonicalPath, entry);
|
|
205
|
+
return fs.copy(src, dest).pipe(Effect.ignore);
|
|
206
|
+
}, { concurrency: "unbounded" });
|
|
207
|
+
}), fs.remove(tmpDir, { recursive: true }).pipe(Effect.ignore));
|
|
208
|
+
}
|
|
209
|
+
return canonicalPath;
|
|
210
|
+
});
|
|
211
|
+
// --- Git-hosted materialization ---
|
|
212
|
+
const materializeFromGitHosted = (ref) => Effect.gen(function* () {
|
|
213
|
+
const canonicalPath = path.join(baseDir, EXTERNAL_EXTENSIONS_DIR, "commands", ref.command.name);
|
|
214
|
+
yield* validatePathSafety(baseDir, canonicalPath, "INSTALL_COMMAND_PATH_TRAVERSAL");
|
|
215
|
+
const sourcePath = stripFileProtocol(ref.location);
|
|
216
|
+
yield* fs.remove(canonicalPath, { recursive: true }).pipe(Effect.ignore);
|
|
217
|
+
yield* provide(copyExtensionDirectory(sourcePath, canonicalPath).pipe(Effect.mapError((e) => makeAppError({
|
|
218
|
+
code: "INSTALL_COMMAND_COPY_FAILED",
|
|
219
|
+
what: `Failed to copy command files to ${canonicalPath}`,
|
|
220
|
+
cause: e,
|
|
221
|
+
}))));
|
|
222
|
+
return canonicalPath;
|
|
223
|
+
});
|
|
224
|
+
// --- Local materialization ---
|
|
225
|
+
const materializeFromLocal = (ref) => Effect.gen(function* () {
|
|
226
|
+
const canonicalPath = path.join(baseDir, EXTERNAL_EXTENSIONS_DIR, "commands", ref.command.name);
|
|
227
|
+
yield* validatePathSafety(baseDir, canonicalPath, "INSTALL_COMMAND_PATH_TRAVERSAL");
|
|
228
|
+
const sourcePath = stripFileProtocol(ref.location);
|
|
229
|
+
const isSelfCopy = path.resolve(sourcePath) === path.resolve(canonicalPath);
|
|
230
|
+
if (!isSelfCopy) {
|
|
231
|
+
yield* fs.remove(canonicalPath, { recursive: true }).pipe(Effect.ignore);
|
|
232
|
+
yield* provide(copyExtensionDirectory(sourcePath, canonicalPath).pipe(Effect.mapError((e) => makeAppError({
|
|
233
|
+
code: "INSTALL_COMMAND_COPY_FAILED",
|
|
234
|
+
what: `Failed to copy command files to ${canonicalPath}`,
|
|
235
|
+
cause: e,
|
|
236
|
+
}))));
|
|
237
|
+
}
|
|
238
|
+
return canonicalPath;
|
|
239
|
+
});
|
|
240
|
+
const materializeInstall = Effect.fn("CommandManager.materializeInstall")(function* ({ ref }) {
|
|
241
|
+
switch (ref.refType) {
|
|
242
|
+
case "registry":
|
|
243
|
+
yield* materializeFromRegistry(ref);
|
|
244
|
+
break;
|
|
245
|
+
case "git-hosted":
|
|
246
|
+
yield* materializeFromGitHosted(ref);
|
|
247
|
+
break;
|
|
248
|
+
case "local":
|
|
249
|
+
yield* materializeFromLocal(ref);
|
|
250
|
+
break;
|
|
251
|
+
}
|
|
252
|
+
}, Effect.asVoid);
|
|
253
|
+
const materializeUninstall = Effect.fn("CommandManager.materializeUninstall")(function* ({ target }) {
|
|
254
|
+
// Remove from registry extensions dirs
|
|
255
|
+
const extensionsDir = path.join(baseDir, REGISTRY_EXTENSIONS_DIR);
|
|
256
|
+
const extensionsDirExists = yield* fs
|
|
257
|
+
.exists(extensionsDir)
|
|
258
|
+
.pipe(Effect.catch(() => Effect.succeed(false)));
|
|
259
|
+
if (extensionsDirExists) {
|
|
260
|
+
const scopeDirs = yield* fs
|
|
261
|
+
.readDirectory(extensionsDir)
|
|
262
|
+
.pipe(Effect.catch(() => Effect.succeed([])));
|
|
263
|
+
yield* Effect.forEach(scopeDirs, (scopeDir) => {
|
|
264
|
+
if (!scopeDir.startsWith("@"))
|
|
265
|
+
return Effect.void;
|
|
266
|
+
const cmdPath = path.join(extensionsDir, scopeDir, "commands", target.name);
|
|
267
|
+
return fs.remove(cmdPath, { recursive: true }).pipe(Effect.catch(() => Effect.void));
|
|
268
|
+
}, { concurrency: "unbounded" });
|
|
269
|
+
}
|
|
270
|
+
// Remove from external extensions dir
|
|
271
|
+
const externalPath = path.join(baseDir, EXTERNAL_EXTENSIONS_DIR, "commands", target.name);
|
|
272
|
+
yield* fs.remove(externalPath, { recursive: true }).pipe(Effect.catch(() => Effect.void));
|
|
273
|
+
}, Effect.asVoid);
|
|
274
|
+
return {
|
|
275
|
+
type: "command",
|
|
276
|
+
isInstalled: Effect.fn("CommandManager.isInstalled")(function* ({ target, }) {
|
|
277
|
+
const installedCommands = yield* ws.getInstalledCommands();
|
|
278
|
+
if (target.name in installedCommands) {
|
|
279
|
+
return true;
|
|
280
|
+
}
|
|
281
|
+
return yield* checkInstalledOnDisk(fs, path, baseDir, target.name);
|
|
282
|
+
}),
|
|
283
|
+
materializeInstall,
|
|
284
|
+
materializeUninstall,
|
|
285
|
+
upsertSettingsEntry: ({ ref, }) => {
|
|
286
|
+
const now = new Date();
|
|
287
|
+
const lockEntry = buildLockEntryFromRef(ref, now);
|
|
288
|
+
if (lockEntry.type === "registry") {
|
|
289
|
+
return validateExactResolvedVersion(`commands.${ref.command.name}.resolvedVersion`, lockEntry.resolvedVersion).pipe(Effect.flatMap(() => ws.setCommand({ name: ref.command.name, lockEntry })), Effect.withSpan("CommandManager.upsertSettingsEntry"));
|
|
290
|
+
}
|
|
291
|
+
return ws
|
|
292
|
+
.setCommand({ name: ref.command.name, lockEntry })
|
|
293
|
+
.pipe(Effect.withSpan("CommandManager.upsertSettingsEntry"));
|
|
294
|
+
},
|
|
295
|
+
removeSettingsEntry: ({ target }) => ws
|
|
296
|
+
.removeCommandSettings(target.name)
|
|
297
|
+
.pipe(Effect.withSpan("CommandManager.removeSettingsEntry")),
|
|
298
|
+
upsertLockfileEntry: ({ ref }) => {
|
|
299
|
+
const now = new Date();
|
|
300
|
+
const lockEntry = buildLockEntryFromRef(ref, now);
|
|
301
|
+
if (lockEntry.type === "registry") {
|
|
302
|
+
return validateExactResolvedVersion(`commands.${ref.command.name}.resolvedVersion`, lockEntry.resolvedVersion).pipe(Effect.flatMap(() => ws.setCommandLock({ name: ref.command.name, lockEntry })), Effect.withSpan("CommandManager.upsertLockfileEntry"));
|
|
303
|
+
}
|
|
304
|
+
return ws
|
|
305
|
+
.setCommandLock({ name: ref.command.name, lockEntry })
|
|
306
|
+
.pipe(Effect.withSpan("CommandManager.upsertLockfileEntry"));
|
|
307
|
+
},
|
|
308
|
+
removeLockfileEntry: ({ target }) => ws
|
|
309
|
+
.removeCommandLock(target.name)
|
|
310
|
+
.pipe(Effect.withSpan("CommandManager.removeLockfileEntry")),
|
|
311
|
+
};
|
|
312
|
+
}));
|
|
313
|
+
//# sourceMappingURL=manager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../../src/unstable/commands/manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,uBA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AA+C,EAAE,EAAE,CAC/E,EAAE;aACC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC;aAC9B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,oCAAoC,CAAC,CAAC;KACjB,CAAC;AACpD,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Command manifest schema definition.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is unstable and may change without notice.
|
|
5
|
+
*/
|
|
6
|
+
import * as Schema from "effect/Schema";
|
|
7
|
+
/**
|
|
8
|
+
* Filename for command manifest files.
|
|
9
|
+
*
|
|
10
|
+
* @experimental This API is unstable and may change without notice.
|
|
11
|
+
*/
|
|
12
|
+
export declare const COMMAND_MANIFEST_FILENAME = "command.json";
|
|
13
|
+
/**
|
|
14
|
+
* URL for the command manifest JSON Schema.
|
|
15
|
+
*
|
|
16
|
+
* @experimental This API is unstable and may change without notice.
|
|
17
|
+
*/
|
|
18
|
+
export declare const COMMAND_MANIFEST_SCHEMA_URL = "https://axm.sh/schemas/command.schema.json";
|
|
19
|
+
/**
|
|
20
|
+
* Schema for command manifest files (command.json).
|
|
21
|
+
*
|
|
22
|
+
* Commands provide executable CLI functionality that can be
|
|
23
|
+
* registered and invoked through the AXM CLI.
|
|
24
|
+
*
|
|
25
|
+
* @experimental This API is unstable and may change without notice.
|
|
26
|
+
*/
|
|
27
|
+
export declare const CommandManifestSchema: Schema.Struct<{
|
|
28
|
+
readonly type: Schema.Literal<"command">;
|
|
29
|
+
readonly name: Schema.brand<Schema.String, "ExtensionName">;
|
|
30
|
+
readonly agents: Schema.optional<Schema.$Array<Schema.String>>;
|
|
31
|
+
readonly agentOverrides: Schema.optional<Schema.$Record<Schema.String, Schema.$Record<Schema.String, Schema.Unknown>>>;
|
|
32
|
+
readonly owner: Schema.brand<Schema.String, "Handle">;
|
|
33
|
+
readonly version: Schema.brand<Schema.String, "ExactSemverVersion">;
|
|
34
|
+
readonly description: Schema.optional<Schema.String>;
|
|
35
|
+
readonly keywords: Schema.optional<Schema.$Array<Schema.String>>;
|
|
36
|
+
readonly repository: Schema.optional<Schema.String>;
|
|
37
|
+
readonly homepage: Schema.optional<Schema.String>;
|
|
38
|
+
readonly license: Schema.optional<Schema.String>;
|
|
39
|
+
readonly bugs: Schema.optional<Schema.String>;
|
|
40
|
+
readonly authors: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
41
|
+
readonly name: Schema.String;
|
|
42
|
+
readonly email: Schema.optional<Schema.String>;
|
|
43
|
+
readonly url: Schema.optional<Schema.String>;
|
|
44
|
+
}>>>;
|
|
45
|
+
readonly compatiblePackages: Schema.optional<Schema.$Array<Schema.decodeTo<Schema.toType<Schema.Struct<{
|
|
46
|
+
readonly type: Schema.brand<Schema.String, "PackageType">;
|
|
47
|
+
readonly namespace: Schema.optional<Schema.String>;
|
|
48
|
+
readonly name: Schema.String;
|
|
49
|
+
readonly version: Schema.optional<Schema.String>;
|
|
50
|
+
}>>, Schema.String, never, never>>>;
|
|
51
|
+
readonly $schema: Schema.optional<Schema.String>;
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* Inferred type for CommandManifest schema.
|
|
55
|
+
*
|
|
56
|
+
* @experimental This API is unstable and may change without notice.
|
|
57
|
+
*/
|
|
58
|
+
export type CommandManifest = Schema.Schema.Type<typeof CommandManifestSchema>;
|
|
59
|
+
//# sourceMappingURL=manifest-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest-schema.d.ts","sourceRoot":"","sources":["../../../../src/unstable/commands/manifest-schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,iBAAiB,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,+CAA+C,CAAC;AAExF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;EAehC,CAAC;AAEH;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Command manifest schema definition.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is unstable and may change without notice.
|
|
5
|
+
*/
|
|
6
|
+
import * as Schema from "effect/Schema";
|
|
7
|
+
import { CommonManifestBaseFields, ExtensionNameSchema } from "../extensions/common.js";
|
|
8
|
+
/**
|
|
9
|
+
* Filename for command manifest files.
|
|
10
|
+
*
|
|
11
|
+
* @experimental This API is unstable and may change without notice.
|
|
12
|
+
*/
|
|
13
|
+
export const COMMAND_MANIFEST_FILENAME = "command.json";
|
|
14
|
+
/**
|
|
15
|
+
* URL for the command manifest JSON Schema.
|
|
16
|
+
*
|
|
17
|
+
* @experimental This API is unstable and may change without notice.
|
|
18
|
+
*/
|
|
19
|
+
export const COMMAND_MANIFEST_SCHEMA_URL = "https://axm.sh/schemas/command.schema.json";
|
|
20
|
+
/**
|
|
21
|
+
* Schema for command manifest files (command.json).
|
|
22
|
+
*
|
|
23
|
+
* Commands provide executable CLI functionality that can be
|
|
24
|
+
* registered and invoked through the AXM CLI.
|
|
25
|
+
*
|
|
26
|
+
* @experimental This API is unstable and may change without notice.
|
|
27
|
+
*/
|
|
28
|
+
export const CommandManifestSchema = Schema.Struct({
|
|
29
|
+
$schema: Schema.optional(Schema.String),
|
|
30
|
+
...CommonManifestBaseFields,
|
|
31
|
+
type: Schema.Literal("command"),
|
|
32
|
+
name: ExtensionNameSchema.pipe(Schema.annotateKey({ messageMissingKey: "command name is required" })),
|
|
33
|
+
agents: Schema.optional(Schema.Array(Schema.String)),
|
|
34
|
+
agentOverrides: Schema.optional(Schema.Record(Schema.String, Schema.Record(Schema.String, Schema.Unknown))),
|
|
35
|
+
}).annotate({
|
|
36
|
+
identifier: "CommandManifest",
|
|
37
|
+
title: "Command Manifest",
|
|
38
|
+
description: "Configuration file (command.json) that defines a CLI command extension.",
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=manifest-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest-schema.js","sourceRoot":"","sources":["../../../../src/unstable/commands/manifest-schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAExF;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,cAAc,CAAC;AAExD;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,4CAA4C,CAAC;AAExF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACvC,GAAG,wBAAwB;IAC3B,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;IAC/B,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAC5B,MAAM,CAAC,WAAW,CAAC,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,CAAC,CACtE;IACD,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD,cAAc,EAAE,MAAM,CAAC,QAAQ,CAC7B,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAC3E;CACF,CAAC,CAAC,QAAQ,CAAC;IACV,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,yEAAyE;CACvF,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Disable command executor — removes rendered files from agents but preserves
|
|
3
|
+
* materialized files in .axm/extensions/.
|
|
4
|
+
*
|
|
5
|
+
* Two paths:
|
|
6
|
+
* - Lock entry present: full disable (remove rendered files + clear lock agents + settings)
|
|
7
|
+
* - No lock entry: settings-only toggle
|
|
8
|
+
*
|
|
9
|
+
* @experimental This API is unstable and may change without notice.
|
|
10
|
+
*/
|
|
11
|
+
import * as FileSystem from "effect/FileSystem";
|
|
12
|
+
import * as Path from "effect/Path";
|
|
13
|
+
import type { OperationHandler } from "../../workspace/apply-plan.js";
|
|
14
|
+
import type { Operation } from "../../workspace/plan.js";
|
|
15
|
+
import { Workspace } from "../../workspace/service-interface.js";
|
|
16
|
+
import { CodingAgentRepository } from "../../agents/index.js";
|
|
17
|
+
/**
|
|
18
|
+
* Disable a command (remove rendered files but keep settings/lockfile entry).
|
|
19
|
+
*
|
|
20
|
+
* @experimental This API is unstable and may change without notice.
|
|
21
|
+
*/
|
|
22
|
+
export type DisableCommandOperation = Operation<"disable-command", {
|
|
23
|
+
readonly commandName: string;
|
|
24
|
+
}>;
|
|
25
|
+
/**
|
|
26
|
+
* Disable-command operation handler.
|
|
27
|
+
*
|
|
28
|
+
* Lock-backed path:
|
|
29
|
+
* 1. Read rendered files from lockfile
|
|
30
|
+
* 2. Remove rendered files from all agents (concurrent)
|
|
31
|
+
* 3. Clear lockfile agents array (preserve materialised files)
|
|
32
|
+
* 4. Update settings to set enabled: false
|
|
33
|
+
*
|
|
34
|
+
* Settings-only path (no lock entry):
|
|
35
|
+
* 1. Update settings to set enabled: false
|
|
36
|
+
*/
|
|
37
|
+
export declare const disableCommand: OperationHandler<DisableCommandOperation, FileSystem.FileSystem | Path.Path | Workspace | CodingAgentRepository>;
|
|
38
|
+
//# sourceMappingURL=disable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/disable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAGpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAM9D;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAC7C,iBAAiB,EACjB;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CACjC,CAAC;AAMF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,EAAE,gBAAgB,CAC3C,uBAAuB,EACvB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,GAAG,qBAAqB,CAmGnE,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Disable command executor — removes rendered files from agents but preserves
|
|
3
|
+
* materialized files in .axm/extensions/.
|
|
4
|
+
*
|
|
5
|
+
* Two paths:
|
|
6
|
+
* - Lock entry present: full disable (remove rendered files + clear lock agents + settings)
|
|
7
|
+
* - No lock entry: settings-only toggle
|
|
8
|
+
*
|
|
9
|
+
* @experimental This API is unstable and may change without notice.
|
|
10
|
+
*/
|
|
11
|
+
import * as Effect from "effect/Effect";
|
|
12
|
+
import * as FileSystem from "effect/FileSystem";
|
|
13
|
+
import * as Path from "effect/Path";
|
|
14
|
+
import * as Option from "effect/Option";
|
|
15
|
+
import { makeAppError } from "../../app-error/index.js";
|
|
16
|
+
import { Workspace } from "../../workspace/service-interface.js";
|
|
17
|
+
import { CodingAgentRepository } from "../../agents/index.js";
|
|
18
|
+
// -----------------------------------------------------------------------------
|
|
19
|
+
// Public API
|
|
20
|
+
// -----------------------------------------------------------------------------
|
|
21
|
+
/**
|
|
22
|
+
* Disable-command operation handler.
|
|
23
|
+
*
|
|
24
|
+
* Lock-backed path:
|
|
25
|
+
* 1. Read rendered files from lockfile
|
|
26
|
+
* 2. Remove rendered files from all agents (concurrent)
|
|
27
|
+
* 3. Clear lockfile agents array (preserve materialised files)
|
|
28
|
+
* 4. Update settings to set enabled: false
|
|
29
|
+
*
|
|
30
|
+
* Settings-only path (no lock entry):
|
|
31
|
+
* 1. Update settings to set enabled: false
|
|
32
|
+
*/
|
|
33
|
+
export const disableCommand = (op) => Effect.gen(function* () {
|
|
34
|
+
const fs = yield* FileSystem.FileSystem;
|
|
35
|
+
const ws = yield* Workspace;
|
|
36
|
+
const agentRepo = yield* CodingAgentRepository;
|
|
37
|
+
const base = ws.baseDir;
|
|
38
|
+
// Check for lock entry
|
|
39
|
+
const lockEntryOption = yield* ws.getLockedCommand(op.args.commandName).pipe(Effect.mapError((e) => makeAppError({
|
|
40
|
+
code: "DISABLE_COMMAND_LOCKFILE_READ_FAILED",
|
|
41
|
+
what: `Failed to read lockfile: ${e.what}`,
|
|
42
|
+
cause: e,
|
|
43
|
+
})));
|
|
44
|
+
// Lock-backed file operations (when lock entry exists)
|
|
45
|
+
if (Option.isSome(lockEntryOption)) {
|
|
46
|
+
const lockEntry = lockEntryOption.value;
|
|
47
|
+
// Remove rendered files from agents
|
|
48
|
+
if (lockEntry.renderedFiles) {
|
|
49
|
+
yield* Effect.forEach(Object.entries(lockEntry.renderedFiles), ([_agentId, files]) => Effect.forEach(files, (file) => fs.remove(file.path, { recursive: true }).pipe(Effect.catch(() => Effect.void)), { concurrency: "unbounded" }), { concurrency: "unbounded" });
|
|
50
|
+
}
|
|
51
|
+
else if (lockEntry.agents.length > 0) {
|
|
52
|
+
// Fallback: remove via agent removeCommand
|
|
53
|
+
const configuredAgents = yield* agentRepo.getConfiguredAgents();
|
|
54
|
+
yield* Effect.forEach(configuredAgents, (agent) => agent
|
|
55
|
+
.removeCommand({
|
|
56
|
+
workspaceRoot: base,
|
|
57
|
+
scope: "project",
|
|
58
|
+
commandName: op.args.commandName,
|
|
59
|
+
})
|
|
60
|
+
.pipe(Effect.catch(() => Effect.void)), { concurrency: "unbounded" });
|
|
61
|
+
}
|
|
62
|
+
// Clear lock agents and renderedFiles but preserve materialized files
|
|
63
|
+
const now = new Date();
|
|
64
|
+
const emptyAgents = [];
|
|
65
|
+
const updatedLockEntry = {
|
|
66
|
+
...lockEntry,
|
|
67
|
+
agents: emptyAgents,
|
|
68
|
+
renderedFiles: undefined,
|
|
69
|
+
updatedAt: now,
|
|
70
|
+
};
|
|
71
|
+
yield* ws
|
|
72
|
+
.setCommandLock({ name: op.args.commandName, lockEntry: updatedLockEntry })
|
|
73
|
+
.pipe(Effect.catch(() => Effect.void));
|
|
74
|
+
}
|
|
75
|
+
// Update settings to mark as disabled
|
|
76
|
+
// For configured commands: update existing entry
|
|
77
|
+
// For implicit commands (lockfile-only): promote to direct entry
|
|
78
|
+
const existingSettings = yield* ws
|
|
79
|
+
.getConfiguredCommands()
|
|
80
|
+
.pipe(Effect.catch(() => Effect.succeed({})));
|
|
81
|
+
if (op.args.commandName in existingSettings) {
|
|
82
|
+
yield* ws
|
|
83
|
+
.updateCommandEntry(op.args.commandName, (entry) => ({
|
|
84
|
+
...entry,
|
|
85
|
+
enabled: false,
|
|
86
|
+
}))
|
|
87
|
+
.pipe(Effect.catch(() => Effect.void));
|
|
88
|
+
}
|
|
89
|
+
else if (Option.isSome(lockEntryOption)) {
|
|
90
|
+
// Implicit command: promote to direct settings entry with disabled state
|
|
91
|
+
const lockEntry = lockEntryOption.value;
|
|
92
|
+
const source = lockEntry.type === "registry"
|
|
93
|
+
? `${lockEntry.owner}/commands/${lockEntry.name}`
|
|
94
|
+
: lockEntry.type === "local"
|
|
95
|
+
? lockEntry.path
|
|
96
|
+
: "";
|
|
97
|
+
yield* ws
|
|
98
|
+
.setCommandEntry(op.args.commandName, { source, enabled: false })
|
|
99
|
+
.pipe(Effect.catch(() => Effect.void));
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
result: "success",
|
|
103
|
+
message: `Disabled ${op.args.commandName}`,
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
//# sourceMappingURL=disable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/disable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAgB9D,gFAAgF;AAChF,aAAa;AACb,gFAAgF;AAEhF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,cAAc,GAGvB,CAAC,EAAE,EAAE,EAAE,CACT,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,SAAS,CAAC;IAC5B,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,qBAAqB,CAAC;IAC/C,MAAM,IAAI,GAAG,EAAE,CAAC,OAAO,CAAC;IAExB,uBAAuB;IACvB,MAAM,eAAe,GAAG,KAAK,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC,IAAI,CAAC,W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IAAI,CAAC,CAAC,CAAC;IAC3C,CAAC;SAAM,IAAI,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC;QAC1C,yEAAyE;QACzE,MAAM,SAAS,GAAG,eAAe,CAAC,KAAK,CAAC;QACxC,MAAM,MAAM,GACV,SAAS,CAAC,IAAI,KAAK,UAAU;YAC3B,CAAC,CAAC,GAAG,SAAS,CAAC,KAAK,aAAa,SAAS,CAAC,IAAI,EAAE;YACjD,CAAC,CAAC,SAAS,CAAC,IAAI,KAAK,OAAO;gBAC1B,CAAC,CAAC,SAAS,CAAC,IAAI;gBAChB,CAAC,CAAC,EAAE,CAAC;QACX,KAAK,CAAC,CAAC,EAAE;aACN,eAAe,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;aAChE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,YAAY,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE;KACnB,CAAC;AAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enable command executor — re-renders command to agents for a previously disabled command.
|
|
3
|
+
*
|
|
4
|
+
* Two paths:
|
|
5
|
+
* - Lock entry present: full enable (re-render to agents + update lock + settings)
|
|
6
|
+
* - No lock entry: settings-only toggle (configured command with no lock backing)
|
|
7
|
+
*
|
|
8
|
+
* @experimental This API is unstable and may change without notice.
|
|
9
|
+
*/
|
|
10
|
+
import * as FileSystem from "effect/FileSystem";
|
|
11
|
+
import * as Path from "effect/Path";
|
|
12
|
+
import type { OperationHandler } from "../../workspace/apply-plan.js";
|
|
13
|
+
import type { Operation } from "../../workspace/plan.js";
|
|
14
|
+
import { Workspace } from "../../workspace/service-interface.js";
|
|
15
|
+
import { CodingAgentRepository } from "../../agents/index.js";
|
|
16
|
+
/**
|
|
17
|
+
* Enable a previously disabled command (re-render files and update state).
|
|
18
|
+
*
|
|
19
|
+
* @experimental This API is unstable and may change without notice.
|
|
20
|
+
*/
|
|
21
|
+
export type EnableCommandOperation = Operation<"enable-command", {
|
|
22
|
+
readonly commandName: string;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Enable-command operation handler.
|
|
26
|
+
*
|
|
27
|
+
* Lock-backed path:
|
|
28
|
+
* 1. Read lock entry, determine canonical path
|
|
29
|
+
* 2. Verify canonical directory exists
|
|
30
|
+
* 3. Read COMMAND.md and command.json
|
|
31
|
+
* 4. Render to all configured agents concurrently
|
|
32
|
+
* 5. Update lock entry with agents and renderedFiles
|
|
33
|
+
* 6. Update settings entry to set enabled: true
|
|
34
|
+
*
|
|
35
|
+
* Settings-only path (no lock entry):
|
|
36
|
+
* 1. Update settings entry to set enabled: true
|
|
37
|
+
*/
|
|
38
|
+
export declare const enableCommand: OperationHandler<EnableCommandOperation, FileSystem.FileSystem | Path.Path | Workspace | CodingAgentRepository>;
|
|
39
|
+
//# sourceMappingURL=enable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/enable.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAOjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAS9D;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,gBAAgB,EAAE;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAMnG;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAC1C,sBAAsB,EACtB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,GAAG,qBAAqB,CAyGnE,CAAC"}
|