yg-team-cli 2.1.5 → 2.1.6

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/dist/cli.js CHANGED
@@ -494,7 +494,7 @@ ${promptText}`;
494
494
  }
495
495
  }
496
496
  await fs2.writeFile(tempFile, finalPrompt, "utf-8");
497
- const result = await execa("claude", [tempFile], {
497
+ const result = await execa("claude", ["--dangerously-skip-permissions", tempFile], {
498
498
  stdio: "inherit",
499
499
  timeout: options?.timeout || 3e5
500
500
  // 默认 5 分钟
@@ -530,7 +530,7 @@ ${promptText}`;
530
530
  return `[${role}]: ${msg.content}`;
531
531
  }).join("\n\n");
532
532
  await fs2.writeFile(tempFile, fullPrompt, "utf-8");
533
- const result = await execa("claude", [tempFile], {
533
+ const result = await execa("claude", ["--dangerously-skip-permissions", tempFile], {
534
534
  stdio: "inherit",
535
535
  timeout: options?.timeout || 3e5
536
536
  });
@@ -5864,7 +5864,7 @@ var init_index = __esm({
5864
5864
  init_config();
5865
5865
  init_diff();
5866
5866
  program = new Command16();
5867
- program.name("team-cli").description("AI-Native \u56E2\u961F\u7814\u53D1\u811A\u624B\u67B6").version("2.1.5");
5867
+ program.name("team-cli").description("AI-Native \u56E2\u961F\u7814\u53D1\u811A\u624B\u67B6").version("2.1.6");
5868
5868
  program.option("-v, --verbose", "\u8BE6\u7EC6\u8F93\u51FA\u6A21\u5F0F").option("--debug", "\u8C03\u8BD5\u6A21\u5F0F");
5869
5869
  program.addCommand(initCommand);
5870
5870
  program.addCommand(splitPrdCommand);