mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:00:45 +00:00
feat: add Codex harness extension seams
Co-authored-by: Eva <100yenadmin@users.noreply.github.com>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
c57d43f93ec2930b099dd5c5777f201f1bdd1ab432eeb4049b6e62ff23fe8112 plugin-sdk-api-baseline.json
|
||||
ece1ea689914c4070b587551e86c6bed6598feba90457ab489222e168b2d9298 plugin-sdk-api-baseline.jsonl
|
||||
8ca22ea6125fb198641c676d73b4df5a3bc49079be68bef8ed0718a54c1bb53a plugin-sdk-api-baseline.json
|
||||
197d9743128020062fc457228fa9139d0bd465d9e1775101bfc39137f4a10896 plugin-sdk-api-baseline.jsonl
|
||||
|
||||
@@ -69,6 +69,25 @@ Feature/channel plugin:
|
||||
- calls `api.runtime.*` or the matching `plugin-sdk/*-runtime` helper
|
||||
- never calls a vendor implementation directly
|
||||
|
||||
## Provider and Harness Seams
|
||||
|
||||
Use provider hooks when the behavior belongs to the model provider contract
|
||||
rather than the generic agent loop. Examples include provider-specific request
|
||||
params after transport selection, auth-profile preference, prompt overlays, and
|
||||
follow-up fallback routing after model/profile failover.
|
||||
|
||||
Use agent harness hooks when the behavior belongs to the runtime that is
|
||||
executing a turn. Harnesses can classify successful-but-unusable attempt results
|
||||
such as empty, reasoning-only, or planning-only responses so the outer model
|
||||
fallback policy can make the retry decision.
|
||||
|
||||
Keep both seams narrow:
|
||||
|
||||
- core owns the retry/fallback policy
|
||||
- provider plugins own provider-specific request/auth/routing hints
|
||||
- harness plugins own runtime-specific attempt classification
|
||||
- third-party plugins return hints, not direct mutations of core state
|
||||
|
||||
## File checklist
|
||||
|
||||
For a new capability, expect to touch these areas:
|
||||
|
||||
@@ -9,8 +9,8 @@ sidebarTitle: "Install and Configure"
|
||||
---
|
||||
|
||||
Plugins extend OpenClaw with new capabilities: channels, model providers,
|
||||
tools, skills, speech, realtime transcription, realtime voice,
|
||||
media-understanding, image generation, video generation, web fetch, web
|
||||
agent harnesses, tools, skills, speech, realtime transcription, realtime
|
||||
voice, media-understanding, image generation, video generation, web fetch, web
|
||||
search, and more. Some plugins are **core** (shipped with OpenClaw), others
|
||||
are **external** (published on npm by the community).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user