moi-computer 0.0.3 → 0.1.1
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/README.md +2 -2
- package/bunfig.toml +4 -0
- package/client/api/workspaces.ts +277 -6
- package/client/assets/mcp/agentation.png +0 -0
- package/client/assets/mcp/airtable.png +0 -0
- package/client/assets/mcp/apollo.png +0 -0
- package/client/assets/mcp/asana.png +0 -0
- package/client/assets/mcp/box.png +0 -0
- package/client/assets/mcp/chrome.svg +33 -0
- package/client/assets/mcp/clickup.png +0 -0
- package/client/assets/mcp/cloudflare.png +0 -0
- package/client/assets/mcp/context7.png +0 -0
- package/client/assets/mcp/datadog.png +0 -0
- package/client/assets/mcp/dropbox.png +0 -0
- package/client/assets/mcp/elevenlabs.png +0 -0
- package/client/assets/mcp/exa.png +0 -0
- package/client/assets/mcp/firecrawl.png +0 -0
- package/client/assets/mcp/gmail.png +0 -0
- package/client/assets/mcp/googlecalendar.png +0 -0
- package/client/assets/mcp/googledrive.png +0 -0
- package/client/assets/mcp/grafana.png +0 -0
- package/client/assets/mcp/huggingface.png +0 -0
- package/client/assets/mcp/intercom.png +0 -0
- package/client/assets/mcp/monday.png +0 -0
- package/client/assets/mcp/mongodb.png +0 -0
- package/client/assets/mcp/paper.png +0 -0
- package/client/assets/mcp/paypal.png +0 -0
- package/client/assets/mcp/perplexity.png +0 -0
- package/client/assets/mcp/postgresql.png +0 -0
- package/client/assets/mcp/posthog.png +0 -0
- package/client/assets/mcp/puppeteer.png +0 -0
- package/client/assets/mcp/railway.png +0 -0
- package/client/assets/mcp/redis.png +0 -0
- package/client/assets/mcp/salesforce.png +0 -0
- package/client/assets/mcp/shopify.png +0 -0
- package/client/assets/mcp/snowflake.png +0 -0
- package/client/assets/mcp/telegram.png +0 -0
- package/client/assets/mcp/twilio.png +0 -0
- package/client/assets/mcp/zapier.png +0 -0
- package/client/components/App.tsx +7 -1
- package/client/components/ChatInput.tsx +194 -13
- package/client/components/ChatPanel.tsx +116 -47
- package/client/components/ChatPopup.tsx +1 -1
- package/client/components/IconMcp.tsx +21 -0
- package/client/components/McpMenu.tsx +125 -0
- package/client/components/ModelPicker.tsx +147 -0
- package/client/components/Scratchpad.tsx +775 -0
- package/client/components/ShimmerText.tsx +20 -0
- package/client/components/ThreadSelector.tsx +2 -2
- package/client/components/TurnView.tsx +111 -531
- package/client/components/WidgetShell.tsx +1 -1
- package/client/components/WorkspacesPage.tsx +12 -4
- package/client/components/layout/SidebarLayout.tsx +18 -9
- package/client/components/playground/ToolCallsPage.tsx +81 -0
- package/client/components/routes/workspace/[id].tsx +534 -141
- package/client/components/routes/workspace/create.tsx +155 -0
- package/client/components/settings/IconPicker.tsx +590 -0
- package/client/components/settings/SettingsPages.tsx +307 -0
- package/client/components/settings/WorkspaceSettings.tsx +92 -0
- package/client/components/tool-group/CodeBlock.tsx +41 -0
- package/client/components/tool-group/Collapse.tsx +28 -0
- package/client/components/tool-group/ReadImagePreview.tsx +46 -0
- package/client/components/tool-group/SubagentCard.tsx +135 -0
- package/client/components/tool-group/TimelineRow.tsx +147 -0
- package/client/components/tool-group/ToolCallGroup.tsx +231 -0
- package/client/components/tool-group/ToolOutput.tsx +139 -0
- package/client/components/tool-group/detect.ts +93 -0
- package/client/components/tool-group/fixtures.ts +315 -0
- package/client/components/tool-group/format.ts +211 -0
- package/client/components/tool-group/index.ts +9 -0
- package/client/components/ui/dialog.tsx +58 -0
- package/client/components/ui/hover-card.tsx +44 -0
- package/client/components/ui/switch.tsx +23 -0
- package/client/components/ui/tooltip.tsx +54 -0
- package/client/externalize-react.ts +6 -0
- package/client/hooks/useApplet.ts +117 -0
- package/client/hooks/useChat.ts +162 -62
- package/client/hooks/useMeiEvents.ts +9 -2
- package/client/hooks/useStickToBottom.ts +86 -0
- package/client/hooks/useWorkspaceTheme.ts +8 -2
- package/client/index.css +48 -2
- package/client/index.html +9 -5
- package/client/index.tsx +29 -2
- package/client/lib/WorkspaceContext.tsx +5 -8
- package/client/lib/WorkspaceLayoutContext.tsx +30 -10
- package/client/lib/applet-cache.ts +54 -0
- package/client/lib/connection.ts +237 -0
- package/client/lib/flags.ts +10 -0
- package/client/lib/mcp-icons.ts +142 -10
- package/client/lib/preview-turn.ts +37 -0
- package/client/lib/render-icon.ts +173 -0
- package/client/lib/scratch-executor.ts +20 -0
- package/client/lib/uploads.ts +18 -0
- package/client/main.tsx +5 -0
- package/client/store/live.ts +282 -0
- package/client/structured-clone-shim.ts +14 -0
- package/client/theme.css +2 -2
- package/client/vendor/emojibase/en/data.json +1 -0
- package/client/vendor/emojibase/en/messages.json +1 -0
- package/client/vendor/react/development/_impl/react-dom-client.js +15871 -0
- package/client/vendor/react/development/_impl/react-dom.js +223 -0
- package/client/vendor/react/development/_impl/react-jsx-dev-runtime.js +256 -0
- package/client/vendor/react/development/_impl/react-jsx-runtime.js +260 -0
- package/client/vendor/react/development/_impl/react.js +863 -0
- package/client/vendor/react/development/react-dom-client.js +6 -0
- package/client/vendor/react/development/react-dom.js +17 -0
- package/client/vendor/react/development/react-jsx-dev-runtime.js +5 -0
- package/client/vendor/react/development/react-jsx-runtime.js +6 -0
- package/client/vendor/react/development/react.js +47 -0
- package/client/vendor/react/production/_impl/react-dom-client.js +10361 -0
- package/client/vendor/react/production/_impl/react-dom.js +184 -0
- package/client/vendor/react/production/_impl/react-jsx-dev-runtime.js +37 -0
- package/client/vendor/react/production/_impl/react-jsx-runtime.js +60 -0
- package/client/vendor/react/production/_impl/react.js +428 -0
- package/client/vendor/react/production/react-dom-client.js +6 -0
- package/client/vendor/react/production/react-dom.js +17 -0
- package/client/vendor/react/production/react-jsx-dev-runtime.js +5 -0
- package/client/vendor/react/production/react-jsx-runtime.js +6 -0
- package/client/vendor/react/production/react.js +47 -0
- package/dist/agentation-4s0nn45p.png +0 -0
- package/dist/airtable-hsa66v6q.png +0 -0
- package/dist/apollo-2ed5dy2d.png +0 -0
- package/dist/asana-tvgtwbx2.png +0 -0
- package/dist/box-w3n36t5g.png +0 -0
- package/dist/chrome-tspm94rw.svg +33 -0
- package/dist/chunk-kc6e9nd4.css +1 -0
- package/dist/chunk-yf3p7qg7.js +673 -0
- package/dist/clickup-qqrqqvqb.png +0 -0
- package/dist/cloudflare-j9p931v6.png +0 -0
- package/dist/context7-8ht0xjfy.png +0 -0
- package/dist/datadog-70ne3yzt.png +0 -0
- package/dist/dropbox-4m5s9mgr.png +0 -0
- package/dist/elevenlabs-2nzzej1t.png +0 -0
- package/dist/exa-qqj3vr0x.png +0 -0
- package/dist/firecrawl-w2t8nehx.png +0 -0
- package/dist/gmail-sg6a5v3x.png +0 -0
- package/dist/googlecalendar-nqhh2v7r.png +0 -0
- package/dist/googledrive-6s8xyab7.png +0 -0
- package/dist/grafana-1yfsnwr6.png +0 -0
- package/dist/huggingface-kxzaxj83.png +0 -0
- package/dist/index.html +10 -6
- package/dist/intercom-td763jt8.png +0 -0
- package/dist/monday-jdbs4wwf.png +0 -0
- package/dist/mongodb-emzxvhd5.png +0 -0
- package/dist/paper-zbt34fab.png +0 -0
- package/dist/paypal-kwwf7xsc.png +0 -0
- package/dist/perplexity-4y63rxvj.png +0 -0
- package/dist/postgresql-qsspbsr1.png +0 -0
- package/dist/posthog-sphppc4w.png +0 -0
- package/dist/puppeteer-2xjt1a9b.png +0 -0
- package/dist/railway-834de8d2.png +0 -0
- package/dist/redis-spm6w2m1.png +0 -0
- package/dist/salesforce-1mk56v4z.png +0 -0
- package/dist/shopify-90dadaav.png +0 -0
- package/dist/snowflake-hfpykpgy.png +0 -0
- package/dist/telegram-v6tjyrs7.png +0 -0
- package/dist/twilio-dpyjdwpj.png +0 -0
- package/dist/zapier-p67qfch0.png +0 -0
- package/lib/attachment-note.ts +48 -0
- package/lib/claude-adapter.ts +219 -29
- package/lib/format.ts +32 -0
- package/lib/types.ts +314 -6
- package/package.json +11 -5
- package/server/CLAUDE.md +4 -1
- package/server/agent.ts +25 -118
- package/server/api.ts +593 -0
- package/server/applets.ts +396 -0
- package/server/build-applet.ts +580 -0
- package/server/cc-session.ts +611 -0
- package/server/cli-colors.ts +17 -0
- package/server/cli-ui.ts +52 -0
- package/server/cli.ts +965 -73
- package/server/constants.ts +1 -1
- package/server/control.ts +166 -19
- package/server/debug.ts +10 -0
- package/server/events.ts +24 -0
- package/server/functions-worker.ts +18 -2
- package/server/functions.ts +59 -12
- package/server/icon.ts +13 -0
- package/server/layout.ts +25 -3
- package/server/mcp.ts +125 -0
- package/server/moi-scaffold.ts +85 -0
- package/server/openclaw-session.ts +41 -10
- package/server/openclaw.ts +22 -0
- package/server/preview.ts +70 -0
- package/server/registry.ts +32 -2
- package/server/scratchpad-executor.ts +380 -0
- package/server/scratchpad-relay.ts +45 -0
- package/server/scratchpad.ts +171 -0
- package/server/skill-version.ts +146 -0
- package/server/skills-template.ts +6 -1
- package/server/state.ts +22 -36
- package/server/static.ts +23 -0
- package/server/status.ts +94 -0
- package/server/thread-config.ts +125 -0
- package/server/uploads.ts +0 -0
- package/server/vendor.ts +63 -0
- package/server/views.ts +0 -0
- package/server/web.ts +108 -253
- package/server/widgets.ts +52 -142
- package/server/workspace-config.ts +37 -0
- package/server/workspace-env.ts +407 -0
- package/server/workspace-init.ts +66 -0
- package/workspace/.claude/skills/moi-workspace/DESIGN.md +109 -0
- package/workspace/.claude/skills/moi-workspace/SCRATCHPAD.md +57 -0
- package/workspace/.claude/skills/moi-workspace/SKILL.md +252 -0
- package/workspace/.claude/skills/moi-workspace/VIEW-DESIGN.md +22 -0
- package/client/hooks/useWidget.ts +0 -72
- package/client/hooks/useWidgetList.ts +0 -30
- package/client/lib/ws.ts +0 -129
- package/client/store/chat.tsx +0 -162
- package/dist/chunk-4615fa69.js +0 -67
- package/dist/chunk-582xmy05.css +0 -1
- package/server/build-widget.ts +0 -343
- package/workspace/.claude/skills/widgets/DESIGN.md +0 -630
- package/workspace/.claude/skills/widgets/SKILL.md +0 -176
|
@@ -21,19 +21,24 @@ import type { DiscoveredWorkspace, WorkspaceEntry, WorkspaceType } from '@/lib/t
|
|
|
21
21
|
|
|
22
22
|
import { WorkspacePreview } from './WorkspacePreview'
|
|
23
23
|
|
|
24
|
-
const typeIconSrc: Record<WorkspaceType, string> = {
|
|
24
|
+
export const typeIconSrc: Record<WorkspaceType, string> = {
|
|
25
25
|
'claude-code': claudeIcon,
|
|
26
26
|
openclaw: openclawIcon,
|
|
27
27
|
hermes: hermesIcon
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
const typeLabel: Record<WorkspaceType, string> = {
|
|
30
|
+
export const typeLabel: Record<WorkspaceType, string> = {
|
|
31
31
|
'claude-code': 'Claude Code',
|
|
32
32
|
openclaw: 'OpenClaw',
|
|
33
33
|
hermes: 'Hermes'
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
type TypeIconProps = {
|
|
37
|
+
type: WorkspaceType
|
|
38
|
+
className?: string
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function TypeIcon({ type, className }: TypeIconProps) {
|
|
37
42
|
return (
|
|
38
43
|
<img
|
|
39
44
|
src={typeIconSrc[type]}
|
|
@@ -89,7 +94,7 @@ export function WorkspacesPage() {
|
|
|
89
94
|
{count === 0 && discovered.length === 0 && (
|
|
90
95
|
<p className="mb-10 text-sm text-muted-foreground">
|
|
91
96
|
No workspaces yet. Run{' '}
|
|
92
|
-
<code className="rounded bg-muted px-1 py-0.5 font-mono text-xs">moi
|
|
97
|
+
<code className="rounded bg-muted px-1 py-0.5 font-mono text-xs">moi init</code> in a
|
|
93
98
|
project directory.
|
|
94
99
|
</p>
|
|
95
100
|
)}
|
|
@@ -110,6 +115,9 @@ export function WorkspacesPage() {
|
|
|
110
115
|
/>
|
|
111
116
|
))}
|
|
112
117
|
</ul>
|
|
118
|
+
{importMutation.isError && (
|
|
119
|
+
<p className="mt-3 text-xs text-destructive">{importMutation.error.message}</p>
|
|
120
|
+
)}
|
|
113
121
|
</section>
|
|
114
122
|
)}
|
|
115
123
|
</div>
|
|
@@ -3,16 +3,18 @@ import { type ReactNode, useEffect, useState } from 'react'
|
|
|
3
3
|
import { AnimatePresence, motion } from 'motion/react'
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
IconHome2,
|
|
7
7
|
IconLayoutSidebar,
|
|
8
8
|
IconLayoutSidebarLeftCollapse,
|
|
9
9
|
IconLayoutSidebarLeftExpand,
|
|
10
10
|
IconPlus,
|
|
11
11
|
IconSettings
|
|
12
12
|
} from '@tabler/icons-react'
|
|
13
|
+
import { useQueryClient } from '@tanstack/react-query'
|
|
13
14
|
import { Link } from 'wouter'
|
|
14
15
|
|
|
15
|
-
import { useWorkspaces } from '@/client/api/workspaces'
|
|
16
|
+
import { useWorkspaces, workspaceKeys } from '@/client/api/workspaces'
|
|
17
|
+
import { useMeiEvent } from '@/client/hooks/useMeiEvents'
|
|
16
18
|
import claudeIcon from '@/client/assets/claude.svg'
|
|
17
19
|
import hermesIcon from '@/client/assets/hermes-nous.png'
|
|
18
20
|
import openclawIcon from '@/client/assets/openclaw.svg'
|
|
@@ -21,7 +23,7 @@ import { cn } from '@/client/lib/cn'
|
|
|
21
23
|
import { useUiStore } from '@/client/store/ui'
|
|
22
24
|
import type { WorkspaceEntry, WorkspaceType } from '@/lib/types'
|
|
23
25
|
|
|
24
|
-
const PROVIDER_ICON: Record<WorkspaceType, string> = {
|
|
26
|
+
export const PROVIDER_ICON: Record<WorkspaceType, string> = {
|
|
25
27
|
'claude-code': claudeIcon,
|
|
26
28
|
openclaw: openclawIcon,
|
|
27
29
|
hermes: hermesIcon
|
|
@@ -53,6 +55,13 @@ export function SidebarLayout({ children }: SidebarLayoutProps) {
|
|
|
53
55
|
// passed down ready, so they don't re-subscribe/refetch or flicker on collapse.
|
|
54
56
|
const { data: workspaces } = useWorkspaces()
|
|
55
57
|
|
|
58
|
+
// `moi config` / the settings modal broadcast `workspace:updated`; refetch the
|
|
59
|
+
// list so the sidebar reflects new names/icons live.
|
|
60
|
+
const qc = useQueryClient()
|
|
61
|
+
useMeiEvent(e => {
|
|
62
|
+
if (e.type === 'workspace:updated') qc.invalidateQueries({ queryKey: workspaceKeys.all })
|
|
63
|
+
})
|
|
64
|
+
|
|
56
65
|
// Boot-up: on mount the logo runs the noise effect for 0.75s, then settles to
|
|
57
66
|
// the sprite. Kept here (not in the remounting Sidebar) so it fires once.
|
|
58
67
|
const [booting, setBooting] = useState(true)
|
|
@@ -111,7 +120,7 @@ type PanelHeaderProps = {
|
|
|
111
120
|
|
|
112
121
|
export function PanelHeader({ children }: PanelHeaderProps) {
|
|
113
122
|
return (
|
|
114
|
-
<header className="flex h-
|
|
123
|
+
<header className="@container flex h-11 shrink-0 items-center gap-2.5 border-b border-border/75 px-3">
|
|
115
124
|
{children}
|
|
116
125
|
</header>
|
|
117
126
|
)
|
|
@@ -152,7 +161,7 @@ function Sidebar({ collapsed, workspaces, logoEffect }: SidebarProps) {
|
|
|
152
161
|
return (
|
|
153
162
|
<aside className={cn('flex h-full shrink-0 flex-col px-2.5', collapsed ? 'w-[54px]' : 'w-60')}>
|
|
154
163
|
{/* Logo */}
|
|
155
|
-
<div className="mb-3.5 flex h-
|
|
164
|
+
<div className="mb-3.5 flex h-11 items-center px-2">
|
|
156
165
|
<LedLogo
|
|
157
166
|
pixelSize={3}
|
|
158
167
|
gap={0.5}
|
|
@@ -165,7 +174,7 @@ function Sidebar({ collapsed, workspaces, logoEffect }: SidebarProps) {
|
|
|
165
174
|
<nav className="flex flex-col gap-0.5">
|
|
166
175
|
<NavRow
|
|
167
176
|
href="/"
|
|
168
|
-
icon={<
|
|
177
|
+
icon={<IconHome2 size={18} className="shrink-0 text-foreground" />}
|
|
169
178
|
label="Home"
|
|
170
179
|
collapsed={collapsed}
|
|
171
180
|
/>
|
|
@@ -176,7 +185,7 @@ function Sidebar({ collapsed, workspaces, logoEffect }: SidebarProps) {
|
|
|
176
185
|
<div className={cn('flex items-center justify-between pl-2', collapsed && 'invisible')}>
|
|
177
186
|
<span className="text-[13px] font-medium text-muted-foreground">Workspaces</span>
|
|
178
187
|
<Link
|
|
179
|
-
href="/"
|
|
188
|
+
href="/workspace/create"
|
|
180
189
|
aria-label="Add workspace"
|
|
181
190
|
className="flex size-6 items-center justify-center rounded-[6px] border border-border bg-background text-foreground/60 hover:bg-muted hover:text-foreground"
|
|
182
191
|
>
|
|
@@ -191,9 +200,9 @@ function Sidebar({ collapsed, workspaces, logoEffect }: SidebarProps) {
|
|
|
191
200
|
href={`/workspace/${ws.id}`}
|
|
192
201
|
icon={
|
|
193
202
|
<img
|
|
194
|
-
src={PROVIDER_ICON[ws.type ?? 'claude-code']}
|
|
203
|
+
src={ws.icon ?? PROVIDER_ICON[ws.type ?? 'claude-code']}
|
|
195
204
|
alt=""
|
|
196
|
-
className="size-
|
|
205
|
+
className="size-5 shrink-0 rounded-[4px]"
|
|
197
206
|
/>
|
|
198
207
|
}
|
|
199
208
|
label={workspaceLabel(ws)}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { useState } from 'react'
|
|
2
|
+
|
|
3
|
+
import { cn } from '@/client/lib/cn'
|
|
4
|
+
import {
|
|
5
|
+
FIXTURE_CWD,
|
|
6
|
+
liveToolCalls,
|
|
7
|
+
multipleToolCalls,
|
|
8
|
+
singleToolCall,
|
|
9
|
+
subagentDoneTrace,
|
|
10
|
+
subagentTrace,
|
|
11
|
+
ToolCallGroup
|
|
12
|
+
} from '@/client/components/tool-group'
|
|
13
|
+
|
|
14
|
+
const VARIANTS = [
|
|
15
|
+
{ value: 'single', label: 'Single' },
|
|
16
|
+
{ value: 'multiple', label: 'Multiple' },
|
|
17
|
+
{ value: 'live', label: 'Live' },
|
|
18
|
+
{ value: 'subagent', label: 'Subagent' },
|
|
19
|
+
{ value: 'subagent-done', label: 'Subagent done' }
|
|
20
|
+
] as const
|
|
21
|
+
|
|
22
|
+
type Variant = (typeof VARIANTS)[number]['value']
|
|
23
|
+
|
|
24
|
+
type SegmentedProps = {
|
|
25
|
+
value: Variant
|
|
26
|
+
onChange: (value: Variant) => void
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function Segmented({ value, onChange }: SegmentedProps) {
|
|
30
|
+
return (
|
|
31
|
+
<div className="flex gap-1 rounded-lg bg-black/[0.04] p-1">
|
|
32
|
+
{VARIANTS.map(o => (
|
|
33
|
+
<button
|
|
34
|
+
key={o.value}
|
|
35
|
+
type="button"
|
|
36
|
+
onClick={() => onChange(o.value)}
|
|
37
|
+
className={cn(
|
|
38
|
+
'rounded-md px-3 py-1 text-xs transition-colors',
|
|
39
|
+
value === o.value ? 'bg-neutral-900 text-white' : 'text-black/50 hover:text-black/80'
|
|
40
|
+
)}
|
|
41
|
+
>
|
|
42
|
+
{o.label}
|
|
43
|
+
</button>
|
|
44
|
+
))}
|
|
45
|
+
</div>
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Scratch route for iterating on <ToolCallGroup> in isolation. Renders the
|
|
50
|
+
// group inside a chat-width card so it reads like the real transcript.
|
|
51
|
+
const FIXTURES: Record<Variant, typeof singleToolCall> = {
|
|
52
|
+
single: singleToolCall,
|
|
53
|
+
multiple: multipleToolCalls,
|
|
54
|
+
live: liveToolCalls,
|
|
55
|
+
subagent: subagentTrace,
|
|
56
|
+
'subagent-done': subagentDoneTrace
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ToolCallsPage() {
|
|
60
|
+
const [variant, setVariant] = useState<Variant>('multiple')
|
|
61
|
+
|
|
62
|
+
return (
|
|
63
|
+
<div className="flex min-h-dvh flex-col items-center gap-6 bg-[#f2f1ee] px-4 py-16">
|
|
64
|
+
<span className="text-[11px] font-medium tracking-widest text-black/30 uppercase">
|
|
65
|
+
Playground / Tool calls
|
|
66
|
+
</span>
|
|
67
|
+
|
|
68
|
+
<Segmented value={variant} onChange={setVariant} />
|
|
69
|
+
|
|
70
|
+
<div className="w-full max-w-[var(--column-w)] rounded-xl border border-border bg-background p-5 font-sans text-foreground shadow-sm">
|
|
71
|
+
{/* `processing` only matters for the live variant — it turns the trailing
|
|
72
|
+
reasoning into "Thinking" and shows the live running tool spinning. */}
|
|
73
|
+
<ToolCallGroup
|
|
74
|
+
parts={FIXTURES[variant]}
|
|
75
|
+
cwd={FIXTURE_CWD}
|
|
76
|
+
processing={variant === 'live'}
|
|
77
|
+
/>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
)
|
|
81
|
+
}
|