Files
deepseek-harness/packages/account
LegGasai 3ca18d169f fix(account): invalidate a rejected token on the account service mounted at rejection
- deepseek-account: the request credential's reject() re-resolves the
  account service through the resolving context, so a reload between a
  request and the destination's HTTP 401 still removes the stored grant;
  without a mounted service the grant stays for the next one to reject.
  resolveToken and rejectToken become private; the e2e sign-in stand-in
  and the generated API catalog follow.
- llm-deepseek: routeCredential().resolve() publishes the grant's headers,
  value, and rejection only, keeping the adapter's onRequestError behind
  the seam.
- web-deepseek-api: a route publishing an unparsable base URL becomes a
  misconfigured source instead of throwing from readiness or dispatch.
2026-11-11 20:29:37 +08:00
..

description, kind
description kind
Package map for the DeepSeek account family: browser sign-in, the stored account grant, and the Host-only request credentials released to the account model route and the DeepSeek web providers. package-group

account/ — DeepSeek account

English | 中文

Summary

The account/ group signs the user in to DeepSeek through the system browser and keeps the account grant in the local credential store that credentials/ owns. Host consumers never read the token: the deepseek-account model route and the DeepSeek web providers ask ctx.deepseekAccount for the credential of one request destination and receive its request headers, the bare value, and an invalidation for an HTTP 401. Clients receive account state through the account Remote namespace without credentials.

Table of Contents


Packages

One package provides the account feature; its README covers day-to-day use, and the subsystem reference owns the exhaustive contracts.

Package Role ctx key
deepseek-account/ Browser sign-in, the stored grant, Platform profile, balance, and notification reads, and Host-only request credentials for allowed destinations ctx.deepseekAccount

Start with the subsystem reference for the account contracts, then the credential store the grant lives in.

Dev Note

Working context for maintainers — click to expand

None.