@elizaos/client 1.7.2-alpha.10 → 1.7.2-alpha.11

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-CkdfNj0n.js"></script>
8
+ <script type="module" crossorigin src="/assets/main-CqTmsniN.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.7.2-alpha.10",
3
+ "version": "1.7.2-alpha.11",
4
4
  "description": "Web client interface for ElizaOS agents",
5
5
  "repository": {
6
6
  "type": "git",
@@ -63,8 +63,8 @@
63
63
  "access": "public"
64
64
  },
65
65
  "dependencies": {
66
- "@elizaos/api-client": "1.7.2-alpha.10",
67
- "@elizaos/core": "1.7.2-alpha.10",
66
+ "@elizaos/api-client": "1.7.2-alpha.11",
67
+ "@elizaos/core": "1.7.2-alpha.11",
68
68
  "@evilmartians/agent-prism-data": "^0.0.9",
69
69
  "@evilmartians/agent-prism-types": "^0.0.9",
70
70
  "@hookform/resolvers": "^5.1.1",
@@ -102,7 +102,7 @@
102
102
  "react-force-graph-2d": "^1.27.1",
103
103
  "react-joyride": "^2.9.3",
104
104
  "react-json-pretty": "^2.2.0",
105
- "react-resizable-panels": "^4.4.1",
105
+ "react-resizable-panels": "^3.0.6",
106
106
  "react-router": "^7.3.0",
107
107
  "react-router-dom": "^7.3.0",
108
108
  "semver": "^7.7.1",
@@ -119,7 +119,7 @@
119
119
  "devDependencies": {
120
120
  "@cypress/react": "^9.0.1",
121
121
  "@cypress/vite-dev-server": "^7.0.0",
122
- "@elizaos/config": "1.7.2-alpha.10",
122
+ "@elizaos/config": "1.7.2-alpha.11",
123
123
  "@eslint/js": "^9.22.0",
124
124
  "@happy-dom/global-registrator": "^20.0.11",
125
125
  "@playwright/test": "^1.40.0",
@@ -162,5 +162,5 @@
162
162
  "vite-tsconfig-paths": "^6.0.4",
163
163
  "wait-on": "^9.0.1"
164
164
  },
165
- "gitHead": "8bd6ed3d7233bb72b3d4844e6b00c5eb24ff9ff1"
165
+ "gitHead": "e2153e0a15023b8fc47fd6ea792a7bbae693d1d4"
166
166
  }
@@ -1675,14 +1675,12 @@ export default function Chat({
1675
1675
  ) : (
1676
1676
  /* Resizable panel layout for desktop mode */
1677
1677
  <ResizablePanelGroup
1678
- orientation="horizontal"
1678
+ direction="horizontal"
1679
1679
  className="h-full flex-1 overflow-hidden"
1680
- onLayoutChange={(layout: { [panelId: string]: number }) => {
1681
- const mainSize = layout['main-panel'];
1682
- const sideSize = layout['sidebar-panel'];
1683
- if (mainSize !== undefined && sideSize !== undefined && showSidebar && !chatState.isMobile) {
1684
- setMainPanelSize(mainSize);
1685
- setSidebarPanelSize(sideSize);
1680
+ onLayout={(sizes) => {
1681
+ if (sizes.length >= 2 && showSidebar && !chatState.isMobile) {
1682
+ setMainPanelSize(sizes[0]);
1683
+ setSidebarPanelSize(sizes[1]);
1686
1684
  }
1687
1685
  }}
1688
1686
  >
@@ -1793,7 +1791,12 @@ export default function Chat({
1793
1791
  !chatState.isMobile && (
1794
1792
  <>
1795
1793
  <ResizableHandle withHandle />
1796
- <ResizablePanel id="sidebar-panel" defaultSize={sidebarPanelSize} minSize={15} maxSize={85}>
1794
+ <ResizablePanel
1795
+ id="sidebar-panel"
1796
+ defaultSize={sidebarPanelSize}
1797
+ minSize={15}
1798
+ maxSize={85}
1799
+ >
1797
1800
  <AgentSidebar
1798
1801
  agentId={sidebarAgentId}
1799
1802
  agentName={sidebarAgentName}
@@ -1,30 +1,30 @@
1
1
  'use client';
2
2
 
3
3
  import { GripVertical } from 'lucide-react';
4
- import { Group, Panel, Separator } from 'react-resizable-panels';
4
+ import * as ResizablePrimitive from 'react-resizable-panels';
5
5
 
6
6
  import { cn } from '@/lib/utils';
7
7
 
8
8
  const ResizablePanelGroup = ({
9
9
  className,
10
10
  ...props
11
- }: React.ComponentProps<typeof Group>) => (
12
- <Group
11
+ }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => (
12
+ <ResizablePrimitive.PanelGroup
13
13
  className={cn('flex h-full w-full data-[panel-group-direction=vertical]:flex-col', className)}
14
14
  {...props}
15
15
  />
16
16
  );
17
17
 
18
- const ResizablePanel = Panel;
18
+ const ResizablePanel = ResizablePrimitive.Panel;
19
19
 
20
20
  const ResizableHandle = ({
21
21
  withHandle,
22
22
  className,
23
23
  ...props
24
- }: React.ComponentProps<typeof Separator> & {
24
+ }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
25
25
  withHandle?: boolean;
26
26
  }) => (
27
- <Separator
27
+ <ResizablePrimitive.PanelResizeHandle
28
28
  className={cn(
29
29
  'relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90',
30
30
  className
@@ -36,7 +36,7 @@ const ResizableHandle = ({
36
36
  <GripVertical className="h-2.5 w-2.5" />
37
37
  </div>
38
38
  )}
39
- </Separator>
39
+ </ResizablePrimitive.PanelResizeHandle>
40
40
  );
41
41
 
42
42
  export { ResizablePanelGroup, ResizablePanel, ResizableHandle };