import Modal from "../ui/Modal"; import Button from "../ui/Button"; interface Props { projectName: string; onConfirm: () => void; onCancel: () => void; } /** * Reset is destructive in a way its name does not advertise. * * `rebuild_project_container` calls `remove_project_volumes`, which deletes * both `triple-c-home-{id}` and `triple-c-claude-config-{id}` — so the OAuth * login, any skills or agents installed in the container, and every session * transcript go with them. That is intentional (Reset exists to get back to a * clean base image), but it is not recoverable, so it gets the same * confirmation gate as Remove. */ export default function ConfirmResetModal({ projectName, onConfirm, onCancel }: Props) { return ( } >

Rebuild{" "} {projectName}’s container from the clean base image.

This deletes the container’s volumes, which means you will lose:

Your mounted project folders are on the host and are{" "} not affected.

); }