@agent-native/core 0.114.7 → 0.114.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.114.7",
3
+ "version": "0.114.8",
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": {
@@ -381,7 +381,7 @@
381
381
  "yjs": "^13.6.31",
382
382
  "zod": "^4.3.6",
383
383
  "@agent-native/recap-cli": "0.4.5",
384
- "@agent-native/toolkit": "^0.8.1"
384
+ "@agent-native/toolkit": "^0.8.2"
385
385
  },
386
386
  "devDependencies": {
387
387
  "@ai-sdk/anthropic": "^3.0.71",
@@ -332,6 +332,19 @@ export { loadRunCodeToolEntries };
332
332
  export { shouldDisableRecurringJobsRuntime };
333
333
  export { finalizeClaimedAgentChatProcessRunFailure };
334
334
 
335
+ export function resolveInteractiveAgentRunOptions(
336
+ options?: Pick<
337
+ AgentChatPluginOptions,
338
+ "runSoftTimeoutMs" | "runNoProgressTimeoutMs" | "durableBackgroundRuns"
339
+ >,
340
+ ) {
341
+ return {
342
+ runSoftTimeoutMs: options?.runSoftTimeoutMs,
343
+ runNoProgressTimeoutMs: options?.runNoProgressTimeoutMs,
344
+ durableBackgroundRuns: options?.durableBackgroundRuns,
345
+ };
346
+ }
347
+
335
348
  export function createSerializedA2ATaskStatusWriter(
336
349
  taskId: string,
337
350
  writeStatus: (
@@ -2909,9 +2922,7 @@ Non-code requests are still fine on this surface: read data, navigate the UI, su
2909
2922
  model: options?.model,
2910
2923
  appId: options?.appId,
2911
2924
  apiKey: options?.apiKey,
2912
- runSoftTimeoutMs: options?.runSoftTimeoutMs,
2913
- runNoProgressTimeoutMs: options?.runNoProgressTimeoutMs,
2914
- durableBackgroundRuns: options?.durableBackgroundRuns,
2925
+ ...resolveInteractiveAgentRunOptions(options),
2915
2926
  finalResponseGuard: options?.finalResponseGuard,
2916
2927
  prepareRequest: async (details) => {
2917
2928
  if (details.threadId && details.ownerEmail) {
@@ -3017,9 +3028,7 @@ Non-code requests are still fine on this surface: read data, navigate the UI, su
3017
3028
  model: options?.model,
3018
3029
  appId: options?.appId,
3019
3030
  apiKey: options?.apiKey,
3020
- runSoftTimeoutMs: options?.runSoftTimeoutMs,
3021
- runNoProgressTimeoutMs: options?.runNoProgressTimeoutMs,
3022
- durableBackgroundRuns: options?.durableBackgroundRuns,
3031
+ ...resolveInteractiveAgentRunOptions(options),
3023
3032
  finalResponseGuard: options?.finalResponseGuard,
3024
3033
  prepareRequest: options?.prepareRequest,
3025
3034
  skipFilesContext: true,
@@ -3176,9 +3185,7 @@ Non-code requests are still fine on this surface: read data, navigate the UI, su
3176
3185
  model: options?.model,
3177
3186
  appId: options?.appId,
3178
3187
  apiKey: options?.apiKey,
3179
- runSoftTimeoutMs: options?.runSoftTimeoutMs,
3180
- runNoProgressTimeoutMs: options?.runNoProgressTimeoutMs,
3181
- durableBackgroundRuns: options?.durableBackgroundRuns,
3188
+ ...resolveInteractiveAgentRunOptions(options),
3182
3189
  finalResponseGuard: options?.finalResponseGuard,
3183
3190
  prepareRequest: async (details) => {
3184
3191
  if (details.threadId && details.ownerEmail) {