@agent-native/core 0.151.1 → 0.151.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/corpus/README.md CHANGED
@@ -31,4 +31,4 @@ rg -n "defineAction|useActionQuery" node_modules/@agent-native/core/corpus
31
31
 
32
32
  ## Generated Counts
33
33
 
34
- - template files: 8070
34
+ - template files: 8071
@@ -102,6 +102,19 @@ simulate reveals. When content and reveals change together, send both fields in
102
102
  one `patch-deck` operation. To remove reveals, send `animations: []` with the
103
103
  existing content and verify the persisted slide afterward.
104
104
 
105
+ Array order is reveal order, and each entry needs a non-empty `id`, a 0-based
106
+ `elementIndex`, and a `type` of `appear`, `fade`, `slide-up`, or `zoom`; the
107
+ schema rejects the operation otherwise. Nothing checks that ids are unique, but
108
+ the editor keys its reveal list by id, so a duplicate makes "remove" and
109
+ "change type" hit every entry sharing it.
110
+
111
+ `elementPath` has to come from the exact final HTML because it is positional:
112
+ every segment is a child index, so inserting or removing a sibling anywhere
113
+ along the path retargets it. The runtime resolves the path first and falls back
114
+ to `elementIndex` only when it fails to resolve, which is why a stale path
115
+ silently reveals the wrong element instead of erroring. `get-deck` with
116
+ `compact=true` reports each step's order, id, target, and type for verification.
117
+
105
118
  If retrieval produces a new immutable context pack, keep its `contextPackId`
106
119
  and reuse labels with the deck provenance. Existing slide HTML is not proof of
107
120
  which source version influenced it.
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: fixed
3
+ date: 2026-08-10
4
+ ---
5
+
6
+ Asking the agent for several slide animations at once now keeps all of them instead of only the last.
@@ -41,27 +41,27 @@ export declare function createObservabilityHandler(): import("h3").EventHandlerW
41
41
  thumbsUpRate: number;
42
42
  avgEvalScore: number;
43
43
  } | {
44
+ error?: undefined;
45
+ ok?: undefined;
44
46
  summary: import("./types.js").TraceSummary;
45
47
  spans: import("./types.js").TraceSpan[];
46
48
  id?: undefined;
49
+ } | {
47
50
  error?: undefined;
48
51
  ok?: undefined;
49
- } | {
50
52
  summary?: undefined;
51
53
  spans?: undefined;
52
54
  id: string;
53
- error?: undefined;
54
- ok?: undefined;
55
55
  } | {
56
+ ok?: undefined;
56
57
  summary?: undefined;
57
58
  spans?: undefined;
58
59
  id?: undefined;
59
60
  error: any;
60
- ok?: undefined;
61
61
  } | {
62
+ error?: undefined;
62
63
  summary?: undefined;
63
64
  spans?: undefined;
64
65
  id?: undefined;
65
- error?: undefined;
66
66
  ok: boolean;
67
67
  }>>;
@@ -15,6 +15,6 @@ export declare function createProgressHandler(): import("h3").EventHandlerWithFe
15
15
  error: string;
16
16
  ok?: undefined;
17
17
  } | {
18
- ok: boolean;
19
18
  error?: undefined;
19
+ ok: boolean;
20
20
  }>>;
@@ -26,8 +26,8 @@ export declare function createRealtimeTokenHandler(): import("h3").EventHandlerW
26
26
  expiresAt?: undefined;
27
27
  ttlSeconds?: undefined;
28
28
  } | {
29
+ error?: undefined;
29
30
  token: string;
30
31
  expiresAt: string;
31
32
  ttlSeconds: number;
32
- error?: undefined;
33
33
  }>>;
@@ -20,6 +20,6 @@ export declare function createTranscribeVoiceHandler(): import("h3").EventHandle
20
20
  error: string;
21
21
  text?: undefined;
22
22
  } | {
23
- text: string;
24
23
  error?: undefined;
24
+ text: string;
25
25
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.151.1",
3
+ "version": "0.151.2",
4
4
  "description": "Framework for agent-native application development — where AI agents and UI share SQL state, actions, and context",
5
5
  "homepage": "https://github.com/BuilderIO/agent-native#readme",
6
6
  "bugs": {