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 CHANGED
@@ -7169,6 +7169,9 @@ var init_shell_backend = __esm({
7169
7169
  if (isPython && request.arguments?.instruction) {
7170
7170
  args.push("-p", request.arguments.instruction);
7171
7171
  }
7172
+ if (isPython && request.arguments?.model) {
7173
+ args.push("-m", request.arguments.model);
7174
+ }
7172
7175
  if (this.config.debug) {
7173
7176
  engineLogger.debug(`Executing script: ${command} ${args.join(" ")}`);
7174
7177
  engineLogger.debug(`Working directory: ${this.config.workingDirectory}`);
@@ -16381,11 +16384,12 @@ async function startCommandHandler(args, options, command) {
16381
16384
  }
16382
16385
  function configureStartCommand(program) {
16383
16386
  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) => {
16384
- if (options.saveMetrics === true) {
16385
- options.saveMetrics = true;
16386
- options.metricsFile = options.metricsFile || ".juno_task/metrics.json";
16387
+ const allOptions2 = command.optsWithGlobals ? command.optsWithGlobals() : { ...command.opts(), ...options };
16388
+ if (allOptions2.saveMetrics === true) {
16389
+ allOptions2.saveMetrics = true;
16390
+ allOptions2.metricsFile = allOptions2.metricsFile || ".juno_task/metrics.json";
16387
16391
  }
16388
- await startCommandHandler([], options, command);
16392
+ await startCommandHandler([], allOptions2, command);
16389
16393
  }).addHelpText("after", `
16390
16394
  Examples:
16391
16395
  $ juno-code start # Start execution in current directory