@agent-native/core 0.227.0 → 0.228.0-nightly-20261111004142
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/dist/action.d.ts +6 -2
- package/dist/agent/engine/builder-engine.js +6 -1
- package/dist/agent/engine/tool-call-journal-seed.d.ts +2 -0
- package/dist/agent/engine/tool-call-journal-seed.js +14 -0
- package/dist/agent/harness/store.js +14 -0
- package/dist/agent/production-agent.js +257 -17
- package/dist/agent/reaped-run-thread.js +6 -0
- package/dist/agent/run-manager.js +6 -0
- package/dist/agent/tool-call-journal.d.ts +4 -0
- package/dist/agent/tool-call-journal.js +12 -0
- package/dist/agent/types.d.ts +7 -1
- package/dist/app-config/agent.d.ts +3 -0
- package/dist/app-config/agent.js +7 -0
- package/dist/app-config/schema.d.ts +3 -0
- package/dist/application-state/handlers.d.ts +3 -3
- package/dist/application-state/handlers.js +6 -1
- package/dist/application-state/index.d.ts +3 -2
- package/dist/application-state/index.js +3 -2
- package/dist/application-state/last-used-tab.d.ts +11 -0
- package/dist/application-state/last-used-tab.js +43 -0
- package/dist/application-state/script-helpers.d.ts +26 -0
- package/dist/application-state/script-helpers.js +83 -15
- package/dist/application-state/store.d.ts +8 -0
- package/dist/application-state/store.js +16 -0
- package/dist/cli/agent.js +7 -3
- package/dist/cli/code-agent-executor.d.ts +1 -0
- package/dist/cli/code-agent-executor.js +37 -2
- package/dist/cli/code.js +3 -1
- package/dist/client/agent-sidebar-state.d.ts +2 -0
- package/dist/client/browser-tab-use.d.ts +9 -0
- package/dist/client/browser-tab-use.js +112 -0
- package/dist/client/chat/runtime.js +3 -1
- package/dist/client/error-capture.js +33 -1
- package/dist/client/navigation/index.d.ts +1 -0
- package/dist/client/navigation/index.js +1 -0
- package/dist/client/resources/mcp-integration-logos.js +16 -0
- package/dist/client/review/use-review.d.ts +28 -0
- package/dist/client/review/use-review.js +41 -12
- package/dist/client/route-state.js +2 -0
- package/dist/client/sse-event-processor.d.ts +1 -0
- package/dist/client/sse-event-processor.js +7 -1
- package/dist/client/use-db-sync.d.ts +8 -1
- package/dist/client/use-db-sync.js +6 -5
- package/dist/coding-tools/run-code.js +12 -2
- package/dist/coding-tools/sandbox/executions-store.d.ts +1 -1
- package/dist/coding-tools/sandbox/executions-store.js +9 -3
- package/dist/collab/routes.d.ts +1 -1
- package/dist/data-programs/execute.js +1 -1
- package/dist/db/schema-snapshot.generated.js +17 -3
- package/dist/extensions/url-safety.d.ts +1 -3
- package/dist/extensions/url-safety.js +23 -23
- package/dist/file-upload/actions/upload-image.d.ts +5 -5
- package/dist/file-upload/index.d.ts +1 -1
- package/dist/file-upload/index.js +1 -1
- package/dist/file-upload/s3-client.d.ts +1 -0
- package/dist/file-upload/s3-client.js +70 -13
- package/dist/file-upload/s3.d.ts +9 -0
- package/dist/file-upload/s3.js +14 -1
- package/dist/framework-package-versions.json +8 -8
- package/dist/jobs/run-history.js +10 -3
- package/dist/jobs/scheduler.js +5 -36
- package/dist/localization/core-messages/supplemental/ar-SA.js +35 -0
- package/dist/localization/core-messages/supplemental/de-DE.js +35 -0
- package/dist/localization/core-messages/supplemental/en-US.js +35 -0
- package/dist/localization/core-messages/supplemental/es-ES.js +35 -0
- package/dist/localization/core-messages/supplemental/fr-FR.js +35 -0
- package/dist/localization/core-messages/supplemental/hi-IN.js +35 -0
- package/dist/localization/core-messages/supplemental/ja-JP.js +35 -0
- package/dist/localization/core-messages/supplemental/ko-KR.js +35 -0
- package/dist/localization/core-messages/supplemental/pt-BR.js +35 -0
- package/dist/localization/core-messages/supplemental/zh-CN.js +35 -0
- package/dist/localization/core-messages/supplemental/zh-TW.js +35 -0
- package/dist/localization/default-messages.d.ts +35 -0
- package/dist/localization/default-messages.js +35 -0
- package/dist/localization/mcp-settings-messages.d.ts +35 -0
- package/dist/mcp/actions/list-mcp-client-connections.d.ts +8 -0
- package/dist/mcp/actions/list-mcp-client-connections.js +39 -0
- package/dist/mcp/browser-tab-target.d.ts +16 -0
- package/dist/mcp/browser-tab-target.js +58 -0
- package/dist/mcp/build-server.d.ts +1 -0
- package/dist/mcp/build-server.js +38 -7
- package/dist/mcp/call-attribution.d.ts +4 -1
- package/dist/mcp/call-attribution.js +3 -1
- package/dist/mcp/client-connections.d.ts +6 -0
- package/dist/mcp/client-connections.js +91 -0
- package/dist/mcp/connect-route.js +12 -2
- package/dist/mcp/connect-store.d.ts +3 -0
- package/dist/mcp/connect-store.js +10 -1
- package/dist/mcp/direct-action-call.js +1 -0
- package/dist/mcp/oauth-store.d.ts +6 -0
- package/dist/mcp/oauth-store.js +23 -0
- package/dist/mcp/oauth-token.d.ts +1 -0
- package/dist/mcp/oauth-token.js +1 -0
- package/dist/mcp/server.js +9 -20
- package/dist/mcp-client/config.d.ts +2 -0
- package/dist/mcp-client/manager.js +23 -0
- package/dist/mcp-client/workspace-servers.js +42 -10
- package/dist/notifications/routes.d.ts +3 -3
- package/dist/org/handlers.d.ts +1 -1
- package/dist/org/handlers.js +21 -17
- package/dist/provider-api/actions/custom-provider-registration.d.ts +12 -12
- package/dist/provider-api/actions/provider-api.d.ts +8 -8
- package/dist/provider-api/corpus-jobs.d.ts +2 -2
- package/dist/provider-api/index.js +17 -36
- package/dist/review/actions/create-review-comment.d.ts +7 -0
- package/dist/review/actions/create-review-comment.js +29 -3
- package/dist/review/actions/delete-review-comment.js +2 -2
- package/dist/review/actions/list-review-comments.d.ts +3 -0
- package/dist/review/actions/list-review-comments.js +41 -17
- package/dist/review/actions/react-to-review-comment.js +2 -2
- package/dist/review/actions/reply-review-comment.d.ts +4 -0
- package/dist/review/actions/reply-review-comment.js +15 -6
- package/dist/review/actions/update-review-comment-anchor.d.ts +6 -0
- package/dist/review/actions/update-review-comment-anchor.js +39 -10
- package/dist/review/actions/update-review-comment.d.ts +3 -0
- package/dist/review/actions/update-review-comment.js +28 -3
- package/dist/review/errors.d.ts +33 -0
- package/dist/review/errors.js +51 -0
- package/dist/review/index.d.ts +5 -4
- package/dist/review/index.js +3 -2
- package/dist/review/registry.d.ts +51 -1
- package/dist/review/registry.js +117 -0
- package/dist/review/store.d.ts +59 -14
- package/dist/review/store.js +622 -101
- package/dist/review/suggestions/actions.js +65 -10
- package/dist/review/suggestions/actor-kind.d.ts +5 -0
- package/dist/review/suggestions/actor-kind.js +20 -0
- package/dist/review/suggestions/store.js +16 -2
- package/dist/review/suggestions/types.d.ts +13 -0
- package/dist/review/types.d.ts +89 -0
- package/dist/scripts/db/dev-query-proxy.d.ts +2 -0
- package/dist/scripts/db/dev-query-proxy.js +4 -1
- package/dist/scripts/db/query.js +3 -0
- package/dist/scripts/dev/shell.js +4 -0
- package/dist/scripts/dev-session.d.ts +31 -0
- package/dist/scripts/dev-session.js +58 -0
- package/dist/scripts/resources/list.js +53 -4
- package/dist/scripts/runner.js +22 -4
- package/dist/search/query.d.ts +11 -5
- package/dist/search/query.js +52 -15
- package/dist/search/tokenize.d.ts +1 -0
- package/dist/search/tokenize.js +3 -0
- package/dist/secrets/api-keys.d.ts +4 -0
- package/dist/secrets/api-keys.js +5 -0
- package/dist/secrets/register.d.ts +2 -0
- package/dist/secrets/routes.d.ts +2 -2
- package/dist/secrets/routes.js +85 -6
- package/dist/secrets/storage.d.ts +2 -0
- package/dist/secrets/storage.js +34 -9
- package/dist/secrets/substitution.d.ts +3 -2
- package/dist/secrets/substitution.js +56 -7
- package/dist/server/action-discovery.js +5 -0
- package/dist/server/action-routes.js +8 -6
- package/dist/server/agent-chat/prompt-resources.js +117 -79
- package/dist/server/agent-chat/script-entries.js +15 -8
- package/dist/server/agent-chat-plugin.js +9 -4
- package/dist/server/agent-engine-api-key-route.d.ts +1 -1
- package/dist/server/agent-engine-ollama-models-route.d.ts +1 -1
- package/dist/server/agents-bundle.d.ts +3 -1
- package/dist/server/agents-bundle.js +4 -4
- package/dist/server/csrf.js +1 -0
- package/dist/server/dev-action-bridge.d.ts +2 -0
- package/dist/server/dev-action-bridge.js +34 -5
- package/dist/server/first-touch-route.d.ts +1 -1
- package/dist/server/http-response-telemetry.js +4 -0
- package/dist/server/loopback.js +3 -1
- package/dist/server/request-context.d.ts +26 -0
- package/dist/shared/app-state-routes.d.ts +7 -0
- package/dist/shared/app-state-routes.js +7 -0
- package/dist/shared/mcp-client-connections.d.ts +41 -0
- package/dist/shared/mcp-client-connections.js +18 -0
- package/dist/shared/mcp-connect-content.d.ts +18 -0
- package/dist/shared/mcp-connect-content.js +200 -172
- package/dist/shared/runtime-config.js +5 -1
- package/dist/templates/chat/.agents/skills/context-awareness/SKILL.md +13 -0
- package/dist/templates/default/.agents/skills/context-awareness/SKILL.md +13 -0
- package/dist/templates/workspace-core/.agents/skills/context-awareness/SKILL.md +13 -0
- package/dist/tracking/providers.d.ts +7 -0
- package/dist/tracking/providers.js +39 -17
- package/dist/triggers/condition-evaluator.d.ts +2 -0
- package/dist/triggers/condition-evaluator.js +93 -3
- package/dist/triggers/dispatcher.js +24 -6
- package/docs/AGENTS.md +16 -16
- package/docs/content/create-with-an-agent.mdx +10 -4
- package/docs/content/durable-resume.mdx +11 -2
- package/docs/content/toolkit-comments-review.mdx +54 -1
- package/package.json +5 -4
- package/src/templates/chat/.agents/skills/context-awareness/SKILL.md +13 -0
- package/src/templates/default/.agents/skills/context-awareness/SKILL.md +13 -0
- package/src/templates/workspace-core/.agents/skills/context-awareness/SKILL.md +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.228.0-nightly-20261111004142",
|
|
4
4
|
"description": "The agentic application framework for building autonomous agents with intuitive UIs",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/agent-native#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -671,6 +671,7 @@
|
|
|
671
671
|
"./shared/framework-route-prefix": "./dist/shared/framework-route-prefix.js",
|
|
672
672
|
"./shared/loading-labels": "./dist/shared/loading-labels.js",
|
|
673
673
|
"./shared/mcp-app-widget-embed": "./dist/shared/mcp-app-widget-embed.js",
|
|
674
|
+
"./shared/mcp-client-connections": "./dist/shared/mcp-client-connections.js",
|
|
674
675
|
"./shared/mcp-connect-content": "./dist/shared/mcp-connect-content.js",
|
|
675
676
|
"./shared/motion-easing": "./dist/shared/motion-easing.js",
|
|
676
677
|
"./shared/motion-source-node-id": "./dist/shared/motion-source-node-id.js",
|
|
@@ -769,8 +770,8 @@
|
|
|
769
770
|
"yaml": "^2.9.0",
|
|
770
771
|
"yjs": "^13.6.33",
|
|
771
772
|
"zod": "^4.3.6",
|
|
772
|
-
"@agent-native/
|
|
773
|
-
"@agent-native/
|
|
773
|
+
"@agent-native/recap-cli": "^0.5.101-nightly-20261111004142",
|
|
774
|
+
"@agent-native/agentkit": "^0.228.0-nightly-20261111004142"
|
|
774
775
|
},
|
|
775
776
|
"devDependencies": {
|
|
776
777
|
"@ai-sdk/anthropic": "^3.0.71",
|
|
@@ -843,7 +844,7 @@
|
|
|
843
844
|
"xlsx": "^0.18.5"
|
|
844
845
|
},
|
|
845
846
|
"peerDependencies": {
|
|
846
|
-
"@agent-native/core-corpus": "
|
|
847
|
+
"@agent-native/core-corpus": "0.228.0-nightly-20261111004142",
|
|
847
848
|
"@ai-sdk/anthropic": ">=3",
|
|
848
849
|
"@ai-sdk/cohere": ">=3",
|
|
849
850
|
"@ai-sdk/google": ">=3",
|
|
@@ -246,6 +246,19 @@ of the local route unless a matching `view` route or explicit `publicPath`
|
|
|
246
246
|
identifies the mounted URL. Carry the mounted form separately in `publicPath`;
|
|
247
247
|
never infer that `path` is mounted from its prefix alone.
|
|
248
248
|
|
|
249
|
+
**Calls from no tab.** An MCP tool call by a signed-in user carries no tab ID,
|
|
250
|
+
so the tab-scoped helpers (`readAppState("navigation")`,
|
|
251
|
+
`readAppStateForCurrentTab`, `writeAppStateForCurrentTab`) act on the tab of
|
|
252
|
+
this app the user used last within 12 hours. `useAgentRouteState` records a
|
|
253
|
+
tab's use when it gains focus or changes route; an app with its own navigation
|
|
254
|
+
sync calls `useBrowserTabUse(route)` from
|
|
255
|
+
`@agent-native/core/client/navigation`. The call doesn't become that tab:
|
|
256
|
+
`getCurrentRequestBrowserTabId()` stays null, and checks that must come from
|
|
257
|
+
the open editor keep requiring it. When no tab was used recently, `navigation`
|
|
258
|
+
reads return null rather than the account-wide row, writes keep going to the
|
|
259
|
+
account-wide row, and the MCP result says no tab was found. To pick a tab the
|
|
260
|
+
same way in your own code, use `resolveCurrentRequestStateTab()`.
|
|
261
|
+
|
|
249
262
|
## Jitter Prevention
|
|
250
263
|
|
|
251
264
|
Agent-side application-state writes are tagged with
|
|
@@ -246,6 +246,19 @@ of the local route unless a matching `view` route or explicit `publicPath`
|
|
|
246
246
|
identifies the mounted URL. Carry the mounted form separately in `publicPath`;
|
|
247
247
|
never infer that `path` is mounted from its prefix alone.
|
|
248
248
|
|
|
249
|
+
**Calls from no tab.** An MCP tool call by a signed-in user carries no tab ID,
|
|
250
|
+
so the tab-scoped helpers (`readAppState("navigation")`,
|
|
251
|
+
`readAppStateForCurrentTab`, `writeAppStateForCurrentTab`) act on the tab of
|
|
252
|
+
this app the user used last within 12 hours. `useAgentRouteState` records a
|
|
253
|
+
tab's use when it gains focus or changes route; an app with its own navigation
|
|
254
|
+
sync calls `useBrowserTabUse(route)` from
|
|
255
|
+
`@agent-native/core/client/navigation`. The call doesn't become that tab:
|
|
256
|
+
`getCurrentRequestBrowserTabId()` stays null, and checks that must come from
|
|
257
|
+
the open editor keep requiring it. When no tab was used recently, `navigation`
|
|
258
|
+
reads return null rather than the account-wide row, writes keep going to the
|
|
259
|
+
account-wide row, and the MCP result says no tab was found. To pick a tab the
|
|
260
|
+
same way in your own code, use `resolveCurrentRequestStateTab()`.
|
|
261
|
+
|
|
249
262
|
## Jitter Prevention
|
|
250
263
|
|
|
251
264
|
Agent-side application-state writes are tagged with
|
|
@@ -246,6 +246,19 @@ of the local route unless a matching `view` route or explicit `publicPath`
|
|
|
246
246
|
identifies the mounted URL. Carry the mounted form separately in `publicPath`;
|
|
247
247
|
never infer that `path` is mounted from its prefix alone.
|
|
248
248
|
|
|
249
|
+
**Calls from no tab.** An MCP tool call by a signed-in user carries no tab ID,
|
|
250
|
+
so the tab-scoped helpers (`readAppState("navigation")`,
|
|
251
|
+
`readAppStateForCurrentTab`, `writeAppStateForCurrentTab`) act on the tab of
|
|
252
|
+
this app the user used last within 12 hours. `useAgentRouteState` records a
|
|
253
|
+
tab's use when it gains focus or changes route; an app with its own navigation
|
|
254
|
+
sync calls `useBrowserTabUse(route)` from
|
|
255
|
+
`@agent-native/core/client/navigation`. The call doesn't become that tab:
|
|
256
|
+
`getCurrentRequestBrowserTabId()` stays null, and checks that must come from
|
|
257
|
+
the open editor keep requiring it. When no tab was used recently, `navigation`
|
|
258
|
+
reads return null rather than the account-wide row, writes keep going to the
|
|
259
|
+
account-wide row, and the MCP result says no tab was found. To pick a tab the
|
|
260
|
+
same way in your own code, use `resolveCurrentRequestStateTab()`.
|
|
261
|
+
|
|
249
262
|
## Jitter Prevention
|
|
250
263
|
|
|
251
264
|
Agent-side application-state writes are tagged with
|