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
Xubin Ren
1d69f630d7
fix(agent): provide current workspace access before model requests
2026-10-11 17:06:39 +08:00
Xubin Ren
7e00d6a944
fix(commands): keep slash-prefixed paths in normal chat
2026-10-09 12:28:32 +08:00
chengyongru
6ff96f2a8f
feat(subagent): add session-owned task messaging and cancellation ( #5985 )
...
let's go!
2026-10-05 05:16:33 +08:00
chengyongru
5294dc2e3f
fix(webui): restore Codex title generation and diagnose API failures ( #5952 )
...
* fix(webui): restore Codex title generation and diagnose API failures
* refactor(logging): keep title diagnostics out of provider contracts
* fix(webui): defer title reasoning to model defaults
* refactor(webui): inline default title reasoning argument
2026-09-28 14:50:21 +08:00
chengyongru
8a7ca8a654
fix: improve log reliability and correlation
2026-09-21 17:36:24 +08:00
chengyongru
5f378c9aff
fix(session): keep compaction continuations out of later turns
2026-09-17 22:18:38 +08:00
chengyongru
b669c2036c
refactor(agent): unify session message admission
2026-09-17 22:18:38 +08:00
chengyongru
4e2173c9eb
fix(agent): serialize session inbox processing
2026-09-17 22:18:38 +08:00
chengyongru
73410e0217
fix: stream internal model calls with idle timeouts ( #5730 )
...
* fix: stream internal model calls with idle timeouts
* fix(providers): reject streams without terminal events
2026-09-11 13:06:43 +08:00
chengyongru
e77c638f89
fix(agent): keep tool results stable across replay ( #5695 )
...
* fix(agent): keep processed tool results stable across replay
* fix(agent): preserve multimodal text and complete result references
* docs: trim tool result persistence comments
* fix(tools): allow complete reads of oversized text lines
* fix: keep read_file interface unchanged in replay fix
* refactor: pass one tool result reference path
* refactor: keep tool result persistence text-only
* fix: keep tool output references stable across workspace changes
2026-09-08 14:10:55 +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
63cc5f270d
refactor: remove unused internal helpers and state ( #5667 )
...
* refactor: remove unused internal helpers and state
* test(tui): await deferred submissions before reconnect attach
2026-09-05 22:09:12 +08:00
chengyongru
5229989f28
feat: make context compaction visible in channels ( #5656 )
...
* feat: surface context compaction lifecycle
* fix: complete and simplify context compaction notifications
2026-09-05 20:21:54 +08:00
chengyongru
d81aa5a4ab
refactor(agent): let runner own context compaction ( #5568 )
...
* refactor(agent): consolidate accepted history under pressure
* fix(agent): align provider and session compaction
* refactor(agent): simplify runner context compaction
* refactor(agent): remove background token consolidation
* fix(agent): keep injected transcript messages distinct
* refactor(agent): unify native compaction summaries
* fix(agent): preserve native compaction boundary
* fix(agent): unify context compaction paths
* fix(agent): preserve exact compaction request boundaries
2026-09-02 18:05:54 +08:00
chengyongru
6cd7063682
refactor(agent): defer transcript assembly to runner ( #5608 )
...
* refactor(agent): defer transcript assembly to runner
Keep persisted history and the fresh turn as explicit inputs until the Runner assembles the provider transcript. Preserve ContextBuilder and direct AgentRunner compatibility while making the save boundary structural.
Refs NAN-81.
* fix(providers): preserve mixed adjacent user content
2026-08-31 00:06:15 +08:00
chengyongru
a618e80887
refactor(agent): reduce loop runner parameter plumbing
2026-08-26 17:50:52 +08:00
chengyongru
56aa7296f3
refactor(agent): make checkpoint recovery ownership explicit
2026-08-26 16:33:59 +08:00
chengyongru
4f6c0aedfa
refactor(agent): make run usage explicit ( #5546 )
...
* refactor(agent): make run usage explicit
* fix(api): capture usage per run
2026-08-26 15:18:53 +08:00
zpljd258
a8ffe0f136
fix(webui): project generated titles onto per-chat sessions under unifiedSession
...
With unifiedSession enabled, all turns are routed to the shared
unified:default session, so title generation, persistence, and change
notifications all happen on that shared session. The WebUI sidebar,
however, renders per-chat websocket:<id> sessions, so generated titles
never reach the session the user sees and every chat stays "Untitled".
Pass the origin chat_id through maybe_generate_webui_title_after_turn and
add a target_session_key to maybe_generate_webui_title so the title is
written to the per-chat session while conversation content still comes
from the shared (routed) session. When the routed session differs from
the per-chat session, the latest user/assistant exchange is used as the
title prompt since the shared session mixes content from every channel.
The shared session's title metadata is no longer read or written, so
stale shared titles can no longer leak into per-chat sessions.
2026-08-26 10:52:56 +08:00
chengyongru
9895c23cb5
refactor(providers): define typed usage contract
2026-08-25 01:04:25 +08:00
Xubin Ren
12029f8812
feat(runtime): add user-controlled turn recovery
2026-08-24 00:58:04 +08:00
Xubin Ren
4391bbf4da
feat(tui): add agent interaction workflows
2026-08-17 20:56:10 +08:00
chengyongru
19997d20bb
refactor: move MCP lifecycle out of AgentLoop ( #5343 )
2026-08-12 17:51:04 +08:00
chengyongru
cdb2a474f9
refactor(webui): remove legacy session messages route
2026-08-07 15:16:57 +08:00
chengyongru
f45436b61d
fix(commands): reject invalid slash commands
2026-08-04 17:11:44 +08:00
chengyongru
6a1a45d07a
feat: preserve Responses reasoning state and compact context ( #5172 )
2026-07-30 22:39:43 +08:00
chengyongru
e2563e2e74
refactor(cli): split commands into focused modules ( #5175 )
2026-07-30 15:01:35 +08:00
chengyongru
12f828ea3d
fix(agent): read document attachments on demand ( #5122 )
2026-07-28 13:33:06 +08:00
chengyongru
ef9e687f19
refactor(core): remove redundant runtime scaffolding ( #5127 )
2026-07-28 11:07:58 +08:00
chengyongru
39348dfafe
refactor(agent): remove dead lifecycle scaffolding
2026-07-27 12:00:06 +08:00
Xubin Ren
5d8046deef
test(heartbeat): cover ignored unified routes
2026-07-27 00:12:44 +08:00
yu-xin-c
a7a6c26eab
fix(heartbeat): route unified sessions to last channel
2026-07-27 00:12:44 +08:00
chengyongru
66690fdb0c
fix(webui): deliver late subagent results as new turns ( #4992 )
2026-07-22 23:04:36 +08:00
hamb1y
a9867a5a4e
fix: quarantine invalid tool results
2026-07-22 01:59:09 +08:00
chengyongru
9db0d9f3c9
refactor(agent): unify internal turn lifecycle ( #4993 )
2026-07-21 00:14:27 +08:00
chengyongru
d349b65713
test(agent): remove obsolete runtime context assertions
2026-07-12 00:35:17 +08:00
chengyongru
f75d3519db
feat(agent): add persistent runtime context providers
2026-07-12 00:35:17 +08:00
chengyongru
7f8c3453e1
refactor(agent): gate sustained goals behind explicit /goal
...
Replace the legacy long-goal skill contract with command-scoped goal tools and runtime guidance. Keep goal state durable across continuations while restricting create and replace mutations to explicit user /goal turns.
2026-07-12 00:35:17 +08:00
chengyongru
21f58cbabf
refactor(agent): make resolver sole runtime owner
2026-07-10 17:54:34 +08:00
chengyongru
c9d3e74342
refactor(agent): require runtime for consolidation
2026-07-10 17:54:34 +08:00
chengyongru
af85c356b8
refactor(agent): capture subagent runtime before spawn
2026-07-10 17:54:34 +08:00
chengyongru
198fd9f869
refactor(agent): capture runtime at turn admission
2026-07-10 17:54:34 +08:00
chengyongru
42d7ad34a4
refactor(agent): unify request context routing
2026-07-10 17:54:34 +08:00
chengyongru
acb0e853ff
refactor(trigger): share automation turn delivery
2026-07-02 13:32:46 +08:00
chengyongru
2ebf5c4972
refactor(trigger): name CLI trigger source as local
...
maintainer edit: cron is also a trigger source, so keep the new CLI-delivered source explicitly named as local trigger across backend, WebUI, docs, and tests.
2026-07-02 13:32:46 +08:00
chengyongru
55b550ee01
fix(trigger): hide external trigger inputs
2026-07-02 13:32:46 +08:00
chengyongru
5f4cfbcb16
refactor(bus): type outbound runtime events
2026-07-01 20:17:00 +08:00
chengyongru
9b45fc1172
fix(session): remove message time replay prefixes
2026-06-27 11:04:36 +08:00
Xubin Ren
7bec0f6e01
fix(api): honor skip-user persist through save boundary
2026-06-16 21:31:26 +08:00