mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
git mv the 12 packages from session-persistence/, session-projection/, session-title/, and telemetry/ into one session/ group per the regrouping RFC; merge the four group READMEs into one bilingual triplet; rewrite the group segment in tsconfig references (intra-group references shorten to ../<pkg>), tsconfig.base.json paths/globs, knip.json keys, vitest include, gate scripts, and authored doc/note citations; regenerate module graph, doc graphs, catalogs, and the lockfile importer keys. No npm names change. Full unit suite: 8779 passed; the 18 reported failures reproduce as env flakes (ambient-proxy IPv6 tunneling, watched-dir inotify timeouts under parallel load) — each passes in isolation with NO_PROXY set, matching their known pre-existing behavior on master.
19 lines
683 B
TypeScript
19 lines
683 B
TypeScript
/** Opaque revision identity for lightweight persistence observations. */
|
|
|
|
import type { Branded } from '@deepseek-ai/dsh-brand'
|
|
|
|
/**
|
|
* Backend-owned token that identifies both one storage source and one revision
|
|
* of a persisted session log.
|
|
*/
|
|
export type SessionPersistenceRevision = Branded<'SessionPersistenceRevision'>
|
|
|
|
/**
|
|
* Brand a backend revision for the provider-neutral persistence contract.
|
|
* @param value - backend-owned opaque revision representation.
|
|
* @returns the same runtime string with persistence-revision identity.
|
|
*/
|
|
export function SessionPersistenceRevision(value: string): SessionPersistenceRevision {
|
|
return value as SessionPersistenceRevision
|
|
}
|