@hy-sde-org/dsh-zstd-frame 0.2.0-rc.2 → 0.2.1-alpha.2
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.
- package/README.md +0 -4
- package/package.json +9 -11
- package/dist/invariant.d.ts +0 -16
- package/dist/invariant.d.ts.map +0 -1
- package/dist/invariant.js +0 -22
- package/dist/invariant.js.map +0 -1
package/README.md
CHANGED
|
@@ -52,10 +52,6 @@ import {
|
|
|
52
52
|
final-frame/checksum completion — callers must establish the torn boundary
|
|
53
53
|
themselves before using it.
|
|
54
54
|
|
|
55
|
-
The optional `./invariant` entry registers the package into a Cordis host's
|
|
56
|
-
`ctx.invariants` service (no-op) and needs `@deepseek-ai/cordis` +
|
|
57
|
-
`@deepseek-ai/dsh-invariants` peers only when you use that entry.
|
|
58
|
-
|
|
59
55
|
## License
|
|
60
56
|
|
|
61
57
|
MIT. Derived from the DeepSeek Harness codebase; see
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hy-sde-org/dsh-zstd-frame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1-alpha.2",
|
|
4
4
|
"description": "Zstandard frame primitives (scan / compress / decompress / multi-frame decoder) shared by the DeepSeek Harness session persistence backend and project memory bank, as a standalone npm package.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -10,10 +10,6 @@
|
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
11
|
"default": "./dist/index.js"
|
|
12
12
|
},
|
|
13
|
-
"./invariant": {
|
|
14
|
-
"types": "./dist/invariant.d.ts",
|
|
15
|
-
"default": "./dist/invariant.js"
|
|
16
|
-
},
|
|
17
13
|
"./package.json": "./package.json"
|
|
18
14
|
},
|
|
19
15
|
"files": [
|
|
@@ -29,17 +25,15 @@
|
|
|
29
25
|
},
|
|
30
26
|
"repository": {
|
|
31
27
|
"type": "git",
|
|
32
|
-
"url": "git+https://github.com/hy-sde/dsh-
|
|
33
|
-
"directory": "
|
|
28
|
+
"url": "git+https://github.com/hy-sde/dsh-zstd-frame.git",
|
|
29
|
+
"directory": "packages/zstd-frame"
|
|
34
30
|
},
|
|
35
31
|
"license": "MIT",
|
|
36
32
|
"peerDependencies": {
|
|
37
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
38
|
-
"@deepseek-ai/dsh-invariants": "^0.2.0-rc.2"
|
|
33
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1"
|
|
39
34
|
},
|
|
40
35
|
"devDependencies": {
|
|
41
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
42
|
-
"@deepseek-ai/dsh-invariants": "^0.2.0-rc.2",
|
|
36
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
43
37
|
"@types/node": "^24.0.0",
|
|
44
38
|
"typescript": "^5.9.3",
|
|
45
39
|
"vitest": "^3.2.7"
|
|
@@ -55,6 +49,10 @@
|
|
|
55
49
|
"checksum",
|
|
56
50
|
"torn-frame"
|
|
57
51
|
],
|
|
52
|
+
"homepage": "https://github.com/hy-sde/dsh-zstd-frame#readme",
|
|
53
|
+
"bugs": {
|
|
54
|
+
"url": "https://github.com/hy-sde/dsh-zstd-frame/issues"
|
|
55
|
+
},
|
|
58
56
|
"scripts": {
|
|
59
57
|
"clean": "rm -rf dist",
|
|
60
58
|
"build": "tsc -p tsconfig.build.json",
|
package/dist/invariant.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@hy-sde-org/dsh-zstd-frame`.
|
|
3
|
-
* @module @hy-sde-org/dsh-zstd-frame/invariant
|
|
4
|
-
*/
|
|
5
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export declare const name = "zstd-frame-invariant";
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export declare const inject: string[];
|
|
10
|
-
/**
|
|
11
|
-
* Register this package's invariant companion.
|
|
12
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
13
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
14
|
-
*/
|
|
15
|
-
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
16
|
-
//# sourceMappingURL=invariant.d.ts.map
|
package/dist/invariant.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invariant.d.ts","sourceRoot":"","sources":["../src/invariant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAKlD,oCAAoC;AACpC,eAAO,MAAM,IAAI,yBAAyB,CAAA;AAC1C,2EAA2E;AAC3E,eAAO,MAAM,MAAM,UAAiB,CAAA;AAQpC;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,KAAK,OAAO,KAAG,OAAO,CAAC,MAAM,IAAI,CACU,CAAA"}
|
package/dist/invariant.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@hy-sde-org/dsh-zstd-frame`.
|
|
3
|
-
* @module @hy-sde-org/dsh-zstd-frame/invariant
|
|
4
|
-
*/
|
|
5
|
-
const PACKAGE_NAME = '@hy-sde-org/dsh-zstd-frame';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export const name = 'zstd-frame-invariant';
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export const inject = ['invariants'];
|
|
10
|
-
/**
|
|
11
|
-
* No runtime invariant: the frame layout algebra is enforced by the test suite
|
|
12
|
-
* and the structural scan rejects corrupt input at runtime.
|
|
13
|
-
*/
|
|
14
|
-
const install = () => { };
|
|
15
|
-
/**
|
|
16
|
-
* Register this package's invariant companion.
|
|
17
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
18
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
19
|
-
*/
|
|
20
|
-
export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
21
|
-
/* jscpd:ignore-end */
|
|
22
|
-
//# sourceMappingURL=invariant.js.map
|
package/dist/invariant.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invariant.js","sourceRoot":"","sources":["../src/invariant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,YAAY,GAAG,4BAA4B,CAAA;AAEjD,oCAAoC;AACpC,MAAM,CAAC,MAAM,IAAI,GAAG,sBAAsB,CAAA;AAC1C,2EAA2E;AAC3E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,YAAY,CAAC,CAAA;AAEpC;;;GAGG;AACH,MAAM,OAAO,GAAuB,GAAG,EAAE,GAAE,CAAC,CAAA;AAE5C;;;;GAIG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,GAAY,EAAuB,EAAE,CACzD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAA;AACjE,sBAAsB"}
|