@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.
Files changed (54) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/analytics/changelog/2026-08-12-feature-flags-can-be-managed-across-apps-whose-workspace-rec.md +6 -0
  3. package/corpus/templates/analytics/changelog/2026-08-12-kept-feature-flag-details-readable-by-stacking-rollout-contr.md +6 -0
  4. package/corpus/templates/analytics/scripts/preview-dashboard-report.ts +16 -5
  5. package/corpus/templates/analytics/server/lib/workspace-feature-flags.ts +98 -31
  6. package/corpus/templates/content/actions/resolve-content-landing.ts +162 -32
  7. package/corpus/templates/content/shared/content-landing.ts +5 -0
  8. package/corpus/templates/dispatch/changelog/2026-08-12-dispatch-now-appears-in-authorized-workspace-app-directories.md +6 -0
  9. package/corpus/templates/dispatch/server/lib/org-apps-directory.ts +3 -4
  10. package/corpus/templates/dispatch/server/plugins/org-apps-directory.ts +15 -3
  11. package/corpus/templates/slides/actions/patch-deck.ts +12 -3
  12. package/corpus/templates/slides/app/components/editor/EditorActionCluster.tsx +73 -1
  13. package/corpus/templates/slides/app/components/editor/EditorSidebar.tsx +6 -1
  14. package/corpus/templates/slides/app/components/editor/EditorToolbar.tsx +6 -0
  15. package/corpus/templates/slides/app/components/editor/NewDeckReferenceStep.tsx +15 -0
  16. package/corpus/templates/slides/app/context/DeckContext.tsx +19 -31
  17. package/corpus/templates/slides/app/hooks/use-navigation-state.ts +15 -16
  18. package/corpus/templates/slides/app/pages/DeckEditor.tsx +9 -0
  19. package/corpus/templates/slides/changelog/2026-08-13-clicking-a-slide-thumbnail-now-focuses-it-so-the-slide-shortc.md +6 -0
  20. package/corpus/templates/slides/changelog/2026-08-13-duplicating-or-restoring-a-slide-now-keeps-its-transition-ani.md +6 -0
  21. package/corpus/templates/slides/changelog/2026-08-13-opening-presentation-mode-from-the-agent-now-starts-on-the-re.md +6 -0
  22. package/corpus/templates/slides/changelog/2026-08-13-slide-transitions-can-be-set-from-a-visible-control-in-the-sl.md +6 -0
  23. package/dist/a2a/audience.d.ts +2 -0
  24. package/dist/a2a/audience.js +23 -0
  25. package/dist/a2a/client.d.ts +4 -0
  26. package/dist/a2a/client.js +32 -14
  27. package/dist/a2a/server.d.ts +9 -4
  28. package/dist/a2a/server.js +52 -25
  29. package/dist/a2a/types.d.ts +4 -4
  30. package/dist/a2a-claims.d.ts +1 -0
  31. package/dist/a2a-claims.js +3 -1
  32. package/dist/client/feature-flags/FeatureFlagsPanel.js +2 -2
  33. package/dist/collab/awareness.d.ts +2 -2
  34. package/dist/collab/routes.d.ts +1 -1
  35. package/dist/feature-flags/a2a-action-route.js +10 -1
  36. package/dist/feature-flags/actions/set-feature-flag.d.ts +2 -1
  37. package/dist/feature-flags/actions/set-feature-flag.js +9 -2
  38. package/dist/mcp/org-directory.d.ts +3 -0
  39. package/dist/mcp/org-directory.js +15 -5
  40. package/dist/notifications/routes.d.ts +1 -1
  41. package/dist/observability/routes.d.ts +6 -6
  42. package/dist/provider-api/actions/custom-provider-registration.d.ts +2 -2
  43. package/dist/resources/handlers.d.ts +1 -1
  44. package/dist/secrets/routes.d.ts +3 -3
  45. package/dist/server/action-routes.js +10 -2
  46. package/dist/server/agent-capabilities.js +0 -0
  47. package/dist/server/agent-chat/action-filters-a2a.d.ts +14 -13
  48. package/dist/server/agent-chat/action-filters-a2a.js +59 -23
  49. package/dist/server/agent-discovery.d.ts +6 -2
  50. package/dist/server/agent-discovery.js +16 -9
  51. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  52. package/dist/server/identity-sso-store.d.ts +5 -4
  53. package/dist/server/identity-sso-store.js +5 -4
  54. 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` remains a defence-in-depth replay guard for the
11
- * server-to-server assertion. The assertion is never sent through the
12
- * browser; the one-time authorization code is the only browser credential.
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 isJtiReplayed(jti: string | undefined): Promise<boolean>;
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` remains a defence-in-depth replay guard for the
11
- * server-to-server assertion. The assertion is never sent through the
12
- * browser; the one-time authorization code is the only browser credential.
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 isJtiReplayed(jti) {
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.0",
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": {