@agent-native/core 0.198.7 → 0.198.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.
@@ -139,8 +139,8 @@ export declare function createAutomationCallbackHandler(runtime: AutomationRunti
139
139
  duplicate?: undefined;
140
140
  eventId?: undefined;
141
141
  } | {
142
- error?: undefined;
143
142
  accepted: boolean;
144
143
  duplicate: boolean;
145
144
  eventId: string;
145
+ error?: undefined;
146
146
  }>;
@@ -925,7 +925,12 @@ export async function runUpgrade(argv, io = defaultIo) {
925
925
  }
926
926
  let codemodPlan;
927
927
  if (opts.codemods) {
928
- const codemodModule = await loadOptionalPeer("ts-morph", () => import("./migration-codemod.js"));
928
+ // Keep this specifier computed so client builds do not package the Node-only codemod.
929
+ const codemodModulePath = new URL([
930
+ "./migration-codemod",
931
+ import.meta.url.endsWith(".ts") ? "ts" : "js",
932
+ ].join("."), import.meta.url).href;
933
+ const codemodModule = await loadOptionalPeer("ts-morph", () => import(/* @vite-ignore */ codemodModulePath));
929
934
  const codemodResult = codemodModule.runMigrationCodemods({
930
935
  root: project.root,
931
936
  targetExists: codemodModule.createMigrationPlanningTargetResolver(project.root),
@@ -1,6 +1,6 @@
1
1
  export declare const postCollabJson: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
2
- error: string;
3
2
  ok?: undefined;
3
+ error: string;
4
4
  } | {
5
5
  error?: undefined;
6
6
  ok: boolean;
@@ -42,8 +42,8 @@ declare const _default: import("../../action.js").ActionDefinition<{
42
42
  url: string;
43
43
  id: string;
44
44
  provider: string;
45
- error?: undefined;
46
45
  configured?: undefined;
46
+ error?: undefined;
47
47
  } | {
48
48
  url?: undefined;
49
49
  id?: undefined;
@@ -11,9 +11,9 @@ declare const _default: import("../../action.js").ActionDefinition<{
11
11
  enabled?: undefined;
12
12
  nextRun?: undefined;
13
13
  } | {
14
- deleted?: undefined;
15
14
  name: string;
16
15
  enabled: boolean;
17
16
  nextRun: string;
17
+ deleted?: undefined;
18
18
  }>;
19
19
  export default _default;
@@ -28,32 +28,32 @@ export declare function createObservabilityHandler(): import("h3").EventHandlerW
28
28
  avgEvalScore: number;
29
29
  } | {
30
30
  id?: undefined;
31
- ok?: undefined;
32
31
  error: string;
33
32
  message: string;
34
33
  summary?: undefined;
35
34
  spans?: undefined;
35
+ ok?: undefined;
36
36
  } | {
37
37
  id?: undefined;
38
38
  error?: undefined;
39
- ok?: undefined;
40
39
  message?: undefined;
41
40
  summary: import("./types.js").TraceSummary;
42
41
  spans: import("./types.js").TraceSpan[];
42
+ ok?: undefined;
43
43
  } | {
44
44
  error?: undefined;
45
- ok?: undefined;
46
45
  message?: undefined;
47
46
  summary?: undefined;
48
47
  spans?: undefined;
49
48
  id: string;
49
+ ok?: undefined;
50
50
  } | {
51
51
  id?: undefined;
52
- ok?: undefined;
53
52
  message?: undefined;
54
53
  summary?: undefined;
55
54
  spans?: undefined;
56
55
  error: any;
56
+ ok?: undefined;
57
57
  } | {
58
58
  id?: undefined;
59
59
  error?: undefined;
@@ -2,6 +2,6 @@ export declare function createProgressHandler(): import("h3").EventHandlerWithFe
2
2
  error: string;
3
3
  ok?: undefined;
4
4
  } | {
5
- error?: undefined;
6
5
  ok: boolean;
6
+ error?: undefined;
7
7
  }>>;
@@ -2822,8 +2822,7 @@ export function createAgentChatPlugin(options) {
2822
2822
  // executes with exactly the tools the orchestrator intended.
2823
2823
  const buildSubAgentActions = () => isDevMode()
2824
2824
  ? {
2825
- // Sub-agents spawned in dev mode also invoke template actions
2826
- // via bash, so omit them from the native tool registry.
2825
+ ...templateScripts,
2827
2826
  ...resourceScripts,
2828
2827
  ...docsScripts,
2829
2828
  ...(lazyContext ? frameworkContextTool : {}),
@@ -65,8 +65,8 @@ export declare function createAgentEngineApiKeyHandler(): import("h3").EventHand
65
65
  error: any;
66
66
  code: any;
67
67
  } | {
68
- error?: undefined;
69
68
  errorCode?: undefined;
69
+ error?: undefined;
70
70
  code?: undefined;
71
71
  ok: boolean;
72
72
  key: string;
@@ -9,16 +9,16 @@ 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
- scope?: undefined;
13
12
  ok?: undefined;
13
+ scope?: undefined;
14
14
  } | {
15
15
  ok: boolean;
16
16
  error: any;
17
17
  scope?: undefined;
18
18
  } | {
19
+ error?: undefined;
19
20
  ok: boolean;
20
21
  scope: "org" | "user";
21
- error?: undefined;
22
22
  }>>;
23
23
  export interface DefaultModelSelectionRequest {
24
24
  engine: string;
@@ -13,8 +13,6 @@ declare const _default: import("../../action.js").ActionDefinition<{
13
13
  executionEngine?: string;
14
14
  executionCwd?: string;
15
15
  }, {
16
- deleted?: undefined;
17
- enabled?: undefined;
18
16
  created: boolean;
19
17
  name: string;
20
18
  scope: "organization" | "personal";
@@ -25,31 +23,33 @@ declare const _default: import("../../action.js").ActionDefinition<{
25
23
  reasoningEffort: "auto" | "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh";
26
24
  webhookPath: string;
27
25
  nextRun: string;
26
+ deleted?: undefined;
27
+ enabled?: undefined;
28
28
  executionHostId?: undefined;
29
29
  executionEngine?: undefined;
30
30
  executionCwd?: undefined;
31
31
  } | {
32
- enabled?: undefined;
33
- nextRun?: undefined;
34
32
  created?: undefined;
35
33
  scope?: undefined;
36
34
  triggerType?: undefined;
37
35
  event?: undefined;
38
36
  deleted: boolean;
39
37
  name: string;
38
+ enabled?: undefined;
40
39
  schedule?: undefined;
41
40
  timezone?: undefined;
42
41
  reasoningEffort?: undefined;
43
42
  executionHostId?: undefined;
44
43
  executionEngine?: undefined;
45
44
  executionCwd?: undefined;
45
+ nextRun?: undefined;
46
46
  webhookPath?: undefined;
47
47
  } | {
48
- deleted?: undefined;
49
48
  created?: undefined;
50
49
  scope?: undefined;
51
50
  triggerType?: undefined;
52
51
  event?: undefined;
52
+ deleted?: undefined;
53
53
  name: string;
54
54
  enabled: boolean;
55
55
  schedule: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.198.7",
3
+ "version": "0.198.8",
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": {
@@ -662,8 +662,8 @@
662
662
  "yaml": "^2.9.0",
663
663
  "yjs": "^13.6.33",
664
664
  "zod": "^4.3.6",
665
- "@agent-native/agentkit": "^0.198.7",
666
- "@agent-native/recap-cli": "^0.5.57"
665
+ "@agent-native/recap-cli": "^0.5.58",
666
+ "@agent-native/agentkit": "^0.198.8"
667
667
  },
668
668
  "devDependencies": {
669
669
  "@ai-sdk/anthropic": "^3.0.71",