@restnfeel/agentc-starter-kit
Version:
한국어 기업용 CMS 모듈 - Task Master AI와 함께 빠르게 웹사이트를 구현할 수 있는 재사용 가능한 컴포넌트 시스템
26 lines (24 loc) • 912 B
JavaScript
let auto = false;
let kind = undefined;
let fetch = undefined;
let File = undefined;
let ReadableStream = undefined;
let getDefaultAgent = undefined;
let fileFromPath = undefined;
function setShims(shims, options = { auto: false }) {
if (auto) {
throw new Error(`you must \`import '@anthropic-ai/sdk/shims/${shims.kind}'\` before importing anything else from @anthropic-ai/sdk`);
}
if (kind) {
throw new Error(`can't \`import '@anthropic-ai/sdk/shims/${shims.kind}'\` after \`import '@anthropic-ai/sdk/shims/${kind}'\``);
}
auto = options.auto;
kind = shims.kind;
fetch = shims.fetch;
File = shims.File;
ReadableStream = shims.ReadableStream;
getDefaultAgent = shims.getDefaultAgent;
fileFromPath = shims.fileFromPath;
}
export { File, ReadableStream, auto, fetch, fileFromPath, getDefaultAgent, kind, setShims };
//# sourceMappingURL=registry.js.map