@promptbook/remote-client 0.67.0-2 โ 0.67.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.
- package/README.md +21 -37
- package/esm/index.es.js +260 -21
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/types.index.d.ts +2 -2
- package/esm/typings/src/config.d.ts +12 -0
- package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_ListModels_Request.d.ts +1 -6
- package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_Prompt_Request.d.ts +16 -6
- package/esm/typings/src/llm-providers/remote/interfaces/RemoteLlmExecutionToolsOptions.d.ts +12 -3
- package/esm/typings/src/llm-providers/remote/interfaces/RemoteServerOptions.d.ts +2 -2
- package/esm/typings/src/llm-providers/remote/playground/playground.d.ts +1 -1
- package/esm/typings/src/types/typeAliases.d.ts +2 -4
- package/package.json +2 -2
- package/umd/index.umd.js +266 -23
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -39,37 +39,23 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
39
39
|
|
|
40
40
|
## ๐ค The Promptbook Whitepaper
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
If you have a simple, single prompt for ChatGPT, GPT-4, Anthropic Claude, Google Gemini, Llama 2, or whatever, it doesn't matter how you integrate it. Whether it's calling a REST API directly, using the SDK, hardcoding the prompt into the source code, or importing a text file, the process remains the same.
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
But often you will struggle with the limitations of LLMs, such as hallucinations, off-topic responses, poor quality output, language drift, word repetition repetition repetition repetition or misuse, lack of context, or just plain w๐๐ขrd responses. When this happens, you generally have three options:
|
|
45
45
|
|
|
46
46
|
1. **Fine-tune** the model to your specifications or even train your own.
|
|
47
47
|
2. **Prompt-engineer** the prompt to the best shape you can achieve.
|
|
48
|
-
3. Use **multiple prompts** in a pipeline to get the best result.
|
|
49
|
-
|
|
50
|
-
In any of these situations, but especially in (3), the Promptbook library can make your life easier and make **orchestraror for your prompts**.
|
|
51
|
-
|
|
52
|
-
- **Separation of concerns** between prompt engineer and programmer; between code files and prompt files; and between prompts and their execution logic.
|
|
53
|
-
- Set up a **common format** for prompts that is interchangeable between projects and language/technology stacks.
|
|
54
|
-
- **Preprocessing** and cleaning the input data from the user.
|
|
55
|
-
- Use default values - **Jokers** to bypass some parts of the pipeline.
|
|
56
|
-
- **Expect** some specific output from the model.
|
|
57
|
-
- **Retry** mismatched outputs.
|
|
58
|
-
- **Combine** multiple models together.
|
|
59
|
-
- Interactive **User interaction** with the model and the user.
|
|
60
|
-
- Leverage **external** sources (like ChatGPT plugins or OpenAI's GPTs).
|
|
61
|
-
- Simplify your code to be **DRY** and not repeat all the boilerplate code for each prompt.
|
|
62
|
-
- **Versioning** of promptbooks
|
|
63
|
-
- **Reuse** parts of promptbooks in/between projects.
|
|
64
|
-
- Run the LLM **optimally** in parallel, with the best _cost/quality_ ratio or _speed/quality_ ratio.
|
|
65
|
-
- **Execution report** to see what happened during the execution.
|
|
66
|
-
- **Logging** the results of the promptbooks.
|
|
67
|
-
- _(Not ready yet)_ **Caching** calls to LLMs to save money and time.
|
|
68
|
-
- _(Not ready yet)_ Extend one prompt book from another one.
|
|
69
|
-
- _(Not ready yet)_ Leverage the **streaming** to make super cool UI/UX.
|
|
70
|
-
- _(Not ready yet)_ **A/B testing** to determine which prompt works best for the job.
|
|
48
|
+
3. Use **multiple prompts** in a [pipeline](https://github.com/webgptorg/promptbook/discussions/64) to get the best result.
|
|
71
49
|
|
|
50
|
+
In all of these situations, but especially in 3., the Promptbook library can make your life easier.
|
|
72
51
|
|
|
52
|
+
- [**Separates concerns**](https://github.com/webgptorg/promptbook/discussions/32) between prompt-engineer and programmer, between code files and prompt files, and between prompts and their execution logic.
|
|
53
|
+
- Establishes a [**common format `.ptbk.md`**](https://github.com/webgptorg/promptbook/discussions/85) that can be used to describe your prompt business logic without having to write code or deal with the technicalities of LLMs.
|
|
54
|
+
- **Forget** about **low-level details** like choosing the right model, tokens, context size, temperature, top-k, top-p, or kernel sampling. **Just write your intent** and [**persona**](https://github.com/webgptorg/promptbook/discussions/22) who should be responsible for the task and let the library do the rest.
|
|
55
|
+
- Has built-in **orchestration** of [pipeline](https://github.com/webgptorg/promptbook/discussions/64) execution and many tools to make the process easier, more reliable, and more efficient, such as caching, [compilation+preparation](https://github.com/webgptorg/promptbook/discussions/78), [just-in-time fine-tuning](https://github.com/webgptorg/promptbook/discussions/33), [expectation-aware generation](https://github.com/webgptorg/promptbook/discussions/37), [agent adversary expectations](https://github.com/webgptorg/promptbook/discussions/39), and more.
|
|
56
|
+
- Sometimes even the best prompts with the best framework like Promptbook `:)` can't avoid the problems. In this case, the library has built-in **[anomaly detection](https://github.com/webgptorg/promptbook/discussions/40) and logging** to help you find and fix the problems.
|
|
57
|
+
- Promptbook has built in versioning. You can test multiple **A/B versions** of pipelines and see which one works best.
|
|
58
|
+
- Promptbook is designed to do [**RAG** (Retrieval-Augmented Generation)](https://github.com/webgptorg/promptbook/discussions/41) and other advanced techniques. You can use **knowledge** to improve the quality of the output.
|
|
73
59
|
|
|
74
60
|
## ๐ง Promptbook _(for prompt-engeneers)_
|
|
75
61
|
|
|
@@ -113,9 +99,7 @@ File `write-website-content.ptbk.md`:
|
|
|
113
99
|
>
|
|
114
100
|
> ## โจ Improving the title
|
|
115
101
|
>
|
|
116
|
-
> -
|
|
117
|
-
> - MODEL NAME `gpt-4`
|
|
118
|
-
> - POSTPROCESSING `unwrapResult`
|
|
102
|
+
> - PERSONA Jane, Copywriter and Marketing Specialist.
|
|
119
103
|
>
|
|
120
104
|
> ```
|
|
121
105
|
> As an experienced marketing specialist, you have been entrusted with improving the name of your client's business.
|
|
@@ -149,9 +133,7 @@ File `write-website-content.ptbk.md`:
|
|
|
149
133
|
>
|
|
150
134
|
> ## ๐ฐ Cunning subtitle
|
|
151
135
|
>
|
|
152
|
-
> -
|
|
153
|
-
> - MODEL NAME `gpt-4`
|
|
154
|
-
> - POSTPROCESSING `unwrapResult`
|
|
136
|
+
> - PERSONA Josh, a copywriter, tasked with creating a claim for the website.
|
|
155
137
|
>
|
|
156
138
|
> ```
|
|
157
139
|
> As an experienced copywriter, you have been entrusted with creating a claim for the "{title}" web page.
|
|
@@ -171,8 +153,7 @@ File `write-website-content.ptbk.md`:
|
|
|
171
153
|
>
|
|
172
154
|
> ## ๐ฆ Keyword analysis
|
|
173
155
|
>
|
|
174
|
-
> -
|
|
175
|
-
> - MODEL NAME `gpt-4`
|
|
156
|
+
> - PERSONA Paul, extremely creative SEO specialist.
|
|
176
157
|
>
|
|
177
158
|
> ```
|
|
178
159
|
> As an experienced SEO specialist, you have been entrusted with creating keywords for the website "{title}".
|
|
@@ -216,8 +197,7 @@ File `write-website-content.ptbk.md`:
|
|
|
216
197
|
>
|
|
217
198
|
> ## ๐ Write the content
|
|
218
199
|
>
|
|
219
|
-
> -
|
|
220
|
-
> - MODEL NAME `gpt-3.5-turbo-instruct`
|
|
200
|
+
> - PERSONA Jane
|
|
221
201
|
>
|
|
222
202
|
> ```
|
|
223
203
|
> As an experienced copywriter and web designer, you have been entrusted with creating text for a new website {title}.
|
|
@@ -396,7 +376,12 @@ The following glossary is used to clarify certain concepts:
|
|
|
396
376
|
|
|
397
377
|
### โ When not to use
|
|
398
378
|
|
|
399
|
-
- When you
|
|
379
|
+
- When you have already implemented single simple prompt and it works fine for your job
|
|
380
|
+
- When [OpenAI Assistant (GPTs)](https://help.openai.com/en/articles/8673914-gpts-vs-assistants) is enough for you
|
|
381
|
+
- When you need streaming _(this may be implemented in the future, [see discussion](https://github.com/webgptorg/promptbook/discussions/102))_.
|
|
382
|
+
- When you need to use something other than JavaScript or TypeScript _(other languages are on the way, [see the discussion](https://github.com/webgptorg/promptbook/discussions/101))_
|
|
383
|
+
- When your main focus is on something other than text - like images, audio, video, spreadsheets _(other media types may be added in the future, [see discussion](https://github.com/webgptorg/promptbook/discussions/103))_
|
|
384
|
+
- When you need to use recursion _([see the discussion](https://github.com/webgptorg/promptbook/discussions/38))_
|
|
400
385
|
|
|
401
386
|
## ๐ Known issues
|
|
402
387
|
|
|
@@ -405,7 +390,6 @@ The following glossary is used to clarify certain concepts:
|
|
|
405
390
|
|
|
406
391
|
## ๐งผ Intentionally not implemented features
|
|
407
392
|
|
|
408
|
-
|
|
409
393
|
- [โฟ No recursion](https://github.com/webgptorg/promptbook/discussions/38)
|
|
410
394
|
- [๐ณ There are no types, just strings](https://github.com/webgptorg/promptbook/discussions/52)
|
|
411
395
|
|
package/esm/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { io } from 'socket.io-client';
|
|
2
|
-
import { spaceTrim } from 'spacetrim';
|
|
2
|
+
import spaceTrim$1, { spaceTrim } from 'spacetrim';
|
|
3
3
|
|
|
4
4
|
// โ ๏ธ WARNING: This code has been generated so that any manual changes will be overwritten
|
|
5
5
|
/**
|
|
6
6
|
* The version of the Promptbook library
|
|
7
7
|
*/
|
|
8
|
-
var PROMPTBOOK_VERSION = '0.67.0-
|
|
8
|
+
var PROMPTBOOK_VERSION = '0.67.0-3';
|
|
9
9
|
// TODO: !!!! List here all the versions and annotate + put into script
|
|
10
10
|
|
|
11
11
|
/*! *****************************************************************************
|
|
@@ -75,7 +75,260 @@ function __generator(thisArg, body) {
|
|
|
75
75
|
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
76
76
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
77
77
|
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function __values(o) {
|
|
81
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
82
|
+
if (m) return m.call(o);
|
|
83
|
+
if (o && typeof o.length === "number") return {
|
|
84
|
+
next: function () {
|
|
85
|
+
if (o && i >= o.length) o = void 0;
|
|
86
|
+
return { value: o && o[i++], done: !o };
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
function __read(o, n) {
|
|
93
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
94
|
+
if (!m) return o;
|
|
95
|
+
var i = m.call(o), r, ar = [], e;
|
|
96
|
+
try {
|
|
97
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
98
|
+
}
|
|
99
|
+
catch (error) { e = { error: error }; }
|
|
100
|
+
finally {
|
|
101
|
+
try {
|
|
102
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
103
|
+
}
|
|
104
|
+
finally { if (e) throw e.error; }
|
|
105
|
+
}
|
|
106
|
+
return ar;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @@@
|
|
111
|
+
*
|
|
112
|
+
* Note: `$` is used to indicate that this function is not a pure function - it mutates given object
|
|
113
|
+
* Note: This function mutates the object and returns the original (but mutated-deep-freezed) object
|
|
114
|
+
*
|
|
115
|
+
* @returns The same object as the input, but deeply frozen
|
|
116
|
+
* @public exported from `@promptbook/utils`
|
|
117
|
+
*/
|
|
118
|
+
function $deepFreeze(objectValue) {
|
|
119
|
+
var e_1, _a;
|
|
120
|
+
var propertyNames = Object.getOwnPropertyNames(objectValue);
|
|
121
|
+
try {
|
|
122
|
+
for (var propertyNames_1 = __values(propertyNames), propertyNames_1_1 = propertyNames_1.next(); !propertyNames_1_1.done; propertyNames_1_1 = propertyNames_1.next()) {
|
|
123
|
+
var propertyName = propertyNames_1_1.value;
|
|
124
|
+
var value = objectValue[propertyName];
|
|
125
|
+
if (value && typeof value === 'object') {
|
|
126
|
+
$deepFreeze(value);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
131
|
+
finally {
|
|
132
|
+
try {
|
|
133
|
+
if (propertyNames_1_1 && !propertyNames_1_1.done && (_a = propertyNames_1.return)) _a.call(propertyNames_1);
|
|
134
|
+
}
|
|
135
|
+
finally { if (e_1) throw e_1.error; }
|
|
136
|
+
}
|
|
137
|
+
return Object.freeze(objectValue);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* TODO: [๐ง ] Is there a way how to meaningfully test this utility
|
|
141
|
+
*/
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* This error type indicates that the error should not happen and its last check before crashing with some other error
|
|
145
|
+
*
|
|
146
|
+
* @public exported from `@promptbook/core`
|
|
147
|
+
*/
|
|
148
|
+
var UnexpectedError = /** @class */ (function (_super) {
|
|
149
|
+
__extends(UnexpectedError, _super);
|
|
150
|
+
function UnexpectedError(message) {
|
|
151
|
+
var _this = _super.call(this, spaceTrim(function (block) { return "\n ".concat(block(message), "\n\n Note: This error should not happen.\n It's probbably a bug in the pipeline collection\n\n Please report issue:\n https://github.com/webgptorg/promptbook/issues\n\n Or contact us on me@pavolhejny.com\n\n "); })) || this;
|
|
152
|
+
_this.name = 'UnexpectedError';
|
|
153
|
+
Object.setPrototypeOf(_this, UnexpectedError.prototype);
|
|
154
|
+
return _this;
|
|
155
|
+
}
|
|
156
|
+
return UnexpectedError;
|
|
157
|
+
}(Error));
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Checks if the value is [๐] serializable as JSON
|
|
161
|
+
* If not, throws an UnexpectedError with a rich error message and tracking
|
|
162
|
+
*
|
|
163
|
+
* - Almost all primitives are serializable BUT:
|
|
164
|
+
* - `undefined` is not serializable
|
|
165
|
+
* - `NaN` is not serializable
|
|
166
|
+
* - Objects and arrays are serializable if all their properties are serializable
|
|
167
|
+
* - Functions are not serializable
|
|
168
|
+
* - Circular references are not serializable
|
|
169
|
+
* - `Date` objects are not serializable
|
|
170
|
+
* - `Map` and `Set` objects are not serializable
|
|
171
|
+
* - `RegExp` objects are not serializable
|
|
172
|
+
* - `Error` objects are not serializable
|
|
173
|
+
* - `Symbol` objects are not serializable
|
|
174
|
+
* - And much more...
|
|
175
|
+
*
|
|
176
|
+
* @throws UnexpectedError if the value is not serializable as JSON
|
|
177
|
+
* @public exported from `@promptbook/utils`
|
|
178
|
+
*/
|
|
179
|
+
function checkSerializableAsJson(name, value) {
|
|
180
|
+
var e_1, _a;
|
|
181
|
+
if (value === undefined) {
|
|
182
|
+
throw new UnexpectedError("".concat(name, " is undefined"));
|
|
183
|
+
}
|
|
184
|
+
else if (value === null) {
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
else if (typeof value === 'boolean') {
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
else if (typeof value === 'number' && !isNaN(value)) {
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
else if (typeof value === 'string') {
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
else if (typeof value === 'symbol') {
|
|
197
|
+
throw new UnexpectedError("".concat(name, " is symbol"));
|
|
198
|
+
}
|
|
199
|
+
else if (typeof value === 'function') {
|
|
200
|
+
throw new UnexpectedError("".concat(name, " is function"));
|
|
201
|
+
}
|
|
202
|
+
else if (typeof value === 'object' && Array.isArray(value)) {
|
|
203
|
+
for (var i = 0; i < value.length; i++) {
|
|
204
|
+
checkSerializableAsJson("".concat(name, "[").concat(i, "]"), value[i]);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
else if (typeof value === 'object') {
|
|
208
|
+
if (value instanceof Date) {
|
|
209
|
+
throw new UnexpectedError(spaceTrim$1("\n ".concat(name, " is Date\n\n Use `string_date_iso8601` instead\n ")));
|
|
210
|
+
}
|
|
211
|
+
else if (value instanceof Map) {
|
|
212
|
+
throw new UnexpectedError("".concat(name, " is Map"));
|
|
213
|
+
}
|
|
214
|
+
else if (value instanceof Set) {
|
|
215
|
+
throw new UnexpectedError("".concat(name, " is Set"));
|
|
216
|
+
}
|
|
217
|
+
else if (value instanceof RegExp) {
|
|
218
|
+
throw new UnexpectedError("".concat(name, " is RegExp"));
|
|
219
|
+
}
|
|
220
|
+
else if (value instanceof Error) {
|
|
221
|
+
throw new UnexpectedError(spaceTrim$1("\n ".concat(name, " is unserialized Error\n\n Use function `serializeError`\n ")));
|
|
222
|
+
}
|
|
223
|
+
else {
|
|
224
|
+
try {
|
|
225
|
+
for (var _b = __values(Object.entries(value)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
226
|
+
var _d = __read(_c.value, 2), subName = _d[0], subValue = _d[1];
|
|
227
|
+
if (subValue === undefined) {
|
|
228
|
+
// Note: undefined in object is serializable - it is just omited
|
|
229
|
+
continue;
|
|
230
|
+
}
|
|
231
|
+
checkSerializableAsJson("".concat(name, ".").concat(subName), subValue);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
235
|
+
finally {
|
|
236
|
+
try {
|
|
237
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
238
|
+
}
|
|
239
|
+
finally { if (e_1) throw e_1.error; }
|
|
240
|
+
}
|
|
241
|
+
try {
|
|
242
|
+
JSON.stringify(value); // <- TODO: [0]
|
|
243
|
+
}
|
|
244
|
+
catch (error) {
|
|
245
|
+
if (!(error instanceof Error)) {
|
|
246
|
+
throw error;
|
|
247
|
+
}
|
|
248
|
+
throw new UnexpectedError(spaceTrim$1(function (block) { return "\n ".concat(name, " is not serializable\n\n ").concat(block(error.toString()), "\n "); }));
|
|
249
|
+
}
|
|
250
|
+
/*
|
|
251
|
+
TODO: [0] Is there some more elegant way to check circular references?
|
|
252
|
+
const seen = new Set();
|
|
253
|
+
const stack = [{ value }];
|
|
254
|
+
while (stack.length > 0) {
|
|
255
|
+
const { value } = stack.pop()!;
|
|
256
|
+
if (typeof value === 'object' && value !== null) {
|
|
257
|
+
if (seen.has(value)) {
|
|
258
|
+
throw new UnexpectedError(`${name} has circular reference`);
|
|
259
|
+
}
|
|
260
|
+
seen.add(value);
|
|
261
|
+
if (Array.isArray(value)) {
|
|
262
|
+
stack.push(...value.map((value) => ({ value })));
|
|
263
|
+
} else {
|
|
264
|
+
stack.push(...Object.values(value).map((value) => ({ value })));
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
*/
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
else {
|
|
273
|
+
throw new UnexpectedError("".concat(name, " is unknown"));
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* TODO: [๐ง ][๐ฃ] More elegant way to tracking than passing `name`
|
|
278
|
+
* TODO: [๐ง ] !!! In-memory cache of same values to prevent multiple checks
|
|
279
|
+
* Note: [๐ ] This is how `checkSerializableAsJson` + `isSerializableAsJson` together can just retun true/false or rich error message
|
|
280
|
+
*/
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @@@
|
|
284
|
+
* @@@
|
|
285
|
+
*
|
|
286
|
+
* Note: This function mutates the object and returns the original (but mutated-deep-freezed) object
|
|
287
|
+
*
|
|
288
|
+
* @param name - Name of the object for debugging purposes
|
|
289
|
+
* @param objectValue - Object to be deeply frozen
|
|
290
|
+
* @returns The same object as the input, but deeply frozen
|
|
291
|
+
* @private this is in comparison to `deepFreeze` a more specific utility and maybe not very good practice to use without specific reason and considerations
|
|
292
|
+
*/
|
|
293
|
+
function $asDeeplyFrozenSerializableJson(name, objectValue) {
|
|
294
|
+
checkSerializableAsJson(name, objectValue);
|
|
295
|
+
return $deepFreeze(objectValue);
|
|
78
296
|
}
|
|
297
|
+
/**
|
|
298
|
+
* TODO: [๐ง ][๐ฃ] More elegant way to tracking than passing `name`
|
|
299
|
+
* TODO: [๐ง ] Is there a way how to meaningfully test this utility
|
|
300
|
+
*/
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Timeout for the connections in milliseconds
|
|
304
|
+
*
|
|
305
|
+
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
306
|
+
*/
|
|
307
|
+
var CONNECTION_TIMEOUT_MS = 7 * 1000;
|
|
308
|
+
/**
|
|
309
|
+
* How many times to retry the connections
|
|
310
|
+
*
|
|
311
|
+
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
312
|
+
*/
|
|
313
|
+
var CONNECTION_RETRIES_LIMIT = 5;
|
|
314
|
+
/**
|
|
315
|
+
* The names of the parameters that are reserved for special purposes
|
|
316
|
+
*
|
|
317
|
+
* @public exported from `@promptbook/core`
|
|
318
|
+
*/
|
|
319
|
+
$asDeeplyFrozenSerializableJson('RESERVED_PARAMETER_NAMES', [
|
|
320
|
+
'content',
|
|
321
|
+
'context',
|
|
322
|
+
'knowledge',
|
|
323
|
+
'samples',
|
|
324
|
+
'modelName',
|
|
325
|
+
'currentDate',
|
|
326
|
+
// <- TODO: Add more like 'date', 'modelName',...
|
|
327
|
+
// <- TODO: Add [emoji] + instructions ACRY when adding new reserved parameter
|
|
328
|
+
]);
|
|
329
|
+
/**
|
|
330
|
+
* TODO: [๐ง ][๐งโโ๏ธ] Maybe join remoteUrl and path into single value
|
|
331
|
+
*/
|
|
79
332
|
|
|
80
333
|
/**
|
|
81
334
|
* This error indicates that the pipeline collection cannot be propperly loaded
|
|
@@ -221,22 +474,6 @@ var PipelineUrlError = /** @class */ (function (_super) {
|
|
|
221
474
|
return PipelineUrlError;
|
|
222
475
|
}(Error));
|
|
223
476
|
|
|
224
|
-
/**
|
|
225
|
-
* This error type indicates that the error should not happen and its last check before crashing with some other error
|
|
226
|
-
*
|
|
227
|
-
* @public exported from `@promptbook/core`
|
|
228
|
-
*/
|
|
229
|
-
var UnexpectedError = /** @class */ (function (_super) {
|
|
230
|
-
__extends(UnexpectedError, _super);
|
|
231
|
-
function UnexpectedError(message) {
|
|
232
|
-
var _this = _super.call(this, spaceTrim(function (block) { return "\n ".concat(block(message), "\n\n Note: This error should not happen.\n It's probbably a bug in the pipeline collection\n\n Please report issue:\n https://github.com/webgptorg/promptbook/issues\n\n Or contact us on me@pavolhejny.com\n\n "); })) || this;
|
|
233
|
-
_this.name = 'UnexpectedError';
|
|
234
|
-
Object.setPrototypeOf(_this, UnexpectedError.prototype);
|
|
235
|
-
return _this;
|
|
236
|
-
}
|
|
237
|
-
return UnexpectedError;
|
|
238
|
-
}(Error));
|
|
239
|
-
|
|
240
477
|
/**
|
|
241
478
|
* Index of all custom errors
|
|
242
479
|
*
|
|
@@ -334,7 +571,6 @@ var RemoteLlmExecutionTools = /** @class */ (function () {
|
|
|
334
571
|
else {
|
|
335
572
|
socket.emit('listModels-request', {
|
|
336
573
|
isAnonymous: false,
|
|
337
|
-
clientId: this.options.clientId,
|
|
338
574
|
} /* <- TODO: [๐ค] */);
|
|
339
575
|
}
|
|
340
576
|
return [4 /*yield*/, new Promise(function (resolve, reject) {
|
|
@@ -364,6 +600,8 @@ var RemoteLlmExecutionTools = /** @class */ (function () {
|
|
|
364
600
|
// <- TODO: [๐งฑ] Implement in a functional (not new Class) way
|
|
365
601
|
function (resolve, reject) {
|
|
366
602
|
var socket = io(_this.options.remoteUrl, {
|
|
603
|
+
retries: CONNECTION_RETRIES_LIMIT,
|
|
604
|
+
timeout: CONNECTION_TIMEOUT_MS,
|
|
367
605
|
path: _this.options.path,
|
|
368
606
|
// path: `${this.remoteUrl.pathname}/socket.io`,
|
|
369
607
|
transports: [/*'websocket', <- TODO: [๐ฌ] Make websocket transport work */ 'polling'],
|
|
@@ -375,7 +613,7 @@ var RemoteLlmExecutionTools = /** @class */ (function () {
|
|
|
375
613
|
// TODO: !!!! Better timeout handling
|
|
376
614
|
setTimeout(function () {
|
|
377
615
|
reject(new Error("Timeout while connecting to ".concat(_this.options.remoteUrl)));
|
|
378
|
-
},
|
|
616
|
+
}, CONNECTION_TIMEOUT_MS);
|
|
379
617
|
});
|
|
380
618
|
};
|
|
381
619
|
/**
|
|
@@ -420,6 +658,7 @@ var RemoteLlmExecutionTools = /** @class */ (function () {
|
|
|
420
658
|
if (this.options.isAnonymous) {
|
|
421
659
|
socket.emit('prompt-request', {
|
|
422
660
|
isAnonymous: true,
|
|
661
|
+
userId: this.options.userId,
|
|
423
662
|
llmToolsConfiguration: this.options.llmToolsConfiguration,
|
|
424
663
|
prompt: prompt,
|
|
425
664
|
} /* <- TODO: [๐ค] */);
|
|
@@ -427,7 +666,7 @@ var RemoteLlmExecutionTools = /** @class */ (function () {
|
|
|
427
666
|
else {
|
|
428
667
|
socket.emit('prompt-request', {
|
|
429
668
|
isAnonymous: false,
|
|
430
|
-
|
|
669
|
+
userId: this.options.userId,
|
|
431
670
|
prompt: prompt,
|
|
432
671
|
} /* <- TODO: [๐ค] */);
|
|
433
672
|
}
|
package/esm/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../../../../src/version.ts","../../../node_modules/tslib/tslib.es6.js","../../../../src/errors/CollectionError.ts","../../../../src/errors/EnvironmentMismatchError.ts","../../../../src/errors/LimitReachedError.ts","../../../../src/errors/NotFoundError.ts","../../../../src/errors/NotYetImplementedError.ts","../../../../src/errors/ParsingError.ts","../../../../src/errors/PipelineExecutionError.ts","../../../../src/errors/PipelineLogicError.ts","../../../../src/errors/PipelineUrlError.ts","../../../../src/errors/UnexpectedError.ts","../../../../src/errors/index.ts","../../../../src/errors/utils/deserializeError.ts","../../../../src/llm-providers/remote/RemoteLlmExecutionTools.ts"],"sourcesContent":[null,"/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n",null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;AAAA;AAIA;;;IAGa,kBAAkB,GAA8B,WAAW;AAGxE;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;AACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;AACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;AACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAC1G,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;AACF;AACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;AAChC,IAAI,IAAI,OAAO,CAAC,KAAK,UAAU,IAAI,CAAC,KAAK,IAAI;AAC7C,QAAQ,MAAM,IAAI,SAAS,CAAC,sBAAsB,G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B,IAAI,CAAC,eAAe,CAAC,MAAM,CAAmC,CAAC;KACzF;;;;;IAOa,iDAAe,GAA7B,UAA8B,MAAc;;;;;4BACzB,qBAAM,IAAI,CAAC,cAAc,EAAE,EAAA;;wBAApC,MAAM,GAAG,SAA2B;wBAE1C,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE;4BAC1B,MAAM,CAAC,IAAI,CACP,gBAAgB,EAChB;gCACI,WAAW,EAAE,IAAI;gCACjB,qBAAqB,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB;gCACzD,MAAM,QAAA;6BACiC,qBAC9C,CAAC;yBACL;6BAAM;4BACH,MAAM,CAAC,IAAI,CACP,gBAAgB,EAChB;gCACI,WAAW,EAAE,KAAK;gCAClB,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ;gCAC/B,MAAM,QAAA;6BACiC,qBAC9C,CAAC;yBACL;wBAEoB,qBAAM,IAAI,OAAO,CAAe,UAAC,OAAO,EAAE,MAAM;gCACjE,MAAM,CAAC,EAAE,CAAC,iBAAiB,EAAE,UAAC,QAA0C;oCACpE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;oCAC/B,MAAM,CAAC,UAAU,EAAE,CAAC;iCACvB,CAAC,CAAC;gCACH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,UAAC,KAA6B;oCAC7C,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;oCAChC,MAAM,CAAC,UAAU,EAAE,CAAC;iCACvB,CAAC,CAAC;6BACN,CAAC,EAAA;;wBATI,YAAY,GAAG,SASnB;wBAEF,MAAM,CAAC,UAAU,EAAE,CAAC;wBAEpB,sBAAO,YAAY,EAAC;;;;KACvB;IACL,8BAAC;AAAD,CAAC,IAAA;AAED;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../../../../src/version.ts","../../../node_modules/tslib/tslib.es6.js","../../../../src/utils/serialization/$deepFreeze.ts","../../../../src/errors/UnexpectedError.ts","../../../../src/utils/serialization/checkSerializableAsJson.ts","../../../../src/utils/serialization/$asDeeplyFrozenSerializableJson.ts","../../../../src/config.ts","../../../../src/errors/CollectionError.ts","../../../../src/errors/EnvironmentMismatchError.ts","../../../../src/errors/LimitReachedError.ts","../../../../src/errors/NotFoundError.ts","../../../../src/errors/NotYetImplementedError.ts","../../../../src/errors/ParsingError.ts","../../../../src/errors/PipelineExecutionError.ts","../../../../src/errors/PipelineLogicError.ts","../../../../src/errors/PipelineUrlError.ts","../../../../src/errors/index.ts","../../../../src/errors/utils/deserializeError.ts","../../../../src/llm-providers/remote/RemoteLlmExecutionTools.ts"],"sourcesContent":[null,"/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["spaceTrim"],"mappings":";;;AAAA;AAIA;;;IAGa,kBAAkB,GAA8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B;gCACzD,MAAM,QAAA;6BACiC,qBAC9C,CAAC;yBACL;6BAAM;4BACH,MAAM,CAAC,IAAI,CACP,gBAAgB,EAChB;gCACI,WAAW,EAAE,KAAK;gCAClB,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM;gCAC3B,MAAM,QAAA;6BACiC,qBAC9C,CAAC;yBACL;wBAEoB,qBAAM,IAAI,OAAO,CAAe,UAAC,OAAO,EAAE,MAAM;gCACjE,MAAM,CAAC,EAAE,CAAC,iBAAiB,EAAE,UAAC,QAA0C;oCACpE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;oCAC/B,MAAM,CAAC,UAAU,EAAE,CAAC;iCACvB,CAAC,CAAC;gCACH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,UAAC,KAA6B;oCAC7C,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;oCAChC,MAAM,CAAC,UAAU,EAAE,CAAC;iCACvB,CAAC,CAAC;6BACN,CAAC,EAAA;;wBATI,YAAY,GAAG,SASnB;wBAEF,MAAM,CAAC,UAAU,EAAE,CAAC;wBAEpB,sBAAO,YAAY,EAAC;;;;KACvB;IACL,8BAAC;AAAD,CAAC,IAAA;AAED;;;;;;;;;;;"}
|
|
@@ -157,7 +157,7 @@ import type { string_protocol } from '../types/typeAliases';
|
|
|
157
157
|
import type { string_email } from '../types/typeAliases';
|
|
158
158
|
import type { string_emails } from '../types/typeAliases';
|
|
159
159
|
import type { string_uuid } from '../types/typeAliases';
|
|
160
|
-
import type {
|
|
160
|
+
import type { string_user_id } from '../types/typeAliases';
|
|
161
161
|
import type { string_sha256 } from '../types/typeAliases';
|
|
162
162
|
import type { string_semantic_version } from '../types/typeAliases';
|
|
163
163
|
import type { string_version_dependency } from '../types/typeAliases';
|
|
@@ -383,7 +383,7 @@ export type { string_protocol };
|
|
|
383
383
|
export type { string_email };
|
|
384
384
|
export type { string_emails };
|
|
385
385
|
export type { string_uuid };
|
|
386
|
-
export type {
|
|
386
|
+
export type { string_user_id };
|
|
387
387
|
export type { string_sha256 };
|
|
388
388
|
export type { string_semantic_version };
|
|
389
389
|
export type { string_version_dependency };
|
|
@@ -30,6 +30,18 @@ export declare const LOOP_LIMIT = 1000;
|
|
|
30
30
|
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
31
31
|
*/
|
|
32
32
|
export declare const CHARACTER_LOOP_LIMIT = 100000;
|
|
33
|
+
/**
|
|
34
|
+
* Timeout for the connections in milliseconds
|
|
35
|
+
*
|
|
36
|
+
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
37
|
+
*/
|
|
38
|
+
export declare const CONNECTION_TIMEOUT_MS: number;
|
|
39
|
+
/**
|
|
40
|
+
* How many times to retry the connections
|
|
41
|
+
*
|
|
42
|
+
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
43
|
+
*/
|
|
44
|
+
export declare const CONNECTION_RETRIES_LIMIT = 5;
|
|
33
45
|
/**
|
|
34
46
|
* The maximum number of (LLM) tasks running in parallel
|
|
35
47
|
*
|
package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_ListModels_Request.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { client_id } from '../../../types/typeAliases';
|
|
2
1
|
import type { LlmToolsConfiguration } from '../../_common/LlmToolsConfiguration';
|
|
3
2
|
/**
|
|
4
3
|
* Socket.io progress for remote text generation
|
|
@@ -11,10 +10,6 @@ export type PromptbookServer_ListModels_CollectionRequest = {
|
|
|
11
10
|
* Collection mode
|
|
12
11
|
*/
|
|
13
12
|
isAnonymous: false;
|
|
14
|
-
/**
|
|
15
|
-
* Client responsible for the requests
|
|
16
|
-
*/
|
|
17
|
-
readonly clientId: client_id;
|
|
18
13
|
};
|
|
19
14
|
export type PromptbookServer_ListModels_AnonymousRequest = {
|
|
20
15
|
/**
|
|
@@ -29,6 +24,6 @@ export type PromptbookServer_ListModels_AnonymousRequest = {
|
|
|
29
24
|
/**
|
|
30
25
|
* TODO: [๐ก] DRY `PromptbookServer_Prompt_Request` and `PromptbookServer_ListModels_Request`
|
|
31
26
|
* TODO: [๐ง ][๐] Maybe not `isAnonymous: boolean` BUT `mode: 'ANONYMOUS'|'COLLECTION'`
|
|
32
|
-
* TODO: [๐ง ][๐คบ] Pass `
|
|
27
|
+
* TODO: [๐ง ][๐คบ] Pass `userId` in `PromptbookServer_ListModels_Request`
|
|
33
28
|
* TODO: [๐] Listing models (and checking configuration) probbably should go through REST API not Socket.io
|
|
34
29
|
*/
|
package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_Prompt_Request.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Prompt } from '../../../types/Prompt';
|
|
2
|
-
import type {
|
|
2
|
+
import type { string_user_id } from '../../../types/typeAliases';
|
|
3
3
|
import type { LlmToolsConfiguration } from '../../_common/LlmToolsConfiguration';
|
|
4
4
|
/**
|
|
5
5
|
* Socket.io progress for remote text generation
|
|
@@ -11,11 +11,14 @@ export type PromptbookServer_Prompt_CollectionRequest = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Collection mode
|
|
13
13
|
*/
|
|
14
|
-
isAnonymous: false;
|
|
14
|
+
readonly isAnonymous: false;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Identifier of the end user
|
|
17
|
+
*
|
|
18
|
+
* Note: this is passed to the certain model providers to identify misuse
|
|
19
|
+
* Note: In anonymous mode it is not required to identify
|
|
17
20
|
*/
|
|
18
|
-
readonly
|
|
21
|
+
readonly userId: string_user_id;
|
|
19
22
|
/**
|
|
20
23
|
* The Prompt to execute
|
|
21
24
|
*/
|
|
@@ -25,7 +28,14 @@ export type PromptbookServer_Prompt_AnonymousRequest = {
|
|
|
25
28
|
/**
|
|
26
29
|
* Anonymous mode
|
|
27
30
|
*/
|
|
28
|
-
isAnonymous: true;
|
|
31
|
+
readonly isAnonymous: true;
|
|
32
|
+
/**
|
|
33
|
+
* Identifier of the end user
|
|
34
|
+
*
|
|
35
|
+
* Note: this is passed to the certain model providers to identify misuse
|
|
36
|
+
* Note: In anonymous mode it is not required to identify
|
|
37
|
+
*/
|
|
38
|
+
readonly userId?: string_user_id;
|
|
29
39
|
/**
|
|
30
40
|
* Configuration for the LLM tools
|
|
31
41
|
*/
|
|
@@ -38,4 +48,4 @@ export type PromptbookServer_Prompt_AnonymousRequest = {
|
|
|
38
48
|
/**
|
|
39
49
|
* TODO: [๐ก] DRY `PromptbookServer_Prompt_Request` and `PromptbookServer_ListModels_Request`
|
|
40
50
|
* TODO: [๐ง ][๐] Maybe not `isAnonymous: boolean` BUT `mode: 'ANONYMOUS'|'COLLECTION'`
|
|
41
|
-
*/
|
|
51
|
+
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CommonExecutionToolsOptions } from '../../../execution/CommonExecutionToolsOptions';
|
|
2
|
-
import type { client_id } from '../../../types/typeAliases';
|
|
3
2
|
import type { string_base_url } from '../../../types/typeAliases';
|
|
4
3
|
import type { string_uri } from '../../../types/typeAliases';
|
|
4
|
+
import type { string_user_id } from '../../../types/typeAliases';
|
|
5
5
|
import type { LlmToolsConfiguration } from '../../_common/LlmToolsConfiguration';
|
|
6
6
|
/**
|
|
7
7
|
* Options for `RemoteLlmExecutionTools`
|
|
@@ -34,15 +34,24 @@ export type RemoteLlmExecutionToolsOptions = CommonExecutionToolsOptions & {
|
|
|
34
34
|
* Configuration for the LLM tools
|
|
35
35
|
*/
|
|
36
36
|
readonly llmToolsConfiguration: LlmToolsConfiguration;
|
|
37
|
+
/**
|
|
38
|
+
* Identifier of the end user
|
|
39
|
+
*
|
|
40
|
+
* Note: this is passed to the certain model providers to identify misuse
|
|
41
|
+
* Note: In anonymous mode it is not required to identify
|
|
42
|
+
*/
|
|
43
|
+
readonly userId?: string_user_id;
|
|
37
44
|
} | {
|
|
38
45
|
/**
|
|
39
46
|
* Use anonymous server with client identification and fixed collection
|
|
40
47
|
*/
|
|
41
48
|
isAnonymous: false;
|
|
42
49
|
/**
|
|
43
|
-
*
|
|
50
|
+
* Identifier of the end user
|
|
51
|
+
*
|
|
52
|
+
* Note: this is passed to the certain model providers to identify misuse
|
|
44
53
|
*/
|
|
45
|
-
readonly
|
|
54
|
+
readonly userId: string_user_id;
|
|
46
55
|
});
|
|
47
56
|
/**
|
|
48
57
|
* TODO: [๐ง ][๐] Maybe not `isAnonymous: boolean` BUT `mode: 'ANONYMOUS'|'COLLECTION'`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { PipelineCollection } from '../../../collection/PipelineCollection';
|
|
2
2
|
import type { CommonExecutionToolsOptions } from '../../../execution/CommonExecutionToolsOptions';
|
|
3
3
|
import type { LlmExecutionTools } from '../../../execution/LlmExecutionTools';
|
|
4
|
-
import type { client_id } from '../../../types/typeAliases';
|
|
5
4
|
import type { string_uri } from '../../../types/typeAliases';
|
|
5
|
+
import type { string_user_id } from '../../../types/typeAliases';
|
|
6
6
|
/**
|
|
7
7
|
* @@@
|
|
8
8
|
*
|
|
@@ -50,7 +50,7 @@ export type CollectionRemoteServerOptions = {
|
|
|
50
50
|
/**
|
|
51
51
|
* Creates llm execution tools for each client
|
|
52
52
|
*/
|
|
53
|
-
createLlmExecutionTools(
|
|
53
|
+
createLlmExecutionTools(userId: string_user_id | undefined): LlmExecutionTools;
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
56
|
* TODO: Constrain anonymous mode for specific models / providers
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env ts-node
|
|
2
|
-
|
|
2
|
+
import '../../openai/register-constructor';
|
|
@@ -391,11 +391,9 @@ export type string_uuid = string & {
|
|
|
391
391
|
readonly _type: 'uuid';
|
|
392
392
|
};
|
|
393
393
|
/**
|
|
394
|
-
*
|
|
394
|
+
* End user identifier;
|
|
395
395
|
*/
|
|
396
|
-
export type
|
|
397
|
-
readonly _type: 'client_id';
|
|
398
|
-
};
|
|
396
|
+
export type string_user_id = string;
|
|
399
397
|
/**
|
|
400
398
|
* Semantic helper
|
|
401
399
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/remote-client",
|
|
3
|
-
"version": "0.67.0-
|
|
3
|
+
"version": "0.67.0-4",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"module": "./esm/index.es.js",
|
|
48
48
|
"typings": "./esm/typings/src/_packages/remote-client.index.d.ts",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@promptbook/core": "0.67.0-
|
|
50
|
+
"@promptbook/core": "0.67.0-4"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"socket.io-client": "4.7.2",
|
package/umd/index.umd.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('socket.io-client'), require('spacetrim')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', 'socket.io-client', 'spacetrim'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["promptbook-remote-client"] = {}, global.socket_ioClient, global.
|
|
5
|
-
})(this, (function (exports, socket_ioClient,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["promptbook-remote-client"] = {}, global.socket_ioClient, global.spaceTrim));
|
|
5
|
+
})(this, (function (exports, socket_ioClient, spaceTrim) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
var spaceTrim__default = /*#__PURE__*/_interopDefaultLegacy(spaceTrim);
|
|
6
10
|
|
|
7
11
|
// โ ๏ธ WARNING: This code has been generated so that any manual changes will be overwritten
|
|
8
12
|
/**
|
|
9
13
|
* The version of the Promptbook library
|
|
10
14
|
*/
|
|
11
|
-
var PROMPTBOOK_VERSION = '0.67.0-
|
|
15
|
+
var PROMPTBOOK_VERSION = '0.67.0-3';
|
|
12
16
|
// TODO: !!!! List here all the versions and annotate + put into script
|
|
13
17
|
|
|
14
18
|
/*! *****************************************************************************
|
|
@@ -78,7 +82,260 @@
|
|
|
78
82
|
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
79
83
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
80
84
|
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function __values(o) {
|
|
88
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
89
|
+
if (m) return m.call(o);
|
|
90
|
+
if (o && typeof o.length === "number") return {
|
|
91
|
+
next: function () {
|
|
92
|
+
if (o && i >= o.length) o = void 0;
|
|
93
|
+
return { value: o && o[i++], done: !o };
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function __read(o, n) {
|
|
100
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
101
|
+
if (!m) return o;
|
|
102
|
+
var i = m.call(o), r, ar = [], e;
|
|
103
|
+
try {
|
|
104
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
105
|
+
}
|
|
106
|
+
catch (error) { e = { error: error }; }
|
|
107
|
+
finally {
|
|
108
|
+
try {
|
|
109
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
110
|
+
}
|
|
111
|
+
finally { if (e) throw e.error; }
|
|
112
|
+
}
|
|
113
|
+
return ar;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @@@
|
|
118
|
+
*
|
|
119
|
+
* Note: `$` is used to indicate that this function is not a pure function - it mutates given object
|
|
120
|
+
* Note: This function mutates the object and returns the original (but mutated-deep-freezed) object
|
|
121
|
+
*
|
|
122
|
+
* @returns The same object as the input, but deeply frozen
|
|
123
|
+
* @public exported from `@promptbook/utils`
|
|
124
|
+
*/
|
|
125
|
+
function $deepFreeze(objectValue) {
|
|
126
|
+
var e_1, _a;
|
|
127
|
+
var propertyNames = Object.getOwnPropertyNames(objectValue);
|
|
128
|
+
try {
|
|
129
|
+
for (var propertyNames_1 = __values(propertyNames), propertyNames_1_1 = propertyNames_1.next(); !propertyNames_1_1.done; propertyNames_1_1 = propertyNames_1.next()) {
|
|
130
|
+
var propertyName = propertyNames_1_1.value;
|
|
131
|
+
var value = objectValue[propertyName];
|
|
132
|
+
if (value && typeof value === 'object') {
|
|
133
|
+
$deepFreeze(value);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
138
|
+
finally {
|
|
139
|
+
try {
|
|
140
|
+
if (propertyNames_1_1 && !propertyNames_1_1.done && (_a = propertyNames_1.return)) _a.call(propertyNames_1);
|
|
141
|
+
}
|
|
142
|
+
finally { if (e_1) throw e_1.error; }
|
|
143
|
+
}
|
|
144
|
+
return Object.freeze(objectValue);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* TODO: [๐ง ] Is there a way how to meaningfully test this utility
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* This error type indicates that the error should not happen and its last check before crashing with some other error
|
|
152
|
+
*
|
|
153
|
+
* @public exported from `@promptbook/core`
|
|
154
|
+
*/
|
|
155
|
+
var UnexpectedError = /** @class */ (function (_super) {
|
|
156
|
+
__extends(UnexpectedError, _super);
|
|
157
|
+
function UnexpectedError(message) {
|
|
158
|
+
var _this = _super.call(this, spaceTrim.spaceTrim(function (block) { return "\n ".concat(block(message), "\n\n Note: This error should not happen.\n It's probbably a bug in the pipeline collection\n\n Please report issue:\n https://github.com/webgptorg/promptbook/issues\n\n Or contact us on me@pavolhejny.com\n\n "); })) || this;
|
|
159
|
+
_this.name = 'UnexpectedError';
|
|
160
|
+
Object.setPrototypeOf(_this, UnexpectedError.prototype);
|
|
161
|
+
return _this;
|
|
162
|
+
}
|
|
163
|
+
return UnexpectedError;
|
|
164
|
+
}(Error));
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Checks if the value is [๐] serializable as JSON
|
|
168
|
+
* If not, throws an UnexpectedError with a rich error message and tracking
|
|
169
|
+
*
|
|
170
|
+
* - Almost all primitives are serializable BUT:
|
|
171
|
+
* - `undefined` is not serializable
|
|
172
|
+
* - `NaN` is not serializable
|
|
173
|
+
* - Objects and arrays are serializable if all their properties are serializable
|
|
174
|
+
* - Functions are not serializable
|
|
175
|
+
* - Circular references are not serializable
|
|
176
|
+
* - `Date` objects are not serializable
|
|
177
|
+
* - `Map` and `Set` objects are not serializable
|
|
178
|
+
* - `RegExp` objects are not serializable
|
|
179
|
+
* - `Error` objects are not serializable
|
|
180
|
+
* - `Symbol` objects are not serializable
|
|
181
|
+
* - And much more...
|
|
182
|
+
*
|
|
183
|
+
* @throws UnexpectedError if the value is not serializable as JSON
|
|
184
|
+
* @public exported from `@promptbook/utils`
|
|
185
|
+
*/
|
|
186
|
+
function checkSerializableAsJson(name, value) {
|
|
187
|
+
var e_1, _a;
|
|
188
|
+
if (value === undefined) {
|
|
189
|
+
throw new UnexpectedError("".concat(name, " is undefined"));
|
|
190
|
+
}
|
|
191
|
+
else if (value === null) {
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
else if (typeof value === 'boolean') {
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
else if (typeof value === 'number' && !isNaN(value)) {
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
else if (typeof value === 'string') {
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
else if (typeof value === 'symbol') {
|
|
204
|
+
throw new UnexpectedError("".concat(name, " is symbol"));
|
|
205
|
+
}
|
|
206
|
+
else if (typeof value === 'function') {
|
|
207
|
+
throw new UnexpectedError("".concat(name, " is function"));
|
|
208
|
+
}
|
|
209
|
+
else if (typeof value === 'object' && Array.isArray(value)) {
|
|
210
|
+
for (var i = 0; i < value.length; i++) {
|
|
211
|
+
checkSerializableAsJson("".concat(name, "[").concat(i, "]"), value[i]);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
else if (typeof value === 'object') {
|
|
215
|
+
if (value instanceof Date) {
|
|
216
|
+
throw new UnexpectedError(spaceTrim__default["default"]("\n ".concat(name, " is Date\n\n Use `string_date_iso8601` instead\n ")));
|
|
217
|
+
}
|
|
218
|
+
else if (value instanceof Map) {
|
|
219
|
+
throw new UnexpectedError("".concat(name, " is Map"));
|
|
220
|
+
}
|
|
221
|
+
else if (value instanceof Set) {
|
|
222
|
+
throw new UnexpectedError("".concat(name, " is Set"));
|
|
223
|
+
}
|
|
224
|
+
else if (value instanceof RegExp) {
|
|
225
|
+
throw new UnexpectedError("".concat(name, " is RegExp"));
|
|
226
|
+
}
|
|
227
|
+
else if (value instanceof Error) {
|
|
228
|
+
throw new UnexpectedError(spaceTrim__default["default"]("\n ".concat(name, " is unserialized Error\n\n Use function `serializeError`\n ")));
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
try {
|
|
232
|
+
for (var _b = __values(Object.entries(value)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
233
|
+
var _d = __read(_c.value, 2), subName = _d[0], subValue = _d[1];
|
|
234
|
+
if (subValue === undefined) {
|
|
235
|
+
// Note: undefined in object is serializable - it is just omited
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
checkSerializableAsJson("".concat(name, ".").concat(subName), subValue);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
242
|
+
finally {
|
|
243
|
+
try {
|
|
244
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
245
|
+
}
|
|
246
|
+
finally { if (e_1) throw e_1.error; }
|
|
247
|
+
}
|
|
248
|
+
try {
|
|
249
|
+
JSON.stringify(value); // <- TODO: [0]
|
|
250
|
+
}
|
|
251
|
+
catch (error) {
|
|
252
|
+
if (!(error instanceof Error)) {
|
|
253
|
+
throw error;
|
|
254
|
+
}
|
|
255
|
+
throw new UnexpectedError(spaceTrim__default["default"](function (block) { return "\n ".concat(name, " is not serializable\n\n ").concat(block(error.toString()), "\n "); }));
|
|
256
|
+
}
|
|
257
|
+
/*
|
|
258
|
+
TODO: [0] Is there some more elegant way to check circular references?
|
|
259
|
+
const seen = new Set();
|
|
260
|
+
const stack = [{ value }];
|
|
261
|
+
while (stack.length > 0) {
|
|
262
|
+
const { value } = stack.pop()!;
|
|
263
|
+
if (typeof value === 'object' && value !== null) {
|
|
264
|
+
if (seen.has(value)) {
|
|
265
|
+
throw new UnexpectedError(`${name} has circular reference`);
|
|
266
|
+
}
|
|
267
|
+
seen.add(value);
|
|
268
|
+
if (Array.isArray(value)) {
|
|
269
|
+
stack.push(...value.map((value) => ({ value })));
|
|
270
|
+
} else {
|
|
271
|
+
stack.push(...Object.values(value).map((value) => ({ value })));
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
*/
|
|
276
|
+
return;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
throw new UnexpectedError("".concat(name, " is unknown"));
|
|
281
|
+
}
|
|
81
282
|
}
|
|
283
|
+
/**
|
|
284
|
+
* TODO: [๐ง ][๐ฃ] More elegant way to tracking than passing `name`
|
|
285
|
+
* TODO: [๐ง ] !!! In-memory cache of same values to prevent multiple checks
|
|
286
|
+
* Note: [๐ ] This is how `checkSerializableAsJson` + `isSerializableAsJson` together can just retun true/false or rich error message
|
|
287
|
+
*/
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @@@
|
|
291
|
+
* @@@
|
|
292
|
+
*
|
|
293
|
+
* Note: This function mutates the object and returns the original (but mutated-deep-freezed) object
|
|
294
|
+
*
|
|
295
|
+
* @param name - Name of the object for debugging purposes
|
|
296
|
+
* @param objectValue - Object to be deeply frozen
|
|
297
|
+
* @returns The same object as the input, but deeply frozen
|
|
298
|
+
* @private this is in comparison to `deepFreeze` a more specific utility and maybe not very good practice to use without specific reason and considerations
|
|
299
|
+
*/
|
|
300
|
+
function $asDeeplyFrozenSerializableJson(name, objectValue) {
|
|
301
|
+
checkSerializableAsJson(name, objectValue);
|
|
302
|
+
return $deepFreeze(objectValue);
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* TODO: [๐ง ][๐ฃ] More elegant way to tracking than passing `name`
|
|
306
|
+
* TODO: [๐ง ] Is there a way how to meaningfully test this utility
|
|
307
|
+
*/
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Timeout for the connections in milliseconds
|
|
311
|
+
*
|
|
312
|
+
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
313
|
+
*/
|
|
314
|
+
var CONNECTION_TIMEOUT_MS = 7 * 1000;
|
|
315
|
+
/**
|
|
316
|
+
* How many times to retry the connections
|
|
317
|
+
*
|
|
318
|
+
* @private within the repository - too low-level in comparison with other `MAX_...`
|
|
319
|
+
*/
|
|
320
|
+
var CONNECTION_RETRIES_LIMIT = 5;
|
|
321
|
+
/**
|
|
322
|
+
* The names of the parameters that are reserved for special purposes
|
|
323
|
+
*
|
|
324
|
+
* @public exported from `@promptbook/core`
|
|
325
|
+
*/
|
|
326
|
+
$asDeeplyFrozenSerializableJson('RESERVED_PARAMETER_NAMES', [
|
|
327
|
+
'content',
|
|
328
|
+
'context',
|
|
329
|
+
'knowledge',
|
|
330
|
+
'samples',
|
|
331
|
+
'modelName',
|
|
332
|
+
'currentDate',
|
|
333
|
+
// <- TODO: Add more like 'date', 'modelName',...
|
|
334
|
+
// <- TODO: Add [emoji] + instructions ACRY when adding new reserved parameter
|
|
335
|
+
]);
|
|
336
|
+
/**
|
|
337
|
+
* TODO: [๐ง ][๐งโโ๏ธ] Maybe join remoteUrl and path into single value
|
|
338
|
+
*/
|
|
82
339
|
|
|
83
340
|
/**
|
|
84
341
|
* This error indicates that the pipeline collection cannot be propperly loaded
|
|
@@ -152,7 +409,7 @@
|
|
|
152
409
|
var NotYetImplementedError = /** @class */ (function (_super) {
|
|
153
410
|
__extends(NotYetImplementedError, _super);
|
|
154
411
|
function NotYetImplementedError(message) {
|
|
155
|
-
var _this = _super.call(this,
|
|
412
|
+
var _this = _super.call(this, spaceTrim.spaceTrim(function (block) { return "\n ".concat(block(message), "\n\n Note: This feature is not implemented yet but it will be soon.\n\n If you want speed up the implementation or just read more, look here:\n https://github.com/webgptorg/promptbook\n\n Or contact us on me@pavolhejny.com\n\n "); })) || this;
|
|
156
413
|
_this.name = 'NotYetImplementedError';
|
|
157
414
|
Object.setPrototypeOf(_this, NotYetImplementedError.prototype);
|
|
158
415
|
return _this;
|
|
@@ -224,22 +481,6 @@
|
|
|
224
481
|
return PipelineUrlError;
|
|
225
482
|
}(Error));
|
|
226
483
|
|
|
227
|
-
/**
|
|
228
|
-
* This error type indicates that the error should not happen and its last check before crashing with some other error
|
|
229
|
-
*
|
|
230
|
-
* @public exported from `@promptbook/core`
|
|
231
|
-
*/
|
|
232
|
-
var UnexpectedError = /** @class */ (function (_super) {
|
|
233
|
-
__extends(UnexpectedError, _super);
|
|
234
|
-
function UnexpectedError(message) {
|
|
235
|
-
var _this = _super.call(this, spacetrim.spaceTrim(function (block) { return "\n ".concat(block(message), "\n\n Note: This error should not happen.\n It's probbably a bug in the pipeline collection\n\n Please report issue:\n https://github.com/webgptorg/promptbook/issues\n\n Or contact us on me@pavolhejny.com\n\n "); })) || this;
|
|
236
|
-
_this.name = 'UnexpectedError';
|
|
237
|
-
Object.setPrototypeOf(_this, UnexpectedError.prototype);
|
|
238
|
-
return _this;
|
|
239
|
-
}
|
|
240
|
-
return UnexpectedError;
|
|
241
|
-
}(Error));
|
|
242
|
-
|
|
243
484
|
/**
|
|
244
485
|
* Index of all custom errors
|
|
245
486
|
*
|
|
@@ -337,7 +578,6 @@
|
|
|
337
578
|
else {
|
|
338
579
|
socket.emit('listModels-request', {
|
|
339
580
|
isAnonymous: false,
|
|
340
|
-
clientId: this.options.clientId,
|
|
341
581
|
} /* <- TODO: [๐ค] */);
|
|
342
582
|
}
|
|
343
583
|
return [4 /*yield*/, new Promise(function (resolve, reject) {
|
|
@@ -367,6 +607,8 @@
|
|
|
367
607
|
// <- TODO: [๐งฑ] Implement in a functional (not new Class) way
|
|
368
608
|
function (resolve, reject) {
|
|
369
609
|
var socket = socket_ioClient.io(_this.options.remoteUrl, {
|
|
610
|
+
retries: CONNECTION_RETRIES_LIMIT,
|
|
611
|
+
timeout: CONNECTION_TIMEOUT_MS,
|
|
370
612
|
path: _this.options.path,
|
|
371
613
|
// path: `${this.remoteUrl.pathname}/socket.io`,
|
|
372
614
|
transports: [/*'websocket', <- TODO: [๐ฌ] Make websocket transport work */ 'polling'],
|
|
@@ -378,7 +620,7 @@
|
|
|
378
620
|
// TODO: !!!! Better timeout handling
|
|
379
621
|
setTimeout(function () {
|
|
380
622
|
reject(new Error("Timeout while connecting to ".concat(_this.options.remoteUrl)));
|
|
381
|
-
},
|
|
623
|
+
}, CONNECTION_TIMEOUT_MS);
|
|
382
624
|
});
|
|
383
625
|
};
|
|
384
626
|
/**
|
|
@@ -423,6 +665,7 @@
|
|
|
423
665
|
if (this.options.isAnonymous) {
|
|
424
666
|
socket.emit('prompt-request', {
|
|
425
667
|
isAnonymous: true,
|
|
668
|
+
userId: this.options.userId,
|
|
426
669
|
llmToolsConfiguration: this.options.llmToolsConfiguration,
|
|
427
670
|
prompt: prompt,
|
|
428
671
|
} /* <- TODO: [๐ค] */);
|
|
@@ -430,7 +673,7 @@
|
|
|
430
673
|
else {
|
|
431
674
|
socket.emit('prompt-request', {
|
|
432
675
|
isAnonymous: false,
|
|
433
|
-
|
|
676
|
+
userId: this.options.userId,
|
|
434
677
|
prompt: prompt,
|
|
435
678
|
} /* <- TODO: [๐ค] */);
|
|
436
679
|
}
|
package/umd/index.umd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../../../../src/version.ts","../../../node_modules/tslib/tslib.es6.js","../../../../src/errors/CollectionError.ts","../../../../src/errors/EnvironmentMismatchError.ts","../../../../src/errors/LimitReachedError.ts","../../../../src/errors/NotFoundError.ts","../../../../src/errors/NotYetImplementedError.ts","../../../../src/errors/ParsingError.ts","../../../../src/errors/PipelineExecutionError.ts","../../../../src/errors/PipelineLogicError.ts","../../../../src/errors/PipelineUrlError.ts","../../../../src/errors/UnexpectedError.ts","../../../../src/errors/index.ts","../../../../src/errors/utils/deserializeError.ts","../../../../src/llm-providers/remote/RemoteLlmExecutionTools.ts"],"sourcesContent":[null,"/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n",null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["spaceTrim","io"],"mappings":";;;;;;IAAA;IAIA;;;QAGa,kBAAkB,GAA8B,WAAW;IAGxE;;ICVA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1G,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,IAAI,OAAO,CAAC,KAAK,UAAU,IAAI,CAAC,KAAK,IAAI;IAC7C,QAAQ,MAAM,IAAI,SAAS,CAAC,sBAAsB,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,+BAA+B,CAAC,CAAC;IAClG,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC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gBAAgB,EAChB;oCACI,WAAW,EAAE,IAAI;oCACjB,qBAAqB,EAAE,IAAI,CAAC,OAAO,CAAC,qBAAqB;oCACzD,MAAM,QAAA;iCACiC,qBAC9C,CAAC;6BACL;iCAAM;gCACH,MAAM,CAAC,IAAI,CACP,gBAAgB,EAChB;oCACI,WAAW,EAAE,KAAK;oCAClB,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ;oCAC/B,MAAM,QAAA;iCACiC,qBAC9C,CAAC;6BACL;4BAEoB,qBAAM,IAAI,OAAO,CAAe,UAAC,OAAO,EAAE,MAAM;oCACjE,MAAM,CAAC,EAAE,CAAC,iBAAiB,EAAE,UAAC,QAA0C;wCACpE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;wCAC/B,MAAM,CAAC,UAAU,EAAE,CAAC;qCACvB,CAAC,CAAC;oCACH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,UAAC,KAA6B;wCAC7C,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;wCAChC,MAAM,CAAC,UAAU,EAAE,CAAC;qCACvB,CAAC,CAAC;iCACN,CAAC,EAAA;;4BATI,YAAY,GAAG,SASnB;4BAEF,MAAM,CAAC,UAAU,EAAE,CAAC;4BAEpB,sBAAO,YAAY,EAAC;;;;SACvB;QACL,8BAAC;IAAD,CAAC,IAAA;IAED;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../../../../src/version.ts","../../../node_modules/tslib/tslib.es6.js","../../../../src/utils/serialization/$deepFreeze.ts","../../../../src/errors/UnexpectedError.ts","../../../../src/utils/serialization/checkSerializableAsJson.ts","../../../../src/utils/serialization/$asDeeplyFrozenSerializableJson.ts","../../../../src/config.ts","../../../../src/errors/CollectionError.ts","../../../../src/errors/EnvironmentMismatchError.ts","../../../../src/errors/LimitReachedError.ts","../../../../src/errors/NotFoundError.ts","../../../../src/errors/NotYetImplementedError.ts","../../../../src/errors/ParsingError.ts","../../../../src/errors/PipelineExecutionError.ts","../../../../src/errors/PipelineLogicError.ts","../../../../src/errors/PipelineUrlError.ts","../../../../src/errors/index.ts","../../../../src/errors/utils/deserializeError.ts","../../../../src/llm-providers/remote/RemoteLlmExecutionTools.ts"],"sourcesContent":[null,"/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["spaceTrim","io"],"mappings":";;;;;;;;;;IAAA;IAIA;;;QAGa,kBAAkB,GAA8B,WAAW;IAGxE;;ICVA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EA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