mirror of
https://github.com/bitbaum/openclaw.git
synced 2026-12-04 16:28:17 +01:00
* fix(channels): single-source bundled channel schemas from generated metadata Hand-maintained channelConfigs schema copies in a2a, buzz, clickclack, raft, and slack silently overrode the zod-derived generated bundled channel metadata in config validation: stale buzz/raft copies rejected the valid configWrites key, and the slack/clickclack additionalProperties stubs disabled validation for those channels entirely. Delete the copies so the CI-checked generated metadata is the single channel-schema source, stub feishu's retired rich plugin-entry schema like every sibling, and guard the pattern with a contract test. The retired rich plugin-entry schemas let config UIs park channel settings under plugins.entries.<id>.config unread; the reef doctor migration from #131292 generalizes into the plugin SDK (defineStrayPluginEntryConfigMigration) and feishu adopts it alongside reef. * fix(tests): fold channel schema-source guard into existing shard root A new test root pushed the plugins-platform tsgo shard past its 720-root cap; the guard lives in bundled-package-channel-metadata.test.ts instead. * test(channels): update catalog and parity tests to single-source schemas The official catalog regenerates without the deleted manifest schema copies; the a2a and buzz parity tests drop their cold-manifest/catalog surfaces (the runtime zod projection is what the generator publishes). * test(plugins): lagging slack hydration carries no catalog schema copy The full-suite manifest-registry test still pinned the catalog's retired slack schema fallback; hydration now yields label/description and channel validation falls back to the generated bundled metadata.
29 lines
488 B
JSON
29 lines
488 B
JSON
{
|
|
"id": "clickclack",
|
|
"doctorContract": {
|
|
"configRepair": true
|
|
},
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"channels": [
|
|
"clickclack"
|
|
],
|
|
"channelConfigs": {
|
|
"clickclack": {
|
|
"label": "ClickClack",
|
|
"description": "ClickClack channel accounts and group activation policy."
|
|
}
|
|
},
|
|
"contracts": {
|
|
"tools": [
|
|
"discussion"
|
|
]
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|