Files
deepseek-harness/docs/cookbook/adding-a-tool.i18n.yaml
T
sjw1231 09604ac04d refactor(tools): tighten cancellation, approval, and job error contracts
Type the approval denial helper with a closed ApprovalErrorCode, state
that a cancellation is recognized by the signal reason or an Error named
AbortError, note that ApprovalError names a denial rather than a thrown
class, and separate JOB_CONTROLLER_UNAVAILABLE from a missing jobs
service. The jobs README describes JobError as the seam's export rather
than as current caller behavior, and the terminal test asserts one
concurrent send failure.

Refs #7869
2026-11-05 20:21:45 +08:00

32 lines
1.2 KiB
YAML

# Bilingual-pair consistency record for adding-a-tool.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/cookbook/adding-a-tool.md
/tool-authoring-reference:
en: 97ed54443f2a4464
zh: 09c294f281c0de75
/tool-authoring-reference/the-minimal-shape:
en: 2cc80a2a79e23005
zh: 87e43383055890ce
/tool-authoring-reference/rules-of-the-execute-contract:
en: b81b03778cfdecde
zh: 83f0b7863a5217c6
/tool-authoring-reference/long-running-work:
en: 5f6b0c15cb91e21b
zh: 633a2192df186ac3
/tool-authoring-reference/execution-policy-and-observation:
en: 9f894e50199d7ec5
zh: 934e4526f34c27fe
/tool-authoring-reference/ptc-mode-reaches-your-tool-for-free:
en: b1c249d7dde7fbad
zh: ff183efd4871340a
/tool-authoring-reference/how-your-tool-renders-in-a-ui:
en: e4520ce47c43ef22
zh: 13971ee10f90d30b
/tool-authoring-reference/web-client-presentation:
en: 4a8bc6993ec4dcc1
zh: 9cf5f5cb2bf1d08a
/tool-authoring-reference/verification:
en: 834e4936552af0a7
zh: ece3d791dc1e2a26