Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
fix(web): fix @/lib/types imports and JWT signOut in feature components
Gener9323f75507c3
diff --git a/src/web/src/components/agent-edit-form.tsx b/src/web/src/components/agent-edit-form.tsxindex 7da927e53..51da27cfa 100644--- a/src/web/src/components/agent-edit-form.tsx+++ b/src/web/src/components/agent-edit-form.tsx@@ -6,7 +6,8 @@ import { Input } from "@/components/ui/input";import { Label } from "@/components/ui/label";import { Textarea } from "@/components/ui/textarea";import { RuntimeSelect } from "@/components/runtime-select";-import type { Agent, Runtime } from "@/lib/types";+import type { Agent } from "@alook/shared";+import type { Runtime } from "@/lib/api";interface AgentEditFormProps {agent?: Agent;diff --git a/src/web/src/components/dashboard-navbar.tsx b/src/web/src/components/dashboard-navbar.tsxindex 4357afa4a..ce93f90df 100644--- a/src/web/src/components/dashboard-navbar.tsx+++ b/src/web/src/components/dashboard-navbar.tsx@@ -21,7 +21,8 @@ import {import { ConfirmDialog } from "@/components/ui/confirm-dialog";import { Logo } from "@/components/logo";import { toast } from "sonner";-import type { Runtime } from "@/lib/types";+import type { Runtime } from "@/lib/api";+import { signOut } from "@/lib/auth-client";function OnboardingSteps({generatedToken,@@ -385,11 +386,8 @@ export function DashboardNavbar() {<Buttonvariant="ghost"size="sm"- onClick={() => {- localStorage.removeItem("alook_token");- localStorage.removeItem("alook_workspace_id");- document.cookie = "alook_session=; path=/; max-age=0";- router.push("/login");+ onClick={async () => {+ await signOut();}}>Sign Outdiff --git a/src/web/src/components/runtime-select.tsx b/src/web/src/components/runtime-select.tsxindex 4d79c4f03..ce5027f47 100644--- a/src/web/src/components/runtime-select.tsx+++ b/src/web/src/components/runtime-select.tsx@@ -1,6 +1,6 @@"use client";-import type { Runtime } from "@/lib/types";+import type { Runtime } from "@/lib/api";import {Select,SelectTrigger,