llmz 0.2.1 → 0.2.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 (35) hide show
  1. package/dist/{chunk-WWZ2W4WR.cjs → chunk-2EZSVF5X.cjs} +382 -492
  2. package/dist/{chunk-ZWUWCRHG.js → chunk-2MSLOTFO.js} +2 -2
  3. package/dist/{chunk-GC5IQDGV.js → chunk-3OSQ4XL4.js} +1 -1
  4. package/dist/{chunk-E5NHK3FS.js → chunk-5ISVDYBA.js} +3 -3
  5. package/dist/{chunk-MY26EAOP.cjs → chunk-5XPEVOOW.cjs} +8 -8
  6. package/dist/{chunk-YGKQEVQQ.cjs → chunk-C2KND2PS.cjs} +3 -3
  7. package/dist/{chunk-DH35WO5G.js → chunk-EJIDFDQP.js} +373 -483
  8. package/dist/{chunk-665O7CAN.js → chunk-GDWRFHM5.js} +4 -0
  9. package/dist/{chunk-DD4AZSP5.cjs → chunk-MHVORH33.cjs} +5 -1
  10. package/dist/{chunk-ETYFOCWC.cjs → chunk-S46T73HR.cjs} +2 -2
  11. package/dist/compiler/ast.d.ts +26 -0
  12. package/dist/compiler/compiler.d.ts +13 -11
  13. package/dist/compiler/plugins/line-tracking.d.ts +6 -4
  14. package/dist/compiler/plugins/replace-comment.d.ts +8 -4
  15. package/dist/compiler/plugins/return-async.d.ts +18 -4
  16. package/dist/compiler/plugins/track-tool-calls.d.ts +21 -4
  17. package/dist/compiler/plugins/variable-extraction.d.ts +9 -4
  18. package/dist/component.default.d.ts +13 -91
  19. package/dist/{dual-modes-ZZY6QPYT.cjs → dual-modes-IZQJTXR7.cjs} +2 -2
  20. package/dist/{dual-modes-RMF7V7ZQ.js → dual-modes-J4RWHJ2O.js} +1 -1
  21. package/dist/{execute-2AGZ5QUN.cjs → execute-4IL4QPAR.cjs} +23 -23
  22. package/dist/{execute-LNUBLVMZ.js → execute-6AYBMTRM.js} +5 -5
  23. package/dist/index.cjs +185 -234
  24. package/dist/index.js +172 -221
  25. package/dist/prompts/chat-mode/system.md.d.ts +1 -1
  26. package/dist/prompts/worker-mode/system.md.d.ts +1 -1
  27. package/dist/prompts/worker-mode/user.md.d.ts +1 -1
  28. package/dist/{tool-V55GD2FS.cjs → tool-56I7OSKU.cjs} +3 -3
  29. package/dist/{tool-HTAYKIA2.js → tool-I3MAWDN2.js} +2 -2
  30. package/dist/{typings-S6I6IPTG.cjs → typings-LVI4VGE2.cjs} +2 -2
  31. package/dist/{typings-SCKZCAPN.js → typings-SR3EE6LR.js} +1 -1
  32. package/dist/typings-formatter.d.ts +19 -0
  33. package/dist/{vm-44H4UKI2.js → vm-ZLWGAYYJ.js} +1 -1
  34. package/dist/{vm-A3OTQVIR.cjs → vm-ZVONLAZV.cjs} +2 -2
  35. package/package.json +4 -12
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runAsyncFunction,
3
3
  warmupVM
4
- } from "./chunk-DH35WO5G.js";
4
+ } from "./chunk-EJIDFDQP.js";
5
5
  import "./chunk-WSVDMGMR.js";
6
6
  import "./chunk-YEAWWJSJ.js";
7
7
  import "./chunk-34GJUS6U.js";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkWWZ2W4WRcjs = require('./chunk-WWZ2W4WR.cjs');
4
+ var _chunk2EZSVF5Xcjs = require('./chunk-2EZSVF5X.cjs');
5
5
  require('./chunk-PK72FAKD.cjs');
6
6
  require('./chunk-KIN7Y247.cjs');
7
7
  require('./chunk-HC2QZTVT.cjs');
8
8
 
9
9
 
10
10
 
11
- exports.runAsyncFunction = _chunkWWZ2W4WRcjs.runAsyncFunction; exports.warmupVM = _chunkWWZ2W4WRcjs.warmupVM;
11
+ exports.runAsyncFunction = _chunk2EZSVF5Xcjs.runAsyncFunction; exports.warmupVM = _chunk2EZSVF5Xcjs.warmupVM;
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.2.1",
5
+ "version": "0.2.2",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.js",
@@ -30,30 +30,22 @@
30
30
  "author": "",
31
31
  "license": "ISC",
32
32
  "dependencies": {
33
- "@babel/generator": "^7.26.3",
34
- "@babel/parser": "^7.26.3",
35
- "@babel/standalone": "^7.26.4",
36
- "@babel/traverse": "^7.26.4",
37
- "@babel/types": "^7.26.3",
38
33
  "@jitl/quickjs-singlefile-browser-release-sync": "^0.31.0",
34
+ "acorn": "^8.17.0",
39
35
  "bytes": "^3.1.2",
40
36
  "exponential-backoff": "^3.1.1",
41
37
  "handlebars": "^4.7.8",
42
38
  "json5": "^2.2.3",
43
39
  "jsonrepair": "^3.10.0",
44
40
  "lodash-es": "^4.17.21",
41
+ "magic-string": "^0.30.21",
45
42
  "ms": "^2.1.3",
46
43
  "quickjs-emscripten-core": "^0.31.0",
47
44
  "ulid": "^2.3.0"
48
45
  },
49
46
  "devDependencies": {
50
- "@babel/core": "^7.26.0",
51
47
  "@botpress/cli": "workspace:*",
52
48
  "@microsoft/api-extractor": "^7.49.0",
53
- "@types/babel__core": "^7.20.5",
54
- "@types/babel__generator": "^7.6.8",
55
- "@types/babel__standalone": "^7.1.9",
56
- "@types/babel__traverse": "^7.20.6",
57
49
  "@types/bytes": "^3.1.5",
58
50
  "@types/json-schema": "^7.0.12",
59
51
  "@types/lodash-es": "^4.17.12",
@@ -73,7 +65,7 @@
73
65
  "@botpress/client": "1.49.0",
74
66
  "@botpress/cognitive": "0.6.2",
75
67
  "@bpinternal/thicktoken": "^3.0.0",
76
- "@bpinternal/zui": "^2.3.1"
68
+ "@bpinternal/zui": "^2.4.0"
77
69
  },
78
70
  "dependenciesMeta": {
79
71
  "@bpinternal/zui": {