Commit Graph

4970 Commits

Author SHA1 Message Date
Peter Steinberger
3599ab2e56 fix(agents): honor verbose defaults and trim process setup 2026-04-06 15:24:59 +01:00
Peter Steinberger
cd5b1653f6 feat: declare explicit media provider capabilities 2026-04-06 15:24:38 +01:00
Peter Steinberger
8d095147b4 fix: restore check gate 2026-04-06 15:20:03 +01:00
Peter Steinberger
979c81d9dd test(auth): cover readonly runtime auth inheritance 2026-04-06 15:19:34 +01:00
Peter Steinberger
c817e6d388 fix(check): repair monitor and message tool types 2026-04-06 14:55:01 +01:00
Martin Garramon
eede8f945f fix(agents): replace .* with \S* in interpreter heuristic regexes to prevent ReDoS
The inner `.*\s+` in `(?:[A-Za-z_][A-Za-z0-9_]*=.*\s+)*` creates
catastrophic backtracking because both `.*` and `\s+` can match
whitespace. When the exec tool processes commands with `VAR=value`
assignments followed by whitespace-heavy text (e.g. HTML heredocs),
the regex engine hangs permanently at 100% CPU.

Replace `.*` with `\S*` in all three instances. Shell prefix variable
assignments cannot contain unquoted whitespace in the value, so `\S*`
is semantically correct and eliminates the ambiguity.

Fixes #61881
2026-04-06 14:53:44 +01:00
Peter Steinberger
c63a4f0f13 refactor: share assistant visible text sanitizer profiles 2026-04-06 14:52:52 +01:00
Peter Steinberger
712479eea1 fix: unify assistant visible text sanitizers (#61729) 2026-04-06 14:44:09 +01:00
openperf
980439b9e6 fix(Gateway ): strip tool_call and tool_result XML blocks from assistant visible text 2026-04-06 14:44:09 +01:00
Peter Steinberger
f00c8c1b87 fix: add message tool read hint for thread reads 2026-04-06 14:42:51 +01:00
Peter Steinberger
4a4741444e refactor(auth): remove codex cli parsing from core store 2026-04-06 14:36:50 +01:00
Peter Steinberger
9afcbbec5e refactor(auth): extract persisted auth store helpers 2026-04-06 14:25:06 +01:00
Peter Steinberger
d378a504ac fix: restore claude cli guidance and doctor behavior 2026-04-06 14:21:11 +01:00
Peter Steinberger
f3dd9723e1 fix(test): type anthropic replay live transcript 2026-04-06 14:15:08 +01:00
Peter Steinberger
191b7cb5e6 fix: preserve anthropic replay tool results 2026-04-06 14:08:04 +01:00
Peter Steinberger
ab495f4c90 test: align session status runtime and agent expectations 2026-04-06 14:05:01 +01:00
Peter Steinberger
a8a49d142f fix: mirror codex cli auth into runtime store 2026-04-06 14:05:01 +01:00
Peter Steinberger
4a91b4f3a5 test: fix rebased precheck routing fixture (#61651) 2026-04-06 14:01:21 +01:00
Peter Steinberger
a42ee69ad4 fix: harden tool-result overflow recovery (#61651) 2026-04-06 14:01:21 +01:00
Tak Hoffman
4917009ac7 Prefer recent aggregate tool-result truncation 2026-04-06 14:01:21 +01:00
Tak Hoffman
5e04b2d037 Fix mixed tool-result recovery truncation 2026-04-06 14:01:21 +01:00
Tak Hoffman
6822d828fe Add overflow recovery routing regressions 2026-04-06 14:01:21 +01:00
Tak Hoffman
222cd37e33 Use zero-floor recovery tool truncation 2026-04-06 14:01:21 +01:00
Tak Hoffman
66daafccae Refine cause-aware precheck overflow routing 2026-04-06 14:01:21 +01:00
Tak Hoffman
e55c82a7e7 Unify tool-result fallback notice with PI style 2026-04-06 14:01:21 +01:00
Tak Hoffman
a8fb094c5b Handle aggregate tool-result overflow fallback 2026-04-06 14:01:21 +01:00
Tak Hoffman
09b7c00dab Restore readable tool-result overflow fallback 2026-04-06 14:01:21 +01:00
Tak Hoffman
3e2a05f425 Restore reserve-based overflow precheck 2026-04-06 14:01:21 +01:00
Tak Hoffman
ceb686052b Align subagent truncation notice wording 2026-04-06 14:01:21 +01:00
Tak Hoffman
cbc2945117 remove openclaw-only tool overflow compatibility layer 2026-04-06 14:01:21 +01:00
Tak Hoffman
7fc1a74ee9 align tool-result truncation with pi semantics 2026-04-06 14:01:21 +01:00
Peter Steinberger
1c41987876 refactor(auth): split auth state from auth store 2026-04-06 13:42:44 +01:00
Peter Steinberger
ef923805f5 Revert "refactor(cli): remove custom cli backends"
This reverts commit 6243806f7b.
2026-04-06 13:40:42 +01:00
Peter Steinberger
c39f061003 Revert "refactor(cli): remove bundled cli text providers"
This reverts commit 05d351c430.
2026-04-06 13:40:41 +01:00
Vincent Koc
5fa166ed11 fix(check): repair status report typing drift 2026-04-06 13:34:08 +01:00
Peter Steinberger
7e0e2f81e5 refactor(auth): isolate external oauth overlays 2026-04-06 13:30:25 +01:00
Peter Steinberger
b04dd6d05c refactor: consolidate session history sanitization 2026-04-06 13:23:44 +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
Vincent Koc
6b53a9aadb feat(video): add mode-aware generation capabilities 2026-04-06 13:19:51 +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
bbd0702c79 fix(agents): narrow phase-aware history hardening (#61829) (thanks @100yenadmin) 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