yg-team-cli 2.1.6 → 2.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.
- package/dist/cli.js +9 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -495,9 +495,7 @@ ${promptText}`;
|
|
|
495
495
|
}
|
|
496
496
|
await fs2.writeFile(tempFile, finalPrompt, "utf-8");
|
|
497
497
|
const result = await execa("claude", ["--dangerously-skip-permissions", tempFile], {
|
|
498
|
-
stdio: "inherit"
|
|
499
|
-
timeout: options?.timeout || 3e5
|
|
500
|
-
// 默认 5 分钟
|
|
498
|
+
stdio: "inherit"
|
|
501
499
|
});
|
|
502
500
|
return result.stdout || "";
|
|
503
501
|
} finally {
|
|
@@ -531,8 +529,7 @@ ${promptText}`;
|
|
|
531
529
|
}).join("\n\n");
|
|
532
530
|
await fs2.writeFile(tempFile, fullPrompt, "utf-8");
|
|
533
531
|
const result = await execa("claude", ["--dangerously-skip-permissions", tempFile], {
|
|
534
|
-
stdio: "inherit"
|
|
535
|
-
timeout: options?.timeout || 3e5
|
|
532
|
+
stdio: "inherit"
|
|
536
533
|
});
|
|
537
534
|
return result.stdout || "";
|
|
538
535
|
} finally {
|
|
@@ -2447,7 +2444,12 @@ async function executeDevelopment(specFile, milestone, todo) {
|
|
|
2447
2444
|
logger.info(` \u4EFB\u52A1\u63CF\u8FF0: ${taskDescription}`);
|
|
2448
2445
|
logger.info(` Spec \u6587\u4EF6: ${specFile}`);
|
|
2449
2446
|
logger.newLine();
|
|
2450
|
-
logger.info("\u{1F4DD} Claude \u5C06\u5728\u4E0B\u65B9\u6253\u5F00\u4EA4\u4E92\u754C\u9762
|
|
2447
|
+
logger.info("\u{1F4DD} Claude \u5C06\u5728\u4E0B\u65B9\u6253\u5F00\u4EA4\u4E92\u754C\u9762");
|
|
2448
|
+
logger.newLine();
|
|
2449
|
+
logger.info("\u26A0\uFE0F \u91CD\u8981\u63D0\u793A:");
|
|
2450
|
+
logger.info(" 1. \u5728 Claude \u4E2D\u5B8C\u6210\u5F00\u53D1\u4EFB\u52A1");
|
|
2451
|
+
logger.info(' 2. \u6309 "a" \u63A5\u53D7\u6240\u6709\u7F16\u8F91\u5EFA\u8BAE\uFF0C\u6216\u9010\u4E2A\u9009\u62E9');
|
|
2452
|
+
logger.info(" 3. \u5B8C\u6210\u540E\u4F7F\u7528 Ctrl+D \u6216\u8F93\u5165 :exit \u9000\u51FA Claude");
|
|
2451
2453
|
logger.newLine();
|
|
2452
2454
|
const result = await claudeAI.prompt(prompt, {
|
|
2453
2455
|
contextFiles: ["TECH_STACK.md", "CONVENTIONS.md", "AI_MEMORY.md", specFile]
|
|
@@ -5864,7 +5866,7 @@ var init_index = __esm({
|
|
|
5864
5866
|
init_config();
|
|
5865
5867
|
init_diff();
|
|
5866
5868
|
program = new Command16();
|
|
5867
|
-
program.name("team-cli").description("AI-Native \u56E2\u961F\u7814\u53D1\u811A\u624B\u67B6").version("2.1.
|
|
5869
|
+
program.name("team-cli").description("AI-Native \u56E2\u961F\u7814\u53D1\u811A\u624B\u67B6").version("2.1.8");
|
|
5868
5870
|
program.option("-v, --verbose", "\u8BE6\u7EC6\u8F93\u51FA\u6A21\u5F0F").option("--debug", "\u8C03\u8BD5\u6A21\u5F0F");
|
|
5869
5871
|
program.addCommand(initCommand);
|
|
5870
5872
|
program.addCommand(splitPrdCommand);
|