@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 +1 -1
- package/corpus/templates/slides/.agents/skills/slide-editing/SKILL.md +13 -0
- package/corpus/templates/slides/changelog/2026-08-10-asking-the-agent-for-several-slide-animations-at-once-now-ke.md +6 -0
- package/dist/observability/routes.d.ts +5 -5
- package/dist/progress/routes.d.ts +1 -1
- package/dist/server/realtime-token.d.ts +1 -1
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/package.json +1 -1
package/corpus/README.md
CHANGED
|
@@ -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.
|
|
@@ -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
|
}>>;
|
|
@@ -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
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.151.
|
|
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": {
|