juno-code 1.0.30 → 1.0.31

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.30";
78
+ exports.version = "1.0.31";
79
79
  }
80
80
  });
81
81
  function isHeadlessEnvironment() {
@@ -7276,6 +7276,8 @@ var ExecutionEngine = class extends events.EventEmitter {
7276
7276
  ...context.request.model !== void 0 && { model: context.request.model },
7277
7277
  ...context.request.agents !== void 0 && { agents: context.request.agents },
7278
7278
  ...context.request.tools !== void 0 && { tools: context.request.tools },
7279
+ ...context.request.allowedTools !== void 0 && { allowedTools: context.request.allowedTools },
7280
+ ...context.request.appendAllowedTools !== void 0 && { appendAllowedTools: context.request.appendAllowedTools },
7279
7281
  ...context.request.disallowedTools !== void 0 && { disallowedTools: context.request.disallowedTools },
7280
7282
  iteration: iterationNumber
7281
7283
  },
@@ -7716,6 +7718,12 @@ function createExecutionRequest(options) {
7716
7718
  if (options.tools !== void 0) {
7717
7719
  result.tools = options.tools;
7718
7720
  }
7721
+ if (options.allowedTools !== void 0) {
7722
+ result.allowedTools = options.allowedTools;
7723
+ }
7724
+ if (options.appendAllowedTools !== void 0) {
7725
+ result.appendAllowedTools = options.appendAllowedTools;
7726
+ }
7719
7727
  if (options.disallowedTools !== void 0) {
7720
7728
  result.disallowedTools = options.disallowedTools;
7721
7729
  }