@openpond/evals 0.12.4 → 0.12.5
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/LEARNING.md +21 -0
- package/dist/javascript-isolate-process-entry.js +4 -1
- package/dist/javascript-isolate-process-source.js +1 -1
- package/dist/javascript-isolate-process.js +36 -2
- package/dist/javascript-isolate.js +8 -2
- package/dist/javascript-verifier-node.js +1 -0
- package/dist/javascript-verifier-worker-source.js +1 -1
- package/dist/learning/index.js +1 -0
- package/dist/learning/iteration-dispatch-commands.js +1 -1
- package/dist/learning/iteration-dispatch-contracts.js +27 -0
- package/dist/learning/iteration-dispatch-deferral.js +28 -0
- package/dist/learning/iteration-dispatch-worker.js +34 -5
- package/dist/types/javascript-isolate-process.d.ts +7 -0
- package/dist/types/javascript-isolate-process.d.ts.map +1 -1
- package/dist/types/javascript-isolate.d.ts +3 -1
- package/dist/types/javascript-isolate.d.ts.map +1 -1
- package/dist/types/javascript-verifier-node.d.ts +1 -0
- package/dist/types/javascript-verifier-node.d.ts.map +1 -1
- package/dist/types/learning/index.d.ts +1 -0
- package/dist/types/learning/index.d.ts.map +1 -1
- package/dist/types/learning/iteration-dispatch-contracts.d.ts +45 -0
- package/dist/types/learning/iteration-dispatch-contracts.d.ts.map +1 -1
- package/dist/types/learning/iteration-dispatch-deferral.d.ts +71 -0
- package/dist/types/learning/iteration-dispatch-deferral.d.ts.map +1 -0
- package/dist/types/learning/iteration-dispatch-worker.d.ts +7 -2
- package/dist/types/learning/iteration-dispatch-worker.d.ts.map +1 -1
- package/dist/types/learning/repository.d.ts +20 -0
- package/dist/types/learning/repository.d.ts.map +1 -1
- package/dist/types/learning/transport.d.ts +20 -0
- package/dist/types/learning/transport.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/learning/v1/dispatch.schema.json +100 -1
|
@@ -59,9 +59,15 @@
|
|
|
59
59
|
"nextAttemptAt": {
|
|
60
60
|
"$ref": "#/$defs/__schema19"
|
|
61
61
|
},
|
|
62
|
-
"
|
|
62
|
+
"admission": {
|
|
63
63
|
"$ref": "#/$defs/__schema20"
|
|
64
64
|
},
|
|
65
|
+
"lastSubmissionDeferral": {
|
|
66
|
+
"$ref": "#/$defs/__schema21"
|
|
67
|
+
},
|
|
68
|
+
"lastError": {
|
|
69
|
+
"$ref": "#/$defs/__schema22"
|
|
70
|
+
},
|
|
65
71
|
"createdAt": {
|
|
66
72
|
"$ref": "#/$defs/__schema10"
|
|
67
73
|
},
|
|
@@ -322,6 +328,99 @@
|
|
|
322
328
|
]
|
|
323
329
|
},
|
|
324
330
|
"__schema20": {
|
|
331
|
+
"anyOf": [
|
|
332
|
+
{
|
|
333
|
+
"oneOf": [
|
|
334
|
+
{
|
|
335
|
+
"type": "object",
|
|
336
|
+
"properties": {
|
|
337
|
+
"status": {
|
|
338
|
+
"type": "string",
|
|
339
|
+
"const": "ready"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"required": [
|
|
343
|
+
"status"
|
|
344
|
+
],
|
|
345
|
+
"additionalProperties": false
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "object",
|
|
349
|
+
"properties": {
|
|
350
|
+
"status": {
|
|
351
|
+
"type": "string",
|
|
352
|
+
"const": "deferred"
|
|
353
|
+
},
|
|
354
|
+
"retryAt": {
|
|
355
|
+
"$ref": "#/$defs/__schema10"
|
|
356
|
+
},
|
|
357
|
+
"reason": {
|
|
358
|
+
"type": "string",
|
|
359
|
+
"minLength": 1,
|
|
360
|
+
"maxLength": 2000
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"required": [
|
|
364
|
+
"status",
|
|
365
|
+
"retryAt",
|
|
366
|
+
"reason"
|
|
367
|
+
],
|
|
368
|
+
"additionalProperties": false
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"type": "null"
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
"__schema21": {
|
|
378
|
+
"type": "object",
|
|
379
|
+
"properties": {
|
|
380
|
+
"scope": {
|
|
381
|
+
"$ref": "#/$defs/__schema1"
|
|
382
|
+
},
|
|
383
|
+
"dispatchId": {
|
|
384
|
+
"$ref": "#/$defs/__schema1"
|
|
385
|
+
},
|
|
386
|
+
"submissionHash": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
389
|
+
},
|
|
390
|
+
"leaseGeneration": {
|
|
391
|
+
"type": "integer",
|
|
392
|
+
"exclusiveMinimum": 0,
|
|
393
|
+
"maximum": 9007199254740991
|
|
394
|
+
},
|
|
395
|
+
"status": {
|
|
396
|
+
"type": "string",
|
|
397
|
+
"const": "deferred"
|
|
398
|
+
},
|
|
399
|
+
"retryAt": {
|
|
400
|
+
"$ref": "#/$defs/__schema10"
|
|
401
|
+
},
|
|
402
|
+
"reason": {
|
|
403
|
+
"type": "string",
|
|
404
|
+
"minLength": 1,
|
|
405
|
+
"maxLength": 2000
|
|
406
|
+
},
|
|
407
|
+
"receipt": {
|
|
408
|
+
"$ref": "#/$defs/__schema12"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"required": [
|
|
412
|
+
"scope",
|
|
413
|
+
"dispatchId",
|
|
414
|
+
"submissionHash",
|
|
415
|
+
"leaseGeneration",
|
|
416
|
+
"status",
|
|
417
|
+
"retryAt",
|
|
418
|
+
"reason",
|
|
419
|
+
"receipt"
|
|
420
|
+
],
|
|
421
|
+
"additionalProperties": false
|
|
422
|
+
},
|
|
423
|
+
"__schema22": {
|
|
325
424
|
"anyOf": [
|
|
326
425
|
{
|
|
327
426
|
"type": "string",
|