chengyongru
fdeda8a468
fix(webui): reconcile turns after reconnect ( #6211 )
...
* fix(webui): reconcile turns after reconnect
* perf(webui): bound reconnect recovery and index turn reconciliation
* refactor(webui): simplify reconnect reconciliation
* fix(webui): preserve turn authority during recovery
* fix(webui): validate canonical completion identities
2026-10-16 11:38:05 +08:00
chengyongru
aeca1c0f1a
fix(webui): avoid blocking the gateway on skill loading
2026-10-16 11:21:28 +08:00
chengyongru
a721eb8476
fix(webui): keep sheet close focus rings keyboard-only
2026-10-16 10:34:38 +08:00
chengyongru
31b193236f
fix(cli): reject misplaced gateway instance selectors ( #6229 )
...
* fix(cli): inherit gateway instance selectors in subcommands
* fix(cli): reject misplaced gateway instance selectors
* test(cli): strip ANSI styling from gateway usage assertions
2026-10-16 01:24:50 +08:00
akinolur and chengyongru
9d2762a4f1
feat(provider): langfuse tracing for codex ( #5520 )
...
* feat: trace Codex requests via Langfuse native SDK
Codex has no OpenAI SDK client for Langfuse's usual swap trick, so
log one generation per request through langfuse's native SDK
instead. Tracing failures never affect the returned Codex response.
* docs: note Codex Langfuse tracing support
* fix: trace every Codex request, close every generation
- Move the Langfuse generation inside _send so the compaction
sub-request gets its own trace too, not just the main request.
- Derive traced model/input from the wire body (post extra_body
override, post response-item-ID stripping) instead of the
pre-normalized one.
- Wrap package detection in the same try/except as the SDK call, so
a broken find_spec() can't turn a valid Codex request into an error.
- Make generation finalization idempotent and cancellation-safe via
try/except/else/finally, so update() failures or a cancelled
request no longer leave a generation open.
- Add tests for compaction tracing, update() failures, and
cancellation.
* docs: fix cli-reference.md langfuse plugin row
* fix: don't trace a rejected compaction as success
- Add a validate hook to _send so a transport-successful compaction
reply with no usable item traces as an error, not a success.
- Add regression tests for a find_spec() failure, for the traced
model/input matching the actual wire body (extra_body override,
ID-stripped replayed items), and for the rejected-compaction case.
* fix: convert LLMUsage to dict for Langfuse usage_details
LLMResponse.usage is now the LLMUsage dataclass upstream, not a
plain dict - Langfuse's usage_details param needs the latter.
* fix: satisfy basedpyright strict on compaction items
* fix(providers): normalize Codex Langfuse cache usage
* fix(providers): migrate Langfuse tracing to SDK 4
---------
Co-authored-by: chengyongru <chengyongru.ai@gmail.com >
2026-10-16 00:44:17 +08:00
cristianchiriac
a148eabc9f
fix(cli): set SPT_NOENV only on Linux
...
SPT_NOENV only keeps the title out of /proc/PID/environ on Linux. On macOS
it confines the title to the argv area, where setproctitle drops the last
byte, and its import-time getproctitle() then fails to decode a command
line ending in a multibyte character, so every such CLI call crashed.
Fixes #6231
2026-10-16 00:17:47 +08:00
chengyongru
12e869d047
refactor(skills): shorten built-in skill descriptions
2026-10-16 00:15:55 +08:00
chengyongru
4fa125e134
fix(exec): filter terminal control sequences from shell output
2026-10-16 00:11:21 +08:00
chengyongru
32f5cc76a4
fix(agent): trim redundant system prompt context
2026-10-16 00:01:24 +08:00
chengyongru
841d2b880c
fix(agent): make tool error guidance neutral ( #6227 )
...
* fix(agent): make tool error guidance neutral
* refactor(tools): share tool error guidance
2026-10-15 16:58:39 +08:00
chengyongru
c24153db86
fix(ui): keep theme text and selections readable ( #6226 )
...
* fix(ui): keep theme text and selections readable
* fix(tui): theme the blank composer cursor cell
* refactor(webui): centralize diff theme colors
* fix(tui): keep conversation selections readable
* fix(ui): preserve nested syntax colors and selection lifetimes
2026-10-15 15:21:28 +08:00
chengyongru
73c2441abc
fix(gateway): retain tasks for staged signal shutdown
2026-10-15 11:50:22 +08:00
chengyongru
7177ca05e3
perf(providers): estimate missing usage outside the event loop
2026-10-15 11:48:13 +08:00
chengyongru
e604c23fca
fix(sdk): validate imported messages before session changes
2026-10-15 10:54:12 +08:00
chengyongru
c58bfa71bc
perf(agent): skip transcript snapshots without run hooks
2026-10-15 10:48:59 +08:00
chengyongru
2ad0da786d
fix(session): serialize compaction with active turns
2026-10-15 10:43:02 +08:00
chengyongru
1d43b46e54
fix(exec): reject shell paths with unresolved home directories
2026-10-15 09:51:53 +08:00
chengyongru
af6abde2f4
fix(skills): bind plugin snapshots to approved content ( #6225 )
...
* fix(skills): bind plugin snapshots to approved content
* fix(skills): preserve plugin document newline normalization
2026-10-15 09:41:37 +08:00
chengyongru
3a28b9e6ce
perf(agent): reuse skill discovery within each prompt
2026-10-15 01:47:06 +08:00
chengyongru
1a77d8fc66
fix(webui): give media gallery components distinct examples
2026-10-15 01:11:22 +08:00
chengyongru
152abe7949
feat(webui): expand MCP service presets ( #6216 )
...
* feat(webui): expand MCP service presets
* refactor(webui): load MCP presets from JSON
Validate and package the static service catalogue while preserving existing preset definitions. Pass Redis connection URLs through the official CLI option to retain target, TLS, database, and credential settings.
* docs(mcp): include all built-in service presets
2026-10-14 22:41:55 +08:00
chengyongru
a482281092
fix(webui): remove subtask polling and load error UI ( #6212 )
...
* fix(webui): stop subtask reads when gateway disconnects
* refactor(webui): limit subtask change to polling removal
* fix(webui): hide subtask load errors after disconnect
* fix(webui): remove subtask load error UI
* refactor(webui): keep subtask refresh fix focused
2026-10-14 18:02:03 +08:00
Kail Tian
3881ed7dd1
fix(providers): preserve supported Kimi K3 reasoning efforts
2026-10-14 18:00:21 +08:00
chengyongru
790a970989
perf(webui): stream bounded file diff previews
2026-10-14 17:49:25 +08:00
chengyongru
2d62d99038
fix(webui): restore and synchronize live activity sheen
2026-10-14 16:25:12 +08:00
David Klaper and Copilot
2732e2b3ce
fix(webui): send same-origin cookies with uploads
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-10-14 16:12:50 +08:00
chengyongru
061b19afe1
fix(webui): require double tildes for strikethrough
2026-10-14 14:56:03 +08:00
chengyongru
cdb6210b45
refactor(webui): remove session list previews and timestamps ( #6189 )
...
* refactor(webui): remove session list previews and timestamps
* test(webui): limit legacy coverage to persisted sidebar files
* refactor(webui): simplify chat rows and fix gallery states
* refactor(webui): flatten chat row title wrapper
2026-10-14 14:41:52 +08:00
chengyongru
47f600afc6
refactor(transcription): share JSON request retries
2026-10-14 14:35:08 +08:00
chengyongru
bdb6c369d0
fix(webui): prevent equation tags from overlapping formulas
2026-10-14 14:32:14 +08:00
chengyongru
74b22b6522
refactor: deduplicate durable writes and file-edit path resolution
2026-10-14 14:12:48 +08:00
chengyongru
4497f7ef24
refactor: remove unused internal code and styles
2026-10-14 10:50:16 +08:00
chengyongru
6b90e400e4
refactor(tools): streamline built-in tool descriptions ( #6201 )
...
* refactor(tools): streamline built-in tool descriptions
* refactor(tools): retain actionable schema details
2026-10-14 10:34:07 +08:00
chengyongru
30e43aec82
refactor(webui): separate presentation views and expand component gallery ( #6179 )
...
* refactor(webui): organize shared components with an internal gallery
* refactor(webui): decouple views and expand component gallery
* fix(docker): include channel sources in WebUI build
* refactor(webui): cover all channel interfaces in gallery
* docs(webui): remove manual paragraph wrapping
2026-10-14 00:11:00 +08:00
Liu Jie
db804ef94a
fix(documents): preserve empty PPTX table columns
2026-10-13 16:51:47 +08:00
chengyongru
328e933d36
refactor: isolate runtime contracts and enforce import boundaries ( #6166 )
...
* test: enforce Python import ownership boundaries
* test: protect client import boundaries and rehome shared UI contracts
* refactor: remove gateway and client dependency inversions
* fix: detect dynamic imports in conditional expressions
* refactor(tools): keep configuration contracts with their owners
* docs: keep design guidance focused on ownership and checks
* fix: preserve default threaded turn delivery
2026-10-13 13:56:28 +08:00
chengyongru
cd2a863710
feat(skills): explain nanobot usage from bundled documentation ( #6176 )
...
* feat(skills): add nanobot documentation guide with bundled docs
* docs: prefer graphical setup and align bundled guides with runtime
* docs: lead provider setup with built-in endpoint defaults
* fix: preserve documentation packaging and lookup across install paths
* fix(skills): narrow documentation loading to relevant sections
* refactor(skills): keep documentation guidance concise
* fix(docs): complete first-use workflows and clarify runtime boundaries
* style(docs): remove manual paragraph wrapping
* docs: guide first-run users to conversational setup help
* docs: fold README installation alternatives and details
* docs: separate README alert marker from its body
* docs: clarify README onboarding and runtime boundaries
2026-10-13 00:44:25 +08:00
Xubin Ren and chengyongru
23941355a8
feat(images): reuse named connections and image request settings
...
Preserve the reviewed tree while removing obsolete stacked branch history.
Co-authored-by: chengyongru <chengyongru.ai@gmail.com >
2026-10-12 21:22:35 +08:00
chengyongru
105b772203
refactor(agent): compose image tools in application runtimes ( #6172 )
...
* refactor(agent): move image configuration ownership into tools
* refactor(agent): compose image tools in application runtimes
2026-10-12 17:42:45 +08:00
Xubin Ren
e148296d5c
test(channels): wait for cancellation controls to settle
2026-10-12 17:38:43 +08:00
Xubin Ren
b89ef23df5
fix(webui): make pairing recovery explicit and retryable
2026-10-12 17:38:43 +08:00
Xubin Ren
2aa98677c6
fix(feishu): restore assistant creation and pairing recovery
...
Refs NAN-239
2026-10-12 17:38:43 +08:00
Xubin Ren
cfb0f51e78
fix(webui): complete restarts independently in each tab
2026-10-12 17:30:53 +08:00
Xubin Ren
77660ea8e5
fix(webui): keep settings restarts out of chat history
2026-10-12 17:30:53 +08:00
Xubin Ren
1e5ab8e95c
test(webui): follow relocated proxy editor across page changes
2026-10-12 17:24:04 +08:00
Xubin Ren
7a3a0559c4
fix(webui): place web proxy with web access settings
2026-10-12 17:24:04 +08:00
Xubin Ren
7575269e7a
fix(webui): localize missing request secret errors
2026-10-12 17:17:02 +08:00
Xubin Ren
a5e6952cf9
fix: compare request scopes at their actual routing boundary
2026-10-12 17:17:02 +08:00
Xubin Ren
885a0d4597
fix: preserve config import order and restore editor focus
2026-10-12 17:17:02 +08:00
Xubin Ren
1066adb10b
fix: isolate preset requests and confirm parameter saves
2026-10-12 17:17:02 +08:00