Skip to content

Commit eb6e504

Browse files
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

File tree

discord-server/package-lock.json

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

discord-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"cleanup:local": "curl -X POST -s http://localhost:3001/admin/cleanup-threads | jq"
1515
},
1616
"dependencies": {
17-
"@anthropic-ai/claude-agent-sdk": "^0.1.9",
17+
"@anthropic-ai/claude-agent-sdk": "^0.1.55",
1818
"discord.js": "^14.15.3",
1919
"dotenv": "^16.3.1",
2020
"express": "^5.1.0",

0 commit comments

Comments
 (0)