refactor(store): migrate device-id hook to @multica/store

- Move useDeviceId from apps/web to packages/store/src/device-id.ts
- Update imports in chat.tsx and use-gateway.ts to use @multica/store
- Add uuid dependency to @multica/store

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Naiyuan Qing 2026-02-02 10:45:20 +08:00
parent 63861d03c6
commit 5275bc55fc
7 changed files with 10 additions and 3 deletions

View file

@ -68,7 +68,7 @@ export function HubSidebar() {
<SidebarGroup>
<SidebarGroupLabel>Agents</SidebarGroupLabel>
<SidebarGroupAction onClick={() => createAgent()} title="Create agent">
<HugeiconsIcon icon={PlusSignIcon} strokeWidth={2} className="size-4" />
<HugeiconsIcon icon={PlusSignIcon} />
</SidebarGroupAction>
<SidebarGroupContent>
<SidebarMenu>