Commit Graph

27544 Commits

Author SHA1 Message Date
Vincent Koc d7086526b0 docs(video): describe mode-aware generation capabilities 2026-04-06 13:25:53 +01:00
Peter Steinberger 45875ed532 chore(deps): update dependencies 2026-04-06 13:25:17 +01:00
Evgeny Yakimov 68a4f91d5a feat(google): add support for Gemma 4 models and fix cross-provider resolution 2026-04-06 13:24:48 +01:00
Peter Steinberger b04dd6d05c refactor: consolidate session history sanitization 2026-04-06 13:23:44 +01:00
Ted Li 23730229e1 fix(memory-core): ignore managed dreaming blocks during daily ingestion (#61720) (thanks @MonkeyLeeT) 2026-04-06 13:22:54 +01:00
Peter Steinberger 10554644aa perf(test): trim security gateway auth test path 2026-04-06 13:22:46 +01:00
Peter Steinberger f0a0b98c8d perf(test): refine secrets runtime activation coverage 2026-04-06 13:22:45 +01:00
Peter Steinberger 0ab877bd13 refactor: share status report section builders 2026-04-06 13:22:23 +01:00
Peter Steinberger 143f501fe5 refactor: share status overview and json helpers 2026-04-06 13:22:23 +01:00
Neerav Makwana ad2df63547 fix(agents): classify Anthropic extra-usage billing (#61608) (thanks @neeravmakwana) 2026-04-06 13:21:53 +01:00
Neerav Makwana 7df5f70242 fix(agents): skip redundant partial compaction summarization (#61603) (thanks @neeravmakwana) 2026-04-06 13:21:07 +01:00
Neerav Makwana 177e23801b fix(telegram): bound startup request timeouts (#61601) (thanks @neeravmakwana) 2026-04-06 13:20:15 +01:00
Vincent Koc 6b53a9aadb feat(video): add mode-aware generation capabilities 2026-04-06 13:19:51 +01:00
Neerav Makwana 9aaa000da0 fix(gateway): show /tts audio in Control UI webchat (#61598) (thanks @neeravmakwana) 2026-04-06 13:19:38 +01:00
foxtrot026 02c092e558 fix(model-ref): recompute suffix after @YYYYMMDD + add @8bit test 2026-04-06 13:18:59 +01:00
foxtrot026 5208a85afe fix(model-ref): treat LM Studio/Ollama @q*/@4bit suffixes as model-id 2026-04-06 13:18:59 +01:00
Peter Steinberger d4da45c202 perf(test): split remaining security audit coverage 2026-04-06 13:14:52 +01:00
Peter Steinberger dcaf8c47e3 perf(test): split secrets auth runtime coverage 2026-04-06 13:14:52 +01:00
Vincent Koc e69cfc3e3b fix(plugin-sdk): restore compat auth helper exports 2026-04-06 13:14:02 +01:00
oliviareid-svg 089423bbaa fix(macos): strip commit hash from CLI version output (#61111)
Merged via squash.

Prepared head SHA: 6478de0b4ee6f35bf7cde60adacce195d73b38df
Co-authored-by: oliviareid-svg <269669958+oliviareid-svg@users.noreply.github.com>
Co-authored-by: ImLukeF <92253590+ImLukeF@users.noreply.github.com>
Reviewed-by: @ImLukeF
2026-04-06 22:10:40 +10:00
Vincent Koc a5d2e89d3d refactor(auth): drop provider auth storage switchboard 2026-04-06 13:08:58 +01:00
Vincent Koc 58409cd5c5 fix(zalo): lazy load webhook monitor surface 2026-04-06 13:06:41 +01:00
Peter Steinberger f1b6b97df3 perf(test): split security audit coverage 2026-04-06 13:05:39 +01:00
Peter Steinberger bc160c0613 perf(test): split secrets runtime coverage 2026-04-06 13:05:38 +01:00
Peter Steinberger f0290b4732 docs(changelog): note discord forwarded reference recovery (#61670) 2026-04-06 13:01:51 +01:00
Peter Steinberger 7f11941134 fix(windows): preserve plugin loader alias resolution (#61832) (thanks @Zeesejo)
# Conflicts:
#	CHANGELOG.md
#	src/plugins/loader.ts
2026-04-06 13:01:51 +01:00
Peter Steinberger d43ac5d14c fix(discord): restore carbon beta 2026-04-06 13:01:22 +01:00
Peter Steinberger 88aa814226 refactor: consolidate status runtime and overview helpers 2026-04-06 12:57:09 +01:00
Peter Steinberger e8731589c0 refactor: share status scan and report helpers 2026-04-06 12:55:56 +01:00
XING 60dc6a22c9 fix(discord): restore snapshot forwarding helpers 2026-04-06 20:54:54 +09:00
XING c5493b15d6 fix(discord): recover forwarded referenced message content
# Conflicts:
#	extensions/discord/src/monitor/message-utils.ts
2026-04-06 20:54:54 +09:00
Vincent Koc 2d75be0ea7 fix(onboard): move provider auth ids out of core types 2026-04-06 12:52:34 +01:00
Peter Steinberger bbd0702c79 fix(agents): narrow phase-aware history hardening (#61829) (thanks @100yenadmin) 2026-04-06 20:52:27 +09:00
Eva 3d9c6affce gateway: fix bounded SSE sanitization and rawTranscriptSeq init
Apply sanitizeChatHistoryMessages before pagination in the bounded SSE
history refresh path, consistent with the unbounded path. Initialize
rawTranscriptSeq from the raw transcript's last __openclaw.seq value
instead of the sanitized history length, preventing seq drift when
sanitization drops messages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 20:52:27 +09:00
Eva 029ed5d32a fix: harden phase-aware history sanitization 2026-04-06 20:52:27 +09:00
Eva 4bded29f2a fix(agents): address review feedback on #61481 phase-integrity hardening 2026-04-06 20:52:27 +09:00
Eva b099427570 fix(gateway): sanitize bounded SSE refresh + deduplicate constant
- Bounded/cursor SSE refresh path now sanitizes through
  sanitizeChatHistoryMessages before paginating, matching the
  unbounded path and initial history load.
- Export DEFAULT_CHAT_HISTORY_TEXT_MAX_CHARS from chat.ts and
  import in sessions-history-http.ts instead of duplicating.
2026-04-06 20:52:27 +09:00
Eva 7634bdeb2c fix: restore required imports and fix SSE sequence tracking 2026-04-06 20:52:27 +09:00
Eva 6f95fd448f fix(agents): address review feedback on phase hardening 2026-04-06 20:52:27 +09:00
Eva dea515e833 fix: sanitize SSE history fast path and preserve cursor paging 2026-04-06 20:52:27 +09:00
Eva e7311334cb fix: harden phase-aware assistant visibility 2026-04-06 20:52:27 +09:00
Vincent Koc e611761809 fix(plugins): move acpx config contracts into manifests 2026-04-06 12:33:20 +01:00
Yossi Eliaz 045d956111 fix(ollama): resolve per-provider baseUrl in createStreamFn
The createStreamFn callback hardcoded config.models.providers.ollama.baseUrl,
ignoring the actual provider ID from the context. When multiple Ollama providers
are configured on different ports (e.g. ollama on 11434, ollama2 on 11435), all
requests routed to the first provider's port.

Export resolveConfiguredOllamaProviderConfig from stream.ts and use it with the
ctx.provider parameter to dynamically look up the correct baseUrl per provider.

Closes #61678
2026-04-06 20:28:07 +09:00
Qinyao He 2989b78c12 fix: address lint curly rule and remove extra blank line 2026-04-06 20:27:28 +09:00
Qinyao He 8818184da0 fix: address review — broaden sonnet-4 check, deduplicate helper
- Use `sonnet-4` substring match instead of enumerating `sonnet-4-5`,
  `sonnet-4-6` explicitly. This is safe because legacy `claude-3-5-sonnet`
  does not contain `sonnet-4`, and it future-proofs for sonnet-4-7+.
- Export `shouldPreserveThinkingBlocks` from provider-replay-helpers.ts
  and import it in transcript-policy.ts instead of duplicating the logic.

Addresses review feedback from Greptile.
2026-04-06 20:27:28 +09:00
Qinyao He 88b4ebeaf6 test: fix provider-model-shared test expectations for Sonnet 4.6
The shared-helper tests still expected dropThinkingBlocks: true for
claude-sonnet-4-6. Updated to match the new behavior where Sonnet 4.6
preserves thinking blocks.
2026-04-06 20:27:28 +09:00
Qinyao He 7a3514664d fix: preserve thinking blocks for Claude Opus 4.5+/Sonnet 4.5+ to fix cache
Claude Opus 4.5+ and Sonnet 4.5+ preserve thinking blocks in model context
by default. Dropping them from prior turns (as was correct for Sonnet 3.7)
breaks Anthropic's prefix-based prompt cache matching, causing cache misses
after every thinking turn.

This change conditions dropThinkingBlocks on the model version:
- Preserve (no drop) for: opus-4.x, sonnet-4.5+, haiku-4.x, and future models
- Drop for: claude-3-7-sonnet and earlier

Fixes #61793

See: https://platform.claude.com/docs/en/build-with-claude/extended-thinking#differences-in-thinking-across-model-versions
2026-04-06 20:27:28 +09:00
Vincent Koc 2751874cbb test(memory-core): align short-term repair expectations 2026-04-06 12:26:45 +01:00
Vincent Koc 513c8587b8 fix(cli): keep status json startup path lean 2026-04-06 12:24:32 +01:00
Peter Steinberger b4a5156bc3 fix: restore rebased main tsgo 2026-04-06 12:16:49 +01:00