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/index.js
CHANGED
|
@@ -927,7 +927,7 @@ ${promptText}`;
|
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
|
-
const args = ["
|
|
930
|
+
const args = ["-p", finalPrompt];
|
|
931
931
|
const result = await execa("claude", args, {
|
|
932
932
|
stdio: this.verbose ? "inherit" : "pipe",
|
|
933
933
|
timeout: options?.timeout || 3e5,
|
|
@@ -974,7 +974,7 @@ ${stderr}` : ""}`);
|
|
|
974
974
|
const role = msg.role === "system" ? "\u7CFB\u7EDF\u6307\u4EE4" : `${msg.role === "user" ? "\u7528\u6237" : "\u52A9\u624B"}`;
|
|
975
975
|
return `[${role}]: ${msg.content}`;
|
|
976
976
|
}).join("\n\n");
|
|
977
|
-
const args = ["
|
|
977
|
+
const args = ["-p", fullPrompt];
|
|
978
978
|
const result = await execa("claude", args, {
|
|
979
979
|
stdio: this.verbose ? "inherit" : "pipe",
|
|
980
980
|
timeout: options?.timeout || 3e5,
|
|
@@ -5693,7 +5693,7 @@ var Table = class {
|
|
|
5693
5693
|
|
|
5694
5694
|
// src/index.ts
|
|
5695
5695
|
var program = new Command16();
|
|
5696
|
-
program.name("team-cli").description("AI-Native \u56E2\u961F\u7814\u53D1\u811A\u624B\u67B6").version("2.1.
|
|
5696
|
+
program.name("team-cli").description("AI-Native \u56E2\u961F\u7814\u53D1\u811A\u624B\u67B6").version("2.1.3");
|
|
5697
5697
|
program.option("-v, --verbose", "\u8BE6\u7EC6\u8F93\u51FA\u6A21\u5F0F").option("--debug", "\u8C03\u8BD5\u6A21\u5F0F");
|
|
5698
5698
|
program.addCommand(initCommand);
|
|
5699
5699
|
program.addCommand(splitPrdCommand);
|