Commit Graph

31113 Commits

Author SHA1 Message Date
Agustin Rivera
48aae82bbc fix(outbound): replay queued session context (#66025)
* fix(outbound): preserve replay session context

* fix(outbound): remove user work log

* changelog: note outbound session-context replay fix (#66025)

---------

Co-authored-by: Devin Robison <drobison@nvidia.com>
2026-04-13 13:30:42 -06:00
Tak Hoffman
7c09ba70ef fix(trace command): Improve trace raw diagnostics and trace command UX (#66089)
* improve trace raw diagnostics and command acks

* address trace review feedback

* avoid sync transcript reads in raw trace

* preserve raw cli output for trace

* gate trace emission at reply time

* reflect raw trace mode in status surfaces
2026-04-13 14:26:57 -05:00
Vincent Koc
6157933e39 perf(config): skip cold runtime refresh on one-shot writes 2026-04-13 20:25:21 +01:00
Vincent Koc
bd20a920a2 perf(config): use generated SecretRef policy metadata 2026-04-13 20:19:04 +01:00
Mariano
a0a4a768dc test(cron): fix #66019 maintenance regression coverage (#66122)
Merged via squash.

Prepared head SHA: 7f2a604e91
2026-04-13 21:03:45 +02:00
屈定
95ee120a91 fix: classify openrouter json 404 model errors
Rewrites the stale branch on top of current `main` and preserves the original issue as regression coverage for the exact OpenRouter JSON 404 payload from #51571.

No production behavior changes are introduced here; current `main` already classifies this payload as `model_not_found`, and this merge locks that in across the shared matcher, failover classifier, and fallback loop.

Co-authored-by: 屈定 <mrdear@users.noreply.github.com>
Co-authored-by: Altay <altay@uinaf.dev>
2026-04-13 19:53:55 +01:00
Vincent Koc
961eb95e9a perf(secrets): lazy-load provider env var exports 2026-04-13 19:52:02 +01:00
pashpashpash
8efbe8c1ed agents: stop strict mode from hijacking chat turns 2026-04-13 11:49:00 -07:00
Mariano
190a4b4869 fix(cron): preserve unresolved next-run backoff (#66113)
Merged via squash.

Prepared head SHA: a553daa7eb
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Reviewed-by: @mbelinky
2026-04-13 20:48:14 +02:00
Pavan Kumar Gondhi
31281bc92f fix(heartbeat): force owner downgrade for untrusted hook:wake system events [AI-assisted] (#66031)
* fix: address issue

* fix: address PR review feedback

* fix: address review-pr skill feedback

* fix: address PR review feedback

* fix: address PR review feedback

* fix: address PR review feedback

* fix: address PR review feedback

* fix: address PR review feedback

* fix: address PR review feedback

* docs: add changelog entry for PR merge
2026-04-14 00:14:17 +05:30
Vincent Koc
587e72df4d perf(config): use direct writes for gateway token persistence 2026-04-13 19:38:56 +01:00
Mariano
1490e2b1d3 Lobster: import published core runtime (#64755)
* Lobster: import published core runtime

* Changelog: add Lobster core runtime note

* Lobster: type embedded core runtime

* Lobster: keep package-boundary tsconfig narrow
2026-04-13 20:38:46 +02:00
Vincent Koc
66f57a6e1b perf(config): defer legacy web search registry reads 2026-04-13 19:34:44 +01:00
Vincent Koc
120c384f00 perf(config): reuse prepared snapshots for daemon token writes 2026-04-13 19:32:28 +01:00
Pavan Kumar Gondhi
b75ad800a5 fix(browser): enforce SSRF policy on snapshot, screenshot, and tab routes [AI] (#66040)
* fix: address issue

* fix: address review feedback

* fix: finalize issue changes

* fix: address review-pr skill feedback

* fix: address PR review feedback

* fix: address PR review feedback

* docs: add changelog entry for PR merge
2026-04-13 23:56:39 +05:30
Vincent Koc
55a3c8ea07 perf(daemon): import install config helpers directly 2026-04-13 19:22:52 +01:00
Pavan Kumar Gondhi
80b1fa17bf fix(msteams): enforce sender allowlist checks on SSO signin invokes [AI] (#66033)
* fix: address issue

* fix: address PR review feedback

* docs: add changelog entry for PR merge
2026-04-13 23:52:30 +05:30
Vincent Koc
75b4c059b8 perf(daemon): slim gateway install token imports 2026-04-13 19:21:01 +01:00
Pavan Kumar Gondhi
86734ef93a fix(config): redact sourceConfig and runtimeConfig alias fields in redactConfigSnapshot [AI] (#66030)
* fix: address issue

* docs: add changelog entry for PR merge
2026-04-13 23:47:31 +05:30
Vincent Koc
448a33b90c perf(daemon): lazy-load auth profile install helpers 2026-04-13 19:14:27 +01:00
Mariano
c602824215 fix(cron): stop unresolved next-run refire loops (#66083)
Merged via squash.

Prepared head SHA: b86ba58d3b
2026-04-13 20:10:03 +02:00
Vincent Koc
114ff23f2a perf(config): skip shell env fallback for explicit empty vars 2026-04-13 19:09:11 +01:00
Ptah.ai
8c43768e27 fix: expose telegram topic names in agent context (#65973) (thanks @ptahdunbar)
* feat(telegram): expose forum topic names in agent context

Telegram Bot API does not provide a method to look up forum topic names
by thread ID. This adds an in-memory LRU cache that learns topic names
from service messages (forum_topic_created, forum_topic_edited,
forum_topic_closed, forum_topic_reopened) and seeds from
reply_to_message.forum_topic_created as a fallback for pre-existing
topics.

The resolved topic name is surfaced as:
- TopicName in MsgContext (available to {{TopicName}} in templates)
- topic_name in the agent prompt metadata block
- topicName in plugin hook event metadata

Includes unit tests for the topic-name-cache module (11 tests including
eviction and read-recency).

Known limitation: cache is in-memory only; after a restart it falls back
to the creation-time name until a rename event is observed.

* refactor(telegram): distill topic name flow

* fix: expose telegram topic names in agent context (#65973) (thanks @ptahdunbar)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-04-13 23:38:14 +05:30
Mariano
a56dbae80b test(telegram): add inbound retry regressions (#66075)
Merged via squash.

Prepared head SHA: 175cd25889
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Reviewed-by: @mbelinky
2026-04-13 20:07:23 +02:00
Omar Shahine
85cfba675a fix(bluebubbles): lazy-refresh Private API status on send (#43764) (#65447)
* fix(bluebubbles): lazy refresh Private API cache on send to prevent silent reply threading degradation (#43764)

When the 10-minute server info cache expires, sends requesting reply
threading or effects silently degrade to plain messages. Add a lazy
async refresh of the cache in the send path when Private API features
are needed but status is unknown, preserving graceful degradation if
the refresh fails.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(bluebubbles): apply lazy Private API refresh to attachment sends and add missing test coverage (#43764)

Attachment sends had the same cache-expiry bug as text sends: when the
10-minute Private API status cache TTL expired, reply threading metadata
was silently dropped. Apply the same lazy-refresh pattern from send.ts.

Also add the missing "refresh succeeds with private_api: false" test case
for both send.ts and attachments.ts — proves effects throw and reply
threading degrades without the "unknown" warning when the API is explicitly
disabled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* chore: update no-raw-channel-fetch allowlist for test-harness line shift

Adding fetchBlueBubblesServerInfo to the probe mock module shifted
globalThis.fetch in test-harness.ts from line 128 to 130.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Lobster <lobster@shahine.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 11:03:47 -07:00
Vincent Koc
ab4efa47b5 perf(cron): keep skill filter runtime lazy 2026-04-13 18:58:32 +01:00
Vincent Koc
28787985c4 perf(cron): lazy-load delivery runtime helpers 2026-04-13 18:55:54 +01:00
Mariano Belinky
fbdbd998d3 fix(session): clear stale thread route on system events 2026-04-13 19:55:15 +02:00
Vincent Koc
a372e4a152 perf(agents): isolate agent scope config helpers 2026-04-13 18:49:25 +01:00
Mariano
2c59ba24af fix(browser): detect local attachOnly loopback CDP sessions (#66080)
Merged via squash.

Prepared head SHA: 90c1c10cc9
Reviewed-by: @mbelinky
2026-04-13 19:46:56 +02:00
Vincent Koc
117ae85bf5 perf(agents): isolate thinking default helper 2026-04-13 18:39:38 +01:00
Vincent Koc
5b11985439 perf(cron): lazy-load external content runtime 2026-04-13 18:34:04 +01:00
Vincent Koc
a5980df101 perf(cron): lazy-load run executor runtime 2026-04-13 18:30:54 +01:00
Vincent Koc
c70be4b4af perf(sessions): isolate reset policy helpers 2026-04-13 18:28:53 +01:00
Vincent Koc
b6abd68a29 perf(channels): split hot-path message channel normalization 2026-04-13 18:22:12 +01:00
Mariano
527895f036 Gateway/sessions: preserve shared session route on system events (#66073)
Merged via squash.

Prepared head SHA: 314a93578e
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Reviewed-by: @mbelinky
2026-04-13 19:19:58 +02:00
Vincent Koc
907df51478 perf(cron): use narrow verbose-level runtime seam 2026-04-13 18:14:23 +01:00
Vincent Koc
93ce76afe3 perf(agents): use lightweight model fallback selection helpers 2026-04-13 18:12:09 +01:00
Vincent Koc
241349cdc5 perf(cron): use lightweight model selection resolver 2026-04-13 18:12:09 +01:00
Vincent Koc
3df3981e26 perf(cron): drop stale skill snapshot runtime exports 2026-04-13 18:12:09 +01:00
Vincent Koc
1b20c1aca4 fix(nostr): dedupe deterministic rejected events 2026-04-13 18:07:23 +01:00
Vincent Koc
d1e3ed3743 fix(plugins): serialize interactive callback dedupe 2026-04-13 18:04:28 +01:00
Vincent Koc
6d85dda336 test(cron): mock skills snapshot runtime seam 2026-04-13 18:02:09 +01:00
Vincent Koc
77f1ea0de8 fix(telegram): retry failed approval callbacks 2026-04-13 18:00:38 +01:00
Vincent Koc
8f3e2296f9 perf(cron): use narrow bound-account lookup 2026-04-13 17:57:47 +01:00
Vincent Koc
aa017bf9dd fix(telegram): retry failed model selections 2026-04-13 17:57:05 +01:00
Vincent Koc
df4c086c52 perf(cron): narrow execution and skill runtime imports 2026-04-13 17:52:19 +01:00
Vincent Koc
20248c475f fix(voice-call): keep retryable errors replayable 2026-04-13 17:50:27 +01:00
Vincent Koc
31233a1995 perf(sessions): use loaded thread-info seam 2026-04-13 17:49:46 +01:00
Mariano
8cfdc8dea1 fix(browser): unblock managed loopback CDP startup and control (#66043)
Merged via squash.

Prepared head SHA: c3d0a99ffa
Reviewed-by: @mbelinky
2026-04-13 18:48:48 +02:00