yg-team-cli 2.1.2 → 2.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/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -490,7 +490,7 @@ ${promptText}`;
|
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
const args = ["
|
|
493
|
+
const args = ["-p", finalPrompt];
|
|
494
494
|
const result = await execa("claude", args, {
|
|
495
495
|
stdio: this.verbose ? "inherit" : "pipe",
|
|
496
496
|
timeout: options?.timeout || 3e5,
|
|
@@ -537,7 +537,7 @@ ${stderr}` : ""}`);
|
|
|
537
537
|
const role = msg.role === "system" ? "\u7CFB\u7EDF\u6307\u4EE4" : `${msg.role === "user" ? "\u7528\u6237" : "\u52A9\u624B"}`;
|
|
538
538
|
return `[${role}]: ${msg.content}`;
|
|
539
539
|
}).join("\n\n");
|
|
540
|
-
const args = ["
|
|
540
|
+
const args = ["-p", fullPrompt];
|
|
541
541
|
const result = await execa("claude", args, {
|
|
542
542
|
stdio: this.verbose ? "inherit" : "pipe",
|
|
543
543
|
timeout: options?.timeout || 3e5,
|
|
@@ -5873,7 +5873,7 @@ var init_index = __esm({
|
|
|
5873
5873
|
init_config();
|
|
5874
5874
|
init_diff();
|
|
5875
5875
|
program = new Command16();
|
|
5876
|
-
program.name("team-cli").description("AI-Native \u56E2\u961F\u7814\u53D1\u811A\u624B\u67B6").version("2.1.
|
|
5876
|
+
program.name("team-cli").description("AI-Native \u56E2\u961F\u7814\u53D1\u811A\u624B\u67B6").version("2.1.3");
|
|
5877
5877
|
program.option("-v, --verbose", "\u8BE6\u7EC6\u8F93\u51FA\u6A21\u5F0F").option("--debug", "\u8C03\u8BD5\u6A21\u5F0F");
|
|
5878
5878
|
program.addCommand(initCommand);
|
|
5879
5879
|
program.addCommand(splitPrdCommand);
|