@40rty/ams-sdk 0.5.4 → 0.5.5

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.
@@ -202,6 +202,19 @@ export type TraceDiagnostic = {
202
202
  kind: 'unreachable_pruned';
203
203
  stage: 'layout_generation';
204
204
  element: string;
205
+ }
206
+ /** The canvas is a slot with a section limit (a host page's `maxSections`,
207
+ * `HostPayloadSchema`) and this turn wrote more top-level sections than it
208
+ * holds: the section cap kept this turn's sections first, the canvas's
209
+ * prior ones after, up to the limit, and dropped the rest before the wire.
210
+ * A soft model fault — the prompt states the limit — fixed pre-wire, so
211
+ * the visitor never saw the overrun. */
212
+ | {
213
+ kind: 'section_limit_trimmed';
214
+ stage: 'layout_generation';
215
+ rootKey: string;
216
+ maxSections: number;
217
+ dropped: string[];
205
218
  } | {
206
219
  kind: 'render_sanitized';
207
220
  stage: 'layout_generation';
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "react": "^18.3.0 || ^19.0.0",
27
27
  "react-dom": "^18.3.0 || ^19.0.0"
28
28
  },
29
- "version": "0.5.4",
29
+ "version": "0.5.5",
30
30
  "homepage": "https://docs.40rty.ai",
31
31
  "license": "UNLICENSED",
32
32
  "engines": {