llmz 0.0.85 → 0.0.86

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-EADBCAE7.js → chunk-2O3UTPVH.js} +2 -2
  2. package/dist/{chunk-KY27DGTG.cjs → chunk-7LMIOS6H.cjs} +14 -14
  3. package/dist/{chunk-ZVSO527D.cjs → chunk-BBX2LDZE.cjs} +25 -25
  4. package/dist/{chunk-EC2I4U4G.cjs → chunk-D6PU5YAS.cjs} +6 -6
  5. package/dist/{chunk-NFZXJRXS.cjs → chunk-FPLSJF4S.cjs} +5 -2
  6. package/dist/{chunk-YTFNFSDT.js → chunk-IRCB4FRM.js} +2 -2
  7. package/dist/{chunk-GEN6TAXY.js → chunk-L74UZONX.js} +16 -8
  8. package/dist/{chunk-2XSXXGXJ.js → chunk-NK2NCYSY.js} +4 -4
  9. package/dist/{chunk-N3XPJTPE.cjs → chunk-PQGZQQA6.cjs} +18 -18
  10. package/dist/{chunk-PASYUKW4.js → chunk-TOGYDN6U.js} +1 -1
  11. package/dist/{chunk-H3PZFBJL.cjs → chunk-WODK7Y4J.cjs} +10 -10
  12. package/dist/{chunk-TRWUQSEK.js → chunk-XVVYNOTX.js} +1 -1
  13. package/dist/{chunk-ZHHB3FT4.js → chunk-YX27XM67.js} +4 -1
  14. package/dist/{chunk-GFSUTNRM.cjs → chunk-ZPHRTTQX.cjs} +17 -9
  15. package/dist/{dual-modes-5NJMZJTA.js → dual-modes-HEXPFVUE.js} +3 -3
  16. package/dist/{dual-modes-WA5TPGJR.cjs → dual-modes-LLIWZCHC.cjs} +4 -4
  17. package/dist/{execute-I53OOORH.cjs → execute-2BVFYTJT.cjs} +30 -30
  18. package/dist/{execute-2T75URIX.js → execute-EZXXBWB6.js} +7 -7
  19. package/dist/exit-LUJY7JIG.cjs +8 -0
  20. package/dist/{exit-7NHSUR3V.js → exit-VJATJTQI.js} +2 -2
  21. package/dist/index.cjs +33 -33
  22. package/dist/index.js +16 -16
  23. package/dist/{tool-HXXQMDA3.js → tool-DNHVW3KC.js} +3 -3
  24. package/dist/{tool-4OPM7QRM.cjs → tool-GJ6ZXWS2.cjs} +4 -4
  25. package/dist/{truncator-ZQYBTVCJ.js → truncator-3U2QUUJJ.js} +2 -2
  26. package/dist/truncator-3ZN7W6NB.cjs +10 -0
  27. package/dist/{typings-YD2WAQ4A.js → typings-3YV3RDMP.js} +2 -2
  28. package/dist/{typings-QW4427V7.cjs → typings-ZTFPPA5W.cjs} +3 -3
  29. package/dist/utils-GLZVMRWO.cjs +39 -0
  30. package/dist/{utils-RKUVYFTJ.js → utils-ZEZ66X6Q.js} +1 -1
  31. package/dist/utils.d.ts +1 -1
  32. package/package.json +2 -2
  33. package/dist/exit-V3ORIN65.cjs +0 -8
  34. package/dist/truncator-ZN7X6OMF.cjs +0 -10
  35. package/dist/utils-NQSM5FBL.cjs +0 -39
package/dist/index.cjs CHANGED
@@ -9,15 +9,15 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkN3XPJTPEcjs = require('./chunk-N3XPJTPE.cjs');
13
- require('./chunk-ZVSO527D.cjs');
12
+ var _chunkPQGZQQA6cjs = require('./chunk-PQGZQQA6.cjs');
13
+ require('./chunk-BBX2LDZE.cjs');
14
14
 
15
15
 
16
- var _chunkH3PZFBJLcjs = require('./chunk-H3PZFBJL.cjs');
16
+ var _chunkWODK7Y4Jcjs = require('./chunk-WODK7Y4J.cjs');
17
17
 
18
18
 
19
19
 
20
- var _chunkKY27DGTGcjs = require('./chunk-KY27DGTG.cjs');
20
+ var _chunk7LMIOS6Hcjs = require('./chunk-7LMIOS6H.cjs');
21
21
 
22
22
 
23
23
 
@@ -27,7 +27,7 @@ var _chunkPK72FAKDcjs = require('./chunk-PK72FAKD.cjs');
27
27
  require('./chunk-KIN7Y247.cjs');
28
28
 
29
29
 
30
- var _chunkEC2I4U4Gcjs = require('./chunk-EC2I4U4G.cjs');
30
+ var _chunkD6PU5YAScjs = require('./chunk-D6PU5YAS.cjs');
31
31
 
32
32
 
33
33
 
@@ -39,21 +39,21 @@ require('./chunk-5ZF6NTYI.cjs');
39
39
 
40
40
 
41
41
 
42
- var _chunkGFSUTNRMcjs = require('./chunk-GFSUTNRM.cjs');
42
+ var _chunkZPHRTTQXcjs = require('./chunk-ZPHRTTQX.cjs');
43
43
 
44
44
 
45
45
 
46
46
 
47
47
 
48
48
 
49
- var _chunkNFZXJRXScjs = require('./chunk-NFZXJRXS.cjs');
49
+ var _chunkFPLSJF4Scjs = require('./chunk-FPLSJF4S.cjs');
50
50
 
51
51
 
52
52
 
53
53
  var _chunkHC2QZTVTcjs = require('./chunk-HC2QZTVT.cjs');
54
54
 
55
55
  // package.json
56
- var version = "0.0.85";
56
+ var version = "0.0.86";
57
57
 
58
58
  // src/objects.ts
59
59
  var _zui = require('@bpinternal/zui');
@@ -305,7 +305,7 @@ async function hoistTypings(code, formatOptions) {
305
305
  break;
306
306
  }
307
307
  }
308
- return _chunkKY27DGTGcjs.formatTypings.call(void 0, code, formatOptions);
308
+ return _chunk7LMIOS6Hcjs.formatTypings.call(void 0, code, formatOptions);
309
309
  }
310
310
 
311
311
  // src/objects.ts
@@ -374,7 +374,7 @@ var ObjectInstance = class {
374
374
  */
375
375
  constructor(props) {
376
376
  var _a;
377
- if (!_chunkNFZXJRXScjs.isValidIdentifier.call(void 0, props.name)) {
377
+ if (!_chunkFPLSJF4Scjs.isValidIdentifier.call(void 0, props.name)) {
378
378
  throw new Error(
379
379
  `Invalid name for tool ${props.name}. A tool name must start with a letter and contain only letters, numbers, and underscores. It must be 1-50 characters long.`
380
380
  );
@@ -407,7 +407,7 @@ var ObjectInstance = class {
407
407
  if (props.properties.filter((p) => p.name === prop.name).length > 1) {
408
408
  throw new Error(`Duplicate property name "${prop.name}" in tool ${props.name}`);
409
409
  }
410
- if (!_chunkNFZXJRXScjs.isValidIdentifier.call(void 0, prop.name)) {
410
+ if (!_chunkFPLSJF4Scjs.isValidIdentifier.call(void 0, prop.name)) {
411
411
  throw new Error(
412
412
  `Invalid name for property ${prop.name}. A property name must start with a letter and contain only letters, numbers, and underscores. It must be 1-50 characters long.`
413
413
  );
@@ -431,7 +431,7 @@ var ObjectInstance = class {
431
431
  this.description = props.description;
432
432
  this.metadata = _nullishCoalesce(props.metadata, () => ( {}));
433
433
  this.properties = props.properties;
434
- this.tools = _chunkH3PZFBJLcjs.Tool.withUniqueNames(_nullishCoalesce(props.tools, () => ( [])));
434
+ this.tools = _chunkWODK7Y4Jcjs.Tool.withUniqueNames(_nullishCoalesce(props.tools, () => ( [])));
435
435
  }
436
436
  /**
437
437
  * Generates TypeScript namespace declarations for this object.
@@ -508,11 +508,11 @@ function getObjectTypings(obj) {
508
508
  for (const prop of _nullishCoalesce(obj.properties, () => ( []))) {
509
509
  const description = _nullishCoalesce(prop.description, () => ( ""));
510
510
  if (description == null ? void 0 : description.trim().length) {
511
- typings.push(_chunkNFZXJRXScjs.getMultilineComment.call(void 0, description));
511
+ typings.push(_chunkFPLSJF4Scjs.getMultilineComment.call(void 0, description));
512
512
  }
513
513
  let type = "unknown";
514
514
  if (prop.type) {
515
- type = await _chunkKY27DGTGcjs.getTypings.call(void 0, prop.type, {});
515
+ type = await _chunk7LMIOS6Hcjs.getTypings.call(void 0, prop.type, {});
516
516
  } else if (prop.value !== void 0) {
517
517
  type = typeof prop.value;
518
518
  }
@@ -532,7 +532,7 @@ function getObjectTypings(obj) {
532
532
  typings.push("");
533
533
  for (const tool of obj.tools) {
534
534
  const fnType = _zui.z.function(tool.zInput, tool.zOutput).title(tool.name).describe(_nullishCoalesce(tool.description, () => ( "")));
535
- let temp = await _chunkKY27DGTGcjs.getTypings.call(void 0, fnType, {
535
+ let temp = await _chunk7LMIOS6Hcjs.getTypings.call(void 0, fnType, {
536
536
  declaration: true
537
537
  });
538
538
  temp = temp.replace("declare function ", "function ");
@@ -553,9 +553,9 @@ function getObjectTypings(obj) {
553
553
  typings.push("}" + closingBracket);
554
554
  let header = "";
555
555
  if ((_a = obj.description) == null ? void 0 : _a.trim().length) {
556
- header = _chunkNFZXJRXScjs.getMultilineComment.call(void 0, obj.description);
556
+ header = _chunkFPLSJF4Scjs.getMultilineComment.call(void 0, obj.description);
557
557
  }
558
- return _chunkKY27DGTGcjs.formatTypings.call(void 0,
558
+ return _chunk7LMIOS6Hcjs.formatTypings.call(void 0,
559
559
  `${header}
560
560
  export namespace ${obj.name} {
561
561
  ${body}
@@ -586,7 +586,7 @@ function getObjectTypings(obj) {
586
586
  }
587
587
  function embedPropertyValue(property) {
588
588
  if (typeof property.value === "string") {
589
- return _chunkNFZXJRXScjs.escapeString.call(void 0, property.value);
589
+ return _chunkFPLSJF4Scjs.escapeString.call(void 0, property.value);
590
590
  }
591
591
  if (Number.isNaN(property.value)) {
592
592
  return "NaN";
@@ -604,7 +604,7 @@ function embedPropertyValue(property) {
604
604
  return `new Date('${property.value.toISOString()}')`;
605
605
  }
606
606
  if (property.value instanceof RegExp) {
607
- return `new RegExp(${_chunkNFZXJRXScjs.escapeString.call(void 0, property.value.source)}, ${_chunkNFZXJRXScjs.escapeString.call(void 0, property.value.flags)})`;
607
+ return `new RegExp(${_chunkFPLSJF4Scjs.escapeString.call(void 0, property.value.source)}, ${_chunkFPLSJF4Scjs.escapeString.call(void 0, property.value.flags)})`;
608
608
  }
609
609
  if (property.value === null) {
610
610
  return "null";
@@ -622,7 +622,7 @@ function embedPropertyValue(property) {
622
622
  return `${property.value}n`;
623
623
  }
624
624
  if (property.value instanceof Error) {
625
- return `Error(${_chunkNFZXJRXScjs.escapeString.call(void 0, property.value.message)})`;
625
+ return `Error(${_chunkFPLSJF4Scjs.escapeString.call(void 0, property.value.message)})`;
626
626
  }
627
627
  if (property.value instanceof Map) {
628
628
  return `new Map(${JSON.stringify(Array.from(property.value.entries()))})`;
@@ -1109,26 +1109,26 @@ var Chat = class {
1109
1109
 
1110
1110
  // src/index.ts
1111
1111
  var utils = {
1112
- toValidObjectName: _chunkNFZXJRXScjs.toValidObjectName,
1113
- toValidFunctionName: _chunkNFZXJRXScjs.toValidFunctionName,
1114
- wrapContent: _chunkGFSUTNRMcjs.wrapContent,
1115
- truncateWrappedContent: _chunkGFSUTNRMcjs.truncateWrappedContent
1112
+ toValidObjectName: _chunkFPLSJF4Scjs.toValidObjectName,
1113
+ toValidFunctionName: _chunkFPLSJF4Scjs.toValidFunctionName,
1114
+ wrapContent: _chunkZPHRTTQXcjs.wrapContent,
1115
+ truncateWrappedContent: _chunkZPHRTTQXcjs.truncateWrappedContent
1116
1116
  };
1117
1117
  var execute = async (props) => {
1118
- const { executeContext } = await Promise.resolve().then(() => _interopRequireWildcard(require("./execute-I53OOORH.cjs")));
1118
+ const { executeContext } = await Promise.resolve().then(() => _interopRequireWildcard(require("./execute-2BVFYTJT.cjs")));
1119
1119
  return executeContext(props);
1120
1120
  };
1121
1121
  var init = async () => {
1122
- await Promise.resolve().then(() => _interopRequireWildcard(require("./execute-I53OOORH.cjs")));
1122
+ await Promise.resolve().then(() => _interopRequireWildcard(require("./execute-2BVFYTJT.cjs")));
1123
1123
  await Promise.resolve().then(() => _interopRequireWildcard(require("./component-NNHBHD72.cjs")));
1124
- await Promise.resolve().then(() => _interopRequireWildcard(require("./tool-4OPM7QRM.cjs")));
1125
- await Promise.resolve().then(() => _interopRequireWildcard(require("./exit-V3ORIN65.cjs")));
1124
+ await Promise.resolve().then(() => _interopRequireWildcard(require("./tool-GJ6ZXWS2.cjs")));
1125
+ await Promise.resolve().then(() => _interopRequireWildcard(require("./exit-LUJY7JIG.cjs")));
1126
1126
  await Promise.resolve().then(() => _interopRequireWildcard(require("./jsx-ULPWX5TW.cjs")));
1127
1127
  await Promise.resolve().then(() => _interopRequireWildcard(require("./vm-VHB67FVH.cjs")));
1128
- await Promise.resolve().then(() => _interopRequireWildcard(require("./utils-NQSM5FBL.cjs")));
1129
- await Promise.resolve().then(() => _interopRequireWildcard(require("./truncator-ZN7X6OMF.cjs")));
1130
- await Promise.resolve().then(() => _interopRequireWildcard(require("./typings-QW4427V7.cjs")));
1131
- await Promise.resolve().then(() => _interopRequireWildcard(require("./dual-modes-WA5TPGJR.cjs")));
1128
+ await Promise.resolve().then(() => _interopRequireWildcard(require("./utils-GLZVMRWO.cjs")));
1129
+ await Promise.resolve().then(() => _interopRequireWildcard(require("./truncator-3ZN7W6NB.cjs")));
1130
+ await Promise.resolve().then(() => _interopRequireWildcard(require("./typings-ZTFPPA5W.cjs")));
1131
+ await Promise.resolve().then(() => _interopRequireWildcard(require("./dual-modes-LLIWZCHC.cjs")));
1132
1132
  };
1133
1133
 
1134
1134
 
@@ -1159,4 +1159,4 @@ var init = async () => {
1159
1159
 
1160
1160
 
1161
1161
 
1162
- exports.Chat = Chat; exports.CitationsManager = CitationsManager; exports.Component = _chunkCQ3UJW76cjs.Component; exports.DefaultComponents = DefaultComponents; exports.DefaultExit = _chunkN3XPJTPEcjs.DefaultExit; exports.ErrorExecutionResult = _chunkN3XPJTPEcjs.ErrorExecutionResult; exports.ExecutionResult = _chunkN3XPJTPEcjs.ExecutionResult; exports.Exit = _chunkEC2I4U4Gcjs.Exit; exports.ListenExit = _chunkN3XPJTPEcjs.ListenExit; exports.LoopExceededError = _chunkPK72FAKDcjs.LoopExceededError; exports.ObjectInstance = ObjectInstance; exports.PartialExecutionResult = _chunkN3XPJTPEcjs.PartialExecutionResult; exports.Snapshot = _chunkN3XPJTPEcjs.Snapshot; exports.SnapshotSignal = _chunkPK72FAKDcjs.SnapshotSignal; exports.SuccessExecutionResult = _chunkN3XPJTPEcjs.SuccessExecutionResult; exports.ThinkExit = _chunkN3XPJTPEcjs.ThinkExit; exports.ThinkSignal = _chunkPK72FAKDcjs.ThinkSignal; exports.Tool = _chunkH3PZFBJLcjs.Tool; exports.assertValidComponent = _chunkCQ3UJW76cjs.assertValidComponent; exports.execute = execute; exports.getValue = _chunkN3XPJTPEcjs.getValue; exports.init = init; exports.isAnyComponent = _chunkCQ3UJW76cjs.isAnyComponent; exports.isComponent = _chunkCQ3UJW76cjs.isComponent; exports.parseExit = _chunkN3XPJTPEcjs.parseExit; exports.renderToTsx = _chunkCQ3UJW76cjs.renderToTsx; exports.utils = utils; exports.version = version;
1162
+ exports.Chat = Chat; exports.CitationsManager = CitationsManager; exports.Component = _chunkCQ3UJW76cjs.Component; exports.DefaultComponents = DefaultComponents; exports.DefaultExit = _chunkPQGZQQA6cjs.DefaultExit; exports.ErrorExecutionResult = _chunkPQGZQQA6cjs.ErrorExecutionResult; exports.ExecutionResult = _chunkPQGZQQA6cjs.ExecutionResult; exports.Exit = _chunkD6PU5YAScjs.Exit; exports.ListenExit = _chunkPQGZQQA6cjs.ListenExit; exports.LoopExceededError = _chunkPK72FAKDcjs.LoopExceededError; exports.ObjectInstance = ObjectInstance; exports.PartialExecutionResult = _chunkPQGZQQA6cjs.PartialExecutionResult; exports.Snapshot = _chunkPQGZQQA6cjs.Snapshot; exports.SnapshotSignal = _chunkPK72FAKDcjs.SnapshotSignal; exports.SuccessExecutionResult = _chunkPQGZQQA6cjs.SuccessExecutionResult; exports.ThinkExit = _chunkPQGZQQA6cjs.ThinkExit; exports.ThinkSignal = _chunkPK72FAKDcjs.ThinkSignal; exports.Tool = _chunkWODK7Y4Jcjs.Tool; exports.assertValidComponent = _chunkCQ3UJW76cjs.assertValidComponent; exports.execute = execute; exports.getValue = _chunkPQGZQQA6cjs.getValue; exports.init = init; exports.isAnyComponent = _chunkCQ3UJW76cjs.isAnyComponent; exports.isComponent = _chunkCQ3UJW76cjs.isComponent; exports.parseExit = _chunkPQGZQQA6cjs.parseExit; exports.renderToTsx = _chunkCQ3UJW76cjs.renderToTsx; exports.utils = utils; exports.version = version;
package/dist/index.js CHANGED
@@ -9,15 +9,15 @@ import {
9
9
  ThinkExit,
10
10
  getValue,
11
11
  parseExit
12
- } from "./chunk-2XSXXGXJ.js";
13
- import "./chunk-EADBCAE7.js";
12
+ } from "./chunk-NK2NCYSY.js";
13
+ import "./chunk-2O3UTPVH.js";
14
14
  import {
15
15
  Tool
16
- } from "./chunk-YTFNFSDT.js";
16
+ } from "./chunk-IRCB4FRM.js";
17
17
  import {
18
18
  formatTypings,
19
19
  getTypings
20
- } from "./chunk-PASYUKW4.js";
20
+ } from "./chunk-TOGYDN6U.js";
21
21
  import {
22
22
  CodeFormattingError,
23
23
  LoopExceededError,
@@ -27,7 +27,7 @@ import {
27
27
  import "./chunk-YEAWWJSJ.js";
28
28
  import {
29
29
  Exit
30
- } from "./chunk-TRWUQSEK.js";
30
+ } from "./chunk-XVVYNOTX.js";
31
31
  import {
32
32
  Component,
33
33
  assertValidComponent,
@@ -39,21 +39,21 @@ import "./chunk-XTEHT2TK.js";
39
39
  import {
40
40
  truncateWrappedContent,
41
41
  wrapContent
42
- } from "./chunk-GEN6TAXY.js";
42
+ } from "./chunk-L74UZONX.js";
43
43
  import {
44
44
  escapeString,
45
45
  getMultilineComment,
46
46
  isValidIdentifier,
47
47
  toValidFunctionName,
48
48
  toValidObjectName
49
- } from "./chunk-ZHHB3FT4.js";
49
+ } from "./chunk-YX27XM67.js";
50
50
  import {
51
51
  cloneDeep_default,
52
52
  upperFirst_default
53
53
  } from "./chunk-34GJUS6U.js";
54
54
 
55
55
  // package.json
56
- var version = "0.0.85";
56
+ var version = "0.0.86";
57
57
 
58
58
  // src/objects.ts
59
59
  import { z } from "@bpinternal/zui";
@@ -1115,20 +1115,20 @@ var utils = {
1115
1115
  truncateWrappedContent
1116
1116
  };
1117
1117
  var execute = async (props) => {
1118
- const { executeContext } = await import("./execute-2T75URIX.js");
1118
+ const { executeContext } = await import("./execute-EZXXBWB6.js");
1119
1119
  return executeContext(props);
1120
1120
  };
1121
1121
  var init = async () => {
1122
- await import("./execute-2T75URIX.js");
1122
+ await import("./execute-EZXXBWB6.js");
1123
1123
  await import("./component-2Z3KLWLX.js");
1124
- await import("./tool-HXXQMDA3.js");
1125
- await import("./exit-7NHSUR3V.js");
1124
+ await import("./tool-DNHVW3KC.js");
1125
+ await import("./exit-VJATJTQI.js");
1126
1126
  await import("./jsx-DDZ63UUF.js");
1127
1127
  await import("./vm-PYCKS77H.js");
1128
- await import("./utils-RKUVYFTJ.js");
1129
- await import("./truncator-ZQYBTVCJ.js");
1130
- await import("./typings-YD2WAQ4A.js");
1131
- await import("./dual-modes-5NJMZJTA.js");
1128
+ await import("./utils-ZEZ66X6Q.js");
1129
+ await import("./truncator-3U2QUUJJ.js");
1130
+ await import("./typings-3YV3RDMP.js");
1131
+ await import("./dual-modes-HEXPFVUE.js");
1132
1132
  };
1133
1133
  export {
1134
1134
  Chat,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Tool
3
- } from "./chunk-YTFNFSDT.js";
4
- import "./chunk-PASYUKW4.js";
3
+ } from "./chunk-IRCB4FRM.js";
4
+ import "./chunk-TOGYDN6U.js";
5
5
  import "./chunk-WSVDMGMR.js";
6
6
  import "./chunk-YEAWWJSJ.js";
7
- import "./chunk-ZHHB3FT4.js";
7
+ import "./chunk-YX27XM67.js";
8
8
  import "./chunk-34GJUS6U.js";
9
9
  export {
10
10
  Tool
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkH3PZFBJLcjs = require('./chunk-H3PZFBJL.cjs');
4
- require('./chunk-KY27DGTG.cjs');
3
+ var _chunkWODK7Y4Jcjs = require('./chunk-WODK7Y4J.cjs');
4
+ require('./chunk-7LMIOS6H.cjs');
5
5
  require('./chunk-PK72FAKD.cjs');
6
6
  require('./chunk-KIN7Y247.cjs');
7
- require('./chunk-NFZXJRXS.cjs');
7
+ require('./chunk-FPLSJF4S.cjs');
8
8
  require('./chunk-HC2QZTVT.cjs');
9
9
 
10
10
 
11
- exports.Tool = _chunkH3PZFBJLcjs.Tool;
11
+ exports.Tool = _chunkWODK7Y4Jcjs.Tool;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  truncateWrappedContent,
3
3
  wrapContent
4
- } from "./chunk-GEN6TAXY.js";
5
- import "./chunk-ZHHB3FT4.js";
4
+ } from "./chunk-L74UZONX.js";
5
+ import "./chunk-YX27XM67.js";
6
6
  import "./chunk-34GJUS6U.js";
7
7
  export {
8
8
  truncateWrappedContent,
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkZPHRTTQXcjs = require('./chunk-ZPHRTTQX.cjs');
5
+ require('./chunk-FPLSJF4S.cjs');
6
+ require('./chunk-HC2QZTVT.cjs');
7
+
8
+
9
+
10
+ exports.truncateWrappedContent = _chunkZPHRTTQXcjs.truncateWrappedContent; exports.wrapContent = _chunkZPHRTTQXcjs.wrapContent;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getTypings
3
- } from "./chunk-PASYUKW4.js";
3
+ } from "./chunk-TOGYDN6U.js";
4
4
  import "./chunk-WSVDMGMR.js";
5
5
  import "./chunk-YEAWWJSJ.js";
6
- import "./chunk-ZHHB3FT4.js";
6
+ import "./chunk-YX27XM67.js";
7
7
  import "./chunk-34GJUS6U.js";
8
8
  export {
9
9
  getTypings
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkKY27DGTGcjs = require('./chunk-KY27DGTG.cjs');
3
+ var _chunk7LMIOS6Hcjs = require('./chunk-7LMIOS6H.cjs');
4
4
  require('./chunk-PK72FAKD.cjs');
5
5
  require('./chunk-KIN7Y247.cjs');
6
- require('./chunk-NFZXJRXS.cjs');
6
+ require('./chunk-FPLSJF4S.cjs');
7
7
  require('./chunk-HC2QZTVT.cjs');
8
8
 
9
9
 
10
- exports.getTypings = _chunkKY27DGTGcjs.getTypings;
10
+ exports.getTypings = _chunk7LMIOS6Hcjs.getTypings;
@@ -0,0 +1,39 @@
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
+
19
+ var _chunkFPLSJF4Scjs = require('./chunk-FPLSJF4S.cjs');
20
+ require('./chunk-HC2QZTVT.cjs');
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+ exports.Identifier = _chunkFPLSJF4Scjs.Identifier; exports.Tokens = _chunkFPLSJF4Scjs.Tokens; exports.awaitObject = _chunkFPLSJF4Scjs.awaitObject; exports.escapeString = _chunkFPLSJF4Scjs.escapeString; exports.getErrorMessage = _chunkFPLSJF4Scjs.getErrorMessage; exports.getMultilineComment = _chunkFPLSJF4Scjs.getMultilineComment; exports.getTokenizer = _chunkFPLSJF4Scjs.getTokenizer; exports.init = _chunkFPLSJF4Scjs.init; exports.isJsonSchema = _chunkFPLSJF4Scjs.isJsonSchema; exports.isValidIdentifier = _chunkFPLSJF4Scjs.isValidIdentifier; exports.isValidMessageName = _chunkFPLSJF4Scjs.isValidMessageName; exports.isValidSchema = _chunkFPLSJF4Scjs.isValidSchema; exports.isZuiSchema = _chunkFPLSJF4Scjs.isZuiSchema; exports.stripInvalidIdentifiers = _chunkFPLSJF4Scjs.stripInvalidIdentifiers; exports.toPropertyKey = _chunkFPLSJF4Scjs.toPropertyKey; exports.toValidFunctionName = _chunkFPLSJF4Scjs.toValidFunctionName; exports.toValidObjectName = _chunkFPLSJF4Scjs.toValidObjectName;
@@ -16,7 +16,7 @@ import {
16
16
  toPropertyKey,
17
17
  toValidFunctionName,
18
18
  toValidObjectName
19
- } from "./chunk-ZHHB3FT4.js";
19
+ } from "./chunk-YX27XM67.js";
20
20
  import "./chunk-34GJUS6U.js";
21
21
  export {
22
22
  Identifier,
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { TextTokenizer } from '@bpinternal/thicktoken/micro';
1
+ import { TextTokenizer } from '@bpinternal/thicktoken';
2
2
  import { z } from '@bpinternal/zui';
3
3
  import { JSONSchema7 } from 'json-schema';
4
4
  export declare const init: () => Promise<void>;
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.85",
5
+ "version": "0.0.86",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.js",
@@ -73,7 +73,7 @@
73
73
  "peerDependencies": {
74
74
  "@botpress/client": "1.46.0",
75
75
  "@botpress/cognitive": "0.6.1",
76
- "@bpinternal/thicktoken": "^3.0.0",
76
+ "@bpinternal/thicktoken": "^2.0.0",
77
77
  "@bpinternal/zui": "^2.3.0"
78
78
  },
79
79
  "dependenciesMeta": {
@@ -1,8 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkEC2I4U4Gcjs = require('./chunk-EC2I4U4G.cjs');
4
- require('./chunk-NFZXJRXS.cjs');
5
- require('./chunk-HC2QZTVT.cjs');
6
-
7
-
8
- exports.Exit = _chunkEC2I4U4Gcjs.Exit;
@@ -1,10 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkGFSUTNRMcjs = require('./chunk-GFSUTNRM.cjs');
5
- require('./chunk-NFZXJRXS.cjs');
6
- require('./chunk-HC2QZTVT.cjs');
7
-
8
-
9
-
10
- exports.truncateWrappedContent = _chunkGFSUTNRMcjs.truncateWrappedContent; exports.wrapContent = _chunkGFSUTNRMcjs.wrapContent;
@@ -1,39 +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
-
19
- var _chunkNFZXJRXScjs = require('./chunk-NFZXJRXS.cjs');
20
- require('./chunk-HC2QZTVT.cjs');
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
- exports.Identifier = _chunkNFZXJRXScjs.Identifier; exports.Tokens = _chunkNFZXJRXScjs.Tokens; exports.awaitObject = _chunkNFZXJRXScjs.awaitObject; exports.escapeString = _chunkNFZXJRXScjs.escapeString; exports.getErrorMessage = _chunkNFZXJRXScjs.getErrorMessage; exports.getMultilineComment = _chunkNFZXJRXScjs.getMultilineComment; exports.getTokenizer = _chunkNFZXJRXScjs.getTokenizer; exports.init = _chunkNFZXJRXScjs.init; exports.isJsonSchema = _chunkNFZXJRXScjs.isJsonSchema; exports.isValidIdentifier = _chunkNFZXJRXScjs.isValidIdentifier; exports.isValidMessageName = _chunkNFZXJRXScjs.isValidMessageName; exports.isValidSchema = _chunkNFZXJRXScjs.isValidSchema; exports.isZuiSchema = _chunkNFZXJRXScjs.isZuiSchema; exports.stripInvalidIdentifiers = _chunkNFZXJRXScjs.stripInvalidIdentifiers; exports.toPropertyKey = _chunkNFZXJRXScjs.toPropertyKey; exports.toValidFunctionName = _chunkNFZXJRXScjs.toValidFunctionName; exports.toValidObjectName = _chunkNFZXJRXScjs.toValidObjectName;