@codemoot/cli 0.2.2 → 0.2.4
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
CHANGED
|
@@ -1803,7 +1803,7 @@ async function initCommand(options) {
|
|
|
1803
1803
|
} else if (options.nonInteractive) {
|
|
1804
1804
|
presetName = "cli-first";
|
|
1805
1805
|
} else {
|
|
1806
|
-
const { selectPreset } = await import("./prompts-
|
|
1806
|
+
const { selectPreset } = await import("./prompts-GB7HH4EL.js");
|
|
1807
1807
|
presetName = await selectPreset();
|
|
1808
1808
|
}
|
|
1809
1809
|
const config = loadConfig5({ preset: presetName, skipFile: options.force });
|
|
@@ -3557,7 +3557,7 @@ program.name("codemoot").description("Multi-model collaborative AI development t
|
|
|
3557
3557
|
program.command("start").description("First-run setup: verify codex, init config, run quick review").action(startCommand);
|
|
3558
3558
|
program.command("doctor").description("Preflight diagnostics: check codex, config, database, git, node").action(doctorCommand);
|
|
3559
3559
|
program.command("install-skills").description("Install Claude Code slash commands (/debate, /build, /codex-review, /cleanup)").option("--force", "Overwrite existing skill files", false).action(installSkillsCommand);
|
|
3560
|
-
program.command("init").description("Initialize CodeMoot in the current project").option("--preset <name>", "Use preset (
|
|
3560
|
+
program.command("init").description("Initialize CodeMoot in the current project").option("--preset <name>", "Use preset (cli-first)").option("--non-interactive", "Skip prompts, use defaults").option("--force", "Overwrite existing .cowork.yml").action(initCommand);
|
|
3561
3561
|
program.command("run").description("Run a task through the full workflow").argument("<task>", "Task description (natural language)").option("--mode <mode>", "Execution mode (autonomous|interactive)", "autonomous").option("--max-iterations <n>", "Max review loop iterations", (v) => Number.parseInt(v, 10), 3).option("--no-stream", "Disable streaming output").action(runCommand);
|
|
3562
3562
|
program.command("review").description("Review code via codex \u2014 files, prompts, or diffs").argument("[file-or-glob]", "File path or glob pattern to review").option("--prompt <instruction>", "Freeform prompt \u2014 codex explores codebase via tools").option("--stdin", "Read prompt from stdin").option("--diff <revspec>", "Review a git diff (e.g., HEAD~3..HEAD, origin/main...HEAD)").option("--scope <glob>", "Restrict codex exploration to matching files (only with --prompt/--stdin)").addOption(new Option("--focus <area>", "Focus area").choices(["security", "performance", "bugs", "all"]).default("all")).option("--preset <name>", "Use named preset (security-audit|performance|quick-scan|pre-commit|api-review)").option("--session <id>", "Use specific session (default: active session)").option("--background", "Enqueue review and return immediately").option("--timeout <seconds>", "Timeout in seconds", (v) => {
|
|
3563
3563
|
if (!/^\d+$/.test(v)) throw new InvalidArgumentError("Timeout must be a positive integer");
|