openclaw/extensions
Mara 🌿 4038f734f7
fix(memory-core): add runtime cron service fallback for dreaming reconciliation (#71694)
* fix(memory-core): add runtime cron service fallback for dreaming reconciliation

When the cron service is unavailable during gateway_start (e.g., due to
a startup timing race or deferred initialization), the startupCronSource
is captured as null and never refreshed. All subsequent runtime
reconciliation attempts fail with 'cron service unavailable', even when
the cron service is fully operational.

This adds a fallback path in the runtime reconciliation that attempts to
obtain the cron service from the plugin API runtime when the startup
capture was null. This handles the case where the cron service becomes
available after the initial startup event.

Fixes #67362

* fix(memory-core): hold gateway context for runtime cron resolution

The previous attempt tried to access api.runtime.cron which doesn't exist
on the PluginRuntime type. The cron service is only accessible through
PluginHookGatewayContext.getCron().

This fix stores the gateway context from the gateway_start event and uses
it to retry cron resolution at runtime when the initial capture was null.
This handles the race condition where the cron service isn't available
during gateway_start (250ms deferred init) but is ready later.

Also refreshes the startupCron capture when the runtime retry succeeds,
so subsequent reconciliation calls resolve immediately.

Addresses review feedback on #71694
2026-04-25 17:07:45 -04:00
..
acpx fix(acp): pass Codex ACP model thinking overrides 2026-04-25 19:56:03 +01:00
active-memory fix(plugins): honor inferred agent model defaults 2026-04-25 19:40:32 +01:00
alibaba chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
amazon-bedrock chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
amazon-bedrock-mantle chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
anthropic fix(agents): pass Claude system prompt via file 2026-04-25 17:59:25 +05:30
anthropic-vertex chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
arcee chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
bluebubbles chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
bonjour fix: stabilize macos npm update smoke 2026-04-25 20:09:32 +01:00
brave chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
browser fix(browser): avoid restart hint for external profiles 2026-04-25 19:18:06 +01:00
byteplus chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
chutes chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
cloudflare-ai-gateway chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
codex Support MCP hooks in the Codex harness (#71707) 2026-04-25 21:35:47 +01:00
comfy chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
copilot-proxy chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
deepgram chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
deepseek fix(opencode-go): route DeepSeek V4 through OpenAI transport 2026-04-25 18:58:08 +01:00
device-pair refactor(qr): share PNG data URL helpers (#70784) 2026-04-23 15:41:45 -07:00
diagnostics-otel test(diagnostics-otel): cover trace self-parent guard 2026-04-25 12:42:07 -07:00
diffs chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
discord feat(discord): allow voice model override 2026-04-25 12:47:46 +01:00
document-extract chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
duckduckgo chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
elevenlabs test(voice): harden live STT transcript checks 2026-04-25 19:36:01 +01:00
exa chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
fal feat: expose generic image background option 2026-04-25 20:21:46 +01:00
feishu fix(feishu): finish streaming card closeout 2026-04-25 04:04:03 -07:00
firecrawl chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
fireworks chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
github-copilot fix(github-copilot): preserve reasoning IDs for Copilot Codex models (#71684) 2026-04-25 20:52:07 +01:00
google fix(google): emit opus voice-note tts 2026-04-25 21:33:33 +01:00
google-meet fix: improve google meet setup diagnostics 2026-04-25 20:01:24 +01:00
googlechat chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
gradium chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
groq chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
huggingface chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
image-generation-core chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
imessage chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
irc chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
kilocode chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
kimi-coding chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
line chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
litellm feat(litellm): add image generation provider (#70246) 2026-04-25 19:06:51 +01:00
llm-task chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
lmstudio chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
lobster chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
matrix chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
mattermost chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
media-understanding-core refactor(media): move sharp image ops into media runtime (#71519) 2026-04-25 04:31:10 -07:00
memory-core fix(memory-core): add runtime cron service fallback for dreaming reconciliation (#71694) 2026-04-25 17:07:45 -04:00
memory-lancedb chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
memory-wiki chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
microsoft chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
microsoft-foundry chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
minimax fix(google): emit opus voice-note tts 2026-04-25 21:33:33 +01:00
mistral chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
moonshot chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
msteams chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
nextcloud-talk chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
nostr chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
nvidia chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
ollama chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
open-prose chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
openai feat: expose generic image background option 2026-04-25 20:21:46 +01:00
opencode chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
opencode-go fix(opencode-go): route DeepSeek V4 through OpenAI transport 2026-04-25 18:58:08 +01:00
openrouter chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
openshell chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
perplexity chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
phone-control test(plugins): fix sync register call sites 2026-04-17 10:14:00 +05:30
qa-channel chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
qa-lab test: stabilize QA session memory ranking 2026-04-25 19:30:28 +01:00
qa-matrix chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
qianfan chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
qqbot test(qqbot): cover voice utility contracts 2026-04-25 12:57:23 +01:00
qwen chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
runway chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
searxng chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
senseaudio feat(media): add voice conversion and speech plugins 2026-04-25 12:12:33 +01:00
sglang chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
shared test: trim whatsapp channel test barrels 2026-04-03 16:39:47 +01:00
signal chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
skill-workshop fix(providers): handle proxied DeepSeek V4 replay 2026-04-25 19:23:15 +01:00
slack fix(slack): stop block-based sender rehydration on assistant message edits (#71700) 2026-04-25 12:34:55 -07:00
speech-core chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
stepfun chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
synology-chat chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
synthetic chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
talk-voice test(plugins): fix sync register call sites 2026-04-17 10:14:00 +05:30
tavily chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
telegram fix(acp): guard sessions_spawn runtime targets 2026-04-25 21:23:24 +01:00
tencent chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
test-support test: share provider catalog fixtures 2026-04-21 00:32:42 +01:00
thread-ownership refactor(hooks): share live config fallback handling 2026-04-22 21:42:53 -07:00
tlon chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
together chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
tokenjuice chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
tts-local-cli feat(media): add voice conversion and speech plugins 2026-04-25 12:12:33 +01:00
twitch chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
venice fix(providers): handle proxied DeepSeek V4 replay 2026-04-25 19:23:15 +01:00
vercel-ai-gateway chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
video-generation-core chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
vllm chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
voice-call fix: clarify voice-call setup diagnostics 2026-04-25 20:24:36 +01:00
volcengine chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
voyage chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
vydra chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
web-readability chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
webhooks chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
whatsapp fix(whatsapp): send voice note text separately 2026-04-25 18:55:03 +01:00
xai fix(xai): support video reference images 2026-04-25 18:14:51 +01:00
xiaomi fix(google): emit opus voice-note tts 2026-04-25 21:33:33 +01:00
zai chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
zalo chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
zalouser chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
.npmignore
AGENTS.md Docs: add test performance guardrails 2026-04-17 02:23:49 -04:00
CLAUDE.md
music-generation-providers.live.test.ts test(extensions): keep generation helper out of discovery 2026-04-20 22:09:16 +01:00
tsconfig.package-boundary.base.json refactor(cli): normalize route boundaries 2026-04-06 15:38:04 +01:00
tsconfig.package-boundary.paths.json fix(ci): sync package boundary paths config 2026-04-09 23:59:00 +01:00
video-generation-providers.live.test.ts test(extensions): keep generation helper out of discovery 2026-04-20 22:09:16 +01:00