openclaw/extensions
Jakub Rusz 8f44bd6426
fix(ollama): emit streaming events for text content during generation (#53891)
The Ollama stream function requested `stream: true` from the API but
accumulated all content chunks internally, emitting only a single `done`
event at the end. This prevented downstream consumers (block streaming
pipeline, typing indicators, draft stream) from receiving incremental
text updates during generation.

Emit the full `start → text_start → text_delta* → text_end → done`
event sequence matching the AssistantMessageEvent contract used by
Anthropic, OpenAI, and Google providers. Each `text_delta` carries both
the incremental `delta` and an accumulated `partial` snapshot.

Tool-call-only responses (no text content) continue to emit only the
`done` event, preserving backward compatibility.

---------

Signed-off-by: Jakub Rusz <jrusz@proton.me>
Co-authored-by: Claude <claude-opus-4-6> <noreply@anthropic.com>
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
2026-03-27 11:12:09 -07:00
..
acpx refactor(plugin-sdk): expose zod subpath 2026-03-27 09:55:47 +05:30
amazon-bedrock refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
anthropic refactor: move legacy auth choice aliases into plugin manifests 2026-03-27 17:23:40 +00:00
anthropic-vertex refactor: route provider catalogs through public api barrels 2026-03-27 17:23:40 +00:00
bluebubbles refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
brave refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
browser refactor: route plugin sdk through extension barrels 2026-03-27 13:46:16 +00:00
byteplus refactor: route provider catalogs through public api barrels 2026-03-27 17:23:40 +00:00
chutes chore: bump versions to 2026.3.26 2026-03-27 02:03:22 +00:00
cloudflare-ai-gateway refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
copilot-proxy refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
deepgram test: move extension-owned coverage into plugins 2026-03-27 15:11:33 +00:00
deepseek refactor: route provider catalogs through public api barrels 2026-03-27 17:23:40 +00:00
device-pair refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
diagnostics-otel build: refresh deps and vitest cache lanes 2026-03-27 02:26:07 +00:00
diffs refactor(plugin-sdk): expose zod subpath 2026-03-27 09:55:47 +05:30
discord refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
duckduckgo refactor: shortcut bundled provider contract fixtures 2026-03-27 04:44:43 +00:00
elevenlabs test: move extension-owned coverage into plugins 2026-03-27 15:11:33 +00:00
exa refactor: shortcut bundled provider contract fixtures 2026-03-27 04:44:43 +00:00
fal refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
feishu fix(ci): restore plugin runtime boundaries 2026-03-27 14:38:40 +00:00
firecrawl refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
github-copilot refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
google refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
googlechat refactor: migrate more boundary parsing to zod 2026-03-27 05:07:50 +00:00
groq chore: bump versions to 2026.3.26 2026-03-27 02:03:22 +00:00
huggingface refactor: move provider default model refs into extension apis 2026-03-27 17:23:40 +00:00
image-generation-core refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
imessage fix(ci): restore runtime-api guardrails 2026-03-27 15:56:54 +00:00
irc refactor(plugin-sdk): expose zod subpath 2026-03-27 09:55:47 +05:30
kilocode refactor: route provider catalogs through public api barrels 2026-03-27 17:23:40 +00:00
kimi-coding refactor: remove core provider model definitions compat 2026-03-27 17:23:40 +00:00
line refactor: remove onboarding gateway compat shims 2026-03-27 13:46:16 +00:00
litellm refactor: route litellm sdk through public api barrel 2026-03-27 17:23:40 +00:00
llm-task chore: bump versions to 2026.3.26 2026-03-27 02:03:22 +00:00
lobster chore: bump versions to 2026.3.26 2026-03-27 02:03:22 +00:00
matrix fix: repair latest-main ci gate 2026-03-27 17:57:23 +00:00
mattermost fix: repair latest-main ci gate 2026-03-27 17:57:23 +00:00
media-understanding-core refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
memory-core refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
memory-lancedb build: refresh deps and vitest cache lanes 2026-03-27 02:26:07 +00:00
microsoft test: move extension-owned coverage into plugins 2026-03-27 15:11:33 +00:00
microsoft-foundry chore: bump versions to 2026.3.26 2026-03-27 02:03:22 +00:00
minimax refactor: remove core provider model definitions compat 2026-03-27 17:23:40 +00:00
mistral refactor: simplify provider auth storage setters 2026-03-27 17:23:40 +00:00
modelstudio refactor: simplify provider auth storage setters 2026-03-27 17:23:40 +00:00
moonshot refactor: simplify provider auth storage setters 2026-03-27 17:23:40 +00:00
msteams refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
nextcloud-talk fix: repair latest-main ci gate 2026-03-27 17:57:23 +00:00
nostr refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
nvidia refactor: route provider catalogs through public api barrels 2026-03-27 17:23:40 +00:00
ollama fix(ollama): emit streaming events for text content during generation (#53891) 2026-03-27 11:12:09 -07:00
open-prose chore: bump versions to 2026.3.26 2026-03-27 02:03:22 +00:00
openai refactor: move legacy auth choice aliases into plugin manifests 2026-03-27 17:23:40 +00:00
opencode refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
opencode-go refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
openrouter refactor: move provider default model refs into extension apis 2026-03-27 17:23:40 +00:00
openshell test: move extension-owned coverage into plugins 2026-03-27 15:11:33 +00:00
perplexity refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
phone-control refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
qianfan refactor: remove core provider model definitions compat 2026-03-27 17:23:40 +00:00
sglang refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
shared refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
signal fix: repair latest-main ci gate 2026-03-27 17:57:23 +00:00
slack refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
speech-core refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
synology-chat refactor: migrate more boundary parsing to zod 2026-03-27 05:07:50 +00:00
synthetic refactor: route provider catalogs through public api barrels 2026-03-27 17:23:40 +00:00
talk-voice refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
tavily refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
telegram refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
thread-ownership fix(extensions): route fetch calls through fetchWithSsrFGuard (#53929) 2026-03-26 02:04:54 -07:00
tlon refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
together refactor: move provider default model refs into extension apis 2026-03-27 17:23:40 +00:00
twitch refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
venice refactor: route provider catalogs through public api barrels 2026-03-27 17:23:40 +00:00
vercel-ai-gateway refactor: remove core provider model definitions compat 2026-03-27 17:23:40 +00:00
vllm refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
voice-call test: split extension-owned core coverage 2026-03-27 16:08:57 +00:00
volcengine refactor: route provider catalogs through public api barrels 2026-03-27 17:23:40 +00:00
whatsapp refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
xai refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
xiaomi refactor: move provider default model refs into extension apis 2026-03-27 17:23:40 +00:00
zai refactor: remove core provider model definitions compat 2026-03-27 17:23:40 +00:00
zalo fix: repair latest-main ci gate 2026-03-27 17:57:23 +00:00
zalouser fix: repair latest-main ci gate 2026-03-27 17:57:23 +00:00
.npmignore