@agent-native/core 0.104.0 → 0.105.0
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/core/CHANGELOG.md +31 -0
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/client/AgentPanel.tsx +1 -1
- package/corpus/core/src/deploy/build.ts +23 -0
- package/corpus/templates/clips/app/routes.ts +3 -1
- package/dist/client/AgentPanel.js +1 -1
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/collab/routes.d.ts +1 -1
- package/dist/deploy/build.d.ts.map +1 -1
- package/dist/deploy/build.js +17 -0
- package/dist/deploy/build.js.map +1 -1
- package/dist/file-upload/actions/upload-image.d.ts +1 -1
- package/dist/notifications/routes.d.ts +3 -3
- package/dist/observability/routes.d.ts +5 -5
- package/dist/progress/routes.d.ts +1 -1
- package/dist/secrets/routes.d.ts +9 -9
- package/dist/server/agent-engine-api-key-route.d.ts +1 -1
- package/package.json +2 -2
package/corpus/core/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @agent-native/core
|
|
2
2
|
|
|
3
|
+
## 0.105.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9f2f7a7: Add the Creative Context package for importing, versioning, searching, and reusing workspace decks, designs, assets, websites, and content across creative apps.
|
|
8
|
+
|
|
9
|
+
Expose reusable ingestion, prompt-context provider, and search utility seams from core for package-driven creative context.
|
|
10
|
+
|
|
11
|
+
Includes bounded image-region cropping for durable localized creative-context fallbacks.
|
|
12
|
+
|
|
13
|
+
- 9f2f7a7: Redesign the agent workspace with plain files first, dedicated resource collections, and a snapshots view for recent context inspection.
|
|
14
|
+
- 9f2f7a7: Add public session replay context and timestamped Analytics links, support host-owned tracking identity, and allow Analytics replay pages to open at a requested timeline offset.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 9f2f7a7: Fail serverless builds that bundle Vitest test runtime code into production SSR output.
|
|
19
|
+
- 9f2f7a7: Disable app-shell transitions across the shared AgentSidebar subtree while the sidebar is being resized.
|
|
20
|
+
- 9f2f7a7: Count explicitly failed action tool events as errors in observability traces and summaries even when their result text does not start with `Error`.
|
|
21
|
+
- 9f2f7a7: Fix managed Slack OAuth to resolve scoped app credentials within the signed-in request context.
|
|
22
|
+
- 9f2f7a7: Render dashboard, form, and other resource context as a normal composer chip instead of a scoped-chat badge and history partition.
|
|
23
|
+
- 9f2f7a7: Protect existing extension visual design during data-only repairs by requiring explicit intent for full-body replacements, stop deterministic edit failures before the agent retries the same arguments, and resume cleanly when a provider closes while an action input is still being assembled.
|
|
24
|
+
- 9f2f7a7: Teach Plan agents to fence destructive edits against fresh plan revisions and verify persisted content before closing feedback.
|
|
25
|
+
- 9f2f7a7: Inline `AgentChatSurface` and `AgentChatHome` instances now hide the legacy Chat/Workspace header and chat tab row by default.
|
|
26
|
+
- 9f2f7a7: Share package-registered actions across runtime module instances and mount them alongside explicit app action registries.
|
|
27
|
+
- 9f2f7a7: Hide sidebar chat tabs until a second chat is open so a lone chat does not show a “New chat” tab.
|
|
28
|
+
- 9f2f7a7: Re-enable the sticky 80/20 Sonnet 5 versus GPT-5.6 Luna default-model experiment across first-party hosted templates.
|
|
29
|
+
- 9f2f7a7: Avoid repeated desktop sidebar width transitions while the agent sidebar is being resized.
|
|
30
|
+
- 9f2f7a7: Prevent duplicate recovery submissions and reject late worker events after an agent run has already reached a terminal state.
|
|
31
|
+
- Updated dependencies [9f2f7a7]
|
|
32
|
+
- @agent-native/recap-cli@0.4.3
|
|
33
|
+
|
|
3
34
|
## 0.104.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/corpus/core/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.105.0",
|
|
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": {
|
|
@@ -425,7 +425,7 @@ export function shouldShowAgentPanelChatTabBar(
|
|
|
425
425
|
export function shouldShowAgentPanelSidebarChatTabs(
|
|
426
426
|
tabs: MultiTabAssistantChatHeaderProps["tabs"],
|
|
427
427
|
) {
|
|
428
|
-
return tabs.
|
|
428
|
+
return tabs.filter((tab) => !tab.parentThreadId).length > 1;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
export function shouldShowAgentPanelPageNewChatButton(
|
|
@@ -2519,6 +2519,14 @@ function hasUnsupportedYjsSubpathImport(source: string): boolean {
|
|
|
2519
2519
|
);
|
|
2520
2520
|
}
|
|
2521
2521
|
|
|
2522
|
+
function hasBundledVitestRuntime(source: string): boolean {
|
|
2523
|
+
return (
|
|
2524
|
+
/["'`]@vitest\//.test(source) ||
|
|
2525
|
+
/["'`]vitest\/(?:dist|src)\//.test(source) ||
|
|
2526
|
+
/__vitest_\d+__/.test(source)
|
|
2527
|
+
);
|
|
2528
|
+
}
|
|
2529
|
+
|
|
2522
2530
|
function walkServerJavaScriptFiles(
|
|
2523
2531
|
dir: string,
|
|
2524
2532
|
onFile: (filePath: string) => void,
|
|
@@ -2734,6 +2742,21 @@ export function assertSingleTemplateNetlifyBuildOutput(
|
|
|
2734
2742
|
);
|
|
2735
2743
|
}
|
|
2736
2744
|
|
|
2745
|
+
// React Router's filesystem route discovery can accidentally treat a
|
|
2746
|
+
// co-located *.test.ts route as production code. That bundles Vitest into
|
|
2747
|
+
// SSR and only fails when the first request executes the test helpers.
|
|
2748
|
+
const bundledVitestRuntime: string[] = [];
|
|
2749
|
+
walkServerJavaScriptFiles(serverDir, (filePath) => {
|
|
2750
|
+
if (hasBundledVitestRuntime(fs.readFileSync(filePath, "utf-8"))) {
|
|
2751
|
+
bundledVitestRuntime.push(path.relative(projectCwd, filePath));
|
|
2752
|
+
}
|
|
2753
|
+
});
|
|
2754
|
+
if (bundledVitestRuntime.length > 0) {
|
|
2755
|
+
failures.push(
|
|
2756
|
+
`Netlify server bundle contains Vitest test runtime code: ${bundledVitestRuntime.join(", ")}`,
|
|
2757
|
+
);
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2737
2760
|
if (isDurableBackgroundDeployEnabled()) {
|
|
2738
2761
|
const backgroundDir = path.join(
|
|
2739
2762
|
internalDir,
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { type RouteConfig } from "@react-router/dev/routes";
|
|
2
2
|
import { flatRoutes } from "@react-router/fs-routes";
|
|
3
3
|
|
|
4
|
-
export default flatRoutes(
|
|
4
|
+
export default flatRoutes({
|
|
5
|
+
ignoredRouteFiles: ["**/*.test.{ts,tsx}", "**/*.spec.{ts,tsx}"],
|
|
6
|
+
}) satisfies RouteConfig;
|
|
@@ -212,7 +212,7 @@ export function shouldShowAgentPanelChatTabBar(tabs, activeTabId) {
|
|
|
212
212
|
return mainTabs.length > 1 || hasSubTabs;
|
|
213
213
|
}
|
|
214
214
|
export function shouldShowAgentPanelSidebarChatTabs(tabs) {
|
|
215
|
-
return tabs.
|
|
215
|
+
return tabs.filter((tab) => !tab.parentThreadId).length > 1;
|
|
216
216
|
}
|
|
217
217
|
export function shouldShowAgentPanelPageNewChatButton(tabs, activeTabId, activeTabMessageCount) {
|
|
218
218
|
if (!activeTabId)
|