@agent-native/core 0.78.7 → 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 (33) hide show
  1. package/corpus/core/CHANGELOG.md +6 -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 +23 -0
  14. package/dist/agent/production-agent.d.ts.map +1 -1
  15. package/dist/agent/production-agent.js +21 -0
  16. package/dist/agent/production-agent.js.map +1 -1
  17. package/dist/collab/awareness.d.ts +2 -2
  18. package/dist/collab/awareness.d.ts.map +1 -1
  19. package/dist/file-upload/actions/upload-image.d.ts +2 -2
  20. package/dist/notifications/routes.d.ts +2 -2
  21. package/dist/observability/routes.d.ts +7 -7
  22. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  23. package/docs/content/agent-teams.md +1 -1
  24. package/docs/content/locales/ar-SA/agent-teams.md +1 -1
  25. package/docs/content/locales/de-DE/agent-teams.md +1 -1
  26. package/docs/content/locales/es-ES/agent-teams.md +1 -1
  27. package/docs/content/locales/fr-FR/agent-teams.md +1 -1
  28. package/docs/content/locales/hi-IN/agent-teams.md +1 -1
  29. package/docs/content/locales/ja-JP/agent-teams.md +1 -1
  30. package/docs/content/locales/ko-KR/agent-teams.md +1 -1
  31. package/docs/content/locales/pt-BR/agent-teams.md +1 -1
  32. package/docs/content/locales/zh-CN/agent-teams.md +1 -1
  33. package/package.json +1 -1
@@ -49,11 +49,11 @@ export declare const postAwareness: import("h3").EventHandlerWithFetch<import("h
49
49
  error: string;
50
50
  states?: undefined;
51
51
  } | {
52
- error?: undefined;
53
52
  states: {
54
53
  clientId: number;
55
54
  state: string;
56
55
  }[];
56
+ error?: undefined;
57
57
  }>>;
58
58
  /**
59
59
  * GET /_agent-native/collab/:docId/users
@@ -64,10 +64,10 @@ export declare const getActiveUsers: import("h3").EventHandlerWithFetch<import("
64
64
  error: string;
65
65
  users?: undefined;
66
66
  } | {
67
- error?: undefined;
68
67
  users: {
69
68
  clientId: number;
70
69
  lastSeen: number;
71
70
  }[];
71
+ error?: undefined;
72
72
  }>>;
73
73
  //# sourceMappingURL=awareness.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"awareness.d.ts","sourceRoot":"","sources":["../../src/collab/awareness.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAS3C,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAOD,eAAO,MAAM,sBAAsB,EAAG,kBAA2B,CAAC;AAElE,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,WAAW,CAAC;IACpB,IAAI,EAAE,kBAAkB,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,MAAM,EAAE,KAAK,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAKD,wB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f,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAKD,wBAAgB,mBAAmB,IAAI,YAAY,CAElD;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,KAAK,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,EAClD,KAAK,CAAC,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACb,IAAI,CAUN;AAKD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAO1E;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,GAAG,IAAI,CAOnE;AAUD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;;;;;kBAuCa,MAAM;eAAS,MAAM;;;GAa1D,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;kBAWM,MAAM;kBAAY,MAAM;;;GAMvD,CAAC"}
@@ -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
@@ -23,10 +23,10 @@ export declare function resolveAgentEngineApiKeyWriteTarget(event: H3Event, scop
23
23
  error: string;
24
24
  }>;
25
25
  export declare function createAgentEngineApiKeyHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
26
- ok?: undefined;
27
26
  error: any;
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.7",
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": {