mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-18 08:31:49 -06:00
0d9a424d81
* refactor(plugin-sdk): dedupe session-catalog cursor paging into session-catalog-runtime The acpx Pi and opencode session catalogs carried byte-identical boundedLimit/encodeCursor/decodeCursor/optionalRawCursor/transcriptPage scaffolding (~114 duplicated lines each). Move one canonical copy into the private-local session-catalog-runtime SDK subpath both plugins already may import, and keep the plugin-named cursor guards as direct aliases. Net -87 production LOC; no behavior change (error strings, cursor canonical form, and byte budgets are unchanged). * refactor(core): replace private sleep() clones with canonical sleep helpers managed-linux readiness polling now uses @openclaw/retry sleepWithAbort with ref:false (preserving the clone's timer.unref behavior), and the embedded agent runner's async-task wait uses src/utils/sleep.ts. Both clones matched canonical semantics on real inputs (positive integer poll intervals). The update-managed-service-handoff copy stays: it lives inside a serialized standalone handoff script (String.raw template) that cannot import repo modules.
OpenCode Zen OpenClaw provider
Official OpenClaw provider plugin for the OpenCode Zen model catalog, image understanding, and native OpenCode session browsing.
Install
openclaw plugins install @openclaw/opencode-provider
openclaw gateway restart
Docs
See docs/providers/opencode.md in the OpenClaw repository, or the published
docs at https://docs.openclaw.ai/providers/opencode.