@theokit/cli 2.0.0 → 2.0.1

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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - SE38 (#116) — `theokit init` scaffold templates (`minimal`, `ollama-local`,
8
+ `telegram-bot`) now pin `zod@^4.0.0` instead of `^3.25.0`. The SDK imports the top-level
9
+ `toJSONSchema` export (zod v4 only; under 3.25 it lives at `zod/v4`) and its peer already
10
+ required `zod@^4`, so the old pin resolved to v3 and crashed a scaffolded project with
11
+ `does not provide an export named 'toJSONSchema'` on the first `Tool.create`. A regression
12
+ test derives the required major from the SDK's own `peerDependencies.zod` so a template can
13
+ never drift below the peer again.
14
+ - Updated dependencies
15
+ - @theokit/sdk@3.7.0
16
+
3
17
  ## 2.0.0
4
18
 
5
19
  ### 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 = "3.7.0";
649
+ var CLI_VERSION = "2.0.1";
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 = "3.7.0";
623
+ var CLI_VERSION = "2.0.1";
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 = "3.7.0";
649
+ var CLI_VERSION = "2.0.1";
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 = "3.7.0";
623
+ var CLI_VERSION = "2.0.1";
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": "2.0.1",
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,7 +38,7 @@
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": "^3.7.0"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@theokit/acp": "^2.0.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",
@@ -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",