Files
Peter Steinberger 964c8c84c1 refactor: consolidate coercion ownership (#122299)
* refactor: consolidate coercion ownership

Centralize four canonical coercion helpers, migrate exact core and plugin duplicates through narrow Plugin SDK facades, and enforce declaration and plugin-normalization ownership boundaries.

The sweep adds eight focused SDK exports while deleting more production and tooling code than it adds. User-visible behavior is unchanged except for safer equivalent object and UI parsing at existing boundaries.

* fix: guard integer option ownership

Register resolveIntegerOption with the canonical function owner and extend the declaration-guard fixture so future local duplicates fail validation.

* fix: keep integer helpers on numeric facade

Remove the unshipped duplicate string-coerce exports and route every affected plugin consumer through the existing number-runtime contract.

* fix: point numeric coercion to number runtime

Make boundary and declaration diagnostics recommend the canonical numeric facade, with failing-before coverage for both guidance paths.
2026-08-11 17:14:53 -07:00
..

GitHub Copilot agent runtime (OpenClaw plugin)

External OpenClaw plugin that registers a copilot agent harness backed by @github/copilot-sdk and the GitHub Copilot CLI.

Install

openclaw plugins install @openclaw/copilot

Restart the Gateway after installing or updating the plugin.

The harness claims the canonical subscription github-copilot provider plus custom BYOK provider entries that the Copilot SDK can represent. Manifest-owned native provider ids stay with their owning runtimes. The harness is opt-in only: selection requires explicit agentRuntime.id: "copilot" on a model or provider entry; auto never picks it. OpenClaw remains the default embedded runtime.

See GitHub Copilot agent runtime for configuration, the doctor contract, transcript mirroring, compaction, side questions, replay, and the supported-surface contract.

Package

  • Plugin id: copilot
  • Package: @openclaw/copilot
  • Minimum OpenClaw host: 2026.5.28