dsh-neotui 0.0.0 → 0.0.1

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.
Files changed (2) hide show
  1. package/README.md +14 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,16 +2,24 @@
2
2
 
3
3
  DeepSeek Harness 的终端客户端(B 档范围,按 `../dsh-tui-design.md`)。纯 Node 标准库,零依赖。
4
4
 
5
+ ## 安装(推荐:从 npm 装成 profile)
6
+
7
+ ```bash
8
+ npm i -g pnpm # 首次需要 pnpm(dsh plugin 通过它安装)
9
+ dsh plugin --profile dsh-neotui add dsh-neotui-app # 装 bundle,自动加入 profile 层栈
10
+ dsh --profile dsh-neotui # 启动
11
+ ```
12
+
5
13
  ## 运行
6
14
 
7
15
  ```bash
8
- npx dsh --profile ntui # 自带宿主:TUI + 内嵌 API(推荐,已装到 ~/.dsh/profiles/ntui)
9
- npx dsh --profile ntui --session <id> # 启动即打开某会话
10
- npx dsh --profile ntui --cwd ~/work # 新建会话的默认目录
11
- npx dsh --profile ntui --port 3981 # 内嵌 API 指定端口(默认 0 = 系统分配)
12
- npx dsh --profile ntui --attach 3080 # 共存调试:连已运行的 web 宿主(存储自动隔离,不碰 $DSH_HOME)
16
+ dsh --profile dsh-neotui # 本地开发 profile(~/.dsh/profiles/dsh-neotui,软链到本仓库)
17
+ dsh --profile dsh-neotui --session <id> # 启动即打开某会话
18
+ dsh --profile dsh-neotui --cwd ~/work # 新建会话的默认目录
19
+ dsh --profile dsh-neotui --port 3981 # 内嵌 API 指定端口(默认 0 = 系统分配)
20
+ dsh --profile dsh-neotui --attach 3080 # 共存调试:连已运行的 web 宿主(存储自动隔离,不碰 $DSH_HOME)
13
21
 
14
- node bin/dsh-tui.js # 纯客户端模式:连接已运行的 web 宿主(默认 3080)
22
+ node bin/dsh-tui.js # 纯客户端模式:连接已运行的 web 宿主(默认 3080)
15
23
  node bin/dsh-tui.js --base http://host:port
16
24
  ```
17
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-neotui",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "Neo-TUI: mouse-driven terminal UI client for DeepSeek Harness (B-tier per dsh-tui-design.md)",
5
5
  "type": "module",
6
6
  "bin": { "dsh-neotui": "bin/dsh-tui.js" },