mirror of
https://github.com/Onewon/claude-code.git
synced 2026-04-26 06:41:16 +03:00
Add all the original files from the deleted 0.2.8 npm package
This commit is contained in:
13
vendor/sdk/_shims/index.js
vendored
Normal file
13
vendor/sdk/_shims/index.js
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Disclaimer: modules in _shims aren't intended to be imported by SDK users.
|
||||
*/
|
||||
const shims = require('./registry');
|
||||
const auto = require('@anthropic-ai/sdk/_shims/auto/runtime');
|
||||
if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
|
||||
for (const property of Object.keys(shims)) {
|
||||
Object.defineProperty(exports, property, {
|
||||
get() {
|
||||
return shims[property];
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user