Files
deepseek-harness/packages/core/tools/README.i18n.yaml
T
Yichen Jiang 80eca619ef refactor(web-search): admit web_search through step activation conditions
Master's step-scoped conditional activation resolves each tool's condition
before a model step assembles, and both the declarations and dispatch read
that admitted set. Prompt assembly no longer carries tool declarations, so
tool-web's system-prompt/assemble listener could not remove web_search any
more, and removing a declaration there never stopped a repeated call from
running.

tool-web now registers web_search with a when condition that asks
ctx.web.searchReady() about the route of the step's model selection, and its
guidance section renders from the step's admitted set. A step that does not
admit the tool leaves it out of declarations, guidance, and PTC program
bindings, and refuses a call to it as UNKNOWN_TOOL without reaching a
provider. Tests that execute web_search directly now run inside a resolved
step, as the executor requires for conditional registrations.

Docs, the readiness Agent Note, and the event producer/consumer table follow
the new mechanism; the tools README gains an explicit conditional-tools
anchor for cross-locale links.
2026-10-22 10:57:09 +08:00

92 lines
3.3 KiB
YAML

# Bilingual-pair consistency record for README.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 packages/core/tools/README.md
/:
en: 3b12a77945c0d1e9
zh: e9af32047e4f658b
/deepseek-ai-dsh-tools:
en: bb2af1250bfefe4b
zh: 893e3ab2e563a8a5
/deepseek-ai-dsh-tools/summary:
en: ad53df5cc542fc32
zh: 1ab915da46e01d20
/deepseek-ai-dsh-tools/table-of-contents:
en: d152484eb41ac6b4
zh: 09388d293f9be9cb
/deepseek-ai-dsh-tools/use-this-package:
en: d382227271bf92ae
zh: 1f66b181418c91b9
/deepseek-ai-dsh-tools/use-this-package/register-a-tool:
en: 1808e2a95ee21584
zh: 40c40da7d1418407
/deepseek-ai-dsh-tools/use-this-package/conditional-tools:
en: eb80334754c2493a
zh: b431635ec1f4664f
/deepseek-ai-dsh-tools/use-this-package/select-an-executor:
en: bdf27b6f339ea866
zh: b89205eedea1db0a
/deepseek-ai-dsh-tools/use-this-package/restrict-tools-per-agent:
en: c6f98b2283cc2e47
zh: c2cdce5d13473f15
/deepseek-ai-dsh-tools/use-this-package/enforce-policy-on-calls:
en: cbfe8317565ac62d
zh: 1e71c66941e50881
/deepseek-ai-dsh-tools/use-this-package/host-presentation-descriptors:
en: 258e16bb367229e5
zh: 7c1eb91062b4e4ad
/deepseek-ai-dsh-tools/understand-the-implementation:
en: ce7e776e9d516bdb
zh: 59d2751743db7795
/deepseek-ai-dsh-tools/understand-the-implementation/design-concept:
en: 516a6195a21e742b
zh: 33c7b99b42c5acac
/deepseek-ai-dsh-tools/understand-the-implementation/source-map:
en: 2dee0a37e0c1fa38
zh: 0963cba32685612e
/deepseek-ai-dsh-tools/understand-the-implementation/execution-and-cancellation:
en: dc44a88997777988
zh: 56454aeace1c8b77
/deepseek-ai-dsh-tools/understand-the-implementation/ptc-mode:
en: 83cf9a5077158879
zh: 80508a70a3674226
/deepseek-ai-dsh-tools/understand-the-implementation/extension-points:
en: c2a14d6f22bc9428
zh: 89c1414fca465931
/deepseek-ai-dsh-tools/further-exploration:
en: b112e13c7db15bf3
zh: 39e726a15ca40f21
/deepseek-ai-dsh-tools/model-experience:
en: 215e7ba838619b7b
zh: a311da3843709f90
/deepseek-ai-dsh-tools/model-experience/normal-tool-schemas:
en: 483b01d9bb2cb49a
zh: 1d95095e76fb0996
/deepseek-ai-dsh-tools/model-experience/normal-tool-schemas/what-the-model-sees:
en: d6a5c32a421bfe97
zh: 542d49df376e70a4
/deepseek-ai-dsh-tools/model-experience/normal-tool-schemas/token-effect:
en: d594b71ff5e4cc87
zh: dcec1ea0dd2a0fa6
/deepseek-ai-dsh-tools/model-experience/normal-tool-schemas/kv-cache-effect:
en: 7c5e75964e020b2c
zh: d50d0402d15232d9
/deepseek-ai-dsh-tools/model-experience/tool-call-history-and-results:
en: a8503137ad03720c
zh: 611a2dadf7c0c706
/deepseek-ai-dsh-tools/model-experience/tool-call-history-and-results/what-the-model-sees:
en: 7c568da5a45e99ab
zh: 7e78f04448fc5450
/deepseek-ai-dsh-tools/model-experience/tool-call-history-and-results/token-effect:
en: 8fe3f024f364ed9f
zh: 89c1d5d24c5f950b
/deepseek-ai-dsh-tools/model-experience/tool-call-history-and-results/kv-cache-effect:
en: 2fbf2175168e8244
zh: ad59a120b54a0996
/deepseek-ai-dsh-tools/known-limitations-and-deferred-work:
en: e8c410dee66e1639
zh: ae4965fa70234fd1
/deepseek-ai-dsh-tools/known-limitations-and-deferred-work/dev-note:
en: e67f633dc6fe7773
zh: 3bb0c20c93f16f98