@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,321 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registry source host provider implementations.
|
|
3
|
+
*
|
|
4
|
+
* Thin adapters between SourceHostProvider contract and RegistryClient.
|
|
5
|
+
* Type mapping at the boundary keeps registry and source domains separated.
|
|
6
|
+
*
|
|
7
|
+
* @experimental This API is unstable and may change without notice.
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
10
|
+
import * as FileSystem from "effect/FileSystem";
|
|
11
|
+
import * as Path from "effect/Path";
|
|
12
|
+
import * as Array from "effect/Array";
|
|
13
|
+
import * as Effect from "effect/Effect";
|
|
14
|
+
import * as Option from "effect/Option";
|
|
15
|
+
import { makeAppError } from "../../../app-error/index.js";
|
|
16
|
+
import { decodeHandleSync } from "../../../extensions/handle.js";
|
|
17
|
+
import { createRegistryClient, extractZip, resolveVersionEntry } from "../../../registry/index.js";
|
|
18
|
+
import { computeIntegrity } from "../../../utils/index.js";
|
|
19
|
+
import { decodeExtensionNameSync, installableExtensionTypes, isInstallableExtensionType, toAuthor, } from "../../../extensions/index.js";
|
|
20
|
+
// -----------------------------------------------------------------------------
|
|
21
|
+
// Type Mapping Helpers
|
|
22
|
+
// -----------------------------------------------------------------------------
|
|
23
|
+
/** Map FindOptions + owner to GetExtensionsByOwnerArgs (no pagination — fetch all). */
|
|
24
|
+
const toSearchOptions = (owner, options) => ({
|
|
25
|
+
owner,
|
|
26
|
+
names: options.names,
|
|
27
|
+
types: options.type === "*" ? [] : [options.type],
|
|
28
|
+
limit: Option.none(),
|
|
29
|
+
offset: 0,
|
|
30
|
+
});
|
|
31
|
+
const toRegistrySearchOptions = (owner, options) => ({
|
|
32
|
+
owner,
|
|
33
|
+
names: options.names,
|
|
34
|
+
types: options.type === "*" ? [] : [options.type],
|
|
35
|
+
limit: Option.none(),
|
|
36
|
+
offset: 0,
|
|
37
|
+
});
|
|
38
|
+
const authorToMetadata = (author) => ({
|
|
39
|
+
name: author.name,
|
|
40
|
+
...(Option.isSome(author.email) && { email: author.email.value }),
|
|
41
|
+
...(Option.isSome(author.url) && { url: author.url.value }),
|
|
42
|
+
});
|
|
43
|
+
const getSupportedExtensionRefs = (entries, source) => Array.getSomes(entries.map((entry) => toExtensionRef(entry, source)));
|
|
44
|
+
const manifestFromIndex = (index, versionConstraint) => {
|
|
45
|
+
const selectedVersion = resolveVersionEntry(index.versions, versionConstraint);
|
|
46
|
+
if (Option.isNone(selectedVersion))
|
|
47
|
+
return Option.none();
|
|
48
|
+
const version = selectedVersion.value;
|
|
49
|
+
return Option.some({
|
|
50
|
+
owner: index.owner,
|
|
51
|
+
type: index.type,
|
|
52
|
+
name: index.name,
|
|
53
|
+
description: Option.fromUndefinedOr(index.description),
|
|
54
|
+
repository: Option.fromUndefinedOr(index.repository),
|
|
55
|
+
license: Option.fromUndefinedOr(index.license),
|
|
56
|
+
authors: Option.match(Option.fromUndefinedOr(index.authors), {
|
|
57
|
+
onNone: () => [],
|
|
58
|
+
onSome: (authors) => authors.map((author) => toAuthor(author)),
|
|
59
|
+
}),
|
|
60
|
+
dependencies: version.dependencies ?? {},
|
|
61
|
+
version: version.version,
|
|
62
|
+
integrity: version.integrity,
|
|
63
|
+
compatiblePackages: version.compatiblePackages ?? [],
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
const findWithVersionConstraint = (client, source, owners, options) => Effect.forEach(owners, (owner) => Effect.gen(function* () {
|
|
67
|
+
const requestedTypes = options.type === "*" ? installableExtensionTypes : [options.type];
|
|
68
|
+
const requestedNames = options.names.length > 0 ? options.names : [];
|
|
69
|
+
if (requestedNames.length === 0) {
|
|
70
|
+
const result = yield* client.getExtensionsByScope(toRegistrySearchOptions(owner, options));
|
|
71
|
+
const resolved = yield* Effect.forEach(result.extensions, (entry) => client
|
|
72
|
+
.getExtensionIndex({
|
|
73
|
+
owner: entry.owner,
|
|
74
|
+
type: entry.type,
|
|
75
|
+
name: entry.name,
|
|
76
|
+
})
|
|
77
|
+
.pipe(Effect.map((indexOption) => Option.match(indexOption, {
|
|
78
|
+
onNone: () => Option.none(),
|
|
79
|
+
onSome: (index) => manifestFromIndex(index, options.versionConstraint),
|
|
80
|
+
}))), { concurrency: "unbounded" });
|
|
81
|
+
return getSupportedExtensionRefs(Array.getSomes(resolved), source);
|
|
82
|
+
}
|
|
83
|
+
const resolved = yield* Effect.forEach(requestedNames, (name) => Effect.forEach(requestedTypes, (type) => Effect.sync(() => {
|
|
84
|
+
try {
|
|
85
|
+
return decodeExtensionNameSync(name);
|
|
86
|
+
}
|
|
87
|
+
catch {
|
|
88
|
+
return undefined;
|
|
89
|
+
}
|
|
90
|
+
}).pipe(Effect.flatMap((decodedName) => decodedName === undefined
|
|
91
|
+
? Effect.succeed(Option.none())
|
|
92
|
+
: client.getExtensionIndex({ owner, type, name: decodedName }).pipe(Effect.map((indexOption) => Option.match(indexOption, {
|
|
93
|
+
onNone: () => Option.none(),
|
|
94
|
+
onSome: (index) => manifestFromIndex(index, options.versionConstraint),
|
|
95
|
+
}))))), { concurrency: "unbounded" }), { concurrency: "unbounded" });
|
|
96
|
+
return resolved.flat().flatMap((entry) => Option.match(entry, {
|
|
97
|
+
onNone: () => [],
|
|
98
|
+
onSome: (manifest) => getSupportedExtensionRefs([manifest], source),
|
|
99
|
+
}));
|
|
100
|
+
}), { concurrency: "unbounded" }).pipe(Effect.map((results) => results.flat()));
|
|
101
|
+
/** Map RegistryExtensionManifest to ExtensionRef, stamped with the source. */
|
|
102
|
+
const toExtensionRef = (entry, source) => {
|
|
103
|
+
if (!isInstallableExtensionType(entry.type)) {
|
|
104
|
+
return Option.none();
|
|
105
|
+
}
|
|
106
|
+
const repository = Option.getOrUndefined(entry.repository);
|
|
107
|
+
const license = Option.getOrUndefined(entry.license);
|
|
108
|
+
const authors = entry.authors.map((author) => authorToMetadata(author));
|
|
109
|
+
const dependencies = entry.dependencies;
|
|
110
|
+
const skillMetadata = {
|
|
111
|
+
...(repository !== undefined && { repository }),
|
|
112
|
+
...(license !== undefined && { license }),
|
|
113
|
+
...(authors.length > 0 && { authors }),
|
|
114
|
+
...(Object.keys(dependencies).length > 0 && { dependencies }),
|
|
115
|
+
};
|
|
116
|
+
const details = {
|
|
117
|
+
owner: entry.owner,
|
|
118
|
+
name: entry.name,
|
|
119
|
+
version: entry.version,
|
|
120
|
+
integrity: Option.fromUndefinedOr(entry.integrity || undefined),
|
|
121
|
+
compatiblePackages: entry.compatiblePackages,
|
|
122
|
+
};
|
|
123
|
+
switch (entry.type) {
|
|
124
|
+
case "skill":
|
|
125
|
+
return Option.some({
|
|
126
|
+
type: "skill",
|
|
127
|
+
refType: "registry",
|
|
128
|
+
skill: {
|
|
129
|
+
name: entry.name,
|
|
130
|
+
description: entry.description,
|
|
131
|
+
metadata: Object.keys(skillMetadata).length > 0 ? Option.some(skillMetadata) : Option.none(),
|
|
132
|
+
},
|
|
133
|
+
source,
|
|
134
|
+
...details,
|
|
135
|
+
});
|
|
136
|
+
case "mcp-server":
|
|
137
|
+
return Option.some({
|
|
138
|
+
type: "mcp-server",
|
|
139
|
+
refType: "registry",
|
|
140
|
+
server: { name: entry.name },
|
|
141
|
+
source,
|
|
142
|
+
...details,
|
|
143
|
+
});
|
|
144
|
+
case "command":
|
|
145
|
+
return Option.some({
|
|
146
|
+
type: "command",
|
|
147
|
+
refType: "registry",
|
|
148
|
+
command: { name: entry.name },
|
|
149
|
+
source,
|
|
150
|
+
...details,
|
|
151
|
+
});
|
|
152
|
+
case "subagent":
|
|
153
|
+
return Option.some({
|
|
154
|
+
type: "subagent",
|
|
155
|
+
refType: "registry",
|
|
156
|
+
subagent: { name: entry.name, description: entry.description },
|
|
157
|
+
source,
|
|
158
|
+
...details,
|
|
159
|
+
});
|
|
160
|
+
case "pack": {
|
|
161
|
+
const skills = {};
|
|
162
|
+
const commands = {};
|
|
163
|
+
const mcpServers = {};
|
|
164
|
+
const subagents = {};
|
|
165
|
+
for (const [key, version] of Object.entries(dependencies)) {
|
|
166
|
+
if (key.includes("/skills/"))
|
|
167
|
+
skills[key] = version;
|
|
168
|
+
else if (key.includes("/commands/"))
|
|
169
|
+
commands[key] = version;
|
|
170
|
+
else if (key.includes("/mcp-servers/"))
|
|
171
|
+
mcpServers[key] = version;
|
|
172
|
+
else if (key.includes("/subagents/"))
|
|
173
|
+
subagents[key] = version;
|
|
174
|
+
}
|
|
175
|
+
return Option.some({
|
|
176
|
+
type: "pack",
|
|
177
|
+
refType: "registry",
|
|
178
|
+
pack: { name: entry.name, skills, commands, mcpServers, subagents },
|
|
179
|
+
source,
|
|
180
|
+
...details,
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
/** Extract extension name from an ExtensionRef. */
|
|
186
|
+
const refName = (ref) => {
|
|
187
|
+
switch (ref.type) {
|
|
188
|
+
case "skill":
|
|
189
|
+
return ref.skill.name;
|
|
190
|
+
case "command":
|
|
191
|
+
return ref.command.name;
|
|
192
|
+
case "mcp-server":
|
|
193
|
+
return ref.server.name;
|
|
194
|
+
case "pack":
|
|
195
|
+
return ref.pack.name;
|
|
196
|
+
case "subagent":
|
|
197
|
+
return ref.subagent.name;
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
/** Map ExtensionRef type to ExtensionType. */
|
|
201
|
+
const refRegistryType = (ref) => ref.type;
|
|
202
|
+
const fetchRegistryExtension = (client, ref) => Effect.gen(function* () {
|
|
203
|
+
if (ref.refType !== "registry") {
|
|
204
|
+
return yield* makeAppError({
|
|
205
|
+
code: "SOURCE_FETCH_FAILED",
|
|
206
|
+
what: "Ref missing registry details (owner, version, integrity)",
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
const { owner, version, integrity: expectedIntegrity } = ref;
|
|
210
|
+
const type = refRegistryType(ref);
|
|
211
|
+
const name = refName(ref);
|
|
212
|
+
const { archive: archiveBytes } = yield* client.getExtensionPackage({
|
|
213
|
+
owner,
|
|
214
|
+
type,
|
|
215
|
+
name,
|
|
216
|
+
version: Option.some(version),
|
|
217
|
+
});
|
|
218
|
+
if (Option.isSome(expectedIntegrity)) {
|
|
219
|
+
const actualIntegrity = yield* computeIntegrity(archiveBytes);
|
|
220
|
+
if (actualIntegrity !== expectedIntegrity.value) {
|
|
221
|
+
return yield* makeAppError({
|
|
222
|
+
code: "SOURCE_FETCH_FAILED",
|
|
223
|
+
what: `Integrity mismatch for ${type}:${name}@${version}`,
|
|
224
|
+
details: [`Expected ${expectedIntegrity.value}, got ${actualIntegrity}`],
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
const fs = yield* FileSystem.FileSystem;
|
|
229
|
+
const tmpDir = yield* Effect.acquireRelease(fs.makeTempDirectory().pipe(Effect.mapError((e) => makeAppError({
|
|
230
|
+
code: "SOURCE_FETCH_FAILED",
|
|
231
|
+
what: "Failed to create temp directory",
|
|
232
|
+
cause: e,
|
|
233
|
+
}))), (dir) => fs.remove(dir, { recursive: true }).pipe(Effect.ignore));
|
|
234
|
+
yield* extractZip(archiveBytes, tmpDir);
|
|
235
|
+
return { directory: tmpDir };
|
|
236
|
+
});
|
|
237
|
+
// -----------------------------------------------------------------------------
|
|
238
|
+
// LocalRegistrySourceHostProvider
|
|
239
|
+
// -----------------------------------------------------------------------------
|
|
240
|
+
/**
|
|
241
|
+
* Creates a local registry source host provider backed by a RegistryClient.
|
|
242
|
+
*
|
|
243
|
+
* @experimental This API is unstable and may change without notice.
|
|
244
|
+
*/
|
|
245
|
+
export const createLocalRegistrySourceHostProvider = (client) => ({
|
|
246
|
+
type: "registry",
|
|
247
|
+
match: (url) => Effect.succeed(url.protocol === "file:"),
|
|
248
|
+
find: (source, options) => Effect.gen(function* () {
|
|
249
|
+
const fsService = yield* FileSystem.FileSystem;
|
|
250
|
+
const pathService = yield* Path.Path;
|
|
251
|
+
const extensionsDir = pathService.join(source.location.pathname, "extensions");
|
|
252
|
+
const dirExists = yield* fsService
|
|
253
|
+
.exists(extensionsDir)
|
|
254
|
+
.pipe(Effect.orElseSucceed(() => false));
|
|
255
|
+
if (!dirExists)
|
|
256
|
+
return [];
|
|
257
|
+
const entries = yield* fsService
|
|
258
|
+
.readDirectory(extensionsDir)
|
|
259
|
+
.pipe(Effect.orElseSucceed(() => []));
|
|
260
|
+
const namespaces = Option.isSome(options.owner)
|
|
261
|
+
? [options.owner.value]
|
|
262
|
+
: entries.filter((d) => d.startsWith("@")).map((entry) => decodeHandleSync(entry));
|
|
263
|
+
if (Option.isSome(options.versionConstraint)) {
|
|
264
|
+
return yield* findWithVersionConstraint(client, source, namespaces, options);
|
|
265
|
+
}
|
|
266
|
+
const results = yield* Effect.forEach(namespaces, (owner) => Effect.gen(function* () {
|
|
267
|
+
const result = yield* client.getExtensionsByScope(toRegistrySearchOptions(owner, options));
|
|
268
|
+
return getSupportedExtensionRefs(result.extensions, source);
|
|
269
|
+
}), { concurrency: "unbounded" });
|
|
270
|
+
return results.flat();
|
|
271
|
+
}),
|
|
272
|
+
fetch: (_source, ref) => fetchRegistryExtension(client, ref),
|
|
273
|
+
publishExtension: (owner, type, name, version, archive, metadata) => client.publishExtension({ owner, type, name, version, archive, metadata }),
|
|
274
|
+
});
|
|
275
|
+
// -----------------------------------------------------------------------------
|
|
276
|
+
// RemoteRegistrySourceHostProvider
|
|
277
|
+
// -----------------------------------------------------------------------------
|
|
278
|
+
/**
|
|
279
|
+
* Creates a remote registry source host provider backed by a RegistryClient.
|
|
280
|
+
*
|
|
281
|
+
* All operations delegate to the underlying RemoteRegistryClient, which
|
|
282
|
+
* returns errors for all operations (remote not yet supported).
|
|
283
|
+
*
|
|
284
|
+
* @experimental This API is unstable and may change without notice.
|
|
285
|
+
*/
|
|
286
|
+
export const createRemoteRegistrySourceHostProvider = (client) => ({
|
|
287
|
+
type: "registry",
|
|
288
|
+
match: (url) => Effect.succeed(url.protocol === "https:"),
|
|
289
|
+
find: (source, options) => Effect.gen(function* () {
|
|
290
|
+
const owner = Option.isSome(options.owner) ? options.owner.value : "*";
|
|
291
|
+
if (Option.isSome(options.versionConstraint) && owner !== "*") {
|
|
292
|
+
return yield* findWithVersionConstraint(client, source, [owner], options);
|
|
293
|
+
}
|
|
294
|
+
const searchOptions = owner === "*" ? toSearchOptions("*", options) : toRegistrySearchOptions(owner, options);
|
|
295
|
+
const result = yield* client.getExtensionsByScope(searchOptions);
|
|
296
|
+
return getSupportedExtensionRefs(result.extensions, source);
|
|
297
|
+
}),
|
|
298
|
+
fetch: (_source, ref) => fetchRegistryExtension(client, ref),
|
|
299
|
+
publishExtension: (owner, type, name, version, archive, metadata) => client.publishExtension({ owner, type, name, version, archive, metadata }),
|
|
300
|
+
});
|
|
301
|
+
// -----------------------------------------------------------------------------
|
|
302
|
+
// Factory
|
|
303
|
+
// -----------------------------------------------------------------------------
|
|
304
|
+
/**
|
|
305
|
+
* Create a registry source host provider for a given RegistrySourceHost.
|
|
306
|
+
*
|
|
307
|
+
* Creates the appropriate RegistryClient internally based on the host's
|
|
308
|
+
* location protocol, then wraps it in the matching host provider.
|
|
309
|
+
*
|
|
310
|
+
* @experimental This API is unstable and may change without notice.
|
|
311
|
+
*/
|
|
312
|
+
export const createRegistrySourceHostProviderFromHost = (host) => Effect.gen(function* () {
|
|
313
|
+
const location = host.location;
|
|
314
|
+
const locationStr = location.protocol === "file:" ? location.pathname : location.href;
|
|
315
|
+
const client = yield* createRegistryClient(locationStr);
|
|
316
|
+
if (location.protocol === "file:" || !location.protocol.startsWith("http")) {
|
|
317
|
+
return createLocalRegistrySourceHostProvider(client);
|
|
318
|
+
}
|
|
319
|
+
return createRemoteRegistrySourceHostProvider(client);
|
|
320
|
+
});
|
|
321
|
+
//# sourceMappingURL=host-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-provider.js","sourceRoot":"","sources":["../../../../../../src/unstable/source-resolution/providers/registry/host-provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAiB,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAe,MAAM,+BAA+B,CAAC;AAM9E,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,QAAQ,GAKT,MAAM,8BAA8B,CAAC;AAuBtC,gFAAgF;AAChF,uBAAuB;AACvB,gFAAgF;AAEhF,uFAAuF;AACvF,MAAM,eAAe,GAAG,CAAC,KAAU,EAAE,OAAoB,EAA4B,EAAE,CAAC,CAAC;IACvF,KAAK;IACL,KAAK,EAAE,OAAO,CAAC,KAAK;IACpB,KAAK,EAAE,OAAO,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACjD,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE;IACpB,MAAM,EAAE,CAAC;CACV,CAAC,CAAC;AAEH,MAAM,uBAAuB,GAAG,CAC9B,KAAa,EACb,OAAoB,EACM,EAAE,CAAC,CAAC;IAC9B,KAAK;IACL,KAAK,EAAE,OAAO,CAAC,KAAK;IACpB,KAAK,EAAE,OAAO,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,EA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
|
|
2
|
+
* Multi-source pattern resolution: handles both single sources and glob patterns.
|
|
3
|
+
*
|
|
4
|
+
* Wraps `resolveSource` for single inputs and expands globs against all known
|
|
5
|
+
* skills (locked, configured, and on-disk) to resolve multiple sources.
|
|
6
|
+
*
|
|
7
|
+
* @experimental This API is unstable and may change without notice.
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
10
|
+
import * as FileSystem from "effect/FileSystem";
|
|
11
|
+
import * as Path from "effect/Path";
|
|
12
|
+
import * as Effect from "effect/Effect";
|
|
13
|
+
import { type AppError } from "../app-error/index.js";
|
|
14
|
+
import { Workspace } from "../workspace/index.js";
|
|
15
|
+
import type { Source } from "../sources/index.js";
|
|
16
|
+
/**
|
|
17
|
+
* Resolve a source pattern into one or more `Source` values.
|
|
18
|
+
*
|
|
19
|
+
* - Single input (name, path, URL, etc.) → delegates to `resolveSource`, returns single-element array
|
|
20
|
+
* - Glob pattern (e.g. `effect-*`) → expands against locked, configured, and on-disk skills
|
|
21
|
+
*
|
|
22
|
+
* For single name inputs, includes fallbacks to configured skills and on-disk discovery
|
|
23
|
+
* when the skill is not in the lockfile.
|
|
24
|
+
*
|
|
25
|
+
* @experimental This API is unstable and may change without notice.
|
|
26
|
+
*/
|
|
27
|
+
export declare const resolveSourcePattern: (input: string) => Effect.Effect<ReadonlyArray<Source>, AppError, Workspace | FileSystem.FileSystem | Path.Path>;
|
|
28
|
+
//# sourceMappingURL=resolve-source-pattern.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-source-pattern.d.ts","sourceRoot":"","sources":["../../../../src/unstable/source-resolution/resolve-source-pattern.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGpE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAgGlD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,GAC/B,OAAO,MAAM,KACZ,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,SAAS,GAAG,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAqCxF,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Multi-source pattern resolution: handles both single sources and glob patterns.
|
|
3
|
+
*
|
|
4
|
+
* Wraps `resolveSource` for single inputs and expands globs against all known
|
|
5
|
+
* skills (locked, configured, and on-disk) to resolve multiple sources.
|
|
6
|
+
*
|
|
7
|
+
* @experimental This API is unstable and may change without notice.
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
10
|
+
import * as FileSystem from "effect/FileSystem";
|
|
11
|
+
import * as Path from "effect/Path";
|
|
12
|
+
import * as Array from "effect/Array";
|
|
13
|
+
import * as Effect from "effect/Effect";
|
|
14
|
+
import * as Option from "effect/Option";
|
|
15
|
+
import { getAgentById } from "../agents/index.js";
|
|
16
|
+
import { makeAppError } from "../app-error/index.js";
|
|
17
|
+
import { discoverSkillsInDir } from "./discover-skills.js";
|
|
18
|
+
import { expandGlobs, isGlobPattern } from "../utils/index.js";
|
|
19
|
+
import { Workspace } from "../workspace/index.js";
|
|
20
|
+
import { resolveSource } from "./resolve-source.js";
|
|
21
|
+
import { fileUrlToPath } from "../sources/index.js";
|
|
22
|
+
// -----------------------------------------------------------------------------
|
|
23
|
+
// Helpers
|
|
24
|
+
// -----------------------------------------------------------------------------
|
|
25
|
+
const sortNames = (names) => [...names].sort((a, b) => a.localeCompare(b));
|
|
26
|
+
/** Build candidate skill names and on-disk locations from all available sources, excluding ignored. */
|
|
27
|
+
const buildCandidates = Effect.gen(function* () {
|
|
28
|
+
const ws = yield* Workspace;
|
|
29
|
+
const path = yield* Path.Path;
|
|
30
|
+
const base = ws.baseDir;
|
|
31
|
+
const installedSkills = yield* ws.getInstalledSkills();
|
|
32
|
+
const unmanagedSkills = yield* ws.getUnmanagedSkills();
|
|
33
|
+
const configuredSkills = yield* ws.getConfiguredSkills();
|
|
34
|
+
const configuredAgents = yield* ws.getConfiguredAgents();
|
|
35
|
+
const agentRoots = sortNames(Array.dedupe(Array.getSomes(Array.map(configuredAgents, (agentId) => Option.map(getAgentById(agentId), (agent) => path.join(base, agent.skills.dir))))));
|
|
36
|
+
const onDiskRefs = yield* Effect.forEach(agentRoots, (agentRoot) => discoverSkillsInDir(agentRoot, Option.none(), {
|
|
37
|
+
fullDepth: false,
|
|
38
|
+
includeInternal: false,
|
|
39
|
+
}).pipe(Effect.catch(() => Effect.succeed([]))), { concurrency: "unbounded" }).pipe(Effect.map(Array.flatten));
|
|
40
|
+
const refsSortedByLocation = [...onDiskRefs].sort((a, b) => a.location.localeCompare(b.location));
|
|
41
|
+
const onDiskByName = new Map();
|
|
42
|
+
for (const ref of refsSortedByLocation) {
|
|
43
|
+
if (!onDiskByName.has(ref.skill.name)) {
|
|
44
|
+
onDiskByName.set(ref.skill.name, fileUrlToPath(ref.location));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// Candidate set: installed + unmanaged (both exclude ignored names via classifier)
|
|
48
|
+
const names = sortNames(Array.dedupe([
|
|
49
|
+
...Object.keys(installedSkills),
|
|
50
|
+
...Object.keys(unmanagedSkills),
|
|
51
|
+
...onDiskByName.keys(),
|
|
52
|
+
]));
|
|
53
|
+
// Filter out ignored names from on-disk discoveries
|
|
54
|
+
const ignoredPatterns = yield* ws.getIgnoredSkillPatterns();
|
|
55
|
+
const filteredNames = ignoredPatterns.length > 0
|
|
56
|
+
? names.filter((name) => !expandGlobs(ignoredPatterns, [name]).length)
|
|
57
|
+
: names;
|
|
58
|
+
return { names: filteredNames, configuredSkills, onDiskByName };
|
|
59
|
+
});
|
|
60
|
+
/** Resolve a single skill name with fallbacks: resolveSource → configured source → on-disk path. */
|
|
61
|
+
const resolveNameWithFallback = (name, configuredSkills, onDiskByName) => resolveSource(name).pipe(Effect.catchTag("AppError", (error) => {
|
|
62
|
+
if (error.code !== "SOURCE_PARSE_FAILED") {
|
|
63
|
+
return Effect.fail(error);
|
|
64
|
+
}
|
|
65
|
+
const configuredEntry = configuredSkills[name];
|
|
66
|
+
if (configuredEntry !== undefined) {
|
|
67
|
+
return resolveSource(configuredEntry.source);
|
|
68
|
+
}
|
|
69
|
+
const diskPath = onDiskByName.get(name);
|
|
70
|
+
if (diskPath !== undefined) {
|
|
71
|
+
return Effect.succeed({ type: "local", path: diskPath });
|
|
72
|
+
}
|
|
73
|
+
return Effect.fail(error);
|
|
74
|
+
}));
|
|
75
|
+
// -----------------------------------------------------------------------------
|
|
76
|
+
// Main
|
|
77
|
+
// -----------------------------------------------------------------------------
|
|
78
|
+
/**
|
|
79
|
+
* Resolve a source pattern into one or more `Source` values.
|
|
80
|
+
*
|
|
81
|
+
* - Single input (name, path, URL, etc.) → delegates to `resolveSource`, returns single-element array
|
|
82
|
+
* - Glob pattern (e.g. `effect-*`) → expands against locked, configured, and on-disk skills
|
|
83
|
+
*
|
|
84
|
+
* For single name inputs, includes fallbacks to configured skills and on-disk discovery
|
|
85
|
+
* when the skill is not in the lockfile.
|
|
86
|
+
*
|
|
87
|
+
* @experimental This API is unstable and may change without notice.
|
|
88
|
+
*/
|
|
89
|
+
export const resolveSourcePattern = (input) => isGlobPattern(input)
|
|
90
|
+
? Effect.gen(function* () {
|
|
91
|
+
const candidates = yield* buildCandidates;
|
|
92
|
+
const matchedNames = expandGlobs([input], candidates.names);
|
|
93
|
+
if (matchedNames.length === 0) {
|
|
94
|
+
return yield* makeAppError({
|
|
95
|
+
code: "NO_SKILLS_MATCHED",
|
|
96
|
+
what: "No skills matched the given pattern",
|
|
97
|
+
details: [`Pattern: ${input}`, `Available: ${candidates.names.join(", ")}`],
|
|
98
|
+
howToFix: "Check installed skill names with `axm skills list`.",
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
return yield* Effect.forEach(sortNames(matchedNames), (name) => resolveNameWithFallback(name, candidates.configuredSkills, candidates.onDiskByName), { concurrency: "unbounded" });
|
|
102
|
+
})
|
|
103
|
+
: resolveSource(input).pipe(Effect.catchTag("AppError", (error) => {
|
|
104
|
+
if (error.code !== "SOURCE_PARSE_FAILED") {
|
|
105
|
+
return Effect.fail(error);
|
|
106
|
+
}
|
|
107
|
+
return Effect.gen(function* () {
|
|
108
|
+
const candidates = yield* buildCandidates;
|
|
109
|
+
return yield* resolveNameWithFallback(input, candidates.configuredSkills, candidates.onDiskByName);
|
|
110
|
+
});
|
|
111
|
+
}), Effect.map((source) => [source]));
|
|
112
|
+
//# sourceMappingURL=resolve-source-pattern.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-source-pattern.js","sourceRoot":"","sources":["../../../../src/unstable/source-resolution/resolve-source-pattern.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAiB,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAwB,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE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C1C,OAAO,KAAK,CAAC,CAAC,uBAAuB,CACnC,KAAK,EACL,UAAU,CAAC,gBAAgB,EAC3B,UAAU,CAAC,YAAY,CACxB,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,EACF,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CACjC,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source resolution: classifies input via parseInputPattern, then routes
|
|
3
|
+
* each pattern type to the appropriate resolution logic.
|
|
4
|
+
*
|
|
5
|
+
* For URL and SCP patterns, resolution iterates configured sources and
|
|
6
|
+
* matches by hostname + provider parse. For other patterns, resolution
|
|
7
|
+
* handles them directly.
|
|
8
|
+
*
|
|
9
|
+
* @experimental This API is unstable and may change without notice.
|
|
10
|
+
* @packageDocumentation
|
|
11
|
+
*/
|
|
12
|
+
import type * as FileSystem from "effect/FileSystem";
|
|
13
|
+
import type * as Path from "effect/Path";
|
|
14
|
+
import * as Effect from "effect/Effect";
|
|
15
|
+
import * as Option from "effect/Option";
|
|
16
|
+
import { type AppError } from "../app-error/index.js";
|
|
17
|
+
import type { InputParseResult, ShorthandInput, Source } from "../sources/index.js";
|
|
18
|
+
import { type Handle } from "../extensions/handle.js";
|
|
19
|
+
import type { ExtensionName, ExtensionTypePlural } from "../extensions/index.js";
|
|
20
|
+
import { Workspace } from "../workspace/index.js";
|
|
21
|
+
/**
|
|
22
|
+
* Route a URL input by iterating configured sources and matching by
|
|
23
|
+
* hostname + provider parse. First successful match wins.
|
|
24
|
+
*/
|
|
25
|
+
export declare const routeUrlInput: (url: URL, input: string) => Effect.Effect<Source, AppError, Workspace>;
|
|
26
|
+
/**
|
|
27
|
+
* Route an SCP address by iterating configured sources and matching by
|
|
28
|
+
* hostname + provider parse. First successful match wins.
|
|
29
|
+
*/
|
|
30
|
+
export declare const routeScpInput: (scp: {
|
|
31
|
+
readonly user: string;
|
|
32
|
+
readonly host: string;
|
|
33
|
+
readonly path: string;
|
|
34
|
+
}, input: string) => Effect.Effect<Source, AppError, Workspace>;
|
|
35
|
+
/**
|
|
36
|
+
* Route shorthand input (github:owner/repo, ghe:owner/repo, etc.).
|
|
37
|
+
*
|
|
38
|
+
* Known source-type prefixes dispatch directly to the provider's shorthand
|
|
39
|
+
* parser. Config-name prefixes look up the config and parse using its source
|
|
40
|
+
* type's shorthand parser.
|
|
41
|
+
*/
|
|
42
|
+
export declare const resolveShorthandInputSource: (parseResult: InputParseResult<ShorthandInput>) => Effect.Effect<Source, AppError, Workspace>;
|
|
43
|
+
/** Route NameInput: look up installed skill in lockfile, then configured skills. */
|
|
44
|
+
export declare const routeNameInput: (name: string, input: string) => Effect.Effect<Source, AppError, FileSystem.FileSystem | Path.Path | Workspace>;
|
|
45
|
+
/** Route RegistryPatternInput: find matching registry config and intersect with params. */
|
|
46
|
+
export declare const routeRegistryInput: (pattern: {
|
|
47
|
+
readonly type: Option.Option<ExtensionTypePlural>;
|
|
48
|
+
readonly owner: Handle;
|
|
49
|
+
readonly name: Option.Option<ExtensionName>;
|
|
50
|
+
}, input: string) => Effect.Effect<{
|
|
51
|
+
type: "registry";
|
|
52
|
+
location: URL;
|
|
53
|
+
owner: Option.Option<string & import("effect/Brand").Brand<"Handle">>;
|
|
54
|
+
}, AppError, Workspace>;
|
|
55
|
+
export declare const resolveSlashInputSource: (pattern: {
|
|
56
|
+
readonly first: string;
|
|
57
|
+
readonly second: string;
|
|
58
|
+
readonly third: Option.Option<string>;
|
|
59
|
+
}, input: string) => Effect.Effect<Source, AppError, FileSystem.FileSystem | Path.Path | Workspace>;
|
|
60
|
+
/**
|
|
61
|
+
* Resolve a source string into a fully resolved `Source`.
|
|
62
|
+
*
|
|
63
|
+
* Classifies the input via `parseInputPattern`, then routes each pattern
|
|
64
|
+
* type to the appropriate resolution logic. For URL and SCP patterns,
|
|
65
|
+
* resolution iterates configured sources and matches by hostname + provider
|
|
66
|
+
* parse. For other patterns, resolution handles them directly.
|
|
67
|
+
*
|
|
68
|
+
* @experimental This API is unstable and may change without notice.
|
|
69
|
+
* @param input - The source string to resolve
|
|
70
|
+
* @returns Effect containing a resolved `Source` or `AppError`
|
|
71
|
+
*/
|
|
72
|
+
export declare const resolveSource: (input: string) => Effect.Effect<Source, AppError, FileSystem.FileSystem | Path.Path | Workspace>;
|
|
73
|
+
//# sourceMappingURL=resolve-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-source.d.ts","sourceRoot":"","sources":["../../../../src/unstable/source-resolution/resolve-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,KAAK,UAAU,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,KAAK,IAAI,MAAM,aAAa,CAAC;AAEzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKpE,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EAEd,MAAM,EAGP,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAoB,KAAK,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAiB,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAUhG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAkHlD;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,GAAG,EAAE,OAAO,MAAM,+CA8CjD,CAAC;AA4CL;;;GAGG;AACH,eAAO,MAAM,aAAa,GACxB,KAAK;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAC5E,OAAO,MAAM,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