mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-14 04:01:35 +00:00
This reverts commit 4b592eb90df20dc53dd12215921d5a9137214777, reversing changes made to d15d3275d905e4d21229cd70a074388a428189d1.
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
|
|
}
|