@agent-native/core 0.149.3 → 0.149.4

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.
@@ -62,11 +62,11 @@ export declare const postAwareness: import("h3").EventHandlerWithFetch<import("h
62
62
  error: string;
63
63
  states?: undefined;
64
64
  } | {
65
- error?: undefined;
66
65
  states: {
67
66
  clientId: number;
68
67
  state: string;
69
68
  }[];
69
+ error?: undefined;
70
70
  }>>;
71
71
  /**
72
72
  * GET /_agent-native/collab/:docId/users
@@ -77,9 +77,9 @@ export declare const getActiveUsers: import("h3").EventHandlerWithFetch<import("
77
77
  error: string;
78
78
  users?: undefined;
79
79
  } | {
80
- error?: undefined;
81
80
  users: {
82
81
  clientId: number;
83
82
  lastSeen: number;
84
83
  }[];
84
+ error?: undefined;
85
85
  }>>;
@@ -147,6 +147,10 @@ export declare function emitSingleTemplateNetlifyKeepWarmFunction(projectCwd: st
147
147
  * Emit the durable recurring-job trigger. Netlify's scheduled function only
148
148
  * hands off work; the existing `-background` function owns the long sweep so
149
149
  * a model run is not constrained by the synchronous scheduled-function wall.
150
+ *
151
+ * The entry imports `node:crypto`, so `includedFiles: ["**"]` must stay: the
152
+ * deploy packager only accepts an omitted `includedFiles` for scheduled
153
+ * functions whose entry file has no import/require edge at all.
150
154
  */
151
155
  export declare function emitSingleTemplateNetlifyRecurringJobsFunction(projectCwd: string): void;
152
156
  /**
@@ -2438,6 +2438,10 @@ export const config = {
2438
2438
  * Emit the durable recurring-job trigger. Netlify's scheduled function only
2439
2439
  * hands off work; the existing `-background` function owns the long sweep so
2440
2440
  * a model run is not constrained by the synchronous scheduled-function wall.
2441
+ *
2442
+ * The entry imports `node:crypto`, so `includedFiles: ["**"]` must stay: the
2443
+ * deploy packager only accepts an omitted `includedFiles` for scheduled
2444
+ * functions whose entry file has no import/require edge at all.
2441
2445
  */
2442
2446
  export function emitSingleTemplateNetlifyRecurringJobsFunction(projectCwd) {
2443
2447
  if (!isRecurringJobsDeployEnabled())
@@ -2505,6 +2509,7 @@ export const config = {
2505
2509
  generator: "agent-native build",
2506
2510
  schedule: "* * * * *",
2507
2511
  nodeBundler: "none",
2512
+ includedFiles: ["**"],
2508
2513
  };
2509
2514
  `;
2510
2515
  fs.writeFileSync(path.join(dest, `${functionName}.mjs`), entry);
@@ -482,6 +482,10 @@ function copyNetlifyFunctionIntoWorkspace(workspaceRoot, app, workspaceApps, sta
482
482
  * Emit the per-app Netlify Scheduled Function that hands one recurring-job
483
483
  * sweep to that app's durable background worker. The worker owns the actual
484
484
  * scan so scheduled-function timeouts cannot strand the automation runner.
485
+ *
486
+ * The entry imports `node:crypto`, so `includedFiles: ["**"]` must stay: the
487
+ * deploy packager only accepts an omitted `includedFiles` for scheduled
488
+ * functions whose entry file has no import/require edge at all.
485
489
  */
486
490
  function emitNetlifyRecurringJobsFunction(workspaceRoot, app) {
487
491
  const functionName = `${app}-agent-recurring-jobs`;
@@ -545,6 +549,7 @@ export const config = {
545
549
  generator: "agent-native workspace deploy",
546
550
  schedule: "* * * * *",
547
551
  nodeBundler: "none",
552
+ includedFiles: ["**"],
548
553
  };
549
554
  `;
550
555
  fs.writeFileSync(path.join(dest, `${functionName}.mjs`), entry);
@@ -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
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.149.3",
3
+ "version": "0.149.4",
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": {