@anthropic-ai/claude-code 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +3 -0
- package/README.md +55 -0
- package/cli.mjs +1398 -0
- package/package.json +31 -0
- package/vendor/ripgrep/COPYING +3 -0
- package/vendor/ripgrep/arm64-darwin/rg +0 -0
- package/vendor/ripgrep/arm64-linux/rg +0 -0
- package/vendor/ripgrep/x64-darwin/rg +0 -0
- package/vendor/ripgrep/x64-linux/rg +0 -0
- package/vendor/ripgrep/x64-win32/rg.exe +0 -0
- package/vendor/sdk/CHANGELOG.md +1421 -0
- package/vendor/sdk/LICENSE +8 -0
- package/vendor/sdk/README.md +536 -0
- package/vendor/sdk/_shims/MultipartBody.d.ts +9 -0
- package/vendor/sdk/_shims/MultipartBody.d.ts.map +1 -0
- package/vendor/sdk/_shims/MultipartBody.js +16 -0
- package/vendor/sdk/_shims/MultipartBody.js.map +1 -0
- package/vendor/sdk/_shims/MultipartBody.mjs +12 -0
- package/vendor/sdk/_shims/MultipartBody.mjs.map +1 -0
- package/vendor/sdk/_shims/README.md +46 -0
- package/vendor/sdk/_shims/auto/runtime-bun.d.ts +5 -0
- package/vendor/sdk/_shims/auto/runtime-bun.d.ts.map +1 -0
- package/vendor/sdk/_shims/auto/runtime-bun.js +21 -0
- package/vendor/sdk/_shims/auto/runtime-bun.js.map +1 -0
- package/vendor/sdk/_shims/auto/runtime-bun.mjs +2 -0
- package/vendor/sdk/_shims/auto/runtime-bun.mjs.map +1 -0
- package/vendor/sdk/_shims/auto/runtime-node.d.ts +5 -0
- package/vendor/sdk/_shims/auto/runtime-node.d.ts.map +1 -0
- package/vendor/sdk/_shims/auto/runtime-node.js +21 -0
- package/vendor/sdk/_shims/auto/runtime-node.js.map +1 -0
- package/vendor/sdk/_shims/auto/runtime-node.mjs +2 -0
- package/vendor/sdk/_shims/auto/runtime-node.mjs.map +1 -0
- package/vendor/sdk/_shims/auto/runtime.d.ts +5 -0
- package/vendor/sdk/_shims/auto/runtime.d.ts.map +1 -0
- package/vendor/sdk/_shims/auto/runtime.js +21 -0
- package/vendor/sdk/_shims/auto/runtime.js.map +1 -0
- package/vendor/sdk/_shims/auto/runtime.mjs +2 -0
- package/vendor/sdk/_shims/auto/runtime.mjs.map +1 -0
- package/vendor/sdk/_shims/auto/types-node.d.ts +5 -0
- package/vendor/sdk/_shims/auto/types-node.d.ts.map +1 -0
- package/vendor/sdk/_shims/auto/types-node.js +21 -0
- package/vendor/sdk/_shims/auto/types-node.js.map +1 -0
- package/vendor/sdk/_shims/auto/types-node.mjs +2 -0
- package/vendor/sdk/_shims/auto/types-node.mjs.map +1 -0
- package/vendor/sdk/_shims/auto/types.d.ts +101 -0
- package/vendor/sdk/_shims/auto/types.js +3 -0
- package/vendor/sdk/_shims/auto/types.mjs +3 -0
- package/vendor/sdk/_shims/bun-runtime.d.ts +6 -0
- package/vendor/sdk/_shims/bun-runtime.d.ts.map +1 -0
- package/vendor/sdk/_shims/bun-runtime.js +14 -0
- package/vendor/sdk/_shims/bun-runtime.js.map +1 -0
- package/vendor/sdk/_shims/bun-runtime.mjs +10 -0
- package/vendor/sdk/_shims/bun-runtime.mjs.map +1 -0
- package/vendor/sdk/_shims/index.d.ts +81 -0
- package/vendor/sdk/_shims/index.js +13 -0
- package/vendor/sdk/_shims/index.mjs +7 -0
- package/vendor/sdk/_shims/manual-types.d.ts +12 -0
- package/vendor/sdk/_shims/manual-types.js +3 -0
- package/vendor/sdk/_shims/manual-types.mjs +3 -0
- package/vendor/sdk/_shims/node-runtime.d.ts +3 -0
- package/vendor/sdk/_shims/node-runtime.d.ts.map +1 -0
- package/vendor/sdk/_shims/node-runtime.js +89 -0
- package/vendor/sdk/_shims/node-runtime.js.map +1 -0
- package/vendor/sdk/_shims/node-runtime.mjs +56 -0
- package/vendor/sdk/_shims/node-runtime.mjs.map +1 -0
- package/vendor/sdk/_shims/node-types.d.ts +42 -0
- package/vendor/sdk/_shims/node-types.js +3 -0
- package/vendor/sdk/_shims/node-types.mjs +3 -0
- package/vendor/sdk/_shims/registry.d.ts +37 -0
- package/vendor/sdk/_shims/registry.d.ts.map +1 -0
- package/vendor/sdk/_shims/registry.js +41 -0
- package/vendor/sdk/_shims/registry.js.map +1 -0
- package/vendor/sdk/_shims/registry.mjs +37 -0
- package/vendor/sdk/_shims/registry.mjs.map +1 -0
- package/vendor/sdk/_shims/web-runtime.d.ts +5 -0
- package/vendor/sdk/_shims/web-runtime.d.ts.map +1 -0
- package/vendor/sdk/_shims/web-runtime.js +78 -0
- package/vendor/sdk/_shims/web-runtime.js.map +1 -0
- package/vendor/sdk/_shims/web-runtime.mjs +71 -0
- package/vendor/sdk/_shims/web-runtime.mjs.map +1 -0
- package/vendor/sdk/_shims/web-types.d.ts +83 -0
- package/vendor/sdk/_shims/web-types.js +3 -0
- package/vendor/sdk/_shims/web-types.mjs +3 -0
- package/vendor/sdk/_vendor/partial-json-parser/parser.d.ts +3 -0
- package/vendor/sdk/_vendor/partial-json-parser/parser.d.ts.map +1 -0
- package/vendor/sdk/_vendor/partial-json-parser/parser.js +226 -0
- package/vendor/sdk/_vendor/partial-json-parser/parser.js.map +1 -0
- package/vendor/sdk/_vendor/partial-json-parser/parser.mjs +223 -0
- package/vendor/sdk/_vendor/partial-json-parser/parser.mjs.map +1 -0
- package/vendor/sdk/core.d.ts +248 -0
- package/vendor/sdk/core.d.ts.map +1 -0
- package/vendor/sdk/core.js +935 -0
- package/vendor/sdk/core.js.map +1 -0
- package/vendor/sdk/core.mjs +903 -0
- package/vendor/sdk/core.mjs.map +1 -0
- package/vendor/sdk/error.d.ts +48 -0
- package/vendor/sdk/error.d.ts.map +1 -0
- package/vendor/sdk/error.js +114 -0
- package/vendor/sdk/error.js.map +1 -0
- package/vendor/sdk/error.mjs +98 -0
- package/vendor/sdk/error.mjs.map +1 -0
- package/vendor/sdk/index.d.mts +152 -0
- package/vendor/sdk/index.d.ts +152 -0
- package/vendor/sdk/index.d.ts.map +1 -0
- package/vendor/sdk/index.js +179 -0
- package/vendor/sdk/index.js.map +1 -0
- package/vendor/sdk/index.mjs +136 -0
- package/vendor/sdk/index.mjs.map +1 -0
- package/vendor/sdk/internal/decoders/jsonl.d.ts +12 -0
- package/vendor/sdk/internal/decoders/jsonl.d.ts.map +1 -0
- package/vendor/sdk/internal/decoders/jsonl.js +35 -0
- package/vendor/sdk/internal/decoders/jsonl.js.map +1 -0
- package/vendor/sdk/internal/decoders/jsonl.mjs +31 -0
- package/vendor/sdk/internal/decoders/jsonl.mjs.map +1 -0
- package/vendor/sdk/internal/decoders/line.d.ts +20 -0
- package/vendor/sdk/internal/decoders/line.d.ts.map +1 -0
- package/vendor/sdk/internal/decoders/line.js +123 -0
- package/vendor/sdk/internal/decoders/line.js.map +1 -0
- package/vendor/sdk/internal/decoders/line.mjs +119 -0
- package/vendor/sdk/internal/decoders/line.mjs.map +1 -0
- package/vendor/sdk/internal/stream-utils.d.ts +8 -0
- package/vendor/sdk/internal/stream-utils.d.ts.map +1 -0
- package/vendor/sdk/internal/stream-utils.js +39 -0
- package/vendor/sdk/internal/stream-utils.js.map +1 -0
- package/vendor/sdk/internal/stream-utils.mjs +35 -0
- package/vendor/sdk/internal/stream-utils.mjs.map +1 -0
- package/vendor/sdk/lib/BetaMessageStream.d.ts +114 -0
- package/vendor/sdk/lib/BetaMessageStream.d.ts.map +1 -0
- package/vendor/sdk/lib/BetaMessageStream.js +547 -0
- package/vendor/sdk/lib/BetaMessageStream.js.map +1 -0
- package/vendor/sdk/lib/BetaMessageStream.mjs +543 -0
- package/vendor/sdk/lib/BetaMessageStream.mjs.map +1 -0
- package/vendor/sdk/lib/MessageStream.d.ts +114 -0
- package/vendor/sdk/lib/MessageStream.d.ts.map +1 -0
- package/vendor/sdk/lib/MessageStream.js +547 -0
- package/vendor/sdk/lib/MessageStream.js.map +1 -0
- package/vendor/sdk/lib/MessageStream.mjs +543 -0
- package/vendor/sdk/lib/MessageStream.mjs.map +1 -0
- package/vendor/sdk/node_modules/@types/node/LICENSE +21 -0
- package/vendor/sdk/node_modules/@types/node/README.md +15 -0
- package/vendor/sdk/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/vendor/sdk/node_modules/@types/node/assert.d.ts +985 -0
- package/vendor/sdk/node_modules/@types/node/async_hooks.d.ts +522 -0
- package/vendor/sdk/node_modules/@types/node/buffer.buffer.d.ts +385 -0
- package/vendor/sdk/node_modules/@types/node/buffer.d.ts +1903 -0
- package/vendor/sdk/node_modules/@types/node/child_process.d.ts +1549 -0
- package/vendor/sdk/node_modules/@types/node/cluster.d.ts +578 -0
- package/vendor/sdk/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/vendor/sdk/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/vendor/sdk/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/vendor/sdk/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
- package/vendor/sdk/node_modules/@types/node/console.d.ts +452 -0
- package/vendor/sdk/node_modules/@types/node/constants.d.ts +19 -0
- package/vendor/sdk/node_modules/@types/node/crypto.d.ts +4453 -0
- package/vendor/sdk/node_modules/@types/node/dgram.d.ts +596 -0
- package/vendor/sdk/node_modules/@types/node/diagnostics_channel.d.ts +546 -0
- package/vendor/sdk/node_modules/@types/node/dns/promises.d.ts +475 -0
- package/vendor/sdk/node_modules/@types/node/dns.d.ts +853 -0
- package/vendor/sdk/node_modules/@types/node/dom-events.d.ts +124 -0
- package/vendor/sdk/node_modules/@types/node/domain.d.ts +170 -0
- package/vendor/sdk/node_modules/@types/node/events.d.ts +819 -0
- package/vendor/sdk/node_modules/@types/node/fs/promises.d.ts +1205 -0
- package/vendor/sdk/node_modules/@types/node/fs.d.ts +4237 -0
- package/vendor/sdk/node_modules/@types/node/globals.d.ts +442 -0
- package/vendor/sdk/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/vendor/sdk/node_modules/@types/node/http.d.ts +1839 -0
- package/vendor/sdk/node_modules/@types/node/http2.d.ts +2517 -0
- package/vendor/sdk/node_modules/@types/node/https.d.ts +544 -0
- package/vendor/sdk/node_modules/@types/node/index.d.ts +90 -0
- package/vendor/sdk/node_modules/@types/node/inspector.d.ts +2775 -0
- package/vendor/sdk/node_modules/@types/node/module.d.ts +291 -0
- package/vendor/sdk/node_modules/@types/node/net.d.ts +924 -0
- package/vendor/sdk/node_modules/@types/node/os.d.ts +473 -0
- package/vendor/sdk/node_modules/@types/node/package.json +225 -0
- package/vendor/sdk/node_modules/@types/node/path.d.ts +191 -0
- package/vendor/sdk/node_modules/@types/node/perf_hooks.d.ts +753 -0
- package/vendor/sdk/node_modules/@types/node/process.d.ts +1553 -0
- package/vendor/sdk/node_modules/@types/node/punycode.d.ts +117 -0
- package/vendor/sdk/node_modules/@types/node/querystring.d.ts +141 -0
- package/vendor/sdk/node_modules/@types/node/readline/promises.d.ts +154 -0
- package/vendor/sdk/node_modules/@types/node/readline.d.ts +715 -0
- package/vendor/sdk/node_modules/@types/node/repl.d.ts +430 -0
- package/vendor/sdk/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/vendor/sdk/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/vendor/sdk/node_modules/@types/node/stream/web.d.ts +523 -0
- package/vendor/sdk/node_modules/@types/node/stream.d.ts +1731 -0
- package/vendor/sdk/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/vendor/sdk/node_modules/@types/node/test.d.ts +1245 -0
- package/vendor/sdk/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/vendor/sdk/node_modules/@types/node/timers.d.ts +126 -0
- package/vendor/sdk/node_modules/@types/node/tls.d.ts +1203 -0
- package/vendor/sdk/node_modules/@types/node/trace_events.d.ts +171 -0
- package/vendor/sdk/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
- package/vendor/sdk/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/vendor/sdk/node_modules/@types/node/ts5.6/index.d.ts +90 -0
- package/vendor/sdk/node_modules/@types/node/tty.d.ts +206 -0
- package/vendor/sdk/node_modules/@types/node/url.d.ts +957 -0
- package/vendor/sdk/node_modules/@types/node/util.d.ts +2083 -0
- package/vendor/sdk/node_modules/@types/node/v8.d.ts +753 -0
- package/vendor/sdk/node_modules/@types/node/vm.d.ts +666 -0
- package/vendor/sdk/node_modules/@types/node/wasi.d.ts +160 -0
- package/vendor/sdk/node_modules/@types/node/worker_threads.d.ts +695 -0
- package/vendor/sdk/node_modules/@types/node/zlib.d.ts +517 -0
- package/vendor/sdk/node_modules/undici-types/README.md +6 -0
- package/vendor/sdk/node_modules/undici-types/agent.d.ts +31 -0
- package/vendor/sdk/node_modules/undici-types/api.d.ts +43 -0
- package/vendor/sdk/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/vendor/sdk/node_modules/undici-types/cache.d.ts +36 -0
- package/vendor/sdk/node_modules/undici-types/client.d.ts +97 -0
- package/vendor/sdk/node_modules/undici-types/connector.d.ts +34 -0
- package/vendor/sdk/node_modules/undici-types/content-type.d.ts +21 -0
- package/vendor/sdk/node_modules/undici-types/cookies.d.ts +28 -0
- package/vendor/sdk/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/vendor/sdk/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/vendor/sdk/node_modules/undici-types/errors.d.ts +128 -0
- package/vendor/sdk/node_modules/undici-types/fetch.d.ts +209 -0
- package/vendor/sdk/node_modules/undici-types/file.d.ts +39 -0
- package/vendor/sdk/node_modules/undici-types/filereader.d.ts +54 -0
- package/vendor/sdk/node_modules/undici-types/formdata.d.ts +108 -0
- package/vendor/sdk/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/vendor/sdk/node_modules/undici-types/global-origin.d.ts +7 -0
- package/vendor/sdk/node_modules/undici-types/handlers.d.ts +9 -0
- package/vendor/sdk/node_modules/undici-types/header.d.ts +4 -0
- package/vendor/sdk/node_modules/undici-types/index.d.ts +63 -0
- package/vendor/sdk/node_modules/undici-types/interceptors.d.ts +5 -0
- package/vendor/sdk/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/vendor/sdk/node_modules/undici-types/mock-client.d.ts +25 -0
- package/vendor/sdk/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/vendor/sdk/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/vendor/sdk/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/vendor/sdk/node_modules/undici-types/package.json +55 -0
- package/vendor/sdk/node_modules/undici-types/patch.d.ts +71 -0
- package/vendor/sdk/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/vendor/sdk/node_modules/undici-types/pool.d.ts +28 -0
- package/vendor/sdk/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/vendor/sdk/node_modules/undici-types/readable.d.ts +61 -0
- package/vendor/sdk/node_modules/undici-types/webidl.d.ts +220 -0
- package/vendor/sdk/node_modules/undici-types/websocket.d.ts +131 -0
- package/vendor/sdk/package.json +124 -0
- package/vendor/sdk/pagination.d.ts +27 -0
- package/vendor/sdk/pagination.d.ts.map +1 -0
- package/vendor/sdk/pagination.js +60 -0
- package/vendor/sdk/pagination.js.map +1 -0
- package/vendor/sdk/pagination.mjs +56 -0
- package/vendor/sdk/pagination.mjs.map +1 -0
- package/vendor/sdk/resource.d.ts +6 -0
- package/vendor/sdk/resource.d.ts.map +1 -0
- package/vendor/sdk/resource.js +11 -0
- package/vendor/sdk/resource.js.map +1 -0
- package/vendor/sdk/resource.mjs +7 -0
- package/vendor/sdk/resource.mjs.map +1 -0
- package/vendor/sdk/resources/beta/beta.d.ts +57 -0
- package/vendor/sdk/resources/beta/beta.d.ts.map +1 -0
- package/vendor/sdk/resources/beta/beta.js +44 -0
- package/vendor/sdk/resources/beta/beta.js.map +1 -0
- package/vendor/sdk/resources/beta/beta.mjs +17 -0
- package/vendor/sdk/resources/beta/beta.mjs.map +1 -0
- package/vendor/sdk/resources/beta/index.d.ts +4 -0
- package/vendor/sdk/resources/beta/index.d.ts.map +1 -0
- package/vendor/sdk/resources/beta/index.js +12 -0
- package/vendor/sdk/resources/beta/index.js.map +1 -0
- package/vendor/sdk/resources/beta/index.mjs +5 -0
- package/vendor/sdk/resources/beta/index.mjs.map +1 -0
- package/vendor/sdk/resources/beta/messages/batches.d.ts +289 -0
- package/vendor/sdk/resources/beta/messages/batches.d.ts.map +1 -0
- package/vendor/sdk/resources/beta/messages/batches.js +112 -0
- package/vendor/sdk/resources/beta/messages/batches.js.map +1 -0
- package/vendor/sdk/resources/beta/messages/batches.mjs +107 -0
- package/vendor/sdk/resources/beta/messages/batches.mjs.map +1 -0
- package/vendor/sdk/resources/beta/messages/index.d.ts +3 -0
- package/vendor/sdk/resources/beta/messages/index.d.ts.map +1 -0
- package/vendor/sdk/resources/beta/messages/index.js +10 -0
- package/vendor/sdk/resources/beta/messages/index.js.map +1 -0
- package/vendor/sdk/resources/beta/messages/index.mjs +4 -0
- package/vendor/sdk/resources/beta/messages/index.mjs.map +1 -0
- package/vendor/sdk/resources/beta/messages/messages.d.ts +1038 -0
- package/vendor/sdk/resources/beta/messages/messages.d.ts.map +1 -0
- package/vendor/sdk/resources/beta/messages/messages.js +93 -0
- package/vendor/sdk/resources/beta/messages/messages.js.map +1 -0
- package/vendor/sdk/resources/beta/messages/messages.mjs +66 -0
- package/vendor/sdk/resources/beta/messages/messages.mjs.map +1 -0
- package/vendor/sdk/resources/beta/models.d.ts +49 -0
- package/vendor/sdk/resources/beta/models.d.ts.map +1 -0
- package/vendor/sdk/resources/beta/models.js +30 -0
- package/vendor/sdk/resources/beta/models.js.map +1 -0
- package/vendor/sdk/resources/beta/models.mjs +25 -0
- package/vendor/sdk/resources/beta/models.mjs.map +1 -0
- package/vendor/sdk/resources/completions.d.ts +166 -0
- package/vendor/sdk/resources/completions.d.ts.map +1 -0
- package/vendor/sdk/resources/completions.js +17 -0
- package/vendor/sdk/resources/completions.js.map +1 -0
- package/vendor/sdk/resources/completions.mjs +13 -0
- package/vendor/sdk/resources/completions.mjs.map +1 -0
- package/vendor/sdk/resources/index.d.ts +6 -0
- package/vendor/sdk/resources/index.d.ts.map +1 -0
- package/vendor/sdk/resources/index.js +29 -0
- package/vendor/sdk/resources/index.js.map +1 -0
- package/vendor/sdk/resources/index.mjs +7 -0
- package/vendor/sdk/resources/index.mjs.map +1 -0
- package/vendor/sdk/resources/messages/batches.d.ts +253 -0
- package/vendor/sdk/resources/messages/batches.d.ts.map +1 -0
- package/vendor/sdk/resources/messages/batches.js +102 -0
- package/vendor/sdk/resources/messages/batches.js.map +1 -0
- package/vendor/sdk/resources/messages/batches.mjs +97 -0
- package/vendor/sdk/resources/messages/batches.mjs.map +1 -0
- package/vendor/sdk/resources/messages/index.d.ts +3 -0
- package/vendor/sdk/resources/messages/index.d.ts.map +1 -0
- package/vendor/sdk/resources/messages/index.js +10 -0
- package/vendor/sdk/resources/messages/index.js.map +1 -0
- package/vendor/sdk/resources/messages/index.mjs +4 -0
- package/vendor/sdk/resources/messages/index.mjs.map +1 -0
- package/vendor/sdk/resources/messages/messages.d.ts +1028 -0
- package/vendor/sdk/resources/messages/messages.d.ts.map +1 -0
- package/vendor/sdk/resources/messages/messages.js +82 -0
- package/vendor/sdk/resources/messages/messages.js.map +1 -0
- package/vendor/sdk/resources/messages/messages.mjs +54 -0
- package/vendor/sdk/resources/messages/messages.mjs.map +1 -0
- package/vendor/sdk/resources/models.d.ts +49 -0
- package/vendor/sdk/resources/models.d.ts.map +1 -0
- package/vendor/sdk/resources/models.js +30 -0
- package/vendor/sdk/resources/models.js.map +1 -0
- package/vendor/sdk/resources/models.mjs +25 -0
- package/vendor/sdk/resources/models.mjs.map +1 -0
- package/vendor/sdk/resources/shared.d.ts +42 -0
- package/vendor/sdk/resources/shared.d.ts.map +1 -0
- package/vendor/sdk/resources/shared.js +4 -0
- package/vendor/sdk/resources/shared.js.map +1 -0
- package/vendor/sdk/resources/shared.mjs +3 -0
- package/vendor/sdk/resources/shared.mjs.map +1 -0
- package/vendor/sdk/resources/top-level.d.ts +2 -0
- package/vendor/sdk/resources/top-level.d.ts.map +1 -0
- package/vendor/sdk/resources/top-level.js +4 -0
- package/vendor/sdk/resources/top-level.js.map +1 -0
- package/vendor/sdk/resources/top-level.mjs +3 -0
- package/vendor/sdk/resources/top-level.mjs.map +1 -0
- package/vendor/sdk/shims/node.d.ts +30 -0
- package/vendor/sdk/shims/node.d.ts.map +1 -0
- package/vendor/sdk/shims/node.js +31 -0
- package/vendor/sdk/shims/node.js.map +1 -0
- package/vendor/sdk/shims/node.mjs +5 -0
- package/vendor/sdk/shims/node.mjs.map +1 -0
- package/vendor/sdk/shims/web.d.ts +26 -0
- package/vendor/sdk/shims/web.d.ts.map +1 -0
- package/vendor/sdk/shims/web.js +31 -0
- package/vendor/sdk/shims/web.js.map +1 -0
- package/vendor/sdk/shims/web.mjs +5 -0
- package/vendor/sdk/shims/web.mjs.map +1 -0
- package/vendor/sdk/src/_shims/MultipartBody.ts +9 -0
- package/vendor/sdk/src/_shims/README.md +46 -0
- package/vendor/sdk/src/_shims/auto/runtime-bun.ts +4 -0
- package/vendor/sdk/src/_shims/auto/runtime-node.ts +4 -0
- package/vendor/sdk/src/_shims/auto/runtime.ts +4 -0
- package/vendor/sdk/src/_shims/auto/types-node.ts +4 -0
- package/vendor/sdk/src/_shims/auto/types.d.ts +101 -0
- package/vendor/sdk/src/_shims/auto/types.js +3 -0
- package/vendor/sdk/src/_shims/auto/types.mjs +3 -0
- package/vendor/sdk/src/_shims/bun-runtime.ts +14 -0
- package/vendor/sdk/src/_shims/index.d.ts +81 -0
- package/vendor/sdk/src/_shims/index.js +13 -0
- package/vendor/sdk/src/_shims/index.mjs +7 -0
- package/vendor/sdk/src/_shims/manual-types.d.ts +12 -0
- package/vendor/sdk/src/_shims/manual-types.js +3 -0
- package/vendor/sdk/src/_shims/manual-types.mjs +3 -0
- package/vendor/sdk/src/_shims/node-runtime.ts +81 -0
- package/vendor/sdk/src/_shims/node-types.d.ts +42 -0
- package/vendor/sdk/src/_shims/node-types.js +3 -0
- package/vendor/sdk/src/_shims/node-types.mjs +3 -0
- package/vendor/sdk/src/_shims/registry.ts +67 -0
- package/vendor/sdk/src/_shims/web-runtime.ts +103 -0
- package/vendor/sdk/src/_shims/web-types.d.ts +83 -0
- package/vendor/sdk/src/_shims/web-types.js +3 -0
- package/vendor/sdk/src/_shims/web-types.mjs +3 -0
- package/vendor/sdk/src/_vendor/partial-json-parser/README.md +3 -0
- package/vendor/sdk/src/_vendor/partial-json-parser/parser.ts +264 -0
- package/vendor/sdk/src/core.ts +1250 -0
- package/vendor/sdk/src/error.ts +133 -0
- package/vendor/sdk/src/index.ts +465 -0
- package/vendor/sdk/src/internal/decoders/jsonl.ts +41 -0
- package/vendor/sdk/src/internal/decoders/line.ts +145 -0
- package/vendor/sdk/src/internal/stream-utils.ts +32 -0
- package/vendor/sdk/src/lib/.keep +4 -0
- package/vendor/sdk/src/lib/BetaMessageStream.ts +661 -0
- package/vendor/sdk/src/lib/MessageStream.ts +662 -0
- package/vendor/sdk/src/pagination.ts +92 -0
- package/vendor/sdk/src/resource.ts +11 -0
- package/vendor/sdk/src/resources/beta/beta.ts +249 -0
- package/vendor/sdk/src/resources/beta/index.ts +83 -0
- package/vendor/sdk/src/resources/beta/messages/batches.ts +486 -0
- package/vendor/sdk/src/resources/beta/messages/index.ts +87 -0
- package/vendor/sdk/src/resources/beta/messages/messages.ts +1444 -0
- package/vendor/sdk/src/resources/beta/models.ts +78 -0
- package/vendor/sdk/src/resources/completions.ts +210 -0
- package/vendor/sdk/src/resources/index.ts +95 -0
- package/vendor/sdk/src/resources/messages/batches.ts +352 -0
- package/vendor/sdk/src/resources/messages/index.ts +85 -0
- package/vendor/sdk/src/resources/messages/messages.ts +1412 -0
- package/vendor/sdk/src/resources/models.ts +75 -0
- package/vendor/sdk/src/resources/shared.ts +72 -0
- package/vendor/sdk/src/resources/top-level.ts +3 -0
- package/vendor/sdk/src/shims/node.ts +50 -0
- package/vendor/sdk/src/shims/web.ts +50 -0
- package/vendor/sdk/src/streaming.ts +372 -0
- package/vendor/sdk/src/tsconfig.json +11 -0
- package/vendor/sdk/src/uploads.ts +255 -0
- package/vendor/sdk/src/version.ts +1 -0
- package/vendor/sdk/streaming.d.ts +36 -0
- package/vendor/sdk/streaming.d.ts.map +1 -0
- package/vendor/sdk/streaming.js +316 -0
- package/vendor/sdk/streaming.js.map +1 -0
- package/vendor/sdk/streaming.mjs +310 -0
- package/vendor/sdk/streaming.mjs.map +1 -0
- package/vendor/sdk/uploads.d.ts +75 -0
- package/vendor/sdk/uploads.d.ts.map +1 -0
- package/vendor/sdk/uploads.js +171 -0
- package/vendor/sdk/uploads.js.map +1 -0
- package/vendor/sdk/uploads.mjs +158 -0
- package/vendor/sdk/uploads.mjs.map +1 -0
- package/vendor/sdk/version.d.ts +2 -0
- package/vendor/sdk/version.d.ts.map +1 -0
- package/vendor/sdk/version.js +5 -0
- package/vendor/sdk/version.js.map +1 -0
- package/vendor/sdk/version.mjs +2 -0
- package/vendor/sdk/version.mjs.map +1 -0
- package/yoga.wasm +0 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { FormData, File, getMultipartRequestOptions, isFsReadStream, } from "./_shims/index.mjs";
|
|
2
|
+
export { fileFromPath } from "./_shims/index.mjs";
|
|
3
|
+
export const isResponseLike = (value) => value != null &&
|
|
4
|
+
typeof value === 'object' &&
|
|
5
|
+
typeof value.url === 'string' &&
|
|
6
|
+
typeof value.blob === 'function';
|
|
7
|
+
export const isFileLike = (value) => value != null &&
|
|
8
|
+
typeof value === 'object' &&
|
|
9
|
+
typeof value.name === 'string' &&
|
|
10
|
+
typeof value.lastModified === 'number' &&
|
|
11
|
+
isBlobLike(value);
|
|
12
|
+
/**
|
|
13
|
+
* The BlobLike type omits arrayBuffer() because @types/node-fetch@^2.6.4 lacks it; but this check
|
|
14
|
+
* adds the arrayBuffer() method type because it is available and used at runtime
|
|
15
|
+
*/
|
|
16
|
+
export const isBlobLike = (value) => value != null &&
|
|
17
|
+
typeof value === 'object' &&
|
|
18
|
+
typeof value.size === 'number' &&
|
|
19
|
+
typeof value.type === 'string' &&
|
|
20
|
+
typeof value.text === 'function' &&
|
|
21
|
+
typeof value.slice === 'function' &&
|
|
22
|
+
typeof value.arrayBuffer === 'function';
|
|
23
|
+
export const isUploadable = (value) => {
|
|
24
|
+
return isFileLike(value) || isResponseLike(value) || isFsReadStream(value);
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats
|
|
28
|
+
* @param value the raw content of the file. Can be an {@link Uploadable}, {@link BlobLikePart}, or {@link AsyncIterable} of {@link BlobLikePart}s
|
|
29
|
+
* @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible
|
|
30
|
+
* @param {Object=} options additional properties
|
|
31
|
+
* @param {string=} options.type the MIME type of the content
|
|
32
|
+
* @param {number=} options.lastModified the last modified timestamp
|
|
33
|
+
* @returns a {@link File} with the given properties
|
|
34
|
+
*/
|
|
35
|
+
export async function toFile(value, name, options) {
|
|
36
|
+
// If it's a promise, resolve it.
|
|
37
|
+
value = await value;
|
|
38
|
+
// If we've been given a `File` we don't need to do anything
|
|
39
|
+
if (isFileLike(value)) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
if (isResponseLike(value)) {
|
|
43
|
+
const blob = await value.blob();
|
|
44
|
+
name || (name = new URL(value.url).pathname.split(/[\\/]/).pop() ?? 'unknown_file');
|
|
45
|
+
// we need to convert the `Blob` into an array buffer because the `Blob` class
|
|
46
|
+
// that `node-fetch` defines is incompatible with the web standard which results
|
|
47
|
+
// in `new File` interpreting it as a string instead of binary data.
|
|
48
|
+
const data = isBlobLike(blob) ? [(await blob.arrayBuffer())] : [blob];
|
|
49
|
+
return new File(data, name, options);
|
|
50
|
+
}
|
|
51
|
+
const bits = await getBytes(value);
|
|
52
|
+
name || (name = getName(value) ?? 'unknown_file');
|
|
53
|
+
if (!options?.type) {
|
|
54
|
+
const type = bits[0]?.type;
|
|
55
|
+
if (typeof type === 'string') {
|
|
56
|
+
options = { ...options, type };
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return new File(bits, name, options);
|
|
60
|
+
}
|
|
61
|
+
async function getBytes(value) {
|
|
62
|
+
let parts = [];
|
|
63
|
+
if (typeof value === 'string' ||
|
|
64
|
+
ArrayBuffer.isView(value) || // includes Uint8Array, Buffer, etc.
|
|
65
|
+
value instanceof ArrayBuffer) {
|
|
66
|
+
parts.push(value);
|
|
67
|
+
}
|
|
68
|
+
else if (isBlobLike(value)) {
|
|
69
|
+
parts.push(await value.arrayBuffer());
|
|
70
|
+
}
|
|
71
|
+
else if (isAsyncIterableIterator(value) // includes Readable, ReadableStream, etc.
|
|
72
|
+
) {
|
|
73
|
+
for await (const chunk of value) {
|
|
74
|
+
parts.push(chunk); // TODO, consider validating?
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
throw new Error(`Unexpected data type: ${typeof value}; constructor: ${value?.constructor
|
|
79
|
+
?.name}; props: ${propsForError(value)}`);
|
|
80
|
+
}
|
|
81
|
+
return parts;
|
|
82
|
+
}
|
|
83
|
+
function propsForError(value) {
|
|
84
|
+
const props = Object.getOwnPropertyNames(value);
|
|
85
|
+
return `[${props.map((p) => `"${p}"`).join(', ')}]`;
|
|
86
|
+
}
|
|
87
|
+
function getName(value) {
|
|
88
|
+
return (getStringFromMaybeBuffer(value.name) ||
|
|
89
|
+
getStringFromMaybeBuffer(value.filename) ||
|
|
90
|
+
// For fs.ReadStream
|
|
91
|
+
getStringFromMaybeBuffer(value.path)?.split(/[\\/]/).pop());
|
|
92
|
+
}
|
|
93
|
+
const getStringFromMaybeBuffer = (x) => {
|
|
94
|
+
if (typeof x === 'string')
|
|
95
|
+
return x;
|
|
96
|
+
if (typeof Buffer !== 'undefined' && x instanceof Buffer)
|
|
97
|
+
return String(x);
|
|
98
|
+
return undefined;
|
|
99
|
+
};
|
|
100
|
+
const isAsyncIterableIterator = (value) => value != null && typeof value === 'object' && typeof value[Symbol.asyncIterator] === 'function';
|
|
101
|
+
export const isMultipartBody = (body) => body && typeof body === 'object' && body.body && body[Symbol.toStringTag] === 'MultipartBody';
|
|
102
|
+
/**
|
|
103
|
+
* Returns a multipart/form-data request if any part of the given request body contains a File / Blob value.
|
|
104
|
+
* Otherwise returns the request as is.
|
|
105
|
+
*/
|
|
106
|
+
export const maybeMultipartFormRequestOptions = async (opts) => {
|
|
107
|
+
if (!hasUploadableValue(opts.body))
|
|
108
|
+
return opts;
|
|
109
|
+
const form = await createForm(opts.body);
|
|
110
|
+
return getMultipartRequestOptions(form, opts);
|
|
111
|
+
};
|
|
112
|
+
export const multipartFormRequestOptions = async (opts) => {
|
|
113
|
+
const form = await createForm(opts.body);
|
|
114
|
+
return getMultipartRequestOptions(form, opts);
|
|
115
|
+
};
|
|
116
|
+
export const createForm = async (body) => {
|
|
117
|
+
const form = new FormData();
|
|
118
|
+
await Promise.all(Object.entries(body || {}).map(([key, value]) => addFormValue(form, key, value)));
|
|
119
|
+
return form;
|
|
120
|
+
};
|
|
121
|
+
const hasUploadableValue = (value) => {
|
|
122
|
+
if (isUploadable(value))
|
|
123
|
+
return true;
|
|
124
|
+
if (Array.isArray(value))
|
|
125
|
+
return value.some(hasUploadableValue);
|
|
126
|
+
if (value && typeof value === 'object') {
|
|
127
|
+
for (const k in value) {
|
|
128
|
+
if (hasUploadableValue(value[k]))
|
|
129
|
+
return true;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return false;
|
|
133
|
+
};
|
|
134
|
+
const addFormValue = async (form, key, value) => {
|
|
135
|
+
if (value === undefined)
|
|
136
|
+
return;
|
|
137
|
+
if (value == null) {
|
|
138
|
+
throw new TypeError(`Received null for "${key}"; to pass null in FormData, you must use the string 'null'`);
|
|
139
|
+
}
|
|
140
|
+
// TODO: make nested formats configurable
|
|
141
|
+
if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {
|
|
142
|
+
form.append(key, String(value));
|
|
143
|
+
}
|
|
144
|
+
else if (isUploadable(value)) {
|
|
145
|
+
const file = await toFile(value);
|
|
146
|
+
form.append(key, file);
|
|
147
|
+
}
|
|
148
|
+
else if (Array.isArray(value)) {
|
|
149
|
+
await Promise.all(value.map((entry) => addFormValue(form, key + '[]', entry)));
|
|
150
|
+
}
|
|
151
|
+
else if (typeof value === 'object') {
|
|
152
|
+
await Promise.all(Object.entries(value).map(([name, prop]) => addFormValue(form, `${key}[${name}]`, prop)));
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
throw new TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${value} instead`);
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
//# sourceMappingURL=uploads.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"OACO,EACL,QAAQ,EACR,IAAI,EAGJ,0BAA0B,EAE1B,cAAc,GACf;OAEM,EAAE,YAAY,EAAE;AAiDvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAU,EAAyB,EAAE,CAClE,KAAK,IAAI,IAAI;IACb,OAAO,KAAK,KAAK,QAAQ;IACzB,OAAO,KAAK,CAAC,GAAG,KAAK,QAAQ;IAC7B,OAAO,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC;AAEnC,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAU,EAAqB,EAAE,CAC1D,KAAK,IAAI,IAAI;IACb,OAAO,KAAK,KAAK,QAAQ;IACzB,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ;IAC9B,OAAO,KAAK,CAAC,YAAY,KAAK,QAAQ;IACtC,UAAU,CAAC,KAAK,CAAC,CAAC;AAEpB;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAU,EAA+D,EAAE,CACpG,KAAK,IAAI,IAAI;IACb,O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"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|
package/yoga.wasm
ADDED
|
Binary file
|