@ran-sh/dsh-crew 1.0.3 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ // Single source of truth for the pinned DeepSeek Harness cohort.
2
+ //
3
+ // The Crew runtime, the SDK client, and the worker composition must all
4
+ // resolve to this exact version. All other modules re-export from here so a
5
+ // cohort bump touches exactly one file (plus package.json's 48 DSH pins).
6
+ export const DSH_CLI_PACKAGE = '@deepseek-ai/dsh';
7
+ export const TARGET_DSH_VERSION = '0.1.2-rc.1';
8
+ export const TARGET_DSH_SPEC = `${DSH_CLI_PACKAGE}@${TARGET_DSH_VERSION}`;
9
+
10
+ // Retained-cohort support: when a release's manifest pins an older DSH
11
+ // cohort than the current TARGET, the old runtime is retained on disk so a
12
+ // rollback can restore it offline (no registry round-trip).
13
+ export const RETAINED_RUNTIMES_DIRNAME = 'retained-runtimes';
14
+
15
+ // Lifecycle-owned cohort metadata for a managed release. Historical releases
16
+ // (pre-1.0.4) did not pin @deepseek-ai/dsh in their manifest; this sidecar
17
+ // records the runtime cohort fact the lifecycle observed for them WITHOUT
18
+ // mutating the immutable release manifest. Resolution priority:
19
+ // manifest exact pin -> sidecar -> (legacy discovery) -> fail closed.
20
+ export const RELEASE_COHORT_FILENAME = 'release-cohort.json';