@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/assets/{main-CpHBkAFA.js → main-BtcZiEuQ.js} +3 -3
- package/dist/assets/{main-CpHBkAFA.js.map → main-BtcZiEuQ.js.map} +1 -1
- package/dist/assets/{main-CNv6B3RZ.css → main-DrN44Cbu.css} +1 -1
- package/dist/assets/main-r3TR7Sku.js +155 -0
- package/dist/assets/{main-SfTqS-Wp.js.map → main-r3TR7Sku.js.map} +1 -1
- package/dist/assets/react-vendor-DPGVcrXi.js +611 -0
- package/dist/assets/react-vendor-DPGVcrXi.js.map +1 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/src/lib/api-type-mappers.ts +7 -3
- package/dist/assets/main-SfTqS-Wp.js +0 -155
- package/dist/assets/react-vendor-C1OK-nqm.js +0 -611
- package/dist/assets/react-vendor-C1OK-nqm.js.map +0 -1
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-
|
|
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-
|
|
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-
|
|
65
|
-
"@elizaos/core": "1.6.2-
|
|
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": "
|
|
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
|
|
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,
|