moi-computer 0.12.1-next.2 → 0.12.1-next.4
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/bunfig.toml +1 -5
- package/client/api/app-config.ts +1 -2
- package/client/api/app-ui-keys.ts +3 -1
- package/client/api/http.ts +4 -1
- package/client/api/workspace-keys.ts +3 -3
- package/client/app/app-provider.tsx +22 -2
- package/client/app/app-router.tsx +6 -0
- package/client/app/routes/home-route.tsx +14 -0
- package/client/app/routes/onboarding-route.tsx +11 -0
- package/client/app/routes/settings-route.tsx +10 -0
- package/client/app/routes/workspace-route.tsx +21 -19
- package/client/app/shell/sidebar-layout.tsx +34 -53
- package/client/components/shared/screen-shell.tsx +23 -0
- package/client/components/shared/ultrafast-icon.tsx +61 -0
- package/client/components/shared/workspace-icon.tsx +2 -2
- package/client/features/account/account-menu.tsx +96 -0
- package/client/features/account/account-provider.tsx +142 -0
- package/client/features/account/account-test-utils.tsx +294 -0
- package/client/features/account/api.ts +142 -0
- package/client/features/account/identity.ts +23 -0
- package/client/features/app-settings/api.ts +33 -0
- package/client/features/app-settings/general-settings.tsx +39 -0
- package/client/features/app-settings/profile-settings.tsx +95 -0
- package/client/features/app-settings/settings-page.tsx +48 -0
- package/client/features/app-settings/settings-section.tsx +26 -0
- package/client/features/app-settings/users-settings.tsx +195 -0
- package/client/features/chat/applet-chat-intents.ts +4 -20
- package/client/features/chat/chat-send.ts +17 -13
- package/client/features/chat/composer/model-order.ts +8 -4
- package/client/features/chat/composer/model-picker.tsx +88 -34
- package/client/features/chat/composer/use-workspace-composer-state.tsx +11 -3
- package/client/features/chat/composer/use-workspace-skill-updates.ts +1 -1
- package/client/features/chat/connection/chat-frames.ts +3 -15
- package/client/features/chat/messages/chat-empty-state.tsx +1 -4
- package/client/features/chat/messages/fork-history.ts +5 -5
- package/client/features/chat/messages/turn-view.tsx +3 -12
- package/client/features/chat/messages/user-message-bubble.tsx +63 -0
- package/client/features/chat/sessions/api.ts +121 -80
- package/client/features/chat/sessions/browser-tab-state.ts +14 -12
- package/client/features/chat/sessions/chat-selector.tsx +5 -6
- package/client/features/chat/sessions/use-selected-session.ts +172 -257
- package/client/features/chat/use-chat.ts +14 -19
- package/client/features/collab/applet-api.ts +15 -14
- package/client/features/collab/components/cursors.tsx +61 -24
- package/client/features/collab/components/presence-avatars.tsx +25 -12
- package/client/features/collab/components/presence-frame.tsx +20 -24
- package/client/features/collab/components/presence-group.tsx +15 -7
- package/client/features/collab/components/user-avatar-group.tsx +21 -8
- package/client/features/collab/components/user-avatar.tsx +38 -7
- package/client/features/collab/components/user.tsx +31 -12
- package/client/features/collab/users.ts +0 -5
- package/client/features/collab/workspace-users-menu.tsx +4 -4
- package/client/features/demo/demo-dialog.tsx +11 -3
- package/client/features/dev/collab/collab-playground.tsx +7 -7
- package/client/features/dev/collab/local-user-settings.tsx +7 -53
- package/client/features/dev/dev-index-page.tsx +5 -0
- package/client/features/dev/dev-routes.tsx +2 -0
- package/client/features/dev/harness-debug-page.tsx +3 -3
- package/client/features/dev/onboarding-preview-page.tsx +76 -0
- package/client/features/dev/workspace-setup-mocks.ts +16 -14
- package/client/features/dev/workspace-setup-preview.tsx +11 -17
- package/client/features/harness/api.ts +45 -15
- package/client/features/harness/device-login-steps.tsx +9 -3
- package/client/features/harness/harness-login-panel.tsx +228 -0
- package/client/features/harness/harness-presentation.ts +15 -0
- package/client/features/harness/harness-selector.tsx +119 -0
- package/client/features/harness/use-harness-login.ts +77 -0
- package/client/features/home/home-page.tsx +7 -7
- package/client/features/onboarding/agent-setup-step.tsx +57 -0
- package/client/features/onboarding/api.ts +42 -0
- package/client/features/onboarding/onboarding-idea-disk.tsx +129 -0
- package/client/features/onboarding/onboarding-page.tsx +32 -0
- package/client/features/onboarding/onboarding-screen.tsx +20 -0
- package/client/features/onboarding/onboarding-status.tsx +24 -0
- package/client/features/onboarding/workspace-setup-step.tsx +239 -0
- package/client/features/overview/default/registry.tsx +2 -2
- package/client/features/overview/default/views-widget.tsx +6 -5
- package/client/features/overview/overview.tsx +9 -11
- package/client/features/overview/widget-canvas.tsx +1 -1
- package/client/features/overview/workspace-name.tsx +2 -2
- package/client/features/update/update-control.tsx +1 -1
- package/client/features/views/api.ts +69 -16
- package/client/features/views/pending-view-screen.tsx +30 -9
- package/client/features/views/use-view-actions.ts +19 -20
- package/client/features/views/view-presentation.ts +2 -2
- package/client/features/views/view-submission.ts +28 -41
- package/client/features/workspace/add/api.ts +3 -23
- package/client/features/workspace/add/create-workspace-dialog.tsx +11 -7
- package/client/features/workspace/add/import-workspace-dialog.tsx +3 -3
- package/client/features/workspace/add/workspace-agent-options.ts +11 -12
- package/client/features/workspace/add/workspace-agent-selector.tsx +3 -132
- package/client/features/workspace/api.ts +32 -36
- package/client/features/workspace/harness-transition.ts +88 -0
- package/client/features/{settings → workspace/settings}/api.ts +1 -34
- package/client/features/{settings → workspace/settings}/connectors-settings.tsx +3 -3
- package/client/features/{settings → workspace/settings}/environment-settings.tsx +3 -3
- package/client/features/{settings → workspace/settings}/general-settings.tsx +77 -3
- package/client/features/{settings → workspace/settings}/use-env-vars.ts +1 -1
- package/client/features/{settings → workspace/settings}/workspace-icon-picker.tsx +3 -3
- package/client/features/workspace/setup/workspace-login-state.tsx +37 -156
- package/client/features/workspace/setup/workspace-recovery-states.tsx +0 -12
- package/client/features/workspace/setup/workspace-setup.tsx +34 -14
- package/client/features/workspace/setup/workspace-welcome-state.tsx +2 -2
- package/client/features/workspace/use-workspace-navigation.ts +25 -9
- package/client/features/workspace/workspace-content.tsx +11 -8
- package/client/features/workspace/workspace-frame.tsx +2 -1
- package/client/features/workspace/workspace-layout-context.tsx +5 -2
- package/client/features/workspace/workspace-menu.tsx +12 -8
- package/client/features/workspace/workspace-pending-screen.tsx +10 -10
- package/client/features/workspace/workspace-presentation.tsx +5 -13
- package/client/features/workspace/workspace-state.ts +169 -0
- package/client/features/workspace/workspace-tabs.tsx +22 -2
- package/client/index.css +2 -0
- package/client/index.tsx +3 -3
- package/client/lib/flags.ts +1 -1
- package/client/lib/{app-icon-registry.ts → identity-icon-registry.ts} +10 -14
- package/client/lib/user-display-name.ts +6 -0
- package/client/main.tsx +4 -1
- package/client/runtime/workspace-events.ts +21 -4
- package/client/runtime/workspace-theme.ts +9 -0
- package/client/tailwind-config.ts +43 -0
- package/dist/chunk-0mjzg20x.js +2 -0
- package/dist/chunk-2y59vrxg.js +5 -0
- package/dist/chunk-58dyt9bk.js +2 -0
- package/dist/chunk-5aj040e5.css +1 -0
- package/dist/{chunk-tqd3pkg8.css → chunk-60q353jq.css} +1 -1
- package/dist/chunk-71fn6rmj.js +546 -0
- package/dist/chunk-7yg1m8hx.js +2 -0
- package/dist/chunk-825hys3h.js +1 -0
- package/dist/chunk-9bb8m9rx.js +2 -0
- package/dist/{chunk-11cab5dq.css → chunk-cq2r11fg.css} +1 -1
- package/dist/chunk-g0tcwqxc.js +1 -0
- package/dist/chunk-n0nab26d.js +1 -0
- package/dist/chunk-nf2wkvf9.js +14 -0
- package/dist/chunk-v88n1bay.js +74 -0
- package/dist/index.html +1 -1
- package/lib/harness-instructions.ts +1 -1
- package/lib/{app-icons.ts → identity-icons.ts} +6 -7
- package/lib/onboarding.ts +41 -0
- package/lib/speed-mode.ts +5 -0
- package/lib/types.ts +72 -63
- package/lib/view-build-directives.ts +1 -2
- package/lib/workspace-icon.ts +2 -2
- package/lib/workspace-layout.ts +1 -1
- package/lib/workspace-name.ts +15 -12
- package/package.json +9 -8
- package/server/README.md +27 -25
- package/server/api/harnesses.ts +31 -8
- package/server/api/index.ts +164 -131
- package/server/api/onboarding.ts +46 -0
- package/server/app-config.ts +23 -24
- package/server/app-settings.ts +6 -2
- package/server/applets/config.ts +5 -5
- package/server/applets/views.ts +19 -17
- package/server/cli/commands/init.ts +3 -3
- package/server/cli/commands/skill.ts +16 -17
- package/server/cli/commands/start.ts +8 -34
- package/server/cli/server.ts +18 -6
- package/server/collab/config.ts +1 -2
- package/server/collab/manager.ts +4 -1
- package/server/collab/skill/index.ts +1 -1
- package/server/control.ts +3 -3
- package/server/data-dir.ts +1 -1
- package/server/harness/README.md +24 -8
- package/server/harness/acp/session.ts +8 -4
- package/server/harness/auth.ts +14 -17
- package/server/harness/claude-code/NOTES.md +4 -3
- package/server/harness/claude-code/index.ts +2 -0
- package/server/harness/claude-code/models.ts +2 -20
- package/server/harness/claude-code/run-action.ts +123 -0
- package/server/harness/claude-code/session-title.ts +5 -7
- package/server/harness/claude-code/session.ts +24 -16
- package/server/harness/codex/NOTES.md +14 -9
- package/server/harness/codex/adapter.ts +14 -17
- package/server/harness/codex/index.ts +2 -0
- package/server/harness/codex/run-action.ts +93 -0
- package/server/harness/codex/session-title.ts +6 -8
- package/server/harness/codex/session.ts +11 -11
- package/server/harness/command.ts +45 -0
- package/server/harness/executable.ts +5 -0
- package/server/harness/fork.ts +6 -4
- package/server/harness/install.ts +49 -0
- package/server/harness/openclaw/session.ts +1 -2
- package/server/harness/run-action.ts +85 -0
- package/server/harness/session-title.ts +0 -46
- package/server/harness/types.ts +26 -2
- package/server/onboarding/brief.ts +29 -0
- package/server/onboarding/ideas.ts +48 -0
- package/server/onboarding/jobs.ts +291 -0
- package/server/onboarding/prompt.md +49 -0
- package/server/sessions/archive.ts +5 -14
- package/server/sessions/config.ts +17 -16
- package/server/sessions/lifecycle.ts +15 -13
- package/server/sessions/pending-views.ts +79 -108
- package/server/sessions/selected.ts +75 -161
- package/server/sessions/store.ts +40 -113
- package/server/sessions/view-sessions.ts +128 -111
- package/server/skills/locations.ts +82 -0
- package/server/skills/lock.ts +29 -0
- package/server/skills/template.ts +36 -25
- package/server/skills/update.ts +52 -5
- package/server/skills/version.ts +17 -22
- package/server/skills/workspace.ts +121 -0
- package/server/web.ts +23 -8
- package/server/workspace-state/file.ts +177 -0
- package/server/workspace-state/index.ts +162 -0
- package/server/workspace-state/legacy-migration.ts +79 -0
- package/server/workspace-state/lock.ts +42 -0
- package/server/workspace-state/types.ts +16 -0
- package/server/workspaces/change-harness.ts +88 -0
- package/server/workspaces/harness-transition.ts +29 -0
- package/server/workspaces/init.ts +29 -16
- package/server/workspaces/layout.ts +3 -0
- package/server/workspaces/registry.ts +58 -10
- package/{workspace/.claude/skills/moi-workspace → skill}/SKILL.md +7 -5
- package/{workspace/.claude/skills/moi-workspace → skill}/references/COLLAB.md +4 -8
- package/skill/references/DESIGN.md +148 -0
- package/{workspace/.claude/skills/moi-workspace → skill}/references/SCRATCHPAD.md +2 -2
- package/{workspace/.claude/skills/moi-workspace → skill}/references/UI-COMPONENTS.md +3 -0
- package/ui-components/badge.tsx +1 -1
- package/client/accept-hmr-dependencies.ts +0 -22
- package/client/features/workspace/setup/workspace-setup-panel.tsx +0 -18
- package/dist/chunk-00rh9df4.js +0 -2
- package/dist/chunk-4nh7y1hq.css +0 -1
- package/dist/chunk-am4agx6v.js +0 -2
- package/dist/chunk-d7cbm65e.js +0 -2
- package/dist/chunk-hbpdv7vd.js +0 -1
- package/dist/chunk-hmka9rt5.js +0 -2
- package/dist/chunk-hvh9f5h0.js +0 -14
- package/dist/chunk-mjjregkn.js +0 -10
- package/dist/chunk-pcnahct1.js +0 -5
- package/dist/chunk-rt30jbcm.js +0 -1
- package/dist/chunk-vt6zybej.js +0 -2
- package/dist/chunk-wbkwf6cc.js +0 -68
- package/dist/chunk-xjyfyz64.js +0 -1
- package/dist/chunk-y8nbwp21.js +0 -546
- package/dist/chunk-ysfdcew7.js +0 -1
- package/lib/experimental.ts +0 -14
- package/workspace/.claude/skills/moi-workspace/references/DESIGN.md +0 -157
- /package/client/features/{settings → workspace/settings}/icon-picker-options.ts +0 -0
- /package/client/features/{settings → workspace/settings}/settings-layout.tsx +0 -0
- /package/client/features/{settings → workspace/settings}/workspace-settings-dialog.tsx +0 -0
- /package/{workspace/.claude/skills/moi-workspace → skill}/references/INTENTS.md +0 -0
package/bunfig.toml
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
[serve.static]
|
|
3
|
-
plugins = [
|
|
4
|
-
"bun-plugin-tailwind",
|
|
5
|
-
"./client/externalize-react.ts",
|
|
6
|
-
"./client/accept-hmr-dependencies.ts"
|
|
7
|
-
]
|
|
3
|
+
plugins = ["bun-plugin-tailwind", "./client/externalize-react.ts"]
|
|
8
4
|
# Inline only PUBLIC_*-prefixed env vars into the client bundle (e.g. the tldraw
|
|
9
5
|
# license key, PUBLIC_TLDRAW_LICENSE_KEY). The prefix keeps private secrets out
|
|
10
6
|
# of the browser bundle. Mirrored for prod builds in scripts/build-client.ts.
|
package/client/api/app-config.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useSyncExternalStore } from 'react'
|
|
2
2
|
|
|
3
3
|
import type { ClientAppConfig } from '@/lib/types'
|
|
4
|
-
import { EXPERIMENTAL_DEFAULTS } from '@/lib/experimental'
|
|
5
4
|
|
|
6
5
|
import { requestJson } from './http'
|
|
7
6
|
|
|
@@ -13,8 +12,8 @@ import { requestJson } from './http'
|
|
|
13
12
|
|
|
14
13
|
const DEFAULTS: ClientAppConfig = {
|
|
15
14
|
environment: 'local',
|
|
15
|
+
collab: false,
|
|
16
16
|
demo: false,
|
|
17
|
-
experimental: { ...EXPERIMENTAL_DEFAULTS },
|
|
18
17
|
demoInstallUrl: 'https://moi.computer'
|
|
19
18
|
}
|
|
20
19
|
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export const appUiKeys = {
|
|
2
2
|
all: ['app-ui'] as const,
|
|
3
|
-
|
|
3
|
+
// Collab: this browser tab's own chat choice per workspace tab.
|
|
4
|
+
browserTabSelection: (workspaceId: string) =>
|
|
5
|
+
['app-ui', 'browser-tab-selection', workspaceId] as const
|
|
4
6
|
}
|
package/client/api/http.ts
CHANGED
|
@@ -22,7 +22,10 @@ export async function requestVoid(
|
|
|
22
22
|
if (!response.ok) throw await errorFrom(response, error)
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export function jsonRequest(
|
|
25
|
+
export function jsonRequest(
|
|
26
|
+
method: 'POST' | 'PUT' | 'PATCH' | 'DELETE',
|
|
27
|
+
body?: unknown
|
|
28
|
+
): RequestInit {
|
|
26
29
|
return {
|
|
27
30
|
method,
|
|
28
31
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export const workspaceKeys = {
|
|
2
2
|
all: ['workspaces'] as const,
|
|
3
3
|
discover: ['workspaces', 'discover'] as const,
|
|
4
|
-
creationInfo: ['workspaces', 'creation-info'] as const,
|
|
5
4
|
// Every workspace's home-card preview, fetched in one batch.
|
|
6
5
|
previews: ['workspaces', 'previews'] as const,
|
|
7
6
|
layout: (id: string) => ['workspaces', 'layout', id] as const,
|
|
@@ -10,9 +9,10 @@ export const workspaceKeys = {
|
|
|
10
9
|
views: (id: string) => ['workspaces', 'views', id] as const,
|
|
11
10
|
sessions: (id: string) => ['workspaces', 'sessions', id] as const,
|
|
12
11
|
events: (id: string, sessionId: string) => ['workspaces', 'events', id, sessionId] as const,
|
|
13
|
-
|
|
12
|
+
// Per-user chat state (`GET /api/workspaces/:id/state`).
|
|
13
|
+
state: (id: string) => ['workspaces', 'state', id] as const,
|
|
14
14
|
mcp: (id: string) => ['workspaces', 'mcp', id] as const,
|
|
15
|
-
|
|
15
|
+
harness: (id: string) => ['workspaces', 'harness', id] as const,
|
|
16
16
|
skills: (id: string) => ['workspaces', 'skills', id] as const,
|
|
17
17
|
env: (id: string) => ['workspaces', 'env', id] as const
|
|
18
18
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { HarnessStatuses } from '@/lib/types'
|
|
2
|
+
import { useQueryClient } from '@tanstack/react-query'
|
|
1
3
|
import { type ReactNode, useEffect, useState } from 'react'
|
|
2
4
|
|
|
3
5
|
import { wsUrl } from '@/client/lib/ws-url'
|
|
@@ -12,14 +14,32 @@ type AppProviderProps = {
|
|
|
12
14
|
// events socket when the app mounts and closes it when the app unmounts, so
|
|
13
15
|
// the connection outlives every route.
|
|
14
16
|
export function AppProvider({ children }: AppProviderProps) {
|
|
17
|
+
const client = useQueryClient()
|
|
15
18
|
const [value] = useState<AppContextValue>(() => ({
|
|
16
19
|
events: new WorkspaceEventsClient(wsUrl('/api/workspaces/ws'))
|
|
17
20
|
}))
|
|
18
21
|
|
|
19
22
|
useEffect(() => {
|
|
23
|
+
const unsubscribe = value.events.subscribe(event => {
|
|
24
|
+
if (event.type === 'harness-status:changed') {
|
|
25
|
+
const queryKey = ['harness-status']
|
|
26
|
+
void client.cancelQueries({ queryKey })
|
|
27
|
+
client.setQueryData<HarnessStatuses>(queryKey, previous =>
|
|
28
|
+
previous ? { ...previous, [event.harness]: event.status } : undefined
|
|
29
|
+
)
|
|
30
|
+
if (!client.getQueryData(queryKey)) void client.invalidateQueries({ queryKey })
|
|
31
|
+
if (event.status.availability.status === 'available')
|
|
32
|
+
void client.invalidateQueries({ queryKey: ['workspaces', 'harness'] })
|
|
33
|
+
} else if (event.type === 'connection:opened' || event.type === 'harness:updated') {
|
|
34
|
+
void client.invalidateQueries({ queryKey: ['harness-status'] })
|
|
35
|
+
}
|
|
36
|
+
})
|
|
20
37
|
value.events.connect()
|
|
21
|
-
return () =>
|
|
22
|
-
|
|
38
|
+
return () => {
|
|
39
|
+
unsubscribe()
|
|
40
|
+
value.events.close()
|
|
41
|
+
}
|
|
42
|
+
}, [value, client])
|
|
23
43
|
|
|
24
44
|
return <AppContext value={value}>{children}</AppContext>
|
|
25
45
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { OnboardingRoute } from './routes/onboarding-route'
|
|
1
2
|
import { Suspense, lazy, useEffect } from 'react'
|
|
2
3
|
|
|
3
4
|
import { Redirect, Route, Switch, useLocation } from 'wouter'
|
|
4
5
|
|
|
5
6
|
import { setWorkspaceSwitchHandler } from '@/client/features/chat/connection/chat-connection'
|
|
7
|
+
import { useWorkspaceStateSync } from '@/client/features/workspace/workspace-state'
|
|
6
8
|
|
|
9
|
+
import { SettingsRoute } from './routes/settings-route'
|
|
7
10
|
import { HomeRoute } from './routes/home-route'
|
|
8
11
|
import { WorkspaceRoute } from './routes/workspace-route'
|
|
9
12
|
|
|
@@ -29,6 +32,7 @@ function DevLazy() {
|
|
|
29
32
|
// Top-level router — sets up all client-side routes
|
|
30
33
|
export function AppRouter() {
|
|
31
34
|
const [, navigate] = useLocation()
|
|
35
|
+
useWorkspaceStateSync()
|
|
32
36
|
|
|
33
37
|
// When the server broadcasts a workspace:switch (e.g. from `moi start`),
|
|
34
38
|
// navigate to that workspace
|
|
@@ -41,6 +45,8 @@ export function AppRouter() {
|
|
|
41
45
|
<Switch>
|
|
42
46
|
<Route path="/dev/*?" component={DevLazy} />
|
|
43
47
|
<Route path="/" component={HomeRoute} />
|
|
48
|
+
<Route path="/onboarding" component={OnboardingRoute} />
|
|
49
|
+
<Route path="/settings" component={SettingsRoute} />
|
|
44
50
|
{/* The wildcard is the destination path (`views/orders`, `overview`, …) —
|
|
45
51
|
the URL is the tab address, read downstream with `useParams`. This
|
|
46
52
|
pattern is its only definition. Keyed by workspace id only, so tab
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
+
import { ScreenShell } from '@/client/components/shared/screen-shell'
|
|
2
|
+
import { Redirect } from 'wouter'
|
|
3
|
+
import { useOnboardingSettings } from '@/client/features/onboarding/api'
|
|
4
|
+
import { OnboardingStatus } from '@/client/features/onboarding/onboarding-status'
|
|
1
5
|
import { SidebarLayout } from '@/client/app/shell/sidebar-layout'
|
|
2
6
|
import { HomePage } from '@/client/features/home/home-page'
|
|
3
7
|
|
|
4
8
|
// The `/` route: the app shell wrapping the workspaces view.
|
|
5
9
|
export function HomeRoute() {
|
|
10
|
+
const onboarding = useOnboardingSettings()
|
|
11
|
+
if (onboarding.loading || onboarding.error)
|
|
12
|
+
return (
|
|
13
|
+
<main className="flex h-dvh flex-col overflow-hidden">
|
|
14
|
+
<ScreenShell>
|
|
15
|
+
<OnboardingStatus error={onboarding.error || undefined} onRetry={onboarding.retry} />
|
|
16
|
+
</ScreenShell>
|
|
17
|
+
</main>
|
|
18
|
+
)
|
|
19
|
+
if (onboarding.enabled && onboarding.data?.showOnboarding) return <Redirect to="/onboarding" />
|
|
6
20
|
return (
|
|
7
21
|
<SidebarLayout showWorkspaces={false}>
|
|
8
22
|
<div className="min-h-0 flex-1 overflow-y-auto">
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ScreenShell } from '@/client/components/shared/screen-shell'
|
|
2
|
+
import { OnboardingPage } from '@/client/features/onboarding/onboarding-page'
|
|
3
|
+
export function OnboardingRoute() {
|
|
4
|
+
return (
|
|
5
|
+
<main className="flex h-dvh flex-col overflow-hidden">
|
|
6
|
+
<ScreenShell>
|
|
7
|
+
<OnboardingPage />
|
|
8
|
+
</ScreenShell>
|
|
9
|
+
</main>
|
|
10
|
+
)
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SidebarLayout } from '@/client/app/shell/sidebar-layout'
|
|
2
|
+
import { SettingsPage } from '@/client/features/app-settings/settings-page'
|
|
3
|
+
|
|
4
|
+
export function SettingsRoute() {
|
|
5
|
+
return (
|
|
6
|
+
<SidebarLayout showWorkspaces={false}>
|
|
7
|
+
<SettingsPage />
|
|
8
|
+
</SidebarLayout>
|
|
9
|
+
)
|
|
10
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { useWorkspaceHarnessChanges } from '@/client/features/workspace/harness-transition'
|
|
1
2
|
import { useWorkspaceTheme } from '@/client/runtime/workspace-theme'
|
|
2
3
|
import { CollabProvider, useCollabEnabled } from '@/client/features/collab'
|
|
3
4
|
import { useQueryClient } from '@tanstack/react-query'
|
|
@@ -25,16 +26,18 @@ type WorkspaceRouteProps = {
|
|
|
25
26
|
// Navigation reads the raw browser address so encoded paths and query params
|
|
26
27
|
// are decoded exactly once; the route only owns the workspace ID.
|
|
27
28
|
export function WorkspaceRoute({ id }: WorkspaceRouteProps) {
|
|
28
|
-
const {
|
|
29
|
+
const { collab } = useAppConfig()
|
|
29
30
|
|
|
30
31
|
return (
|
|
31
|
-
<
|
|
32
|
-
<
|
|
33
|
-
<
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
<SidebarLayout>
|
|
33
|
+
<Workspace id={id}>
|
|
34
|
+
<WorkspaceLayoutProvider id={id}>
|
|
35
|
+
<CollabProvider workspaceId={id} enabled={collab}>
|
|
36
|
+
<WorkspaceContent id={id} />
|
|
37
|
+
</CollabProvider>
|
|
38
|
+
</WorkspaceLayoutProvider>
|
|
39
|
+
</Workspace>
|
|
40
|
+
</SidebarLayout>
|
|
38
41
|
)
|
|
39
42
|
}
|
|
40
43
|
|
|
@@ -42,7 +45,8 @@ function WorkspaceContent({ id }: WorkspaceRouteProps) {
|
|
|
42
45
|
const collabEnabled = useCollabEnabled()
|
|
43
46
|
const queryClient = useQueryClient()
|
|
44
47
|
const [selectedSessionId] = useSelectedSession()
|
|
45
|
-
const { isLoading: layoutLoading, layout } = useWorkspaceLayoutCtx()
|
|
48
|
+
const { isLoading: layoutLoading, layout, provider } = useWorkspaceLayoutCtx()
|
|
49
|
+
useWorkspaceHarnessChanges(id, provider)
|
|
46
50
|
useWorkspaceTheme(layout.theme)
|
|
47
51
|
const widgets = useWidgets(id)
|
|
48
52
|
const views = useViews(id)
|
|
@@ -58,7 +62,7 @@ function WorkspaceContent({ id }: WorkspaceRouteProps) {
|
|
|
58
62
|
// widget:updated too: a rebundle bumps the widget's content revision, and
|
|
59
63
|
// the thumbnail invalidation hook reads it off this query.
|
|
60
64
|
queryClient.invalidateQueries({ queryKey: workspaceKeys.widgets(id) })
|
|
61
|
-
} else if (event.type === 'view
|
|
65
|
+
} else if (event.type === 'view:updated') {
|
|
62
66
|
// view:updated also bumps the built bundle revision used by thumbnail
|
|
63
67
|
// freshness checks.
|
|
64
68
|
queryClient.invalidateQueries({ queryKey: workspaceKeys.views(id) })
|
|
@@ -69,14 +73,12 @@ function WorkspaceContent({ id }: WorkspaceRouteProps) {
|
|
|
69
73
|
layoutLoading || selectedSessionId === undefined || widgets.isLoading || views.isLoading
|
|
70
74
|
|
|
71
75
|
return (
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
/>
|
|
80
|
-
</SidebarLayout>
|
|
76
|
+
// Reset the screen when switching between shared and browser tab state.
|
|
77
|
+
<WorkspaceScreen
|
|
78
|
+
key={collabEnabled ? 'browser-tab' : 'shared'}
|
|
79
|
+
contentPending={contentPending}
|
|
80
|
+
widgets={widgets.data}
|
|
81
|
+
views={views.data ?? []}
|
|
82
|
+
/>
|
|
81
83
|
)
|
|
82
84
|
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { type ReactNode } from 'react'
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { IconPlus, IconSandbox, IconSmartHome } from '@tabler/icons-react'
|
|
4
4
|
import { useQueryClient } from '@tanstack/react-query'
|
|
5
5
|
import { Link, useLocation } from 'wouter'
|
|
6
6
|
|
|
7
7
|
import { useAppConfig } from '@/client/api/app-config'
|
|
8
8
|
import { useReorderWorkspaces, useWorkspaces } from '@/client/features/home/api'
|
|
9
9
|
import { BROWSER_TAB_ID } from '@/client/lib/browser-tab-id'
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
UpdateButton as UpdateButtonComponent,
|
|
12
|
+
useUpdateControl
|
|
13
|
+
} from '@/client/features/update/update-control'
|
|
11
14
|
import { workspaceKeys } from '@/client/api/workspace-keys'
|
|
12
15
|
import { useWorkspaceEvent } from '@/client/runtime/use-workspace-events'
|
|
13
16
|
import { CreateWorkspaceDialog } from '@/client/features/workspace/add/create-workspace-dialog'
|
|
17
|
+
import { useAccount } from '@/client/features/account/account-provider'
|
|
18
|
+
import { AccountMenu } from '@/client/features/account/account-menu'
|
|
14
19
|
import { DemoDialog } from '@/client/features/demo/demo-dialog'
|
|
15
20
|
import { ReorderableList } from '@/client/components/shared/reorderable-list'
|
|
16
21
|
import type { ReorderableRenderState } from '@/client/components/shared/reorderable-list'
|
|
@@ -26,11 +31,9 @@ import { workspaceDisplayName } from '@/client/features/workspace/workspace-pres
|
|
|
26
31
|
import { cn } from '@/client/lib/cn'
|
|
27
32
|
import type { WorkspaceEntry } from '@/lib/types'
|
|
28
33
|
|
|
29
|
-
const FEEDBACK_URL = 'https://mlfrg.notion.site/3c678a44b6788042b734d775dd2e935e?pvs=105'
|
|
30
|
-
|
|
31
34
|
function sidebarNavButtonClass(active: boolean): string {
|
|
32
35
|
return cn(
|
|
33
|
-
buttonVariants({ variant: 'ghost', size: 'icon' }),
|
|
36
|
+
buttonVariants({ variant: 'ghost', size: 'icon-lg' }),
|
|
34
37
|
active && 'bg-accent text-accent-foreground'
|
|
35
38
|
)
|
|
36
39
|
}
|
|
@@ -79,6 +82,8 @@ type SidebarProps = {
|
|
|
79
82
|
}
|
|
80
83
|
|
|
81
84
|
function Sidebar({ workspaces }: SidebarProps) {
|
|
85
|
+
const { environment } = useAppConfig()
|
|
86
|
+
const { demo } = useAccount()
|
|
82
87
|
const reorder = useReorderWorkspaces()
|
|
83
88
|
|
|
84
89
|
return (
|
|
@@ -137,62 +142,38 @@ function Sidebar({ workspaces }: SidebarProps) {
|
|
|
137
142
|
)}
|
|
138
143
|
</nav>
|
|
139
144
|
|
|
140
|
-
<div className="
|
|
141
|
-
<
|
|
145
|
+
<div className="flex shrink-0 flex-col items-center gap-4">
|
|
146
|
+
{environment === 'local' && <UpdateButton />}
|
|
147
|
+
{demo ? (
|
|
148
|
+
<Tooltip>
|
|
149
|
+
<DemoDialog
|
|
150
|
+
trigger={
|
|
151
|
+
<TooltipTrigger
|
|
152
|
+
render={
|
|
153
|
+
<Button size="icon" aria-label="Set up Moi">
|
|
154
|
+
<IconSandbox stroke={1.5} />
|
|
155
|
+
</Button>
|
|
156
|
+
}
|
|
157
|
+
/>
|
|
158
|
+
}
|
|
159
|
+
/>
|
|
160
|
+
<TooltipContent side="right">Set up Moi</TooltipContent>
|
|
161
|
+
</Tooltip>
|
|
162
|
+
) : (
|
|
163
|
+
<AccountMenu />
|
|
164
|
+
)}
|
|
142
165
|
</div>
|
|
143
166
|
</aside>
|
|
144
167
|
</TooltipProvider>
|
|
145
168
|
)
|
|
146
169
|
}
|
|
147
170
|
|
|
148
|
-
function
|
|
149
|
-
const { demo } = useAppConfig()
|
|
171
|
+
function UpdateButton() {
|
|
150
172
|
const updateControl = useUpdateControl()
|
|
151
173
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
<DemoDialog
|
|
156
|
-
trigger={
|
|
157
|
-
<TooltipTrigger
|
|
158
|
-
render={
|
|
159
|
-
<Button size="icon" aria-label="Set up Moi">
|
|
160
|
-
<IconSandbox stroke={1.5} />
|
|
161
|
-
</Button>
|
|
162
|
-
}
|
|
163
|
-
/>
|
|
164
|
-
}
|
|
165
|
-
/>
|
|
166
|
-
<TooltipContent side="right">Set up Moi</TooltipContent>
|
|
167
|
-
</Tooltip>
|
|
168
|
-
)
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
if (updateControl.status === 'loading') return null
|
|
172
|
-
if (updateControl.status === 'available') return <UpdateButton {...updateControl.button} />
|
|
173
|
-
|
|
174
|
-
return <FeedbackLink />
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
function FeedbackLink() {
|
|
178
|
-
return (
|
|
179
|
-
<Tooltip>
|
|
180
|
-
<TooltipTrigger
|
|
181
|
-
render={
|
|
182
|
-
<Button
|
|
183
|
-
render={<a href={FEEDBACK_URL} target="_blank" rel="noreferrer" />}
|
|
184
|
-
variant="ghost"
|
|
185
|
-
size="icon"
|
|
186
|
-
aria-label="Leave feedback"
|
|
187
|
-
className="text-muted-foreground hover:text-foreground"
|
|
188
|
-
>
|
|
189
|
-
<IconMessage2Share stroke={1.5} />
|
|
190
|
-
</Button>
|
|
191
|
-
}
|
|
192
|
-
/>
|
|
193
|
-
<TooltipContent side="right">Leave feedback</TooltipContent>
|
|
194
|
-
</Tooltip>
|
|
195
|
-
)
|
|
174
|
+
return updateControl.status === 'available' ? (
|
|
175
|
+
<UpdateButtonComponent {...updateControl.button} />
|
|
176
|
+
) : null
|
|
196
177
|
}
|
|
197
178
|
|
|
198
179
|
type WorkspaceButtonProps = {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react'
|
|
2
|
+
|
|
3
|
+
import { cn } from '@/client/lib/cn'
|
|
4
|
+
|
|
5
|
+
type ScreenShellProps = ComponentProps<'section'>
|
|
6
|
+
|
|
7
|
+
// Shared backdrop for standalone flows and setup panes. The caller controls
|
|
8
|
+
// the available height, content width, spacing, and alignment.
|
|
9
|
+
export function ScreenShell({ children, className, ...props }: ScreenShellProps) {
|
|
10
|
+
return (
|
|
11
|
+
<section
|
|
12
|
+
{...props}
|
|
13
|
+
className={cn(
|
|
14
|
+
'flex min-h-0 flex-1 flex-col overflow-y-auto bg-muted texture-checker-20',
|
|
15
|
+
className
|
|
16
|
+
)}
|
|
17
|
+
>
|
|
18
|
+
<div className="flex flex-1 flex-col bg-radial from-background from-25% to-transparent">
|
|
19
|
+
{children}
|
|
20
|
+
</div>
|
|
21
|
+
</section>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Two scaled copies of Tabler’s filled bolt.
|
|
3
|
+
*
|
|
4
|
+
* MIT License
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2020-2026 Paweł Kuna
|
|
7
|
+
*
|
|
8
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
9
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
10
|
+
* in the Software without restriction, including without limitation the rights
|
|
11
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
12
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
13
|
+
* furnished to do so, subject to the following conditions:
|
|
14
|
+
*
|
|
15
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
16
|
+
* copies or substantial portions of the Software.
|
|
17
|
+
*
|
|
18
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
19
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
23
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
24
|
+
* SOFTWARE.
|
|
25
|
+
*/
|
|
26
|
+
import { createReactComponent, type IconProps } from '@tabler/icons-react'
|
|
27
|
+
import { useId } from 'react'
|
|
28
|
+
|
|
29
|
+
const boltPath =
|
|
30
|
+
'M13 2l.018 .001l.016 .001l.083 .005l.011 .002h.011l.038 .009l.052 .008l.016 .006l.011 .001l.029 .011l.052 .014l.019 .009l.015 .004l.028 .014l.04 .017l.021 .012l.022 .01l.023 .015l.031 .017l.034 .024l.018 .011l.013 .012l.024 .017l.038 .034l.022 .017l.008 .01l.014 .012l.036 .041l.026 .027l.006 .009c.12 .147 .196 .322 .218 .513l.001 .012l.002 .041l.004 .064v6h5a1 1 0 0 1 .868 1.497l-.06 .091l-8 11c-.568 .783 -1.808 .38 -1.808 -.588v-6h-5a1 1 0 0 1 -.868 -1.497l.06 -.091l8 -11l.01 -.013l.018 -.024l.033 -.038l.018 -.022l.009 -.008l.013 -.014l.04 -.036l.028 -.026l.008 -.006a1 1 0 0 1 .402 -.199l.011 -.001l.027 -.005l.074 -.013l.011 -.001l.041 -.002z'
|
|
31
|
+
|
|
32
|
+
const UltrafastSvg = createReactComponent('filled', 'ultrafast', 'Ultrafast', [])
|
|
33
|
+
const frontTransform = 'translate(5 2.4) scale(.8)'
|
|
34
|
+
const backTransform = 'translate(-1 2.4) scale(.8)'
|
|
35
|
+
|
|
36
|
+
type IconUltrafastProps = IconProps
|
|
37
|
+
|
|
38
|
+
export function IconUltrafast(props: IconUltrafastProps) {
|
|
39
|
+
const maskId = useId()
|
|
40
|
+
return (
|
|
41
|
+
<UltrafastSvg {...props}>
|
|
42
|
+
<defs>
|
|
43
|
+
<mask id={maskId} x="0" y="0" width="24" height="24" maskUnits="userSpaceOnUse">
|
|
44
|
+
<rect width="24" height="24" fill="white" />
|
|
45
|
+
<path
|
|
46
|
+
d={boltPath}
|
|
47
|
+
transform={frontTransform}
|
|
48
|
+
fill="black"
|
|
49
|
+
stroke="black"
|
|
50
|
+
strokeWidth="4"
|
|
51
|
+
strokeLinejoin="round"
|
|
52
|
+
/>
|
|
53
|
+
</mask>
|
|
54
|
+
</defs>
|
|
55
|
+
<g mask={`url(#${maskId})`}>
|
|
56
|
+
<path d={boltPath} transform={backTransform} />
|
|
57
|
+
</g>
|
|
58
|
+
<path d={boltPath} transform={frontTransform} />
|
|
59
|
+
</UltrafastSvg>
|
|
60
|
+
)
|
|
61
|
+
}
|
|
@@ -4,7 +4,7 @@ import claudeIcon from '@/client/assets/claude.svg'
|
|
|
4
4
|
import hermesIcon from '@/client/assets/hermes.png'
|
|
5
5
|
import openaiIcon from '@/client/assets/openai.svg'
|
|
6
6
|
import openclawIcon from '@/client/assets/openclaw.svg'
|
|
7
|
-
import {
|
|
7
|
+
import { resolveIdentityIcon } from '@/client/lib/identity-icon-registry'
|
|
8
8
|
import { cn } from '@/client/lib/cn'
|
|
9
9
|
import { DEFAULT_PRIMARY_COLOR, deriveThemeColors, resolveThemeColorOverrides } from '@/lib/themes'
|
|
10
10
|
import type {
|
|
@@ -48,7 +48,7 @@ function renderIconContent(
|
|
|
48
48
|
case 'upload':
|
|
49
49
|
return <img src={icon.value} alt="" className="size-full" />
|
|
50
50
|
case 'glyph': {
|
|
51
|
-
const Glyph =
|
|
51
|
+
const Glyph = resolveIdentityIcon(icon.value)
|
|
52
52
|
if (Glyph) {
|
|
53
53
|
return createElement(Glyph, {
|
|
54
54
|
'aria-hidden': true,
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Link } from 'wouter'
|
|
2
|
+
import { IconLogout, IconMessage2Share, IconSettings } from '@tabler/icons-react'
|
|
3
|
+
import { Button } from '@/client/components/ui/button'
|
|
4
|
+
import { Skeleton } from '@/client/components/ui/skeleton'
|
|
5
|
+
import { toast } from '@/client/components/ui/toast'
|
|
6
|
+
import {
|
|
7
|
+
DropdownMenu,
|
|
8
|
+
DropdownMenuContent,
|
|
9
|
+
DropdownMenuGroup,
|
|
10
|
+
DropdownMenuItem,
|
|
11
|
+
DropdownMenuSeparator,
|
|
12
|
+
DropdownMenuTrigger
|
|
13
|
+
} from '@/client/components/ui/dropdown-menu'
|
|
14
|
+
import { UserAvatar } from '@/client/features/collab/components/user-avatar'
|
|
15
|
+
import { User } from '@/client/features/collab/components/user'
|
|
16
|
+
import { useAccount } from './account-provider'
|
|
17
|
+
|
|
18
|
+
const FEEDBACK_URL = 'https://mlfrg.notion.site/3c678a44b6788042b734d775dd2e935e?pvs=105'
|
|
19
|
+
|
|
20
|
+
export function AccountMenu() {
|
|
21
|
+
const account = useAccount()
|
|
22
|
+
|
|
23
|
+
if (account.status === 'loading')
|
|
24
|
+
return (
|
|
25
|
+
<div className="flex size-10 items-center justify-center">
|
|
26
|
+
<Skeleton className="size-8 rounded-full" aria-label="Loading account" />
|
|
27
|
+
</div>
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
if (account.status === 'error') return null
|
|
31
|
+
|
|
32
|
+
if (account.status === 'signed-out' || !account.profile) return null
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<DropdownMenu>
|
|
36
|
+
<DropdownMenuTrigger
|
|
37
|
+
render={<Button variant="ghost" size="icon-lg" aria-label="User menu" />}
|
|
38
|
+
>
|
|
39
|
+
<UserAvatar profile={account.profile} size="sm" />
|
|
40
|
+
</DropdownMenuTrigger>
|
|
41
|
+
|
|
42
|
+
<DropdownMenuContent side="right" align="end" sideOffset={8} className="w-52">
|
|
43
|
+
<div className="px-2 py-1">
|
|
44
|
+
<User
|
|
45
|
+
profile={account.profile}
|
|
46
|
+
size="sm"
|
|
47
|
+
description={
|
|
48
|
+
account.cloud
|
|
49
|
+
? account.profile.name?.trim()
|
|
50
|
+
? account.email
|
|
51
|
+
: undefined
|
|
52
|
+
: 'This computer'
|
|
53
|
+
}
|
|
54
|
+
/>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<DropdownMenuSeparator />
|
|
58
|
+
|
|
59
|
+
<DropdownMenuGroup>
|
|
60
|
+
<DropdownMenuItem render={<a href={FEEDBACK_URL} target="_blank" rel="noreferrer" />}>
|
|
61
|
+
<IconMessage2Share stroke={1.75} />
|
|
62
|
+
Leave feedback
|
|
63
|
+
</DropdownMenuItem>
|
|
64
|
+
<DropdownMenuItem render={<Link href="/settings" />}>
|
|
65
|
+
<IconSettings stroke={1.75} />
|
|
66
|
+
Settings
|
|
67
|
+
</DropdownMenuItem>
|
|
68
|
+
</DropdownMenuGroup>
|
|
69
|
+
|
|
70
|
+
{account.registered && (
|
|
71
|
+
<>
|
|
72
|
+
<DropdownMenuSeparator />
|
|
73
|
+
<DropdownMenuGroup>
|
|
74
|
+
<DropdownMenuItem
|
|
75
|
+
disabled={account.signOut.isPending}
|
|
76
|
+
onClick={() =>
|
|
77
|
+
account.signOut.mutate(undefined, {
|
|
78
|
+
onError: error =>
|
|
79
|
+
toast.add({
|
|
80
|
+
title: 'Couldn’t sign out',
|
|
81
|
+
description: error.message,
|
|
82
|
+
type: 'error'
|
|
83
|
+
})
|
|
84
|
+
})
|
|
85
|
+
}
|
|
86
|
+
>
|
|
87
|
+
<IconLogout stroke={1.75} />
|
|
88
|
+
Sign out
|
|
89
|
+
</DropdownMenuItem>
|
|
90
|
+
</DropdownMenuGroup>
|
|
91
|
+
</>
|
|
92
|
+
)}
|
|
93
|
+
</DropdownMenuContent>
|
|
94
|
+
</DropdownMenu>
|
|
95
|
+
)
|
|
96
|
+
}
|