You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Agents/Codex: remove the configurable Codex dynamic-tools profile so Codex app-server always owns workspace, edit, patch, exec, process, and plan tools while OpenClaw integration tools remain available.
38
38
- macOS app: update the Peekaboo bridge dependency to Peekaboo 3.0.0.
39
39
- Dependencies: refresh workspace pins and move the WhatsApp plugin from `@whiskeysockets/baileys` to `baileys` while keeping the `7.0.0-rc10` runtime.
40
+
- Plugin SDK: add bundled-plugin session actions, `sendSessionAttachment`, and Cron-backed `scheduleSessionTurn`/tag cleanup under the grouped session namespace. Replaces #75578/#75581/#75588 and part of #73384/#74483. Thanks @100yenadmin.
41
+
- Plugin SDK/media-understanding: add `extractStructuredWithModel(...)` plus the optional provider-side `extractStructured(...)` seam so trusted plugins can run bounded image-first structured extraction with optional supplemental text context through provider-owned runtimes such as Codex.
- QA/Mantis: accept Blacksmith Testbox `tbx_...` lease ids from desktop smoke warmup, so provider overrides do not fail before inspect/run. Thanks @vincentkoc.
331
333
- Plugins/SDK: add bounded `before_agent_finalize` retry instructions so workflow plugins can request one more model pass. Thanks @100yenadmin.
332
334
- Plugin SDK: add plugin-owned `SessionEntry` slot projection and scoped trusted-policy session extension reads. (#75609; replaces part of #73384/#74483) Thanks @100yenadmin.
335
+
- Plugin SDK/Gateway: add scoped `plugins.sessionAction` dispatch and plugin-attributed `emitAgentEvent` support so plugins can expose typed session actions and workflow events to trusted clients. (#75578; replaces part of #73384/#74483) Thanks @100yenadmin.
333
336
- Plugins/SDK: expose host-derived tool target paths to `before_tool_call` and trusted policy hooks so workflow plugins can reason about known file targets without reparsing tool envelopes. (#75605) Thanks @100yenadmin.
334
337
- Control UI/WebChat: show a persistent compact context usage indicator from fresh session token data before the high-pressure warning state, while keeping the existing compaction prompt threshold. Fixes #46398; refs #45048, #50071, and #73744. Thanks @walterwkchoy, @AxelrodAI, @Brissux, @vincentkoc, and @BunsDev.
335
338
- Contributor PRs: require external pull requests to include after-fix real behavior proof from a real OpenClaw setup, with terminal screenshots, console output, redacted runtime logs, linked artifacts, and copied live output treated as valid evidence while unit tests, mocks, lint, typechecks, snapshots, and CI remain supplemental only.
|`api.registerSessionExtension(...)`| Plugin-owned, JSON-compatible session state projected through Gateway sessions |
146
-
|`api.enqueueNextTurnInjection(...)`| Durable exactly-once context injected into the next agent turn for one session |
147
-
|`api.registerTrustedToolPolicy(...)`| Bundled/trusted pre-plugin tool policy that can block or rewrite tool params |
148
-
|`api.registerToolMetadata(...)`| Tool catalog display metadata without changing the tool implementation |
149
-
|`api.registerCommand(...)`| Scoped plugin commands; command results can set `continueAgent: true`; Discord native commands support `descriptionLocalizations`|
150
-
|`api.registerControlUiDescriptor(...)`| Control UI contribution descriptors for session, tool, run, or settings surfaces |
151
-
|`api.registerRuntimeLifecycle(...)`| Cleanup callbacks for plugin-owned runtime resources on reset/delete/reload paths |
152
-
|`api.registerAgentEventSubscription(...)`| Sanitized event subscriptions for workflow state and monitors |
153
-
|`api.setRunContext(...)` / `getRunContext(...)` / `clearRunContext(...)`| Per-run plugin scratch state cleared on terminal run lifecycle |
154
-
|`api.registerSessionSchedulerJob(...)`| Plugin-owned session scheduler job records with deterministic cleanup |
|`api.session.state.registerSessionExtension(...)`| Plugin-owned, JSON-compatible session state projected through Gateway sessions |
146
+
|`api.session.workflow.enqueueNextTurnInjection(...)`| Durable exactly-once context injected into the next agent turn for one session |
147
+
|`api.registerTrustedToolPolicy(...)`| Bundled/trusted pre-plugin tool policy that can block or rewrite tool params |
148
+
|`api.registerToolMetadata(...)`| Tool catalog display metadata without changing the tool implementation |
149
+
|`api.registerCommand(...)`| Scoped plugin commands; command results can set `continueAgent: true`; Discord native commands support `descriptionLocalizations`|
150
+
|`api.session.controls.registerControlUiDescriptor(...)`| Control UI contribution descriptors for session, tool, run, or settings surfaces |
151
+
|`api.lifecycle.registerRuntimeLifecycle(...)`| Cleanup callbacks for plugin-owned runtime resources on reset/delete/reload paths |
152
+
|`api.agent.events.registerAgentEventSubscription(...)`| Sanitized event subscriptions for workflow state and monitors |
153
+
|`api.runContext.setRunContext(...)` / `getRunContext(...)` / `clearRunContext(...)`| Per-run plugin scratch state cleared on terminal run lifecycle |
154
+
|`api.session.workflow.registerSessionSchedulerJob(...)`| Cleanup metadata for plugin-owned scheduler jobs; does not schedule work or create task records |
155
+
|`api.session.workflow.sendSessionAttachment(...)`| Bundled-only host-mediated file attachment delivery to the active direct-outbound session route |
Copy file name to clipboardExpand all lines: docs/plugins/sdk-runtime.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,6 +217,11 @@ Provider and channel execution paths must use the active runtime config snapshot
217
217
<Accordiontitle="api.runtime.tasks.managedFlows">
218
218
Bind a Task Flow runtime to an existing OpenClaw session key or trusted tool context, then create and manage Task Flows without passing an owner on every call.
219
219
220
+
Task Flow tracks durable multi-step workflow state. It is not a scheduler:
221
+
use Cron or `api.session.workflow.scheduleSessionTurn(...)` for future
222
+
wakeups, then use `managedFlows` from the scheduled turn when that work
223
+
needs flow state, child tasks, waits, or cancellation.
0 commit comments