You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b970af9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/activity-viewport.tsx
+15-31Lines changed: 15 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
'use client'
2
2
3
-
import { type ReactNode, useEffect, useLayoutEffect, useRef, useState } from 'react'
4
-
import { cn } from '@sim/emcn'
3
+
import { type ReactNode, useEffect, useLayoutEffect, useRef } from 'react'
4
+
import { cn, scrollFadeAttributes, scrollFadeClass, useScrollEdges } from '@sim/emcn'
5
5
6
6
interface ActivityViewportProps {
7
7
children: ReactNode
@@ -21,7 +21,7 @@ export function ActivityViewport({
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/agent-group-view.tsx
+16-40Lines changed: 16 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
1
'use client'
2
2
3
-
import { type ComponentType, type ReactNode, useId, useMemo, useState } from 'react'
4
-
import { ChevronDown, cn, Expandable, ExpandableContent } from '@sim/emcn'
3
+
import { type ComponentType, type ReactNode, useMemo, useState } from 'react'
5
4
import { ActivityStatus } from '@/components/ui/activity-status'
6
5
import { isBrowserAgentAvailable } from '@/lib/browser-agent/transport'
7
6
import { RETIRED_BROWSER_REQUEST_TAKEOVER_ID } from '@/lib/copilot/tools/retired-tools'
8
-
import { ActivityViewport } from '@/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/activity-viewport'
7
+
import { ActivityDisclosure } from '@/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/activity-disclosure'
9
8
import { BrowserAgentIcon } from '@/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/browser-agent-icon'
10
9
import { renderInlineMarkdown } from '@/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/inline-markdown'
11
10
import { MainAgentActivity } from '@/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/main-agent-activity'
@@ -77,7 +76,6 @@ function collectGroupTools(items: AgentGroupItem[]): ToolCallData[] {
77
76
function hasPendingInteraction(items: AgentGroupItem[]): boolean {
78
77
return items.some((item) => {
79
78
if (item.type === 'tool') return needsToolInput(item.data)
80
-
// Text rows carry no tool calls, so only nested groups need recursing into.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/agent-group.test.ts
0 commit comments