@astropods/messaging 0.0.3 → 0.0.4

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.
@@ -158,6 +158,7 @@ export interface AudioStreamConfig {
158
158
  language?: string;
159
159
  conversationId: string;
160
160
  source?: string;
161
+ userId?: string;
161
162
  }
162
163
  /**
163
164
  * A chunk of raw audio bytes. Maps to the AudioChunk protobuf message.
@@ -48,6 +48,10 @@ message AudioStreamConfig {
48
48
  // Source metadata — helps the agent pick the right STT config.
49
49
  // Examples: "browser", "twilio", "vonage", "mobile", "upload"
50
50
  string source = 6;
51
+
52
+ // Identity of the user sending audio, so the agent knows who is speaking
53
+ // without relying solely on the placeholder "[audio]" message.
54
+ string user_id = 7;
51
55
  }
52
56
 
53
57
  // A chunk of raw audio bytes in the encoding specified by AudioStreamConfig.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astropods/messaging",
3
3
  "license": "Apache-2.0",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "description": "TypeScript SDK for Astro Messaging",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",