@redonvn/redai-openclaw-plugin
v0.1.1
Published
OpenClaw plugin generated from the RedAI OpenAPI document
Readme
@redonvn/redai-openclaw-plugin
OpenClaw plugin generated from redai-sdk/packages/open-claw-sdk/docs/docs-json.json.
What it contains
openclaw.plugin.json: plugin manifest for OpenClaw discovery and config validationtool-catalog.json: generated tool catalog from the RedAI OpenAPI documentdist/index.js: plugin entry used byopenclaw plugins install @redonvn/redai-openclaw-plugin
Build
npm run build --workspace @redonvn/redai-openclaw-pluginPublish
npm publish --workspace @redonvn/redai-openclaw-plugin --access publicInstall in OpenClaw
openclaw plugins install @redonvn/redai-openclaw-plugin
openclaw plugins enable redai-apiRequired config
Add runtime config in ~/.openclaw/openclaw.json:
{
"plugins": {
"entries": {
"redai-api": {
"enabled": true,
"config": {
"baseUrl": "https://your-redai-api.example.com",
"bearerToken": "YOUR_TOKEN"
}
}
}
},
"agents": {
"list": [
{
"id": "main",
"tools": {
"allow": ["redai-api"]
}
}
]
}
}The generated tools are optional by default, so the plugin id must be allowlisted for the target agent.
