feat(acp): scaffold fusion-plugin-acp-runtime (U1)
New runtime plugin registering runtimeId 'acp', mirroring the fusion-plugin-droid-runtime shape. Adds @agentclientprotocol/sdk@0.24.0 and an SDK smoke-import test that gates on the load-bearing exports (ClientSideConnection, ndJsonStream, PROTOCOL_VERSION=1) so a breaking SDK change surfaces at U1. Runtime adapter is a contract-conforming skeleton (incl. describeModel); session driving lands in U2/U3. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
41
plugins/fusion-plugin-acp-runtime/package.json
Normal file
41
plugins/fusion-plugin-acp-runtime/package.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "@fusion-plugin-examples/acp-runtime",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"description": "ACP (Agent Client Protocol) runtime plugin for Fusion — drives any ACP-compatible agent over JSON-RPC/stdio",
|
||||
"keywords": [
|
||||
"fusion-plugin",
|
||||
"acp",
|
||||
"agent-client-protocol",
|
||||
"runtime"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./src/index.ts",
|
||||
"import": "./src/index.ts"
|
||||
},
|
||||
"./probe": {
|
||||
"types": "./src/probe.ts",
|
||||
"import": "./src/probe.ts"
|
||||
}
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"test": "vitest run --silent=passed-only --reporter=dot",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@agentclientprotocol/sdk": "0.24.0",
|
||||
"@fusion/plugin-sdk": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@earendil-works/pi-ai": "*",
|
||||
"@earendil-works/pi-coding-agent": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.5.2",
|
||||
"typescript": "^5.7.0",
|
||||
"vitest": "^3.2.4"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user