@redonvn/hanhchinh-redai
v0.1.7
Published
OpenClaw plugin generated from hanhchinh.json
Readme
@redonvn/hanhchinh-redai
OpenClaw plugin generated from redai-sdk/packages/hanhchinh-redai/hanhchinh.json.
Generate
npm run generate --workspace @redonvn/hanhchinh-redaiBuild
npm run build --workspace @redonvn/hanhchinh-redaiInstall in OpenClaw
openclaw plugins install @redonvn/hanhchinh-redai
openclaw plugins enable hanhchinh-redaiRequired config
Add runtime config in ~/.openclaw/openclaw.json:
{
"plugins": {
"entries": {
"hanhchinh-redai": {
"enabled": true,
"config": {
"baseUrl": "https://nocodb.redai-erp.io.vn",
"defaultToken": "replace-with-service-token",
"defaultTokensByTelegramGroup": {
"-1003746497233": "replace-with-service-token",
"-1003788695781": "replace-with-service-token"
}
}
}
}
},
"agents": {
"list": [
{
"id": "main",
"tools": {
"allow": ["hanhchinh-redai"]
}
}
]
}
}Authentication is config-first. The plugin now prefers static tokens loaded from
~/.openclaw/openclaw.json and only falls back to a stored per-user token if no
matching config token exists. Resolution order is:
- Group default token
- Agent default token
- Global
defaultToken
