import { useTranslations } from "next-intl"; import { getTranslations } from "next-intl/server"; import { CodeBlock } from "../../../components/code-block"; export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }) { const { locale } = await params; const t = await getTranslations({ locale, namespace: "docs.claudeCodeTeams" }); return { title: t("metaTitle"), description: t("metaDescription"), }; } export default function ClaudeCodeTeamsPage() { const t = useTranslations("docs.claudeCodeTeams"); return ( <>
{t("intro")}
{t("usageDesc")}
{t("howItWorksDesc")}
| {t("envVarName")} | {t("envVarPurpose")} |
|---|---|
TMUX | {t("envTmux")} |
TMUX_PANE | {t("envTmuxPane")} |
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS | {t("envTeams")} |
CMUX_SOCKET_PATH | {t("envSocket")} |
| {t("dirPath")} | {t("dirPurpose")} |
|---|---|
~/.cmuxterm/claude-teams-bin/ | {t("dirShim")} |
~/.cmuxterm/tmux-compat-store.json | {t("dirStore")} |
{t("tmuxCommandsDesc")}
new-session, new-window → {t("mapWorkspace")}split-window → {t("mapSplit")}send-keys → {t("mapSendText")}capture-pane → {t("mapReadText")}select-pane, select-window → {t("mapFocus")}kill-pane, kill-window → {t("mapClose")}list-panes, list-windows → {t("mapList")}