Files
Dani 0d73e0b498 feat(cloudflare): Upgrade to claude-agent-sdk v0.1.23 with settingSources support
- Updated @anthropic-ai/claude-agent-sdk from ^0.1.0 to ^0.1.23
- Replaced manual agent loading with automatic settingSources: ['project']
- Removed temporary workaround for agent loading (SDK now properly supports it)
- Added gitignore entries for local test directories
- Verified settingSources functionality works with SDK v0.1.23

The latest SDK version properly supports automatic agent loading from .claude/ directory,
eliminating the need for manual file reading and systemPrompt manipulation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 19:44:32 -04:00

55 lines
1.3 KiB
JSON

{
"name": "cloudflare-claude-sandbox",
"version": "1.0.0",
"description": "Cloudflare Workers sandbox for executing Claude Code with AI-powered code generation",
"type": "module",
"main": "src/index.ts",
"scripts": {
"dev": "wrangler dev",
"deploy": "wrangler deploy",
"tail": "wrangler tail",
"launch": "tsx launcher.ts",
"monitor": "tsx monitor.ts",
"test": "vitest",
"test:watch": "vitest --watch",
"type-check": "tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.23",
"@cloudflare/sandbox": "^0.1.0",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.1.0",
"@cloudflare/workers-types": "^4.20240129.0",
"@types/node": "^20.11.0",
"prettier": "^3.2.4",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vitest": "^1.2.0",
"wrangler": "^3.78.12"
},
"engines": {
"node": ">=16.17.0"
},
"keywords": [
"cloudflare",
"workers",
"sandbox",
"claude",
"anthropic",
"ai",
"code-execution",
"durable-objects",
"edge-computing"
],
"author": "Claude Code Templates",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/anthropics/claude-code-templates"
}
}