llmz 0.0.2 → 0.0.4

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 (81) hide show
  1. package/dist/{chunk-RB2L33ZR.js → chunk-4EWY34YA.js} +24 -24
  2. package/dist/{chunk-UG2GCPHF.js → chunk-4KB5WXHR.js} +3 -2
  3. package/dist/{chunk-YPOOKE3A.cjs → chunk-4QTK5ALH.cjs} +59 -28
  4. package/dist/{chunk-BKGPO722.cjs → chunk-5NVNEEYW.cjs} +55 -55
  5. package/dist/{chunk-DFZ6GX5C.js → chunk-5TRUJES5.js} +1 -1
  6. package/dist/{chunk-C2TSWGYC.cjs → chunk-6YWYCVAB.cjs} +5 -4
  7. package/dist/{chunk-7S3UY52U.js → chunk-7WRN4E42.js} +36 -8
  8. package/dist/{chunk-Q4DEJGXD.js → chunk-EFGXTO64.js} +2 -2
  9. package/dist/{chunk-VP6WWAE2.cjs → chunk-FIVFS4HG.cjs} +2 -2
  10. package/dist/{chunk-YUDUY7XW.cjs → chunk-HYVKY3W6.cjs} +23 -24
  11. package/dist/{chunk-PQN6HW7A.cjs → chunk-IKSIOIIP.cjs} +3 -3
  12. package/dist/{chunk-ZUAFUOUR.cjs → chunk-JDABP4SD.cjs} +3 -3
  13. package/dist/{chunk-E5W3P7EO.cjs → chunk-JK2LZW2G.cjs} +20 -2
  14. package/dist/{chunk-RJHDQL4C.js → chunk-JKVVQN2P.js} +1 -1
  15. package/dist/{chunk-MSTBEKOQ.js → chunk-JQBT7UWN.js} +3 -3
  16. package/dist/{chunk-BOLDQGES.cjs → chunk-KMZDFWYZ.cjs} +3 -3
  17. package/dist/{chunk-R2N2UUKC.cjs → chunk-LVKZYKTP.cjs} +14 -8
  18. package/dist/{chunk-7FIPXMZR.js → chunk-ORQP26SZ.js} +1 -1
  19. package/dist/{chunk-ENFB45AI.cjs → chunk-P7J2WCBB.cjs} +7 -7
  20. package/dist/{chunk-DILHJIMP.js → chunk-QBXIE6EY.js} +49 -18
  21. package/dist/{chunk-UVSOAH2H.js → chunk-QT4QF3YA.js} +1 -1
  22. package/dist/{chunk-6QDFMQHA.js → chunk-S6WICIDW.js} +8 -2
  23. package/dist/{chunk-QPSUMPLP.js → chunk-TJQVC4CE.js} +6 -6
  24. package/dist/{chunk-ZSRC3TN4.js → chunk-UNMKB2DA.js} +9 -10
  25. package/dist/{chunk-3CGLDS5T.cjs → chunk-UQOBUJIQ.cjs} +38 -10
  26. package/dist/{chunk-QZGFCB4T.cjs → chunk-VAF2H6UD.cjs} +22 -22
  27. package/dist/{chunk-E2B5DRIC.cjs → chunk-W6U2VXSF.cjs} +25 -25
  28. package/dist/{chunk-3T465BEW.js → chunk-ZCPQ3QOW.js} +19 -1
  29. package/dist/citations.d.ts +63 -0
  30. package/dist/component-HQ5YQNRX.cjs +14 -0
  31. package/dist/component-LQDU72LX.js +14 -0
  32. package/dist/component.d.ts +32 -10
  33. package/dist/component.default.d.ts +334 -8
  34. package/dist/context.d.ts +3 -1
  35. package/dist/dual-modes-QHBOFWHM.js +13 -0
  36. package/dist/dual-modes-YE4S2AIL.cjs +13 -0
  37. package/dist/exit-F6ZUL2NV.js +8 -0
  38. package/dist/exit-IDKGZD7M.cjs +8 -0
  39. package/dist/exit.d.ts +2 -0
  40. package/dist/index.cjs +209 -58
  41. package/dist/index.d.ts +3 -2
  42. package/dist/index.js +193 -42
  43. package/dist/{jsx-CJ2RBODH.js → jsx-AEHVFB3L.js} +2 -3
  44. package/dist/jsx-AJAXBWFE.cjs +13 -0
  45. package/dist/{llmz-WY74UVE3.js → llmz-AS5TGCQS.js} +98 -39
  46. package/dist/{llmz-EGTGPSTX.cjs → llmz-R6XZG3JQ.cjs} +129 -70
  47. package/dist/llmz.d.ts +3 -2
  48. package/dist/snapshots.d.ts +9 -1
  49. package/dist/tool-LY77IWV2.js +11 -0
  50. package/dist/tool-SWJYOR2Z.cjs +11 -0
  51. package/dist/tool.d.ts +34 -9
  52. package/dist/truncator-NYN7BGKJ.cjs +10 -0
  53. package/dist/truncator-WAL2GCUY.js +10 -0
  54. package/dist/types.d.ts +7 -1
  55. package/dist/typings-AIV2OASX.js +10 -0
  56. package/dist/typings-XR6CYHW4.cjs +10 -0
  57. package/dist/{utils-TS23YJPE.js → utils-L5GLCS3C.js} +2 -3
  58. package/dist/utils-QC4I2L6R.cjs +37 -0
  59. package/dist/vm-GJ5R72AP.cjs +12 -0
  60. package/dist/vm-ZUQOSRRM.js +12 -0
  61. package/dist/vm.d.ts +1 -1
  62. package/package.json +8 -6
  63. package/dist/chunk-A7BDFLAE.cjs +0 -30
  64. package/dist/chunk-YSQDPG26.js +0 -30
  65. package/dist/component-DWBRHLEN.cjs +0 -9
  66. package/dist/component-R3ZAVXUC.js +0 -9
  67. package/dist/dual-modes-2VDEOJ5D.js +0 -13
  68. package/dist/dual-modes-3MH5N6RY.cjs +0 -13
  69. package/dist/exit-GYMXZZ4I.js +0 -9
  70. package/dist/exit-PQHMJEOG.cjs +0 -9
  71. package/dist/jsx-PPLE5YTB.cjs +0 -14
  72. package/dist/tool-AY47ML65.cjs +0 -12
  73. package/dist/tool-WVIPESKN.js +0 -12
  74. package/dist/truncator-MTONQESU.js +0 -11
  75. package/dist/truncator-ZKPOW2I3.cjs +0 -11
  76. package/dist/typings-HTYLRNIC.js +0 -11
  77. package/dist/typings-QRJGGNUM.cjs +0 -11
  78. package/dist/utils-UR4IMUHC.cjs +0 -38
  79. package/dist/vm-4JFSZAMR.cjs +0 -13
  80. package/dist/vm-SMMA664M.js +0 -13
  81. package/patches/source-map-js@1.2.1.patch +0 -16
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkFIVFS4HGcjs = require('./chunk-FIVFS4HG.cjs');
5
+ require('./chunk-P7J2WCBB.cjs');
6
+ require('./chunk-UQOBUJIQ.cjs');
7
+
8
+
9
+
10
+ exports.truncateWrappedContent = _chunkFIVFS4HGcjs.truncateWrappedContent; exports.wrapContent = _chunkFIVFS4HGcjs.wrapContent;
@@ -0,0 +1,10 @@
1
+ import {
2
+ truncateWrappedContent,
3
+ wrapContent
4
+ } from "./chunk-QT4QF3YA.js";
5
+ import "./chunk-5TRUJES5.js";
6
+ import "./chunk-7WRN4E42.js";
7
+ export {
8
+ truncateWrappedContent,
9
+ wrapContent
10
+ };
package/dist/types.d.ts CHANGED
@@ -13,6 +13,7 @@ export declare namespace Traces {
13
13
  type ToolCall = TraceTemplate<'tool_call', {
14
14
  success: true;
15
15
  tool_name: string;
16
+ tool_call_id: string;
16
17
  object?: string;
17
18
  input: any;
18
19
  output: any;
@@ -20,6 +21,7 @@ export declare namespace Traces {
20
21
  } | {
21
22
  success: false;
22
23
  tool_name: string;
24
+ tool_call_id: string;
23
25
  object?: string;
24
26
  input: any;
25
27
  error: any;
@@ -28,6 +30,7 @@ export declare namespace Traces {
28
30
  type ToolSlow = TraceTemplate<'tool_slow', {
29
31
  tool_name: string;
30
32
  object?: string;
33
+ tool_call_id: string;
31
34
  input: any;
32
35
  duration: number;
33
36
  }>;
@@ -47,6 +50,9 @@ export declare namespace Traces {
47
50
  message: string;
48
51
  stackTrace: string;
49
52
  }>;
53
+ type LLMCallStart = TraceTemplate<'llm_call_started', {
54
+ model: string;
55
+ }>;
50
56
  type LLMCallSuccess = TraceTemplate<'llm_call_success', {
51
57
  model: string;
52
58
  code: string;
@@ -66,7 +72,7 @@ export declare namespace Traces {
66
72
  started_at: number;
67
73
  ended_at?: number;
68
74
  } & Content;
69
- type Trace = Comment | Log | ToolCall | ToolSlow | PropertyMutation | YieldTrace | LLMCallSuccess | ThinkSignal | CodeExecution | CodeExecutionException | InvalidCodeExceptionTrace | AbortTrace;
75
+ type Trace = Comment | Log | ToolCall | ToolSlow | PropertyMutation | YieldTrace | LLMCallStart | LLMCallSuccess | ThinkSignal | CodeExecution | CodeExecutionException | InvalidCodeExceptionTrace | AbortTrace;
70
76
  }
71
77
  export type Trace = Traces.Trace;
72
78
  export type VMExecutionResult = {
@@ -0,0 +1,10 @@
1
+ import {
2
+ getTypings
3
+ } from "./chunk-UNMKB2DA.js";
4
+ import "./chunk-JKVVQN2P.js";
5
+ import "./chunk-JQBT7UWN.js";
6
+ import "./chunk-5TRUJES5.js";
7
+ import "./chunk-7WRN4E42.js";
8
+ export {
9
+ getTypings
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkHYVKY3W6cjs = require('./chunk-HYVKY3W6.cjs');
4
+ require('./chunk-JDABP4SD.cjs');
5
+ require('./chunk-IKSIOIIP.cjs');
6
+ require('./chunk-P7J2WCBB.cjs');
7
+ require('./chunk-UQOBUJIQ.cjs');
8
+
9
+
10
+ exports.getTypings = _chunkHYVKY3W6cjs.getTypings;
@@ -15,9 +15,8 @@ import {
15
15
  toPropertyKey,
16
16
  toValidFunctionName,
17
17
  toValidObjectName
18
- } from "./chunk-DFZ6GX5C.js";
19
- import "./chunk-7S3UY52U.js";
20
- import "./chunk-YSQDPG26.js";
18
+ } from "./chunk-5TRUJES5.js";
19
+ import "./chunk-7WRN4E42.js";
21
20
  export {
22
21
  Identifier,
23
22
  Tokens,
@@ -0,0 +1,37 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+ var _chunkP7J2WCBBcjs = require('./chunk-P7J2WCBB.cjs');
19
+ require('./chunk-UQOBUJIQ.cjs');
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+ exports.Identifier = _chunkP7J2WCBBcjs.Identifier; exports.Tokens = _chunkP7J2WCBBcjs.Tokens; exports.awaitObject = _chunkP7J2WCBBcjs.awaitObject; exports.convertObjectToZuiLiterals = _chunkP7J2WCBBcjs.convertObjectToZuiLiterals; exports.escapeString = _chunkP7J2WCBBcjs.escapeString; exports.getMultilineComment = _chunkP7J2WCBBcjs.getMultilineComment; exports.getTokenizer = _chunkP7J2WCBBcjs.getTokenizer; exports.init = _chunkP7J2WCBBcjs.init; exports.isJsonSchema = _chunkP7J2WCBBcjs.isJsonSchema; exports.isValidIdentifier = _chunkP7J2WCBBcjs.isValidIdentifier; exports.isValidMessageName = _chunkP7J2WCBBcjs.isValidMessageName; exports.isValidSchema = _chunkP7J2WCBBcjs.isValidSchema; exports.stripInvalidIdentifiers = _chunkP7J2WCBBcjs.stripInvalidIdentifiers; exports.toPropertyKey = _chunkP7J2WCBBcjs.toPropertyKey; exports.toValidFunctionName = _chunkP7J2WCBBcjs.toValidFunctionName; exports.toValidObjectName = _chunkP7J2WCBBcjs.toValidObjectName;
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunk5NVNEEYWcjs = require('./chunk-5NVNEEYW.cjs');
5
+ require('./chunk-JDABP4SD.cjs');
6
+ require('./chunk-IKSIOIIP.cjs');
7
+ require('./chunk-KMZDFWYZ.cjs');
8
+ require('./chunk-UQOBUJIQ.cjs');
9
+
10
+
11
+
12
+ exports.USE_ISOLATED_VM = _chunk5NVNEEYWcjs.USE_ISOLATED_VM; exports.runAsyncFunction = _chunk5NVNEEYWcjs.runAsyncFunction;
@@ -0,0 +1,12 @@
1
+ import {
2
+ USE_ISOLATED_VM,
3
+ runAsyncFunction
4
+ } from "./chunk-4EWY34YA.js";
5
+ import "./chunk-JKVVQN2P.js";
6
+ import "./chunk-JQBT7UWN.js";
7
+ import "./chunk-ORQP26SZ.js";
8
+ import "./chunk-7WRN4E42.js";
9
+ export {
10
+ USE_ISOLATED_VM,
11
+ runAsyncFunction
12
+ };
package/dist/vm.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { Trace, VMExecutionResult } from './types.js';
2
2
  export declare const USE_ISOLATED_VM: boolean;
3
- export declare function runAsyncFunction(context: any, code: string, traces?: Trace[], signal?: AbortSignal | null): Promise<VMExecutionResult>;
3
+ export declare function runAsyncFunction(context: any, code: string, traces?: Trace[], signal?: AbortSignal | null, timeout?: number): Promise<VMExecutionResult>;
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.0.2",
5
+ "version": "0.0.4",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
@@ -11,12 +11,13 @@
11
11
  }
12
12
  },
13
13
  "scripts": {
14
- "build": "pnpm build:markdown && tsup && pnpm tsc --emitDeclarationOnly",
14
+ "generate": "pnpm build:markdown",
15
+ "build": "tsup && pnpm tsc --emitDeclarationOnly",
15
16
  "watch": "tsup --watch",
16
17
  "test": "vitest run --config vitest.config.ts",
17
18
  "test:update": "vitest -u run --config vitest.config.ts",
18
19
  "test:watch": "vitest --config vitest.config.ts",
19
- "build:markdown": "tsx ./scripts/compile-markdown.mts"
20
+ "build:markdown": "node --loader ts-node/esm ./scripts/compile-markdown.mts"
20
21
  },
21
22
  "keywords": [],
22
23
  "author": "",
@@ -30,6 +31,7 @@
30
31
  "@babel/standalone": "^7.26.4",
31
32
  "@babel/traverse": "^7.26.4",
32
33
  "@babel/types": "^7.26.3",
34
+ "@botpress/client": "1.15.1",
33
35
  "bytes": "^3.1.2",
34
36
  "exponential-backoff": "^3.1.1",
35
37
  "handlebars": "^4.7.8",
@@ -41,7 +43,6 @@
41
43
  "ulid": "^2.3.0"
42
44
  },
43
45
  "devDependencies": {
44
- "@botpress/client": "1.12.0",
45
46
  "@microsoft/api-extractor": "^7.49.0",
46
47
  "@types/babel__core": "^7.20.5",
47
48
  "@types/babel__generator": "^7.6.8",
@@ -51,6 +52,7 @@
51
52
  "@types/lodash-es": "^4.17.12",
52
53
  "@types/ms": "^0.7.34",
53
54
  "@types/node": "^18.19.67",
55
+ "chalk": "^4.1.2",
54
56
  "diff": "^8.0.1",
55
57
  "dotenv": "^16.4.4",
56
58
  "esbuild": "^0.16.12",
@@ -61,9 +63,9 @@
61
63
  "tsx": "^4.19.2"
62
64
  },
63
65
  "peerDependencies": {
64
- "@botpress/cognitive": "^0.1.20",
66
+ "@botpress/cognitive": "0.1.23",
65
67
  "@bpinternal/thicktoken": "^1.0.5",
66
- "@bpinternal/zui": "^0.22.4"
68
+ "@bpinternal/zui": "^0.22.5"
67
69
  },
68
70
  "dependenciesMeta": {
69
71
  "@bpinternal/zui": {
@@ -1,30 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
- // If the importer is in node compatibility mode or this is not an ESM
20
- // file that has been converted to a CommonJS file using a Babel-
21
- // compatible transform (i.e. "__esModule" has not been set), then set
22
- // "default" to the CommonJS "module.exports" for node compatibility.
23
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
- mod
25
- ));
26
-
27
-
28
-
29
-
30
- exports.__commonJS = __commonJS; exports.__toESM = __toESM;
@@ -1,30 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __commonJS = (cb, mod) => function __require() {
8
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
- // If the importer is in node compatibility mode or this is not an ESM
20
- // file that has been converted to a CommonJS file using a Babel-
21
- // compatible transform (i.e. "__esModule" has not been set), then set
22
- // "default" to the CommonJS "module.exports" for node compatibility.
23
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
- mod
25
- ));
26
-
27
- export {
28
- __commonJS,
29
- __toESM
30
- };
@@ -1,9 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkE5W3P7EOcjs = require('./chunk-E5W3P7EO.cjs');
5
- require('./chunk-A7BDFLAE.cjs');
6
-
7
-
8
-
9
- exports.assertValidComponent = _chunkE5W3P7EOcjs.assertValidComponent; exports.getComponentReference = _chunkE5W3P7EOcjs.getComponentReference;
@@ -1,9 +0,0 @@
1
- import {
2
- assertValidComponent,
3
- getComponentReference
4
- } from "./chunk-3T465BEW.js";
5
- import "./chunk-YSQDPG26.js";
6
- export {
7
- assertValidComponent,
8
- getComponentReference
9
- };
@@ -1,13 +0,0 @@
1
- import {
2
- DualModePrompt
3
- } from "./chunk-QPSUMPLP.js";
4
- import "./chunk-Q4DEJGXD.js";
5
- import "./chunk-MSTBEKOQ.js";
6
- import "./chunk-3T465BEW.js";
7
- import "./chunk-UVSOAH2H.js";
8
- import "./chunk-DFZ6GX5C.js";
9
- import "./chunk-7S3UY52U.js";
10
- import "./chunk-YSQDPG26.js";
11
- export {
12
- DualModePrompt
13
- };
@@ -1,13 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkE2B5DRICcjs = require('./chunk-E2B5DRIC.cjs');
4
- require('./chunk-QZGFCB4T.cjs');
5
- require('./chunk-PQN6HW7A.cjs');
6
- require('./chunk-E5W3P7EO.cjs');
7
- require('./chunk-VP6WWAE2.cjs');
8
- require('./chunk-ENFB45AI.cjs');
9
- require('./chunk-3CGLDS5T.cjs');
10
- require('./chunk-A7BDFLAE.cjs');
11
-
12
-
13
- exports.DualModePrompt = _chunkE2B5DRICcjs.DualModePrompt;
@@ -1,9 +0,0 @@
1
- import {
2
- Exit
3
- } from "./chunk-6QDFMQHA.js";
4
- import "./chunk-DFZ6GX5C.js";
5
- import "./chunk-7S3UY52U.js";
6
- import "./chunk-YSQDPG26.js";
7
- export {
8
- Exit
9
- };
@@ -1,9 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkR2N2UUKCcjs = require('./chunk-R2N2UUKC.cjs');
4
- require('./chunk-ENFB45AI.cjs');
5
- require('./chunk-3CGLDS5T.cjs');
6
- require('./chunk-A7BDFLAE.cjs');
7
-
8
-
9
- exports.Exit = _chunkR2N2UUKCcjs.Exit;
@@ -1,14 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
- var _chunkBOLDQGEScjs = require('./chunk-BOLDQGES.cjs');
7
- require('./chunk-3CGLDS5T.cjs');
8
- require('./chunk-A7BDFLAE.cjs');
9
-
10
-
11
-
12
-
13
-
14
- exports.Jsx = _chunkBOLDQGEScjs.Jsx; exports.createJsxComponent = _chunkBOLDQGEScjs.createJsxComponent; exports.isAnyJsxComponent = _chunkBOLDQGEScjs.isAnyJsxComponent; exports.isJsxComponent = _chunkBOLDQGEScjs.isJsxComponent;
@@ -1,12 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkYPOOKE3Acjs = require('./chunk-YPOOKE3A.cjs');
4
- require('./chunk-YUDUY7XW.cjs');
5
- require('./chunk-ZUAFUOUR.cjs');
6
- require('./chunk-PQN6HW7A.cjs');
7
- require('./chunk-ENFB45AI.cjs');
8
- require('./chunk-3CGLDS5T.cjs');
9
- require('./chunk-A7BDFLAE.cjs');
10
-
11
-
12
- exports.Tool = _chunkYPOOKE3Acjs.Tool;
@@ -1,12 +0,0 @@
1
- import {
2
- Tool
3
- } from "./chunk-DILHJIMP.js";
4
- import "./chunk-ZSRC3TN4.js";
5
- import "./chunk-RJHDQL4C.js";
6
- import "./chunk-MSTBEKOQ.js";
7
- import "./chunk-DFZ6GX5C.js";
8
- import "./chunk-7S3UY52U.js";
9
- import "./chunk-YSQDPG26.js";
10
- export {
11
- Tool
12
- };
@@ -1,11 +0,0 @@
1
- import {
2
- truncateWrappedContent,
3
- wrapContent
4
- } from "./chunk-UVSOAH2H.js";
5
- import "./chunk-DFZ6GX5C.js";
6
- import "./chunk-7S3UY52U.js";
7
- import "./chunk-YSQDPG26.js";
8
- export {
9
- truncateWrappedContent,
10
- wrapContent
11
- };
@@ -1,11 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkVP6WWAE2cjs = require('./chunk-VP6WWAE2.cjs');
5
- require('./chunk-ENFB45AI.cjs');
6
- require('./chunk-3CGLDS5T.cjs');
7
- require('./chunk-A7BDFLAE.cjs');
8
-
9
-
10
-
11
- exports.truncateWrappedContent = _chunkVP6WWAE2cjs.truncateWrappedContent; exports.wrapContent = _chunkVP6WWAE2cjs.wrapContent;
@@ -1,11 +0,0 @@
1
- import {
2
- getTypings
3
- } from "./chunk-ZSRC3TN4.js";
4
- import "./chunk-RJHDQL4C.js";
5
- import "./chunk-MSTBEKOQ.js";
6
- import "./chunk-DFZ6GX5C.js";
7
- import "./chunk-7S3UY52U.js";
8
- import "./chunk-YSQDPG26.js";
9
- export {
10
- getTypings
11
- };
@@ -1,11 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkYUDUY7XWcjs = require('./chunk-YUDUY7XW.cjs');
4
- require('./chunk-ZUAFUOUR.cjs');
5
- require('./chunk-PQN6HW7A.cjs');
6
- require('./chunk-ENFB45AI.cjs');
7
- require('./chunk-3CGLDS5T.cjs');
8
- require('./chunk-A7BDFLAE.cjs');
9
-
10
-
11
- exports.getTypings = _chunkYUDUY7XWcjs.getTypings;
@@ -1,38 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
- var _chunkENFB45AIcjs = require('./chunk-ENFB45AI.cjs');
19
- require('./chunk-3CGLDS5T.cjs');
20
- require('./chunk-A7BDFLAE.cjs');
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
- exports.Identifier = _chunkENFB45AIcjs.Identifier; exports.Tokens = _chunkENFB45AIcjs.Tokens; exports.awaitObject = _chunkENFB45AIcjs.awaitObject; exports.convertObjectToZuiLiterals = _chunkENFB45AIcjs.convertObjectToZuiLiterals; exports.escapeString = _chunkENFB45AIcjs.escapeString; exports.getMultilineComment = _chunkENFB45AIcjs.getMultilineComment; exports.getTokenizer = _chunkENFB45AIcjs.getTokenizer; exports.init = _chunkENFB45AIcjs.init; exports.isJsonSchema = _chunkENFB45AIcjs.isJsonSchema; exports.isValidIdentifier = _chunkENFB45AIcjs.isValidIdentifier; exports.isValidMessageName = _chunkENFB45AIcjs.isValidMessageName; exports.isValidSchema = _chunkENFB45AIcjs.isValidSchema; exports.stripInvalidIdentifiers = _chunkENFB45AIcjs.stripInvalidIdentifiers; exports.toPropertyKey = _chunkENFB45AIcjs.toPropertyKey; exports.toValidFunctionName = _chunkENFB45AIcjs.toValidFunctionName; exports.toValidObjectName = _chunkENFB45AIcjs.toValidObjectName;
@@ -1,13 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkBKGPO722cjs = require('./chunk-BKGPO722.cjs');
5
- require('./chunk-BOLDQGES.cjs');
6
- require('./chunk-ZUAFUOUR.cjs');
7
- require('./chunk-PQN6HW7A.cjs');
8
- require('./chunk-3CGLDS5T.cjs');
9
- require('./chunk-A7BDFLAE.cjs');
10
-
11
-
12
-
13
- exports.USE_ISOLATED_VM = _chunkBKGPO722cjs.USE_ISOLATED_VM; exports.runAsyncFunction = _chunkBKGPO722cjs.runAsyncFunction;
@@ -1,13 +0,0 @@
1
- import {
2
- USE_ISOLATED_VM,
3
- runAsyncFunction
4
- } from "./chunk-RB2L33ZR.js";
5
- import "./chunk-7FIPXMZR.js";
6
- import "./chunk-RJHDQL4C.js";
7
- import "./chunk-MSTBEKOQ.js";
8
- import "./chunk-7S3UY52U.js";
9
- import "./chunk-YSQDPG26.js";
10
- export {
11
- USE_ISOLATED_VM,
12
- runAsyncFunction
13
- };
@@ -1,16 +0,0 @@
1
- diff --git a/lib/quick-sort.js b/lib/quick-sort.js
2
- index 23f9eda57f7383b5291361e4593cf2fdef5409ba..a860b41503761d8543a4f68d6b0999d9e51a9dd3 100644
3
- --- a/lib/quick-sort.js
4
- +++ b/lib/quick-sort.js
5
- @@ -107,8 +107,9 @@ function doQuickSort(ary, comparator, p, r) {
6
- }
7
-
8
- function cloneSort(comparator) {
9
- - let template = SortTemplate.toString();
10
- - let templateFn = new Function(`return ${template}`)();
11
- + // let template = SortTemplate.toString();
12
- + // let templateFn = new Function(`return ${template}`)();
13
- + let templateFn = (...args) => SortTemplate(...args);
14
- return templateFn(comparator);
15
- }
16
-