@agent-native/core 0.159.2 → 0.159.5

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 (58) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/clips/.agents/skills/meetings/SKILL.md +11 -6
  3. package/corpus/templates/clips/AGENTS.md +1 -0
  4. package/corpus/templates/clips/actions/lib/meeting-content.ts +15 -4
  5. package/corpus/templates/clips/actions/list-meetings.ts +179 -42
  6. package/corpus/templates/clips/actions/search-meetings.ts +277 -0
  7. package/corpus/templates/clips/app/components/meetings/agenda-card.tsx +273 -0
  8. package/corpus/templates/clips/app/components/meetings/day-grouped-card.tsx +113 -0
  9. package/corpus/templates/clips/app/components/meetings/meeting-history-row.tsx +117 -0
  10. package/corpus/templates/clips/app/hooks/use-navigation-state.ts +12 -2
  11. package/corpus/templates/clips/app/i18n/en-US.ts +7 -2
  12. package/corpus/templates/clips/app/routes/_app.meetings._index.tsx +263 -357
  13. package/corpus/templates/clips/changelog/2026-08-14-meetings-history-is-searchable-again.md +6 -0
  14. package/corpus/templates/clips/desktop/design-refs/granola-ux.md +17 -0
  15. package/corpus/templates/content/actions/_database-source-utils.ts +29 -2
  16. package/corpus/templates/content/app/components/editor/SlashCommandMenu.tsx +11 -11
  17. package/corpus/templates/content/app/components/editor/VisualEditor.tsx +11 -50
  18. package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +57 -20
  19. package/corpus/templates/content/app/components/editor/database-sources/BuilderSourceReviewDialog.tsx +30 -0
  20. package/corpus/templates/content/app/components/editor/extensions/NotionExtensions.tsx +204 -51
  21. package/corpus/templates/content/app/global.css +4 -1
  22. package/corpus/templates/content/app/i18n-data.ts +30 -0
  23. package/corpus/templates/content/changelog/2026-08-12-toggle-blocks-now-follow-notion-style-enter-and-shift-tab-be.md +6 -0
  24. package/corpus/templates/content/docs/solutions/2026-08-12-toggle-summary-focus-persistence-shape.md +733 -0
  25. package/corpus/templates/content/shared/builder-mdx.ts +44 -4
  26. package/corpus/templates/slides/actions/get-layout-overflows.ts +65 -2
  27. package/dist/client/chat-first/app-pane.js +1 -1
  28. package/dist/client/chat-first/copy.js +1 -0
  29. package/dist/collab/awareness.d.ts +2 -2
  30. package/dist/collab/struct-routes.d.ts +1 -1
  31. package/dist/deploy/build.d.ts +6 -4
  32. package/dist/deploy/build.js +27 -11
  33. package/dist/feature-flags/index.d.ts +0 -2
  34. package/dist/feature-flags/index.js +3 -2
  35. package/dist/feature-flags/server.d.ts +2 -0
  36. package/dist/feature-flags/server.js +2 -0
  37. package/dist/file-upload/actions/upload-image.d.ts +1 -1
  38. package/dist/index.d.ts +2 -1
  39. package/dist/index.js +2 -1
  40. package/dist/mcp/screen-memory-stdio.d.ts +7 -7
  41. package/dist/notifications/routes.d.ts +6 -6
  42. package/dist/observability/routes.d.ts +5 -5
  43. package/dist/progress/routes.d.ts +1 -1
  44. package/dist/provider-api/actions/custom-provider-registration.d.ts +2 -2
  45. package/dist/secrets/routes.d.ts +9 -9
  46. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  47. package/dist/server/auth.js +10 -0
  48. package/dist/server/index.d.ts +1 -1
  49. package/dist/server/index.js +1 -1
  50. package/dist/server/onboarding-html.js +16 -257
  51. package/dist/shared/auth-copy.d.ts +34 -0
  52. package/dist/shared/auth-copy.js +293 -0
  53. package/dist/shared/index.d.ts +1 -0
  54. package/dist/shared/index.js +1 -0
  55. package/docs/content/actions-advanced.mdx +1 -1
  56. package/docs/content/portal.mdx +21 -8
  57. package/package.json +4 -2
  58. package/corpus/templates/clips/app/components/meetings/meeting-card.tsx +0 -333
@@ -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 {};
@@ -1981,6 +1981,16 @@ function createAuthGuardFn(app) {
1981
1981
  p === `${MCP_PUBLIC_ROUTE_PREFIX}/oauth/register`) {
1982
1982
  return;
1983
1983
  }
1984
+ // Remote hosts authenticate these relay calls with their device token,
1985
+ // not a browser session. Keep this list exact: sibling remote routes such
1986
+ // as register, enqueue, and computer controls are session-authenticated.
1987
+ if (p === "/_agent-native/integrations/remote/unregister" ||
1988
+ p === "/_agent-native/integrations/remote/heartbeat" ||
1989
+ p === "/_agent-native/integrations/remote/poll" ||
1990
+ p === "/_agent-native/integrations/remote/result" ||
1991
+ p === "/_agent-native/integrations/remote/run-events") {
1992
+ return;
1993
+ }
1984
1994
  // Cross-app SSO ("Sign in with Agent-Native") — CLIENT side. Both the
1985
1995
  // `/login` entry point and the `/callback` (hit by a user who is, by
1986
1996
  // definition, NOT yet signed in to THIS app) must bypass the blanket
@@ -30,7 +30,7 @@ export { initServerSentry, isServerSentryEnabled, setSentryUserForRequest, captu
30
30
  export { captureError, captureServerError, registerErrorCaptureProvider, type CaptureErrorContext, type CaptureErrorProvider, } from "./capture-error.js";
31
31
  export { createSentryPlugin, defaultSentryPlugin } from "./sentry-plugin.js";
32
32
  export { createOrgPlugin, defaultOrgPlugin } from "../org/plugin.js";
33
- export { createFeatureFlagsPlugin } from "../feature-flags/plugin.js";
33
+ export { createFeatureFlagA2AActionRouteAuth, createFeatureFlagsPlugin, } from "../feature-flags/server.js";
34
34
  export { createContextXrayPlugin, defaultContextXrayPlugin, } from "../agent/context-xray/plugin.js";
35
35
  export { createObservationalMemoryPlugin, defaultObservationalMemoryPlugin, } from "../agent/observational-memory/plugin.js";
36
36
  export { createGoogleAuthPlugin, type GoogleAuthPluginOptions, } from "./google-auth-plugin.js";
@@ -33,7 +33,7 @@ export { createSentryPlugin, defaultSentryPlugin } from "./sentry-plugin.js";
33
33
  // (which references "defaultOrgPlugin" from @agent-native/core/server) can
34
34
  // resolve it during the deploy build worker-entry generation.
35
35
  export { createOrgPlugin, defaultOrgPlugin } from "../org/plugin.js";
36
- export { createFeatureFlagsPlugin } from "../feature-flags/plugin.js";
36
+ export { createFeatureFlagA2AActionRouteAuth, createFeatureFlagsPlugin, } from "../feature-flags/server.js";
37
37
  export { createContextXrayPlugin, defaultContextXrayPlugin, } from "../agent/context-xray/plugin.js";
38
38
  export { createObservationalMemoryPlugin, defaultObservationalMemoryPlugin, } from "../agent/observational-memory/plugin.js";
39
39
  export { createGoogleAuthPlugin, } from "./google-auth-plugin.js";