agdi 2.11.2 → 2.11.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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1743,6 +1743,7 @@ async function selectModel() {
|
|
|
1743
1743
|
// src/commands/agdi-dev.ts
|
|
1744
1744
|
import { input as input5, confirm as confirm3 } from "@inquirer/prompts";
|
|
1745
1745
|
import chalk12 from "chalk";
|
|
1746
|
+
import { execSync as execSync2 } from "child_process";
|
|
1746
1747
|
|
|
1747
1748
|
// src/actions/plan-executor.ts
|
|
1748
1749
|
import { select as select4, confirm } from "@inquirer/prompts";
|
|
@@ -4852,7 +4853,6 @@ ${diffText}`;
|
|
|
4852
4853
|
default: true
|
|
4853
4854
|
});
|
|
4854
4855
|
if (shouldCommit) {
|
|
4855
|
-
const { execSync: execSync2 } = await import("child_process");
|
|
4856
4856
|
const env = getEnvironment();
|
|
4857
4857
|
try {
|
|
4858
4858
|
execSync2(`git commit -m "${commitMessage.replace(/"/g, '\\"')}"`, {
|
|
@@ -6635,7 +6635,7 @@ ${chalk19.cyan(`/_/ |_|\\_, /\\__,_//_/ `)}
|
|
|
6635
6635
|
${chalk19.cyan(` /____/ `)}
|
|
6636
6636
|
`;
|
|
6637
6637
|
var program = new Command();
|
|
6638
|
-
program.name("agdi").description(chalk19.cyan("\u{1F680} AI-powered coding assistant")).version("2.
|
|
6638
|
+
program.name("agdi").description(chalk19.cyan("\u{1F680} AI-powered coding assistant")).version("2.11.3").option("-y, --yes", "Auto-approve all prompts (headless/CI mode)").option("-m, --minimal", "Generate only the requested file(s), not a full app").option("-d, --dry-run", "Show what would be created without writing files");
|
|
6639
6639
|
program.hook("preAction", (thisCommand) => {
|
|
6640
6640
|
const opts = thisCommand.opts();
|
|
6641
6641
|
if (opts.yes) {
|