claude-artifact-framework 0.13.0 → 0.13.1
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/README.md +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,6 +101,12 @@ export default function Artifact() {
|
|
|
101
101
|
may keep React in a private module registry the bundle can't reach. If React is
|
|
102
102
|
already on `globalThis`, it is picked up automatically and the call is a no-op.
|
|
103
103
|
|
|
104
|
+
> **Write the spec indented, never minified.** Specs nest deep (`types` →
|
|
105
|
+
> `blocks` → `records` → `fields`), and the only syntax errors ever measured
|
|
106
|
+
> in generated specs came from single-line minified output — a dropped or
|
|
107
|
+
> extra closing brace at the tail. Indented, multi-line specs have never
|
|
108
|
+
> produced one. Format like every example in this document.
|
|
109
|
+
|
|
104
110
|
### The `records` layout — a full CRUD app from a declaration
|
|
105
111
|
|
|
106
112
|
For "list of things" apps (expenses, habits, notes, todos), declare what a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-artifact-framework",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"description": "Utilities for building apps inside Claude Artifacts: platform storage, chat tool-calling loops, and other primitives verified against the real runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.esm.js",
|