@anthropic-ai/claude-code 0.2.27 → 0.2.30
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/cli.mjs +418 -666
- package/package.json +1 -5
- package/vendor/sdk/CHANGELOG.md +0 -1421
- package/vendor/sdk/LICENSE +0 -8
- package/vendor/sdk/README.md +0 -536
- package/vendor/sdk/_shims/MultipartBody.d.ts +0 -9
- package/vendor/sdk/_shims/MultipartBody.d.ts.map +0 -1
- package/vendor/sdk/_shims/MultipartBody.js +0 -16
- package/vendor/sdk/_shims/MultipartBody.js.map +0 -1
- package/vendor/sdk/_shims/MultipartBody.mjs +0 -12
- package/vendor/sdk/_shims/MultipartBody.mjs.map +0 -1
- package/vendor/sdk/_shims/README.md +0 -46
- package/vendor/sdk/_shims/auto/runtime-bun.d.ts +0 -5
- package/vendor/sdk/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-bun.js +0 -21
- package/vendor/sdk/_shims/auto/runtime-bun.js.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-bun.mjs +0 -2
- package/vendor/sdk/_shims/auto/runtime-bun.mjs.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-node.d.ts +0 -5
- package/vendor/sdk/_shims/auto/runtime-node.d.ts.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-node.js +0 -21
- package/vendor/sdk/_shims/auto/runtime-node.js.map +0 -1
- package/vendor/sdk/_shims/auto/runtime-node.mjs +0 -2
- package/vendor/sdk/_shims/auto/runtime-node.mjs.map +0 -1
- package/vendor/sdk/_shims/auto/runtime.d.ts +0 -5
- package/vendor/sdk/_shims/auto/runtime.d.ts.map +0 -1
- package/vendor/sdk/_shims/auto/runtime.js +0 -21
- package/vendor/sdk/_shims/auto/runtime.js.map +0 -1
- package/vendor/sdk/_shims/auto/runtime.mjs +0 -2
- package/vendor/sdk/_shims/auto/runtime.mjs.map +0 -1
- package/vendor/sdk/_shims/auto/types-node.d.ts +0 -5
- package/vendor/sdk/_shims/auto/types-node.d.ts.map +0 -1
- package/vendor/sdk/_shims/auto/types-node.js +0 -21
- package/vendor/sdk/_shims/auto/types-node.js.map +0 -1
- package/vendor/sdk/_shims/auto/types-node.mjs +0 -2
- package/vendor/sdk/_shims/auto/types-node.mjs.map +0 -1
- package/vendor/sdk/_shims/auto/types.d.ts +0 -101
- package/vendor/sdk/_shims/auto/types.js +0 -3
- package/vendor/sdk/_shims/auto/types.mjs +0 -3
- package/vendor/sdk/_shims/bun-runtime.d.ts +0 -6
- package/vendor/sdk/_shims/bun-runtime.d.ts.map +0 -1
- package/vendor/sdk/_shims/bun-runtime.js +0 -14
- package/vendor/sdk/_shims/bun-runtime.js.map +0 -1
- package/vendor/sdk/_shims/bun-runtime.mjs +0 -10
- package/vendor/sdk/_shims/bun-runtime.mjs.map +0 -1
- package/vendor/sdk/_shims/index.d.ts +0 -81
- package/vendor/sdk/_shims/index.js +0 -13
- package/vendor/sdk/_shims/index.mjs +0 -7
- package/vendor/sdk/_shims/manual-types.d.ts +0 -12
- package/vendor/sdk/_shims/manual-types.js +0 -3
- package/vendor/sdk/_shims/manual-types.mjs +0 -3
- package/vendor/sdk/_shims/node-runtime.d.ts +0 -3
- package/vendor/sdk/_shims/node-runtime.d.ts.map +0 -1
- package/vendor/sdk/_shims/node-runtime.js +0 -89
- package/vendor/sdk/_shims/node-runtime.js.map +0 -1
- package/vendor/sdk/_shims/node-runtime.mjs +0 -56
- package/vendor/sdk/_shims/node-runtime.mjs.map +0 -1
- package/vendor/sdk/_shims/node-types.d.ts +0 -42
- package/vendor/sdk/_shims/node-types.js +0 -3
- package/vendor/sdk/_shims/node-types.mjs +0 -3
- package/vendor/sdk/_shims/registry.d.ts +0 -37
- package/vendor/sdk/_shims/registry.d.ts.map +0 -1
- package/vendor/sdk/_shims/registry.js +0 -41
- package/vendor/sdk/_shims/registry.js.map +0 -1
- package/vendor/sdk/_shims/registry.mjs +0 -37
- package/vendor/sdk/_shims/registry.mjs.map +0 -1
- package/vendor/sdk/_shims/web-runtime.d.ts +0 -5
- package/vendor/sdk/_shims/web-runtime.d.ts.map +0 -1
- package/vendor/sdk/_shims/web-runtime.js +0 -78
- package/vendor/sdk/_shims/web-runtime.js.map +0 -1
- package/vendor/sdk/_shims/web-runtime.mjs +0 -71
- package/vendor/sdk/_shims/web-runtime.mjs.map +0 -1
- package/vendor/sdk/_shims/web-types.d.ts +0 -83
- package/vendor/sdk/_shims/web-types.js +0 -3
- package/vendor/sdk/_shims/web-types.mjs +0 -3
- package/vendor/sdk/_vendor/partial-json-parser/parser.d.ts +0 -3
- package/vendor/sdk/_vendor/partial-json-parser/parser.d.ts.map +0 -1
- package/vendor/sdk/_vendor/partial-json-parser/parser.js +0 -226
- package/vendor/sdk/_vendor/partial-json-parser/parser.js.map +0 -1
- package/vendor/sdk/_vendor/partial-json-parser/parser.mjs +0 -223
- package/vendor/sdk/_vendor/partial-json-parser/parser.mjs.map +0 -1
- package/vendor/sdk/core.d.ts +0 -248
- package/vendor/sdk/core.d.ts.map +0 -1
- package/vendor/sdk/core.js +0 -935
- package/vendor/sdk/core.js.map +0 -1
- package/vendor/sdk/core.mjs +0 -903
- package/vendor/sdk/core.mjs.map +0 -1
- package/vendor/sdk/error.d.ts +0 -48
- package/vendor/sdk/error.d.ts.map +0 -1
- package/vendor/sdk/error.js +0 -114
- package/vendor/sdk/error.js.map +0 -1
- package/vendor/sdk/error.mjs +0 -98
- package/vendor/sdk/error.mjs.map +0 -1
- package/vendor/sdk/index.d.mts +0 -152
- package/vendor/sdk/index.d.ts +0 -152
- package/vendor/sdk/index.d.ts.map +0 -1
- package/vendor/sdk/index.js +0 -179
- package/vendor/sdk/index.js.map +0 -1
- package/vendor/sdk/index.mjs +0 -136
- package/vendor/sdk/index.mjs.map +0 -1
- package/vendor/sdk/internal/decoders/jsonl.d.ts +0 -12
- package/vendor/sdk/internal/decoders/jsonl.d.ts.map +0 -1
- package/vendor/sdk/internal/decoders/jsonl.js +0 -35
- package/vendor/sdk/internal/decoders/jsonl.js.map +0 -1
- package/vendor/sdk/internal/decoders/jsonl.mjs +0 -31
- package/vendor/sdk/internal/decoders/jsonl.mjs.map +0 -1
- package/vendor/sdk/internal/decoders/line.d.ts +0 -20
- package/vendor/sdk/internal/decoders/line.d.ts.map +0 -1
- package/vendor/sdk/internal/decoders/line.js +0 -123
- package/vendor/sdk/internal/decoders/line.js.map +0 -1
- package/vendor/sdk/internal/decoders/line.mjs +0 -119
- package/vendor/sdk/internal/decoders/line.mjs.map +0 -1
- package/vendor/sdk/internal/stream-utils.d.ts +0 -8
- package/vendor/sdk/internal/stream-utils.d.ts.map +0 -1
- package/vendor/sdk/internal/stream-utils.js +0 -39
- package/vendor/sdk/internal/stream-utils.js.map +0 -1
- package/vendor/sdk/internal/stream-utils.mjs +0 -35
- package/vendor/sdk/internal/stream-utils.mjs.map +0 -1
- package/vendor/sdk/lib/BetaMessageStream.d.ts +0 -114
- package/vendor/sdk/lib/BetaMessageStream.d.ts.map +0 -1
- package/vendor/sdk/lib/BetaMessageStream.js +0 -547
- package/vendor/sdk/lib/BetaMessageStream.js.map +0 -1
- package/vendor/sdk/lib/BetaMessageStream.mjs +0 -543
- package/vendor/sdk/lib/BetaMessageStream.mjs.map +0 -1
- package/vendor/sdk/lib/MessageStream.d.ts +0 -114
- package/vendor/sdk/lib/MessageStream.d.ts.map +0 -1
- package/vendor/sdk/lib/MessageStream.js +0 -547
- package/vendor/sdk/lib/MessageStream.js.map +0 -1
- package/vendor/sdk/lib/MessageStream.mjs +0 -543
- package/vendor/sdk/lib/MessageStream.mjs.map +0 -1
- package/vendor/sdk/node_modules/@types/node/LICENSE +0 -21
- package/vendor/sdk/node_modules/@types/node/README.md +0 -15
- package/vendor/sdk/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/vendor/sdk/node_modules/@types/node/assert.d.ts +0 -985
- package/vendor/sdk/node_modules/@types/node/async_hooks.d.ts +0 -522
- package/vendor/sdk/node_modules/@types/node/buffer.buffer.d.ts +0 -385
- package/vendor/sdk/node_modules/@types/node/buffer.d.ts +0 -1903
- package/vendor/sdk/node_modules/@types/node/child_process.d.ts +0 -1549
- package/vendor/sdk/node_modules/@types/node/cluster.d.ts +0 -578
- package/vendor/sdk/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
- package/vendor/sdk/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/vendor/sdk/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/vendor/sdk/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
- package/vendor/sdk/node_modules/@types/node/console.d.ts +0 -452
- package/vendor/sdk/node_modules/@types/node/constants.d.ts +0 -19
- package/vendor/sdk/node_modules/@types/node/crypto.d.ts +0 -4453
- package/vendor/sdk/node_modules/@types/node/dgram.d.ts +0 -596
- package/vendor/sdk/node_modules/@types/node/diagnostics_channel.d.ts +0 -546
- package/vendor/sdk/node_modules/@types/node/dns/promises.d.ts +0 -475
- package/vendor/sdk/node_modules/@types/node/dns.d.ts +0 -853
- package/vendor/sdk/node_modules/@types/node/dom-events.d.ts +0 -124
- package/vendor/sdk/node_modules/@types/node/domain.d.ts +0 -170
- package/vendor/sdk/node_modules/@types/node/events.d.ts +0 -819
- package/vendor/sdk/node_modules/@types/node/fs/promises.d.ts +0 -1205
- package/vendor/sdk/node_modules/@types/node/fs.d.ts +0 -4237
- package/vendor/sdk/node_modules/@types/node/globals.d.ts +0 -442
- package/vendor/sdk/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/vendor/sdk/node_modules/@types/node/http.d.ts +0 -1839
- package/vendor/sdk/node_modules/@types/node/http2.d.ts +0 -2517
- package/vendor/sdk/node_modules/@types/node/https.d.ts +0 -544
- package/vendor/sdk/node_modules/@types/node/index.d.ts +0 -90
- package/vendor/sdk/node_modules/@types/node/inspector.d.ts +0 -2775
- package/vendor/sdk/node_modules/@types/node/module.d.ts +0 -291
- package/vendor/sdk/node_modules/@types/node/net.d.ts +0 -924
- package/vendor/sdk/node_modules/@types/node/os.d.ts +0 -473
- package/vendor/sdk/node_modules/@types/node/package.json +0 -225
- package/vendor/sdk/node_modules/@types/node/path.d.ts +0 -191
- package/vendor/sdk/node_modules/@types/node/perf_hooks.d.ts +0 -753
- package/vendor/sdk/node_modules/@types/node/process.d.ts +0 -1553
- package/vendor/sdk/node_modules/@types/node/punycode.d.ts +0 -117
- package/vendor/sdk/node_modules/@types/node/querystring.d.ts +0 -141
- package/vendor/sdk/node_modules/@types/node/readline/promises.d.ts +0 -154
- package/vendor/sdk/node_modules/@types/node/readline.d.ts +0 -715
- package/vendor/sdk/node_modules/@types/node/repl.d.ts +0 -430
- package/vendor/sdk/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/vendor/sdk/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/vendor/sdk/node_modules/@types/node/stream/web.d.ts +0 -523
- package/vendor/sdk/node_modules/@types/node/stream.d.ts +0 -1731
- package/vendor/sdk/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/vendor/sdk/node_modules/@types/node/test.d.ts +0 -1245
- package/vendor/sdk/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/vendor/sdk/node_modules/@types/node/timers.d.ts +0 -126
- package/vendor/sdk/node_modules/@types/node/tls.d.ts +0 -1203
- package/vendor/sdk/node_modules/@types/node/trace_events.d.ts +0 -171
- package/vendor/sdk/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -385
- package/vendor/sdk/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/vendor/sdk/node_modules/@types/node/ts5.6/index.d.ts +0 -90
- package/vendor/sdk/node_modules/@types/node/tty.d.ts +0 -206
- package/vendor/sdk/node_modules/@types/node/url.d.ts +0 -957
- package/vendor/sdk/node_modules/@types/node/util.d.ts +0 -2083
- package/vendor/sdk/node_modules/@types/node/v8.d.ts +0 -753
- package/vendor/sdk/node_modules/@types/node/vm.d.ts +0 -666
- package/vendor/sdk/node_modules/@types/node/wasi.d.ts +0 -160
- package/vendor/sdk/node_modules/@types/node/worker_threads.d.ts +0 -695
- package/vendor/sdk/node_modules/@types/node/zlib.d.ts +0 -517
- package/vendor/sdk/node_modules/undici-types/README.md +0 -6
- package/vendor/sdk/node_modules/undici-types/agent.d.ts +0 -31
- package/vendor/sdk/node_modules/undici-types/api.d.ts +0 -43
- package/vendor/sdk/node_modules/undici-types/balanced-pool.d.ts +0 -18
- package/vendor/sdk/node_modules/undici-types/cache.d.ts +0 -36
- package/vendor/sdk/node_modules/undici-types/client.d.ts +0 -97
- package/vendor/sdk/node_modules/undici-types/connector.d.ts +0 -34
- package/vendor/sdk/node_modules/undici-types/content-type.d.ts +0 -21
- package/vendor/sdk/node_modules/undici-types/cookies.d.ts +0 -28
- package/vendor/sdk/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
- package/vendor/sdk/node_modules/undici-types/dispatcher.d.ts +0 -241
- package/vendor/sdk/node_modules/undici-types/errors.d.ts +0 -128
- package/vendor/sdk/node_modules/undici-types/fetch.d.ts +0 -209
- package/vendor/sdk/node_modules/undici-types/file.d.ts +0 -39
- package/vendor/sdk/node_modules/undici-types/filereader.d.ts +0 -54
- package/vendor/sdk/node_modules/undici-types/formdata.d.ts +0 -108
- package/vendor/sdk/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/vendor/sdk/node_modules/undici-types/global-origin.d.ts +0 -7
- package/vendor/sdk/node_modules/undici-types/handlers.d.ts +0 -9
- package/vendor/sdk/node_modules/undici-types/header.d.ts +0 -4
- package/vendor/sdk/node_modules/undici-types/index.d.ts +0 -63
- package/vendor/sdk/node_modules/undici-types/interceptors.d.ts +0 -5
- package/vendor/sdk/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/vendor/sdk/node_modules/undici-types/mock-client.d.ts +0 -25
- package/vendor/sdk/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/vendor/sdk/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/vendor/sdk/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/vendor/sdk/node_modules/undici-types/package.json +0 -55
- package/vendor/sdk/node_modules/undici-types/patch.d.ts +0 -71
- package/vendor/sdk/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/vendor/sdk/node_modules/undici-types/pool.d.ts +0 -28
- package/vendor/sdk/node_modules/undici-types/proxy-agent.d.ts +0 -30
- package/vendor/sdk/node_modules/undici-types/readable.d.ts +0 -61
- package/vendor/sdk/node_modules/undici-types/webidl.d.ts +0 -220
- package/vendor/sdk/node_modules/undici-types/websocket.d.ts +0 -131
- package/vendor/sdk/package.json +0 -124
- package/vendor/sdk/pagination.d.ts +0 -27
- package/vendor/sdk/pagination.d.ts.map +0 -1
- package/vendor/sdk/pagination.js +0 -60
- package/vendor/sdk/pagination.js.map +0 -1
- package/vendor/sdk/pagination.mjs +0 -56
- package/vendor/sdk/pagination.mjs.map +0 -1
- package/vendor/sdk/resource.d.ts +0 -6
- package/vendor/sdk/resource.d.ts.map +0 -1
- package/vendor/sdk/resource.js +0 -11
- package/vendor/sdk/resource.js.map +0 -1
- package/vendor/sdk/resource.mjs +0 -7
- package/vendor/sdk/resource.mjs.map +0 -1
- package/vendor/sdk/resources/beta/beta.d.ts +0 -57
- package/vendor/sdk/resources/beta/beta.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/beta.js +0 -44
- package/vendor/sdk/resources/beta/beta.js.map +0 -1
- package/vendor/sdk/resources/beta/beta.mjs +0 -17
- package/vendor/sdk/resources/beta/beta.mjs.map +0 -1
- package/vendor/sdk/resources/beta/index.d.ts +0 -4
- package/vendor/sdk/resources/beta/index.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/index.js +0 -12
- package/vendor/sdk/resources/beta/index.js.map +0 -1
- package/vendor/sdk/resources/beta/index.mjs +0 -5
- package/vendor/sdk/resources/beta/index.mjs.map +0 -1
- package/vendor/sdk/resources/beta/messages/batches.d.ts +0 -289
- package/vendor/sdk/resources/beta/messages/batches.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/messages/batches.js +0 -112
- package/vendor/sdk/resources/beta/messages/batches.js.map +0 -1
- package/vendor/sdk/resources/beta/messages/batches.mjs +0 -107
- package/vendor/sdk/resources/beta/messages/batches.mjs.map +0 -1
- package/vendor/sdk/resources/beta/messages/index.d.ts +0 -3
- package/vendor/sdk/resources/beta/messages/index.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/messages/index.js +0 -10
- package/vendor/sdk/resources/beta/messages/index.js.map +0 -1
- package/vendor/sdk/resources/beta/messages/index.mjs +0 -4
- package/vendor/sdk/resources/beta/messages/index.mjs.map +0 -1
- package/vendor/sdk/resources/beta/messages/messages.d.ts +0 -1038
- package/vendor/sdk/resources/beta/messages/messages.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/messages/messages.js +0 -93
- package/vendor/sdk/resources/beta/messages/messages.js.map +0 -1
- package/vendor/sdk/resources/beta/messages/messages.mjs +0 -66
- package/vendor/sdk/resources/beta/messages/messages.mjs.map +0 -1
- package/vendor/sdk/resources/beta/models.d.ts +0 -49
- package/vendor/sdk/resources/beta/models.d.ts.map +0 -1
- package/vendor/sdk/resources/beta/models.js +0 -30
- package/vendor/sdk/resources/beta/models.js.map +0 -1
- package/vendor/sdk/resources/beta/models.mjs +0 -25
- package/vendor/sdk/resources/beta/models.mjs.map +0 -1
- package/vendor/sdk/resources/completions.d.ts +0 -166
- package/vendor/sdk/resources/completions.d.ts.map +0 -1
- package/vendor/sdk/resources/completions.js +0 -17
- package/vendor/sdk/resources/completions.js.map +0 -1
- package/vendor/sdk/resources/completions.mjs +0 -13
- package/vendor/sdk/resources/completions.mjs.map +0 -1
- package/vendor/sdk/resources/index.d.ts +0 -6
- package/vendor/sdk/resources/index.d.ts.map +0 -1
- package/vendor/sdk/resources/index.js +0 -29
- package/vendor/sdk/resources/index.js.map +0 -1
- package/vendor/sdk/resources/index.mjs +0 -7
- package/vendor/sdk/resources/index.mjs.map +0 -1
- package/vendor/sdk/resources/messages/batches.d.ts +0 -253
- package/vendor/sdk/resources/messages/batches.d.ts.map +0 -1
- package/vendor/sdk/resources/messages/batches.js +0 -102
- package/vendor/sdk/resources/messages/batches.js.map +0 -1
- package/vendor/sdk/resources/messages/batches.mjs +0 -97
- package/vendor/sdk/resources/messages/batches.mjs.map +0 -1
- package/vendor/sdk/resources/messages/index.d.ts +0 -3
- package/vendor/sdk/resources/messages/index.d.ts.map +0 -1
- package/vendor/sdk/resources/messages/index.js +0 -10
- package/vendor/sdk/resources/messages/index.js.map +0 -1
- package/vendor/sdk/resources/messages/index.mjs +0 -4
- package/vendor/sdk/resources/messages/index.mjs.map +0 -1
- package/vendor/sdk/resources/messages/messages.d.ts +0 -1028
- package/vendor/sdk/resources/messages/messages.d.ts.map +0 -1
- package/vendor/sdk/resources/messages/messages.js +0 -82
- package/vendor/sdk/resources/messages/messages.js.map +0 -1
- package/vendor/sdk/resources/messages/messages.mjs +0 -54
- package/vendor/sdk/resources/messages/messages.mjs.map +0 -1
- package/vendor/sdk/resources/models.d.ts +0 -49
- package/vendor/sdk/resources/models.d.ts.map +0 -1
- package/vendor/sdk/resources/models.js +0 -30
- package/vendor/sdk/resources/models.js.map +0 -1
- package/vendor/sdk/resources/models.mjs +0 -25
- package/vendor/sdk/resources/models.mjs.map +0 -1
- package/vendor/sdk/resources/shared.d.ts +0 -42
- package/vendor/sdk/resources/shared.d.ts.map +0 -1
- package/vendor/sdk/resources/shared.js +0 -4
- package/vendor/sdk/resources/shared.js.map +0 -1
- package/vendor/sdk/resources/shared.mjs +0 -3
- package/vendor/sdk/resources/shared.mjs.map +0 -1
- package/vendor/sdk/resources/top-level.d.ts +0 -2
- package/vendor/sdk/resources/top-level.d.ts.map +0 -1
- package/vendor/sdk/resources/top-level.js +0 -4
- package/vendor/sdk/resources/top-level.js.map +0 -1
- package/vendor/sdk/resources/top-level.mjs +0 -3
- package/vendor/sdk/resources/top-level.mjs.map +0 -1
- package/vendor/sdk/shims/node.d.ts +0 -30
- package/vendor/sdk/shims/node.d.ts.map +0 -1
- package/vendor/sdk/shims/node.js +0 -31
- package/vendor/sdk/shims/node.js.map +0 -1
- package/vendor/sdk/shims/node.mjs +0 -5
- package/vendor/sdk/shims/node.mjs.map +0 -1
- package/vendor/sdk/shims/web.d.ts +0 -26
- package/vendor/sdk/shims/web.d.ts.map +0 -1
- package/vendor/sdk/shims/web.js +0 -31
- package/vendor/sdk/shims/web.js.map +0 -1
- package/vendor/sdk/shims/web.mjs +0 -5
- package/vendor/sdk/shims/web.mjs.map +0 -1
- package/vendor/sdk/src/_shims/MultipartBody.ts +0 -9
- package/vendor/sdk/src/_shims/README.md +0 -46
- package/vendor/sdk/src/_shims/auto/runtime-bun.ts +0 -4
- package/vendor/sdk/src/_shims/auto/runtime-node.ts +0 -4
- package/vendor/sdk/src/_shims/auto/runtime.ts +0 -4
- package/vendor/sdk/src/_shims/auto/types-node.ts +0 -4
- package/vendor/sdk/src/_shims/auto/types.d.ts +0 -101
- package/vendor/sdk/src/_shims/auto/types.js +0 -3
- package/vendor/sdk/src/_shims/auto/types.mjs +0 -3
- package/vendor/sdk/src/_shims/bun-runtime.ts +0 -14
- package/vendor/sdk/src/_shims/index.d.ts +0 -81
- package/vendor/sdk/src/_shims/index.js +0 -13
- package/vendor/sdk/src/_shims/index.mjs +0 -7
- package/vendor/sdk/src/_shims/manual-types.d.ts +0 -12
- package/vendor/sdk/src/_shims/manual-types.js +0 -3
- package/vendor/sdk/src/_shims/manual-types.mjs +0 -3
- package/vendor/sdk/src/_shims/node-runtime.ts +0 -81
- package/vendor/sdk/src/_shims/node-types.d.ts +0 -42
- package/vendor/sdk/src/_shims/node-types.js +0 -3
- package/vendor/sdk/src/_shims/node-types.mjs +0 -3
- package/vendor/sdk/src/_shims/registry.ts +0 -67
- package/vendor/sdk/src/_shims/web-runtime.ts +0 -103
- package/vendor/sdk/src/_shims/web-types.d.ts +0 -83
- package/vendor/sdk/src/_shims/web-types.js +0 -3
- package/vendor/sdk/src/_shims/web-types.mjs +0 -3
- package/vendor/sdk/src/_vendor/partial-json-parser/README.md +0 -3
- package/vendor/sdk/src/_vendor/partial-json-parser/parser.ts +0 -264
- package/vendor/sdk/src/core.ts +0 -1250
- package/vendor/sdk/src/error.ts +0 -133
- package/vendor/sdk/src/index.ts +0 -465
- package/vendor/sdk/src/internal/decoders/jsonl.ts +0 -41
- package/vendor/sdk/src/internal/decoders/line.ts +0 -145
- package/vendor/sdk/src/internal/stream-utils.ts +0 -32
- package/vendor/sdk/src/lib/.keep +0 -4
- package/vendor/sdk/src/lib/BetaMessageStream.ts +0 -661
- package/vendor/sdk/src/lib/MessageStream.ts +0 -662
- package/vendor/sdk/src/pagination.ts +0 -92
- package/vendor/sdk/src/resource.ts +0 -11
- package/vendor/sdk/src/resources/beta/beta.ts +0 -249
- package/vendor/sdk/src/resources/beta/index.ts +0 -83
- package/vendor/sdk/src/resources/beta/messages/batches.ts +0 -486
- package/vendor/sdk/src/resources/beta/messages/index.ts +0 -87
- package/vendor/sdk/src/resources/beta/messages/messages.ts +0 -1444
- package/vendor/sdk/src/resources/beta/models.ts +0 -78
- package/vendor/sdk/src/resources/completions.ts +0 -210
- package/vendor/sdk/src/resources/index.ts +0 -95
- package/vendor/sdk/src/resources/messages/batches.ts +0 -352
- package/vendor/sdk/src/resources/messages/index.ts +0 -85
- package/vendor/sdk/src/resources/messages/messages.ts +0 -1412
- package/vendor/sdk/src/resources/models.ts +0 -75
- package/vendor/sdk/src/resources/shared.ts +0 -72
- package/vendor/sdk/src/resources/top-level.ts +0 -3
- package/vendor/sdk/src/shims/node.ts +0 -50
- package/vendor/sdk/src/shims/web.ts +0 -50
- package/vendor/sdk/src/streaming.ts +0 -372
- package/vendor/sdk/src/tsconfig.json +0 -11
- package/vendor/sdk/src/uploads.ts +0 -255
- package/vendor/sdk/src/version.ts +0 -1
- package/vendor/sdk/streaming.d.ts +0 -36
- package/vendor/sdk/streaming.d.ts.map +0 -1
- package/vendor/sdk/streaming.js +0 -316
- package/vendor/sdk/streaming.js.map +0 -1
- package/vendor/sdk/streaming.mjs +0 -310
- package/vendor/sdk/streaming.mjs.map +0 -1
- package/vendor/sdk/uploads.d.ts +0 -75
- package/vendor/sdk/uploads.d.ts.map +0 -1
- package/vendor/sdk/uploads.js +0 -171
- package/vendor/sdk/uploads.js.map +0 -1
- package/vendor/sdk/uploads.mjs +0 -158
- package/vendor/sdk/uploads.mjs.map +0 -1
- package/vendor/sdk/version.d.ts +0 -2
- package/vendor/sdk/version.d.ts.map +0 -1
- package/vendor/sdk/version.js +0 -5
- package/vendor/sdk/version.js.map +0 -1
- package/vendor/sdk/version.mjs +0 -2
- package/vendor/sdk/version.mjs.map +0 -1
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
const tokenize = (input) => {
|
|
2
|
-
let current = 0;
|
|
3
|
-
let tokens = [];
|
|
4
|
-
while (current < input.length) {
|
|
5
|
-
let char = input[current];
|
|
6
|
-
if (char === '\\') {
|
|
7
|
-
current++;
|
|
8
|
-
continue;
|
|
9
|
-
}
|
|
10
|
-
if (char === '{') {
|
|
11
|
-
tokens.push({
|
|
12
|
-
type: 'brace',
|
|
13
|
-
value: '{',
|
|
14
|
-
});
|
|
15
|
-
current++;
|
|
16
|
-
continue;
|
|
17
|
-
}
|
|
18
|
-
if (char === '}') {
|
|
19
|
-
tokens.push({
|
|
20
|
-
type: 'brace',
|
|
21
|
-
value: '}',
|
|
22
|
-
});
|
|
23
|
-
current++;
|
|
24
|
-
continue;
|
|
25
|
-
}
|
|
26
|
-
if (char === '[') {
|
|
27
|
-
tokens.push({
|
|
28
|
-
type: 'paren',
|
|
29
|
-
value: '[',
|
|
30
|
-
});
|
|
31
|
-
current++;
|
|
32
|
-
continue;
|
|
33
|
-
}
|
|
34
|
-
if (char === ']') {
|
|
35
|
-
tokens.push({
|
|
36
|
-
type: 'paren',
|
|
37
|
-
value: ']',
|
|
38
|
-
});
|
|
39
|
-
current++;
|
|
40
|
-
continue;
|
|
41
|
-
}
|
|
42
|
-
if (char === ':') {
|
|
43
|
-
tokens.push({
|
|
44
|
-
type: 'separator',
|
|
45
|
-
value: ':',
|
|
46
|
-
});
|
|
47
|
-
current++;
|
|
48
|
-
continue;
|
|
49
|
-
}
|
|
50
|
-
if (char === ',') {
|
|
51
|
-
tokens.push({
|
|
52
|
-
type: 'delimiter',
|
|
53
|
-
value: ',',
|
|
54
|
-
});
|
|
55
|
-
current++;
|
|
56
|
-
continue;
|
|
57
|
-
}
|
|
58
|
-
if (char === '"') {
|
|
59
|
-
let value = '';
|
|
60
|
-
let danglingQuote = false;
|
|
61
|
-
char = input[++current];
|
|
62
|
-
while (char !== '"') {
|
|
63
|
-
if (current === input.length) {
|
|
64
|
-
danglingQuote = true;
|
|
65
|
-
break;
|
|
66
|
-
}
|
|
67
|
-
if (char === '\\') {
|
|
68
|
-
current++;
|
|
69
|
-
if (current === input.length) {
|
|
70
|
-
danglingQuote = true;
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
value += char + input[current];
|
|
74
|
-
char = input[++current];
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
value += char;
|
|
78
|
-
char = input[++current];
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
char = input[++current];
|
|
82
|
-
if (!danglingQuote) {
|
|
83
|
-
tokens.push({
|
|
84
|
-
type: 'string',
|
|
85
|
-
value,
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
continue;
|
|
89
|
-
}
|
|
90
|
-
let WHITESPACE = /\s/;
|
|
91
|
-
if (char && WHITESPACE.test(char)) {
|
|
92
|
-
current++;
|
|
93
|
-
continue;
|
|
94
|
-
}
|
|
95
|
-
let NUMBERS = /[0-9]/;
|
|
96
|
-
if ((char && NUMBERS.test(char)) || char === '-' || char === '.') {
|
|
97
|
-
let value = '';
|
|
98
|
-
if (char === '-') {
|
|
99
|
-
value += char;
|
|
100
|
-
char = input[++current];
|
|
101
|
-
}
|
|
102
|
-
while ((char && NUMBERS.test(char)) || char === '.') {
|
|
103
|
-
value += char;
|
|
104
|
-
char = input[++current];
|
|
105
|
-
}
|
|
106
|
-
tokens.push({
|
|
107
|
-
type: 'number',
|
|
108
|
-
value,
|
|
109
|
-
});
|
|
110
|
-
continue;
|
|
111
|
-
}
|
|
112
|
-
let LETTERS = /[a-z]/i;
|
|
113
|
-
if (char && LETTERS.test(char)) {
|
|
114
|
-
let value = '';
|
|
115
|
-
while (char && LETTERS.test(char)) {
|
|
116
|
-
if (current === input.length) {
|
|
117
|
-
break;
|
|
118
|
-
}
|
|
119
|
-
value += char;
|
|
120
|
-
char = input[++current];
|
|
121
|
-
}
|
|
122
|
-
if (value == 'true' || value == 'false' || value === 'null') {
|
|
123
|
-
tokens.push({
|
|
124
|
-
type: 'name',
|
|
125
|
-
value,
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
// unknown token, e.g. `nul` which isn't quite `null`
|
|
130
|
-
current++;
|
|
131
|
-
continue;
|
|
132
|
-
}
|
|
133
|
-
continue;
|
|
134
|
-
}
|
|
135
|
-
current++;
|
|
136
|
-
}
|
|
137
|
-
return tokens;
|
|
138
|
-
}, strip = (tokens) => {
|
|
139
|
-
if (tokens.length === 0) {
|
|
140
|
-
return tokens;
|
|
141
|
-
}
|
|
142
|
-
let lastToken = tokens[tokens.length - 1];
|
|
143
|
-
switch (lastToken.type) {
|
|
144
|
-
case 'separator':
|
|
145
|
-
tokens = tokens.slice(0, tokens.length - 1);
|
|
146
|
-
return strip(tokens);
|
|
147
|
-
break;
|
|
148
|
-
case 'number':
|
|
149
|
-
let lastCharacterOfLastToken = lastToken.value[lastToken.value.length - 1];
|
|
150
|
-
if (lastCharacterOfLastToken === '.' || lastCharacterOfLastToken === '-') {
|
|
151
|
-
tokens = tokens.slice(0, tokens.length - 1);
|
|
152
|
-
return strip(tokens);
|
|
153
|
-
}
|
|
154
|
-
case 'string':
|
|
155
|
-
let tokenBeforeTheLastToken = tokens[tokens.length - 2];
|
|
156
|
-
if (tokenBeforeTheLastToken?.type === 'delimiter') {
|
|
157
|
-
tokens = tokens.slice(0, tokens.length - 1);
|
|
158
|
-
return strip(tokens);
|
|
159
|
-
}
|
|
160
|
-
else if (tokenBeforeTheLastToken?.type === 'brace' && tokenBeforeTheLastToken.value === '{') {
|
|
161
|
-
tokens = tokens.slice(0, tokens.length - 1);
|
|
162
|
-
return strip(tokens);
|
|
163
|
-
}
|
|
164
|
-
break;
|
|
165
|
-
case 'delimiter':
|
|
166
|
-
tokens = tokens.slice(0, tokens.length - 1);
|
|
167
|
-
return strip(tokens);
|
|
168
|
-
break;
|
|
169
|
-
}
|
|
170
|
-
return tokens;
|
|
171
|
-
}, unstrip = (tokens) => {
|
|
172
|
-
let tail = [];
|
|
173
|
-
tokens.map((token) => {
|
|
174
|
-
if (token.type === 'brace') {
|
|
175
|
-
if (token.value === '{') {
|
|
176
|
-
tail.push('}');
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
tail.splice(tail.lastIndexOf('}'), 1);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
if (token.type === 'paren') {
|
|
183
|
-
if (token.value === '[') {
|
|
184
|
-
tail.push(']');
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
tail.splice(tail.lastIndexOf(']'), 1);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
if (tail.length > 0) {
|
|
192
|
-
tail.reverse().map((item) => {
|
|
193
|
-
if (item === '}') {
|
|
194
|
-
tokens.push({
|
|
195
|
-
type: 'brace',
|
|
196
|
-
value: '}',
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
else if (item === ']') {
|
|
200
|
-
tokens.push({
|
|
201
|
-
type: 'paren',
|
|
202
|
-
value: ']',
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
return tokens;
|
|
208
|
-
}, generate = (tokens) => {
|
|
209
|
-
let output = '';
|
|
210
|
-
tokens.map((token) => {
|
|
211
|
-
switch (token.type) {
|
|
212
|
-
case 'string':
|
|
213
|
-
output += '"' + token.value + '"';
|
|
214
|
-
break;
|
|
215
|
-
default:
|
|
216
|
-
output += token.value;
|
|
217
|
-
break;
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
return output;
|
|
221
|
-
}, partialParse = (input) => JSON.parse(generate(unstrip(strip(tokenize(input)))));
|
|
222
|
-
export { partialParse };
|
|
223
|
-
//# sourceMappingURL=parser.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parser.mjs","sourceRoot":"","sources":["../../src/_vendor/partial-json-parser/parser.ts"],"names":[],"mappings":"AAKA,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAW,EAAE;IACxC,IAAI,OAAO,GAAG,CAAC,CAAC;IAChB,IAAI,MAAM,GAAY,EAAE,CAAC;IAEzB,OAAO,OAAO,GAAG,KAAK,CAAC,MAAM,EAAE;QAC7B,IAAI,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAE1B,IAAI,IAAI,KAAK,IAAI,EAAE;YACjB,OAAO,EAAE,CAAC;YACV,SAAS;SACV;QAED,IAAI,IAAI,KAAK,GAAG,EAAE;YAChB,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;YAEH,OAAO,EAAE,CAAC;YACV,SAAS;SACV;QAED,IAAI,IAAI,KAAK,GAAG,EAAE;YAChB,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;YAEH,OAAO,EAAE,CAAC;YACV,SAAS;SACV;QAED,IAAI,IAAI,KAAK,GAAG,EAAE;YAChB,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;YAEH,OAAO,EAAE,CAAC;YACV,SAAS;SACV;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aming.js";
|
|
4
|
-
import { APIError } from "./error.js";
|
|
5
|
-
import { type Readable, type Agent, type RequestInfo, type RequestInit, type Response, type HeadersInit } from "./_shims/index.js";
|
|
6
|
-
export { type Response };
|
|
7
|
-
import { BlobLike } from "./uploads.js";
|
|
8
|
-
export { maybeMultipartFormRequestOptions, multipartFormRequestOptions, createForm, type Uploadable, } from "./uploads.js";
|
|
9
|
-
export type Fetch = (url: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
10
|
-
type PromiseOrValue<T> = T | Promise<T>;
|
|
11
|
-
type APIResponseProps = {
|
|
12
|
-
response: Response;
|
|
13
|
-
options: FinalRequestOptions;
|
|
14
|
-
controller: AbortController;
|
|
15
|
-
};
|
|
16
|
-
type WithRequestID<T> = T extends Array<any> | Response | AbstractPage<any> ? T : T extends Record<string, any> ? T & {
|
|
17
|
-
_request_id?: string | null;
|
|
18
|
-
} : T;
|
|
19
|
-
/**
|
|
20
|
-
* A subclass of `Promise` providing additional helper methods
|
|
21
|
-
* for interacting with the SDK.
|
|
22
|
-
*/
|
|
23
|
-
export declare class APIPromise<T> extends Promise<WithRequestID<T>> {
|
|
24
|
-
private responsePromise;
|
|
25
|
-
private parseResponse;
|
|
26
|
-
private parsedPromise;
|
|
27
|
-
constructor(responsePromise: Promise<APIResponseProps>, parseResponse?: (props: APIResponseProps) => PromiseOrValue<WithRequestID<T>>);
|
|
28
|
-
_thenUnwrap<U>(transform: (data: T, props: APIResponseProps) => U): APIPromise<U>;
|
|
29
|
-
/**
|
|
30
|
-
* Gets the raw `Response` instance instead of parsing the response
|
|
31
|
-
* data.
|
|
32
|
-
*
|
|
33
|
-
* If you want to parse the response body but still get the `Response`
|
|
34
|
-
* instance, you can use {@link withResponse()}.
|
|
35
|
-
*
|
|
36
|
-
* 👋 Getting the wrong TypeScript type for `Response`?
|
|
37
|
-
* Try setting `"moduleResolution": "NodeNext"` if you can,
|
|
38
|
-
* or add one of these imports before your first `import … from '@anthropic-ai/sdk'`:
|
|
39
|
-
* - `import '@anthropic-ai/sdk/shims/node'` (if you're running on Node)
|
|
40
|
-
* - `import '@anthropic-ai/sdk/shims/web'` (otherwise)
|
|
41
|
-
*/
|
|
42
|
-
asResponse(): Promise<Response>;
|
|
43
|
-
/**
|
|
44
|
-
* Gets the parsed response data, the raw `Response` instance and the ID of the request,
|
|
45
|
-
* returned vie the `request-id` header which is useful for debugging requests and resporting
|
|
46
|
-
* issues to Anthropic.
|
|
47
|
-
*
|
|
48
|
-
* If you just want to get the raw `Response` instance without parsing it,
|
|
49
|
-
* you can use {@link asResponse()}.
|
|
50
|
-
*
|
|
51
|
-
* 👋 Getting the wrong TypeScript type for `Response`?
|
|
52
|
-
* Try setting `"moduleResolution": "NodeNext"` if you can,
|
|
53
|
-
* or add one of these imports before your first `import … from '@anthropic-ai/sdk'`:
|
|
54
|
-
* - `import '@anthropic-ai/sdk/shims/node'` (if you're running on Node)
|
|
55
|
-
* - `import '@anthropic-ai/sdk/shims/web'` (otherwise)
|
|
56
|
-
*/
|
|
57
|
-
withResponse(): Promise<{
|
|
58
|
-
data: T;
|
|
59
|
-
response: Response;
|
|
60
|
-
request_id: string | null | undefined;
|
|
61
|
-
}>;
|
|
62
|
-
private parse;
|
|
63
|
-
then<TResult1 = WithRequestID<T>, TResult2 = never>(onfulfilled?: ((value: WithRequestID<T>) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
|
|
64
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<WithRequestID<T> | TResult>;
|
|
65
|
-
finally(onfinally?: (() => void) | undefined | null): Promise<WithRequestID<T>>;
|
|
66
|
-
}
|
|
67
|
-
export declare abstract class APIClient {
|
|
68
|
-
baseURL: string;
|
|
69
|
-
maxRetries: number;
|
|
70
|
-
timeout: number;
|
|
71
|
-
httpAgent: Agent | undefined;
|
|
72
|
-
private fetch;
|
|
73
|
-
protected idempotencyHeader?: string;
|
|
74
|
-
constructor({ baseURL, maxRetries, timeout, // 10 minutes
|
|
75
|
-
httpAgent, fetch: overriddenFetch, }: {
|
|
76
|
-
baseURL: string;
|
|
77
|
-
maxRetries?: number | undefined;
|
|
78
|
-
timeout: number | undefined;
|
|
79
|
-
httpAgent: Agent | undefined;
|
|
80
|
-
fetch: Fetch | undefined;
|
|
81
|
-
});
|
|
82
|
-
protected authHeaders(opts: FinalRequestOptions): Headers;
|
|
83
|
-
/**
|
|
84
|
-
* Override this to add your own default headers, for example:
|
|
85
|
-
*
|
|
86
|
-
* {
|
|
87
|
-
* ...super.defaultHeaders(),
|
|
88
|
-
* Authorization: 'Bearer 123',
|
|
89
|
-
* }
|
|
90
|
-
*/
|
|
91
|
-
protected defaultHeaders(opts: FinalRequestOptions): Headers;
|
|
92
|
-
protected abstract defaultQuery(): DefaultQuery | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* Override this to add your own headers validation:
|
|
95
|
-
*/
|
|
96
|
-
protected validateHeaders(headers: Headers, customHeaders: Headers): void;
|
|
97
|
-
protected defaultIdempotencyKey(): string;
|
|
98
|
-
get<Req, Rsp>(path: string, opts?: PromiseOrValue<RequestOptions<Req>>): APIPromise<Rsp>;
|
|
99
|
-
post<Req, Rsp>(path: string, opts?: PromiseOrValue<RequestOptions<Req>>): APIPromise<Rsp>;
|
|
100
|
-
patch<Req, Rsp>(path: string, opts?: PromiseOrValue<RequestOptions<Req>>): APIPromise<Rsp>;
|
|
101
|
-
put<Req, Rsp>(path: string, opts?: PromiseOrValue<RequestOptions<Req>>): APIPromise<Rsp>;
|
|
102
|
-
delete<Req, Rsp>(path: string, opts?: PromiseOrValue<RequestOptions<Req>>): APIPromise<Rsp>;
|
|
103
|
-
private methodRequest;
|
|
104
|
-
getAPIList<Item, PageClass extends AbstractPage<Item> = AbstractPage<Item>>(path: string, Page: new (...args: any[]) => PageClass, opts?: RequestOptions<any>): PagePromise<PageClass, Item>;
|
|
105
|
-
private calculateContentLength;
|
|
106
|
-
buildRequest<Req>(options: FinalRequestOptions<Req>, { retryCount }?: {
|
|
107
|
-
retryCount?: number;
|
|
108
|
-
}): {
|
|
109
|
-
req: RequestInit;
|
|
110
|
-
url: string;
|
|
111
|
-
timeout: number;
|
|
112
|
-
};
|
|
113
|
-
private buildHeaders;
|
|
114
|
-
/**
|
|
115
|
-
* Used as a callback for mutating the given `FinalRequestOptions` object.
|
|
116
|
-
*/
|
|
117
|
-
protected prepareOptions(options: FinalRequestOptions): Promise<void>;
|
|
118
|
-
/**
|
|
119
|
-
* Used as a callback for mutating the given `RequestInit` object.
|
|
120
|
-
*
|
|
121
|
-
* This is useful for cases where you want to add certain headers based off of
|
|
122
|
-
* the request properties, e.g. `method` or `url`.
|
|
123
|
-
*/
|
|
124
|
-
protected prepareRequest(request: RequestInit, { url, options }: {
|
|
125
|
-
url: string;
|
|
126
|
-
options: FinalRequestOptions;
|
|
127
|
-
}): Promise<void>;
|
|
128
|
-
protected parseHeaders(headers: HeadersInit | null | undefined): Record<string, string>;
|
|
129
|
-
protected makeStatusError(status: number | undefined, error: Object | undefined, message: string | undefined, headers: Headers | undefined): APIError;
|
|
130
|
-
request<Req, Rsp>(options: PromiseOrValue<FinalRequestOptions<Req>>, remainingRetries?: number | null): APIPromise<Rsp>;
|
|
131
|
-
private makeRequest;
|
|
132
|
-
requestAPIList<Item = unknown, PageClass extends AbstractPage<Item> = AbstractPage<Item>>(Page: new (...args: ConstructorParameters<typeof AbstractPage>) => PageClass, options: FinalRequestOptions): PagePromise<PageClass, Item>;
|
|
133
|
-
buildURL<Req>(path: string, query: Req | null | undefined): string;
|
|
134
|
-
protected stringifyQuery(query: Record<string, unknown>): string;
|
|
135
|
-
fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise<Response>;
|
|
136
|
-
private shouldRetry;
|
|
137
|
-
private retryRequest;
|
|
138
|
-
private calculateDefaultRetryTimeoutMillis;
|
|
139
|
-
private getUserAgent;
|
|
140
|
-
}
|
|
141
|
-
export type PageInfo = {
|
|
142
|
-
url: URL;
|
|
143
|
-
} | {
|
|
144
|
-
params: Record<string, unknown> | null;
|
|
145
|
-
};
|
|
146
|
-
export declare abstract class AbstractPage<Item> implements AsyncIterable<Item> {
|
|
147
|
-
#private;
|
|
148
|
-
protected options: FinalRequestOptions;
|
|
149
|
-
protected response: Response;
|
|
150
|
-
protected body: unknown;
|
|
151
|
-
constructor(client: APIClient, response: Response, body: unknown, options: FinalRequestOptions);
|
|
152
|
-
/**
|
|
153
|
-
* @deprecated Use nextPageInfo instead
|
|
154
|
-
*/
|
|
155
|
-
abstract nextPageParams(): Partial<Record<string, unknown>> | null;
|
|
156
|
-
abstract nextPageInfo(): PageInfo | null;
|
|
157
|
-
abstract getPaginatedItems(): Item[];
|
|
158
|
-
hasNextPage(): boolean;
|
|
159
|
-
getNextPage(): Promise<this>;
|
|
160
|
-
iterPages(): AsyncGenerator<this>;
|
|
161
|
-
[Symbol.asyncIterator](): AsyncGenerator<Item>;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* This subclass of Promise will resolve to an instantiated Page once the request completes.
|
|
165
|
-
*
|
|
166
|
-
* It also implements AsyncIterable to allow auto-paginating iteration on an unawaited list call, eg:
|
|
167
|
-
*
|
|
168
|
-
* for await (const item of client.items.list()) {
|
|
169
|
-
* console.log(item)
|
|
170
|
-
* }
|
|
171
|
-
*/
|
|
172
|
-
export declare class PagePromise<PageClass extends AbstractPage<Item>, Item = ReturnType<PageClass['getPaginatedItems']>[number]> extends APIPromise<PageClass> implements AsyncIterable<Item> {
|
|
173
|
-
constructor(client: APIClient, request: Promise<APIResponseProps>, Page: new (...args: ConstructorParameters<typeof AbstractPage>) => PageClass);
|
|
174
|
-
/**
|
|
175
|
-
* Allow auto-paginating iteration on an unawaited list call, eg:
|
|
176
|
-
*
|
|
177
|
-
* for await (const item of client.items.list()) {
|
|
178
|
-
* console.log(item)
|
|
179
|
-
* }
|
|
180
|
-
*/
|
|
181
|
-
[Symbol.asyncIterator](): AsyncGenerator<Item>;
|
|
182
|
-
}
|
|
183
|
-
export declare const createResponseHeaders: (headers: Awaited<ReturnType<Fetch>>['headers']) => Record<string, string>;
|
|
184
|
-
type HTTPMethod = 'get' | 'post' | 'put' | 'patch' | 'delete';
|
|
185
|
-
export type RequestClient = {
|
|
186
|
-
fetch: Fetch;
|
|
187
|
-
};
|
|
188
|
-
export type Headers = Record<string, string | null | undefined>;
|
|
189
|
-
export type DefaultQuery = Record<string, string | undefined>;
|
|
190
|
-
export type KeysEnum<T> = {
|
|
191
|
-
[P in keyof Required<T>]: true;
|
|
192
|
-
};
|
|
193
|
-
export type RequestOptions<Req = unknown | Record<string, unknown> | Readable | BlobLike | ArrayBufferView | ArrayBuffer> = {
|
|
194
|
-
method?: HTTPMethod;
|
|
195
|
-
path?: string;
|
|
196
|
-
query?: Req | undefined;
|
|
197
|
-
body?: Req | null | undefined;
|
|
198
|
-
headers?: Headers | undefined;
|
|
199
|
-
maxRetries?: number;
|
|
200
|
-
stream?: boolean | undefined;
|
|
201
|
-
timeout?: number;
|
|
202
|
-
httpAgent?: Agent;
|
|
203
|
-
signal?: AbortSignal | undefined | null;
|
|
204
|
-
idempotencyKey?: string;
|
|
205
|
-
__binaryRequest?: boolean | undefined;
|
|
206
|
-
__binaryResponse?: boolean | undefined;
|
|
207
|
-
__streamClass?: typeof Stream;
|
|
208
|
-
};
|
|
209
|
-
export declare const isRequestOptions: (obj: unknown) => obj is RequestOptions<unknown>;
|
|
210
|
-
export type FinalRequestOptions<Req = unknown | Record<string, unknown> | Readable | DataView> = RequestOptions<Req> & {
|
|
211
|
-
method: HTTPMethod;
|
|
212
|
-
path: string;
|
|
213
|
-
};
|
|
214
|
-
export declare const safeJSON: (text: string) => any;
|
|
215
|
-
export declare const sleep: (ms: number) => Promise<unknown>;
|
|
216
|
-
export declare const castToError: (err: any) => Error;
|
|
217
|
-
export declare const ensurePresent: <T>(value: T | null | undefined) => T;
|
|
218
|
-
/**
|
|
219
|
-
* Read an environment variable.
|
|
220
|
-
*
|
|
221
|
-
* Trims beginning and trailing whitespace.
|
|
222
|
-
*
|
|
223
|
-
* Will return undefined if the environment variable doesn't exist or cannot be accessed.
|
|
224
|
-
*/
|
|
225
|
-
export declare const readEnv: (env: string) => string | undefined;
|
|
226
|
-
export declare const coerceInteger: (value: unknown) => number;
|
|
227
|
-
export declare const coerceFloat: (value: unknown) => number;
|
|
228
|
-
export declare const coerceBoolean: (value: unknown) => boolean;
|
|
229
|
-
export declare const maybeCoerceInteger: (value: unknown) => number | undefined;
|
|
230
|
-
export declare const maybeCoerceFloat: (value: unknown) => number | undefined;
|
|
231
|
-
export declare const maybeCoerceBoolean: (value: unknown) => boolean | undefined;
|
|
232
|
-
export declare function isEmptyObj(obj: Object | null | undefined): boolean;
|
|
233
|
-
export declare function hasOwn(obj: Object, key: string): boolean;
|
|
234
|
-
export declare function debug(action: string, ...args: any[]): void;
|
|
235
|
-
export declare const isRunningInBrowser: () => boolean;
|
|
236
|
-
export interface HeadersProtocol {
|
|
237
|
-
get: (header: string) => string | null | undefined;
|
|
238
|
-
}
|
|
239
|
-
export type HeadersLike = Record<string, string | string[] | undefined> | HeadersProtocol;
|
|
240
|
-
export declare const isHeadersProtocol: (headers: any) => headers is HeadersProtocol;
|
|
241
|
-
export declare const getRequiredHeader: (headers: HeadersLike | Headers, header: string) => string;
|
|
242
|
-
export declare const getHeader: (headers: HeadersLike | Headers, header: string) => string | undefined;
|
|
243
|
-
/**
|
|
244
|
-
* Encodes a string to Base64 format.
|
|
245
|
-
*/
|
|
246
|
-
export declare const toBase64: (str: string | null | undefined) => string;
|
|
247
|
-
export declare function isObj(obj: unknown): obj is Record<string, unknown>;
|
|
248
|
-
//# sourceMappingURL=core.d.ts.map
|
package/vendor/sdk/core.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["src/core.ts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