Vincent Koc
3d554aefdf
fix(logging): keep log transport internals private ( #71322 )
...
* fix(logging): share transports across module instances
* fix(logging): share transports across module instances
* fix(logging): share transports across module instances
* fix(logging): remove global log transport hooks
* test(agents): capture diagnostic logs after module reset
2026-04-24 23:36:57 -07:00
Charles Dusek
6b38714cb9
fix(agents): guard malformed tool result text blocks
...
Harden context pruning and tool-result character estimation against malformed `{ type: "text" }` blocks created by void/undefined tool handler results.
- Require text blocks to carry a string before using `.length` in the tool-result estimator.
- Guard context-pruning text/image loops against malformed and null content entries.
- Serialize malformed non-string text blocks for pruning size accounting so they cannot bypass trimming as zero-sized.
- Add regression coverage for malformed text blocks, null entries, and non-string text payloads.
Closes #34979 .
Maintainer verification:
- `pnpm test src/agents/pi-embedded-runner/tool-result-char-estimator.test.ts src/agents/pi-hooks/context-pruning/pruner.test.ts`
- `pnpm check:changed`
- GitHub checks passed, including the OpenAI / Opus 4.6 parity gate.
Based on prior work by #39331 and #34980 .
Co-authored-by: Charles Dusek <cgdusek@gmail.com>
Co-authored-by: alvinttang <alvinttang@users.noreply.github.com>
Co-authored-by: coffeexcoin <coffeexcoin@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-25 01:36:40 -05:00
Peter Steinberger
36eae5a2c7
fix: tighten silent cron exec notifications
2026-04-25 07:15:08 +01:00
Mark Goldenstein
bd60df3e53
fix: silence cron exec completion noise
2026-04-25 07:15:08 +01:00
Peter Steinberger
017252e4f8
test(daemon): remove duplicate launchd read mock
2026-04-25 07:12:17 +01:00
Jérôme Benoit
b8b270d5b8
fix(daemon): add Nix Home Manager PATH support
...
Add Nix Home Manager profile bin directories to generated gateway service PATHs on macOS and Linux.
Includes ~/.nix-profile/bin fallback when NIX_PROFILES is absent, honors NIX_PROFILES right-to-left precedence when present, and covers the service PATH resolver with focused unit tests.
Closes #44402 .
2026-04-25 01:12:10 -05:00
Peter Steinberger
33d5ebbff7
test(daemon): read launchd fixture files
2026-04-25 07:11:33 +01:00
Peter Steinberger
2a96ea4d72
test(agents): cover committed delivery fallback
2026-04-25 07:11:33 +01:00
Peter Steinberger
07cf1dd65c
test: remove duplicate launchd read mock
2026-04-25 07:10:32 +01:00
Peter Steinberger
85cab8b516
test: fix launchd restart mock state
2026-04-25 07:09:47 +01:00
Peter Steinberger
22aa402b64
test(daemon): mock launchd plist reads
2026-04-25 07:08:36 +01:00
Peter Steinberger
d957401c7e
test(daemon): type launchd kickstart code fake
2026-04-25 07:08:36 +01:00
Peter Steinberger
d6a9165b9e
test: stabilize gateway and TTS tests
2026-04-25 07:07:58 +01:00
Peter Steinberger
996ec2dd76
fix(agents): key fallback on committed delivery
2026-04-25 07:06:46 +01:00
Valentinws
4a68fa3962
fix(ui): keep tmp-dir resolver browser-import safe
...
Defers the Node fs.constants lookup until tmp-dir resolution actually runs, adds browser-shim import regression coverage, and records the fix in the changelog.\n\nLocal verification:\n- pnpm test src/infra/tmp-openclaw-dir.browser-import.test.ts src/infra/tmp-openclaw-dir.test.ts src/logging/logger.browser-import.test.ts\n- pnpm test src/infra/run-node.test.ts -t "serializes runtime postbuild restaging|forwards wrapper SIGTERM"\n- pnpm build\n\nCo-authored-by: Valentinws <Valentinws@users.noreply.github.com>
2026-04-25 07:02:10 +01:00
Vincent Koc
f5868ad1f8
fix(daemon): refresh launchd plist before restart bootstrap ( #71421 )
2026-04-24 22:59:21 -07:00
xDarkicex
cc0992564b
fix: add contextInjection never mode ( #65006 ) (thanks @xDarkicex)
2026-04-25 11:26:21 +05:30
Peter Steinberger
18ffa81564
fix(agents): suppress delivered messaging fallback
2026-04-25 06:55:47 +01:00
Vincent Koc
47a4124dc3
fix(daemon): tolerate loaded launchctl bootstrap ( #71413 )
2026-04-24 22:54:12 -07:00
Peter Steinberger
537a8e25ed
fix(signal): classify filename-only voice notes
2026-04-25 06:45:54 +01:00
Peter Steinberger
f44759073b
feat(gateway): auto-approve trusted CIDR node pairing ( #61004 ) (thanks @sahilsatralkar)
2026-04-25 06:40:25 +01:00
Peter Steinberger
d79b9e0af4
fix(openrouter): allow DeepSeek cache-ttl eligibility
2026-04-25 06:38:34 +01:00
Peter Steinberger
f2745aa03a
refactor(cron): clarify ambient session context rollover
2026-04-25 06:37:18 +01:00
Ziy
eaf6d3c146
fix(dashboard): keep bearer token out of runtime logs
...
Avoid logging tokenized Control UI URLs or SSH hints while preserving clipboard/browser token handoff.\n\nThanks @Ziy1-Tan!
2026-04-25 06:36:11 +01:00
Peter Steinberger
c2a2a481b2
fix(whatsapp): preserve audio-as-voice payload intent
2026-04-25 06:35:57 +01:00
Peter Steinberger
5b59079fd4
fix(tts): preserve audio-only hook transcript
2026-04-25 06:28:54 +01:00
Vincent Koc
57f5b3b201
fix(daemon): harden launchd restart handoff ( #71409 )
2026-04-24 22:27:05 -07:00
Peter Steinberger
f9c268cf56
ci: keep fast fixture edits on narrow path
2026-04-25 06:22:57 +01:00
Peter Steinberger
576c6c240f
fix(discord): collapse cron announce text
2026-04-25 06:22:30 +01:00
Peter Steinberger
f00d65a304
test: align status scan compatibility fixture
2026-04-25 06:18:32 +01:00
Peter Steinberger
2f097c47f8
ci: route narrow ci changes through fast path
2026-04-25 06:18:32 +01:00
Vincent Koc
86dc820560
feat(plugins): add compatibility registry
2026-04-24 22:15:41 -07:00
Vincent Koc
f0ceb4b68f
fix(cron): isolate fresh cron session state
...
* fix(cron): isolate fresh cron session state
* fix(cron): deep-copy isolated session state
* fix(cron): reset isolated session context
* test(providers): avoid shared mock races
* test(providers): type injected stream fakes
* ci: refresh package boundary on reply runtime changes
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-04-24 22:15:19 -07:00
Peter Steinberger
3f63ba8fd8
fix(webchat): hide heartbeat history artifacts
2026-04-25 06:10:57 +01:00
Peter Steinberger
a2a49b430c
test(plugins): route tts contract helper changes narrowly
2026-04-25 06:05:00 +01:00
Peter Steinberger
7f6452897e
fix(agents): repair strict provider tool replay
2026-04-25 05:56:13 +01:00
Peter Steinberger
e31aef7e19
fix(tts): migrate legacy edge config in doctor
2026-04-25 05:55:54 +01:00
Peter Steinberger
b0e834b2d9
fix(browser): support per-profile executable paths
...
Co-authored-by: nobrainer-tech <nobrainer-tech@users.noreply.github.com>
2026-04-25 05:50:20 +01:00
Peter Steinberger
2f39e6df59
fix(tts): prefer active speech provider lookup
2026-04-25 05:39:10 +01:00
Peter Steinberger
2033075570
fix(sessions): hide stale subagent child links
2026-04-25 05:39:10 +01:00
Peter Steinberger
c11730fd09
fix(tts): keep speech fallback discovery scoped
2026-04-25 05:38:45 +01:00
Jamil Zakirov
52267a6b75
fix(auto-reply): run message_sending before inbound delivery
...
Run inbound auto-reply delivery through message_sending hooks before sending replies.
Co-authored-by: Jamil Zakirov <15848838+jzakirov@users.noreply.github.com>
2026-04-25 10:07:35 +05:30
Peter Steinberger
04c5bbf33d
fix(reply): dedupe block-streamed media
2026-04-25 05:35:31 +01:00
Peter Steinberger
98a99765af
fix(gateway): invoke plugin-backed catalog tools
...
Co-authored-by: chat2way <chat2way@users.noreply.github.com>
2026-04-25 05:28:03 +01:00
Peter Steinberger
6602092a40
fix(browser): require admin scope for browser request
...
Co-authored-by: RichardCao <RichardCao@users.noreply.github.com>
2026-04-25 05:27:20 +01:00
Peter Steinberger
b84e57fca3
fix(tts): use resolved config for tool synthesis
2026-04-25 05:18:49 +01:00
Peter Steinberger
757aee4cdd
fix(subagents): retire stale unended runs
...
Co-authored-by: HCL <chenglunhu@gmail.com>
2026-04-25 05:14:41 +01:00
Peter Steinberger
14eab13ab4
fix(agents): keep voice media with no-reply sentinel
2026-04-25 05:09:58 +01:00
Peter Steinberger
85db7af8d9
test: cover opencode-go image default pairing
2026-04-25 05:06:17 +01:00
Peter Steinberger
fa976e5b93
feat: update opencode-go default model
...
Co-authored-by: masrlinu <5259918+masrlinu@users.noreply.github.com>
2026-04-25 05:03:32 +01:00