Commit Graph
2140 Commits
Author SHA1 Message Date
chengyongru ed022e447f fix(webui): keep edit diffs visible and distinguish file creation (#6049) 2026-10-04 16:55:48 +08:00
KevinAndrewDong acdae3d0ae fix(cli-apps): preserve XDG_RUNTIME_DIR for desktop CLIs 2026-10-04 15:03:35 +08:00
FanouZeng-TTandClaude Code 96ad7b4dbf fix(api): return 400 for invalid multimodal field types
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-03 21:08:47 +08:00
RaycarlLei 8052c3a460 fix(tools): scope recursive directory ignores to listed root 2026-10-03 20:40:37 +08:00
Shuhan Si 9136fe364e fix(runtime): preserve case in web fetch throttle keys 2026-10-03 20:21:09 +08:00
Xubin Ren 5e54043492 test(tools): verify nullable enum with multiple union types 2026-10-03 20:03:48 +08:00
Shuhan Si 9ea3268dfb fix: 执行 null 参数的类型和枚举校验 2026-10-03 20:03:48 +08:00
bob 0848565067 fix(providers): sum compound durations in 'try again in' retry hints
OpenAI-style 429 bodies report waits as Go durations such as 'try again in 1m30s'. The parser only read the first component, so the retry slept 60s instead of 90s and spent an attempt on a guaranteed second 429. Sum every h/m/s/ms component while keeping the existing precedence and single-unit formats.
2026-10-03 19:46:51 +08:00
Xubin Ren d8c3b3cab5 test(cron): cover rejected updates and legacy interval recovery 2026-10-03 19:28:39 +08:00
bob b5f539292d fix(cron): reject non-positive every_seconds intervals
A negative every_seconds created a job with no next run and still reported 'Created job', so it silently never fired. every_seconds=0 passed the exactly-one-schedule check but then fell through the truthiness test to the misleading 'either every_seconds, cron_expr, or at is required' error. Declare minimum=1 in the tool schema, check every_seconds explicitly, and have CronService refuse every schedules without a positive every_ms, matching the WebUI parser.
2026-10-03 19:28:39 +08:00
Shuhan Si e2cd6908c7 fix(evaluator): reject non-boolean notification decisions 2026-10-03 19:10:44 +08:00
chengyongru 4904305450 refactor(session): decouple history tools from WebUI replay (#6017)
* refactor(session): decouple history tools from WebUI replay

* test(oauth): make callback expiry independent of thread scheduling
2026-10-03 17:43:55 +08:00
Shuhan Si ae6801d3eb fix(tools): preserve supplied newlines when creating files 2026-10-03 17:38:18 +08:00
Kail Tian 042bcbbe46 fix(tools): preserve indentation in newline-terminated fallback edits 2026-10-03 17:15:11 +08:00
Kail Tian e36a016b6f fix(tools): preserve separator whitespace in inline replacements 2026-10-03 16:57:04 +08:00
chengyongru 9d7cc0204c fix(webui): serialize manifest reads with atomic replacement 2026-10-03 15:46:53 +08:00
Kail Tian 432421bceb fix(tools): preserve valid JSON Schema union arguments 2026-10-03 01:16:54 +08:00
Kail Tian 5825e15a6f fix(agent): clear stale failure state when resuming runner iterations 2026-10-03 01:01:30 +08:00
Kail Tian 1535cb1b6b fix(exec): enforce session hard timeouts without polling 2026-10-03 00:22:31 +08:00
yu-xin-c 0dcc03c4a9 fix(cron): preserve pending actions until store save succeeds 2026-10-03 00:08:49 +08:00
Kail Tian f2737ae813 fix(agent): preserve explicitly empty tool registries 2026-10-02 23:52:09 +08:00
Xubin Ren c734f6b6f9 test(remote): isolate gateway smoke from frontend build artifacts 2026-10-02 11:36:34 +08:00
Xubin Ren 2330bfc5a5 fix(remote): simplify connection mutations and preserve host state 2026-10-02 11:36:34 +08:00
Xubin Ren 5aa91b66cc feat(remote): serve local WebUI with an explicit host contract 2026-10-02 11:36:34 +08:00
Xubin Ren 02ce0cfb6f fix(remote): replace failed routes without duplicate-instance errors 2026-10-02 11:36:34 +08:00
Xubin Ren fd9681ef8b fix(remote): preserve pairing on failed forget and respect asset cache policy 2026-10-02 11:36:34 +08:00
Xubin Ren 49eb3a27f9 test(remote): read renamed profile fixtures as UTF-8 on Windows 2026-10-02 11:36:34 +08:00
Xubin Ren 4fd4dc522d perf(remote): reuse guarded SSH transports and cache static assets 2026-10-02 11:36:34 +08:00
Xubin Ren 719a5c3fcf feat(remote): rename servers without interrupting host sessions 2026-10-02 11:36:34 +08:00
Xubin Ren 450e455b57 fix(remote): group verified instances without dropping authorizations 2026-10-02 11:36:34 +08:00
Xubin Ren f4e45c98d7 fix(remote): discover cloud login accounts before asking users 2026-10-02 11:36:34 +08:00
Xubin Ren e59c2bf79a fix(remote): detect Tencent public address and clarify this-server prompts 2026-10-02 11:36:34 +08:00
Xubin Ren 92b0f1d285 fix(remote): treat declined device authorization as cancellation 2026-10-02 11:36:34 +08:00
Xubin Ren 3ac60f0780 fix(remote): guide protected-config pairing through explicit admin consent 2026-10-02 11:36:34 +08:00
Xubin Ren 442055d9fc test(remote): align dependency contract with built-in WebUI proxy 2026-10-02 11:36:34 +08:00
Xubin Ren af847165a5 fix(remote): preserve moved pairing state and Windows test coverage 2026-10-02 11:36:34 +08:00
Xubin Ren 192ca6e49e feat(webui): complete remote pairing and connection recovery 2026-10-02 11:36:34 +08:00
Xubin Ren 11889c018e feat(webui): connect to existing remote nanobot instances (NAN-157) 2026-10-02 11:36:34 +08:00
chengyongru 6ecb74aea9 refactor: remove unused runtime and WebUI helpers (#5999)
* refactor: remove unused runtime and WebUI helpers

* fix: preserve exported agent helper methods
2026-10-02 01:41:05 +08:00
chengyongru fc3effe39d fix(cli): avoid duplicate WebUI config announcement (#5988) 2026-09-30 15:40:26 +08:00
Xubin Ren e2b89d45bf test(codex): align catalog wire expectation with updated base 2026-09-30 13:44:42 +08:00
Xubin Ren ab6d5f1d3c feat(channels): add inherited global compaction notice policy 2026-09-30 13:44:42 +08:00
Xubin Ren 7644d845b4 fix(channels): preserve explicit compaction feedback and silent delivery 2026-09-30 13:44:42 +08:00
Arthur K. 0b402d0414 fix: stop sending context compaction notifications 2026-09-30 13:44:42 +08:00
chengyongru 54d85059a5 fix(tools): preserve PATH for argument-vector commands 2026-09-30 13:09:30 +08:00
chengyongru 99ba062a97 fix(tui): accept goal requests during active turns (#5981)
* fix(tui): accept goal requests during active turns

* fix(goal): reuse live input routing and remove busy guards

* test(goal): cover followup streams across iteration budgets

* refactor(goal): expand slash commands into hidden agent input

* fix(goal): keep generated input permission scoped to users

* refactor(agent): encapsulate goal input permission scope

* refactor(goal): preserve task text without prompt wrapper

* test(goal): consolidate coverage and exercise restart recovery

* test(goal): wait for recovery reply without task registry race
2026-09-30 13:08:13 +08:00
Carmelo Campos 663ba82f00 fix(providers): honor configured fallbacks on "insufficient credits"
An OpenAI-compatible gateway can report exhausted credits as HTTP 400 with
the message "You have insufficient credits to make this request". The
arrearage marker lists cover "insufficient_quota", "insufficient balance"
and "out of credits", but not "insufficient credits", so
is_arrearage_response() returned False and _should_fallback() fell through
to its blanket HTTP-400 short-circuit. Configured fallbackModels were then
silently skipped and the raw provider error was returned to the user.

Add the missing phrasing to both the text-marker tuple and the structured
token frozenset. Arrearage detection already runs first inside
_should_fallback(), so recognizing the phrasing is enough to restore
failover; a plain malformed-request 400 keeps its existing non-fallback
behavior.

Refs #5967
2026-09-30 09:55:31 +08:00
chengyongru 66f5f2df15 fix(my): scope subagent snapshots to the current session (#5976)
* fix(my): scope subagent snapshots to the current session

* test(my): reuse runtime fixture in session isolation checks
2026-09-29 17:44:37 +08:00
chengyongru f18423800e refactor(tui): organize source by feature boundaries (#5975)
* refactor(tui): group source files by feature

* refactor(tui): split app and gateway responsibilities
2026-09-29 16:57:36 +08:00
chengyongru b7abbcd70b fix(agent): require subagent consolidator at construction 2026-09-29 15:28:05 +08:00