@agent-native/core 0.196.0-nightly-20260928165326 → 0.196.0
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.md +17 -0
- package/corpus/templates/assets/CHANGELOG.md +18 -0
- package/corpus/templates/brain/CHANGELOG.md +6 -0
- package/corpus/templates/calendar/CHANGELOG.md +4 -0
- package/corpus/templates/clips/CHANGELOG.md +19 -0
- package/corpus/templates/clips/actions/create-recording-agent-link.ts +8 -2
- package/corpus/templates/clips/actions/update-recording.ts +5 -1
- package/corpus/templates/clips/app/routes/share.$shareId.tsx +10 -3
- package/corpus/templates/clips/changelog/2026-09-28-agent-links-stay-valid-when-clip-details-change.md +6 -0
- package/corpus/templates/clips/changelog/2026-09-28-password-changes-immediately-invalidate-old-recording-links.md +6 -0
- package/corpus/templates/clips/changelog/2026-09-28-password-protected-recording-links-stop-working-when-the-pas.md +6 -0
- package/corpus/templates/clips/server/db/schema.ts +3 -0
- package/corpus/templates/clips/server/lib/player-video-url.ts +9 -1
- package/corpus/templates/clips/server/lib/public-agent-context.ts +12 -4
- package/corpus/templates/clips/server/lib/share-password.ts +25 -0
- package/corpus/templates/clips/server/plugins/db.ts +36 -0
- package/corpus/templates/clips/server/routes/[...page].get.ts +8 -1
- package/corpus/templates/clips/server/routes/api/public-recording.get.ts +33 -6
- package/corpus/templates/clips/server/routes/api/thumbnail/[recordingId].get.ts +34 -6
- package/corpus/templates/clips/server/routes/api/video/[recordingId].get.ts +26 -5
- package/corpus/templates/content/CHANGELOG.md +1 -0
- package/corpus/templates/crm/CHANGELOG.md +12 -0
- package/corpus/templates/design/.generated/bridge/editor-chrome.generated.ts +265 -3
- package/corpus/templates/design/CHANGELOG.md +21 -0
- package/corpus/templates/design/app/components/design/bridge/editor-chrome.bridge.ts +463 -6
- package/corpus/templates/design/app/pages/Index.tsx +1 -1
- package/corpus/templates/design/changelog/2026-09-27-auto-focused-app-fields-no-longer-interrupt-canvas-shortcuts.md +6 -0
- package/corpus/templates/design/changelog/2026-09-28-model-picker-loads-available-models.md +6 -0
- package/corpus/templates/design/changelog/2026-09-28-template-menus-stay-available-on-hover.md +6 -0
- package/corpus/templates/dispatch/CHANGELOG.md +18 -0
- package/corpus/templates/forms/CHANGELOG.md +6 -0
- package/corpus/templates/mail/.env.example +1 -1
- package/corpus/templates/mail/CHANGELOG.md +33 -0
- package/corpus/templates/mail/changelog/2026-09-28-fixed-inbox-loading-stalls-and-showed-progress-during-google-2.md +6 -0
- package/corpus/templates/mail/changelog/2026-09-28-fixed-inbox-loading-stalls-and-showed-progress-during-google.md +6 -0
- package/corpus/templates/mail/server/db/schema.ts +7 -0
- package/corpus/templates/mail/server/lib/ai-filter-backfill.ts +4 -0
- package/corpus/templates/mail/server/lib/jobs.ts +5 -2
- package/corpus/templates/mail/server/plugins/db.ts +16 -0
- package/corpus/templates/mail/server/plugins/mail-jobs.ts +355 -44
- package/corpus/templates/slides/CHANGELOG.md +28 -0
- package/corpus/templates/slides/app/pages/Index.tsx +1 -1
- package/corpus/templates/slides/changelog/2026-09-28-model-picker-loads-available-models.md +6 -0
- package/corpus/templates/slides/changelog/2026-09-28-template-menus-stay-available-on-hover.md +6 -0
- package/dist/client/auth/AuthPage.js +3 -2
- package/dist/client/org/OrgSwitcher.js +37 -25
- package/dist/client/settings/UsageSection.js +3 -3
- package/dist/client/use-action.js +1 -1
- package/dist/collab/awareness.d.ts +2 -2
- package/dist/collab/routes.d.ts +1 -1
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/jobs/background-automation-runner.d.ts +2 -0
- package/dist/jobs/background-automation-runner.js +20 -1
- package/dist/jobs/sweep-hooks.d.ts +6 -2
- package/dist/jobs/sweep-hooks.js +17 -9
- package/dist/localization/core-messages/ar-SA.js +2 -2
- package/dist/localization/core-messages/de-DE.js +2 -2
- package/dist/localization/core-messages/en-US.d.ts +2 -2
- package/dist/localization/core-messages/en-US.js +2 -2
- package/dist/localization/core-messages/es-ES.js +2 -2
- package/dist/localization/core-messages/fr-FR.js +2 -2
- package/dist/localization/core-messages/hi-IN.js +2 -2
- package/dist/localization/core-messages/ja-JP.js +2 -2
- package/dist/localization/core-messages/ko-KR.js +2 -2
- package/dist/localization/core-messages/pt-BR.js +2 -2
- package/dist/localization/core-messages/zh-CN.js +2 -2
- package/dist/localization/core-messages/zh-TW.js +2 -2
- package/dist/localization/core-messages.d.ts +2 -2
- package/dist/mcp/screen-memory-stdio.d.ts +7 -7
- package/dist/notifications/routes.d.ts +1 -1
- package/dist/observability/routes.d.ts +6 -6
- package/dist/org/handlers.d.ts +1 -1
- package/dist/provider-api/actions/custom-provider-registration.d.ts +11 -11
- package/dist/provider-api/actions/provider-api.d.ts +7 -7
- package/dist/resources/handlers.d.ts +1 -1
- package/dist/secrets/routes.d.ts +4 -4
- package/dist/server/agent-chat-plugin.js +6 -2
- package/dist/server/agent-engine-api-key-route.d.ts +1 -1
- package/dist/server/agent-engine-ollama-models-route.d.ts +2 -2
- package/dist/server/index.d.ts +1 -1
- package/dist/server/realtime-token.d.ts +1 -1
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/dist/triggers/dispatcher.js +167 -36
- package/dist/triggers/event-queue.d.ts +18 -1
- package/dist/triggers/event-queue.js +143 -10
- package/package.json +4 -4
|
@@ -134,13 +134,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
134
134
|
inputSchema: {
|
|
135
135
|
type: string;
|
|
136
136
|
properties: {
|
|
137
|
-
count?: undefined;
|
|
138
137
|
query?: undefined;
|
|
139
138
|
minutes?: undefined;
|
|
140
139
|
limit?: undefined;
|
|
141
140
|
clientHint?: undefined;
|
|
142
141
|
timestamp?: undefined;
|
|
143
142
|
chapterId?: undefined;
|
|
143
|
+
count?: undefined;
|
|
144
144
|
startAt?: undefined;
|
|
145
145
|
endAt?: undefined;
|
|
146
146
|
reason?: undefined;
|
|
@@ -156,7 +156,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
156
156
|
inputSchema: {
|
|
157
157
|
type: string;
|
|
158
158
|
properties: {
|
|
159
|
-
count?: undefined;
|
|
160
159
|
query: {
|
|
161
160
|
type: string;
|
|
162
161
|
description: string;
|
|
@@ -172,6 +171,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
172
171
|
clientHint?: undefined;
|
|
173
172
|
timestamp?: undefined;
|
|
174
173
|
chapterId?: undefined;
|
|
174
|
+
count?: undefined;
|
|
175
175
|
startAt?: undefined;
|
|
176
176
|
endAt?: undefined;
|
|
177
177
|
reason?: undefined;
|
|
@@ -187,7 +187,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
187
187
|
inputSchema: {
|
|
188
188
|
type: string;
|
|
189
189
|
properties: {
|
|
190
|
-
count?: undefined;
|
|
191
190
|
minutes: {
|
|
192
191
|
type: string;
|
|
193
192
|
description: string;
|
|
@@ -197,6 +196,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
197
196
|
clientHint?: undefined;
|
|
198
197
|
timestamp?: undefined;
|
|
199
198
|
chapterId?: undefined;
|
|
199
|
+
count?: undefined;
|
|
200
200
|
startAt?: undefined;
|
|
201
201
|
endAt?: undefined;
|
|
202
202
|
reason?: undefined;
|
|
@@ -213,7 +213,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
213
213
|
type: string;
|
|
214
214
|
required: string[];
|
|
215
215
|
properties: {
|
|
216
|
-
count?: undefined;
|
|
217
216
|
query: {
|
|
218
217
|
type: string;
|
|
219
218
|
description: string;
|
|
@@ -232,6 +231,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
232
231
|
};
|
|
233
232
|
timestamp?: undefined;
|
|
234
233
|
chapterId?: undefined;
|
|
234
|
+
count?: undefined;
|
|
235
235
|
startAt?: undefined;
|
|
236
236
|
endAt?: undefined;
|
|
237
237
|
reason?: undefined;
|
|
@@ -247,7 +247,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
247
247
|
type: string;
|
|
248
248
|
required: string[];
|
|
249
249
|
properties: {
|
|
250
|
-
count?: undefined;
|
|
251
250
|
query?: undefined;
|
|
252
251
|
minutes?: undefined;
|
|
253
252
|
limit?: undefined;
|
|
@@ -261,6 +260,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
261
260
|
description: string;
|
|
262
261
|
};
|
|
263
262
|
chapterId?: undefined;
|
|
263
|
+
count?: undefined;
|
|
264
264
|
startAt?: undefined;
|
|
265
265
|
endAt?: undefined;
|
|
266
266
|
includeMicrophone?: undefined;
|
|
@@ -311,13 +311,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
311
311
|
type: string;
|
|
312
312
|
required: string[];
|
|
313
313
|
properties: {
|
|
314
|
-
count?: undefined;
|
|
315
314
|
query?: undefined;
|
|
316
315
|
minutes?: undefined;
|
|
317
316
|
limit?: undefined;
|
|
318
317
|
clientHint?: undefined;
|
|
319
318
|
timestamp?: undefined;
|
|
320
319
|
chapterId?: undefined;
|
|
320
|
+
count?: undefined;
|
|
321
321
|
startAt: {
|
|
322
322
|
type: string;
|
|
323
323
|
description: string;
|
|
@@ -346,13 +346,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
|
|
|
346
346
|
type: string;
|
|
347
347
|
required: string[];
|
|
348
348
|
properties: {
|
|
349
|
-
count?: undefined;
|
|
350
349
|
query?: undefined;
|
|
351
350
|
minutes?: undefined;
|
|
352
351
|
limit?: undefined;
|
|
353
352
|
clientHint?: undefined;
|
|
354
353
|
timestamp?: undefined;
|
|
355
354
|
chapterId?: undefined;
|
|
355
|
+
count?: undefined;
|
|
356
356
|
startAt?: undefined;
|
|
357
357
|
endAt?: undefined;
|
|
358
358
|
reason?: undefined;
|
|
@@ -20,27 +20,27 @@ export declare function createObservabilityHandler(): import("h3").EventHandlerW
|
|
|
20
20
|
thumbsUpRate: number;
|
|
21
21
|
avgEvalScore: number;
|
|
22
22
|
} | {
|
|
23
|
+
error?: undefined;
|
|
24
|
+
id?: undefined;
|
|
23
25
|
summary: import("./types.js").TraceSummary;
|
|
24
26
|
spans: import("./types.js").TraceSpan[];
|
|
25
|
-
id?: undefined;
|
|
26
|
-
error?: undefined;
|
|
27
27
|
ok?: undefined;
|
|
28
28
|
} | {
|
|
29
|
+
error?: undefined;
|
|
29
30
|
summary?: undefined;
|
|
30
31
|
spans?: undefined;
|
|
31
32
|
id: string;
|
|
32
|
-
error?: undefined;
|
|
33
33
|
ok?: undefined;
|
|
34
34
|
} | {
|
|
35
|
+
id?: undefined;
|
|
35
36
|
summary?: undefined;
|
|
36
37
|
spans?: undefined;
|
|
37
|
-
id?: undefined;
|
|
38
38
|
error: any;
|
|
39
39
|
ok?: undefined;
|
|
40
40
|
} | {
|
|
41
|
+
error?: undefined;
|
|
42
|
+
id?: undefined;
|
|
41
43
|
summary?: undefined;
|
|
42
44
|
spans?: undefined;
|
|
43
|
-
id?: undefined;
|
|
44
45
|
ok: boolean;
|
|
45
|
-
error?: undefined;
|
|
46
46
|
}>>;
|
package/dist/org/handlers.d.ts
CHANGED
|
@@ -72,9 +72,9 @@ export declare const setWorkspaceAppDefaultVisibilityHandler: import("h3").Event
|
|
|
72
72
|
}>>;
|
|
73
73
|
export declare const createOrgHandler: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
|
|
74
74
|
success: boolean;
|
|
75
|
+
id?: undefined;
|
|
75
76
|
name?: undefined;
|
|
76
77
|
role?: undefined;
|
|
77
|
-
id?: undefined;
|
|
78
78
|
} | {
|
|
79
79
|
success?: undefined;
|
|
80
80
|
id: string;
|
|
@@ -77,6 +77,9 @@ export declare function createCustomProviderRegistrationAction<TSchema extends Z
|
|
|
77
77
|
}, z.core.$strip>>, {
|
|
78
78
|
deleted?: undefined;
|
|
79
79
|
id?: undefined;
|
|
80
|
+
provider?: undefined;
|
|
81
|
+
message?: undefined;
|
|
82
|
+
found?: undefined;
|
|
80
83
|
providers: {
|
|
81
84
|
id: string;
|
|
82
85
|
label: string;
|
|
@@ -87,47 +90,44 @@ export declare function createCustomProviderRegistrationAction<TSchema extends Z
|
|
|
87
90
|
updatedAt: number;
|
|
88
91
|
}[];
|
|
89
92
|
count: number;
|
|
90
|
-
provider?: undefined;
|
|
91
|
-
found?: undefined;
|
|
92
93
|
registered?: undefined;
|
|
93
94
|
label?: undefined;
|
|
94
|
-
message?: undefined;
|
|
95
95
|
} | {
|
|
96
96
|
deleted?: undefined;
|
|
97
97
|
id?: undefined;
|
|
98
98
|
count?: undefined;
|
|
99
|
+
message?: undefined;
|
|
99
100
|
providers?: undefined;
|
|
100
101
|
found: boolean;
|
|
101
102
|
provider: import("../custom-registry.js").CustomProviderConfig;
|
|
102
103
|
registered?: undefined;
|
|
103
104
|
label?: undefined;
|
|
104
|
-
message?: undefined;
|
|
105
105
|
} | {
|
|
106
106
|
deleted?: undefined;
|
|
107
|
+
provider?: undefined;
|
|
107
108
|
count?: undefined;
|
|
109
|
+
message?: undefined;
|
|
108
110
|
providers?: undefined;
|
|
109
|
-
provider?: undefined;
|
|
110
111
|
found: boolean;
|
|
111
112
|
id: string;
|
|
112
113
|
registered?: undefined;
|
|
113
114
|
label?: undefined;
|
|
114
|
-
message?: undefined;
|
|
115
115
|
} | {
|
|
116
|
-
count?: undefined;
|
|
117
|
-
providers?: undefined;
|
|
118
116
|
provider?: undefined;
|
|
117
|
+
count?: undefined;
|
|
118
|
+
message?: undefined;
|
|
119
119
|
found?: undefined;
|
|
120
|
+
providers?: undefined;
|
|
120
121
|
deleted: boolean;
|
|
121
122
|
id: string;
|
|
122
123
|
registered?: undefined;
|
|
123
124
|
label?: undefined;
|
|
124
|
-
message?: undefined;
|
|
125
125
|
} | {
|
|
126
126
|
deleted?: undefined;
|
|
127
|
-
count?: undefined;
|
|
128
|
-
providers?: undefined;
|
|
129
127
|
provider?: undefined;
|
|
128
|
+
count?: undefined;
|
|
130
129
|
found?: undefined;
|
|
130
|
+
providers?: undefined;
|
|
131
131
|
registered: boolean;
|
|
132
132
|
id: string;
|
|
133
133
|
label: string;
|
|
@@ -314,6 +314,7 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
|
|
|
314
314
|
provider?: undefined;
|
|
315
315
|
id?: undefined;
|
|
316
316
|
deleted?: undefined;
|
|
317
|
+
found?: undefined;
|
|
317
318
|
providers: {
|
|
318
319
|
id: string;
|
|
319
320
|
label: string;
|
|
@@ -324,15 +325,14 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
|
|
|
324
325
|
updatedAt: number;
|
|
325
326
|
}[];
|
|
326
327
|
count: number;
|
|
327
|
-
found?: undefined;
|
|
328
328
|
registered?: undefined;
|
|
329
329
|
label?: undefined;
|
|
330
330
|
message?: undefined;
|
|
331
331
|
} | {
|
|
332
332
|
id?: undefined;
|
|
333
|
-
count?: undefined;
|
|
334
333
|
deleted?: undefined;
|
|
335
334
|
providers?: undefined;
|
|
335
|
+
count?: undefined;
|
|
336
336
|
found: boolean;
|
|
337
337
|
provider: import("../custom-registry.js").CustomProviderConfig;
|
|
338
338
|
registered?: undefined;
|
|
@@ -340,9 +340,9 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
|
|
|
340
340
|
message?: undefined;
|
|
341
341
|
} | {
|
|
342
342
|
provider?: undefined;
|
|
343
|
-
count?: undefined;
|
|
344
343
|
deleted?: undefined;
|
|
345
344
|
providers?: undefined;
|
|
345
|
+
count?: undefined;
|
|
346
346
|
found: boolean;
|
|
347
347
|
id: string;
|
|
348
348
|
registered?: undefined;
|
|
@@ -350,9 +350,9 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
|
|
|
350
350
|
message?: undefined;
|
|
351
351
|
} | {
|
|
352
352
|
provider?: undefined;
|
|
353
|
-
count?: undefined;
|
|
354
|
-
providers?: undefined;
|
|
355
353
|
found?: undefined;
|
|
354
|
+
providers?: undefined;
|
|
355
|
+
count?: undefined;
|
|
356
356
|
deleted: boolean;
|
|
357
357
|
id: string;
|
|
358
358
|
registered?: undefined;
|
|
@@ -360,10 +360,10 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
|
|
|
360
360
|
message?: undefined;
|
|
361
361
|
} | {
|
|
362
362
|
provider?: undefined;
|
|
363
|
-
count?: undefined;
|
|
364
363
|
deleted?: undefined;
|
|
365
|
-
providers?: undefined;
|
|
366
364
|
found?: undefined;
|
|
365
|
+
providers?: undefined;
|
|
366
|
+
count?: undefined;
|
|
367
367
|
registered: boolean;
|
|
368
368
|
id: string;
|
|
369
369
|
label: string;
|
|
@@ -39,8 +39,8 @@ export declare function handleUpdateResource(event: any): Promise<import("./stor
|
|
|
39
39
|
error: string;
|
|
40
40
|
}>;
|
|
41
41
|
export declare function handleDeleteResource(event: any): Promise<{
|
|
42
|
-
ok?: undefined;
|
|
43
42
|
error: string;
|
|
43
|
+
ok?: undefined;
|
|
44
44
|
} | {
|
|
45
45
|
error?: undefined;
|
|
46
46
|
ok: boolean;
|
package/dist/secrets/routes.d.ts
CHANGED
|
@@ -55,31 +55,31 @@ export declare function createWriteSecretHandler(): import("h3").EventHandlerWit
|
|
|
55
55
|
} | {
|
|
56
56
|
error: string;
|
|
57
57
|
errorCode?: undefined;
|
|
58
|
-
status?: undefined;
|
|
59
58
|
ok?: undefined;
|
|
59
|
+
status?: undefined;
|
|
60
60
|
} | {
|
|
61
61
|
error: string;
|
|
62
62
|
errorCode: string;
|
|
63
|
-
status?: undefined;
|
|
64
63
|
ok?: undefined;
|
|
64
|
+
status?: undefined;
|
|
65
65
|
} | {
|
|
66
66
|
errorCode?: undefined;
|
|
67
67
|
ok: boolean;
|
|
68
68
|
status: string;
|
|
69
69
|
error?: undefined;
|
|
70
70
|
} | {
|
|
71
|
+
ok?: undefined;
|
|
71
72
|
error: string;
|
|
72
73
|
removed?: undefined;
|
|
73
|
-
ok?: undefined;
|
|
74
74
|
} | {
|
|
75
75
|
ok: boolean;
|
|
76
76
|
removed: boolean;
|
|
77
77
|
error?: undefined;
|
|
78
78
|
}>>;
|
|
79
79
|
export declare function createTestSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
|
|
80
|
+
ok?: undefined;
|
|
80
81
|
error: string;
|
|
81
82
|
note?: undefined;
|
|
82
|
-
ok?: undefined;
|
|
83
83
|
} | {
|
|
84
84
|
ok: boolean;
|
|
85
85
|
note?: undefined;
|
|
@@ -33,6 +33,7 @@ import { isProductionServerlessFunctionRuntime, isTransientDatabaseError, } from
|
|
|
33
33
|
import { filterFrameworkToolGroups, resolveFrameworkTools, } from "../framework-tools.js";
|
|
34
34
|
import { verifyInternalToken, extractBearerToken, } from "../integrations/internal-token.js";
|
|
35
35
|
import { RECURRING_JOBS_SWEEP_PATH, RECURRING_JOBS_SWEEP_TOKEN_SUBJECT, } from "../jobs/scheduler-dispatch.js";
|
|
36
|
+
import { RECURRING_SWEEP_BUDGET_MS } from "../jobs/sweep-hooks.js";
|
|
36
37
|
import { McpClientManager, mcpToolsToActionEntries, syncMcpActionEntries, mountMcpServersRoutes, mountMcpHubRoutes, buildMergedConfig, startMcpConfigRefresh, getHubStatus, isHubServeEnabled, } from "../mcp-client/index.js";
|
|
37
38
|
import { declaredMcpToolNames } from "../mcp/build-server.js";
|
|
38
39
|
import { setProgressPreListHook } from "../progress/store.js";
|
|
@@ -5915,6 +5916,9 @@ Non-code requests are still fine on this surface: read data, navigate the UI, su
|
|
|
5915
5916
|
error: "Recurring-job sweep reached the synchronous server instead of the durable background worker.",
|
|
5916
5917
|
};
|
|
5917
5918
|
}
|
|
5919
|
+
const sweepContext = {
|
|
5920
|
+
deadlineAt: Date.now() + RECURRING_SWEEP_BUDGET_MS,
|
|
5921
|
+
};
|
|
5918
5922
|
// Stale reaping runs FIRST and site-wide, before the open-ended job
|
|
5919
5923
|
// sweep can spend the platform wall. It is the durable driver the
|
|
5920
5924
|
// in-process fast sweep below cannot be on serverless: that timer is
|
|
@@ -5941,6 +5945,8 @@ Non-code requests are still fine on this surface: read data, navigate the UI, su
|
|
|
5941
5945
|
console.error("[agent-chat] durable stale-run reap failed:", error);
|
|
5942
5946
|
return null;
|
|
5943
5947
|
});
|
|
5948
|
+
const { runRecurringSweepHandlers } = await import("../jobs/sweep-hooks.js");
|
|
5949
|
+
const appSweepHandlers = await runRecurringSweepHandlers(sweepContext);
|
|
5944
5950
|
// Rides the same site-tick as the reap above, for the same reason:
|
|
5945
5951
|
// it is the only durable driver on serverless. Never fatal to the
|
|
5946
5952
|
// job sweep, and its own failure is a distinguishable outcome
|
|
@@ -5961,8 +5967,6 @@ Non-code requests are still fine on this surface: read data, navigate the UI, su
|
|
|
5961
5967
|
console.error("[agent-chat] durable unclaimed-run sweep failed:", error);
|
|
5962
5968
|
return null;
|
|
5963
5969
|
});
|
|
5964
|
-
const { runRecurringSweepHandlers } = await import("../jobs/sweep-hooks.js");
|
|
5965
|
-
const appSweepHandlers = await runRecurringSweepHandlers();
|
|
5966
5970
|
const triggerAvailability = scheduledTriggerAvailability();
|
|
5967
5971
|
if (unclaimedBackgroundRuns === null) {
|
|
5968
5972
|
setResponseStatus(event, 500);
|
|
@@ -65,6 +65,7 @@ export declare function createAgentEngineApiKeyHandler(): import("h3").EventHand
|
|
|
65
65
|
error: any;
|
|
66
66
|
code: any;
|
|
67
67
|
} | {
|
|
68
|
+
error?: undefined;
|
|
68
69
|
errorCode?: undefined;
|
|
69
70
|
code?: undefined;
|
|
70
71
|
ok: boolean;
|
|
@@ -72,6 +73,5 @@ export declare function createAgentEngineApiKeyHandler(): import("h3").EventHand
|
|
|
72
73
|
baseUrlKey?: string;
|
|
73
74
|
scope: AgentEngineApiKeyScope;
|
|
74
75
|
defaultModel?: import("./agent-engine-default-model-route.js").SavedKeyDefaultModelOutcome;
|
|
75
|
-
error?: undefined;
|
|
76
76
|
}>>;
|
|
77
77
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare function createAgentEngineOllamaModelsHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
|
|
2
|
-
ok?: undefined;
|
|
3
2
|
error: string;
|
|
4
3
|
models?: undefined;
|
|
4
|
+
ok?: undefined;
|
|
5
5
|
} | {
|
|
6
|
-
error?: undefined;
|
|
7
6
|
ok: boolean;
|
|
8
7
|
models: string[];
|
|
8
|
+
error?: undefined;
|
|
9
9
|
}>>;
|
package/dist/server/index.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export { sendEmail, isEmailConfigured, getEmailReadiness, getEmailProvider, type
|
|
|
97
97
|
export { defineTransactionalEmail, defineTransactionalEmails, replaceTransactionalEmails, listTransactionalEmails, getTransactionalEmail, renderTransactionalEmailPreview, type TransactionalEmailDefinition, type RegisteredTransactionalEmail, } from "../email-catalog/registry.js";
|
|
98
98
|
export { notifyActivity, runActivityNotification, resolveActivityRecipients, type ActivityDeliveryFailure, type ActivityNotificationResult, type ActivityNotificationStatus, type NotifyActivityInput, type ResolveActivityRecipientsInput, } from "./activity-notifications.js";
|
|
99
99
|
export { renderEmail, emailStrong, emailQuote, emailLink, type RenderEmailArgs, type RenderedEmail, type EmailCta, } from "./email-template.js";
|
|
100
|
-
export { hasRecurringSweepHandler, registerRecurringSweepHandler, runRecurringSweepHandlers, type RecurringSweepHandler, } from "../jobs/sweep-hooks.js";
|
|
100
|
+
export { hasRecurringSweepHandler, registerRecurringSweepHandler, runRecurringSweepHandlers, type RecurringSweepContext, type RecurringSweepHandler, } from "../jobs/sweep-hooks.js";
|
|
101
101
|
export { scheduledTriggerAvailability, type ScheduledTriggerAvailability, } from "./agent-chat/recurring-jobs-runtime.js";
|
|
102
102
|
export { getAppProductionUrl, getFirstPartyProdUrl, resolveAppRuntimeUrl, } from "./app-url.js";
|
|
103
103
|
export { getConfiguredAppBasePath, normalizeAppBasePath, withConfiguredAppBasePath, } from "./app-base-path.js";
|
|
@@ -54,8 +54,8 @@ export declare function createRealtimeTokenHandler(): import("h3").EventHandlerW
|
|
|
54
54
|
expiresAt?: undefined;
|
|
55
55
|
ttlSeconds?: undefined;
|
|
56
56
|
} | {
|
|
57
|
-
error?: undefined;
|
|
58
57
|
token: string;
|
|
59
58
|
expiresAt: string;
|
|
60
59
|
ttlSeconds: number;
|
|
60
|
+
error?: undefined;
|
|
61
61
|
}>>;
|