@inf-monkeys-tech/monkeys 1.0.20 → 1.0.22
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/lib/contracts/agent.d.ts +1079 -95
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +365 -4
- package/lib/contracts/agent.js.map +1 -1
- package/lib/contracts/theme.d.ts +1 -1
- package/lib/esm/contracts/index.mjs +347 -9
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +350 -9
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +311 -8
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +322 -8
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/agent-session-command-result.schema.json +120 -0
- package/lib/json-schema/agent-session-command.schema.json +395 -0
- package/lib/json-schema/agent-session-event.schema.json +285 -0
- package/lib/json-schema/agent-session-run-event.schema.json +1607 -0
- package/lib/json-schema/agent-session-run.schema.json +72 -0
- package/lib/json-schema/agent-session-targeted-command.schema.json +677 -0
- package/lib/json-schema/agent-session-view-model.schema.json +396 -1
- package/lib/json-schema/index.json +3 -0
- package/lib/schemas/index.d.ts +783 -1
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +14 -3
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/agent-session-agent.json +5 -1
- package/test/fixtures/agent-session-chatbot.json +5 -1
- package/test/fixtures/agent-session-kernel.json +5 -1
- package/test/fixtures/agent-session-runs.json +51 -0
|
@@ -95,6 +95,22 @@
|
|
|
95
95
|
"testResults": {
|
|
96
96
|
"default": false,
|
|
97
97
|
"type": "boolean"
|
|
98
|
+
},
|
|
99
|
+
"threadForking": {
|
|
100
|
+
"default": false,
|
|
101
|
+
"type": "boolean"
|
|
102
|
+
},
|
|
103
|
+
"editAndRerun": {
|
|
104
|
+
"default": false,
|
|
105
|
+
"type": "boolean"
|
|
106
|
+
},
|
|
107
|
+
"steering": {
|
|
108
|
+
"default": false,
|
|
109
|
+
"type": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"summary": {
|
|
112
|
+
"default": false,
|
|
113
|
+
"type": "boolean"
|
|
98
114
|
}
|
|
99
115
|
},
|
|
100
116
|
"required": [
|
|
@@ -114,7 +130,11 @@
|
|
|
114
130
|
"diff",
|
|
115
131
|
"workspaceFiles",
|
|
116
132
|
"terminal",
|
|
117
|
-
"testResults"
|
|
133
|
+
"testResults",
|
|
134
|
+
"threadForking",
|
|
135
|
+
"editAndRerun",
|
|
136
|
+
"steering",
|
|
137
|
+
"summary"
|
|
118
138
|
],
|
|
119
139
|
"additionalProperties": false
|
|
120
140
|
}
|
|
@@ -159,6 +179,16 @@
|
|
|
159
179
|
"minLength": 1,
|
|
160
180
|
"maxLength": 256
|
|
161
181
|
},
|
|
182
|
+
"runId": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"minLength": 1,
|
|
185
|
+
"maxLength": 256
|
|
186
|
+
},
|
|
187
|
+
"sourceMessageId": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"minLength": 1,
|
|
190
|
+
"maxLength": 256
|
|
191
|
+
},
|
|
162
192
|
"sequence": {
|
|
163
193
|
"type": "integer",
|
|
164
194
|
"minimum": 0,
|
|
@@ -255,6 +285,16 @@
|
|
|
255
285
|
"minLength": 1,
|
|
256
286
|
"maxLength": 256
|
|
257
287
|
},
|
|
288
|
+
"runId": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"minLength": 1,
|
|
291
|
+
"maxLength": 256
|
|
292
|
+
},
|
|
293
|
+
"sourceMessageId": {
|
|
294
|
+
"type": "string",
|
|
295
|
+
"minLength": 1,
|
|
296
|
+
"maxLength": 256
|
|
297
|
+
},
|
|
258
298
|
"sequence": {
|
|
259
299
|
"type": "integer",
|
|
260
300
|
"minimum": 0,
|
|
@@ -330,6 +370,16 @@
|
|
|
330
370
|
"minLength": 1,
|
|
331
371
|
"maxLength": 256
|
|
332
372
|
},
|
|
373
|
+
"runId": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"minLength": 1,
|
|
376
|
+
"maxLength": 256
|
|
377
|
+
},
|
|
378
|
+
"sourceMessageId": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"minLength": 1,
|
|
381
|
+
"maxLength": 256
|
|
382
|
+
},
|
|
333
383
|
"sequence": {
|
|
334
384
|
"type": "integer",
|
|
335
385
|
"minimum": 0,
|
|
@@ -439,6 +489,16 @@
|
|
|
439
489
|
"minLength": 1,
|
|
440
490
|
"maxLength": 256
|
|
441
491
|
},
|
|
492
|
+
"runId": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"minLength": 1,
|
|
495
|
+
"maxLength": 256
|
|
496
|
+
},
|
|
497
|
+
"sourceMessageId": {
|
|
498
|
+
"type": "string",
|
|
499
|
+
"minLength": 1,
|
|
500
|
+
"maxLength": 256
|
|
501
|
+
},
|
|
442
502
|
"sequence": {
|
|
443
503
|
"type": "integer",
|
|
444
504
|
"minimum": 0,
|
|
@@ -520,6 +580,16 @@
|
|
|
520
580
|
"minLength": 1,
|
|
521
581
|
"maxLength": 256
|
|
522
582
|
},
|
|
583
|
+
"runId": {
|
|
584
|
+
"type": "string",
|
|
585
|
+
"minLength": 1,
|
|
586
|
+
"maxLength": 256
|
|
587
|
+
},
|
|
588
|
+
"sourceMessageId": {
|
|
589
|
+
"type": "string",
|
|
590
|
+
"minLength": 1,
|
|
591
|
+
"maxLength": 256
|
|
592
|
+
},
|
|
523
593
|
"sequence": {
|
|
524
594
|
"type": "integer",
|
|
525
595
|
"minimum": 0,
|
|
@@ -618,6 +688,16 @@
|
|
|
618
688
|
"minLength": 1,
|
|
619
689
|
"maxLength": 256
|
|
620
690
|
},
|
|
691
|
+
"runId": {
|
|
692
|
+
"type": "string",
|
|
693
|
+
"minLength": 1,
|
|
694
|
+
"maxLength": 256
|
|
695
|
+
},
|
|
696
|
+
"sourceMessageId": {
|
|
697
|
+
"type": "string",
|
|
698
|
+
"minLength": 1,
|
|
699
|
+
"maxLength": 256
|
|
700
|
+
},
|
|
621
701
|
"sequence": {
|
|
622
702
|
"type": "integer",
|
|
623
703
|
"minimum": 0,
|
|
@@ -706,6 +786,16 @@
|
|
|
706
786
|
"minLength": 1,
|
|
707
787
|
"maxLength": 256
|
|
708
788
|
},
|
|
789
|
+
"runId": {
|
|
790
|
+
"type": "string",
|
|
791
|
+
"minLength": 1,
|
|
792
|
+
"maxLength": 256
|
|
793
|
+
},
|
|
794
|
+
"sourceMessageId": {
|
|
795
|
+
"type": "string",
|
|
796
|
+
"minLength": 1,
|
|
797
|
+
"maxLength": 256
|
|
798
|
+
},
|
|
709
799
|
"sequence": {
|
|
710
800
|
"type": "integer",
|
|
711
801
|
"minimum": 0,
|
|
@@ -742,6 +832,35 @@
|
|
|
742
832
|
},
|
|
743
833
|
"detail": {
|
|
744
834
|
"type": "string"
|
|
835
|
+
},
|
|
836
|
+
"startedAt": {
|
|
837
|
+
"type": "string",
|
|
838
|
+
"format": "date-time",
|
|
839
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
840
|
+
},
|
|
841
|
+
"stoppingRequestedAt": {
|
|
842
|
+
"type": "string",
|
|
843
|
+
"format": "date-time",
|
|
844
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
845
|
+
},
|
|
846
|
+
"stoppedAt": {
|
|
847
|
+
"type": "string",
|
|
848
|
+
"format": "date-time",
|
|
849
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
850
|
+
},
|
|
851
|
+
"completedAt": {
|
|
852
|
+
"type": "string",
|
|
853
|
+
"format": "date-time",
|
|
854
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
855
|
+
},
|
|
856
|
+
"failedAt": {
|
|
857
|
+
"type": "string",
|
|
858
|
+
"format": "date-time",
|
|
859
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
860
|
+
},
|
|
861
|
+
"durationMs": {
|
|
862
|
+
"type": "number",
|
|
863
|
+
"minimum": 0
|
|
745
864
|
}
|
|
746
865
|
},
|
|
747
866
|
"required": [
|
|
@@ -779,6 +898,16 @@
|
|
|
779
898
|
"minLength": 1,
|
|
780
899
|
"maxLength": 256
|
|
781
900
|
},
|
|
901
|
+
"runId": {
|
|
902
|
+
"type": "string",
|
|
903
|
+
"minLength": 1,
|
|
904
|
+
"maxLength": 256
|
|
905
|
+
},
|
|
906
|
+
"sourceMessageId": {
|
|
907
|
+
"type": "string",
|
|
908
|
+
"minLength": 1,
|
|
909
|
+
"maxLength": 256
|
|
910
|
+
},
|
|
782
911
|
"sequence": {
|
|
783
912
|
"type": "integer",
|
|
784
913
|
"minimum": 0,
|
|
@@ -885,6 +1014,16 @@
|
|
|
885
1014
|
"minLength": 1,
|
|
886
1015
|
"maxLength": 256
|
|
887
1016
|
},
|
|
1017
|
+
"runId": {
|
|
1018
|
+
"type": "string",
|
|
1019
|
+
"minLength": 1,
|
|
1020
|
+
"maxLength": 256
|
|
1021
|
+
},
|
|
1022
|
+
"sourceMessageId": {
|
|
1023
|
+
"type": "string",
|
|
1024
|
+
"minLength": 1,
|
|
1025
|
+
"maxLength": 256
|
|
1026
|
+
},
|
|
888
1027
|
"sequence": {
|
|
889
1028
|
"type": "integer",
|
|
890
1029
|
"minimum": 0,
|
|
@@ -965,6 +1104,16 @@
|
|
|
965
1104
|
"minLength": 1,
|
|
966
1105
|
"maxLength": 256
|
|
967
1106
|
},
|
|
1107
|
+
"runId": {
|
|
1108
|
+
"type": "string",
|
|
1109
|
+
"minLength": 1,
|
|
1110
|
+
"maxLength": 256
|
|
1111
|
+
},
|
|
1112
|
+
"sourceMessageId": {
|
|
1113
|
+
"type": "string",
|
|
1114
|
+
"minLength": 1,
|
|
1115
|
+
"maxLength": 256
|
|
1116
|
+
},
|
|
968
1117
|
"sequence": {
|
|
969
1118
|
"type": "integer",
|
|
970
1119
|
"minimum": 0,
|
|
@@ -1038,6 +1187,16 @@
|
|
|
1038
1187
|
"minLength": 1,
|
|
1039
1188
|
"maxLength": 256
|
|
1040
1189
|
},
|
|
1190
|
+
"runId": {
|
|
1191
|
+
"type": "string",
|
|
1192
|
+
"minLength": 1,
|
|
1193
|
+
"maxLength": 256
|
|
1194
|
+
},
|
|
1195
|
+
"sourceMessageId": {
|
|
1196
|
+
"type": "string",
|
|
1197
|
+
"minLength": 1,
|
|
1198
|
+
"maxLength": 256
|
|
1199
|
+
},
|
|
1041
1200
|
"sequence": {
|
|
1042
1201
|
"type": "integer",
|
|
1043
1202
|
"minimum": 0,
|
|
@@ -1122,6 +1281,16 @@
|
|
|
1122
1281
|
"minLength": 1,
|
|
1123
1282
|
"maxLength": 256
|
|
1124
1283
|
},
|
|
1284
|
+
"runId": {
|
|
1285
|
+
"type": "string",
|
|
1286
|
+
"minLength": 1,
|
|
1287
|
+
"maxLength": 256
|
|
1288
|
+
},
|
|
1289
|
+
"sourceMessageId": {
|
|
1290
|
+
"type": "string",
|
|
1291
|
+
"minLength": 1,
|
|
1292
|
+
"maxLength": 256
|
|
1293
|
+
},
|
|
1125
1294
|
"sequence": {
|
|
1126
1295
|
"type": "integer",
|
|
1127
1296
|
"minimum": 0,
|
|
@@ -1197,6 +1366,16 @@
|
|
|
1197
1366
|
"minLength": 1,
|
|
1198
1367
|
"maxLength": 256
|
|
1199
1368
|
},
|
|
1369
|
+
"runId": {
|
|
1370
|
+
"type": "string",
|
|
1371
|
+
"minLength": 1,
|
|
1372
|
+
"maxLength": 256
|
|
1373
|
+
},
|
|
1374
|
+
"sourceMessageId": {
|
|
1375
|
+
"type": "string",
|
|
1376
|
+
"minLength": 1,
|
|
1377
|
+
"maxLength": 256
|
|
1378
|
+
},
|
|
1200
1379
|
"sequence": {
|
|
1201
1380
|
"type": "integer",
|
|
1202
1381
|
"minimum": 0,
|
|
@@ -1275,6 +1454,16 @@
|
|
|
1275
1454
|
"minLength": 1,
|
|
1276
1455
|
"maxLength": 256
|
|
1277
1456
|
},
|
|
1457
|
+
"runId": {
|
|
1458
|
+
"type": "string",
|
|
1459
|
+
"minLength": 1,
|
|
1460
|
+
"maxLength": 256
|
|
1461
|
+
},
|
|
1462
|
+
"sourceMessageId": {
|
|
1463
|
+
"type": "string",
|
|
1464
|
+
"minLength": 1,
|
|
1465
|
+
"maxLength": 256
|
|
1466
|
+
},
|
|
1278
1467
|
"sequence": {
|
|
1279
1468
|
"type": "integer",
|
|
1280
1469
|
"minimum": 0,
|
|
@@ -1357,6 +1546,16 @@
|
|
|
1357
1546
|
"minLength": 1,
|
|
1358
1547
|
"maxLength": 256
|
|
1359
1548
|
},
|
|
1549
|
+
"runId": {
|
|
1550
|
+
"type": "string",
|
|
1551
|
+
"minLength": 1,
|
|
1552
|
+
"maxLength": 256
|
|
1553
|
+
},
|
|
1554
|
+
"sourceMessageId": {
|
|
1555
|
+
"type": "string",
|
|
1556
|
+
"minLength": 1,
|
|
1557
|
+
"maxLength": 256
|
|
1558
|
+
},
|
|
1360
1559
|
"sequence": {
|
|
1361
1560
|
"type": "integer",
|
|
1362
1561
|
"minimum": 0,
|
|
@@ -1423,6 +1622,112 @@
|
|
|
1423
1622
|
"payload"
|
|
1424
1623
|
],
|
|
1425
1624
|
"additionalProperties": false
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
"type": "object",
|
|
1628
|
+
"properties": {
|
|
1629
|
+
"contract": {
|
|
1630
|
+
"type": "string",
|
|
1631
|
+
"const": "AgentSessionEvent"
|
|
1632
|
+
},
|
|
1633
|
+
"eventId": {
|
|
1634
|
+
"type": "string",
|
|
1635
|
+
"minLength": 1,
|
|
1636
|
+
"maxLength": 256
|
|
1637
|
+
},
|
|
1638
|
+
"sessionId": {
|
|
1639
|
+
"type": "string",
|
|
1640
|
+
"minLength": 1,
|
|
1641
|
+
"maxLength": 256
|
|
1642
|
+
},
|
|
1643
|
+
"runId": {
|
|
1644
|
+
"type": "string",
|
|
1645
|
+
"minLength": 1,
|
|
1646
|
+
"maxLength": 256
|
|
1647
|
+
},
|
|
1648
|
+
"sourceMessageId": {
|
|
1649
|
+
"type": "string",
|
|
1650
|
+
"minLength": 1,
|
|
1651
|
+
"maxLength": 256
|
|
1652
|
+
},
|
|
1653
|
+
"sequence": {
|
|
1654
|
+
"type": "integer",
|
|
1655
|
+
"minimum": 0,
|
|
1656
|
+
"maximum": 9007199254740991
|
|
1657
|
+
},
|
|
1658
|
+
"idempotencyKey": {
|
|
1659
|
+
"type": "string",
|
|
1660
|
+
"minLength": 1,
|
|
1661
|
+
"maxLength": 256
|
|
1662
|
+
},
|
|
1663
|
+
"occurredAt": {
|
|
1664
|
+
"type": "string",
|
|
1665
|
+
"format": "date-time",
|
|
1666
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
1667
|
+
},
|
|
1668
|
+
"eventType": {
|
|
1669
|
+
"type": "string",
|
|
1670
|
+
"const": "summary"
|
|
1671
|
+
},
|
|
1672
|
+
"payload": {
|
|
1673
|
+
"type": "object",
|
|
1674
|
+
"properties": {
|
|
1675
|
+
"summaryId": {
|
|
1676
|
+
"type": "string",
|
|
1677
|
+
"minLength": 1,
|
|
1678
|
+
"maxLength": 256
|
|
1679
|
+
},
|
|
1680
|
+
"runId": {
|
|
1681
|
+
"type": "string",
|
|
1682
|
+
"minLength": 1,
|
|
1683
|
+
"maxLength": 256
|
|
1684
|
+
},
|
|
1685
|
+
"text": {
|
|
1686
|
+
"type": "string"
|
|
1687
|
+
},
|
|
1688
|
+
"highlights": {
|
|
1689
|
+
"type": "array",
|
|
1690
|
+
"items": {
|
|
1691
|
+
"type": "string"
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"pendingItems": {
|
|
1695
|
+
"type": "array",
|
|
1696
|
+
"items": {
|
|
1697
|
+
"type": "string"
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
"status": {
|
|
1701
|
+
"type": "string",
|
|
1702
|
+
"enum": [
|
|
1703
|
+
"generating",
|
|
1704
|
+
"completed",
|
|
1705
|
+
"failed"
|
|
1706
|
+
]
|
|
1707
|
+
}
|
|
1708
|
+
},
|
|
1709
|
+
"required": [
|
|
1710
|
+
"summaryId",
|
|
1711
|
+
"runId",
|
|
1712
|
+
"text",
|
|
1713
|
+
"highlights",
|
|
1714
|
+
"pendingItems",
|
|
1715
|
+
"status"
|
|
1716
|
+
],
|
|
1717
|
+
"additionalProperties": false
|
|
1718
|
+
}
|
|
1719
|
+
},
|
|
1720
|
+
"required": [
|
|
1721
|
+
"contract",
|
|
1722
|
+
"eventId",
|
|
1723
|
+
"sessionId",
|
|
1724
|
+
"sequence",
|
|
1725
|
+
"idempotencyKey",
|
|
1726
|
+
"occurredAt",
|
|
1727
|
+
"eventType",
|
|
1728
|
+
"payload"
|
|
1729
|
+
],
|
|
1730
|
+
"additionalProperties": false
|
|
1426
1731
|
}
|
|
1427
1732
|
]
|
|
1428
1733
|
}
|
|
@@ -1435,6 +1740,96 @@
|
|
|
1435
1740
|
"resumable": {
|
|
1436
1741
|
"default": false,
|
|
1437
1742
|
"type": "boolean"
|
|
1743
|
+
},
|
|
1744
|
+
"lineage": {
|
|
1745
|
+
"type": "object",
|
|
1746
|
+
"properties": {
|
|
1747
|
+
"forkedFromThreadId": {
|
|
1748
|
+
"type": "string",
|
|
1749
|
+
"minLength": 1,
|
|
1750
|
+
"maxLength": 256
|
|
1751
|
+
},
|
|
1752
|
+
"forkedFromMessageId": {
|
|
1753
|
+
"type": "string",
|
|
1754
|
+
"minLength": 1,
|
|
1755
|
+
"maxLength": 256
|
|
1756
|
+
},
|
|
1757
|
+
"sourceRunId": {
|
|
1758
|
+
"type": "string",
|
|
1759
|
+
"minLength": 1,
|
|
1760
|
+
"maxLength": 256
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
"required": [
|
|
1764
|
+
"forkedFromThreadId",
|
|
1765
|
+
"forkedFromMessageId",
|
|
1766
|
+
"sourceRunId"
|
|
1767
|
+
],
|
|
1768
|
+
"additionalProperties": false
|
|
1769
|
+
},
|
|
1770
|
+
"activeBranch": {
|
|
1771
|
+
"type": "object",
|
|
1772
|
+
"properties": {
|
|
1773
|
+
"branchId": {
|
|
1774
|
+
"type": "string",
|
|
1775
|
+
"minLength": 1,
|
|
1776
|
+
"maxLength": 256
|
|
1777
|
+
},
|
|
1778
|
+
"threadId": {
|
|
1779
|
+
"type": "string",
|
|
1780
|
+
"minLength": 1,
|
|
1781
|
+
"maxLength": 256
|
|
1782
|
+
},
|
|
1783
|
+
"sourceMessageId": {
|
|
1784
|
+
"type": "string",
|
|
1785
|
+
"minLength": 1,
|
|
1786
|
+
"maxLength": 256
|
|
1787
|
+
},
|
|
1788
|
+
"runId": {
|
|
1789
|
+
"type": "string",
|
|
1790
|
+
"minLength": 1,
|
|
1791
|
+
"maxLength": 256
|
|
1792
|
+
},
|
|
1793
|
+
"lineage": {
|
|
1794
|
+
"type": "object",
|
|
1795
|
+
"properties": {
|
|
1796
|
+
"forkedFromThreadId": {
|
|
1797
|
+
"type": "string",
|
|
1798
|
+
"minLength": 1,
|
|
1799
|
+
"maxLength": 256
|
|
1800
|
+
},
|
|
1801
|
+
"forkedFromMessageId": {
|
|
1802
|
+
"type": "string",
|
|
1803
|
+
"minLength": 1,
|
|
1804
|
+
"maxLength": 256
|
|
1805
|
+
},
|
|
1806
|
+
"sourceRunId": {
|
|
1807
|
+
"type": "string",
|
|
1808
|
+
"minLength": 1,
|
|
1809
|
+
"maxLength": 256
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
"required": [
|
|
1813
|
+
"forkedFromThreadId",
|
|
1814
|
+
"forkedFromMessageId",
|
|
1815
|
+
"sourceRunId"
|
|
1816
|
+
],
|
|
1817
|
+
"additionalProperties": false
|
|
1818
|
+
},
|
|
1819
|
+
"createdAt": {
|
|
1820
|
+
"type": "string",
|
|
1821
|
+
"format": "date-time",
|
|
1822
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
"required": [
|
|
1826
|
+
"branchId",
|
|
1827
|
+
"threadId",
|
|
1828
|
+
"sourceMessageId",
|
|
1829
|
+
"runId",
|
|
1830
|
+
"createdAt"
|
|
1831
|
+
],
|
|
1832
|
+
"additionalProperties": false
|
|
1438
1833
|
}
|
|
1439
1834
|
},
|
|
1440
1835
|
"required": [
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemas": {
|
|
3
3
|
"agent-session-command": "./agent-session-command.schema.json",
|
|
4
|
+
"agent-session-targeted-command": "./agent-session-targeted-command.schema.json",
|
|
4
5
|
"agent-session-command-result": "./agent-session-command-result.schema.json",
|
|
5
6
|
"agent-session-event": "./agent-session-event.schema.json",
|
|
7
|
+
"agent-session-run-event": "./agent-session-run-event.schema.json",
|
|
8
|
+
"agent-session-run": "./agent-session-run.schema.json",
|
|
6
9
|
"agent-session-view-model": "./agent-session-view-model.schema.json",
|
|
7
10
|
"agent-runtime-event": "./agent-runtime-event.schema.json",
|
|
8
11
|
"application-run": "./application-run.schema.json",
|