@agent-native/core 0.78.5 → 0.78.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.
Files changed (35) hide show
  1. package/corpus/core/CHANGELOG.md +18 -0
  2. package/corpus/core/docs/content/agent-teams.md +1 -1
  3. package/corpus/core/docs/content/locales/ar-SA/agent-teams.md +1 -1
  4. package/corpus/core/docs/content/locales/de-DE/agent-teams.md +1 -1
  5. package/corpus/core/docs/content/locales/es-ES/agent-teams.md +1 -1
  6. package/corpus/core/docs/content/locales/fr-FR/agent-teams.md +1 -1
  7. package/corpus/core/docs/content/locales/hi-IN/agent-teams.md +1 -1
  8. package/corpus/core/docs/content/locales/ja-JP/agent-teams.md +1 -1
  9. package/corpus/core/docs/content/locales/ko-KR/agent-teams.md +1 -1
  10. package/corpus/core/docs/content/locales/pt-BR/agent-teams.md +1 -1
  11. package/corpus/core/docs/content/locales/zh-CN/agent-teams.md +1 -1
  12. package/corpus/core/package.json +1 -1
  13. package/corpus/core/src/agent/production-agent.ts +97 -13
  14. package/corpus/templates/assets/actions/_helpers.ts +15 -2
  15. package/corpus/templates/assets/actions/get-library.ts +2 -2
  16. package/corpus/templates/assets/actions/view-screen.ts +98 -36
  17. package/dist/agent/production-agent.d.ts.map +1 -1
  18. package/dist/agent/production-agent.js +71 -8
  19. package/dist/agent/production-agent.js.map +1 -1
  20. package/dist/collab/routes.d.ts +1 -1
  21. package/dist/file-upload/actions/upload-image.d.ts +2 -2
  22. package/dist/notifications/routes.d.ts +2 -2
  23. package/dist/observability/routes.d.ts +7 -7
  24. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  25. package/docs/content/agent-teams.md +1 -1
  26. package/docs/content/locales/ar-SA/agent-teams.md +1 -1
  27. package/docs/content/locales/de-DE/agent-teams.md +1 -1
  28. package/docs/content/locales/es-ES/agent-teams.md +1 -1
  29. package/docs/content/locales/fr-FR/agent-teams.md +1 -1
  30. package/docs/content/locales/hi-IN/agent-teams.md +1 -1
  31. package/docs/content/locales/ja-JP/agent-teams.md +1 -1
  32. package/docs/content/locales/ko-KR/agent-teams.md +1 -1
  33. package/docs/content/locales/pt-BR/agent-teams.md +1 -1
  34. package/docs/content/locales/zh-CN/agent-teams.md +1 -1
  35. package/package.json +1 -1
@@ -41,9 +41,9 @@ export declare const postCollabUpdate: import("h3").EventHandlerWithFetch<import
41
41
  * Body: { text: string, fieldName?: string, requestSource?: string }
42
42
  */
43
43
  export declare const postCollabText: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
44
+ text?: undefined;
44
45
  ok?: undefined;
45
46
  error: string;
46
- text?: undefined;
47
47
  } | {
48
48
  error?: undefined;
49
49
  ok: boolean;
@@ -3,18 +3,18 @@ declare const _default: import("../../action.js").ActionDefinition<{
3
3
  url?: string;
4
4
  filename?: string;
5
5
  }, {
6
+ id?: undefined;
6
7
  error: string;
7
8
  configured?: undefined;
8
9
  connectPath?: undefined;
9
10
  url?: undefined;
10
- id?: undefined;
11
11
  provider?: undefined;
12
12
  } | {
13
+ id?: undefined;
13
14
  error: string;
14
15
  configured: boolean;
15
16
  connectPath: string;
16
17
  url?: undefined;
17
- id?: undefined;
18
18
  provider?: undefined;
19
19
  } | {
20
20
  error?: undefined;
@@ -13,13 +13,13 @@
13
13
  export declare function createNotificationsHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<"" | import("./types.js").Notification[] | {
14
14
  count: number;
15
15
  updated?: undefined;
16
- ok?: undefined;
17
16
  error?: undefined;
17
+ ok?: undefined;
18
18
  } | {
19
19
  count?: undefined;
20
20
  updated: number;
21
- ok?: undefined;
22
21
  error?: undefined;
22
+ ok?: undefined;
23
23
  } | {
24
24
  count?: undefined;
25
25
  updated?: undefined;
@@ -41,28 +41,28 @@ export declare function createObservabilityHandler(): import("h3").EventHandlerW
41
41
  thumbsUpRate: number;
42
42
  avgEvalScore: number;
43
43
  } | {
44
- ok?: undefined;
45
44
  summary: import("./types.js").TraceSummary;
46
45
  spans: import("./types.js").TraceSpan[];
47
- error?: undefined;
48
46
  id?: undefined;
49
- } | {
47
+ error?: undefined;
50
48
  ok?: undefined;
49
+ } | {
51
50
  summary?: undefined;
52
51
  spans?: undefined;
53
52
  id: string;
54
53
  error?: undefined;
55
- } | {
56
54
  ok?: undefined;
55
+ } | {
57
56
  summary?: undefined;
58
57
  spans?: undefined;
59
- error: any;
60
58
  id?: undefined;
59
+ error: any;
60
+ ok?: undefined;
61
61
  } | {
62
62
  summary?: undefined;
63
63
  spans?: undefined;
64
- ok: boolean;
65
- error?: undefined;
66
64
  id?: undefined;
65
+ error?: undefined;
66
+ ok: boolean;
67
67
  }>>;
68
68
  //# sourceMappingURL=routes.d.ts.map
@@ -24,9 +24,9 @@ export declare function resolveAgentEngineApiKeyWriteTarget(event: H3Event, scop
24
24
  }>;
25
25
  export declare function createAgentEngineApiKeyHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
26
26
  error: any;
27
- ok?: undefined;
28
27
  key?: undefined;
29
28
  scope?: undefined;
29
+ ok?: undefined;
30
30
  } | {
31
31
  ok: boolean;
32
32
  key: string;
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
@@ -71,7 +71,7 @@ import { spawnTask } from "@agent-native/core/server";
71
71
 
72
72
  const task = await spawnTask({
73
73
  description: "Draft an outreach email to this lead",
74
- instructions: "Match Steve's voice from memory/MEMORY.md.",
74
+ instructions: "Match the user's voice from memory/MEMORY.md.",
75
75
  ownerEmail: user.email,
76
76
  systemPrompt: mailAgentSystemPrompt,
77
77
  actions: mailActions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.78.5",
3
+ "version": "0.78.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": {