feat: 导出 SproutClaw .sproutclaw 配置
包含 extensions、skills、prompts、settings、auth、models、mcp 等配置。 排除 node_modules、npm 缓存、sessions 等运行时数据。
This commit is contained in:
106
agent/extensions/pi-mcp-adapter/package.json
Normal file
106
agent/extensions/pi-mcp-adapter/package.json
Normal file
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"name": "pi-mcp-adapter",
|
||||
"version": "2.10.0",
|
||||
"description": "MCP (Model Context Protocol) adapter extension for Pi coding agent",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"author": "Nico Bailon",
|
||||
"bin": {
|
||||
"pi-mcp-adapter": "cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:oauth-provider": "node --import tsx --test mcp-oauth-provider.test.ts"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/nicobailon/pi-mcp-adapter.git"
|
||||
},
|
||||
"keywords": [
|
||||
"pi-package",
|
||||
"pi",
|
||||
"mcp",
|
||||
"model-context-protocol",
|
||||
"ai",
|
||||
"coding-agent",
|
||||
"extension",
|
||||
"claude",
|
||||
"llm"
|
||||
],
|
||||
"pi": {
|
||||
"extensions": [
|
||||
"./index.ts"
|
||||
],
|
||||
"video": "https://github.com/nicobailon/pi-mcp-adapter/raw/refs/heads/main/pi-mcp.mp4"
|
||||
},
|
||||
"files": [
|
||||
"cli.js",
|
||||
"agent-dir.ts",
|
||||
"index.ts",
|
||||
"state.ts",
|
||||
"utils.ts",
|
||||
"tool-metadata.ts",
|
||||
"init.ts",
|
||||
"ui-session.ts",
|
||||
"proxy-modes.ts",
|
||||
"direct-tools.ts",
|
||||
"commands.ts",
|
||||
"onboarding-state.ts",
|
||||
"mcp-setup-panel.ts",
|
||||
"types.ts",
|
||||
"ui-stream-types.ts",
|
||||
"config.ts",
|
||||
"server-manager.ts",
|
||||
"sampling-handler.ts",
|
||||
"elicitation-handler.ts",
|
||||
"tool-registrar.ts",
|
||||
"tool-result-renderer.ts",
|
||||
"resource-tools.ts",
|
||||
"lifecycle.ts",
|
||||
"metadata-cache.ts",
|
||||
"host-html-template.ts",
|
||||
"ui-resource-handler.ts",
|
||||
"consent-manager.ts",
|
||||
"ui-server.ts",
|
||||
"glimpse-ui.ts",
|
||||
"npx-resolver.ts",
|
||||
"oauth-handler.ts",
|
||||
"mcp-auth.ts",
|
||||
"mcp-oauth-provider.ts",
|
||||
"mcp-callback-server.ts",
|
||||
"mcp-auth-flow.ts",
|
||||
"mcp-panel.ts",
|
||||
"panel-keys.ts",
|
||||
"logger.ts",
|
||||
"errors.ts",
|
||||
"app-bridge.bundle.js",
|
||||
"banner.png",
|
||||
"README.md",
|
||||
"CHANGELOG.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"dependencies": {
|
||||
"@earendil-works/pi-ai": "^0.74.0",
|
||||
"@earendil-works/pi-tui": "^0.74.0",
|
||||
"@modelcontextprotocol/ext-apps": "^1.2.2",
|
||||
"@modelcontextprotocol/sdk": "^1.25.1",
|
||||
"open": "^10.2.0",
|
||||
"recheck": "^4.5.0",
|
||||
"typebox": "^1.1.24",
|
||||
"zod": "^3.25.0 || ^4.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"zod": "^3.25.0 || ^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@earendil-works/pi-coding-agent": "^0.79.1",
|
||||
"@types/bun": "^1.0.0",
|
||||
"@types/node": "^20.0.0",
|
||||
"@types/open": "^6.2.1",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^5.0.0",
|
||||
"vitest": "^3.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user