@saltpub/xiaojiu-agent-bridge 0.1.4 → 0.1.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # xiaojiu-agent-bridge
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Highlights
6
+
7
+ - `/config` 卡片新增「发消息 API 版本」选择(v1/v2),并支持 `/config set api <v1|v2>` 直接切换,保存后立即生效无需重启
8
+ - 工具调用显示默认改为关闭;未显式配置时只发送最终答复,COT 过程消息仍默认关闭
9
+ - 优化长程会话上下文:续跑省略重复指令与静态元数据,增加冷唤醒重建及 `/resume previous`,补齐缓存 token 观测;在 profile 内提供按 workspace 共享、UUID 独立笔记的 memory,避免跨 scope 并发写丢失。
10
+ - 修复 Windows 上 `ui` 命令无法打开浏览器:spawn 改为 detached,避免 CLI 退出时 cmd 子进程被终止
11
+ - `update` 命令执行 `npm install -g` 时固定使用 `--registry=https://registry.npmjs.org`,避免本地 npm 配置指向其他镜像导致升级失败
12
+
13
+ ### Added
14
+
15
+ - feat(context): 优化长程会话上下文与共享记忆
16
+ - feat(config): 支持直接配置发消息 API 版本 v1/v2
17
+
18
+ ### Fixed
19
+
20
+ - fix(cli): 修复 Windows 下 ui 命令无法打开浏览器
21
+ - fix(config): 工具调用显示默认关闭
22
+ - fix(cli): update 命令固定使用 npmjs registry
23
+
3
24
  ## 0.1.4
4
25
 
5
26
  ### Highlights
package/README.md CHANGED
@@ -112,7 +112,7 @@ xiaojiu-agent-bridge stop
112
112
  | `/agent <claude\|codex\|pi\|opencode\|omp>` | 空闲时切换当前 profile 的 Agent |
113
113
  | `/cd <path>` | 切换工作目录并重置会话(路径会发进当前聊天;也可在本机 Web 控制台按会话绑定) |
114
114
  | `/ws list`、`/ws save <name>`、`/ws use <name>` | 管理当前会话的命名工作空间 |
115
- | `/resume` | 恢复兼容的历史会话 |
115
+ | `/resume`、`/resume previous` | 查看兼容历史;恢复当前 scope 的上一归档会话(群内不展示详情) |
116
116
  | `/invite user @某人` | 允许用户私聊使用 |
117
117
  | `/invite admin @某人` | 添加管理员 |
118
118
  | `/invite group` | 允许当前群或频道使用 |
@@ -130,9 +130,11 @@ xiaojiu-agent-bridge stop
130
130
 
131
131
  密钥由 bridge 加密存储;如需迁移 profile,可使用 `profile export`,并谨慎处理包含 secrets 的导出内容。
132
132
 
133
+ 长会话会省略重复指令;长时间空闲且输入用量较大时,用近期对话重建上下文。Bot/群指令更新也会建立新会话,避免旧规则残留;可用 `/resume previous` 恢复上一归档。长期笔记按 workspace 共享,存放于 profile 内部,不修改工作区文件。参数与并发边界见 [`docs/runtime/context-management.md`](./docs/runtime/context-management.md)。
134
+
133
135
  ## 版本更新
134
136
 
135
- CLI 在交互式终端中每 24 小时检查一次 npm Registry,不阻塞命令启动。为避免干扰首次配置或交互式界面,提示只会在支持的终端会话中显示。手动升级会拉取 latest 的 What's new,并默认执行 `npm install -g`:
137
+ CLI 在交互式终端中每 24 小时检查一次 npm Registry,不阻塞命令启动。为避免干扰首次配置或交互式界面,提示只会在支持的终端会话中显示。手动升级会拉取 latest 的 What's new,并默认执行 `npm install -g --registry=https://registry.npmjs.org`:
136
138
 
137
139
  ```bash
138
140
  xiaojiu-agent-bridge update