@copilotkitnext/agent 0.0.22-alpha.9 → 0.0.23

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.
@@ -1,23 +1,23 @@
1
1
 
2
2
  
3
- > @copilotkitnext/agent@0.0.22-alpha.9 build /Users/ran/Desktop/vnext_experimental/packages/agent
3
+ > @copilotkitnext/agent@0.0.23 build /Users/mme/Projects/CopilotKit2/main/packages/agent
4
4
  > tsup
5
5
 
6
6
  CLI Building entry: src/index.ts
7
7
  CLI Using tsconfig: tsconfig.json
8
8
  CLI tsup v8.5.0
9
- CLI Using tsup config: /Users/ran/Desktop/vnext_experimental/packages/agent/tsup.config.ts
9
+ CLI Using tsup config: /Users/mme/Projects/CopilotKit2/main/packages/agent/tsup.config.ts
10
10
  CLI Target: es2022
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
14
  ESM dist/index.mjs 20.84 KB
15
15
  ESM dist/index.mjs.map 43.55 KB
16
- ESM ⚡️ Build success in 11ms
16
+ ESM ⚡️ Build success in 13ms
17
17
  CJS dist/index.js 22.62 KB
18
18
  CJS dist/index.js.map 43.60 KB
19
- CJS ⚡️ Build success in 11ms
19
+ CJS ⚡️ Build success in 14ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 1667ms
21
+ DTS ⚡️ Build success in 2105ms
22
22
  DTS dist/index.d.ts 5.88 KB
23
23
  DTS dist/index.d.mts 5.88 KB
@@ -0,0 +1,4 @@
1
+
2
+ > @copilotkitnext/agent@0.0.13-alpha.1 check-types /Users/mme/Projects/CopilotKit2/main/packages/agent
3
+ > tsc --noEmit
4
+
@@ -0,0 +1,83 @@
1
+
2
+ 
3
+ > @copilotkitnext/agent@0.0.21 test /Users/mme/Projects/CopilotKit2/main/packages/agent
4
+ > vitest run
5
+
6
+ [?25l
7
+  RUN  v3.2.4 /Users/mme/Projects/CopilotKit2/main/packages/agent
8
+
9
+ [?2026h
10
+  ❯ src/__tests__/utils.test.ts [queued]
11
+
12
+  Test Files 0 passed (4)
13
+  Tests 0 passed (0)
14
+  Start at 15:45:20
15
+  Duration 308ms
16
+ [?2026l[?2026h
17
+  ❯ src/__tests__/basic-agent.test.ts [queued]
18
+  ❯ src/__tests__/property-overrides.test.ts [queued]
19
+  ❯ src/__tests__/state-tools.test.ts [queued]
20
+  ❯ src/__tests__/utils.test.ts [queued]
21
+
22
+  Test Files 0 passed (4)
23
+  Tests 0 passed (0)
24
+  Start at 15:45:20
25
+  Duration 532ms
26
+ [?2026l[?2026h
27
+  ❯ src/__tests__/basic-agent.test.ts [queued]
28
+  ❯ src/__tests__/property-overrides.test.ts [queued]
29
+  ❯ src/__tests__/state-tools.test.ts [queued]
30
+  ❯ src/__tests__/utils.test.ts [queued]
31
+
32
+  Test Files 0 passed (4)
33
+  Tests 0 passed (0)
34
+  Start at 15:45:20
35
+  Duration 959ms
36
+ [?2026l[?2026h
37
+  ❯ src/__tests__/basic-agent.test.ts 0/14
38
+  ❯ src/__tests__/property-overrides.test.ts [queued]
39
+  ❯ src/__tests__/state-tools.test.ts [queued]
40
+  ❯ src/__tests__/utils.test.ts [queued]
41
+
42
+  Test Files 0 passed (4)
43
+  Tests 0 passed (14)
44
+  Start at 15:45:20
45
+  Duration 1.47s
46
+ [?2026l[?2026h
47
+  ❯ src/__tests__/basic-agent.test.ts 1/14
48
+  ❯ src/__tests__/property-overrides.test.ts [queued]
49
+  ❯ src/__tests__/state-tools.test.ts [queued]
50
+  ❯ src/__tests__/utils.test.ts [queued]
51
+
52
+  Test Files 0 passed (4)
53
+  Tests 1 passed (14)
54
+  Start at 15:45:20
55
+  Duration 1.69s
56
+ [?2026l[?2026h ✓ src/__tests__/basic-agent.test.ts (14 tests) 16ms
57
+
58
+  ❯ src/__tests__/property-overrides.test.ts 0/21
59
+  ❯ src/__tests__/state-tools.test.ts [queued]
60
+  ❯ src/__tests__/utils.test.ts [queued]
61
+
62
+  Test Files 1 passed (4)
63
+  Tests 14 passed (35)
64
+  Start at 15:45:20
65
+  Duration 1.80s
66
+ [?2026l[?2026h ✓ src/__tests__/property-overrides.test.ts (21 tests) 47ms
67
+
68
+  ❯ src/__tests__/state-tools.test.ts 0/10
69
+  ❯ src/__tests__/utils.test.ts 1/27
70
+
71
+  Test Files 2 passed (4)
72
+  Tests 36 passed (72)
73
+  Start at 15:45:20
74
+  Duration 1.90s
75
+ [?2026l ✓ src/__tests__/utils.test.ts (27 tests) 9ms
76
+ ✓ src/__tests__/state-tools.test.ts (10 tests) 13ms
77
+
78
+  Test Files  4 passed (4)
79
+  Tests  72 passed (72)
80
+  Start at  15:45:20
81
+  Duration  2.09s (transform 922ms, setup 0ms, collect 5.13s, tests 84ms, environment 1ms, prepare 669ms)
82
+
83
+ [?25h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkitnext/agent",
3
- "version": "0.0.22-alpha.9",
3
+ "version": "0.0.23",
4
4
  "description": "Basic Agent for CopilotKit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "@copilotkitnext/eslint-config": "0.0.0"
26
26
  },
27
27
  "dependencies": {
28
- "@ag-ui/client": "0.0.41-alpha.0",
28
+ "@ag-ui/client": "0.0.42-alpha.1",
29
29
  "@ai-sdk/anthropic": "^2.0.22",
30
30
  "@ai-sdk/google": "^2.0.17",
31
31
  "@ai-sdk/mcp": "^0.0.8",
package/tsup.config.ts CHANGED
@@ -1,12 +1,11 @@
1
1
  import { defineConfig } from 'tsup';
2
2
 
3
- const isWatch = process.argv.includes("--watch");
4
-
5
3
  export default defineConfig({
6
4
  entry: ['src/index.ts'],
7
5
  format: ['cjs', 'esm'],
8
6
  dts: true,
9
7
  sourcemap: true,
10
- clean: !isWatch,
11
- external: [],
12
- });
8
+ clean: true,
9
+ target: 'es2022',
10
+ outDir: 'dist',
11
+ });