@drisp/protocol 0.8.9 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v2.d.ts +166 -10182
- package/dist/v2.js +1363 -3575
- package/package.json +1 -1
- package/schema/v2/checkpoint.json +0 -20
- package/schema/v2/client.json +0 -19
- package/schema/v2/command.json +0 -19
- package/schema/v2/deliveredCommand.json +0 -19
- package/schema/v2/grant.json +0 -20
- package/schema/v2/run.json +0 -44
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drisp/protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Wire contract between a drisp runner and the hub: zod schemas, inferred types, and JSON Schema for the instance-socket frames, Run, Turn, Interruption, and the event stream",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -382,26 +382,6 @@
|
|
|
382
382
|
"minLength": 32,
|
|
383
383
|
"maxLength": 256
|
|
384
384
|
},
|
|
385
|
-
"parent": {
|
|
386
|
-
"type": "object",
|
|
387
|
-
"properties": {
|
|
388
|
-
"runId": {
|
|
389
|
-
"type": "string",
|
|
390
|
-
"minLength": 1,
|
|
391
|
-
"maxLength": 160
|
|
392
|
-
},
|
|
393
|
-
"tokenCap": {
|
|
394
|
-
"type": "integer",
|
|
395
|
-
"exclusiveMinimum": 0,
|
|
396
|
-
"maximum": 9007199254740991
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
"required": [
|
|
400
|
-
"runId",
|
|
401
|
-
"tokenCap"
|
|
402
|
-
],
|
|
403
|
-
"additionalProperties": false
|
|
404
|
-
},
|
|
405
385
|
"reportUsage": {
|
|
406
386
|
"type": "boolean",
|
|
407
387
|
"const": true
|
package/schema/v2/client.json
CHANGED
|
@@ -356,25 +356,6 @@
|
|
|
356
356
|
"tokenBudget"
|
|
357
357
|
],
|
|
358
358
|
"additionalProperties": false
|
|
359
|
-
},
|
|
360
|
-
"parent": {
|
|
361
|
-
"type": "object",
|
|
362
|
-
"properties": {
|
|
363
|
-
"runId": {
|
|
364
|
-
"type": "string",
|
|
365
|
-
"minLength": 1,
|
|
366
|
-
"maxLength": 160
|
|
367
|
-
},
|
|
368
|
-
"tokenCap": {
|
|
369
|
-
"type": "integer",
|
|
370
|
-
"exclusiveMinimum": 0,
|
|
371
|
-
"maximum": 9007199254740991
|
|
372
|
-
}
|
|
373
|
-
},
|
|
374
|
-
"required": [
|
|
375
|
-
"runId"
|
|
376
|
-
],
|
|
377
|
-
"additionalProperties": false
|
|
378
359
|
}
|
|
379
360
|
},
|
|
380
361
|
"required": [
|
package/schema/v2/command.json
CHANGED
|
@@ -293,25 +293,6 @@
|
|
|
293
293
|
"tokenBudget"
|
|
294
294
|
],
|
|
295
295
|
"additionalProperties": false
|
|
296
|
-
},
|
|
297
|
-
"parent": {
|
|
298
|
-
"type": "object",
|
|
299
|
-
"properties": {
|
|
300
|
-
"runId": {
|
|
301
|
-
"type": "string",
|
|
302
|
-
"minLength": 1,
|
|
303
|
-
"maxLength": 160
|
|
304
|
-
},
|
|
305
|
-
"tokenCap": {
|
|
306
|
-
"type": "integer",
|
|
307
|
-
"exclusiveMinimum": 0,
|
|
308
|
-
"maximum": 9007199254740991
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"required": [
|
|
312
|
-
"runId"
|
|
313
|
-
],
|
|
314
|
-
"additionalProperties": false
|
|
315
296
|
}
|
|
316
297
|
},
|
|
317
298
|
"required": [
|
|
@@ -293,25 +293,6 @@
|
|
|
293
293
|
"tokenBudget"
|
|
294
294
|
],
|
|
295
295
|
"additionalProperties": false
|
|
296
|
-
},
|
|
297
|
-
"parent": {
|
|
298
|
-
"type": "object",
|
|
299
|
-
"properties": {
|
|
300
|
-
"runId": {
|
|
301
|
-
"type": "string",
|
|
302
|
-
"minLength": 1,
|
|
303
|
-
"maxLength": 160
|
|
304
|
-
},
|
|
305
|
-
"tokenCap": {
|
|
306
|
-
"type": "integer",
|
|
307
|
-
"exclusiveMinimum": 0,
|
|
308
|
-
"maximum": 9007199254740991
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"required": [
|
|
312
|
-
"runId"
|
|
313
|
-
],
|
|
314
|
-
"additionalProperties": false
|
|
315
296
|
}
|
|
316
297
|
},
|
|
317
298
|
"required": [
|
package/schema/v2/grant.json
CHANGED
|
@@ -333,26 +333,6 @@
|
|
|
333
333
|
"minLength": 32,
|
|
334
334
|
"maxLength": 256
|
|
335
335
|
},
|
|
336
|
-
"parent": {
|
|
337
|
-
"type": "object",
|
|
338
|
-
"properties": {
|
|
339
|
-
"runId": {
|
|
340
|
-
"type": "string",
|
|
341
|
-
"minLength": 1,
|
|
342
|
-
"maxLength": 160
|
|
343
|
-
},
|
|
344
|
-
"tokenCap": {
|
|
345
|
-
"type": "integer",
|
|
346
|
-
"exclusiveMinimum": 0,
|
|
347
|
-
"maximum": 9007199254740991
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
"required": [
|
|
351
|
-
"runId",
|
|
352
|
-
"tokenCap"
|
|
353
|
-
],
|
|
354
|
-
"additionalProperties": false
|
|
355
|
-
},
|
|
356
336
|
"reportUsage": {
|
|
357
337
|
"type": "boolean",
|
|
358
338
|
"const": true
|
package/schema/v2/run.json
CHANGED
|
@@ -72,34 +72,9 @@
|
|
|
72
72
|
"minLength": 1,
|
|
73
73
|
"maxLength": 160
|
|
74
74
|
},
|
|
75
|
-
"parent": {
|
|
76
|
-
"type": "object",
|
|
77
|
-
"properties": {
|
|
78
|
-
"runId": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"minLength": 1,
|
|
81
|
-
"maxLength": 160
|
|
82
|
-
},
|
|
83
|
-
"tokenCap": {
|
|
84
|
-
"type": "integer",
|
|
85
|
-
"exclusiveMinimum": 0,
|
|
86
|
-
"maximum": 9007199254740991
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"required": [
|
|
90
|
-
"runId",
|
|
91
|
-
"tokenCap"
|
|
92
|
-
],
|
|
93
|
-
"additionalProperties": false
|
|
94
|
-
},
|
|
95
75
|
"delegation": {
|
|
96
76
|
"type": "object",
|
|
97
77
|
"properties": {
|
|
98
|
-
"maxChildren": {
|
|
99
|
-
"type": "integer",
|
|
100
|
-
"exclusiveMinimum": 0,
|
|
101
|
-
"maximum": 9007199254740991
|
|
102
|
-
},
|
|
103
78
|
"tokenBudget": {
|
|
104
79
|
"type": "integer",
|
|
105
80
|
"exclusiveMinimum": 0,
|
|
@@ -554,25 +529,6 @@
|
|
|
554
529
|
"tokenBudget"
|
|
555
530
|
],
|
|
556
531
|
"additionalProperties": false
|
|
557
|
-
},
|
|
558
|
-
"parent": {
|
|
559
|
-
"type": "object",
|
|
560
|
-
"properties": {
|
|
561
|
-
"runId": {
|
|
562
|
-
"type": "string",
|
|
563
|
-
"minLength": 1,
|
|
564
|
-
"maxLength": 160
|
|
565
|
-
},
|
|
566
|
-
"tokenCap": {
|
|
567
|
-
"type": "integer",
|
|
568
|
-
"exclusiveMinimum": 0,
|
|
569
|
-
"maximum": 9007199254740991
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
|
-
"required": [
|
|
573
|
-
"runId"
|
|
574
|
-
],
|
|
575
|
-
"additionalProperties": false
|
|
576
532
|
}
|
|
577
533
|
},
|
|
578
534
|
"required": [
|