@theokit/cli 2.0.0 → 3.0.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @theokit/sdk@4.0.0
9
+ - @theokit/acp@3.0.0
10
+
11
+ ## 2.0.1
12
+
13
+ ### Patch Changes
14
+
15
+ - SE38 (#116) — `theokit init` scaffold templates (`minimal`, `ollama-local`,
16
+ `telegram-bot`) now pin `zod@^4.0.0` instead of `^3.25.0`. The SDK imports the top-level
17
+ `toJSONSchema` export (zod v4 only; under 3.25 it lives at `zod/v4`) and its peer already
18
+ required `zod@^4`, so the old pin resolved to v3 and crashed a scaffolded project with
19
+ `does not provide an export named 'toJSONSchema'` on the first `Tool.create`. A regression
20
+ test derives the required major from the SDK's own `peerDependencies.zod` so a template can
21
+ never drift below the peer again.
22
+ - Updated dependencies
23
+ - @theokit/sdk@3.7.0
24
+
3
25
  ## 2.0.0
4
26
 
5
27
  ### Patch Changes
@@ -645,8 +645,8 @@ ${pc5__default.default.green("\u2713")} ${result.aggregate.totalRows} rows \xB7
645
645
  }
646
646
 
647
647
  // src/version.ts
648
- var SDK_VERSION = "3.0.0";
649
- var CLI_VERSION = "2.0.0";
648
+ var SDK_VERSION = "4.0.1";
649
+ var CLI_VERSION = "3.0.0";
650
650
 
651
651
  // src/init/templates.ts
652
652
  var TEMPLATES = [
@@ -619,8 +619,8 @@ ${pc5.green("\u2713")} ${result.aggregate.totalRows} rows \xB7 mean score ${resu
619
619
  }
620
620
 
621
621
  // src/version.ts
622
- var SDK_VERSION = "3.0.0";
623
- var CLI_VERSION = "2.0.0";
622
+ var SDK_VERSION = "4.0.1";
623
+ var CLI_VERSION = "3.0.0";
624
624
 
625
625
  // src/init/templates.ts
626
626
  var TEMPLATES = [
package/dist/index.cjs CHANGED
@@ -645,8 +645,8 @@ ${pc5__default.default.green("\u2713")} ${result.aggregate.totalRows} rows \xB7
645
645
  }
646
646
 
647
647
  // src/version.ts
648
- var SDK_VERSION = "3.0.0";
649
- var CLI_VERSION = "2.0.0";
648
+ var SDK_VERSION = "4.0.1";
649
+ var CLI_VERSION = "3.0.0";
650
650
 
651
651
  // src/init/templates.ts
652
652
  var TEMPLATES = [
package/dist/index.js CHANGED
@@ -619,8 +619,8 @@ ${pc5.green("\u2713")} ${result.aggregate.totalRows} rows \xB7 mean score ${resu
619
619
  }
620
620
 
621
621
  // src/version.ts
622
- var SDK_VERSION = "3.0.0";
623
- var CLI_VERSION = "2.0.0";
622
+ var SDK_VERSION = "4.0.1";
623
+ var CLI_VERSION = "3.0.0";
624
624
 
625
625
  // src/init/templates.ts
626
626
  var TEMPLATES = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theokit/cli",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "Developer CLI for @theokit/sdk — init, dev, inspect, eval. Adoption Roadmap #1.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -38,10 +38,10 @@
38
38
  "picocolors": "^1.0.0",
39
39
  "tsx": "^4.19.0",
40
40
  "zod": "^4.0.0",
41
- "@theokit/sdk": "^3.0.0"
41
+ "@theokit/sdk": "^4.0.1"
42
42
  },
43
43
  "peerDependencies": {
44
- "@theokit/acp": "^2.0.0"
44
+ "@theokit/acp": "^3.0.0"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "@theokit/acp": {
@@ -53,7 +53,7 @@
53
53
  "tsup": "^8.5.0",
54
54
  "typescript": "^5.8.0",
55
55
  "vitest": "^4.1.8",
56
- "@theokit/acp": "2.0.0"
56
+ "@theokit/acp": "3.0.0"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public"
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@theokit/sdk": "^{{sdkVersion}}",
12
- "zod": "^3.25.0"
12
+ "zod": "^4.0.0"
13
13
  },
14
14
  "devDependencies": {
15
15
  "tsx": "^4.19.0",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@theokit/sdk": "^{{sdkVersion}}",
12
- "zod": "^3.25.0"
12
+ "zod": "^4.0.0"
13
13
  },
14
14
  "devDependencies": {
15
15
  "tsx": "^4.19.0",
@@ -12,7 +12,7 @@
12
12
  "@theokit/gateway": "^{{sdkVersion}}",
13
13
  "@theokit/gateway-telegram": "^{{sdkVersion}}",
14
14
  "grammy": "^1.30.0",
15
- "zod": "^3.25.0"
15
+ "zod": "^4.0.0"
16
16
  },
17
17
  "devDependencies": {
18
18
  "tsx": "^4.19.0",