llmz 0.0.84 → 0.0.85
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/{chunk-NK2NCYSY.js → chunk-2XSXXGXJ.js} +4 -4
- package/dist/{chunk-2O3UTPVH.js → chunk-EADBCAE7.js} +2 -2
- package/dist/{chunk-D6PU5YAS.cjs → chunk-EC2I4U4G.cjs} +6 -6
- package/dist/{chunk-L74UZONX.js → chunk-GEN6TAXY.js} +8 -16
- package/dist/{chunk-ZPHRTTQX.cjs → chunk-GFSUTNRM.cjs} +9 -17
- package/dist/{chunk-WODK7Y4J.cjs → chunk-H3PZFBJL.cjs} +10 -10
- package/dist/{chunk-7LMIOS6H.cjs → chunk-KY27DGTG.cjs} +14 -14
- package/dist/{chunk-PQGZQQA6.cjs → chunk-N3XPJTPE.cjs} +18 -18
- package/dist/{chunk-FPLSJF4S.cjs → chunk-NFZXJRXS.cjs} +2 -5
- package/dist/{chunk-TOGYDN6U.js → chunk-PASYUKW4.js} +1 -1
- package/dist/{chunk-XVVYNOTX.js → chunk-TRWUQSEK.js} +1 -1
- package/dist/{chunk-IRCB4FRM.js → chunk-YTFNFSDT.js} +2 -2
- package/dist/{chunk-YX27XM67.js → chunk-ZHHB3FT4.js} +1 -4
- package/dist/{chunk-BBX2LDZE.cjs → chunk-ZVSO527D.cjs} +25 -25
- package/dist/{dual-modes-HEXPFVUE.js → dual-modes-5NJMZJTA.js} +3 -3
- package/dist/{dual-modes-LLIWZCHC.cjs → dual-modes-WA5TPGJR.cjs} +4 -4
- package/dist/{execute-EZXXBWB6.js → execute-2T75URIX.js} +7 -7
- package/dist/{execute-2BVFYTJT.cjs → execute-I53OOORH.cjs} +30 -30
- package/dist/{exit-VJATJTQI.js → exit-7NHSUR3V.js} +2 -2
- package/dist/exit-V3ORIN65.cjs +8 -0
- package/dist/index.cjs +33 -33
- package/dist/index.js +16 -16
- package/dist/{tool-GJ6ZXWS2.cjs → tool-4OPM7QRM.cjs} +4 -4
- package/dist/{tool-DNHVW3KC.js → tool-HXXQMDA3.js} +3 -3
- package/dist/truncator-ZN7X6OMF.cjs +10 -0
- package/dist/{truncator-3U2QUUJJ.js → truncator-ZQYBTVCJ.js} +2 -2
- package/dist/{typings-ZTFPPA5W.cjs → typings-QW4427V7.cjs} +3 -3
- package/dist/{typings-3YV3RDMP.js → typings-YD2WAQ4A.js} +2 -2
- package/dist/utils-NQSM5FBL.cjs +39 -0
- package/dist/{utils-ZEZ66X6Q.js → utils-RKUVYFTJ.js} +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +2 -2
- package/dist/exit-LUJY7JIG.cjs +0 -8
- package/dist/truncator-3ZN7W6NB.cjs +0 -10
- package/dist/utils-GLZVMRWO.cjs +0 -39
package/dist/index.cjs
CHANGED
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
12
|
+
var _chunkN3XPJTPEcjs = require('./chunk-N3XPJTPE.cjs');
|
|
13
|
+
require('./chunk-ZVSO527D.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkH3PZFBJLcjs = require('./chunk-H3PZFBJL.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkKY27DGTGcjs = require('./chunk-KY27DGTG.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
|
|
30
|
+
var _chunkEC2I4U4Gcjs = require('./chunk-EC2I4U4G.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -39,21 +39,21 @@ require('./chunk-5ZF6NTYI.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkGFSUTNRMcjs = require('./chunk-GFSUTNRM.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkNFZXJRXScjs = require('./chunk-NFZXJRXS.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.
|
|
56
|
+
var version = "0.0.85";
|
|
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
|
|
308
|
+
return _chunkKY27DGTGcjs.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 (!
|
|
377
|
+
if (!_chunkNFZXJRXScjs.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 (!
|
|
410
|
+
if (!_chunkNFZXJRXScjs.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 =
|
|
434
|
+
this.tools = _chunkH3PZFBJLcjs.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(
|
|
511
|
+
typings.push(_chunkNFZXJRXScjs.getMultilineComment.call(void 0, description));
|
|
512
512
|
}
|
|
513
513
|
let type = "unknown";
|
|
514
514
|
if (prop.type) {
|
|
515
|
-
type = await
|
|
515
|
+
type = await _chunkKY27DGTGcjs.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
|
|
535
|
+
let temp = await _chunkKY27DGTGcjs.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 =
|
|
556
|
+
header = _chunkNFZXJRXScjs.getMultilineComment.call(void 0, obj.description);
|
|
557
557
|
}
|
|
558
|
-
return
|
|
558
|
+
return _chunkKY27DGTGcjs.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
|
|
589
|
+
return _chunkNFZXJRXScjs.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(${
|
|
607
|
+
return `new RegExp(${_chunkNFZXJRXScjs.escapeString.call(void 0, property.value.source)}, ${_chunkNFZXJRXScjs.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(${
|
|
625
|
+
return `Error(${_chunkNFZXJRXScjs.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:
|
|
1113
|
-
toValidFunctionName:
|
|
1114
|
-
wrapContent:
|
|
1115
|
-
truncateWrappedContent:
|
|
1112
|
+
toValidObjectName: _chunkNFZXJRXScjs.toValidObjectName,
|
|
1113
|
+
toValidFunctionName: _chunkNFZXJRXScjs.toValidFunctionName,
|
|
1114
|
+
wrapContent: _chunkGFSUTNRMcjs.wrapContent,
|
|
1115
|
+
truncateWrappedContent: _chunkGFSUTNRMcjs.truncateWrappedContent
|
|
1116
1116
|
};
|
|
1117
1117
|
var execute = async (props) => {
|
|
1118
|
-
const { executeContext } = await Promise.resolve().then(() => _interopRequireWildcard(require("./execute-
|
|
1118
|
+
const { executeContext } = await Promise.resolve().then(() => _interopRequireWildcard(require("./execute-I53OOORH.cjs")));
|
|
1119
1119
|
return executeContext(props);
|
|
1120
1120
|
};
|
|
1121
1121
|
var init = async () => {
|
|
1122
|
-
await Promise.resolve().then(() => _interopRequireWildcard(require("./execute-
|
|
1122
|
+
await Promise.resolve().then(() => _interopRequireWildcard(require("./execute-I53OOORH.cjs")));
|
|
1123
1123
|
await Promise.resolve().then(() => _interopRequireWildcard(require("./component-NNHBHD72.cjs")));
|
|
1124
|
-
await Promise.resolve().then(() => _interopRequireWildcard(require("./tool-
|
|
1125
|
-
await Promise.resolve().then(() => _interopRequireWildcard(require("./exit-
|
|
1124
|
+
await Promise.resolve().then(() => _interopRequireWildcard(require("./tool-4OPM7QRM.cjs")));
|
|
1125
|
+
await Promise.resolve().then(() => _interopRequireWildcard(require("./exit-V3ORIN65.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-
|
|
1129
|
-
await Promise.resolve().then(() => _interopRequireWildcard(require("./truncator-
|
|
1130
|
-
await Promise.resolve().then(() => _interopRequireWildcard(require("./typings-
|
|
1131
|
-
await Promise.resolve().then(() => _interopRequireWildcard(require("./dual-modes-
|
|
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")));
|
|
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 =
|
|
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;
|
package/dist/index.js
CHANGED
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
ThinkExit,
|
|
10
10
|
getValue,
|
|
11
11
|
parseExit
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-2XSXXGXJ.js";
|
|
13
|
+
import "./chunk-EADBCAE7.js";
|
|
14
14
|
import {
|
|
15
15
|
Tool
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YTFNFSDT.js";
|
|
17
17
|
import {
|
|
18
18
|
formatTypings,
|
|
19
19
|
getTypings
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PASYUKW4.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-
|
|
30
|
+
} from "./chunk-TRWUQSEK.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-
|
|
42
|
+
} from "./chunk-GEN6TAXY.js";
|
|
43
43
|
import {
|
|
44
44
|
escapeString,
|
|
45
45
|
getMultilineComment,
|
|
46
46
|
isValidIdentifier,
|
|
47
47
|
toValidFunctionName,
|
|
48
48
|
toValidObjectName
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZHHB3FT4.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.
|
|
56
|
+
var version = "0.0.85";
|
|
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-
|
|
1118
|
+
const { executeContext } = await import("./execute-2T75URIX.js");
|
|
1119
1119
|
return executeContext(props);
|
|
1120
1120
|
};
|
|
1121
1121
|
var init = async () => {
|
|
1122
|
-
await import("./execute-
|
|
1122
|
+
await import("./execute-2T75URIX.js");
|
|
1123
1123
|
await import("./component-2Z3KLWLX.js");
|
|
1124
|
-
await import("./tool-
|
|
1125
|
-
await import("./exit-
|
|
1124
|
+
await import("./tool-HXXQMDA3.js");
|
|
1125
|
+
await import("./exit-7NHSUR3V.js");
|
|
1126
1126
|
await import("./jsx-DDZ63UUF.js");
|
|
1127
1127
|
await import("./vm-PYCKS77H.js");
|
|
1128
|
-
await import("./utils-
|
|
1129
|
-
await import("./truncator-
|
|
1130
|
-
await import("./typings-
|
|
1131
|
-
await import("./dual-modes-
|
|
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");
|
|
1132
1132
|
};
|
|
1133
1133
|
export {
|
|
1134
1134
|
Chat,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkH3PZFBJLcjs = require('./chunk-H3PZFBJL.cjs');
|
|
4
|
+
require('./chunk-KY27DGTG.cjs');
|
|
5
5
|
require('./chunk-PK72FAKD.cjs');
|
|
6
6
|
require('./chunk-KIN7Y247.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-NFZXJRXS.cjs');
|
|
8
8
|
require('./chunk-HC2QZTVT.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Tool =
|
|
11
|
+
exports.Tool = _chunkH3PZFBJLcjs.Tool;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tool
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-YTFNFSDT.js";
|
|
4
|
+
import "./chunk-PASYUKW4.js";
|
|
5
5
|
import "./chunk-WSVDMGMR.js";
|
|
6
6
|
import "./chunk-YEAWWJSJ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ZHHB3FT4.js";
|
|
8
8
|
import "./chunk-34GJUS6U.js";
|
|
9
9
|
export {
|
|
10
10
|
Tool
|
|
@@ -0,0 +1,10 @@
|
|
|
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,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKY27DGTGcjs = require('./chunk-KY27DGTG.cjs');
|
|
4
4
|
require('./chunk-PK72FAKD.cjs');
|
|
5
5
|
require('./chunk-KIN7Y247.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-NFZXJRXS.cjs');
|
|
7
7
|
require('./chunk-HC2QZTVT.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.getTypings =
|
|
10
|
+
exports.getTypings = _chunkKY27DGTGcjs.getTypings;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTypings
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PASYUKW4.js";
|
|
4
4
|
import "./chunk-WSVDMGMR.js";
|
|
5
5
|
import "./chunk-YEAWWJSJ.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ZHHB3FT4.js";
|
|
7
7
|
import "./chunk-34GJUS6U.js";
|
|
8
8
|
export {
|
|
9
9
|
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 _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;
|
package/dist/utils.d.ts
CHANGED
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.
|
|
5
|
+
"version": "0.0.85",
|
|
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": "^
|
|
76
|
+
"@bpinternal/thicktoken": "^3.0.0",
|
|
77
77
|
"@bpinternal/zui": "^2.3.0"
|
|
78
78
|
},
|
|
79
79
|
"dependenciesMeta": {
|
package/dist/exit-LUJY7JIG.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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;
|
package/dist/utils-GLZVMRWO.cjs
DELETED
|
@@ -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 _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;
|