fix(heartbeat): type wake scheduling intent

Co-authored-by: Jordan Baker <jbb@scryent.com>
This commit is contained in:
Peter Steinberger
2026-05-02 14:31:11 +01:00
parent 0b09cfb8cd
commit c06739d773
71 changed files with 1601 additions and 484 deletions

View File

@@ -360,7 +360,12 @@ Provider and channel execution paths must use the active runtime config snapshot
```typescript
await api.runtime.system.enqueueSystemEvent(event);
api.runtime.system.requestHeartbeatNow();
api.runtime.system.requestHeartbeat({
source: "other",
intent: "event",
reason: "plugin-event",
});
api.runtime.system.requestHeartbeatNow({ reason: "plugin-event" }); // Deprecated compatibility alias.
const output = await api.runtime.system.runCommandWithTimeout(cmd, args, opts);
const hint = api.runtime.system.formatNativeDependencyHint(pkg);
```