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.mjs CHANGED
@@ -44,7 +44,7 @@ var __export = (target, all) => {
44
44
  var version;
45
45
  var init_version = __esm({
46
46
  "src/version.ts"() {
47
- version = "1.0.27";
47
+ version = "1.0.28";
48
48
  }
49
49
  });
50
50
  function isHeadlessEnvironment() {
@@ -7228,6 +7228,7 @@ var ExecutionEngine = class extends EventEmitter {
7228
7228
  instruction: context.request.instruction,
7229
7229
  project_path: context.request.workingDirectory,
7230
7230
  ...context.request.model !== void 0 && { model: context.request.model },
7231
+ ...context.request.agents !== void 0 && { agents: context.request.agents },
7231
7232
  iteration: iterationNumber
7232
7233
  },
7233
7234
  timeout: context.request.timeoutMs || this.engineConfig.config.mcpTimeout,
@@ -7661,6 +7662,9 @@ function createExecutionRequest(options) {
7661
7662
  if (options.model !== void 0) {
7662
7663
  result.model = options.model;
7663
7664
  }
7665
+ if (options.agents !== void 0) {
7666
+ result.agents = options.agents;
7667
+ }
7664
7668
  if (options.mcpServerName !== void 0) {
7665
7669
  result.mcpServerName = options.mcpServerName;
7666
7670
  }