@morlay/better-session 0.1.3 → 0.1.4
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 +8 -7
- package/cordis.patch.yml +0 -6
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +7 -9
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# @morlay/better-session
|
|
2
2
|
|
|
3
3
|
profile 聚合 bundle:一次性装配 `@morlay/session-branch`、`@morlay/session-rdb`、
|
|
4
|
-
`@morlay/ui-conversation-message-actions`、`@morlay/ui-conversation-manager`、`@morlay/dsh-reference`
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
`@morlay/ui-conversation-message-actions`、`@morlay/ui-conversation-manager`、`@morlay/dsh-reference` 到 DeepSeek
|
|
5
|
+
Harness 的 profile,提供**就地编辑 / 重试 / 撤回 / 分支**(rewind / retry / recall / fork)闭环。对话外壳走**官方
|
|
6
|
+
`ui-conversation` 行**,我们的扩展只注册在它的槽位上(`conversation.chat.node` / `conversation.composer.dock`)。
|
|
7
7
|
|
|
8
8
|
## 安装
|
|
9
9
|
|
|
@@ -11,10 +11,11 @@ profile 聚合 bundle:一次性装配 `@morlay/session-branch`、`@morlay/sess
|
|
|
11
11
|
dsh plugin --profile web add "@morlay/better-session"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
安装带上全部子包,bundle patch([`cordis.patch.yml`](./cordis.patch.yml)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[设计 会话编辑闭环装配](./.agents/designs/20260917-会话编辑闭环装配.md)
|
|
14
|
+
安装带上全部子包,bundle patch([`cordis.patch.yml`](./cordis.patch.yml))自动装配四层服务,并把官方
|
|
15
|
+
`session-persistence-jsonl` / `storage-json` / `session-projection-cache` / `session-query-sqlite` 那几行换掉
|
|
16
|
+
(对话 UI 行不动)。装了什么、为什么这么换、边界在哪,见
|
|
17
|
+
[设计 会话编辑闭环装配](./.agents/designs/20260917-会话编辑闭环装配.md)与
|
|
18
|
+
[ADR 不 fork 上游前端组件](../../../.agents/adrs/20261001-不fork上游前端组件只做插槽扩展.md)。
|
|
18
19
|
|
|
19
20
|
## 使用
|
|
20
21
|
|
package/cordis.patch.yml
CHANGED
|
@@ -10,8 +10,6 @@
|
|
|
10
10
|
- id: storage-domain
|
|
11
11
|
config:
|
|
12
12
|
backend: rdb
|
|
13
|
-
- id: ui-conversation
|
|
14
|
-
disabled: true
|
|
15
13
|
- insert:
|
|
16
14
|
- id: session-branch
|
|
17
15
|
name: "@morlay/session-branch"
|
|
@@ -22,10 +20,6 @@
|
|
|
22
20
|
path: !!js dshHomePath('sessions', 'sessions.sqlite')
|
|
23
21
|
- id: ui-conversation-message-actions
|
|
24
22
|
name: "@morlay/ui-conversation-message-actions"
|
|
25
|
-
- id: ui-conversation-fork
|
|
26
|
-
name: "@morlay/dsh-client-ui-conversation"
|
|
27
|
-
- id: ui-primitives-fork
|
|
28
|
-
name: "@morlay/dsh-client-ui-primitives"
|
|
29
23
|
- id: ui-conversation-manager
|
|
30
24
|
name: "@morlay/ui-conversation-manager"
|
|
31
25
|
- id: reference
|
package/locale/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "Session Editing",
|
|
4
|
-
"description": "dsh profile bundle: assembles @morlay/session-branch, @morlay/session-rdb, @morlay/ui-conversation-message-actions, @morlay/ui-conversation-manager and @morlay/dsh-reference
|
|
4
|
+
"description": "dsh profile bundle: assembles @morlay/session-branch, @morlay/session-rdb, @morlay/ui-conversation-message-actions, @morlay/ui-conversation-manager and @morlay/dsh-reference into a web profile — the rewind / retry / recall / fork closed loop on RDB persistence; the conversation shell stays on the official ui-conversation row and our extensions only register on its slots."
|
|
5
5
|
}
|
|
6
6
|
}
|
package/locale/zh.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "会话编辑装配",
|
|
4
|
-
"description": "profile 聚合 bundle:把 @morlay/session-branch、@morlay/session-rdb、@morlay/ui-conversation-message-actions、@morlay/ui-conversation-manager 与 @morlay/dsh-reference
|
|
4
|
+
"description": "profile 聚合 bundle:把 @morlay/session-branch、@morlay/session-rdb、@morlay/ui-conversation-message-actions、@morlay/ui-conversation-manager 与 @morlay/dsh-reference 装进 web profile,提供就地编辑 / 重试 / 撤回 / 分支(rewind / retry / recall / fork)闭环;对话外壳走官方 ui-conversation 行,扩展只注册在它的槽位上。"
|
|
5
5
|
}
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/better-session",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "dsh profile bundle: assembles @morlay/session-branch, @morlay/session-rdb, @morlay/ui-conversation-message-actions, @morlay/ui-conversation-manager and @morlay/dsh-reference
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"description": "dsh profile bundle: assembles @morlay/session-branch, @morlay/session-rdb, @morlay/ui-conversation-message-actions, @morlay/ui-conversation-manager and @morlay/dsh-reference into a DeepSeek Harness web profile — the rewind / retry / recall / fork closed loop on RDB persistence, with the conversation shell left on the official ui-conversation row and our extensions registered on its slots only.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|
|
7
7
|
"dsh-bundle",
|
|
@@ -32,13 +32,11 @@
|
|
|
32
32
|
"./locale/*.json": "./locale/*.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@morlay/dsh-
|
|
36
|
-
"@morlay/
|
|
37
|
-
"@morlay/
|
|
38
|
-
"@morlay/
|
|
39
|
-
"@morlay/
|
|
40
|
-
"@morlay/ui-conversation-manager": "0.1.3",
|
|
41
|
-
"@morlay/ui-conversation-message-actions": "0.1.3"
|
|
35
|
+
"@morlay/dsh-reference": "0.0.5",
|
|
36
|
+
"@morlay/session-branch": "0.1.4",
|
|
37
|
+
"@morlay/session-rdb": "0.1.4",
|
|
38
|
+
"@morlay/ui-conversation-manager": "0.1.4",
|
|
39
|
+
"@morlay/ui-conversation-message-actions": "0.1.4"
|
|
42
40
|
},
|
|
43
41
|
"peerDependencies": {
|
|
44
42
|
"@deepseek-ai/cordis": "^4.0.4"
|