@co0ontty/wand 2.0.1 → 2.0.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 +10 -43
- package/dist/build-info.json +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,49 +5,6 @@
|
|
|
5
5
|
[](https://nodejs.org)
|
|
6
6
|
[](https://github.com/co0ontty/wand/commits/master)
|
|
7
7
|
|
|
8
|
-
## 安装
|
|
9
|
-
|
|
10
|
-
### 一键安装
|
|
11
|
-
|
|
12
|
-
自动检测并安装 Node.js(需要 v22+),然后安装 wand:
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
bash <(curl -Ls https://raw.githubusercontent.com/co0ontty/wand/master/install.sh)
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
装完后脚本会询问:
|
|
19
|
-
|
|
20
|
-
- **1) 装为系统服务(推荐,默认)** — 写入 system-wide systemd(`/etc/systemd/system/wand.service`)或 launchd LaunchDaemon(`/Library/LaunchDaemons/com.wand.web.plist`),后台运行、开机自启、崩了自重启。**需要 sudo**(脚本会自动加)。
|
|
21
|
-
- **2) 单次启动** — 不装服务,之后手动跑 `wand web`。
|
|
22
|
-
|
|
23
|
-
> 通过管道运行(`bash <(curl ...)`)时 stdin 不是终端,默认走 **1(系统服务)**。想强制单次启动可以 `WAND_INSTALL_MODE=oneshot bash install.sh`。
|
|
24
|
-
>
|
|
25
|
-
> 不想用 sudo?可以装 user-level 版本:`wand service:install --user`(写入 `~/.config/systemd/user/wand.service`,登出会被回收,除非 `loginctl enable-linger $USER`)。
|
|
26
|
-
|
|
27
|
-
### 手动安装
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
npm install -g @co0ontty/wand
|
|
31
|
-
wand init
|
|
32
|
-
sudo wand service:install # 装为系统服务(system-wide, 默认)
|
|
33
|
-
# 或者:wand service:install --user # 不要 sudo,但登出会被回收
|
|
34
|
-
wand web # 没服务时启动新实例;有服务时 attach TUI
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
安装完成后打开浏览器访问终端中提示的地址即可。
|
|
38
|
-
|
|
39
|
-
### 升级
|
|
40
|
-
|
|
41
|
-
推荐用同一条一键脚本升级(脚本会自动停掉正在运行的 wand 进程、清理 npm 改名残留再装最新版):
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
bash <(curl -Ls https://raw.githubusercontent.com/co0ontty/wand/master/install.sh)
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
> 也可以直接在网页设置里点「更新」按钮,或在 TUI 模式按 `u`,wand 自己会调用同样的清理逻辑。Web 端点击更新后会自动重启服务,无需手动操作。
|
|
48
|
-
|
|
49
|
-
如果以前装过 systemd 自启服务但还是 `Restart=on-failure`(v1.25.x 前的版本),重新跑 `sudo wand service:install` 重装服务即可换成 `Restart=always`,自动更新后才能正确拉起新进程。
|
|
50
|
-
|
|
51
8
|
## 概览
|
|
52
9
|
|
|
53
10
|
通过浏览器远程访问和管理本地 CLI 工具的 Web 控制台。专为 [Claude Code](https://docs.anthropic.com/en/docs/claude-code) 和 [Codex](https://github.com/openai/codex) 设计,支持终端和结构化对话双视图、会话持久化与恢复、权限管控、文件浏览、多平台客户端。
|
|
@@ -60,6 +17,16 @@ bash <(curl -Ls https://raw.githubusercontent.com/co0ontty/wand/master/install.s
|
|
|
60
17
|
<img src="docs/screenshots/hero.png" width="100%" alt="PTY 终端与结构化对话双视图" />
|
|
61
18
|
</p>
|
|
62
19
|
|
|
20
|
+
## 安装
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
bash <(curl -Ls https://raw.githubusercontent.com/co0ontty/wand/master/install.sh)
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install -g @co0ontty/wand
|
|
28
|
+
```
|
|
29
|
+
|
|
63
30
|
## 功能
|
|
64
31
|
|
|
65
32
|
### 核心
|
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
3
|
-
"builtAt": "2026-06-28T01:
|
|
4
|
-
"version": "2.0.
|
|
2
|
+
"commit": "98723cdc7b973dd7f95fb0913f4647a4648744be",
|
|
3
|
+
"builtAt": "2026-06-28T01:24:54.684Z",
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"channel": "stable"
|
|
6
6
|
}
|