feat(pi): expose first-class desktop workflows

This commit is contained in:
SaladDay
2026-08-02 22:52:35 +00:00
parent 7609ff799e
commit a88a58b516
64 changed files with 2954 additions and 218 deletions
+2 -10
View File
@@ -11,6 +11,7 @@ import { useProxyStatus } from "@/hooks/useProxyStatus";
import { cn } from "@/lib/utils";
import { useTranslation } from "react-i18next";
import type { AppId } from "@/lib/api";
import { getAppLabel } from "@/config/appConfig";
interface ProxyToggleProps {
className?: string;
@@ -32,16 +33,7 @@ export function ProxyToggle({ className, activeApp }: ProxyToggleProps) {
const takeoverEnabled = takeoverStatus?.[activeApp] || false;
const appLabel =
activeApp === "claude"
? "Claude"
: activeApp === "codex"
? "Codex"
: activeApp === "gemini"
? "Gemini"
: activeApp === "grokbuild"
? "Grok Build"
: "OpenCode";
const appLabel = getAppLabel(activeApp);
const tooltipText = takeoverEnabled
? isRunning