@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,165 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swift package detector and reader for package-compatibility discovery.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is unstable and may change without notice.
|
|
5
|
+
* @packageDocumentation
|
|
6
|
+
*/
|
|
7
|
+
import * as Effect from "effect/Effect";
|
|
8
|
+
import * as FileSystem from "effect/FileSystem";
|
|
9
|
+
import * as Option from "effect/Option";
|
|
10
|
+
import * as Path from "effect/Path";
|
|
11
|
+
import * as Result from "effect/Result";
|
|
12
|
+
import * as Schema from "effect/Schema";
|
|
13
|
+
import { AxmPackageMetaSchema } from "./axm-package-meta.js";
|
|
14
|
+
import { PackageTypeSchema } from "./package-type.js";
|
|
15
|
+
import { PackageUrlPartsSchema } from "./package-url.js";
|
|
16
|
+
const swiftType = Schema.decodeUnknownSync(PackageTypeSchema)("swift");
|
|
17
|
+
const makePackageUrlParts = Schema.decodeUnknownSync(PackageUrlPartsSchema);
|
|
18
|
+
const decodeAxmMeta = Schema.decodeUnknownResult(AxmPackageMetaSchema);
|
|
19
|
+
/**
|
|
20
|
+
* Regex to match `exact: "version"` in a package declaration.
|
|
21
|
+
*/
|
|
22
|
+
const EXACT_VERSION_REGEX = /exact:\s*"([^"]+)"/;
|
|
23
|
+
/**
|
|
24
|
+
* Parse a Swift package URL into namespace and name parts.
|
|
25
|
+
* URL format: https://github.com/Owner/RepoName.git
|
|
26
|
+
* namespace = host/org, name = repo (without .git)
|
|
27
|
+
*/
|
|
28
|
+
const parseSwiftUrl = (url) => {
|
|
29
|
+
try {
|
|
30
|
+
const parsed = new URL(url);
|
|
31
|
+
const pathParts = parsed.pathname.split("/").filter((p) => p.length > 0);
|
|
32
|
+
if (pathParts.length < 2)
|
|
33
|
+
return undefined;
|
|
34
|
+
const host = parsed.hostname;
|
|
35
|
+
// All segments except the last form the org path
|
|
36
|
+
const orgParts = pathParts.slice(0, -1);
|
|
37
|
+
const rawName = pathParts[pathParts.length - 1];
|
|
38
|
+
if (rawName === undefined)
|
|
39
|
+
return undefined;
|
|
40
|
+
// Strip .git suffix
|
|
41
|
+
const name = rawName.endsWith(".git") ? rawName.slice(0, -4) : rawName;
|
|
42
|
+
const namespace = `${host}/${orgParts.join("/")}`;
|
|
43
|
+
return { namespace, name };
|
|
44
|
+
}
|
|
45
|
+
catch {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Extract the version requirement from a package declaration line/context.
|
|
51
|
+
* Returns the exact version if specified, undefined otherwise (ranges are versionless).
|
|
52
|
+
*/
|
|
53
|
+
const extractVersion = (packageContext) => {
|
|
54
|
+
const exactMatch = EXACT_VERSION_REGEX.exec(packageContext);
|
|
55
|
+
if (exactMatch?.[1] !== undefined)
|
|
56
|
+
return exactMatch[1];
|
|
57
|
+
return undefined;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Build PackageUrlParts directly for swift packages.
|
|
61
|
+
* packageurl-js v2 requires a version for swift type purls, but we need
|
|
62
|
+
* versionless purls for range dependencies. We construct parts directly
|
|
63
|
+
* through the PackageUrlPartsSchema to bypass purl-string validation.
|
|
64
|
+
*/
|
|
65
|
+
const buildSwiftPurlParts = (namespace, name, version) => makePackageUrlParts(version !== undefined
|
|
66
|
+
? { type: "swift", namespace, name, version }
|
|
67
|
+
: { type: "swift", namespace, name });
|
|
68
|
+
/**
|
|
69
|
+
* Parse Package.swift content and extract dependencies using regex.
|
|
70
|
+
* Since running `swift package dump-package` requires the Swift CLI,
|
|
71
|
+
* we use simple regex to extract `.package(url: "...")` dependencies.
|
|
72
|
+
*/
|
|
73
|
+
const parsePackageSwift = (content, source) => {
|
|
74
|
+
const results = [];
|
|
75
|
+
// Find all .package(url: "...") declarations
|
|
76
|
+
// We search for the entire package(...) block to extract version info too
|
|
77
|
+
const packageBlockRegex = /\.package\([^)]*url:\s*"([^"]+)"[^)]*\)/g;
|
|
78
|
+
let match;
|
|
79
|
+
while ((match = packageBlockRegex.exec(content)) !== null) {
|
|
80
|
+
const url = match[1];
|
|
81
|
+
if (url === undefined)
|
|
82
|
+
continue;
|
|
83
|
+
const parsed = parseSwiftUrl(url);
|
|
84
|
+
if (parsed === undefined)
|
|
85
|
+
continue;
|
|
86
|
+
// Extract version from the full match context
|
|
87
|
+
const version = extractVersion(match[0]);
|
|
88
|
+
const purlParts = buildSwiftPurlParts(parsed.namespace, parsed.name, version);
|
|
89
|
+
results.push({ purl: purlParts, type: swiftType, source });
|
|
90
|
+
}
|
|
91
|
+
return results;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Read a file as string, returning Option.none for NotFound and other errors.
|
|
95
|
+
*/
|
|
96
|
+
const readFileOptional = (filePath) => Effect.gen(function* () {
|
|
97
|
+
const fs = yield* FileSystem.FileSystem;
|
|
98
|
+
const content = yield* fs.readFileString(filePath).pipe(Effect.option);
|
|
99
|
+
return content;
|
|
100
|
+
});
|
|
101
|
+
/**
|
|
102
|
+
* Parse JSON string, returning Option.none and logging a warning on failure.
|
|
103
|
+
*/
|
|
104
|
+
const parseJsonOptional = (content, context) => Effect.gen(function* () {
|
|
105
|
+
const result = yield* Effect.try({
|
|
106
|
+
try: () => JSON.parse(content),
|
|
107
|
+
catch: () => ({ _tag: "JsonParseError" }),
|
|
108
|
+
}).pipe(Effect.option);
|
|
109
|
+
if (Option.isNone(result)) {
|
|
110
|
+
yield* Effect.logWarning(`Malformed JSON in ${context}, skipping`);
|
|
111
|
+
return Option.none();
|
|
112
|
+
}
|
|
113
|
+
return Option.some(result.value);
|
|
114
|
+
});
|
|
115
|
+
/**
|
|
116
|
+
* Swift package detector.
|
|
117
|
+
*
|
|
118
|
+
* Scans `Package.swift` in the project directory and extracts `.package(url: ...)`
|
|
119
|
+
* dependencies using regex pattern matching.
|
|
120
|
+
*
|
|
121
|
+
* @experimental This API is unstable and may change without notice.
|
|
122
|
+
*/
|
|
123
|
+
export const swiftDetector = {
|
|
124
|
+
type: swiftType,
|
|
125
|
+
detect: Effect.fn("detect.swift")(function* (projectDir) {
|
|
126
|
+
const path = yield* Path.Path;
|
|
127
|
+
const manifestPath = path.join(projectDir, "Package.swift");
|
|
128
|
+
const content = yield* readFileOptional(manifestPath);
|
|
129
|
+
if (Option.isNone(content))
|
|
130
|
+
return [];
|
|
131
|
+
const deps = parsePackageSwift(content.value, manifestPath);
|
|
132
|
+
return deps;
|
|
133
|
+
}, Effect.annotateLogs({ detector: "swift" }), Effect.withSpan("detect.swift")),
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Swift package reader.
|
|
137
|
+
*
|
|
138
|
+
* Reads `.build/checkouts/<package-name>/axm.json` for each detected SwiftPM
|
|
139
|
+
* package and extracts recommendation metadata.
|
|
140
|
+
*
|
|
141
|
+
* @experimental This API is unstable and may change without notice.
|
|
142
|
+
*/
|
|
143
|
+
export const swiftReader = {
|
|
144
|
+
type: swiftType,
|
|
145
|
+
read: Effect.fn("read.swift")(function* (pkg) {
|
|
146
|
+
const path = yield* Path.Path;
|
|
147
|
+
// Derive project directory from the source manifest path
|
|
148
|
+
const projectDir = path.dirname(pkg.source);
|
|
149
|
+
const axmJsonPath = path.join(projectDir, ".build", "checkouts", pkg.purl.name, "axm.json");
|
|
150
|
+
const content = yield* readFileOptional(axmJsonPath);
|
|
151
|
+
if (Option.isNone(content))
|
|
152
|
+
return Option.none();
|
|
153
|
+
const parsed = yield* parseJsonOptional(content.value, `${pkg.purl.name}/axm.json`);
|
|
154
|
+
if (Option.isNone(parsed))
|
|
155
|
+
return Option.none();
|
|
156
|
+
// Validate axm metadata structure
|
|
157
|
+
const metaResult = decodeAxmMeta(parsed.value);
|
|
158
|
+
if (Result.isFailure(metaResult)) {
|
|
159
|
+
yield* Effect.logWarning(`Invalid axm metadata in ${pkg.purl.name}: schema validation failed`);
|
|
160
|
+
return Option.none();
|
|
161
|
+
}
|
|
162
|
+
return Option.some(metaResult.success.recommendedExtensions);
|
|
163
|
+
}, Effect.annotateLogs({ reader: "swift" }), Effect.withSpan("read.swift")),
|
|
164
|
+
};
|
|
165
|
+
//# sourceMappingURL=swift.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"swift.js","sourceRoot":"","sources":["../../../../src/unstable/packaging/swift.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAwB,MAAM,kBAAkB,CAAC;AAG/E,MAAM,SAAS,GAAG,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,CAAC;AACvE,MAAM,mBAAmB,GAAG,MAAM,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAC5E,MAAM,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;AAEvE;;GAEG;AACH,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,aAAa,GAAG,CACpB,GAAW,EACwD,EAAE;IACrE,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;QAC5B,MAAM,SA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IAAI,EAAE,CAAC;QAEhD,kCAAkC;QAClC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC/C,IAAI,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CACtB,2BAA2B,GAAG,CAAC,IAAI,CAAC,IAAI,4BAA4B,CACrE,CAAC;YACF,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;QACvB,CAAC;QAED,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAC/D,CAAC,EACD,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EACxC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAC9B;CACF,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Detector and reader interfaces for package-compatibility discovery.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is unstable and may change without notice.
|
|
5
|
+
* @packageDocumentation
|
|
6
|
+
*/
|
|
7
|
+
import type * as Effect from "effect/Effect";
|
|
8
|
+
import type * as Option from "effect/Option";
|
|
9
|
+
import type * as FileSystem from "effect/FileSystem";
|
|
10
|
+
import type * as Path from "effect/Path";
|
|
11
|
+
import type { FullyQualifiedRef } from "../extensions/common.js";
|
|
12
|
+
import type { PackageType } from "./package-type.js";
|
|
13
|
+
import type { PackageUrlParts } from "./package-url.js";
|
|
14
|
+
/**
|
|
15
|
+
* A package detected in a project directory.
|
|
16
|
+
*
|
|
17
|
+
* @experimental This API is unstable and may change without notice.
|
|
18
|
+
*/
|
|
19
|
+
export interface DetectedPackage {
|
|
20
|
+
readonly purl: PackageUrlParts;
|
|
21
|
+
readonly type: PackageType;
|
|
22
|
+
/** File that produced this purl (for diagnostics). */
|
|
23
|
+
readonly source: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Scans a project directory for packages of a specific type.
|
|
27
|
+
*
|
|
28
|
+
* @experimental This API is unstable and may change without notice.
|
|
29
|
+
*/
|
|
30
|
+
export interface PackageDetector {
|
|
31
|
+
readonly type: PackageType;
|
|
32
|
+
readonly detect: (projectDir: string) => Effect.Effect<ReadonlyArray<DetectedPackage>, never, FileSystem.FileSystem | Path.Path>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Reads local recommendation data from a detected package.
|
|
36
|
+
*
|
|
37
|
+
* @experimental This API is unstable and may change without notice.
|
|
38
|
+
*/
|
|
39
|
+
export interface PackageReader {
|
|
40
|
+
readonly type: PackageType;
|
|
41
|
+
readonly read: (pkg: DetectedPackage) => Effect.Effect<Option.Option<ReadonlyArray<FullyQualifiedRef>>, never, FileSystem.FileSystem | Path.Path>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packaging/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,KAAK,UAAU,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,KAAK,IAAI,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,sDAAsD;IACtD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,CACf,UAAU,EAAE,MAAM,KACf,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,eAAe,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;CAC9F;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,CACb,GAAG,EAAE,eAAe,KACjB,MAAM,CAAC,MAAM,CAChB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,EAC/C,KAAK,EACL,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAClC,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/unstable/packaging/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zig package detector and reader for package-compatibility discovery.
|
|
3
|
+
*
|
|
4
|
+
* Parses `build.zig.zon` for URL-based dependencies and reads axm metadata
|
|
5
|
+
* from the Zig package cache at `~/.cache/zig/`.
|
|
6
|
+
*
|
|
7
|
+
* @experimental This API is unstable and may change without notice.
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
10
|
+
import type { PackageDetector, PackageReader } from "./types.js";
|
|
11
|
+
/**
|
|
12
|
+
* Zig package detector.
|
|
13
|
+
*
|
|
14
|
+
* Scans `build.zig.zon` in the project directory and extracts dependency
|
|
15
|
+
* names from the `.dependencies` field, producing `pkg:generic/zig/<name>` purls.
|
|
16
|
+
*
|
|
17
|
+
* @experimental This API is unstable and may change without notice.
|
|
18
|
+
*/
|
|
19
|
+
export declare const zigDetector: PackageDetector;
|
|
20
|
+
/**
|
|
21
|
+
* Zig package reader.
|
|
22
|
+
*
|
|
23
|
+
* Reads `axm.json` sidecar files from `~/.cache/zig/p/<hash>/` for each
|
|
24
|
+
* detected Zig package and extracts recommendation metadata.
|
|
25
|
+
*
|
|
26
|
+
* Since Zig uses content-addressed hashes for packages rather than named
|
|
27
|
+
* directories, the reader does a best-effort scan of the cache.
|
|
28
|
+
*
|
|
29
|
+
* @experimental This API is unstable and may change without notice.
|
|
30
|
+
*/
|
|
31
|
+
export declare const zigReader: PackageReader;
|
|
32
|
+
//# sourceMappingURL=zig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zig.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packaging/zig.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAcH,OAAO,KAAK,EAAmB,eAAe,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAwFlF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,EAAE,eAoCzB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,EAAE,aA0CvB,CAAC"}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zig package detector and reader for package-compatibility discovery.
|
|
3
|
+
*
|
|
4
|
+
* Parses `build.zig.zon` for URL-based dependencies and reads axm metadata
|
|
5
|
+
* from the Zig package cache at `~/.cache/zig/`.
|
|
6
|
+
*
|
|
7
|
+
* @experimental This API is unstable and may change without notice.
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
10
|
+
// Intentional escape hatch: node:os homedir() has no @effect/platform equivalent.
|
|
11
|
+
import * as os from "node:os";
|
|
12
|
+
import * as Effect from "effect/Effect";
|
|
13
|
+
import * as FileSystem from "effect/FileSystem";
|
|
14
|
+
import * as Option from "effect/Option";
|
|
15
|
+
import * as Path from "effect/Path";
|
|
16
|
+
import * as Result from "effect/Result";
|
|
17
|
+
import * as Schema from "effect/Schema";
|
|
18
|
+
import { PackageURL } from "packageurl-js";
|
|
19
|
+
import { AxmPackageMetaSchema } from "./axm-package-meta.js";
|
|
20
|
+
import { PackageTypeSchema } from "./package-type.js";
|
|
21
|
+
import { PackageUrlSchema } from "./package-url.js";
|
|
22
|
+
const zigType = Schema.decodeUnknownSync(PackageTypeSchema)("generic");
|
|
23
|
+
const decodePurl = Schema.decodeUnknownSync(PackageUrlSchema);
|
|
24
|
+
const decodeAxmMeta = Schema.decodeUnknownResult(AxmPackageMetaSchema);
|
|
25
|
+
/**
|
|
26
|
+
* Read a file as string, returning Option.none for NotFound and other errors.
|
|
27
|
+
*/
|
|
28
|
+
const readFileOptional = (filePath) => Effect.gen(function* () {
|
|
29
|
+
const fs = yield* FileSystem.FileSystem;
|
|
30
|
+
const content = yield* fs.readFileString(filePath).pipe(Effect.option);
|
|
31
|
+
return content;
|
|
32
|
+
});
|
|
33
|
+
/**
|
|
34
|
+
* Parse JSON string, returning Option.none and logging a warning on failure.
|
|
35
|
+
*/
|
|
36
|
+
const parseJsonOptional = (content, context) => Effect.gen(function* () {
|
|
37
|
+
const result = yield* Effect.try({
|
|
38
|
+
try: () => JSON.parse(content),
|
|
39
|
+
catch: () => ({ _tag: "JsonParseError" }),
|
|
40
|
+
}).pipe(Effect.option);
|
|
41
|
+
if (Option.isNone(result)) {
|
|
42
|
+
yield* Effect.logWarning(`Malformed JSON in ${context}, skipping`);
|
|
43
|
+
return Option.none();
|
|
44
|
+
}
|
|
45
|
+
return Option.some(result.value);
|
|
46
|
+
});
|
|
47
|
+
/**
|
|
48
|
+
* Extract dependency names from build.zig.zon content.
|
|
49
|
+
*
|
|
50
|
+
* Zon uses a struct-like syntax:
|
|
51
|
+
* ```
|
|
52
|
+
* .dependencies = .{
|
|
53
|
+
* .zap = .{ .url = "...", .hash = "..." },
|
|
54
|
+
* .mach = .{ .url = "...", .hash = "..." },
|
|
55
|
+
* },
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* We extract the dependency names (keys) using regex.
|
|
59
|
+
*/
|
|
60
|
+
const parseZonDependencies = (content) => {
|
|
61
|
+
// Find the start of the .dependencies block
|
|
62
|
+
const startIdx = content.indexOf(".dependencies");
|
|
63
|
+
if (startIdx === -1)
|
|
64
|
+
return [];
|
|
65
|
+
// Find the opening .{ after .dependencies =
|
|
66
|
+
const openBrace = content.indexOf(".{", startIdx);
|
|
67
|
+
if (openBrace === -1)
|
|
68
|
+
return [];
|
|
69
|
+
// Track brace depth to find the matching closing }
|
|
70
|
+
let depth = 0;
|
|
71
|
+
let endIdx = openBrace;
|
|
72
|
+
for (let i = openBrace; i < content.length; i++) {
|
|
73
|
+
if (content[i] === "{")
|
|
74
|
+
depth++;
|
|
75
|
+
if (content[i] === "}") {
|
|
76
|
+
depth--;
|
|
77
|
+
if (depth === 0) {
|
|
78
|
+
endIdx = i;
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
const depsBlock = content.slice(openBrace, endIdx + 1);
|
|
84
|
+
const names = [];
|
|
85
|
+
// Match dependency names: .name = .{ ... }
|
|
86
|
+
// Also support quoted names: .@"name-with-dashes" = .{ ... }
|
|
87
|
+
const depPattern = /\.(?:@"([^"]+)"|([a-zA-Z_][a-zA-Z0-9_]*))\s*=\s*\.?\{/g;
|
|
88
|
+
let match = depPattern.exec(depsBlock);
|
|
89
|
+
while (match !== null) {
|
|
90
|
+
const name = match[1] ?? match[2];
|
|
91
|
+
if (name !== undefined) {
|
|
92
|
+
names.push(name);
|
|
93
|
+
}
|
|
94
|
+
match = depPattern.exec(depsBlock);
|
|
95
|
+
}
|
|
96
|
+
return names;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Zig package detector.
|
|
100
|
+
*
|
|
101
|
+
* Scans `build.zig.zon` in the project directory and extracts dependency
|
|
102
|
+
* names from the `.dependencies` field, producing `pkg:generic/zig/<name>` purls.
|
|
103
|
+
*
|
|
104
|
+
* @experimental This API is unstable and may change without notice.
|
|
105
|
+
*/
|
|
106
|
+
export const zigDetector = {
|
|
107
|
+
type: zigType,
|
|
108
|
+
detect: Effect.fn("detect.zig")(function* (projectDir) {
|
|
109
|
+
const path = yield* Path.Path;
|
|
110
|
+
const manifestPath = path.join(projectDir, "build.zig.zon");
|
|
111
|
+
const content = yield* readFileOptional(manifestPath);
|
|
112
|
+
if (Option.isNone(content))
|
|
113
|
+
return [];
|
|
114
|
+
const names = parseZonDependencies(content.value);
|
|
115
|
+
if (names.length === 0) {
|
|
116
|
+
// Check if the file looks like it should have dependencies but we couldn't parse
|
|
117
|
+
if (content.value.includes(".dependencies") &&
|
|
118
|
+
!content.value.includes(".dependencies = .{")) {
|
|
119
|
+
yield* Effect.logWarning("Malformed build.zig.zon: could not parse .dependencies, skipping");
|
|
120
|
+
}
|
|
121
|
+
return [];
|
|
122
|
+
}
|
|
123
|
+
const results = [];
|
|
124
|
+
for (const name of names) {
|
|
125
|
+
const purl = new PackageURL("generic", "zig", name, null, null, null);
|
|
126
|
+
const purlParts = decodePurl(purl.toString());
|
|
127
|
+
results.push({ purl: purlParts, type: zigType, source: manifestPath });
|
|
128
|
+
}
|
|
129
|
+
return results;
|
|
130
|
+
}, Effect.annotateLogs({ detector: "zig" }), Effect.withSpan("detect.zig")),
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Zig package reader.
|
|
134
|
+
*
|
|
135
|
+
* Reads `axm.json` sidecar files from `~/.cache/zig/p/<hash>/` for each
|
|
136
|
+
* detected Zig package and extracts recommendation metadata.
|
|
137
|
+
*
|
|
138
|
+
* Since Zig uses content-addressed hashes for packages rather than named
|
|
139
|
+
* directories, the reader does a best-effort scan of the cache.
|
|
140
|
+
*
|
|
141
|
+
* @experimental This API is unstable and may change without notice.
|
|
142
|
+
*/
|
|
143
|
+
export const zigReader = {
|
|
144
|
+
type: zigType,
|
|
145
|
+
read: Effect.fn("read.zig")(function* (pkg) {
|
|
146
|
+
const path = yield* Path.Path;
|
|
147
|
+
const fs = yield* FileSystem.FileSystem;
|
|
148
|
+
const cacheDir = path.join(os.homedir(), ".cache", "zig", "p");
|
|
149
|
+
// Check if cache directory exists
|
|
150
|
+
const cacheDirExists = yield* fs.exists(cacheDir).pipe(Effect.option);
|
|
151
|
+
if (Option.isNone(cacheDirExists) || !cacheDirExists.value)
|
|
152
|
+
return Option.none();
|
|
153
|
+
// Scan cache directory entries for axm.json
|
|
154
|
+
const entries = yield* fs.readDirectory(cacheDir).pipe(Effect.option);
|
|
155
|
+
if (Option.isNone(entries))
|
|
156
|
+
return Option.none();
|
|
157
|
+
// Check each cache entry for axm.json with matching package name
|
|
158
|
+
for (const entry of entries.value) {
|
|
159
|
+
const axmJsonPath = path.join(cacheDir, entry, "axm.json");
|
|
160
|
+
const content = yield* readFileOptional(axmJsonPath);
|
|
161
|
+
if (Option.isNone(content))
|
|
162
|
+
continue;
|
|
163
|
+
const parsed = yield* parseJsonOptional(content.value, `${pkg.purl.name}/axm.json`);
|
|
164
|
+
if (Option.isNone(parsed))
|
|
165
|
+
continue;
|
|
166
|
+
const metaResult = decodeAxmMeta(parsed.value);
|
|
167
|
+
if (Result.isFailure(metaResult)) {
|
|
168
|
+
yield* Effect.logWarning(`Invalid axm metadata in zig cache for ${pkg.purl.name}: schema validation failed`);
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
return Option.some(metaResult.success.recommendedExtensions);
|
|
172
|
+
}
|
|
173
|
+
return Option.none();
|
|
174
|
+
}, Effect.annotateLogs({ reader: "zig" }), Effect.withSpan("read.zig")),
|
|
175
|
+
};
|
|
176
|
+
//# sourceMappingURL=zig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zig.js","sourceRoot":"","sources":["../../../../src/unstable/packaging/zig.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,kFAAkF;AAClF,OAA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AS,CAAC,UAAU,CAAC,EAAE,CAAC;gBACjC,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CACtB,yCAAyC,GAAG,CAAC,IAAI,CAAC,IAAI,4BAA4B,CACnF,CAAC;gBACF,SAAS;YACX,CAAC;YAED,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;QAC/D,CAAC;QAED,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC,EACD,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACtC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
import type { ExtensionRef } from "../extensions/index.js";
|
|
3
|
+
import type { ResolvedExtensionMap } from "../lockfile/index.js";
|
|
4
|
+
import type { SourceHostProvidersService } from "../source-resolution/index.js";
|
|
5
|
+
import { type AppError } from "../app-error/index.js";
|
|
6
|
+
import type { ExtensionPackRef } from "./refs.js";
|
|
7
|
+
export interface ResolvedExtensionPackDependencies {
|
|
8
|
+
readonly resolvedSkills: ResolvedExtensionMap;
|
|
9
|
+
readonly resolvedCommands: ResolvedExtensionMap;
|
|
10
|
+
readonly resolvedMcpServers: ResolvedExtensionMap;
|
|
11
|
+
readonly resolvedSubagents: ResolvedExtensionMap;
|
|
12
|
+
readonly dependencyRefs: ReadonlyArray<ExtensionRef>;
|
|
13
|
+
}
|
|
14
|
+
export declare const resolveExtensionPackDependencies: (pack: ExtensionPackRef, sources: SourceHostProvidersService) => Effect.Effect<ResolvedExtensionPackDependencies, AppError>;
|
|
15
|
+
//# sourceMappingURL=dependency-resolution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependency-resolution.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packs/dependency-resolution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,EAAE,YAAY,EAAwC,MAAM,wBAAwB,CAAC;AAEjG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAEhF,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAmBlD,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,cAAc,EAAE,oBAAoB,CAAC;IAC9C,QAAQ,CAAC,gBAAgB,EAAE,oBAAoB,CAAC;IAChD,QAAQ,CAAC,kBAAkB,EAAE,oBAAoB,CAAC;IAClD,QAAQ,CAAC,iBAAiB,EAAE,oBAAoB,CAAC;IACjD,QAAQ,CAAC,cAAc,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;CACtD;AAqGD,eAAO,MAAM,gCAAgC,GAC3C,MAAM,gBAAgB,EACtB,SAAS,0BAA0B,KAClC,MAAM,CAAC,MAAM,CAAC,iCAAiC,EAAE,QAAQ,CAkExD,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
import * as Option from "effect/Option";
|
|
3
|
+
import { parseFqnOrThrow, formatFqn } from "../extensions/index.js";
|
|
4
|
+
import { makeAppError } from "../app-error/index.js";
|
|
5
|
+
import { buildRegistrySkillRef } from "../skills/registry-ref-builder.js";
|
|
6
|
+
import { buildRegistryCommandRef } from "../commands/registry-ref-builder.js";
|
|
7
|
+
import { buildRegistryMcpServerRef } from "../mcp-servers/registry-ref-builder.js";
|
|
8
|
+
import { buildRegistrySubagentRef } from "../subagents/registry-ref-builder.js";
|
|
9
|
+
import { decodeExactSemverVersionSync, } from "../version-constraints/version-constraints.js";
|
|
10
|
+
const resolveDependencyType = (expectedType, parsedType) => {
|
|
11
|
+
if (parsedType === expectedType) {
|
|
12
|
+
return Effect.void;
|
|
13
|
+
}
|
|
14
|
+
return Effect.fail(makeAppError({
|
|
15
|
+
code: "PACK_DEPENDENCY_RESOLUTION_FAILED",
|
|
16
|
+
what: `Extension pack dependency type mismatch for expected ${expectedType}`,
|
|
17
|
+
details: [`Expected ${expectedType}, received ${parsedType}`],
|
|
18
|
+
}));
|
|
19
|
+
};
|
|
20
|
+
const registrySourceForDependency = (pack, owner) => {
|
|
21
|
+
if (pack.source.type !== "registry") {
|
|
22
|
+
return Effect.fail(makeAppError({
|
|
23
|
+
code: "PACK_DEPENDENCY_RESOLUTION_FAILED",
|
|
24
|
+
what: `Cannot resolve extension pack dependencies from non-registry source`,
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
return Effect.succeed({
|
|
28
|
+
...pack.source,
|
|
29
|
+
owner: Option.some(owner),
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
const resolveDependencyRef = (pack, expectedType, fqn, constraint, sources) => Effect.gen(function* () {
|
|
33
|
+
const parsed = parseFqnOrThrow(fqn);
|
|
34
|
+
yield* resolveDependencyType(expectedType, parsed.type);
|
|
35
|
+
const source = yield* registrySourceForDependency(pack, parsed.owner);
|
|
36
|
+
const matches = yield* Effect.scoped(sources.find(source, {
|
|
37
|
+
names: [parsed.name],
|
|
38
|
+
type: expectedType,
|
|
39
|
+
owner: Option.some(parsed.owner),
|
|
40
|
+
versionConstraint: Option.some(constraint),
|
|
41
|
+
}));
|
|
42
|
+
const matchingRef = matches.find((candidate) => candidate.type === expectedType &&
|
|
43
|
+
candidate.refType === "registry" &&
|
|
44
|
+
candidate.owner === parsed.owner &&
|
|
45
|
+
candidate.name === parsed.name);
|
|
46
|
+
if (matchingRef === undefined) {
|
|
47
|
+
return yield* makeAppError({
|
|
48
|
+
code: "PACK_DEPENDENCY_RESOLUTION_FAILED",
|
|
49
|
+
what: `Unable to resolve extension pack dependency ${fqn}@${constraint}`,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
return { ...parsed, ref: matchingRef, source };
|
|
53
|
+
});
|
|
54
|
+
const toResolvedMap = (dependencies) => Object.fromEntries(dependencies.map((dependency) => [
|
|
55
|
+
formatFqn(dependency),
|
|
56
|
+
decodeExactSemverVersionSync(dependency.ref.version),
|
|
57
|
+
]));
|
|
58
|
+
const resolveDependencyGroup = (pack, dependencies, expectedType, sources) => Effect.forEach(Object.entries(dependencies), ([fqn, constraint]) => resolveDependencyRef(pack, expectedType, fqn, constraint, sources), { concurrency: "unbounded" });
|
|
59
|
+
export const resolveExtensionPackDependencies = (pack, sources) => Effect.gen(function* () {
|
|
60
|
+
const resolvedSkills = yield* resolveDependencyGroup(pack, pack.pack.skills, "skill", sources);
|
|
61
|
+
const resolvedCommands = yield* resolveDependencyGroup(pack, pack.pack.commands, "command", sources);
|
|
62
|
+
const resolvedMcpServers = yield* resolveDependencyGroup(pack, pack.pack.mcpServers, "mcp-server", sources);
|
|
63
|
+
const resolvedSubagents = yield* resolveDependencyGroup(pack, pack.pack.subagents, "subagent", sources);
|
|
64
|
+
return {
|
|
65
|
+
resolvedSkills: toResolvedMap(resolvedSkills),
|
|
66
|
+
resolvedCommands: toResolvedMap(resolvedCommands),
|
|
67
|
+
resolvedMcpServers: toResolvedMap(resolvedMcpServers),
|
|
68
|
+
resolvedSubagents: toResolvedMap(resolvedSubagents),
|
|
69
|
+
dependencyRefs: [
|
|
70
|
+
...resolvedSkills.map((dependency) => buildRegistrySkillRef(dependency.owner, dependency.name, dependency.ref.version, dependency.source, dependency.ref.compatiblePackages)),
|
|
71
|
+
...resolvedCommands.map((dependency) => buildRegistryCommandRef(dependency.owner, dependency.name, dependency.ref.version, dependency.source, dependency.ref.compatiblePackages)),
|
|
72
|
+
...resolvedMcpServers.map((dependency) => buildRegistryMcpServerRef(dependency.owner, dependency.name, dependency.ref.version, dependency.source, dependency.ref.compatiblePackages)),
|
|
73
|
+
...resolvedSubagents.map((dependency) => buildRegistrySubagentRef(dependency.owner, dependency.name, dependency.ref.version, dependency.source, dependency.ref.compatiblePackages)),
|
|
74
|
+
],
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
//# sourceMappingURL=dependency-resolution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependency-resolution.js","sourceRoot":"","sources":["../../../../src/unstable/packs/dependency-resolution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAIpE,OAAO,EAAE,YAAY,EAAiB,MAAM,uBAAuB,CAAC;AAGpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EACL,4BAA4B,GAE7B,MAAM,+CAA+C,CAAC;AAkBvD,MAAM,qBAAqB,GAAG,CAC5B,YAA2B,EAC3B,UAAyB,EACM,EAAE;IACjC,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;QAChC,OAAO,MAAM,CAAC,IAAI,CAAC;IACrB,CAAC;IAED,OAAO,MAAM,CAAC,IAAI,CAChB,YAAY,CAAC;QACX,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,wDAAwD,YAAY,EAAE;QAC5E,OAAO,EAAE,CAAC,YAAY,YAAY,cAAc,UAAU,EAAE,CAAC;KAC9D,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAG,CAClC,IAAsB,EACtB,KAAa,EAC4B,EAAE;IAC3C,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KA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AAC,kBAAkB,CAClC,CACF;YACD,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CACtC,wBAAwB,CACtB,UAAU,CAAC,KAAK,EAChB,UAAU,CAAC,IAAI,EACf,UAAU,CAAC,GAAG,CAAC,OAAO,EACtB,UAAU,CAAC,MAAM,EACjB,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAClC,CACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extension pack expansion helpers for cross-type dependency expansion.
|
|
3
|
+
*
|
|
4
|
+
* - expandExtensionPackInstallRefs: Expands a pack ref into install refs (pack + dependencies)
|
|
5
|
+
* - expandExtensionPackUninstallTargets: Computes removable uninstall targets (pack + orphaned deps)
|
|
6
|
+
* - resolveSkillUninstallTargetsFromLockfile: Resolves skill names to targets via lockfile
|
|
7
|
+
*
|
|
8
|
+
* @experimental This API is unstable and may change without notice.
|
|
9
|
+
*/
|
|
10
|
+
import * as Effect from "effect/Effect";
|
|
11
|
+
import { type AppError } from "../app-error/index.js";
|
|
12
|
+
import { type ExtensionType } from "../extensions/index.js";
|
|
13
|
+
import type { ExtensionRef } from "../extensions/index.js";
|
|
14
|
+
import type { ExtensionPackRef } from "./refs.js";
|
|
15
|
+
import type { ExtensionTarget, PackExtensionTarget, SkillExtensionTarget } from "../workspace/service-interface.js";
|
|
16
|
+
import type { Lockfile } from "../lockfile/index.js";
|
|
17
|
+
import type { SourceHostProvidersService } from "../source-resolution/index.js";
|
|
18
|
+
/**
|
|
19
|
+
* Expand an extension pack ref into its cross-type dependency refs.
|
|
20
|
+
*
|
|
21
|
+
* Returns the extension pack ref first, followed by dependency refs (skill, command,
|
|
22
|
+
* mcp-server) in declaration order. Only dependency types listed in
|
|
23
|
+
* `supportedDependencyTypes` are included.
|
|
24
|
+
*
|
|
25
|
+
* Dependency refs use the extension pack's registry source and empty integrity
|
|
26
|
+
* (integrity is resolved during materialization, not at expansion time).
|
|
27
|
+
*/
|
|
28
|
+
export declare const expandExtensionPackInstallRefs: (args: {
|
|
29
|
+
readonly pack: ExtensionPackRef;
|
|
30
|
+
readonly supportedDependencyTypes: ReadonlyArray<ExtensionType>;
|
|
31
|
+
readonly sources: SourceHostProvidersService;
|
|
32
|
+
}) => Effect.Effect<ReadonlyArray<ExtensionRef>, AppError>;
|
|
33
|
+
/** Settings shape needed for directly-configured extension checks. */
|
|
34
|
+
export interface UninstallSettingsContext {
|
|
35
|
+
readonly skills: Readonly<Record<string, string>>;
|
|
36
|
+
readonly commands: Readonly<Record<string, string>>;
|
|
37
|
+
readonly mcpServers: Readonly<Record<string, string>>;
|
|
38
|
+
readonly subagents: Readonly<Record<string, string>>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Compute removable uninstall targets for an extension pack.
|
|
42
|
+
*
|
|
43
|
+
* Returns the extension pack target first, followed by orphaned dependency targets.
|
|
44
|
+
* Orphaned = extension pack dependency candidates minus:
|
|
45
|
+
* - dependencies still referenced by remaining installed extension packs
|
|
46
|
+
* - dependencies directly configured in settings
|
|
47
|
+
*
|
|
48
|
+
* Only dependency types listed in `supportedDependencyTypes` are considered.
|
|
49
|
+
*/
|
|
50
|
+
export declare const expandExtensionPackUninstallTargets: (args: {
|
|
51
|
+
readonly pack: PackExtensionTarget;
|
|
52
|
+
readonly supportedDependencyTypes: ReadonlyArray<ExtensionType>;
|
|
53
|
+
readonly lockfile: Lockfile;
|
|
54
|
+
readonly settings: UninstallSettingsContext;
|
|
55
|
+
}) => Effect.Effect<ReadonlyArray<ExtensionTarget>, AppError>;
|
|
56
|
+
/**
|
|
57
|
+
* Resolve skill names to lockfile-backed uninstall targets.
|
|
58
|
+
*
|
|
59
|
+
* Fails with AppError if any skill name is not found in the lockfile.
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveSkillUninstallTargetsFromLockfile: (skills: ReadonlyArray<{
|
|
62
|
+
readonly skillName: string;
|
|
63
|
+
}>, lockfile: Lockfile) => Effect.Effect<ReadonlyArray<SkillExtensionTarget>, AppError>;
|
|
64
|
+
//# sourceMappingURL=expansion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expansion.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packs/expansion.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAgC,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAWhF;;;;;;;;;GASG;AACH,eAAO,MAAM,8BAA8B,GAAI,MAAM;IACnD,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChC,QAAQ,CAAC,wBAAwB,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAChE,QAAQ,CAAC,OAAO,EAAE,0BAA0B,CAAC;CAC9C,KAAG,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,YAAY,CAAC,EAAE,QAAQ,CAWnD,CAAC;AAML,sEAAsE;AACtE,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClD,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAA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