@fengye404/termpilot 0.1.9 → 0.2.0

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.
@@ -7,7 +7,7 @@
7
7
  - 一台服务器,或者一台手机能访问到的局域网机器
8
8
  - 一台作为主力开发机的电脑
9
9
  - 电脑上已经安装 `tmux`
10
- - 两端都安装了 `Node.js`
10
+ - 两端都安装了 `Node.js 22+`
11
11
 
12
12
  安装 TermPilot:
13
13
 
@@ -5,7 +5,7 @@
5
5
  这次技术选型只保留已经拍板的方案,不再保留多余备选。
6
6
 
7
7
  - 语言:TypeScript
8
- - 运行时:Node.js 24 LTS
8
+ - 运行时:Node.js 22+(推荐 24 LTS
9
9
  - 包管理:pnpm workspace
10
10
 
11
11
  手机端 `app/`:
@@ -74,4 +74,4 @@ TermPilot 现在要的不是“技术看起来完整”,而是:
74
74
 
75
75
  ## 一句话总结
76
76
 
77
- **TermPilot 当前最合理、最 AI 友好的全栈方案,就是 `TypeScript + Node.js 24 LTS + pnpm workspace`,在此基础上,手机端用 `React + Vite + Tailwind CSS + xterm.js`,中继服务用 `Fastify + WebSocket + PostgreSQL`,PC 端围绕 `tmux`。**
77
+ **TermPilot 当前最合理、最 AI 友好的全栈方案,就是 `TypeScript + Node.js 22+ + pnpm workspace`,在此基础上,手机端用 `React + Vite + Tailwind CSS + xterm.js`,中继服务用 `Fastify + WebSocket + PostgreSQL`,PC 端围绕 `tmux`。推荐运行在 Node.js 24 LTS 上,但不强制要求。**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fengye404/termpilot",
3
- "version": "0.1.9",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@10.31.0",
6
6
  "description": "一个基于 tmux 的终端会话跨端查看与控制原型。",
@@ -15,7 +15,7 @@
15
15
  ".env.example"
16
16
  ],
17
17
  "engines": {
18
- "node": ">=24"
18
+ "node": ">=22"
19
19
  },
20
20
  "publishConfig": {
21
21
  "access": "public"