@morlay/session-rdb 0.1.10-alpha.2 → 0.1.10
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/dist/index.mjs +7 -7
- package/dist/testing.mjs +2 -2
- package/package.json +27 -27
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as SessionDeletionError, t as registerSessionDeletion } from "./deletion-SSX7IqU8.mjs";
|
|
2
|
+
import { n as eventDimensions, t as WriteGuard } from "./write-guard-CYrY58GM.mjs";
|
|
2
3
|
import { C as sealOwnEvents, b as repairReadView, c as convertLegacyRows, l as isLegacyVersion, n as SessionBranchRdbProvider, o as locateTurnEnd, p as needsShapeAdoption, r as liveEventsOf, s as adoptLegacyRows, t as SessionBranchRdb } from "./branch-CG1PUlO6.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
4
|
+
import { a as rowToMeta, r as toJsonlArtifact, t as scanRows } from "./export-CfJQjQfr.mjs";
|
|
5
|
+
import { d as EVENT_ENCODING, f as SCHEMA_VERSION, u as DEFAULT_BUSY_TIMEOUT_MS } from "./backend-rdb-BDCntVDy.mjs";
|
|
6
|
+
import { t as openRdbBackend } from "./open-YoyD_kah.mjs";
|
|
5
7
|
import { t as usageRowOf } from "./usage-row-BQQM-_t6.mjs";
|
|
8
|
+
import { COUNTED_EVENT_TYPES, addActivityCount, localDayKey, registerSessionUsage } from "./usage.mjs";
|
|
6
9
|
import { registerSessionImport } from "./import.mjs";
|
|
7
|
-
import { n as SessionDeletionError, t as registerSessionDeletion } from "./deletion-SSX7IqU8.mjs";
|
|
8
10
|
import { registerSessionExport } from "./export.mjs";
|
|
9
11
|
import { registerSessionOrganize } from "./organize.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import { n as eventDimensions, t as WriteGuard } from "./write-guard-CYrY58GM.mjs";
|
|
12
|
-
import { t as openRdbBackend } from "./open-YoyD_kah.mjs";
|
|
12
|
+
import { c as SESSION_ROWS_PATH, n as mountJsonRoute } from "./route-DpfY0zq-.mjs";
|
|
13
13
|
import { SESSION_FORMAT_VERSION, SessionLogOffset } from "@deepseek-ai/dsh-session";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { sessionFormatLogFilename } from "@deepseek-ai/dsh-session-format";
|
package/dist/testing.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as truncateLiveSession } from "./branch-CG1PUlO6.mjs";
|
|
2
|
-
import { u as DEFAULT_BUSY_TIMEOUT_MS } from "./backend-rdb-BDCntVDy.mjs";
|
|
3
1
|
import { t as openRdbBackend } from "./open-YoyD_kah.mjs";
|
|
2
|
+
import { u as DEFAULT_BUSY_TIMEOUT_MS } from "./backend-rdb-BDCntVDy.mjs";
|
|
3
|
+
import { a as truncateLiveSession } from "./branch-CG1PUlO6.mjs";
|
|
4
4
|
import SessionStore, { SESSION_FORMAT_VERSION, SessionId, SessionLogOffset, SessionSeq } from "@deepseek-ai/dsh-session";
|
|
5
5
|
import { openSqliteHandle } from "@morlay/rdbkit/testing";
|
|
6
6
|
import { describe, expect, it } from "vitest";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/session-rdb",
|
|
3
|
-
"version": "0.1.10
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "RDB durable session backend for DeepSeek Harness: implements both session-persistence and session-branch (rewind / retry / fork) providers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"branch",
|
|
@@ -64,39 +64,39 @@
|
|
|
64
64
|
"./locale/*.json": "./locale/*.json"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@morlay/rdbkit": "0.0.1
|
|
68
|
-
"@morlay/session-branch": "0.1.10
|
|
67
|
+
"@morlay/rdbkit": "0.0.1",
|
|
68
|
+
"@morlay/session-branch": "0.1.10",
|
|
69
69
|
"fflate": "^0.8.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@deepseek-ai/cosmokit": "^1.8.7-alpha.
|
|
73
|
-
"@deepseek-ai/dsh-agent-loop-testkit": "^0.2.2-alpha.
|
|
74
|
-
"@deepseek-ai/dsh-compaction": "^0.2.2-alpha.
|
|
75
|
-
"@deepseek-ai/dsh-cua": "^0.2.2-alpha.
|
|
76
|
-
"@deepseek-ai/dsh-session-turn-outline": "^0.2.2-alpha.
|
|
77
|
-
"@deepseek-ai/dsh-storage": "^0.2.2-alpha.
|
|
78
|
-
"@deepseek-ai/dsh-storage-domain": "^0.2.2-alpha.
|
|
79
|
-
"@deepseek-ai/dsh-token-meter": "^0.2.2-alpha.
|
|
72
|
+
"@deepseek-ai/cosmokit": "^1.8.7-alpha.2",
|
|
73
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "^0.2.2-alpha.3",
|
|
74
|
+
"@deepseek-ai/dsh-compaction": "^0.2.2-alpha.3",
|
|
75
|
+
"@deepseek-ai/dsh-cua": "^0.2.2-alpha.3",
|
|
76
|
+
"@deepseek-ai/dsh-session-turn-outline": "^0.2.2-alpha.3",
|
|
77
|
+
"@deepseek-ai/dsh-storage": "^0.2.2-alpha.3",
|
|
78
|
+
"@deepseek-ai/dsh-storage-domain": "^0.2.2-alpha.3",
|
|
79
|
+
"@deepseek-ai/dsh-token-meter": "^0.2.2-alpha.3"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"@deepseek-ai/cordis": "^4.0.6-alpha.
|
|
83
|
-
"@deepseek-ai/cosmokit": "^1.8.7-alpha.
|
|
84
|
-
"@deepseek-ai/dsh-llm": "^0.2.2-alpha.
|
|
85
|
-
"@deepseek-ai/dsh-schedule": "^0.2.2-alpha.
|
|
86
|
-
"@deepseek-ai/dsh-scope": "^0.2.2-alpha.
|
|
87
|
-
"@deepseek-ai/dsh-session": "^0.2.2-alpha.
|
|
88
|
-
"@deepseek-ai/dsh-session-format": "^0.2.2-alpha.
|
|
89
|
-
"@deepseek-ai/dsh-session-format-catalog": "^0.2.2-alpha.
|
|
90
|
-
"@deepseek-ai/dsh-session-persistence": "^0.2.2-alpha.
|
|
91
|
-
"@deepseek-ai/dsh-session-projection": "^0.2.2-alpha.
|
|
92
|
-
"@deepseek-ai/dsh-session-projection-cache": "^0.2.2-alpha.
|
|
93
|
-
"@deepseek-ai/dsh-session-query": "^0.2.2-alpha.
|
|
94
|
-
"@deepseek-ai/dsh-storage": "^0.2.2-alpha.
|
|
95
|
-
"@deepseek-ai/dsh-workspace": "^0.2.2-alpha.
|
|
96
|
-
"@deepseek-ai/schemastery": "^3.18.6-alpha.
|
|
82
|
+
"@deepseek-ai/cordis": "^4.0.6-alpha.2",
|
|
83
|
+
"@deepseek-ai/cosmokit": "^1.8.7-alpha.2",
|
|
84
|
+
"@deepseek-ai/dsh-llm": "^0.2.2-alpha.3",
|
|
85
|
+
"@deepseek-ai/dsh-schedule": "^0.2.2-alpha.3",
|
|
86
|
+
"@deepseek-ai/dsh-scope": "^0.2.2-alpha.3",
|
|
87
|
+
"@deepseek-ai/dsh-session": "^0.2.2-alpha.3",
|
|
88
|
+
"@deepseek-ai/dsh-session-format": "^0.2.2-alpha.3",
|
|
89
|
+
"@deepseek-ai/dsh-session-format-catalog": "^0.2.2-alpha.3",
|
|
90
|
+
"@deepseek-ai/dsh-session-persistence": "^0.2.2-alpha.3",
|
|
91
|
+
"@deepseek-ai/dsh-session-projection": "^0.2.2-alpha.3",
|
|
92
|
+
"@deepseek-ai/dsh-session-projection-cache": "^0.2.2-alpha.3",
|
|
93
|
+
"@deepseek-ai/dsh-session-query": "^0.2.2-alpha.3",
|
|
94
|
+
"@deepseek-ai/dsh-storage": "^0.2.2-alpha.3",
|
|
95
|
+
"@deepseek-ai/dsh-workspace": "^0.2.2-alpha.3",
|
|
96
|
+
"@deepseek-ai/schemastery": "^3.18.6-alpha.2"
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|
|
99
|
-
"dsh": ">= 0.2.2-alpha.
|
|
99
|
+
"dsh": ">= 0.2.2-alpha.3 < 0.2.3"
|
|
100
100
|
},
|
|
101
101
|
"scripts": {
|
|
102
102
|
"build": "pnpm exec tsdown"
|