Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"devDependencies": {
"@alcalzone/ansi-tokenize": "0.3.0",
"@anthropic-ai/bedrock-sdk": "0.29.1",
"@sentry/node": "^10.70.0",
"@anthropic-ai/foundry-sdk": "0.2.3",
"@anthropic-ai/sandbox-runtime": "0.0.55",
"@anthropic-ai/sdk": "0.94.0",
Expand Down
7 changes: 7 additions & 0 deletions scripts/externals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
export const COMMON_EXTERNALS: string[] = [
// Native image processing
'sharp',
// Optional Sentry error reporting — dynamically required in utils/sentry.ts
// only when SENTRY_DSN is set. Not shipped by default; kept external so
// esbuild doesn't try to inline it.
'@sentry/node',
// Cloud provider SDKs
'@aws-sdk/client-bedrock',
'@aws-sdk/client-bedrock-runtime',
Expand Down Expand Up @@ -88,6 +92,9 @@ export const OPTIONAL_RUNTIME_EXTERNALS: string[] = [
// Optional: only image reads need it, and it carries a native install
// script. Kept opt-in so default installs run no install scripts.
'sharp',
// Sentry error reporting — loaded via require() in utils/sentry.ts only
// when SENTRY_DSN is set. Optional: most users never enable this.
'@sentry/node',
]

// OPTIONAL_RUNTIME_EXTERNALS that are loaded ONLY through the runtime importer
Expand Down
Loading