@agent-native/core 0.176.4-nightly-20260902192636 → 0.176.4
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/templates/analytics/AGENTS.md +8 -11
- package/corpus/templates/analytics/CHANGELOG.md +6 -0
- package/corpus/templates/assets/CHANGELOG.md +7 -0
- package/corpus/templates/calendar/CHANGELOG.md +13 -0
- package/corpus/templates/clips/CHANGELOG.md +4 -0
- package/corpus/templates/design/CHANGELOG.md +7 -0
- package/corpus/templates/slides/AGENTS.md +2 -3
- package/dist/client/client-surface.d.ts +2 -3
- package/dist/client/client-surface.js +4 -7
- package/dist/client/host/index.d.ts +1 -0
- package/dist/client/host/index.js +1 -0
- package/dist/file-upload/actions/upload-image.d.ts +2 -2
- package/dist/observability/routes.d.ts +2 -2
- package/dist/progress/routes.d.ts +1 -1
- package/dist/resources/handlers.d.ts +1 -1
- package/package.json +3 -3
|
@@ -39,9 +39,8 @@ Read the relevant skill before deeper work:
|
|
|
39
39
|
3. **Escalate on a miss.** If the catalog has no usable result, make one discovery
|
|
40
40
|
pass (`list-data-dictionary`, `search-bigquery-schema`, `data-source-status`),
|
|
41
41
|
then query; don't cross-check or add unasked breakdowns.
|
|
42
|
-
4. **Answer in chat.** Return a short table or
|
|
43
|
-
|
|
44
|
-
5. **Deliver exports in chat.** Don't return only a path.
|
|
42
|
+
4. **Answer in chat.** Return a short table, chart, or export, not just a path;
|
|
43
|
+
for >50 rows, state the total and top rows.
|
|
45
44
|
6. **Chunk only reading.** Group 5-10 only for 30+ qualitative items when a query
|
|
46
45
|
cannot answer; don't chunk queryable questions. See `adhoc-analysis`.
|
|
47
46
|
|
|
@@ -54,7 +53,7 @@ Read the relevant skill before deeper work:
|
|
|
54
53
|
signups, conversions, and other curated product metrics. Answer sibling-app
|
|
55
54
|
delegations with the built-in source and query catalog; sibling agents should
|
|
56
55
|
send a natural-language question, never SQL.
|
|
57
|
-
-
|
|
56
|
+
- Delegation: choose defaults; label partial.
|
|
58
57
|
- Data integrity first. Never invent numbers, dimensions, filters, or source
|
|
59
58
|
semantics; present only retrieved values with source, window, filters,
|
|
60
59
|
row-count/sample-size, join method, and caveats.
|
|
@@ -72,18 +71,16 @@ Read the relevant skill before deeper work:
|
|
|
72
71
|
- When the user challenges coverage or asks why records are missing, rerun from
|
|
73
72
|
the source cohort and include the updated answer directly — never claim a
|
|
74
73
|
revision you didn't produce.
|
|
75
|
-
-
|
|
76
|
-
Never cite it as real analytics evidence unless the user asks about the demo
|
|
77
|
-
dashboard.
|
|
74
|
+
- Never cite the public `demo` source as real analytics evidence unless asked.
|
|
78
75
|
- Store large payloads in file/blob storage, never SQL or app state. Persist
|
|
79
76
|
only URLs, ids, or handles.
|
|
80
77
|
- Never hardcode API keys, tokens, webhook URLs, secrets, private Builder data,
|
|
81
78
|
or customer data. Use secrets/OAuth and obvious placeholders in examples.
|
|
82
79
|
- For external integrations, inspect the workspace/provider connection catalog first; reuse its scoped resolver.
|
|
83
|
-
-
|
|
84
|
-
`ask_app` for interpretation, source selection,
|
|
85
|
-
actions, or unsupported writes.
|
|
86
|
-
- Reports/alerts use SQL actions;
|
|
80
|
+
- External MCP callers: use cataloged direct actions for bounded reads and
|
|
81
|
+
allowlisted mutations. Use `ask_app` for interpretation, source selection,
|
|
82
|
+
multi-step work, unavailable actions, or unsupported writes.
|
|
83
|
+
- Reports/alerts use SQL actions; cap at five recipients.
|
|
87
84
|
|
|
88
85
|
## Actions
|
|
89
86
|
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable user-facing changes to Agent-Native Analytics are documented here. Open it any
|
|
4
4
|
time from the command menu (Cmd+K → "What's new") or from Settings.
|
|
5
5
|
|
|
6
|
+
## 2026-09-01
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- Analytics admins can join read-only data from connected app databases
|
|
11
|
+
|
|
6
12
|
## 2026-08-31
|
|
7
13
|
|
|
8
14
|
### Improved
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable user-facing changes to Assets are documented here. Open it any
|
|
4
4
|
time from the command menu (Cmd+K → "What's new") or from Settings.
|
|
5
5
|
|
|
6
|
+
## 2026-09-01
|
|
7
|
+
|
|
8
|
+
### Improved
|
|
9
|
+
|
|
10
|
+
- Image generation returns compact results so multi-image runs stop hitting delegated result limits.
|
|
11
|
+
- You can now generate image and video drafts in a brand kit you only have view access to, from the app or from another agent. Saving a draft into the kit, uploading, and editing the kit still need edit access, and the drafts you generate stay yours to discard.
|
|
12
|
+
|
|
6
13
|
## 2026-08-26
|
|
7
14
|
|
|
8
15
|
### Added
|
|
@@ -7,6 +7,7 @@ time from the command menu (Cmd+K → "What's new") or from Settings.
|
|
|
7
7
|
|
|
8
8
|
### Improved
|
|
9
9
|
|
|
10
|
+
- Calendar keeps the learn-more link clear of the language control on every screen size.
|
|
10
11
|
- Signed-in coworkers now see their own calendar conflicts and booking details are prefilled.
|
|
11
12
|
|
|
12
13
|
## 2026-08-31
|
|
@@ -210,6 +211,12 @@ time from the command menu (Cmd+K → "What's new") or from Settings.
|
|
|
210
211
|
- Secondary controls and dashboard surfaces now use quieter borderless styling.
|
|
211
212
|
- Sidebar utility controls now follow a consistent footer order.
|
|
212
213
|
|
|
214
|
+
## 2026-07-23
|
|
215
|
+
|
|
216
|
+
### Improved
|
|
217
|
+
|
|
218
|
+
- Booking links now derive an overlay-listed host's time zone from their general calendar settings when they haven't set explicit working hours
|
|
219
|
+
|
|
213
220
|
## 2026-07-22
|
|
214
221
|
|
|
215
222
|
### Improved
|
|
@@ -220,6 +227,12 @@ time from the command menu (Cmd+K → "What's new") or from Settings.
|
|
|
220
227
|
|
|
221
228
|
- Calendar views now render, navigate, and create events in the timezone selected in Calendar settings.
|
|
222
229
|
|
|
230
|
+
## 2026-07-21
|
|
231
|
+
|
|
232
|
+
### Added
|
|
233
|
+
|
|
234
|
+
- Group booking links can now enforce a peer's real working hours and time zone when they're in your calendar overlay, with an optional multi-time-zone grid on the public booking page.
|
|
235
|
+
|
|
223
236
|
## 2026-07-20
|
|
224
237
|
|
|
225
238
|
### Improved
|
|
@@ -5,6 +5,10 @@ from the command menu (Cmd+K → "What's new") or from Settings.
|
|
|
5
5
|
|
|
6
6
|
## 2026-09-01
|
|
7
7
|
|
|
8
|
+
### Improved
|
|
9
|
+
|
|
10
|
+
- The recorder playhead now docks automatically when dragged near a screen edge, returns to floating mode when pulled away, remembers its screen position, and transitions more smoothly into Restart and Delete confirmations.
|
|
11
|
+
|
|
8
12
|
### Fixed
|
|
9
13
|
|
|
10
14
|
- Calendar reconnects wait for Google to finish before refreshing meetings.
|
|
@@ -3,10 +3,17 @@
|
|
|
3
3
|
All notable user-facing changes to Design are documented here. Open it any time
|
|
4
4
|
from the command menu (Cmd+K → "What's new") or from Settings.
|
|
5
5
|
|
|
6
|
+
## 2026-09-02
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- A greeting or question as the first message in a new design no longer ends with a false "couldn't confirm that a Design artifact was saved" reply.
|
|
11
|
+
|
|
6
12
|
## 2026-09-01
|
|
7
13
|
|
|
8
14
|
### Fixed
|
|
9
15
|
|
|
16
|
+
- Frame labels now move smoothly into place after canvas zoom changes.
|
|
10
17
|
- The Share button stays inside the editor's right panel. At the panel's default width the action row was wider than the panel, so Share was clipped at the window edge; Add to Context now collapses to an icon with a tooltip when the panel is narrow, and the whole row fits.
|
|
11
18
|
|
|
12
19
|
## 2026-08-28
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# Slides — Agent Guide
|
|
2
2
|
|
|
3
|
-
Slides is an agent-native deck editor. The agent
|
|
4
|
-
|
|
5
|
-
state.
|
|
3
|
+
Slides is an agent-native deck editor. The agent manages decks through actions
|
|
4
|
+
and shared SQL state.
|
|
6
5
|
|
|
7
6
|
## Skills
|
|
8
7
|
|
|
@@ -9,8 +9,7 @@ export type ClientSurface = "web" | "electron" | "tauri";
|
|
|
9
9
|
* Best-effort, side-effect-free detection of the current client surface.
|
|
10
10
|
* Returns "web" during SSR and in any plain browser.
|
|
11
11
|
*
|
|
12
|
-
* Electron detection
|
|
13
|
-
*
|
|
14
|
-
* globals, so it stays specific to our app rather than every Electron webview.
|
|
12
|
+
* Electron detection accepts known native-client User-Agent markers or the
|
|
13
|
+
* `AgentNativeDesktop` marker exposed by our shell.
|
|
15
14
|
*/
|
|
16
15
|
export declare function getClientSurface(): ClientSurface;
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
* Best-effort, side-effect-free detection of the current client surface.
|
|
3
3
|
* Returns "web" during SSR and in any plain browser.
|
|
4
4
|
*
|
|
5
|
-
* Electron detection
|
|
6
|
-
*
|
|
7
|
-
* globals, so it stays specific to our app rather than every Electron webview.
|
|
5
|
+
* Electron detection accepts known native-client User-Agent markers or the
|
|
6
|
+
* `AgentNativeDesktop` marker exposed by our shell.
|
|
8
7
|
*/
|
|
9
8
|
export function getClientSurface() {
|
|
10
9
|
if (typeof window === "undefined")
|
|
@@ -13,10 +12,8 @@ export function getClientSurface() {
|
|
|
13
12
|
if (w.__TAURI_INTERNALS__ || w.__TAURI__)
|
|
14
13
|
return "tauri";
|
|
15
14
|
const ua = typeof navigator !== "undefined" ? navigator.userAgent || "" : "";
|
|
16
|
-
if (
|
|
17
|
-
|
|
18
|
-
w.agentNativeDesktop ||
|
|
19
|
-
w.electronAPI) {
|
|
15
|
+
if (/\b(?:AgentNativeDesktop|ChatGPT|Claude|Codex)\b/i.test(ua) ||
|
|
16
|
+
w.agentNativeDesktop) {
|
|
20
17
|
return "electron";
|
|
21
18
|
}
|
|
22
19
|
return "web";
|
|
@@ -3,6 +3,7 @@ export { agentNativeApiDisabledReason, AgentNativeApiDisabledError, setAgentNati
|
|
|
3
3
|
export { ensureEmbedAuthFetchInterceptor, getEmbedAuthToken, isEmbedAuthActive, isEmbedMcpChatBridgeActive, } from "../embed-auth.js";
|
|
4
4
|
export { sendToFrame, onFrameMessage, requestUserInfo, getFrameOrigin, getFramePostMessageTargetOrigin, getCallbackOrigin, oauthRedirectUri, isInFrame, enterStyleEditing, enterTextEditing, exitSelectionMode, type UserInfo, } from "../frame.js";
|
|
5
5
|
export { getBuilderParentOrigin, isInBuilderFrame, sendToBuilderChat, type BuilderChatMessage, } from "../builder-frame.js";
|
|
6
|
+
export { getClientSurface, type ClientSurface } from "../client-surface.js";
|
|
6
7
|
export { AgentNative, useAgentNativeScreenContext, type AgentNativeCommandCallback, type AgentNativeCommandCallbackInfo, type AgentNativeProps, } from "../AgentNative.js";
|
|
7
8
|
export { AgentNativeEmbedded, useAgentNativeEmbeddedBrowserSession, type AgentNativeEmbeddedBrowserSessionOptions, type AgentNativeEmbeddedCommandCallback, type AgentNativeEmbeddedCommandCallbackInfo, type AgentNativeEmbeddedProps, type UseAgentNativeEmbeddedBrowserSessionOptions, } from "../AgentNativeEmbedded.js";
|
|
8
9
|
export { defineClientAction, type AgentNativeClientActionDefinition, type AgentNativeClientActionRunner, } from "../client-action.js";
|
|
@@ -3,6 +3,7 @@ export { agentNativeApiDisabledReason, AgentNativeApiDisabledError, setAgentNati
|
|
|
3
3
|
export { ensureEmbedAuthFetchInterceptor, getEmbedAuthToken, isEmbedAuthActive, isEmbedMcpChatBridgeActive, } from "../embed-auth.js";
|
|
4
4
|
export { sendToFrame, onFrameMessage, requestUserInfo, getFrameOrigin, getFramePostMessageTargetOrigin, getCallbackOrigin, oauthRedirectUri, isInFrame, enterStyleEditing, enterTextEditing, exitSelectionMode, } from "../frame.js";
|
|
5
5
|
export { getBuilderParentOrigin, isInBuilderFrame, sendToBuilderChat, } from "../builder-frame.js";
|
|
6
|
+
export { getClientSurface } from "../client-surface.js";
|
|
6
7
|
export { AgentNative, useAgentNativeScreenContext, } from "../AgentNative.js";
|
|
7
8
|
export { AgentNativeEmbedded, useAgentNativeEmbeddedBrowserSession, } from "../AgentNativeEmbedded.js";
|
|
8
9
|
export { defineClientAction, } from "../client-action.js";
|
|
@@ -3,18 +3,18 @@ declare const _default: import("../../action.js").ActionDefinition<{
|
|
|
3
3
|
url?: string;
|
|
4
4
|
filename?: string;
|
|
5
5
|
}, {
|
|
6
|
-
id?: undefined;
|
|
7
6
|
error: string;
|
|
8
7
|
configured?: undefined;
|
|
9
8
|
connectPath?: undefined;
|
|
10
9
|
url?: undefined;
|
|
10
|
+
id?: undefined;
|
|
11
11
|
provider?: undefined;
|
|
12
12
|
} | {
|
|
13
|
-
id?: undefined;
|
|
14
13
|
error: string;
|
|
15
14
|
configured: boolean;
|
|
16
15
|
connectPath: string;
|
|
17
16
|
url?: undefined;
|
|
17
|
+
id?: undefined;
|
|
18
18
|
provider?: undefined;
|
|
19
19
|
} | {
|
|
20
20
|
error?: undefined;
|
|
@@ -56,12 +56,12 @@ export declare function createObservabilityHandler(): import("h3").EventHandlerW
|
|
|
56
56
|
ok?: undefined;
|
|
57
57
|
summary?: undefined;
|
|
58
58
|
spans?: undefined;
|
|
59
|
-
id?: undefined;
|
|
60
59
|
error: any;
|
|
60
|
+
id?: undefined;
|
|
61
61
|
} | {
|
|
62
62
|
error?: undefined;
|
|
63
63
|
summary?: undefined;
|
|
64
64
|
spans?: undefined;
|
|
65
|
-
id?: undefined;
|
|
66
65
|
ok: boolean;
|
|
66
|
+
id?: undefined;
|
|
67
67
|
}>>;
|
|
@@ -48,8 +48,8 @@ export declare function handleUpdateResource(event: any): Promise<import("./stor
|
|
|
48
48
|
}>;
|
|
49
49
|
/** DELETE /_agent-native/resources/:id — delete a resource */
|
|
50
50
|
export declare function handleDeleteResource(event: any): Promise<{
|
|
51
|
-
error: string;
|
|
52
51
|
ok?: undefined;
|
|
52
|
+
error: string;
|
|
53
53
|
} | {
|
|
54
54
|
error?: undefined;
|
|
55
55
|
ok: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.176.4
|
|
3
|
+
"version": "0.176.4",
|
|
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": {
|
|
@@ -437,8 +437,8 @@
|
|
|
437
437
|
"y-protocols": "^1.0.7",
|
|
438
438
|
"yjs": "^13.6.32",
|
|
439
439
|
"zod": "^4.3.6",
|
|
440
|
-
"@agent-native/
|
|
441
|
-
"@agent-native/
|
|
440
|
+
"@agent-native/toolkit": "^0.19.2",
|
|
441
|
+
"@agent-native/recap-cli": "0.5.24"
|
|
442
442
|
},
|
|
443
443
|
"devDependencies": {
|
|
444
444
|
"@ai-sdk/anthropic": "^3.0.71",
|