@mastra/voice-google-gemini-live 0.14.19-alpha.0 → 0.14.19-alpha.2

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.
@@ -88,6 +88,25 @@ export declare const MASTRA_INHERITED_MEMORY_KEY = "mastra__inheritedMemory";
88
88
  * ```
89
89
  */
90
90
  export declare const MASTRA_MESSAGE_AUTHOR_KEY = "mastra__messageAuthor";
91
+ /**
92
+ * Reserved key holding the authenticated end user, normalized to the
93
+ * `MastraUser` shape (`{ id, name?, email?, avatarUrl?, role? }`).
94
+ *
95
+ * Set by the server auth middleware after an auth provider authenticates the
96
+ * request (via `MastraAuthProvider.toMastraUser()`). Read at
97
+ * `DynamicArgument` resolution time so config callbacks receive an optional
98
+ * `user` argument. The raw provider-specific user object is stored separately
99
+ * under `mastra__user`.
100
+ */
101
+ export declare const MASTRA_NORMALIZED_USER_KEY = "mastra__normalizedUser";
102
+ /**
103
+ * Returns a copy of a persisted request context without the keys that belong to
104
+ * the request that wrote it (the bearer token and the authenticated user, roles
105
+ * and permissions). Workflow and durable-agent resume, restart and time travel
106
+ * use this so those values come from the request doing the resuming, and a
107
+ * resume without a signed-in user can't act as the user who started the run.
108
+ */
109
+ export declare function withoutLiveRequestKeys(requestContext: Record<string, any> | undefined): Record<string, any>;
91
110
  /**
92
111
  * Whether a request-context key is reserved for Mastra itself.
93
112
  *
@@ -3,7 +3,7 @@ name: mastra-voice-google-gemini-live
3
3
  description: Documentation for @mastra/voice-google-gemini-live. Use when working with @mastra/voice-google-gemini-live APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/voice-google-gemini-live"
6
- version: "0.14.19-alpha.0"
6
+ version: "0.14.19-alpha.2"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.14.19-alpha.0",
2
+ "version": "0.14.19-alpha.2",
3
3
  "package": "@mastra/voice-google-gemini-live",
4
4
  "exports": {
5
5
  "GeminiLiveVoice": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/voice-google-gemini-live",
3
- "version": "0.14.19-alpha.0",
3
+ "version": "0.14.19-alpha.2",
4
4
  "description": "Mastra Google Gemini Live API integration",
5
5
  "type": "module",
6
6
  "files": [
@@ -26,7 +26,7 @@
26
26
  "@google/genai": "^1.52.0",
27
27
  "google-auth-library": "^10.9.1",
28
28
  "ws": "^8.22.0",
29
- "@mastra/schema-compat": "1.3.18-alpha.0"
29
+ "@mastra/schema-compat": "1.4.0-alpha.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "22.19.15",