@elizaos/client 1.6.2-alpha.8 → 1.6.2-beta.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.
package/dist/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <link rel="icon" type="image/x-icon" href="/favicon.ico" />
7
7
  <title>ElizaOS - Client</title>
8
- <script type="module" crossorigin src="/assets/main-CpHBkAFA.js"></script>
8
+ <script type="module" crossorigin src="/assets/main-BtcZiEuQ.js"></script>
9
9
  </head>
10
10
  <body>
11
11
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/client",
3
- "version": "1.6.2-alpha.8",
3
+ "version": "1.6.2-beta.0",
4
4
  "description": "Web client interface for ElizaOS agents",
5
5
  "repository": {
6
6
  "type": "git",
@@ -61,8 +61,8 @@
61
61
  "access": "public"
62
62
  },
63
63
  "dependencies": {
64
- "@elizaos/api-client": "1.6.2-alpha.8",
65
- "@elizaos/core": "1.6.2-alpha.8",
64
+ "@elizaos/api-client": "1.6.2-beta.0",
65
+ "@elizaos/core": "1.6.2-beta.0",
66
66
  "@evilmartians/agent-prism-data": "^0.0.4",
67
67
  "@evilmartians/agent-prism-types": "^0.0.4",
68
68
  "@hookform/resolvers": "^5.1.1",
@@ -161,5 +161,5 @@
161
161
  "vite-tsconfig-paths": "^5.1.4",
162
162
  "wait-on": "^9.0.1"
163
163
  },
164
- "gitHead": "3def88f0ba316660400fff540822a1ec343ac62d"
164
+ "gitHead": "31a7f24bad6a04b1e6514cf6290f889d7f51eb26"
165
165
  }
@@ -181,11 +181,15 @@ export interface AgentLog {
181
181
 
182
182
  // Map API Memory to client Memory
183
183
  export function mapApiMemoryToClient(apiMemory: ApiMemory): Memory {
184
+ // Extract entityId from available sources, fallback to agentId if none available
185
+ const entityId = (apiMemory.entityId ||
186
+ apiMemory.metadata?.entityId ||
187
+ apiMemory.metadata?.userId ||
188
+ apiMemory.agentId) as UUID;
189
+
184
190
  return {
185
191
  id: apiMemory.id as UUID,
186
- entityId: (apiMemory.metadata?.entityId ||
187
- apiMemory.metadata?.userId ||
188
- apiMemory.agentId) as UUID,
192
+ entityId,
189
193
  agentId: apiMemory.agentId as UUID,
190
194
  content: apiMemory.content,
191
195
  embedding: apiMemory.embedding,