mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-03 21:34:40 +00:00
* 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> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| index.ts | ||
| package.json | ||
| test-setup.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||