diff --git a/apps/mobile/src/components/agents/platform-filter-modal.tsx b/apps/mobile/src/components/agents/platform-filter-modal.tsx index 2437e892e..007195c25 100644 --- a/apps/mobile/src/components/agents/platform-filter-modal.tsx +++ b/apps/mobile/src/components/agents/platform-filter-modal.tsx @@ -7,7 +7,15 @@ import { Text } from '@/components/ui/text'; import { useThemeColors } from '@/lib/hooks/use-theme-colors'; import { cn } from '@/lib/utils'; -const PLATFORM_FILTERS = ['cloud-agent', 'extension', 'cli', 'slack', 'other'] as const; +const PLATFORM_FILTERS = [ + 'cloud-agent', + 'extension', + 'cli', + 'slack', + 'github', + 'linear', + 'other', +] as const; const chipScrollContentStyle = { paddingHorizontal: 22, paddingVertical: 8, gap: 8 }; export type ProjectFilterOption = { @@ -54,6 +62,12 @@ function platformFilterLabel(p: string): string { case 'slack': { return 'Slack'; } + case 'github': { + return 'GitHub'; + } + case 'linear': { + return 'Linear'; + } case 'other': { return 'Other'; } diff --git a/apps/web/src/components/cloud-agent-next/ChatSidebar.tsx b/apps/web/src/components/cloud-agent-next/ChatSidebar.tsx index 01a1a9103..96f377d05 100644 --- a/apps/web/src/components/cloud-agent-next/ChatSidebar.tsx +++ b/apps/web/src/components/cloud-agent-next/ChatSidebar.tsx @@ -275,7 +275,15 @@ function SessionRow({ ); } -const PLATFORM_FILTERS = ['cloud-agent', 'extension', 'cli', 'slack', 'other'] as const; +const PLATFORM_FILTERS = [ + 'cloud-agent', + 'extension', + 'cli', + 'slack', + 'github', + 'linear', + 'other', +] as const; function platformFilterLabel(p: string): string { switch (p) { @@ -287,6 +295,10 @@ function platformFilterLabel(p: string): string { return 'CLI'; case 'slack': return 'Slack'; + case 'github': + return 'GitHub'; + case 'linear': + return 'Linear'; case 'other': return 'Other'; default: diff --git a/apps/web/src/components/cloud-agent/SessionsList.tsx b/apps/web/src/components/cloud-agent/SessionsList.tsx index a34f51f87..3c9dd9727 100644 --- a/apps/web/src/components/cloud-agent/SessionsList.tsx +++ b/apps/web/src/components/cloud-agent/SessionsList.tsx @@ -78,6 +78,20 @@ export function SessionsList({ Slack ); + } else if (platform === 'github') { + badge = ( + + + GitHub + + ); + } else if (platform === 'linear') { + badge = ( + + + Linear + + ); } else { // Default to Extension badge for unknown, vscode, etc. badge = ( diff --git a/apps/web/src/routers/cli-sessions-router.ts b/apps/web/src/routers/cli-sessions-router.ts index 65bdc7af4..da35febf8 100644 --- a/apps/web/src/routers/cli-sessions-router.ts +++ b/apps/web/src/routers/cli-sessions-router.ts @@ -49,6 +49,8 @@ export const KNOWN_PLATFORMS = [ 'agent-manager', 'app-builder', 'slack', + 'github', + 'linear', 'gastown', ] as const;