"use client"; import { Trans, useTranslation } from "react-i18next"; import { Input } from "@kandev/ui/input"; import { Label } from "@kandev/ui/label"; import type { ProfileFormData } from "@/components/settings/profile-form-fields"; // An example sandbox launcher invocation — a shell fragment the user types // verbatim, so it is interpolated as a value rather than written into the // catalog. const EXAMPLE_PREFIX = "greywall --"; export function CommandPrefixField({ profile, baselineProfile, onChange, }: { profile: ProfileFormData; baselineProfile?: ProfileFormData; onChange: (patch: Partial) => void; }) { const { t } = useTranslation(); return (
onChange({ command_prefix: event.target.value })} placeholder={t("agents:exampleValue", { example: EXAMPLE_PREFIX })} />

); }