@deepseek-ai/dsh-session-persistence-jsonl 0.1.7-rc.2 → 0.2.0-rc.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/lib/worker.cjs +2 -2
- package/package.json +12 -12
package/lib/worker.cjs
CHANGED
|
@@ -20,12 +20,12 @@ function assertNever(value, context) {
|
|
|
20
20
|
const rendered = JSON.stringify(value) ?? String(value);
|
|
21
21
|
throw new Error(`unreachable variant${context ? ` in ${context}` : ""}: ${rendered}`);
|
|
22
22
|
}
|
|
23
|
-
/** Whether a realm-owned intrinsic prototype
|
|
23
|
+
/** Whether a realm-owned intrinsic prototype has a native constructor matching this engine's representation. */
|
|
24
24
|
function hasIntrinsicConstructor(prototype, name) {
|
|
25
25
|
const constructor = Object.getOwnPropertyDescriptor(prototype, "constructor")?.value;
|
|
26
26
|
if (typeof constructor !== "function") return false;
|
|
27
27
|
try {
|
|
28
|
-
return constructor.name === name && constructor.prototype === prototype && Function.prototype.toString.call(constructor) ===
|
|
28
|
+
return constructor.name === name && constructor.prototype === prototype && Function.prototype.toString.call(constructor) === Function.prototype.toString.call(name === "Array" ? Array : Object);
|
|
29
29
|
} catch {
|
|
30
30
|
return false;
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-session-persistence-jsonl",
|
|
3
3
|
"description": "JSONL durable session persistence backend for the DeepSeek Harness",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -28,23 +28,23 @@
|
|
|
28
28
|
],
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@deepseek-ai/dsh-session": "0.
|
|
32
|
-
"@deepseek-ai/dsh-session-persistence": "0.
|
|
31
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
32
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.0-rc.2",
|
|
33
33
|
"@deepseek-ai/cordis": "~4.0.4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"koffi": "
|
|
37
|
-
"@deepseek-ai/dsh-
|
|
38
|
-
"@deepseek-ai/dsh-session-format
|
|
39
|
-
"@deepseek-ai/dsh-session-format-
|
|
36
|
+
"koffi": "3.1.1",
|
|
37
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
38
|
+
"@deepseek-ai/dsh-session-format": "0.2.0-rc.2",
|
|
39
|
+
"@deepseek-ai/dsh-session-format-catalog": "0.2.0-rc.2",
|
|
40
|
+
"@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.0-rc.2",
|
|
40
41
|
"@deepseek-ai/node-addon-system": "~0.1.2",
|
|
41
|
-
"@deepseek-ai/schemastery": "~3.18.4"
|
|
42
|
-
"@deepseek-ai/dsh-llm": "0.1.7-rc.2"
|
|
42
|
+
"@deepseek-ai/schemastery": "~3.18.4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@deepseek-ai/dsh-session": "0.
|
|
46
|
-
"@deepseek-ai/dsh-session-format-v0-to-v1": "0.
|
|
45
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
46
|
+
"@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.0-rc.2",
|
|
47
47
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
48
|
-
"@deepseek-ai/dsh-session-persistence": "0.
|
|
48
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.0-rc.2"
|
|
49
49
|
}
|
|
50
50
|
}
|