@zimtsui/iterflow 0.0.4 → 0.0.6

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 CHANGED
@@ -13,7 +13,7 @@ import { Opposition, Optimization, Rejection } from '@zimtsui/iterflow';
13
13
  import OpenAI from 'openai';
14
14
  declare const openai: OpenAI;
15
15
 
16
- export async function *optimize(problem: string): Optimization<string> {
16
+ export async function *optimize(problem: string): Optimization.Raw<string> {
17
17
  const messages: OpenAI.ChatCompletionMessageParam[] = [
18
18
  {
19
19
  role: 'system',
@@ -28,7 +28,7 @@ export async function *optimize(problem: string): Optimization<string> {
28
28
  const completion = await openai.chat.completions.create({ model: 'gpt-4o', messages });
29
29
  messages.push(completion.choices[0]!.message);
30
30
  if (completion.choices[0]!.message.content! === 'OPPOSE')
31
- return yield Promise.reject(new Opposition('My answer is correct.'));
31
+ return yield new Opposition('My answer is correct.');
32
32
  else
33
33
  return yield completion.choices[0]!.message.content!;
34
34
  } catch (e) {
@@ -48,8 +48,8 @@ import { Evaluation, Rejection, Opposition } from '@zimtsui/iterflow';
48
48
  import OpenAI from 'openai';
49
49
  declare const openai: OpenAI;
50
50
 
51
- export async function *evaluate(problem: string): Evaluation<string> {
52
- let draft = yield Promise.reject(new Evaluation.FirstYield());
51
+ export async function *evaluate(problem: string): Evaluation.Raw<string> {
52
+ let draft = yield new Evaluation.FirstYield();
53
53
  const messages: OpenAI.ChatCompletionMessageParam[] = [
54
54
  {
55
55
  role: 'system',
@@ -63,28 +63,18 @@ export async function *evaluate(problem: string): Evaluation<string> {
63
63
  for (;;) try {
64
64
  const completion = await openai.chat.completions.create({ model: 'gpt-4o', messages });
65
65
  messages.push(completion.choices[0]!.message);
66
- if (completion.choices[0]!.message.content === 'ACCEPT') {}
67
- else throw new Rejection(completion.choices[0]!.message.content!);
68
- draft = yield draft;
66
+ if (completion.choices[0]!.message.content === 'ACCEPT') draft = yield draft;
67
+ else draft = yield new Rejection(completion.choices[0]!.message.content!);
69
68
  messages.push({
70
69
  role: 'user',
71
- content: `The answer is revised: ${draft}\n\nPlease examine it again.`,
70
+ content: `The answer is updated: ${draft}\n\nPlease examine it again.`,
72
71
  });
73
72
  } catch (e) {
74
- if (e instanceof Rejection) {} else throw e;
75
- try {
76
- const draft = await Promise.reject(e);
77
- messages.push({
78
- role: 'user',
79
- content: `The answer is revised: ${draft}\n\nPlease examine it again.`,
80
- });
81
- } catch (e) {
82
- if (e instanceof Opposition) {} else throw e;
83
- messages.push({
84
- role: 'user',
85
- content: `Your rejection is opposed: ${e.message}\n\nPlease examine it again.`,
86
- });
87
- }
73
+ if (e instanceof Opposition) {} else throw e;
74
+ messages.push({
75
+ role: 'user',
76
+ content: `Your rejection is opposed: ${e.message}\n\nPlease examine it again.`,
77
+ });
88
78
  }
89
79
  }
90
80
  ```
@@ -95,21 +85,21 @@ export async function *evaluate(problem: string): Evaluation<string> {
95
85
  import { Optimization, Evaluation, opteva, Rejection } from '@zimtsui/iterflow';
96
86
  import { optimize } from './optimize.ts';
97
87
  import { evaluate } from './evaluate.ts';
98
- const evaluate1: (problem: string) => Evaluation<string, string> = evaluate;
99
- declare const evaluate2: (problem: string) => Evaluation<string, number>;
100
- declare const evaluate3: (problem: string) => Evaluation<number, number>;
88
+ const evaluate1: (problem: string) => Evaluation.Raw<string, string> = evaluate;
89
+ declare const evaluate2: (problem: string) => Evaluation.Raw<string, number>;
90
+ declare const evaluate3: (problem: string) => Evaluation.Raw<number, number>;
101
91
 
102
92
  export async function workflow(problem: string): Promise<number> {
103
93
  await using optimization = Optimization.Cache.from(optimize(problem));
104
- await using snapshot0 = Optimization.Snapshot.from(optimization);
105
94
  await using evaluation1 = await Evaluation.Initialized.from(evaluate1(problem));
106
95
  await using evaluation2 = await Evaluation.Initialized.from(evaluate2(problem));
107
96
  await using evaluation3 = await Evaluation.Initialized.from(evaluate3(problem));
108
97
  for (;;) try {
109
- await using snapshot1 = await opteva(snapshot0, evaluation1);
110
- await using snapshot2 = await opteva(snapshot1, evaluation2);
111
- await using snapshot3 = await opteva(snapshot2, evaluation3);
112
- return await snapshot3.next().then(r => r.value);
98
+ let snapshotString = Optimization.Snapshot.from(optimization);
99
+ snapshotString = await opteva(snapshotString, evaluation1);
100
+ let snapshotNumber = await opteva(snapshotString, evaluation2);
101
+ snapshotNumber = await opteva(snapshotNumber, evaluation3);
102
+ return await snapshotNumber.next().then(r => r.value);
113
103
  } catch (e) {
114
104
  if (e instanceof Rejection) {} else throw e;
115
105
  }
@@ -122,6 +112,9 @@ export async function workflow(problem: string): Promise<number> {
122
112
  classDiagram
123
113
 
124
114
  Optimization <|.. Optimization.Cache
125
-
115
+ Optimization.Raw <|.. Optimization
126
116
  class Optimization.Snapshot
117
+
118
+ Evaluation.Raw <|.. Evaluation
119
+ class Evaluation.Initialized
127
120
  ```
package/build/opteva.d.ts CHANGED
@@ -1,63 +1,72 @@
1
1
  import { Rejection, Opposition } from './exceptions.ts';
2
- export interface Optimization<draft> extends AsyncGenerator<draft, never, never> {
3
- next(...values: [] | [never]): Promise<IteratorResult<draft, never>>;
4
- /**
5
- * @throws {@link Opposition}
6
- */
7
- throw(e: Rejection): Promise<IteratorResult<draft, never>>;
2
+ export interface Optimization<draft> extends AsyncGenerator<Awaited<draft> | Opposition, never, never> {
3
+ next(...values: [] | [never]): Promise<IteratorYieldResult<Awaited<draft>>>;
4
+ throw(e: Rejection): Promise<IteratorYieldResult<Awaited<draft> | Opposition>>;
8
5
  }
9
6
  export declare namespace Optimization {
10
- interface Cache<draft> extends AsyncGenerator<draft, never, void> {
11
- next(...values: [] | [void]): Promise<IteratorResult<draft, never>>;
12
- /**
13
- * @throws {@link Opposition}
14
- */
15
- throw(e: Rejection): Promise<IteratorResult<draft, never>>;
7
+ interface Raw<draft> extends AsyncGenerator<Awaited<draft> | Opposition, never, never> {
8
+ }
9
+ /**
10
+ * @param raw0 Ownership transferred.
11
+ */
12
+ function ensure<draft>(raw0: Optimization.Raw<draft>): Optimization<draft>;
13
+ interface Cache<draft> extends AsyncGenerator<Awaited<draft> | Opposition, never, void> {
14
+ next(...values: [] | [void]): Promise<IteratorYieldResult<Awaited<draft>>>;
15
+ throw(e: Rejection): Promise<IteratorYieldResult<Awaited<draft> | Opposition>>;
16
16
  }
17
17
  namespace Cache {
18
- function from<draft>(raw0: Optimization<draft>): Optimization.Cache<draft>;
18
+ interface Raw<draft> extends AsyncGenerator<Awaited<draft> | Opposition, never, void> {
19
+ }
20
+ /**
21
+ * @param raw0 Ownership transferred.
22
+ */
23
+ function ensure<draft>(raw0: Optimization.Cache.Raw<draft>): Optimization.Cache<draft>;
24
+ /**
25
+ * @param raw0 Ownership transferred.
26
+ */
27
+ function from<draft>(raw0: Optimization.Raw<draft>): Optimization.Cache<draft>;
19
28
  }
20
- interface Snapshot<draft> extends AsyncGenerator<draft, never, void> {
21
- next(...values: [] | [void]): Promise<IteratorResult<draft, never>>;
29
+ interface Snapshot<draft> extends AsyncGenerator<Awaited<draft> | Opposition, never, void> {
30
+ next(...values: [] | [void]): Promise<IteratorYieldResult<Awaited<draft>>>;
22
31
  /**
23
32
  * @throws {@link Rejection}
24
33
  */
25
- throw(e: Rejection): Promise<never>;
34
+ throw(e: Rejection): Promise<IteratorYieldResult<Opposition>>;
26
35
  }
27
36
  namespace Snapshot {
37
+ /**
38
+ * @param opt Ownership NOT transferred.
39
+ */
28
40
  function from<draft>(opt: Optimization.Cache<draft>): Optimization.Snapshot<draft>;
29
- function recover<input, output>(opt: Optimization.Snapshot<input>, draft: output): Optimization.Snapshot<output>;
41
+ /**
42
+ * @param opt Ownership NOT transferred.
43
+ */
44
+ function recover<input, output>(opt: Optimization.Snapshot<input>, draft: Awaited<output>): Optimization.Snapshot<output>;
30
45
  }
31
46
  }
32
- export interface Evaluation<input, output = input> extends AsyncGenerator<output, never, input> {
33
- /**
34
- * @throws {@link FirstYield}
35
- */
36
- next(...values: []): Promise<IteratorResult<output, never>>;
37
- /**
38
- * @throws {@link Rejection}
39
- */
40
- next(...values: [input]): Promise<IteratorResult<output, never>>;
41
- /**
42
- * @throws {@link Rejection}
43
- */
44
- throw(e: Opposition): Promise<IteratorResult<output, never>>;
47
+ export interface Evaluation<input, output = input> extends AsyncGenerator<Awaited<output> | Rejection, never, input> {
48
+ next(...values: []): Promise<IteratorYieldResult<Evaluation.FirstYield>>;
49
+ next(...values: [input]): Promise<IteratorYieldResult<Awaited<output> | Rejection>>;
50
+ throw(e: Opposition): Promise<IteratorYieldResult<Awaited<output> | Rejection>>;
45
51
  }
46
52
  export declare namespace Evaluation {
53
+ interface Raw<input, output = input> extends AsyncGenerator<Awaited<output> | Rejection | FirstYield, never, input> {
54
+ }
55
+ /**
56
+ * @param raw0 Ownership transferred.
57
+ */
58
+ function ensure<input, output = input>(raw0: Evaluation.Raw<input, output>): Evaluation<input, output>;
47
59
  class FirstYield {
48
60
  }
49
- interface Initialized<input, output = input> extends AsyncGenerator<output, never, input> {
50
- /**
51
- * @throws {@link Rejection}
52
- */
53
- next(...values: [input]): Promise<IteratorResult<output, never>>;
54
- /**
55
- * @throws {@link Rejection}
56
- */
57
- throw(e: Opposition): Promise<IteratorResult<output, never>>;
61
+ interface Initialized<input, output = input> extends AsyncGenerator<Awaited<output> | Rejection, never, input> {
62
+ next(...values: [input]): Promise<IteratorResult<Awaited<output> | Rejection, never>>;
63
+ throw(e: Opposition): Promise<IteratorResult<Awaited<output> | Rejection, never>>;
58
64
  }
59
65
  namespace Initialized {
60
- function from<input, output = input>(eva: Evaluation<input, output>): Promise<Evaluation.Initialized<input, output>>;
66
+ /**
67
+ * @param raw0 Ownership transferred.
68
+ */
69
+ function from<input, output = input>(raw0: Evaluation.Raw<input, output>): Promise<Evaluation.Initialized<input, output>>;
61
70
  }
62
71
  }
63
72
  /**
package/build/opteva.js CHANGED
@@ -53,56 +53,128 @@ var __disposeResources = (this && this.__disposeResources) || (function (Suppres
53
53
  import { Rejection, Opposition } from "./exceptions.js";
54
54
  export var Optimization;
55
55
  (function (Optimization) {
56
+ /**
57
+ * @param raw0 Ownership transferred.
58
+ */
59
+ function ensure(raw0) {
60
+ return {
61
+ async next(...values) {
62
+ const result = await raw0.next(...values);
63
+ if (result.done)
64
+ throw new Error(undefined, { cause: result });
65
+ const output = result.value;
66
+ if (output instanceof Opposition)
67
+ throw new Error(undefined, { cause: output });
68
+ return { value: output, done: false };
69
+ },
70
+ async throw(e) {
71
+ const result = await raw0.throw(e);
72
+ if (result.done)
73
+ throw new Error();
74
+ return { value: result.value, done: false };
75
+ },
76
+ return(value) {
77
+ return raw0.return(value);
78
+ },
79
+ [Symbol.asyncIterator]() {
80
+ return this;
81
+ },
82
+ [Symbol.asyncDispose]() {
83
+ return raw0[Symbol.asyncDispose]();
84
+ },
85
+ };
86
+ }
87
+ Optimization.ensure = ensure;
56
88
  let Cache;
57
89
  (function (Cache) {
58
- async function* from(raw0) {
59
- const env_1 = { stack: [], error: void 0, hasError: false };
60
- try {
61
- const raw = __addDisposableResource(env_1, raw0, true);
62
- let draft = await raw.next().then(r => r.value);
63
- let output = Promise.resolve(draft);
64
- for (;;)
65
- try {
66
- yield output;
67
- output = Promise.resolve(draft);
68
- }
69
- catch (e) {
70
- if (e instanceof Rejection) { }
71
- else
72
- throw e;
90
+ /**
91
+ * @param raw0 Ownership transferred.
92
+ */
93
+ function ensure(raw0) {
94
+ return {
95
+ async next(...values) {
96
+ const result = await raw0.next(...values);
97
+ if (result.done)
98
+ throw new Error(undefined, { cause: result });
99
+ const output = result.value;
100
+ if (output instanceof Opposition)
101
+ throw new Error(undefined, { cause: output });
102
+ return { value: output, done: false };
103
+ },
104
+ async throw(e) {
105
+ const result = await raw0.throw(e);
106
+ if (result.done)
107
+ throw new Error(undefined, { cause: result });
108
+ return { value: result.value, done: false };
109
+ },
110
+ return(value) {
111
+ return raw0.return(value);
112
+ },
113
+ [Symbol.asyncIterator]() {
114
+ return this;
115
+ },
116
+ [Symbol.asyncDispose]() {
117
+ return raw0[Symbol.asyncDispose]();
118
+ },
119
+ };
120
+ }
121
+ Cache.ensure = ensure;
122
+ /**
123
+ * @param raw0 Ownership transferred.
124
+ */
125
+ function from(raw0) {
126
+ /**
127
+ * @param raw0 Ownership transferred.
128
+ */
129
+ async function* from(raw0) {
130
+ const env_1 = { stack: [], error: void 0, hasError: false };
131
+ try {
132
+ const raw = __addDisposableResource(env_1, Optimization.ensure(raw0), true);
133
+ let draft = await raw.next().then(r => r.value);
134
+ let output = draft;
135
+ for (;;)
73
136
  try {
74
- draft = await raw.throw(e).then(r => r.value);
75
- output = Promise.resolve(draft);
137
+ yield output;
138
+ output = draft;
76
139
  }
77
140
  catch (e) {
78
- if (e instanceof Opposition) { }
141
+ if (e instanceof Rejection) { }
79
142
  else
80
143
  throw e;
81
- output = Promise.reject(e);
144
+ output = await raw.throw(e).then(r => r.value);
145
+ if (output instanceof Opposition) { }
146
+ else
147
+ draft = output;
82
148
  }
83
- }
84
- }
85
- catch (e_1) {
86
- env_1.error = e_1;
87
- env_1.hasError = true;
88
- }
89
- finally {
90
- const result_1 = __disposeResources(env_1);
91
- if (result_1)
92
- await result_1;
149
+ }
150
+ catch (e_1) {
151
+ env_1.error = e_1;
152
+ env_1.hasError = true;
153
+ }
154
+ finally {
155
+ const result_1 = __disposeResources(env_1);
156
+ if (result_1)
157
+ await result_1;
158
+ }
93
159
  }
160
+ return Optimization.Cache.ensure(from(Optimization.ensure(raw0)));
94
161
  }
95
162
  Cache.from = from;
96
163
  })(Cache = Optimization.Cache || (Optimization.Cache = {}));
97
164
  let Snapshot;
98
165
  (function (Snapshot) {
166
+ /**
167
+ * @param opt Ownership NOT transferred.
168
+ */
99
169
  function from(opt) {
100
170
  return {
101
171
  next(...values) {
102
172
  return opt.next(...values);
103
173
  },
104
174
  async throw(e) {
105
- await opt.throw(e).then(r => r.value);
175
+ const output = await opt.throw(e).then(r => r.value);
176
+ if (output instanceof Opposition)
177
+ return { value: output, done: false };
106
178
  throw e;
107
179
  },
108
180
  return(value) {
@@ -111,12 +183,13 @@ export var Optimization;
111
183
  [Symbol.asyncIterator]() {
112
184
  return this;
113
185
  },
114
- [Symbol.asyncDispose]() {
115
- return opt[Symbol.asyncDispose]();
116
- },
186
+ async [Symbol.asyncDispose]() { },
117
187
  };
118
188
  }
119
189
  Snapshot.from = from;
190
+ /**
191
+ * @param opt Ownership NOT transferred.
192
+ */
120
193
  function recover(opt, draft) {
121
194
  return {
122
195
  async next(...values) {
@@ -132,9 +205,7 @@ export var Optimization;
132
205
  [Symbol.asyncIterator]() {
133
206
  return this;
134
207
  },
135
- [Symbol.asyncDispose]() {
136
- return opt[Symbol.asyncDispose]();
137
- },
208
+ async [Symbol.asyncDispose]() { },
138
209
  };
139
210
  }
140
211
  Snapshot.recover = recover;
@@ -142,21 +213,71 @@ export var Optimization;
142
213
  })(Optimization || (Optimization = {}));
143
214
  export var Evaluation;
144
215
  (function (Evaluation) {
216
+ /**
217
+ * @param raw0 Ownership transferred.
218
+ */
219
+ function ensure(raw0) {
220
+ async function next(...values) {
221
+ if (values.length) {
222
+ const result = await raw0.next(...values);
223
+ if (result.done)
224
+ throw new Error(undefined, { cause: result });
225
+ const output = result.value;
226
+ if (output instanceof Evaluation.FirstYield)
227
+ throw new Error(undefined, { cause: output });
228
+ return { value: result.value, done: false };
229
+ }
230
+ else {
231
+ const result = await raw0.next();
232
+ if (result.done)
233
+ throw new Error(undefined, { cause: result });
234
+ const output = result.value;
235
+ if (output instanceof Evaluation.FirstYield)
236
+ return { value: output, done: false };
237
+ throw new Error(undefined, { cause: output });
238
+ }
239
+ }
240
+ return {
241
+ next,
242
+ async throw(e) {
243
+ const result = await raw0.throw(e);
244
+ if (result.done)
245
+ throw new Error(undefined, { cause: result });
246
+ const output = result.value;
247
+ if (output instanceof Evaluation.FirstYield)
248
+ throw new Error(undefined, { cause: output });
249
+ return { value: output, done: false };
250
+ },
251
+ async return(value) {
252
+ const result = await raw0.return(value);
253
+ if (result.done)
254
+ return { value: await value, done: true };
255
+ const output = result.value;
256
+ if (output instanceof Evaluation.FirstYield)
257
+ throw new Error(undefined, { cause: output });
258
+ return { value: output, done: false };
259
+ },
260
+ [Symbol.asyncIterator]() {
261
+ return this;
262
+ },
263
+ [Symbol.asyncDispose]() {
264
+ return raw0[Symbol.asyncDispose]();
265
+ },
266
+ };
267
+ }
268
+ Evaluation.ensure = ensure;
145
269
  class FirstYield {
146
270
  }
147
271
  Evaluation.FirstYield = FirstYield;
148
272
  let Initialized;
149
273
  (function (Initialized) {
150
- async function from(eva) {
151
- try {
152
- throw new Error(undefined, { cause: await eva.next() });
153
- }
154
- catch (e) {
155
- if (e instanceof Evaluation.FirstYield)
156
- return eva;
157
- else
158
- throw e;
159
- }
274
+ /**
275
+ * @param raw0 Ownership transferred.
276
+ */
277
+ async function from(raw0) {
278
+ const eva = Evaluation.ensure(raw0);
279
+ await eva.next().then(r => r.value);
280
+ return eva;
160
281
  }
161
282
  Initialized.from = from;
162
283
  })(Initialized = Evaluation.Initialized || (Evaluation.Initialized = {}));
@@ -166,33 +287,12 @@ export var Evaluation;
166
287
  */
167
288
  export async function opteva(opt, eva) {
168
289
  const draft = await opt.next().then(r => r.value);
169
- try {
170
- const output = await eva.next(draft).then(r => r.value);
171
- return Optimization.Snapshot.recover(opt, output);
172
- }
173
- catch (e) {
174
- if (e instanceof Rejection) { }
290
+ for (let output = await eva.next(draft).then(r => r.value);;) {
291
+ if (output instanceof Rejection) { }
175
292
  else
176
- throw e;
177
- for (let rejection = e;;)
178
- try {
179
- await opt.throw(rejection); // Either Opposition or Rejection thrown outgoing from opt.
180
- }
181
- catch (e) {
182
- if (e instanceof Opposition) { }
183
- else
184
- throw e;
185
- try {
186
- const output = await eva.throw(e).then(r => r.value);
187
- return Optimization.Snapshot.recover(opt, output);
188
- }
189
- catch (e) {
190
- if (e instanceof Rejection) { }
191
- else
192
- throw e;
193
- rejection = e;
194
- }
195
- }
293
+ return Optimization.Snapshot.recover(opt, output);
294
+ const input = await opt.throw(output).then(r => r.value);
295
+ output = await eva.throw(input).then(r => r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AAG,MAAM,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IACvD,CAAC;AACL,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
package/build/test.js ADDED
@@ -0,0 +1,281 @@
1
+ var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {
2
+ if (value !== null && value !== void 0) {
3
+ if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
4
+ var dispose, inner;
5
+ if (async) {
6
+ if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
7
+ dispose = value[Symbol.asyncDispose];
8
+ }
9
+ if (dispose === void 0) {
10
+ if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
11
+ dispose = value[Symbol.dispose];
12
+ if (async) inner = dispose;
13
+ }
14
+ if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
15
+ if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };
16
+ env.stack.push({ value: value, dispose: dispose, async: async });
17
+ }
18
+ else if (async) {
19
+ env.stack.push({ async: true });
20
+ }
21
+ return value;
22
+ };
23
+ var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) {
24
+ return function (env) {
25
+ function fail(e) {
26
+ env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
27
+ env.hasError = true;
28
+ }
29
+ var r, s = 0;
30
+ function next() {
31
+ while (r = env.stack.pop()) {
32
+ try {
33
+ if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
34
+ if (r.dispose) {
35
+ var result = r.dispose.call(r.value);
36
+ if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
37
+ }
38
+ else s |= 1;
39
+ }
40
+ catch (e) {
41
+ fail(e);
42
+ }
43
+ }
44
+ if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
45
+ if (env.hasError) throw env.error;
46
+ }
47
+ return next();
48
+ };
49
+ })(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
50
+ var e = new Error(message);
51
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
52
+ });
53
+ import test from 'ava';
54
+ import { Evaluation, Optimization, Opposition, Rejection, opteva, } from "./exports.js";
55
+ test('Evaluation.Initialized.from rejects evaluators that miss the sentinel first yield', async (t) => {
56
+ async function* raw() {
57
+ yield 'not-a-sentinel';
58
+ throw new Error('unreachable');
59
+ }
60
+ const error = await t.throwsAsync(async () => {
61
+ await Evaluation.Initialized.from(raw());
62
+ });
63
+ t.true(error instanceof Error);
64
+ if (error instanceof Error)
65
+ t.is(error.cause, 'not-a-sentinel');
66
+ });
67
+ test('Optimization.Cache.from replays the latest accepted draft and preserves it after opposition', async (t) => {
68
+ const env_1 = { stack: [], error: void 0, hasError: false };
69
+ try {
70
+ const seenRejections = [];
71
+ async function* raw() {
72
+ let draft = 'draft-1';
73
+ for (;;)
74
+ try {
75
+ yield draft;
76
+ }
77
+ catch (e) {
78
+ if (!(e instanceof Rejection))
79
+ throw e;
80
+ seenRejections.push(e.message);
81
+ if (e.message === 'revise')
82
+ draft = 'draft-2';
83
+ else if (e.message === 'wrong')
84
+ yield new Opposition('keep draft-2');
85
+ else
86
+ throw e;
87
+ }
88
+ }
89
+ const cache = __addDisposableResource(env_1, Optimization.Cache.from(raw()), true);
90
+ t.is(await cache.next().then(r => r.value), 'draft-1');
91
+ t.is(await cache.next().then(r => r.value), 'draft-1');
92
+ t.is(await cache.throw(new Rejection('revise')).then(r => r.value), 'draft-2');
93
+ t.is(await cache.next().then(r => r.value), 'draft-2');
94
+ const opposition = await cache.throw(new Rejection('wrong')).then(r => r.value);
95
+ t.true(opposition instanceof Opposition);
96
+ if (opposition instanceof Opposition)
97
+ t.is(opposition.message, 'keep draft-2');
98
+ t.is(await cache.next().then(r => r.value), 'draft-2');
99
+ t.deepEqual(seenRejections, ['revise', 'wrong']);
100
+ }
101
+ catch (e_1) {
102
+ env_1.error = e_1;
103
+ env_1.hasError = true;
104
+ }
105
+ finally {
106
+ const result_1 = __disposeResources(env_1);
107
+ if (result_1)
108
+ await result_1;
109
+ }
110
+ });
111
+ test('Optimization.Snapshot.from rethrows revisions and only returns oppositions', async (t) => {
112
+ const env_2 = { stack: [], error: void 0, hasError: false };
113
+ try {
114
+ async function* raw() {
115
+ let draft = 'draft-1';
116
+ for (;;)
117
+ try {
118
+ yield draft;
119
+ }
120
+ catch (e) {
121
+ if (!(e instanceof Rejection))
122
+ throw e;
123
+ if (e.message === 'revise')
124
+ draft = 'draft-2';
125
+ else if (e.message === 'wrong')
126
+ yield new Opposition('keep draft-2');
127
+ else
128
+ throw e;
129
+ }
130
+ }
131
+ const cache = __addDisposableResource(env_2, Optimization.Cache.from(raw()), true);
132
+ const snapshot = Optimization.Snapshot.from(cache);
133
+ t.is(await snapshot.next().then(r => r.value), 'draft-1');
134
+ const revision = new Rejection('revise');
135
+ let thrown;
136
+ try {
137
+ await snapshot.throw(revision);
138
+ }
139
+ catch (e) {
140
+ thrown = e;
141
+ }
142
+ t.is(thrown, revision);
143
+ t.is(await snapshot.next().then(r => r.value), 'draft-2');
144
+ const opposition = await snapshot.throw(new Rejection('wrong')).then(r => r.value);
145
+ t.true(opposition instanceof Opposition);
146
+ if (opposition instanceof Opposition)
147
+ t.is(opposition.message, 'keep draft-2');
148
+ }
149
+ catch (e_2) {
150
+ env_2.error = e_2;
151
+ env_2.hasError = true;
152
+ }
153
+ finally {
154
+ const result_2 = __disposeResources(env_2);
155
+ if (result_2)
156
+ await result_2;
157
+ }
158
+ });
159
+ test('opteva returns a recovered snapshot when the evaluator accepts immediately', async (t) => {
160
+ const env_3 = { stack: [], error: void 0, hasError: false };
161
+ try {
162
+ async function* optimize() {
163
+ yield 'draft';
164
+ throw new Error('unreachable');
165
+ }
166
+ async function* evaluate() {
167
+ const draft = yield new Evaluation.FirstYield();
168
+ yield draft.length;
169
+ throw new Error('unreachable');
170
+ }
171
+ const optimization = __addDisposableResource(env_3, Optimization.Cache.from(optimize()), true);
172
+ const evaluation = __addDisposableResource(env_3, await Evaluation.Initialized.from(evaluate()), true);
173
+ const snapshot = await opteva(Optimization.Snapshot.from(optimization), evaluation);
174
+ t.is(await snapshot.next().then(r => r.value), 5);
175
+ t.is(await snapshot.next().then(r => r.value), 5);
176
+ }
177
+ catch (e_3) {
178
+ env_3.error = e_3;
179
+ env_3.hasError = true;
180
+ }
181
+ finally {
182
+ const result_3 = __disposeResources(env_3);
183
+ if (result_3)
184
+ await result_3;
185
+ }
186
+ });
187
+ test('opteva surfaces a rejection after optimizer revision and succeeds on the next attempt', async (t) => {
188
+ const env_4 = { stack: [], error: void 0, hasError: false };
189
+ try {
190
+ async function* optimize() {
191
+ let draft = 'draft-1';
192
+ for (;;)
193
+ try {
194
+ yield draft;
195
+ }
196
+ catch (e) {
197
+ if (!(e instanceof Rejection))
198
+ throw e;
199
+ if (e.message === 'too short')
200
+ draft = 'draft-2';
201
+ else
202
+ throw e;
203
+ }
204
+ }
205
+ async function* evaluate() {
206
+ let draft = yield new Evaluation.FirstYield();
207
+ draft = yield new Rejection('too short');
208
+ yield draft.toUpperCase();
209
+ throw new Error('unreachable');
210
+ }
211
+ const optimization = __addDisposableResource(env_4, Optimization.Cache.from(optimize()), true);
212
+ const evaluation = __addDisposableResource(env_4, await Evaluation.Initialized.from(evaluate()), true);
213
+ let rejection;
214
+ try {
215
+ await opteva(Optimization.Snapshot.from(optimization), evaluation);
216
+ }
217
+ catch (e) {
218
+ rejection = e;
219
+ }
220
+ t.true(rejection instanceof Rejection);
221
+ if (rejection instanceof Rejection)
222
+ t.is(rejection.message, 'too short');
223
+ const snapshot = await opteva(Optimization.Snapshot.from(optimization), evaluation);
224
+ t.is(await snapshot.next().then(r => r.value), 'DRAFT-2');
225
+ }
226
+ catch (e_4) {
227
+ env_4.error = e_4;
228
+ env_4.hasError = true;
229
+ }
230
+ finally {
231
+ const result_4 = __disposeResources(env_4);
232
+ if (result_4)
233
+ await result_4;
234
+ }
235
+ });
236
+ test('opteva resolves optimizer opposition through evaluator.throw without restarting', async (t) => {
237
+ const env_5 = { stack: [], error: void 0, hasError: false };
238
+ try {
239
+ async function* optimize() {
240
+ for (;;)
241
+ try {
242
+ yield 'candidate';
243
+ }
244
+ catch (e) {
245
+ if (!(e instanceof Rejection))
246
+ throw e;
247
+ if (e.message === 'wrong')
248
+ yield new Opposition('candidate is valid');
249
+ else
250
+ throw e;
251
+ }
252
+ }
253
+ async function* evaluate() {
254
+ const draft = yield new Evaluation.FirstYield();
255
+ try {
256
+ yield new Rejection('wrong');
257
+ }
258
+ catch (e) {
259
+ if (!(e instanceof Opposition))
260
+ throw e;
261
+ yield `${draft}:${e.message}`;
262
+ throw new Error('unreachable');
263
+ }
264
+ throw new Error('unreachable');
265
+ }
266
+ const optimization = __addDisposableResource(env_5, Optimization.Cache.from(optimize()), true);
267
+ const evaluation = __addDisposableResource(env_5, await Evaluation.Initialized.from(evaluate()), true);
268
+ const snapshot = await opteva(Optimization.Snapshot.from(optimization), evaluation);
269
+ t.is(await snapshot.next().then(r => r.value), 'candidate:candidate is valid');
270
+ }
271
+ catch (e_5) {
272
+ env_5.error = e_5;
273
+ env_5.hasError = true;
274
+ }
275
+ finally {
276
+ const result_5 = __disposeResources(env_5);
277
+ if (result_5)
278
+ await result_5;
279
+ }
280
+ });
281
+ //# sourceMappingURL=test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.js","sourceRoot":"","sources":["../src/test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,IAAI,MAAM,KAAK,CAAC;AACvB,OAAO,EACH,UAAU,EACV,YAAY,EACZ,UAAU,EACV,SAAS,EACT,MAAM,GACT,MAAM,cAAc,CAAC;AAEtB,IAAI,CAAC,mFAAmF,EAAE,KAAK,EAAC,CAAC,EAAC,E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AC;gBACxC,MAAM,GAAG,KAAK,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;gBAC9B,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;YACnC,CAAC;YACD,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;QACnC,CAAC;QAED,MAAY,YAAY,kCAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,OAAA,CAAC;QAC/D,MAAY,UAAU,kCAAG,MAAM,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,OAAA,CAAC;QAEvE,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC,CAAC;QAEpF,CAAC,CAAC,EAAE,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,8BAA8B,CAAC,CAAC;;;;;;;;;;;CAClF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"fileNames":["../../../../../usr/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/exceptions.ts","../src/opteva.ts","../src/exports.ts"],"fileIdsList":[[81,82],[81]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"21524e01f352b6f9d3e835d9ee01f14888746464959bbf18d35fdcf4075b0652","signature":"17432b7db89c1f48cf82c7ecf1ae9750aa7d4fe1d0ab02a1ee66fd731cf11d40"},{"version":"fb02d62027f32fab6298e016405eaca8fd1d51dd9756386f5142154648f6d413","signature":"f843fec40ea247b60ec28b4ece1f207f2c99c6736bda3c1b95187adee08a1f2c"},"ff70d9bb166642a653426b9e6327550cee5813121372e8cbbf6e9d299b100df1"],"root":[[81,83]],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"checkJs":true,"composite":true,"experimentalDecorators":true,"module":200,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"noUncheckedSideEffectImports":true,"outDir":"./","rewriteRelativeImportExtensions":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"verbatimModuleSyntax":true},"referencedMap":[[83,1],[82,2]],"latestChangedDtsFile":"./exports.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../../../../usr/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../usr/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/exceptions.ts","../src/opteva.ts","../src/exports.ts","../node_modules/ava/types/assertions.d.cts","../node_modules/ava/types/subscribable.d.cts","../node_modules/ava/types/try-fn.d.cts","../node_modules/ava/types/test-fn.d.cts","../node_modules/ava/entrypoints/main.d.mts","../src/test.ts","../node_modules/@types/estree/index.d.ts"],"fileIdsList":[[84,85,86,87],[84,85,86],[87],[81,82],[81],[83,88]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"21524e01f352b6f9d3e835d9ee01f14888746464959bbf18d35fdcf4075b0652","signature":"17432b7db89c1f48cf82c7ecf1ae9750aa7d4fe1d0ab02a1ee66fd731cf11d40"},{"version":"5a28c18aaf4a0bb16c582d9d41a29c1500ca88963690145b425acccc20d604df","signature":"2beebd3829ea4902e758e5eda3ce7681e4b8f4327e8a5432211ec49017ec36ed"},"ff70d9bb166642a653426b9e6327550cee5813121372e8cbbf6e9d299b100df1",{"version":"d8750101c0f4631f1632897699ef075c5fc684df5eeee3832c993c948b334dbe","impliedFormat":1},{"version":"00b72e597dcd6ff7bf772918c78c41dc7c68e239af658cf452bff645ebdc485d","impliedFormat":1},{"version":"17b183b69a3dd3cca2505cee7ff70501c574343ad49a385c9acb5b5299e1ba73","impliedFormat":1},{"version":"65971ae48adee73c3f604209b64a4e34e319d7ce25c2ea452cc15b05a2b43db5","impliedFormat":1},{"version":"de8391b91c499acbc09df8d9ba114dc8c44456d54e81ed01211c32a1d6ad94fb","impliedFormat":99},{"version":"fa0825aaad64c246abccb0e5b0f92a6fe1c26df824b34042ae077972cf8fbeac","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1}],"root":[[81,83],89],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"checkJs":true,"composite":true,"experimentalDecorators":true,"module":200,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"noUncheckedSideEffectImports":true,"outDir":"./","rewriteRelativeImportExtensions":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"verbatimModuleSyntax":true},"referencedMap":[[88,1],[87,2],[86,3],[83,4],[82,5],[89,6]],"latestChangedDtsFile":"./test.d.ts","version":"5.9.3"}
package/package.json CHANGED
@@ -9,6 +9,7 @@
9
9
  "scripts": {
10
10
  "build": "tsc -b ./src/tsconfig.json",
11
11
  "clean": "rm -rf ./build",
12
+ "test": "ava ./build/test.js",
12
13
  "prepublishOnly": "npm run clean && npm run build"
13
14
  },
14
15
  "author": "Zim",
@@ -17,7 +18,8 @@
17
18
  "@opentelemetry/api": "^1.9.0"
18
19
  },
19
20
  "devDependencies": {
21
+ "ava": "^7.0.0",
20
22
  "openai": "^6.29.0"
21
23
  },
22
- "version": "0.0.4"
24
+ "version": "0.0.6"
23
25
  }