dsh-life-pipline 0.2.0 → 0.2.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/README.md +15 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dsh-life-pipline
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
DeepSeek Harness 的「生活管线」整合包:一个 bundle 只管声明,每个组件是独立包,独立设计、独立验收。
|
|
4
4
|
|
|
5
5
|
设计稿在 [`不入库/管线规划.md`](不入库/管线规划.md),配置页视觉稿在 [`不入库/设计/dsh-life-chat-配置页.html`](不入库/设计/dsh-life-chat-配置页.html)。
|
|
6
6
|
|
|
@@ -38,8 +38,8 @@ dsh-life-pipline/ # bundle:只有清单,没有实现
|
|
|
38
38
|
| 位置 | 包 | 显示名 | 图标 |
|
|
39
39
|
| --- | --- | --- | --- |
|
|
40
40
|
| 插件列表卡片 | `dsh-life-pipline` | **Life Pipline** | [`assets/icon.png`](assets/icon.png) |
|
|
41
|
-
| 「包含的组件」行 | `dsh-lpipe-chat` | **
|
|
42
|
-
| 组件配置页标题 | `dsh-lpipe-chat` | **
|
|
41
|
+
| 「包含的组件」行 | `dsh-lpipe-chat` | **Lpipe Chat** | [`components/dsh-lpipe-chat/assets/icon.png`](components/dsh-lpipe-chat/assets/icon.png) |
|
|
42
|
+
| 组件配置页标题 | `dsh-lpipe-chat` | **Lpipe Chat** | — |
|
|
43
43
|
|
|
44
44
|
标题和简介来自包导出的 `locale/en.json`、`locale/zh.json` 的 `meta.title` / `meta.description`,由宿主的 `readPluginMeta` 读取,缺失时才回退 `package.json` 的 `name` / `description`;图标来自 `package.json` 的 `icon` 字段,必须在包目录内、≤256 KiB。两条路径都要在 `exports` 里放行,否则宿主解析不到。
|
|
45
45
|
|
|
@@ -68,7 +68,7 @@ dsh-life-pipline/ # bundle:只有清单,没有实现
|
|
|
68
68
|
|
|
69
69
|
工具:`chat_send`、`chat_history`、`chat_login`、`chat_status`。
|
|
70
70
|
|
|
71
|
-
**配置页**:设置 → 插件 → Life Pipline 的详情正文里(`plugins.bundle.config` 槽,按 bundle 包名 `dsh-life-pipline` 挂载)。主会话 id 输入并回显会话标题、兜窗口秒数、微信/QQ
|
|
71
|
+
**配置页**:设置 → 插件 → Life Pipline 的详情正文里(`plugins.bundle.config` 槽,按 bundle 包名 `dsh-life-pipline` 挂载)。主会话 id 输入并回显会话标题、兜窗口秒数、微信/QQ 状态与扫码接入(二维码直接画在页面上,需要配对码时出现输入框)。主会话在会话栏的行首带一枚小气泡标记(`assets/session-mark.png`,青蓝对半,内联成 data URL;挂在宿主的 `sidebar.session.row.leading` 槽位上,按 `sessionId` 判断是不是主会话)。面板只用宿主的 `--dsw-alias-*` 设计 token,深浅色主题跟着宿主走。
|
|
72
72
|
|
|
73
73
|
配置页通过 Host 的 `/api/dsh-lpipe-chat` 管理通道与页面通信(`chat.status` / `chat.config.save` / `chat.session.title` / `chat.login.begin` / `chat.login.state` / `chat.login.code` / `chat.login.cancel`),凭据只留在 Host 侧,页面只能看到「已连接/未连接」。
|
|
74
74
|
|
|
@@ -85,7 +85,17 @@ node components/dsh-lpipe-chat/scripts/build-client.mjs # → lib/client.js(
|
|
|
85
85
|
3. `cordis.patch.yml` 加一行,`name` 用裸包名。
|
|
86
86
|
4. 跑 `node scripts/install-local.mjs` 重新装进 profile。
|
|
87
87
|
|
|
88
|
-
##
|
|
88
|
+
## 安装
|
|
89
|
+
|
|
90
|
+
普通用户装整合包,组件作为依赖自动带上:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pnpm add dsh-life-pipline # 或在插件页里搜 Life Pipline
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
`dsh-life-pipline` 的 `dependencies` 里写着 `dsh-lpipe-chat`,所以装一个就得到全部组件;组件本身也可以单独装(见 [components/dsh-lpipe-chat/README.md](components/dsh-lpipe-chat/README.md))。
|
|
97
|
+
|
|
98
|
+
## 安装到本机 profile(开发)
|
|
89
99
|
|
|
90
100
|
```bash
|
|
91
101
|
node scripts/install-local.mjs # 写入 profile package.json 并 pnpm install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-life-pipline",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "A DSH life bundle that grows one component at a time.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
"deepseek-harness"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"dsh-lpipe-chat": "^0.2.
|
|
47
|
+
"dsh-lpipe-chat": "^0.2.2"
|
|
48
48
|
}
|
|
49
49
|
}
|