Files
deepseek-harness/docs/architecture.i18n.yaml
T
Tianyi Cui f6848ee921 fix(agent-loop): preserve prompt history during supported tool updates
Tool changes previously forced prompt consolidation even when the prepared
route could activate new tools through history. Rewriting the first system
message, or clearing an earlier appended prompt, reset the declaration
series and turned additions into immediate declarations.

Only routes without toolUpdate need that tool-triggered consolidation.
Capable routes append the full changed prompt and keep existing messages.
Explicit series starts, surface replacements, and unsupported prompt
routes still consolidate; retained-name definition changes still rebuild
tool declarations in Session.

Cover both update modes and reset paths, and pin the combined prompt/tool
transition through the shipped headless profile with shared schema goldens.
2026-09-23 22:40:40 +08:00

38 lines
1.3 KiB
YAML

# Bilingual-pair consistency record for architecture.md (docs/i18n/README.md): per heading
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
# After editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/architecture.md
/deepseek-harness-architecture:
en: 2125f3ec236bc7b2
zh: 23d8815579592ec4
/deepseek-harness-architecture/cordis:
en: da5060e577578ea7
zh: 2e77d570e32d8938
/deepseek-harness-architecture/profiles-and-bundles:
en: 8ef4912295aa32f3
zh: cf8848a83743f3cc
/deepseek-harness-architecture/application-launch:
en: 334b4f390b6e376b
zh: ce094f24c6162be3
/deepseek-harness-architecture/desktop-application:
en: 8df40913a953f497
zh: c46278a7813661ce
/deepseek-harness-architecture/core-packages:
en: b4a221ac2910600a
zh: 341046d3c9a9c9cd
/deepseek-harness-architecture/events:
en: 214c3c81c21df6f9
zh: 75d2cdc3c9fc9930
/deepseek-harness-architecture/turn-flow:
en: e13500f6d5b614d6
zh: 7e6acb96a520ded2
/deepseek-harness-architecture/session-log:
en: e1e3a44140036f25
zh: 84c70c969e5ad216
/deepseek-harness-architecture/capability-seams:
en: 93d1dc2eeda4aec2
zh: ee7a9da89151ea17
/deepseek-harness-architecture/where-new-behavior-goes:
en: 9b2eb0539a9cd0d6
zh: 4f575277b91d4e5c