@avocadostudio-ai/site-sdk 0.5.0 → 0.5.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.
@@ -198,3 +198,15 @@ export declare function diffPage<Ctx>(args: {
198
198
  }): FieldDiff;
199
199
  /** One line per refusal, in the editor's terms. For surfacing to a person. */
200
200
  export declare function describeUnsupported(unsupported: UnsupportedChange[]): string[];
201
+ /**
202
+ * Avocado's own list-row stamps, removed.
203
+ *
204
+ * Re-exported here because this is the module an adapter already imports to
205
+ * compare a draft against upstream content, and the stamps are the reason a
206
+ * naive comparison reports every block that has a list as changed. `diffFields`
207
+ * never sees them — it walks the specs, and no spec declares `id` — but the
208
+ * integration that found this compared whole documents first, which is the
209
+ * obvious thing to do and took a field-level diff of two JSON blobs to
210
+ * unpick.
211
+ */
212
+ export { withoutGeneratedItemIds, isGeneratedItemId } from "@avocadostudio-ai/shared";
@@ -264,3 +264,15 @@ export function diffPage(args) {
264
264
  export function describeUnsupported(unsupported) {
265
265
  return unsupported.map((u) => `${u.where}: ${u.change}${u.remedy ? ` — ${u.remedy}` : ""}`);
266
266
  }
267
+ /**
268
+ * Avocado's own list-row stamps, removed.
269
+ *
270
+ * Re-exported here because this is the module an adapter already imports to
271
+ * compare a draft against upstream content, and the stamps are the reason a
272
+ * naive comparison reports every block that has a list as changed. `diffFields`
273
+ * never sees them — it walks the specs, and no spec declares `id` — but the
274
+ * integration that found this compared whole documents first, which is the
275
+ * obvious thing to do and took a field-level diff of two JSON blobs to
276
+ * unpick.
277
+ */
278
+ export { withoutGeneratedItemIds, isGeneratedItemId } from "@avocadostudio-ai/shared";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avocadostudio-ai/site-sdk",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -122,16 +122,16 @@
122
122
  ],
123
123
  "dependencies": {
124
124
  "zod": "^4.3.6",
125
- "@avocadostudio-ai/blocks": "^0.5.0",
126
- "@avocadostudio-ai/preview-adapter": "^0.5.0",
127
- "@avocadostudio-ai/shared": "^0.5.0"
125
+ "@avocadostudio-ai/blocks": "^0.5.1",
126
+ "@avocadostudio-ai/preview-adapter": "^0.5.1",
127
+ "@avocadostudio-ai/shared": "^0.5.1"
128
128
  },
129
129
  "peerDependencies": {
130
130
  "next": ">=15.0.0",
131
131
  "react": ">=19.0.0",
132
132
  "react-dom": ">=19.0.0",
133
133
  "better-sqlite3": ">=12.0.0",
134
- "@avocadostudio-ai/orchestrator-core": "^0.5.0"
134
+ "@avocadostudio-ai/orchestrator-core": "^0.5.1"
135
135
  },
136
136
  "peerDependenciesMeta": {
137
137
  "@avocadostudio-ai/orchestrator-core": {