juno-code 1.0.27 → 1.0.28

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
@@ -75,7 +75,7 @@ var __export = (target, all) => {
75
75
  exports.version = void 0;
76
76
  var init_version = __esm({
77
77
  "src/version.ts"() {
78
- exports.version = "1.0.27";
78
+ exports.version = "1.0.28";
79
79
  }
80
80
  });
81
81
  function isHeadlessEnvironment() {
@@ -7259,6 +7259,7 @@ var ExecutionEngine = class extends events.EventEmitter {
7259
7259
  instruction: context.request.instruction,
7260
7260
  project_path: context.request.workingDirectory,
7261
7261
  ...context.request.model !== void 0 && { model: context.request.model },
7262
+ ...context.request.agents !== void 0 && { agents: context.request.agents },
7262
7263
  iteration: iterationNumber
7263
7264
  },
7264
7265
  timeout: context.request.timeoutMs || this.engineConfig.config.mcpTimeout,
@@ -7692,6 +7693,9 @@ function createExecutionRequest(options) {
7692
7693
  if (options.model !== void 0) {
7693
7694
  result.model = options.model;
7694
7695
  }
7696
+ if (options.agents !== void 0) {
7697
+ result.agents = options.agents;
7698
+ }
7695
7699
  if (options.mcpServerName !== void 0) {
7696
7700
  result.mcpServerName = options.mcpServerName;
7697
7701
  }