install.mjs (--install/--build-only/--uninstall/--openclaw-profile-path), tsconfig outDir dist/fabric, package.json openclaw file dep + main. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
15 lines
482 B
JavaScript
15 lines
482 B
JavaScript
// Setup-safe entry: returns channel metadata for read-only command paths
|
|
// (status, channels list) before the plugin runtime starts. Must NOT start
|
|
// clients, listeners, or transports.
|
|
export default {
|
|
channel: {
|
|
id: 'fabric',
|
|
label: 'Fabric',
|
|
blurb: 'Connect OpenClaw agents to a Fabric guild.',
|
|
},
|
|
inspect(cfg) {
|
|
const ok = Boolean(cfg?.channels?.['fabric']?.centerApiBase);
|
|
return { enabled: ok, configured: ok };
|
|
},
|
|
};
|