@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,262 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CredentialStore Effect service — credential storage and auth policy.
|
|
3
|
+
*
|
|
4
|
+
* Tier 1: OS keychain (TODO: @napi-rs/keyring not yet added)
|
|
5
|
+
* Tier 2: Restricted-permission file (~/.config/axm/credentials.json)
|
|
6
|
+
*
|
|
7
|
+
* CI and container environments are token-only by policy. They do not persist
|
|
8
|
+
* credentials and should use AXM_TOKEN instead.
|
|
9
|
+
*
|
|
10
|
+
* @experimental This API is unstable and may change without notice.
|
|
11
|
+
*/
|
|
12
|
+
import * as FileSystem from "effect/FileSystem";
|
|
13
|
+
import * as Path from "effect/Path";
|
|
14
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
15
|
+
import * as Effect from "effect/Effect";
|
|
16
|
+
import * as Layer from "effect/Layer";
|
|
17
|
+
import * as Option from "effect/Option";
|
|
18
|
+
import * as Schema from "effect/Schema";
|
|
19
|
+
import { makeAppError } from "../app-error/index.js";
|
|
20
|
+
import { isCI } from "../cli-flags/index.js";
|
|
21
|
+
import { decodeHandleSync } from "../extensions/handle.js";
|
|
22
|
+
import { envOption, isContainer, isRoot, isSSH, isWSL } from "../utils/index.js";
|
|
23
|
+
import { CredentialFileSchema } from "./schema.js";
|
|
24
|
+
const decodeCredentialFileFromJsonString = Schema.decodeUnknownEffect(Schema.fromJsonString(CredentialFileSchema));
|
|
25
|
+
export class CredentialStore extends ServiceMap.Service()("@agentxm/client-core/CredentialStore") {
|
|
26
|
+
}
|
|
27
|
+
// -----------------------------------------------------------------------------
|
|
28
|
+
// Constants
|
|
29
|
+
// -----------------------------------------------------------------------------
|
|
30
|
+
const CREDENTIALS_FILENAME = "credentials.json";
|
|
31
|
+
const CONFIG_DIR_NAME = "axm";
|
|
32
|
+
const DIR_PERMISSIONS = 0o700;
|
|
33
|
+
const FILE_PERMISSIONS = 0o600;
|
|
34
|
+
// -----------------------------------------------------------------------------
|
|
35
|
+
// Internal helpers (take fs/path as args to avoid context leakage)
|
|
36
|
+
// -----------------------------------------------------------------------------
|
|
37
|
+
const resolveHomeDir = (config) => Option.getOrElse(Option.orElse(Option.orElse(config.home, () => config.userProfile), () => config.homePath), () => "/tmp");
|
|
38
|
+
const getCredentialsDir = (path, homeDir) => {
|
|
39
|
+
return path.join(homeDir, ".config", CONFIG_DIR_NAME);
|
|
40
|
+
};
|
|
41
|
+
const getCredentialsPath = (path, homeDir) => path.join(getCredentialsDir(path, homeDir), CREDENTIALS_FILENAME);
|
|
42
|
+
const ensureCredentialsDir = (fs, path, homeDir) => Effect.gen(function* () {
|
|
43
|
+
const dir = getCredentialsDir(path, homeDir);
|
|
44
|
+
const exists = yield* fs.exists(dir).pipe(Effect.catch(() => Effect.succeed(false)));
|
|
45
|
+
if (!exists) {
|
|
46
|
+
yield* fs.makeDirectory(dir, { recursive: true }).pipe(Effect.mapError((error) => makeAppError({
|
|
47
|
+
code: "AUTH_CREDENTIAL_STORE_FAILED",
|
|
48
|
+
what: `Failed to create credentials directory: ${dir}`,
|
|
49
|
+
details: [String(error)],
|
|
50
|
+
howToFix: `Ensure you have write access to ~/.config/`,
|
|
51
|
+
cause: error,
|
|
52
|
+
})));
|
|
53
|
+
yield* fs.chmod(dir, DIR_PERMISSIONS).pipe(Effect.catch(() => Effect.void));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
const checkFilePermissions = (fs, filePath) => fs.stat(filePath).pipe(Effect.map((stat) => (stat.mode & 0o777) > FILE_PERMISSIONS), Effect.catch(() => Effect.succeed(false)));
|
|
57
|
+
const setFilePermissions = (fs, filePath) => fs.chmod(filePath, FILE_PERMISSIONS).pipe(Effect.catch(() => Effect.void));
|
|
58
|
+
const readCredentialFile = (fs, path, homeDir) => Effect.gen(function* () {
|
|
59
|
+
const filePath = getCredentialsPath(path, homeDir);
|
|
60
|
+
const exists = yield* fs.exists(filePath).pipe(Effect.catch(() => Effect.succeed(false)));
|
|
61
|
+
if (!exists)
|
|
62
|
+
return Option.none();
|
|
63
|
+
const overly = yield* checkFilePermissions(fs, filePath);
|
|
64
|
+
if (overly) {
|
|
65
|
+
yield* Effect.logWarning("Credential file has overly permissive permissions.");
|
|
66
|
+
}
|
|
67
|
+
const content = yield* fs.readFileString(filePath).pipe(Effect.mapError((error) => makeAppError({
|
|
68
|
+
code: "AUTH_CREDENTIAL_STORE_FAILED",
|
|
69
|
+
what: "Failed to read credential file",
|
|
70
|
+
details: [String(error)],
|
|
71
|
+
cause: error,
|
|
72
|
+
})));
|
|
73
|
+
return yield* decodeCredentialFileFromJsonString(content).pipe(Effect.map((file) => Option.some(file)), Effect.mapError((error) => makeAppError({
|
|
74
|
+
code: "AUTH_CREDENTIAL_STORE_FAILED",
|
|
75
|
+
what: "Failed to parse credential file",
|
|
76
|
+
details: [String(error)],
|
|
77
|
+
howToFix: "The credential file may be corrupt. Delete it and re-authenticate with `axm login`.",
|
|
78
|
+
cause: error,
|
|
79
|
+
})), Effect.catch(() => Effect.logWarning("Credential file failed schema validation, treating as empty.").pipe(Effect.map(() => Option.none()))));
|
|
80
|
+
});
|
|
81
|
+
const writeCredentialFile = (fs, path, homeDir, data) => Effect.gen(function* () {
|
|
82
|
+
yield* ensureCredentialsDir(fs, path, homeDir);
|
|
83
|
+
const filePath = getCredentialsPath(path, homeDir);
|
|
84
|
+
const encoded = yield* Schema.encodeEffect(CredentialFileSchema)(data).pipe(Effect.mapError((error) => makeAppError({
|
|
85
|
+
code: "AUTH_CREDENTIAL_STORE_FAILED",
|
|
86
|
+
what: "Failed to encode credential file",
|
|
87
|
+
details: [String(error)],
|
|
88
|
+
cause: error,
|
|
89
|
+
})));
|
|
90
|
+
const content = JSON.stringify(encoded, null, 2);
|
|
91
|
+
yield* fs.writeFileString(filePath, content).pipe(Effect.mapError((error) => makeAppError({
|
|
92
|
+
code: "AUTH_CREDENTIAL_STORE_FAILED",
|
|
93
|
+
what: "Failed to write credential file",
|
|
94
|
+
details: [String(error)],
|
|
95
|
+
cause: error,
|
|
96
|
+
})));
|
|
97
|
+
yield* setFilePermissions(fs, filePath);
|
|
98
|
+
});
|
|
99
|
+
const emptyCredentialFile = {
|
|
100
|
+
version: 1,
|
|
101
|
+
registries: {},
|
|
102
|
+
};
|
|
103
|
+
export const detectEnvironment = Effect.gen(function* () {
|
|
104
|
+
return {
|
|
105
|
+
isSSH: yield* isSSH,
|
|
106
|
+
isContainer: yield* isContainer,
|
|
107
|
+
isWSL: yield* isWSL,
|
|
108
|
+
isCI: yield* isCI,
|
|
109
|
+
isRoot: isRoot(),
|
|
110
|
+
};
|
|
111
|
+
});
|
|
112
|
+
/**
|
|
113
|
+
* Select storage tier based on detected environment.
|
|
114
|
+
*
|
|
115
|
+
* Until keychain support lands, all persisted credentials use the restricted
|
|
116
|
+
* file backend. Whether persistence is allowed is a separate policy decision.
|
|
117
|
+
*/
|
|
118
|
+
export const selectTier = (_env) => "restricted-file";
|
|
119
|
+
export const canUsePersistedCredentials = (env) => !env.isContainer && !env.isCI;
|
|
120
|
+
export const makePersistedCredentialsUnsupportedError = () => makeAppError({
|
|
121
|
+
code: "AUTH_TOKEN_REQUIRED",
|
|
122
|
+
what: "Persisted credentials are disabled in CI and container environments.",
|
|
123
|
+
howToFix: "Set the AXM_TOKEN environment variable instead of running `axm login`.",
|
|
124
|
+
});
|
|
125
|
+
// -----------------------------------------------------------------------------
|
|
126
|
+
// Live layer
|
|
127
|
+
// -----------------------------------------------------------------------------
|
|
128
|
+
export const CredentialStoreLive = Layer.effect(CredentialStore, Effect.gen(function* () {
|
|
129
|
+
const fs = yield* FileSystem.FileSystem;
|
|
130
|
+
const path = yield* Path.Path;
|
|
131
|
+
const home = yield* envOption("HOME");
|
|
132
|
+
const userProfile = yield* envOption("USERPROFILE");
|
|
133
|
+
const homePath = yield* envOption("HOMEPATH");
|
|
134
|
+
const homeDir = resolveHomeDir({ home, userProfile, homePath });
|
|
135
|
+
const env = yield* detectEnvironment;
|
|
136
|
+
const storageTier = selectTier(env);
|
|
137
|
+
const persistedCredentialsAllowed = canUsePersistedCredentials(env);
|
|
138
|
+
const save = Effect.fn("CredentialStore.save")(function* (registryUrl, handle, credentials) {
|
|
139
|
+
if (!persistedCredentialsAllowed) {
|
|
140
|
+
return yield* makePersistedCredentialsUnsupportedError();
|
|
141
|
+
}
|
|
142
|
+
if (env.isRoot) {
|
|
143
|
+
yield* Effect.logWarning("Running as root. Credentials will be owned by root.");
|
|
144
|
+
}
|
|
145
|
+
const existing = yield* readCredentialFile(fs, path, homeDir);
|
|
146
|
+
const file = Option.getOrElse(existing, () => emptyCredentialFile);
|
|
147
|
+
const registryEntry = file.registries[registryUrl] ?? { accounts: {} };
|
|
148
|
+
const updatedAccounts = {};
|
|
149
|
+
for (const [h, entry] of Object.entries(registryEntry.accounts)) {
|
|
150
|
+
if (entry !== undefined) {
|
|
151
|
+
updatedAccounts[h] = { ...entry, active: false };
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
updatedAccounts[handle] = {
|
|
155
|
+
access_token: credentials.access_token,
|
|
156
|
+
refresh_token: credentials.refresh_token,
|
|
157
|
+
expires_at: credentials.expires_at,
|
|
158
|
+
active: true,
|
|
159
|
+
};
|
|
160
|
+
const updated = {
|
|
161
|
+
...file,
|
|
162
|
+
registries: {
|
|
163
|
+
...file.registries,
|
|
164
|
+
[registryUrl]: { accounts: updatedAccounts },
|
|
165
|
+
},
|
|
166
|
+
};
|
|
167
|
+
yield* writeCredentialFile(fs, path, homeDir, updated);
|
|
168
|
+
});
|
|
169
|
+
const load = Effect.fn("CredentialStore.load")(function* (registryUrl) {
|
|
170
|
+
const existing = yield* readCredentialFile(fs, path, homeDir);
|
|
171
|
+
if (Option.isNone(existing))
|
|
172
|
+
return Option.none();
|
|
173
|
+
const registry = existing.value.registries[registryUrl];
|
|
174
|
+
if (!registry)
|
|
175
|
+
return Option.none();
|
|
176
|
+
for (const [handle, entry] of Object.entries(registry.accounts)) {
|
|
177
|
+
if (entry?.active) {
|
|
178
|
+
return Option.some({
|
|
179
|
+
handle: decodeHandleSync(handle),
|
|
180
|
+
access_token: entry.access_token,
|
|
181
|
+
refresh_token: entry.refresh_token,
|
|
182
|
+
expires_at: entry.expires_at,
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
return Option.none();
|
|
187
|
+
});
|
|
188
|
+
const clear = Effect.fn("CredentialStore.clear")(function* (registryUrl) {
|
|
189
|
+
const existing = yield* readCredentialFile(fs, path, homeDir);
|
|
190
|
+
if (Option.isNone(existing))
|
|
191
|
+
return;
|
|
192
|
+
const { [registryUrl]: _, ...remainingRegistries } = existing.value.registries;
|
|
193
|
+
const updated = {
|
|
194
|
+
...existing.value,
|
|
195
|
+
registries: remainingRegistries,
|
|
196
|
+
};
|
|
197
|
+
yield* writeCredentialFile(fs, path, homeDir, updated);
|
|
198
|
+
});
|
|
199
|
+
return {
|
|
200
|
+
tier: storageTier,
|
|
201
|
+
allowsPersistedCredentials: persistedCredentialsAllowed,
|
|
202
|
+
save,
|
|
203
|
+
load,
|
|
204
|
+
clear,
|
|
205
|
+
};
|
|
206
|
+
}));
|
|
207
|
+
// -----------------------------------------------------------------------------
|
|
208
|
+
// Test layer factory
|
|
209
|
+
// -----------------------------------------------------------------------------
|
|
210
|
+
export const CredentialStoreTest = (tier = "restricted-file", initialData, allowsPersistedCredentials) => {
|
|
211
|
+
let data = initialData ?? emptyCredentialFile;
|
|
212
|
+
const persistedCredentialsAllowed = allowsPersistedCredentials ?? true;
|
|
213
|
+
return Layer.succeed(CredentialStore, {
|
|
214
|
+
tier,
|
|
215
|
+
allowsPersistedCredentials: persistedCredentialsAllowed,
|
|
216
|
+
save: (registryUrl, handle, credentials) => persistedCredentialsAllowed
|
|
217
|
+
? Effect.sync(() => {
|
|
218
|
+
const registryEntry = data.registries[registryUrl] ?? { accounts: {} };
|
|
219
|
+
const updatedAccounts = {};
|
|
220
|
+
for (const [h, entry] of Object.entries(registryEntry.accounts)) {
|
|
221
|
+
if (entry !== undefined) {
|
|
222
|
+
updatedAccounts[h] = { ...entry, active: false };
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
updatedAccounts[handle] = {
|
|
226
|
+
access_token: credentials.access_token,
|
|
227
|
+
refresh_token: credentials.refresh_token,
|
|
228
|
+
expires_at: credentials.expires_at,
|
|
229
|
+
active: true,
|
|
230
|
+
};
|
|
231
|
+
data = {
|
|
232
|
+
...data,
|
|
233
|
+
registries: {
|
|
234
|
+
...data.registries,
|
|
235
|
+
[registryUrl]: { accounts: updatedAccounts },
|
|
236
|
+
},
|
|
237
|
+
};
|
|
238
|
+
})
|
|
239
|
+
: Effect.fail(makePersistedCredentialsUnsupportedError()),
|
|
240
|
+
load: (registryUrl) => Effect.sync(() => {
|
|
241
|
+
const registry = data.registries[registryUrl];
|
|
242
|
+
if (!registry)
|
|
243
|
+
return Option.none();
|
|
244
|
+
for (const [handle, entry] of Object.entries(registry.accounts)) {
|
|
245
|
+
if (entry?.active) {
|
|
246
|
+
return Option.some({
|
|
247
|
+
handle: decodeHandleSync(handle),
|
|
248
|
+
access_token: entry.access_token,
|
|
249
|
+
refresh_token: entry.refresh_token,
|
|
250
|
+
expires_at: entry.expires_at,
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
return Option.none();
|
|
255
|
+
}),
|
|
256
|
+
clear: (registryUrl) => Effect.sync(() => {
|
|
257
|
+
const { [registryUrl]: _, ...rest } = data.registries;
|
|
258
|
+
data = { ...data, registries: rest };
|
|
259
|
+
}),
|
|
260
|
+
});
|
|
261
|
+
};
|
|
262
|
+
//# sourceMappingURL=credential-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential-store.js","sourceRoot":"","sources":["../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AAE,MAAM,EAAE,CAAC;oBAClB,OAAO,MAAM,CAAC,IAAI,CAAoB;wBACpC,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC;wBAChC,YAAY,EAAE,KAAK,CAAC,YAAY;wBAChC,aAAa,EAAE,KAAK,CAAC,aAAa;wBAClC,UAAU,EAAE,KAAK,CAAC,UAAU;qBAC7B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,OAAO,MAAM,CAAC,IAAI,EAAqB,CAAC;QAC1C,CAAC,CAAC;QAEJ,KAAK,EAAE,CAAC,WAAW,EAAE,EAAE,CACrB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE;YACf,MAAM,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC;YACtD,IAAI,GAAG,EAAE,GAAG,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;QACvC,CAAC,CAAC;KAC4B,CAAC,CAAC;AACtC,CAAC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared device-code login flow for auth commands and guards.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is unstable and may change without notice.
|
|
5
|
+
*/
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
8
|
+
import * as Layer from "effect/Layer";
|
|
9
|
+
import { CliRenderer } from "../cli-renderer/index.js";
|
|
10
|
+
import { AuthClient } from "./auth-client.js";
|
|
11
|
+
import { CredentialStore } from "./credential-store.js";
|
|
12
|
+
export interface DeviceLoginInteractionService {
|
|
13
|
+
readonly openBrowser: (url: string) => Effect.Effect<boolean>;
|
|
14
|
+
readonly copyToClipboard: (text: string) => Effect.Effect<boolean>;
|
|
15
|
+
}
|
|
16
|
+
declare const DeviceLoginInteraction_base: ServiceMap.ServiceClass<DeviceLoginInteraction, "@agentxm/client-core/DeviceLoginInteraction", DeviceLoginInteractionService>;
|
|
17
|
+
export declare class DeviceLoginInteraction extends DeviceLoginInteraction_base {
|
|
18
|
+
}
|
|
19
|
+
export interface DeviceLoginInteractionTestState {
|
|
20
|
+
readonly openBrowserCalls: Array<string>;
|
|
21
|
+
readonly copyToClipboardCalls: Array<string>;
|
|
22
|
+
}
|
|
23
|
+
export declare const DeviceLoginInteractionTest: (overrides?: {
|
|
24
|
+
readonly openBrowser?: (url: string) => Effect.Effect<boolean>;
|
|
25
|
+
readonly copyToClipboard?: (text: string) => Effect.Effect<boolean>;
|
|
26
|
+
}) => {
|
|
27
|
+
layer: Layer.Layer<DeviceLoginInteraction, never, never>;
|
|
28
|
+
state: DeviceLoginInteractionTestState;
|
|
29
|
+
};
|
|
30
|
+
export declare const runDeviceLogin: (registryUrl: string) => Effect.Effect<undefined, import("../app-error/app-error.ts").AppError, AuthClient | CredentialStore | CliRenderer | DeviceLoginInteraction>;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=device-login.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-login.d.ts","sourceRoot":"","sources":["../../../../src/unstable/auth/device-login.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAA4C,MAAM,uBAAuB,CAAC;AAOlG,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC9D,QAAQ,CAAC,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;CACpE;;AAED,qBAAa,sBAAuB,SAAQ,2BAGM;CAAG;AAMrD,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzC,QAAQ,CAAC,oBAAoB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9C;AAED,eAAO,MAAM,0BAA0B,GAAI,YAAY;IACrD,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/D,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;CACrE;;;CAoBA,CAAC;AAkDF,eAAO,MAAM,cAAc,GAAI,aAAa,MAAM,gJA0B9C,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared device-code login flow for auth commands and guards.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is unstable and may change without notice.
|
|
5
|
+
*/
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Option from "effect/Option";
|
|
8
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
9
|
+
import * as Layer from "effect/Layer";
|
|
10
|
+
import { CliRenderer } from "../cli-renderer/index.js";
|
|
11
|
+
import { normalizeHandle } from "../extensions/handle.js";
|
|
12
|
+
import { AuthClient } from "./auth-client.js";
|
|
13
|
+
import { CredentialStore, makePersistedCredentialsUnsupportedError } from "./credential-store.js";
|
|
14
|
+
export class DeviceLoginInteraction extends ServiceMap.Service()("@agentxm/client-core/DeviceLoginInteraction") {
|
|
15
|
+
}
|
|
16
|
+
export const DeviceLoginInteractionTest = (overrides) => {
|
|
17
|
+
const state = {
|
|
18
|
+
openBrowserCalls: [],
|
|
19
|
+
copyToClipboardCalls: [],
|
|
20
|
+
};
|
|
21
|
+
const layer = Layer.succeed(DeviceLoginInteraction, {
|
|
22
|
+
openBrowser: (url) => Effect.gen(function* () {
|
|
23
|
+
state.openBrowserCalls.push(url);
|
|
24
|
+
return yield* overrides?.openBrowser?.(url) ?? Effect.succeed(false);
|
|
25
|
+
}),
|
|
26
|
+
copyToClipboard: (text) => Effect.gen(function* () {
|
|
27
|
+
state.copyToClipboardCalls.push(text);
|
|
28
|
+
return yield* overrides?.copyToClipboard?.(text) ?? Effect.succeed(false);
|
|
29
|
+
}),
|
|
30
|
+
});
|
|
31
|
+
return { layer, state };
|
|
32
|
+
};
|
|
33
|
+
// -----------------------------------------------------------------------------
|
|
34
|
+
// Device login orchestration
|
|
35
|
+
// -----------------------------------------------------------------------------
|
|
36
|
+
const UNKNOWN_HANDLE = normalizeHandle("@unknown");
|
|
37
|
+
const persistLoginCredentials = (registryUrl, token) => Effect.gen(function* () {
|
|
38
|
+
const authClient = yield* AuthClient;
|
|
39
|
+
const credStore = yield* CredentialStore;
|
|
40
|
+
const meResult = yield* authClient
|
|
41
|
+
.getMe(token.access_token)
|
|
42
|
+
.pipe(Effect.retry({ times: 1 }), Effect.option);
|
|
43
|
+
const handle = Option.match(meResult, {
|
|
44
|
+
onNone: () => UNKNOWN_HANDLE,
|
|
45
|
+
onSome: (me) => me.userHandle,
|
|
46
|
+
});
|
|
47
|
+
yield* credStore.save(registryUrl, handle, {
|
|
48
|
+
access_token: token.access_token,
|
|
49
|
+
refresh_token: token.refresh_token,
|
|
50
|
+
expires_at: token.expires_at,
|
|
51
|
+
});
|
|
52
|
+
return Option.map(meResult, (me) => me.userHandle);
|
|
53
|
+
});
|
|
54
|
+
const presentDeviceFlow = (verificationUrl, userCode) => Effect.gen(function* () {
|
|
55
|
+
const renderer = yield* CliRenderer;
|
|
56
|
+
const interaction = yield* DeviceLoginInteraction;
|
|
57
|
+
// Copy to clipboard first so code is ready before browser loads
|
|
58
|
+
const copiedToClipboard = yield* interaction.copyToClipboard(userCode);
|
|
59
|
+
const openedBrowser = yield* interaction.openBrowser(verificationUrl);
|
|
60
|
+
if (openedBrowser) {
|
|
61
|
+
yield* renderer.step("Opening browser to sign in...");
|
|
62
|
+
yield* renderer.message(verificationUrl);
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
yield* renderer.step(`Open this URL in your browser: ${verificationUrl}`);
|
|
66
|
+
}
|
|
67
|
+
const clipboardHint = copiedToClipboard ? " (copied to clipboard)" : "";
|
|
68
|
+
yield* renderer.step(`Your verification code: ${userCode}${clipboardHint}`);
|
|
69
|
+
});
|
|
70
|
+
export const runDeviceLogin = (registryUrl) => Effect.gen(function* () {
|
|
71
|
+
const authClient = yield* AuthClient;
|
|
72
|
+
const credStore = yield* CredentialStore;
|
|
73
|
+
const renderer = yield* CliRenderer;
|
|
74
|
+
if (!credStore.allowsPersistedCredentials) {
|
|
75
|
+
return yield* makePersistedCredentialsUnsupportedError();
|
|
76
|
+
}
|
|
77
|
+
const deviceFlow = yield* authClient.initiateDeviceFlow();
|
|
78
|
+
const verificationUrl = deviceFlow.verification_uri_complete ?? deviceFlow.verification_uri;
|
|
79
|
+
yield* presentDeviceFlow(verificationUrl, deviceFlow.user_code);
|
|
80
|
+
const token = yield* renderer.withSpinner("Waiting for approval in browser...", () => authClient.pollDeviceToken(deviceFlow.device_code, deviceFlow.interval));
|
|
81
|
+
const handle = yield* persistLoginCredentials(registryUrl, token);
|
|
82
|
+
const registryHost = new URL(registryUrl).host;
|
|
83
|
+
yield* Option.match(handle, {
|
|
84
|
+
onNone: () => renderer.success(`Logged in to ${registryHost}.`),
|
|
85
|
+
onSome: (userHandle) => renderer.success(`Logged in to ${registryHost} as ${userHandle}.`),
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
//# sourceMappingURL=device-login.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device-login.js","sourceRoot":"","sources":["../../../../src/unstable/auth/device-login.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wC,EAAE,CAAC;IAC3D,CAAC;IAED,MAAM,UAAU,GAAG,KAAK,CAAC,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAC;IAC1D,MAAM,eAAe,GAAG,UAAU,CAAC,yBAAyB,IAAI,UAAU,CAAC,gBAAgB,CAAC;IAE5F,KAAK,CAAC,CAAC,iBAAiB,CAAC,eAAe,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAEhE,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,oCAAoC,EAAE,GAAG,EAAE,CACnF,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,CACxE,CAAC;IAEF,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,uBAAuB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;IAElE,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;IAC/C,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE;QAC1B,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,gBAAgB,YAAY,GAAG,CAAC;QAC/D,MAAM,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,gBAAgB,YAAY,OAAO,UAAU,GAAG,CAAC;KAC3F,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as FileSystem from "effect/FileSystem";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import * as Layer from "effect/Layer";
|
|
4
|
+
import * as Path from "effect/Path";
|
|
5
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
6
|
+
import * as Terminal from "effect/Terminal";
|
|
7
|
+
import type { AppError } from "../app-error/index.js";
|
|
8
|
+
import type { PromptCancelled } from "../cli-prompt/prompt-cancelled.js";
|
|
9
|
+
export interface AuthGuardInteractionService {
|
|
10
|
+
readonly confirmLogin: () => Effect.Effect<boolean, PromptCancelled | AppError>;
|
|
11
|
+
}
|
|
12
|
+
declare const AuthGuardInteraction_base: ServiceMap.ServiceClass<AuthGuardInteraction, "axm.sh/AuthGuardInteraction", AuthGuardInteractionService>;
|
|
13
|
+
export declare class AuthGuardInteraction extends AuthGuardInteraction_base {
|
|
14
|
+
}
|
|
15
|
+
export declare const AuthGuardInteractionLive: Layer.Layer<AuthGuardInteraction, never, FileSystem.FileSystem | Path.Path | Terminal.Terminal>;
|
|
16
|
+
export interface AuthGuardInteractionTestState {
|
|
17
|
+
readonly confirmLoginCalls: Array<null>;
|
|
18
|
+
}
|
|
19
|
+
export declare const AuthGuardInteractionTest: (overrides?: {
|
|
20
|
+
readonly confirmLogin?: () => Effect.Effect<boolean, PromptCancelled | AppError>;
|
|
21
|
+
}) => {
|
|
22
|
+
layer: Layer.Layer<AuthGuardInteraction, never, never>;
|
|
23
|
+
state: AuthGuardInteractionTestState;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=guard-interaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guard-interaction.d.ts","sourceRoot":"","sources":["../../../../src/unstable/auth/guard-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAIzE,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,YAAY,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,eAAe,GAAG,QAAQ,CAAC,CAAC;CACjF;;AAED,qBAAa,oBAAqB,SAAQ,yBAGR;CAAG;AAErC,eAAO,MAAM,wBAAwB,iGAmBpC,CAAC;AAEF,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,iBAAiB,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,wBAAwB,GAAI,YAAY;IACnD,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,eAAe,GAAG,QAAQ,CAAC,CAAC;CAClF;;;CAcA,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as FileSystem from "effect/FileSystem";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import * as Layer from "effect/Layer";
|
|
4
|
+
import * as Path from "effect/Path";
|
|
5
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
6
|
+
import * as Terminal from "effect/Terminal";
|
|
7
|
+
import { Prompt } from "effect/unstable/cli";
|
|
8
|
+
import { requireInteractive } from "../cli/prompt/index.js";
|
|
9
|
+
const confirmLoginMessage = "You need to sign in to publish. Sign in now?";
|
|
10
|
+
export class AuthGuardInteraction extends ServiceMap.Service()("axm.sh/AuthGuardInteraction") {
|
|
11
|
+
}
|
|
12
|
+
export const AuthGuardInteractionLive = Layer.effect(AuthGuardInteraction, Effect.gen(function* () {
|
|
13
|
+
const fileSystem = yield* FileSystem.FileSystem;
|
|
14
|
+
const path = yield* Path.Path;
|
|
15
|
+
const terminal = yield* Terminal.Terminal;
|
|
16
|
+
const promptEnvironment = Layer.mergeAll(Layer.succeed(FileSystem.FileSystem, fileSystem), Layer.succeed(Path.Path, path), Layer.succeed(Terminal.Terminal, terminal));
|
|
17
|
+
return {
|
|
18
|
+
confirmLogin: () => requireInteractive(Prompt.confirm({ message: confirmLoginMessage }), {
|
|
19
|
+
message: confirmLoginMessage,
|
|
20
|
+
}).pipe(Effect.provide(promptEnvironment)),
|
|
21
|
+
};
|
|
22
|
+
}));
|
|
23
|
+
export const AuthGuardInteractionTest = (overrides) => {
|
|
24
|
+
const state = {
|
|
25
|
+
confirmLoginCalls: [],
|
|
26
|
+
};
|
|
27
|
+
const layer = Layer.succeed(AuthGuardInteraction, {
|
|
28
|
+
confirmLogin: () => Effect.gen(function* () {
|
|
29
|
+
state.confirmLoginCalls.push(null);
|
|
30
|
+
return yield* overrides?.confirmLogin?.() ?? Effect.succeed(true);
|
|
31
|
+
}),
|
|
32
|
+
});
|
|
33
|
+
return { layer, state };
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=guard-interaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guard-interaction.js","sourceRoot":"","sources":["../../../../src/unstable/auth/guard-interaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,MAAM,mBAAmB,GAAG,8CAA8C,CAAC;AAM3E,MAAM,OAAO,oBAAqB,SAAQ,UAAU,CAAC,OAAO,EAGzD,CAAC,6BAA6B,CAAC;CAAG;AAErC,MAAM,CAAC,MAAM,wBAAwB,GAAG,KAAK,CAAC,MAAM,CAClD,oBAAoB,EACpB,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,UA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EAAE,CAAC;AAC1B,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auth guard combinator for commands that require authentication.
|
|
3
|
+
*
|
|
4
|
+
* Wraps an Effect with a pre-check for authentication. If no token is
|
|
5
|
+
* resolvable, fails immediately with an actionable error message directing
|
|
6
|
+
* the user to `axm auth login`.
|
|
7
|
+
*
|
|
8
|
+
* @experimental This API is unstable and may change without notice.
|
|
9
|
+
*/
|
|
10
|
+
import * as Effect from "effect/Effect";
|
|
11
|
+
import { type AppError } from "../app-error/index.js";
|
|
12
|
+
import { CredentialStore, RegistryUrl } from "./index.js";
|
|
13
|
+
/**
|
|
14
|
+
* Wraps an Effect with an auth guard.
|
|
15
|
+
*
|
|
16
|
+
* - If the target registry is local, runs the inner effect directly.
|
|
17
|
+
* - If a token is already resolvable, runs the inner effect directly.
|
|
18
|
+
* - If no token: fails with `AUTH_LOGIN_REQUIRED`.
|
|
19
|
+
*/
|
|
20
|
+
export declare const withAuthGuard: <A, E, R>(effect: Effect.Effect<A, E | AppError, R>, options?: {
|
|
21
|
+
registryUrl?: string;
|
|
22
|
+
}) => Effect.Effect<A, AppError | E, RegistryUrl | CredentialStore | R>;
|
|
23
|
+
//# sourceMappingURL=guard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guard.d.ts","sourceRoot":"","sources":["../../../../src/unstable/auth/guard.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,KAAK,QAAQ,EAAgB,MAAM,uBAAuB,CAAC;AACpE,OAAO,EACL,eAAe,EACf,WAAW,EAGZ,MAAM,YAAY,CAAC;AA+BpB;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EACnC,QAAQ,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC,EACzC,UAAU;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,sEA0BhC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auth guard combinator for commands that require authentication.
|
|
3
|
+
*
|
|
4
|
+
* Wraps an Effect with a pre-check for authentication. If no token is
|
|
5
|
+
* resolvable, fails immediately with an actionable error message directing
|
|
6
|
+
* the user to `axm auth login`.
|
|
7
|
+
*
|
|
8
|
+
* @experimental This API is unstable and may change without notice.
|
|
9
|
+
*/
|
|
10
|
+
import * as Effect from "effect/Effect";
|
|
11
|
+
import * as Option from "effect/Option";
|
|
12
|
+
import { makeAppError } from "../app-error/index.js";
|
|
13
|
+
import { CredentialStore, RegistryUrl, makePersistedCredentialsUnsupportedError, resolveRequestToken, } from "./index.js";
|
|
14
|
+
// -----------------------------------------------------------------------------
|
|
15
|
+
// Constants
|
|
16
|
+
// -----------------------------------------------------------------------------
|
|
17
|
+
const AUTH_LOGIN_REQUIRED = makeAppError({
|
|
18
|
+
code: "AUTH_LOGIN_REQUIRED",
|
|
19
|
+
what: "Authentication required",
|
|
20
|
+
howToFix: 'Run "axm auth login" to sign in, then retry.',
|
|
21
|
+
});
|
|
22
|
+
// -----------------------------------------------------------------------------
|
|
23
|
+
// Auth guard combinator
|
|
24
|
+
// -----------------------------------------------------------------------------
|
|
25
|
+
const isRemoteRegistryUrl = (registryUrl) => Effect.try({
|
|
26
|
+
try: () => {
|
|
27
|
+
const protocol = new URL(registryUrl).protocol;
|
|
28
|
+
return protocol === "http:" || protocol === "https:";
|
|
29
|
+
},
|
|
30
|
+
catch: (error) => makeAppError({
|
|
31
|
+
code: "AUTH_INVALID_REGISTRY_URL",
|
|
32
|
+
what: `Invalid registry URL: ${registryUrl}`,
|
|
33
|
+
howToFix: "Check the registry URL in your settings.",
|
|
34
|
+
cause: error,
|
|
35
|
+
}),
|
|
36
|
+
});
|
|
37
|
+
/**
|
|
38
|
+
* Wraps an Effect with an auth guard.
|
|
39
|
+
*
|
|
40
|
+
* - If the target registry is local, runs the inner effect directly.
|
|
41
|
+
* - If a token is already resolvable, runs the inner effect directly.
|
|
42
|
+
* - If no token: fails with `AUTH_LOGIN_REQUIRED`.
|
|
43
|
+
*/
|
|
44
|
+
export const withAuthGuard = (effect, options) => Effect.gen(function* () {
|
|
45
|
+
const defaultRegistryUrl = yield* RegistryUrl;
|
|
46
|
+
const targetRegistryUrl = options?.registryUrl ?? defaultRegistryUrl;
|
|
47
|
+
// Local registries do not require HTTP auth.
|
|
48
|
+
const isRemote = yield* isRemoteRegistryUrl(targetRegistryUrl);
|
|
49
|
+
if (!isRemote) {
|
|
50
|
+
return yield* effect;
|
|
51
|
+
}
|
|
52
|
+
const token = yield* resolveRequestToken(targetRegistryUrl, defaultRegistryUrl);
|
|
53
|
+
// Token available — proceed directly
|
|
54
|
+
if (Option.isSome(token)) {
|
|
55
|
+
return yield* effect;
|
|
56
|
+
}
|
|
57
|
+
const credStore = yield* CredentialStore;
|
|
58
|
+
if (!credStore.allowsPersistedCredentials) {
|
|
59
|
+
return yield* makePersistedCredentialsUnsupportedError();
|
|
60
|
+
}
|
|
61
|
+
// No token — fail fast
|
|
62
|
+
return yield* AUTH_LOGIN_REQUIRED;
|
|
63
|
+
});
|
|
64
|
+
//# sourceMappingURL=guard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guard.js","sourceRoot":"","sources":["../../../../src/unstable/auth/guard.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAiB,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EACL,eAAe,EACf,WAAW,EACX,wCAAwC,EACxC,mBAAmB,GACpB,MAAM,YAAY,CAAC;AAEpB,gFAAgF;AAChF,YAAY;AACZ,gFAA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AAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,eAAe,CAAC;IACzC,IAAI,CAAC,SAAS,CAAC,0BAA0B,EAAE,CAAC;QAC1C,OAAO,KAAK,CAAC,CAAC,wCAAwC,EAAE,CAAC;IAC3D,CAAC;IAED,uBAAuB;IACvB,OAAO,KAAK,CAAC,CAAC,mBAAmB,CAAC;AACpC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auth feature module.
|
|
3
|
+
*
|
|
4
|
+
* Provides credential storage, environment detection, token resolution,
|
|
5
|
+
* auth middleware, and device login orchestration for authentication.
|
|
6
|
+
*
|
|
7
|
+
* @experimental This API is unstable and may change without notice.
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
*/
|
|
10
|
+
export type { CredentialEntry, CredentialFile, StorageTier, StoredCredentials, TokenSource, } from "./schema.js";
|
|
11
|
+
export { CredentialEntrySchema, CredentialFileSchema, CredentialStoreTokenSource, EnvVarTokenSource, FlagTokenSource, RegistryAccountsSchema, } from "./schema.js";
|
|
12
|
+
export type { CredentialStoreService, EnvironmentInfo } from "./credential-store.js";
|
|
13
|
+
export { canUsePersistedCredentials, CredentialStore, CredentialStoreLive, CredentialStoreTest, detectEnvironment, makePersistedCredentialsUnsupportedError, selectTier, } from "./credential-store.js";
|
|
14
|
+
export { resolveRequiredToken, resolveToken, resolveStoredToken, refreshStoredToken, resolveAmbientToken, resolveRequestToken, } from "./token-resolution.js";
|
|
15
|
+
export { RegistryUrl } from "./registry-url.js";
|
|
16
|
+
export { AuthMiddlewareLive, makeAuthMiddlewareLive } from "./auth-middleware.js";
|
|
17
|
+
export type { AuthClientService, DeviceFlowResponse, MeResponse, PollResult, } from "./auth-client.js";
|
|
18
|
+
export { AuthClient, AuthClientLive, AuthClientTest, pollOnce } from "./auth-client.js";
|
|
19
|
+
export type { NormalizedTokenResponse } from "./oauth-contract.js";
|
|
20
|
+
export type { DeviceLoginInteractionService, DeviceLoginInteractionTestState, } from "./device-login.js";
|
|
21
|
+
export { DeviceLoginInteraction, DeviceLoginInteractionTest, runDeviceLogin, } from "./device-login.js";
|
|
22
|
+
export type { AuthLoginInteractionService, AuthLoginInteractionTestState, } from "./login-interaction.js";
|
|
23
|
+
export { AuthLoginInteraction, AuthLoginInteractionLive, AuthLoginInteractionTest, } from "./login-interaction.js";
|
|
24
|
+
export type { AuthGuardInteractionService, AuthGuardInteractionTestState, } from "./guard-interaction.js";
|
|
25
|
+
export { AuthGuardInteraction, AuthGuardInteractionLive, AuthGuardInteractionTest, } from "./guard-interaction.js";
|
|
26
|
+
export { withAuthGuard } from "./guard.js";
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/unstable/auth/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,YAAY,EACV,eAAe,EACf,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,sBAAsB,GACvB,MAAM,aAAa,CAAC;AAGrB,YAAY,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACrF,OAAO,EACL,0BAA0B,EAC1B,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,wCAAwC,EACxC,UAAU,GACX,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EACL,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,WAAW,EAAE,MAAM,mB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