@autonoma-ai/planner 0.1.1 → 0.1.2
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 +10 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5888,14 +5888,19 @@ async function main() {
|
|
|
5888
5888
|
project: args.project,
|
|
5889
5889
|
slug: args.slug
|
|
5890
5890
|
});
|
|
5891
|
+
if (!args.project) {
|
|
5892
|
+
console.log(`No --project flag passed; using current working directory: ${config2.projectRoot}`);
|
|
5893
|
+
}
|
|
5891
5894
|
const outputDir2 = await ensureOutputDir(config2.projectSlug);
|
|
5892
5895
|
await showStatus(outputDir2);
|
|
5893
5896
|
return;
|
|
5894
5897
|
}
|
|
5895
|
-
if (command
|
|
5898
|
+
if (command === "help" || args.help) {
|
|
5896
5899
|
console.log("Usage:");
|
|
5897
|
-
console.log(" test-planner run [--project <path>] [--model <id>] [--step <name>] [--resume] [--non-interactive]");
|
|
5900
|
+
console.log(" test-planner [run] [--project <path>] [--model <id>] [--step <name>] [--resume] [--non-interactive]");
|
|
5898
5901
|
console.log(" test-planner status [--project <path>]");
|
|
5902
|
+
console.log("");
|
|
5903
|
+
console.log("`run` is the default command; it may be omitted.");
|
|
5899
5904
|
return;
|
|
5900
5905
|
}
|
|
5901
5906
|
console.log(BANNER);
|
|
@@ -5906,6 +5911,9 @@ async function main() {
|
|
|
5906
5911
|
slug: args.slug
|
|
5907
5912
|
});
|
|
5908
5913
|
const modelName = config.modelId ?? process.env.OPENROUTER_MODEL ?? DEFAULT_MODEL;
|
|
5914
|
+
if (!args.project) {
|
|
5915
|
+
p8.log.info(`No --project flag passed; using current working directory.`);
|
|
5916
|
+
}
|
|
5909
5917
|
p8.log.info(`Project: ${config.projectRoot}`);
|
|
5910
5918
|
p8.log.info(`Model: ${modelName}`);
|
|
5911
5919
|
const nonInteractive = !!args["non-interactive"];
|