@morlay/better-session 0.0.21-alpha.6 → 0.0.21-alpha.8

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 CHANGED
@@ -13,8 +13,8 @@ dsh plugin --profile web add "@morlay/better-session"
13
13
 
14
14
  安装自动带上全部子包(`@morlay/session-branch`、`@morlay/session-rdb`、
15
15
  `@morlay/ui-conversation-message-actions`、`@morlay/ui-conversation-manager`、
16
- `@morlay/dsh-client-ui-conversation`、`@morlay/dsh-client-ui-primitives`),并由 bundle 的 patch
17
- (`cordis.patch.yml`)自动装配:
16
+ `@morlay/dsh-client-ui-conversation`、`@morlay/dsh-client-ui-primitives`、`@morlay/dsh-reference`),
17
+ 并由 bundle 的 patch(`cordis.patch.yml`)自动装配:
18
18
 
19
19
  - `ctx.sessionPersistence` ← RDB(SQLite / PostgreSQL)持久化后端
20
20
  - `ctx.sessionBranch` ← rewind / fork 数据层
package/cordis.patch.yml CHANGED
@@ -55,3 +55,8 @@
55
55
  # 删除 / 导入为新会话)。
56
56
  - id: ui-conversation-manager
57
57
  name: "@morlay/ui-conversation-manager"
58
+
59
+ # 引用展开(`@path` / `skill:name` 在 pre-step 注入内容):独立于上下文组装出口,
60
+ # 所以装在这里——它只挂 `agent/pre-step`、`inject` 只有 `skills`,不需要通道服务。
61
+ - id: reference
62
+ name: "@morlay/dsh-reference"
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Session Editing",
4
+ "description": "dsh profile bundle: assembles @morlay/session-branch, @morlay/session-rdb, @morlay/ui-conversation-message-actions and the thin-shell fork of the conversation shell into a web profile — the rewind / retry / recall / fork closed loop."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "会话编辑装配",
4
+ "description": "profile 聚合 bundle:把 @morlay/session-branch、@morlay/session-rdb、@morlay/ui-conversation-message-actions 与对话外壳的薄壳 fork 行装进 web profile,提供就地编辑 / 重试 / 撤回 / 分支(rewind / retry / recall / fork)闭环。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@morlay/better-session",
3
- "version": "0.0.21-alpha.6",
4
- "description": "Example dsh profile bundle: assembles @morlay/session-rdb and @morlay/ui-conversation-message-actions into a web profile — rewind / retry / fork closed loop on RDB persistence.",
3
+ "version": "0.0.21-alpha.8",
4
+ "description": "dsh profile bundle: assembles @morlay/session-branch, @morlay/session-rdb, @morlay/ui-conversation-message-actions and the thin-shell fork of the conversation shell (only the files we changed, the rest imported from upstream source) into a DeepSeek Harness web profile — the rewind / retry / recall / fork closed loop on RDB persistence.",
5
5
  "keywords": [
6
6
  "dsh",
7
7
  "dsh-bundle",
@@ -17,6 +17,7 @@
17
17
  "url": "https://github.com/morlay/dsh-plugin.git"
18
18
  },
19
19
  "files": [
20
+ "locale/*.json",
20
21
  "dist",
21
22
  "src",
22
23
  "cordis.patch.yml",
@@ -26,18 +27,20 @@
26
27
  "exports": {
27
28
  ".": "./dist/index.mjs",
28
29
  "./package.json": "./package.json",
29
- "./cordis.patch.yml": "./cordis.patch.yml"
30
+ "./cordis.patch.yml": "./cordis.patch.yml",
31
+ "./locale/*.json": "./locale/*.json"
30
32
  },
31
33
  "dependencies": {
32
- "@morlay/dsh-client-ui-conversation": "0.0.2-alpha.6",
33
- "@morlay/dsh-client-ui-primitives": "0.0.2-alpha.6",
34
- "@morlay/session-branch": "0.0.10-alpha.6",
35
- "@morlay/session-rdb": "0.0.21-alpha.6",
36
- "@morlay/ui-conversation-manager": "0.0.2-alpha.6",
37
- "@morlay/ui-conversation-message-actions": "0.0.19-alpha.6"
34
+ "@morlay/dsh-client-ui-conversation": "0.0.2-alpha.8",
35
+ "@morlay/dsh-client-ui-primitives": "0.0.2-alpha.8",
36
+ "@morlay/dsh-reference": "0.0.1-alpha.3",
37
+ "@morlay/session-branch": "0.0.10-alpha.8",
38
+ "@morlay/session-rdb": "0.0.21-alpha.8",
39
+ "@morlay/ui-conversation-manager": "0.0.2-alpha.8",
40
+ "@morlay/ui-conversation-message-actions": "0.0.19-alpha.8"
38
41
  },
39
42
  "peerDependencies": {
40
- "@deepseek-ai/cordis": "4.0.3"
43
+ "@deepseek-ai/cordis": "4.0.4"
41
44
  },
42
45
  "dsh": {
43
46
  "bundle": {