qwen-code/packages/cli
qqqys 5ce832e497
feat(core): connect Goal v3 to the turn engine (#7895)
* feat(core): integrate Goal turn engine

* test(core): preserve Goal tool isolation in agent overrides

* fix(core): pause Goal at Stop hook cap

* fix(core): keep Goal recovery from blocking sessions

* fix(core): degrade failed Goal migration writes

* fix(core): reset loop detector in Goal stop hook continuation (#7895)

The goal-runtime stop hook continuation path was missing
loopDetector.reset(prompt_id) before recursing, causing tool calls
to accumulate across iterations and trip TURN_TOOL_CALL_CAP after
a handful of healthy iterations. The non-goal stop hook path already
had this reset.

Also simplifies the redundant conditional in Turn.run() — the two
near-identical sendMessageStream calls are collapsed into one since
sendMessageStream already handles an undefined goalContext internally.

* fix(core): align turn.test.ts assertion with unified sendMessageStream call (#7895)

* fix(core): preserve error cause in GoalPersistenceUnavailableError (#7895)

---------

Co-authored-by: qwen-code-dev-bot <269191875+qwen-code-dev-bot@users.noreply.github.com>
Co-authored-by: qwen-code-bot <qwen-code-bot@users.noreply.github.com>
2026-07-29 00:33:23 +00:00
..
src feat(core): connect Goal v3 to the turn engine (#7895) 2026-07-29 00:33:23 +00:00
.gitignore feat(core): add opt-in built-in web_search backed by the DashScope Responses API (#7215) 2026-07-21 10:59:36 +00:00
index.ts fix(cli): add bootstrap fast paths (#6188) 2026-07-02 22:28:11 +00:00
package.json chore(release): v0.21.1 (#7958) 2026-07-29 00:25:30 +00:00
test-setup.ts feat(serve): persist dynamic workspace registrations (#6716) 2026-07-11 16:49:40 +00:00
tsconfig.json feat(webshell): replay ChatRecord history in readonly WebShell (#6999) 2026-07-19 00:09:44 +00:00
vitest.config.ts fix(serve): Release managed session writer locks on shutdown (#7812) 2026-07-28 10:18:35 +00:00