Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
OpenClaw keeps older plugin contracts wired through named compatibility adapters before removing them. This protects existing bundled and external plugins while the SDK, manifest, setup, config, and agent runtime contracts evolve.
Plugin compatibility contracts are tracked in the core registry at
src/plugins/compat/registry.tsEach record has:
activedeprecatedremoval-pendingremovedThe registry is the source for maintainer planning and future plugin inspector checks. If a plugin-facing behavior changes, add or update the compatibility record in the same change that adds the adapter.
Doctor repair and migration compatibility is tracked separately at
src/commands/doctor/shared/deprecation-compat.tsRelease sweeps should check both registries. Do not delete a doctor migration just because the matching runtime or config compatibility record expired; first verify there is no supported upgrade path that still needs the repair. Also revalidate each replacement annotation during release planning because plugin ownership and config footprint can change as providers and channels move out of core.
The plugin inspector should live outside the core OpenClaw repo as a separate package/repository backed by the versioned compatibility and manifest contracts.
The day-one CLI should be:
shopenclaw-plugin-inspector ./my-plugin
It should emit:
Use
--jsonopenclawUse Blacksmith Testbox for the installable-package acceptance lane when validating the external inspector against OpenClaw plugin packages. Run it from a clean OpenClaw checkout after the package is built:
shblacksmith testbox warmup ci-check-testbox.yml --ref main --idle-timeout 90 blacksmith testbox run --id <tbx_id> "pnpm install && pnpm build && npm exec --yes @openclaw/plugin-inspector@0.1.0 -- ./extensions/telegram --json" blacksmith testbox run --id <tbx_id> "npm exec --yes @openclaw/plugin-inspector@0.1.0 -- ./extensions/discord --json" blacksmith testbox run --id <tbx_id> "npm exec --yes @openclaw/plugin-inspector@0.1.0 -- <clawhub-plugin-dir> --json" blacksmith testbox stop <tbx_id>
Keep this lane opt-in for maintainers because it installs an external npm package and may inspect plugin packages cloned outside the repo. The local repo guards cover the SDK export map, compatibility registry metadata, deprecated SDK-import burn-down, and bundled extension import boundaries; Testbox inspector proof covers the package as external plugin authors consume it.
OpenClaw should not remove a documented plugin contract in the same release that introduces its replacement.
The migration sequence is:
Deprecated records must include a warning start date, replacement, docs link, and final removal date no more than three months after the warning starts. Do not add a deprecated compatibility path with an open-ended removal window unless maintainers explicitly decide it is permanent compatibility and mark it
activeCurrent compatibility records include:
openclaw/plugin-sdk/compatbefore_agent_startactivate(api)register(api)openclaw/extension-apiopenclaw/plugin-sdk/channel-runtimeopenclaw/plugin-sdk/command-authopenclaw/plugin-sdk/test-utilsopenclaw/plugin-sdk/*ClawdbotConfigOpenClawSchemaTypeapi.runtime.taskFlowapi.runtime.subagent.getSessionapi.runtime.sttapi.runtime.config.loadConfig()api.runtime.config.writeConfigFile(...)registerMemoryCapabilityopenclaw/plugin-sdk/channel-routeactivation.onStartupOPENCLAW_DISABLE_LEGACY_IMPLICIT_STARTUP_SIDECARS=1setup-apisetup.requiresRuntime: falsediscoverycatalog.run(...)showConfiguredshowInSetupopenclaw.channel.exposureagentRuntimechannelConfigsopenclaw plugins registry --refreshopenclaw doctor --fixplugins.entries.<plugin>.configplugins.installsNew plugin code should prefer the replacement listed in the registry and in the specific migration guide. Existing plugins can keep using a compatibility path until the docs, diagnostics, and release notes announce a removal window.
Release notes should include upcoming plugin deprecations with target dates and links to migration docs. That warning needs to happen before a compatibility path moves to
removal-pendingremoved© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine