wezard 1.3.2 → 1.3.3

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 +5 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -40,6 +40,7 @@
40
40
  - [文档 / 智能表格 / 智能文档](#文档--智能表格--智能文档)
41
41
  - [事件订阅 / 定时广播](#事件订阅--定时广播)
42
42
  - [一个聊天里跑多个会话(`#tag` 路由)](#一个聊天里跑多个会话tag-路由)
43
+ - [跨聊天:给聊天命名](#跨聊天给聊天命名)
43
44
  - [多 CLI 后端](#多-cli-后端claude--claude-internal--codebuddy)
44
45
  - [Prompt-cache 保活(省钱心跳)](#prompt-cache-保活省钱心跳)
45
46
  - [常用命令](#常用命令)
@@ -54,7 +55,7 @@
54
55
 
55
56
  ## 快速开始
56
57
 
57
- **前置**:macOS / Linux、Node ≥ 20、`tmux`、PATH 里能找到 `claude` `claude-internal`、企业微信「智能机器人」的 `botId` + `secret`。
58
+ **前置**:macOS / Linux、Node ≥ 20、`tmux`、PATH 里能找到 `claude` / `claude-internal` / `codebuddy`(至少一个)、企业微信「智能机器人」的 `botId` + `secret`。
58
59
 
59
60
  ```bash
60
61
  npm install -g wezard
@@ -66,10 +67,11 @@ wezard init
66
67
  | 问什么 | 落到哪 |
67
68
  | --- | --- |
68
69
  | botId / secret | `~/.wezard/secrets.json` |
69
- | 用哪个 Claude(`claude` / `claude-internal` / 自定义路径) | `~/.wezard/config.jsonc` |
70
+ | 用哪些 Claude agent(`claude` / `claude-internal` / `codebuddy`,可多选) | `~/.wezard/config.jsonc` |
71
+ | wrc 模式(`mirror` 推荐 / `headless`) | `~/.wezard/config.jsonc` |
70
72
  | 是否开启 PreToolUse 远程审批 | `~/.wezard/config.jsonc` |
71
73
 
72
- 然后自动:编译 → 注入 hook/MCP → 装常驻 daemon(macOS launchd / Linux systemd --user)→ 等 WebSocket 鉴权。
74
+ 然后自动:编译 → 注入 hook/MCP(claude 家族装 wezard 插件,codebuddy 直接写 settings.json)→ 装 svr 详情中继 → 装常驻 daemon(macOS launchd / Linux systemd --user)→ 等 WebSocket 鉴权。已装过的凭证默认复用,还会把 Claude Code 的 `permissions` 一次性导入审批规则。
73
75
 
74
76
  **最后一步:绑定默认会话。** CLI 提示后,**在企业微信里**给机器人发:
75
77
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wezard",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Bridge Claude Code and WeCom: PreToolUse approval cards + bidirectional tmux session mirror with image paste",
5
5
  "type": "module",
6
6
  "license": "MIT",