@agent-native/core 0.198.8-nightly-20261001011752 → 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.
@@ -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),
@@ -38,19 +38,19 @@ export declare const postAwareness: import("h3").EventHandlerWithFetch<import("h
38
38
  error: string;
39
39
  states?: undefined;
40
40
  } | {
41
+ error?: undefined;
41
42
  states: {
42
43
  clientId: number;
43
44
  state: string;
44
45
  }[];
45
- error?: undefined;
46
46
  }>>;
47
47
  export declare const getActiveUsers: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
48
48
  error: string;
49
49
  users?: undefined;
50
50
  } | {
51
+ error?: undefined;
51
52
  users: {
52
53
  clientId: number;
53
54
  lastSeen: number;
54
55
  }[];
55
- error?: undefined;
56
56
  }>>;
@@ -8,16 +8,16 @@ export declare const getCollabState: import("h3").EventHandlerWithFetch<import("
8
8
  state: string;
9
9
  }>>;
10
10
  export declare const postCollabUpdate: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
11
- ok?: undefined;
12
11
  error: string;
12
+ ok?: undefined;
13
13
  } | {
14
14
  error?: undefined;
15
15
  ok: boolean;
16
16
  }>>;
17
17
  export declare const postCollabText: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
18
18
  ok?: undefined;
19
- text?: undefined;
20
19
  error: string;
20
+ text?: undefined;
21
21
  } | {
22
22
  error?: undefined;
23
23
  ok: boolean;
@@ -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
  }>>;
@@ -39,8 +39,8 @@ export declare function handleUpdateResource(event: any): Promise<import("./stor
39
39
  error: string;
40
40
  }>;
41
41
  export declare function handleDeleteResource(event: any): Promise<{
42
- ok?: undefined;
43
42
  error: string;
43
+ ok?: undefined;
44
44
  } | {
45
45
  error?: undefined;
46
46
  ok: boolean;
@@ -55,31 +55,31 @@ export declare function createWriteSecretHandler(): import("h3").EventHandlerWit
55
55
  } | {
56
56
  error: string;
57
57
  errorCode?: undefined;
58
- ok?: undefined;
59
58
  status?: undefined;
59
+ ok?: undefined;
60
60
  } | {
61
61
  error: string;
62
62
  errorCode: string;
63
- ok?: undefined;
64
63
  status?: undefined;
64
+ ok?: undefined;
65
65
  } | {
66
66
  errorCode?: undefined;
67
67
  ok: boolean;
68
68
  status: string;
69
69
  error?: undefined;
70
70
  } | {
71
- ok?: undefined;
72
71
  error: string;
73
72
  removed?: undefined;
73
+ ok?: undefined;
74
74
  } | {
75
75
  ok: boolean;
76
76
  removed: boolean;
77
77
  error?: undefined;
78
78
  }>>;
79
79
  export declare function createTestSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
80
- ok?: undefined;
81
80
  error: string;
82
81
  note?: undefined;
82
+ ok?: undefined;
83
83
  } | {
84
84
  ok: boolean;
85
85
  note?: undefined;
@@ -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;
@@ -1,7 +1,7 @@
1
1
  export declare function createAgentEngineOllamaModelsHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
2
2
  error: string;
3
- ok?: undefined;
4
3
  models?: undefined;
4
+ ok?: undefined;
5
5
  } | {
6
6
  error?: undefined;
7
7
  ok: boolean;
@@ -54,8 +54,8 @@ export declare function createRealtimeTokenHandler(): import("h3").EventHandlerW
54
54
  expiresAt?: undefined;
55
55
  ttlSeconds?: undefined;
56
56
  } | {
57
+ error?: undefined;
57
58
  token: string;
58
59
  expiresAt: string;
59
60
  ttlSeconds: number;
60
- error?: undefined;
61
61
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.198.8-nightly-20261001011752",
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/recap-cli": "^0.5.57",
666
- "@agent-native/agentkit": "^0.198.8-nightly-20261001011752"
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",
@@ -734,7 +734,7 @@
734
734
  "xlsx": "^0.18.5"
735
735
  },
736
736
  "peerDependencies": {
737
- "@agent-native/core-corpus": "0.198.8-nightly-20261001011752",
737
+ "@agent-native/core-corpus": ">=0.196.0",
738
738
  "@ai-sdk/anthropic": ">=3",
739
739
  "@ai-sdk/cohere": ">=3",
740
740
  "@ai-sdk/google": ">=3",