@agent-native/core 0.186.0 → 0.187.0-nightly-20260923203303

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 (44) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/clips/app/components/library/page-header.tsx +5 -37
  3. package/corpus/templates/clips/app/i18n/en-US.ts +0 -1
  4. package/corpus/templates/mail/AGENTS.md +1 -1
  5. package/corpus/templates/mail/actions/get-ai-priority.ts +26 -9
  6. package/corpus/templates/mail/actions/get-jev-availability.ts +23 -0
  7. package/corpus/templates/mail/actions/navigate.ts +19 -2
  8. package/corpus/templates/mail/app/components/email/EmailList.tsx +13 -4
  9. package/corpus/templates/mail/app/pages/InboxPage.tsx +47 -6
  10. package/corpus/templates/mail/changelog/2026-09-22-jev-powered-mail-rules-and-priority-sort-work-with-an-enable.md +6 -0
  11. package/corpus/templates/mail/changelog/2026-09-23-preserve-priority-sort-on-availability-error.md +6 -0
  12. package/corpus/templates/mail/server/lib/automation-engine.ts +147 -132
  13. package/corpus/templates/mail/server/lib/automation-model.ts +32 -1
  14. package/dist/agent/jev-tool-prefetch.d.ts +27 -3
  15. package/dist/agent/jev-tool-prefetch.js +103 -23
  16. package/dist/agent/production-agent.d.ts +9 -0
  17. package/dist/agent/production-agent.js +55 -23
  18. package/dist/app-config/integrations.d.ts +1 -0
  19. package/dist/app-config/integrations.js +7 -0
  20. package/dist/app-config/schema.d.ts +1 -0
  21. package/dist/automation/index.d.ts +1 -1
  22. package/dist/integrations/a2a-continuation-processor.js +35 -3
  23. package/dist/integrations/a2a-continuations-store.d.ts +2 -0
  24. package/dist/integrations/a2a-continuations-store.js +44 -2
  25. package/dist/integrations/integration-campaign-recovery.js +13 -2
  26. package/dist/integrations/integration-campaigns-store.d.ts +1 -0
  27. package/dist/integrations/integration-campaigns-store.js +18 -0
  28. package/dist/integrations/integration-durable-dispatch-config.js +2 -8
  29. package/dist/integrations/integration-durable-dispatch.d.ts +2 -0
  30. package/dist/integrations/integration-durable-dispatch.js +20 -4
  31. package/dist/integrations/plugin.js +11 -1
  32. package/dist/mcp/screen-memory-stdio.d.ts +7 -7
  33. package/dist/notifications/routes.d.ts +3 -3
  34. package/dist/resources/handlers.d.ts +1 -1
  35. package/dist/secrets/routes.d.ts +6 -6
  36. package/dist/server/agent-chat/prompt-resources.d.ts +1 -0
  37. package/dist/server/agent-chat/prompt-resources.js +5 -1
  38. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  39. package/dist/server/agent-engine-ollama-models-route.d.ts +1 -1
  40. package/dist/server/credential-provider.d.ts +1 -1
  41. package/dist/server/credential-provider.js +4 -3
  42. package/dist/server/index.d.ts +2 -1
  43. package/dist/server/index.js +2 -1
  44. package/package.json +3 -3
@@ -1,3 +1,4 @@
1
+ import { getAppConfig } from "../app-config/index.js";
1
2
  export const INTEGRATION_DURABLE_DISPATCH_ENV = "AGENT_INTEGRATION_DURABLE_DISPATCH";
2
3
  export const INTEGRATION_DURABLE_DISPATCH_SCOPES_ENV = "AGENT_INTEGRATION_DURABLE_DISPATCH_SCOPES";
3
4
  export const INTEGRATION_PROCESS_TASK_PATH = "/_agent-native/integrations/process-task";
@@ -8,12 +9,5 @@ export function isInIntegrationRecoveryRuntime() {
8
9
  return (globalThis[INTEGRATION_RECOVERY_RUNTIME_MARKER] === true);
9
10
  }
10
11
  export function isIntegrationDurableDispatchConfigured() {
11
- const value = process.env.AGENT_INTEGRATION_DURABLE_DISPATCH;
12
- if (!value)
13
- return false;
14
- const normalized = value.trim().toLowerCase();
15
- return (normalized === "1" ||
16
- normalized === "true" ||
17
- normalized === "yes" ||
18
- normalized === "on");
12
+ return getAppConfig().integrations.durableDispatch === true;
19
13
  }
@@ -14,6 +14,8 @@ export interface IntegrationDurableDispatchScope {
14
14
  export declare function integrationDispatchScopeValue(task: IntegrationDispatchTaskScope): string | null;
15
15
  export declare function configuredIntegrationDurableDispatchScopes(): IntegrationDurableDispatchScope[] | null;
16
16
  export declare function isIntegrationDurableDispatchEnabledForTask(task: IntegrationDispatchTaskScope): boolean;
17
+ export declare function isIntegrationDurableDispatchExplicitlyDisabledForTask(task: IntegrationDispatchTaskScope): boolean;
18
+ export declare function integrationDurableDispatchRuntimeUnavailableReasons(): string[];
17
19
  export declare function dispatchPendingIntegrationTask(input: {
18
20
  taskId: string;
19
21
  task: IntegrationDispatchTaskScope;
@@ -1,5 +1,6 @@
1
1
  import { hasConfiguredA2ASecret } from "../a2a/auth-policy.js";
2
2
  import { AGENT_BACKGROUND_PROCESSOR_FIELD, AGENT_BACKGROUND_PROCESSOR_INTEGRATION, dispatchPathTargetsNetlifyBackgroundFunction, resolveDurableBackgroundDispatchPath, } from "../agent/durable-background.js";
3
+ import { getAppConfig } from "../app-config/index.js";
3
4
  import { fireInternalDispatch } from "../server/self-dispatch.js";
4
5
  import { INTEGRATION_DURABLE_DISPATCH_ENV, INTEGRATION_DURABLE_DISPATCH_SCOPES_ENV, INTEGRATION_PROCESS_TASK_PATH, INTEGRATION_RECOVERY_RUNTIME_MARKER, INTEGRATION_RETRY_SWEEP_PATH, INTEGRATION_RETRY_SWEEP_TOKEN_SUBJECT, isInIntegrationRecoveryRuntime, isIntegrationDurableDispatchConfigured, } from "./integration-durable-dispatch-config.js";
5
6
  import { recordPendingTaskDispatchAttempt } from "./pending-tasks-store.js";
@@ -45,15 +46,30 @@ function taskScopeCandidates(task) {
45
46
  export function isIntegrationDurableDispatchEnabledForTask(task) {
46
47
  if (!isIntegrationDurableDispatchConfigured())
47
48
  return false;
48
- const scopes = configuredIntegrationDurableDispatchScopes();
49
- if (scopes &&
50
- !taskScopeCandidates(task).some((candidate) => scopes.some((scope) => `${scope.platform}:${scope.value}` === candidate))) {
49
+ if (isIntegrationDurableDispatchExplicitlyDisabledForTask(task))
51
50
  return false;
52
- }
53
51
  const path = resolveDurableBackgroundDispatchPath(INTEGRATION_PROCESS_TASK_PATH);
54
52
  return (dispatchPathTargetsNetlifyBackgroundFunction(path) &&
55
53
  hasConfiguredA2ASecret());
56
54
  }
55
+ export function isIntegrationDurableDispatchExplicitlyDisabledForTask(task) {
56
+ if (getAppConfig().integrations.durableDispatch === false)
57
+ return true;
58
+ const scopes = configuredIntegrationDurableDispatchScopes();
59
+ return Boolean(scopes &&
60
+ !taskScopeCandidates(task).some((candidate) => scopes.some((scope) => `${scope.platform}:${scope.value}` === candidate)));
61
+ }
62
+ export function integrationDurableDispatchRuntimeUnavailableReasons() {
63
+ const reasons = [];
64
+ if (!isIntegrationDurableDispatchConfigured())
65
+ reasons.push("flag-unavailable");
66
+ if (!dispatchPathTargetsNetlifyBackgroundFunction(resolveDurableBackgroundDispatchPath(INTEGRATION_PROCESS_TASK_PATH))) {
67
+ reasons.push("background-route-unavailable");
68
+ }
69
+ if (!hasConfiguredA2ASecret())
70
+ reasons.push("a2a-secret-unavailable");
71
+ return reasons;
72
+ }
57
73
  async function recordDispatch(taskId, outcome) {
58
74
  try {
59
75
  await recordPendingTaskDispatchAttempt(taskId, outcome);
@@ -36,7 +36,7 @@ import { IntegrationIdentityDeclinedError, resolveDefaultIntegrationExecutionCon
36
36
  import { disconnectIntegrationInstallation, listIntegrationInstallations, resolveIntegrationTokenBundle, updateIntegrationInstallation, upsertIntegrationInstallation, } from "./installations-store.js";
37
37
  import { recoverDueIntegrationCampaigns } from "./integration-campaign-recovery.js";
38
38
  import { claimIntegrationCampaignDeliveryForTask, completeIntegrationCampaignTaskAfterA2A, completeIntegrationCampaignTask, failIntegrationCampaignTaskDeliveryContainment, failDisabledIntegrationCampaignTask, failIntegrationCampaign, refreshIntegrationCampaignTaskA2AReceiptRetry, terminalizeIntegrationCampaignForTask, transitionIntegrationCampaignTaskToA2AReceiptRetry, transitionIntegrationCampaignTaskToDeliveryRetry, waitForA2AIntegrationCampaign, } from "./integration-campaigns-store.js";
39
- import { dispatchPendingIntegrationTask, INTEGRATION_CAMPAIGN_PROCESSOR_FIELD, INTEGRATION_RETRY_SWEEP_TOKEN_SUBJECT, integrationDispatchScopeValue, isInIntegrationRecoveryRuntime, isIntegrationDurableDispatchEnabledForTask, } from "./integration-durable-dispatch.js";
39
+ import { dispatchPendingIntegrationTask, INTEGRATION_CAMPAIGN_PROCESSOR_FIELD, INTEGRATION_RETRY_SWEEP_TOKEN_SUBJECT, integrationDispatchScopeValue, isInIntegrationRecoveryRuntime, isIntegrationDurableDispatchEnabledForTask, isIntegrationDurableDispatchExplicitlyDisabledForTask, } from "./integration-durable-dispatch.js";
40
40
  import { forgetIntegrationMemory, integrationMemoryActions, listIntegrationMemory, rememberForIntegrationScope, } from "./integration-memory.js";
41
41
  import { extractBearerToken, verifyInternalToken } from "./internal-token.js";
42
42
  import { retryStuckPendingTasks, startPendingTasksRetryJob, } from "./pending-tasks-retry-job.js";
@@ -1576,6 +1576,16 @@ export function createIntegrationsPlugin(options) {
1576
1576
  if (campaignContinuation &&
1577
1577
  !durableCampaignEnabled &&
1578
1578
  !confirmedDeliveryProof) {
1579
+ if (!isIntegrationDurableDispatchExplicitlyDisabledForTask({
1580
+ platform: task.platform,
1581
+ externalThreadId: task.externalThreadId,
1582
+ platformContext: task.dispatchScope
1583
+ ? { channelId: task.dispatchScope }
1584
+ : undefined,
1585
+ })) {
1586
+ setResponseStatus(event, 202);
1587
+ return { ok: true, paused: "durable-runtime-unavailable" };
1588
+ }
1579
1589
  await failDisabledIntegrationCampaignTask(task.id);
1580
1590
  const nextTask = await getNextPendingTaskForThread(task.platform, task.externalThreadId);
1581
1591
  if (nextTask) {
@@ -137,13 +137,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
137
137
  inputSchema: {
138
138
  type: string;
139
139
  properties: {
140
- count?: undefined;
141
140
  query?: undefined;
142
141
  minutes?: undefined;
143
142
  limit?: undefined;
144
143
  clientHint?: undefined;
145
144
  timestamp?: undefined;
146
145
  chapterId?: undefined;
146
+ count?: undefined;
147
147
  startAt?: undefined;
148
148
  endAt?: undefined;
149
149
  reason?: undefined;
@@ -159,7 +159,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
159
159
  inputSchema: {
160
160
  type: string;
161
161
  properties: {
162
- count?: undefined;
163
162
  query: {
164
163
  type: string;
165
164
  description: string;
@@ -175,6 +174,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
175
174
  clientHint?: undefined;
176
175
  timestamp?: undefined;
177
176
  chapterId?: undefined;
177
+ count?: undefined;
178
178
  startAt?: undefined;
179
179
  endAt?: undefined;
180
180
  reason?: undefined;
@@ -190,7 +190,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
190
190
  inputSchema: {
191
191
  type: string;
192
192
  properties: {
193
- count?: undefined;
194
193
  minutes: {
195
194
  type: string;
196
195
  description: string;
@@ -200,6 +199,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
200
199
  clientHint?: undefined;
201
200
  timestamp?: undefined;
202
201
  chapterId?: undefined;
202
+ count?: undefined;
203
203
  startAt?: undefined;
204
204
  endAt?: undefined;
205
205
  reason?: undefined;
@@ -216,7 +216,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
216
216
  type: string;
217
217
  required: string[];
218
218
  properties: {
219
- count?: undefined;
220
219
  query: {
221
220
  type: string;
222
221
  description: string;
@@ -235,6 +234,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
235
234
  };
236
235
  timestamp?: undefined;
237
236
  chapterId?: undefined;
237
+ count?: undefined;
238
238
  startAt?: undefined;
239
239
  endAt?: undefined;
240
240
  reason?: undefined;
@@ -250,7 +250,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
250
250
  type: string;
251
251
  required: string[];
252
252
  properties: {
253
- count?: undefined;
254
253
  query?: undefined;
255
254
  minutes?: undefined;
256
255
  limit?: undefined;
@@ -264,6 +263,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
264
263
  description: string;
265
264
  };
266
265
  chapterId?: undefined;
266
+ count?: undefined;
267
267
  startAt?: undefined;
268
268
  endAt?: undefined;
269
269
  includeMicrophone?: undefined;
@@ -314,13 +314,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
314
314
  type: string;
315
315
  required: string[];
316
316
  properties: {
317
- count?: undefined;
318
317
  query?: undefined;
319
318
  minutes?: undefined;
320
319
  limit?: undefined;
321
320
  clientHint?: undefined;
322
321
  timestamp?: undefined;
323
322
  chapterId?: undefined;
323
+ count?: undefined;
324
324
  startAt: {
325
325
  type: string;
326
326
  description: string;
@@ -349,13 +349,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
349
349
  type: string;
350
350
  required: string[];
351
351
  properties: {
352
- count?: undefined;
353
352
  query?: undefined;
354
353
  minutes?: undefined;
355
354
  limit?: undefined;
356
355
  clientHint?: undefined;
357
356
  timestamp?: undefined;
358
357
  chapterId?: undefined;
358
+ count?: undefined;
359
359
  startAt?: undefined;
360
360
  endAt?: undefined;
361
361
  reason?: undefined;
@@ -16,18 +16,18 @@ export declare function createNotificationsHandler(): import("h3").EventHandlerW
16
16
  error?: undefined;
17
17
  ok?: undefined;
18
18
  } | {
19
- count?: undefined;
20
19
  updated: number;
21
20
  error?: undefined;
22
21
  ok?: undefined;
23
- } | {
24
22
  count?: undefined;
23
+ } | {
25
24
  updated?: undefined;
26
25
  error: string;
27
26
  ok?: undefined;
28
- } | {
29
27
  count?: undefined;
28
+ } | {
30
29
  updated?: undefined;
31
30
  error?: undefined;
32
31
  ok: boolean;
32
+ count?: undefined;
33
33
  }>>;
@@ -48,8 +48,8 @@ export declare function handleUpdateResource(event: any): Promise<import("./stor
48
48
  }>;
49
49
  /** DELETE /_agent-native/resources/:id — delete a resource */
50
50
  export declare function handleDeleteResource(event: any): Promise<{
51
- ok?: undefined;
52
51
  error: string;
52
+ ok?: undefined;
53
53
  } | {
54
54
  error?: undefined;
55
55
  ok: boolean;
@@ -60,17 +60,17 @@ export declare function createWriteSecretHandler(): import("h3").EventHandlerWit
60
60
  ok?: undefined;
61
61
  status?: undefined;
62
62
  } | {
63
+ error?: undefined;
63
64
  ok: boolean;
64
65
  status: string;
65
- error?: undefined;
66
66
  } | {
67
67
  ok?: undefined;
68
68
  error: string;
69
69
  removed?: undefined;
70
70
  } | {
71
+ error?: undefined;
71
72
  ok: boolean;
72
73
  removed: boolean;
73
- error?: undefined;
74
74
  }>>;
75
75
  /**
76
76
  * POST /_agent-native/secrets/:key/test — validate an optional candidate value
@@ -81,13 +81,13 @@ export declare function createTestSecretHandler(): import("h3").EventHandlerWith
81
81
  error: string;
82
82
  note?: undefined;
83
83
  } | {
84
+ error?: undefined;
84
85
  ok: boolean;
85
86
  note?: undefined;
86
- error?: undefined;
87
87
  } | {
88
+ error?: undefined;
88
89
  ok: boolean;
89
90
  note: string;
90
- error?: undefined;
91
91
  } | {
92
92
  note?: undefined;
93
93
  ok: boolean;
@@ -119,11 +119,11 @@ export interface AdHocSecretPayload {
119
119
  export declare function createAdHocSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<AdHocSecretPayload[] | {
120
120
  error: string;
121
121
  } | {
122
+ error?: undefined;
122
123
  ok: boolean;
123
124
  key: string;
124
- error?: undefined;
125
125
  } | {
126
+ error?: undefined;
126
127
  ok: boolean;
127
128
  removed: boolean;
128
- error?: undefined;
129
129
  }>>;
@@ -83,6 +83,7 @@ export declare function resourceScopeForOwner(owner: string, currentOwner?: stri
83
83
  export declare function preloadJevContextForPrompt(options: {
84
84
  request: string;
85
85
  apiKey?: string;
86
+ personalApiKey?: string;
86
87
  builderAuth?: BuilderGatewayAuth | null;
87
88
  compact?: boolean;
88
89
  maxChars?: number;
@@ -641,13 +641,17 @@ async function collectJevPromptCandidates() {
641
641
  export async function preloadJevContextForPrompt(options) {
642
642
  const request = options.request.trim();
643
643
  const apiKey = options.apiKey?.trim();
644
- if (!request || (!apiKey && !options.builderAuth) || options.maxChars === 0) {
644
+ const personalApiKey = options.personalApiKey?.trim();
645
+ if (!request ||
646
+ (!apiKey && !personalApiKey && !options.builderAuth) ||
647
+ options.maxChars === 0) {
645
648
  return "";
646
649
  }
647
650
  const candidates = await collectJevPromptCandidates();
648
651
  const selectedIds = await rankJevCandidates({
649
652
  request,
650
653
  apiKey,
654
+ personalApiKey,
651
655
  builderAuth: options.builderAuth,
652
656
  candidates,
653
657
  candidateStateKey: "candidate_context",
@@ -56,10 +56,10 @@ export declare function createAgentEngineApiKeyHandler(): import("h3").EventHand
56
56
  ok: boolean;
57
57
  error: string;
58
58
  } | {
59
- error?: undefined;
60
59
  ok: boolean;
61
60
  key: string;
62
61
  baseUrlKey?: string;
63
62
  scope: AgentEngineApiKeyScope;
63
+ error?: undefined;
64
64
  }>>;
65
65
  export {};
@@ -9,7 +9,7 @@ export declare function createAgentEngineOllamaModelsHandler(): import("h3").Eve
9
9
  error: string;
10
10
  models?: undefined;
11
11
  } | {
12
+ error?: undefined;
12
13
  ok: boolean;
13
14
  models: string[];
14
- error?: undefined;
15
15
  }>>;
@@ -281,7 +281,7 @@ export declare function resolveHasBuilderGatewayCredential(): Promise<boolean>;
281
281
  * needs reconnect) reports "not configured" rather than falling through to a
282
282
  * key-based credential that could belong to a different Builder identity.
283
283
  */
284
- export declare function resolveBuilderGatewayAuth(): Promise<BuilderGatewayAuth | null>;
284
+ export declare function resolveBuilderGatewayAuth(identity?: BuilderCredentialLookupIdentity): Promise<BuilderGatewayAuth | null>;
285
285
  /**
286
286
  * Stale markers expire so a rejected model or a transient gateway failure
287
287
  * cannot pin a signed-in user to "Builder not connected" forever. Only a
@@ -869,9 +869,10 @@ export async function resolveHasBuilderGatewayCredential() {
869
869
  * needs reconnect) reports "not configured" rather than falling through to a
870
870
  * key-based credential that could belong to a different Builder identity.
871
871
  */
872
- export async function resolveBuilderGatewayAuth() {
873
- const ownerEmail = getRequestUserEmail();
874
- const orgId = getRequestOrgId() ?? null;
872
+ export async function resolveBuilderGatewayAuth(identity) {
873
+ const ownerEmail = identity?.userEmail?.trim() || getRequestUserEmail();
874
+ // undefined resolves the owner's org; null deliberately pins the lookup to Personal.
875
+ const orgId = identity === undefined ? (getRequestOrgId() ?? null) : identity.orgId;
875
876
  if (ownerEmail && (await hasBuilderOAuthSession(ownerEmail, orgId))) {
876
877
  try {
877
878
  const session = await getBuilderOAuthSession(ownerEmail, orgId, BUILDER_OAUTH_SCOPE);
@@ -19,7 +19,8 @@ export { verifyCaptcha, type CaptchaVerifyResult } from "./captcha.js";
19
19
  export { getLocaleInitScript, parseAcceptLanguage, resolveLocaleFromRequest, type LocaleInitScriptOptions, type ResolveLocaleFromRequestOptions, type ResolvedRequestLocale, } from "../localization/server.js";
20
20
  export { createProductionAgentHandler, type ActionEntry, type ScriptEntry, type ProductionAgentOptions, type AgentActionSurface, type DefaultAgentActionSurface, type AgentActionSurfaceResolution, type AgentActionSurfaceDetails, type ActionTool, type ScriptTool, type AgentMessage, type AgentChatRequest, type AgentChatEvent, type AgentChatAttachment, type AgentChatReference, type MentionProvider, type MentionItemMedia, type MentionProviderItem, type AgentLoopFinalResponseGuard, type AgentLoopFinalResponseGuardContext, type AgentLoopFinalResponseGuardResult, type AgentLoopToolCallSummary, type AgentLoopToolResultSummary, } from "../agent/index.js";
21
21
  export type { AgentActionScope } from "../agent/types.js";
22
- export { actionsToEngineTools, executeAgentToolCall, getOwnerActiveApiKey, getOwnerApiKeyForEngine, resolveOwnerEngineApiKey, runAgentLoop, type AgentToolCallExecutionResult, type ExecuteAgentToolCallOptions, type ResolvedOwnerApiKey, } from "../agent/production-agent.js";
22
+ export { actionsToEngineTools, executeAgentToolCall, getJevContextCredentials, getOwnerActiveApiKey, getOwnerApiKeyForEngine, resolveOwnerEngineApiKey, runAgentLoop, type AgentToolCallExecutionResult, type ExecuteAgentToolCallOptions, type JevContextCredentials, type ResolvedOwnerApiKey, } from "../agent/production-agent.js";
23
+ export { isJevEnabled, requestJevThroughBuilder, type JevResponse, } from "../agent/jev-tool-prefetch.js";
23
24
  export { getRunStatus, getRunTurnRef } from "../agent/run-store.js";
24
25
  export { getActiveRunForThreadAsync } from "../agent/run-manager.js";
25
26
  export { mountRealtimeVoiceRoutes, realtimeVoiceSafetyIdentifier, REALTIME_VOICE_MAX_SDP_BYTES, REALTIME_VOICE_MAX_TOOL_BODY_BYTES, REALTIME_VOICE_MAX_TOOL_OUTPUT_CHARS, REALTIME_VOICE_SESSION_PATH, REALTIME_VOICE_TOOL_PATH, type MountRealtimeVoiceRoutesOptions, type RealtimeVoiceRequestContext, type RealtimeVoiceToolExecutionRequest, type RealtimeVoiceToolExecutionResult, } from "./realtime-voice.js";
@@ -18,7 +18,8 @@ export { assertCurrentRequestUserIsOrgAdmin, currentRequestUserIsOrgAdmin, } fro
18
18
  export { verifyCaptcha } from "./captcha.js";
19
19
  export { getLocaleInitScript, parseAcceptLanguage, resolveLocaleFromRequest, } from "../localization/server.js";
20
20
  export { createProductionAgentHandler, } from "../agent/index.js";
21
- export { actionsToEngineTools, executeAgentToolCall, getOwnerActiveApiKey, getOwnerApiKeyForEngine, resolveOwnerEngineApiKey, runAgentLoop, } from "../agent/production-agent.js";
21
+ export { actionsToEngineTools, executeAgentToolCall, getJevContextCredentials, getOwnerActiveApiKey, getOwnerApiKeyForEngine, resolveOwnerEngineApiKey, runAgentLoop, } from "../agent/production-agent.js";
22
+ export { isJevEnabled, requestJevThroughBuilder, } from "../agent/jev-tool-prefetch.js";
22
23
  export { getRunStatus, getRunTurnRef } from "../agent/run-store.js";
23
24
  export { getActiveRunForThreadAsync } from "../agent/run-manager.js";
24
25
  export { mountRealtimeVoiceRoutes, realtimeVoiceSafetyIdentifier, REALTIME_VOICE_MAX_SDP_BYTES, REALTIME_VOICE_MAX_TOOL_BODY_BYTES, REALTIME_VOICE_MAX_TOOL_OUTPUT_CHARS, REALTIME_VOICE_SESSION_PATH, REALTIME_VOICE_TOOL_PATH, } from "./realtime-voice.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.186.0",
3
+ "version": "0.187.0-nightly-20260923203303",
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": {
@@ -498,8 +498,8 @@
498
498
  "yjs": "^13.6.32",
499
499
  "zod": "^4.3.6",
500
500
  "@agent-native/agentkit": "^0.2.8",
501
- "@agent-native/recap-cli": "0.5.38",
502
- "@agent-native/toolkit": "^0.20.8"
501
+ "@agent-native/toolkit": "^0.20.8",
502
+ "@agent-native/recap-cli": "0.5.38"
503
503
  },
504
504
  "devDependencies": {
505
505
  "@ai-sdk/anthropic": "^3.0.71",