@ag-ui/proto 0.0.44 → 0.0.45

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/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
- import { BaseEvent } from '@ag-ui/core';
1
+ import { BaseEvent } from "@ag-ui/core";
2
2
 
3
+ //#region src/proto.d.ts
3
4
  /**
4
5
  * Encodes an event message to a protocol buffer binary format.
5
6
  */
@@ -9,7 +10,9 @@ declare function encode(event: BaseEvent): Uint8Array;
9
10
  * The format includes a 4-byte length prefix followed by the message.
10
11
  */
11
12
  declare function decode(data: Uint8Array): BaseEvent;
12
-
13
+ //#endregion
14
+ //#region src/index.d.ts
13
15
  declare const AGUI_MEDIA_TYPE = "application/vnd.ag-ui.event+proto";
14
-
16
+ //#endregion
15
17
  export { AGUI_MEDIA_TYPE, decode, encode };
18
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/proto.ts","../src/index.ts"],"mappings":";;;;;AAWA;iBAAgB,MAAA,CAAO,KAAA,EAAO,SAAA,GAAY,UAAA;;;;;iBA8D1B,MAAA,CAAO,IAAA,EAAM,UAAA,GAAa,SAAA;;;cCvE7B,eAAA"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { BaseEvent } from '@ag-ui/core';
1
+ import { BaseEvent } from "@ag-ui/core";
2
2
 
3
+ //#region src/proto.d.ts
3
4
  /**
4
5
  * Encodes an event message to a protocol buffer binary format.
5
6
  */
@@ -9,7 +10,9 @@ declare function encode(event: BaseEvent): Uint8Array;
9
10
  * The format includes a 4-byte length prefix followed by the message.
10
11
  */
11
12
  declare function decode(data: Uint8Array): BaseEvent;
12
-
13
+ //#endregion
14
+ //#region src/index.d.ts
13
15
  declare const AGUI_MEDIA_TYPE = "application/vnd.ag-ui.event+proto";
14
-
16
+ //#endregion
15
17
  export { AGUI_MEDIA_TYPE, decode, encode };
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/proto.ts","../src/index.ts"],"mappings":";;;;;AAWA;iBAAgB,MAAA,CAAO,KAAA,EAAO,SAAA,GAAY,UAAA;;;;;iBA8D1B,MAAA,CAAO,IAAA,EAAM,UAAA,GAAa,SAAA;;;cCvE7B,eAAA"}