deepseek-harness/docs
Tianyi Cui 0ebb86e70f Implement mandatory app-attribution headers per the RFC
dsh-llm owns the vocabulary (attribution.ts): AppIdentity with the version
read from the package manifest, userAgent(), and attributionHeaders(target,
identity) over a closed AttributionTarget union ('generic' | 'openrouter').
Both adapters send the headers on every provider request — llm-deepseek in
its fetch headers, llm-pi-ai through pi-ai's StreamOptions.headers — behind
an explicit attributionTarget config (never inferred from baseURL), with
mock-server tests asserting exact wire arrival and the absence of the
OpenRouter set by default.

The RFC moves to implemented/ amended with the settled identity (the
deepseek-harness token, the DeepSeek Harness title, the planned
deepseek-ai/deepseek-harness-sdk URL behind a FIXME until that repo exists)
and the explicit-config OpenRouter decision.
2026-07-04 18:14:42 +08:00
..
cookbook Merge branch 'worktree-hooks-f-bridges' into worktree-hooks-g-stream-chunk 2026-07-04 03:21:00 +08:00
cordis-catalog Implement mandatory app-attribution headers per the RFC 2026-07-04 18:14:42 +08:00
core-data-structures Implement mandatory app-attribution headers per the RFC 2026-07-04 18:14:42 +08:00
i18n docs: equal-authority pairing with sidecar consistency records 2026-07-03 07:41:24 -07:00
postmortem Fix doc cross-links for the hierarchy; add package-path + shape gates 2026-06-20 23:12:14 +08:00
rfc Implement mandatory app-attribution headers per the RFC 2026-07-04 18:14:42 +08:00
tool-catalog Merge remote-tracking branch 'origin/master' into web-capability-seam 2026-07-03 16:49:00 +08:00
AGENTS.md docs(rfc): classify RFCs by kind via path-encoded subdirectories 2026-06-20 22:29:45 +08:00
architecture.md Merge branch 'worktree-hooks-f-bridges' into worktree-hooks-g-stream-chunk 2026-07-04 03:21:00 +08:00
development.i18n.yaml docs: rename coding demo to repl 2026-07-04 01:07:26 +08:00
development.md docs: rename coding demo to repl 2026-07-04 01:07:26 +08:00
development.zh.md docs: rename coding demo to repl 2026-07-04 01:07:26 +08:00
module-graph.md Merge branch 'worktree-hooks-e-protocol' into worktree-hooks-f-bridges 2026-07-04 03:09:37 +08:00