juno-code 1.0.26 → 1.0.27
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/bin/cli.js +8 -4
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/cli.mjs +8 -4
- package/dist/bin/cli.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/templates/services/__pycache__/claude.cpython-38.pyc +0 -0
- package/dist/templates/services/claude.py +55 -6
- package/package.json +1 -1
package/dist/bin/cli.mjs
CHANGED
|
@@ -7133,6 +7133,9 @@ var init_shell_backend = __esm({
|
|
|
7133
7133
|
if (isPython && request.arguments?.instruction) {
|
|
7134
7134
|
args.push("-p", request.arguments.instruction);
|
|
7135
7135
|
}
|
|
7136
|
+
if (isPython && request.arguments?.model) {
|
|
7137
|
+
args.push("-m", request.arguments.model);
|
|
7138
|
+
}
|
|
7136
7139
|
if (this.config.debug) {
|
|
7137
7140
|
engineLogger.debug(`Executing script: ${command} ${args.join(" ")}`);
|
|
7138
7141
|
engineLogger.debug(`Working directory: ${this.config.workingDirectory}`);
|
|
@@ -16345,11 +16348,12 @@ async function startCommandHandler(args, options, command) {
|
|
|
16345
16348
|
}
|
|
16346
16349
|
function configureStartCommand(program) {
|
|
16347
16350
|
program.command("start").description("Start execution using .juno_task/init.md as prompt").option("-s, --subagent <name>", "Subagent to use (claude, cursor, codex, gemini)").option("-b, --backend <type>", "Backend to use (mcp, shell)").option("-i, --max-iterations <number>", "Maximum number of iterations", parseInt).option("-m, --model <name>", "Model to use for execution").option("-d, --directory <path>", "Project directory (default: current)").option("--enable-feedback", "Enable concurrent feedback collection during execution").option("--show-metrics", "Display performance metrics summary after execution").option("--show-dashboard", "Show interactive performance dashboard after execution").option("--show-trends", "Display performance trends from historical data").option("--save-metrics [file]", "Save performance metrics to file (default: .juno_task/metrics.json)").option("--metrics-file <path>", "Specify custom path for metrics file").option("--dry-run", "Validate configuration and exit without executing").action(async (options, command) => {
|
|
16348
|
-
|
|
16349
|
-
|
|
16350
|
-
|
|
16351
|
+
const allOptions2 = command.optsWithGlobals ? command.optsWithGlobals() : { ...command.opts(), ...options };
|
|
16352
|
+
if (allOptions2.saveMetrics === true) {
|
|
16353
|
+
allOptions2.saveMetrics = true;
|
|
16354
|
+
allOptions2.metricsFile = allOptions2.metricsFile || ".juno_task/metrics.json";
|
|
16351
16355
|
}
|
|
16352
|
-
await startCommandHandler([],
|
|
16356
|
+
await startCommandHandler([], allOptions2, command);
|
|
16353
16357
|
}).addHelpText("after", `
|
|
16354
16358
|
Examples:
|
|
16355
16359
|
$ juno-code start # Start execution in current directory
|