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
chengyongru
6eccc2859a
test: consolidate repetitive cases across the suite
2026-09-25 14:28:21 +08:00
chengyongru
29ba4c7f2d
fix(agent): remove local context tail truncation ( #5820 )
...
* fix(agent): remove local context tail truncation
* fix(agent): defer subagent type annotations
* fix(agent): require context consolidator for runner
* refactor(agent): minimize consolidator contract diff
2026-09-20 16:00:44 +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
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
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
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
chengyongru
9895c23cb5
refactor(providers): define typed usage contract
2026-08-25 01:04:25 +08:00
chengyongru
8a2aa0821b
fix(agent): keep explicit skills out of system prompt
2026-08-19 18:40:20 +08:00
chengyongru
5f054c0e74
fix(agent): deliver non-streamed finalization responses
2026-07-23 13:16:47 +08:00
Xubin Ren
aa8387fb4d
feat(webui): polish agent output and app discovery
2026-07-22 22:42:31 +08:00
chengyongru
2116e32013
test: speed up CI and harden the suite
2026-07-15 00:18:37 +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
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
5f4cfbcb16
refactor(bus): type outbound runtime events
2026-07-01 20:17:00 +08:00
chengyongru
5d91d59cf7
fix(agent): finalize max-iteration turns without tools
2026-06-10 14:47:20 +08:00
Xubin Ren
be2e0172d1
fix(agent): extend sustained goal iteration budget
2026-06-01 04:00:15 +08:00
chengyongru
99cc6ee808
test(agent): expand coverage and refactor test structure
...
- Add 42 tests for ContextBuilder (context.py: 0→42 tests)
- Add 37 tests for SubagentManager lifecycle (subagent.py: 2→37 tests)
- Add 42 unit tests for AutoCompact in isolation
- Split monolithic test_runner.py (3313 lines) into 9 focused files:
test_runner_core, test_runner_hooks, test_runner_errors,
test_runner_safety, test_runner_persistence, test_runner_governance,
test_runner_tool_execution, test_runner_injections,
test_loop_runner_integration
- Add 3 config passthrough tests (temperature/max_tokens/reasoning_effort)
- Fix fragile patch.object(__init__) in test_stop_preserves_context
- Create shared conftest.py with make_provider/make_loop factories
Total: 934 tests passing, 0 regressions
2026-05-13 12:49:17 +08:00