@agent-native/core 0.213.1 → 0.214.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.
Files changed (33) hide show
  1. package/dist/appearance/actions/get-theme-family.d.ts +8 -0
  2. package/dist/appearance/actions/get-theme-family.js +38 -0
  3. package/dist/appearance/actions/set-theme-family.d.ts +7 -0
  4. package/dist/appearance/actions/set-theme-family.js +33 -0
  5. package/dist/appearance/theme-family.d.ts +13 -0
  6. package/dist/appearance/theme-family.js +38 -0
  7. package/dist/client/theme-family.d.ts +35 -0
  8. package/dist/client/theme-family.js +223 -0
  9. package/dist/client/theme.d.ts +1 -1
  10. package/dist/client/theme.js +5 -2
  11. package/dist/client/ui/index.d.ts +1 -0
  12. package/dist/client/ui/index.js +1 -0
  13. package/dist/collab/awareness.d.ts +2 -2
  14. package/dist/collab/routes.d.ts +2 -2
  15. package/dist/collab/struct-routes.d.ts +1 -1
  16. package/dist/data-widgets/index.d.ts +339 -4
  17. package/dist/data-widgets/index.js +150 -7
  18. package/dist/file-upload/actions/upload-image.d.ts +1 -1
  19. package/dist/framework-tools.js +2 -0
  20. package/dist/mcp/screen-memory-stdio.d.ts +7 -7
  21. package/dist/progress/routes.d.ts +1 -1
  22. package/dist/provider-api/actions/custom-provider-registration.d.ts +3 -3
  23. package/dist/provider-api/actions/provider-api.d.ts +11 -11
  24. package/dist/provider-api/corpus-jobs.d.ts +2 -2
  25. package/dist/secrets/routes.d.ts +4 -4
  26. package/dist/server/action-discovery.js +8 -0
  27. package/dist/server/agent-chat/context-tools.js +43 -1
  28. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  29. package/dist/server/agent-engine-default-model-route.d.ts +1 -1
  30. package/dist/server/agent-engine-ollama-models-route.d.ts +1 -1
  31. package/dist/sharing/actions/list-resource-shares.d.ts +1 -1
  32. package/dist/triggers/actions/manage-automation.d.ts +1 -1
  33. package/package.json +3 -3
@@ -42,8 +42,8 @@ declare const _default: import("../../action.js").ActionDefinition<{
42
42
  url: string;
43
43
  id: string;
44
44
  provider: string;
45
- configured?: undefined;
46
45
  error?: undefined;
46
+ configured?: undefined;
47
47
  } | {
48
48
  url?: undefined;
49
49
  id?: undefined;
@@ -165,6 +165,8 @@ export const CORE_ACTION_GROUPS = {
165
165
  "change-password": "userProfile",
166
166
  "request-privacy-right": "userProfile",
167
167
  "change-appearance": "userProfile",
168
+ "get-theme-family": "userProfile",
169
+ "set-theme-family": "userProfile",
168
170
  "list-audit-events": "audit",
169
171
  "get-audit-event": "audit",
170
172
  "export-audit-events": "audit",
@@ -140,13 +140,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
140
140
  clientHint?: undefined;
141
141
  timestamp?: undefined;
142
142
  chapterId?: undefined;
143
+ count?: undefined;
143
144
  startAt?: undefined;
144
145
  endAt?: undefined;
145
146
  reason?: undefined;
146
147
  includeMicrophone?: undefined;
147
148
  includeSystemAudio?: undefined;
148
149
  requestId?: undefined;
149
- count?: undefined;
150
150
  };
151
151
  required?: undefined;
152
152
  };
@@ -171,13 +171,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
171
171
  clientHint?: undefined;
172
172
  timestamp?: undefined;
173
173
  chapterId?: undefined;
174
+ count?: undefined;
174
175
  startAt?: undefined;
175
176
  endAt?: undefined;
176
177
  reason?: undefined;
177
178
  includeMicrophone?: undefined;
178
179
  includeSystemAudio?: undefined;
179
180
  requestId?: undefined;
180
- count?: undefined;
181
181
  };
182
182
  required?: undefined;
183
183
  };
@@ -196,13 +196,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
196
196
  clientHint?: undefined;
197
197
  timestamp?: undefined;
198
198
  chapterId?: undefined;
199
+ count?: undefined;
199
200
  startAt?: undefined;
200
201
  endAt?: undefined;
201
202
  reason?: undefined;
202
203
  includeMicrophone?: undefined;
203
204
  includeSystemAudio?: undefined;
204
205
  requestId?: undefined;
205
- count?: undefined;
206
206
  };
207
207
  required?: undefined;
208
208
  };
@@ -231,13 +231,13 @@ export declare function screenMemoryMcpToolDefinitions(): ({
231
231
  };
232
232
  timestamp?: undefined;
233
233
  chapterId?: undefined;
234
+ count?: undefined;
234
235
  startAt?: undefined;
235
236
  endAt?: undefined;
236
237
  reason?: undefined;
237
238
  includeMicrophone?: undefined;
238
239
  includeSystemAudio?: undefined;
239
240
  requestId?: undefined;
240
- count?: undefined;
241
241
  };
242
242
  };
243
243
  } | {
@@ -260,12 +260,12 @@ export declare function screenMemoryMcpToolDefinitions(): ({
260
260
  description: string;
261
261
  };
262
262
  chapterId?: undefined;
263
+ count?: undefined;
263
264
  startAt?: undefined;
264
265
  endAt?: undefined;
265
266
  includeMicrophone?: undefined;
266
267
  includeSystemAudio?: undefined;
267
268
  requestId?: undefined;
268
- count?: undefined;
269
269
  };
270
270
  };
271
271
  } | {
@@ -317,6 +317,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
317
317
  clientHint?: undefined;
318
318
  timestamp?: undefined;
319
319
  chapterId?: undefined;
320
+ count?: undefined;
320
321
  startAt: {
321
322
  type: string;
322
323
  description: string;
@@ -336,7 +337,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
336
337
  type: string;
337
338
  };
338
339
  requestId?: undefined;
339
- count?: undefined;
340
340
  };
341
341
  };
342
342
  } | {
@@ -352,6 +352,7 @@ export declare function screenMemoryMcpToolDefinitions(): ({
352
352
  clientHint?: undefined;
353
353
  timestamp?: undefined;
354
354
  chapterId?: undefined;
355
+ count?: undefined;
355
356
  startAt?: undefined;
356
357
  endAt?: undefined;
357
358
  reason?: undefined;
@@ -360,7 +361,6 @@ export declare function screenMemoryMcpToolDefinitions(): ({
360
361
  requestId: {
361
362
  type: string;
362
363
  };
363
- count?: undefined;
364
364
  };
365
365
  };
366
366
  })[];
@@ -2,6 +2,6 @@ export declare function createProgressHandler(): import("h3").EventHandlerWithFe
2
2
  error: string;
3
3
  ok?: undefined;
4
4
  } | {
5
- ok: boolean;
6
5
  error?: undefined;
6
+ ok: boolean;
7
7
  }>>;
@@ -76,6 +76,7 @@ export declare function createCustomProviderRegistrationAction<TSchema extends Z
76
76
  }>>;
77
77
  }, z.core.$strip>>, {
78
78
  message?: undefined;
79
+ found?: undefined;
79
80
  providers: {
80
81
  id: string;
81
82
  label: string;
@@ -87,7 +88,6 @@ export declare function createCustomProviderRegistrationAction<TSchema extends Z
87
88
  }[];
88
89
  count: number;
89
90
  provider?: undefined;
90
- found?: undefined;
91
91
  deleted?: undefined;
92
92
  registered?: undefined;
93
93
  id?: undefined;
@@ -114,19 +114,19 @@ export declare function createCustomProviderRegistrationAction<TSchema extends Z
114
114
  label?: undefined;
115
115
  } | {
116
116
  message?: undefined;
117
+ found?: undefined;
117
118
  providers?: undefined;
118
119
  count?: undefined;
119
120
  provider?: undefined;
120
- found?: undefined;
121
121
  deleted: boolean;
122
122
  id: string;
123
123
  registered?: undefined;
124
124
  label?: undefined;
125
125
  } | {
126
+ found?: undefined;
126
127
  providers?: undefined;
127
128
  count?: undefined;
128
129
  provider?: undefined;
129
- found?: undefined;
130
130
  deleted?: undefined;
131
131
  registered: boolean;
132
132
  id: string;
@@ -317,9 +317,8 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
317
317
  scope?: "org" | "user" | undefined;
318
318
  }, {
319
319
  id?: undefined;
320
- provider?: undefined;
320
+ found?: undefined;
321
321
  deleted?: undefined;
322
- message?: undefined;
323
322
  providers: {
324
323
  id: string;
325
324
  label: string;
@@ -330,45 +329,46 @@ export declare function createProviderApiActions(runtime: Pick<ProviderApiRuntim
330
329
  updatedAt: number;
331
330
  }[];
332
331
  count: number;
333
- found?: undefined;
332
+ provider?: undefined;
334
333
  registered?: undefined;
335
334
  label?: undefined;
335
+ message?: undefined;
336
336
  } | {
337
337
  id?: undefined;
338
338
  deleted?: undefined;
339
- message?: undefined;
340
339
  providers?: undefined;
341
340
  count?: undefined;
342
341
  found: boolean;
343
342
  provider: import("../custom-registry.js").CustomProviderConfig;
344
343
  registered?: undefined;
345
344
  label?: undefined;
345
+ message?: undefined;
346
346
  } | {
347
- provider?: undefined;
348
347
  deleted?: undefined;
349
- message?: undefined;
350
348
  providers?: undefined;
351
349
  count?: undefined;
350
+ provider?: undefined;
352
351
  found: boolean;
353
352
  id: string;
354
353
  registered?: undefined;
355
354
  label?: undefined;
356
- } | {
357
- provider?: undefined;
358
355
  message?: undefined;
356
+ } | {
357
+ found?: undefined;
359
358
  providers?: undefined;
360
359
  count?: undefined;
361
- found?: undefined;
360
+ provider?: undefined;
362
361
  deleted: boolean;
363
362
  id: string;
364
363
  registered?: undefined;
365
364
  label?: undefined;
365
+ message?: undefined;
366
366
  } | {
367
- provider?: undefined;
367
+ found?: undefined;
368
368
  deleted?: undefined;
369
369
  providers?: undefined;
370
370
  count?: undefined;
371
- found?: undefined;
371
+ provider?: undefined;
372
372
  registered: boolean;
373
373
  id: string;
374
374
  label: string;
@@ -73,7 +73,6 @@ export declare function createProviderCorpusJobAction(options: CreateProviderCor
73
73
  offset?: unknown;
74
74
  limit?: unknown;
75
75
  }, {
76
- deleted?: undefined;
77
76
  jobs: {
78
77
  id: string;
79
78
  name: string;
@@ -84,6 +83,7 @@ export declare function createProviderCorpusJobAction(options: CreateProviderCor
84
83
  updatedAt: string;
85
84
  }[];
86
85
  total: number;
86
+ deleted?: undefined;
87
87
  jobId?: undefined;
88
88
  } | {
89
89
  jobs?: undefined;
@@ -91,9 +91,9 @@ export declare function createProviderCorpusJobAction(options: CreateProviderCor
91
91
  deleted: boolean;
92
92
  jobId: string;
93
93
  } | {
94
- deleted?: undefined;
95
94
  jobs?: undefined;
96
95
  total?: undefined;
96
+ deleted?: undefined;
97
97
  jobId?: undefined;
98
98
  hits: Record<string, unknown>[];
99
99
  offset: number;
@@ -57,31 +57,31 @@ export declare function createWriteSecretHandler(): import("h3").EventHandlerWit
57
57
  } | {
58
58
  error: string;
59
59
  errorCode?: undefined;
60
- ok?: undefined;
61
60
  status?: undefined;
61
+ ok?: undefined;
62
62
  } | {
63
63
  error: string;
64
64
  errorCode: string;
65
- ok?: undefined;
66
65
  status?: undefined;
66
+ ok?: undefined;
67
67
  } | {
68
68
  error?: undefined;
69
69
  errorCode?: undefined;
70
70
  ok: boolean;
71
71
  status: string;
72
72
  } | {
73
- ok?: undefined;
74
73
  error: string;
75
74
  removed?: undefined;
75
+ ok?: undefined;
76
76
  } | {
77
77
  error?: undefined;
78
78
  ok: boolean;
79
79
  removed: boolean;
80
80
  }>>;
81
81
  export declare function createTestSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
82
- ok?: undefined;
83
82
  error: string;
84
83
  note?: undefined;
84
+ ok?: undefined;
85
85
  } | {
86
86
  error?: undefined;
87
87
  ok: boolean;
@@ -773,6 +773,14 @@ export function coreActionLoaderEntries() {
773
773
  "change-appearance",
774
774
  () => import("../appearance/actions/change-appearance.js"),
775
775
  ],
776
+ [
777
+ "get-theme-family",
778
+ () => import("../appearance/actions/get-theme-family.js"),
779
+ ],
780
+ [
781
+ "set-theme-family",
782
+ () => import("../appearance/actions/set-theme-family.js"),
783
+ ],
776
784
  [
777
785
  "list-audit-events",
778
786
  () => import("../audit/actions/list-audit-events.js"),
@@ -506,7 +506,49 @@ export function createDataWidgetActionEntries() {
506
506
  },
507
507
  chartSeries: {
508
508
  type: "object",
509
- description: "For data-chart/data-insights: { type: 'bar'|'line'|'area', title?, xKey, series: [{ key, label, color? }], data, sampled? }.",
509
+ description: "For data-chart/data-insights: { type: 'bar'|'line'|'area', title?, xKey, series: [{ key, label, color? }], data, sampled? }. Optional display controls include contentHeight from 1 to 1200 px, contentPadding from 0 to 64 px, labelFontFamily (sans, serif, mono), and label font sizes and weights; these apply only to chart rendering.",
510
+ properties: {
511
+ contentHeight: {
512
+ type: "number",
513
+ minimum: 1,
514
+ maximum: 1200,
515
+ description: "Optional chart body height in pixels.",
516
+ },
517
+ contentPadding: {
518
+ type: "number",
519
+ minimum: 0,
520
+ maximum: 64,
521
+ description: "Optional inner chart body padding in pixels.",
522
+ },
523
+ labelFontFamily: {
524
+ type: "string",
525
+ enum: ["sans", "serif", "mono"],
526
+ description: "Optional label font token; sans follows the app theme font.",
527
+ },
528
+ labelFontSize: {
529
+ type: "integer",
530
+ minimum: 8,
531
+ maximum: 24,
532
+ },
533
+ axisTitleFontSize: {
534
+ type: "integer",
535
+ minimum: 8,
536
+ maximum: 24,
537
+ },
538
+ axisTitleFontWeight: {
539
+ type: "number",
540
+ enum: [400, 500],
541
+ },
542
+ valueLabelFontSize: {
543
+ type: "integer",
544
+ minimum: 8,
545
+ maximum: 24,
546
+ },
547
+ valueLabelFontWeight: {
548
+ type: "number",
549
+ enum: [400, 500],
550
+ },
551
+ },
510
552
  },
511
553
  },
512
554
  required: ["widget"],
@@ -67,12 +67,12 @@ export declare function createAgentEngineApiKeyHandler(): import("h3").EventHand
67
67
  code: any;
68
68
  } | {
69
69
  errorCode?: undefined;
70
- error?: undefined;
71
70
  code?: undefined;
72
71
  ok: boolean;
73
72
  key: string;
74
73
  baseUrlKey?: string;
75
74
  scope: AgentEngineApiKeyScope;
76
75
  defaultModel?: import("./agent-engine-default-model-route.js").SavedKeyDefaultModelOutcome;
76
+ error?: undefined;
77
77
  }>>;
78
78
  export {};
@@ -9,8 +9,8 @@ export declare const AGENT_ENGINE_API_KEY_ACTION_NAME = "agent-engine-api-key";
9
9
  */
10
10
  export declare function createAgentEngineDisconnectHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
11
11
  error: string;
12
- ok?: undefined;
13
12
  scope?: undefined;
13
+ ok?: undefined;
14
14
  } | {
15
15
  ok: boolean;
16
16
  error: any;
@@ -1,7 +1,7 @@
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
6
  error?: undefined;
7
7
  ok: boolean;
@@ -2,7 +2,6 @@ declare const _default: import("../../action.js").ActionDefinition<{
2
2
  resourceType: string;
3
3
  resourceId: string;
4
4
  }, {
5
- role?: undefined;
6
5
  ownerEmail: any;
7
6
  visibility: any;
8
7
  shares: any[];
@@ -12,6 +11,7 @@ declare const _default: import("../../action.js").ActionDefinition<{
12
11
  supportsGroupShares?: boolean;
13
12
  };
14
13
  orgId?: undefined;
14
+ role?: undefined;
15
15
  agentReadable?: undefined;
16
16
  } | {
17
17
  ownerEmail: string;
@@ -93,7 +93,6 @@ declare const _default: import("../../action.js").ActionDefinition<{
93
93
  previouslyEnabled?: undefined;
94
94
  requestedEnabled?: undefined;
95
95
  } | {
96
- scope?: undefined;
97
96
  enabled?: undefined;
98
97
  nextRun?: undefined;
99
98
  created?: undefined;
@@ -101,6 +100,7 @@ declare const _default: import("../../action.js").ActionDefinition<{
101
100
  resourceId: string;
102
101
  name: string;
103
102
  updated?: undefined;
103
+ scope?: undefined;
104
104
  triggerType?: undefined;
105
105
  event?: undefined;
106
106
  schedule?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.213.1",
3
+ "version": "0.214.0",
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": {
@@ -727,8 +727,8 @@
727
727
  "yaml": "^2.9.0",
728
728
  "yjs": "^13.6.33",
729
729
  "zod": "^4.3.6",
730
- "@agent-native/recap-cli": "^0.5.82",
731
- "@agent-native/agentkit": "^0.213.1"
730
+ "@agent-native/agentkit": "^0.214.0",
731
+ "@agent-native/recap-cli": "^0.5.83"
732
732
  },
733
733
  "devDependencies": {
734
734
  "@ai-sdk/anthropic": "^3.0.71",