From 47a26536c80ad1a478d967de2d2435b2f86dbf86 Mon Sep 17 00:00:00 2001 From: Theodore Li Date: Fri, 17 Apr 2026 13:03:14 -0700 Subject: [PATCH 1/2] Add pics and videos for mothership --- apps/docs/components/ui/video.tsx | 6 ++++++ apps/docs/content/docs/en/copilot/index.mdx | 3 ++- .../docs/content/docs/en/mothership/files.mdx | 17 ++++++++--------- .../docs/content/docs/en/mothership/index.mdx | 9 +++++++-- .../content/docs/en/mothership/knowledge.mdx | 5 +++-- .../content/docs/en/mothership/research.mdx | 5 +++-- .../content/docs/en/mothership/tables.mdx | 4 ++-- .../docs/content/docs/en/mothership/tasks.mdx | 5 +++-- .../content/docs/en/mothership/workflows.mdx | 12 ++++-------- .../static/mothership/chart-example.png | Bin 0 -> 575796 bytes .../static/mothership/image-example.png | Bin 0 -> 1868225 bytes .../public/static/mothership/pptx-example.png | Bin 0 -> 743042 bytes .../static/mothership/scheduled-task.png | Bin 0 -> 274169 bytes .../static/mothership/table-example.png | Bin 0 -> 473337 bytes 14 files changed, 38 insertions(+), 28 deletions(-) create mode 100644 apps/docs/public/static/mothership/chart-example.png create mode 100644 apps/docs/public/static/mothership/image-example.png create mode 100644 apps/docs/public/static/mothership/pptx-example.png create mode 100644 apps/docs/public/static/mothership/scheduled-task.png create mode 100644 apps/docs/public/static/mothership/table-example.png diff --git a/apps/docs/components/ui/video.tsx b/apps/docs/components/ui/video.tsx index d34e3b71b08..034bb395d74 100644 --- a/apps/docs/components/ui/video.tsx +++ b/apps/docs/components/ui/video.tsx @@ -12,6 +12,8 @@ interface VideoProps { muted?: boolean playsInline?: boolean enableLightbox?: boolean + width?: number + height?: number } export function Video({ @@ -22,6 +24,8 @@ export function Video({ muted = true, playsInline = true, enableLightbox = true, + width, + height, }: VideoProps) { const [isLightboxOpen, setIsLightboxOpen] = useState(false) @@ -38,6 +42,8 @@ export function Video({ loop={loop} muted={muted} playsInline={playsInline} + width={width} + height={height} className={`${className} ${enableLightbox ? 'cursor-pointer transition-opacity hover:opacity-95' : ''}`} src={getAssetUrl(src)} onClick={handleVideoClick} diff --git a/apps/docs/content/docs/en/copilot/index.mdx b/apps/docs/content/docs/en/copilot/index.mdx index 3ea5a152925..81f6dfe6a62 100644 --- a/apps/docs/content/docs/en/copilot/index.mdx +++ b/apps/docs/content/docs/en/copilot/index.mdx @@ -5,6 +5,7 @@ description: Your per-workflow AI assistant for building and editing workflows. import { Callout } from 'fumadocs-ui/components/callout' import { Image } from '@/components/ui/image' +import { Video } from '@/components/ui/video' import { FAQ } from '@/components/ui/faq' Copilot is the AI assistant built into every workflow editor. It is scoped to the workflow you have open — it reads the current structure, makes changes directly, and saves checkpoints so you can revert if needed. @@ -15,7 +16,7 @@ For workspace-wide tasks (managing multiple workflows, running research, working Copilot is a Sim-managed service. For self-hosted deployments, go to [sim.ai](https://sim.ai) → Settings → Copilot, generate a Copilot API key, then set `COPILOT_API_KEY` in your self-hosted environment. -{/* TODO: Screenshot of the workflow editor with the Copilot panel open on the right side — showing a conversation with a workflow change applied. Ideally shows a message from the user, a response from Copilot, and the checkpoint icon visible on the message. */} +