惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
Jina AI
Jina AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
Last Week in AI
Last Week in AI
博客园 - 司徒正美
Martin Fowler
Martin Fowler
T
Tailwind CSS Blog
B
Blog RSS Feed
Vercel News
Vercel News
博客园 - 聂微东
I
InfoQ
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
GbyAI
GbyAI
L
LangChain Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Security Blog
Microsoft Security Blog
C
Check Point Blog
MongoDB | Blog
MongoDB | Blog
B
Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
feat(plugins): add harness tool result middleware (#71021...
vincentkoc · 2026-04-25 · via Recent Commits to openclaw:main

@@ -396,7 +396,7 @@ read without importing the plugin runtime.

396396

```json

397397

{

398398

"contracts": {

399-

"embeddedExtensionFactories": ["pi"],

399+

"agentToolResultMiddleware": ["pi", "codex-app-server"],

400400

"externalAuthProviders": ["acme-ai"],

401401

"speechProviders": ["openai"],

402402

"realtimeTranscriptionProviders": ["openai"],

@@ -414,20 +414,26 @@ read without importing the plugin runtime.

414414415415

Each list is optional:

416416417-

| Field | Type | What it means |

418-

| -------------------------------- | ---------- | ----------------------------------------------------------------- |

419-

| `embeddedExtensionFactories` | `string[]` | Embedded runtime ids a bundled plugin may register factories for. |

420-

| `externalAuthProviders` | `string[]` | Provider ids whose external auth profile hook this plugin owns. |

421-

| `speechProviders` | `string[]` | Speech provider ids this plugin owns. |

422-

| `realtimeTranscriptionProviders` | `string[]` | Realtime-transcription provider ids this plugin owns. |

423-

| `realtimeVoiceProviders` | `string[]` | Realtime-voice provider ids this plugin owns. |

424-

| `memoryEmbeddingProviders` | `string[]` | Memory embedding provider ids this plugin owns. |

425-

| `mediaUnderstandingProviders` | `string[]` | Media-understanding provider ids this plugin owns. |

426-

| `imageGenerationProviders` | `string[]` | Image-generation provider ids this plugin owns. |

427-

| `videoGenerationProviders` | `string[]` | Video-generation provider ids this plugin owns. |

428-

| `webFetchProviders` | `string[]` | Web-fetch provider ids this plugin owns. |

429-

| `webSearchProviders` | `string[]` | Web-search provider ids this plugin owns. |

430-

| `tools` | `string[]` | Agent tool names this plugin owns for bundled contract checks. |

417+

| Field | Type | What it means |

418+

| -------------------------------- | ---------- | ---------------------------------------------------------------- |

419+

| `embeddedExtensionFactories` | `string[]` | Deprecated embedded extension factory ids. |

420+

| `agentToolResultMiddleware` | `string[]` | Harness ids this plugin may register tool-result middleware for. |

421+

| `externalAuthProviders` | `string[]` | Provider ids whose external auth profile hook this plugin owns. |

422+

| `speechProviders` | `string[]` | Speech provider ids this plugin owns. |

423+

| `realtimeTranscriptionProviders` | `string[]` | Realtime-transcription provider ids this plugin owns. |

424+

| `realtimeVoiceProviders` | `string[]` | Realtime-voice provider ids this plugin owns. |

425+

| `memoryEmbeddingProviders` | `string[]` | Memory embedding provider ids this plugin owns. |

426+

| `mediaUnderstandingProviders` | `string[]` | Media-understanding provider ids this plugin owns. |

427+

| `imageGenerationProviders` | `string[]` | Image-generation provider ids this plugin owns. |

428+

| `videoGenerationProviders` | `string[]` | Video-generation provider ids this plugin owns. |

429+

| `webFetchProviders` | `string[]` | Web-fetch provider ids this plugin owns. |

430+

| `webSearchProviders` | `string[]` | Web-search provider ids this plugin owns. |

431+

| `tools` | `string[]` | Agent tool names this plugin owns for bundled contract checks. |

432+433+

`contracts.embeddedExtensionFactories` is retained for bundled compatibility

434+

code that still needs direct Pi embedded-runner events. New tool-result

435+

transforms should declare `contracts.agentToolResultMiddleware` and register

436+

with `api.registerAgentToolResultMiddleware(...)` instead.

431437432438

Provider plugins that implement `resolveExternalAuthProfiles` should declare

433439

`contracts.externalAuthProviders`. Plugins without the declaration still run