agent-relay 2.0.21 → 2.0.23
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/bin/relay-pty-linux-arm64 +0 -0
- package/dist/src/cli/index.d.ts +3 -3
- package/dist/src/cli/index.js +31 -100
- package/package.json +22 -29
- package/packages/api-types/package.json +1 -1
- package/packages/bridge/package.json +8 -8
- package/packages/cli-tester/package.json +1 -1
- package/packages/cloud/dist/server.js +25 -4
- package/packages/cloud/package.json +6 -6
- package/packages/config/package.json +2 -2
- package/packages/continuity/package.json +1 -1
- package/packages/daemon/dist/orchestrator.js +21 -1
- package/packages/daemon/dist/router.d.ts +5 -0
- package/packages/daemon/dist/router.js +31 -0
- package/packages/daemon/dist/server.d.ts +5 -0
- package/packages/daemon/dist/server.js +131 -1
- package/packages/daemon/package.json +12 -12
- package/packages/hooks/package.json +4 -4
- package/packages/mcp/dist/client.d.ts +15 -0
- package/packages/mcp/dist/client.js +9 -0
- package/packages/mcp/dist/server.js +13 -1
- package/packages/mcp/dist/tools/index.d.ts +2 -0
- package/packages/mcp/dist/tools/index.js +2 -0
- package/packages/mcp/dist/tools/relay-connected.d.ts +17 -0
- package/packages/mcp/dist/tools/relay-connected.js +40 -0
- package/packages/mcp/dist/tools/relay-remove-agent.d.ts +20 -0
- package/packages/mcp/dist/tools/relay-remove-agent.js +50 -0
- package/packages/mcp/package.json +2 -2
- package/packages/memory/package.json +2 -2
- package/packages/policy/package.json +2 -2
- package/packages/protocol/dist/types.d.ts +46 -1
- package/packages/protocol/package.json +1 -1
- package/packages/resiliency/package.json +1 -1
- package/packages/sdk/dist/client.d.ts +22 -1
- package/packages/sdk/dist/client.js +31 -0
- package/packages/sdk/dist/protocol/index.d.ts +1 -1
- package/packages/sdk/dist/protocol/types.d.ts +35 -1
- package/packages/sdk/package.json +2 -2
- package/packages/spawner/package.json +1 -1
- package/packages/state/package.json +1 -1
- package/packages/storage/dist/adapter.d.ts +4 -0
- package/packages/storage/dist/sqlite-adapter.d.ts +10 -0
- package/packages/storage/dist/sqlite-adapter.js +26 -0
- package/packages/storage/package.json +2 -2
- package/packages/telemetry/package.json +1 -1
- package/packages/trajectory/package.json +2 -2
- package/packages/user-directory/package.json +2 -2
- package/packages/utils/dist/update-checker.js +4 -0
- package/packages/utils/package.json +1 -1
- package/packages/wrapper/package.json +6 -6
- package/deploy/workspace/codex.config.toml +0 -20
- package/deploy/workspace/entrypoint-browser.sh +0 -118
- package/deploy/workspace/entrypoint.sh +0 -612
- package/deploy/workspace/gh-credential-relay +0 -90
- package/deploy/workspace/gh-relay +0 -156
- package/deploy/workspace/git-credential-relay +0 -330
- package/deploy/workspace/git-credential-relay.test.sh +0 -230
- package/dist/dashboard/out/404.html +0 -1
- package/dist/dashboard/out/_next/static/7MZPqYkVGw3EGzVBkVmY9/_buildManifest.js +0 -1
- package/dist/dashboard/out/_next/static/7MZPqYkVGw3EGzVBkVmY9/_ssgManifest.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/116-a883fca163f3a5bc.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/117-c8afed19e821a35d.js +0 -2
- package/dist/dashboard/out/_next/static/chunks/282-980c2eb8fff20123.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/320-a6304232cd0ee2ce.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/532-bace199897eeab37.js +0 -9
- package/dist/dashboard/out/_next/static/chunks/631-16b905e5920f9b59.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/648-acb2ff9f77cbfbd3.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/766-2aea80818f7eb0d8.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/83-26d2bde54616ee90.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/847-f1f467060f32afff.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/891-5cb1513eeb97a891.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/_not-found/page-60501fddbafba9dc.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/app/onboarding/page-9914652442f7e4fb.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/app/page-366fb7c078d4e9e0.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/cloud/link/page-fa1d5842aa90e8a6.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/complete-profile/page-dd64bbdf66b639cd.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/connect-repos/page-113060009ef35bc2.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/history/page-9965d2483011b846.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/layout-6b91e33784c20610.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/login/page-435eceb0073be027.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/metrics/page-1e37ef8e73940b40.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/page-8119d4246743574e.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/pricing/page-9db3ebdfa567a7c9.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/providers/page-ecb16ffd3b36262b.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/providers/setup/[provider]/page-4dbe33f0f7691b7c.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/app/signup/page-c7a0a28341365ae0.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/e868780c-48e5f147c90a3a41.js +0 -18
- package/dist/dashboard/out/_next/static/chunks/fd9d1056-609918ca7b6280bb.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/framework-f66176bb897dc684.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/main-311c3db74dcfadb7.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/main-app-fdbeb09028f57c9f.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/pages/_app-72b849fbd24ac258.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/pages/_error-7ba65e1336b92748.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/dist/dashboard/out/_next/static/chunks/webpack-1cdd8ed57114d5e1.js +0 -1
- package/dist/dashboard/out/_next/static/css/4034f236dd1a3178.css +0 -1
- package/dist/dashboard/out/_next/static/css/6892f8422896ef7a.css +0 -1
- package/dist/dashboard/out/alt-logos/agent-relay-logo-128.png +0 -0
- package/dist/dashboard/out/alt-logos/agent-relay-logo-256.png +0 -0
- package/dist/dashboard/out/alt-logos/agent-relay-logo-32.png +0 -0
- package/dist/dashboard/out/alt-logos/agent-relay-logo-512.png +0 -0
- package/dist/dashboard/out/alt-logos/agent-relay-logo-64.png +0 -0
- package/dist/dashboard/out/alt-logos/agent-relay-logo.svg +0 -45
- package/dist/dashboard/out/alt-logos/logo.svg +0 -38
- package/dist/dashboard/out/alt-logos/monogram-logo-128.png +0 -0
- package/dist/dashboard/out/alt-logos/monogram-logo-256.png +0 -0
- package/dist/dashboard/out/alt-logos/monogram-logo-32.png +0 -0
- package/dist/dashboard/out/alt-logos/monogram-logo-512.png +0 -0
- package/dist/dashboard/out/alt-logos/monogram-logo-64.png +0 -0
- package/dist/dashboard/out/alt-logos/monogram-logo.svg +0 -38
- package/dist/dashboard/out/app/onboarding.html +0 -1
- package/dist/dashboard/out/app/onboarding.txt +0 -7
- package/dist/dashboard/out/app.html +0 -1
- package/dist/dashboard/out/app.txt +0 -7
- package/dist/dashboard/out/apple-icon.png +0 -0
- package/dist/dashboard/out/cloud/link.html +0 -1
- package/dist/dashboard/out/cloud/link.txt +0 -7
- package/dist/dashboard/out/complete-profile.html +0 -5
- package/dist/dashboard/out/complete-profile.txt +0 -7
- package/dist/dashboard/out/connect-repos.html +0 -1
- package/dist/dashboard/out/connect-repos.txt +0 -7
- package/dist/dashboard/out/history.html +0 -1
- package/dist/dashboard/out/history.txt +0 -7
- package/dist/dashboard/out/index.html +0 -1
- package/dist/dashboard/out/index.txt +0 -7
- package/dist/dashboard/out/login.html +0 -5
- package/dist/dashboard/out/login.txt +0 -7
- package/dist/dashboard/out/metrics.html +0 -1
- package/dist/dashboard/out/metrics.txt +0 -7
- package/dist/dashboard/out/pricing.html +0 -13
- package/dist/dashboard/out/pricing.txt +0 -7
- package/dist/dashboard/out/providers/setup/claude.html +0 -1
- package/dist/dashboard/out/providers/setup/claude.txt +0 -8
- package/dist/dashboard/out/providers/setup/codex.html +0 -1
- package/dist/dashboard/out/providers/setup/codex.txt +0 -8
- package/dist/dashboard/out/providers/setup/cursor.html +0 -1
- package/dist/dashboard/out/providers/setup/cursor.txt +0 -8
- package/dist/dashboard/out/providers.html +0 -1
- package/dist/dashboard/out/providers.txt +0 -7
- package/dist/dashboard/out/signup.html +0 -6
- package/dist/dashboard/out/signup.txt +0 -7
- package/dist/src/dashboard-server/index.d.ts +0 -8
- package/dist/src/dashboard-server/index.js +0 -8
- package/packages/dashboard/README.md +0 -48
- package/packages/dashboard/dist/health-worker-manager.d.ts +0 -62
- package/packages/dashboard/dist/health-worker-manager.js +0 -144
- package/packages/dashboard/dist/health-worker.d.ts +0 -9
- package/packages/dashboard/dist/health-worker.js +0 -79
- package/packages/dashboard/dist/index.d.ts +0 -20
- package/packages/dashboard/dist/index.js +0 -19
- package/packages/dashboard/dist/metrics.d.ts +0 -105
- package/packages/dashboard/dist/metrics.js +0 -193
- package/packages/dashboard/dist/needs-attention.d.ts +0 -24
- package/packages/dashboard/dist/needs-attention.js +0 -78
- package/packages/dashboard/dist/server.d.ts +0 -25
- package/packages/dashboard/dist/server.js +0 -5270
- package/packages/dashboard/dist/start.d.ts +0 -6
- package/packages/dashboard/dist/start.js +0 -13
- package/packages/dashboard/dist/types/threading.d.ts +0 -8
- package/packages/dashboard/dist/types/threading.js +0 -2
- package/packages/dashboard/dist/user-bridge.d.ts +0 -154
- package/packages/dashboard/dist/user-bridge.js +0 -372
- package/packages/dashboard/package.json +0 -65
- package/packages/dashboard/ui/app/app/onboarding/page.tsx +0 -394
- package/packages/dashboard/ui/app/app/page.tsx +0 -667
- package/packages/dashboard/ui/app/apple-icon.png +0 -0
- package/packages/dashboard/ui/app/cloud/link/page.tsx +0 -464
- package/packages/dashboard/ui/app/complete-profile/page.tsx +0 -204
- package/packages/dashboard/ui/app/connect-repos/page.tsx +0 -410
- package/packages/dashboard/ui/app/favicon.png +0 -0
- package/packages/dashboard/ui/app/globals.css +0 -59
- package/packages/dashboard/ui/app/history/page.tsx +0 -658
- package/packages/dashboard/ui/app/layout.tsx +0 -25
- package/packages/dashboard/ui/app/login/page.tsx +0 -424
- package/packages/dashboard/ui/app/metrics/page.tsx +0 -751
- package/packages/dashboard/ui/app/page.tsx +0 -59
- package/packages/dashboard/ui/app/pricing/page.tsx +0 -7
- package/packages/dashboard/ui/app/providers/page.tsx +0 -193
- package/packages/dashboard/ui/app/providers/setup/[provider]/ProviderSetupClient.tsx +0 -148
- package/packages/dashboard/ui/app/providers/setup/[provider]/constants.ts +0 -35
- package/packages/dashboard/ui/app/providers/setup/[provider]/page.tsx +0 -42
- package/packages/dashboard/ui/app/signup/page.tsx +0 -533
- package/packages/dashboard/ui/index.ts +0 -49
- package/packages/dashboard/ui/landing/LandingPage.tsx +0 -713
- package/packages/dashboard/ui/landing/PricingPage.tsx +0 -559
- package/packages/dashboard/ui/landing/index.ts +0 -6
- package/packages/dashboard/ui/landing/styles.css +0 -2850
- package/packages/dashboard/ui/lib/agent-merge.ts +0 -35
- package/packages/dashboard/ui/lib/api.ts +0 -1155
- package/packages/dashboard/ui/lib/cloudApi.ts +0 -877
- package/packages/dashboard/ui/lib/colors.ts +0 -218
- package/packages/dashboard/ui/lib/hierarchy.ts +0 -242
- package/packages/dashboard/ui/lib/stuckDetection.ts +0 -142
- package/packages/dashboard/ui/next-env.d.ts +0 -5
- package/packages/dashboard/ui/next.config.js +0 -41
- package/packages/dashboard/ui/package-lock.json +0 -2882
- package/packages/dashboard/ui/package.json +0 -33
- package/packages/dashboard/ui/postcss.config.js +0 -5
- package/packages/dashboard/ui/react-components/ActivityFeed.tsx +0 -216
- package/packages/dashboard/ui/react-components/AddWorkspaceModal.tsx +0 -170
- package/packages/dashboard/ui/react-components/AgentCard.tsx +0 -587
- package/packages/dashboard/ui/react-components/AgentList.tsx +0 -411
- package/packages/dashboard/ui/react-components/AgentProfilePanel.tsx +0 -564
- package/packages/dashboard/ui/react-components/App.tsx +0 -3033
- package/packages/dashboard/ui/react-components/BillingPanel.tsx +0 -922
- package/packages/dashboard/ui/react-components/BillingResult.tsx +0 -447
- package/packages/dashboard/ui/react-components/BroadcastComposer.tsx +0 -690
- package/packages/dashboard/ui/react-components/ChannelAdminPanel.tsx +0 -773
- package/packages/dashboard/ui/react-components/ChannelBrowser.tsx +0 -385
- package/packages/dashboard/ui/react-components/ChannelChat.tsx +0 -261
- package/packages/dashboard/ui/react-components/ChannelSidebar.tsx +0 -399
- package/packages/dashboard/ui/react-components/CloudSessionProvider.tsx +0 -130
- package/packages/dashboard/ui/react-components/CommandPalette.tsx +0 -815
- package/packages/dashboard/ui/react-components/ConfirmationDialog.tsx +0 -133
- package/packages/dashboard/ui/react-components/ConversationHistory.tsx +0 -518
- package/packages/dashboard/ui/react-components/CoordinatorPanel.tsx +0 -944
- package/packages/dashboard/ui/react-components/DecisionQueue.tsx +0 -717
- package/packages/dashboard/ui/react-components/DirectMessageView.tsx +0 -164
- package/packages/dashboard/ui/react-components/FileAutocomplete.tsx +0 -368
- package/packages/dashboard/ui/react-components/FleetOverview.tsx +0 -278
- package/packages/dashboard/ui/react-components/LogViewer.tsx +0 -310
- package/packages/dashboard/ui/react-components/LogViewerPanel.tsx +0 -482
- package/packages/dashboard/ui/react-components/Logo.tsx +0 -284
- package/packages/dashboard/ui/react-components/MentionAutocomplete.tsx +0 -384
- package/packages/dashboard/ui/react-components/MessageComposer.tsx +0 -457
- package/packages/dashboard/ui/react-components/MessageList.tsx +0 -649
- package/packages/dashboard/ui/react-components/MessageSenderName.tsx +0 -91
- package/packages/dashboard/ui/react-components/MessageStatusIndicator.tsx +0 -142
- package/packages/dashboard/ui/react-components/NewConversationModal.tsx +0 -400
- package/packages/dashboard/ui/react-components/NotificationToast.tsx +0 -488
- package/packages/dashboard/ui/react-components/OnlineUsersIndicator.tsx +0 -164
- package/packages/dashboard/ui/react-components/Pagination.tsx +0 -124
- package/packages/dashboard/ui/react-components/PricingPlans.tsx +0 -386
- package/packages/dashboard/ui/react-components/ProjectList.tsx +0 -625
- package/packages/dashboard/ui/react-components/ProviderAuthFlow.tsx +0 -853
- package/packages/dashboard/ui/react-components/ProviderConnectionList.tsx +0 -378
- package/packages/dashboard/ui/react-components/ProvisioningProgress.tsx +0 -730
- package/packages/dashboard/ui/react-components/RepoAccessPanel.tsx +0 -549
- package/packages/dashboard/ui/react-components/ServerCard.tsx +0 -202
- package/packages/dashboard/ui/react-components/SessionExpiredModal.tsx +0 -128
- package/packages/dashboard/ui/react-components/SpawnModal.tsx +0 -804
- package/packages/dashboard/ui/react-components/TaskAssignmentUI.tsx +0 -375
- package/packages/dashboard/ui/react-components/TerminalProviderSetup.tsx +0 -608
- package/packages/dashboard/ui/react-components/ThemeProvider.tsx +0 -325
- package/packages/dashboard/ui/react-components/ThinkingIndicator.tsx +0 -231
- package/packages/dashboard/ui/react-components/ThreadList.tsx +0 -198
- package/packages/dashboard/ui/react-components/ThreadPanel.tsx +0 -346
- package/packages/dashboard/ui/react-components/TrajectoryViewer.tsx +0 -698
- package/packages/dashboard/ui/react-components/TypingIndicator.tsx +0 -69
- package/packages/dashboard/ui/react-components/UsageBanner.tsx +0 -231
- package/packages/dashboard/ui/react-components/UserProfilePanel.tsx +0 -233
- package/packages/dashboard/ui/react-components/WorkspaceContext.tsx +0 -107
- package/packages/dashboard/ui/react-components/WorkspaceSelector.tsx +0 -234
- package/packages/dashboard/ui/react-components/WorkspaceStatusIndicator.tsx +0 -370
- package/packages/dashboard/ui/react-components/XTermInteractive.tsx +0 -510
- package/packages/dashboard/ui/react-components/XTermLogViewer.tsx +0 -719
- package/packages/dashboard/ui/react-components/channels/ChannelDialogs.tsx +0 -1411
- package/packages/dashboard/ui/react-components/channels/ChannelHeader.tsx +0 -317
- package/packages/dashboard/ui/react-components/channels/ChannelMessageList.tsx +0 -463
- package/packages/dashboard/ui/react-components/channels/ChannelViewV1.tsx +0 -146
- package/packages/dashboard/ui/react-components/channels/MessageInput.tsx +0 -288
- package/packages/dashboard/ui/react-components/channels/SearchInput.tsx +0 -172
- package/packages/dashboard/ui/react-components/channels/SearchResults.tsx +0 -336
- package/packages/dashboard/ui/react-components/channels/api.ts +0 -697
- package/packages/dashboard/ui/react-components/channels/index.ts +0 -76
- package/packages/dashboard/ui/react-components/channels/mockApi.ts +0 -344
- package/packages/dashboard/ui/react-components/channels/types.ts +0 -566
- package/packages/dashboard/ui/react-components/hooks/index.ts +0 -57
- package/packages/dashboard/ui/react-components/hooks/useAgentLogs.ts +0 -394
- package/packages/dashboard/ui/react-components/hooks/useAgents.ts +0 -127
- package/packages/dashboard/ui/react-components/hooks/useBroadcastDedup.ts +0 -86
- package/packages/dashboard/ui/react-components/hooks/useChannelAdmin.ts +0 -329
- package/packages/dashboard/ui/react-components/hooks/useChannelBrowser.ts +0 -239
- package/packages/dashboard/ui/react-components/hooks/useChannelCommands.ts +0 -138
- package/packages/dashboard/ui/react-components/hooks/useChannels.ts +0 -328
- package/packages/dashboard/ui/react-components/hooks/useDebounce.ts +0 -29
- package/packages/dashboard/ui/react-components/hooks/useDirectMessage.ts +0 -141
- package/packages/dashboard/ui/react-components/hooks/useMessages.ts +0 -309
- package/packages/dashboard/ui/react-components/hooks/useOrchestrator.ts +0 -364
- package/packages/dashboard/ui/react-components/hooks/usePinnedAgents.ts +0 -140
- package/packages/dashboard/ui/react-components/hooks/usePresence.ts +0 -340
- package/packages/dashboard/ui/react-components/hooks/useRecentRepos.ts +0 -130
- package/packages/dashboard/ui/react-components/hooks/useSession.ts +0 -209
- package/packages/dashboard/ui/react-components/hooks/useTrajectory.ts +0 -265
- package/packages/dashboard/ui/react-components/hooks/useWebSocket.ts +0 -169
- package/packages/dashboard/ui/react-components/hooks/useWorkspaceMembers.ts +0 -120
- package/packages/dashboard/ui/react-components/hooks/useWorkspaceRepos.ts +0 -73
- package/packages/dashboard/ui/react-components/hooks/useWorkspaceStatus.ts +0 -237
- package/packages/dashboard/ui/react-components/index.ts +0 -81
- package/packages/dashboard/ui/react-components/layout/Header.tsx +0 -355
- package/packages/dashboard/ui/react-components/layout/RepoContextHeader.tsx +0 -361
- package/packages/dashboard/ui/react-components/layout/Sidebar.archive.test.tsx +0 -126
- package/packages/dashboard/ui/react-components/layout/Sidebar.test.tsx +0 -691
- package/packages/dashboard/ui/react-components/layout/Sidebar.tsx +0 -930
- package/packages/dashboard/ui/react-components/layout/index.ts +0 -7
- package/packages/dashboard/ui/react-components/settings/BillingSettingsPanel.tsx +0 -564
- package/packages/dashboard/ui/react-components/settings/SettingsPage.tsx +0 -544
- package/packages/dashboard/ui/react-components/settings/TeamSettingsPanel.tsx +0 -560
- package/packages/dashboard/ui/react-components/settings/WorkspaceSettingsPanel.tsx +0 -1386
- package/packages/dashboard/ui/react-components/settings/index.ts +0 -11
- package/packages/dashboard/ui/react-components/settings/types.ts +0 -53
- package/packages/dashboard/ui/react-components/utils/messageFormatting.tsx +0 -370
- package/packages/dashboard/ui/tailwind.config.js +0 -148
- package/packages/dashboard/ui/types/index.ts +0 -304
- package/packages/dashboard/ui/types/threading.ts +0 -7
- package/packages/dashboard/ui-dist/404.html +0 -1
- package/packages/dashboard/ui-dist/_next/static/7MZPqYkVGw3EGzVBkVmY9/_buildManifest.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/7MZPqYkVGw3EGzVBkVmY9/_ssgManifest.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/116-a883fca163f3a5bc.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/117-c8afed19e821a35d.js +0 -2
- package/packages/dashboard/ui-dist/_next/static/chunks/282-980c2eb8fff20123.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/320-a6304232cd0ee2ce.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/532-bace199897eeab37.js +0 -9
- package/packages/dashboard/ui-dist/_next/static/chunks/631-16b905e5920f9b59.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/648-acb2ff9f77cbfbd3.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/766-2aea80818f7eb0d8.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/83-26d2bde54616ee90.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/847-f1f467060f32afff.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/891-5cb1513eeb97a891.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/_not-found/page-60501fddbafba9dc.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/app/onboarding/page-9914652442f7e4fb.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/app/page-366fb7c078d4e9e0.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/cloud/link/page-fa1d5842aa90e8a6.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/complete-profile/page-dd64bbdf66b639cd.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/connect-repos/page-113060009ef35bc2.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/history/page-9965d2483011b846.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/layout-6b91e33784c20610.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/login/page-435eceb0073be027.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/metrics/page-1e37ef8e73940b40.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/page-8119d4246743574e.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/pricing/page-9db3ebdfa567a7c9.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/providers/page-ecb16ffd3b36262b.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/providers/setup/[provider]/page-4dbe33f0f7691b7c.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/app/signup/page-c7a0a28341365ae0.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/e868780c-48e5f147c90a3a41.js +0 -18
- package/packages/dashboard/ui-dist/_next/static/chunks/fd9d1056-609918ca7b6280bb.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/framework-f66176bb897dc684.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/main-311c3db74dcfadb7.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/main-app-fdbeb09028f57c9f.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/pages/_app-72b849fbd24ac258.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/pages/_error-7ba65e1336b92748.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/chunks/webpack-1cdd8ed57114d5e1.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/css/4034f236dd1a3178.css +0 -1
- package/packages/dashboard/ui-dist/_next/static/css/6892f8422896ef7a.css +0 -1
- package/packages/dashboard/ui-dist/_next/static/iJ3Uiz3IrqUJL7IxKZHiV/_buildManifest.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/iJ3Uiz3IrqUJL7IxKZHiV/_ssgManifest.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/l-jd878zUJ_IlraqEWMZc/_buildManifest.js +0 -1
- package/packages/dashboard/ui-dist/_next/static/l-jd878zUJ_IlraqEWMZc/_ssgManifest.js +0 -1
- package/packages/dashboard/ui-dist/alt-logos/agent-relay-logo-128.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/agent-relay-logo-256.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/agent-relay-logo-32.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/agent-relay-logo-512.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/agent-relay-logo-64.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/agent-relay-logo.svg +0 -45
- package/packages/dashboard/ui-dist/alt-logos/logo.svg +0 -38
- package/packages/dashboard/ui-dist/alt-logos/monogram-logo-128.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/monogram-logo-256.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/monogram-logo-32.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/monogram-logo-512.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/monogram-logo-64.png +0 -0
- package/packages/dashboard/ui-dist/alt-logos/monogram-logo.svg +0 -38
- package/packages/dashboard/ui-dist/app/onboarding.html +0 -1
- package/packages/dashboard/ui-dist/app/onboarding.txt +0 -7
- package/packages/dashboard/ui-dist/app.html +0 -1
- package/packages/dashboard/ui-dist/app.txt +0 -7
- package/packages/dashboard/ui-dist/apple-icon.png +0 -0
- package/packages/dashboard/ui-dist/cloud/link.html +0 -1
- package/packages/dashboard/ui-dist/cloud/link.txt +0 -7
- package/packages/dashboard/ui-dist/complete-profile.html +0 -5
- package/packages/dashboard/ui-dist/complete-profile.txt +0 -7
- package/packages/dashboard/ui-dist/connect-repos.html +0 -1
- package/packages/dashboard/ui-dist/connect-repos.txt +0 -7
- package/packages/dashboard/ui-dist/history.html +0 -1
- package/packages/dashboard/ui-dist/history.txt +0 -7
- package/packages/dashboard/ui-dist/index.html +0 -1
- package/packages/dashboard/ui-dist/index.txt +0 -7
- package/packages/dashboard/ui-dist/login.html +0 -5
- package/packages/dashboard/ui-dist/login.txt +0 -7
- package/packages/dashboard/ui-dist/metrics.html +0 -1
- package/packages/dashboard/ui-dist/metrics.txt +0 -7
- package/packages/dashboard/ui-dist/pricing.html +0 -13
- package/packages/dashboard/ui-dist/pricing.txt +0 -7
- package/packages/dashboard/ui-dist/providers/setup/claude.html +0 -1
- package/packages/dashboard/ui-dist/providers/setup/claude.txt +0 -8
- package/packages/dashboard/ui-dist/providers/setup/codex.html +0 -1
- package/packages/dashboard/ui-dist/providers/setup/codex.txt +0 -8
- package/packages/dashboard/ui-dist/providers/setup/cursor.html +0 -1
- package/packages/dashboard/ui-dist/providers/setup/cursor.txt +0 -8
- package/packages/dashboard/ui-dist/providers.html +0 -1
- package/packages/dashboard/ui-dist/providers.txt +0 -7
- package/packages/dashboard/ui-dist/signup.html +0 -6
- package/packages/dashboard/ui-dist/signup.txt +0 -7
- package/packages/dashboard-server/dist/health-worker-manager.d.ts +0 -62
- package/packages/dashboard-server/dist/health-worker-manager.js +0 -144
- package/packages/dashboard-server/dist/health-worker.d.ts +0 -9
- package/packages/dashboard-server/dist/health-worker.js +0 -79
- package/packages/dashboard-server/dist/index.d.ts +0 -18
- package/packages/dashboard-server/dist/index.js +0 -17
- package/packages/dashboard-server/dist/metrics.d.ts +0 -105
- package/packages/dashboard-server/dist/metrics.js +0 -193
- package/packages/dashboard-server/dist/needs-attention.d.ts +0 -24
- package/packages/dashboard-server/dist/needs-attention.js +0 -78
- package/packages/dashboard-server/dist/server.d.ts +0 -25
- package/packages/dashboard-server/dist/server.js +0 -5158
- package/packages/dashboard-server/dist/start.d.ts +0 -6
- package/packages/dashboard-server/dist/start.js +0 -13
- package/packages/dashboard-server/dist/types/threading.d.ts +0 -8
- package/packages/dashboard-server/dist/types/threading.js +0 -2
- package/packages/dashboard-server/dist/user-bridge.d.ts +0 -158
- package/packages/dashboard-server/dist/user-bridge.js +0 -390
- package/packages/dashboard-server/package.json +0 -55
|
@@ -1,411 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AgentList Component
|
|
3
|
-
*
|
|
4
|
-
* Displays agents grouped by their hierarchical prefix with
|
|
5
|
-
* collapsible groups and color coding.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React, { useState, useMemo } from 'react';
|
|
9
|
-
import type { Agent } from '../types';
|
|
10
|
-
import { AgentCard } from './AgentCard';
|
|
11
|
-
import { groupAgents, getGroupStats, filterAgents, getAgentDisplayName, type AgentGroup } from '../lib/hierarchy';
|
|
12
|
-
import { STATUS_COLORS } from '../lib/colors';
|
|
13
|
-
|
|
14
|
-
export interface AgentListProps {
|
|
15
|
-
agents: Agent[];
|
|
16
|
-
selectedAgent?: string;
|
|
17
|
-
searchQuery?: string;
|
|
18
|
-
/** Array of pinned agent names */
|
|
19
|
-
pinnedAgents?: string[];
|
|
20
|
-
/** Whether max pins has been reached */
|
|
21
|
-
isMaxPinned?: boolean;
|
|
22
|
-
onAgentSelect?: (agent: Agent) => void;
|
|
23
|
-
onAgentMessage?: (agent: Agent) => void;
|
|
24
|
-
onReleaseClick?: (agent: Agent) => void;
|
|
25
|
-
onLogsClick?: (agent: Agent) => void;
|
|
26
|
-
onProfileClick?: (agent: Agent) => void;
|
|
27
|
-
/** Handler for pin/unpin toggle */
|
|
28
|
-
onPinToggle?: (agent: Agent) => void;
|
|
29
|
-
compact?: boolean;
|
|
30
|
-
showGroupStats?: boolean;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export function AgentList({
|
|
34
|
-
agents,
|
|
35
|
-
selectedAgent,
|
|
36
|
-
searchQuery = '',
|
|
37
|
-
pinnedAgents = [],
|
|
38
|
-
isMaxPinned = false,
|
|
39
|
-
onAgentSelect,
|
|
40
|
-
onAgentMessage,
|
|
41
|
-
onReleaseClick,
|
|
42
|
-
onLogsClick,
|
|
43
|
-
onProfileClick,
|
|
44
|
-
onPinToggle,
|
|
45
|
-
compact = false,
|
|
46
|
-
showGroupStats = true,
|
|
47
|
-
}: AgentListProps) {
|
|
48
|
-
const [expandedGroups, setExpandedGroups] = useState<Set<string>>(new Set());
|
|
49
|
-
const [allExpanded, setAllExpanded] = useState(true);
|
|
50
|
-
const [isPinnedExpanded, setIsPinnedExpanded] = useState(true);
|
|
51
|
-
|
|
52
|
-
// Filter out setup agents (temporary agents for provider auth)
|
|
53
|
-
// and system agents like _DashboardUI (used for dashboard message sending)
|
|
54
|
-
// then apply search filtering
|
|
55
|
-
const filteredAgents = useMemo(() => {
|
|
56
|
-
const nonSystemAgents = agents.filter(a =>
|
|
57
|
-
!a.name.startsWith('__setup__') && a.name !== '_DashboardUI'
|
|
58
|
-
);
|
|
59
|
-
return filterAgents(nonSystemAgents, searchQuery);
|
|
60
|
-
}, [agents, searchQuery]);
|
|
61
|
-
|
|
62
|
-
// Separate pinned and unpinned agents
|
|
63
|
-
const { pinnedAgentsList, unpinnedAgents } = useMemo(() => {
|
|
64
|
-
const pinned: Agent[] = [];
|
|
65
|
-
const unpinned: Agent[] = [];
|
|
66
|
-
for (const agent of filteredAgents) {
|
|
67
|
-
if (pinnedAgents.includes(agent.name)) {
|
|
68
|
-
pinned.push(agent);
|
|
69
|
-
} else {
|
|
70
|
-
unpinned.push(agent);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
// Sort pinned agents by their order in pinnedAgents array
|
|
74
|
-
pinned.sort((a, b) => pinnedAgents.indexOf(a.name) - pinnedAgents.indexOf(b.name));
|
|
75
|
-
return { pinnedAgentsList: pinned, unpinnedAgents: unpinned };
|
|
76
|
-
}, [filteredAgents, pinnedAgents]);
|
|
77
|
-
|
|
78
|
-
const groups = useMemo(
|
|
79
|
-
() => groupAgents(unpinnedAgents),
|
|
80
|
-
[unpinnedAgents]
|
|
81
|
-
);
|
|
82
|
-
|
|
83
|
-
// Initialize all groups as expanded
|
|
84
|
-
useMemo(() => {
|
|
85
|
-
if (expandedGroups.size === 0 && groups.length > 0) {
|
|
86
|
-
setExpandedGroups(new Set(groups.map((g) => g.prefix)));
|
|
87
|
-
}
|
|
88
|
-
}, [groups]);
|
|
89
|
-
|
|
90
|
-
const toggleGroup = (prefix: string) => {
|
|
91
|
-
setExpandedGroups((prev) => {
|
|
92
|
-
const next = new Set(prev);
|
|
93
|
-
if (next.has(prefix)) {
|
|
94
|
-
next.delete(prefix);
|
|
95
|
-
} else {
|
|
96
|
-
next.add(prefix);
|
|
97
|
-
}
|
|
98
|
-
return next;
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
const toggleAll = () => {
|
|
103
|
-
if (allExpanded) {
|
|
104
|
-
setExpandedGroups(new Set());
|
|
105
|
-
} else {
|
|
106
|
-
setExpandedGroups(new Set(groups.map((g) => g.prefix)));
|
|
107
|
-
}
|
|
108
|
-
setAllExpanded(!allExpanded);
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
if (agents.length === 0) {
|
|
112
|
-
return (
|
|
113
|
-
<div className="flex flex-col items-center justify-center py-10 px-5 text-text-muted text-center">
|
|
114
|
-
<EmptyIcon />
|
|
115
|
-
<p>No agents connected</p>
|
|
116
|
-
</div>
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
if (filteredAgents.length === 0) {
|
|
121
|
-
return (
|
|
122
|
-
<div className="flex flex-col items-center justify-center py-10 px-5 text-text-muted text-center">
|
|
123
|
-
<SearchIcon />
|
|
124
|
-
<p>No agents match "{searchQuery}"</p>
|
|
125
|
-
</div>
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
return (
|
|
130
|
-
<div className="flex flex-col gap-1">
|
|
131
|
-
{groups.length > 1 && (
|
|
132
|
-
<div className="flex justify-between items-center py-2 px-3 text-xs text-text-muted">
|
|
133
|
-
<span>{filteredAgents.length} agents</span>
|
|
134
|
-
<button
|
|
135
|
-
className="bg-transparent border-none text-accent cursor-pointer text-xs hover:underline"
|
|
136
|
-
onClick={toggleAll}
|
|
137
|
-
>
|
|
138
|
-
{allExpanded ? 'Collapse all' : 'Expand all'}
|
|
139
|
-
</button>
|
|
140
|
-
</div>
|
|
141
|
-
)}
|
|
142
|
-
|
|
143
|
-
{/* Pinned Agents Section */}
|
|
144
|
-
{pinnedAgentsList.length > 0 && (
|
|
145
|
-
<div className="mb-2">
|
|
146
|
-
<button
|
|
147
|
-
className="flex items-center gap-2 w-full py-2 px-3 bg-transparent border-none cursor-pointer text-sm text-left rounded transition-colors duration-200 relative hover:bg-amber-400/5"
|
|
148
|
-
onClick={() => setIsPinnedExpanded(!isPinnedExpanded)}
|
|
149
|
-
>
|
|
150
|
-
<div className="absolute left-0 top-1 bottom-1 w-[3px] rounded-sm bg-amber-400" />
|
|
151
|
-
<PinnedChevronIcon expanded={isPinnedExpanded} />
|
|
152
|
-
<PinHeaderIcon />
|
|
153
|
-
<span className="font-semibold text-amber-400">Pinned</span>
|
|
154
|
-
<span className="text-text-muted font-normal">({pinnedAgentsList.length})</span>
|
|
155
|
-
</button>
|
|
156
|
-
|
|
157
|
-
{isPinnedExpanded && (
|
|
158
|
-
<div className="py-1 pl-4 flex flex-col gap-1">
|
|
159
|
-
{pinnedAgentsList.map((agent) => (
|
|
160
|
-
<AgentCard
|
|
161
|
-
key={agent.name}
|
|
162
|
-
agent={agent}
|
|
163
|
-
isSelected={agent.name === selectedAgent}
|
|
164
|
-
compact={compact}
|
|
165
|
-
isPinned={true}
|
|
166
|
-
isMaxPinned={isMaxPinned}
|
|
167
|
-
onClick={onAgentSelect}
|
|
168
|
-
onMessageClick={onAgentMessage}
|
|
169
|
-
onReleaseClick={onReleaseClick}
|
|
170
|
-
onLogsClick={onLogsClick}
|
|
171
|
-
onProfileClick={onProfileClick}
|
|
172
|
-
onPinToggle={onPinToggle}
|
|
173
|
-
/>
|
|
174
|
-
))}
|
|
175
|
-
</div>
|
|
176
|
-
)}
|
|
177
|
-
</div>
|
|
178
|
-
)}
|
|
179
|
-
|
|
180
|
-
{groups.map((group) => (
|
|
181
|
-
<AgentGroupComponent
|
|
182
|
-
key={group.prefix}
|
|
183
|
-
group={group}
|
|
184
|
-
isExpanded={expandedGroups.has(group.prefix)}
|
|
185
|
-
selectedAgent={selectedAgent}
|
|
186
|
-
compact={compact}
|
|
187
|
-
showStats={showGroupStats}
|
|
188
|
-
pinnedAgents={pinnedAgents}
|
|
189
|
-
isMaxPinned={isMaxPinned}
|
|
190
|
-
onToggle={() => toggleGroup(group.prefix)}
|
|
191
|
-
onAgentSelect={onAgentSelect}
|
|
192
|
-
onAgentMessage={onAgentMessage}
|
|
193
|
-
onReleaseClick={onReleaseClick}
|
|
194
|
-
onLogsClick={onLogsClick}
|
|
195
|
-
onProfileClick={onProfileClick}
|
|
196
|
-
onPinToggle={onPinToggle}
|
|
197
|
-
/>
|
|
198
|
-
))}
|
|
199
|
-
</div>
|
|
200
|
-
);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
interface AgentGroupComponentProps {
|
|
204
|
-
group: AgentGroup;
|
|
205
|
-
isExpanded: boolean;
|
|
206
|
-
selectedAgent?: string;
|
|
207
|
-
compact?: boolean;
|
|
208
|
-
showStats?: boolean;
|
|
209
|
-
pinnedAgents?: string[];
|
|
210
|
-
isMaxPinned?: boolean;
|
|
211
|
-
onToggle: () => void;
|
|
212
|
-
onAgentSelect?: (agent: Agent) => void;
|
|
213
|
-
onAgentMessage?: (agent: Agent) => void;
|
|
214
|
-
onReleaseClick?: (agent: Agent) => void;
|
|
215
|
-
onLogsClick?: (agent: Agent) => void;
|
|
216
|
-
onProfileClick?: (agent: Agent) => void;
|
|
217
|
-
onPinToggle?: (agent: Agent) => void;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
function AgentGroupComponent({
|
|
221
|
-
group,
|
|
222
|
-
isExpanded,
|
|
223
|
-
selectedAgent,
|
|
224
|
-
compact,
|
|
225
|
-
showStats,
|
|
226
|
-
pinnedAgents = [],
|
|
227
|
-
isMaxPinned = false,
|
|
228
|
-
onToggle,
|
|
229
|
-
onAgentSelect,
|
|
230
|
-
onAgentMessage,
|
|
231
|
-
onReleaseClick,
|
|
232
|
-
onLogsClick,
|
|
233
|
-
onProfileClick,
|
|
234
|
-
onPinToggle,
|
|
235
|
-
}: AgentGroupComponentProps) {
|
|
236
|
-
const stats = showStats ? getGroupStats(group.agents) : null;
|
|
237
|
-
|
|
238
|
-
// Check if this is a "solo" agent - single agent in group where name matches prefix
|
|
239
|
-
// (e.g., "Lead" agent with no team set creates a "lead" group)
|
|
240
|
-
const isSoloAgent =
|
|
241
|
-
group.agents.length === 1 &&
|
|
242
|
-
group.agents[0].name.toLowerCase() === group.prefix.toLowerCase();
|
|
243
|
-
|
|
244
|
-
// For solo agents, render just the card without a group header
|
|
245
|
-
if (isSoloAgent) {
|
|
246
|
-
const agent = group.agents[0];
|
|
247
|
-
return (
|
|
248
|
-
<div className="mb-1 py-1 px-2">
|
|
249
|
-
<AgentCard
|
|
250
|
-
key={agent.name}
|
|
251
|
-
agent={agent}
|
|
252
|
-
isSelected={agent.name === selectedAgent}
|
|
253
|
-
compact={compact}
|
|
254
|
-
isPinned={pinnedAgents.includes(agent.name)}
|
|
255
|
-
isMaxPinned={isMaxPinned}
|
|
256
|
-
onClick={onAgentSelect}
|
|
257
|
-
onMessageClick={onAgentMessage}
|
|
258
|
-
onReleaseClick={onReleaseClick}
|
|
259
|
-
onLogsClick={onLogsClick}
|
|
260
|
-
onProfileClick={onProfileClick}
|
|
261
|
-
onPinToggle={onPinToggle}
|
|
262
|
-
/>
|
|
263
|
-
</div>
|
|
264
|
-
);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
return (
|
|
268
|
-
<div className="mb-1">
|
|
269
|
-
<button
|
|
270
|
-
className="flex items-center gap-2 w-full py-2 px-3 bg-transparent border-none cursor-pointer text-sm text-left rounded transition-colors duration-200 relative hover:bg-[var(--group-light)]"
|
|
271
|
-
onClick={onToggle}
|
|
272
|
-
style={{
|
|
273
|
-
'--group-color': group.color.primary,
|
|
274
|
-
'--group-light': group.color.light,
|
|
275
|
-
} as React.CSSProperties}
|
|
276
|
-
>
|
|
277
|
-
<div
|
|
278
|
-
className="absolute left-0 top-1 bottom-1 w-[3px] rounded-sm"
|
|
279
|
-
style={{ backgroundColor: group.color.primary }}
|
|
280
|
-
/>
|
|
281
|
-
<ChevronIcon expanded={isExpanded} />
|
|
282
|
-
<span className="font-semibold text-text-primary">{group.displayName}</span>
|
|
283
|
-
<span className="text-text-muted font-normal">({group.agents.length})</span>
|
|
284
|
-
|
|
285
|
-
{showStats && stats && (
|
|
286
|
-
<div className="ml-auto flex gap-2">
|
|
287
|
-
{stats.online > 0 && (
|
|
288
|
-
<span className="flex items-center gap-1 text-xs text-text-muted" title={`${stats.online} agent${stats.online > 1 ? 's' : ''} online`}>
|
|
289
|
-
<span className="w-1.5 h-1.5 rounded-full" style={{ backgroundColor: STATUS_COLORS.online }} />
|
|
290
|
-
{stats.online}
|
|
291
|
-
</span>
|
|
292
|
-
)}
|
|
293
|
-
{stats.needsAttention > 0 && (
|
|
294
|
-
<span className="flex items-center gap-1 text-xs text-text-muted" title={`${stats.needsAttention} agent${stats.needsAttention > 1 ? 's' : ''} need${stats.needsAttention === 1 ? 's' : ''} attention`}>
|
|
295
|
-
<span className="w-1.5 h-1.5 rounded-full" style={{ backgroundColor: STATUS_COLORS.attention }} />
|
|
296
|
-
{stats.needsAttention}
|
|
297
|
-
</span>
|
|
298
|
-
)}
|
|
299
|
-
</div>
|
|
300
|
-
)}
|
|
301
|
-
</button>
|
|
302
|
-
|
|
303
|
-
{isExpanded && (
|
|
304
|
-
<div className="py-1 pl-4 flex flex-col gap-1">
|
|
305
|
-
{group.agents.map((agent) => (
|
|
306
|
-
<AgentCard
|
|
307
|
-
key={agent.name}
|
|
308
|
-
agent={agent}
|
|
309
|
-
isSelected={agent.name === selectedAgent}
|
|
310
|
-
compact={compact}
|
|
311
|
-
displayNameOverride={getAgentDisplayName(agent.name)}
|
|
312
|
-
isPinned={pinnedAgents.includes(agent.name)}
|
|
313
|
-
isMaxPinned={isMaxPinned}
|
|
314
|
-
onClick={onAgentSelect}
|
|
315
|
-
onMessageClick={onAgentMessage}
|
|
316
|
-
onReleaseClick={onReleaseClick}
|
|
317
|
-
onLogsClick={onLogsClick}
|
|
318
|
-
onProfileClick={onProfileClick}
|
|
319
|
-
onPinToggle={onPinToggle}
|
|
320
|
-
/>
|
|
321
|
-
))}
|
|
322
|
-
</div>
|
|
323
|
-
)}
|
|
324
|
-
</div>
|
|
325
|
-
);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
function ChevronIcon({ expanded }: { expanded: boolean }) {
|
|
329
|
-
return (
|
|
330
|
-
<svg
|
|
331
|
-
className={`text-text-muted transition-transform duration-200 ${expanded ? 'rotate-90' : ''}`}
|
|
332
|
-
width="16"
|
|
333
|
-
height="16"
|
|
334
|
-
viewBox="0 0 24 24"
|
|
335
|
-
fill="none"
|
|
336
|
-
stroke="currentColor"
|
|
337
|
-
strokeWidth="2"
|
|
338
|
-
>
|
|
339
|
-
<polyline points="9 18 15 12 9 6" />
|
|
340
|
-
</svg>
|
|
341
|
-
);
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
function EmptyIcon() {
|
|
345
|
-
return (
|
|
346
|
-
<svg
|
|
347
|
-
className="mb-3 opacity-50"
|
|
348
|
-
width="48"
|
|
349
|
-
height="48"
|
|
350
|
-
viewBox="0 0 24 24"
|
|
351
|
-
fill="none"
|
|
352
|
-
stroke="currentColor"
|
|
353
|
-
strokeWidth="1"
|
|
354
|
-
>
|
|
355
|
-
<circle cx="12" cy="8" r="5" />
|
|
356
|
-
<path d="M20 21a8 8 0 1 0-16 0" />
|
|
357
|
-
</svg>
|
|
358
|
-
);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
function SearchIcon() {
|
|
362
|
-
return (
|
|
363
|
-
<svg
|
|
364
|
-
className="mb-3 opacity-50"
|
|
365
|
-
width="48"
|
|
366
|
-
height="48"
|
|
367
|
-
viewBox="0 0 24 24"
|
|
368
|
-
fill="none"
|
|
369
|
-
stroke="currentColor"
|
|
370
|
-
strokeWidth="1"
|
|
371
|
-
>
|
|
372
|
-
<circle cx="11" cy="11" r="8" />
|
|
373
|
-
<line x1="21" y1="21" x2="16.65" y2="16.65" />
|
|
374
|
-
</svg>
|
|
375
|
-
);
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
function PinnedChevronIcon({ expanded }: { expanded: boolean }) {
|
|
379
|
-
return (
|
|
380
|
-
<svg
|
|
381
|
-
className={`text-amber-400 transition-transform duration-200 ${expanded ? 'rotate-90' : ''}`}
|
|
382
|
-
width="16"
|
|
383
|
-
height="16"
|
|
384
|
-
viewBox="0 0 24 24"
|
|
385
|
-
fill="none"
|
|
386
|
-
stroke="currentColor"
|
|
387
|
-
strokeWidth="2"
|
|
388
|
-
>
|
|
389
|
-
<polyline points="9 18 15 12 9 6" />
|
|
390
|
-
</svg>
|
|
391
|
-
);
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
function PinHeaderIcon() {
|
|
395
|
-
return (
|
|
396
|
-
<svg
|
|
397
|
-
width="14"
|
|
398
|
-
height="14"
|
|
399
|
-
viewBox="0 0 24 24"
|
|
400
|
-
fill="currentColor"
|
|
401
|
-
stroke="currentColor"
|
|
402
|
-
strokeWidth="2"
|
|
403
|
-
strokeLinecap="round"
|
|
404
|
-
strokeLinejoin="round"
|
|
405
|
-
className="text-amber-400"
|
|
406
|
-
>
|
|
407
|
-
<path d="M12 17v5" />
|
|
408
|
-
<path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4.76Z" />
|
|
409
|
-
</svg>
|
|
410
|
-
);
|
|
411
|
-
}
|