@agent-native/core 0.154.0 → 0.154.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/analytics/changelog/2026-08-12-feature-flags-can-be-managed-across-apps-whose-workspace-rec.md +6 -0
- package/corpus/templates/analytics/changelog/2026-08-12-kept-feature-flag-details-readable-by-stacking-rollout-contr.md +6 -0
- package/corpus/templates/analytics/scripts/preview-dashboard-report.ts +16 -5
- package/corpus/templates/analytics/server/lib/workspace-feature-flags.ts +98 -31
- package/corpus/templates/content/actions/resolve-content-landing.ts +162 -32
- package/corpus/templates/content/shared/content-landing.ts +5 -0
- package/corpus/templates/dispatch/changelog/2026-08-12-dispatch-now-appears-in-authorized-workspace-app-directories.md +6 -0
- package/corpus/templates/dispatch/server/lib/org-apps-directory.ts +3 -4
- package/corpus/templates/dispatch/server/plugins/org-apps-directory.ts +15 -3
- package/corpus/templates/slides/actions/patch-deck.ts +12 -3
- package/corpus/templates/slides/app/components/editor/EditorActionCluster.tsx +73 -1
- package/corpus/templates/slides/app/components/editor/EditorSidebar.tsx +6 -1
- package/corpus/templates/slides/app/components/editor/EditorToolbar.tsx +6 -0
- package/corpus/templates/slides/app/components/editor/NewDeckReferenceStep.tsx +15 -0
- package/corpus/templates/slides/app/context/DeckContext.tsx +19 -31
- package/corpus/templates/slides/app/hooks/use-navigation-state.ts +15 -16
- package/corpus/templates/slides/app/pages/DeckEditor.tsx +9 -0
- package/corpus/templates/slides/changelog/2026-08-13-clicking-a-slide-thumbnail-now-focuses-it-so-the-slide-shortc.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-13-duplicating-or-restoring-a-slide-now-keeps-its-transition-ani.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-13-opening-presentation-mode-from-the-agent-now-starts-on-the-re.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-13-slide-transitions-can-be-set-from-a-visible-control-in-the-sl.md +6 -0
- package/dist/a2a/audience.d.ts +2 -0
- package/dist/a2a/audience.js +23 -0
- package/dist/a2a/client.d.ts +4 -0
- package/dist/a2a/client.js +32 -14
- package/dist/a2a/server.d.ts +9 -4
- package/dist/a2a/server.js +52 -25
- package/dist/a2a/types.d.ts +4 -4
- package/dist/a2a-claims.d.ts +1 -0
- package/dist/a2a-claims.js +3 -1
- package/dist/client/feature-flags/FeatureFlagsPanel.js +2 -2
- package/dist/collab/awareness.d.ts +2 -2
- package/dist/collab/routes.d.ts +1 -1
- package/dist/feature-flags/a2a-action-route.js +10 -1
- package/dist/feature-flags/actions/set-feature-flag.d.ts +2 -1
- package/dist/feature-flags/actions/set-feature-flag.js +9 -2
- package/dist/mcp/org-directory.d.ts +3 -0
- package/dist/mcp/org-directory.js +15 -5
- package/dist/notifications/routes.d.ts +1 -1
- package/dist/observability/routes.d.ts +6 -6
- package/dist/provider-api/actions/custom-provider-registration.d.ts +2 -2
- package/dist/resources/handlers.d.ts +1 -1
- package/dist/secrets/routes.d.ts +3 -3
- package/dist/server/action-routes.js +10 -2
- package/dist/server/agent-capabilities.js +0 -0
- package/dist/server/agent-chat/action-filters-a2a.d.ts +14 -13
- package/dist/server/agent-chat/action-filters-a2a.js +59 -23
- package/dist/server/agent-discovery.d.ts +6 -2
- package/dist/server/agent-discovery.js +16 -9
- package/dist/server/agent-engine-api-key-route.d.ts +1 -1
- package/dist/server/identity-sso-store.d.ts +5 -4
- package/dist/server/identity-sso-store.js +5 -4
- package/package.json +1 -1
|
@@ -27,10 +27,10 @@ export declare function resolveAgentEngineApiKeyWriteTarget(event: H3Event, scop
|
|
|
27
27
|
export declare function createAgentEngineApiKeyHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
|
|
28
28
|
error: any;
|
|
29
29
|
} | {
|
|
30
|
-
error?: undefined;
|
|
31
30
|
ok: boolean;
|
|
32
31
|
key: string;
|
|
33
32
|
baseUrlKey?: string;
|
|
34
33
|
scope: AgentEngineApiKeyScope;
|
|
34
|
+
error?: undefined;
|
|
35
35
|
}>>;
|
|
36
36
|
export {};
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
*
|
|
8
8
|
* - `identity_sso_flow_state` binds state to the exact app, client,
|
|
9
9
|
* authority, callback, and PKCE challenge. State is single-use.
|
|
10
|
-
* - `identity_sso_jti`
|
|
11
|
-
* server-to-server
|
|
12
|
-
*
|
|
10
|
+
* - `identity_sso_jti` is the legacy-named shared replay guard for short-lived
|
|
11
|
+
* server-to-server assertions, including identity SSO and privileged A2A
|
|
12
|
+
* mutations.
|
|
13
13
|
*
|
|
14
14
|
* Uses the same portable raw-SQL pattern as the other framework stores. DDL is
|
|
15
15
|
* additive and lazy, and PostgreSQL creation goes through the DDL guard.
|
|
@@ -59,4 +59,5 @@ export declare function consumeSsoState(state: string, expected: SsoStateBinding
|
|
|
59
59
|
* guarantee, and refusing a login is safer than accepting an unverifiable
|
|
60
60
|
* replay boundary.
|
|
61
61
|
*/
|
|
62
|
-
export declare function
|
|
62
|
+
export declare function consumeOneTimeJti(jti: string | undefined): Promise<boolean>;
|
|
63
|
+
export declare const isJtiReplayed: typeof consumeOneTimeJti;
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
*
|
|
8
8
|
* - `identity_sso_flow_state` binds state to the exact app, client,
|
|
9
9
|
* authority, callback, and PKCE challenge. State is single-use.
|
|
10
|
-
* - `identity_sso_jti`
|
|
11
|
-
* server-to-server
|
|
12
|
-
*
|
|
10
|
+
* - `identity_sso_jti` is the legacy-named shared replay guard for short-lived
|
|
11
|
+
* server-to-server assertions, including identity SSO and privileged A2A
|
|
12
|
+
* mutations.
|
|
13
13
|
*
|
|
14
14
|
* Uses the same portable raw-SQL pattern as the other framework stores. DDL is
|
|
15
15
|
* additive and lazy, and PostgreSQL creation goes through the DDL guard.
|
|
@@ -321,7 +321,7 @@ export async function consumeSsoState(state, expected) {
|
|
|
321
321
|
* guarantee, and refusing a login is safer than accepting an unverifiable
|
|
322
322
|
* replay boundary.
|
|
323
323
|
*/
|
|
324
|
-
export async function
|
|
324
|
+
export async function consumeOneTimeJti(jti) {
|
|
325
325
|
if (!jti)
|
|
326
326
|
return true;
|
|
327
327
|
try {
|
|
@@ -352,3 +352,4 @@ export async function isJtiReplayed(jti) {
|
|
|
352
352
|
return true;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
+
export const isJtiReplayed = consumeOneTimeJti;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.154.
|
|
3
|
+
"version": "0.154.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": {
|