@eggjs/tegg-types 3.77.1 → 3.78.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.
@@ -95,4 +95,12 @@ export interface AgentStreamMessage {
95
95
  usage?: AgentRunUsage;
96
96
  /** Whether to accumulate message content into the final completed message. Defaults to true. */
97
97
  accumulate?: boolean;
98
+ /** Raw data to pass through as StreamEvent.data. When set, this is used directly instead of constructing from message/usage. */
99
+ raw?: unknown;
100
+ }
101
+ export interface StreamEvent {
102
+ seq: number;
103
+ type: string;
104
+ data: unknown;
105
+ ts: number;
98
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/tegg-types",
3
- "version": "3.77.1",
3
+ "version": "3.78.0",
4
4
  "description": "tegg types",
5
5
  "keywords": [
6
6
  "egg",
@@ -45,5 +45,5 @@
45
45
  "ts-node": "^10.9.1",
46
46
  "typescript": "^5.0.4"
47
47
  },
48
- "gitHead": "5da0f998aac3915e1b5777cb1b4f3c0975f9e8e5"
48
+ "gitHead": "44a680026526a5d0c1583a64713a68c5a0efac1e"
49
49
  }