deepseek-harness/packages/core/tools/src
Chinesezjc cc1bba31d8 fix(tool-web): align fetch card truncation, drop view content copies, sync card docs
Address the code-review bot findings on the web result card:
- web_fetch's card truncated now derives from the shared renderFetchOutput
  helper, matching the effective truncation the model-facing text reflects
  (provider cap, source cut, or output cap), instead of the provider-only flag.
- Drop the redundant content copy from both web result views; a UI without the
  web capability falls back to the raw tool/result content. Narrow the TUI
  transcript view.content access accordingly.
- Set the result-state title from the call args (query/url) so a window-
  truncated replay keeps a title.
- Project meta from the seam result types rather than hand-rolled value types.
- Sync the card vocabulary across core tools README, docs/core-data-structures,
  the adding-a-tool cookbook, and the tool-web package README (both languages,
  re-recorded pairings); regenerate the cordis api-catalog and cordis-inspect
  snapshot; revise the Agent Note.
2026-07-30 20:01:41 +08:00
..
code-mode.ts refactor(session): remove synthetic log-only turns 2026-07-28 14:41:51 +08:00
index.ts feat(web): add a web render-intent card for web_search and web_fetch results 2026-07-30 17:04:09 +08:00
invariant.ts fix(session): preserve plugin turn invariants 2026-07-28 15:18:48 +08:00
json-schema.ts fix(schema): align projected and enforced declarations 2026-07-23 01:05:41 +08:00
presentation.ts fix(tool-web): align fetch card truncation, drop view content copies, sync card docs 2026-07-30 20:01:41 +08:00
schema.ts refactor: migrate linting to Oxlint 2026-07-29 14:32:11 +08:00
testing.ts refactor: migrate linting to Oxlint 2026-07-29 14:32:11 +08:00
ts-types.ts feat(tools): live dispatch lifecycle + native-contract parallel sub-calls in Code Mode 2026-07-26 06:02:36 +08:00