chengyongru
80c246744f
refactor(webui): clear turns only through the owner registry
2026-09-24 13:09:12 +08:00
chengyongru
3fe109bf01
test(utils): simplify atomic write tests and remove stale note
2026-09-23 14:48:29 +08:00
Frank_zhu
d3f90e0944
test(utils): make atomic_write_lines directory fsync tests Windows-safe
2026-09-23 14:48:29 +08:00
Frank_zhu
23de1f1e34
refactor(utils): dedupe atomic JSONL write helper
...
Extract atomic_write_lines so history.jsonl, session JSONL saves, and
WebUI transcript rewrites share unique temp files, optional fsync, and
BaseException cleanup.
Closes #5290
2026-09-23 14:48:29 +08:00
chengyongru
12a9a8a692
fix: keep logging available when rotation is blocked
2026-09-21 17:36:24 +08:00
chengyongru
3a353aa2d9
fix: enforce background log size limit
2026-09-21 17:36:24 +08:00
chengyongru
8a7ca8a654
fix: improve log reliability and correlation
2026-09-21 17:36:24 +08:00
Xubin Ren
448767d147
fix(webui): identify OAuth reauthentication behind fallback replies
2026-09-21 00:13:46 +08:00
chengyongru
0983762fe5
refactor(webui): remove legacy message projection ( #5823 )
...
* refactor(webui): defer oversized replay traces as events
* fix(webui): type deferred trace index set
* refactor(webui): remove legacy message projection
* fix(webui): type event protocol boundaries
* test(webui): assert canonical thread events
2026-09-20 16:48:13 +08:00
chengyongru
db675a43b6
refactor(webui): unify live and replay event projection ( #5819 )
...
* refactor(webui): unify live and replay event projection
* chore(webui): mark legacy projection cleanup
* fix(webui): rewrite streamed replay media URLs
2026-09-20 13:52:43 +08:00
chengyongru
1c3c68262f
refactor(tools): unify edit summaries with shared fast diffs
...
Return compact, workspace-relative summaries from edit_file and apply_patch.
Compute one RapidFuzz line alignment per file and reuse it for summary counts
and WebUI unified diffs, checking snapshots before reuse. Summarize batched
edits by their final file state.
Warn only when a recorded file version changed, without asking for a read
after an edit has already succeeded. Preserve existing edit errors.
Validate summary and activity reuse, repetitive files, diff formatting,
snapshot changes, file creation, and read-state behavior.
2026-09-15 11:25:01 +08:00
chengyongru
ddd6b302c9
fix(webui): support remote project paths and honor picker capabilities ( #5673 )
...
* fix(webui): honor remote workspace picker capability
* feat(webui): allow remote project path selection
* test(webui): isolate native picker availability from host platform
2026-09-14 13:14:00 +08:00
chengyongru
9e71087a2a
fix(webui): align legacy trace detail replay identities
2026-09-12 17:09:51 +08:00
chengyongru
a490cd629b
fix(webui): cache and defer thread history
2026-09-12 17:09:51 +08:00
chengyongru
7ba60c2ef0
fix(webui): bound history replay work
2026-09-12 17:09:51 +08:00
chengyongru
1469d4811c
perf(webui): reduce repeated work and bound history rendering ( #5703 )
...
* perf(webui): reduce repeated work and bound history rendering
* fix(webui): keep continuation reasoning with its answer
* refactor(webui): reuse answer buffers and prepared copy text
* perf(webui): restore conditional replay buffer initialization
* fix(webui): remove code block pagination
2026-09-09 14:02:26 +08:00
chengyongru
b581a496a6
fix(ui): surface model retry status (NAN-34) ( #5504 )
2026-09-07 15:12:39 +08:00
chengyongru
192e2e90dc
refactor(events): unify scoped runtime notifications across clients ( #5670 )
...
* refactor(events): unify scoped runtime notifications across clients
* style(tests): sort auto-compaction event imports
* refactor(events): scope connections and remove retry callback plumbing
* docs: remove runtime notification design write-up
* refactor(bus): route operation events through the message bus
* fix(channels): isolate outbound sends by destination
* style(events): group shared notification imports
* refactor(events): converge runtime and hook delivery on MessageBus
* test(events): migrate fixtures to unified message bus
2026-09-06 02:11:19 +08:00
chengyongru
3495281282
test: remove obsolete nonexistence checks
2026-09-05 23:58:38 +08:00
chengyongru
6b82d642fc
feat(webui): visualize context usage by logical round ( #5649 )
...
* feat(webui): visualize per-request context reuse
* refactor(webui): report usage by logical round
* fix(webui): align context chart with logical rounds
* refactor(webui): derive turn usage from logical rounds
* fix(webui): polish context usage details
2026-09-04 15:13:17 +08:00
Xubin Ren
b04aeeac0e
fix(channels): harden message split boundaries
2026-09-04 01:39:41 +08:00
chengyongru
8509432dcf
fix(channels): avoid blank boundary chunks
...
Signed-off-by: chengyongru <2755839590@qq.com >
2026-09-04 01:39:41 +08:00
PP1
01760b7385
fix(channels): preserve indentation across message splits
...
Signed-off-by: PP1 <74917296+pengpengyi92@users.noreply.github.com >
2026-09-04 01:39:41 +08:00
chengyongru
9895c23cb5
refactor(providers): define typed usage contract
2026-08-25 01:04:25 +08:00
chengyongru
04974b7607
fix(webui): preserve causal message order (NAN-29) ( #5503 )
2026-08-24 15:08:22 +08:00
Xubin Ren
d50a2fab32
fix(tui): avoid saving empty sessions
2026-08-24 10:40:16 +08:00
Xubin Ren
12029f8812
feat(runtime): add user-controlled turn recovery
2026-08-24 00:58:04 +08:00
chengyongru
ffa58aa5ef
fix(webui): keep answer text outside reasoning shell
2026-08-23 21:29:42 +08:00
Xubin Ren
48eea29313
feat(webui): unify turn observability
2026-08-22 20:51:24 +08:00
chengyongru
953d2ed217
refactor(webui): infer fallback from active model
2026-08-21 16:49:30 +08:00
chengyongru
7f97373490
fix(webui): only highlight actual model fallbacks
2026-08-21 16:49:30 +08:00
chengyongru
9e046815bc
fix(webui): assign readable session handles
2026-08-19 01:15:56 +08:00
chengyongru
251a1ccd40
refactor: simplify cross-session messaging
2026-08-19 01:15:56 +08:00
chengyongru
0e184965e8
feat(webui): add lightweight session messaging via mentions
2026-08-19 01:15:56 +08:00
Xubin Ren
731b8fc2ed
fix(models): synchronize canonical runtime selection
2026-08-16 11:50:56 +08:00
Xubin Ren
e3d1819a2b
fix(webui): isolate folder picker environment
2026-08-14 04:03:54 +09:00
Xubin Ren
9703656b25
test(webui): make folder picker tests portable
2026-08-14 04:03:54 +09:00
Xubin Ren
26c9687b80
feat(webui): add native workspace folder picker
2026-08-14 04:03:54 +09:00
chengyongru
4b5319b760
feat(webui): add tabbed pane workbench ( #5322 )
2026-08-12 14:45:12 +08:00
chengyongru
05d73803e7
refactor(webui): extract event projection helpers
2026-08-10 16:24:07 +08:00
chengyongru
a5bc3bfbb9
fix(webui): complete temporary chat mode
2026-08-08 23:20:59 +08:00
Xubin Ren
c9a6145878
feat(webui): add temporary chat mode
2026-08-08 23:20:59 +08:00
chengyongru
113e8d67ad
refactor: remove verified dead code
2026-08-08 21:10:34 +08:00
chengyongru
cdb2a474f9
refactor(webui): remove legacy session messages route
2026-08-07 15:16:57 +08:00
Xubin Ren
9cf6cf0639
feat(webui): persist manual session ordering
2026-08-06 19:11:05 +08:00
chengyongru
580824a15a
perf(webui): accelerate JSONL session list and thread loading ( #5194 )
2026-08-03 09:51:35 +08:00
ATECHPCS and Claude
92361cbeac
fix(gitstore): return real git object ids instead of hex-of-hex
...
`porcelain.commit()` and `repo.refs[...]` hand back object ids as a
40-character hex string that is already encoded to bytes. Calling `.hex()`
on that encodes the ASCII a second time, so every id GitStore produced or
displayed was double-encoded:
auto_commit() -> '62623234'
git log --abbrev=8 -> 'bb244606'
The module is self-consistently wrong, so `/dream-log` and `/dream-restore`
work as long as the id came from nanobot itself. What does not work is
crossing the boundary: ids in logs and commit output match nothing in
`git log`, and an id copied from `git log` cannot be resolved:
_resolve_sha(own id) -> b'bb244606d780...'
_resolve_sha(real git id) -> None
Use `.decode()` at the four sites that consume dulwich object ids. Nothing
persists an id — callers either display it or resolve it live — so there is
no stored state in the old format.
Adds two regression tests: the id returned by `auto_commit` must equal
`git log --abbrev=8`, and a real git id must resolve through `_resolve_sha`.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-07-30 18:25:56 +08:00
chengyongru
bb2f6cf324
fix(webui): preserve automation source on streamed replies
2026-07-30 17:57:31 +08:00
chengyongru
11fcd9cc5f
fix(webui): prevent redundant thread and media reloads ( #5164 )
2026-07-30 10:25:22 +08:00
e703481755
fix(memory): expose media references to session consolidation ( #5157 )
...
Co-authored-by: shakewingo <yaoyingshakewin@gmail.com >
Co-authored-by: bingqilinweimaotai <111987281+bingqilinweimaotai@users.noreply.github.com >
2026-07-29 15:18:44 +08:00