Commit 8516d13
fix: speed up docs build by switching to static output (#890)
* fix(web): switch docs site from SSR to static build
Remove unnecessary server-side rendering setup that was slowing down
Cloudflare Pages builds. The docs site doesn't need SSR — static output
builds in ~20s vs timing out with the Cloudflare adapter.
- Remove @astrojs/cloudflare adapter and output: 'server'
- Remove unused sharp dependency (imageService was already 'passthrough')
- Custom 404 page continues to work via static 404.html
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(core): make claude-agent-sdk an optional peer dependency
Move @anthropic-ai/claude-agent-sdk from dependencies to optional
peerDependencies, matching the pattern used by pi-coding-agent.
Add local type declaration so typecheck passes without the package
installed. The SDK is already lazy-loaded at runtime.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: update lockfile after removing unused dependencies
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(web): use noop image service after removing sharp
Astro's default image service requires sharp. Since we removed it,
configure the noop service to pass images through without processing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 51ea61c commit 8516d13
5 files changed
Lines changed: 53 additions & 368 deletions
File tree
- apps/web
- packages/core
- src/types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
0 commit comments