mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 16:25:50 +00:00
* feat: add cron changed plugin hook * fix: improve cron_changed hook correctness and code quality - Fix PluginHookGatewayCronDeliveryStatus: replace 'error' with 'unknown' to match internal CronDeliveryStatus enum - Add job snapshot to CronEvent so removed events carry the deleted job - Extract pickDefined helper, replace 14-field verbose spread mapping - Add toPluginCronJob mapper for explicit internal→public type boundary - Fix schedule union: use literal-only kind discriminants for TS narrowing - Use loadConfig() (runtime) instead of params.cfg (startup) in hook ctx - Use formatErrorMessage instead of String(err) for stack preservation - Fix pre-existing getCron TS2322 with explicit cast (matches gateway_start) - Re-export supporting types from hooks.ts for plugin consumers - Add tests: removed events with job, finished with full fields, runtime cfg |
||
|---|---|---|
| .. | ||
| agent-tools.md | ||
| architecture-internals.md | ||
| architecture.md | ||
| building-extensions.md | ||
| building-plugins.md | ||
| bundles.md | ||
| codex-computer-use.md | ||
| codex-harness.md | ||
| community.md | ||
| compatibility.md | ||
| google-meet.md | ||
| hooks.md | ||
| manifest.md | ||
| memory-lancedb.md | ||
| memory-wiki.md | ||
| message-presentation.md | ||
| sdk-agent-harness.md | ||
| sdk-channel-plugins.md | ||
| sdk-entrypoints.md | ||
| sdk-migration.md | ||
| sdk-overview.md | ||
| sdk-provider-plugins.md | ||
| sdk-runtime.md | ||
| sdk-setup.md | ||
| sdk-subpaths.md | ||
| sdk-testing.md | ||
| skill-workshop.md | ||
| voice-call.md | ||
| webhooks.md | ||
| zalouser.md | ||