OpenClaw channel plugin: defineChannelPluginEntry + createChatChannelPlugin.
Inbound via channel-turn kernel (wakeup -> admission: true=dispatch,
else drop+recordHistory). One Fabric socket per agent identity in the
plugin runtime (no sidecar). Center API-key agent auth. Tools:
fabric-register, create-{chat,work,report,discussion}-channel,
discussion-complete (post summary + close channel).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
23 lines
496 B
JSON
23 lines
496 B
JSON
{
|
|
"name": "fabric-openclaw-plugin",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Fabric channel plugin for OpenClaw",
|
|
"openclaw": {
|
|
"extensions": ["./index.ts"],
|
|
"setupEntry": "./src/setup-entry.ts",
|
|
"channel": {
|
|
"id": "fabric",
|
|
"label": "Fabric",
|
|
"blurb": "Connect OpenClaw agents to a Fabric guild."
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"socket.io-client": "^4.8.3"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json"
|
|
}
|
|
}
|