{t(`plansPage.skillDemos.${demo.command.slice(1)}.label`)}
{t(`plansPage.skillDemos.${demo.command.slice(1)}.description`)}
{demo.command}
{t("plansPage.localMode.title")}
{t("plansPage.localMode.description")}
{t("plansPage.localMode.openDocs")}
{effectivePublishedUrl ? t("plansPage.share.hostedCopy", { noun }) : t("plansPage.share.publishDescription", { noun })}
{authPrompt ? (
{authPrompt.connectCommand}
) : null}
{message}
{t( denied ? "plansPage.localPlanConnection.deniedMessage" : "plansPage.localPlanConnection.promptMessage", )}
{body}
{showAccessHelp && signedInEmail ? ({t("plansPage.loadError.retryHelp")}
) : null}{(orgAccessError as Error).message}
) : null} > ); } const PLAN_SKILL_INSTALL_COMMAND = "npx @agent-native/core@latest skills add visual-plans"; type PlanSkillDemo = { command: string; videoUrl?: string; }; const PLAN_SKILL_DEMOS: PlanSkillDemo[] = [ { command: "/visual-plan", videoUrl: import.meta.env.VITE_VISUAL_PLAN_SKILL_DEMO_VIDEO_URL, }, { command: "/visual-recap", videoUrl: import.meta.env.VITE_VISUAL_RECAP_SKILL_DEMO_VIDEO_URL, }, ]; function EmptyPlan({ onCreate, canCreate, }: { onCreate: () => void; canCreate: boolean; }) { const t = useT(); if (!canCreate) { return{t("plansPage.empty.description")}
{t("plansPage.empty.installPrefix")}{" "}
/visual-plan
{" "}
{t("plansPage.empty.installSuffix")}
{PLAN_SKILL_INSTALL_COMMAND}
{t(`plansPage.skillDemos.${demo.command.slice(1)}.label`)}
{t(`plansPage.skillDemos.${demo.command.slice(1)}.description`)}
{demo.command}
{t("plansPage.loggedOut.description")}
{PLAN_SKILL_INSTALL_COMMAND}
{t("plansPage.loadError.genericMessage")}
{t("plansPage.overview.documentCount", { count: totalVisible, })}
{plan.brief}