@punica/form-mcp 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/create.mjs +1 -1
package/package.json
CHANGED
package/src/create.mjs
CHANGED
|
@@ -41,7 +41,7 @@ export function createPunicaFormServer({ packages, guide }) {
|
|
|
41
41
|
const server = new McpServer(
|
|
42
42
|
{ name: 'punica-form', version },
|
|
43
43
|
{
|
|
44
|
-
instructions: `${legacyNote}${versions}. Punica Form is a headless form engine and is rarely in training data: never write an import, a service name or a method from memory. Read get_guide first, look names up with search_api and get_api, and check the code with validate_code before handing it over. To produce a form at run time as data instead of code, read get_form_schema and check the definition with validate_form.`
|
|
44
|
+
instructions: `${legacyNote}${versions}. Punica Form is a headless form engine and is rarely in training data: never write an import, a service name or a method from memory. Read get_guide first, look names up with search_api and get_api, and check the code with validate_code before handing it over. Imports: the kit's decorators (FormKit, TextField, …) and setMessages come from \`@punica/form-kit\`, KitForm from \`@punica/form-kit/react\`, bindForm from \`@punica/form-kit/dom\`, JsonForm from \`@punica/form-kit/json\`; the kit loads the punica-* elements it draws, and no CSS import is needed. To produce a form at run time as data instead of code, read get_form_schema and check the definition with validate_form.`
|
|
45
45
|
}
|
|
46
46
|
);
|
|
47
47
|
|