Factory: spec chat writes setup.json, filed as .factory/setup.json

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Sonnet 5.5 committed 2026-11-16 09:03:46 +01:00
1 parent 1897dd1e0a
commit 962d37e485
7 files changed
+49 -6

No files matched your search

+2
View File
@@ -8,6 +8,7 @@ import { Spinner } from "./Activity";
interface Draft {
spec: string;
setup?: string | null;
proposal: { name?: string; slug?: string; description?: string } | null;
connections: { id: string; name: string; kind: string; owner: string }[];
}
@@ -112,6 +113,7 @@ function CreateProjectDialog({ sessionId, onClose }: { sessionId: string; onClos
) : (
<>
{!draft.spec.trim() && <div className="notice err">{t("draft.noSpec")}</div>}
{draft.spec.trim() && !draft.setup && <div className="notice">{t("draft.noSetup")}</div>}
<div className="factory-form">
<label>
<span>{t("draft.name")}</span>