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>
4 lines
78 B
TypeScript
4 lines
78 B
TypeScript
// @ts-nocheck
|
|
export function register() {}
|
|
export default { register() {} }
|