@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,312 @@
|
|
|
1
|
+
import { decodeExtensionNameSync, REGISTRY_EXTENSIONS_DIR, parseFqnOrThrow, readAndDecodeManifest, extensionTypeFromPlural, } from "../extensions/index.js";
|
|
2
|
+
import { ExtensionPackManifestSchema, EXTENSION_PACK_MANIFEST_FILENAME, } from "./manifest-schema.js";
|
|
3
|
+
import { computeExtensionPackPaths } from "./paths.js";
|
|
4
|
+
import * as Effect from "effect/Effect";
|
|
5
|
+
import * as Option from "effect/Option";
|
|
6
|
+
import * as Schema from "effect/Schema";
|
|
7
|
+
import {} from "../extensions/handle.js";
|
|
8
|
+
import { parseRegistrySourceRef } from "../extensions/registry-source.js";
|
|
9
|
+
import { MANIFEST_FILENAME as SKILL_MANIFEST_FILENAME, SkillManifestSchema, } from "../skills/manifest-schema.js";
|
|
10
|
+
import { computeSkillPaths } from "../skills/paths.js";
|
|
11
|
+
import { COMMAND_MANIFEST_FILENAME, CommandManifestSchema } from "../commands/manifest-schema.js";
|
|
12
|
+
import { MCP_SERVER_MANIFEST_FILENAME, McpServerManifestSchema, } from "../mcp-servers/manifest-schema.js";
|
|
13
|
+
import { MANIFEST_FILENAME as SUBAGENT_MANIFEST_FILENAME, SubagentManifestSchema, } from "../subagents/manifest-schema.js";
|
|
14
|
+
import { satisfiesConstraint } from "../version-constraints/version-constraints.js";
|
|
15
|
+
import { makeRegistryExtensionPackLockEntry, } from "../lockfile/index.js";
|
|
16
|
+
import { decodeVersionConstraintSync, } from "../version-constraints/version-constraints.js";
|
|
17
|
+
const parseRegistryPackSource = (source) => {
|
|
18
|
+
if (source === "registry") {
|
|
19
|
+
return Option.none();
|
|
20
|
+
}
|
|
21
|
+
const parsed = parseRegistrySourceRef(source);
|
|
22
|
+
if (parsed === undefined || parsed.type !== "packs") {
|
|
23
|
+
return Option.none();
|
|
24
|
+
}
|
|
25
|
+
return Option.some({
|
|
26
|
+
owner: parsed.owner,
|
|
27
|
+
name: parsed.name,
|
|
28
|
+
constraint: parsed.versionConstraint ?? decodeVersionConstraintSync("*"),
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
const parseExtensionPackDependency = (type, singularType, fqn, constraint, order) => {
|
|
32
|
+
let parsed;
|
|
33
|
+
try {
|
|
34
|
+
parsed = parseFqnOrThrow(fqn);
|
|
35
|
+
}
|
|
36
|
+
catch {
|
|
37
|
+
return Option.none();
|
|
38
|
+
}
|
|
39
|
+
if (parsed.type !== singularType) {
|
|
40
|
+
return Option.none();
|
|
41
|
+
}
|
|
42
|
+
return Option.some({
|
|
43
|
+
type,
|
|
44
|
+
owner: parsed.owner,
|
|
45
|
+
name: parsed.name,
|
|
46
|
+
source: fqn,
|
|
47
|
+
declarationSourceOrConstraint: constraint,
|
|
48
|
+
order,
|
|
49
|
+
origin: "pack",
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
const collectExtensionPackDependencyDeclarations = (type, singularType, candidates, declarations) => {
|
|
53
|
+
if (candidates === null || typeof candidates !== "object") {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
for (const [fqn, constraint] of Object.entries(candidates)) {
|
|
57
|
+
if (typeof constraint !== "string") {
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
let versionConstraint;
|
|
61
|
+
try {
|
|
62
|
+
versionConstraint = decodeVersionConstraintSync(constraint);
|
|
63
|
+
}
|
|
64
|
+
catch {
|
|
65
|
+
continue;
|
|
66
|
+
}
|
|
67
|
+
const parsedDep = parseExtensionPackDependency(type, singularType, fqn, versionConstraint, declarations.length);
|
|
68
|
+
if (Option.isSome(parsedDep)) {
|
|
69
|
+
declarations.push(parsedDep.value);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
const makeManifestDecoder = (schema) => {
|
|
74
|
+
const decode = Schema.decodeUnknownSync(schema);
|
|
75
|
+
return (json) => {
|
|
76
|
+
try {
|
|
77
|
+
return decode(json);
|
|
78
|
+
}
|
|
79
|
+
catch {
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
const decodeSkillManifest = makeManifestDecoder(SkillManifestSchema);
|
|
85
|
+
const decodeCommandManifest = makeManifestDecoder(CommandManifestSchema);
|
|
86
|
+
const decodeMcpServerManifest = makeManifestDecoder(McpServerManifestSchema);
|
|
87
|
+
const decodeSubagentManifest = makeManifestDecoder(SubagentManifestSchema);
|
|
88
|
+
const readInstalledDependencyVersion = (type, fqn, constraint, context, env) => Effect.gen(function* () {
|
|
89
|
+
const parsed = (() => {
|
|
90
|
+
try {
|
|
91
|
+
return parseFqnOrThrow(fqn);
|
|
92
|
+
}
|
|
93
|
+
catch {
|
|
94
|
+
return undefined;
|
|
95
|
+
}
|
|
96
|
+
})();
|
|
97
|
+
if (parsed === undefined || parsed.type !== extensionTypeFromPlural[type]) {
|
|
98
|
+
return {
|
|
99
|
+
_tag: "Unresolved",
|
|
100
|
+
reason: "declaration-mismatch",
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
const dependencyDeclaration = {
|
|
104
|
+
type,
|
|
105
|
+
owner: parsed.owner,
|
|
106
|
+
name: parsed.name,
|
|
107
|
+
source: fqn,
|
|
108
|
+
declarationSourceOrConstraint: constraint,
|
|
109
|
+
order: 0,
|
|
110
|
+
origin: "pack",
|
|
111
|
+
};
|
|
112
|
+
const canonicalPath = type === "skills"
|
|
113
|
+
? computeSkillPaths(env.path.join, context.baseDir, { refType: "registry", owner: parsed.owner }, parsed.name).canonicalPath
|
|
114
|
+
: env.path.join(context.baseDir, REGISTRY_EXTENSIONS_DIR, parsed.owner, type, parsed.name);
|
|
115
|
+
const result = type === "skills"
|
|
116
|
+
? yield* readAndDecodeManifest(dependencyDeclaration, canonicalPath, SKILL_MANIFEST_FILENAME, decodeSkillManifest, "skill", env)
|
|
117
|
+
: type === "commands"
|
|
118
|
+
? yield* readAndDecodeManifest(dependencyDeclaration, canonicalPath, COMMAND_MANIFEST_FILENAME, decodeCommandManifest, "command", env)
|
|
119
|
+
: type === "mcp-servers"
|
|
120
|
+
? yield* readAndDecodeManifest(dependencyDeclaration, canonicalPath, MCP_SERVER_MANIFEST_FILENAME, decodeMcpServerManifest, "MCP server", env)
|
|
121
|
+
: yield* readAndDecodeManifest(dependencyDeclaration, canonicalPath, SUBAGENT_MANIFEST_FILENAME, decodeSubagentManifest, "subagent", env);
|
|
122
|
+
if (result._tag !== "ok") {
|
|
123
|
+
return {
|
|
124
|
+
_tag: "Unresolved",
|
|
125
|
+
reason: result.reason,
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
const { manifest } = result;
|
|
129
|
+
if (manifest.owner !== parsed.owner || manifest.name !== parsed.name) {
|
|
130
|
+
return {
|
|
131
|
+
_tag: "Unresolved",
|
|
132
|
+
reason: "declaration-mismatch",
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
if (!satisfiesConstraint(manifest.version, constraint)) {
|
|
136
|
+
return {
|
|
137
|
+
_tag: "Unresolved",
|
|
138
|
+
reason: "declaration-mismatch",
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
return {
|
|
142
|
+
_tag: "Resolved",
|
|
143
|
+
version: manifest.version,
|
|
144
|
+
};
|
|
145
|
+
});
|
|
146
|
+
const resolveInstalledDependencyMap = (type, dependencies, context, env) => Effect.gen(function* () {
|
|
147
|
+
const resolvedEntries = [];
|
|
148
|
+
for (const [fqn, constraint] of Object.entries(dependencies ?? {})) {
|
|
149
|
+
const result = yield* readInstalledDependencyVersion(type, fqn, constraint, context, env);
|
|
150
|
+
if (result._tag === "Unresolved") {
|
|
151
|
+
return result;
|
|
152
|
+
}
|
|
153
|
+
resolvedEntries.push([fqn, result.version]);
|
|
154
|
+
}
|
|
155
|
+
return {
|
|
156
|
+
_tag: "Resolved",
|
|
157
|
+
resolved: Object.fromEntries(resolvedEntries),
|
|
158
|
+
};
|
|
159
|
+
});
|
|
160
|
+
export const extensionPackReconciliationAdapter = {
|
|
161
|
+
type: "packs",
|
|
162
|
+
scanDeclarations: (context, env) => Effect.gen(function* () {
|
|
163
|
+
const declarations = [];
|
|
164
|
+
const warnings = [];
|
|
165
|
+
const packs = context.settings.packs ?? {};
|
|
166
|
+
for (const [name, entry] of Object.entries(packs)) {
|
|
167
|
+
const source = entry.source;
|
|
168
|
+
const parsed = parseRegistryPackSource(source);
|
|
169
|
+
const owner = Option.match(parsed, {
|
|
170
|
+
onNone: () => context.defaultProfile,
|
|
171
|
+
onSome: (value) => value.owner,
|
|
172
|
+
});
|
|
173
|
+
const diskName = Option.match(parsed, {
|
|
174
|
+
onNone: () => decodeExtensionNameSync(name),
|
|
175
|
+
onSome: (value) => value.name,
|
|
176
|
+
});
|
|
177
|
+
declarations.push({
|
|
178
|
+
type: "packs",
|
|
179
|
+
owner,
|
|
180
|
+
name: diskName,
|
|
181
|
+
source,
|
|
182
|
+
declarationSourceOrConstraint: Option.match(parsed, {
|
|
183
|
+
onNone: () => source,
|
|
184
|
+
onSome: (value) => value.constraint,
|
|
185
|
+
}),
|
|
186
|
+
order: declarations.length,
|
|
187
|
+
origin: "settings",
|
|
188
|
+
});
|
|
189
|
+
const packDir = computeExtensionPackPaths(env.path.join, context.baseDir, owner, diskName).canonicalPath;
|
|
190
|
+
const manifestPath = env.path.join(packDir, EXTENSION_PACK_MANIFEST_FILENAME);
|
|
191
|
+
const manifestRaw = yield* env.fs
|
|
192
|
+
.readFileString(manifestPath)
|
|
193
|
+
.pipe(Effect.catch(() => Effect.succeed("")));
|
|
194
|
+
if (manifestRaw.length === 0) {
|
|
195
|
+
continue;
|
|
196
|
+
}
|
|
197
|
+
const parsedJson = yield* Effect.sync(() => {
|
|
198
|
+
try {
|
|
199
|
+
const parsedManifest = JSON.parse(manifestRaw);
|
|
200
|
+
return parsedManifest;
|
|
201
|
+
}
|
|
202
|
+
catch {
|
|
203
|
+
return null;
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
if (parsedJson === null) {
|
|
207
|
+
warnings.push(`PACK_MANIFEST_PARSE_FAILED: ${manifestPath}`);
|
|
208
|
+
continue;
|
|
209
|
+
}
|
|
210
|
+
const manifest = yield* Schema.decodeUnknownEffect(ExtensionPackManifestSchema)(parsedJson).pipe(Effect.catch(() => Effect.succeed(null)));
|
|
211
|
+
if (manifest === null) {
|
|
212
|
+
warnings.push(`PACK_MANIFEST_INVALID: ${manifestPath}`);
|
|
213
|
+
continue;
|
|
214
|
+
}
|
|
215
|
+
collectExtensionPackDependencyDeclarations("skills", "skill", manifest.skills, declarations);
|
|
216
|
+
collectExtensionPackDependencyDeclarations("commands", "command", manifest.commands, declarations);
|
|
217
|
+
collectExtensionPackDependencyDeclarations("mcp-servers", "mcp-server", manifest["mcp-servers"], declarations);
|
|
218
|
+
}
|
|
219
|
+
return { declarations, warnings };
|
|
220
|
+
}),
|
|
221
|
+
checkDiskCompatibility: (declaration, context, env) => Effect.gen(function* () {
|
|
222
|
+
const parsed = parseRegistryPackSource(declaration.source);
|
|
223
|
+
if (declaration.source !== "registry" && Option.isNone(parsed)) {
|
|
224
|
+
return {
|
|
225
|
+
_tag: "Unresolved",
|
|
226
|
+
declaration,
|
|
227
|
+
reason: "declaration-mismatch",
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
const owner = Option.match(parsed, {
|
|
231
|
+
onNone: () => declaration.owner,
|
|
232
|
+
onSome: (value) => value.owner,
|
|
233
|
+
});
|
|
234
|
+
const diskName = Option.match(parsed, {
|
|
235
|
+
onNone: () => declaration.name,
|
|
236
|
+
onSome: (value) => value.name,
|
|
237
|
+
});
|
|
238
|
+
const canonicalPath = computeExtensionPackPaths(env.path.join, context.baseDir, owner, diskName).canonicalPath;
|
|
239
|
+
const decodePackManifest = (json) => {
|
|
240
|
+
try {
|
|
241
|
+
return Schema.decodeUnknownSync(ExtensionPackManifestSchema)(json);
|
|
242
|
+
}
|
|
243
|
+
catch {
|
|
244
|
+
return null;
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
const result = yield* readAndDecodeManifest(declaration, canonicalPath, EXTENSION_PACK_MANIFEST_FILENAME, decodePackManifest, "pack", env);
|
|
248
|
+
if (result._tag !== "ok")
|
|
249
|
+
return result;
|
|
250
|
+
const { manifest } = result;
|
|
251
|
+
if (manifest.owner !== owner || manifest.name !== diskName) {
|
|
252
|
+
return {
|
|
253
|
+
_tag: "Unresolved",
|
|
254
|
+
declaration,
|
|
255
|
+
reason: "declaration-mismatch",
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
const resolvedSkills = yield* resolveInstalledDependencyMap("skills", manifest.skills, context, env);
|
|
259
|
+
if (resolvedSkills._tag === "Unresolved") {
|
|
260
|
+
return {
|
|
261
|
+
_tag: "Unresolved",
|
|
262
|
+
declaration,
|
|
263
|
+
reason: resolvedSkills.reason,
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
const resolvedCommands = yield* resolveInstalledDependencyMap("commands", manifest.commands, context, env);
|
|
267
|
+
if (resolvedCommands._tag === "Unresolved") {
|
|
268
|
+
return {
|
|
269
|
+
_tag: "Unresolved",
|
|
270
|
+
declaration,
|
|
271
|
+
reason: resolvedCommands.reason,
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
const resolvedMcpServers = yield* resolveInstalledDependencyMap("mcp-servers", manifest["mcp-servers"], context, env);
|
|
275
|
+
if (resolvedMcpServers._tag === "Unresolved") {
|
|
276
|
+
return {
|
|
277
|
+
_tag: "Unresolved",
|
|
278
|
+
declaration,
|
|
279
|
+
reason: resolvedMcpServers.reason,
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
const resolvedSubagents = yield* resolveInstalledDependencyMap("subagents", manifest.subagents, context, env);
|
|
283
|
+
if (resolvedSubagents._tag === "Unresolved") {
|
|
284
|
+
return {
|
|
285
|
+
_tag: "Unresolved",
|
|
286
|
+
declaration,
|
|
287
|
+
reason: resolvedSubagents.reason,
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
return {
|
|
291
|
+
_tag: "Compatible",
|
|
292
|
+
reconstructed: {
|
|
293
|
+
type: "packs",
|
|
294
|
+
name: declaration.name,
|
|
295
|
+
entry: makeRegistryExtensionPackLockEntry({
|
|
296
|
+
owner,
|
|
297
|
+
name: diskName,
|
|
298
|
+
resolvedVersion: manifest.version,
|
|
299
|
+
integrity: "",
|
|
300
|
+
sourceName: "default",
|
|
301
|
+
installedAt: context.now,
|
|
302
|
+
updatedAt: context.now,
|
|
303
|
+
resolvedSkills: resolvedSkills.resolved,
|
|
304
|
+
resolvedCommands: resolvedCommands.resolved,
|
|
305
|
+
resolvedMcpServers: resolvedMcpServers.resolved,
|
|
306
|
+
resolvedSubagents: resolvedSubagents.resolved,
|
|
307
|
+
}),
|
|
308
|
+
},
|
|
309
|
+
};
|
|
310
|
+
}),
|
|
311
|
+
};
|
|
312
|
+
//# sourceMappingURL=reconciliation-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reconciliation-adapter.js","sourceRoot":"","sources":["../../../../src/unstable/packs/reconciliation-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EAEvB,eAAe,EACf,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,2BAA2B,EAC3B,gCAAgC,GAEjC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAe,MAAM,yBAAyB,CAAC;AACt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oBACvC,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ;oBAC3C,kBAAkB,EAAE,kBAAkB,CAAC,QAAQ;oBAC/C,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ;iBAC9C,CAAC;aACH;SAC8B,CAAC;IACpC,CAAC,CAAC;CACL,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extension pack ref types.
|
|
3
|
+
*
|
|
4
|
+
* Concrete extension pack refs built on top of the shared ref base hierarchy.
|
|
5
|
+
*
|
|
6
|
+
* @experimental This API is unstable and may change without notice.
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
import type { ExtensionPackRefBase, RegistryRefDetails } from "../extensions/ref-base.js";
|
|
10
|
+
import type { RegistrySource } from "../sources/types.js";
|
|
11
|
+
/** @experimental */
|
|
12
|
+
export type RegistryExtensionPackRef = ExtensionPackRefBase<"registry", RegistrySource> & RegistryRefDetails;
|
|
13
|
+
/** @experimental */
|
|
14
|
+
export type ExtensionPackRef = RegistryExtensionPackRef;
|
|
15
|
+
//# sourceMappingURL=refs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refs.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packs/refs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAM1D,oBAAoB;AACpB,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,GACrF,kBAAkB,CAAC;AAErB,oBAAoB;AACpB,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extension pack ref types.
|
|
3
|
+
*
|
|
4
|
+
* Concrete extension pack refs built on top of the shared ref base hierarchy.
|
|
5
|
+
*
|
|
6
|
+
* @experimental This API is unstable and may change without notice.
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=refs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refs.js","sourceRoot":"","sources":["../../../../src/unstable/packs/refs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
declare const ArchiveGuardrailError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
3
|
+
readonly _tag: "ArchiveGuardrailError";
|
|
4
|
+
} & Readonly<A>;
|
|
5
|
+
export declare class ArchiveGuardrailError extends ArchiveGuardrailError_base<{
|
|
6
|
+
readonly code: "path_traversal" | "absolute_path" | "duplicate_entry" | "symlink_entry" | "unsupported_compression" | "malformed_archive" | "decompression_limit_exceeded" | "compression_ratio_exceeded" | "entry_count_exceeded";
|
|
7
|
+
readonly message: string;
|
|
8
|
+
readonly entry?: string;
|
|
9
|
+
}> {
|
|
10
|
+
}
|
|
11
|
+
export declare const ZIP_LOCAL_SIGNATURE = 67324752;
|
|
12
|
+
export interface ZipEntry {
|
|
13
|
+
readonly fileName: string;
|
|
14
|
+
readonly compressedSize: number;
|
|
15
|
+
readonly uncompressedSize: number;
|
|
16
|
+
readonly compressionMethod: number;
|
|
17
|
+
readonly externalAttributes: number;
|
|
18
|
+
readonly localHeaderOffset: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ArchiveGuardrailLimits {
|
|
21
|
+
readonly maxEntries?: number;
|
|
22
|
+
readonly maxDecompressedBytes?: number;
|
|
23
|
+
readonly maxCompressionRatio?: number;
|
|
24
|
+
}
|
|
25
|
+
export declare const parseZipCentralDirectory: (buf: Uint8Array) => Effect.Effect<readonly ZipEntry[], ArchiveGuardrailError>;
|
|
26
|
+
export declare const validateArchive: (archiveBytes: Uint8Array, limits?: ArchiveGuardrailLimits) => Effect.Effect<readonly ZipEntry[], ArchiveGuardrailError>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=archive-guardrails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archive-guardrails.d.ts","sourceRoot":"","sources":["../../../../src/unstable/publish/archive-guardrails.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;;;;AAExC,qBAAa,qBAAsB,SAAQ,2BAA0C;IACnF,QAAQ,CAAC,IAAI,EACT,gBAAgB,GAChB,eAAe,GACf,iBAAiB,GACjB,eAAe,GACf,yBAAyB,GACzB,mBAAmB,GACnB,8BAA8B,GAC9B,4BAA4B,GAC5B,sBAAsB,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;CAAG;AAIL,eAAO,MAAM,mBAAmB,WAAa,CAAC;AAW9C,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACpC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CACvC;AAuBD,eAAO,MAAM,wBAAwB,GACnC,KAAK,UAAU,KACd,MAAM,CAAC,MAAM,CAAC,SAAS,QAAQ,EAAE,EAAE,qBAAqB,CAkFvD,CAAC;AAsKL,eAAO,MAAM,eAAe,GAC1B,cAAc,UAAU,EACxB,SAAS,sBAAsB,KAC9B,MAAM,CAAC,MAAM,CAAC,SAAS,QAAQ,EAAE,EAAE,qBAAqB,CAevD,CAAC"}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import * as Data from "effect/Data";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
export class ArchiveGuardrailError extends Data.TaggedError("ArchiveGuardrailError") {
|
|
4
|
+
}
|
|
5
|
+
const ZIP_EOCD_SIGNATURE = 0x06054b50;
|
|
6
|
+
const ZIP_CDIR_SIGNATURE = 0x02014b50;
|
|
7
|
+
export const ZIP_LOCAL_SIGNATURE = 0x04034b50;
|
|
8
|
+
const COMPRESSION_STORE = 0;
|
|
9
|
+
const COMPRESSION_DEFLATE = 8;
|
|
10
|
+
const SUPPORTED_COMPRESSION = new Set([COMPRESSION_STORE, COMPRESSION_DEFLATE]);
|
|
11
|
+
const S_IFLNK = 0xa000;
|
|
12
|
+
const S_IFMT = 0xf000;
|
|
13
|
+
const textDecoder = new TextDecoder();
|
|
14
|
+
const DEFAULT_LIMITS = {
|
|
15
|
+
maxEntries: 10_000,
|
|
16
|
+
maxDecompressedBytes: 256 * 1024 * 1024,
|
|
17
|
+
maxCompressionRatio: 100,
|
|
18
|
+
};
|
|
19
|
+
const findEocdOffset = (buf) => Effect.gen(function* () {
|
|
20
|
+
const view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
21
|
+
const minOffset = Math.max(0, buf.length - 22 - 65535);
|
|
22
|
+
for (let i = buf.length - 22; i >= minOffset; i--) {
|
|
23
|
+
if (view.getUint32(i, true) === ZIP_EOCD_SIGNATURE) {
|
|
24
|
+
return i;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return yield* new ArchiveGuardrailError({
|
|
28
|
+
code: "malformed_archive",
|
|
29
|
+
message: "ZIP end-of-central-directory record not found.",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
export const parseZipCentralDirectory = (buf) => Effect.gen(function* () {
|
|
33
|
+
if (buf.length < 22) {
|
|
34
|
+
return yield* new ArchiveGuardrailError({
|
|
35
|
+
code: "malformed_archive",
|
|
36
|
+
message: "Archive too small to be a valid ZIP file.",
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
const view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
40
|
+
if (view.getUint32(0, true) !== ZIP_LOCAL_SIGNATURE) {
|
|
41
|
+
return yield* new ArchiveGuardrailError({
|
|
42
|
+
code: "malformed_archive",
|
|
43
|
+
message: "Archive does not start with a valid ZIP local file header signature.",
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
const eocdOffset = yield* findEocdOffset(buf);
|
|
47
|
+
const totalEntries = view.getUint16(eocdOffset + 10, true);
|
|
48
|
+
const cdirSize = view.getUint32(eocdOffset + 12, true);
|
|
49
|
+
const cdirOffset = view.getUint32(eocdOffset + 16, true);
|
|
50
|
+
if (cdirOffset + cdirSize > buf.length) {
|
|
51
|
+
return yield* new ArchiveGuardrailError({
|
|
52
|
+
code: "malformed_archive",
|
|
53
|
+
message: "Central directory offset and size exceed archive bounds.",
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
const entries = [];
|
|
57
|
+
let offset = cdirOffset;
|
|
58
|
+
for (let i = 0; i < totalEntries; i++) {
|
|
59
|
+
if (offset + 46 > buf.length) {
|
|
60
|
+
return yield* new ArchiveGuardrailError({
|
|
61
|
+
code: "malformed_archive",
|
|
62
|
+
message: `Central directory entry ${i} exceeds archive bounds.`,
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
const signature = view.getUint32(offset, true);
|
|
66
|
+
if (signature !== ZIP_CDIR_SIGNATURE) {
|
|
67
|
+
return yield* new ArchiveGuardrailError({
|
|
68
|
+
code: "malformed_archive",
|
|
69
|
+
message: `Invalid central directory entry signature at offset ${offset}.`,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
const compressionMethod = view.getUint16(offset + 10, true);
|
|
73
|
+
const compressedSize = view.getUint32(offset + 20, true);
|
|
74
|
+
const uncompressedSize = view.getUint32(offset + 24, true);
|
|
75
|
+
const fileNameLength = view.getUint16(offset + 28, true);
|
|
76
|
+
const extraFieldLength = view.getUint16(offset + 30, true);
|
|
77
|
+
const fileCommentLength = view.getUint16(offset + 32, true);
|
|
78
|
+
const externalAttributes = view.getUint32(offset + 38, true);
|
|
79
|
+
const localHeaderOffset = view.getUint32(offset + 42, true);
|
|
80
|
+
const fileNameStart = offset + 46;
|
|
81
|
+
const fileNameEnd = fileNameStart + fileNameLength;
|
|
82
|
+
if (fileNameEnd > buf.length) {
|
|
83
|
+
return yield* new ArchiveGuardrailError({
|
|
84
|
+
code: "malformed_archive",
|
|
85
|
+
message: `File name for entry ${i} exceeds archive bounds.`,
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
const fileName = textDecoder.decode(buf.slice(fileNameStart, fileNameEnd));
|
|
89
|
+
entries.push({
|
|
90
|
+
fileName,
|
|
91
|
+
compressedSize,
|
|
92
|
+
uncompressedSize,
|
|
93
|
+
compressionMethod,
|
|
94
|
+
externalAttributes,
|
|
95
|
+
localHeaderOffset,
|
|
96
|
+
});
|
|
97
|
+
offset = fileNameEnd + extraFieldLength + fileCommentLength;
|
|
98
|
+
}
|
|
99
|
+
return entries;
|
|
100
|
+
});
|
|
101
|
+
const checkPathTraversal = (entries) => {
|
|
102
|
+
for (const entry of entries) {
|
|
103
|
+
const normalized = entry.fileName.replace(/\\/g, "/");
|
|
104
|
+
if (normalized.includes("../") || normalized.includes("/..") || normalized === "..") {
|
|
105
|
+
return Effect.fail(new ArchiveGuardrailError({
|
|
106
|
+
code: "path_traversal",
|
|
107
|
+
message: `Archive entry contains path traversal: "${entry.fileName}".`,
|
|
108
|
+
entry: entry.fileName,
|
|
109
|
+
}));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return Effect.void;
|
|
113
|
+
};
|
|
114
|
+
const checkAbsolutePaths = (entries) => {
|
|
115
|
+
for (const entry of entries) {
|
|
116
|
+
if (entry.fileName.startsWith("/") || entry.fileName.startsWith("\\")) {
|
|
117
|
+
return Effect.fail(new ArchiveGuardrailError({
|
|
118
|
+
code: "absolute_path",
|
|
119
|
+
message: `Archive entry contains an absolute path: "${entry.fileName}".`,
|
|
120
|
+
entry: entry.fileName,
|
|
121
|
+
}));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return Effect.void;
|
|
125
|
+
};
|
|
126
|
+
const checkDuplicateEntries = (entries) => {
|
|
127
|
+
const seen = new Set();
|
|
128
|
+
for (const entry of entries) {
|
|
129
|
+
const normalized = entry.fileName.toLowerCase();
|
|
130
|
+
if (seen.has(normalized)) {
|
|
131
|
+
return Effect.fail(new ArchiveGuardrailError({
|
|
132
|
+
code: "duplicate_entry",
|
|
133
|
+
message: `Archive contains duplicate entry: "${entry.fileName}".`,
|
|
134
|
+
entry: entry.fileName,
|
|
135
|
+
}));
|
|
136
|
+
}
|
|
137
|
+
seen.add(normalized);
|
|
138
|
+
}
|
|
139
|
+
return Effect.void;
|
|
140
|
+
};
|
|
141
|
+
const checkSymlinks = (entries) => {
|
|
142
|
+
for (const entry of entries) {
|
|
143
|
+
const unixMode = entry.externalAttributes >>> 16;
|
|
144
|
+
if ((unixMode & S_IFMT) === S_IFLNK) {
|
|
145
|
+
return Effect.fail(new ArchiveGuardrailError({
|
|
146
|
+
code: "symlink_entry",
|
|
147
|
+
message: `Archive contains symlink entry: "${entry.fileName}".`,
|
|
148
|
+
entry: entry.fileName,
|
|
149
|
+
}));
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
return Effect.void;
|
|
153
|
+
};
|
|
154
|
+
const checkCompressionMethods = (entries) => {
|
|
155
|
+
for (const entry of entries) {
|
|
156
|
+
if (!SUPPORTED_COMPRESSION.has(entry.compressionMethod)) {
|
|
157
|
+
return Effect.fail(new ArchiveGuardrailError({
|
|
158
|
+
code: "unsupported_compression",
|
|
159
|
+
message: `Archive entry uses unsupported compression method ${entry.compressionMethod}: "${entry.fileName}".`,
|
|
160
|
+
entry: entry.fileName,
|
|
161
|
+
}));
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return Effect.void;
|
|
165
|
+
};
|
|
166
|
+
const checkEntryCount = (entries, limits) => entries.length > limits.maxEntries
|
|
167
|
+
? Effect.fail(new ArchiveGuardrailError({
|
|
168
|
+
code: "entry_count_exceeded",
|
|
169
|
+
message: `Archive contains ${entries.length} entries, exceeding the maximum allowed ${limits.maxEntries}.`,
|
|
170
|
+
}))
|
|
171
|
+
: Effect.void;
|
|
172
|
+
const checkDecompressedSize = (entries, limits) => {
|
|
173
|
+
let totalUncompressed = 0;
|
|
174
|
+
for (const entry of entries) {
|
|
175
|
+
totalUncompressed += entry.uncompressedSize;
|
|
176
|
+
if (totalUncompressed > limits.maxDecompressedBytes) {
|
|
177
|
+
return Effect.fail(new ArchiveGuardrailError({
|
|
178
|
+
code: "decompression_limit_exceeded",
|
|
179
|
+
message: `Archive decompressed size exceeds maximum allowed ${limits.maxDecompressedBytes} bytes.`,
|
|
180
|
+
entry: entry.fileName,
|
|
181
|
+
}));
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
return Effect.void;
|
|
185
|
+
};
|
|
186
|
+
const checkCompressionRatio = (entries, limits) => {
|
|
187
|
+
for (const entry of entries) {
|
|
188
|
+
if (entry.compressedSize === 0) {
|
|
189
|
+
if (entry.uncompressedSize > 0) {
|
|
190
|
+
return Effect.fail(new ArchiveGuardrailError({
|
|
191
|
+
code: "compression_ratio_exceeded",
|
|
192
|
+
message: `Archive entry "${entry.fileName}" exceeds maximum compression ratio.`,
|
|
193
|
+
entry: entry.fileName,
|
|
194
|
+
}));
|
|
195
|
+
}
|
|
196
|
+
continue;
|
|
197
|
+
}
|
|
198
|
+
const ratio = entry.uncompressedSize / entry.compressedSize;
|
|
199
|
+
if (ratio > limits.maxCompressionRatio) {
|
|
200
|
+
return Effect.fail(new ArchiveGuardrailError({
|
|
201
|
+
code: "compression_ratio_exceeded",
|
|
202
|
+
message: `Archive entry "${entry.fileName}" exceeds maximum compression ratio ${limits.maxCompressionRatio}.`,
|
|
203
|
+
entry: entry.fileName,
|
|
204
|
+
}));
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
return Effect.void;
|
|
208
|
+
};
|
|
209
|
+
export const validateArchive = (archiveBytes, limits) => Effect.gen(function* () {
|
|
210
|
+
const appliedLimits = { ...DEFAULT_LIMITS, ...limits };
|
|
211
|
+
const entries = yield* parseZipCentralDirectory(archiveBytes);
|
|
212
|
+
yield* checkPathTraversal(entries);
|
|
213
|
+
yield* checkAbsolutePaths(entries);
|
|
214
|
+
yield* checkDuplicateEntries(entries);
|
|
215
|
+
yield* checkSymlinks(entries);
|
|
216
|
+
yield* checkCompressionMethods(entries);
|
|
217
|
+
yield* checkEntryCount(entries, appliedLimits);
|
|
218
|
+
yield* checkDecompressedSize(entries, appliedLimits);
|
|
219
|
+
yield* checkCompressionRatio(entries, appliedLimits);
|
|
220
|
+
return entries;
|
|
221
|
+
});
|
|
222
|
+
//# sourceMappingURL=archive-guardrails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archive-guardrails.js","sourceRoot":"","sources":["../../../../src/unstable/publish/archive-guardrails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,MAAM,OAAO,qBAAsB,SAAQ,IAAI,CAAC,WAAW,CAAC,uBAAuB,CAajF;CAAG;AAEL,MAAM,kBAAkB,GAAG,UAAU,CAAC;AACtC,MAAM,kBAAkB,GAAG,UAAU,CAAC;AAC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AAC,IAAI,CAChB,IAAI,qBAAqB,CAAC;gBACxB,IAAI,EAAE,4BAA4B;gBAClC,OAAO,EAAE,kBAAkB,KAAK,CAAC,QAAQ,uCAAuC,MAAM,CAAC,mBAAmB,GAAG;gBAC7G,KAAK,EAAE,KAAK,CAAC,QAAQ;aACtB,CAAC,CACH,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC,IAAI,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,YAAwB,EACxB,MAA+B,EAC4B,EAAE,CAC7D,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,aAAa,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,MAAM,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,wBAAwB,CAAC,YAAY,CAAC,CAAC;IAE9D,KAAK,CAAC,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACnC,KAAK,CAAC,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACnC,KAAK,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IACtC,KAAK,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAC9B,KAAK,CAAC,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;IACxC,KAAK,CAAC,CAAC,eAAe,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAC/C,KAAK,CAAC,CAAC,qBAAqB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IACrD,KAAK,CAAC,CAAC,qBAAqB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAErD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ArchiveGuardrailError, validateArchive, type ArchiveGuardrailLimits, type ZipEntry, } from "./archive-guardrails.js";
|
|
2
|
+
export { IngestLimitError, IngestUnsupportedContentTypeError, REGISTRY_PUBLISH_MAX_REQUEST_BYTES, REGISTRY_PUBLISH_MAX_ARCHIVE_BYTES, enforceRequestSizeLimit, enforceArchiveSizeLimit, enforceArchiveContentType, } from "./ingest-limits.js";
|
|
3
|
+
export { ManifestError, validateDeclaredManifestAlignment, type DeclaredPublishIdentity, type ManifestIdentity, type ResolvedManifest, } from "./manifest-policy.js";
|
|
4
|
+
export { normalizePublishInput, type NormalizePublishInputArgs, type PublishArchiveInput, type PublishInput, } from "./input-normalization.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/unstable/publish/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,GACd,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,gBAAgB,EAChB,iCAAiC,EACjC,kCAAkC,EAClC,kCAAkC,EAClC,uBAAuB,EACvB,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,aAAa,EACb,iCAAiC,EACjC,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,qBAAqB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,YAAY,GAClB,MAAM,0BAA0B,CAAC"}
|