ai-lab-bridge 0.1.7 → 0.1.8

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/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -795,7 +795,8 @@ function startSession(message) {
795
795
  } else if (cli === "qwen") {
796
796
  // qwen 0.24+ 与 claude 同源(实测 0.24.6 stream-json 格式兼容),启动参数使用 qwen 自己的
797
797
  // --approval-mode(5 档:plan/default/auto-edit/auto/yolo),不复用 claude 的 --permission-mode
798
- argv = [cli, ["-p", "--output-format", "stream-json", "--verbose"]];
798
+ // 注意:不能带 --verbose(那是 Claude Code 的参数,qwen 会报 Unknown argument 并退出 1)
799
+ argv = [cli, ["-p", "--output-format", "stream-json"]];
799
800
  if (sessionRef) argv[1].push("--resume", sessionRef);
800
801
  if (options.permission_mode) argv[1].push("--approval-mode", String(options.permission_mode));
801
802
  if (options.model) argv[1].push("--model", String(options.model));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-lab-bridge",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "AI 开发平台设备桥接进程:反连平台 WebSocket,驱动本地 Claude Code / Codex CLI 执行任务并回传事件流",
5
5
  "license": "MIT",
6
6
  "files": [