mirror of
https://github.com/bitbaum/ai-forms.git
synced 2026-12-04 04:47:00 +01:00
One implementation of the thing every app in the fleet needs and only OrangeCat had: fill a form from prose, then keep talking to it until it is right. The core is the merge rule. Protecting user input by letting existing values win is correct when filling an empty form and fatal when changing a full one — it is why asking to rewrite a non-empty field silently does nothing. Intent decides: `fill` protects what the user typed, `refine` lets the model win for the fields it returns. Ships headless. Each app owns its own design tokens, so the package exports logic and a hook and no markup. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
19 lines
420 B
JSON
19 lines
420 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["ES2022", "DOM"],
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"jsx": "react-jsx",
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"declaration": true,
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": ["src"]
|
|
}
|