llmz 0.6.1 → 0.6.2

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.
Files changed (40) hide show
  1. package/dist/{_baseForOwn-D8-Dvy2A.js → _baseForOwn-CFhWe_W6.js} +1 -1
  2. package/dist/{_baseForOwn-9MK5s55q.cjs → _baseForOwn-buOZDFbK.cjs} +1 -1
  3. package/dist/{_baseIteratee-7Un0_Up5.cjs → _baseIteratee-CF4qP2a8.cjs} +3 -3
  4. package/dist/{_baseIteratee-D5Jf7fip.js → _baseIteratee-P_firB7b.js} +3 -3
  5. package/dist/{_getPrototype-DslcqzTw.js → _getPrototype-CG7Dxrrz.js} +1 -1
  6. package/dist/{_getPrototype-ClNRmwmh.cjs → _getPrototype-DQDlNVVM.cjs} +1 -1
  7. package/dist/{_overArg-ypvt7e2w.cjs → _overArg-C5Hy7oCi.cjs} +4 -2
  8. package/dist/{_overArg-BLtNSzsS.js → _overArg-CRYbj1NH.js} +4 -2
  9. package/dist/{component-505RuR8N.cjs → component-BwixNVH8.cjs} +2 -2
  10. package/dist/{component-BEupuE6R.js → component-DGG7d_Mz.js} +1 -1
  11. package/dist/{custom-client-CCwAr3HL.cjs → custom-client-BPmEoWKu.cjs} +10 -10
  12. package/dist/{custom-client-CGLO1gl2.js → custom-client-NUoxrFQh.js} +10 -10
  13. package/dist/{dual-modes-RFJ2wqKn.js → dual-modes-D_p-jedw.js} +17 -14
  14. package/dist/{dual-modes-VSvmn7CC.cjs → dual-modes-wAOAlaBS.cjs} +17 -14
  15. package/dist/{execute-CsMxT51Z.cjs → execute-BEaq3jkV.cjs} +7 -7
  16. package/dist/{execute-Cy0aokFn.js → execute-DYvFRs54.js} +6 -6
  17. package/dist/{exit-s7Vuu_cZ.cjs → exit-BGi0Kk0y.cjs} +8 -6
  18. package/dist/{exit-D8q65E62.js → exit-CDdxDBRT.js} +7 -5
  19. package/dist/index.cjs +20 -20
  20. package/dist/index.js +20 -20
  21. package/dist/index.workerd.js +85 -60
  22. package/dist/{isEmpty-C-uBEvAD.js → isEmpty-BhJRCqIF.js} +2 -2
  23. package/dist/{isEmpty-BRazOx0g.cjs → isEmpty-LY533Wmh.cjs} +2 -2
  24. package/dist/{isPlainObject-ChaHUF2F.cjs → isPlainObject-CSxXVKCk.cjs} +2 -2
  25. package/dist/{isPlainObject-BB1ER-H9.js → isPlainObject-D39AzPO2.js} +2 -2
  26. package/dist/{jsx-BQPpLyio.cjs → jsx-BWvT6ukg.cjs} +3 -3
  27. package/dist/{jsx-DDGNq80p.js → jsx-CIgdGGVs.js} +2 -2
  28. package/dist/{tool-DOS3cQkd.js → tool-CAo-BQHs.js} +29 -23
  29. package/dist/{tool-GH5dsFIz.cjs → tool-DdPZb0JW.cjs} +30 -24
  30. package/dist/{truncator-r91qJjmi.cjs → truncator-B6aaJaN1.cjs} +10 -6
  31. package/dist/{truncator-BRlpGJpc.js → truncator-DZqEqnpD.js} +9 -5
  32. package/dist/{typings-Cg4iFis8.cjs → typings-BwAz_TM9.cjs} +6 -4
  33. package/dist/{typings-o1oM8StG.js → typings-CrBa7Tyy.js} +5 -3
  34. package/dist/{uniq-BNJ4Jqjc.js → uniq-BYQ7GWwb.js} +2 -2
  35. package/dist/{uniq-C0m757AJ.cjs → uniq-G872RWmE.cjs} +2 -2
  36. package/dist/{utils-CXVukcZs.js → utils-UBeAFeEI.js} +2 -2
  37. package/dist/{utils-BHvQ0Rup.cjs → utils-ZpJm00ed.cjs} +3 -3
  38. package/dist/{vm-CXx3RAQt.cjs → vm-BjkJqSQH.cjs} +28 -22
  39. package/dist/{vm-BHo3ENPb.js → vm-C5vf1LH3.js} +28 -22
  40. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- const require__baseForOwn = require("./_baseForOwn-9MK5s55q.cjs");
2
- const require__baseIteratee = require("./_baseIteratee-7Un0_Up5.cjs");
1
+ const require__baseForOwn = require("./_baseForOwn-buOZDFbK.cjs");
2
+ const require__baseIteratee = require("./_baseIteratee-CF4qP2a8.cjs");
3
3
  const require_stack_traces = require("./stack-traces-ntw_qhoy.cjs");
4
4
  const require_errors = require("./errors-C962uJdS.cjs");
5
5
  const require_quickjs_variant = require("./quickjs-variant-CsIwTVFC.cjs");
@@ -312,12 +312,14 @@ var require_util = /* @__PURE__ */ require__baseForOwn.__commonJSMin(((exports)
312
312
  part = parts[i];
313
313
  if (part === ".") parts.splice(i, 1);
314
314
  else if (part === "..") up++;
315
- else if (up > 0) if (part === "") {
316
- parts.splice(i + 1, up);
317
- up = 0;
318
- } else {
319
- parts.splice(i, 2);
320
- up--;
315
+ else if (up > 0) {
316
+ if (part === "") {
317
+ parts.splice(i + 1, up);
318
+ up = 0;
319
+ } else {
320
+ parts.splice(i, 2);
321
+ up--;
322
+ }
321
323
  }
322
324
  }
323
325
  path = parts.join("/");
@@ -593,8 +595,10 @@ var require_array_set = /* @__PURE__ */ require__baseForOwn.__commonJSMin(((expo
593
595
  var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);
594
596
  var idx = this._array.length;
595
597
  if (!isDuplicate || aAllowDuplicates) this._array.push(aStr);
596
- if (!isDuplicate) if (hasNativeMap) this._set.set(aStr, idx);
597
- else this._set[sStr] = idx;
598
+ if (!isDuplicate) {
599
+ if (hasNativeMap) this._set.set(aStr, idx);
600
+ else this._set[sStr] = idx;
601
+ }
598
602
  };
599
603
  /**
600
604
  * Is the given string a member of this set?
@@ -1965,18 +1969,20 @@ var require_source_node = /* @__PURE__ */ require__baseForOwn.__commonJSMin(((ex
1965
1969
  var lastGeneratedLine = 1, lastGeneratedColumn = 0;
1966
1970
  var lastMapping = null;
1967
1971
  aSourceMapConsumer.eachMapping(function(mapping) {
1968
- if (lastMapping !== null) if (lastGeneratedLine < mapping.generatedLine) {
1969
- addMappingWithCode(lastMapping, shiftNextLine());
1970
- lastGeneratedLine++;
1971
- lastGeneratedColumn = 0;
1972
- } else {
1973
- var nextLine = remainingLines[remainingLinesIndex] || "";
1974
- var code = nextLine.substr(0, mapping.generatedColumn - lastGeneratedColumn);
1975
- remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - lastGeneratedColumn);
1976
- lastGeneratedColumn = mapping.generatedColumn;
1977
- addMappingWithCode(lastMapping, code);
1978
- lastMapping = mapping;
1979
- return;
1972
+ if (lastMapping !== null) {
1973
+ if (lastGeneratedLine < mapping.generatedLine) {
1974
+ addMappingWithCode(lastMapping, shiftNextLine());
1975
+ lastGeneratedLine++;
1976
+ lastGeneratedColumn = 0;
1977
+ } else {
1978
+ var nextLine = remainingLines[remainingLinesIndex] || "";
1979
+ var code = nextLine.substr(0, mapping.generatedColumn - lastGeneratedColumn);
1980
+ remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - lastGeneratedColumn);
1981
+ lastGeneratedColumn = mapping.generatedColumn;
1982
+ addMappingWithCode(lastMapping, code);
1983
+ lastMapping = mapping;
1984
+ return;
1985
+ }
1980
1986
  }
1981
1987
  while (lastGeneratedLine < mapping.generatedLine) {
1982
1988
  node.add(shiftNextLine());
@@ -1,6 +1,6 @@
1
1
  import { t as __commonJSMin } from "./rolldown-runtime-EAsCxrDo.js";
2
- import { B as isSymbol, I as isFunction, M as baseAssignValue, t as baseIteratee } from "./_baseIteratee-D5Jf7fip.js";
3
- import { t as baseForOwn } from "./_baseForOwn-D8-Dvy2A.js";
2
+ import { B as isSymbol, I as isFunction, M as baseAssignValue, t as baseIteratee } from "./_baseIteratee-P_firB7b.js";
3
+ import { t as baseForOwn } from "./_baseForOwn-CFhWe_W6.js";
4
4
  import { t as cleanStackTrace } from "./stack-traces-BIE_5Xwf.js";
5
5
  import { a as InvalidCodeError, c as SnapshotSignal, n as CodeExecutionError, s as Signals, u as VMSignal } from "./errors-Cg1G0Awu.js";
6
6
  import { n as getQuickJSVariant } from "./quickjs-variant-BYhMBpwU.js";
@@ -312,12 +312,14 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
312
312
  part = parts[i];
313
313
  if (part === ".") parts.splice(i, 1);
314
314
  else if (part === "..") up++;
315
- else if (up > 0) if (part === "") {
316
- parts.splice(i + 1, up);
317
- up = 0;
318
- } else {
319
- parts.splice(i, 2);
320
- up--;
315
+ else if (up > 0) {
316
+ if (part === "") {
317
+ parts.splice(i + 1, up);
318
+ up = 0;
319
+ } else {
320
+ parts.splice(i, 2);
321
+ up--;
322
+ }
321
323
  }
322
324
  }
323
325
  path = parts.join("/");
@@ -593,8 +595,10 @@ var require_array_set = /* @__PURE__ */ __commonJSMin(((exports) => {
593
595
  var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);
594
596
  var idx = this._array.length;
595
597
  if (!isDuplicate || aAllowDuplicates) this._array.push(aStr);
596
- if (!isDuplicate) if (hasNativeMap) this._set.set(aStr, idx);
597
- else this._set[sStr] = idx;
598
+ if (!isDuplicate) {
599
+ if (hasNativeMap) this._set.set(aStr, idx);
600
+ else this._set[sStr] = idx;
601
+ }
598
602
  };
599
603
  /**
600
604
  * Is the given string a member of this set?
@@ -1965,18 +1969,20 @@ var require_source_node = /* @__PURE__ */ __commonJSMin(((exports) => {
1965
1969
  var lastGeneratedLine = 1, lastGeneratedColumn = 0;
1966
1970
  var lastMapping = null;
1967
1971
  aSourceMapConsumer.eachMapping(function(mapping) {
1968
- if (lastMapping !== null) if (lastGeneratedLine < mapping.generatedLine) {
1969
- addMappingWithCode(lastMapping, shiftNextLine());
1970
- lastGeneratedLine++;
1971
- lastGeneratedColumn = 0;
1972
- } else {
1973
- var nextLine = remainingLines[remainingLinesIndex] || "";
1974
- var code = nextLine.substr(0, mapping.generatedColumn - lastGeneratedColumn);
1975
- remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - lastGeneratedColumn);
1976
- lastGeneratedColumn = mapping.generatedColumn;
1977
- addMappingWithCode(lastMapping, code);
1978
- lastMapping = mapping;
1979
- return;
1972
+ if (lastMapping !== null) {
1973
+ if (lastGeneratedLine < mapping.generatedLine) {
1974
+ addMappingWithCode(lastMapping, shiftNextLine());
1975
+ lastGeneratedLine++;
1976
+ lastGeneratedColumn = 0;
1977
+ } else {
1978
+ var nextLine = remainingLines[remainingLinesIndex] || "";
1979
+ var code = nextLine.substr(0, mapping.generatedColumn - lastGeneratedColumn);
1980
+ remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - lastGeneratedColumn);
1981
+ lastGeneratedColumn = mapping.generatedColumn;
1982
+ addMappingWithCode(lastMapping, code);
1983
+ lastMapping = mapping;
1984
+ return;
1985
+ }
1980
1986
  }
1981
1987
  while (lastGeneratedLine < mapping.generatedLine) {
1982
1988
  node.add(shiftNextLine());
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "llmz",
3
3
  "type": "module",
4
4
  "description": "LLMz - An LLM-native Typescript VM built on top of Zui",
5
- "version": "0.6.1",
5
+ "version": "0.6.2",
6
6
  "files": [
7
7
  "dist",
8
8
  "DOCS.md"
@@ -68,7 +68,7 @@
68
68
  "tsx": "^4.19.2"
69
69
  },
70
70
  "peerDependencies": {
71
- "@botpress/client": "2.2.0",
71
+ "@botpress/client": "2.3.0",
72
72
  "@botpress/cognitive": "1.1.0",
73
73
  "@bpinternal/thicktoken": "^3.1.0",
74
74
  "@bpinternal/zui": "^2.4.1"