Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

MUL-8523: feat(views): introduce features on their empty pages (#9852)

Jiayuan Zhangb2db446c0a70
diff --git a/packages/views/agents/components/agents-intro.tsx b/packages/views/agents/components/agents-intro.tsx
new file mode 100644
index 0000000000..2d8d785815
--- /dev/null
+++ b/packages/views/agents/components/agents-intro.tsx
@@ -0,0 +1,198 @@
+"use client";
+
+import type { ReactNode } from "react";
+import { Bot, ChevronRight, GitPullRequest, Laptop, Plus, Search } from "@multica/ui/icons";
+import { Button } from "@multica/ui/components/ui/button";
+import { ActorAvatar } from "@multica/ui/components/common/actor-avatar";
+import { formatAvatarEmoji } from "@multica/ui/lib/avatar-emoji";
+import { cn } from "@multica/ui/lib/utils";
+import {
+ FeatureIntro,
+ FeatureIntroCarousel,
+ IntroArtCard,
+ IntroArtTag,
+} from "../../layout/feature-intro";
+import { StatusIcon } from "../../issues/components/status-icon";
+import { ProviderLogo } from "../../runtimes/components/provider-logo";
+import { useT } from "../../i18n";
+
+const TURING = { name: "Turing", initials: "T", avatarUrl: formatAvatarEmoji("🧩"), isAgent: true };
+const KEPLER = { name: "Kepler", initials: "K", avatarUrl: formatAvatarEmoji("🔭"), isAgent: true };
+const MIA = { name: "Mia", initials: "M" };
+const MACHINE = "studio-mbp";
+const HARNESS = "Claude Code";
+const MODEL = "Sonnet 4.5";
+const ISSUE_ID = "MUL-142";
+const PR_TITLE = "#284 fix(pricing): mobile layout";
+const SOURCE_FILE = "pricing-card.tsx";
+const TEST_RUN = "pnpm test pricing ✓ 12 passed";
+
+export function AgentsIntro({
+ onCreate,
+ checklist,
+}: {
+ onCreate: () => void;
+ checklist?: ReactNode;
+}) {
+ const { t } = useT("agents");
+
+ return (
+ <FeatureIntro
+ footer={checklist}
+ icon={Bot}
+ label={t(($) => $.page.title)}
+ title={t(($) => $.intro.title)}
+ description={t(($) => $.intro.description)}
+ docs="agents"
+ columns={[
+ t(($) => $.columns.agent),
+ t(($) => $.columns.status),
+ t(($) => $.columns.owner),
+ t(($) => $.columns.runtime),
+ t(($) => $.columns.model),
+ t(($) => $.columns.last_active),
+ ]}
+ action={
+ <Button onClick={onCreate}>
+ <Plus aria-hidden="true" />
+ {t(($) => $.page.new_agent)}
+ </Button>
+ }
+ >
+ <FeatureIntroCarousel
+ label={t(($) => $.intro.title)}
+ slides={[
+ {
+ id: "describe",
+ title: t(($) => $.intro.slides.describe.title),
+ description: t(($) => $.intro.slides.describe.description),
+ art: <DescribeArt />,
+ },
+ {
+ id: "assign",
+ title: t(($) => $.intro.slides.assign.title),
+ description: t(($) => $.intro.slides.assign.description),
+ art: <AssignArt />,
+ },
+ {
+ id: "deliver",
+ title: t(($) => $.intro.slides.deliver.title),
+ description: t(($) => $.intro.slides.deliver.description),
+ art: <DeliverArt />,
+ },
+ ]}
+ />
+ </FeatureIntro>
+ );
+}
+
+function DescribeArt() {
+ const { t } = useT("agents");
+ return (
+ <IntroArtCard className="p-3">
+ <div className="text-body font-medium">
+ {t(($) => $.creation_studio.builder.empty_title)}
+ </div>
+ <div className="mt-2 min-h-14 rounded-md p-2 ring-1 ring-input">
+ {t(($) => $.intro.art.prompt)}
+ <span className="ml-px inline-block h-3 w-px translate-y-0.5 bg-brand" />
+ </div>
+ <div className="mt-2.5 flex flex-wrap items-center gap-1.5">
+ <IntroArtTag>
+ <Laptop className="size-3" />
+ {MACHINE}
+ </IntroArtTag>
+ <IntroArtTag>
+ <ProviderLogo provider="claude" className="size-3" />
+ {HARNESS}
+ </IntroArtTag>
+ <IntroArtTag>{MODEL}</IntroArtTag>
+ </div>
+ </IntroArtCard>
+ );
+}
+
+function OnlineDot() {
+ return <span className="size-1.5 shrink-0 rounded-full bg-success" />;
+}
+
+function AssignArt() {
+ const { t } = useT("agents");
+ const { t: tIssues } = useT("issues");
+ const { t: tRuntimes } = useT("runtimes");
+ const online = tRuntimes(($) => $.health.online.label);
+ const agents = [TURING, KEPLER];
+ return (
+ <div className="flex w-full flex-col">
+ <IntroArtCard>
+ <div className="flex items-center gap-2">
+ <StatusIcon status="todo" className="size-3.5 shrink-0" />
+ <span className="shrink-0 text-muted-foreground tabular-nums">{ISSUE_ID}</span>
+ <span className="truncate font-medium">{t(($) => $.intro.art.issue_title)}</span>
+ </div>
+ </IntroArtCard>
+ <IntroArtCard className="-mt-1 ml-auto w-3/4 p-0 pb-1">
+ <div className="flex items-center gap-1.5 border-b px-2.5 py-1.5 text-muted-foreground">
+ <Search className="size-3" />
+ {tIssues(($) => $.pickers.assignee.search_placeholder)}
+ </div>
+ <div className="px-2.5 pt-1.5 pb-0.5 text-micro text-muted-foreground">
+ {tIssues(($) => $.pickers.assignee.agents_group)}
+ </div>
+ {agents.map((agent, i) => (
+ <div
+ key={agent.name}
+ className={cn("mx-1 flex items-center gap-2 rounded-md px-1.5 py-1", i === 0 && "bg-muted")}
+ >
+ <ActorAvatar {...agent} size="xs" />
+ <span className="flex-1 truncate font-medium">{agent.name}</span>
+ <span className="flex shrink-0 items-center gap-1 text-micro text-muted-foreground">
+ <OnlineDot />
+ {online}
+ </span>
+ </div>
+ ))}
+ <div className="px-2.5 pt-1.5 pb-0.5 text-micro text-muted-foreground">
+ {tIssues(($) => $.pickers.assignee.members_group)}
+ </div>
+ <div className="mx-1 flex items-center gap-2 px-1.5 py-1">
+ <ActorAvatar {...MIA} size="xs" />
+ <span className="truncate font-medium">{MIA.name}</span>
+ </div>
+ </IntroArtCard>
+ </div>
+ );
+}
+
+function DeliverArt() {
+ const { t } = useT("agents");
+ const { t: tCommon } = useT("common");
+ const { t: tIssues } = useT("issues");
+ return (
+ <IntroArtCard className="p-3">
+ <div className="flex items-center gap-2">
+ <ActorAvatar {...TURING} size="sm" />
+ <span className="font-medium">{TURING.name}</span>
+ <span className="text-muted-foreground">· {tCommon(($) => $.time.just_now)}</span>
+ </div>
+ <div className="mt-1.5 pl-7">
+ <p>{t(($) => $.intro.art.comment)}</p>
+ <div className="mt-2 flex items-center gap-1.5 rounded-md bg-muted px-2 py-1.5">
+ <GitPullRequest className="size-3 shrink-0" />
+ <span className="flex-1 truncate font-medium">{PR_TITLE}</span>
+ <span className="shrink-0 font-medium text-success">
+ {tIssues(($) => $.detail.pull_request_merge_ready)}
+ </span>
+ </div>
+ <div className="mt-2 font-mono text-micro text-muted-foreground">
+ {[t(($) => $.intro.art.step_read, { file: SOURCE_FILE }), TEST_RUN].map((step) => (
+ <div key={step} className="flex items-center gap-1">
+ <ChevronRight className="size-3 shrink-0" />
+ <span className="truncate">{step}</span>
+ </div>
+ ))}
+ </div>
+ </div>
+ </IntroArtCard>
+ );
+}
diff --git a/packages/views/agents/components/agents-page.test.tsx b/packages/views/agents/components/agents-page.test.tsx
index a1f566f29a..29f188644a 100644
--- a/packages/views/agents/components/agents-page.test.tsx
+++ b/packages/views/agents/components/agents-page.test.tsx
@@ -68,7 +68,7 @@ vi.mock("@tanstack/react-query", () => ({
if (key === "agent-run-counts") {
return { data: mocks.runCounts, isPending: mocks.runCountsPending };
}
- return { data: [], isLoading: false, isPending: false };
+ return { data: [], isLoading: false, isPending: false, isSuccess: true };
},
useQueryClient: () => ({ invalidateQueries: vi.fn() }),
}));
@@ -345,10 +345,12 @@ describe("AgentsPage listReady gate", () => {
const header = screen.getByRole("banner");
expect(within(header).getByTestId("agent-list-filter")).toBeInTheDocument();
expect(screen.getAllByTestId("skeleton").length).toBeGreaterThan(0);
- expect(screen.queryByText("No agents yet")).not.toBeInTheDocument();
+ expect(
+ screen.queryByRole("heading", { name: "Hire your first AI teammate" }),
+ ).not.toBeInTheDocument();
});
- it("shows the empty state without blocking on auxiliary queries when there are no agents", () => {
+ it("introduces agents without blocking on auxiliary queries when there are none", () => {
mocks.agents = [];
// All auxiliary queries pending — the empty state must not wait on them.
mocks.activity = { byAgent: new Map(), loading: true };
@@ -357,7 +359,17 @@ describe("AgentsPage listReady gate", () => {
renderPage();
- expect(screen.getByText("No agents yet")).toBeInTheDocument();
+ const intro = screen.getByRole("region", { name: "Hire your first AI teammate" });
+ expect(within(intro).getByRole("button", { name: "New agent" })).toBeInTheDocument();
+ expect(within(intro).getByRole("link", { name: /Read the docs/ })).toHaveAttribute(
+ "href",
+ "https://multica.ai/docs/agents",
+ );
+ const steps = within(intro).getByRole("list", { name: "Setup steps" });
+ expect(within(steps).getByRole("link", { name: "Connect" })).toHaveAttribute(
+ "href",
+ "/test-workspace/runtimes",
+ );
expect(screen.queryByTestId("skeleton")).not.toBeInTheDocument();
});
});
diff --git a/packages/views/agents/components/agents-page.tsx b/packages/views/agents/components/agents-page.tsx
index 5f62b176b7..908b25f982 100644
--- a/packages/views/agents/components/agents-page.tsx
+++ b/packages/views/agents/components/agents-page.tsx
@@ -5,7 +5,6 @@ import {
AlertCircle,
Bot,
Lock,
- Plus,
} from "@multica/ui/icons";
import { useQuery } from "@tanstack/react-query";
import type {
@@ -176,6 +175,7 @@ export function rowMatchesFilters(
*/
import { isAccessChangeReady } from "@multica/core/agents";
import { AgentBatchToolbar } from "./agent-batch-toolbar";
+import { AgentsIntro } from "./agents-intro";
export { isAccessChangeReady };
export interface AgentsPageProps {
@@ -217,37 +217,6 @@ function ListError({
);
}
-function EmptyState({
- onCreate,
- runtimesLoaded,
- hasRuntime,
- runtimesHref,
-}: {
- onCreate: () => void;
- runtimesLoaded: boolean;
- hasRuntime: boolean;
- runtimesHref: string;
-}) {
- const { t } = useT("agents");
- return (
- <CollectionPageState
- icon={Bot}
- title={t(($) => $.empty.title)}
- description={t(($) => $.empty.description)}
- actions={
- <Button type="button" onClick={onCreate} size="sm">
- <Plus aria-hidden="true" />
- {t(($) => $.page.new_agent)}
- </Button>
- }
- >
- {runtimesLoaded ? (
- <AgentSetupChecklist hasRuntime={hasRuntime} runtimesHref={runtimesHref} />
- ) : null}
- </CollectionPageState>
- );
-}
-
// Cells
function NameCell({ row }: { row: AgentListRow }) {
@@ -770,14 +739,17 @@ export function AgentsPage(_props: AgentsPageProps = {}) {
{listError ? (
<ListError listError={listError} onRetry={() => refetchList()} />
) : showEmpty ? (
- <div className="flex flex-1 items-center justify-center">
- <EmptyState
- onCreate={openCreate}
- runtimesLoaded={runtimesLoaded}
- hasRuntime={runtimes.length > 0}
- runtimesHref={paths.runtimes()}
- />
- </div>
+ <AgentsIntro
+ onCreate={openCreate}
+ checklist={
+ runtimesLoaded ? (
+ <AgentSetupChecklist
+ hasRuntime={runtimes.length > 0}
+ runtimesHref={paths.runtimes()}
+ />
+ ) : null
+ }
+ />
) : (
<CollectionList
label={scopeTitles[scope]}
diff --git a/packages/views/autopilots/components/autopilots-intro.tsx b/packages/views/autopilots/components/autopilots-intro.tsx
new file mode 100644
index 0000000000..f59f84da8c
--- /dev/null
+++ b/packages/views/autopilots/components/autopilots-intro.tsx
@@ -0,0 +1,82 @@
+"use client";
+
+import { CalendarClock, Plus, Zap } from "@multica/ui/icons";
+import { Button } from "@multica/ui/components/ui/button";
+import { FeatureIntro } from "../../layout/feature-intro";
+import { useT } from "../../i18n";
+import { AUTOPILOT_TEMPLATES, type AutopilotTemplate } from "./autopilot-templates";
+import { useDescribeSchedule } from "./schedule-editor/describe";
+
+export function AutopilotsIntro({
+ onCreate,
+}: {
+ onCreate: (template?: AutopilotTemplate) => void;
+}) {
+ const { t } = useT("autopilots");
+ const describeSchedule = useDescribeSchedule();
+
+ return (
+ <FeatureIntro
+ icon={Zap}
+ label={t(($) => $.intro.label)}
+ title={t(($) => $.intro.title)}
+ description={t(($) => $.intro.description)}
+ docs="autopilots"
+ aside="wide"
+ columns={[
+ t(($) => $.page.table.name),
+ t(($) => $.page.table.trigger),
+ t(($) => $.page.table.assignee),
+ t(($) => $.page.table.last_run),
+ t(($) => $.page.table.next_run),
+ t(($) => $.page.table.status),
+ ]}
+ action={
+ <Button onClick={() => onCreate()}>
+ <Plus aria-hidden="true" />
+ {t(($) => $.page.new_autopilot)}
+ </Button>
+ }
+ >
+ <div className="text-caption font-medium text-muted-foreground">
+ {t(($) => $.intro.templates)}
+ </div>
+ <ul
+ aria-label={t(($) => $.intro.templates)}
+ className="mt-3 grid grid-cols-1 gap-3 @lg/intro:grid-cols-2"
+ >
+ {AUTOPILOT_TEMPLATES.map((tpl) => {
+ const Icon = tpl.icon;
+ const schedule = describeSchedule({ ...tpl.schedule, timezone: "UTC", raw: null });
+ return (
+ <li key={tpl.id} className="flex">
+ <button
+ type="button"
+ onClick={() => onCreate(tpl)}
+ className="flex w-full items-start gap-3 rounded-lg bg-surface p-3 text-left shadow-[var(--menu-shadow)] ring-1 ring-surface-border transition-colors hover:bg-surface-hover focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none"
+ >
+ <span className="flex size-8 shrink-0 items-center justify-center rounded-md bg-muted">
+ <Icon aria-hidden="true" className="size-4" />
+ </span>
+ <span className="flex min-w-0 flex-col">
+ <span className="text-body font-medium">
+ {t(($) => $.templates[tpl.id].title)}
+ </span>
+ <span className="mt-0.5 line-clamp-2 text-caption text-muted-foreground">
+ {t(($) => $.templates[tpl.id].summary)}
+ </span>
+ {schedule && (
+ <span className="mt-2 flex items-center gap-1 text-micro text-muted-foreground">
+ <CalendarClock aria-hidden="true" className="size-3 shrink-0" />
+ <span className="truncate">{schedule}</span>
+ </span>
+ )}
+ </span>
+ </button>
+ </li>
+ );
+ })}
+ </ul>
+ </FeatureIntro>
+ );
+}
diff --git a/packages/views/autopilots/components/autopilots-page.test.tsx b/packages/views/autopilots/components/autopilots-page.test.tsx
index bb92c83405..05f62752fa 100644
--- a/packages/views/autopilots/components/autopilots-page.test.tsx
+++ b/packages/views/autopilots/components/autopilots-page.test.tsx
@@ -1,6 +1,6 @@
import { useState } from "react";
import { beforeEach, describe, expect, it, vi } from "vitest";
-import { screen, waitFor } from "@testing-library/react";
+import { screen, waitFor, within } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { api } from "@multica/core/api";
@@ -175,6 +175,22 @@ describe("AutopilotsPage", () => {
await waitFor(() => expect(currentPath).toBe("/ws/autopilots?keep=yes"));
});
+ it("introduces autopilots with templates when there are none", async () => {
+ const user = userEvent.setup();
+ vi.mocked(api.listAutopilots).mockResolvedValue({ autopilots: [], total: 0 });
+ mount();
+
+ const templates = await screen.findByRole("list", { name: "Start from a template" });
+ expect(screen.getByRole("heading", { name: "Let agents start work on their own" })).toBeVisible();
+ expect(within(templates).getAllByRole("button")).toHaveLength(6);
+ expect(within(templates).getByRole("button", { name: /Bug triage/ })).toHaveTextContent(
+ /Mon–Fri/,
+ );
+
+ await user.click(within(templates).getByRole("button", { name: /Bug triage/ }));
+ expect(await screen.findByRole("dialog")).toHaveTextContent("Bug triage");
+ });
+
it("keeps create reachable when the list fails to load", async () => {
vi.mocked(api.listAutopilots).mockRejectedValue(new Error("Autopilots unavailable"));
mount();
diff --git a/packages/views/autopilots/components/autopilots-page.tsx b/packages/views/autopilots/components/autopilots-page.tsx
index fa60d1b771..9c3a005939 100644
--- a/packages/views/autopilots/components/autopilots-page.tsx
+++ b/packages/views/autopilots/components/autopilots-page.tsx
@@ -6,7 +6,6 @@ import {
Clock,
Code,
Pause,
- Plus,
Webhook,
Zap,
} from "@multica/ui/icons";
@@ -56,6 +55,7 @@ import {
} from "./autopilot-list-actions";
import { AUTOPILOT_TEMPLATES, type AutopilotTemplate } from "./autopilot-templates";
import { isWakeupsTab } from "./wakeups-tab";
+import { AutopilotsIntro } from "./autopilots-intro";
import { useLocale, useT, useTimeAgo } from "../../i18n";
// Cells
@@ -514,39 +514,7 @@ function AutopilotList() {
}
/>
) : showEmpty ? (
- <CollectionPageState
- icon={Zap}
- title={t(($) => $.page.empty.title)}
- description={t(($) => $.page.empty.hint)}
- >
- <div className="grid w-full max-w-3xl grid-cols-1 gap-3 text-left sm:grid-cols-2 lg:grid-cols-3">
- {AUTOPILOT_TEMPLATES.map((tpl) => {
- const Icon = tpl.icon;
- return (
- <button
- key={tpl.id}
- type="button"
- className="flex items-start gap-3 rounded-lg border p-3 text-left transition-colors hover:bg-accent/40"
- onClick={() => openCreate(tpl)}
- >
- <Icon className="mt-0.5 h-5 w-5 shrink-0 text-muted-foreground" />
- <div className="min-w-0">
- <div className="text-body font-medium">
- {t(($) => $.templates[tpl.id].title)}
- </div>
- <div className="mt-0.5 line-clamp-2 text-caption text-muted-foreground">
- {t(($) => $.templates[tpl.id].summary)}
- </div>
- </div>
- </button>
- );
- })}
- </div>
- <Button size="sm" variant="outline" onClick={() => openCreate()}>
- <Plus aria-hidden="true" />
- {t(($) => $.page.start_blank)}
- </Button>
- </CollectionPageState>
+ <AutopilotsIntro onCreate={openCreate} />
) : (
<CollectionList
label={scopeLabels[scope]}
diff --git a/packages/views/autopilots/components/wakeups-intro.tsx b/packages/views/autopilots/components/wakeups-intro.tsx
new file mode 100644
index 0000000000..b14892d535
--- /dev/null
+++ b/packages/views/autopilots/components/wakeups-intro.tsx
@@ -0,0 +1,195 @@
+"use client";
+
+import {
+ AlarmClock,
+ CalendarClock,
+ Clock,
+ GitMerge,
+ GitPullRequest,
+ Plus,
+ type IconComponent,
+} from "@multica/ui/icons";
+import { Button } from "@multica/ui/components/ui/button";
+import { ActorAvatar } from "@multica/ui/components/common/actor-avatar";
+import { formatAvatarEmoji } from "@multica/ui/lib/avatar-emoji";
+import { cn } from "@multica/ui/lib/utils";
+import {
+ FeatureIntro,
+ FeatureIntroCarousel,
+ IntroArtCard,
+ IntroArtConnector,
+ IntroArtTag,
+} from "../../layout/feature-intro";
+import { StatusIcon } from "../../issues/components/status-icon";
+import { useLocale, useT } from "../../i18n";
+import { parseCron } from "./schedule-editor/cron-mapping";
+import { useDescribeSchedule } from "./schedule-editor/describe";
+
+const TURING = { name: "Turing", initials: "T", avatarUrl: formatAvatarEmoji("🧩"), isAgent: true };
+const ISSUE_ID = "MUL-219";
+const PR_NUMBER = "#284";
+const WAKE_AT = new Date(2026, 10, 5, 14, 0);
+const WEEKDAYS_AT_NINE = "0 9 * * 1-5";
+
+export function WakeupsIntro({ onCreate }: { onCreate: () => void }) {
+ const { t } = useT("autopilots");
+
+ return (
+ <FeatureIntro
+ icon={AlarmClock}
+ label={t(($) => $.wakeups.title)}
+ title={t(($) => $.wakeups.intro.title)}
+ description={t(($) => $.wakeups.intro.description)}
+ docs="issue-wakeups"
+ columns={[
+ t(($) => $.wakeups.issue),
+ t(($) => $.wakeups.target_agent),
+ t(($) => $.wakeups.source),
+ t(($) => $.wakeups.ends),
+ t(($) => $.wakeups.runs_7d),
+ t(($) => $.wakeups.enabled),
+ ]}
+ action={
+ <Button onClick={onCreate}>
+ <Plus aria-hidden="true" />
+ {t(($) => $.wakeups.create)}
+ </Button>
+ }
+ >
+ <FeatureIntroCarousel
+ label={t(($) => $.wakeups.intro.title)}
+ slides={[
+ {
+ id: "event",
+ title: t(($) => $.wakeups.intro.slides.event.title),
+ description: t(($) => $.wakeups.intro.slides.event.description),
+ art: <EventArt />,
+ },
+ {
+ id: "time",
+ title: t(($) => $.wakeups.intro.slides.time.title),
+ description: t(($) => $.wakeups.intro.slides.time.description),
+ art: <TimeArt />,
+ },
+ {
+ id: "ends",
+ title: t(($) => $.wakeups.intro.slides.ends.title),
+ description: t(($) => $.wakeups.intro.slides.ends.description),
+ art: <EndsArt />,
+ },
+ ]}
+ />
+ </FeatureIntro>
+ );
+}
+
+function EventArt() {
+ const { t } = useT("autopilots");
+ const { t: tIssues } = useT("issues");
+ return (
+ <div className="flex w-full flex-col">
+ <IntroArtCard>
+ <div className="flex items-center gap-2">
+ <StatusIcon status="in_progress" className="size-3.5 shrink-0" />
+ <span className="shrink-0 text-muted-foreground tabular-nums">{ISSUE_ID}</span>
+ <span className="truncate font-medium">{t(($) => $.wakeups.intro.art.issue_inbox)}</span>
+ </div>
+ <div className="mt-2 flex items-center gap-1.5 pl-5.5 text-muted-foreground">
+ <AlarmClock className="size-3 shrink-0" />
+ <span className="truncate">{tIssues(($) => $.wakeups.cond.pr_merged)}</span>
+ <IntroArtTag>
+ <GitMerge className="size-3" />
+ {PR_NUMBER}
+ </IntroArtTag>
+ </div>
+ </IntroArtCard>
+ <IntroArtConnector />
+ <IntroArtCard highlighted>
+ <div className="flex items-center gap-2">
+ <ActorAvatar {...TURING} size="sm" />
+ <span className="font-medium">{TURING.name}</span>
+ <IntroArtTag className="bg-brand/10 text-brand">
+ {tIssues(($) => $.wakeups.triggered_by_wakeup)}
+ </IntroArtTag>
+ </div>
+ <div className="mt-1 pl-7 text-muted-foreground">{t(($) => $.wakeups.intro.art.reply)}</div>
+ </IntroArtCard>
+ </div>
+ );
+}
+
+function TimeArt() {
+ const { t } = useT("autopilots");
+ const locale = useLocale();
+ const describeSchedule = useDescribeSchedule();
+ const rows: { icon: IconComponent; label: string; detail: string }[] = [
+ {
+ icon: GitPullRequest,
+ label: t(($) => $.wakeups.event),
+ detail: t(($) => $.wakeups.intro.art.event_examples),
+ },
+ {
+ icon: Clock,
+ label: t(($) => $.wakeups.at),
+ detail: new Intl.DateTimeFormat(locale, {
+ month: "short",
+ day: "numeric",
+ hour: "2-digit",
+ minute: "2-digit",
+ }).format(WAKE_AT),
+ },
+ {
+ icon: CalendarClock,
+ label: t(($) => $.wakeups.recurring),
+ detail: describeSchedule(parseCron(WEEKDAYS_AT_NINE, "UTC")) ?? WEEKDAYS_AT_NINE,
+ },
+ ];
+ return (
+ <IntroArtCard className="p-1.5">
+ <div className="px-1.5 pt-1 pb-1.5 font-medium text-muted-foreground">
+ {t(($) => $.wakeups.trigger)}
+ </div>
+ {rows.map(({ icon: Icon, label, detail }, i) => (
+ <div
+ key={label}
+ className={cn("flex items-center gap-2 rounded-md px-1.5 py-1.5", i === rows.length - 1 && "bg-muted")}
+ >
+ <span className="flex size-6 shrink-0 items-center justify-center rounded-md bg-surface ring-1 ring-surface-border">
+ <Icon className="size-3.5" />
+ </span>
+ <span className="w-16 shrink-0 truncate font-medium">{label}</span>
+ <span className="truncate text-muted-foreground">{detail}</span>
+ </div>
+ ))}
+ </IntroArtCard>
+ );
+}
+
+function EndsArt() {
+ const { t } = useT("autopilots");
+ const rows = [
+ { id: ISSUE_ID, status: "in_progress", title: t(($) => $.wakeups.intro.art.issue_inbox), ended: false },
+ { id: "MUL-224", status: "in_review", title: t(($) => $.wakeups.intro.art.issue_board), ended: false },
+ { id: "MUL-207", status: "done", title: t(($) => $.wakeups.intro.art.issue_paste), ended: true },
+ ];
+ return (
+ <IntroArtCard className="p-1.5">
+ {rows.map((row, i) => (
+ <div
+ key={row.id}
+ className={cn(
+ "flex items-center gap-2 px-1.5 py-1.5",
+ i > 0 && "border-t",
+ row.ended && "opacity-55",
+ )}
+ >
+ <StatusIcon status={row.status} className="size-3.5 shrink-0" />
+ <span className="flex-1 truncate">{row.title}</span>
+ <IntroArtTag>
+ {row.ended ? t(($) => $.wakeups.issue_closed) : t(($) => $.wakeups.until_issue_ends)}
+ </IntroArtTag>
+ </div>
+ ))}
+ </IntroArtCard>
+ );
+}
diff --git a/packages/views/autopilots/components/workspace-wakeups.test.tsx b/packages/views/autopilots/components/workspace-wakeups.test.tsx
index b6e9fa042c..e7de961f88 100644
--- a/packages/views/autopilots/components/workspace-wakeups.test.tsx
+++ b/packages/views/autopilots/components/workspace-wakeups.test.tsx
@@ -384,3 +384,33 @@ it("opens the create form for the picked issue", async () => {
fireEvent.click(screen.getByRole("button", { name: "Dismiss" }));
expect(onOpenChange).toHaveBeenCalledWith(false);
});
+
+it("introduces wakeups when the workspace has none yet", async () => {
+ const user = userEvent.setup();
+ list.mockResolvedValue({
+ items: [],
+ total: 0,
+ counts: { all: 0, active: 0, paused: 0, disabled: 0, ended: 0 },
+ agents: [],
+ });
+ mount();
+ const intro = await screen.findByRole("region", { name: "Bring agents back at the right moment" });
+ expect(within(intro).getByRole("link", { name: /Read the docs/ })).toHaveAttribute(
+ "href",
+ "https://multica.ai/docs/issue-wakeups",
+ );
+ await user.click(within(intro).getByRole("button", { name: "New wakeup" }));
+ expect(await screen.findByRole("dialog", { name: "Pick issue" })).toBeVisible();
+});
+
+it("keeps the empty list when only the current scope has no wakeups", async () => {
+ list.mockResolvedValue({
+ items: [],
+ total: 0,
+ counts: { all: 2, active: 0, paused: 0, disabled: 0, ended: 2 },
+ agents: [],
+ });
+ mount();
+ expect(await screen.findByText("No matching wakeups")).toBeInTheDocument();
+ expect(screen.queryByRole("region", { name: "Bring agents back at the right moment" })).toBeNull();
+});
diff --git a/packages/views/autopilots/components/workspace-wakeups.tsx b/packages/views/autopilots/components/workspace-wakeups.tsx
index e12d45b499..32ab3b2cc0 100644
--- a/packages/views/autopilots/components/workspace-wakeups.tsx
+++ b/packages/views/autopilots/components/workspace-wakeups.tsx
@@ -68,6 +68,7 @@ import {
useWakeupText,
} from "../../issues/components/wakeup-presentation";
import { wakeupCountsOptions } from "./wakeups-tab";
+import { WakeupsIntro } from "./wakeups-intro";
const SCOPES = ["active", "paused", "disabled", "ended", "all"] as const;
@@ -497,26 +498,21 @@ export function WorkspaceWakeups() {
);
} else if (query.isPending) {
body = <CollectionPageState icon={Clock3} title={t(($) => $.wakeups.loading)} />;
+ } else if (!rows.length && (page?.counts.all ?? 0) === 0 && filterCount === 0) {
+ body = <WakeupsIntro onCreate={() => setCreateOpen(true)} />;
} else if (!rows.length) {
const hasAny = (page?.counts.all ?? 0) > 0;
- body =
- hasAny || filtered ? (
- <CollectionNoMatches
- title={t(($) => $.wakeups.empty_filtered)}
- onReset={
- hasAny
- ? () => change({ scope: "all", kind: "all", source: "", agent_id: "" })
- : undefined
- }
- hasFilters={filtered}
- />
- ) : (
- <CollectionPageState
- icon={AlarmClock}
- title={t(($) => $.wakeups.empty)}
- description={t(($) => $.wakeups.empty_description)}
- />
- );
+ body = (
+ <CollectionNoMatches
+ title={t(($) => $.wakeups.empty_filtered)}
+ onReset={
+ hasAny
+ ? () => change({ scope: "all", kind: "all", source: "", agent_id: "" })
+ : undefined
+ }
+ hasFilters={filtered}
+ />
+ );
} else {
body = (
<CollectionList
diff --git a/packages/views/layout/feature-intro.test.tsx b/packages/views/layout/feature-intro.test.tsx
new file mode 100644
index 0000000000..536c03a4c9
--- /dev/null
+++ b/packages/views/layout/feature-intro.test.tsx
@@ -0,0 +1,92 @@
+import { describe, expect, it } from "vitest";
+import { fireEvent, screen } from "@testing-library/react";
+import userEvent from "@testing-library/user-event";
+import { Users } from "@multica/ui/icons";
+import { renderWithI18n } from "../test/i18n";
+import { FeatureIntro, FeatureIntroCarousel } from "./feature-intro";
+
+const SLIDES = [
+ { id: "one", title: "First idea", description: "First body", art: <div>art one</div> },
+ { id: "two", title: "Second idea", description: "Second body", art: <div>art two</div> },
+ { id: "three", title: "Third idea", description: "Third body", art: <div>art three</div> },
+];
+
+function renderIntro(locale: "en" | "zh-Hans" = "en") {
+ return renderWithI18n(
+ <FeatureIntro
+ icon={Users}
+ label="Squads"
+ title="Work as a team"
+ description="Explains the feature."
+ action={<button type="button">New squad</button>}
+ docs="squads"
+ columns={["Name", "Leader"]}
+ >
+ <FeatureIntroCarousel label="Work as a team" slides={SLIDES} />
+ </FeatureIntro>,
+ { locale },
+ );
+}
+
+function slide(name: string) {
+ return screen.getByText(name).closest("[aria-roledescription='slide']")!;
+}
+
+describe("FeatureIntro", () => {
+ it("names the section by its headline and offers create plus docs", () => {
+ renderIntro();
+
+ expect(screen.getByRole("region", { name: "Work as a team" })).toBeInTheDocument();
+ expect(screen.getByRole("heading", { level: 2, name: "Work as a team" })).toBeInTheDocument();
+ expect(screen.getByRole("button", { name: "New squad" })).toBeInTheDocument();
+ const docs = screen.getByRole("link", { name: "Read the docs" });
+ expect(docs).toHaveAttribute("href", "https://multica.ai/docs/squads");
+ expect(docs).toHaveAttribute("target", "_blank");
+ });
+
+ it("links to the docs in the reader's language", () => {
+ renderIntro("zh-Hans");
+ expect(screen.getByRole("link", { name: "阅读文档" })).toHaveAttribute(
+ "href",
+ "https://multica.ai/docs/zh/squads",
+ );
+ });
+
+ it("keeps the faded list out of the accessibility tree", () => {
+ renderIntro();
+ expect(screen.getByTestId("feature-intro-backdrop")).toHaveAttribute("aria-hidden", "true");
+ });
+
+ it("pages through slides with the arrows and dots", async () => {
+ const user = userEvent.setup();
+ renderIntro();
+
+ const previous = screen.getByRole("button", { name: "Previous" });
+ const next = screen.getByRole("button", { name: "Next" });
+ expect(previous).toBeDisabled();
+ expect(slide("First idea")).not.toHaveAttribute("aria-hidden", "true");
+ expect(slide("Second idea")).toHaveAttribute("aria-hidden", "true");
+
+ await user.click(next);
+ expect(slide("First idea")).toHaveAttribute("aria-hidden", "true");
+ expect(slide("Second idea")).not.toHaveAttribute("aria-hidden", "true");
+ expect(previous).toBeEnabled();
+
+ await user.click(screen.getByRole("button", { name: "Go to slide 3" }));
+ expect(slide("Third idea")).not.toHaveAttribute("aria-hidden", "true");
+ expect(next).toBeDisabled();
+ });
+
+ it("moves between slides with the arrow keys", () => {
+ renderIntro();
+ const carousel = screen.getByRole("region", { name: "Work as a team" }).querySelector(
+ "[aria-roledescription='carousel']",
+ )!;
+
+ fireEvent.keyDown(carousel, { key: "ArrowRight" });
+ expect(slide("Second idea")).not.toHaveAttribute("aria-hidden", "true");
+ fireEvent.keyDown(carousel, { key: "ArrowLeft" });
+ fireEvent.keyDown(carousel, { key: "ArrowLeft" });
+ expect(slide("First idea")).not.toHaveAttribute("aria-hidden", "true");
+ });
+});
diff --git a/packages/views/layout/feature-intro.tsx b/packages/views/layout/feature-intro.tsx
new file mode 100644
index 0000000000..ecd8ca6bbc
--- /dev/null
+++ b/packages/views/layout/feature-intro.tsx
@@ -0,0 +1,378 @@
+"use client";
+
+import {
+ useId,
+ useState,
+ type KeyboardEvent,
+ type ReactNode,
+} from "react";
+import {
+ ArrowLeft,
+ ArrowRight,
+ BookOpen,
+ type IconComponent,
+} from "@multica/ui/icons";
+import { Button, buttonVariants } from "@multica/ui/components/ui/button";
+import { cn } from "@multica/ui/lib/utils";
+import { docsLocalePrefix } from "../common/docs-locale";
+import { useLocale, useT } from "../i18n";
+
+export type FeatureDocsSlug =
+ | "squads"
+ | "projects"
+ | "skills"
+ | "autopilots"
+ | "agents"
+ | "daemon-runtimes"
+ | "issue-wakeups";
+
+export function featureDocsHref(slug: FeatureDocsSlug, language?: string): string {
+ return `https://multica.ai/docs${docsLocalePrefix(language)}/${slug}`;
+}
+
+interface FeatureIntroProps {
+ icon: IconComponent;
+ label: string;
+ title: string;
+ description: string;
+ /** Primary call to action, usually the feature's create flow. */
+ action: ReactNode;
+ docs: FeatureDocsSlug;
+ /** Takes the docs link's place when the page has a more useful next step. */
+ secondaryAction?: ReactNode;
+ /** Extra guidance under the actions, such as a setup checklist. */
+ footer?: ReactNode;
+ /** Column labels for the faded list behind the intro. */
+ columns: string[];
+ /** Wide asides fit a grid of choices instead of a single card. */
+ aside?: "card" | "wide";
+ children: ReactNode;
+}
+
+/**
+ * First-run page for a collection that has nothing in it yet. Replaces the
+ * collection's empty state, so it disappears on its own once the first item
+ * exists and needs no "seen" bookkeeping.
+ */
+export function FeatureIntro({
+ icon: Icon,
+ label,
+ title,
+ description,
+ action,
+ docs,
+ secondaryAction,
+ footer,
+ columns,
+ aside = "card",
+ children,
+}: FeatureIntroProps) {
+ const { t } = useT("layout");
+ const locale = useLocale();
+ const titleId = useId();
+
+ return (
+ <section
+ aria-labelledby={titleId}
+ className="@container/intro relative flex min-h-0 flex-1 flex-col overflow-hidden"
+ >
+ <FeatureIntroBackdrop columns={columns} />
+ <div className="relative flex min-h-0 flex-1 overflow-x-hidden overflow-y-auto">
+ <div
+ className={cn(
+ "m-auto grid w-full max-w-5xl items-center gap-10 px-6 py-12 @3xl/intro:gap-12 @3xl/intro:px-10 @5xl/intro:gap-20",
+ aside === "card"
+ ? "@3xl/intro:grid-cols-[minmax(0,1fr)_minmax(0,22.5rem)]"
+ : "@4xl/intro:grid-cols-[minmax(0,1fr)_minmax(0,30rem)]",
+ )}
+ >
+ <div className="flex max-w-md flex-col items-start">
+ <span className="inline-flex items-center gap-1.5 rounded-full bg-brand/10 px-2.5 py-1 text-caption font-medium text-brand">
+ <Icon aria-hidden="true" className="size-3.5" />
+ {label}
+ </span>
+ <h2
+ id={titleId}
+ className="mt-4 text-title-lg font-semibold text-balance [word-break:auto-phrase] @xl/intro:text-display-sm @5xl/intro:text-display"
+ >
+ {title}
+ </h2>
+ <p className="mt-3 text-body text-muted-foreground @xl/intro:text-body-lg">
+ {description}
+ </p>
+ <div className="mt-6 flex flex-wrap items-center gap-2">
+ {action}
+ {secondaryAction ?? (
+ <a
+ href={featureDocsHref(docs, locale)}
+ target="_blank"
+ rel="noopener noreferrer"
+ className={buttonVariants({ variant: "outline" })}
+ >
+ <BookOpen aria-hidden="true" />
+ {t(($) => $.feature_intro.read_docs)}
+ </a>
+ )}
+ </div>
+ {footer && <div className="mt-6 w-full">{footer}</div>}
+ </div>
+ <div className="min-w-0">{children}</div>
+ </div>
+ </div>
+ </section>
+ );
+}
+
+const BACKDROP_ROWS = 12;
+const BAR_WIDTHS = ["w-40", "w-28", "w-36", "w-24", "w-32", "w-20"];
+
+/** A faded, static copy of the list this page will become. */
+function FeatureIntroBackdrop({ columns }: { columns: string[] }) {
+ const template = {
+ gridTemplateColumns: `minmax(12rem, 2fr) repeat(${Math.max(columns.length - 1, 0)}, minmax(6rem, 1fr))`,
+ };
+ return (
+ <div
+ aria-hidden="true"
+ data-testid="feature-intro-backdrop"
+ className="pointer-events-none absolute inset-0 overflow-hidden px-4 opacity-60 select-none [mask-image:linear-gradient(to_bottom,black,transparent_70%)]"
+ >
+ <div
+ className="grid h-9 items-center gap-4 border-b text-caption text-muted-foreground"
+ style={template}
+ >
+ {columns.map((column) => (
+ <span key={column} className="truncate">
+ {column}
+ </span>
+ ))}
+ </div>
+ {Array.from({ length: BACKDROP_ROWS }, (_, row) => (
+ <div key={row} className="grid h-9 items-center gap-4" style={template}>
+ {columns.map((column, col) => (
+ <span key={column} className="flex items-center gap-2">
+ {col === 0 && <span className="size-5 shrink-0 rounded-md bg-muted" />}
+ <span
+ className={cn(
+ "h-2.5 max-w-full rounded-full bg-muted",
+ col === 0 ? BAR_WIDTHS[row % BAR_WIDTHS.length] : BAR_WIDTHS[(row + col) % BAR_WIDTHS.length],
+ col > 0 && "max-w-16",
+ )}
+ />
+ </span>
+ ))}
+ </div>
+ ))}
+ </div>
+ );
+}
+
+export interface FeatureIntroSlide {
+ id: string;
+ title: string;
+ description: string;
+ art: ReactNode;
+}
+
+/** Manually paged value cards; the next card peeks in from the right. */
+export function FeatureIntroCarousel({
+ label,
+ slides,
+}: {
+ label: string;
+ slides: FeatureIntroSlide[];
+}) {
+ const { t } = useT("layout");
+ const [index, setIndex] = useState(0);
+ const last = slides.length - 1;
+ const go = (next: number) => setIndex(Math.min(Math.max(next, 0), last));
+
+ const onKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {
+ if (event.key === "ArrowLeft") {
+ event.preventDefault();
+ go(index - 1);
+ } else if (event.key === "ArrowRight") {
+ event.preventDefault();
+ go(index + 1);
+ }
+ };
+
+ return (
+ <div
+ role="group"
+ aria-roledescription={t(($) => $.feature_intro.carousel)}
+ aria-label={label}
+ onKeyDown={onKeyDown}
+ className="w-full max-w-[22.5rem]"
+ >
+ <div
+ className="flex gap-6 transition-transform duration-300 ease-out motion-reduce:transition-none"
+ style={{ transform: `translateX(calc(${-index} * (100% + 1.5rem)))` }}
+ >
+ {slides.map((slide, i) => {
+ const active = i === index;
+ return (
+ <div
+ key={slide.id}
+ role="group"
+ aria-roledescription={t(($) => $.feature_intro.slide)}
+ aria-label={t(($) => $.feature_intro.slide_position, {
+ current: i + 1,
+ total: slides.length,
+ })}
+ aria-hidden={!active}
+ inert={!active}
+ className={cn(
+ "w-full shrink-0 transition-opacity duration-300 motion-reduce:transition-none",
+ active ? "opacity-100" : i === index + 1 ? "opacity-40" : "opacity-0",
+ )}
+ >
+ <div className="h-full overflow-hidden rounded-xl bg-surface shadow-[var(--menu-shadow)] ring-1 ring-surface-border">
+ <div
+ aria-hidden="true"
+ className="flex h-64 items-center justify-center overflow-hidden border-b bg-brand/5 bg-[radial-gradient(var(--border)_1px,transparent_1px)] [background-size:16px_16px] px-5 py-4"
+ >
+ {slide.art}
+ </div>
+ <div className="px-5 py-4">
+ <h3 className="text-body font-medium">{slide.title}</h3>
+ <p className="mt-1 text-caption text-muted-foreground">
+ {slide.description}
+ </p>
+ </div>
+ </div>
+ </div>
+ );
+ })}
+ </div>
+ {slides.length > 1 && (
+ <div className="mt-4 flex items-center gap-3">
+ <div className="flex items-center gap-1.5">
+ {slides.map((slide, i) => (
+ <button
+ key={slide.id}
+ type="button"
+ aria-label={t(($) => $.feature_intro.go_to_slide, { index: i + 1 })}
+ aria-current={i === index ? "true" : undefined}
+ onClick={() => go(i)}
+ className={cn(
+ "h-1.5 rounded-full transition-all motion-reduce:transition-none",
+ i === index ? "w-4 bg-foreground" : "w-1.5 bg-muted-foreground/30 hover:bg-muted-foreground/60",
+ )}
+ />
+ ))}
+ </div>
+ <div className="ml-auto flex items-center gap-1">
+ <Button
+ variant="outline"
+ size="icon-sm"
+ aria-label={t(($) => $.feature_intro.previous)}
+ disabled={index === 0}
+ onClick={() => go(index - 1)}
+ >
+ <ArrowLeft aria-hidden="true" />
+ </Button>
+ <Button
+ variant="outline"
+ size="icon-sm"
+ aria-label={t(($) => $.feature_intro.next)}
+ disabled={index === last}
+ onClick={() => go(index + 1)}
+ >
+ <ArrowRight aria-hidden="true" />
+ </Button>
+ </div>
+ </div>
+ )}
+ </div>
+ );
+}
+
+// Illustration pieces. Slides compose these with real product atoms
+// (avatars, status icons) so the art reads as the product, not a drawing.
+
+export function IntroArtCard({
+ className,
+ highlighted = false,
+ children,
+}: {
+ className?: string;
+ highlighted?: boolean;
+ children: ReactNode;
+}) {
+ return (
+ <div
+ className={cn(
+ "w-full rounded-lg bg-surface p-2.5 text-caption shadow-[var(--menu-shadow)] ring-1",
+ highlighted ? "ring-brand" : "ring-surface-border",
+ className,
+ )}
+ >
+ {children}
+ </div>
+ );
+}
+
+const WIRE = "border-dashed border-brand/50";
+
+function IntroArtArrowhead({ className }: { className?: string }) {
+ return (
+ <span
+ className={cn(
+ "block size-0 border-x-[4px] border-t-[5px] border-x-transparent border-t-brand/60",
+ className,
+ )}
+ />
+ );
+}
+
+/** A dashed arrow pointing down to the next card, with an optional label beside it. */
+export function IntroArtConnector({ label }: { label?: ReactNode }) {
+ return (
+ <div className="relative flex h-6 shrink-0 flex-col items-center">
+ <span className={cn("w-0 flex-1 border-l-[1.5px]", WIRE)} />
+ <IntroArtArrowhead />
+ {label && (
+ <span className="absolute top-1/2 left-1/2 ml-2.5 -translate-y-1/2 rounded-sm bg-brand/10 px-1.5 py-0.5 text-micro font-medium whitespace-nowrap text-brand">
+ {label}
+ </span>
+ )}
+ </div>
+ );
+}
+
+/** One card handing off to two side-by-side cards below it. */
+export function IntroArtFork() {
+ return (
+ <div className="relative h-6 shrink-0">
+ <span className={cn("absolute top-0 left-1/2 h-2.5 border-l-[1.5px]", WIRE)} />
+ <span
+ className={cn(
+ "absolute top-2.5 right-1/4 bottom-[5px] left-1/4 rounded-t-md border-x-[1.5px] border-t-[1.5px]",
+ WIRE,
+ )}
+ />
+ <IntroArtArrowhead className="absolute bottom-0 left-1/4 -translate-x-[3.25px]" />
+ <IntroArtArrowhead className="absolute right-1/4 bottom-0 translate-x-[3.25px]" />
+ </div>
+ );
+}
+
+export function IntroArtTag({
+ className,
+ children,
+}: {
+ className?: string;
+ children: ReactNode;
+}) {
+ return (
+ <span
+ className={cn(
+ "inline-flex shrink-0 items-center gap-1 rounded-sm bg-muted px-1.5 py-0.5 text-micro text-muted-foreground",
+ className,
+ )}
+ >
+ {children}
+ </span>
+ );
+}
diff --git a/packages/views/locales/en/agents.json b/packages/views/locales/en/agents.json
index c48d52a1b2..ac5d98bb78 100644
--- a/packages/views/locales/en/agents.json
+++ b/packages/views/locales/en/agents.json
@@ -46,8 +46,6 @@
"title": "Archived agents"
},
"empty": {
- "title": "No agents yet",
- "description": "An agent picks up the issues assigned to it and works through them on your runtime.",
"setup": {
"label": "Setup steps",
"runtime": "Connect a runtime",
@@ -1067,5 +1065,29 @@
"section_owner": "Owner",
"section_model": "Model"
},
- "actions": {}
+ "actions": {},
+ "intro": {
+ "title": "Hire your first AI teammate",
+ "description": "Agents take on issues like teammates do: they work on your runtime with tools like Claude Code and Codex, then deliver in the comments.",
+ "slides": {
+ "describe": {
+ "title": "Say what it does in a sentence",
+ "description": "Describe the job, pick a runtime and a model, and create it. Change its instructions or add skills any time."
+ },
+ "assign": {
+ "title": "Assign it work like a teammate",
+ "description": "Pick it as the assignee on any issue. It gets started on its own, no need to watch over it."
+ },
+ "deliver": {
+ "title": "Watch it work, get results in comments",
+ "description": "Each step is visible while it runs. When it's done, it posts the result and the PR on the issue."
+ }
+ },
+ "art": {
+ "prompt": "Review frontend PRs for accessibility and performance, and post findings as PR comments.",
+ "issue_title": "Pricing page layout breaks on mobile",
+ "comment": "Fixed: pricing cards stack into one column under 375px. PR is open and tests pass.",
+ "step_read": "Read {{file}}"
+ }
+ }
}
diff --git a/packages/views/locales/en/autopilots.json b/packages/views/locales/en/autopilots.json
index dc1cde0e8e..b2c6c6ab11 100644
--- a/packages/views/locales/en/autopilots.json
+++ b/packages/views/locales/en/autopilots.json
@@ -1,7 +1,6 @@
{
"page": {
"new_autopilot": "New autopilot",
- "start_blank": "Start from scratch",
"table": {
"name": "Name",
"agent": "Agent",
@@ -15,10 +14,6 @@
"created": "Created"
},
"last_run_empty": "--",
- "empty": {
- "title": "No autopilots yet",
- "hint": "Schedule recurring work for your AI agents. Pick a template or start from scratch."
- },
"no_matches": "No automations match",
"retry": "Retry"
},
@@ -487,8 +482,6 @@
"select_page": "Select all enabled wakeups",
"load_error": "Could not load wakeups",
"loading": "Loading wakeups…",
- "empty": "No wakeup rules yet",
- "empty_description": "Schedules, PR waits, and reply waits that agents set on issues show up here.",
"disable_selected": "Turn off selected",
"confirm_title": "Turn off {{count}} wakeups?",
"confirm_body": "Future wakeups will stop. Runs still queued and not handed to an agent will be withdrawn. Dispatched runs will continue; stop them from the execution log.",
@@ -525,6 +518,37 @@
"banner_view": "View",
"create": "New wakeup",
"create_pick_issue": "Choose the issue to add a wakeup to",
- "create_pick_issue_description": "The wakeup belongs to this issue and ends with it."
+ "create_pick_issue_description": "The wakeup belongs to this issue and ends with it.",
+ "intro": {
+ "title": "Bring agents back at the right moment",
+ "description": "Wakeups live on issues: when a PR merges, someone replies, or the time comes, the agent comes back to pick up the work. When the issue ends, its wakeups stop.",
+ "slides": {
+ "event": {
+ "title": "Wait for something to happen",
+ "description": "No need to keep an agent spinning while it waits. When the condition is met, Multica wakes it up."
+ },
+ "time": {
+ "title": "Or pick a time",
+ "description": "A one-time wakeup suits \"check again tomorrow afternoon\"; a recurring one suits a daily check."
+ },
+ "ends": {
+ "title": "Stops when the issue ends",
+ "description": "Wakeups belong to their issue. Once it's done or cancelled they turn off, so no stray rules are left behind."
+ }
+ },
+ "art": {
+ "issue_inbox": "Empty state for inbox groups",
+ "issue_board": "Resizable board columns",
+ "issue_paste": "Paste images into comments",
+ "reply": "\"The PR is merged. Updating the docs and closing the issue.\"",
+ "event_examples": "PR merged, new comment"
+ }
+ }
+ },
+ "intro": {
+ "label": "Autopilot",
+ "title": "Let agents start work on their own",
+ "description": "Set a schedule or a webhook. Each time it fires, Multica creates an issue for an agent, or runs the agent directly. Pick a template and adjust it.",
+ "templates": "Start from a template"
}
}
diff --git a/packages/views/locales/en/layout.json b/packages/views/locales/en/layout.json
index 868a8fd1f6..b1a6aeced2 100644
--- a/packages/views/locales/en/layout.json
+++ b/packages/views/locales/en/layout.json
@@ -184,5 +184,14 @@
"object_page": {
"toggle_panel": "Toggle right sidebar",
"properties": "Properties"
+ },
+ "feature_intro": {
+ "read_docs": "Read the docs",
+ "carousel": "carousel",
+ "slide": "slide",
+ "slide_position": "{{current}} of {{total}}",
+ "go_to_slide": "Go to slide {{index}}",
+ "previous": "Previous",
+ "next": "Next"
}
}
diff --git a/packages/views/locales/en/projects.json b/packages/views/locales/en/projects.json
index 8cea0861e5..b9fc3df0fa 100644
--- a/packages/views/locales/en/projects.json
+++ b/packages/views/locales/en/projects.json
@@ -5,8 +5,6 @@
"scope_all": "All projects",
"scope_active": "Active projects",
"scope_closed": "Closed projects",
- "empty": "No projects yet",
- "empty_description": "Group related issues into a project to track progress and owners.",
"view_compact": "Compact",
"view_comfortable": "Comfortable",
"no_search_results": "No results match your search",
@@ -174,5 +172,36 @@
"section_priority": "Priority",
"section_lead": "Lead",
"view": "View"
+ },
+ "intro": {
+ "title": "Break big work into projects",
+ "description": "A project groups related issues so you can track them together. Its description and linked repositories go along as context on every agent run.",
+ "slides": {
+ "progress": {
+ "title": "See progress at a glance",
+ "description": "Status, lead, target date, and completion sit on one card, so you don't have to open every issue."
+ },
+ "context": {
+ "title": "Context travels with every run",
+ "description": "Write the description and link repositories once. Every run on the project's issues picks them up."
+ },
+ "sidebar": {
+ "title": "Pinned to your sidebar",
+ "description": "Pin the projects you use most to the sidebar, and expand one to see its issues."
+ }
+ },
+ "art": {
+ "project_website": "Website redesign",
+ "project_mobile": "Mobile 1.0",
+ "project_onboarding": "Onboarding",
+ "context_label": "Project description",
+ "context_body": "New marketing site on Next.js and Tailwind. Copy follows docs/brand, and every page supports dark mode.",
+ "run_started": "started a run",
+ "context_loaded": "Loaded the project context and 2 repositories",
+ "issue_count": "{{done}} / {{total}} issues",
+ "issue_hero": "Animate the homepage hero",
+ "issue_pricing": "Pricing comparison table",
+ "issue_blog": "Paginate the blog list"
+ }
}
}
diff --git a/packages/views/locales/en/runtimes.json b/packages/views/locales/en/runtimes.json
index 6718be154b..d7020410ef 100644
--- a/packages/views/locales/en/runtimes.json
+++ b/packages/views/locales/en/runtimes.json
@@ -672,5 +672,29 @@
"cancel": "Cancel",
"done": "Qoder disconnected"
}
+ },
+ "intro": {
+ "title": "Give your agents a computer to work on",
+ "description": "A runtime is where agents actually run their work: your computer, a server, or a cloud service.",
+ "slides": {
+ "local": {
+ "title": "This computer connects itself",
+ "description": "Download the desktop app and sign in. Claude Code, Codex and the other CLIs on this computer show up on their own."
+ },
+ "remote": {
+ "title": "Another machine, two commands",
+ "description": "Install the CLI on a server or another computer, then run multica setup to connect it."
+ },
+ "cloud": {
+ "title": "Or use a cloud node",
+ "description": "Rather not manage machines? Create a cloud node hosted by Multica."
+ }
+ },
+ "art": {
+ "this_computer": "This computer · Desktop",
+ "detected": "Detected harnesses",
+ "run_there": "Run on that machine",
+ "connected": "{{name}} connected to Multica"
+ }
}
}
diff --git a/packages/views/locales/en/skills.json b/packages/views/locales/en/skills.json
index 7fe7353165..1340f1e94f 100644
--- a/packages/views/locales/en/skills.json
+++ b/packages/views/locales/en/skills.json
@@ -20,10 +20,6 @@
"description": "Skills you created"
}
},
- "empty": {
- "title": "No skills yet",
- "description": "A skill is a reusable way of working for your agents. Create one, or import it from a runtime."
- },
"no_matches": {
"title": "No matches",
"with_query": "No skills match \"{{query}}\"{{filterSuffix}}.",
@@ -31,11 +27,6 @@
"filter_only": "No skills match this filter.",
"try_different": " Try a different query."
},
- "intro_banner": {
- "title": "Shared with your workspace.",
- "body": "Anyone can create a skill, import one from a URL or a local folder, or copy one from their local runtime — and every agent can use it.",
- "highlight": "Local runtime skills stay private until you copy one here."
- },
"list_error": {
"title": "Couldn't load skills",
"fallback": "Something went wrong fetching the skill list.",
@@ -369,5 +360,34 @@
"markdown_placeholder": "Write markdown content...",
"raw_placeholder": "File content...",
"raw_aria": "Plain text content of {{path}}"
+ },
+ "intro": {
+ "title": "Turn how your team works into skills",
+ "description": "A skill is a reusable set of instructions (SKILL.md). Add it to the workspace once, give it to an agent, and the agent follows it.",
+ "slides": {
+ "methods": {
+ "title": "Four ways to add one",
+ "description": "Start from a blank SKILL.md, or bring in an existing skill from a local folder, a URL, or a runtime."
+ },
+ "assign": {
+ "title": "Give it to agents",
+ "description": "One skill can serve many agents. Edit it in one place and every agent that uses it gets the change."
+ },
+ "share": {
+ "title": "Shared across the workspace",
+ "description": "Skills on a local runtime stay private until you copy them here. After that, any agent can use them."
+ }
+ },
+ "art": {
+ "skill_summary": "Run the tests first, then check accessibility and performance.",
+ "add_to_agent": "Add to agent",
+ "local_skills": "Local skills",
+ "private": "Private",
+ "workspace_shared": "Workspace",
+ "all_agents": "Any agent can use it",
+ "role_reviewer": "Reviewer",
+ "role_fullstack": "Full stack",
+ "copy_to_workspace": "Copy to workspace"
+ }
}
}
diff --git a/packages/views/locales/en/squads.json b/packages/views/locales/en/squads.json
index ac6cdeb1b2..b38b2d0154 100644
--- a/packages/views/locales/en/squads.json
+++ b/packages/views/locales/en/squads.json
@@ -2,8 +2,6 @@
"page": {
"title": "Squads",
"new_button": "New squad",
- "empty_no_squads": "No squads yet",
- "empty_description": "Group agents and members into a squad so issues can go to the whole squad.",
"empty_no_match": "No squads match your filters.",
"table": {
"name": "Squad",
@@ -136,5 +134,35 @@
"mine": "My squads",
"all": "All squads"
},
- "toolbar": {}
+ "toolbar": {},
+ "intro": {
+ "title": "Put agents in a squad and they work like a team",
+ "description": "Assign an issue to the squad. Its leader agent reads it, hands each step to the member whose role fits, and follows up until the goal is met. You only deal with one assignee.",
+ "slides": {
+ "route": {
+ "title": "One assignee, routed for you",
+ "description": "The leader reads the issue and mentions the member best suited for the next step. Only that member starts working."
+ },
+ "roles": {
+ "title": "Split work by role",
+ "description": "Role descriptions tell the leader what each member is good at. Members can be agents or people."
+ },
+ "progress": {
+ "title": "Follow progress in one place",
+ "description": "The squad page shows its recent work and what each member is working on."
+ }
+ },
+ "art": {
+ "assignee": "Assignee",
+ "squad_name": "Frontend squad",
+ "issue_dark_mode": "Add a dark mode toggle to settings",
+ "issue_board_columns": "Make board columns resizable",
+ "issue_inbox_gestures": "Swipe gestures in the mobile inbox",
+ "issue_paste_images": "Paste images into comments",
+ "delegating": "Picking a member by role...",
+ "role_frontend": "Frontend",
+ "role_testing": "Testing",
+ "role_product": "Product"
+ }
+ }
}
diff --git a/packages/views/locales/fr/agents.json b/packages/views/locales/fr/agents.json
index e4005d1d74..e0eec91084 100644
--- a/packages/views/locales/fr/agents.json
+++ b/packages/views/locales/fr/agents.json
@@ -46,8 +46,6 @@
"title": "Agents archivés"
},
"empty": {
- "title": "Aucun agent pour l'instant",
- "description": "Un agent prend en charge les tâches qui lui sont assignées et les mène à bien sur votre runtime.",
"setup": {
"label": "Étapes de configuration",
"runtime": "Connecter un runtime",
@@ -1067,5 +1065,29 @@
"section_owner": "Propriétaire",
"section_model": "Modèle"
},
- "actions": {}
+ "actions": {},
+ "intro": {
+ "title": "Recrutez votre premier coéquipier IA",
+ "description": "Les agents prennent des tâches comme un membre de l'équipe : ils travaillent sur votre runtime avec Claude Code, Codex et d'autres outils, puis livrent dans les commentaires.",
+ "slides": {
+ "describe": {
+ "title": "Décrivez son rôle en une phrase",
+ "description": "Décrivez la mission, choisissez un runtime et un modèle, puis créez-le. Modifiez ses instructions ou ajoutez des skills quand vous voulez."
+ },
+ "assign": {
+ "title": "Confiez-lui du travail comme à un collègue",
+ "description": "Choisissez-le comme responsable de n'importe quelle tâche. Il s'y met tout seul, sans surveillance."
+ },
+ "deliver": {
+ "title": "Suivez son travail, recevez le résultat en commentaire",
+ "description": "Chaque étape est visible pendant l'exécution. Une fois terminé, il publie le résultat et la PR sur la tâche."
+ }
+ },
+ "art": {
+ "prompt": "Relire les PR frontend en priorité pour l'accessibilité et les performances, et publier les conclusions en commentaire de PR.",
+ "issue_title": "Mise en page de la page tarifs cassée sur mobile",
+ "comment": "Corrigé : sous 375px, les cartes tarifs passent sur une colonne. PR ouverte, tests au vert.",
+ "step_read": "Lecture de {{file}}"
+ }
+ }
}
diff --git a/packages/views/locales/fr/autopilots.json b/packages/views/locales/fr/autopilots.json
index bdf199a2cd..028cc0a185 100644
--- a/packages/views/locales/fr/autopilots.json
+++ b/packages/views/locales/fr/autopilots.json
@@ -1,7 +1,6 @@
{
"page": {
"new_autopilot": "Nouvelle automatisation",
- "start_blank": "Partir de zéro",
"table": {
"name": "Nom",
"agent": "Agent",
@@ -15,10 +14,6 @@
"created": "Création"
},
"last_run_empty": "--",
- "empty": {
- "title": "Aucune automatisation pour l'instant",
- "hint": "Planifiez du travail récurrent pour vos agents IA. Choisissez un modèle ou partez de zéro."
- },
"no_matches": "Aucune automatisation correspondante",
"retry": "Réessayer"
},
@@ -487,8 +482,6 @@
"select_page": "Sélectionner tous les réveils activés",
"load_error": "Impossible de charger les réveils",
"loading": "Chargement des réveils…",
- "empty": "Aucune règle de réveil",
- "empty_description": "Les planifications et attentes de PR ou de réponse que les agents posent sur les tâches apparaissent ici.",
"disable_selected": "Désactiver la sélection",
"confirm_title": "Désactiver {{count}} réveils ?",
"confirm_body": "Les réveils futurs seront arrêtés. Les exécutions en file non confiées à un agent seront retirées. Les exécutions déjà confiées continueront ; arrêtez-les depuis le journal d’exécution.",
@@ -525,6 +518,37 @@
"banner_view": "Voir",
"create": "Nouveau réveil",
"create_pick_issue": "Choisissez la tâche où ajouter un réveil",
- "create_pick_issue_description": "Le réveil appartient à cette tâche et s’arrête avec elle."
+ "create_pick_issue_description": "Le réveil appartient à cette tâche et s’arrête avec elle.",
+ "intro": {
+ "title": "Rappelez vos agents au bon moment",
+ "description": "Les réveils sont attachés aux tâches : quand une PR est fusionnée, que quelqu'un répond ou que l'heure arrive, l'agent revient reprendre le travail. Quand la tâche se termine, ses réveils s'arrêtent.",
+ "slides": {
+ "event": {
+ "title": "Attendre qu'il se passe quelque chose",
+ "description": "Inutile de faire tourner un agent à vide en attendant. Dès que la condition est remplie, Multica le réveille."
+ },
+ "time": {
+ "title": "Ou choisir une heure",
+ "description": "Un réveil ponctuel convient à « revoir ça demain après-midi », un réveil récurrent à un contrôle quotidien."
+ },
+ "ends": {
+ "title": "S'arrête avec la tâche",
+ "description": "Les réveils appartiennent à leur tâche. Une fois celle-ci terminée ou annulée, ils se désactivent : aucune règle orpheline."
+ }
+ },
+ "art": {
+ "issue_inbox": "État vide des groupes de la boîte de réception",
+ "issue_board": "Colonnes du tableau redimensionnables",
+ "issue_paste": "Coller des images dans les commentaires",
+ "reply": "« La PR est fusionnée. Je mets à jour la doc et je ferme la tâche. »",
+ "event_examples": "PR fusionnée, nouveau commentaire"
+ }
+ }
+ },
+ "intro": {
+ "label": "Automatisation",
+ "title": "Laissez vos agents se mettre au travail tout seuls",
+ "description": "Définissez une planification ou un webhook. À chaque déclenchement, Multica crée une tâche pour un agent, ou lance directement l'agent. Choisissez un modèle et adaptez-le.",
+ "templates": "Partir d'un modèle"
}
}
diff --git a/packages/views/locales/fr/layout.json b/packages/views/locales/fr/layout.json
index b4b5e89061..931d9a7024 100644
--- a/packages/views/locales/fr/layout.json
+++ b/packages/views/locales/fr/layout.json
@@ -184,5 +184,14 @@
"object_page": {
"toggle_panel": "Afficher ou masquer le panneau de droite",
"properties": "Propriétés"
+ },
+ "feature_intro": {
+ "read_docs": "Lire la documentation",
+ "carousel": "carrousel",
+ "slide": "diapositive",
+ "slide_position": "{{current}} sur {{total}}",
+ "go_to_slide": "Aller à la diapositive {{index}}",
+ "previous": "Précédent",
+ "next": "Suivant"
}
}
diff --git a/packages/views/locales/fr/projects.json b/packages/views/locales/fr/projects.json
index 9229b9136d..86d4d752ec 100644
--- a/packages/views/locales/fr/projects.json
+++ b/packages/views/locales/fr/projects.json
@@ -5,8 +5,6 @@
"scope_all": "Tous les projets",
"scope_active": "Projets actifs",
"scope_closed": "Projets clos",
- "empty": "Aucun projet pour l'instant",
- "empty_description": "Regroupez les tâches liées dans un projet pour suivre l'avancement et les responsables.",
"view_compact": "Compact",
"view_comfortable": "Confortable",
"no_search_results": "Aucun résultat ne correspond à votre recherche",
@@ -174,5 +172,36 @@
"section_priority": "Priorité",
"section_lead": "Responsable",
"view": "Vue"
+ },
+ "intro": {
+ "title": "Découpez les grands chantiers en projets",
+ "description": "Un projet regroupe des tâches liées pour suivre leur avancement ensemble. Sa description et ses dépôts liés accompagnent chaque exécution d'agent comme contexte.",
+ "slides": {
+ "progress": {
+ "title": "L'avancement en un coup d'œil",
+ "description": "Statut, responsable, échéance et taux d'achèvement tiennent sur une carte : inutile d'ouvrir chaque tâche."
+ },
+ "context": {
+ "title": "Le contexte suit chaque exécution",
+ "description": "Rédigez la description et liez les dépôts une seule fois. Chaque exécution sur les tâches du projet les reprend."
+ },
+ "sidebar": {
+ "title": "Épinglé dans la barre latérale",
+ "description": "Épinglez vos projets favoris dans la barre latérale et dépliez-en un pour voir ses tâches."
+ }
+ },
+ "art": {
+ "project_website": "Refonte du site",
+ "project_mobile": "Mobile 1.0",
+ "project_onboarding": "Onboarding",
+ "context_label": "Description du projet",
+ "context_body": "Nouveau site vitrine en Next.js et Tailwind. Les textes suivent docs/brand et chaque page gère le mode sombre.",
+ "run_started": "a lancé une exécution",
+ "context_loaded": "Contexte du projet et 2 dépôts chargés",
+ "issue_count": "{{done}} / {{total}} tâches",
+ "issue_hero": "Animer le hero de la page d'accueil",
+ "issue_pricing": "Tableau comparatif des tarifs",
+ "issue_blog": "Paginer la liste du blog"
+ }
}
}
diff --git a/packages/views/locales/fr/runtimes.json b/packages/views/locales/fr/runtimes.json
index 3897bc0e63..d7660a4a1d 100644
--- a/packages/views/locales/fr/runtimes.json
+++ b/packages/views/locales/fr/runtimes.json
@@ -672,5 +672,29 @@
"cancel": "Annuler",
"done": "Qoder déconnecté"
}
+ },
+ "intro": {
+ "title": "Donnez à vos agents un ordinateur pour travailler",
+ "description": "Un runtime, c'est là où les agents exécutent vraiment leurs tâches : votre ordinateur, un serveur ou un service cloud.",
+ "slides": {
+ "local": {
+ "title": "Cet ordinateur se connecte tout seul",
+ "description": "Téléchargez l'app de bureau et connectez-vous : Claude Code, Codex et les autres CLI de cet ordinateur apparaissent d'eux-mêmes."
+ },
+ "remote": {
+ "title": "Une autre machine, deux commandes",
+ "description": "Installez la CLI sur un serveur ou un autre ordinateur, puis lancez multica setup pour le connecter."
+ },
+ "cloud": {
+ "title": "Ou un nœud cloud",
+ "description": "Pas envie de gérer des machines ? Créez un nœud cloud hébergé par Multica."
+ }
+ },
+ "art": {
+ "this_computer": "Cet ordinateur · Bureau",
+ "detected": "Harness détectés",
+ "run_there": "À lancer sur cette machine",
+ "connected": "{{name}} connecté à Multica"
+ }
}
}
diff --git a/packages/views/locales/fr/skills.json b/packages/views/locales/fr/skills.json
index 41d95b2daa..4e09efae60 100644
--- a/packages/views/locales/fr/skills.json
+++ b/packages/views/locales/fr/skills.json
@@ -20,10 +20,6 @@
"description": "Les skills que vous avez créés"
}
},
- "empty": {
- "title": "Aucun skill pour l'instant",
- "description": "Un skill est une méthode de travail réutilisable par vos agents. Créez-en un, ou importez-le depuis un runtime."
- },
"no_matches": {
"title": "Aucune correspondance",
"with_query": "Aucun skill ne correspond à « {{query}} »{{filterSuffix}}.",
@@ -31,11 +27,6 @@
"filter_only": "Aucun skill ne correspond à ce filtre.",
"try_different": " Essayez une autre recherche."
},
- "intro_banner": {
- "title": "Partagés avec votre espace de travail.",
- "body": "Chacun peut créer un skill, en importer un depuis une URL ou un dossier local, ou en copier un depuis son runtime local : tous les agents pourront l'utiliser.",
- "highlight": "Les skills d'un runtime local restent privés tant que vous n'en copiez pas un ici."
- },
"list_error": {
"title": "Impossible de charger les skills",
"fallback": "Une erreur est survenue lors de la récupération de la liste des skills.",
@@ -369,5 +360,34 @@
"markdown_placeholder": "Rédigez du contenu Markdown...",
"raw_placeholder": "Contenu du fichier...",
"raw_aria": "Contenu en texte brut de {{path}}"
+ },
+ "intro": {
+ "title": "Transformez les méthodes de votre équipe en skills",
+ "description": "Un skill est un ensemble d'instructions réutilisable (SKILL.md). Ajoutez-le une fois à l'espace de travail, confiez-le à un agent, et l'agent le suit.",
+ "slides": {
+ "methods": {
+ "title": "Quatre façons d'en ajouter un",
+ "description": "Partez d'un SKILL.md vierge, ou importez un skill existant depuis un dossier local, une URL ou un runtime."
+ },
+ "assign": {
+ "title": "Confiez-le à des agents",
+ "description": "Un skill peut servir à plusieurs agents. Modifiez-le à un seul endroit et tous les agents qui l'utilisent en profitent."
+ },
+ "share": {
+ "title": "Partagé dans l'espace de travail",
+ "description": "Les skills d'un runtime local restent privés tant que vous ne les copiez pas ici. Ensuite, tout agent peut les utiliser."
+ }
+ },
+ "art": {
+ "skill_summary": "Lancer d'abord les tests, puis vérifier l'accessibilité et les performances.",
+ "add_to_agent": "Ajouter à un agent",
+ "local_skills": "Skills locaux",
+ "private": "Privé",
+ "workspace_shared": "Espace de travail",
+ "all_agents": "Utilisable par tout agent",
+ "role_reviewer": "Relecteur",
+ "role_fullstack": "Full stack",
+ "copy_to_workspace": "Copier dans l'espace"
+ }
}
}
diff --git a/packages/views/locales/fr/squads.json b/packages/views/locales/fr/squads.json
index 43fb44af09..8e182ab33a 100644
--- a/packages/views/locales/fr/squads.json
+++ b/packages/views/locales/fr/squads.json
@@ -2,8 +2,6 @@
"page": {
"title": "Squads",
"new_button": "Nouveau squad",
- "empty_no_squads": "Aucun squad pour l'instant",
- "empty_description": "Réunissez agents et membres dans un squad pour lui confier des tâches directement.",
"empty_no_match": "Aucun squad ne correspond à vos filtres.",
"table": {
"name": "Squad",
@@ -136,5 +134,35 @@
"mine": "Mes squads",
"all": "Tous les squads"
},
- "toolbar": {}
+ "toolbar": {},
+ "intro": {
+ "title": "Réunissez vos agents en squad pour qu'ils travaillent en équipe",
+ "description": "Assignez une tâche au squad. Son agent chef la lit, confie chaque étape au membre dont le rôle correspond et suit le travail jusqu'à l'objectif. Vous n'avez qu'un seul interlocuteur.",
+ "slides": {
+ "route": {
+ "title": "Un seul interlocuteur, une répartition automatique",
+ "description": "Le chef lit la tâche et mentionne le membre le mieux placé pour l'étape suivante. Seul ce membre se met au travail."
+ },
+ "roles": {
+ "title": "Répartir le travail par rôle",
+ "description": "Les descriptions de rôle indiquent au chef les points forts de chaque membre. Les membres peuvent être des agents ou des personnes."
+ },
+ "progress": {
+ "title": "Suivre l'avancement au même endroit",
+ "description": "La page du squad affiche le travail récent et ce sur quoi chaque membre travaille."
+ }
+ },
+ "art": {
+ "assignee": "Assigné à",
+ "squad_name": "Squad frontend",
+ "issue_dark_mode": "Ajouter un mode sombre aux paramètres",
+ "issue_board_columns": "Colonnes du tableau redimensionnables",
+ "issue_inbox_gestures": "Gestes de balayage dans la boîte mobile",
+ "issue_paste_images": "Coller des images dans les commentaires",
+ "delegating": "Choix d'un membre selon son rôle...",
+ "role_frontend": "Frontend",
+ "role_testing": "Tests",
+ "role_product": "Produit"
+ }
+ }
}
diff --git a/packages/views/locales/ja/agents.json b/packages/views/locales/ja/agents.json
index c18e6b484d..fd308c18b1 100644
--- a/packages/views/locales/ja/agents.json
+++ b/packages/views/locales/ja/agents.json
@@ -45,8 +45,6 @@
"title": "アーカイブ済みエージェント"
},
"empty": {
- "title": "まだエージェントがいません",
- "description": "エージェントは割り当てられたタスクを引き受け、ランタイム上で自分で進めます。",
"setup": {
"label": "セットアップ手順",
"runtime": "ランタイムを接続する",
@@ -1041,5 +1039,29 @@
"next": "次へ"
}
},
- "actions": {}
+ "actions": {},
+ "intro": {
+ "title": "最初の AI チームメイトを迎える",
+ "description": "エージェントはチームメンバーと同じようにタスクを引き受けます。ランタイム上で Claude Code や Codex などを使って作業し、終わったらコメントで成果を渡します。",
+ "slides": {
+ "describe": {
+ "title": "やることを一文で伝える",
+ "description": "役割を書き、ランタイムとモデルを選べば作成できます。指示の変更や skill の追加はいつでもできます。"
+ },
+ "assign": {
+ "title": "同僚と同じように任せる",
+ "description": "どのタスクでも担当者に選ぶだけ。自分で作業を始めるので、見張る必要はありません。"
+ },
+ "deliver": {
+ "title": "作業を見守り、コメントで受け取る",
+ "description": "実行の様子はリアルタイムで見えます。完了すると、結果と PR をタスクのコメントで渡します。"
+ }
+ },
+ "art": {
+ "prompt": "フロントエンドの PR をレビューし、アクセシビリティとパフォーマンスを重点的に見て、結論を PR コメントに書く。",
+ "issue_title": "料金ページのモバイル表示が崩れる",
+ "comment": "修正しました。375px 以下では料金カードを 1 列にしています。PR を作成し、テストも通っています。",
+ "step_read": "{{file}} を読む"
+ }
+ }
}
diff --git a/packages/views/locales/ja/autopilots.json b/packages/views/locales/ja/autopilots.json
index eaf086fb9f..18c24e87a3 100644
--- a/packages/views/locales/ja/autopilots.json
+++ b/packages/views/locales/ja/autopilots.json
@@ -1,7 +1,6 @@
{
"page": {
"new_autopilot": "新規オートパイロット",
- "start_blank": "ゼロから始める",
"table": {
"name": "名前",
"agent": "エージェント",
@@ -15,10 +14,6 @@
"created": "作成日時"
},
"last_run_empty": "--",
- "empty": {
- "title": "まだオートパイロットがありません",
- "hint": "AI エージェントの繰り返し作業をスケジュールしましょう。テンプレートを選ぶか、ゼロから始められます。"
- },
"no_matches": "該当する自動化はありません",
"retry": "再試行"
},
@@ -486,8 +481,6 @@
"select_page": "有効な項目をすべて選択",
"load_error": "読み込めませんでした",
"loading": "読み込み中…",
- "empty": "ルールはまだありません",
- "empty_description": "エージェントがタスクに設定した定時実行、PR 待ち、返信待ちがここに表示されます。",
"disable_selected": "選択項目を無効化",
"confirm_title": "{{count}} 件を無効にしますか?",
"confirm_body": "今後の起動を停止し、エージェントに渡されていない待機中の実行を取り消します。割り当て済みの実行は継続します。実行ログから停止できます。",
@@ -523,6 +516,37 @@
"banner_view": "表示",
"create": "起動を追加",
"create_pick_issue": "起動を追加するタスクを選択",
- "create_pick_issue_description": "起動はこのタスクに属し、タスクの終了とともに終わります。"
+ "create_pick_issue_description": "起動はこのタスクに属し、タスクの終了とともに終わります。",
+ "intro": {
+ "title": "ちょうどいいときにエージェントを呼び戻す",
+ "description": "ウェイクアップはタスクに付きます。PR がマージされた、誰かが返信した、時間になった、そんなときにエージェントを呼び戻して続きを任せます。タスクが終われば自動で止まります。",
+ "slides": {
+ "event": {
+ "title": "出来事を待つ",
+ "description": "エージェントを空回りさせて待たせる必要はありません。条件がそろうと、Multica が自動で呼び戻します。"
+ },
+ "time": {
+ "title": "時間を決めてもいい",
+ "description": "1 回だけの起動は「明日の午後にもう一度見る」に、定期的な起動は毎日のチェックに向いています。"
+ },
+ "ends": {
+ "title": "タスクが終われば止まる",
+ "description": "ウェイクアップはタスクに属します。タスクが完了またはキャンセルされると自動でオフになり、ルールが残りません。"
+ }
+ },
+ "art": {
+ "issue_inbox": "受信トレイのグループの空状態",
+ "issue_board": "ボードの列幅をドラッグで変更",
+ "issue_paste": "コメントに画像を貼り付け",
+ "reply": "「PR がマージされました。ドキュメントを更新してタスクを閉じます。」",
+ "event_examples": "PR のマージ、新しいコメント"
+ }
+ }
+ },
+ "intro": {
+ "label": "オートパイロット",
+ "title": "エージェントが時間どおりに自分で動き出す",
+ "description": "スケジュールか Webhook を設定すると、起動のたびにタスクを作ってエージェントに渡すか、エージェントを直接実行します。テンプレートを選んで調整するだけです。",
+ "templates": "テンプレートから始める"
}
}
diff --git a/packages/views/locales/ja/layout.json b/packages/views/locales/ja/layout.json
index 2f4942a27e..2d8c7e2f55 100644
--- a/packages/views/locales/ja/layout.json
+++ b/packages/views/locales/ja/layout.json
@@ -177,5 +177,14 @@
"object_page": {
"toggle_panel": "右サイドバーを切り替え",
"properties": "プロパティ"
+ },
+ "feature_intro": {
+ "read_docs": "ドキュメントを読む",
+ "carousel": "カルーセル",
+ "slide": "スライド",
+ "slide_position": "{{total}} 枚中 {{current}} 枚目",
+ "go_to_slide": "{{index}} 枚目に移動",
+ "previous": "前へ",
+ "next": "次へ"
}
}
diff --git a/packages/views/locales/ja/projects.json b/packages/views/locales/ja/projects.json
index fbfb885b07..562793de21 100644
--- a/packages/views/locales/ja/projects.json
+++ b/packages/views/locales/ja/projects.json
@@ -5,8 +5,6 @@
"scope_all": "すべてのプロジェクト",
"scope_active": "進行中のプロジェクト",
"scope_closed": "終了したプロジェクト",
- "empty": "プロジェクトはまだありません",
- "empty_description": "関連するタスクをプロジェクトにまとめ、進捗と担当者を追跡します。",
"view_compact": "コンパクト",
"view_comfortable": "ゆったり",
"no_search_results": "検索条件に一致する結果はありません",
@@ -174,5 +172,36 @@
"section_priority": "優先度",
"section_lead": "リード",
"view": "ビュー"
+ },
+ "intro": {
+ "title": "大きな仕事はプロジェクトに分けて進める",
+ "description": "プロジェクトは関連するタスクをまとめ、進捗をひとまとめに追えるようにします。プロジェクトの説明とリンクしたリポジトリは、エージェントの実行ごとにコンテキストとして渡されます。",
+ "slides": {
+ "progress": {
+ "title": "進捗がひと目でわかる",
+ "description": "ステータス、リード、期日、完了率が一枚のカードにまとまり、タスクを一つずつ開く必要はありません。"
+ },
+ "context": {
+ "title": "コンテキストは毎回自動で渡る",
+ "description": "説明を書き、リポジトリをリンクするのは一度だけ。プロジェクト内のタスクの実行すべてに引き継がれます。"
+ },
+ "sidebar": {
+ "title": "サイドバーに固定",
+ "description": "よく使うプロジェクトをサイドバーに固定し、展開すると中のタスクが見えます。"
+ }
+ },
+ "art": {
+ "project_website": "Web サイトのリニューアル",
+ "project_mobile": "モバイル 1.0",
+ "project_onboarding": "オンボーディング",
+ "context_label": "プロジェクトの説明",
+ "context_body": "新しいコーポレートサイト。Next.js + Tailwind。文言は docs/brand に従い、全ページでダークモードに対応する。",
+ "run_started": "実行を開始",
+ "context_loaded": "プロジェクトのコンテキストと 2 つのリポジトリを読み込みました",
+ "issue_count": "{{done}} / {{total}} タスク",
+ "issue_hero": "トップページのヒーローにアニメーション",
+ "issue_pricing": "料金ページの比較表",
+ "issue_blog": "ブログ一覧のページ送り"
+ }
}
}
diff --git a/packages/views/locales/ja/runtimes.json b/packages/views/locales/ja/runtimes.json
index 687e789a35..c03f208adf 100644
--- a/packages/views/locales/ja/runtimes.json
+++ b/packages/views/locales/ja/runtimes.json
@@ -652,5 +652,29 @@
"cancel": "キャンセル",
"done": "Qoder の接続を解除しました"
}
+ },
+ "intro": {
+ "title": "エージェントに作業用のコンピューターを",
+ "description": "ランタイムは、エージェントが実際にタスクを実行する場所です。手元のコンピューター、サーバー、またはクラウドサービスを使えます。",
+ "slides": {
+ "local": {
+ "title": "このコンピューターは自動で接続",
+ "description": "デスクトップアプリをダウンロードしてサインインすると、このコンピューターの Claude Code や Codex などが自動的に表示されます。"
+ },
+ "remote": {
+ "title": "ほかのマシンはコマンド 2 つ",
+ "description": "サーバーや別のコンピューターに CLI をインストールし、multica setup を実行すれば接続できます。"
+ },
+ "cloud": {
+ "title": "クラウドノードも使える",
+ "description": "マシンを自分で管理したくないなら、Multica がホストするクラウドノードを作成できます。"
+ }
+ },
+ "art": {
+ "this_computer": "このコンピューター · デスクトップ",
+ "detected": "検出された harness",
+ "run_there": "そのマシンで実行",
+ "connected": "{{name}} が Multica に接続されました"
+ }
}
}
diff --git a/packages/views/locales/ja/skills.json b/packages/views/locales/ja/skills.json
index 9bcf2f0734..3123c4cc94 100644
--- a/packages/views/locales/ja/skills.json
+++ b/packages/views/locales/ja/skills.json
@@ -20,10 +20,6 @@
"description": "あなたが作成したスキル"
}
},
- "empty": {
- "title": "まだスキルがありません",
- "description": "skill はエージェントが再利用できる仕事のやり方です。作成するか、ランタイムからインポートします。"
- },
"no_matches": {
"title": "一致なし",
"with_query": "「{{query}}」に一致するスキルがありません{{filterSuffix}}。",
@@ -31,11 +27,6 @@
"filter_only": "このフィルターに一致するスキルがありません。",
"try_different": " 別の検索語を試してください。"
},
- "intro_banner": {
- "title": "ワークスペースと共有されます。",
- "body": "誰でもスキルを作成したり、URL やローカルフォルダからインポートしたり、ローカルランタイムからコピーしたりでき、すべてのエージェントが使用できます。",
- "highlight": "ローカルランタイムのスキルは、ここにコピーするまで非公開のままです。"
- },
"list_error": {
"title": "スキルを読み込めませんでした",
"fallback": "スキル一覧の取得中に問題が発生しました。",
@@ -356,5 +347,34 @@
"markdown_placeholder": "Markdown の内容を記述...",
"raw_placeholder": "ファイルの内容...",
"raw_aria": "{{path}} のプレーンテキスト"
+ },
+ "intro": {
+ "title": "チームの仕事のやり方をスキルにする",
+ "description": "スキルは再利用できる作業手順書(SKILL.md)です。ワークスペースに一度追加してエージェントに割り当てれば、エージェントはそれに従って作業します。",
+ "slides": {
+ "methods": {
+ "title": "4 つの追加方法",
+ "description": "空の SKILL.md から書き始めるか、ローカルフォルダ、URL、ランタイムから既存のスキルを取り込めます。"
+ },
+ "assign": {
+ "title": "エージェントに割り当て",
+ "description": "一つのスキルを複数のエージェントで使えます。一か所を直せば、使っているすべてのエージェントに反映されます。"
+ },
+ "share": {
+ "title": "ワークスペースで共有",
+ "description": "ローカルランタイムのスキルは、ここにコピーするまで非公開です。コピーすればどのエージェントでも使えます。"
+ }
+ },
+ "art": {
+ "skill_summary": "まずテストを実行し、次にアクセシビリティとパフォーマンスを確認する。",
+ "add_to_agent": "エージェントに追加",
+ "local_skills": "ローカルのスキル",
+ "private": "非公開",
+ "workspace_shared": "ワークスペース",
+ "all_agents": "どのエージェントでも使用可",
+ "role_reviewer": "レビュー担当",
+ "role_fullstack": "フルスタック",
+ "copy_to_workspace": "ワークスペースにコピー"
+ }
}
}
diff --git a/packages/views/locales/ja/squads.json b/packages/views/locales/ja/squads.json
index b1ceed78c8..43ca304c6a 100644
--- a/packages/views/locales/ja/squads.json
+++ b/packages/views/locales/ja/squads.json
@@ -2,8 +2,6 @@
"page": {
"title": "スクワッド",
"new_button": "新規スクワッド",
- "empty_no_squads": "スクワッドはまだありません",
- "empty_description": "エージェントとメンバーをスクワッドにまとめると、タスクをスクワッド全体に任せられます。",
"empty_no_match": "フィルターに一致するスクワッドはありません。",
"table": {
"name": "スカッド",
@@ -134,5 +132,35 @@
"mine": "自分のスクワッド",
"all": "すべてのスクワッド"
},
- "toolbar": {}
+ "toolbar": {},
+ "intro": {
+ "title": "エージェントをスクワッドにして、チームとして動かす",
+ "description": "タスクをスクワッドに割り当てると、リーダーのエージェントが内容を読み、役割に合うメンバーに次のステップを任せ、目標達成まで追いかけます。やり取りする相手は一つだけです。",
+ "slides": {
+ "route": {
+ "title": "窓口は一つ、振り分けは自動",
+ "description": "リーダーがタスクを読み、次のステップに最適なメンバーをメンションします。動き出すのはそのメンバーだけです。"
+ },
+ "roles": {
+ "title": "役割で分担",
+ "description": "役割の説明で、各メンバーの得意分野をリーダーに伝えます。メンバーはエージェントでも人でも構いません。"
+ },
+ "progress": {
+ "title": "進捗を一か所で",
+ "description": "スクワッドのページに、最近の作業と各メンバーが取り組んでいる内容が表示されます。"
+ }
+ },
+ "art": {
+ "assignee": "担当",
+ "squad_name": "フロントエンドスクワッド",
+ "issue_dark_mode": "設定画面にダークモード切替を追加",
+ "issue_board_columns": "ボードの列幅をドラッグで調整",
+ "issue_inbox_gestures": "モバイルのインボックスでスワイプ操作",
+ "issue_paste_images": "コメントに画像を貼り付け",
+ "delegating": "役割からメンバーを選択中...",
+ "role_frontend": "フロントエンド",
+ "role_testing": "テスト",
+ "role_product": "プロダクト"
+ }
+ }
}
diff --git a/packages/views/locales/ko/agents.json b/packages/views/locales/ko/agents.json
index 0b1d1a2d18..897cb1f30b 100644
--- a/packages/views/locales/ko/agents.json
+++ b/packages/views/locales/ko/agents.json
@@ -45,8 +45,6 @@
"title": "보관된 에이전트"
},
"empty": {
- "title": "아직 에이전트가 없습니다",
- "description": "에이전트는 할당된 태스크를 맡아 런타임에서 스스로 처리합니다.",
"setup": {
"label": "설정 단계",
"runtime": "런타임 연결하기",
@@ -1041,5 +1039,29 @@
"next": "다음"
}
},
- "actions": {}
+ "actions": {},
+ "intro": {
+ "title": "첫 AI 팀원을 맞이하세요",
+ "description": "에이전트는 팀원처럼 태스크를 맡습니다. 런타임에서 Claude Code, Codex 같은 도구로 작업하고, 끝나면 댓글로 결과를 전달합니다.",
+ "slides": {
+ "describe": {
+ "title": "할 일을 한 문장으로",
+ "description": "역할을 설명하고 런타임과 모델을 고르면 만들 수 있습니다. 지침 수정이나 skill 추가는 언제든 가능합니다."
+ },
+ "assign": {
+ "title": "동료처럼 일을 맡기세요",
+ "description": "어떤 태스크든 담당자로 선택하세요. 알아서 작업을 시작하니 지켜볼 필요가 없습니다."
+ },
+ "deliver": {
+ "title": "작업을 보고, 댓글로 받으세요",
+ "description": "실행 과정을 실시간으로 볼 수 있습니다. 끝나면 결과와 PR을 태스크 댓글로 전달합니다."
+ }
+ },
+ "art": {
+ "prompt": "프런트엔드 PR을 리뷰하고 접근성과 성능을 중점으로 본 뒤, 결론을 PR 댓글로 남겨 주세요.",
+ "issue_title": "요금 페이지 모바일 레이아웃 깨짐",
+ "comment": "수정했습니다. 375px 이하에서 요금 카드가 한 열로 바뀝니다. PR을 열었고 테스트도 통과했습니다.",
+ "step_read": "{{file}} 읽기"
+ }
+ }
}
diff --git a/packages/views/locales/ko/autopilots.json b/packages/views/locales/ko/autopilots.json
index a62ed02bb8..bb118defe0 100644
--- a/packages/views/locales/ko/autopilots.json
+++ b/packages/views/locales/ko/autopilots.json
@@ -1,7 +1,6 @@
{
"page": {
"new_autopilot": "새 오토파일럿",
- "start_blank": "처음부터 시작",
"table": {
"name": "이름",
"agent": "에이전트",
@@ -15,10 +14,6 @@
"created": "생성일"
},
"last_run_empty": "--",
- "empty": {
- "title": "아직 오토파일럿이 없습니다",
- "hint": "AI 에이전트의 반복 작업을 예약하세요. 템플릿을 고르거나 처음부터 시작할 수 있습니다."
- },
"no_matches": "일치하는 자동화가 없습니다",
"retry": "다시 시도"
},
@@ -486,8 +481,6 @@
"select_page": "활성 항목 모두 선택",
"load_error": "깨우기를 불러오지 못했습니다",
"loading": "불러오는 중…",
- "empty": "깨우기 규칙이 없습니다",
- "empty_description": "에이전트가 태스크에 설정한 예약, PR 대기, 답장 대기가 여기에 표시됩니다.",
"disable_selected": "선택 항목 끄기",
"confirm_title": "깨우기 {{count}}개를 끄시겠습니까?",
"confirm_body": "이후 깨우기를 중지하고 아직 에이전트에게 전달되지 않은 대기 중 실행을 취소합니다. 전달된 실행은 계속되며 실행 로그에서 중지할 수 있습니다.",
@@ -523,6 +516,37 @@
"banner_view": "보기",
"create": "깨우기 추가",
"create_pick_issue": "깨우기를 추가할 태스크 선택",
- "create_pick_issue_description": "깨우기는 이 태스크에 속하며 태스크가 끝나면 함께 끝납니다."
+ "create_pick_issue_description": "깨우기는 이 태스크에 속하며 태스크가 끝나면 함께 끝납니다.",
+ "intro": {
+ "title": "필요한 순간에 에이전트를 다시 부르세요",
+ "description": "깨우기는 작업에 붙습니다. PR이 병합되거나, 누군가 답하거나, 시간이 되면 에이전트를 다시 불러 이어서 일하게 합니다. 작업이 끝나면 깨우기도 자동으로 멈춥니다.",
+ "slides": {
+ "event": {
+ "title": "일이 생길 때까지 기다리기",
+ "description": "에이전트를 헛돌게 하며 기다릴 필요가 없습니다. 조건이 충족되면 Multica가 자동으로 깨웁니다."
+ },
+ "time": {
+ "title": "시간을 정해도 됩니다",
+ "description": "1회 예약은 ‘내일 오후에 다시 보기’에, 반복은 매일 하는 점검에 알맞습니다."
+ },
+ "ends": {
+ "title": "작업이 끝나면 멈춤",
+ "description": "깨우기는 작업에 속합니다. 작업이 완료되거나 취소되면 자동으로 꺼져 남는 규칙이 없습니다."
+ }
+ },
+ "art": {
+ "issue_inbox": "받은편지함 그룹의 빈 상태",
+ "issue_board": "보드 열 너비 드래그 조절",
+ "issue_paste": "댓글에 이미지 붙여넣기",
+ "reply": "“PR이 병합되었습니다. 문서를 업데이트하고 작업을 닫겠습니다.”",
+ "event_examples": "PR 병합, 새 댓글"
+ }
+ }
+ },
+ "intro": {
+ "label": "오토파일럿",
+ "title": "에이전트가 제때 알아서 일을 시작하게 하세요",
+ "description": "일정이나 Webhook을 설정하면 실행될 때마다 태스크를 만들어 에이전트에게 맡기거나 에이전트를 바로 실행합니다. 템플릿을 골라 조금만 고치면 됩니다.",
+ "templates": "템플릿으로 시작"
}
}
diff --git a/packages/views/locales/ko/layout.json b/packages/views/locales/ko/layout.json
index 511b5117d3..5396c9fc15 100644
--- a/packages/views/locales/ko/layout.json
+++ b/packages/views/locales/ko/layout.json
@@ -177,5 +177,14 @@
"object_page": {
"toggle_panel": "오른쪽 사이드바 전환",
"properties": "속성"
+ },
+ "feature_intro": {
+ "read_docs": "문서 읽기",
+ "carousel": "캐러셀",
+ "slide": "슬라이드",
+ "slide_position": "{{total}}개 중 {{current}}번째",
+ "go_to_slide": "{{index}}번째 슬라이드로 이동",
+ "previous": "이전",
+ "next": "다음"
}
}
diff --git a/packages/views/locales/ko/projects.json b/packages/views/locales/ko/projects.json
index 9c45216a28..0922f4af68 100644
--- a/packages/views/locales/ko/projects.json
+++ b/packages/views/locales/ko/projects.json
@@ -5,8 +5,6 @@
"scope_all": "전체 프로젝트",
"scope_active": "진행 중인 프로젝트",
"scope_closed": "종료된 프로젝트",
- "empty": "아직 프로젝트가 없습니다",
- "empty_description": "관련 태스크를 프로젝트로 묶어 진행 상황과 담당자를 추적하세요.",
"view_compact": "간결하게",
"view_comfortable": "넓게",
"no_search_results": "검색 결과가 없습니다",
@@ -174,5 +172,36 @@
"section_priority": "우선순위",
"section_lead": "리드",
"view": "보기"
+ },
+ "intro": {
+ "title": "큰일은 프로젝트로 나눠 진행하세요",
+ "description": "프로젝트는 관련 태스크를 한데 모아 진행 상황을 함께 보게 해 줍니다. 프로젝트 설명과 연결된 저장소는 에이전트가 실행될 때마다 컨텍스트로 전달됩니다.",
+ "slides": {
+ "progress": {
+ "title": "진행 상황을 한눈에",
+ "description": "상태, 리드, 목표일, 완료율이 카드 한 장에 모여 있어 태스크를 하나씩 열어 볼 필요가 없습니다."
+ },
+ "context": {
+ "title": "실행마다 컨텍스트가 따라갑니다",
+ "description": "설명은 한 번만 쓰고 저장소도 한 번만 연결하세요. 프로젝트 안 태스크의 모든 실행이 이를 가져갑니다."
+ },
+ "sidebar": {
+ "title": "사이드바에 고정",
+ "description": "자주 쓰는 프로젝트를 사이드바에 고정하고, 펼치면 안의 태스크가 보입니다."
+ }
+ },
+ "art": {
+ "project_website": "웹사이트 개편",
+ "project_mobile": "모바일 1.0",
+ "project_onboarding": "온보딩",
+ "context_label": "프로젝트 설명",
+ "context_body": "Next.js와 Tailwind로 만드는 새 웹사이트. 문구는 docs/brand를 따르고 모든 페이지에서 다크 모드를 지원한다.",
+ "run_started": "실행 시작",
+ "context_loaded": "프로젝트 컨텍스트와 저장소 2개를 불러왔습니다",
+ "issue_count": "태스크 {{done}} / {{total}}",
+ "issue_hero": "홈페이지 히어로 애니메이션",
+ "issue_pricing": "요금제 비교표",
+ "issue_blog": "블로그 목록 페이지네이션"
+ }
}
}
diff --git a/packages/views/locales/ko/runtimes.json b/packages/views/locales/ko/runtimes.json
index 5f154298b9..4e8d412372 100644
--- a/packages/views/locales/ko/runtimes.json
+++ b/packages/views/locales/ko/runtimes.json
@@ -652,5 +652,29 @@
"cancel": "취소",
"done": "Qoder 연결을 해제했습니다"
}
+ },
+ "intro": {
+ "title": "에이전트에게 일할 컴퓨터를",
+ "description": "런타임은 에이전트가 실제로 태스크를 실행하는 곳입니다. 내 컴퓨터, 서버, 또는 클라우드 서비스를 쓸 수 있습니다.",
+ "slides": {
+ "local": {
+ "title": "이 컴퓨터는 자동 연결",
+ "description": "데스크톱 앱을 내려받아 로그인하면 이 컴퓨터의 Claude Code, Codex 등이 자동으로 나타납니다."
+ },
+ "remote": {
+ "title": "다른 머신은 명령 두 개로",
+ "description": "서버나 다른 컴퓨터에 CLI를 설치하고 multica setup을 실행하면 연결됩니다."
+ },
+ "cloud": {
+ "title": "클라우드 노드도 가능",
+ "description": "머신을 직접 관리하기 싫다면 Multica가 호스팅하는 클라우드 노드를 만드세요."
+ }
+ },
+ "art": {
+ "this_computer": "이 컴퓨터 · 데스크톱",
+ "detected": "감지된 harness",
+ "run_there": "해당 머신에서 실행",
+ "connected": "{{name}}이(가) Multica에 연결됨"
+ }
}
}
diff --git a/packages/views/locales/ko/skills.json b/packages/views/locales/ko/skills.json
index 8d7a3c64a9..1a961bb174 100644
--- a/packages/views/locales/ko/skills.json
+++ b/packages/views/locales/ko/skills.json
@@ -20,10 +20,6 @@
"description": "내가 생성한 스킬"
}
},
- "empty": {
- "title": "아직 스킬이 없습니다",
- "description": "skill은 에이전트가 재사용하는 작업 방식입니다. 직접 만들거나 런타임에서 가져오세요."
- },
"no_matches": {
"title": "일치하는 결과 없음",
"with_query": "\"{{query}}\"와 일치하는 스킬이 없습니다{{filterSuffix}}.",
@@ -31,11 +27,6 @@
"filter_only": "이 필터와 일치하는 스킬이 없습니다.",
"try_different": " 다른 검색어를 시도해 보세요."
},
- "intro_banner": {
- "title": "워크스페이스와 공유됩니다.",
- "body": "누구나 스킬을 만들거나 URL이나 로컬 폴더에서 가져오거나 로컬 런타임에서 복사할 수 있으며, 모든 에이전트가 사용할 수 있습니다.",
- "highlight": "로컬 런타임 스킬은 여기로 복사하기 전까지 비공개로 유지됩니다."
- },
"list_error": {
"title": "스킬을 불러오지 못했습니다",
"fallback": "스킬 목록을 가져오는 중 문제가 발생했습니다.",
@@ -356,5 +347,34 @@
"markdown_placeholder": "Markdown 내용 작성...",
"raw_placeholder": "파일 내용...",
"raw_aria": "{{path}}의 일반 텍스트 내용"
+ },
+ "intro": {
+ "title": "팀의 일하는 방식을 스킬로 만드세요",
+ "description": "스킬은 재사용할 수 있는 작업 지침(SKILL.md)입니다. 워크스페이스에 한 번 추가하고 에이전트에 할당하면 에이전트가 그대로 따릅니다.",
+ "slides": {
+ "methods": {
+ "title": "네 가지 추가 방법",
+ "description": "빈 SKILL.md부터 쓰거나, 로컬 폴더, URL, 런타임에서 기존 스킬을 가져오세요."
+ },
+ "assign": {
+ "title": "에이전트에 할당",
+ "description": "스킬 하나를 여러 에이전트가 쓸 수 있습니다. 한 곳만 고치면 이를 쓰는 모든 에이전트에 반영됩니다."
+ },
+ "share": {
+ "title": "워크스페이스에서 공유",
+ "description": "로컬 런타임의 스킬은 여기로 복사하기 전까지 비공개입니다. 복사하면 어떤 에이전트든 쓸 수 있습니다."
+ }
+ },
+ "art": {
+ "skill_summary": "먼저 테스트를 돌린 뒤 접근성과 성능을 확인한다.",
+ "add_to_agent": "에이전트에 추가",
+ "local_skills": "로컬 스킬",
+ "private": "비공개",
+ "workspace_shared": "워크스페이스",
+ "all_agents": "모든 에이전트가 사용 가능",
+ "role_reviewer": "리뷰어",
+ "role_fullstack": "풀스택",
+ "copy_to_workspace": "워크스페이스로 복사"
+ }
}
}
diff --git a/packages/views/locales/ko/squads.json b/packages/views/locales/ko/squads.json
index d81586b06b..21e34a9009 100644
--- a/packages/views/locales/ko/squads.json
+++ b/packages/views/locales/ko/squads.json
@@ -2,8 +2,6 @@
"page": {
"title": "스쿼드",
"new_button": "새 스쿼드",
- "empty_no_squads": "아직 스쿼드가 없습니다",
- "empty_description": "에이전트와 멤버를 스쿼드로 묶으면 태스크를 스쿼드 전체에 맡길 수 있습니다.",
"empty_no_match": "필터와 일치하는 스쿼드가 없습니다.",
"table": {
"name": "스쿼드",
@@ -134,5 +132,35 @@
"mine": "내 스쿼드",
"all": "전체 스쿼드"
},
- "toolbar": {}
+ "toolbar": {},
+ "intro": {
+ "title": "에이전트를 스쿼드로 묶어 팀처럼 일하게 하세요",
+ "description": "태스크를 스쿼드에 할당하면 리더 에이전트가 내용을 읽고, 역할에 맞는 멤버에게 다음 단계를 맡기고, 목표를 이룰 때까지 챙깁니다. 소통할 창구는 하나뿐입니다.",
+ "slides": {
+ "route": {
+ "title": "창구는 하나, 배분은 자동",
+ "description": "리더가 태스크를 읽고 다음 단계에 가장 적합한 멤버를 멘션합니다. 그 멤버만 작업을 시작합니다."
+ },
+ "roles": {
+ "title": "역할별로 나눠 맡기",
+ "description": "역할 설명으로 각 멤버가 무엇을 잘하는지 리더에게 알려 줍니다. 멤버는 에이전트일 수도, 사람일 수도 있습니다."
+ },
+ "progress": {
+ "title": "진행 상황을 한곳에서",
+ "description": "스쿼드 페이지에 최근 작업과 멤버별로 진행 중인 일이 표시됩니다."
+ }
+ },
+ "art": {
+ "assignee": "담당",
+ "squad_name": "프론트엔드 스쿼드",
+ "issue_dark_mode": "설정에 다크 모드 전환 추가",
+ "issue_board_columns": "보드 열 너비 조절 지원",
+ "issue_inbox_gestures": "모바일 인박스 스와이프 제스처",
+ "issue_paste_images": "댓글에 이미지 붙여넣기",
+ "delegating": "역할에 맞는 멤버를 고르는 중...",
+ "role_frontend": "프론트엔드",
+ "role_testing": "테스트",
+ "role_product": "프로덕트"
+ }
+ }
}
diff --git a/packages/views/locales/zh-Hans/agents.json b/packages/views/locales/zh-Hans/agents.json
index 871daf97a1..6ee649cd98 100644
--- a/packages/views/locales/zh-Hans/agents.json
+++ b/packages/views/locales/zh-Hans/agents.json
@@ -45,8 +45,6 @@
"title": "已归档智能体"
},
"empty": {
- "title": "还没有智能体",
- "description": "智能体会接手分配给它的任务,在你的运行时上自己干完。",
"setup": {
"label": "配置步骤",
"runtime": "接入运行时",
@@ -1041,5 +1039,29 @@
"section_owner": "owner",
"section_model": "模型"
},
- "actions": {}
+ "actions": {},
+ "intro": {
+ "title": "招第一位 AI 队友",
+ "description": "智能体像团队成员一样接任务:在你的运行时上用 Claude Code、Codex 等工具动手做,做完在评论里交付。",
+ "slides": {
+ "describe": {
+ "title": "一句话说清它做什么",
+ "description": "描述职责,选好运行时和模型,就能创建。之后随时改指令、加 skill。"
+ },
+ "assign": {
+ "title": "像同事一样分配任务",
+ "description": "在任何任务的负责人里选它。它会自己开工,不用盯着。"
+ },
+ "deliver": {
+ "title": "看它干活,在评论里交付",
+ "description": "执行过程实时可见;完成后在任务评论里交付结果和 PR。"
+ }
+ },
+ "art": {
+ "prompt": "审查前端 PR,重点看可访问性和性能,结论写在 PR 评论里。",
+ "issue_title": "定价页移动端排版错位",
+ "comment": "修好了:价格卡片在 375px 下改为单列。已开 PR,测试通过。",
+ "step_read": "读取 {{file}}"
+ }
+ }
}
diff --git a/packages/views/locales/zh-Hans/autopilots.json b/packages/views/locales/zh-Hans/autopilots.json
index 0c078a21b3..c674d62128 100644
--- a/packages/views/locales/zh-Hans/autopilots.json
+++ b/packages/views/locales/zh-Hans/autopilots.json
@@ -1,7 +1,6 @@
{
"page": {
"new_autopilot": "新建自动化",
- "start_blank": "从空白开始",
"table": {
"name": "名称",
"agent": "智能体",
@@ -15,10 +14,6 @@
"created": "创建时间"
},
"last_run_empty": "--",
- "empty": {
- "title": "还没有自动化",
- "hint": "为你的智能体安排周期性工作。从模板选一个,或从空白开始。"
- },
"no_matches": "没有匹配的自动化",
"retry": "重试"
},
@@ -486,8 +481,6 @@
"select_page": "选择所有已开启的唤醒",
"load_error": "无法加载唤醒",
"loading": "正在加载唤醒…",
- "empty": "暂无唤醒规则",
- "empty_description": "智能体为任务设置的定时、等待 PR 或等待回复,会列在这里。",
"disable_selected": "关闭所选",
"confirm_title": "关闭 {{count}} 个唤醒?",
"confirm_body": "关闭后将停止后续唤醒,并撤回仍在排队、尚未交给智能体的运行。已交给智能体的运行会继续,可在执行日志中停止。",
@@ -523,6 +516,37 @@
"banner_view": "查看",
"create": "新建唤醒",
"create_pick_issue": "选择要添加唤醒的任务",
- "create_pick_issue_description": "唤醒属于该任务,并随任务结束而停止。"
+ "create_pick_issue_description": "唤醒属于该任务,并随任务结束而停止。",
+ "intro": {
+ "title": "让智能体在对的时候回来",
+ "description": "唤醒挂在任务上:PR 合并了、有人回复了、到点了,就把智能体叫回来接着做。任务结束,唤醒自动停止。",
+ "slides": {
+ "event": {
+ "title": "等事件发生",
+ "description": "不用让智能体空转等待。条件满足时,平台自动把它叫回来。"
+ },
+ "time": {
+ "title": "或者定个时间",
+ "description": "单次定时适合\"明天下午再看看\",周期适合每天的例行检查。"
+ },
+ "ends": {
+ "title": "任务结束就停",
+ "description": "唤醒属于任务,任务完成或取消后自动关闭,不会留下孤儿规则。"
+ }
+ },
+ "art": {
+ "issue_inbox": "收件箱分组的空状态",
+ "issue_board": "看板列宽可拖拽",
+ "issue_paste": "评论支持粘贴图片",
+ "reply": "\"PR 已合并,开始更新文档并关闭任务。\"",
+ "event_examples": "PR 合并、有新评论"
+ }
+ }
+ },
+ "intro": {
+ "label": "自动化",
+ "title": "让智能体按时自己开工",
+ "description": "设好时间表或 Webhook,每次触发都会自动建任务交给智能体,也可以直接运行。挑一个模板,改改就能用。",
+ "templates": "从模板开始"
}
}
diff --git a/packages/views/locales/zh-Hans/layout.json b/packages/views/locales/zh-Hans/layout.json
index fa73b0ddb8..03b6d75299 100644
--- a/packages/views/locales/zh-Hans/layout.json
+++ b/packages/views/locales/zh-Hans/layout.json
@@ -177,5 +177,14 @@
"object_page": {
"toggle_panel": "切换右侧边栏",
"properties": "属性"
+ },
+ "feature_intro": {
+ "read_docs": "阅读文档",
+ "carousel": "轮播",
+ "slide": "卡片",
+ "slide_position": "第 {{current}} 张,共 {{total}} 张",
+ "go_to_slide": "转到第 {{index}} 张",
+ "previous": "上一张",
+ "next": "下一张"
}
}
diff --git a/packages/views/locales/zh-Hans/projects.json b/packages/views/locales/zh-Hans/projects.json
index 511ac514ac..e64b80bdad 100644
--- a/packages/views/locales/zh-Hans/projects.json
+++ b/packages/views/locales/zh-Hans/projects.json
@@ -5,8 +5,6 @@
"scope_all": "全部项目",
"scope_active": "进行中的项目",
"scope_closed": "已结束的项目",
- "empty": "还没有项目",
- "empty_description": "用项目把相关任务归到一起,跟踪进度和负责人。",
"view_compact": "紧凑视图",
"view_comfortable": "舒适视图",
"no_search_results": "未找到匹配的项目",
@@ -174,5 +172,36 @@
"section_priority": "优先级",
"section_lead": "负责人",
"view": "视图"
+ },
+ "intro": {
+ "title": "把一件大事拆成项目来推进",
+ "description": "项目把相关任务收在一起,统一看进度。项目描述和关联的仓库会作为上下文,自动带进每一次智能体运行。",
+ "slides": {
+ "progress": {
+ "title": "进度一眼看清",
+ "description": "状态、负责人、截止日期和完成比例都在一张卡上,不用逐个翻任务。"
+ },
+ "context": {
+ "title": "上下文自动带给智能体",
+ "description": "写一次项目描述、关联一次仓库,项目里每个任务的运行都会带上。"
+ },
+ "sidebar": {
+ "title": "钉在侧栏,随手进入",
+ "description": "常用项目固定在侧栏,展开就能看到里面的任务。"
+ }
+ },
+ "art": {
+ "project_website": "官网改版",
+ "project_mobile": "移动端 1.0",
+ "project_onboarding": "新手引导",
+ "context_label": "项目描述",
+ "context_body": "新版官网,Next.js + Tailwind。文案以 docs/brand 为准,所有页面都要支持深色模式。",
+ "run_started": "开始运行",
+ "context_loaded": "已载入项目上下文和 2 个仓库",
+ "issue_count": "{{done}} / {{total}} 个任务",
+ "issue_hero": "首页 Hero 动效",
+ "issue_pricing": "定价页对比表",
+ "issue_blog": "博客列表分页"
+ }
}
}
diff --git a/packages/views/locales/zh-Hans/runtimes.json b/packages/views/locales/zh-Hans/runtimes.json
index 34ccae9020..7b75632eff 100644
--- a/packages/views/locales/zh-Hans/runtimes.json
+++ b/packages/views/locales/zh-Hans/runtimes.json
@@ -652,5 +652,29 @@
"cancel": "取消",
"done": "已断开 Qoder"
}
+ },
+ "intro": {
+ "title": "给智能体一台干活的电脑",
+ "description": "运行时是智能体真正执行任务的地方:你的电脑、一台服务器,或者云服务。",
+ "slides": {
+ "local": {
+ "title": "这台电脑,自动连接",
+ "description": "下载桌面端并登录,这台电脑上的 Claude Code、Codex 等会自动出现。"
+ },
+ "remote": {
+ "title": "其他机器,两条命令",
+ "description": "在服务器或另一台电脑上装好 CLI,运行 multica setup 就连上了。"
+ },
+ "cloud": {
+ "title": "或者用云端节点",
+ "description": "不想自己管机器?创建一台 Multica 托管的云节点。"
+ }
+ },
+ "art": {
+ "this_computer": "这台电脑 · 桌面端",
+ "detected": "自动识别到的 harness",
+ "run_there": "在那台机器上运行",
+ "connected": "{{name}} 已连接到 Multica"
+ }
}
}
diff --git a/packages/views/locales/zh-Hans/skills.json b/packages/views/locales/zh-Hans/skills.json
index 53d720561c..f9636d4034 100644
--- a/packages/views/locales/zh-Hans/skills.json
+++ b/packages/views/locales/zh-Hans/skills.json
@@ -20,10 +20,6 @@
"description": "你创建的 skill"
}
},
- "empty": {
- "title": "还没有 skill",
- "description": "skill 是智能体可复用的做事方法。创建一个,或从运行时导入。"
- },
"no_matches": {
"title": "无匹配",
"with_query": "没有 skill 匹配 \"{{query}}\"{{filterSuffix}}。",
@@ -31,11 +27,6 @@
"filter_only": "当前筛选下没有匹配的 skill。",
"try_different": " 换个关键词试试。"
},
- "intro_banner": {
- "title": "在工作区内共享。",
- "body": "任何成员都可以创建 skill、从 URL 或本地文件夹导入、或从本地运行时复制——之后所有智能体都能用它。",
- "highlight": "本地运行时里的 skill 在你复制过来之前是私有的。"
- },
"list_error": {
"title": "无法加载 skill",
"fallback": "拉取 skill 列表时出错。",
@@ -356,5 +347,34 @@
"markdown_placeholder": "输入 Markdown 内容...",
"raw_placeholder": "文件内容...",
"raw_aria": "{{path}} 的纯文本内容"
+ },
+ "intro": {
+ "title": "把团队的做事方法写成 skill",
+ "description": "Skill 是一份可复用的做事说明(SKILL.md)。在工作区里添加一次,分配给哪个智能体,它就会照着做。",
+ "slides": {
+ "methods": {
+ "title": "四种方式添加",
+ "description": "从空白的 SKILL.md 写起,或从本地文件夹、URL、运行时导入已有的 skill。"
+ },
+ "assign": {
+ "title": "分配给智能体",
+ "description": "一个 skill 可以给多个智能体用。改一处,所有用到它的智能体都会更新。"
+ },
+ "share": {
+ "title": "在工作区内共享",
+ "description": "本地运行时里的 skill 在你复制过来之前是私有的,复制后所有智能体都能用。"
+ }
+ },
+ "art": {
+ "skill_summary": "先跑测试,再看可访问性和性能。",
+ "add_to_agent": "分配给智能体",
+ "local_skills": "本地 skill",
+ "private": "私有",
+ "workspace_shared": "工作区",
+ "all_agents": "所有智能体可用",
+ "role_reviewer": "审查者",
+ "role_fullstack": "全栈",
+ "copy_to_workspace": "复制到工作区"
+ }
}
}
diff --git a/packages/views/locales/zh-Hans/squads.json b/packages/views/locales/zh-Hans/squads.json
index 2978bade4b..8c25fabcb4 100644
--- a/packages/views/locales/zh-Hans/squads.json
+++ b/packages/views/locales/zh-Hans/squads.json
@@ -2,8 +2,6 @@
"page": {
"title": "小队",
"new_button": "新建小队",
- "empty_no_squads": "还没有小队",
- "empty_description": "把智能体和成员编成小队,任务可以直接交给整个小队。",
"empty_no_match": "没有匹配筛选条件的小队。",
"table": {
"name": "小队",
@@ -134,5 +132,35 @@
"mine": "我的小队",
"all": "全部小队"
},
- "toolbar": {}
+ "toolbar": {},
+ "intro": {
+ "title": "让智能体组队,像团队一样干活",
+ "description": "把任务交给小队,队长智能体会读懂需求,按成员的角色分派下一步,并跟进到目标完成。你只需要对接一个入口。",
+ "slides": {
+ "route": {
+ "title": "一个入口,自动分派",
+ "description": "队长读懂任务后,@ 最适合下一步的成员。只有被点名的成员会开始工作。"
+ },
+ "roles": {
+ "title": "按角色分工",
+ "description": "角色描述告诉队长每位成员擅长什么。成员可以是智能体,也可以是人。"
+ },
+ "progress": {
+ "title": "进展集中在一处",
+ "description": "小队详情页列出近期的任务,以及每位成员正在做什么。"
+ }
+ },
+ "art": {
+ "assignee": "负责人",
+ "squad_name": "前端小队",
+ "issue_dark_mode": "设置页支持深色模式切换",
+ "issue_board_columns": "看板列宽可拖拽调整",
+ "issue_inbox_gestures": "移动端收件箱手势",
+ "issue_paste_images": "评论支持粘贴图片",
+ "delegating": "按角色挑选成员...",
+ "role_frontend": "前端",
+ "role_testing": "测试",
+ "role_product": "产品"
+ }
+ }
}
diff --git a/packages/views/locales/zh-Hant/agents.json b/packages/views/locales/zh-Hant/agents.json
index 6dc6771884..ac7cc6f815 100644
--- a/packages/views/locales/zh-Hant/agents.json
+++ b/packages/views/locales/zh-Hant/agents.json
@@ -45,8 +45,6 @@
"title": "已歸檔 AI 代理"
},
"empty": {
- "title": "還沒有 AI 代理",
- "description": "AI 代理會接手指派給它的任務,在你的執行時上自己完成。",
"setup": {
"label": "設定步驟",
"runtime": "接入執行時",
@@ -1041,5 +1039,29 @@
"section_owner": "owner",
"section_model": "模型"
},
- "actions": {}
+ "actions": {},
+ "intro": {
+ "title": "招募第一位 AI 隊友",
+ "description": "AI 代理像團隊成員一樣接任務:在你的執行時上用 Claude Code、Codex 等工具動手做,做完在評論裡交付。",
+ "slides": {
+ "describe": {
+ "title": "一句話說清它做什麼",
+ "description": "描述職責,選好執行時和模型,就能建立。之後隨時改指令、加 skill。"
+ },
+ "assign": {
+ "title": "像同事一樣分配任務",
+ "description": "在任何任務的負責人裡選它。它會自己開工,不用盯著。"
+ },
+ "deliver": {
+ "title": "看它做事,在評論裡交付",
+ "description": "執行過程即時可見;完成後在任務評論裡交付結果和 PR。"
+ }
+ },
+ "art": {
+ "prompt": "審查前端 PR,重點看無障礙和效能,結論寫在 PR 評論裡。",
+ "issue_title": "定價頁行動版排版錯位",
+ "comment": "修好了:價格卡片在 375px 下改為單欄。已開 PR,測試通過。",
+ "step_read": "讀取 {{file}}"
+ }
+ }
}
diff --git a/packages/views/locales/zh-Hant/autopilots.json b/packages/views/locales/zh-Hant/autopilots.json
index dc1a6f9d7c..e5ff58967c 100644
--- a/packages/views/locales/zh-Hant/autopilots.json
+++ b/packages/views/locales/zh-Hant/autopilots.json
@@ -1,7 +1,6 @@
{
"page": {
"new_autopilot": "新建自動化",
- "start_blank": "從空白開始",
"table": {
"name": "名稱",
"agent": "AI 代理",
@@ -15,10 +14,6 @@
"created": "建立時間"
},
"last_run_empty": "--",
- "empty": {
- "title": "還沒有自動化",
- "hint": "為你的 AI 代理安排週期性工作。從模板選一個,或從空白開始。"
- },
"no_matches": "沒有匹配的自動化",
"retry": "重試"
},
@@ -486,8 +481,6 @@
"select_page": "選擇所有已開啟的喚醒",
"load_error": "無法載入喚醒",
"loading": "正在載入喚醒…",
- "empty": "暫無喚醒規則",
- "empty_description": "AI 代理為任務設定的定時、等待 PR 或等待回覆,會列在這裡。",
"disable_selected": "關閉所選",
"confirm_title": "關閉 {{count}} 個喚醒?",
"confirm_body": "關閉後將停止後續喚醒,並撤回仍在排隊、尚未交給 AI 代理的執行。已交給 AI 代理的執行會繼續,可在執行日誌中停止。",
@@ -523,6 +516,37 @@
"banner_view": "檢視",
"create": "新建喚醒",
"create_pick_issue": "選擇要新增喚醒的任務",
- "create_pick_issue_description": "喚醒屬於該任務,並隨任務結束而停止。"
+ "create_pick_issue_description": "喚醒屬於該任務,並隨任務結束而停止。",
+ "intro": {
+ "title": "讓 AI 代理在對的時候回來",
+ "description": "喚醒掛在任務上:PR 合併了、有人回覆了、到點了,就把 AI 代理叫回來接著做。任務結束,喚醒自動停止。",
+ "slides": {
+ "event": {
+ "title": "等事件發生",
+ "description": "不用讓 AI 代理空轉等待。條件滿足時,平臺自動把它叫回來。"
+ },
+ "time": {
+ "title": "或者定個時間",
+ "description": "單次定時適合\"明天下午再看看\",週期適合每天的例行檢查。"
+ },
+ "ends": {
+ "title": "任務結束就停",
+ "description": "喚醒屬於任務,任務完成或取消後自動關閉,不會留下孤兒規則。"
+ }
+ },
+ "art": {
+ "issue_inbox": "收件匣分組的空狀態",
+ "issue_board": "看板欄寬可拖曳",
+ "issue_paste": "評論支援貼上圖片",
+ "reply": "\"PR 已合併,開始更新文件並關閉任務。\"",
+ "event_examples": "PR 合併、有新評論"
+ }
+ }
+ },
+ "intro": {
+ "label": "自動化",
+ "title": "讓 AI 代理按時自己開工",
+ "description": "設好排程或 Webhook,每次觸發都會自動建立任務交給 AI 代理,也可以直接執行。挑一個模板,改一改就能用。",
+ "templates": "從模板開始"
}
}
diff --git a/packages/views/locales/zh-Hant/layout.json b/packages/views/locales/zh-Hant/layout.json
index 375ada0faa..58e9b186cc 100644
--- a/packages/views/locales/zh-Hant/layout.json
+++ b/packages/views/locales/zh-Hant/layout.json
@@ -177,5 +177,14 @@
"object_page": {
"toggle_panel": "切換右側邊欄",
"properties": "屬性"
+ },
+ "feature_intro": {
+ "read_docs": "閱讀文件",
+ "carousel": "輪播",
+ "slide": "卡片",
+ "slide_position": "第 {{current}} 張,共 {{total}} 張",
+ "go_to_slide": "前往第 {{index}} 張",
+ "previous": "上一張",
+ "next": "下一張"
}
}
diff --git a/packages/views/locales/zh-Hant/projects.json b/packages/views/locales/zh-Hant/projects.json
index 2e87986880..91f655a753 100644
--- a/packages/views/locales/zh-Hant/projects.json
+++ b/packages/views/locales/zh-Hant/projects.json
@@ -5,8 +5,6 @@
"scope_all": "全部專案",
"scope_active": "進行中的專案",
"scope_closed": "已結束的專案",
- "empty": "還沒有專案",
- "empty_description": "用專案把相關任務歸到一起,追蹤進度和負責人。",
"view_compact": "緊湊檢視",
"view_comfortable": "舒適檢視",
"no_search_results": "未找到匹配的專案",
@@ -174,5 +172,36 @@
"section_priority": "優先順序",
"section_lead": "負責人",
"view": "檢視"
+ },
+ "intro": {
+ "title": "把一件大事拆成專案來推進",
+ "description": "專案把相關任務收在一起,統一看進度。專案描述和關聯的倉庫會作為上下文,自動帶進每一次 AI 代理執行。",
+ "slides": {
+ "progress": {
+ "title": "進度一眼看清",
+ "description": "狀態、負責人、截止日期和完成比例都在一張卡上,不用逐一翻任務。"
+ },
+ "context": {
+ "title": "上下文自動帶給 AI 代理",
+ "description": "寫一次專案描述、關聯一次倉庫,專案裡每個任務的執行都會帶上。"
+ },
+ "sidebar": {
+ "title": "釘在側欄,隨手進入",
+ "description": "常用專案固定在側欄,展開就能看到裡面的任務。"
+ }
+ },
+ "art": {
+ "project_website": "官網改版",
+ "project_mobile": "行動版 1.0",
+ "project_onboarding": "新手引導",
+ "context_label": "專案描述",
+ "context_body": "新版官網,Next.js + Tailwind。文案以 docs/brand 為準,所有頁面都要支援深色模式。",
+ "run_started": "開始執行",
+ "context_loaded": "已載入專案上下文和 2 個倉庫",
+ "issue_count": "{{done}} / {{total}} 個任務",
+ "issue_hero": "首頁 Hero 動效",
+ "issue_pricing": "定價頁對比表",
+ "issue_blog": "部落格列表分頁"
+ }
}
}
diff --git a/packages/views/locales/zh-Hant/runtimes.json b/packages/views/locales/zh-Hant/runtimes.json
index 3bf023e7e4..42ad488e24 100644
--- a/packages/views/locales/zh-Hant/runtimes.json
+++ b/packages/views/locales/zh-Hant/runtimes.json
@@ -652,5 +652,29 @@
"cancel": "取消",
"done": "已斷開 Qoder"
}
+ },
+ "intro": {
+ "title": "給 AI 代理一臺做事的電腦",
+ "description": "執行時是 AI 代理真正執行任務的地方:你的電腦、一臺伺服器,或者雲端服務。",
+ "slides": {
+ "local": {
+ "title": "這臺電腦,自動連接",
+ "description": "下載桌面端並登入,這臺電腦上的 Claude Code、Codex 等會自動出現。"
+ },
+ "remote": {
+ "title": "其他機器,兩條命令",
+ "description": "在伺服器或另一臺電腦上裝好 CLI,執行 multica setup 就連上了。"
+ },
+ "cloud": {
+ "title": "或者用雲端節點",
+ "description": "不想自己管機器?建立一臺 Multica 託管的雲節點。"
+ }
+ },
+ "art": {
+ "this_computer": "這臺電腦 · 桌面端",
+ "detected": "自動識別到的 harness",
+ "run_there": "在那臺機器上執行",
+ "connected": "{{name}} 已連接到 Multica"
+ }
}
}
diff --git a/packages/views/locales/zh-Hant/skills.json b/packages/views/locales/zh-Hant/skills.json
index 027391586a..b7adb6a7d9 100644
--- a/packages/views/locales/zh-Hant/skills.json
+++ b/packages/views/locales/zh-Hant/skills.json
@@ -20,10 +20,6 @@
"description": "你建立的 skill"
}
},
- "empty": {
- "title": "還沒有 skill",
- "description": "skill 是 AI 代理可重複使用的做事方法。建立一個,或從執行時匯入。"
- },
"no_matches": {
"title": "無匹配",
"with_query": "沒有 skill 匹配 \"{{query}}\"{{filterSuffix}}。",
@@ -31,11 +27,6 @@
"filter_only": "當前篩選下沒有匹配的 skill。",
"try_different": " 換個關鍵詞試試。"
},
- "intro_banner": {
- "title": "在工作區內共享。",
- "body": "任何成員都可以建立 skill、從 URL 或本地資料夾匯入、或從本地執行時複製——之後所有 AI 代理都能用它。",
- "highlight": "本地執行時裡的 skill 在你複製過來之前是私有的。"
- },
"list_error": {
"title": "無法載入 skill",
"fallback": "拉取 skill 列表時出錯。",
@@ -356,5 +347,34 @@
"markdown_placeholder": "輸入 Markdown 內容...",
"raw_placeholder": "檔案內容...",
"raw_aria": "{{path}} 的純文字內容"
+ },
+ "intro": {
+ "title": "把團隊的做事方法寫成 skill",
+ "description": "Skill 是一份可重複使用的做事說明(SKILL.md)。在工作區裡新增一次,分配給哪個 AI 代理,它就會照著做。",
+ "slides": {
+ "methods": {
+ "title": "四種方式新增",
+ "description": "從空白的 SKILL.md 寫起,或從本地資料夾、URL、執行時匯入已有的 skill。"
+ },
+ "assign": {
+ "title": "分配給 AI 代理",
+ "description": "一個 skill 可以給多個 AI 代理使用。改一處,所有用到它的 AI 代理都會更新。"
+ },
+ "share": {
+ "title": "在工作區內共享",
+ "description": "本地執行時裡的 skill 在你複製過來之前是私有的,複製後所有 AI 代理都能使用。"
+ }
+ },
+ "art": {
+ "skill_summary": "先跑測試,再看無障礙和效能。",
+ "add_to_agent": "分配給 AI 代理",
+ "local_skills": "本地 skill",
+ "private": "私有",
+ "workspace_shared": "工作區",
+ "all_agents": "所有 AI 代理可用",
+ "role_reviewer": "審查者",
+ "role_fullstack": "全端",
+ "copy_to_workspace": "複製到工作區"
+ }
}
}
diff --git a/packages/views/locales/zh-Hant/squads.json b/packages/views/locales/zh-Hant/squads.json
index ac63768c1c..0af8deb3c7 100644
--- a/packages/views/locales/zh-Hant/squads.json
+++ b/packages/views/locales/zh-Hant/squads.json
@@ -2,8 +2,6 @@
"page": {
"title": "小隊",
"new_button": "新建小隊",
- "empty_no_squads": "還沒有小隊",
- "empty_description": "把 AI 代理和成員編成小隊,任務可以直接交給整個小隊。",
"empty_no_match": "沒有匹配篩選條件的小隊。",
"table": {
"name": "小隊",
@@ -134,5 +132,35 @@
"mine": "我的小隊",
"all": "全部小隊"
},
- "toolbar": {}
+ "toolbar": {},
+ "intro": {
+ "title": "讓 AI 代理組隊,像團隊一樣做事",
+ "description": "把任務交給小隊,隊長 AI 代理會讀懂需求,依成員的角色分派下一步,並追蹤到目標完成。你只需要對接一個入口。",
+ "slides": {
+ "route": {
+ "title": "一個入口,自動分派",
+ "description": "隊長讀懂任務後,@ 最適合下一步的成員。只有被點名的成員會開始工作。"
+ },
+ "roles": {
+ "title": "依角色分工",
+ "description": "角色描述告訴隊長每位成員擅長什麼。成員可以是 AI 代理,也可以是人。"
+ },
+ "progress": {
+ "title": "進展集中在一處",
+ "description": "小隊詳情頁列出近期的任務,以及每位成員正在做什麼。"
+ }
+ },
+ "art": {
+ "assignee": "負責人",
+ "squad_name": "前端小隊",
+ "issue_dark_mode": "設定頁支援深色模式切換",
+ "issue_board_columns": "看板欄寬可拖曳調整",
+ "issue_inbox_gestures": "行動版收件箱手勢",
+ "issue_paste_images": "留言支援貼上圖片",
+ "delegating": "依角色挑選成員...",
+ "role_frontend": "前端",
+ "role_testing": "測試",
+ "role_product": "產品"
+ }
+ }
}
diff --git a/packages/views/projects/components/projects-intro.tsx b/packages/views/projects/components/projects-intro.tsx
new file mode 100644
index 0000000000..ae2570e15f
--- /dev/null
+++ b/packages/views/projects/components/projects-intro.tsx
@@ -0,0 +1,220 @@
+"use client";
+
+import {
+ Calendar,
+ Check,
+ ChevronDown,
+ ChevronRight,
+ FolderGit,
+ FolderKanban,
+ Plus,
+} from "@multica/ui/icons";
+import { Button } from "@multica/ui/components/ui/button";
+import { ActorAvatar } from "@multica/ui/components/common/actor-avatar";
+import { formatAvatarEmoji } from "@multica/ui/lib/avatar-emoji";
+import { cn } from "@multica/ui/lib/utils";
+import { PROJECT_STATUS_CONFIG } from "@multica/core/projects/config";
+import {
+ FeatureIntro,
+ FeatureIntroCarousel,
+ IntroArtCard,
+ IntroArtConnector,
+ IntroArtTag,
+} from "../../layout/feature-intro";
+import { PriorityIcon } from "../../issues/components/priority-icon";
+import { StatusIcon } from "../../issues/components/status-icon";
+import { useLocale, useT } from "../../i18n";
+import { useProjectPriorityLabels, useProjectStatusLabels } from "./labels";
+
+const TARGET_DATE = new Date(2026, 10, 20);
+const PROGRESS = { done: 13, total: 21 };
+const LEAD = { name: "Mia", initials: "M" };
+const AGENT = { name: "Turing", initials: "T", avatarUrl: formatAvatarEmoji("🧩"), isAgent: true };
+const REPOS = ["acme/website", "acme/brand"];
+
+export function ProjectsIntro({ onCreate }: { onCreate: () => void }) {
+ const { t } = useT("projects");
+
+ return (
+ <FeatureIntro
+ icon={FolderKanban}
+ label={t(($) => $.page.title)}
+ title={t(($) => $.intro.title)}
+ description={t(($) => $.intro.description)}
+ docs="projects"
+ columns={[
+ t(($) => $.table.name),
+ t(($) => $.table.priority),
+ t(($) => $.table.status),
+ t(($) => $.table.progress),
+ t(($) => $.table.lead),
+ t(($) => $.table.issues),
+ ]}
+ action={
+ <Button onClick={onCreate}>
+ <Plus aria-hidden="true" />
+ {t(($) => $.page.new_project)}
+ </Button>
+ }
+ >
+ <FeatureIntroCarousel
+ label={t(($) => $.intro.title)}
+ slides={[
+ {
+ id: "progress",
+ title: t(($) => $.intro.slides.progress.title),
+ description: t(($) => $.intro.slides.progress.description),
+ art: <ProgressArt />,
+ },
+ {
+ id: "context",
+ title: t(($) => $.intro.slides.context.title),
+ description: t(($) => $.intro.slides.context.description),
+ art: <ContextArt />,
+ },
+ {
+ id: "sidebar",
+ title: t(($) => $.intro.slides.sidebar.title),
+ description: t(($) => $.intro.slides.sidebar.description),
+ art: <SidebarArt />,
+ },
+ ]}
+ />
+ </FeatureIntro>
+ );
+}
+
+function ProgressArt() {
+ const { t } = useT("projects");
+ const locale = useLocale();
+ const statusLabels = useProjectStatusLabels();
+ const priorityLabels = useProjectPriorityLabels();
+ const status = PROJECT_STATUS_CONFIG.in_progress;
+
+ return (
+ <IntroArtCard className="p-3">
+ <div className="flex items-center gap-2">
+ <span className="text-body">🚀</span>
+ <span className="flex-1 truncate text-body font-medium">
+ {t(($) => $.intro.art.project_website)}
+ </span>
+ <span
+ className={cn(
+ "shrink-0 rounded-xs px-1.5 py-0.5 font-medium",
+ status.badgeBg,
+ status.badgeText,
+ )}
+ >
+ {statusLabels.in_progress}
+ </span>
+ </div>
+ <div className="mt-3 h-1.5 overflow-hidden rounded-full bg-muted">
+ <div
+ className="h-full rounded-full bg-brand"
+ style={{ width: `${(PROGRESS.done / PROGRESS.total) * 100}%` }}
+ />
+ </div>
+ <div className="mt-1.5 flex items-center justify-between text-muted-foreground tabular-nums">
+ <span>{t(($) => $.intro.art.issue_count, PROGRESS)}</span>
+ <span>{`${Math.round((PROGRESS.done / PROGRESS.total) * 100)}%`}</span>
+ </div>
+ <div className="mt-3 flex flex-wrap items-center gap-x-3 gap-y-1.5 border-t pt-3 text-muted-foreground">
+ <span className="flex items-center gap-1.5">
+ {t(($) => $.table.lead)}
+ <ActorAvatar {...LEAD} size="xs" />
+ <span className="text-foreground">{LEAD.name}</span>
+ </span>
+ <span className="flex items-center gap-1">
+ <Calendar className="size-3.5" />
+ {new Intl.DateTimeFormat(locale, { month: "short", day: "numeric" }).format(TARGET_DATE)}
+ </span>
+ <span className="flex items-center gap-1">
+ <PriorityIcon priority="high" />
+ {priorityLabels.high}
+ </span>
+ </div>
+ </IntroArtCard>
+ );
+}
+
+function ContextArt() {
+ const { t } = useT("projects");
+ return (
+ <div className="flex w-full flex-col">
+ <IntroArtCard>
+ <div className="font-medium text-muted-foreground">
+ {t(($) => $.intro.art.context_label)}
+ </div>
+ <p className="mt-1 line-clamp-3">{t(($) => $.intro.art.context_body)}</p>
+ <div className="mt-2 flex flex-wrap gap-1.5">
+ {REPOS.map((repo) => (
+ <IntroArtTag key={repo}>
+ <FolderGit className="size-3" />
+ {repo}
+ </IntroArtTag>
+ ))}
+ </div>
+ </IntroArtCard>
+ <IntroArtConnector />
+ <IntroArtCard highlighted>
+ <div className="flex items-center gap-2">
+ <ActorAvatar {...AGENT} size="sm" />
+ <span className="font-medium">{AGENT.name}</span>
+ <span className="truncate text-muted-foreground">{t(($) => $.intro.art.run_started)}</span>
+ </div>
+ <div className="mt-1 flex items-center gap-1 pl-7 font-medium text-brand">
+ <Check className="size-3.5 shrink-0" />
+ <span className="truncate">{t(($) => $.intro.art.context_loaded)}</span>
+ </div>
+ </IntroArtCard>
+ </div>
+ );
+}
+
+function SidebarArt() {
+ const { t } = useT("projects");
+ const rows = [
+ { icon: "🚀", name: t(($) => $.intro.art.project_website), count: 8, open: true },
+ { icon: "📱", name: t(($) => $.intro.art.project_mobile), count: 14, open: false },
+ { icon: "🧭", name: t(($) => $.intro.art.project_onboarding), count: 5, open: false },
+ ];
+ const issues = [
+ { status: "in_progress", title: t(($) => $.intro.art.issue_hero) },
+ { status: "in_review", title: t(($) => $.intro.art.issue_pricing) },
+ { status: "todo", title: t(($) => $.intro.art.issue_blog) },
+ ];
+ return (
+ <IntroArtCard className="mx-auto w-[85%] p-1.5 text-label">
+ <div className="flex items-center gap-1.5 px-2 pt-1 pb-1.5 text-caption font-medium text-muted-foreground">
+ <span className="flex-1">{t(($) => $.page.title)}</span>
+ <Plus className="size-3" />
+ </div>
+ {rows.map((row) => (
+ <div key={row.icon}>
+ <div
+ className={cn("flex items-center gap-1.5 rounded-md px-2 py-1.5", row.open && "bg-muted")}
+ >
+ {row.open ? (
+ <ChevronDown className="size-3 shrink-0 text-faint-foreground" />
+ ) : (
+ <ChevronRight className="size-3 shrink-0 text-faint-foreground" />
+ )}
+ <span>{row.icon}</span>
+ <span className={cn("flex-1 truncate", row.open && "font-medium")}>{row.name}</span>
+ <span className="text-caption text-faint-foreground tabular-nums">{row.count}</span>
+ </div>
+ {row.open &&
+ issues.map((issue) => (
+ <div
+ key={issue.status}
+ className="flex items-center gap-2 py-1 pr-2 pl-8 text-caption text-muted-foreground"
+ >
+ <StatusIcon status={issue.status} className="size-3 shrink-0" />
+ <span className="truncate">{issue.title}</span>
+ </div>
+ ))}
+ </div>
+ ))}
+ </IntroArtCard>
+ );
+}
diff --git a/packages/views/projects/components/projects-page.test.tsx b/packages/views/projects/components/projects-page.test.tsx
index 423c17648b..1c3f36c5cf 100644
--- a/packages/views/projects/components/projects-page.test.tsx
+++ b/packages/views/projects/components/projects-page.test.tsx
@@ -442,4 +442,15 @@ describe("ProjectsPage header", () => {
await user.click(screen.getByRole("button", { name: "New project" }));
expect(mocks.openModal).toHaveBeenCalledWith("create-project");
});
+
+ it("introduces projects when there are none and creates the first one", async () => {
+ const user = userEvent.setup();
+ mocks.projects = [];
+ renderProjects();
+
+ const intro = screen.getByRole("region", { name: "Break big work into projects" });
+ expect(screen.queryByRole("grid")).not.toBeInTheDocument();
+ await user.click(within(intro).getByRole("button", { name: "New project" }));
+ expect(mocks.openModal).toHaveBeenCalledWith("create-project");
+ });
});
diff --git a/packages/views/projects/components/projects-page.tsx b/packages/views/projects/components/projects-page.tsx
index 9c5cfc60f3..c81237daa4 100644
--- a/packages/views/projects/components/projects-page.tsx
+++ b/packages/views/projects/components/projects-page.tsx
@@ -7,7 +7,6 @@ import {
LayoutGrid,
Pin,
PinOff,
- Plus,
Rows3,
Trash2,
} from "@multica/ui/icons";
@@ -71,7 +70,6 @@ import {
CollectionFilterButton,
CollectionNoMatches,
CollectionPageHeader,
- CollectionPageState,
CollectionResetButton,
CollectionScopeItems,
} from "../../layout/collection-page";
@@ -86,6 +84,7 @@ import {
type CollectionSort,
} from "../../layout/collection-list";
import { ProjectIcon } from "./project-icon";
+import { ProjectsIntro } from "./projects-intro";
import { useT } from "../../i18n";
import { useFormatRelativeDate } from "./labels";
import { ProjectStatusBadge, ProjectPriorityBadge } from "./project-badge";
@@ -847,17 +846,7 @@ export function ProjectsPage() {
/>
{showEmpty ? (
- <CollectionPageState
- icon={FolderKanban}
- title={t(($) => $.page.empty)}
- description={t(($) => $.page.empty_description)}
- actions={
- <Button size="sm" onClick={openCreateProject}>
- <Plus aria-hidden="true" />
- {t(($) => $.page.new_project)}
- </Button>
- }
- />
+ <ProjectsIntro onCreate={openCreateProject} />
) : (
<>
{isCompact ? (
diff --git a/packages/views/runtimes/components/runtimes-intro.tsx b/packages/views/runtimes/components/runtimes-intro.tsx
new file mode 100644
index 0000000000..34c173cafb
--- /dev/null
+++ b/packages/views/runtimes/components/runtimes-intro.tsx
@@ -0,0 +1,192 @@
+"use client";
+
+import type { ReactNode } from "react";
+import { Check, Cloud, Download, Laptop, Server, SquareTerminal } from "@multica/ui/icons";
+import { buttonVariants } from "@multica/ui/components/ui/button";
+import { cn } from "@multica/ui/lib/utils";
+import { providerDisplayName } from "@multica/core/runtimes";
+import {
+ FeatureIntro,
+ FeatureIntroCarousel,
+ IntroArtCard,
+ IntroArtTag,
+ type FeatureIntroSlide,
+} from "../../layout/feature-intro";
+import { useT } from "../../i18n";
+import { ProviderLogo } from "./provider-logo";
+
+const MACHINE = "studio-mbp";
+const REMOTE_MACHINE = "ci-runner-02";
+const DETECTED = ["claude", "codex", "cursor", "copilot"];
+const SETUP_COMMANDS = [
+ "curl -fsSL …/multica/main/scripts/n | bash",
+ "multica setup",
+];
+const CLOUD_NODES = [
+ { name: "cloud-node-01", spec: "t3.medium · ap-southeast-1", online: true },
+ { name: "cloud-node-02", spec: "t3.large · ap-northeast-1", online: false },
+];
+
+export function RuntimesIntro({
+ action,
+ cloudRuntimeEnabled,
+}: {
+ /** The page's add-runtime menu, so every way to add one stays reachable. */
+ action: ReactNode;
+ cloudRuntimeEnabled: boolean;
+}) {
+ const { t } = useT("runtimes");
+
+ const slides: FeatureIntroSlide[] = [
+ {
+ id: "local",
+ title: t(($) => $.intro.slides.local.title),
+ description: t(($) => $.intro.slides.local.description),
+ art: <LocalArt />,
+ },
+ {
+ id: "remote",
+ title: t(($) => $.intro.slides.remote.title),
+ description: t(($) => $.intro.slides.remote.description),
+ art: <RemoteArt />,
+ },
+ ];
+ if (cloudRuntimeEnabled) {
+ slides.push({
+ id: "cloud",
+ title: t(($) => $.intro.slides.cloud.title),
+ description: t(($) => $.intro.slides.cloud.description),
+ art: <CloudArt />,
+ });
+ }
+
+ return (
+ <FeatureIntro
+ icon={Server}
+ label={t(($) => $.page.title)}
+ title={t(($) => $.intro.title)}
+ description={t(($) => $.intro.description)}
+ docs="daemon-runtimes"
+ columns={[
+ t(($) => $.page.columns.name),
+ t(($) => $.page.columns.harness),
+ t(($) => $.page.columns.agents),
+ t(($) => $.page.columns.workload),
+ t(($) => $.page.columns.status),
+ ]}
+ action={action}
+ secondaryAction={
+ <a
+ href="/download"
+ target="_blank"
+ rel="noreferrer"
+ className={buttonVariants({ variant: "outline" })}
+ >
+ <Download aria-hidden="true" />
+ {t(($) => $.page.rows.download_desktop)}
+ </a>
+ }
+ >
+ <FeatureIntroCarousel label={t(($) => $.intro.title)} slides={slides} />
+ </FeatureIntro>
+ );
+}
+
+function StatusDot({ online }: { online: boolean }) {
+ return (
+ <span
+ className={cn("size-1.5 shrink-0 rounded-full", online ? "bg-success" : "bg-warning")}
+ />
+ );
+}
+
+function MachineIcon({ children }: { children: ReactNode }) {
+ return (
+ <span className="flex size-7 shrink-0 items-center justify-center rounded-md bg-muted">
+ {children}
+ </span>
+ );
+}
+
+function LocalArt() {
+ const { t } = useT("runtimes");
+ return (
+ <IntroArtCard className="p-3">
+ <div className="flex items-center gap-2">
+ <MachineIcon>
+ <Laptop className="size-4" />
+ </MachineIcon>
+ <span className="flex min-w-0 flex-1 flex-col">
+ <span className="truncate font-medium">{MACHINE}</span>
+ <span className="truncate text-micro text-muted-foreground">
+ {t(($) => $.intro.art.this_computer)}
+ </span>
+ </span>
+ <span className="flex shrink-0 items-center gap-1">
+ <StatusDot online />
+ {t(($) => $.health.online.label)}
+ </span>
+ </div>
+ <div className="mt-3 mb-1.5 text-muted-foreground">{t(($) => $.intro.art.detected)}</div>
+ <div className="flex flex-wrap gap-1.5">
+ {DETECTED.map((provider) => (
+ <IntroArtTag key={provider}>
+ <ProviderLogo provider={provider} className="size-3" />
+ {providerDisplayName(provider)}
+ </IntroArtTag>
+ ))}
+ </div>
+ </IntroArtCard>
+ );
+}
+
+function RemoteArt() {
+ const { t } = useT("runtimes");
+ return (
+ <IntroArtCard className="overflow-hidden p-0">
+ <div className="flex items-center gap-1.5 border-b px-2.5 py-1.5 font-medium text-muted-foreground">
+ <SquareTerminal className="size-3" />
+ {t(($) => $.intro.art.run_there)}
+ </div>
+ <div className="bg-muted/60 px-2.5 py-2 font-mono text-micro leading-5">
+ {SETUP_COMMANDS.map((command, i) => (
+ <div key={command} className="flex gap-2">
+ <span className="text-faint-foreground">{i + 1}</span>
+ <span className="truncate">{command}</span>
+ </div>
+ ))}
+ <div className="mt-1.5 flex items-center gap-1 text-success">
+ <Check className="size-3" />
+ {t(($) => $.intro.art.connected, { name: REMOTE_MACHINE })}
+ </div>
+ </div>
+ </IntroArtCard>
+ );
+}
+
+function CloudArt() {
+ const { t } = useT("runtimes");
+ return (
+ <IntroArtCard className="p-1.5">
+ <div className="flex items-center gap-1.5 px-1.5 pt-1 pb-1.5 font-medium text-muted-foreground">
+ <Cloud className="size-3" />
+ {t(($) => $.cloud_runtime.title)}
+ </div>
+ {CLOUD_NODES.map((node) => (
+ <div key={node.name} className="flex items-center gap-2 border-t px-1.5 py-1.5">
+ <MachineIcon>
+ <Server className="size-3.5" />
+ </MachineIcon>
+ <span className="flex min-w-0 flex-1 flex-col">
+ <span className="truncate font-medium">{node.name}</span>
+ <span className="truncate text-micro text-muted-foreground">{node.spec}</span>
+ </span>
+ <span className="flex shrink-0 items-center gap-1 text-micro">
+ <StatusDot online={node.online} />
+ {node.online ? t(($) => $.health.online.label) : t(($) => $.cloud_runtime.creating)}
+ </span>
+ </div>
+ ))}
+ </IntroArtCard>
+ );
+}
diff --git a/packages/views/runtimes/components/runtimes-page.test.tsx b/packages/views/runtimes/components/runtimes-page.test.tsx
index da8456650e..72c91fc893 100644
--- a/packages/views/runtimes/components/runtimes-page.test.tsx
+++ b/packages/views/runtimes/components/runtimes-page.test.tsx
@@ -103,11 +103,13 @@ function renderPage({
runtimes = [makeRuntime()],
connection = qoder(),
desktop = false,
+ cloudRuntimeEnabled = false,
}: {
/** `null` leaves the runtime list unseeded, so the page renders loading. */
runtimes?: AgentRuntime[] | null;
connection?: QoderConnection;
desktop?: boolean;
+ cloudRuntimeEnabled?: boolean;
} = {}) {
const qc = new QueryClient({
defaultOptions: { queries: { retry: false, staleTime: Infinity } },
@@ -123,6 +125,7 @@ function renderPage({
<QueryClientProvider client={qc}>
<I18nProvider locale="en" resources={TEST_RESOURCES}>
<RuntimesPage
+ cloudRuntimeEnabled={cloudRuntimeEnabled}
{...(desktop
? {
localDaemonId: "daemon-1",
@@ -214,15 +217,46 @@ describe("RuntimesPage", () => {
expect(screen.getByRole("menuitemradio", { name: /Offline/ })).toHaveTextContent("1");
});
- it("offers the desktop download on web when no machine is connected", () => {
+ it("introduces runtimes on web when no machine is connected", async () => {
+ const user = userEvent.setup();
renderPage({ runtimes: [] });
- expect(screen.getByText("Run on this computer")).toBeInTheDocument();
- expect(screen.getByRole("link", { name: /Download desktop/ })).toHaveAttribute(
+ const intro = screen.getByRole("region", {
+ name: "Give your agents a computer to work on",
+ });
+ expect(within(intro).getByRole("link", { name: /Download desktop/ })).toHaveAttribute(
"href",
"/download",
);
- expect(screen.getByText("Add another machine or server")).toBeInTheDocument();
+ expect(screen.queryByText("Machines")).not.toBeInTheDocument();
+ expect(within(intro).getAllByRole("button", { name: /^Go to slide/ })).toHaveLength(2);
+
+ await user.click(within(intro).getByRole("button", { name: "Add runtime" }));
+ const menu = await screen.findByRole("menu");
+ expect(within(menu).getByText("Other machine or server")).toBeInTheDocument();
+ expect(within(menu).getByText("Qoder Cloud Agents")).toBeInTheDocument();
+ });
+
+ it("adds the cloud node card only when cloud runtimes are enabled", () => {
+ renderPage({ runtimes: [], cloudRuntimeEnabled: true });
+
+ const intro = screen.getByRole("region", {
+ name: "Give your agents a computer to work on",
+ });
+ expect(within(intro).getAllByRole("button", { name: /^Go to slide/ })).toHaveLength(3);
+ expect(within(intro).getByText("Or use a cloud node")).toBeInTheDocument();
+ });
+
+ it("keeps the list when only a cloud service is connected", () => {
+ renderPage({
+ runtimes: [],
+ connection: qoder({ configured: true, enabled: true, status: "online" }),
+ });
+
+ expect(screen.getByText("Machines")).toBeInTheDocument();
+ expect(
+ screen.queryByRole("region", { name: "Give your agents a computer to work on" }),
+ ).not.toBeInTheDocument();
});
it("pins this device on desktop and marks it connected in the add menu", async () => {
diff --git a/packages/views/runtimes/components/runtimes-page.tsx b/packages/views/runtimes/components/runtimes-page.tsx
index 19c5551dc4..cfd14e7190 100644
--- a/packages/views/runtimes/components/runtimes-page.tsx
+++ b/packages/views/runtimes/components/runtimes-page.tsx
@@ -1,12 +1,20 @@
"use client";
-import { useCallback, useEffect, useMemo, useState, type ReactNode } from "react";
+import {
+ useCallback,
+ useEffect,
+ useMemo,
+ useState,
+ type ReactElement,
+ type ReactNode,
+} from "react";
import {
Check,
Cloud,
Download,
Laptop,
Loader2,
+ Plus,
Server,
SquareTerminal,
} from "@multica/ui/icons";
@@ -83,6 +91,7 @@ import { ConnectRemoteDialog } from "./connect-remote-dialog";
import { CloudRuntimeDialog } from "./cloud-runtime-dialog";
import { ProviderLogo } from "./provider-logo";
import { RuntimeList, buildWorkloadIndex } from "./runtime-list";
+import { RuntimesIntro } from "./runtimes-intro";
import { pendingRuntimeFromProfile } from "./pending-runtime";
import { buildRuntimeMachines, type RuntimeMachine } from "./runtime-machines";
import {
@@ -175,7 +184,7 @@ export function RuntimesPage({
const wsId = useWorkspaceId();
const qc = useQueryClient();
const paths = useWorkspacePaths();
- const { data: qoderConnection } = useQuery(qoderOptions(wsId));
+ const { data: qoderConnection, isLoading: qoderLoading } = useQuery(qoderOptions(wsId));
const navigation = useNavigation();
const [qoderDialogOpen, setQoderDialogOpen] = useState(false);
const [showConnectDialog, setShowConnectDialog] = useState(false);
@@ -291,6 +300,14 @@ export function RuntimesPage({
const showThisComputerRow =
!filtering && !isDesktop && machineList.length === 0;
const showAddMachineRow = !filtering && machineList.length === 0;
+ const showIntro =
+ !listLoading &&
+ !qoderLoading &&
+ !filtering &&
+ !isDesktop &&
+ machineList.length === 0 &&
+ !qoderConfigured &&
+ orphanProfileRuntimes.length === 0;
const nothingMatches =
filtering &&
visibleMachines.length === 0 &&
@@ -316,6 +333,15 @@ export function RuntimesPage({
const openQoder = () =>
qoderConfigured ? navigation.push(qoderHref) : setQoderDialogOpen(true);
+ const addMenuProps = {
+ isDesktop,
+ localMachineName: localMachineName ?? localMachine?.title ?? null,
+ qoder,
+ cloudRuntimeEnabled,
+ onAddMachine: () => setShowConnectDialog(true),
+ onQoder: openQoder,
+ onCloudRuntime: () => setShowCloudRuntimeDialog(true),
+ };
const columns = useMemo<CollectionColumn<RuntimeRow>[]>(
() => [
@@ -466,66 +492,74 @@ export function RuntimesPage({
}))}
/>
}
- actions={
- <AddRuntimeMenu
- isDesktop={isDesktop}
- localMachineName={localMachineName ?? localMachine?.title ?? null}
- qoder={qoder}
- cloudRuntimeEnabled={cloudRuntimeEnabled}
- onAddMachine={() => setShowConnectDialog(true)}
- onQoder={openQoder}
- onCloudRuntime={() => setShowCloudRuntimeDialog(true)}
- />
- }
+ actions={<AddRuntimeMenu {...addMenuProps} />}
/>
- <div className="min-h-0 flex-1 overflow-y-auto">
- <CollectionList
- embedded
- pageShortcuts
- label={scopeLabels[statusFilter]}
- columns={columns}
- groups={groups}
- loading={listLoading}
- getRowId={(row) => row.id}
- getRowHref={rowHref}
- getRowTitle={(row) =>
- row.kind === "machine"
- ? row.machine.title
- : row.kind === "qoder"
- ? t(($) => $.qoder.cloud_title)
- : undefined
- }
- empty={
- <CollectionNoMatches
- title={t(($) => $.page.rows.no_matches)}
- onReset={() => setStatusFilter("all")}
- hasFilters={filtering}
+ {showIntro ? (
+ <RuntimesIntro
+ cloudRuntimeEnabled={cloudRuntimeEnabled}
+ action={
+ <AddRuntimeMenu
+ {...addMenuProps}
+ align="start"
+ trigger={
+ <Button>
+ <Plus aria-hidden="true" />
+ {t(($) => $.page.add)}
+ </Button>
+ }
/>
}
/>
- <div className="flex flex-col gap-6 px-6 pt-6 pb-16 empty:hidden">
- {!agentsLoading &&
- !chatSessionsLoading &&
- memberNeedsMikaSetup(agents, chatSessions) &&
- runtimes.some((runtime) => runtime.provider !== "qoder_cloud") && (
- <MikaSetupCard
- workspaceId={wsId}
- runtimes={runtimes.filter(
- (runtime) => runtime.provider !== "qoder_cloud",
- )}
- runtimesLoading={runtimesLoading}
- currentUserId={currentUserId ?? null}
+ ) : (
+ <div className="min-h-0 flex-1 overflow-y-auto">
+ <CollectionList
+ embedded
+ pageShortcuts
+ label={scopeLabels[statusFilter]}
+ columns={columns}
+ groups={groups}
+ loading={listLoading}
+ getRowId={(row) => row.id}
+ getRowHref={rowHref}
+ getRowTitle={(row) =>
+ row.kind === "machine"
+ ? row.machine.title
+ : row.kind === "qoder"
+ ? t(($) => $.qoder.cloud_title)
+ : undefined
+ }
+ empty={
+ <CollectionNoMatches
+ title={t(($) => $.page.rows.no_matches)}
+ onReset={() => setStatusFilter("all")}
+ hasFilters={filtering}
+ />
+ }
+ />
+ <div className="flex flex-col gap-6 px-6 pt-6 pb-16 empty:hidden">
+ {!agentsLoading &&
+ !chatSessionsLoading &&
+ memberNeedsMikaSetup(agents, chatSessions) &&
+ runtimes.some((runtime) => runtime.provider !== "qoder_cloud") && (
+ <MikaSetupCard
+ workspaceId={wsId}
+ runtimes={runtimes.filter(
+ (runtime) => runtime.provider !== "qoder_cloud",
+ )}
+ runtimesLoading={runtimesLoading}
+ currentUserId={currentUserId ?? null}
+ />
+ )}
+ {orphanProfileRuntimes.length > 0 && (
+ <OrphanRuntimeProfiles
+ runtimes={orphanProfileRuntimes}
+ now={now}
/>
)}
- {orphanProfileRuntimes.length > 0 && (
- <OrphanRuntimeProfiles
- runtimes={orphanProfileRuntimes}
- now={now}
- />
- )}
+ </div>
</div>
- </div>
+ )}
{qoderDialogOpen && (
<RemoteRuntimeDialog onClose={() => setQoderDialogOpen(false)} />
@@ -548,6 +582,8 @@ function AddRuntimeMenu({
onAddMachine,
onQoder,
onCloudRuntime,
+ trigger,
+ align = "end",
}: {
isDesktop: boolean;
localMachineName: string | null;
@@ -556,14 +592,16 @@ function AddRuntimeMenu({
onAddMachine: () => void;
onQoder: () => void;
onCloudRuntime: () => void;
+ trigger?: ReactElement;
+ align?: "start" | "end";
}) {
const { t } = useT("runtimes");
return (
<DropdownMenu>
<DropdownMenuTrigger
- render={<CollectionCreateButton label={t(($) => $.page.add)} />}
+ render={trigger ?? <CollectionCreateButton label={t(($) => $.page.add)} />}
/>
- <DropdownMenuContent align="end" className="w-80">
+ <DropdownMenuContent align={align} className="w-80">
<DropdownMenuGroup>
<DropdownMenuLabel>{t(($) => $.page.add_menu.machines)}</DropdownMenuLabel>
{isDesktop ? (
diff --git a/packages/views/skills/components/skill-list-controls.tsx b/packages/views/skills/components/skill-list-controls.tsx
index d5879da507..0c90218670 100644
--- a/packages/views/skills/components/skill-list-controls.tsx
+++ b/packages/views/skills/components/skill-list-controls.tsx
@@ -1,6 +1,6 @@
"use client";
-import { useState } from "react";
+import { useState, type ReactElement } from "react";
import {
Download,
FolderOpen,
@@ -334,27 +334,31 @@ export function SkillFilterMenu({
);
}
-const CREATE_METHODS: { key: CreateSkillMethod; icon: typeof Plus }[] = [
+export const SKILL_CREATE_METHODS: { key: CreateSkillMethod; icon: typeof Plus }[] = [
{ key: "manual", icon: Plus },
{ key: "local", icon: FolderOpen },
{ key: "url", icon: Download },
{ key: "runtime", icon: HardDrive },
];
-/** The "+" icon, opening the ways a skill can be added. */
+/** The "+" icon (or a custom trigger), opening the ways a skill can be added. */
export function SkillCreateMenu({
onCreate,
+ trigger,
+ align = "end",
}: {
onCreate: (method: CreateSkillMethod) => void;
+ trigger?: ReactElement;
+ align?: "start" | "end";
}) {
const { t } = useT("skills");
return (
<DropdownMenu>
<DropdownMenuTrigger
- render={<CollectionCreateButton label={t(($) => $.page.new_skill)} />}
+ render={trigger ?? <CollectionCreateButton label={t(($) => $.page.new_skill)} />}
/>
- <DropdownMenuContent align="end" className="w-auto min-w-48">
- {CREATE_METHODS.map(({ key, icon: Icon }) => (
+ <DropdownMenuContent align={align} className="w-auto min-w-48">
+ {SKILL_CREATE_METHODS.map(({ key, icon: Icon }) => (
<DropdownMenuItem key={key} onClick={() => onCreate(key)}>
<Icon />
{t(($) => $.create.method[key].title)}
diff --git a/packages/views/skills/components/skills-intro.tsx b/packages/views/skills/components/skills-intro.tsx
new file mode 100644
index 0000000000..16ca002105
--- /dev/null
+++ b/packages/views/skills/components/skills-intro.tsx
@@ -0,0 +1,195 @@
+"use client";
+
+import { Laptop, Lock, Plus, Users } from "@multica/ui/icons";
+import { Button } from "@multica/ui/components/ui/button";
+import { ActorAvatar } from "@multica/ui/components/common/actor-avatar";
+import { formatAvatarEmoji } from "@multica/ui/lib/avatar-emoji";
+import { cn } from "@multica/ui/lib/utils";
+import {
+ FeatureIntro,
+ FeatureIntroCarousel,
+ IntroArtCard,
+ IntroArtConnector,
+ IntroArtTag,
+} from "../../layout/feature-intro";
+import { useT } from "../../i18n";
+import { SkillIcon } from "../lib/skill-icon";
+import type { CreateSkillMethod } from "./create-skill-dialog";
+import { SKILL_CREATE_METHODS, SkillCreateMenu } from "./skill-list-controls";
+
+const AGENTS = [
+ { name: "Kepler", initials: "K", avatarUrl: formatAvatarEmoji("🔭"), isAgent: true },
+ { name: "Turing", initials: "T", avatarUrl: formatAvatarEmoji("🧩"), isAgent: true },
+ { name: "Ada", initials: "A", avatarUrl: formatAvatarEmoji("🌸"), isAgent: true },
+ { name: "Nova", initials: "N", avatarUrl: formatAvatarEmoji("✨"), isAgent: true },
+];
+
+const SHARED_SKILL = "pr-review";
+const LOCAL_SKILLS = ["frontend-design", "release-notes"];
+const MACHINE = "studio-mbp";
+const mono = "font-mono text-caption";
+
+export function SkillsIntro({
+ onCreate,
+}: {
+ onCreate: (method: CreateSkillMethod) => void;
+}) {
+ const { t } = useT("skills");
+
+ return (
+ <FeatureIntro
+ icon={SkillIcon}
+ label={t(($) => $.page.title)}
+ title={t(($) => $.intro.title)}
+ description={t(($) => $.intro.description)}
+ docs="skills"
+ columns={[
+ t(($) => $.table.name),
+ t(($) => $.table.used_by),
+ t(($) => $.table.source),
+ t(($) => $.table.created_by),
+ t(($) => $.table.updated),
+ ]}
+ action={
+ <SkillCreateMenu
+ onCreate={onCreate}
+ align="start"
+ trigger={
+ <Button>
+ <Plus aria-hidden="true" />
+ {t(($) => $.page.new_skill)}
+ </Button>
+ }
+ />
+ }
+ >
+ <FeatureIntroCarousel
+ label={t(($) => $.intro.title)}
+ slides={[
+ {
+ id: "methods",
+ title: t(($) => $.intro.slides.methods.title),
+ description: t(($) => $.intro.slides.methods.description),
+ art: <MethodsArt />,
+ },
+ {
+ id: "assign",
+ title: t(($) => $.intro.slides.assign.title),
+ description: t(($) => $.intro.slides.assign.description),
+ art: <AssignArt />,
+ },
+ {
+ id: "share",
+ title: t(($) => $.intro.slides.share.title),
+ description: t(($) => $.intro.slides.share.description),
+ art: <ShareArt />,
+ },
+ ]}
+ />
+ </FeatureIntro>
+ );
+}
+
+function MethodsArt() {
+ const { t } = useT("skills");
+ return (
+ <IntroArtCard className="p-1.5">
+ {SKILL_CREATE_METHODS.map(({ key, icon: Icon }, i) => (
+ <div
+ key={key}
+ className={cn("flex items-center gap-2.5 rounded-md p-1.5", i === 2 && "bg-muted")}
+ >
+ <span className="flex size-7 shrink-0 items-center justify-center rounded-md bg-surface ring-1 ring-surface-border">
+ <Icon className="size-3.5" />
+ </span>
+ <span className="flex min-w-0 flex-col">
+ <span className="truncate font-medium">{t(($) => $.create.method[key].title)}</span>
+ <span className="truncate text-micro text-muted-foreground">
+ {t(($) => $.create.method[key].desc)}
+ </span>
+ </span>
+ </div>
+ ))}
+ </IntroArtCard>
+ );
+}
+
+function AssignArt() {
+ const { t } = useT("skills");
+ return (
+ <div className="flex w-full flex-col">
+ <IntroArtCard>
+ <div className="flex items-center gap-2">
+ <SkillIcon className="size-3.5 shrink-0" />
+ <span className={cn(mono, "flex-1 truncate font-medium")}>{SHARED_SKILL}</span>
+ <IntroArtTag>{t(($) => $.table.source_github)}</IntroArtTag>
+ </div>
+ <div className="mt-1 truncate text-muted-foreground">
+ {t(($) => $.intro.art.skill_summary)}
+ </div>
+ </IntroArtCard>
+ <IntroArtConnector />
+ <IntroArtCard className="p-1.5">
+ <div className="px-1.5 pt-1 pb-1.5 font-medium text-muted-foreground">
+ {t(($) => $.table.used_by)}
+ </div>
+ {[
+ { agent: AGENTS[0]!, role: t(($) => $.intro.art.role_reviewer) },
+ { agent: AGENTS[1]!, role: t(($) => $.intro.art.role_fullstack) },
+ ].map(({ agent, role }) => (
+ <div key={agent.name} className="flex items-center gap-2 px-1.5 py-1">
+ <ActorAvatar {...agent} size="sm" />
+ <span className="flex-1 font-medium">{agent.name}</span>
+ <IntroArtTag>{role}</IntroArtTag>
+ </div>
+ ))}
+ <div className="flex items-center gap-2 px-1.5 py-1 text-muted-foreground">
+ <Plus className="size-3.5" />
+ {t(($) => $.intro.art.add_to_agent)}
+ </div>
+ </IntroArtCard>
+ </div>
+ );
+}
+
+function ShareArt() {
+ const { t } = useT("skills");
+ return (
+ <div className="flex w-full flex-col">
+ <IntroArtCard className="p-1.5">
+ <div className="flex items-center gap-1.5 px-1.5 pt-1 pb-1.5 font-medium text-muted-foreground">
+ <Laptop className="size-3.5 shrink-0" />
+ <span className="truncate">{MACHINE} · {t(($) => $.intro.art.local_skills)}</span>
+ </div>
+ {LOCAL_SKILLS.map((name, i) => (
+ <div
+ key={name}
+ className={cn("flex items-center gap-2 rounded-md px-1.5 py-1", i === 0 && "bg-muted")}
+ >
+ <span className={cn(mono, "flex-1 truncate")}>{name}</span>
+ <span className="flex shrink-0 items-center gap-1 text-faint-foreground">
+ <Lock className="size-3" />
+ {t(($) => $.intro.art.private)}
+ </span>
+ </div>
+ ))}
+ </IntroArtCard>
+ <IntroArtConnector label={t(($) => $.intro.art.copy_to_workspace)} />
+ <IntroArtCard highlighted>
+ <div className="flex items-center gap-2">
+ <span className={cn(mono, "flex-1 truncate font-medium")}>{LOCAL_SKILLS[0]}</span>
+ <span className="flex shrink-0 items-center gap-1 font-medium text-brand">
+ <Users className="size-3.5" />
+ {t(($) => $.intro.art.workspace_shared)}
+ </span>
+ </div>
+ <div className="mt-2 flex items-center gap-1 text-muted-foreground">
+ {AGENTS.map((agent) => (
+ <ActorAvatar key={agent.name} {...agent} size="xs" />
+ ))}
+ <span className="ml-1 truncate">{t(($) => $.intro.art.all_agents)}</span>
+ </div>
+ </IntroArtCard>
+ </div>
+ );
+}
diff --git a/packages/views/skills/components/skills-page.header.test.tsx b/packages/views/skills/components/skills-page.header.test.tsx
index 9dc727f892..a0093e10dc 100644
--- a/packages/views/skills/components/skills-page.header.test.tsx
+++ b/packages/views/skills/components/skills-page.header.test.tsx
@@ -205,4 +205,15 @@ describe("SkillsPage header", () => {
await user.click(within(menu).getByRole("menuitem", { name: "Import from URL" }));
expect(screen.getByTestId("create-dialog")).toHaveTextContent("url");
});
+
+ it("introduces skills when there are none and adds the first one from the intro", async () => {
+ const user = userEvent.setup();
+ mocks.skills = [];
+ renderPage();
+
+ const intro = screen.getByRole("region", { name: "Turn how your team works into skills" });
+ await user.click(within(intro).getByRole("button", { name: "New skill" }));
+ await user.click(await screen.findByRole("menuitem", { name: "Create manually" }));
+ expect(screen.getByTestId("create-dialog")).toHaveTextContent("manual");
+ });
});
diff --git a/packages/views/skills/components/skills-page.tsx b/packages/views/skills/components/skills-page.tsx
index 2aa855019c..80305dfd18 100644
--- a/packages/views/skills/components/skills-page.tsx
+++ b/packages/views/skills/components/skills-page.tsx
@@ -8,7 +8,6 @@ import {
HardDrive,
Lock,
Pencil,
- Plus,
} from "@multica/ui/icons";
import { SkillIcon } from "../lib/skill-icon";
import type {
@@ -53,6 +52,7 @@ import {
type CollectionSort,
} from "../../layout/collection-list";
import { canEditSkill } from "../hooks/use-can-edit-skill";
+import { SkillsIntro } from "./skills-intro";
import { originSourceUrl, readOrigin } from "../lib/origin";
import { rowMatchesFilters, type SkillRow } from "./skill-list-filter";
import {
@@ -236,31 +236,6 @@ function CreatorCell({ creator }: { creator: MemberWithUser | null }) {
);
}
-// Empty state
-
-function EmptyState({ onCreate }: { onCreate: (method: CreateSkillMethod) => void }) {
- const { t } = useT("skills");
- return (
- <CollectionPageState
- icon={SkillIcon}
- title={t(($) => $.page.empty.title)}
- description={t(($) => $.page.empty.description)}
- actions={
- <>
- <Button type="button" size="sm" onClick={() => onCreate("manual")}>
- <Plus aria-hidden="true" />
- {t(($) => $.page.new_skill)}
- </Button>
- <Button type="button" variant="outline" size="sm" onClick={() => onCreate("runtime")}>
- <HardDrive aria-hidden="true" />
- {t(($) => $.create.method.runtime.title)}
- </Button>
- </>
- }
- />
- );
-}
-
// Page
export default function SkillsPage() {
@@ -563,9 +538,7 @@ export default function SkillsPage() {
)}
{showEmpty ? (
- <div className="flex flex-1 items-center justify-center">
- <EmptyState onCreate={setCreateMethod} />
- </div>
+ <SkillsIntro onCreate={setCreateMethod} />
) : (
<CollectionList
label={scopeLabels[scope]}
diff --git a/packages/views/squads/components/squads-intro.tsx b/packages/views/squads/components/squads-intro.tsx
new file mode 100644
index 0000000000..656e7818ad
--- /dev/null
+++ b/packages/views/squads/components/squads-intro.tsx
@@ -0,0 +1,213 @@
+"use client";
+
+import { Crown, Plus, Users } from "@multica/ui/icons";
+import { Button } from "@multica/ui/components/ui/button";
+import { ActorAvatar } from "@multica/ui/components/common/actor-avatar";
+import { formatAvatarEmoji } from "@multica/ui/lib/avatar-emoji";
+import { cn } from "@multica/ui/lib/utils";
+import {
+ FeatureIntro,
+ FeatureIntroCarousel,
+ IntroArtCard,
+ IntroArtConnector,
+ IntroArtFork,
+ IntroArtTag,
+} from "../../layout/feature-intro";
+import { StatusIcon } from "../../issues/components/status-icon";
+import { useT } from "../../i18n";
+
+const ADA = { name: "Ada", initials: "A", avatarUrl: formatAvatarEmoji("🌸"), isAgent: true };
+const TURING = { name: "Turing", initials: "T", avatarUrl: formatAvatarEmoji("🧩"), isAgent: true };
+const KEPLER = { name: "Kepler", initials: "K", avatarUrl: formatAvatarEmoji("🔭"), isAgent: true };
+const MIA = { name: "Mia", initials: "M" };
+const ISSUE_ID = "MUL-128";
+
+export function SquadsIntro({ onCreate }: { onCreate: () => void }) {
+ const { t } = useT("squads");
+
+ return (
+ <FeatureIntro
+ icon={Users}
+ label={t(($) => $.page.title)}
+ title={t(($) => $.intro.title)}
+ description={t(($) => $.intro.description)}
+ docs="squads"
+ columns={[
+ t(($) => $.page.table.name),
+ t(($) => $.page.table.leader),
+ t(($) => $.page.table.members),
+ t(($) => $.page.table.creator),
+ t(($) => $.page.table.created),
+ ]}
+ action={
+ <Button onClick={onCreate}>
+ <Plus aria-hidden="true" />
+ {t(($) => $.page.new_button)}
+ </Button>
+ }
+ >
+ <FeatureIntroCarousel
+ label={t(($) => $.intro.title)}
+ slides={[
+ {
+ id: "route",
+ title: t(($) => $.intro.slides.route.title),
+ description: t(($) => $.intro.slides.route.description),
+ art: <RouteArt />,
+ },
+ {
+ id: "roles",
+ title: t(($) => $.intro.slides.roles.title),
+ description: t(($) => $.intro.slides.roles.description),
+ art: <RolesArt />,
+ },
+ {
+ id: "progress",
+ title: t(($) => $.intro.slides.progress.title),
+ description: t(($) => $.intro.slides.progress.description),
+ art: <ProgressArt />,
+ },
+ ]}
+ />
+ </FeatureIntro>
+ );
+}
+
+function LeaderChip() {
+ const { t } = useT("squads");
+ return (
+ <IntroArtTag className="bg-warning/15 font-medium text-warning">
+ <Crown className="size-3" />
+ {t(($) => $.members_tab.leader_chip)}
+ </IntroArtTag>
+ );
+}
+
+function RouteArt() {
+ const { t } = useT("squads");
+ return (
+ <div className="flex w-full flex-col">
+ <IntroArtCard>
+ <div className="flex items-center gap-2">
+ <StatusIcon status="todo" className="size-3.5 shrink-0" />
+ <span className="shrink-0 text-muted-foreground tabular-nums">{ISSUE_ID}</span>
+ <span className="truncate font-medium">{t(($) => $.intro.art.issue_dark_mode)}</span>
+ </div>
+ <div className="mt-2 flex items-center gap-1.5 pl-5.5">
+ <span className="text-muted-foreground">{t(($) => $.intro.art.assignee)}</span>
+ <span className="flex min-w-0 items-center gap-1 rounded-full bg-muted py-0.5 pr-2 pl-0.5">
+ <ActorAvatar name={t(($) => $.intro.art.squad_name)} initials="F" isSquad size="xs" />
+ <span className="truncate font-medium">{t(($) => $.intro.art.squad_name)}</span>
+ </span>
+ </div>
+ </IntroArtCard>
+ <IntroArtConnector />
+ <IntroArtCard className="mx-auto w-4/5">
+ <div className="flex items-center gap-2">
+ <ActorAvatar {...ADA} size="sm" />
+ <span className="font-medium">{ADA.name}</span>
+ <LeaderChip />
+ </div>
+ <div className="mt-1 truncate pl-7 text-muted-foreground">
+ {t(($) => $.intro.art.delegating)}
+ </div>
+ </IntroArtCard>
+ <IntroArtFork />
+ <div className="grid grid-cols-2 gap-2">
+ <MemberStatusCard
+ member={TURING}
+ status={t(($) => $.members_tab.status_working)}
+ highlighted
+ />
+ <MemberStatusCard member={KEPLER} status={t(($) => $.members_tab.status_idle)} />
+ </div>
+ </div>
+ );
+}
+
+function MemberStatusCard({
+ member,
+ status,
+ highlighted = false,
+}: {
+ member: typeof TURING;
+ status: string;
+ highlighted?: boolean;
+}) {
+ return (
+ <IntroArtCard highlighted={highlighted}>
+ <div className="flex items-center gap-2">
+ <ActorAvatar {...member} size="xs" />
+ <span className="truncate font-medium">{member.name}</span>
+ </div>
+ <div
+ className={cn(
+ "mt-1 truncate pl-6",
+ highlighted ? "font-medium text-brand" : "text-muted-foreground",
+ )}
+ >
+ {status}
+ </div>
+ </IntroArtCard>
+ );
+}
+
+function RolesArt() {
+ const { t } = useT("squads");
+ const rows = [
+ { member: ADA, role: null },
+ { member: TURING, role: t(($) => $.intro.art.role_frontend) },
+ { member: KEPLER, role: t(($) => $.intro.art.role_testing) },
+ { member: MIA, role: t(($) => $.intro.art.role_product) },
+ ];
+ return (
+ <IntroArtCard className="p-1.5">
+ <div className="flex items-center justify-between gap-2 px-1.5 pt-1 pb-1.5 font-medium text-muted-foreground">
+ <span className="truncate">
+ {t(($) => $.members_tab.section_title)} · {rows.length}
+ </span>
+ <span className="flex shrink-0 items-center gap-1">
+ <Plus className="size-3" />
+ {t(($) => $.members_tab.add_member_button)}
+ </span>
+ </div>
+ {rows.map(({ member, role }, i) => (
+ <div
+ key={member.name}
+ className={cn("flex items-center gap-2 rounded-md px-1.5 py-1.5", i === 0 && "bg-muted")}
+ >
+ <ActorAvatar {...member} size="sm" />
+ <span className="flex-1 truncate font-medium">{member.name}</span>
+ {role === null ? <LeaderChip /> : <IntroArtTag>{role}</IntroArtTag>}
+ </div>
+ ))}
+ </IntroArtCard>
+ );
+}
+
+function ProgressArt() {
+ const { t } = useT("squads");
+ const rows = [
+ { id: ISSUE_ID, status: "in_progress", title: t(($) => $.intro.art.issue_dark_mode), member: TURING },
+ { id: "MUL-124", status: "in_review", title: t(($) => $.intro.art.issue_board_columns), member: KEPLER },
+ { id: "MUL-131", status: "todo", title: t(($) => $.intro.art.issue_inbox_gestures), member: ADA },
+ { id: "MUL-117", status: "done", title: t(($) => $.intro.art.issue_paste_images), member: TURING },
+ ];
+ return (
+ <IntroArtCard className="p-1.5">
+ <div className="flex items-center gap-1.5 px-1.5 pt-1 pb-1.5">
+ <ActorAvatar name={t(($) => $.intro.art.squad_name)} initials="F" isSquad size="xs" />
+ <span className="truncate font-medium">{t(($) => $.intro.art.squad_name)}</span>
+ <span className="shrink-0 text-muted-foreground">· {t(($) => $.detail.recent_work)}</span>
+ </div>
+ {rows.map((row) => (
+ <div key={row.id} className="flex items-center gap-2 border-t px-1.5 py-1.5">
+ <StatusIcon status={row.status} className="size-3.5 shrink-0" />
+ <span className="shrink-0 text-muted-foreground tabular-nums">{row.id}</span>
+ <span className="flex-1 truncate">{row.title}</span>
+ <ActorAvatar {...row.member} size="xs" />
+ </div>
+ ))}
+ </IntroArtCard>
+ );
+}
diff --git a/packages/views/squads/components/squads-page.test.tsx b/packages/views/squads/components/squads-page.test.tsx
index bb3d512d1e..d1a76209a7 100644
--- a/packages/views/squads/components/squads-page.test.tsx
+++ b/packages/views/squads/components/squads-page.test.tsx
@@ -1,5 +1,5 @@
import { beforeEach, describe, expect, it, vi } from "vitest";
-import { screen } from "@testing-library/react";
+import { screen, within } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
import type { Squad } from "@multica/core/types";
import type { SquadsScope } from "@multica/core/squads/stores";
@@ -152,14 +152,19 @@ describe("SquadsPage header", () => {
expect(mocks.openModal).toHaveBeenCalledWith("create-squad");
});
- it("offers to create the first squad from the empty state", async () => {
+ it("introduces squads and offers to create the first one when there are none", async () => {
const user = userEvent.setup();
mocks.squads = [];
renderPage();
- expect(screen.getByText("No squads yet")).toBeInTheDocument();
- const buttons = screen.getAllByRole("button", { name: "New squad" });
- await user.click(buttons[buttons.length - 1]!);
+ const intro = screen.getByRole("region", {
+ name: "Put agents in a squad and they work like a team",
+ });
+ expect(screen.getByRole("link", { name: "Read the docs" })).toHaveAttribute(
+ "href",
+ "https://multica.ai/docs/squads",
+ );
+ await user.click(within(intro).getByRole("button", { name: "New squad" }));
expect(mocks.openModal).toHaveBeenCalledWith("create-squad");
});
});
diff --git a/packages/views/squads/components/squads-page.tsx b/packages/views/squads/components/squads-page.tsx
index fb861c8277..cf6002ea3a 100644
--- a/packages/views/squads/components/squads-page.tsx
+++ b/packages/views/squads/components/squads-page.tsx
@@ -4,7 +4,6 @@ import { useMemo, useState } from "react";
import {
ExternalLink,
Loader2,
- Plus,
Trash2,
Users,
} from "@multica/ui/icons";
@@ -31,6 +30,7 @@ import {
} from "@multica/core/squads/stores";
import type { Agent, MemberWithUser, Squad } from "@multica/core/types";
import { Button } from "@multica/ui/components/ui/button";
+import { SquadsIntro } from "./squads-intro";
import {
Dialog,
DialogContent,
@@ -59,7 +59,6 @@ import {
CollectionFilterButton,
CollectionNoMatches,
CollectionPageHeader,
- CollectionPageState,
CollectionResetButton,
CollectionScopeItems,
} from "../../layout/collection-page";
@@ -609,17 +608,7 @@ export function SquadsPage() {
/>
{!isLoading && squads.length === 0 ? (
- <CollectionPageState
- icon={Users}
- title={t(($) => $.page.empty_no_squads)}
- description={t(($) => $.page.empty_description)}
- actions={
- <Button size="sm" onClick={openCreateSquad}>
- <Plus aria-hidden="true" />
- {t(($) => $.page.new_button)}
- </Button>
- }
- />
+ <SquadsIntro onCreate={openCreateSquad} />
) : (
<CollectionList
label={scopeLabels[scope]}