Skip to content

Commit 3cfc850

Browse files
committed
Pin zod to v3 to unbreak docs build
@astrojs/sitemap@3.7.2 declared zod@^4.3.6 as a direct dep, and zod-to-json-schema@3.25.2 (an astro transitive) accepts v3 or v4, so npm hoisted zod@4 at the root. Vite's SSR bundler then resolved "zod" to v4 during the docs build, which crashes Starlight's HeadConfigSchema (written for zod v3's z.record() single-arg form) with "Cannot read properties of undefined (reading '_zod')" while rendering the 404 route. - Pin @astrojs/sitemap to 3.7.0 (last zod-v3-compatible release); later versions use v4-only syntax internally so we can't just override zod for them. - Add an "overrides" block to force zod@3.25.76 across the tree so zod-to-json-schema stops hoisting v4. - Sync regenerated docs changelog (incidental, produced by the sync-changelog.mjs step in npm run build). Note: dependabot PR #57 would bump sitemap to 3.7.1 and re-break this. Close or ignore that PR.
1 parent 2b5cc46 commit 3cfc850

3 files changed

Lines changed: 38 additions & 26 deletions

File tree

docs/package-lock.json

Lines changed: 22 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"astro": "astro"
1212
},
1313
"dependencies": {
14-
"@astrojs/sitemap": "^3.7.0",
14+
"@astrojs/sitemap": "3.7.0",
1515
"@astrojs/starlight": "^0.37.6",
1616
"@astrojs/starlight-tailwind": "^4.0.2",
1717
"@fontsource-variable/plus-jakarta-sans": "^5.2.8",
@@ -28,5 +28,8 @@
2828
"starlight-tags": "^0.4.0",
2929
"starlight-versions": "^0.7.0",
3030
"tailwindcss": "^4.2.1"
31+
},
32+
"overrides": {
33+
"zod": "3.25.76"
3134
}
3235
}

docs/src/content/docs/reference/changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ For minor and patch updates, you can usually just rebuild the container. Check t
4747

4848
## Version History
4949

50+
## v2.2.1 — 2026-04-16
51+
52+
### Configuration
53+
54+
- **Thinking display set to summarized**`cc`, `claude`, `ccw`, and `cc-orc` aliases now pass `--thinking-display summarized`, keeping the terminal tidy while still surfacing thinking. `ccraw` is unaffected (stays vanilla).
55+
- **View mode set to focus**`viewMode` changed from `verbose` to `focus` in default settings for a cleaner terminal UI.
56+
57+
### Fixes
58+
59+
- **Disallowed tools alias splitting** — oh-my-claude disallowed tools are now stored as a bash array and expanded per-argument in the Claude aliases, so `--disallowedTools` and each tool name are passed as separate argv entries in both bash and zsh.
60+
5061
## v2.2.0 — 2026-04-16
5162

5263
### Claude Code Router
@@ -84,6 +95,7 @@ For minor and patch updates, you can usually just rebuild the container. Check t
8495
- **Model upgrade** — all 9 opus-based agents now pinned to explicit `opus-4-5` model version (architect, documenter, implementer, investigator, migrator, refactorer, security-auditor, spec-writer, test-writer)
8596
- **Worktree isolation removed** — write-capable agents (documenter, implementer, migrator, refactorer, test-writer) now run in the main worktree instead of isolated git worktrees
8697
- **Model tier upgrade** — investigator and security-auditor upgraded from sonnet to opus for improved analysis quality
98+
- **Effort levels configured** — all 19 agents and 23 skills now have `effort:` frontmatter for Opus 4.7 adaptive thinking
8799

88100
### Configuration
89101

0 commit comments

Comments
 (0)