@ag-ui/proto 0.0.40-alpha.6 → 0.0.40-alpha.8
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/LICENSE +18 -5
- package/dist/index.js +28 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
Copyright (c) 2025 Markus Ecker
|
|
1
|
+
MIT License
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
Copyright (c) 2025
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
7
11
|
|
|
8
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ var Struct = {
|
|
|
48
48
|
},
|
|
49
49
|
decode(input, length) {
|
|
50
50
|
const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
|
|
51
|
-
|
|
51
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
52
52
|
const message = createBaseStruct();
|
|
53
53
|
while (reader.pos < end) {
|
|
54
54
|
const tag = reader.uint32();
|
|
@@ -122,7 +122,7 @@ var Struct_FieldsEntry = {
|
|
|
122
122
|
},
|
|
123
123
|
decode(input, length) {
|
|
124
124
|
const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
|
|
125
|
-
|
|
125
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
126
126
|
const message = createBaseStruct_FieldsEntry();
|
|
127
127
|
while (reader.pos < end) {
|
|
128
128
|
const tag = reader.uint32();
|
|
@@ -194,7 +194,7 @@ var Value = {
|
|
|
194
194
|
},
|
|
195
195
|
decode(input, length) {
|
|
196
196
|
const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
|
|
197
|
-
|
|
197
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
198
198
|
const message = createBaseValue();
|
|
199
199
|
while (reader.pos < end) {
|
|
200
200
|
const tag = reader.uint32();
|
|
@@ -311,7 +311,7 @@ var ListValue = {
|
|
|
311
311
|
},
|
|
312
312
|
decode(input, length) {
|
|
313
313
|
const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
|
|
314
|
-
|
|
314
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
315
315
|
const message = createBaseListValue();
|
|
316
316
|
while (reader.pos < end) {
|
|
317
317
|
const tag = reader.uint32();
|
|
@@ -387,7 +387,7 @@ var JsonPatchOperation = {
|
|
|
387
387
|
},
|
|
388
388
|
decode(input, length) {
|
|
389
389
|
const reader = input instanceof import_wire2.BinaryReader ? input : new import_wire2.BinaryReader(input);
|
|
390
|
-
|
|
390
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
391
391
|
const message = createBaseJsonPatchOperation();
|
|
392
392
|
while (reader.pos < end) {
|
|
393
393
|
const tag = reader.uint32();
|
|
@@ -462,7 +462,7 @@ var ToolCall = {
|
|
|
462
462
|
},
|
|
463
463
|
decode(input, length) {
|
|
464
464
|
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
465
|
-
|
|
465
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
466
466
|
const message = createBaseToolCall();
|
|
467
467
|
while (reader.pos < end) {
|
|
468
468
|
const tag = reader.uint32();
|
|
@@ -523,7 +523,7 @@ var ToolCall_Function = {
|
|
|
523
523
|
},
|
|
524
524
|
decode(input, length) {
|
|
525
525
|
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
526
|
-
|
|
526
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
527
527
|
const message = createBaseToolCall_Function();
|
|
528
528
|
while (reader.pos < end) {
|
|
529
529
|
const tag = reader.uint32();
|
|
@@ -599,7 +599,7 @@ var Message = {
|
|
|
599
599
|
},
|
|
600
600
|
decode(input, length) {
|
|
601
601
|
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
602
|
-
|
|
602
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
603
603
|
const message = createBaseMessage();
|
|
604
604
|
while (reader.pos < end) {
|
|
605
605
|
const tag = reader.uint32();
|
|
@@ -717,7 +717,7 @@ var BaseEvent = {
|
|
|
717
717
|
},
|
|
718
718
|
decode(input, length) {
|
|
719
719
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
720
|
-
|
|
720
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
721
721
|
const message = createBaseBaseEvent();
|
|
722
722
|
while (reader.pos < end) {
|
|
723
723
|
const tag = reader.uint32();
|
|
@@ -781,7 +781,7 @@ var TextMessageStartEvent = {
|
|
|
781
781
|
},
|
|
782
782
|
decode(input, length) {
|
|
783
783
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
784
|
-
|
|
784
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
785
785
|
const message = createBaseTextMessageStartEvent();
|
|
786
786
|
while (reader.pos < end) {
|
|
787
787
|
const tag = reader.uint32();
|
|
@@ -845,7 +845,7 @@ var TextMessageContentEvent = {
|
|
|
845
845
|
},
|
|
846
846
|
decode(input, length) {
|
|
847
847
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
848
|
-
|
|
848
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
849
849
|
const message = createBaseTextMessageContentEvent();
|
|
850
850
|
while (reader.pos < end) {
|
|
851
851
|
const tag = reader.uint32();
|
|
@@ -906,7 +906,7 @@ var TextMessageEndEvent = {
|
|
|
906
906
|
},
|
|
907
907
|
decode(input, length) {
|
|
908
908
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
909
|
-
|
|
909
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
910
910
|
const message = createBaseTextMessageEndEvent();
|
|
911
911
|
while (reader.pos < end) {
|
|
912
912
|
const tag = reader.uint32();
|
|
@@ -965,7 +965,7 @@ var ToolCallStartEvent = {
|
|
|
965
965
|
},
|
|
966
966
|
decode(input, length) {
|
|
967
967
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
968
|
-
|
|
968
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
969
969
|
const message = createBaseToolCallStartEvent();
|
|
970
970
|
while (reader.pos < end) {
|
|
971
971
|
const tag = reader.uint32();
|
|
@@ -1037,7 +1037,7 @@ var ToolCallArgsEvent = {
|
|
|
1037
1037
|
},
|
|
1038
1038
|
decode(input, length) {
|
|
1039
1039
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1040
|
-
|
|
1040
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1041
1041
|
const message = createBaseToolCallArgsEvent();
|
|
1042
1042
|
while (reader.pos < end) {
|
|
1043
1043
|
const tag = reader.uint32();
|
|
@@ -1098,7 +1098,7 @@ var ToolCallEndEvent = {
|
|
|
1098
1098
|
},
|
|
1099
1099
|
decode(input, length) {
|
|
1100
1100
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1101
|
-
|
|
1101
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1102
1102
|
const message = createBaseToolCallEndEvent();
|
|
1103
1103
|
while (reader.pos < end) {
|
|
1104
1104
|
const tag = reader.uint32();
|
|
@@ -1151,7 +1151,7 @@ var StateSnapshotEvent = {
|
|
|
1151
1151
|
},
|
|
1152
1152
|
decode(input, length) {
|
|
1153
1153
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1154
|
-
|
|
1154
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1155
1155
|
const message = createBaseStateSnapshotEvent();
|
|
1156
1156
|
while (reader.pos < end) {
|
|
1157
1157
|
const tag = reader.uint32();
|
|
@@ -1204,7 +1204,7 @@ var StateDeltaEvent = {
|
|
|
1204
1204
|
},
|
|
1205
1205
|
decode(input, length) {
|
|
1206
1206
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1207
|
-
|
|
1207
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1208
1208
|
const message = createBaseStateDeltaEvent();
|
|
1209
1209
|
while (reader.pos < end) {
|
|
1210
1210
|
const tag = reader.uint32();
|
|
@@ -1257,7 +1257,7 @@ var MessagesSnapshotEvent = {
|
|
|
1257
1257
|
},
|
|
1258
1258
|
decode(input, length) {
|
|
1259
1259
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1260
|
-
|
|
1260
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1261
1261
|
const message = createBaseMessagesSnapshotEvent();
|
|
1262
1262
|
while (reader.pos < end) {
|
|
1263
1263
|
const tag = reader.uint32();
|
|
@@ -1313,7 +1313,7 @@ var RawEvent = {
|
|
|
1313
1313
|
},
|
|
1314
1314
|
decode(input, length) {
|
|
1315
1315
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1316
|
-
|
|
1316
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1317
1317
|
const message = createBaseRawEvent();
|
|
1318
1318
|
while (reader.pos < end) {
|
|
1319
1319
|
const tag = reader.uint32();
|
|
@@ -1377,7 +1377,7 @@ var CustomEvent = {
|
|
|
1377
1377
|
},
|
|
1378
1378
|
decode(input, length) {
|
|
1379
1379
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1380
|
-
|
|
1380
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1381
1381
|
const message = createBaseCustomEvent();
|
|
1382
1382
|
while (reader.pos < end) {
|
|
1383
1383
|
const tag = reader.uint32();
|
|
@@ -1441,7 +1441,7 @@ var RunStartedEvent = {
|
|
|
1441
1441
|
},
|
|
1442
1442
|
decode(input, length) {
|
|
1443
1443
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1444
|
-
|
|
1444
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1445
1445
|
const message = createBaseRunStartedEvent();
|
|
1446
1446
|
while (reader.pos < end) {
|
|
1447
1447
|
const tag = reader.uint32();
|
|
@@ -1508,7 +1508,7 @@ var RunFinishedEvent = {
|
|
|
1508
1508
|
},
|
|
1509
1509
|
decode(input, length) {
|
|
1510
1510
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1511
|
-
|
|
1511
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1512
1512
|
const message = createBaseRunFinishedEvent();
|
|
1513
1513
|
while (reader.pos < end) {
|
|
1514
1514
|
const tag = reader.uint32();
|
|
@@ -1580,7 +1580,7 @@ var RunErrorEvent = {
|
|
|
1580
1580
|
},
|
|
1581
1581
|
decode(input, length) {
|
|
1582
1582
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1583
|
-
|
|
1583
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1584
1584
|
const message = createBaseRunErrorEvent();
|
|
1585
1585
|
while (reader.pos < end) {
|
|
1586
1586
|
const tag = reader.uint32();
|
|
@@ -1641,7 +1641,7 @@ var StepStartedEvent = {
|
|
|
1641
1641
|
},
|
|
1642
1642
|
decode(input, length) {
|
|
1643
1643
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1644
|
-
|
|
1644
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1645
1645
|
const message = createBaseStepStartedEvent();
|
|
1646
1646
|
while (reader.pos < end) {
|
|
1647
1647
|
const tag = reader.uint32();
|
|
@@ -1694,7 +1694,7 @@ var StepFinishedEvent = {
|
|
|
1694
1694
|
},
|
|
1695
1695
|
decode(input, length) {
|
|
1696
1696
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1697
|
-
|
|
1697
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1698
1698
|
const message = createBaseStepFinishedEvent();
|
|
1699
1699
|
while (reader.pos < end) {
|
|
1700
1700
|
const tag = reader.uint32();
|
|
@@ -1753,7 +1753,7 @@ var TextMessageChunkEvent = {
|
|
|
1753
1753
|
},
|
|
1754
1754
|
decode(input, length) {
|
|
1755
1755
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1756
|
-
|
|
1756
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1757
1757
|
const message = createBaseTextMessageChunkEvent();
|
|
1758
1758
|
while (reader.pos < end) {
|
|
1759
1759
|
const tag = reader.uint32();
|
|
@@ -1837,7 +1837,7 @@ var ToolCallChunkEvent = {
|
|
|
1837
1837
|
},
|
|
1838
1838
|
decode(input, length) {
|
|
1839
1839
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1840
|
-
|
|
1840
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1841
1841
|
const message = createBaseToolCallChunkEvent();
|
|
1842
1842
|
while (reader.pos < end) {
|
|
1843
1843
|
const tag = reader.uint32();
|
|
@@ -1981,7 +1981,7 @@ var Event = {
|
|
|
1981
1981
|
},
|
|
1982
1982
|
decode(input, length) {
|
|
1983
1983
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
1984
|
-
|
|
1984
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
1985
1985
|
const message = createBaseEvent();
|
|
1986
1986
|
while (reader.pos < end) {
|
|
1987
1987
|
const tag = reader.uint32();
|