@saltpub/xiaojiu-agent-bridge 0.1.2 → 0.1.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.
- package/CHANGELOG.md +23 -0
- package/LICENSE +20 -20
- package/README.md +2 -2
- package/dist/cli.js +1093 -422
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# xiaojiu-agent-bridge
|
|
2
2
|
|
|
3
|
+
## 0.1.3
|
|
4
|
+
|
|
5
|
+
### Highlights
|
|
6
|
+
|
|
7
|
+
- 本机控制台可按会话绑定工作目录,并用群列表 / 会话信息补全允许响应会话的名称。
|
|
8
|
+
- 本机控制台可配置 Bot 默认系统提示词和按群叠加的附加指令,下一轮对话生效且不重置会话。
|
|
9
|
+
- 对齐 OpenCode v2:`run` 改为 `--auto`,工作目录走进程 cwd(不再传已移除的 `--dir` / `--dangerously-skip-permissions`)。
|
|
10
|
+
- 最终回复发送失败时(如平台审核返回 405 内容包含敏感信息)改为发送一条包含失败原因的提示消息,避免 bot 静默不回复。
|
|
11
|
+
- 发消息默认走 `/open/im/v2/messages`,可在本机控制台切回 v1。
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- feat(release): 增加本机多阶段 npm 发版编排
|
|
16
|
+
- feat(ui): 控制台可配置 Bot 与群系统提示词
|
|
17
|
+
- feat(ui): 控制台按会话绑定工作区并补全群名
|
|
18
|
+
- feat(channel): 发消息默认走 Xiaojiu IM v2
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- fix(release): Windows 下正确启动带空格的 node 路径
|
|
23
|
+
- fix(agent): 对齐 OpenCode v2 的 run 参数
|
|
24
|
+
- fix(bot): 发送失败时补发失败原因提示
|
|
25
|
+
|
|
3
26
|
## 0.1.2
|
|
4
27
|
|
|
5
28
|
### Highlights
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Xiaojiu Agent Bridge contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Xiaojiu Agent Bridge contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -110,8 +110,8 @@ xiaojiu-agent-bridge stop
|
|
|
110
110
|
| `/new`、`/reset` | 清空当前会话 |
|
|
111
111
|
| `/status` | 查看 profile、Agent、工作目录和运行状态 |
|
|
112
112
|
| `/agent <claude\|codex\|pi\|opencode\|omp>` | 空闲时切换当前 profile 的 Agent |
|
|
113
|
-
| `/cd <path>` |
|
|
114
|
-
| `/ws list`、`/ws save <name>`、`/ws use <name>` |
|
|
113
|
+
| `/cd <path>` | 切换工作目录并重置会话(路径会发进当前聊天;也可在本机 Web 控制台按会话绑定) |
|
|
114
|
+
| `/ws list`、`/ws save <name>`、`/ws use <name>` | 管理当前会话的命名工作空间 |
|
|
115
115
|
| `/resume` | 恢复兼容的历史会话 |
|
|
116
116
|
| `/invite user @某人` | 允许用户私聊使用 |
|
|
117
117
|
| `/invite admin @某人` | 添加管理员 |
|