The final line of the main @openrouter/sdk/esm/index.js file points to a sourcemap:
$ tail node_modules/@openrouter/sdk/esm/index.js
export { extractUnsupportedContent, getUnsupportedContentSummary, hasUnsupportedContent, } from './lib/stream-transformers.js';
// Tool creation helpers
export { tool } from './lib/tool.js';
export { hasExecuteFunction, isGeneratorTool, isRegularExecuteTool, isToolPreliminaryResultEvent, ToolType, } from './lib/tool-types.js';
// Turn context helpers
export { buildTurnContext, normalizeInputToArray } from './lib/turn-context.js';
// Real-time tool event broadcasting
export { ToolEventBroadcaster } from './lib/tool-event-broadcaster.js';
export * from './sdk/sdk.js';
//# sourceMappingURL=index.js.map
However that file does not actually exist:
$ ls node_modules/@openrouter/sdk/esm/
core.d.ts funcs index.d.ts lib sdk
core.js hooks index.js models types
This causes some tools, like swc, to throw an error:

Could you either ship the sourcemaps with the npm package or just remove the sourcemap declaration?
The final line of the main
@openrouter/sdk/esm/index.jsfile points to a sourcemap:However that file does not actually exist:
This causes some tools, like swc, to throw an error:

Could you either ship the sourcemaps with the npm package or just remove the sourcemap declaration?