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.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.30";
47
+ version = "1.0.31";
48
48
  }
49
49
  });
50
50
  function isHeadlessEnvironment() {
@@ -7245,6 +7245,8 @@ var ExecutionEngine = class extends EventEmitter {
7245
7245
  ...context.request.model !== void 0 && { model: context.request.model },
7246
7246
  ...context.request.agents !== void 0 && { agents: context.request.agents },
7247
7247
  ...context.request.tools !== void 0 && { tools: context.request.tools },
7248
+ ...context.request.allowedTools !== void 0 && { allowedTools: context.request.allowedTools },
7249
+ ...context.request.appendAllowedTools !== void 0 && { appendAllowedTools: context.request.appendAllowedTools },
7248
7250
  ...context.request.disallowedTools !== void 0 && { disallowedTools: context.request.disallowedTools },
7249
7251
  iteration: iterationNumber
7250
7252
  },
@@ -7685,6 +7687,12 @@ function createExecutionRequest(options) {
7685
7687
  if (options.tools !== void 0) {
7686
7688
  result.tools = options.tools;
7687
7689
  }
7690
+ if (options.allowedTools !== void 0) {
7691
+ result.allowedTools = options.allowedTools;
7692
+ }
7693
+ if (options.appendAllowedTools !== void 0) {
7694
+ result.appendAllowedTools = options.appendAllowedTools;
7695
+ }
7688
7696
  if (options.disallowedTools !== void 0) {
7689
7697
  result.disallowedTools = options.disallowedTools;
7690
7698
  }