// PEP-10/27/53: «Новый терминал», runner settings (project / story) and a runner's stories. import { Plus, SquareTerminal } from "lucide-react"; import { RUNNER_CONTEXT_RU, RUNNER_CONTEXTS, RUNNER_MODE_RU, RUNNER_MODES, RUNNER_WORKSPACE_RU, RUNNER_WORKSPACES, RUNNER_ISOLATION_RU, RUNNER_ISOLATIONS, HOST_STATUS_RU, type RunnerHost, type RunnerSettings, type RunnerSettingsPatch, type RunnerTaskView, type SessionView, } from "@peppa/core"; import { promoteRunnerAction, queueOnRunnerAction, renameRunnerAction, setRunnerSettingsAction, startFreeRunnerAction } from "@/app/(app)/actions"; import { Hidden } from "@/components/cards"; import { Key, StatusBadge } from "@/components/common"; import { PanelSection } from "@/components/ActivityAside"; import { Button } from "@/components/ui/button"; import { Input, Label, NativeSelect, Textarea } from "@/components/ui/input"; import { VoiceInput } from "@/components/VoiceInput"; import { getT } from "@/lib/i18n"; import { m, type Translator } from "@peppa/shared/i18n"; /** Free runner form: project (or fixed), name, agent, prompt with voice input. */ export async function NewRunnerForm({ projects, projectId, back }: { projects?: Array<{ id: number; key: string; name: string }>; projectId?: number; back: string }) { const t = await getT(); const promptId = `runner-prompt-${projectId ?? "any"}`; return (

{t("Агент в tmux без стори: разобраться, попробовать, спросить. Пинги после ходов не приходят — раннером управляете вы в терминале. Получилась работа — «Оформить стори».")}

{!projectId && ( )}