Commit eb6e504
feat: upgrade Claude Agent SDK from 0.1.9 to 0.1.55 for Skills support
**Critical Fix: Enable Skills in Discord Bot**
The bot was running SDK v0.1.9 which predates Skills support
(released in Oct 2025). This prevented auto-loading of project
Skills like content-router when users posted URLs.
**Changes:**
- Upgrade @anthropic-ai/claude-agent-sdk: ^0.1.9 → ^0.1.55
- Code already prepared with settingSources: ['user', 'project', 'local']
- Code already using new systemPrompt format: { type: 'preset', preset: 'claude_code' }
**Why This Fixes Skills:**
- SDK 0.1.55 includes settingSources option (missing in 0.1.9)
- Skills are loaded from .claude/skills/ via settingSources config
- Auto-detection works when Skills match task relevance
**New Dependencies:**
- zod (peer dep) - Schema validation for SDK
- @img/sharp-linuxmusl-* - Image processing for Alpine Linux containers
**Testing:**
- Skills directory exists: /srv/claude-jobs/obsidian-vault/.claude/skills/
- Code has settingSources configured in all 3 query() calls
- Ready for CI deployment to Hetzner
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 00be171 commit eb6e504
2 files changed
Lines changed: 98 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments