@morlay/session-branch 0.1.5 → 0.1.6
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/package.json +8 -7
- package/dist/invariant.d.mts +0 -6
- package/dist/invariant.mjs +0 -8
- package/src/invariant.ts +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/session-branch",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Contract layer for branch-based session editing: the provider abstraction (rewind / forkFrom / readBranchPrefix) plus the high-level service over DeepSeek Harness event-sourced sessions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|
|
@@ -23,16 +23,17 @@
|
|
|
23
23
|
],
|
|
24
24
|
"type": "module",
|
|
25
25
|
"exports": {
|
|
26
|
-
".":
|
|
27
|
-
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.mts",
|
|
28
|
+
"default": "./dist/index.mjs"
|
|
29
|
+
},
|
|
28
30
|
"./package.json": "./package.json",
|
|
29
31
|
"./locale/*.json": "./locale/*.json"
|
|
30
32
|
},
|
|
31
33
|
"peerDependencies": {
|
|
32
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
33
|
-
"@deepseek-ai/dsh-
|
|
34
|
-
"@deepseek-ai/dsh-session": "^0.2.
|
|
35
|
-
"@deepseek-ai/dsh-session-persistence": "^0.2.0-rc.2"
|
|
34
|
+
"@deepseek-ai/cordis": "^4.0.5-alpha.2",
|
|
35
|
+
"@deepseek-ai/dsh-session": "^0.2.1-alpha.5",
|
|
36
|
+
"@deepseek-ai/dsh-session-persistence": "^0.2.1-alpha.5"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|
|
38
39
|
"build": "pnpm exec tsdown"
|
package/dist/invariant.d.mts
DELETED
package/dist/invariant.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region src/invariant.ts
|
|
2
|
-
const PACKAGE_NAME = "@morlay/session-branch";
|
|
3
|
-
const name = "session-branch-invariant";
|
|
4
|
-
const inject = ["invariants"];
|
|
5
|
-
const install = () => {};
|
|
6
|
-
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
7
|
-
//#endregion
|
|
8
|
-
export { apply, inject, name };
|
package/src/invariant.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Context } from "@deepseek-ai/cordis";
|
|
2
|
-
import type { InvariantInstaller } from "@deepseek-ai/dsh-invariants";
|
|
3
|
-
|
|
4
|
-
const PACKAGE_NAME = "@morlay/session-branch";
|
|
5
|
-
|
|
6
|
-
export const name = "session-branch-invariant";
|
|
7
|
-
|
|
8
|
-
export const inject = ["invariants"];
|
|
9
|
-
|
|
10
|
-
const install: InvariantInstaller = () => {};
|
|
11
|
-
|
|
12
|
-
export const apply = (ctx: Context): Promise<() => void> =>
|
|
13
|
-
Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|