deepseek-harness/packages/api/session-controller/src/client
imccyu 674a1e95a3 fix(api): rename the failure marker, harden cross-realm discrimination, and mark the packed-record violation
- protocol: isDSHRemoteGatewayError -> isDSHRemoteError (the class is
  protocol-wide, not Gateway-specific); remoteErrorOf drops its
  instanceof Error precondition and tests the marker plus a string code
  structurally, so a marked failure from another realm no longer reads
  as a local defect.
- session-controller: the live-follow packed-record protocol violation
  now throws a marked RemoteError('gateway/internal'), landing the
  session in openState=error instead of an unhandled rejection;
  pinned at the transport and session levels.
- util-time: correct the invariant companion's @module name.
- regenerate the tool-cordis catalog for the marker rename.
2026-08-29 03:12:43 +08:00
..
contract refactor(api): converge the Remote failure vocabulary and client surface 2026-08-28 22:37:36 +08:00
sessions refactor(api): converge the Remote failure vocabulary and client surface 2026-08-28 22:37:36 +08:00
index.ts refactor(api): converge the Remote failure vocabulary and client surface 2026-08-28 22:37:36 +08:00
ordered-baseline.ts refactor(session): move Client ownership into Session Controller 2026-08-23 16:28:16 +08:00
scope.ts refactor(session): move Client ownership into Session Controller 2026-08-23 16:28:16 +08:00
time-zone.ts refactor(session): move Client ownership into Session Controller 2026-08-23 16:28:16 +08:00
transport.ts fix(api): rename the failure marker, harden cross-realm discrimination, and mark the packed-record violation 2026-08-29 03:12:43 +08:00