sandbox-runtime is an Anthropic-internal package not available to open-source consumers. Converting the static import to a lazy require() with no-op fallback prevents "Cannot find package" errors when the SDK is used in Next.js and other bundled environments. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
35 lines
398 B
Plaintext
35 lines
398 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Build output
|
|
dist/
|
|
cli.mjs
|
|
|
|
# Native vendor binaries (platform-specific, download at install)
|
|
vendor/
|
|
src/utils/vendor/
|
|
|
|
# Package archives
|
|
*.tgz
|
|
|
|
# Environment / secrets
|
|
.env
|
|
.env.*
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Debug / logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Lock file (optional: include if you want reproducible builds)
|
|
# package-lock.json
|