@openclaw/discord 2026.7.2-beta.7 → 2026.7.33
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/README.md +1 -1
- package/dist/.setup/account-inspect-5xopt4s3.mjs +83 -0
- package/dist/.setup/accounts-CetktX10.mjs +225 -0
- package/dist/.setup/allow-list-aF0WK_xB.mjs +358 -0
- package/dist/.setup/api-B9klHRld.mjs +139 -0
- package/dist/.setup/approval-handler.runtime-C2x27lJb.mjs +447 -0
- package/dist/.setup/audit-CJpXzUB2.mjs +25 -0
- package/dist/.setup/channel-B-0bM2vY.mjs +792 -0
- package/dist/.setup/channel-actions-CBcIRuMd.mjs +206 -0
- package/dist/.setup/channel-actions.runtime-DiAtC0pu.mjs +261 -0
- package/dist/.setup/channel.setup-CjWc8bH8.mjs +323 -0
- package/dist/.setup/components-BIqVqL7H.mjs +1001 -0
- package/dist/.setup/config-api-JiPdJeb0.mjs +2 -0
- package/dist/.setup/config-schema-BYYSZVWb.mjs +409 -0
- package/dist/.setup/conversation-identity-SMTT0aIh.mjs +273 -0
- package/dist/.setup/directory-config-BYKhHWCH.mjs +49 -0
- package/dist/.setup/directory-live-C4oZfzY_.mjs +159 -0
- package/dist/.setup/doctor-DE2EmaEP.mjs +244 -0
- package/dist/.setup/doctor-contract-C-FVX5b-.mjs +476 -0
- package/dist/.setup/handle-action.guild-admin-ByHAjaFU.mjs +312 -0
- package/dist/.setup/inbound-event-delivery-BFiEAErb.mjs +62 -0
- package/dist/.setup/legacy-state-migrations-api-Btgw8Z-D.mjs +135 -0
- package/dist/.setup/legacy-state-migrations-api-BtukxVpb.mjs +2 -0
- package/dist/.setup/manager.runtime-CSLNIAh-.mjs +3269 -0
- package/dist/.setup/message-handler-DBUOrisx.mjs +534 -0
- package/dist/.setup/message-handler.preflight-CfUCRAXh.mjs +1119 -0
- package/dist/.setup/message-handler.process-CFYB-wNl.mjs +1651 -0
- package/dist/.setup/message-utils-C_2A56eM.mjs +556 -0
- package/dist/.setup/outbound-adapter-Y8YHg0Dl.mjs +496 -0
- package/dist/.setup/pluralkit-DgdbPiIr.mjs +24 -0
- package/dist/.setup/preflight-audio-CAbvZMVJ.mjs +69 -0
- package/dist/.setup/preview-streaming-DXT8oJdo.mjs +8 -0
- package/dist/.setup/probe-OjgJ4sIJ.mjs +143 -0
- package/dist/.setup/probe.runtime-DSYP3iJ1.mjs +2 -0
- package/dist/.setup/provider-jQ_M-zQG.mjs +10382 -0
- package/dist/.setup/provider-session.runtime-B5adcJTs.mjs +6 -0
- package/dist/.setup/provider.runtime-DYzpCDyT.mjs +2 -0
- package/dist/.setup/resolve-allowlist-common-DwZCgJkD.mjs +34 -0
- package/dist/.setup/resolve-channels-DNoy0AEi.mjs +265 -0
- package/dist/.setup/resolve-users-6fyjg6Ab.mjs +121 -0
- package/dist/.setup/retry-after-BHoAVgTb.mjs +26 -0
- package/dist/.setup/runtime-u8Vu4pcr.mjs +1532 -0
- package/dist/.setup/secret-config-contract-BDNrRWvd.mjs +120 -0
- package/dist/.setup/security-audit-DOphAm-m.mjs +117 -0
- package/dist/.setup/security-audit.runtime-DjrNKxS6.mjs +2 -0
- package/dist/.setup/security-doctor-uUo8hTD5.mjs +18 -0
- package/dist/.setup/send-CWTlYYol.mjs +937 -0
- package/dist/.setup/send.components-DEKlx--m.mjs +529 -0
- package/dist/.setup/send.outbound-C9AU-oWi.mjs +474 -0
- package/dist/.setup/send.receipt-BWF_jBih.mjs +3291 -0
- package/dist/.setup/send.shared-_6GIKg0j.mjs +867 -0
- package/dist/.setup/sender-identity-DOR79Lwd.mjs +43 -0
- package/dist/.setup/setup-plugin-api-HD5L_yCq.mjs +3 -0
- package/dist/.setup/shared-Dnr-D7oC.mjs +164 -0
- package/dist/.setup/subagent-hooks-C-cJLyBL.mjs +120 -0
- package/dist/.setup/system-events-opXGj9b1.mjs +34 -0
- package/dist/.setup/target-resolver-Dpyl0ZFd.mjs +83 -0
- package/dist/.setup/targets-CyQ4PE0h.mjs +3 -0
- package/dist/.setup/thread-bindings-BtE4ymzY.mjs +255 -0
- package/dist/.setup/thread-bindings.discord-api-CEZ8mHzi.mjs +246 -0
- package/dist/.setup/thread-bindings.manager-BYCcNtCV.mjs +534 -0
- package/dist/.setup/thread-bindings.session-updates-BbGx6cft.mjs +55 -0
- package/dist/.setup/thread-bindings.state-Zrb1Dpt8.mjs +353 -0
- package/dist/.setup/timeouts-CgL53eVy.mjs +106 -0
- package/dist/.setup/transcripts-source-27okISHQ.mjs +123 -0
- package/dist/.setup/typing-BIilxjkD.mjs +14 -0
- package/dist/account-inspect-api.js +1 -1
- package/dist/action-runtime-api.js +1 -1
- package/dist/api.js +19 -28
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/configured-state.js +6 -0
- package/dist/contract-api.js +1 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/doctor-contract-api.js +1 -1
- package/dist/index.js +1 -3
- package/dist/legacy-state-migrations-api.js +1 -137
- package/dist/runtime-api.actions.js +2 -2
- package/dist/runtime-api.js +26 -26
- package/dist/runtime-api.lookup.js +6 -6
- package/dist/runtime-api.monitor.js +8 -8
- package/dist/runtime-api.send.js +5 -6
- package/dist/runtime-api.threads.js +6 -6
- package/dist/runtime-setter-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/security-audit-contract-api.js +1 -1
- package/dist/security-contract-api.js +1 -1
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/session-key-api.js +1 -1
- package/dist/setup-entry.js +3 -2
- package/dist/setup-plugin-api.js +1 -1
- package/dist/subagent-hooks-api.js +1 -10
- package/dist/thread-binding-api.js +3 -1
- package/dist/timeouts.js +2 -0
- package/dist/transcripts-source-api.js +1 -1
- package/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs +321 -0
- package/node_modules/@napi-rs/wasm-runtime/dist/fs.js +25127 -0
- package/node_modules/@napi-rs/wasm-runtime/fs-proxy.js +316 -0
- package/node_modules/@napi-rs/wasm-runtime/package.json +70 -0
- package/node_modules/@napi-rs/wasm-runtime/runtime.cjs +15 -0
- package/node_modules/@napi-rs/wasm-runtime/runtime.js +8 -0
- package/node_modules/@snazzah/davey-android-arm-eabi/README.md +3 -0
- package/node_modules/@snazzah/davey-android-arm-eabi/davey.android-arm-eabi.node +0 -0
- package/node_modules/@snazzah/davey-android-arm-eabi/package.json +40 -0
- package/node_modules/@snazzah/davey-android-arm64/README.md +3 -0
- package/node_modules/@snazzah/davey-android-arm64/davey.android-arm64.node +0 -0
- package/node_modules/@snazzah/davey-android-arm64/package.json +40 -0
- package/node_modules/@snazzah/davey-darwin-arm64/README.md +3 -0
- package/node_modules/@snazzah/davey-darwin-arm64/davey.darwin-arm64.node +0 -0
- package/node_modules/@snazzah/davey-darwin-arm64/package.json +40 -0
- package/node_modules/@snazzah/davey-darwin-x64/README.md +3 -0
- package/node_modules/@snazzah/davey-darwin-x64/davey.darwin-x64.node +0 -0
- package/node_modules/@snazzah/davey-darwin-x64/package.json +40 -0
- package/node_modules/@snazzah/davey-freebsd-x64/README.md +3 -0
- package/node_modules/@snazzah/davey-freebsd-x64/davey.freebsd-x64.node +0 -0
- package/node_modules/@snazzah/davey-freebsd-x64/package.json +40 -0
- package/node_modules/@snazzah/davey-linux-arm-gnueabihf/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-arm-gnueabihf/davey.linux-arm-gnueabihf.node +0 -0
- package/node_modules/@snazzah/davey-linux-arm-gnueabihf/package.json +40 -0
- package/node_modules/@snazzah/davey-linux-arm64-gnu/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-arm64-gnu/davey.linux-arm64-gnu.node +0 -0
- package/node_modules/@snazzah/davey-linux-arm64-gnu/package.json +43 -0
- package/node_modules/@snazzah/davey-linux-arm64-musl/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-arm64-musl/davey.linux-arm64-musl.node +0 -0
- package/node_modules/@snazzah/davey-linux-arm64-musl/package.json +43 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/README.md +3 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasi-browser.js +71 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasi.cjs +123 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasm32-wasi.wasm +0 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/package.json +45 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/wasi-worker-browser.mjs +32 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/wasi-worker.mjs +63 -0
- package/node_modules/@snazzah/davey-win32-arm64-msvc/README.md +3 -0
- package/node_modules/@snazzah/davey-win32-arm64-msvc/davey.win32-arm64-msvc.node +0 -0
- package/node_modules/@snazzah/davey-win32-arm64-msvc/package.json +40 -0
- package/node_modules/@snazzah/davey-win32-ia32-msvc/README.md +3 -0
- package/node_modules/@snazzah/davey-win32-ia32-msvc/davey.win32-ia32-msvc.node +0 -0
- package/node_modules/@snazzah/davey-win32-ia32-msvc/package.json +40 -0
- package/node_modules/@snazzah/davey-win32-x64-msvc/README.md +3 -0
- package/node_modules/@snazzah/davey-win32-x64-msvc/davey.win32-x64-msvc.node +0 -0
- package/node_modules/@snazzah/davey-win32-x64-msvc/package.json +40 -0
- package/node_modules/@tybys/wasm-util/README.md +193 -0
- package/node_modules/@tybys/wasm-util/dist/tsdoc-metadata.json +11 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.d.ts +423 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.esm-bundler.js +2932 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.esm.js +2932 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.esm.min.js +1 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.js +2954 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.min.js +1 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/asyncify.js +158 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/index.js +13 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/jspi.js +46 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/load.js +97 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/memory.js +35 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/error.js +103 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/fd.js +268 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/fs.js +3 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/index.js +192 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/path.js +316 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/preview1.js +1599 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/rights.js +141 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/types.js +220 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/util.js +128 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/webassembly.js +13 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/asyncify.mjs +153 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/index.mjs +9 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/jspi.mjs +39 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/load.mjs +89 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/memory.mjs +28 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/error.mjs +97 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/fd.mjs +256 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/index.mjs +186 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/path.mjs +310 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/preview1.mjs +1593 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/rights.mjs +135 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/types.mjs +216 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/util.mjs +113 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/webassembly.mjs +9 -0
- package/node_modules/@tybys/wasm-util/package.json +58 -0
- package/node_modules/@types/node/README.md +15 -0
- package/node_modules/@types/node/crypto.d.ts +3954 -0
- package/node_modules/@types/node/fs/promises.d.ts +1471 -0
- package/node_modules/@types/node/package.json +155 -0
- package/node_modules/discord-api-types/CHANGELOG.md +0 -25
- package/node_modules/discord-api-types/gateway/v10.d.ts +3 -3
- package/node_modules/discord-api-types/gateway/v10.d.ts.map +1 -1
- package/node_modules/discord-api-types/gateway/v10.js.map +1 -1
- package/node_modules/discord-api-types/gateway/v9.d.ts +3 -3
- package/node_modules/discord-api-types/gateway/v9.d.ts.map +1 -1
- package/node_modules/discord-api-types/gateway/v9.js.map +1 -1
- package/node_modules/discord-api-types/package.json +4 -4
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts +1 -4
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts +0 -1
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/application.d.ts +3 -9
- package/node_modules/discord-api-types/payloads/v10/application.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/application.js +1 -1
- package/node_modules/discord-api-types/payloads/v10/application.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts +1 -5
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/channel.js +0 -4
- package/node_modules/discord-api-types/payloads/v10/channel.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/invite.d.ts +1 -1
- package/node_modules/discord-api-types/payloads/v10/message.d.ts +3 -10
- package/node_modules/discord-api-types/payloads/v10/message.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/message.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts +1 -4
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts +0 -1
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/application.d.ts +3 -9
- package/node_modules/discord-api-types/payloads/v9/application.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/application.js +1 -1
- package/node_modules/discord-api-types/payloads/v9/application.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts +1 -5
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/channel.js +0 -4
- package/node_modules/discord-api-types/payloads/v9/channel.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/invite.d.ts +1 -1
- package/node_modules/discord-api-types/payloads/v9/message.d.ts +3 -10
- package/node_modules/discord-api-types/payloads/v9/message.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/message.js.map +1 -1
- package/node_modules/discord-api-types/rest/common.d.ts +0 -1
- package/node_modules/discord-api-types/rest/common.d.ts.map +1 -1
- package/node_modules/discord-api-types/rest/common.js +0 -1
- package/node_modules/discord-api-types/rest/common.js.map +1 -1
- package/node_modules/discord-api-types/rest/v10/channel.d.ts +8 -39
- package/node_modules/discord-api-types/rest/v10/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/rest/v10/channel.js.map +1 -1
- package/node_modules/discord-api-types/rest/v10/index.d.ts.map +1 -1
- package/node_modules/discord-api-types/rest/v10/index.js.map +1 -1
- package/node_modules/discord-api-types/rest/v10/oauth2.d.ts.map +1 -1
- package/node_modules/discord-api-types/rest/v10/webhook.d.ts +3 -3
- package/node_modules/discord-api-types/rest/v9/channel.d.ts +8 -39
- package/node_modules/discord-api-types/rest/v9/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/rest/v9/channel.js.map +1 -1
- package/node_modules/discord-api-types/rest/v9/index.d.ts.map +1 -1
- package/node_modules/discord-api-types/rest/v9/index.js.map +1 -1
- package/node_modules/discord-api-types/rest/v9/oauth2.d.ts.map +1 -1
- package/node_modules/discord-api-types/rest/v9/webhook.d.ts +3 -3
- package/node_modules/typebox/build/compile/validator.d.mts +4 -1
- package/node_modules/typebox/build/guard/guard.d.mts +1 -1
- package/node_modules/typebox/build/guard/guard.mjs +2 -5
- package/node_modules/typebox/build/guard/string.mjs +4 -16
- package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
- package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
- package/node_modules/typebox/build/typebox.d.mts +1 -1
- package/node_modules/typebox/build/typebox.mjs +1 -1
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +32 -29
- package/node_modules/undici/docs/docs/api/Client.md +25 -8
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
- package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
- package/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- package/node_modules/undici/lib/api/readable.js +33 -43
- package/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
- package/node_modules/undici/lib/core/connect.js +16 -2
- package/node_modules/undici/lib/core/symbols.js +3 -0
- package/node_modules/undici/lib/dispatcher/agent.js +7 -2
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
- package/node_modules/undici/lib/dispatcher/client-h1.js +9 -1
- package/node_modules/undici/lib/dispatcher/client-h2.js +221 -12
- package/node_modules/undici/lib/dispatcher/client.js +76 -30
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
- package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +37 -8
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
- package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +106 -22
- package/node_modules/undici/lib/handler/cache-handler.js +29 -5
- package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
- package/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
- package/node_modules/undici/lib/handler/redirect-handler.js +21 -4
- package/node_modules/undici/lib/handler/retry-handler.js +155 -32
- package/node_modules/undici/lib/interceptor/cache.js +65 -9
- package/node_modules/undici/lib/interceptor/decompress.js +115 -13
- package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
- package/node_modules/undici/lib/interceptor/dns.js +7 -0
- package/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/node_modules/undici/lib/mock/mock-agent.js +13 -1
- package/node_modules/undici/lib/mock/mock-utils.js +217 -27
- package/node_modules/undici/lib/util/cache.js +43 -3
- package/node_modules/undici/lib/web/cookies/parse.js +150 -147
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
- package/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
- package/node_modules/undici/lib/web/fetch/index.js +6 -0
- package/node_modules/undici/lib/web/fetch/request.js +2 -3
- package/node_modules/undici/lib/web/fetch/util.js +6 -1
- package/node_modules/undici/lib/web/webidl/index.js +3 -3
- package/node_modules/undici/lib/web/websocket/connection.js +1 -1
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
- package/node_modules/undici/lib/web/websocket/websocket.js +22 -0
- package/node_modules/undici/package.json +3 -3
- package/node_modules/undici/types/client.d.ts +50 -0
- package/node_modules/undici/types/interceptors.d.ts +2 -0
- package/node_modules/undici/types/mock-agent.d.ts +11 -10
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
- package/node_modules/ws/lib/permessage-deflate.js +3 -1
- package/node_modules/ws/package.json +1 -1
- package/openclaw.plugin.json +862 -658
- package/package.json +18 -57
- package/dist/account-inspect-SXiCBCgP.js +0 -83
- package/dist/accounts-DJTf1LtA.js +0 -219
- package/dist/active-turn-thread-route-MlKWp8RD.js +0 -46
- package/dist/activities-api-DTKsuDxf.js +0 -786
- package/dist/activities-api.js +0 -2
- package/dist/allow-list-DzKrtfah.js +0 -386
- package/dist/api-DnrK9gML.js +0 -155
- package/dist/approval-handler.runtime-HymvFTYn.js +0 -446
- package/dist/approval-message-safety-DEyKVsAw.js +0 -140
- package/dist/assets/embedded-app-sdk.mjs +0 -1
- package/dist/audit-CjsrabP8.js +0 -24
- package/dist/channel-actions-uXFTJX3o.js +0 -208
- package/dist/channel-actions.runtime-CIYU90sl.js +0 -317
- package/dist/channel-vKa-76xY.js +0 -1020
- package/dist/channel.setup-CmcwZ_qd.js +0 -339
- package/dist/chunk-DX4jpFQP.js +0 -3227
- package/dist/command-deploy-store-DFkBTViB.js +0 -12
- package/dist/config-schema-WHRQcY19.js +0 -631
- package/dist/directory-config-D_LojtCe.js +0 -49
- package/dist/directory-live-Bw5Ephzv.js +0 -161
- package/dist/doctor-Bc4S1qyd.js +0 -229
- package/dist/doctor-contract-CCFMIDk9.js +0 -416
- package/dist/handle-action.guild-admin-D6VRRW-C.js +0 -312
- package/dist/inbound-event-delivery-CEPlt2uz.js +0 -60
- package/dist/manager.runtime-Bjav3pfC.js +0 -3655
- package/dist/message-handler-CeiSulIw.js +0 -505
- package/dist/message-handler.history-CJOsN9w5.js +0 -28
- package/dist/message-handler.preflight-DibgQFf2.js +0 -1168
- package/dist/message-handler.process-Dnc_oz9y.js +0 -1951
- package/dist/message-utils-BgTwT_q7.js +0 -565
- package/dist/model-picker-preference-primitives-D25pnCOu.js +0 -37
- package/dist/outbound-adapter-DtE-i2OJ.js +0 -428
- package/dist/outbound-components-C7GVyfPh.js +0 -99
- package/dist/outbound-session-route-H-HoyH5U.js +0 -1145
- package/dist/pluralkit-CD4B11JB.js +0 -43
- package/dist/preflight-audio-BjnQZ5yS.js +0 -72
- package/dist/probe-BeWKhjqX.js +0 -156
- package/dist/probe.runtime-DqFGFMbZ.js +0 -2
- package/dist/provider-DfQJX3z5.js +0 -11122
- package/dist/provider-session.runtime-Bo88k0pV.js +0 -6
- package/dist/provider.runtime-Cy7XZmyh.js +0 -2
- package/dist/resolve-allowlist-common-DHERApxi.js +0 -34
- package/dist/resolve-channels-BjepAj8b.js +0 -265
- package/dist/resolve-users-Bc28htgt.js +0 -120
- package/dist/retry-after-DdLPmPoa.js +0 -12
- package/dist/runtime-BmW_j_hl.js +0 -83
- package/dist/runtime-_aRC6V2s.js +0 -1707
- package/dist/runtime-api.monitor-CCRubd3-.js +0 -5
- package/dist/secret-config-contract-B1akrlyY.js +0 -121
- package/dist/security-audit-jGnJF__m.js +0 -147
- package/dist/security-audit.runtime-CPN0xFYz.js +0 -2
- package/dist/security-doctor-nGgPm65L.js +0 -5
- package/dist/send-CdkZ6zeW.js +0 -880
- package/dist/send.components-5uqwkjgE.js +0 -540
- package/dist/send.outbound-D-80Ej-t.js +0 -749
- package/dist/send.reactions-CtlmGd_o.js +0 -85
- package/dist/send.receipt-CuwRrpFz.js +0 -48
- package/dist/send.shared-jpvAG_u6.js +0 -865
- package/dist/sender-identity-mG_zsdox.js +0 -43
- package/dist/shared-CXF1tup1.js +0 -186
- package/dist/subagent-hooks-Dxy7Fmnq.js +0 -120
- package/dist/subagent-progress-DI3sYLLo.js +0 -664
- package/dist/system-events-DdUqf91B.js +0 -34
- package/dist/target-resolver-C3s_2m0t.js +0 -82
- package/dist/targets-Dv_RN7vT.js +0 -3
- package/dist/thread-binding-api-BDZJD4na.js +0 -4
- package/dist/thread-bindings-C-M-ly7P.js +0 -237
- package/dist/thread-bindings.discord-api-BoDNqamb.js +0 -246
- package/dist/thread-bindings.manager-DYvSlrva.js +0 -534
- package/dist/thread-bindings.session-updates-DAIlp7Px.js +0 -54
- package/dist/thread-bindings.state-Cgi5uRn-.js +0 -301
- package/dist/timeouts-B9cy6RvQ.js +0 -90
- package/dist/transcripts-source-DIKGsTGT.js +0 -123
- package/dist/typing--Mzo2kM7.js +0 -14
- package/node_modules/@discord/embedded-app-sdk/LICENSE.md +0 -9
- package/node_modules/@discord/embedded-app-sdk/README.md +0 -74
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/README.md +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/add.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/after.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/ary.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/assign.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/assignIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/assignInWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/assignWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/at.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/attempt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/before.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/bind.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/bindAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/bindKey.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/camelCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/capitalize.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/castArray.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/ceil.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/chain.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/chunk.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/clamp.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/clone.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/cloneDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/cloneDeepWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/cloneWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/array.d.ts +0 -2160
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/collection.d.ts +0 -1938
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/common.d.ts +0 -287
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/date.d.ts +0 -23
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/function.d.ts +0 -1455
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/lang.d.ts +0 -1696
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/math.d.ts +0 -407
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/number.d.ts +0 -131
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/object.d.ts +0 -2643
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/seq.d.ts +0 -210
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/string.d.ts +0 -788
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/common/util.d.ts +0 -1220
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/compact.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/concat.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/cond.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/conformsTo.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/constant.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/countBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/create.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/curry.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/curryRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/debounce.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/deburr.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/defaultTo.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/defaults.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/defaultsDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/defer.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/delay.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/difference.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/differenceBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/differenceWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/divide.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/drop.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/dropRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/dropRightWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/dropWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/each.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/eachRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/endsWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/entries.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/entriesIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/eq.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/escape.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/escapeRegExp.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/every.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/extend.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/extendWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fill.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/filter.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/find.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/findIndex.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/findKey.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/findLast.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/findLastIndex.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/findLastKey.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/first.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/flatMap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/flatMapDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/flatMapDepth.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/flatten.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/flattenDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/flattenDepth.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/flip.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/floor.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/flow.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/flowRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/forEach.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/forEachRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/forIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/forInRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/forOwn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/forOwnRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/F.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/T.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/__.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/add.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/after.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/all.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/allPass.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/always.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/any.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/anyPass.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/apply.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/ary.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assign.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assignAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assignAllWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assignIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assignInAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assignInAllWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assignInWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assignWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assoc.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/assocPath.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/at.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/attempt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/before.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/bind.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/bindAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/bindKey.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/camelCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/capitalize.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/castArray.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/ceil.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/chunk.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/clamp.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/clone.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/cloneDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/cloneDeepWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/cloneWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/compact.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/complement.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/compose.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/concat.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/cond.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/conforms.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/conformsTo.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/constant.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/contains.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/convert.d.ts +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/countBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/create.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/curry.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/curryN.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/curryRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/curryRightN.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/debounce.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/deburr.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/defaultTo.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/defaults.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/defaultsAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/defaultsDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/defaultsDeepAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/defer.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/delay.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/difference.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/differenceBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/differenceWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/dissoc.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/dissocPath.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/divide.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/drop.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/dropLast.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/dropLastWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/dropRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/dropRightWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/dropWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/each.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/eachRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/endsWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/entries.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/entriesIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/eq.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/equals.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/escape.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/escapeRegExp.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/every.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/extend.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/extendAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/extendAllWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/extendWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/fill.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/filter.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/find.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/findFrom.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/findIndex.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/findIndexFrom.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/findKey.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/findLast.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/findLastFrom.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/findLastIndex.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/findLastIndexFrom.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/findLastKey.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/first.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/flatMap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/flatMapDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/flatMapDepth.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/flatten.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/flattenDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/flattenDepth.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/flip.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/floor.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/flow.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/flowRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/forEach.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/forEachRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/forIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/forInRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/forOwn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/forOwnRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/fromPairs.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/functions.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/functionsIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/get.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/getOr.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/groupBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/gt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/gte.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/has.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/hasIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/head.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/identical.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/identity.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/inRange.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/includes.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/includesFrom.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/indexBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/indexOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/indexOfFrom.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/init.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/initial.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/intersection.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/intersectionBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/intersectionWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/invert.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/invertBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/invertObj.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/invoke.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/invokeArgs.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/invokeArgsMap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/invokeMap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isArguments.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isArray.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isArrayBuffer.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isArrayLike.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isArrayLikeObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isBoolean.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isBuffer.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isDate.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isElement.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isEmpty.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isEqual.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isEqualWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isError.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isFinite.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isFunction.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isInteger.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isLength.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isMap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isMatch.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isMatchWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isNaN.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isNative.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isNil.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isNull.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isNumber.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isObjectLike.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isPlainObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isRegExp.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isSafeInteger.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isSet.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isString.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isSymbol.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isTypedArray.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isUndefined.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isWeakMap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/isWeakSet.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/iteratee.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/join.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/juxt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/kebabCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/keyBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/keys.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/keysIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/last.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/lastIndexOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/lastIndexOfFrom.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/lowerCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/lowerFirst.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/lt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/lte.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/map.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/mapKeys.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/mapValues.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/matches.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/matchesProperty.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/max.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/maxBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/mean.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/meanBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/memoize.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/merge.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/mergeAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/mergeAllWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/mergeWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/method.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/methodOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/min.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/minBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/multiply.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/nAry.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/negate.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/noConflict.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/noop.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/now.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/nth.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/nthArg.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/omit.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/omitAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/omitBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/once.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/orderBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/over.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/overArgs.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/overEvery.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/overSome.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pad.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/padChars.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/padCharsEnd.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/padCharsStart.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/padEnd.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/padStart.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/parseInt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/partial.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/partialRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/partition.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/path.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pathEq.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pathOr.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/paths.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pick.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pickAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pickBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pipe.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/placeholder.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pluck.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/prop.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/propEq.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/propOr.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/property.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/propertyOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/props.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pull.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pullAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pullAllBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pullAllWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/pullAt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/random.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/range.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/rangeRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/rangeStep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/rangeStepRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/rearg.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/reduce.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/reduceRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/reject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/remove.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/repeat.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/replace.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/rest.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/restFrom.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/result.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/reverse.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/round.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/runInContext.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sample.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sampleSize.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/set.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/setWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/shuffle.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/size.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/slice.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/snakeCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/some.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sortBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sortedIndex.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sortedIndexBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sortedIndexOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sortedLastIndex.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sortedLastIndexBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sortedLastIndexOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sortedUniq.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sortedUniqBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/split.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/spread.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/spreadFrom.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/startCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/startsWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/stubArray.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/stubFalse.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/stubObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/stubString.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/stubTrue.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/subtract.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sum.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/sumBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/symmetricDifference.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/symmetricDifferenceBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/symmetricDifferenceWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/tail.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/take.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/takeLast.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/takeLastWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/takeRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/takeRightWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/takeWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/tap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/template.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/throttle.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/thru.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/times.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toArray.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toFinite.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toInteger.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toLength.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toLower.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toNumber.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toPairs.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toPairsIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toPath.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toPlainObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toSafeInteger.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toString.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/toUpper.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/transform.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/trim.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/trimChars.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/trimCharsEnd.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/trimCharsStart.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/trimEnd.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/trimStart.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/truncate.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/unapply.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/unary.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/unescape.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/union.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/unionBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/unionWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/uniq.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/uniqBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/uniqWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/uniqueId.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/unnest.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/unset.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/unzip.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/unzipWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/update.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/updateWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/upperCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/upperFirst.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/useWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/values.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/valuesIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/where.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/whereEq.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/without.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/words.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/wrap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/xor.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/xorBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/xorWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/zip.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/zipAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/zipObj.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/zipObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/zipObjectDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp/zipWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fp.d.ts +0 -4962
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/fromPairs.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/functions.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/functionsIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/get.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/groupBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/gt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/gte.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/has.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/hasIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/head.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/identity.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/inRange.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/includes.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/index.d.ts +0 -21
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/indexOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/initial.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/intersection.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/intersectionBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/intersectionWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/invert.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/invertBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/invoke.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/invokeMap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isArguments.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isArray.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isArrayBuffer.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isArrayLike.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isArrayLikeObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isBoolean.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isBuffer.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isDate.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isElement.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isEmpty.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isEqual.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isEqualWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isError.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isFinite.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isFunction.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isInteger.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isLength.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isMap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isMatch.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isMatchWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isNaN.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isNative.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isNil.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isNull.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isNumber.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isObjectLike.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isPlainObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isRegExp.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isSafeInteger.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isSet.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isString.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isSymbol.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isTypedArray.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isUndefined.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isWeakMap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/isWeakSet.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/iteratee.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/join.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/kebabCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/keyBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/keys.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/keysIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/last.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/lastIndexOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/lowerCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/lowerFirst.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/lt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/lte.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/map.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/mapKeys.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/mapValues.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/matches.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/matchesProperty.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/max.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/maxBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/mean.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/meanBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/memoize.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/merge.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/mergeWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/method.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/methodOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/min.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/minBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/mixin.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/multiply.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/negate.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/noConflict.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/noop.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/now.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/nth.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/nthArg.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/omit.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/omitBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/once.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/orderBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/over.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/overArgs.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/overEvery.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/overSome.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/package.json +0 -56
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/pad.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/padEnd.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/padStart.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/parseInt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/partial.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/partialRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/partition.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/pick.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/pickBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/property.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/propertyOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/pull.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/pullAll.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/pullAllBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/pullAllWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/pullAt.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/random.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/range.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/rangeRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/rearg.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/reduce.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/reduceRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/reject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/remove.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/repeat.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/replace.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/rest.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/result.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/reverse.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/round.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/runInContext.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sample.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sampleSize.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/set.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/setWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/shuffle.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/size.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/slice.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/snakeCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/some.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sortBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sortedIndex.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sortedIndexBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sortedIndexOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sortedLastIndex.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sortedLastIndexBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sortedLastIndexOf.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sortedUniq.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sortedUniqBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/split.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/spread.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/startCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/startsWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/stubFalse.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/stubTrue.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/subtract.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sum.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/sumBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/tail.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/take.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/takeRight.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/takeRightWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/takeWhile.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/tap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/template.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/throttle.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/thru.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/times.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toArray.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toFinite.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toInteger.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toLength.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toLower.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toNumber.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toPairs.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toPairsIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toPath.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toPlainObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toSafeInteger.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toString.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/toUpper.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/transform.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/trim.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/trimEnd.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/trimStart.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/truncate.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/unary.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/unescape.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/union.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/unionBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/unionWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/uniq.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/uniqBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/uniqWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/uniqueId.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/unset.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/unzip.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/unzipWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/update.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/updateWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/upperCase.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/upperFirst.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/values.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/valuesIn.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/without.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/words.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/wrap.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/xor.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/xorBy.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/xorWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/zip.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/zipObject.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/zipObjectDeep.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash/zipWith.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash.transform/README.md +0 -23
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash.transform/index.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/lodash.transform/package.json +0 -32
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/uuid/LICENSE +0 -21
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/uuid/README.md +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/uuid/index.d.mts +0 -19
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/uuid/index.d.ts +0 -113
- package/node_modules/@discord/embedded-app-sdk/node_modules/@types/uuid/package.json +0 -54
- package/node_modules/@discord/embedded-app-sdk/node_modules/big-integer/BigInteger.d.ts +0 -2393
- package/node_modules/@discord/embedded-app-sdk/node_modules/big-integer/BigInteger.js +0 -1453
- package/node_modules/@discord/embedded-app-sdk/node_modules/big-integer/BigInteger.min.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/big-integer/LICENSE +0 -24
- package/node_modules/@discord/embedded-app-sdk/node_modules/big-integer/README.md +0 -589
- package/node_modules/@discord/embedded-app-sdk/node_modules/big-integer/bower.json +0 -29
- package/node_modules/@discord/embedded-app-sdk/node_modules/big-integer/package.json +0 -48
- package/node_modules/@discord/embedded-app-sdk/node_modules/big-integer/tsconfig.json +0 -24
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/CHANGELOG.md +0 -87
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/LICENCE.md +0 -23
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/README.md +0 -92
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/decimal.d.ts +0 -570
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/decimal.js +0 -2014
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/decimal.min.js +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/decimal.mjs +0 -1985
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/doc/API.html +0 -1312
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/doc/decimal.js.map +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/decimal.js-light/package.json +0 -36
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/LICENSE +0 -21
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/README.md +0 -85
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -355
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -363
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/index.d.ts +0 -135
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/index.js +0 -336
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/index.mjs +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/eventemitter3/package.json +0 -62
- package/node_modules/@discord/embedded-app-sdk/node_modules/lodash.transform/LICENSE +0 -47
- package/node_modules/@discord/embedded-app-sdk/node_modules/lodash.transform/README.md +0 -18
- package/node_modules/@discord/embedded-app-sdk/node_modules/lodash.transform/index.js +0 -2329
- package/node_modules/@discord/embedded-app-sdk/node_modules/lodash.transform/package.json +0 -17
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/README.md +0 -491
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/index.d.ts +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/index.js +0 -14
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/max.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/max.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/md5.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/md5.js +0 -135
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/nil.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/nil.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/parse.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/parse.js +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/regex.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/regex.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/rng.d.ts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/rng.js +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/sha1.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/sha1.js +0 -70
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/stringify.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/stringify.js +0 -35
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/types.d.ts +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/types.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/uuid-bin.d.ts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/uuid-bin.js +0 -70
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v1.d.ts +0 -11
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v1.js +0 -83
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v1ToV6.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v1ToV6.js +0 -10
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v3.d.ts +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v3.js +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v35.d.ts +0 -7
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v35.js +0 -39
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v4.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v4.js +0 -29
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v5.d.ts +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v5.js +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v6.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v6.js +0 -20
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v6ToV1.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v6ToV1.js +0 -10
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v7.d.ts +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v7.js +0 -65
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/validate.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/validate.js +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/version.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/version.js +0 -8
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/bin/uuid +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/index.js +0 -14
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/max.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/md5.js +0 -11
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/nil.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/parse.js +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/regex.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/rng.js +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/sha1.js +0 -11
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/stringify.js +0 -35
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/uuid-bin.js +0 -70
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v1.js +0 -83
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v1ToV6.js +0 -10
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v3.js +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v35.js +0 -39
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v4.js +0 -29
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v5.js +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v6.js +0 -20
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v6ToV1.js +0 -10
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v7.js +0 -65
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/validate.js +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/version.js +0 -8
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/package.json +0 -114
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/LICENSE +0 -21
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/README.md +0 -208
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.cjs +0 -33
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/index.js +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/package.json +0 -118
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/index.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/errors.ts +0 -13
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/external.ts +0 -6
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/index.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/function.test.ts +0 -257
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v3/types.ts +0 -5136
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/checks.ts +0 -30
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/compat.ts +0 -66
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/errors.ts +0 -75
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/external.ts +0 -50
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/parse.ts +0 -33
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/api.ts +0 -1594
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/checks.ts +0 -1283
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/config.ts +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/core.ts +0 -134
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/errors.ts +0 -424
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/function.ts +0 -176
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/index.ts +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/json-schema.ts +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/parse.ts +0 -94
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/regexes.ts +0 -135
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/registries.ts +0 -96
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/schemas.ts +0 -3842
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/util.ts +0 -775
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/index.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ar.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/az.ts +0 -121
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/be.ts +0 -184
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ca.ts +0 -127
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/cs.ts +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/de.ts +0 -124
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/en.ts +0 -127
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/eo.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/es.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fa.ts +0 -134
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fi.ts +0 -131
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/fr.ts +0 -124
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/he.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/hu.ts +0 -126
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/id.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/index.ts +0 -39
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/it.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ja.ts +0 -122
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/kh.ts +0 -126
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ko.ts +0 -131
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/mk.ts +0 -127
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ms.ts +0 -124
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/nl.ts +0 -126
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/no.ts +0 -124
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ota.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/pl.ts +0 -126
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ps.ts +0 -133
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/pt.ts +0 -123
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ru.ts +0 -184
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/sl.ts +0 -126
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/sv.ts +0 -127
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ta.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/th.ts +0 -126
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/tr.ts +0 -121
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ua.ts +0 -126
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/ur.ts +0 -126
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/vi.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/coerce.ts +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/external.ts +0 -40
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/iso.ts +0 -62
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/parse.ts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/src/v4-mini/index.ts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.cjs +0 -138
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/ZodError.js +0 -133
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.cjs +0 -17
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.d.cts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.d.ts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/errors.js +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.cjs +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.d.cts +0 -6
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.d.ts +0 -6
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/external.js +0 -6
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.cjs +0 -137
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/helpers/util.js +0 -133
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.cjs +0 -33
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/index.js +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.cjs +0 -111
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/locales/en.js +0 -109
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.cjs +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/standard-schema.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.cjs +0 -3775
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.d.cts +0 -1031
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.d.ts +0 -1031
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v3/types.js +0 -3693
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.cjs +0 -32
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/checks.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.cjs +0 -47
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/coerce.js +0 -17
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.cjs +0 -57
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.d.cts +0 -46
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.d.ts +0 -46
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/compat.js +0 -27
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.cjs +0 -67
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/errors.js +0 -41
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.cjs +0 -70
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.d.cts +0 -13
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.d.ts +0 -13
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/external.js +0 -18
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.cjs +0 -33
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/index.js +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.cjs +0 -60
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/iso.js +0 -30
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.cjs +0 -32
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.d.cts +0 -23
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.d.ts +0 -23
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/parse.js +0 -6
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.cjs +0 -1109
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.d.cts +0 -630
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.d.ts +0 -630
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/classic/schemas.js +0 -1006
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.cjs +0 -1039
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.d.cts +0 -284
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.d.ts +0 -284
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/api.js +0 -906
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.cjs +0 -591
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/checks.js +0 -565
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.cjs +0 -67
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.d.cts +0 -49
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.d.ts +0 -49
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/core.js +0 -61
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.cjs +0 -39
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/doc.js +0 -35
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.cjs +0 -226
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.d.cts +0 -208
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.d.ts +0 -208
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/errors.js +0 -195
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.cjs +0 -102
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.d.cts +0 -52
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.d.ts +0 -52
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/function.js +0 -75
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.cjs +0 -44
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.d.cts +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.d.ts +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/index.js +0 -15
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.d.cts +0 -87
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.d.ts +0 -87
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/json-schema.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.cjs +0 -87
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.d.cts +0 -25
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.d.ts +0 -25
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/parse.js +0 -57
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.cjs +0 -103
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.d.cts +0 -62
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.d.ts +0 -62
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/regexes.js +0 -95
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.cjs +0 -56
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/registries.js +0 -51
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.cjs +0 -1748
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.d.cts +0 -1041
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.d.ts +0 -1041
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/schemas.js +0 -1717
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.cjs +0 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/to-json-schema.js +0 -849
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.cjs +0 -539
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.d.cts +0 -183
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.d.ts +0 -183
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/util.js +0 -493
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/core/versions.js +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.cjs +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.d.cts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/index.js +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.cjs +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ar.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.cjs +0 -141
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/az.js +0 -115
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.cjs +0 -190
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/be.js +0 -164
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.cjs +0 -144
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ca.js +0 -118
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.cjs +0 -161
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/cs.js +0 -135
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.cjs +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/de.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.cjs +0 -145
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.d.ts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/en.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.cjs +0 -144
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.d.ts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/eo.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/es.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.cjs +0 -148
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fa.js +0 -122
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.cjs +0 -148
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fi.js +0 -122
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr-CA.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.cjs +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/fr.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/he.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/hu.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.cjs +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/id.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.cjs +0 -84
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.d.cts +0 -39
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.d.ts +0 -39
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/index.js +0 -39
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/it.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.cjs +0 -141
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ja.js +0 -115
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/kh.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.cjs +0 -147
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ko.js +0 -121
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.cjs +0 -144
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/mk.js +0 -118
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.cjs +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ms.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/nl.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.cjs +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/no.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ota.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pl.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.cjs +0 -148
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ps.js +0 -122
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.cjs +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/pt.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.cjs +0 -190
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ru.js +0 -164
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sl.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.cjs +0 -144
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/sv.js +0 -118
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ta.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/th.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.d.ts +0 -5
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/tr.js +0 -115
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ua.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/ur.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.cjs +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/vi.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-CN.js +0 -116
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/locales/zh-TW.js +0 -117
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.cjs +0 -34
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/checks.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.cjs +0 -47
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/coerce.js +0 -17
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.cjs +0 -62
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.d.cts +0 -11
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.d.ts +0 -11
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/external.js +0 -13
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.cjs +0 -32
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/index.js +0 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.cjs +0 -60
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/iso.js +0 -30
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/parse.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.cjs +0 -839
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.d.cts +0 -356
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.d.ts +0 -356
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4/mini/schemas.js +0 -732
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.cjs +0 -17
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.d.cts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.d.ts +0 -1
- package/node_modules/@discord/embedded-app-sdk/node_modules/zod/v4-mini/index.js +0 -1
- package/node_modules/@discord/embedded-app-sdk/output/Constants.cjs +0 -100
- package/node_modules/@discord/embedded-app-sdk/output/Constants.d.ts +0 -88
- package/node_modules/@discord/embedded-app-sdk/output/Constants.mjs +0 -96
- package/node_modules/@discord/embedded-app-sdk/output/Discord.cjs +0 -286
- package/node_modules/@discord/embedded-app-sdk/output/Discord.d.ts +0 -603
- package/node_modules/@discord/embedded-app-sdk/output/Discord.mjs +0 -284
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger.cjs +0 -11
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger.mjs +0 -7
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger2.cjs +0 -5
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger2.mjs +0 -3
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/_commonjsHelpers.cjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/_commonjsHelpers.mjs +0 -7
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index.cjs +0 -11
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index.mjs +0 -7
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index2.cjs +0 -11
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index2.mjs +0 -7
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index3.cjs +0 -5
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index3.mjs +0 -3
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index4.cjs +0 -5
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index4.mjs +0 -3
- package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.cjs +0 -11
- package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.d.ts +0 -25
- package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.mjs +0 -9
- package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.cjs +0 -16
- package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.d.ts +0 -20
- package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.mjs +0 -14
- package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.cjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.d.ts +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.cjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.d.ts +0 -7
- package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.d.ts +0 -18
- package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.mjs +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.cjs +0 -29
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.d.ts +0 -230
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.mjs +0 -27
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.cjs +0 -13
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.d.ts +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.mjs +0 -11
- package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.cjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.d.ts +0 -22
- package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.cjs +0 -16
- package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.d.ts +0 -11
- package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.mjs +0 -14
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.d.ts +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.mjs +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.d.ts +0 -7
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.mjs +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.d.ts +0 -70
- package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.mjs +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.cjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.d.ts +0 -15
- package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.d.ts +0 -17
- package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.mjs +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/index.cjs +0 -76
- package/node_modules/@discord/embedded-app-sdk/output/commands/index.d.ts +0 -562
- package/node_modules/@discord/embedded-app-sdk/output/commands/index.mjs +0 -68
- package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.cjs +0 -17
- package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.d.ts +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.mjs +0 -15
- package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.d.ts +0 -4
- package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.mjs +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.cjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.d.ts +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.cjs +0 -14
- package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.d.ts +0 -7
- package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.mjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.cjs +0 -14
- package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.d.ts +0 -9
- package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.mjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.d.ts +0 -5
- package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.mjs +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.mjs +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.cjs +0 -48
- package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.d.ts +0 -304
- package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.mjs +0 -46
- package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.cjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.d.ts +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.cjs +0 -20
- package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.d.ts +0 -11
- package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.mjs +0 -18
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.d.ts +0 -26
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.mjs +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.cjs +0 -16
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.d.ts +0 -17
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.mjs +0 -14
- package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.cjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.d.ts +0 -24
- package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.cjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.d.ts +0 -7
- package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/error.cjs +0 -12
- package/node_modules/@discord/embedded-app-sdk/output/error.d.ts +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/error.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.cjs +0 -408
- package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.d.ts +0 -2227
- package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.mjs +0 -387
- package/node_modules/@discord/embedded-app-sdk/output/index.cjs +0 -44
- package/node_modules/@discord/embedded-app-sdk/output/index.d.ts +0 -17
- package/node_modules/@discord/embedded-app-sdk/output/index.mjs +0 -14
- package/node_modules/@discord/embedded-app-sdk/output/interface.d.ts +0 -35
- package/node_modules/@discord/embedded-app-sdk/output/lib/big-integer/BigInteger.cjs +0 -1460
- package/node_modules/@discord/embedded-app-sdk/output/lib/big-integer/BigInteger.mjs +0 -1458
- package/node_modules/@discord/embedded-app-sdk/output/lib/decimal.js-light/decimal.cjs +0 -1991
- package/node_modules/@discord/embedded-app-sdk/output/lib/decimal.js-light/decimal.mjs +0 -1987
- package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index.cjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index.mjs +0 -5
- package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index2.cjs +0 -350
- package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index2.mjs +0 -348
- package/node_modules/@discord/embedded-app-sdk/output/lib/lodash.transform/index.cjs +0 -2343
- package/node_modules/@discord/embedded-app-sdk/output/lib/lodash.transform/index.mjs +0 -2341
- package/node_modules/@discord/embedded-app-sdk/output/lib/tslib/tslib.es6.cjs +0 -37
- package/node_modules/@discord/embedded-app-sdk/output/lib/tslib/tslib.es6.mjs +0 -35
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/native.cjs +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/native.mjs +0 -4
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/rng.cjs +0 -17
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/rng.mjs +0 -13
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/stringify.cjs +0 -30
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/stringify.mjs +0 -28
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/v4.cjs +0 -23
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/v4.mjs +0 -19
- package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.cjs +0 -4342
- package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.mjs +0 -4233
- package/node_modules/@discord/embedded-app-sdk/output/mock.cjs +0 -181
- package/node_modules/@discord/embedded-app-sdk/output/mock.d.ts +0 -579
- package/node_modules/@discord/embedded-app-sdk/output/mock.mjs +0 -178
- package/node_modules/@discord/embedded-app-sdk/output/package.json.cjs +0 -5
- package/node_modules/@discord/embedded-app-sdk/output/package.json.mjs +0 -3
- package/node_modules/@discord/embedded-app-sdk/output/schema/common.cjs +0 -587
- package/node_modules/@discord/embedded-app-sdk/output/schema/common.d.ts +0 -5141
- package/node_modules/@discord/embedded-app-sdk/output/schema/common.mjs +0 -531
- package/node_modules/@discord/embedded-app-sdk/output/schema/events.cjs +0 -221
- package/node_modules/@discord/embedded-app-sdk/output/schema/events.d.ts +0 -3832
- package/node_modules/@discord/embedded-app-sdk/output/schema/events.mjs +0 -213
- package/node_modules/@discord/embedded-app-sdk/output/schema/index.cjs +0 -47
- package/node_modules/@discord/embedded-app-sdk/output/schema/index.d.ts +0 -59
- package/node_modules/@discord/embedded-app-sdk/output/schema/index.mjs +0 -44
- package/node_modules/@discord/embedded-app-sdk/output/schema/responses.cjs +0 -189
- package/node_modules/@discord/embedded-app-sdk/output/schema/responses.d.ts +0 -7224
- package/node_modules/@discord/embedded-app-sdk/output/schema/responses.mjs +0 -163
- package/node_modules/@discord/embedded-app-sdk/output/schema/types.d.ts +0 -61
- package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.cjs +0 -235
- package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.d.ts +0 -59
- package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.mjs +0 -231
- package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.cjs +0 -14
- package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.d.ts +0 -6
- package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.mjs +0 -10
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.cjs +0 -373
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.d.ts +0 -368
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.mjs +0 -371
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.cjs +0 -26
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.d.ts +0 -8
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.mjs +0 -22
- package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.cjs +0 -13
- package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.d.ts +0 -5
- package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.mjs +0 -9
- package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.cjs +0 -37
- package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.d.ts +0 -9
- package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.mjs +0 -34
- package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.cjs +0 -39
- package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.d.ts +0 -15
- package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.mjs +0 -35
- package/node_modules/@discord/embedded-app-sdk/output/utils/console.cjs +0 -19
- package/node_modules/@discord/embedded-app-sdk/output/utils/console.d.ts +0 -3
- package/node_modules/@discord/embedded-app-sdk/output/utils/console.mjs +0 -16
- package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.cjs +0 -11
- package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.d.ts +0 -2
- package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.mjs +0 -7
- package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.cjs +0 -153
- package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.d.ts +0 -17
- package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.mjs +0 -150
- package/node_modules/@discord/embedded-app-sdk/output/utils/url.cjs +0 -62
- package/node_modules/@discord/embedded-app-sdk/output/utils/url.d.ts +0 -17
- package/node_modules/@discord/embedded-app-sdk/output/utils/url.mjs +0 -59
- package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.cjs +0 -44
- package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.d.ts +0 -28
- package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.mjs +0 -41
- package/node_modules/@discord/embedded-app-sdk/package.json +0 -88
- package/node_modules/@discordjs/voice/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@discordjs/voice/node_modules/@types/node/README.md +0 -15
- package/node_modules/@discordjs/voice/node_modules/@types/node/crypto.d.ts +0 -3954
- package/node_modules/@discordjs/voice/node_modules/@types/node/fs/promises.d.ts +0 -1481
- package/node_modules/@discordjs/voice/node_modules/@types/node/package.json +0 -155
- package/node_modules/@discordjs/voice/node_modules/@types/ws/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1348
- package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -295
- package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1177
- package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -295
- package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/README.md +0 -69
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/index.d.ts +0 -50
- package/node_modules/mdast-util-from-markdown/node_modules/@types/debug/package.json +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/README.md +0 -15
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/index.d.ts +0 -1123
- package/node_modules/mdast-util-from-markdown/node_modules/@types/mdast/package.json +0 -47
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/README.md +0 -82
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/index.d.ts +0 -63
- package/node_modules/mdast-util-from-markdown/node_modules/@types/ms/package.json +0 -26
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/LICENSE +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/README.md +0 -15
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/index.d.ts +0 -119
- package/node_modules/mdast-util-from-markdown/node_modules/@types/unist/package.json +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/index.d.ts +0 -6
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/index.js +0 -2132
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/package.json +0 -78
- package/node_modules/mdast-util-from-markdown/node_modules/character-entities/readme.md +0 -152
- package/node_modules/mdast-util-from-markdown/node_modules/debug/LICENSE +0 -20
- package/node_modules/mdast-util-from-markdown/node_modules/debug/README.md +0 -481
- package/node_modules/mdast-util-from-markdown/node_modules/debug/package.json +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/browser.js +0 -272
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/common.js +0 -292
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/index.js +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/debug/src/node.js +0 -263
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/index.js +0 -19
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/package.json +0 -90
- package/node_modules/mdast-util-from-markdown/node_modules/decode-named-character-reference/readme.md +0 -136
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/license +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/dequal/readme.md +0 -112
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/package.json +0 -80
- package/node_modules/mdast-util-from-markdown/node_modules/devlop/readme.md +0 -360
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/index.d.ts +0 -2
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/index.js +0 -5
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/lib/index.js +0 -108
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/package.json +0 -78
- package/node_modules/mdast-util-from-markdown/node_modules/mdast-util-to-string/readme.md +0 -218
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/index.d.ts +0 -82
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/index.js +0 -68
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/compile.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/compile.js +0 -1152
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/constructs.js +0 -101
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/create-tokenizer.js +0 -717
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/content.js +0 -99
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/document.js +0 -445
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/initialize/text.js +0 -244
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/parse.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/parse.js +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/postprocess.js +0 -19
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/lib/preprocess.js +0 -141
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/stream.d.ts +0 -35
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/stream.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/dev/stream.js +0 -270
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/index.d.ts +0 -82
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/index.js +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/compile.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/compile.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/compile.js +0 -1060
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/constructs.d.ts +0 -73
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/constructs.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/constructs.js +0 -85
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/create-tokenizer.js +0 -611
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/content.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/content.js +0 -79
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/document.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/document.js +0 -362
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/flow.js +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/text.d.ts +0 -8
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/initialize/text.js +0 -212
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/parse.d.ts +0 -10
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/parse.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/parse.js +0 -56
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/postprocess.d.ts +0 -9
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/postprocess.js +0 -18
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/preprocess.d.ts +0 -13
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/lib/preprocess.js +0 -115
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/package.json +0 -100
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/readme.md +0 -488
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/stream.d.ts +0 -35
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/stream.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark/stream.js +0 -256
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/index.js +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -300
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -514
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -202
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -233
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -989
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -656
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -110
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -62
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -210
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/index.js +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/attention.js +0 -241
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -460
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -177
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/content.js +0 -163
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -195
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -876
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +0 -560
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -102
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -55
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/list.js +0 -213
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -185
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/package.json +0 -74
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-core-commonmark/readme.md +0 -171
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/dev/index.js +0 -255
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/index.d.ts +0 -42
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/index.js +0 -206
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-destination/readme.md +0 -234
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/dev/index.js +0 -172
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/index.js +0 -148
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/package.json +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-label/readme.md +0 -224
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/dev/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/dev/index.js +0 -67
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/index.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/index.js +0 -64
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/package.json +0 -55
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-space/readme.md +0 -225
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/dev/index.js +0 -169
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/index.js +0 -158
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/package.json +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-title/readme.md +0 -229
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/index.js +0 -44
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-factory-whitespace/readme.md +0 -205
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/dev/index.js +0 -89
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/index.d.ts +0 -41
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/index.js +0 -81
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/package.json +0 -57
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-chunked/readme.md +0 -219
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/index.js +0 -27
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/package.json +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/index.js +0 -143
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/package.json +0 -52
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-combine-extensions/readme.md +0 -201
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/dev/index.js +0 -53
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/index.d.ts +0 -14
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/index.js +0 -45
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/package.json +0 -63
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-decode-string/readme.md +0 -179
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/index.d.ts +0 -14
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/index.js +0 -33
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/package.json +0 -47
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-encode/readme.md +0 -176
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/index.js +0 -93
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/package.json +0 -47
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-html-tag-name/readme.md +0 -193
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/index.js +0 -33
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/package.json +0 -58
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/index.js +0 -32
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/package.json +0 -48
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-resolve-all/readme.md +0 -238
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/index.js +0 -107
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/package.json +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/index.js +0 -228
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/package.json +0 -60
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-subtokenize/readme.md +0 -181
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/index.d.ts +0 -1312
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/package.json +0 -71
- package/node_modules/mdast-util-from-markdown/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/mdast-util-from-markdown/node_modules/ms/index.js +0 -162
- package/node_modules/mdast-util-from-markdown/node_modules/ms/license.md +0 -21
- package/node_modules/mdast-util-from-markdown/node_modules/ms/package.json +0 -38
- package/node_modules/mdast-util-from-markdown/node_modules/ms/readme.md +0 -59
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/index.d.ts +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/index.js +0 -1
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js +0 -84
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/license +0 -22
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/package.json +0 -80
- package/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/readme.md +0 -206
- package/node_modules/mdast-util-from-markdown/package.json +0 -99
- package/node_modules/mdast-util-from-markdown/readme.md +0 -535
- package/node_modules/p-map/index.d.ts +0 -155
- package/node_modules/p-map/index.js +0 -285
- package/node_modules/p-map/license +0 -9
- package/node_modules/p-map/package.json +0 -57
- package/node_modules/p-map/readme.md +0 -190
- package/node_modules/zod/LICENSE +0 -21
- package/node_modules/zod/README.md +0 -191
- package/node_modules/zod/index.cjs +0 -33
- package/node_modules/zod/index.d.cts +0 -4
- package/node_modules/zod/index.d.ts +0 -4
- package/node_modules/zod/index.js +0 -4
- package/node_modules/zod/locales/index.cjs +0 -17
- package/node_modules/zod/locales/index.d.cts +0 -1
- package/node_modules/zod/locales/index.d.ts +0 -1
- package/node_modules/zod/locales/index.js +0 -1
- package/node_modules/zod/locales/package.json +0 -7
- package/node_modules/zod/mini/index.cjs +0 -32
- package/node_modules/zod/mini/index.d.cts +0 -3
- package/node_modules/zod/mini/index.d.ts +0 -3
- package/node_modules/zod/mini/index.js +0 -3
- package/node_modules/zod/mini/package.json +0 -7
- package/node_modules/zod/package.json +0 -135
- package/node_modules/zod/src/index.ts +0 -4
- package/node_modules/zod/src/locales/index.ts +0 -1
- package/node_modules/zod/src/mini/index.ts +0 -3
- package/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/node_modules/zod/src/v3/errors.ts +0 -13
- package/node_modules/zod/src/v3/external.ts +0 -6
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/node_modules/zod/src/v3/index.ts +0 -4
- package/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/node_modules/zod/src/v3/types.ts +0 -5138
- package/node_modules/zod/src/v4/classic/checks.ts +0 -32
- package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/node_modules/zod/src/v4/classic/compat.ts +0 -70
- package/node_modules/zod/src/v4/classic/errors.ts +0 -82
- package/node_modules/zod/src/v4/classic/external.ts +0 -52
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
- package/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/node_modules/zod/src/v4/classic/parse.ts +0 -82
- package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/node_modules/zod/src/v4/core/api.ts +0 -1823
- package/node_modules/zod/src/v4/core/checks.ts +0 -1293
- package/node_modules/zod/src/v4/core/config.ts +0 -15
- package/node_modules/zod/src/v4/core/core.ts +0 -153
- package/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/node_modules/zod/src/v4/core/errors.ts +0 -455
- package/node_modules/zod/src/v4/core/index.ts +0 -16
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
- package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
- package/node_modules/zod/src/v4/core/parse.ts +0 -195
- package/node_modules/zod/src/v4/core/regexes.ts +0 -190
- package/node_modules/zod/src/v4/core/registries.ts +0 -105
- package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
- package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
- package/node_modules/zod/src/v4/core/util.ts +0 -983
- package/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/node_modules/zod/src/v4/index.ts +0 -4
- package/node_modules/zod/src/v4/locales/ar.ts +0 -115
- package/node_modules/zod/src/v4/locales/az.ts +0 -111
- package/node_modules/zod/src/v4/locales/be.ts +0 -176
- package/node_modules/zod/src/v4/locales/bg.ts +0 -128
- package/node_modules/zod/src/v4/locales/ca.ts +0 -116
- package/node_modules/zod/src/v4/locales/cs.ts +0 -118
- package/node_modules/zod/src/v4/locales/da.ts +0 -123
- package/node_modules/zod/src/v4/locales/de.ts +0 -116
- package/node_modules/zod/src/v4/locales/el.ts +0 -121
- package/node_modules/zod/src/v4/locales/en.ts +0 -123
- package/node_modules/zod/src/v4/locales/eo.ts +0 -118
- package/node_modules/zod/src/v4/locales/es.ts +0 -141
- package/node_modules/zod/src/v4/locales/fa.ts +0 -126
- package/node_modules/zod/src/v4/locales/fi.ts +0 -121
- package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
- package/node_modules/zod/src/v4/locales/fr.ts +0 -132
- package/node_modules/zod/src/v4/locales/he.ts +0 -246
- package/node_modules/zod/src/v4/locales/hr.ts +0 -131
- package/node_modules/zod/src/v4/locales/hu.ts +0 -117
- package/node_modules/zod/src/v4/locales/hy.ts +0 -164
- package/node_modules/zod/src/v4/locales/id.ts +0 -115
- package/node_modules/zod/src/v4/locales/index.ts +0 -52
- package/node_modules/zod/src/v4/locales/is.ts +0 -119
- package/node_modules/zod/src/v4/locales/it.ts +0 -116
- package/node_modules/zod/src/v4/locales/ja.ts +0 -114
- package/node_modules/zod/src/v4/locales/ka.ts +0 -123
- package/node_modules/zod/src/v4/locales/kh.ts +0 -7
- package/node_modules/zod/src/v4/locales/km.ts +0 -119
- package/node_modules/zod/src/v4/locales/ko.ts +0 -121
- package/node_modules/zod/src/v4/locales/lt.ts +0 -239
- package/node_modules/zod/src/v4/locales/mk.ts +0 -118
- package/node_modules/zod/src/v4/locales/ms.ts +0 -115
- package/node_modules/zod/src/v4/locales/nl.ts +0 -121
- package/node_modules/zod/src/v4/locales/no.ts +0 -116
- package/node_modules/zod/src/v4/locales/ota.ts +0 -117
- package/node_modules/zod/src/v4/locales/pl.ts +0 -118
- package/node_modules/zod/src/v4/locales/ps.ts +0 -126
- package/node_modules/zod/src/v4/locales/pt.ts +0 -116
- package/node_modules/zod/src/v4/locales/ro.ts +0 -129
- package/node_modules/zod/src/v4/locales/ru.ts +0 -176
- package/node_modules/zod/src/v4/locales/sl.ts +0 -118
- package/node_modules/zod/src/v4/locales/sv.ts +0 -119
- package/node_modules/zod/src/v4/locales/ta.ts +0 -118
- package/node_modules/zod/src/v4/locales/th.ts +0 -119
- package/node_modules/zod/src/v4/locales/tr.ts +0 -111
- package/node_modules/zod/src/v4/locales/ua.ts +0 -7
- package/node_modules/zod/src/v4/locales/uk.ts +0 -117
- package/node_modules/zod/src/v4/locales/ur.ts +0 -119
- package/node_modules/zod/src/v4/locales/uz.ts +0 -117
- package/node_modules/zod/src/v4/locales/vi.ts +0 -117
- package/node_modules/zod/src/v4/locales/yo.ts +0 -124
- package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
- package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
- package/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
- package/node_modules/zod/src/v4/mini/external.ts +0 -41
- package/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/node_modules/zod/src/v4/mini/iso.ts +0 -66
- package/node_modules/zod/src/v4/mini/parse.ts +0 -14
- package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
- package/node_modules/zod/src/v4-mini/index.ts +0 -3
- package/node_modules/zod/v3/ZodError.cjs +0 -138
- package/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/node_modules/zod/v3/ZodError.js +0 -133
- package/node_modules/zod/v3/errors.cjs +0 -17
- package/node_modules/zod/v3/errors.d.cts +0 -5
- package/node_modules/zod/v3/errors.d.ts +0 -5
- package/node_modules/zod/v3/errors.js +0 -9
- package/node_modules/zod/v3/external.cjs +0 -22
- package/node_modules/zod/v3/external.d.cts +0 -6
- package/node_modules/zod/v3/external.d.ts +0 -6
- package/node_modules/zod/v3/external.js +0 -6
- package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/node_modules/zod/v3/helpers/util.cjs +0 -137
- package/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/node_modules/zod/v3/helpers/util.js +0 -133
- package/node_modules/zod/v3/index.cjs +0 -33
- package/node_modules/zod/v3/index.d.cts +0 -4
- package/node_modules/zod/v3/index.d.ts +0 -4
- package/node_modules/zod/v3/index.js +0 -4
- package/node_modules/zod/v3/locales/en.cjs +0 -112
- package/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/node_modules/zod/v3/locales/en.js +0 -109
- package/node_modules/zod/v3/package.json +0 -7
- package/node_modules/zod/v3/standard-schema.cjs +0 -2
- package/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/node_modules/zod/v3/standard-schema.js +0 -1
- package/node_modules/zod/v3/types.cjs +0 -3777
- package/node_modules/zod/v3/types.d.cts +0 -1034
- package/node_modules/zod/v3/types.d.ts +0 -1034
- package/node_modules/zod/v3/types.js +0 -3695
- package/node_modules/zod/v4/classic/checks.cjs +0 -33
- package/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/node_modules/zod/v4/classic/checks.js +0 -1
- package/node_modules/zod/v4/classic/coerce.cjs +0 -47
- package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/node_modules/zod/v4/classic/coerce.js +0 -17
- package/node_modules/zod/v4/classic/compat.cjs +0 -61
- package/node_modules/zod/v4/classic/compat.d.cts +0 -50
- package/node_modules/zod/v4/classic/compat.d.ts +0 -50
- package/node_modules/zod/v4/classic/compat.js +0 -31
- package/node_modules/zod/v4/classic/errors.cjs +0 -74
- package/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/node_modules/zod/v4/classic/errors.js +0 -48
- package/node_modules/zod/v4/classic/external.cjs +0 -73
- package/node_modules/zod/v4/classic/external.d.cts +0 -16
- package/node_modules/zod/v4/classic/external.d.ts +0 -16
- package/node_modules/zod/v4/classic/external.js +0 -20
- package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
- package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
- package/node_modules/zod/v4/classic/index.cjs +0 -33
- package/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/node_modules/zod/v4/classic/index.js +0 -4
- package/node_modules/zod/v4/classic/iso.cjs +0 -60
- package/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/node_modules/zod/v4/classic/iso.js +0 -30
- package/node_modules/zod/v4/classic/package.json +0 -7
- package/node_modules/zod/v4/classic/parse.cjs +0 -41
- package/node_modules/zod/v4/classic/parse.d.cts +0 -31
- package/node_modules/zod/v4/classic/parse.d.ts +0 -31
- package/node_modules/zod/v4/classic/parse.js +0 -15
- package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
- package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
- package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
- package/node_modules/zod/v4/classic/schemas.js +0 -1395
- package/node_modules/zod/v4/core/api.cjs +0 -1227
- package/node_modules/zod/v4/core/api.d.cts +0 -325
- package/node_modules/zod/v4/core/api.d.ts +0 -325
- package/node_modules/zod/v4/core/api.js +0 -1087
- package/node_modules/zod/v4/core/checks.cjs +0 -601
- package/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/node_modules/zod/v4/core/checks.js +0 -575
- package/node_modules/zod/v4/core/core.cjs +0 -85
- package/node_modules/zod/v4/core/core.d.cts +0 -70
- package/node_modules/zod/v4/core/core.d.ts +0 -70
- package/node_modules/zod/v4/core/core.js +0 -78
- package/node_modules/zod/v4/core/doc.cjs +0 -39
- package/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/node_modules/zod/v4/core/doc.js +0 -35
- package/node_modules/zod/v4/core/errors.cjs +0 -216
- package/node_modules/zod/v4/core/errors.d.cts +0 -221
- package/node_modules/zod/v4/core/errors.d.ts +0 -221
- package/node_modules/zod/v4/core/errors.js +0 -185
- package/node_modules/zod/v4/core/index.cjs +0 -47
- package/node_modules/zod/v4/core/index.d.cts +0 -16
- package/node_modules/zod/v4/core/index.d.ts +0 -16
- package/node_modules/zod/v4/core/index.js +0 -16
- package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
- package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
- package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
- package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
- package/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
- package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
- package/node_modules/zod/v4/core/json-schema.js +0 -1
- package/node_modules/zod/v4/core/package.json +0 -7
- package/node_modules/zod/v4/core/parse.cjs +0 -131
- package/node_modules/zod/v4/core/parse.d.cts +0 -49
- package/node_modules/zod/v4/core/parse.d.ts +0 -49
- package/node_modules/zod/v4/core/parse.js +0 -93
- package/node_modules/zod/v4/core/regexes.cjs +0 -172
- package/node_modules/zod/v4/core/regexes.d.cts +0 -85
- package/node_modules/zod/v4/core/regexes.d.ts +0 -85
- package/node_modules/zod/v4/core/regexes.js +0 -139
- package/node_modules/zod/v4/core/registries.cjs +0 -56
- package/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/node_modules/zod/v4/core/registries.js +0 -51
- package/node_modules/zod/v4/core/schemas.cjs +0 -2270
- package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
- package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
- package/node_modules/zod/v4/core/schemas.js +0 -2239
- package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
- package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
- package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
- package/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
- package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
- package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
- package/node_modules/zod/v4/core/to-json-schema.js +0 -448
- package/node_modules/zod/v4/core/util.cjs +0 -734
- package/node_modules/zod/v4/core/util.d.cts +0 -200
- package/node_modules/zod/v4/core/util.d.ts +0 -200
- package/node_modules/zod/v4/core/util.js +0 -674
- package/node_modules/zod/v4/core/versions.cjs +0 -8
- package/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/node_modules/zod/v4/core/versions.js +0 -5
- package/node_modules/zod/v4/index.cjs +0 -22
- package/node_modules/zod/v4/index.d.cts +0 -3
- package/node_modules/zod/v4/index.d.ts +0 -3
- package/node_modules/zod/v4/index.js +0 -3
- package/node_modules/zod/v4/locales/ar.cjs +0 -133
- package/node_modules/zod/v4/locales/ar.d.cts +0 -5
- package/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/node_modules/zod/v4/locales/ar.js +0 -106
- package/node_modules/zod/v4/locales/az.cjs +0 -132
- package/node_modules/zod/v4/locales/az.d.cts +0 -5
- package/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/node_modules/zod/v4/locales/az.js +0 -105
- package/node_modules/zod/v4/locales/be.cjs +0 -183
- package/node_modules/zod/v4/locales/be.d.cts +0 -5
- package/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/node_modules/zod/v4/locales/be.js +0 -156
- package/node_modules/zod/v4/locales/bg.cjs +0 -147
- package/node_modules/zod/v4/locales/bg.d.cts +0 -5
- package/node_modules/zod/v4/locales/bg.d.ts +0 -4
- package/node_modules/zod/v4/locales/bg.js +0 -120
- package/node_modules/zod/v4/locales/ca.cjs +0 -134
- package/node_modules/zod/v4/locales/ca.d.cts +0 -5
- package/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/node_modules/zod/v4/locales/ca.js +0 -107
- package/node_modules/zod/v4/locales/cs.cjs +0 -138
- package/node_modules/zod/v4/locales/cs.d.cts +0 -5
- package/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/node_modules/zod/v4/locales/cs.js +0 -111
- package/node_modules/zod/v4/locales/da.cjs +0 -142
- package/node_modules/zod/v4/locales/da.d.cts +0 -5
- package/node_modules/zod/v4/locales/da.d.ts +0 -4
- package/node_modules/zod/v4/locales/da.js +0 -115
- package/node_modules/zod/v4/locales/de.cjs +0 -135
- package/node_modules/zod/v4/locales/de.d.cts +0 -5
- package/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/node_modules/zod/v4/locales/de.js +0 -108
- package/node_modules/zod/v4/locales/el.cjs +0 -136
- package/node_modules/zod/v4/locales/el.d.cts +0 -5
- package/node_modules/zod/v4/locales/el.d.ts +0 -4
- package/node_modules/zod/v4/locales/el.js +0 -109
- package/node_modules/zod/v4/locales/en.cjs +0 -140
- package/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/node_modules/zod/v4/locales/en.d.ts +0 -4
- package/node_modules/zod/v4/locales/en.js +0 -113
- package/node_modules/zod/v4/locales/eo.cjs +0 -136
- package/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/node_modules/zod/v4/locales/eo.d.ts +0 -4
- package/node_modules/zod/v4/locales/eo.js +0 -109
- package/node_modules/zod/v4/locales/es.cjs +0 -159
- package/node_modules/zod/v4/locales/es.d.cts +0 -5
- package/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/node_modules/zod/v4/locales/es.js +0 -132
- package/node_modules/zod/v4/locales/fa.cjs +0 -141
- package/node_modules/zod/v4/locales/fa.d.cts +0 -5
- package/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/node_modules/zod/v4/locales/fa.js +0 -114
- package/node_modules/zod/v4/locales/fi.cjs +0 -139
- package/node_modules/zod/v4/locales/fi.d.cts +0 -5
- package/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/node_modules/zod/v4/locales/fi.js +0 -112
- package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
- package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr-CA.js +0 -107
- package/node_modules/zod/v4/locales/fr.cjs +0 -152
- package/node_modules/zod/v4/locales/fr.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr.js +0 -125
- package/node_modules/zod/v4/locales/he.cjs +0 -241
- package/node_modules/zod/v4/locales/he.d.cts +0 -5
- package/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/node_modules/zod/v4/locales/he.js +0 -214
- package/node_modules/zod/v4/locales/hr.cjs +0 -149
- package/node_modules/zod/v4/locales/hr.d.cts +0 -5
- package/node_modules/zod/v4/locales/hr.d.ts +0 -4
- package/node_modules/zod/v4/locales/hr.js +0 -122
- package/node_modules/zod/v4/locales/hu.cjs +0 -135
- package/node_modules/zod/v4/locales/hu.d.cts +0 -5
- package/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/node_modules/zod/v4/locales/hu.js +0 -108
- package/node_modules/zod/v4/locales/hy.cjs +0 -174
- package/node_modules/zod/v4/locales/hy.d.cts +0 -5
- package/node_modules/zod/v4/locales/hy.d.ts +0 -4
- package/node_modules/zod/v4/locales/hy.js +0 -147
- package/node_modules/zod/v4/locales/id.cjs +0 -133
- package/node_modules/zod/v4/locales/id.d.cts +0 -5
- package/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/node_modules/zod/v4/locales/id.js +0 -106
- package/node_modules/zod/v4/locales/index.cjs +0 -111
- package/node_modules/zod/v4/locales/index.d.cts +0 -52
- package/node_modules/zod/v4/locales/index.d.ts +0 -52
- package/node_modules/zod/v4/locales/index.js +0 -52
- package/node_modules/zod/v4/locales/is.cjs +0 -136
- package/node_modules/zod/v4/locales/is.d.cts +0 -5
- package/node_modules/zod/v4/locales/is.d.ts +0 -4
- package/node_modules/zod/v4/locales/is.js +0 -109
- package/node_modules/zod/v4/locales/it.cjs +0 -135
- package/node_modules/zod/v4/locales/it.d.cts +0 -5
- package/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/node_modules/zod/v4/locales/it.js +0 -108
- package/node_modules/zod/v4/locales/ja.cjs +0 -134
- package/node_modules/zod/v4/locales/ja.d.cts +0 -5
- package/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/node_modules/zod/v4/locales/ja.js +0 -107
- package/node_modules/zod/v4/locales/ka.cjs +0 -139
- package/node_modules/zod/v4/locales/ka.d.cts +0 -5
- package/node_modules/zod/v4/locales/ka.d.ts +0 -4
- package/node_modules/zod/v4/locales/ka.js +0 -112
- package/node_modules/zod/v4/locales/kh.cjs +0 -12
- package/node_modules/zod/v4/locales/kh.d.cts +0 -5
- package/node_modules/zod/v4/locales/kh.d.ts +0 -5
- package/node_modules/zod/v4/locales/kh.js +0 -5
- package/node_modules/zod/v4/locales/km.cjs +0 -137
- package/node_modules/zod/v4/locales/km.d.cts +0 -5
- package/node_modules/zod/v4/locales/km.d.ts +0 -4
- package/node_modules/zod/v4/locales/km.js +0 -110
- package/node_modules/zod/v4/locales/ko.cjs +0 -138
- package/node_modules/zod/v4/locales/ko.d.cts +0 -5
- package/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/node_modules/zod/v4/locales/ko.js +0 -111
- package/node_modules/zod/v4/locales/lt.cjs +0 -230
- package/node_modules/zod/v4/locales/lt.d.cts +0 -5
- package/node_modules/zod/v4/locales/lt.d.ts +0 -4
- package/node_modules/zod/v4/locales/lt.js +0 -203
- package/node_modules/zod/v4/locales/mk.cjs +0 -136
- package/node_modules/zod/v4/locales/mk.d.cts +0 -5
- package/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/node_modules/zod/v4/locales/mk.js +0 -109
- package/node_modules/zod/v4/locales/ms.cjs +0 -134
- package/node_modules/zod/v4/locales/ms.d.cts +0 -5
- package/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/node_modules/zod/v4/locales/ms.js +0 -107
- package/node_modules/zod/v4/locales/nl.cjs +0 -137
- package/node_modules/zod/v4/locales/nl.d.cts +0 -5
- package/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/node_modules/zod/v4/locales/nl.js +0 -110
- package/node_modules/zod/v4/locales/no.cjs +0 -135
- package/node_modules/zod/v4/locales/no.d.cts +0 -5
- package/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/node_modules/zod/v4/locales/no.js +0 -108
- package/node_modules/zod/v4/locales/ota.cjs +0 -136
- package/node_modules/zod/v4/locales/ota.d.cts +0 -5
- package/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/node_modules/zod/v4/locales/ota.js +0 -109
- package/node_modules/zod/v4/locales/package.json +0 -7
- package/node_modules/zod/v4/locales/pl.cjs +0 -136
- package/node_modules/zod/v4/locales/pl.d.cts +0 -5
- package/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/node_modules/zod/v4/locales/pl.js +0 -109
- package/node_modules/zod/v4/locales/ps.cjs +0 -141
- package/node_modules/zod/v4/locales/ps.d.cts +0 -5
- package/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/node_modules/zod/v4/locales/ps.js +0 -114
- package/node_modules/zod/v4/locales/pt.cjs +0 -135
- package/node_modules/zod/v4/locales/pt.d.cts +0 -5
- package/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/node_modules/zod/v4/locales/pt.js +0 -108
- package/node_modules/zod/v4/locales/ro.cjs +0 -146
- package/node_modules/zod/v4/locales/ro.d.cts +0 -5
- package/node_modules/zod/v4/locales/ro.d.ts +0 -4
- package/node_modules/zod/v4/locales/ro.js +0 -119
- package/node_modules/zod/v4/locales/ru.cjs +0 -183
- package/node_modules/zod/v4/locales/ru.d.cts +0 -5
- package/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/node_modules/zod/v4/locales/ru.js +0 -156
- package/node_modules/zod/v4/locales/sl.cjs +0 -136
- package/node_modules/zod/v4/locales/sl.d.cts +0 -5
- package/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/node_modules/zod/v4/locales/sl.js +0 -109
- package/node_modules/zod/v4/locales/sv.cjs +0 -137
- package/node_modules/zod/v4/locales/sv.d.cts +0 -5
- package/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/node_modules/zod/v4/locales/sv.js +0 -110
- package/node_modules/zod/v4/locales/ta.cjs +0 -137
- package/node_modules/zod/v4/locales/ta.d.cts +0 -5
- package/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/node_modules/zod/v4/locales/ta.js +0 -110
- package/node_modules/zod/v4/locales/th.cjs +0 -137
- package/node_modules/zod/v4/locales/th.d.cts +0 -5
- package/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/node_modules/zod/v4/locales/th.js +0 -110
- package/node_modules/zod/v4/locales/tr.cjs +0 -132
- package/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/node_modules/zod/v4/locales/tr.d.ts +0 -4
- package/node_modules/zod/v4/locales/tr.js +0 -105
- package/node_modules/zod/v4/locales/ua.cjs +0 -12
- package/node_modules/zod/v4/locales/ua.d.cts +0 -5
- package/node_modules/zod/v4/locales/ua.d.ts +0 -5
- package/node_modules/zod/v4/locales/ua.js +0 -5
- package/node_modules/zod/v4/locales/uk.cjs +0 -135
- package/node_modules/zod/v4/locales/uk.d.cts +0 -5
- package/node_modules/zod/v4/locales/uk.d.ts +0 -4
- package/node_modules/zod/v4/locales/uk.js +0 -108
- package/node_modules/zod/v4/locales/ur.cjs +0 -137
- package/node_modules/zod/v4/locales/ur.d.cts +0 -5
- package/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/node_modules/zod/v4/locales/ur.js +0 -110
- package/node_modules/zod/v4/locales/uz.cjs +0 -137
- package/node_modules/zod/v4/locales/uz.d.cts +0 -5
- package/node_modules/zod/v4/locales/uz.d.ts +0 -4
- package/node_modules/zod/v4/locales/uz.js +0 -110
- package/node_modules/zod/v4/locales/vi.cjs +0 -135
- package/node_modules/zod/v4/locales/vi.d.cts +0 -5
- package/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/node_modules/zod/v4/locales/vi.js +0 -108
- package/node_modules/zod/v4/locales/yo.cjs +0 -134
- package/node_modules/zod/v4/locales/yo.d.cts +0 -5
- package/node_modules/zod/v4/locales/yo.d.ts +0 -4
- package/node_modules/zod/v4/locales/yo.js +0 -107
- package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
- package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-CN.js +0 -109
- package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
- package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-TW.js +0 -107
- package/node_modules/zod/v4/mini/checks.cjs +0 -34
- package/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/node_modules/zod/v4/mini/checks.js +0 -1
- package/node_modules/zod/v4/mini/coerce.cjs +0 -52
- package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/node_modules/zod/v4/mini/coerce.js +0 -22
- package/node_modules/zod/v4/mini/external.cjs +0 -63
- package/node_modules/zod/v4/mini/external.d.cts +0 -13
- package/node_modules/zod/v4/mini/external.d.ts +0 -13
- package/node_modules/zod/v4/mini/external.js +0 -14
- package/node_modules/zod/v4/mini/index.cjs +0 -32
- package/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/node_modules/zod/v4/mini/index.js +0 -3
- package/node_modules/zod/v4/mini/iso.cjs +0 -64
- package/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/node_modules/zod/v4/mini/iso.js +0 -34
- package/node_modules/zod/v4/mini/package.json +0 -7
- package/node_modules/zod/v4/mini/parse.cjs +0 -16
- package/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/node_modules/zod/v4/mini/parse.js +0 -1
- package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
- package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
- package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
- package/node_modules/zod/v4/mini/schemas.js +0 -961
- package/node_modules/zod/v4/package.json +0 -7
- package/node_modules/zod/v4-mini/index.cjs +0 -32
- package/node_modules/zod/v4-mini/index.d.cts +0 -3
- package/node_modules/zod/v4-mini/index.d.ts +0 -3
- package/node_modules/zod/v4-mini/index.js +0 -3
- package/node_modules/zod/v4-mini/package.json +0 -7
- /package/dist/{agent-components.runtime-CEPrf2SY.js → .setup/agent-components.runtime-CEPrf2SY.mjs} +0 -0
- /package/dist/{audit-core-xwjIczO0.js → .setup/audit-core-xwjIczO0.mjs} +0 -0
- /package/dist/{channel-api-CAJ0wMoV.js → .setup/channel-api-CAJ0wMoV.mjs} +0 -0
- /package/dist/{preflight-audio.runtime-CoCXMM8r.js → .setup/preflight-audio.runtime-CoCXMM8r.mjs} +0 -0
- /package/dist/{presence-cache-z1N8MbJ3.js → .setup/presence-cache-z1N8MbJ3.mjs} +0 -0
- /package/dist/{runtime-DgnVQ7zW.js → .setup/runtime-DgnVQ7zW.mjs} +0 -0
- /package/dist/{security-contract-DSHk7I2w.js → .setup/security-contract-DSHk7I2w.mjs} +0 -0
- /package/dist/{session-contract-BO5tlIdl.js → .setup/session-contract-BO5tlIdl.mjs} +0 -0
- /package/dist/{session-key-normalization-wJgsKPNF.js → .setup/session-key-normalization-wJgsKPNF.mjs} +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/README.md +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/browser.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/index.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/index.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey/package.json +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-gnu/README.md +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-gnu/davey.linux-x64-gnu.node +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-gnu/package.json +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-musl/README.md +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-musl/davey.linux-x64-musl.node +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@snazzah → @snazzah}/davey-linux-x64-musl/package.json +0 -0
- /package/node_modules/{@discord/embedded-app-sdk/node_modules/uuid/dist-node/types.js → @tybys/wasm-util/lib/mjs/wasi/fs.mjs} +0 -0
- /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types/lodash.transform → @types/node}/LICENSE +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/assert/strict.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/assert.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/async_hooks.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/buffer.buffer.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/buffer.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/child_process.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/cluster.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/console.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/constants.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/dgram.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/diagnostics_channel.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/dns/promises.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/dns.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/domain.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/events.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ffi.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/fs.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/globals.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/globals.typedarray.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/http.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/http2.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/https.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/index.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/inspector/promises.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/inspector.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/inspector.generated.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/module.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/net.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/os.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/path/posix.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/path/win32.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/path.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/perf_hooks.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/process.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/punycode.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/querystring.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/quic.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/readline/promises.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/readline.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/repl.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/sea.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/sqlite.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream/consumers.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream/iter.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream/promises.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream/web.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/stream.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/string_decoder.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/test/reporters.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/test.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/timers/promises.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/timers.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/tls.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/trace_events.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.6/buffer.buffer.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.6/compatibility/float16array.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.6/globals.typedarray.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.6/index.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.7/compatibility/float16array.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/ts5.7/index.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/tty.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/url.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/util/types.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/util.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/v8.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/vm.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/wasi.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/abortcontroller.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/blob.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/console.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/crypto.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/domexception.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/encoding.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/events.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/fetch.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/importmeta.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/messaging.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/navigator.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/performance.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/storage.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/streams.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/timers.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/web-globals/url.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/worker_threads.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/zlib/iter.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/node/zlib.d.ts +0 -0
- /package/node_modules/{@discord/embedded-app-sdk/node_modules/@types/lodash → @types/ws}/LICENSE +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/ws/README.md +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/ws/index.d.mts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/ws/index.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/@types → @types}/ws/package.json +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/LICENSE +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/README.md +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/package.json +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/core/FFmpeg.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/core/VolumeTransformer.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/core/WebmBase.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/core/index.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/index.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/opus/OggDemuxer.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/opus/Opus.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/opus/WebmDemuxer.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/opus/index.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/util/loader.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/vorbis/WebmDemuxer.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/src/vorbis/index.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/typings/index.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/typings/opus.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/prism-media → prism-media}/typings/vorbis.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/CopyrightNotice.txt +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/LICENSE.txt +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/README.md +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/SECURITY.md +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/modules/index.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/modules/index.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/modules/package.json +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/package.json +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.es6.html +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.es6.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.es6.mjs +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.html +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/tslib → tslib}/tslib.js +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/LICENSE +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/README.md +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/agent.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/api.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/balanced-pool.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/cache-interceptor.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/cache.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/client-stats.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/client.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/connector.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/content-type.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/cookies.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/diagnostics-channel.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/dispatcher.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/dispatcher1-wrapper.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/env-http-proxy-agent.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/errors.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/eventsource.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/fetch.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/formdata.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/global-dispatcher.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/global-origin.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/h2c-client.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/handlers.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/header.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/index.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/interceptors.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-agent.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-call-history.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-client.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-errors.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-interceptor.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/mock-pool.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/package.json +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/patch.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/pool-stats.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/pool.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/proxy-agent.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/readable.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/retry-agent.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/retry-handler.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/round-robin-pool.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/snapshot-agent.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/socks5-proxy-agent.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/util.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/utility.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/webidl.d.ts +0 -0
- /package/node_modules/{@discordjs/voice/node_modules/undici-types → undici-types}/websocket.d.ts +0 -0
package/dist/chunk-DX4jpFQP.js
DELETED
|
@@ -1,3227 +0,0 @@
|
|
|
1
|
-
import { t as parseDiscordRetryAfterBodySeconds } from "./retry-after-DdLPmPoa.js";
|
|
2
|
-
import "node:module";
|
|
3
|
-
import { ApplicationCommandOptionType, ApplicationCommandType, ButtonStyle, ComponentType, GatewayDispatchEvents, InteractionContextType, InteractionResponseType, InteractionType, MessageFlags, Routes, TextInputStyle } from "discord-api-types/v10";
|
|
4
|
-
import { createHash } from "node:crypto";
|
|
5
|
-
import { asDateTimestampMs, clampTimerTimeoutMs, parseFiniteNumber, parseStrictNonNegativeInteger, resolveExpiresAtMsFromDurationMs, resolveIntegerOption, resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
6
|
-
import { expectDefined } from "openclaw/plugin-sdk/expect-runtime";
|
|
7
|
-
import { Type } from "typebox";
|
|
8
|
-
import { Check } from "typebox/value";
|
|
9
|
-
import { inspect } from "node:util";
|
|
10
|
-
import { gunzipSync } from "node:zlib";
|
|
11
|
-
import { readResponseWithLimit } from "openclaw/plugin-sdk/response-limit-runtime";
|
|
12
|
-
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
13
|
-
import { parseRetryAfterHeaderSeconds } from "openclaw/plugin-sdk/retry-runtime";
|
|
14
|
-
import { buildMessagingTarget, parseMentionPrefixOrAtUserTarget, requireTargetKind } from "openclaw/plugin-sdk/channel-targets";
|
|
15
|
-
import { resolveAllowlistMatchByCandidates } from "openclaw/plugin-sdk/allow-from";
|
|
16
|
-
import { chunkMarkdownTextWithMode } from "openclaw/plugin-sdk/reply-chunking";
|
|
17
|
-
import { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
|
|
18
|
-
import { isSingleUseReplyToMode } from "openclaw/plugin-sdk/reply-reference";
|
|
19
|
-
//#region \0rolldown/runtime.js
|
|
20
|
-
var __defProp = Object.defineProperty;
|
|
21
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
22
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
23
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
24
|
-
var __exportAll = (all, no_symbols) => {
|
|
25
|
-
let target = {};
|
|
26
|
-
for (var name in all) __defProp(target, name, {
|
|
27
|
-
get: all[name],
|
|
28
|
-
enumerable: true
|
|
29
|
-
});
|
|
30
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
31
|
-
return target;
|
|
32
|
-
};
|
|
33
|
-
var __copyProps = (to, from, except, desc) => {
|
|
34
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
35
|
-
key = keys[i];
|
|
36
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
37
|
-
get: ((k) => from[k]).bind(null, key),
|
|
38
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
return to;
|
|
42
|
-
};
|
|
43
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region extensions/discord/src/internal/api.commands.ts
|
|
46
|
-
async function listApplicationCommands(rest, clientId) {
|
|
47
|
-
return await rest.get(Routes.applicationCommands(clientId));
|
|
48
|
-
}
|
|
49
|
-
async function createApplicationCommand(rest, clientId, body) {
|
|
50
|
-
return await rest.post(Routes.applicationCommands(clientId), { body });
|
|
51
|
-
}
|
|
52
|
-
async function editApplicationCommand(rest, clientId, commandId, body) {
|
|
53
|
-
return await rest.patch(Routes.applicationCommand(clientId, commandId), { body });
|
|
54
|
-
}
|
|
55
|
-
async function deleteApplicationCommand(rest, clientId, commandId) {
|
|
56
|
-
await rest.delete(Routes.applicationCommand(clientId, commandId));
|
|
57
|
-
}
|
|
58
|
-
async function overwriteApplicationCommands(rest, clientId, body) {
|
|
59
|
-
await rest.put(Routes.applicationCommands(clientId), { body });
|
|
60
|
-
}
|
|
61
|
-
async function overwriteGuildApplicationCommands(rest, clientId, guildId, body) {
|
|
62
|
-
await rest.put(Routes.applicationGuildCommands(clientId, guildId), { body });
|
|
63
|
-
}
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region extensions/discord/src/internal/api.guild.ts
|
|
66
|
-
async function getGuild(rest, guildId) {
|
|
67
|
-
return await rest.get(Routes.guild(guildId));
|
|
68
|
-
}
|
|
69
|
-
async function createGuildChannel(rest, guildId, data) {
|
|
70
|
-
return await rest.post(Routes.guildChannels(guildId), data);
|
|
71
|
-
}
|
|
72
|
-
async function moveGuildChannels(rest, guildId, data) {
|
|
73
|
-
await rest.patch(Routes.guildChannels(guildId), data);
|
|
74
|
-
}
|
|
75
|
-
async function getGuildMember(rest, guildId, userId) {
|
|
76
|
-
return await rest.get(Routes.guildMember(guildId, userId));
|
|
77
|
-
}
|
|
78
|
-
async function listGuildRoles(rest, guildId) {
|
|
79
|
-
return await rest.get(Routes.guildRoles(guildId));
|
|
80
|
-
}
|
|
81
|
-
async function listGuildChannels(rest, guildId) {
|
|
82
|
-
return await rest.get(Routes.guildChannels(guildId));
|
|
83
|
-
}
|
|
84
|
-
async function putChannelPermission(rest, channelId, targetId, data) {
|
|
85
|
-
await rest.put(Routes.channelPermission(channelId, targetId), data);
|
|
86
|
-
}
|
|
87
|
-
async function deleteChannelPermission(rest, channelId, targetId) {
|
|
88
|
-
await rest.delete(Routes.channelPermission(channelId, targetId));
|
|
89
|
-
}
|
|
90
|
-
async function listGuildActiveThreads(rest, guildId) {
|
|
91
|
-
return await rest.get(Routes.guildActiveThreads(guildId));
|
|
92
|
-
}
|
|
93
|
-
async function getGuildVoiceState(rest, guildId, userId) {
|
|
94
|
-
return await rest.get(Routes.guildVoiceState(guildId, userId));
|
|
95
|
-
}
|
|
96
|
-
async function listGuildScheduledEvents(rest, guildId) {
|
|
97
|
-
return await rest.get(Routes.guildScheduledEvents(guildId));
|
|
98
|
-
}
|
|
99
|
-
async function createGuildScheduledEvent(rest, guildId, body) {
|
|
100
|
-
return await rest.post(Routes.guildScheduledEvents(guildId), { body });
|
|
101
|
-
}
|
|
102
|
-
async function timeoutGuildMember(rest, guildId, userId, data) {
|
|
103
|
-
return await rest.patch(Routes.guildMember(guildId, userId), data);
|
|
104
|
-
}
|
|
105
|
-
async function addGuildMemberRole(rest, guildId, userId, roleId) {
|
|
106
|
-
await rest.put(Routes.guildMemberRole(guildId, userId, roleId));
|
|
107
|
-
}
|
|
108
|
-
async function removeGuildMemberRole(rest, guildId, userId, roleId) {
|
|
109
|
-
await rest.delete(Routes.guildMemberRole(guildId, userId, roleId));
|
|
110
|
-
}
|
|
111
|
-
async function removeGuildMember(rest, guildId, userId, data) {
|
|
112
|
-
await rest.delete(Routes.guildMember(guildId, userId), data);
|
|
113
|
-
}
|
|
114
|
-
async function createGuildBan(rest, guildId, userId, data) {
|
|
115
|
-
await rest.put(Routes.guildBan(guildId, userId), data);
|
|
116
|
-
}
|
|
117
|
-
async function listGuildEmojis(rest, guildId) {
|
|
118
|
-
return await rest.get(Routes.guildEmojis(guildId));
|
|
119
|
-
}
|
|
120
|
-
async function createGuildEmoji(rest, guildId, data) {
|
|
121
|
-
return await rest.post(Routes.guildEmojis(guildId), data);
|
|
122
|
-
}
|
|
123
|
-
async function createGuildSticker(rest, guildId, data) {
|
|
124
|
-
return await rest.post(Routes.guildStickers(guildId), data);
|
|
125
|
-
}
|
|
126
|
-
//#endregion
|
|
127
|
-
//#region extensions/discord/src/internal/api.interactions.ts
|
|
128
|
-
async function createInteractionCallback(rest, interactionId, token, body) {
|
|
129
|
-
return await rest.post(Routes.interactionCallback(interactionId, token), { body });
|
|
130
|
-
}
|
|
131
|
-
async function editWebhookMessage(rest, applicationId, token, messageId, data, query) {
|
|
132
|
-
return query ? await rest.patch(Routes.webhookMessage(applicationId, token, messageId), data, query) : await rest.patch(Routes.webhookMessage(applicationId, token, messageId), data);
|
|
133
|
-
}
|
|
134
|
-
async function deleteWebhookMessage(rest, applicationId, token, messageId) {
|
|
135
|
-
return await rest.delete(Routes.webhookMessage(applicationId, token, messageId));
|
|
136
|
-
}
|
|
137
|
-
async function getWebhookMessage(rest, applicationId, token, messageId) {
|
|
138
|
-
return await rest.get(Routes.webhookMessage(applicationId, token, messageId));
|
|
139
|
-
}
|
|
140
|
-
async function createWebhookMessage(rest, applicationId, token, data, query) {
|
|
141
|
-
return await rest.post(Routes.webhook(applicationId, token), data, query);
|
|
142
|
-
}
|
|
143
|
-
//#endregion
|
|
144
|
-
//#region extensions/discord/src/internal/api.messages.ts
|
|
145
|
-
async function getChannel(rest, channelId) {
|
|
146
|
-
return await rest.get(Routes.channel(channelId));
|
|
147
|
-
}
|
|
148
|
-
async function getThreadMember(rest, threadId, userId) {
|
|
149
|
-
return await rest.get(Routes.threadMembers(threadId, userId));
|
|
150
|
-
}
|
|
151
|
-
async function editChannel(rest, channelId, data) {
|
|
152
|
-
return await rest.patch(Routes.channel(channelId), data);
|
|
153
|
-
}
|
|
154
|
-
async function deleteChannel(rest, channelId) {
|
|
155
|
-
await rest.delete(Routes.channel(channelId));
|
|
156
|
-
}
|
|
157
|
-
async function listChannelMessages(rest, channelId, query) {
|
|
158
|
-
return await rest.get(Routes.channelMessages(channelId), query);
|
|
159
|
-
}
|
|
160
|
-
async function getChannelMessage(rest, channelId, messageId) {
|
|
161
|
-
return await rest.get(Routes.channelMessage(channelId, messageId));
|
|
162
|
-
}
|
|
163
|
-
async function createChannelMessage(rest, channelId, data) {
|
|
164
|
-
return await rest.post(Routes.channelMessages(channelId), data);
|
|
165
|
-
}
|
|
166
|
-
async function editChannelMessage(rest, channelId, messageId, data) {
|
|
167
|
-
return await rest.patch(Routes.channelMessage(channelId, messageId), data);
|
|
168
|
-
}
|
|
169
|
-
async function deleteChannelMessage(rest, channelId, messageId) {
|
|
170
|
-
await rest.delete(Routes.channelMessage(channelId, messageId));
|
|
171
|
-
}
|
|
172
|
-
async function pinChannelMessage(rest, channelId, messageId) {
|
|
173
|
-
await rest.put(Routes.channelPin(channelId, messageId));
|
|
174
|
-
}
|
|
175
|
-
async function unpinChannelMessage(rest, channelId, messageId) {
|
|
176
|
-
await rest.delete(Routes.channelPin(channelId, messageId));
|
|
177
|
-
}
|
|
178
|
-
async function listChannelPins(rest, channelId) {
|
|
179
|
-
return await rest.get(Routes.channelPins(channelId));
|
|
180
|
-
}
|
|
181
|
-
async function sendChannelTyping(rest, channelId) {
|
|
182
|
-
await rest.post(Routes.channelTyping(channelId));
|
|
183
|
-
}
|
|
184
|
-
async function createThread(rest, channelId, data, messageId) {
|
|
185
|
-
const route = messageId ? Routes.threads(channelId, messageId) : Routes.threads(channelId);
|
|
186
|
-
return await rest.post(route, data);
|
|
187
|
-
}
|
|
188
|
-
async function listChannelArchivedThreads(rest, channelId, query) {
|
|
189
|
-
return await rest.get(Routes.channelThreads(channelId, "public"), query);
|
|
190
|
-
}
|
|
191
|
-
async function searchGuildMessages(rest, guildId, params) {
|
|
192
|
-
return await rest.get(`/guilds/${guildId}/messages/search?${params.toString()}`);
|
|
193
|
-
}
|
|
194
|
-
//#endregion
|
|
195
|
-
//#region extensions/discord/src/internal/api.reactions.ts
|
|
196
|
-
async function createOwnMessageReaction(rest, channelId, messageId, encodedEmoji) {
|
|
197
|
-
await rest.put(Routes.channelMessageOwnReaction(channelId, messageId, encodedEmoji));
|
|
198
|
-
}
|
|
199
|
-
async function deleteOwnMessageReaction(rest, channelId, messageId, encodedEmoji) {
|
|
200
|
-
await rest.delete(Routes.channelMessageOwnReaction(channelId, messageId, encodedEmoji));
|
|
201
|
-
}
|
|
202
|
-
async function listMessageReactionUsers(rest, channelId, messageId, encodedEmoji, query) {
|
|
203
|
-
return await rest.get(Routes.channelMessageReaction(channelId, messageId, encodedEmoji), query);
|
|
204
|
-
}
|
|
205
|
-
//#endregion
|
|
206
|
-
//#region extensions/discord/src/internal/api.users.ts
|
|
207
|
-
async function getCurrentUser(rest) {
|
|
208
|
-
return await rest.get(Routes.user("@me"));
|
|
209
|
-
}
|
|
210
|
-
async function getUser(rest, userId) {
|
|
211
|
-
return await rest.get(Routes.user(userId));
|
|
212
|
-
}
|
|
213
|
-
async function createUserDmChannel(rest, recipientId) {
|
|
214
|
-
return await rest.post(Routes.userChannels(), { body: { recipient_id: recipientId } });
|
|
215
|
-
}
|
|
216
|
-
//#endregion
|
|
217
|
-
//#region extensions/discord/src/internal/api.webhooks.ts
|
|
218
|
-
async function createChannelWebhook(rest, channelId, data) {
|
|
219
|
-
return await rest.post(Routes.channelWebhooks(channelId), data);
|
|
220
|
-
}
|
|
221
|
-
//#endregion
|
|
222
|
-
//#region extensions/discord/src/internal/command-comparison.ts
|
|
223
|
-
const unorderedCommandArrayFields = /* @__PURE__ */ new Set([
|
|
224
|
-
"channel_types",
|
|
225
|
-
"contexts",
|
|
226
|
-
"integration_types"
|
|
227
|
-
]);
|
|
228
|
-
const optionComparisonOmittedFields = /* @__PURE__ */ new Set([
|
|
229
|
-
"contexts",
|
|
230
|
-
"default_member_permissions",
|
|
231
|
-
"description_localized",
|
|
232
|
-
"integration_types",
|
|
233
|
-
"name_localized"
|
|
234
|
-
]);
|
|
235
|
-
const nullableLocalizationFields = /* @__PURE__ */ new Set(["description_localizations", "name_localizations"]);
|
|
236
|
-
function comparableCommand(value) {
|
|
237
|
-
if (!value || typeof value !== "object") return value;
|
|
238
|
-
const omit = /* @__PURE__ */ new Set([
|
|
239
|
-
"application_id",
|
|
240
|
-
"description_localized",
|
|
241
|
-
"dm_permission",
|
|
242
|
-
"guild_id",
|
|
243
|
-
"id",
|
|
244
|
-
"name_localized",
|
|
245
|
-
"nsfw",
|
|
246
|
-
"version",
|
|
247
|
-
"default_permission"
|
|
248
|
-
]);
|
|
249
|
-
return stableComparableObject(Object.fromEntries(Object.entries(value).filter(([key, entry]) => !omit.has(key) && entry !== void 0)));
|
|
250
|
-
}
|
|
251
|
-
function stableComparableObject(value, pathValue = []) {
|
|
252
|
-
if (Array.isArray(value)) {
|
|
253
|
-
const normalized = value.map((entry) => stableComparableObject(entry, pathValue));
|
|
254
|
-
const key = pathValue.at(-1);
|
|
255
|
-
if (key && unorderedCommandArrayFields.has(key) && normalized.every((entry) => typeof entry === "string" || typeof entry === "number" || typeof entry === "boolean")) return normalized.toSorted((left, right) => String(left).localeCompare(String(right)));
|
|
256
|
-
return normalized;
|
|
257
|
-
}
|
|
258
|
-
if (!value || typeof value !== "object") return value;
|
|
259
|
-
return Object.fromEntries(Object.entries(value).filter(([key, entry]) => {
|
|
260
|
-
if (entry === void 0) return false;
|
|
261
|
-
if (entry === null && nullableLocalizationFields.has(key)) return false;
|
|
262
|
-
if (pathValue.includes("options") && optionComparisonOmittedFields.has(key)) return false;
|
|
263
|
-
if ((key === "required" || key === "autocomplete") && entry === false) return false;
|
|
264
|
-
return true;
|
|
265
|
-
}).toSorted(([a], [b]) => a.localeCompare(b)).map(([key, entry]) => [key, shouldNormalizeDescriptionValue(pathValue, key, entry) ? normalizeDescriptionForComparison(entry) : stableComparableObject(entry, [...pathValue, key])]));
|
|
266
|
-
}
|
|
267
|
-
function shouldNormalizeDescriptionValue(pathLocal, key, entry) {
|
|
268
|
-
return typeof entry === "string" && (key === "description" || pathLocal.at(-1) === "description_localizations");
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* Normalize descriptions to match Discord's server-side storage semantics.
|
|
272
|
-
* Discord collapses whitespace and removes whitespace between CJK characters.
|
|
273
|
-
*/
|
|
274
|
-
function normalizeDescriptionForComparison(description) {
|
|
275
|
-
const collapsed = description.replace(/\s+/g, " ");
|
|
276
|
-
const cjkBoundaryWhitespace = /([\u3000-\u303F\u4E00-\u9FFF\uFF00-\uFFEF])\s+([\u3000-\u303F\u4E00-\u9FFF\uFF00-\uFFEF])/g;
|
|
277
|
-
return collapsed.replace(cjkBoundaryWhitespace, "$1$2").replace(cjkBoundaryWhitespace, "$1$2").trim();
|
|
278
|
-
}
|
|
279
|
-
function commandsEqual(a, b) {
|
|
280
|
-
return JSON.stringify(comparableCommand(a)) === JSON.stringify(comparableCommand(b));
|
|
281
|
-
}
|
|
282
|
-
//#endregion
|
|
283
|
-
//#region extensions/discord/src/internal/command-deploy.ts
|
|
284
|
-
const DISCORD_APPLICATION_COMMAND_LIMIT_REACHED = 30032;
|
|
285
|
-
var DiscordCommandDeployer = class {
|
|
286
|
-
constructor(params) {
|
|
287
|
-
this.params = params;
|
|
288
|
-
this.hashes = /* @__PURE__ */ new Map();
|
|
289
|
-
this.loadedKeys = /* @__PURE__ */ new Set();
|
|
290
|
-
}
|
|
291
|
-
async getCommands() {
|
|
292
|
-
return await listApplicationCommands(this.rest, this.params.clientId);
|
|
293
|
-
}
|
|
294
|
-
async deploy(options = {}) {
|
|
295
|
-
const commands = this.params.commands.filter((command) => command.name !== "*");
|
|
296
|
-
const serializedGlobal = commands.filter((command) => !command.guildIds).map((command) => command.serialize());
|
|
297
|
-
for (const [guildId, entries] of groupGuildCommands(commands)) await this.putCommandSetIfChanged(this.scopedCacheKey(`guild:${guildId}`), entries, async () => {
|
|
298
|
-
await overwriteGuildApplicationCommands(this.rest, this.params.clientId, guildId, entries);
|
|
299
|
-
}, options);
|
|
300
|
-
if (this.params.devGuilds?.length) {
|
|
301
|
-
for (const guildId of this.params.devGuilds) {
|
|
302
|
-
const entries = commands.map((command) => command.serialize());
|
|
303
|
-
await this.putCommandSetIfChanged(this.scopedCacheKey(`dev-guild:${guildId}`), entries, async () => {
|
|
304
|
-
await overwriteGuildApplicationCommands(this.rest, this.params.clientId, guildId, entries);
|
|
305
|
-
}, options);
|
|
306
|
-
}
|
|
307
|
-
return {
|
|
308
|
-
mode: options.mode ?? "reconcile",
|
|
309
|
-
usedDevGuilds: true
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
if (options.mode !== "overwrite") {
|
|
313
|
-
await this.putCommandSetIfChanged(this.scopedCacheKey("global:reconcile"), serializedGlobal, async () => {
|
|
314
|
-
await this.reconcileGlobalCommands(serializedGlobal);
|
|
315
|
-
}, options);
|
|
316
|
-
return {
|
|
317
|
-
mode: "reconcile",
|
|
318
|
-
usedDevGuilds: false
|
|
319
|
-
};
|
|
320
|
-
}
|
|
321
|
-
await this.putCommandSetIfChanged(this.scopedCacheKey("global:overwrite"), serializedGlobal, async () => {
|
|
322
|
-
await overwriteApplicationCommands(this.rest, this.params.clientId, serializedGlobal);
|
|
323
|
-
}, options);
|
|
324
|
-
return {
|
|
325
|
-
mode: "overwrite",
|
|
326
|
-
usedDevGuilds: false
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* Scope cache keys by Discord application id so multi-bot setups that share a
|
|
331
|
-
* single command-deploy store still reconcile each application separately. The
|
|
332
|
-
* prior unscoped `global:reconcile` / `guild:<id>` keys let a later account
|
|
333
|
-
* with an identical command set reuse the first account's hash and skip its
|
|
334
|
-
* own application's reconcile entirely (#77359).
|
|
335
|
-
*/
|
|
336
|
-
scopedCacheKey(suffix) {
|
|
337
|
-
return `app:${this.params.clientId}:${suffix}`;
|
|
338
|
-
}
|
|
339
|
-
async reconcileGlobalCommands(desired) {
|
|
340
|
-
const existing = await this.getCommands();
|
|
341
|
-
const existingByKey = new Map(existing.map((command) => [stableCommandKey(command), command]));
|
|
342
|
-
const desiredCommands = desired.map((command) => ({
|
|
343
|
-
command,
|
|
344
|
-
key: stableCommandKey(command)
|
|
345
|
-
}));
|
|
346
|
-
const desiredKeys = new Set(desiredCommands.map(({ key }) => key));
|
|
347
|
-
for (const { command, key } of desiredCommands) {
|
|
348
|
-
const current = existingByKey.get(key);
|
|
349
|
-
if (current && !commandsEqual(current, command)) await editApplicationCommand(this.rest, this.params.clientId, current.id, command);
|
|
350
|
-
}
|
|
351
|
-
for (const { command, key } of desiredCommands) {
|
|
352
|
-
if (existingByKey.has(key)) continue;
|
|
353
|
-
try {
|
|
354
|
-
await createApplicationCommand(this.rest, this.params.clientId, command);
|
|
355
|
-
} catch (error) {
|
|
356
|
-
if (!isApplicationCommandLimitError(error)) throw error;
|
|
357
|
-
await overwriteApplicationCommands(this.rest, this.params.clientId, desired);
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
for (const command of existing) if (!desiredKeys.has(stableCommandKey(command))) await deleteApplicationCommand(this.rest, this.params.clientId, command.id);
|
|
362
|
-
}
|
|
363
|
-
async putCommandSetIfChanged(key, commands, deploy, options) {
|
|
364
|
-
const hash = stableCommandSetHash(commands);
|
|
365
|
-
await this.loadPersistedHash(key);
|
|
366
|
-
if (!options.force && this.hashes.get(key) === hash) return;
|
|
367
|
-
await deploy();
|
|
368
|
-
this.hashes.set(key, hash);
|
|
369
|
-
try {
|
|
370
|
-
await this.params.hashStore?.register(key, hash);
|
|
371
|
-
} catch {}
|
|
372
|
-
}
|
|
373
|
-
async loadPersistedHash(key) {
|
|
374
|
-
if (this.loadedKeys.has(key)) return;
|
|
375
|
-
this.loadedKeys.add(key);
|
|
376
|
-
try {
|
|
377
|
-
const hash = await this.params.hashStore?.lookup(key);
|
|
378
|
-
if (typeof hash === "string" && hash.trim()) this.hashes.set(key, hash);
|
|
379
|
-
} catch {}
|
|
380
|
-
}
|
|
381
|
-
get rest() {
|
|
382
|
-
return this.params.rest();
|
|
383
|
-
}
|
|
384
|
-
};
|
|
385
|
-
function groupGuildCommands(commands) {
|
|
386
|
-
const guildCommands = /* @__PURE__ */ new Map();
|
|
387
|
-
for (const command of commands.filter((entry) => entry.guildIds)) for (const guildId of command.guildIds ?? []) {
|
|
388
|
-
const entries = guildCommands.get(guildId) ?? [];
|
|
389
|
-
entries.push(command.serialize());
|
|
390
|
-
guildCommands.set(guildId, entries);
|
|
391
|
-
}
|
|
392
|
-
return guildCommands;
|
|
393
|
-
}
|
|
394
|
-
function stableCommandKey(command) {
|
|
395
|
-
return `${command.type ?? ApplicationCommandType.ChatInput}:${command.name}`;
|
|
396
|
-
}
|
|
397
|
-
function isApplicationCommandLimitError(error) {
|
|
398
|
-
return error !== null && typeof error === "object" && "discordCode" in error && error.discordCode === DISCORD_APPLICATION_COMMAND_LIMIT_REACHED;
|
|
399
|
-
}
|
|
400
|
-
function stableCommandSetHash(commands) {
|
|
401
|
-
const stable = commands.map((command) => stableComparableObject(command)).toSorted((a, b) => stableCommandKey(a).localeCompare(stableCommandKey(b)));
|
|
402
|
-
return createHash("sha256").update(JSON.stringify(stable)).digest("hex");
|
|
403
|
-
}
|
|
404
|
-
//#endregion
|
|
405
|
-
//#region extensions/discord/src/internal/components.base.ts
|
|
406
|
-
function parseCustomId(id) {
|
|
407
|
-
const [rawKeyValue, ...parts] = id.split(";");
|
|
408
|
-
const rawKey = expectDefined(rawKeyValue, "custom id split first segment");
|
|
409
|
-
const [keyPart, firstValue] = rawKey.split("=");
|
|
410
|
-
const definedKeyPart = expectDefined(keyPart, "custom id key segment");
|
|
411
|
-
const key = definedKeyPart.includes(":") ? expectDefined(definedKeyPart.split(":").at(0), "namespaced custom id key") : definedKeyPart;
|
|
412
|
-
const data = {};
|
|
413
|
-
const entries = firstValue === void 0 ? parts : [rawKey.slice(key.length + 1), ...parts];
|
|
414
|
-
for (const entry of entries) {
|
|
415
|
-
const index = entry.indexOf("=");
|
|
416
|
-
if (index < 0) continue;
|
|
417
|
-
const name = entry.slice(0, index).replace(/^[^:]+:/, "");
|
|
418
|
-
const raw = entry.slice(index + 1);
|
|
419
|
-
data[name] = raw === "true" ? true : raw === "false" ? false : raw;
|
|
420
|
-
}
|
|
421
|
-
return {
|
|
422
|
-
key,
|
|
423
|
-
data
|
|
424
|
-
};
|
|
425
|
-
}
|
|
426
|
-
function clean$3(value) {
|
|
427
|
-
return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
|
|
428
|
-
}
|
|
429
|
-
function colorToNumber(value) {
|
|
430
|
-
if (typeof value === "number") return Number.isInteger(value) && value >= 0 && value <= 16777215 ? value : void 0;
|
|
431
|
-
if (typeof value === "string" && /^#?[0-9a-f]{6}$/i.test(value)) return Number.parseInt(value.replace(/^#/, ""), 16);
|
|
432
|
-
}
|
|
433
|
-
var BaseComponent = class {
|
|
434
|
-
constructor() {
|
|
435
|
-
this.isV2 = false;
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
var BaseMessageInteractiveComponent = class extends BaseComponent {
|
|
439
|
-
constructor(..._args) {
|
|
440
|
-
super(..._args);
|
|
441
|
-
this.isV2 = false;
|
|
442
|
-
this.defer = false;
|
|
443
|
-
this.ephemeral = false;
|
|
444
|
-
this.customIdParser = parseCustomId;
|
|
445
|
-
}
|
|
446
|
-
run(_interaction, _data) {}
|
|
447
|
-
};
|
|
448
|
-
var BaseModalComponent = class extends BaseComponent {};
|
|
449
|
-
//#endregion
|
|
450
|
-
//#region extensions/discord/src/internal/components.message.ts
|
|
451
|
-
var BaseButton = class extends BaseMessageInteractiveComponent {
|
|
452
|
-
constructor(..._args) {
|
|
453
|
-
super(..._args);
|
|
454
|
-
this.type = ComponentType.Button;
|
|
455
|
-
this.style = ButtonStyle.Primary;
|
|
456
|
-
this.disabled = false;
|
|
457
|
-
}
|
|
458
|
-
};
|
|
459
|
-
var Button = class extends BaseButton {
|
|
460
|
-
serialize() {
|
|
461
|
-
return clean$3({
|
|
462
|
-
type: this.type,
|
|
463
|
-
style: this.style,
|
|
464
|
-
custom_id: this.customId,
|
|
465
|
-
label: this.label,
|
|
466
|
-
emoji: this.emoji,
|
|
467
|
-
disabled: this.disabled || void 0
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
};
|
|
471
|
-
var LinkButton = class extends BaseButton {
|
|
472
|
-
constructor(..._args2) {
|
|
473
|
-
super(..._args2);
|
|
474
|
-
this.customId = "";
|
|
475
|
-
this.style = ButtonStyle.Link;
|
|
476
|
-
}
|
|
477
|
-
async run() {
|
|
478
|
-
throw new Error("Link buttons do not run handlers");
|
|
479
|
-
}
|
|
480
|
-
serialize() {
|
|
481
|
-
return clean$3({
|
|
482
|
-
type: this.type,
|
|
483
|
-
style: this.style,
|
|
484
|
-
label: this.label,
|
|
485
|
-
emoji: this.emoji,
|
|
486
|
-
disabled: this.disabled || void 0,
|
|
487
|
-
url: this.url
|
|
488
|
-
});
|
|
489
|
-
}
|
|
490
|
-
};
|
|
491
|
-
var AnySelectMenu = class extends BaseMessageInteractiveComponent {
|
|
492
|
-
constructor(..._args3) {
|
|
493
|
-
super(..._args3);
|
|
494
|
-
this.disabled = false;
|
|
495
|
-
}
|
|
496
|
-
serialize() {
|
|
497
|
-
return clean$3({
|
|
498
|
-
...this.serializeOptions(),
|
|
499
|
-
custom_id: this.customId,
|
|
500
|
-
placeholder: this.placeholder,
|
|
501
|
-
min_values: this.minValues,
|
|
502
|
-
max_values: this.maxValues,
|
|
503
|
-
disabled: this.disabled || void 0,
|
|
504
|
-
required: this.required
|
|
505
|
-
});
|
|
506
|
-
}
|
|
507
|
-
};
|
|
508
|
-
var StringSelectMenu = class extends AnySelectMenu {
|
|
509
|
-
constructor(..._args4) {
|
|
510
|
-
super(..._args4);
|
|
511
|
-
this.type = ComponentType.StringSelect;
|
|
512
|
-
}
|
|
513
|
-
serializeOptions() {
|
|
514
|
-
return {
|
|
515
|
-
type: this.type,
|
|
516
|
-
options: this.options
|
|
517
|
-
};
|
|
518
|
-
}
|
|
519
|
-
};
|
|
520
|
-
var UserSelectMenu = class extends AnySelectMenu {
|
|
521
|
-
constructor(..._args5) {
|
|
522
|
-
super(..._args5);
|
|
523
|
-
this.type = ComponentType.UserSelect;
|
|
524
|
-
}
|
|
525
|
-
serializeOptions() {
|
|
526
|
-
return {
|
|
527
|
-
type: this.type,
|
|
528
|
-
default_values: this.defaultValues
|
|
529
|
-
};
|
|
530
|
-
}
|
|
531
|
-
};
|
|
532
|
-
var RoleSelectMenu = class extends AnySelectMenu {
|
|
533
|
-
constructor(..._args6) {
|
|
534
|
-
super(..._args6);
|
|
535
|
-
this.type = ComponentType.RoleSelect;
|
|
536
|
-
}
|
|
537
|
-
serializeOptions() {
|
|
538
|
-
return {
|
|
539
|
-
type: this.type,
|
|
540
|
-
default_values: this.defaultValues
|
|
541
|
-
};
|
|
542
|
-
}
|
|
543
|
-
};
|
|
544
|
-
var MentionableSelectMenu = class extends AnySelectMenu {
|
|
545
|
-
constructor(..._args7) {
|
|
546
|
-
super(..._args7);
|
|
547
|
-
this.type = ComponentType.MentionableSelect;
|
|
548
|
-
}
|
|
549
|
-
serializeOptions() {
|
|
550
|
-
return {
|
|
551
|
-
type: this.type,
|
|
552
|
-
default_values: this.defaultValues
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
};
|
|
556
|
-
var ChannelSelectMenu = class extends AnySelectMenu {
|
|
557
|
-
constructor(..._args8) {
|
|
558
|
-
super(..._args8);
|
|
559
|
-
this.type = ComponentType.ChannelSelect;
|
|
560
|
-
}
|
|
561
|
-
serializeOptions() {
|
|
562
|
-
return {
|
|
563
|
-
type: this.type,
|
|
564
|
-
default_values: this.defaultValues,
|
|
565
|
-
channel_types: this.channelTypes
|
|
566
|
-
};
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
var Row = class extends BaseComponent {
|
|
570
|
-
constructor(components = []) {
|
|
571
|
-
super();
|
|
572
|
-
this.type = ComponentType.ActionRow;
|
|
573
|
-
this.isV2 = false;
|
|
574
|
-
this.components = components;
|
|
575
|
-
}
|
|
576
|
-
addComponent(component) {
|
|
577
|
-
this.components.push(component);
|
|
578
|
-
}
|
|
579
|
-
serialize() {
|
|
580
|
-
return {
|
|
581
|
-
type: this.type,
|
|
582
|
-
components: this.components.map((entry) => entry.serialize())
|
|
583
|
-
};
|
|
584
|
-
}
|
|
585
|
-
};
|
|
586
|
-
var TextDisplay = class extends BaseComponent {
|
|
587
|
-
constructor(content) {
|
|
588
|
-
super();
|
|
589
|
-
this.content = content;
|
|
590
|
-
this.type = ComponentType.TextDisplay;
|
|
591
|
-
this.isV2 = true;
|
|
592
|
-
}
|
|
593
|
-
serialize() {
|
|
594
|
-
return clean$3({
|
|
595
|
-
type: this.type,
|
|
596
|
-
content: this.content
|
|
597
|
-
});
|
|
598
|
-
}
|
|
599
|
-
};
|
|
600
|
-
var Separator = class extends BaseComponent {
|
|
601
|
-
constructor(options) {
|
|
602
|
-
super();
|
|
603
|
-
this.type = ComponentType.Separator;
|
|
604
|
-
this.isV2 = true;
|
|
605
|
-
this.divider = true;
|
|
606
|
-
this.spacing = "small";
|
|
607
|
-
this.spacing = options?.spacing ?? this.spacing;
|
|
608
|
-
this.divider = options?.divider ?? this.divider;
|
|
609
|
-
}
|
|
610
|
-
serialize() {
|
|
611
|
-
return clean$3({
|
|
612
|
-
type: this.type,
|
|
613
|
-
divider: this.divider,
|
|
614
|
-
spacing: this.spacing === "large" ? 2 : this.spacing === "small" ? 1 : this.spacing
|
|
615
|
-
});
|
|
616
|
-
}
|
|
617
|
-
};
|
|
618
|
-
var Thumbnail = class extends BaseComponent {
|
|
619
|
-
constructor(url) {
|
|
620
|
-
super();
|
|
621
|
-
this.url = url;
|
|
622
|
-
this.type = ComponentType.Thumbnail;
|
|
623
|
-
this.isV2 = true;
|
|
624
|
-
}
|
|
625
|
-
serialize() {
|
|
626
|
-
return clean$3({
|
|
627
|
-
type: this.type,
|
|
628
|
-
media: this.url ? { url: this.url } : void 0
|
|
629
|
-
});
|
|
630
|
-
}
|
|
631
|
-
};
|
|
632
|
-
var Section = class extends BaseComponent {
|
|
633
|
-
constructor(components = [], accessory) {
|
|
634
|
-
super();
|
|
635
|
-
this.components = components;
|
|
636
|
-
this.accessory = accessory;
|
|
637
|
-
this.type = ComponentType.Section;
|
|
638
|
-
this.isV2 = true;
|
|
639
|
-
}
|
|
640
|
-
serialize() {
|
|
641
|
-
return clean$3({
|
|
642
|
-
type: this.type,
|
|
643
|
-
components: this.components.map((entry) => entry.serialize()),
|
|
644
|
-
accessory: this.accessory?.serialize()
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
};
|
|
648
|
-
var MediaGallery = class extends BaseComponent {
|
|
649
|
-
constructor(items = []) {
|
|
650
|
-
super();
|
|
651
|
-
this.items = items;
|
|
652
|
-
this.type = ComponentType.MediaGallery;
|
|
653
|
-
this.isV2 = true;
|
|
654
|
-
}
|
|
655
|
-
serialize() {
|
|
656
|
-
return {
|
|
657
|
-
type: this.type,
|
|
658
|
-
items: this.items.map((entry) => ({
|
|
659
|
-
media: { url: entry.url },
|
|
660
|
-
description: entry.description,
|
|
661
|
-
spoiler: entry.spoiler
|
|
662
|
-
}))
|
|
663
|
-
};
|
|
664
|
-
}
|
|
665
|
-
};
|
|
666
|
-
var File = class extends BaseComponent {
|
|
667
|
-
constructor(file, spoiler = false) {
|
|
668
|
-
super();
|
|
669
|
-
this.file = file;
|
|
670
|
-
this.spoiler = spoiler;
|
|
671
|
-
this.type = ComponentType.File;
|
|
672
|
-
this.isV2 = true;
|
|
673
|
-
}
|
|
674
|
-
serialize() {
|
|
675
|
-
return clean$3({
|
|
676
|
-
type: this.type,
|
|
677
|
-
file: this.file ? { url: this.file } : void 0,
|
|
678
|
-
spoiler: this.spoiler || void 0
|
|
679
|
-
});
|
|
680
|
-
}
|
|
681
|
-
};
|
|
682
|
-
var Container = class extends BaseComponent {
|
|
683
|
-
constructor(components = [], options) {
|
|
684
|
-
super();
|
|
685
|
-
this.type = ComponentType.Container;
|
|
686
|
-
this.isV2 = true;
|
|
687
|
-
this.spoiler = false;
|
|
688
|
-
this.components = components;
|
|
689
|
-
this.accentColor = options?.accentColor;
|
|
690
|
-
this.spoiler = options?.spoiler ?? false;
|
|
691
|
-
}
|
|
692
|
-
serialize() {
|
|
693
|
-
return clean$3({
|
|
694
|
-
type: this.type,
|
|
695
|
-
components: this.components.map((entry) => entry.serialize()),
|
|
696
|
-
accent_color: colorToNumber(this.accentColor),
|
|
697
|
-
spoiler: this.spoiler || void 0
|
|
698
|
-
});
|
|
699
|
-
}
|
|
700
|
-
};
|
|
701
|
-
//#endregion
|
|
702
|
-
//#region extensions/discord/src/internal/components.modal.ts
|
|
703
|
-
var TextInput = class extends BaseModalComponent {
|
|
704
|
-
constructor(..._args) {
|
|
705
|
-
super(..._args);
|
|
706
|
-
this.type = ComponentType.TextInput;
|
|
707
|
-
this.customIdParser = parseCustomId;
|
|
708
|
-
this.style = TextInputStyle.Short;
|
|
709
|
-
}
|
|
710
|
-
serialize() {
|
|
711
|
-
return clean$3({
|
|
712
|
-
type: this.type,
|
|
713
|
-
custom_id: this.customId,
|
|
714
|
-
style: this.style,
|
|
715
|
-
min_length: this.minLength,
|
|
716
|
-
max_length: this.maxLength,
|
|
717
|
-
required: this.required,
|
|
718
|
-
value: this.value,
|
|
719
|
-
placeholder: this.placeholder
|
|
720
|
-
});
|
|
721
|
-
}
|
|
722
|
-
};
|
|
723
|
-
var CheckboxGroup = class extends BaseModalComponent {
|
|
724
|
-
constructor(..._args2) {
|
|
725
|
-
super(..._args2);
|
|
726
|
-
this.type = 22;
|
|
727
|
-
this.options = [];
|
|
728
|
-
}
|
|
729
|
-
serialize() {
|
|
730
|
-
return clean$3({
|
|
731
|
-
type: this.type,
|
|
732
|
-
custom_id: this.customId,
|
|
733
|
-
options: this.options,
|
|
734
|
-
required: this.required,
|
|
735
|
-
min_values: this.minValues,
|
|
736
|
-
max_values: this.maxValues
|
|
737
|
-
});
|
|
738
|
-
}
|
|
739
|
-
};
|
|
740
|
-
var RadioGroup = class extends BaseModalComponent {
|
|
741
|
-
constructor(..._args3) {
|
|
742
|
-
super(..._args3);
|
|
743
|
-
this.type = 21;
|
|
744
|
-
this.options = [];
|
|
745
|
-
}
|
|
746
|
-
serialize() {
|
|
747
|
-
return clean$3({
|
|
748
|
-
type: this.type,
|
|
749
|
-
custom_id: this.customId,
|
|
750
|
-
options: this.options,
|
|
751
|
-
required: this.required,
|
|
752
|
-
min_values: this.minValues,
|
|
753
|
-
max_values: this.maxValues
|
|
754
|
-
});
|
|
755
|
-
}
|
|
756
|
-
};
|
|
757
|
-
var Label = class extends BaseModalComponent {
|
|
758
|
-
constructor(component) {
|
|
759
|
-
super();
|
|
760
|
-
this.component = component;
|
|
761
|
-
this.type = ComponentType.Label;
|
|
762
|
-
this.customId = "";
|
|
763
|
-
}
|
|
764
|
-
serialize() {
|
|
765
|
-
return clean$3({
|
|
766
|
-
type: this.type,
|
|
767
|
-
label: this.label,
|
|
768
|
-
description: this.description,
|
|
769
|
-
component: this.component?.serialize()
|
|
770
|
-
});
|
|
771
|
-
}
|
|
772
|
-
};
|
|
773
|
-
var Modal = class {
|
|
774
|
-
constructor() {
|
|
775
|
-
this.components = [];
|
|
776
|
-
this.customIdParser = parseCustomId;
|
|
777
|
-
}
|
|
778
|
-
serialize() {
|
|
779
|
-
return {
|
|
780
|
-
title: this.title,
|
|
781
|
-
custom_id: this.customId,
|
|
782
|
-
components: this.components.map((entry) => entry.serialize())
|
|
783
|
-
};
|
|
784
|
-
}
|
|
785
|
-
};
|
|
786
|
-
//#endregion
|
|
787
|
-
//#region extensions/discord/src/internal/embeds.ts
|
|
788
|
-
function clean$2(value) {
|
|
789
|
-
return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
|
|
790
|
-
}
|
|
791
|
-
var Embed = class {
|
|
792
|
-
constructor(embed) {
|
|
793
|
-
Object.assign(this, embed);
|
|
794
|
-
}
|
|
795
|
-
serialize() {
|
|
796
|
-
return clean$2({
|
|
797
|
-
title: this.title,
|
|
798
|
-
description: this.description,
|
|
799
|
-
url: this.url,
|
|
800
|
-
timestamp: this.timestamp,
|
|
801
|
-
color: this.color,
|
|
802
|
-
footer: this.footer,
|
|
803
|
-
image: typeof this.image === "string" ? { url: this.image } : this.image,
|
|
804
|
-
thumbnail: typeof this.thumbnail === "string" ? { url: this.thumbnail } : this.thumbnail,
|
|
805
|
-
author: this.author,
|
|
806
|
-
fields: this.fields
|
|
807
|
-
});
|
|
808
|
-
}
|
|
809
|
-
};
|
|
810
|
-
//#endregion
|
|
811
|
-
//#region extensions/discord/src/internal/payload.ts
|
|
812
|
-
function clean$1(value) {
|
|
813
|
-
return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
|
|
814
|
-
}
|
|
815
|
-
function serializeAnyComponent(component) {
|
|
816
|
-
return component.serialize();
|
|
817
|
-
}
|
|
818
|
-
function payloadHasV2Components(payload) {
|
|
819
|
-
return Boolean(payload.components?.some((component) => component.isV2));
|
|
820
|
-
}
|
|
821
|
-
function normalizePayloadFlags(payload) {
|
|
822
|
-
const flags = payload.ephemeral ? (payload.flags ?? 0) | MessageFlags.Ephemeral : payload.flags;
|
|
823
|
-
if (!payloadHasV2Components(payload)) return flags;
|
|
824
|
-
if (payload.content || payload.embeds?.length) throw new Error("Discord Components V2 payloads cannot include content or embeds");
|
|
825
|
-
return (flags ?? 0) | MessageFlags.IsComponentsV2;
|
|
826
|
-
}
|
|
827
|
-
function serializePayload(payload) {
|
|
828
|
-
if (typeof payload === "string") return { content: payload };
|
|
829
|
-
const flags = normalizePayloadFlags(payload);
|
|
830
|
-
return clean$1({
|
|
831
|
-
content: payload.content,
|
|
832
|
-
embeds: payload.embeds?.map((entry) => "serialize" in entry ? entry.serialize() : entry),
|
|
833
|
-
components: payload.components?.map((entry) => serializeAnyComponent(entry)),
|
|
834
|
-
allowed_mentions: payload.allowed_mentions ?? payload.allowedMentions,
|
|
835
|
-
flags,
|
|
836
|
-
tts: payload.tts,
|
|
837
|
-
files: payload.files,
|
|
838
|
-
poll: payload.poll,
|
|
839
|
-
sticker_ids: payload.stickers
|
|
840
|
-
});
|
|
841
|
-
}
|
|
842
|
-
//#endregion
|
|
843
|
-
//#region extensions/discord/src/internal/component-registry.ts
|
|
844
|
-
var ComponentRegistry = class {
|
|
845
|
-
constructor() {
|
|
846
|
-
this.entries = /* @__PURE__ */ new Map();
|
|
847
|
-
this.oneOffComponents = /* @__PURE__ */ new Map();
|
|
848
|
-
this.wildcardEntries = [];
|
|
849
|
-
}
|
|
850
|
-
register(entry) {
|
|
851
|
-
const key = parseRegistryKey(entry.customId, entry.customIdParser);
|
|
852
|
-
if (key === "*") {
|
|
853
|
-
if (!this.wildcardEntries.includes(entry)) this.wildcardEntries.push(entry);
|
|
854
|
-
return;
|
|
855
|
-
}
|
|
856
|
-
const entries = this.entries.get(key) ?? [];
|
|
857
|
-
if (!entries.includes(entry)) {
|
|
858
|
-
entries.push(entry);
|
|
859
|
-
this.entries.set(key, entries);
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
resolve(customId, options) {
|
|
863
|
-
for (const entries of this.entries.values()) {
|
|
864
|
-
const match = entries.find((entry) => {
|
|
865
|
-
if (options?.componentType !== void 0 && entry.type !== options.componentType) return false;
|
|
866
|
-
const parser = entry.customIdParser ?? parseCustomId;
|
|
867
|
-
return parseRegistryKey(entry.customId, parser) === parseRegistryKey(customId, parser);
|
|
868
|
-
});
|
|
869
|
-
if (match) return match;
|
|
870
|
-
}
|
|
871
|
-
return this.wildcardEntries.find((entry) => {
|
|
872
|
-
if (options?.componentType !== void 0 && entry.type !== options.componentType) return false;
|
|
873
|
-
return true;
|
|
874
|
-
});
|
|
875
|
-
}
|
|
876
|
-
waitForMessageComponent(message, timeoutMs) {
|
|
877
|
-
const key = createOneOffComponentKey(message.id, message.channelId);
|
|
878
|
-
return new Promise((resolve) => {
|
|
879
|
-
const existing = this.oneOffComponents.get(key);
|
|
880
|
-
if (existing) {
|
|
881
|
-
clearTimeout(existing.timer);
|
|
882
|
-
existing.resolve({
|
|
883
|
-
success: false,
|
|
884
|
-
message,
|
|
885
|
-
reason: "timed out"
|
|
886
|
-
});
|
|
887
|
-
}
|
|
888
|
-
const timer = setTimeout(() => {
|
|
889
|
-
this.oneOffComponents.delete(key);
|
|
890
|
-
resolve({
|
|
891
|
-
success: false,
|
|
892
|
-
message,
|
|
893
|
-
reason: "timed out"
|
|
894
|
-
});
|
|
895
|
-
}, resolveTimerTimeoutMs(timeoutMs, 0, 0));
|
|
896
|
-
timer.unref?.();
|
|
897
|
-
this.oneOffComponents.set(key, {
|
|
898
|
-
message,
|
|
899
|
-
timer,
|
|
900
|
-
resolve
|
|
901
|
-
});
|
|
902
|
-
});
|
|
903
|
-
}
|
|
904
|
-
resolveOneOffComponent(params) {
|
|
905
|
-
if (!params.messageId || !params.channelId) return false;
|
|
906
|
-
const key = createOneOffComponentKey(params.messageId, params.channelId);
|
|
907
|
-
const entry = this.oneOffComponents.get(key);
|
|
908
|
-
if (!entry) return false;
|
|
909
|
-
clearTimeout(entry.timer);
|
|
910
|
-
this.oneOffComponents.delete(key);
|
|
911
|
-
entry.resolve({
|
|
912
|
-
success: true,
|
|
913
|
-
customId: params.customId,
|
|
914
|
-
message: entry.message,
|
|
915
|
-
values: params.values
|
|
916
|
-
});
|
|
917
|
-
return true;
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
|
-
function parseRegistryKey(customId, parser = parseCustomId) {
|
|
921
|
-
return parser(customId).key;
|
|
922
|
-
}
|
|
923
|
-
function createOneOffComponentKey(messageId, channelId) {
|
|
924
|
-
return `${messageId}:${channelId}`;
|
|
925
|
-
}
|
|
926
|
-
//#endregion
|
|
927
|
-
//#region extensions/discord/src/internal/structures.ts
|
|
928
|
-
var Base = class {
|
|
929
|
-
constructor(client) {
|
|
930
|
-
this.client = client;
|
|
931
|
-
}
|
|
932
|
-
};
|
|
933
|
-
var User = class extends Base {
|
|
934
|
-
constructor(client, rawDataOrId) {
|
|
935
|
-
super(client);
|
|
936
|
-
this.rawDataValue = typeof rawDataOrId === "string" ? null : rawDataOrId;
|
|
937
|
-
this.id = typeof rawDataOrId === "string" ? rawDataOrId : rawDataOrId.id;
|
|
938
|
-
}
|
|
939
|
-
get rawData() {
|
|
940
|
-
if (!this.rawDataValue) throw new Error("Partial Discord user has no raw data");
|
|
941
|
-
return this.rawDataValue;
|
|
942
|
-
}
|
|
943
|
-
get partial() {
|
|
944
|
-
return this.rawDataValue === null;
|
|
945
|
-
}
|
|
946
|
-
get username() {
|
|
947
|
-
return this.rawDataValue?.username ?? "";
|
|
948
|
-
}
|
|
949
|
-
get globalName() {
|
|
950
|
-
return this.rawDataValue?.global_name;
|
|
951
|
-
}
|
|
952
|
-
get discriminator() {
|
|
953
|
-
return this.rawDataValue?.discriminator;
|
|
954
|
-
}
|
|
955
|
-
get bot() {
|
|
956
|
-
return this.rawDataValue?.bot;
|
|
957
|
-
}
|
|
958
|
-
get avatar() {
|
|
959
|
-
return this.rawDataValue?.avatar;
|
|
960
|
-
}
|
|
961
|
-
get avatarUrl() {
|
|
962
|
-
return this.avatar ? `https://cdn.discordapp.com/avatars/${this.id}/${this.avatar}.png` : null;
|
|
963
|
-
}
|
|
964
|
-
toString() {
|
|
965
|
-
return `<@${this.id}>`;
|
|
966
|
-
}
|
|
967
|
-
async fetch() {
|
|
968
|
-
return this.client.fetchUser(this.id);
|
|
969
|
-
}
|
|
970
|
-
async createDm() {
|
|
971
|
-
return await createUserDmChannel(this.client.rest, this.id);
|
|
972
|
-
}
|
|
973
|
-
async send(data) {
|
|
974
|
-
const dm = await this.createDm();
|
|
975
|
-
const message = await createChannelMessage(this.client.rest, dm.id, { body: serializePayload(data) });
|
|
976
|
-
return new Message(this.client, message);
|
|
977
|
-
}
|
|
978
|
-
};
|
|
979
|
-
var Role = class extends Base {
|
|
980
|
-
constructor(client, rawDataOrId) {
|
|
981
|
-
super(client);
|
|
982
|
-
this.rawDataValue = typeof rawDataOrId === "string" ? null : rawDataOrId;
|
|
983
|
-
this.id = typeof rawDataOrId === "string" ? rawDataOrId : rawDataOrId.id;
|
|
984
|
-
}
|
|
985
|
-
get name() {
|
|
986
|
-
return this.rawDataValue?.name ?? "";
|
|
987
|
-
}
|
|
988
|
-
};
|
|
989
|
-
var Guild = class extends Base {
|
|
990
|
-
constructor(client, rawDataOrId) {
|
|
991
|
-
super(client);
|
|
992
|
-
this.rawDataValue = typeof rawDataOrId === "string" ? null : rawDataOrId;
|
|
993
|
-
this.id = typeof rawDataOrId === "string" ? rawDataOrId : rawDataOrId.id;
|
|
994
|
-
}
|
|
995
|
-
get name() {
|
|
996
|
-
return this.rawDataValue?.name ?? "";
|
|
997
|
-
}
|
|
998
|
-
};
|
|
999
|
-
var GuildMember = class extends Base {
|
|
1000
|
-
constructor(client, rawData) {
|
|
1001
|
-
super(client);
|
|
1002
|
-
this.rawData = rawData;
|
|
1003
|
-
}
|
|
1004
|
-
get user() {
|
|
1005
|
-
return this.rawData.user ? new User(this.client, this.rawData.user) : null;
|
|
1006
|
-
}
|
|
1007
|
-
get roles() {
|
|
1008
|
-
return this.rawData.roles ?? [];
|
|
1009
|
-
}
|
|
1010
|
-
get nickname() {
|
|
1011
|
-
return this.rawData.nick ?? void 0;
|
|
1012
|
-
}
|
|
1013
|
-
};
|
|
1014
|
-
var Message = class Message extends Base {
|
|
1015
|
-
constructor(client, rawDataOrIds) {
|
|
1016
|
-
super(client);
|
|
1017
|
-
this.rawDataValue = typeof rawDataOrIds === "string" || !("author" in rawDataOrIds) ? null : rawDataOrIds;
|
|
1018
|
-
this.id = typeof rawDataOrIds === "string" ? rawDataOrIds : rawDataOrIds.id;
|
|
1019
|
-
this.channelId = typeof rawDataOrIds === "string" ? "" : "channel_id" in rawDataOrIds ? rawDataOrIds.channel_id : rawDataOrIds.channelId ?? "";
|
|
1020
|
-
}
|
|
1021
|
-
get rawData() {
|
|
1022
|
-
if (!this.rawDataValue) throw new Error("Partial Discord message has no raw data");
|
|
1023
|
-
return this.rawDataValue;
|
|
1024
|
-
}
|
|
1025
|
-
get partial() {
|
|
1026
|
-
return this.rawDataValue === null;
|
|
1027
|
-
}
|
|
1028
|
-
get message() {
|
|
1029
|
-
return this;
|
|
1030
|
-
}
|
|
1031
|
-
get channel_id() {
|
|
1032
|
-
return this.channelId;
|
|
1033
|
-
}
|
|
1034
|
-
get guild_id() {
|
|
1035
|
-
return this.rawDataValue?.guild_id;
|
|
1036
|
-
}
|
|
1037
|
-
get guild() {
|
|
1038
|
-
return this.guild_id ? new Guild(this.client, this.guild_id) : null;
|
|
1039
|
-
}
|
|
1040
|
-
get webhookId() {
|
|
1041
|
-
return this.webhook_id;
|
|
1042
|
-
}
|
|
1043
|
-
get webhook_id() {
|
|
1044
|
-
return this.rawDataValue?.webhook_id ?? null;
|
|
1045
|
-
}
|
|
1046
|
-
get member() {
|
|
1047
|
-
const member = this.rawDataValue?.member;
|
|
1048
|
-
return member ? new GuildMember(this.client, member) : null;
|
|
1049
|
-
}
|
|
1050
|
-
get rawMember() {
|
|
1051
|
-
return this.rawDataValue?.member;
|
|
1052
|
-
}
|
|
1053
|
-
get content() {
|
|
1054
|
-
return this.rawDataValue?.content ?? "";
|
|
1055
|
-
}
|
|
1056
|
-
get author() {
|
|
1057
|
-
return this.rawDataValue?.author ? new User(this.client, this.rawDataValue.author) : null;
|
|
1058
|
-
}
|
|
1059
|
-
get embeds() {
|
|
1060
|
-
return this.rawDataValue?.embeds ?? [];
|
|
1061
|
-
}
|
|
1062
|
-
get attachments() {
|
|
1063
|
-
return this.rawDataValue?.attachments ?? [];
|
|
1064
|
-
}
|
|
1065
|
-
get stickers() {
|
|
1066
|
-
return this.rawDataValue?.sticker_items ?? [];
|
|
1067
|
-
}
|
|
1068
|
-
get mentionedUsers() {
|
|
1069
|
-
return (this.rawDataValue?.mentions ?? []).map((user) => new User(this.client, user));
|
|
1070
|
-
}
|
|
1071
|
-
get mentionedRoles() {
|
|
1072
|
-
return this.rawDataValue?.mention_roles ?? [];
|
|
1073
|
-
}
|
|
1074
|
-
get mentionedEveryone() {
|
|
1075
|
-
return this.rawDataValue?.mention_everyone ?? false;
|
|
1076
|
-
}
|
|
1077
|
-
get timestamp() {
|
|
1078
|
-
return this.rawDataValue?.timestamp;
|
|
1079
|
-
}
|
|
1080
|
-
get type() {
|
|
1081
|
-
return this.rawDataValue?.type;
|
|
1082
|
-
}
|
|
1083
|
-
get messageReference() {
|
|
1084
|
-
return this.rawDataValue?.message_reference;
|
|
1085
|
-
}
|
|
1086
|
-
get referencedMessage() {
|
|
1087
|
-
return this.rawDataValue?.referenced_message ? new Message(this.client, this.rawDataValue.referenced_message) : null;
|
|
1088
|
-
}
|
|
1089
|
-
get thread() {
|
|
1090
|
-
return this.rawDataValue?.thread ? channelFactory(this.client, this.rawDataValue.thread) : null;
|
|
1091
|
-
}
|
|
1092
|
-
async fetch() {
|
|
1093
|
-
const raw = await getChannelMessage(this.client.rest, this.channelId, this.id);
|
|
1094
|
-
return new Message(this.client, raw);
|
|
1095
|
-
}
|
|
1096
|
-
async delete() {
|
|
1097
|
-
await deleteChannelMessage(this.client.rest, this.channelId, this.id);
|
|
1098
|
-
}
|
|
1099
|
-
async edit(data) {
|
|
1100
|
-
const raw = await editChannelMessage(this.client.rest, this.channelId, this.id, { body: serializePayload(data) });
|
|
1101
|
-
return new Message(this.client, raw);
|
|
1102
|
-
}
|
|
1103
|
-
async reply(data) {
|
|
1104
|
-
const raw = await createChannelMessage(this.client.rest, this.channelId, { body: {
|
|
1105
|
-
...serializePayload(data),
|
|
1106
|
-
message_reference: {
|
|
1107
|
-
message_id: this.id,
|
|
1108
|
-
fail_if_not_exists: false
|
|
1109
|
-
}
|
|
1110
|
-
} });
|
|
1111
|
-
return new Message(this.client, raw);
|
|
1112
|
-
}
|
|
1113
|
-
async pin() {
|
|
1114
|
-
await pinChannelMessage(this.client.rest, this.channelId, this.id);
|
|
1115
|
-
}
|
|
1116
|
-
async unpin() {
|
|
1117
|
-
await unpinChannelMessage(this.client.rest, this.channelId, this.id);
|
|
1118
|
-
}
|
|
1119
|
-
};
|
|
1120
|
-
function channelFactory(clientForTest, channelData, _partial) {
|
|
1121
|
-
return {
|
|
1122
|
-
...channelData,
|
|
1123
|
-
rawData: channelData,
|
|
1124
|
-
guildId: "guild_id" in channelData ? channelData.guild_id : void 0,
|
|
1125
|
-
guild: "guild_id" in channelData && typeof channelData.guild_id === "string" ? new Guild(clientForTest, channelData.guild_id) : void 0,
|
|
1126
|
-
parentId: "parent_id" in channelData ? channelData.parent_id : void 0,
|
|
1127
|
-
ownerId: "owner_id" in channelData ? channelData.owner_id : void 0
|
|
1128
|
-
};
|
|
1129
|
-
}
|
|
1130
|
-
//#endregion
|
|
1131
|
-
//#region extensions/discord/src/internal/entity-cache.ts
|
|
1132
|
-
const DEFAULT_REST_CACHE_TTL_MS = 3e4;
|
|
1133
|
-
const DEFAULT_MAX_ENTRIES = 5e3;
|
|
1134
|
-
const DEFAULT_SWEEP_INTERVAL_MS = 3e4;
|
|
1135
|
-
var DiscordEntityCache = class {
|
|
1136
|
-
constructor(params) {
|
|
1137
|
-
this.params = params;
|
|
1138
|
-
this.entries = /* @__PURE__ */ new Map();
|
|
1139
|
-
this.lastSweepAt = 0;
|
|
1140
|
-
}
|
|
1141
|
-
get size() {
|
|
1142
|
-
return this.entries.size;
|
|
1143
|
-
}
|
|
1144
|
-
async fetchUser(id) {
|
|
1145
|
-
return await this.fetchCached(`user:${id}`, async () => {
|
|
1146
|
-
const raw = await getUser(this.rest, id);
|
|
1147
|
-
return new User(this.params.client, raw);
|
|
1148
|
-
});
|
|
1149
|
-
}
|
|
1150
|
-
async fetchChannel(id) {
|
|
1151
|
-
return await this.fetchCached(`channel:${id}`, async () => {
|
|
1152
|
-
const raw = await getChannel(this.rest, id);
|
|
1153
|
-
return channelFactory(this.params.client, raw);
|
|
1154
|
-
});
|
|
1155
|
-
}
|
|
1156
|
-
async fetchGuild(id) {
|
|
1157
|
-
return await this.fetchCached(`guild:${id}`, async () => {
|
|
1158
|
-
const raw = await getGuild(this.rest, id);
|
|
1159
|
-
return new Guild(this.params.client, raw);
|
|
1160
|
-
});
|
|
1161
|
-
}
|
|
1162
|
-
async fetchMember(guildId, userId) {
|
|
1163
|
-
return await this.fetchCached(`member:${guildId}:${userId}`, async () => {
|
|
1164
|
-
const raw = await getGuildMember(this.rest, guildId, userId);
|
|
1165
|
-
return new GuildMember(this.params.client, raw);
|
|
1166
|
-
});
|
|
1167
|
-
}
|
|
1168
|
-
invalidateForGatewayEvent(type, data) {
|
|
1169
|
-
const raw = data && typeof data === "object" ? data : {};
|
|
1170
|
-
const channelUpdate = GatewayDispatchEvents.ChannelUpdate;
|
|
1171
|
-
const channelDelete = GatewayDispatchEvents.ChannelDelete;
|
|
1172
|
-
const guildUpdate = GatewayDispatchEvents.GuildUpdate;
|
|
1173
|
-
const guildMemberUpdate = GatewayDispatchEvents.GuildMemberUpdate;
|
|
1174
|
-
if (type === channelUpdate || type === channelDelete) this.deleteId("channel", raw.id);
|
|
1175
|
-
if (type === guildUpdate) this.deleteId("guild", raw.id);
|
|
1176
|
-
if (type === guildMemberUpdate) {
|
|
1177
|
-
const guildId = raw.guild_id;
|
|
1178
|
-
const user = raw.user && typeof raw.user === "object" ? raw.user : {};
|
|
1179
|
-
if (typeof guildId === "string" && typeof user.id === "string") {
|
|
1180
|
-
this.entries.delete(`member:${guildId}:${user.id}`);
|
|
1181
|
-
this.entries.delete(`user:${user.id}`);
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
deleteId(prefix, id) {
|
|
1186
|
-
if (typeof id === "string") this.entries.delete(`${prefix}:${id}`);
|
|
1187
|
-
}
|
|
1188
|
-
async fetchCached(key, fetcher) {
|
|
1189
|
-
const ttl = this.params.ttlMs ?? DEFAULT_REST_CACHE_TTL_MS;
|
|
1190
|
-
const rawNow = Date.now();
|
|
1191
|
-
const now = asDateTimestampMs(rawNow);
|
|
1192
|
-
if (ttl > 0) {
|
|
1193
|
-
const cached = this.entries.get(key);
|
|
1194
|
-
if (cached && now !== void 0 && cached.expiresAt > now) return cached.value;
|
|
1195
|
-
if (cached) this.entries.delete(key);
|
|
1196
|
-
}
|
|
1197
|
-
const value = await fetcher();
|
|
1198
|
-
if (ttl > 0) {
|
|
1199
|
-
const expiresAt = resolveExpiresAtMsFromDurationMs(ttl, { nowMs: rawNow });
|
|
1200
|
-
if (expiresAt !== void 0) {
|
|
1201
|
-
if (now !== void 0) this.maybeSweepExpired(now);
|
|
1202
|
-
this.entries.set(key, {
|
|
1203
|
-
expiresAt,
|
|
1204
|
-
value
|
|
1205
|
-
});
|
|
1206
|
-
this.enforceMaxEntries();
|
|
1207
|
-
}
|
|
1208
|
-
}
|
|
1209
|
-
return value;
|
|
1210
|
-
}
|
|
1211
|
-
maybeSweepExpired(now) {
|
|
1212
|
-
const interval = this.params.sweepIntervalMs ?? DEFAULT_SWEEP_INTERVAL_MS;
|
|
1213
|
-
if (now - this.lastSweepAt < interval) return;
|
|
1214
|
-
this.lastSweepAt = now;
|
|
1215
|
-
for (const [key, entry] of this.entries) if (entry.expiresAt <= now) this.entries.delete(key);
|
|
1216
|
-
}
|
|
1217
|
-
enforceMaxEntries() {
|
|
1218
|
-
const max = this.params.maxEntries ?? DEFAULT_MAX_ENTRIES;
|
|
1219
|
-
if (this.entries.size <= max) return;
|
|
1220
|
-
const toRemove = this.entries.size - max;
|
|
1221
|
-
let removed = 0;
|
|
1222
|
-
for (const key of this.entries.keys()) {
|
|
1223
|
-
if (removed >= toRemove) break;
|
|
1224
|
-
this.entries.delete(key);
|
|
1225
|
-
removed += 1;
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
get rest() {
|
|
1229
|
-
return typeof this.params.rest === "function" ? this.params.rest() : this.params.rest;
|
|
1230
|
-
}
|
|
1231
|
-
};
|
|
1232
|
-
//#endregion
|
|
1233
|
-
//#region extensions/discord/src/internal/event-queue.ts
|
|
1234
|
-
const DEFAULT_MAX_QUEUE_SIZE = 1e4;
|
|
1235
|
-
const DEFAULT_MAX_CONCURRENCY = 50;
|
|
1236
|
-
const DEFAULT_LISTENER_TIMEOUT_MS = 12e4;
|
|
1237
|
-
const DEFAULT_SLOW_LISTENER_THRESHOLD_MS = 3e4;
|
|
1238
|
-
var DiscordEventQueue = class {
|
|
1239
|
-
constructor(options = {}) {
|
|
1240
|
-
this.queue = [];
|
|
1241
|
-
this.queueHead = 0;
|
|
1242
|
-
this.processing = 0;
|
|
1243
|
-
this.processedCount = 0;
|
|
1244
|
-
this.droppedCount = 0;
|
|
1245
|
-
this.timeoutCount = 0;
|
|
1246
|
-
this.options = {
|
|
1247
|
-
maxQueueSize: normalizePositiveInteger(options.maxQueueSize, DEFAULT_MAX_QUEUE_SIZE),
|
|
1248
|
-
maxConcurrency: normalizePositiveInteger(options.maxConcurrency, DEFAULT_MAX_CONCURRENCY),
|
|
1249
|
-
listenerTimeout: normalizePositiveInteger(options.listenerTimeout, DEFAULT_LISTENER_TIMEOUT_MS),
|
|
1250
|
-
slowListenerThreshold: normalizePositiveInteger(options.slowListenerThreshold, DEFAULT_SLOW_LISTENER_THRESHOLD_MS)
|
|
1251
|
-
};
|
|
1252
|
-
}
|
|
1253
|
-
enqueue(params) {
|
|
1254
|
-
if (this.pendingQueueSize >= this.options.maxQueueSize) {
|
|
1255
|
-
this.droppedCount += 1;
|
|
1256
|
-
return Promise.reject(/* @__PURE__ */ new Error(`Discord event queue is full for ${params.eventType}; maxQueueSize=${this.options.maxQueueSize}`));
|
|
1257
|
-
}
|
|
1258
|
-
return new Promise((resolve, reject) => {
|
|
1259
|
-
this.queue.push({
|
|
1260
|
-
...params,
|
|
1261
|
-
resolve,
|
|
1262
|
-
reject
|
|
1263
|
-
});
|
|
1264
|
-
this.processNext();
|
|
1265
|
-
});
|
|
1266
|
-
}
|
|
1267
|
-
getMetrics() {
|
|
1268
|
-
return {
|
|
1269
|
-
queueSize: this.pendingQueueSize,
|
|
1270
|
-
processing: this.processing,
|
|
1271
|
-
processed: this.processedCount,
|
|
1272
|
-
dropped: this.droppedCount,
|
|
1273
|
-
timeouts: this.timeoutCount,
|
|
1274
|
-
maxQueueSize: this.options.maxQueueSize,
|
|
1275
|
-
maxConcurrency: this.options.maxConcurrency
|
|
1276
|
-
};
|
|
1277
|
-
}
|
|
1278
|
-
get pendingQueueSize() {
|
|
1279
|
-
return Math.max(0, this.queue.length - this.queueHead);
|
|
1280
|
-
}
|
|
1281
|
-
takeNextJob() {
|
|
1282
|
-
if (this.queueHead >= this.queue.length) {
|
|
1283
|
-
this.queue.length = 0;
|
|
1284
|
-
this.queueHead = 0;
|
|
1285
|
-
return;
|
|
1286
|
-
}
|
|
1287
|
-
const job = this.queue[this.queueHead];
|
|
1288
|
-
this.queueHead += 1;
|
|
1289
|
-
if (this.queueHead >= this.queue.length) {
|
|
1290
|
-
this.queue.length = 0;
|
|
1291
|
-
this.queueHead = 0;
|
|
1292
|
-
} else if (this.queueHead > 256 && this.queueHead * 2 > this.queue.length) {
|
|
1293
|
-
this.queue.splice(0, this.queueHead);
|
|
1294
|
-
this.queueHead = 0;
|
|
1295
|
-
}
|
|
1296
|
-
return job;
|
|
1297
|
-
}
|
|
1298
|
-
processNext() {
|
|
1299
|
-
while (this.processing < this.options.maxConcurrency && this.pendingQueueSize > 0) {
|
|
1300
|
-
const job = this.takeNextJob();
|
|
1301
|
-
if (!job) return;
|
|
1302
|
-
this.processing += 1;
|
|
1303
|
-
const listenerPromise = Promise.resolve().then(() => job.run());
|
|
1304
|
-
const runJobPromise = this.runJob(job, listenerPromise);
|
|
1305
|
-
runJobPromise.then(job.resolve, job.reject).finally(() => {
|
|
1306
|
-
this.processedCount += 1;
|
|
1307
|
-
});
|
|
1308
|
-
Promise.allSettled([runJobPromise, listenerPromise]).then(([dispatchResult, listenerResult]) => {
|
|
1309
|
-
if (dispatchResult.status === "fulfilled" && dispatchResult.value === "timed-out" && listenerResult.status === "rejected") console.error(`[EventQueue] Listener ${job.listenerName} failed after timeout for event ${job.eventType}:`, listenerResult.reason);
|
|
1310
|
-
this.processing -= 1;
|
|
1311
|
-
this.processNext();
|
|
1312
|
-
});
|
|
1313
|
-
}
|
|
1314
|
-
}
|
|
1315
|
-
async runJob(job, listenerPromise) {
|
|
1316
|
-
const startedAt = Date.now();
|
|
1317
|
-
try {
|
|
1318
|
-
await this.runWithTimeout(listenerPromise);
|
|
1319
|
-
this.logSlowListener(job, Date.now() - startedAt);
|
|
1320
|
-
return "completed";
|
|
1321
|
-
} catch (error) {
|
|
1322
|
-
if (isListenerTimeoutError(error)) {
|
|
1323
|
-
this.timeoutCount += 1;
|
|
1324
|
-
console.error(`[EventQueue] Listener ${job.listenerName} timed out after ${this.options.listenerTimeout}ms for event ${job.eventType}`);
|
|
1325
|
-
return "timed-out";
|
|
1326
|
-
}
|
|
1327
|
-
console.error(`[EventQueue] Listener ${job.listenerName} failed for event ${job.eventType}:`, error);
|
|
1328
|
-
return "failed";
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
async runWithTimeout(listenerPromise) {
|
|
1332
|
-
let timeout;
|
|
1333
|
-
try {
|
|
1334
|
-
await Promise.race([listenerPromise, new Promise((_, reject) => {
|
|
1335
|
-
timeout = setTimeout(() => {
|
|
1336
|
-
reject(createListenerTimeoutError(this.options.listenerTimeout));
|
|
1337
|
-
}, this.options.listenerTimeout);
|
|
1338
|
-
timeout.unref?.();
|
|
1339
|
-
})]);
|
|
1340
|
-
} finally {
|
|
1341
|
-
if (timeout) clearTimeout(timeout);
|
|
1342
|
-
}
|
|
1343
|
-
}
|
|
1344
|
-
logSlowListener(job, durationMs) {
|
|
1345
|
-
if (durationMs < this.options.slowListenerThreshold) return;
|
|
1346
|
-
console.warn(`[EventQueue] Slow listener detected: ${job.listenerName} took ${durationMs}ms for event ${job.eventType}`);
|
|
1347
|
-
}
|
|
1348
|
-
};
|
|
1349
|
-
function normalizePositiveInteger(value, fallback) {
|
|
1350
|
-
if (typeof value !== "number" || !Number.isFinite(value) || value <= 0) return fallback;
|
|
1351
|
-
return Math.max(1, Math.floor(value));
|
|
1352
|
-
}
|
|
1353
|
-
function createListenerTimeoutError(timeoutMs) {
|
|
1354
|
-
const error = /* @__PURE__ */ new Error(`Listener timeout after ${timeoutMs}ms`);
|
|
1355
|
-
error.name = "DiscordEventQueueListenerTimeoutError";
|
|
1356
|
-
return error;
|
|
1357
|
-
}
|
|
1358
|
-
function isListenerTimeoutError(error) {
|
|
1359
|
-
return error instanceof Error && error.name === "DiscordEventQueueListenerTimeoutError";
|
|
1360
|
-
}
|
|
1361
|
-
//#endregion
|
|
1362
|
-
//#region extensions/discord/src/internal/commands.ts
|
|
1363
|
-
function clean(value) {
|
|
1364
|
-
return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
|
|
1365
|
-
}
|
|
1366
|
-
function resolveConditionalCommandOption(value, interaction) {
|
|
1367
|
-
return typeof value === "function" ? value(interaction) : value;
|
|
1368
|
-
}
|
|
1369
|
-
async function deferCommandInteractionIfNeeded(command, interaction) {
|
|
1370
|
-
if (!resolveConditionalCommandOption(command.defer, interaction)) return;
|
|
1371
|
-
await interaction.defer({ ephemeral: resolveConditionalCommandOption(command.ephemeral, interaction) });
|
|
1372
|
-
}
|
|
1373
|
-
function readRawCommandOptions(interaction) {
|
|
1374
|
-
const options = interaction.rawData.data?.options;
|
|
1375
|
-
return Array.isArray(options) ? options : [];
|
|
1376
|
-
}
|
|
1377
|
-
function findSelectedSubcommand(subcommands, interaction) {
|
|
1378
|
-
const subcommandName = readRawCommandOptions(interaction).find((option) => option.type === ApplicationCommandOptionType.Subcommand)?.name;
|
|
1379
|
-
return typeof subcommandName === "string" ? subcommands.find((command) => command.name === subcommandName) : void 0;
|
|
1380
|
-
}
|
|
1381
|
-
function findCommandOption(options, name) {
|
|
1382
|
-
if (!name) return;
|
|
1383
|
-
return options?.find((option) => option.name === name);
|
|
1384
|
-
}
|
|
1385
|
-
function hasCommandOptions(command) {
|
|
1386
|
-
return "options" in command;
|
|
1387
|
-
}
|
|
1388
|
-
function resolveFocusedCommandOptionAutocompleteHandler(command, interaction) {
|
|
1389
|
-
const focusedName = interaction.options.getFocused()?.name;
|
|
1390
|
-
const autocomplete = findCommandOption("subcommands" in command && Array.isArray(command.subcommands) ? findSelectedSubcommand(command.subcommands, interaction)?.options : hasCommandOptions(command) ? command.options : void 0, focusedName)?.autocomplete;
|
|
1391
|
-
return typeof autocomplete === "function" ? autocomplete : void 0;
|
|
1392
|
-
}
|
|
1393
|
-
var BaseCommand = class {
|
|
1394
|
-
constructor() {
|
|
1395
|
-
this.defer = false;
|
|
1396
|
-
this.ephemeral = false;
|
|
1397
|
-
this.integrationTypes = [0, 1];
|
|
1398
|
-
this.contexts = [
|
|
1399
|
-
InteractionContextType.Guild,
|
|
1400
|
-
InteractionContextType.BotDM,
|
|
1401
|
-
InteractionContextType.PrivateChannel
|
|
1402
|
-
];
|
|
1403
|
-
}
|
|
1404
|
-
serialize() {
|
|
1405
|
-
return clean({
|
|
1406
|
-
name: this.name,
|
|
1407
|
-
name_localizations: this.nameLocalizations,
|
|
1408
|
-
description: this.type === ApplicationCommandType.ChatInput ? this.description ?? "" : void 0,
|
|
1409
|
-
description_localizations: this.descriptionLocalizations,
|
|
1410
|
-
type: this.type,
|
|
1411
|
-
options: this.serializeOptions(),
|
|
1412
|
-
integration_types: this.integrationTypes,
|
|
1413
|
-
contexts: this.contexts,
|
|
1414
|
-
default_member_permissions: Array.isArray(this.permission) ? this.permission.reduce((sum, entry) => sum | entry, 0n).toString() : this.permission ? this.permission.toString() : null
|
|
1415
|
-
});
|
|
1416
|
-
}
|
|
1417
|
-
};
|
|
1418
|
-
var Command = class extends BaseCommand {
|
|
1419
|
-
constructor(..._args) {
|
|
1420
|
-
super(..._args);
|
|
1421
|
-
this.type = ApplicationCommandType.ChatInput;
|
|
1422
|
-
}
|
|
1423
|
-
async autocomplete(interaction) {
|
|
1424
|
-
throw new Error(`The ${interaction.rawData?.data?.name ?? this.name} command does not support autocomplete`);
|
|
1425
|
-
}
|
|
1426
|
-
serializeOptions() {
|
|
1427
|
-
return this.options?.map((option) => {
|
|
1428
|
-
if (typeof option.autocomplete === "function") {
|
|
1429
|
-
const { autocomplete: _autocomplete, ...rest } = option;
|
|
1430
|
-
return {
|
|
1431
|
-
...rest,
|
|
1432
|
-
autocomplete: true
|
|
1433
|
-
};
|
|
1434
|
-
}
|
|
1435
|
-
return option;
|
|
1436
|
-
});
|
|
1437
|
-
}
|
|
1438
|
-
};
|
|
1439
|
-
var CommandWithSubcommands = class extends BaseCommand {
|
|
1440
|
-
constructor(..._args2) {
|
|
1441
|
-
super(..._args2);
|
|
1442
|
-
this.type = ApplicationCommandType.ChatInput;
|
|
1443
|
-
}
|
|
1444
|
-
async run(interaction) {
|
|
1445
|
-
const subcommand = findSelectedSubcommand(this.subcommands, interaction);
|
|
1446
|
-
if (!subcommand) {
|
|
1447
|
-
const subcommandName = readRawCommandOptions(interaction).find((option) => option.type === ApplicationCommandOptionType.Subcommand)?.name;
|
|
1448
|
-
throw new Error(`Unknown Discord subcommand: ${typeof subcommandName === "string" ? subcommandName : "<missing>"}`);
|
|
1449
|
-
}
|
|
1450
|
-
await deferCommandInteractionIfNeeded(subcommand, interaction);
|
|
1451
|
-
return await subcommand.run(interaction);
|
|
1452
|
-
}
|
|
1453
|
-
serializeOptions() {
|
|
1454
|
-
return this.subcommands.map((command) => clean({
|
|
1455
|
-
name: command.name,
|
|
1456
|
-
name_localizations: command.nameLocalizations,
|
|
1457
|
-
description: command.description ?? "",
|
|
1458
|
-
description_localizations: command.descriptionLocalizations,
|
|
1459
|
-
type: ApplicationCommandOptionType.Subcommand,
|
|
1460
|
-
options: command.serializeOptions()
|
|
1461
|
-
}));
|
|
1462
|
-
}
|
|
1463
|
-
};
|
|
1464
|
-
//#endregion
|
|
1465
|
-
//#region extensions/discord/src/internal/interaction-options.ts
|
|
1466
|
-
function readFocusedOption(options) {
|
|
1467
|
-
for (const option of options ?? []) {
|
|
1468
|
-
if ("focused" in option && option.focused) return option;
|
|
1469
|
-
const child = readFocusedOption(readChildOptions(option));
|
|
1470
|
-
if (child) return child;
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
function findOption(options, name) {
|
|
1474
|
-
for (const option of options ?? []) {
|
|
1475
|
-
if (option.name === name) return option;
|
|
1476
|
-
const child = findOption(readChildOptions(option), name);
|
|
1477
|
-
if (child) return child;
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
function readChildOptions(option) {
|
|
1481
|
-
if (!("options" in option) || !Array.isArray(option.options)) return;
|
|
1482
|
-
return option.options;
|
|
1483
|
-
}
|
|
1484
|
-
var OptionsHandler = class {
|
|
1485
|
-
constructor(rawOptions, client, resolvedChannels) {
|
|
1486
|
-
this.rawOptions = rawOptions;
|
|
1487
|
-
this.client = client;
|
|
1488
|
-
this.resolvedChannels = resolvedChannels;
|
|
1489
|
-
}
|
|
1490
|
-
getString(name) {
|
|
1491
|
-
const option = findOption(this.rawOptions, name);
|
|
1492
|
-
const value = option && "value" in option ? option.value : void 0;
|
|
1493
|
-
return typeof value === "string" ? value : null;
|
|
1494
|
-
}
|
|
1495
|
-
getNumber(name) {
|
|
1496
|
-
const option = findOption(this.rawOptions, name);
|
|
1497
|
-
const value = option && "value" in option ? option.value : void 0;
|
|
1498
|
-
return typeof value === "number" ? value : null;
|
|
1499
|
-
}
|
|
1500
|
-
getBoolean(name) {
|
|
1501
|
-
const option = findOption(this.rawOptions, name);
|
|
1502
|
-
const value = option && "value" in option ? option.value : void 0;
|
|
1503
|
-
return typeof value === "boolean" ? value : null;
|
|
1504
|
-
}
|
|
1505
|
-
async getChannel(name, required = false) {
|
|
1506
|
-
const option = findOption(this.rawOptions, name);
|
|
1507
|
-
const value = option && "value" in option ? option.value : void 0;
|
|
1508
|
-
const id = typeof value === "string" ? value : void 0;
|
|
1509
|
-
const resolved = id ? this.resolvedChannels?.[id] : void 0;
|
|
1510
|
-
if (resolved) return channelFactory(this.client, resolved);
|
|
1511
|
-
if (id) return await this.client.fetchChannel(id);
|
|
1512
|
-
if (required) throw new Error(`Missing required channel option ${name}`);
|
|
1513
|
-
return null;
|
|
1514
|
-
}
|
|
1515
|
-
getFocused() {
|
|
1516
|
-
return readFocusedOption(this.rawOptions);
|
|
1517
|
-
}
|
|
1518
|
-
};
|
|
1519
|
-
//#endregion
|
|
1520
|
-
//#region extensions/discord/src/internal/interaction-response.ts
|
|
1521
|
-
var InteractionResponseController = class {
|
|
1522
|
-
constructor() {
|
|
1523
|
-
this.state = "unacknowledged";
|
|
1524
|
-
}
|
|
1525
|
-
get acknowledged() {
|
|
1526
|
-
return this.state !== "unacknowledged";
|
|
1527
|
-
}
|
|
1528
|
-
recordCallback(type) {
|
|
1529
|
-
if (type === InteractionResponseType.DeferredChannelMessageWithSource) {
|
|
1530
|
-
this.state = "deferred";
|
|
1531
|
-
return;
|
|
1532
|
-
}
|
|
1533
|
-
if (type === InteractionResponseType.DeferredMessageUpdate) {
|
|
1534
|
-
this.state = "deferred-update";
|
|
1535
|
-
return;
|
|
1536
|
-
}
|
|
1537
|
-
this.state = "replied";
|
|
1538
|
-
}
|
|
1539
|
-
nextReplyAction() {
|
|
1540
|
-
if (this.state === "deferred" || this.state === "deferred-update") return "edit";
|
|
1541
|
-
if (this.state === "unacknowledged") return "initial";
|
|
1542
|
-
return "follow-up";
|
|
1543
|
-
}
|
|
1544
|
-
recordReplyEdit() {
|
|
1545
|
-
this.state = "replied";
|
|
1546
|
-
}
|
|
1547
|
-
recordReplyDelete() {
|
|
1548
|
-
this.state = "replied";
|
|
1549
|
-
}
|
|
1550
|
-
};
|
|
1551
|
-
function needsComponentsV2Query(body) {
|
|
1552
|
-
return body !== null && typeof body === "object" && "flags" in body && typeof body.flags === "number" && (body.flags & MessageFlags.IsComponentsV2) !== 0;
|
|
1553
|
-
}
|
|
1554
|
-
//#endregion
|
|
1555
|
-
//#region extensions/discord/src/internal/modal-fields.ts
|
|
1556
|
-
function extractModalFields(components) {
|
|
1557
|
-
const out = {};
|
|
1558
|
-
for (const component of flattenModalComponents(components)) {
|
|
1559
|
-
const raw = component;
|
|
1560
|
-
if (typeof raw.custom_id !== "string") continue;
|
|
1561
|
-
if (Array.isArray(raw.values)) out[raw.custom_id] = raw.values.map(String);
|
|
1562
|
-
else if (typeof raw.value === "string" || typeof raw.value === "number" || typeof raw.value === "boolean") out[raw.custom_id] = String(raw.value);
|
|
1563
|
-
}
|
|
1564
|
-
return out;
|
|
1565
|
-
}
|
|
1566
|
-
function flattenModalComponents(components) {
|
|
1567
|
-
const out = [];
|
|
1568
|
-
for (const entry of components) {
|
|
1569
|
-
if (!entry || typeof entry !== "object") continue;
|
|
1570
|
-
const component = entry;
|
|
1571
|
-
if (component.component && typeof component.component === "object") out.push(component.component);
|
|
1572
|
-
if (Array.isArray(component.components)) out.push(...flattenModalComponents(component.components));
|
|
1573
|
-
out.push(entry);
|
|
1574
|
-
}
|
|
1575
|
-
return out;
|
|
1576
|
-
}
|
|
1577
|
-
var ModalFields = class {
|
|
1578
|
-
constructor(values, resolved, client) {
|
|
1579
|
-
this.values = values;
|
|
1580
|
-
this.resolved = resolved;
|
|
1581
|
-
this.client = client;
|
|
1582
|
-
}
|
|
1583
|
-
value(id, required) {
|
|
1584
|
-
const value = this.values[id];
|
|
1585
|
-
if (required && (value === void 0 || Array.isArray(value) && value.length === 0)) throw new Error(`Missing required modal field ${id}`);
|
|
1586
|
-
return value;
|
|
1587
|
-
}
|
|
1588
|
-
getText(id, required = false) {
|
|
1589
|
-
const value = this.value(id, required);
|
|
1590
|
-
return typeof value === "string" ? value : null;
|
|
1591
|
-
}
|
|
1592
|
-
getStringSelect(id, required = false) {
|
|
1593
|
-
const value = this.value(id, required);
|
|
1594
|
-
if (Array.isArray(value)) return value;
|
|
1595
|
-
return typeof value === "string" ? [value] : [];
|
|
1596
|
-
}
|
|
1597
|
-
getRoleSelect(id, required = false) {
|
|
1598
|
-
return this.getStringSelect(id, required).map((roleId) => {
|
|
1599
|
-
const raw = this.resolved?.roles?.[roleId];
|
|
1600
|
-
return raw ? new Role(this.client, {
|
|
1601
|
-
id: roleId,
|
|
1602
|
-
name: raw.name ?? ""
|
|
1603
|
-
}) : new Role(this.client, roleId);
|
|
1604
|
-
});
|
|
1605
|
-
}
|
|
1606
|
-
getUserSelect(id, required = false) {
|
|
1607
|
-
return this.getStringSelect(id, required).map((userId) => {
|
|
1608
|
-
const raw = this.resolved?.users?.[userId];
|
|
1609
|
-
return new User(this.client, {
|
|
1610
|
-
id: userId,
|
|
1611
|
-
username: raw?.username ?? ""
|
|
1612
|
-
});
|
|
1613
|
-
});
|
|
1614
|
-
}
|
|
1615
|
-
};
|
|
1616
|
-
//#endregion
|
|
1617
|
-
//#region extensions/discord/src/internal/schemas.ts
|
|
1618
|
-
const discordInteractionPayloadSchema = Type.Object({
|
|
1619
|
-
id: Type.String({ minLength: 1 }),
|
|
1620
|
-
token: Type.String({ minLength: 1 }),
|
|
1621
|
-
type: Type.Number()
|
|
1622
|
-
}, { additionalProperties: true });
|
|
1623
|
-
const discordRateLimitBodySchema = Type.Object({
|
|
1624
|
-
message: Type.Optional(Type.String()),
|
|
1625
|
-
retry_after: Type.Optional(Type.Union([Type.Number(), Type.String()])),
|
|
1626
|
-
global: Type.Optional(Type.Boolean()),
|
|
1627
|
-
code: Type.Optional(Type.Union([Type.Number(), Type.String()]))
|
|
1628
|
-
}, { additionalProperties: true });
|
|
1629
|
-
function assertDiscordInteractionPayload(value) {
|
|
1630
|
-
if (!Check(discordInteractionPayloadSchema, value)) throw new Error("Invalid Discord interaction payload");
|
|
1631
|
-
}
|
|
1632
|
-
function isDiscordRateLimitBody(value) {
|
|
1633
|
-
return Check(discordRateLimitBodySchema, value);
|
|
1634
|
-
}
|
|
1635
|
-
//#endregion
|
|
1636
|
-
//#region extensions/discord/src/internal/interactions.ts
|
|
1637
|
-
function toCommandRawInteraction(rawData) {
|
|
1638
|
-
return rawData;
|
|
1639
|
-
}
|
|
1640
|
-
function toMessageComponentRawInteraction(rawData) {
|
|
1641
|
-
return rawData;
|
|
1642
|
-
}
|
|
1643
|
-
function toModalSubmitRawInteraction(rawData) {
|
|
1644
|
-
return rawData;
|
|
1645
|
-
}
|
|
1646
|
-
function readInteractionUser(rawData, client) {
|
|
1647
|
-
const directUser = "user" in rawData ? rawData.user : void 0;
|
|
1648
|
-
if (directUser && typeof directUser === "object" && "id" in directUser) return new User(client, directUser);
|
|
1649
|
-
const memberUser = rawData.member?.user;
|
|
1650
|
-
if (memberUser && typeof memberUser === "object" && typeof memberUser.id === "string") {
|
|
1651
|
-
const user = { ...memberUser };
|
|
1652
|
-
if (typeof user.username !== "string") user.username = "";
|
|
1653
|
-
return new User(client, user);
|
|
1654
|
-
}
|
|
1655
|
-
return null;
|
|
1656
|
-
}
|
|
1657
|
-
var BaseInteraction = class {
|
|
1658
|
-
constructor(client, rawData) {
|
|
1659
|
-
this.client = client;
|
|
1660
|
-
this.rawData = rawData;
|
|
1661
|
-
this.message = null;
|
|
1662
|
-
this.response = new InteractionResponseController();
|
|
1663
|
-
this.id = rawData.id;
|
|
1664
|
-
this.token = rawData.token;
|
|
1665
|
-
this.user = readInteractionUser(rawData, client);
|
|
1666
|
-
this.userId = this.user?.id ?? "";
|
|
1667
|
-
this.guild = rawData.guild_id ? new Guild(client, rawData.guild_id) : null;
|
|
1668
|
-
this.channel = "channel" in rawData && rawData.channel ? channelFactory(client, rawData.channel) : null;
|
|
1669
|
-
}
|
|
1670
|
-
get acknowledged() {
|
|
1671
|
-
return this.response.acknowledged;
|
|
1672
|
-
}
|
|
1673
|
-
get responseState() {
|
|
1674
|
-
return this.response.state;
|
|
1675
|
-
}
|
|
1676
|
-
set responseState(nextState) {
|
|
1677
|
-
this.response.state = nextState;
|
|
1678
|
-
}
|
|
1679
|
-
async callback(type, data) {
|
|
1680
|
-
this.response.recordCallback(type);
|
|
1681
|
-
return await createInteractionCallback(this.client.rest, this.id, this.token, data === void 0 ? { type } : {
|
|
1682
|
-
type,
|
|
1683
|
-
data
|
|
1684
|
-
});
|
|
1685
|
-
}
|
|
1686
|
-
async reply(payload) {
|
|
1687
|
-
const action = this.response.nextReplyAction();
|
|
1688
|
-
if (action === "edit") return await this.editReply(payload);
|
|
1689
|
-
if (action === "follow-up") return await this.followUp(payload);
|
|
1690
|
-
return await this.callback(InteractionResponseType.ChannelMessageWithSource, serializePayload(payload));
|
|
1691
|
-
}
|
|
1692
|
-
async defer(options) {
|
|
1693
|
-
return await this.callback(InteractionResponseType.DeferredChannelMessageWithSource, options?.ephemeral ? { flags: 64 } : void 0);
|
|
1694
|
-
}
|
|
1695
|
-
async acknowledge() {
|
|
1696
|
-
return await this.defer();
|
|
1697
|
-
}
|
|
1698
|
-
async editReply(payload) {
|
|
1699
|
-
const body = serializePayload(payload);
|
|
1700
|
-
const query = needsComponentsV2Query(body) ? { with_components: true } : void 0;
|
|
1701
|
-
const result = query ? await editWebhookMessage(this.client.rest, this.client.options.clientId, this.token, "@original", { body }, query) : await editWebhookMessage(this.client.rest, this.client.options.clientId, this.token, "@original", { body });
|
|
1702
|
-
this.response.recordReplyEdit();
|
|
1703
|
-
return result;
|
|
1704
|
-
}
|
|
1705
|
-
async deleteReply() {
|
|
1706
|
-
const result = await deleteWebhookMessage(this.client.rest, this.client.options.clientId, this.token, "@original");
|
|
1707
|
-
this.response.recordReplyDelete();
|
|
1708
|
-
return result;
|
|
1709
|
-
}
|
|
1710
|
-
async fetchReply() {
|
|
1711
|
-
return await getWebhookMessage(this.client.rest, this.client.options.clientId, this.token, "@original");
|
|
1712
|
-
}
|
|
1713
|
-
async replyAndWaitForComponent(payload, timeoutMs = 3e5) {
|
|
1714
|
-
const result = await this.reply(payload);
|
|
1715
|
-
const rawMessage = isRawMessage(result) ? result : await this.fetchReply();
|
|
1716
|
-
if (!isRawMessage(rawMessage)) throw new Error("Discord interaction reply did not return a message");
|
|
1717
|
-
const message = new Message(this.client, rawMessage);
|
|
1718
|
-
return await this.client.componentHandler.waitForMessageComponent(message, timeoutMs);
|
|
1719
|
-
}
|
|
1720
|
-
async followUp(payload) {
|
|
1721
|
-
const body = serializePayload(payload);
|
|
1722
|
-
return await createWebhookMessage(this.client.rest, this.client.options.clientId, this.token, { body }, needsComponentsV2Query(body) ? { with_components: true } : void 0);
|
|
1723
|
-
}
|
|
1724
|
-
};
|
|
1725
|
-
var CommandInteraction = class extends BaseInteraction {
|
|
1726
|
-
constructor(client, rawData) {
|
|
1727
|
-
super(client, rawData);
|
|
1728
|
-
this.options = new OptionsHandler(rawData.data.options, client, rawData.data.resolved?.channels);
|
|
1729
|
-
}
|
|
1730
|
-
};
|
|
1731
|
-
var AutocompleteInteraction = class extends CommandInteraction {
|
|
1732
|
-
async respond(choices) {
|
|
1733
|
-
return await this.callback(InteractionResponseType.ApplicationCommandAutocompleteResult, { choices });
|
|
1734
|
-
}
|
|
1735
|
-
};
|
|
1736
|
-
var BaseComponentInteraction = class extends BaseInteraction {
|
|
1737
|
-
constructor(client, rawData) {
|
|
1738
|
-
super(client, rawData);
|
|
1739
|
-
this.message = rawData.message && typeof rawData.message === "object" ? new Message(client, rawData.message) : null;
|
|
1740
|
-
this.values = Array.isArray(rawData.data.values) ? rawData.data.values.map(String) : [];
|
|
1741
|
-
}
|
|
1742
|
-
async update(payload) {
|
|
1743
|
-
return await this.callback(InteractionResponseType.UpdateMessage, serializePayload(payload));
|
|
1744
|
-
}
|
|
1745
|
-
async acknowledge() {
|
|
1746
|
-
return await this.callback(InteractionResponseType.DeferredMessageUpdate);
|
|
1747
|
-
}
|
|
1748
|
-
async showModal(modal) {
|
|
1749
|
-
return await this.callback(InteractionResponseType.Modal, modal.serialize());
|
|
1750
|
-
}
|
|
1751
|
-
async launchActivity() {
|
|
1752
|
-
return await this.callback(InteractionResponseType.LaunchActivity);
|
|
1753
|
-
}
|
|
1754
|
-
};
|
|
1755
|
-
var ButtonInteraction = class extends BaseComponentInteraction {};
|
|
1756
|
-
var StringSelectMenuInteraction = class extends BaseComponentInteraction {};
|
|
1757
|
-
var UserSelectMenuInteraction = class extends BaseComponentInteraction {};
|
|
1758
|
-
var RoleSelectMenuInteraction = class extends BaseComponentInteraction {};
|
|
1759
|
-
var MentionableSelectMenuInteraction = class extends BaseComponentInteraction {};
|
|
1760
|
-
var ChannelSelectMenuInteraction = class extends BaseComponentInteraction {};
|
|
1761
|
-
var ModalInteraction = class extends BaseInteraction {
|
|
1762
|
-
constructor(client, rawData) {
|
|
1763
|
-
super(client, rawData);
|
|
1764
|
-
this.fields = new ModalFields(extractModalFields(rawData.data.components ?? []), rawData.data.resolved, client);
|
|
1765
|
-
}
|
|
1766
|
-
async acknowledge() {
|
|
1767
|
-
return await this.callback(InteractionResponseType.DeferredMessageUpdate);
|
|
1768
|
-
}
|
|
1769
|
-
};
|
|
1770
|
-
function createInteraction(client, rawData) {
|
|
1771
|
-
assertDiscordInteractionPayload(rawData);
|
|
1772
|
-
if (rawData.type === InteractionType.ApplicationCommandAutocomplete) return new AutocompleteInteraction(client, toCommandRawInteraction(rawData));
|
|
1773
|
-
if (rawData.type === InteractionType.ApplicationCommand) return new CommandInteraction(client, toCommandRawInteraction(rawData));
|
|
1774
|
-
if (rawData.type === InteractionType.ModalSubmit) return new ModalInteraction(client, toModalSubmitRawInteraction(rawData));
|
|
1775
|
-
if (rawData.type === InteractionType.MessageComponent) {
|
|
1776
|
-
const componentRawData = toMessageComponentRawInteraction(rawData);
|
|
1777
|
-
switch (rawData.data?.component_type) {
|
|
1778
|
-
case ComponentType.Button: return new ButtonInteraction(client, componentRawData);
|
|
1779
|
-
case ComponentType.StringSelect: return new StringSelectMenuInteraction(client, componentRawData);
|
|
1780
|
-
case ComponentType.UserSelect: return new UserSelectMenuInteraction(client, componentRawData);
|
|
1781
|
-
case ComponentType.RoleSelect: return new RoleSelectMenuInteraction(client, componentRawData);
|
|
1782
|
-
case ComponentType.MentionableSelect: return new MentionableSelectMenuInteraction(client, componentRawData);
|
|
1783
|
-
case ComponentType.ChannelSelect: return new ChannelSelectMenuInteraction(client, componentRawData);
|
|
1784
|
-
default: return new BaseComponentInteraction(client, componentRawData);
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
return new BaseInteraction(client, rawData);
|
|
1788
|
-
}
|
|
1789
|
-
function parseComponentInteractionData(component, customId) {
|
|
1790
|
-
return component.customIdParser(customId).data;
|
|
1791
|
-
}
|
|
1792
|
-
function isRawMessage(value) {
|
|
1793
|
-
return Boolean(value) && typeof value === "object" && typeof value.id === "string" && typeof value.channel_id === "string";
|
|
1794
|
-
}
|
|
1795
|
-
//#endregion
|
|
1796
|
-
//#region extensions/discord/src/internal/interaction-dispatch.ts
|
|
1797
|
-
async function dispatchInteraction(client, rawData) {
|
|
1798
|
-
const interaction = createInteraction(client, rawData);
|
|
1799
|
-
if (rawData.type === InteractionType.ApplicationCommandAutocomplete) {
|
|
1800
|
-
const command = client.commands.find((entry) => entry.name === readInteractionName(rawData));
|
|
1801
|
-
if (!command) return;
|
|
1802
|
-
const autocompleteInteraction = interaction;
|
|
1803
|
-
const optionAutocomplete = resolveFocusedCommandOptionAutocompleteHandler(command, autocompleteInteraction);
|
|
1804
|
-
if (optionAutocomplete) {
|
|
1805
|
-
await optionAutocomplete(autocompleteInteraction);
|
|
1806
|
-
return;
|
|
1807
|
-
}
|
|
1808
|
-
if ("autocomplete" in command) await command.autocomplete(autocompleteInteraction);
|
|
1809
|
-
return;
|
|
1810
|
-
}
|
|
1811
|
-
if (rawData.type === InteractionType.ApplicationCommand) {
|
|
1812
|
-
const command = client.commands.find((entry) => entry.name === readInteractionName(rawData));
|
|
1813
|
-
if (command && "run" in command) {
|
|
1814
|
-
await deferCommandInteractionIfNeeded(command, interaction);
|
|
1815
|
-
await command.run(interaction);
|
|
1816
|
-
}
|
|
1817
|
-
return;
|
|
1818
|
-
}
|
|
1819
|
-
if (rawData.type === InteractionType.MessageComponent) {
|
|
1820
|
-
const customId = readCustomId(rawData);
|
|
1821
|
-
if (!customId) return;
|
|
1822
|
-
const componentInteraction = interaction;
|
|
1823
|
-
if (client.componentHandler.resolveOneOffComponent({
|
|
1824
|
-
channelId: readMessageChannelId(rawData),
|
|
1825
|
-
customId,
|
|
1826
|
-
messageId: readMessageId(rawData),
|
|
1827
|
-
values: readComponentValues(rawData)
|
|
1828
|
-
})) {
|
|
1829
|
-
await componentInteraction.acknowledge();
|
|
1830
|
-
return;
|
|
1831
|
-
}
|
|
1832
|
-
const component = client.componentHandler.resolve(customId, { componentType: rawData.data?.component_type });
|
|
1833
|
-
if (component) {
|
|
1834
|
-
await deferComponentInteractionIfNeeded(component, componentInteraction);
|
|
1835
|
-
await component.run(componentInteraction, parseComponentInteractionData(component, customId));
|
|
1836
|
-
}
|
|
1837
|
-
return;
|
|
1838
|
-
}
|
|
1839
|
-
if (rawData.type === InteractionType.ModalSubmit) {
|
|
1840
|
-
const customId = readCustomId(rawData);
|
|
1841
|
-
if (!customId) return;
|
|
1842
|
-
const modal = client.modalHandler.resolve(customId);
|
|
1843
|
-
if (modal) await modal.run(interaction, modal.customIdParser(customId).data);
|
|
1844
|
-
}
|
|
1845
|
-
}
|
|
1846
|
-
function resolveConditionalComponentOption(value, interaction) {
|
|
1847
|
-
return typeof value === "function" ? value(interaction) : value;
|
|
1848
|
-
}
|
|
1849
|
-
async function deferComponentInteractionIfNeeded(component, interaction) {
|
|
1850
|
-
if (!resolveConditionalComponentOption(component.defer, interaction)) return;
|
|
1851
|
-
if (resolveConditionalComponentOption(component.ephemeral, interaction)) {
|
|
1852
|
-
await interaction.defer({ ephemeral: true });
|
|
1853
|
-
return;
|
|
1854
|
-
}
|
|
1855
|
-
await interaction.acknowledge();
|
|
1856
|
-
}
|
|
1857
|
-
function readInteractionName(rawData) {
|
|
1858
|
-
return rawData.data?.name;
|
|
1859
|
-
}
|
|
1860
|
-
function readCustomId(rawData) {
|
|
1861
|
-
return rawData.data?.custom_id;
|
|
1862
|
-
}
|
|
1863
|
-
function readComponentValues(rawData) {
|
|
1864
|
-
const values = rawData.data?.values;
|
|
1865
|
-
return Array.isArray(values) ? values.map(String) : void 0;
|
|
1866
|
-
}
|
|
1867
|
-
function readMessageId(rawData) {
|
|
1868
|
-
const messageId = rawData.message?.id;
|
|
1869
|
-
return typeof messageId === "string" ? messageId : void 0;
|
|
1870
|
-
}
|
|
1871
|
-
function readMessageChannelId(rawData) {
|
|
1872
|
-
const channelId = rawData.message?.channel_id;
|
|
1873
|
-
return typeof channelId === "string" ? channelId : void 0;
|
|
1874
|
-
}
|
|
1875
|
-
//#endregion
|
|
1876
|
-
//#region extensions/discord/src/internal/rest-body.ts
|
|
1877
|
-
function serializeRequestBody(data, headers) {
|
|
1878
|
-
if (data?.headers) for (const [key, value] of Object.entries(data.headers)) headers.set(key, value);
|
|
1879
|
-
if (data?.body == null) return;
|
|
1880
|
-
if (typeof data.body === "object") {
|
|
1881
|
-
const bodyObject = data.body;
|
|
1882
|
-
const topLevelFiles = Array.isArray(bodyObject.files) ? bodyObject.files : void 0;
|
|
1883
|
-
const nestedData = bodyObject.data && typeof bodyObject.data === "object" ? bodyObject.data : void 0;
|
|
1884
|
-
const nestedFiles = nestedData && Array.isArray(nestedData.files) ? nestedData.files : void 0;
|
|
1885
|
-
const files = topLevelFiles ?? nestedFiles;
|
|
1886
|
-
const filesContainer = topLevelFiles ? bodyObject : nestedFiles ? nestedData : void 0;
|
|
1887
|
-
if (files?.length && filesContainer) {
|
|
1888
|
-
if (data.multipartStyle === "form") {
|
|
1889
|
-
const formData = new FormData();
|
|
1890
|
-
for (const [key, value] of Object.entries(filesContainer)) {
|
|
1891
|
-
if (key === "files" || value === void 0 || value === null) continue;
|
|
1892
|
-
formData.append(key, typeof value === "string" ? value : JSON.stringify(value));
|
|
1893
|
-
}
|
|
1894
|
-
for (const file of files) {
|
|
1895
|
-
const item = file;
|
|
1896
|
-
const name = typeof item.name === "string" && item.name ? item.name : "file";
|
|
1897
|
-
const blob = item.data instanceof Blob ? item.data : new Blob([item.data], { type: typeof item.contentType === "string" ? item.contentType : void 0 });
|
|
1898
|
-
formData.append(typeof item.fieldName === "string" && item.fieldName ? item.fieldName : "file", blob, name);
|
|
1899
|
-
}
|
|
1900
|
-
return formData;
|
|
1901
|
-
}
|
|
1902
|
-
const payloadJson = topLevelFiles ? { ...bodyObject } : {
|
|
1903
|
-
...bodyObject,
|
|
1904
|
-
data: { ...nestedData }
|
|
1905
|
-
};
|
|
1906
|
-
const payloadFilesContainer = topLevelFiles ? payloadJson : payloadJson.data ?? {};
|
|
1907
|
-
const formData = new FormData();
|
|
1908
|
-
const existingAttachments = Array.isArray(payloadFilesContainer.attachments) ? [...payloadFilesContainer.attachments] : [];
|
|
1909
|
-
const uploaded = files.map((file, index) => {
|
|
1910
|
-
const item = file;
|
|
1911
|
-
const name = typeof item.name === "string" && item.name ? item.name : `file-${index}`;
|
|
1912
|
-
const blob = item.data instanceof Blob ? item.data : new Blob([item.data], { type: typeof item.contentType === "string" ? item.contentType : void 0 });
|
|
1913
|
-
const id = existingAttachments.length + index;
|
|
1914
|
-
formData.append(`files[${id}]`, blob, name);
|
|
1915
|
-
const attachment = {
|
|
1916
|
-
id,
|
|
1917
|
-
filename: name
|
|
1918
|
-
};
|
|
1919
|
-
if (typeof item.description === "string") attachment.description = item.description;
|
|
1920
|
-
if (typeof item.duration_secs === "number") attachment.duration_secs = item.duration_secs;
|
|
1921
|
-
if (typeof item.waveform === "string") attachment.waveform = item.waveform;
|
|
1922
|
-
return attachment;
|
|
1923
|
-
});
|
|
1924
|
-
payloadFilesContainer.attachments = [...existingAttachments, ...uploaded];
|
|
1925
|
-
delete payloadFilesContainer.files;
|
|
1926
|
-
formData.append("payload_json", JSON.stringify(payloadJson));
|
|
1927
|
-
return formData;
|
|
1928
|
-
}
|
|
1929
|
-
}
|
|
1930
|
-
if (!data.rawBody) headers.set("Content-Type", "application/json");
|
|
1931
|
-
return data.rawBody ? data.body : JSON.stringify(data.body);
|
|
1932
|
-
}
|
|
1933
|
-
//#endregion
|
|
1934
|
-
//#region extensions/discord/src/internal/rest-errors.ts
|
|
1935
|
-
const DISCORD_UNKNOWN_VOICE_STATE = 10065;
|
|
1936
|
-
function readDiscordCode(body) {
|
|
1937
|
-
return parseStrictNonNegativeInteger(body && typeof body === "object" && "code" in body ? body.code : void 0);
|
|
1938
|
-
}
|
|
1939
|
-
function readDiscordMessage(body, fallback) {
|
|
1940
|
-
const value = body && typeof body === "object" && "message" in body ? body.message : void 0;
|
|
1941
|
-
return typeof value === "string" && value.trim() ? value : fallback;
|
|
1942
|
-
}
|
|
1943
|
-
function isUnknownDiscordVoiceStateError(err) {
|
|
1944
|
-
return (err && typeof err === "object" && "discordCode" in err ? parseStrictNonNegativeInteger(err.discordCode) : void 0) === DISCORD_UNKNOWN_VOICE_STATE || /unknown voice state/i.test(formatErrorMessage(err));
|
|
1945
|
-
}
|
|
1946
|
-
function readRetryAfter(body, response, fallbackSeconds = 0) {
|
|
1947
|
-
return parseDiscordRetryAfterBodySeconds(body && typeof body === "object" && "retry_after" in body ? body.retry_after : void 0) ?? parseRetryAfterHeaderSeconds(response.headers.get("Retry-After")) ?? fallbackSeconds;
|
|
1948
|
-
}
|
|
1949
|
-
var DiscordError = class extends Error {
|
|
1950
|
-
constructor(response, body) {
|
|
1951
|
-
super(readDiscordMessage(body, `Discord API request failed (${response.status})`));
|
|
1952
|
-
this.name = "DiscordError";
|
|
1953
|
-
this.status = response.status;
|
|
1954
|
-
this.statusCode = response.status;
|
|
1955
|
-
this.rawBody = body;
|
|
1956
|
-
this.rawError = body;
|
|
1957
|
-
this.discordCode = readDiscordCode(body);
|
|
1958
|
-
}
|
|
1959
|
-
};
|
|
1960
|
-
var RateLimitError = class extends DiscordError {
|
|
1961
|
-
constructor(response, body) {
|
|
1962
|
-
super(response, body);
|
|
1963
|
-
this.name = "RateLimitError";
|
|
1964
|
-
this.retryAfter = readRetryAfter(body, response, 1);
|
|
1965
|
-
this.scope = body.global ? "global" : response.headers.get("X-RateLimit-Scope");
|
|
1966
|
-
this.bucket = response.headers.get("X-RateLimit-Bucket");
|
|
1967
|
-
}
|
|
1968
|
-
};
|
|
1969
|
-
//#endregion
|
|
1970
|
-
//#region extensions/discord/src/internal/rest-routes.ts
|
|
1971
|
-
const RATE_LIMIT_HEADER_NUMBER_RE = /^\d+(?:\.\d+)?$/;
|
|
1972
|
-
function createRouteKey(method, path) {
|
|
1973
|
-
return `${method.toUpperCase()} ${path.split("?")[0] ?? path}`;
|
|
1974
|
-
}
|
|
1975
|
-
function readTopLevelRouteKey(path) {
|
|
1976
|
-
const [pathname = path] = path.split("?");
|
|
1977
|
-
const [first, id, token] = pathname.replace(/^\/+/, "").split("/");
|
|
1978
|
-
if (!first || !id) return pathname;
|
|
1979
|
-
if (first === "channels" || first === "guilds" || first === "webhooks") return first === "webhooks" && token ? `${first}/${id}/${token}` : `${first}/${id}`;
|
|
1980
|
-
return first;
|
|
1981
|
-
}
|
|
1982
|
-
function createBucketKey(bucket, path) {
|
|
1983
|
-
return `${bucket}:${readTopLevelRouteKey(path)}`;
|
|
1984
|
-
}
|
|
1985
|
-
function readHeaderNumber(headers, name) {
|
|
1986
|
-
const value = headers.get(name);
|
|
1987
|
-
if (!value) return;
|
|
1988
|
-
const trimmed = value.trim();
|
|
1989
|
-
if (!RATE_LIMIT_HEADER_NUMBER_RE.test(trimmed)) return;
|
|
1990
|
-
const parsed = Number(trimmed);
|
|
1991
|
-
return Number.isFinite(parsed) && Math.abs(parsed) <= Number.MAX_SAFE_INTEGER ? parsed : void 0;
|
|
1992
|
-
}
|
|
1993
|
-
function resolveRateLimitResetAt(delayMs) {
|
|
1994
|
-
const clampedDelayMs = Math.ceil(Math.max(0, delayMs));
|
|
1995
|
-
if (!Number.isSafeInteger(clampedDelayMs)) return;
|
|
1996
|
-
if (clampedDelayMs === 0) return asDateTimestampMs(Date.now());
|
|
1997
|
-
return resolveExpiresAtMsFromDurationMs(clampedDelayMs);
|
|
1998
|
-
}
|
|
1999
|
-
function readResetAt(response) {
|
|
2000
|
-
const resetAfter = readHeaderNumber(response.headers, "X-RateLimit-Reset-After");
|
|
2001
|
-
if (resetAfter !== void 0) return resolveRateLimitResetAt(resetAfter * 1e3);
|
|
2002
|
-
const reset = readHeaderNumber(response.headers, "X-RateLimit-Reset");
|
|
2003
|
-
return reset !== void 0 ? asDateTimestampMs(reset * 1e3) : void 0;
|
|
2004
|
-
}
|
|
2005
|
-
function appendQuery(path, query) {
|
|
2006
|
-
if (!query || Object.keys(query).length === 0) return path;
|
|
2007
|
-
const search = new URLSearchParams();
|
|
2008
|
-
for (const [key, value] of Object.entries(query)) search.set(key, String(value));
|
|
2009
|
-
return `${path}?${search.toString()}`;
|
|
2010
|
-
}
|
|
2011
|
-
//#endregion
|
|
2012
|
-
//#region extensions/discord/src/internal/rest-scheduler.ts
|
|
2013
|
-
const INVALID_REQUEST_WINDOW_MS = 10 * 6e4;
|
|
2014
|
-
const requestPriorities = [
|
|
2015
|
-
"critical",
|
|
2016
|
-
"standard",
|
|
2017
|
-
"background"
|
|
2018
|
-
];
|
|
2019
|
-
function normalizeRestSchedulerOptions(options) {
|
|
2020
|
-
return {
|
|
2021
|
-
lanes: {
|
|
2022
|
-
critical: normalizeLaneOptions(options.lanes.critical),
|
|
2023
|
-
standard: normalizeLaneOptions(options.lanes.standard),
|
|
2024
|
-
background: normalizeLaneOptions(options.lanes.background)
|
|
2025
|
-
},
|
|
2026
|
-
maxConcurrency: resolveIntegerOption(options.maxConcurrency, 1, { min: 1 }),
|
|
2027
|
-
maxQueueSize: resolveIntegerOption(options.maxQueueSize, 1, { min: 1 }),
|
|
2028
|
-
maxRateLimitRetries: resolveIntegerOption(options.maxRateLimitRetries, 0, { min: 0 })
|
|
2029
|
-
};
|
|
2030
|
-
}
|
|
2031
|
-
function normalizeLaneOptions(options) {
|
|
2032
|
-
return {
|
|
2033
|
-
maxQueueSize: resolveIntegerOption(options.maxQueueSize, 1, { min: 1 }),
|
|
2034
|
-
...options.staleAfterMs === void 0 ? {} : { staleAfterMs: resolveIntegerOption(options.staleAfterMs, 0, { min: 0 }) },
|
|
2035
|
-
weight: resolveIntegerOption(options.weight, 1, { min: 1 })
|
|
2036
|
-
};
|
|
2037
|
-
}
|
|
2038
|
-
function createLaneQueues() {
|
|
2039
|
-
return {
|
|
2040
|
-
critical: [],
|
|
2041
|
-
standard: [],
|
|
2042
|
-
background: []
|
|
2043
|
-
};
|
|
2044
|
-
}
|
|
2045
|
-
function countPending(bucket) {
|
|
2046
|
-
return requestPriorities.reduce((count, lane) => count + bucket.pending[lane].length, 0);
|
|
2047
|
-
}
|
|
2048
|
-
var RestScheduler = class {
|
|
2049
|
-
constructor(options, executor) {
|
|
2050
|
-
this.executor = executor;
|
|
2051
|
-
this.activeWorkers = 0;
|
|
2052
|
-
this.buckets = /* @__PURE__ */ new Map();
|
|
2053
|
-
this.globalRateLimitUntil = 0;
|
|
2054
|
-
this.invalidRequestTimestamps = [];
|
|
2055
|
-
this.laneCursor = 0;
|
|
2056
|
-
this.laneDropped = {
|
|
2057
|
-
critical: 0,
|
|
2058
|
-
standard: 0,
|
|
2059
|
-
background: 0
|
|
2060
|
-
};
|
|
2061
|
-
this.queuedByLane = {
|
|
2062
|
-
critical: 0,
|
|
2063
|
-
standard: 0,
|
|
2064
|
-
background: 0
|
|
2065
|
-
};
|
|
2066
|
-
this.queueGeneration = 0;
|
|
2067
|
-
this.queuedRequests = 0;
|
|
2068
|
-
this.routeBuckets = /* @__PURE__ */ new Map();
|
|
2069
|
-
this.options = normalizeRestSchedulerOptions(options);
|
|
2070
|
-
this.laneSchedule = this.buildLaneSchedule(this.options.lanes);
|
|
2071
|
-
}
|
|
2072
|
-
enqueue(params) {
|
|
2073
|
-
if (this.queuedRequests >= this.options.maxQueueSize) throw new Error("Discord request queue is full");
|
|
2074
|
-
const laneOptions = this.options.lanes[params.priority];
|
|
2075
|
-
if (this.queuedByLane[params.priority] >= laneOptions.maxQueueSize) {
|
|
2076
|
-
this.laneDropped[params.priority] += 1;
|
|
2077
|
-
throw new Error(`Discord ${params.priority} request queue is full (${this.queuedByLane[params.priority]} / ${laneOptions.maxQueueSize})`);
|
|
2078
|
-
}
|
|
2079
|
-
const routeKey = createRouteKey(params.method, params.path);
|
|
2080
|
-
const bucket = this.getBucket(this.routeBuckets.get(routeKey) ?? routeKey);
|
|
2081
|
-
return new Promise((resolve, reject) => {
|
|
2082
|
-
this.queuedRequests += 1;
|
|
2083
|
-
this.queuedByLane[params.priority] += 1;
|
|
2084
|
-
bucket.pending[params.priority].push({
|
|
2085
|
-
...params,
|
|
2086
|
-
enqueuedAt: Date.now(),
|
|
2087
|
-
generation: this.queueGeneration,
|
|
2088
|
-
routeKey,
|
|
2089
|
-
retryCount: 0,
|
|
2090
|
-
resolve,
|
|
2091
|
-
reject
|
|
2092
|
-
});
|
|
2093
|
-
this.drainQueues();
|
|
2094
|
-
});
|
|
2095
|
-
}
|
|
2096
|
-
recordResponse(routeKey, path, response, parsed) {
|
|
2097
|
-
this.updateRateLimitState(routeKey, path, response, parsed);
|
|
2098
|
-
this.recordInvalidRequest(routeKey, path, response);
|
|
2099
|
-
}
|
|
2100
|
-
clearQueue() {
|
|
2101
|
-
this.queueGeneration += 1;
|
|
2102
|
-
if (this.drainTimer) {
|
|
2103
|
-
clearTimeout(this.drainTimer);
|
|
2104
|
-
this.drainTimer = void 0;
|
|
2105
|
-
}
|
|
2106
|
-
this.rejectPending(/* @__PURE__ */ new Error("Discord request queue cleared"));
|
|
2107
|
-
}
|
|
2108
|
-
abortPending() {
|
|
2109
|
-
this.queueGeneration += 1;
|
|
2110
|
-
this.rejectPending(new DOMException("Aborted", "AbortError"));
|
|
2111
|
-
}
|
|
2112
|
-
get queueSize() {
|
|
2113
|
-
return this.queuedRequests;
|
|
2114
|
-
}
|
|
2115
|
-
getMetrics() {
|
|
2116
|
-
this.pruneInvalidRequests();
|
|
2117
|
-
return {
|
|
2118
|
-
globalRateLimitUntil: this.globalRateLimitUntil,
|
|
2119
|
-
activeBuckets: this.buckets.size,
|
|
2120
|
-
routeBucketMappings: this.routeBuckets.size,
|
|
2121
|
-
buckets: Array.from(this.buckets.entries()).map(([key, bucket]) => ({
|
|
2122
|
-
key,
|
|
2123
|
-
active: bucket.active,
|
|
2124
|
-
bucket: bucket.bucket,
|
|
2125
|
-
invalidRequests: bucket.invalidRequests,
|
|
2126
|
-
pending: countPending(bucket),
|
|
2127
|
-
pendingByLane: Object.fromEntries(requestPriorities.map((lane) => [lane, bucket.pending[lane].length])),
|
|
2128
|
-
rateLimitHits: bucket.rateLimitHits,
|
|
2129
|
-
remaining: bucket.remaining,
|
|
2130
|
-
resetAt: bucket.resetAt,
|
|
2131
|
-
routeKeyCount: bucket.routeKeys.size
|
|
2132
|
-
})),
|
|
2133
|
-
invalidRequestCount: this.invalidRequestTimestamps.length,
|
|
2134
|
-
invalidRequestCountByStatus: this.invalidRequestTimestamps.reduce((counts, entry) => {
|
|
2135
|
-
counts[entry.status] = (counts[entry.status] ?? 0) + 1;
|
|
2136
|
-
return counts;
|
|
2137
|
-
}, {}),
|
|
2138
|
-
queueSize: this.queueSize,
|
|
2139
|
-
queueSizeByLane: { ...this.queuedByLane },
|
|
2140
|
-
droppedByLane: { ...this.laneDropped },
|
|
2141
|
-
oldestQueuedByLane: Object.fromEntries(requestPriorities.map((lane) => [lane, this.getOldestQueuedAge(lane)])),
|
|
2142
|
-
activeWorkers: this.activeWorkers,
|
|
2143
|
-
maxConcurrentWorkers: this.maxConcurrentWorkers
|
|
2144
|
-
};
|
|
2145
|
-
}
|
|
2146
|
-
get maxConcurrentWorkers() {
|
|
2147
|
-
return this.options.maxConcurrency;
|
|
2148
|
-
}
|
|
2149
|
-
get maxRateLimitRetries() {
|
|
2150
|
-
return this.options.maxRateLimitRetries;
|
|
2151
|
-
}
|
|
2152
|
-
getBucket(key) {
|
|
2153
|
-
const existing = this.buckets.get(key);
|
|
2154
|
-
if (existing) return existing;
|
|
2155
|
-
const bucket = {
|
|
2156
|
-
active: 0,
|
|
2157
|
-
invalidRequests: 0,
|
|
2158
|
-
pending: createLaneQueues(),
|
|
2159
|
-
rateLimitHits: 0,
|
|
2160
|
-
resetAt: 0,
|
|
2161
|
-
routeKeys: /* @__PURE__ */ new Set([key])
|
|
2162
|
-
};
|
|
2163
|
-
this.buckets.set(key, bucket);
|
|
2164
|
-
return bucket;
|
|
2165
|
-
}
|
|
2166
|
-
hasBucketReference(key) {
|
|
2167
|
-
for (const bucketKey of this.routeBuckets.values()) if (bucketKey === key) return true;
|
|
2168
|
-
return false;
|
|
2169
|
-
}
|
|
2170
|
-
isBucketRateLimited(bucket, now = Date.now()) {
|
|
2171
|
-
return bucket.remaining === 0 && bucket.resetAt > now;
|
|
2172
|
-
}
|
|
2173
|
-
pruneRouteMapping(routeKey) {
|
|
2174
|
-
const bucketKey = this.routeBuckets.get(routeKey);
|
|
2175
|
-
if (!bucketKey) return;
|
|
2176
|
-
this.routeBuckets.delete(routeKey);
|
|
2177
|
-
this.buckets.get(bucketKey)?.routeKeys.delete(routeKey);
|
|
2178
|
-
}
|
|
2179
|
-
pruneIdleRouteMappings(bucketKey, bucket, now = Date.now()) {
|
|
2180
|
-
if (bucket.active > 0 || countPending(bucket) > 0 || this.isBucketRateLimited(bucket, now)) return;
|
|
2181
|
-
for (const routeKey of Array.from(bucket.routeKeys)) if (this.routeBuckets.get(routeKey) === bucketKey) this.pruneRouteMapping(routeKey);
|
|
2182
|
-
}
|
|
2183
|
-
shouldPruneIdleBucket(key) {
|
|
2184
|
-
return this.routeBuckets.get(key) !== key && !this.hasBucketReference(key);
|
|
2185
|
-
}
|
|
2186
|
-
bindRouteToBucket(routeKey, bucketKey) {
|
|
2187
|
-
const target = this.getBucket(bucketKey);
|
|
2188
|
-
target.routeKeys.add(routeKey);
|
|
2189
|
-
this.routeBuckets.set(routeKey, bucketKey);
|
|
2190
|
-
const routeBucket = this.buckets.get(routeKey);
|
|
2191
|
-
if (routeBucket && routeBucket !== target) {
|
|
2192
|
-
for (const lane of requestPriorities) {
|
|
2193
|
-
target.pending[lane].push(...routeBucket.pending[lane]);
|
|
2194
|
-
routeBucket.pending[lane] = [];
|
|
2195
|
-
}
|
|
2196
|
-
if (routeBucket.active === 0) this.buckets.delete(routeKey);
|
|
2197
|
-
}
|
|
2198
|
-
return target;
|
|
2199
|
-
}
|
|
2200
|
-
updateRateLimitState(routeKey, path, response, parsed) {
|
|
2201
|
-
const bucketHeader = response.headers.get("X-RateLimit-Bucket");
|
|
2202
|
-
const bucket = bucketHeader ? this.bindRouteToBucket(routeKey, createBucketKey(bucketHeader, path)) : this.getBucket(this.routeBuckets.get(routeKey) ?? routeKey);
|
|
2203
|
-
bucket.bucket = bucketHeader ?? bucket.bucket;
|
|
2204
|
-
const limit = readHeaderNumber(response.headers, "X-RateLimit-Limit");
|
|
2205
|
-
if (limit !== void 0) bucket.limit = limit;
|
|
2206
|
-
const remaining = readHeaderNumber(response.headers, "X-RateLimit-Remaining");
|
|
2207
|
-
if (remaining !== void 0) bucket.remaining = remaining;
|
|
2208
|
-
const resetAt = readResetAt(response);
|
|
2209
|
-
if (resetAt !== void 0) bucket.resetAt = resetAt;
|
|
2210
|
-
if (response.status !== 429) return;
|
|
2211
|
-
bucket.rateLimitHits += 1;
|
|
2212
|
-
const retryAt = resolveRateLimitResetAt(Math.max(0, readRetryAfter(parsed, response, 1) * 1e3));
|
|
2213
|
-
if (retryAt === void 0) return;
|
|
2214
|
-
if (response.headers.get("X-RateLimit-Global") === "true" || isGlobalRateLimit(parsed)) {
|
|
2215
|
-
this.globalRateLimitUntil = Math.max(this.globalRateLimitUntil, retryAt);
|
|
2216
|
-
return;
|
|
2217
|
-
}
|
|
2218
|
-
bucket.remaining = 0;
|
|
2219
|
-
bucket.resetAt = Math.max(bucket.resetAt, retryAt);
|
|
2220
|
-
}
|
|
2221
|
-
recordInvalidRequest(routeKey, path, response) {
|
|
2222
|
-
if (response.status !== 401 && response.status !== 403 && response.status !== 429) return;
|
|
2223
|
-
if (response.status === 429 && response.headers.get("X-RateLimit-Scope") === "shared") return;
|
|
2224
|
-
const now = Date.now();
|
|
2225
|
-
this.invalidRequestTimestamps.push({
|
|
2226
|
-
at: now,
|
|
2227
|
-
status: response.status
|
|
2228
|
-
});
|
|
2229
|
-
this.pruneInvalidRequests(now);
|
|
2230
|
-
const bucketHeader = response.headers.get("X-RateLimit-Bucket");
|
|
2231
|
-
const bucketKey = bucketHeader ? createBucketKey(bucketHeader, path) : this.routeBuckets.get(routeKey) ?? routeKey;
|
|
2232
|
-
const bucket = this.buckets.get(bucketKey);
|
|
2233
|
-
if (bucket) bucket.invalidRequests += 1;
|
|
2234
|
-
}
|
|
2235
|
-
pruneInvalidRequests(now = Date.now()) {
|
|
2236
|
-
const cutoff = now - INVALID_REQUEST_WINDOW_MS;
|
|
2237
|
-
while (this.invalidRequestTimestamps.length > 0 && (this.invalidRequestTimestamps[0]?.at ?? 0) <= cutoff) this.invalidRequestTimestamps.shift();
|
|
2238
|
-
}
|
|
2239
|
-
getBucketWaitMs(bucket, now) {
|
|
2240
|
-
if (bucket.remaining === 0 && bucket.resetAt > now) return bucket.resetAt - now;
|
|
2241
|
-
if (bucket.remaining === 0 && bucket.resetAt <= now) bucket.remaining = bucket.limit;
|
|
2242
|
-
return 0;
|
|
2243
|
-
}
|
|
2244
|
-
scheduleDrain(delayMs = 0) {
|
|
2245
|
-
if (this.drainTimer) return;
|
|
2246
|
-
this.drainTimer = setTimeout(() => {
|
|
2247
|
-
this.drainTimer = void 0;
|
|
2248
|
-
this.drainQueues();
|
|
2249
|
-
}, resolveTimerTimeoutMs(delayMs, 0, 0));
|
|
2250
|
-
this.drainTimer.unref?.();
|
|
2251
|
-
}
|
|
2252
|
-
drainQueues() {
|
|
2253
|
-
let nextDelayMs = Number.POSITIVE_INFINITY;
|
|
2254
|
-
while (this.activeWorkers < this.maxConcurrentWorkers) {
|
|
2255
|
-
const next = this.takeNextQueuedRequest();
|
|
2256
|
-
if (!next.queued) {
|
|
2257
|
-
if (next.waitMs !== void 0) nextDelayMs = Math.min(nextDelayMs, next.waitMs);
|
|
2258
|
-
break;
|
|
2259
|
-
}
|
|
2260
|
-
const { bucket, queued } = next;
|
|
2261
|
-
if (bucket.remaining !== void 0 && bucket.remaining > 0) bucket.remaining -= 1;
|
|
2262
|
-
bucket.active += 1;
|
|
2263
|
-
this.activeWorkers += 1;
|
|
2264
|
-
this.runQueuedRequest(queued, bucket);
|
|
2265
|
-
}
|
|
2266
|
-
if (Number.isFinite(nextDelayMs)) this.scheduleDrain(nextDelayMs);
|
|
2267
|
-
}
|
|
2268
|
-
takeNextQueuedRequest() {
|
|
2269
|
-
const now = Date.now();
|
|
2270
|
-
if (this.globalRateLimitUntil > now) return { waitMs: this.globalRateLimitUntil - now };
|
|
2271
|
-
this.pruneIdleBuckets(now);
|
|
2272
|
-
let nextDelayMs;
|
|
2273
|
-
const buckets = Array.from(this.buckets.values()).filter((bucket) => countPending(bucket) > 0);
|
|
2274
|
-
if (buckets.length === 0) return {};
|
|
2275
|
-
for (let laneOffset = 0; laneOffset < this.laneSchedule.length; laneOffset += 1) {
|
|
2276
|
-
const lane = this.laneSchedule[(this.laneCursor + laneOffset) % this.laneSchedule.length];
|
|
2277
|
-
if (!lane || this.queuedByLane[lane] <= 0) continue;
|
|
2278
|
-
for (const bucket of buckets) {
|
|
2279
|
-
const queue = bucket.pending[lane];
|
|
2280
|
-
this.dropStaleHeadRequests(queue, lane, now);
|
|
2281
|
-
if (queue.length === 0) continue;
|
|
2282
|
-
if (bucket.active > 0) continue;
|
|
2283
|
-
const waitMs = this.getBucketWaitMs(bucket, now);
|
|
2284
|
-
if (waitMs > 0) {
|
|
2285
|
-
nextDelayMs = Math.min(nextDelayMs ?? waitMs, waitMs);
|
|
2286
|
-
continue;
|
|
2287
|
-
}
|
|
2288
|
-
const queued = queue.shift();
|
|
2289
|
-
if (!queued) continue;
|
|
2290
|
-
this.queuedByLane[lane] = Math.max(0, this.queuedByLane[lane] - 1);
|
|
2291
|
-
this.laneCursor = (this.laneCursor + laneOffset + 1) % this.laneSchedule.length;
|
|
2292
|
-
return {
|
|
2293
|
-
bucket,
|
|
2294
|
-
queued
|
|
2295
|
-
};
|
|
2296
|
-
}
|
|
2297
|
-
}
|
|
2298
|
-
return { waitMs: nextDelayMs };
|
|
2299
|
-
}
|
|
2300
|
-
dropStaleHeadRequests(queue, lane, now) {
|
|
2301
|
-
if (lane !== "background") return;
|
|
2302
|
-
const staleAfterMs = this.options.lanes[lane].staleAfterMs;
|
|
2303
|
-
if (!staleAfterMs || staleAfterMs <= 0) return;
|
|
2304
|
-
while (queue.length > 0 && now - (queue[0]?.enqueuedAt ?? now) > staleAfterMs) {
|
|
2305
|
-
const stale = queue.shift();
|
|
2306
|
-
if (!stale) continue;
|
|
2307
|
-
this.queuedRequests = Math.max(0, this.queuedRequests - 1);
|
|
2308
|
-
this.queuedByLane[lane] = Math.max(0, this.queuedByLane[lane] - 1);
|
|
2309
|
-
this.laneDropped[lane] += 1;
|
|
2310
|
-
stale.reject(/* @__PURE__ */ new Error(`Dropped stale ${lane} request after ${now - stale.enqueuedAt}ms`));
|
|
2311
|
-
}
|
|
2312
|
-
}
|
|
2313
|
-
pruneIdleBuckets(now = Date.now()) {
|
|
2314
|
-
for (const [key, bucket] of this.buckets) {
|
|
2315
|
-
if (bucket.active !== 0 || countPending(bucket) > 0) continue;
|
|
2316
|
-
if (this.isBucketRateLimited(bucket, now)) continue;
|
|
2317
|
-
this.pruneIdleRouteMappings(key, bucket, now);
|
|
2318
|
-
if (this.shouldPruneIdleBucket(key)) this.buckets.delete(key);
|
|
2319
|
-
}
|
|
2320
|
-
}
|
|
2321
|
-
async runQueuedRequest(queued, bucket) {
|
|
2322
|
-
let requeued = false;
|
|
2323
|
-
try {
|
|
2324
|
-
queued.resolve(await this.executor(queued));
|
|
2325
|
-
} catch (error) {
|
|
2326
|
-
if (error instanceof RateLimitError && this.requeueRateLimitedRequest(queued)) {
|
|
2327
|
-
requeued = true;
|
|
2328
|
-
return;
|
|
2329
|
-
}
|
|
2330
|
-
queued.reject(error);
|
|
2331
|
-
} finally {
|
|
2332
|
-
bucket.active = Math.max(0, bucket.active - 1);
|
|
2333
|
-
this.activeWorkers = Math.max(0, this.activeWorkers - 1);
|
|
2334
|
-
if (!requeued) this.queuedRequests = Math.max(0, this.queuedRequests - 1);
|
|
2335
|
-
if (bucket.active === 0 && countPending(bucket) === 0) {
|
|
2336
|
-
for (const routeKey of bucket.routeKeys) if (this.routeBuckets.get(routeKey) === routeKey) this.routeBuckets.delete(routeKey);
|
|
2337
|
-
}
|
|
2338
|
-
this.drainQueues();
|
|
2339
|
-
}
|
|
2340
|
-
}
|
|
2341
|
-
requeueRateLimitedRequest(queued) {
|
|
2342
|
-
if (queued.generation !== this.queueGeneration || queued.retryCount >= this.maxRateLimitRetries) return false;
|
|
2343
|
-
const bucketKey = this.routeBuckets.get(queued.routeKey) ?? queued.routeKey;
|
|
2344
|
-
this.getBucket(bucketKey).pending[queued.priority].push({
|
|
2345
|
-
...queued,
|
|
2346
|
-
enqueuedAt: Date.now(),
|
|
2347
|
-
retryCount: queued.retryCount + 1
|
|
2348
|
-
});
|
|
2349
|
-
this.queuedByLane[queued.priority] += 1;
|
|
2350
|
-
return true;
|
|
2351
|
-
}
|
|
2352
|
-
rejectPending(error) {
|
|
2353
|
-
for (const bucket of this.buckets.values()) for (const lane of requestPriorities) for (const queued of bucket.pending[lane].splice(0)) {
|
|
2354
|
-
queued.reject(error);
|
|
2355
|
-
this.queuedRequests = Math.max(0, this.queuedRequests - 1);
|
|
2356
|
-
this.queuedByLane[lane] = Math.max(0, this.queuedByLane[lane] - 1);
|
|
2357
|
-
}
|
|
2358
|
-
}
|
|
2359
|
-
buildLaneSchedule(lanes) {
|
|
2360
|
-
const schedule = [];
|
|
2361
|
-
for (const lane of requestPriorities) {
|
|
2362
|
-
const weight = lanes[lane].weight;
|
|
2363
|
-
for (let i = 0; i < weight; i += 1) schedule.push(lane);
|
|
2364
|
-
}
|
|
2365
|
-
return schedule.length > 0 ? schedule : [...requestPriorities];
|
|
2366
|
-
}
|
|
2367
|
-
getOldestQueuedAge(lane) {
|
|
2368
|
-
const now = Date.now();
|
|
2369
|
-
let oldest = 0;
|
|
2370
|
-
for (const bucket of this.buckets.values()) {
|
|
2371
|
-
const queued = bucket.pending[lane][0];
|
|
2372
|
-
if (!queued) continue;
|
|
2373
|
-
oldest = Math.max(oldest, now - queued.enqueuedAt);
|
|
2374
|
-
}
|
|
2375
|
-
return oldest;
|
|
2376
|
-
}
|
|
2377
|
-
};
|
|
2378
|
-
function isGlobalRateLimit(parsed) {
|
|
2379
|
-
return parsed && typeof parsed === "object" && "global" in parsed ? Boolean(parsed.global) : false;
|
|
2380
|
-
}
|
|
2381
|
-
//#endregion
|
|
2382
|
-
//#region extensions/discord/src/internal/rest.ts
|
|
2383
|
-
const defaultOptions = {
|
|
2384
|
-
tokenHeader: "Bot",
|
|
2385
|
-
baseUrl: "https://discord.com/api",
|
|
2386
|
-
apiVersion: 10,
|
|
2387
|
-
userAgent: "OpenClaw Discord",
|
|
2388
|
-
timeout: 15e3,
|
|
2389
|
-
queueRequests: true,
|
|
2390
|
-
maxQueueSize: 1e3,
|
|
2391
|
-
runtimeProfile: "persistent"
|
|
2392
|
-
};
|
|
2393
|
-
const DEFAULT_MAX_CONCURRENT_WORKERS = 4;
|
|
2394
|
-
const defaultLaneOptions = {
|
|
2395
|
-
critical: { weight: 6 },
|
|
2396
|
-
standard: { weight: 3 },
|
|
2397
|
-
background: {
|
|
2398
|
-
staleAfterMs: 2e4,
|
|
2399
|
-
weight: 1
|
|
2400
|
-
}
|
|
2401
|
-
};
|
|
2402
|
-
const DISCORD_REST_RESPONSE_BODY_MAX_BYTES = 8 * 1024 * 1024;
|
|
2403
|
-
const GZIP_MAGIC = [31, 139];
|
|
2404
|
-
function createResponseBodyOverflowError(size) {
|
|
2405
|
-
return /* @__PURE__ */ new Error(`Discord REST response body exceeds ${DISCORD_REST_RESPONSE_BODY_MAX_BYTES} bytes (received ${size})`);
|
|
2406
|
-
}
|
|
2407
|
-
async function readResponseBodyText(response, idleTimeoutMs) {
|
|
2408
|
-
return decodeResponseBody(await readResponseWithLimit(response, DISCORD_REST_RESPONSE_BODY_MAX_BYTES, {
|
|
2409
|
-
chunkTimeoutMs: idleTimeoutMs,
|
|
2410
|
-
onOverflow: ({ size }) => createResponseBodyOverflowError(size),
|
|
2411
|
-
onIdleTimeout: ({ chunkTimeoutMs }) => /* @__PURE__ */ new Error(`Discord REST response stalled: no data received for ${chunkTimeoutMs}ms`)
|
|
2412
|
-
}));
|
|
2413
|
-
}
|
|
2414
|
-
function coerceResponseBody(raw) {
|
|
2415
|
-
if (!raw) return;
|
|
2416
|
-
try {
|
|
2417
|
-
return JSON.parse(raw);
|
|
2418
|
-
} catch {
|
|
2419
|
-
return raw;
|
|
2420
|
-
}
|
|
2421
|
-
}
|
|
2422
|
-
function decodeResponseBody(buffer) {
|
|
2423
|
-
if (!buffer.byteLength) return "";
|
|
2424
|
-
if (buffer[0] === GZIP_MAGIC[0] && buffer[1] === GZIP_MAGIC[1]) try {
|
|
2425
|
-
return gunzipSync(buffer, { maxOutputLength: DISCORD_REST_RESPONSE_BODY_MAX_BYTES }).toString("utf8");
|
|
2426
|
-
} catch (err) {
|
|
2427
|
-
if (isZlibMaxOutputLengthError(err)) throw createResponseBodyOverflowError("decompressed output");
|
|
2428
|
-
throw err;
|
|
2429
|
-
}
|
|
2430
|
-
return buffer.toString("utf8");
|
|
2431
|
-
}
|
|
2432
|
-
function isZlibMaxOutputLengthError(err) {
|
|
2433
|
-
return err instanceof RangeError && "code" in err && err.code === "ERR_BUFFER_TOO_LARGE";
|
|
2434
|
-
}
|
|
2435
|
-
var RequestClient = class {
|
|
2436
|
-
constructor(token, options) {
|
|
2437
|
-
this.requestControllers = /* @__PURE__ */ new Set();
|
|
2438
|
-
this.token = token.replace(/^Bot\s+/i, "");
|
|
2439
|
-
this.customFetch = options?.fetch;
|
|
2440
|
-
this.options = normalizeRequestClientOptions(options);
|
|
2441
|
-
this.scheduler = new RestScheduler({
|
|
2442
|
-
lanes: normalizeSchedulerLanes(this.options.maxQueueSize, this.options.scheduler?.lanes),
|
|
2443
|
-
maxConcurrency: normalizeIntegerOption(this.options.scheduler?.maxConcurrency, DEFAULT_MAX_CONCURRENT_WORKERS, { min: 1 }),
|
|
2444
|
-
maxQueueSize: this.options.maxQueueSize,
|
|
2445
|
-
maxRateLimitRetries: normalizeIntegerOption(this.options.scheduler?.maxRateLimitRetries, 3, { min: 0 })
|
|
2446
|
-
}, async (request) => await this.executeRequest(request.method, request.path, {
|
|
2447
|
-
data: request.data,
|
|
2448
|
-
query: request.query
|
|
2449
|
-
}, request.routeKey));
|
|
2450
|
-
}
|
|
2451
|
-
async get(path, query) {
|
|
2452
|
-
return await this.request("GET", path, { query });
|
|
2453
|
-
}
|
|
2454
|
-
async post(path, data, query) {
|
|
2455
|
-
return await this.request("POST", path, {
|
|
2456
|
-
data,
|
|
2457
|
-
query
|
|
2458
|
-
});
|
|
2459
|
-
}
|
|
2460
|
-
async patch(path, data, query) {
|
|
2461
|
-
return await this.request("PATCH", path, {
|
|
2462
|
-
data,
|
|
2463
|
-
query
|
|
2464
|
-
});
|
|
2465
|
-
}
|
|
2466
|
-
async put(path, data, query) {
|
|
2467
|
-
return await this.request("PUT", path, {
|
|
2468
|
-
data,
|
|
2469
|
-
query
|
|
2470
|
-
});
|
|
2471
|
-
}
|
|
2472
|
-
async delete(path, data, query) {
|
|
2473
|
-
return await this.request("DELETE", path, {
|
|
2474
|
-
data,
|
|
2475
|
-
query
|
|
2476
|
-
});
|
|
2477
|
-
}
|
|
2478
|
-
async request(method, path, params) {
|
|
2479
|
-
const routeKey = createRouteKey(method, path);
|
|
2480
|
-
if (!this.options.queueRequests) return await this.executeRequest(method, path, params, routeKey);
|
|
2481
|
-
return await this.scheduler.enqueue({
|
|
2482
|
-
method,
|
|
2483
|
-
path,
|
|
2484
|
-
priority: getRequestPriority(method, path),
|
|
2485
|
-
...params
|
|
2486
|
-
});
|
|
2487
|
-
}
|
|
2488
|
-
async executeRequest(method, path, params, routeKey = createRouteKey(method, path)) {
|
|
2489
|
-
const url = `${this.options.baseUrl}/v${this.options.apiVersion}${appendQuery(path, params.query)}`;
|
|
2490
|
-
const headers = new Headers({ "User-Agent": this.options.userAgent ?? defaultOptions.userAgent });
|
|
2491
|
-
if (this.token !== "webhook") headers.set("Authorization", `${this.options.tokenHeader ?? "Bot"} ${this.token}`);
|
|
2492
|
-
const body = serializeRequestBody(params.data, headers);
|
|
2493
|
-
const controller = new AbortController();
|
|
2494
|
-
const timeout = setTimeout(() => controller.abort(), this.options.timeout ?? 15e3);
|
|
2495
|
-
timeout.unref?.();
|
|
2496
|
-
const signal = this.options.signal ? AbortSignal.any([this.options.signal, controller.signal]) : controller.signal;
|
|
2497
|
-
this.requestControllers.add(controller);
|
|
2498
|
-
try {
|
|
2499
|
-
const response = await (this.customFetch ?? fetch)(url, {
|
|
2500
|
-
method,
|
|
2501
|
-
headers,
|
|
2502
|
-
body,
|
|
2503
|
-
signal
|
|
2504
|
-
});
|
|
2505
|
-
const parsed = coerceResponseBody(await readResponseBodyText(response, this.options.timeout ?? 15e3));
|
|
2506
|
-
this.scheduler.recordResponse(routeKey, path, response, parsed);
|
|
2507
|
-
if (response.status === 204) return;
|
|
2508
|
-
if (response.status === 429) {
|
|
2509
|
-
const rateLimitBody = isDiscordRateLimitBody(parsed) ? parsed : void 0;
|
|
2510
|
-
throw new RateLimitError(response, {
|
|
2511
|
-
message: readDiscordMessage(rateLimitBody, "Rate limited"),
|
|
2512
|
-
retry_after: readRetryAfter(rateLimitBody, response, 1),
|
|
2513
|
-
code: readDiscordCode(rateLimitBody),
|
|
2514
|
-
global: Boolean(rateLimitBody?.global)
|
|
2515
|
-
});
|
|
2516
|
-
}
|
|
2517
|
-
if (!response.ok) throw new DiscordError(response, parsed);
|
|
2518
|
-
return parsed;
|
|
2519
|
-
} catch (error) {
|
|
2520
|
-
if (error instanceof DOMException && error.name === "AbortError") throw error;
|
|
2521
|
-
if (error instanceof Error) throw error;
|
|
2522
|
-
throw new Error(`Discord request failed: ${inspect(error)}`, { cause: error });
|
|
2523
|
-
} finally {
|
|
2524
|
-
clearTimeout(timeout);
|
|
2525
|
-
this.requestControllers.delete(controller);
|
|
2526
|
-
}
|
|
2527
|
-
}
|
|
2528
|
-
clearQueue() {
|
|
2529
|
-
this.scheduler.clearQueue();
|
|
2530
|
-
}
|
|
2531
|
-
get queueSize() {
|
|
2532
|
-
return this.scheduler.queueSize;
|
|
2533
|
-
}
|
|
2534
|
-
getSchedulerMetrics() {
|
|
2535
|
-
return this.scheduler.getMetrics();
|
|
2536
|
-
}
|
|
2537
|
-
abortAllRequests() {
|
|
2538
|
-
this.scheduler.abortPending();
|
|
2539
|
-
for (const controller of this.requestControllers) controller.abort();
|
|
2540
|
-
this.requestControllers.clear();
|
|
2541
|
-
}
|
|
2542
|
-
};
|
|
2543
|
-
function normalizeIntegerOption(value, fallback, params) {
|
|
2544
|
-
const candidate = parseFiniteNumber(value) ?? fallback;
|
|
2545
|
-
return Math.max(params.min, Math.floor(candidate));
|
|
2546
|
-
}
|
|
2547
|
-
function normalizeRequestClientOptions(options) {
|
|
2548
|
-
const merged = {
|
|
2549
|
-
...defaultOptions,
|
|
2550
|
-
...options
|
|
2551
|
-
};
|
|
2552
|
-
return {
|
|
2553
|
-
...merged,
|
|
2554
|
-
apiVersion: normalizeIntegerOption(merged.apiVersion, defaultOptions.apiVersion, { min: 1 }),
|
|
2555
|
-
timeout: clampTimerTimeoutMs(merged.timeout, 1) ?? resolveTimerTimeoutMs(defaultOptions.timeout, 1),
|
|
2556
|
-
maxQueueSize: normalizeIntegerOption(merged.maxQueueSize, defaultOptions.maxQueueSize, { min: 1 })
|
|
2557
|
-
};
|
|
2558
|
-
}
|
|
2559
|
-
function normalizeSchedulerLanes(maxQueueSize, lanes) {
|
|
2560
|
-
const fallbackMaxQueueSize = normalizeIntegerOption(maxQueueSize, defaultOptions.maxQueueSize, { min: 1 });
|
|
2561
|
-
return {
|
|
2562
|
-
critical: normalizeSchedulerLane("critical", fallbackMaxQueueSize, lanes?.critical),
|
|
2563
|
-
standard: normalizeSchedulerLane("standard", fallbackMaxQueueSize, lanes?.standard),
|
|
2564
|
-
background: normalizeSchedulerLane("background", fallbackMaxQueueSize, lanes?.background)
|
|
2565
|
-
};
|
|
2566
|
-
}
|
|
2567
|
-
function normalizeSchedulerLane(lane, maxQueueSize, options) {
|
|
2568
|
-
const defaults = defaultLaneOptions[lane];
|
|
2569
|
-
const staleAfterMs = options?.staleAfterMs !== void 0 ? normalizeIntegerOption(options.staleAfterMs, defaults.staleAfterMs ?? 0, { min: 0 }) : defaults.staleAfterMs;
|
|
2570
|
-
return {
|
|
2571
|
-
maxQueueSize: options?.maxQueueSize !== void 0 ? normalizeIntegerOption(options.maxQueueSize, maxQueueSize, { min: 1 }) : maxQueueSize,
|
|
2572
|
-
...staleAfterMs !== void 0 ? { staleAfterMs } : {},
|
|
2573
|
-
weight: options?.weight !== void 0 ? normalizeIntegerOption(options.weight, defaults.weight, { min: 1 }) : defaults.weight
|
|
2574
|
-
};
|
|
2575
|
-
}
|
|
2576
|
-
function getRequestPriority(method, path) {
|
|
2577
|
-
const normalizedMethod = method.toUpperCase();
|
|
2578
|
-
const normalizedPath = path.toLowerCase();
|
|
2579
|
-
if (/^\/interactions\/\d+\/[^/]+\/callback$/.test(normalizedPath)) return "critical";
|
|
2580
|
-
return normalizedMethod === "GET" ? "background" : "standard";
|
|
2581
|
-
}
|
|
2582
|
-
//#endregion
|
|
2583
|
-
//#region extensions/discord/src/internal/client.ts
|
|
2584
|
-
var Plugin = class {};
|
|
2585
|
-
var Client = class {
|
|
2586
|
-
constructor(options, handlers, plugins = []) {
|
|
2587
|
-
this.routes = [];
|
|
2588
|
-
this.plugins = [];
|
|
2589
|
-
this.componentHandler = new ComponentRegistry();
|
|
2590
|
-
this.modalHandler = new ComponentRegistry();
|
|
2591
|
-
if (!options.clientId) throw new Error("Missing Discord application ID");
|
|
2592
|
-
if (!options.token) throw new Error("Missing Discord bot token");
|
|
2593
|
-
this.options = {
|
|
2594
|
-
...options,
|
|
2595
|
-
baseUrl: options.baseUrl.replace(/\/+$/, "")
|
|
2596
|
-
};
|
|
2597
|
-
this.commands = handlers.commands ?? [];
|
|
2598
|
-
this.listeners = handlers.listeners ?? [];
|
|
2599
|
-
this.rest = new RequestClient(options.token, options.requestOptions);
|
|
2600
|
-
this.eventQueue = this.options.eventQueue ? new DiscordEventQueue(this.options.eventQueue) : void 0;
|
|
2601
|
-
this.entityCache = new DiscordEntityCache({
|
|
2602
|
-
client: this,
|
|
2603
|
-
rest: () => this.rest,
|
|
2604
|
-
ttlMs: this.options.restCacheTtlMs
|
|
2605
|
-
});
|
|
2606
|
-
this.commandDeployer = new DiscordCommandDeployer({
|
|
2607
|
-
clientId: this.options.clientId,
|
|
2608
|
-
commands: this.commands,
|
|
2609
|
-
devGuilds: this.options.devGuilds,
|
|
2610
|
-
hashStore: this.options.commandDeployHashStore,
|
|
2611
|
-
rest: () => this.rest
|
|
2612
|
-
});
|
|
2613
|
-
for (const component of handlers.components ?? []) this.componentHandler.register(component);
|
|
2614
|
-
for (const command of this.commands) for (const component of command.components ?? []) this.componentHandler.register(component);
|
|
2615
|
-
for (const modal of handlers.modals ?? []) this.modalHandler.register(modal);
|
|
2616
|
-
for (const plugin of plugins) {
|
|
2617
|
-
plugin.registerClient?.(this);
|
|
2618
|
-
plugin.registerRoutes?.(this);
|
|
2619
|
-
this.plugins.push({
|
|
2620
|
-
id: plugin.id,
|
|
2621
|
-
plugin
|
|
2622
|
-
});
|
|
2623
|
-
}
|
|
2624
|
-
}
|
|
2625
|
-
getPlugin(id) {
|
|
2626
|
-
return this.plugins.find((entry) => entry.id === id)?.plugin;
|
|
2627
|
-
}
|
|
2628
|
-
registerListener(listener) {
|
|
2629
|
-
if (!this.listeners.includes(listener)) this.listeners.push(listener);
|
|
2630
|
-
return listener;
|
|
2631
|
-
}
|
|
2632
|
-
unregisterListener(listener) {
|
|
2633
|
-
const index = this.listeners.indexOf(listener);
|
|
2634
|
-
if (index < 0) return false;
|
|
2635
|
-
this.listeners.splice(index, 1);
|
|
2636
|
-
return true;
|
|
2637
|
-
}
|
|
2638
|
-
getRuntimeMetrics() {
|
|
2639
|
-
return {
|
|
2640
|
-
request: this.rest.getSchedulerMetrics(),
|
|
2641
|
-
eventQueue: this.eventQueue?.getMetrics()
|
|
2642
|
-
};
|
|
2643
|
-
}
|
|
2644
|
-
async fetchUser(id) {
|
|
2645
|
-
return await this.entityCache.fetchUser(id);
|
|
2646
|
-
}
|
|
2647
|
-
async fetchChannel(id) {
|
|
2648
|
-
return await this.entityCache.fetchChannel(id);
|
|
2649
|
-
}
|
|
2650
|
-
async fetchGuild(id) {
|
|
2651
|
-
return await this.entityCache.fetchGuild(id);
|
|
2652
|
-
}
|
|
2653
|
-
async fetchMember(guildId, userId) {
|
|
2654
|
-
return await this.entityCache.fetchMember(guildId, userId);
|
|
2655
|
-
}
|
|
2656
|
-
async deployCommands(options = {}) {
|
|
2657
|
-
return await this.commandDeployer.deploy(options);
|
|
2658
|
-
}
|
|
2659
|
-
async handleInteraction(rawData, _ctx) {
|
|
2660
|
-
await dispatchInteraction(this, rawData);
|
|
2661
|
-
}
|
|
2662
|
-
async dispatchGatewayEvent(type, data) {
|
|
2663
|
-
this.entityCache.invalidateForGatewayEvent(type, data);
|
|
2664
|
-
const listeners = this.listeners.filter((entry) => entry.type === type);
|
|
2665
|
-
if (!this.eventQueue) {
|
|
2666
|
-
for (const listener of listeners) await listener.handle(data, this);
|
|
2667
|
-
return;
|
|
2668
|
-
}
|
|
2669
|
-
await Promise.all(listeners.map((listener) => this.eventQueue.enqueue({
|
|
2670
|
-
eventType: type,
|
|
2671
|
-
listenerName: listener.constructor.name || "AnonymousListener",
|
|
2672
|
-
run: async () => {
|
|
2673
|
-
await listener.handle(data, this);
|
|
2674
|
-
}
|
|
2675
|
-
})));
|
|
2676
|
-
}
|
|
2677
|
-
};
|
|
2678
|
-
//#endregion
|
|
2679
|
-
//#region extensions/discord/src/internal/listeners.ts
|
|
2680
|
-
var BaseListener = class {};
|
|
2681
|
-
var ReadyListener = class extends BaseListener {
|
|
2682
|
-
constructor(..._args) {
|
|
2683
|
-
super(..._args);
|
|
2684
|
-
this.type = GatewayDispatchEvents.Ready;
|
|
2685
|
-
}
|
|
2686
|
-
};
|
|
2687
|
-
var ResumedListener = class extends BaseListener {
|
|
2688
|
-
constructor(..._args2) {
|
|
2689
|
-
super(..._args2);
|
|
2690
|
-
this.type = GatewayDispatchEvents.Resumed;
|
|
2691
|
-
}
|
|
2692
|
-
};
|
|
2693
|
-
var GuildCreateListener = class extends BaseListener {
|
|
2694
|
-
constructor(..._args3) {
|
|
2695
|
-
super(..._args3);
|
|
2696
|
-
this.type = GatewayDispatchEvents.GuildCreate;
|
|
2697
|
-
}
|
|
2698
|
-
};
|
|
2699
|
-
var GuildDeleteListener = class extends BaseListener {
|
|
2700
|
-
constructor(..._args4) {
|
|
2701
|
-
super(..._args4);
|
|
2702
|
-
this.type = GatewayDispatchEvents.GuildDelete;
|
|
2703
|
-
}
|
|
2704
|
-
};
|
|
2705
|
-
var MessageCreateListener = class extends BaseListener {
|
|
2706
|
-
constructor(..._args5) {
|
|
2707
|
-
super(..._args5);
|
|
2708
|
-
this.type = GatewayDispatchEvents.MessageCreate;
|
|
2709
|
-
}
|
|
2710
|
-
};
|
|
2711
|
-
var InteractionCreateListener = class extends BaseListener {
|
|
2712
|
-
constructor(..._args6) {
|
|
2713
|
-
super(..._args6);
|
|
2714
|
-
this.type = GatewayDispatchEvents.InteractionCreate;
|
|
2715
|
-
}
|
|
2716
|
-
};
|
|
2717
|
-
var MessageReactionAddListener = class extends BaseListener {
|
|
2718
|
-
constructor(..._args7) {
|
|
2719
|
-
super(..._args7);
|
|
2720
|
-
this.type = GatewayDispatchEvents.MessageReactionAdd;
|
|
2721
|
-
}
|
|
2722
|
-
};
|
|
2723
|
-
var MessageReactionRemoveListener = class extends BaseListener {
|
|
2724
|
-
constructor(..._args8) {
|
|
2725
|
-
super(..._args8);
|
|
2726
|
-
this.type = GatewayDispatchEvents.MessageReactionRemove;
|
|
2727
|
-
}
|
|
2728
|
-
};
|
|
2729
|
-
var PresenceUpdateListener = class extends BaseListener {
|
|
2730
|
-
constructor(..._args9) {
|
|
2731
|
-
super(..._args9);
|
|
2732
|
-
this.type = GatewayDispatchEvents.PresenceUpdate;
|
|
2733
|
-
}
|
|
2734
|
-
};
|
|
2735
|
-
var VoiceStateUpdateListener = class extends BaseListener {
|
|
2736
|
-
constructor(..._args10) {
|
|
2737
|
-
super(..._args10);
|
|
2738
|
-
this.type = GatewayDispatchEvents.VoiceStateUpdate;
|
|
2739
|
-
}
|
|
2740
|
-
};
|
|
2741
|
-
var ThreadUpdateListener = class extends BaseListener {
|
|
2742
|
-
constructor(..._args11) {
|
|
2743
|
-
super(..._args11);
|
|
2744
|
-
this.type = GatewayDispatchEvents.ThreadUpdate;
|
|
2745
|
-
}
|
|
2746
|
-
};
|
|
2747
|
-
//#endregion
|
|
2748
|
-
//#region extensions/discord/src/internal/discord.ts
|
|
2749
|
-
var discord_exports = /* @__PURE__ */ __exportAll({
|
|
2750
|
-
AutocompleteInteraction: () => AutocompleteInteraction,
|
|
2751
|
-
BaseCommand: () => BaseCommand,
|
|
2752
|
-
BaseComponentInteraction: () => BaseComponentInteraction,
|
|
2753
|
-
BaseMessageInteractiveComponent: () => BaseMessageInteractiveComponent,
|
|
2754
|
-
Button: () => Button,
|
|
2755
|
-
ButtonInteraction: () => ButtonInteraction,
|
|
2756
|
-
ChannelSelectMenu: () => ChannelSelectMenu,
|
|
2757
|
-
ChannelSelectMenuInteraction: () => ChannelSelectMenuInteraction,
|
|
2758
|
-
CheckboxGroup: () => CheckboxGroup,
|
|
2759
|
-
Client: () => Client,
|
|
2760
|
-
Command: () => Command,
|
|
2761
|
-
CommandInteraction: () => CommandInteraction,
|
|
2762
|
-
CommandWithSubcommands: () => CommandWithSubcommands,
|
|
2763
|
-
Container: () => Container,
|
|
2764
|
-
DiscordError: () => DiscordError,
|
|
2765
|
-
Embed: () => Embed,
|
|
2766
|
-
File: () => File,
|
|
2767
|
-
Guild: () => Guild,
|
|
2768
|
-
GuildCreateListener: () => GuildCreateListener,
|
|
2769
|
-
GuildDeleteListener: () => GuildDeleteListener,
|
|
2770
|
-
GuildMember: () => GuildMember,
|
|
2771
|
-
InteractionCreateListener: () => InteractionCreateListener,
|
|
2772
|
-
Label: () => Label,
|
|
2773
|
-
LinkButton: () => LinkButton,
|
|
2774
|
-
MediaGallery: () => MediaGallery,
|
|
2775
|
-
MentionableSelectMenu: () => MentionableSelectMenu,
|
|
2776
|
-
MentionableSelectMenuInteraction: () => MentionableSelectMenuInteraction,
|
|
2777
|
-
Message: () => Message,
|
|
2778
|
-
MessageCreateListener: () => MessageCreateListener,
|
|
2779
|
-
MessageReactionAddListener: () => MessageReactionAddListener,
|
|
2780
|
-
MessageReactionRemoveListener: () => MessageReactionRemoveListener,
|
|
2781
|
-
Modal: () => Modal,
|
|
2782
|
-
ModalInteraction: () => ModalInteraction,
|
|
2783
|
-
Plugin: () => Plugin,
|
|
2784
|
-
PresenceUpdateListener: () => PresenceUpdateListener,
|
|
2785
|
-
RadioGroup: () => RadioGroup,
|
|
2786
|
-
RateLimitError: () => RateLimitError,
|
|
2787
|
-
ReadyListener: () => ReadyListener,
|
|
2788
|
-
RequestClient: () => RequestClient,
|
|
2789
|
-
ResumedListener: () => ResumedListener,
|
|
2790
|
-
Role: () => Role,
|
|
2791
|
-
RoleSelectMenu: () => RoleSelectMenu,
|
|
2792
|
-
RoleSelectMenuInteraction: () => RoleSelectMenuInteraction,
|
|
2793
|
-
Row: () => Row,
|
|
2794
|
-
Section: () => Section,
|
|
2795
|
-
Separator: () => Separator,
|
|
2796
|
-
StringSelectMenu: () => StringSelectMenu,
|
|
2797
|
-
StringSelectMenuInteraction: () => StringSelectMenuInteraction,
|
|
2798
|
-
TextDisplay: () => TextDisplay,
|
|
2799
|
-
TextInput: () => TextInput,
|
|
2800
|
-
ThreadUpdateListener: () => ThreadUpdateListener,
|
|
2801
|
-
Thumbnail: () => Thumbnail,
|
|
2802
|
-
User: () => User,
|
|
2803
|
-
UserSelectMenu: () => UserSelectMenu,
|
|
2804
|
-
UserSelectMenuInteraction: () => UserSelectMenuInteraction,
|
|
2805
|
-
VoiceStateUpdateListener: () => VoiceStateUpdateListener,
|
|
2806
|
-
addGuildMemberRole: () => addGuildMemberRole,
|
|
2807
|
-
channelFactory: () => channelFactory,
|
|
2808
|
-
createApplicationCommand: () => createApplicationCommand,
|
|
2809
|
-
createChannelMessage: () => createChannelMessage,
|
|
2810
|
-
createChannelWebhook: () => createChannelWebhook,
|
|
2811
|
-
createGuildBan: () => createGuildBan,
|
|
2812
|
-
createGuildChannel: () => createGuildChannel,
|
|
2813
|
-
createGuildEmoji: () => createGuildEmoji,
|
|
2814
|
-
createGuildScheduledEvent: () => createGuildScheduledEvent,
|
|
2815
|
-
createGuildSticker: () => createGuildSticker,
|
|
2816
|
-
createInteraction: () => createInteraction,
|
|
2817
|
-
createInteractionCallback: () => createInteractionCallback,
|
|
2818
|
-
createOwnMessageReaction: () => createOwnMessageReaction,
|
|
2819
|
-
createThread: () => createThread,
|
|
2820
|
-
createUserDmChannel: () => createUserDmChannel,
|
|
2821
|
-
createWebhookMessage: () => createWebhookMessage,
|
|
2822
|
-
deferCommandInteractionIfNeeded: () => deferCommandInteractionIfNeeded,
|
|
2823
|
-
deleteApplicationCommand: () => deleteApplicationCommand,
|
|
2824
|
-
deleteChannel: () => deleteChannel,
|
|
2825
|
-
deleteChannelMessage: () => deleteChannelMessage,
|
|
2826
|
-
deleteChannelPermission: () => deleteChannelPermission,
|
|
2827
|
-
deleteOwnMessageReaction: () => deleteOwnMessageReaction,
|
|
2828
|
-
deleteWebhookMessage: () => deleteWebhookMessage,
|
|
2829
|
-
editApplicationCommand: () => editApplicationCommand,
|
|
2830
|
-
editChannel: () => editChannel,
|
|
2831
|
-
editChannelMessage: () => editChannelMessage,
|
|
2832
|
-
editWebhookMessage: () => editWebhookMessage,
|
|
2833
|
-
getChannel: () => getChannel,
|
|
2834
|
-
getChannelMessage: () => getChannelMessage,
|
|
2835
|
-
getCurrentUser: () => getCurrentUser,
|
|
2836
|
-
getGuild: () => getGuild,
|
|
2837
|
-
getGuildMember: () => getGuildMember,
|
|
2838
|
-
getGuildVoiceState: () => getGuildVoiceState,
|
|
2839
|
-
getThreadMember: () => getThreadMember,
|
|
2840
|
-
getUser: () => getUser,
|
|
2841
|
-
getWebhookMessage: () => getWebhookMessage,
|
|
2842
|
-
isUnknownDiscordVoiceStateError: () => isUnknownDiscordVoiceStateError,
|
|
2843
|
-
listApplicationCommands: () => listApplicationCommands,
|
|
2844
|
-
listChannelArchivedThreads: () => listChannelArchivedThreads,
|
|
2845
|
-
listChannelMessages: () => listChannelMessages,
|
|
2846
|
-
listChannelPins: () => listChannelPins,
|
|
2847
|
-
listGuildActiveThreads: () => listGuildActiveThreads,
|
|
2848
|
-
listGuildChannels: () => listGuildChannels,
|
|
2849
|
-
listGuildEmojis: () => listGuildEmojis,
|
|
2850
|
-
listGuildRoles: () => listGuildRoles,
|
|
2851
|
-
listGuildScheduledEvents: () => listGuildScheduledEvents,
|
|
2852
|
-
listMessageReactionUsers: () => listMessageReactionUsers,
|
|
2853
|
-
moveGuildChannels: () => moveGuildChannels,
|
|
2854
|
-
overwriteApplicationCommands: () => overwriteApplicationCommands,
|
|
2855
|
-
overwriteGuildApplicationCommands: () => overwriteGuildApplicationCommands,
|
|
2856
|
-
parseComponentInteractionData: () => parseComponentInteractionData,
|
|
2857
|
-
parseCustomId: () => parseCustomId,
|
|
2858
|
-
pinChannelMessage: () => pinChannelMessage,
|
|
2859
|
-
putChannelPermission: () => putChannelPermission,
|
|
2860
|
-
removeGuildMember: () => removeGuildMember,
|
|
2861
|
-
removeGuildMemberRole: () => removeGuildMemberRole,
|
|
2862
|
-
resolveFocusedCommandOptionAutocompleteHandler: () => resolveFocusedCommandOptionAutocompleteHandler,
|
|
2863
|
-
searchGuildMessages: () => searchGuildMessages,
|
|
2864
|
-
sendChannelTyping: () => sendChannelTyping,
|
|
2865
|
-
serializePayload: () => serializePayload,
|
|
2866
|
-
timeoutGuildMember: () => timeoutGuildMember,
|
|
2867
|
-
unpinChannelMessage: () => unpinChannelMessage
|
|
2868
|
-
});
|
|
2869
|
-
import * as import_discord_api_types_v10 from "discord-api-types/v10";
|
|
2870
|
-
__reExport(discord_exports, import_discord_api_types_v10);
|
|
2871
|
-
//#endregion
|
|
2872
|
-
//#region extensions/discord/src/target-parsing.ts
|
|
2873
|
-
function parseDiscordTarget(raw, options = {}) {
|
|
2874
|
-
const trimmed = raw.trim();
|
|
2875
|
-
if (!trimmed) return;
|
|
2876
|
-
const providerPrefixedTarget = parseDiscordProviderPrefixedTarget(trimmed);
|
|
2877
|
-
if (providerPrefixedTarget) return providerPrefixedTarget;
|
|
2878
|
-
const userTarget = parseMentionPrefixOrAtUserTarget({
|
|
2879
|
-
raw: trimmed,
|
|
2880
|
-
mentionPattern: /^<@!?(\d+)>$/,
|
|
2881
|
-
prefixes: [
|
|
2882
|
-
{
|
|
2883
|
-
prefix: "user:",
|
|
2884
|
-
kind: "user"
|
|
2885
|
-
},
|
|
2886
|
-
{
|
|
2887
|
-
prefix: "channel:",
|
|
2888
|
-
kind: "channel"
|
|
2889
|
-
},
|
|
2890
|
-
{
|
|
2891
|
-
prefix: "discord:",
|
|
2892
|
-
kind: "user"
|
|
2893
|
-
}
|
|
2894
|
-
],
|
|
2895
|
-
atUserPattern: /^\d+$/,
|
|
2896
|
-
atUserErrorMessage: "Discord DMs require a user id (use user:<id> or a <@id> mention)"
|
|
2897
|
-
});
|
|
2898
|
-
if (userTarget) return userTarget;
|
|
2899
|
-
if (/^\d+$/.test(trimmed)) {
|
|
2900
|
-
if (options.defaultKind) return buildMessagingTarget(options.defaultKind, trimmed, trimmed);
|
|
2901
|
-
throw new Error(options.ambiguousMessage ?? `Ambiguous Discord recipient "${trimmed}". For DMs use "user:${trimmed}" or "<@${trimmed}>"; for channels use "channel:${trimmed}".`);
|
|
2902
|
-
}
|
|
2903
|
-
return buildMessagingTarget("channel", trimmed, trimmed);
|
|
2904
|
-
}
|
|
2905
|
-
function parseDiscordProviderPrefixedTarget(raw) {
|
|
2906
|
-
const match = /^discord:(channel|user):(.+)$/i.exec(raw);
|
|
2907
|
-
if (!match) return;
|
|
2908
|
-
const kind = match[1]?.toLowerCase();
|
|
2909
|
-
const id = match[2]?.trim();
|
|
2910
|
-
if (!kind || !id) return;
|
|
2911
|
-
return buildMessagingTarget(kind, id, `${kind}:${id}`);
|
|
2912
|
-
}
|
|
2913
|
-
function resolveDiscordChannelId(raw) {
|
|
2914
|
-
return requireTargetKind({
|
|
2915
|
-
platform: "Discord",
|
|
2916
|
-
target: parseDiscordTarget(raw, { defaultKind: "channel" }),
|
|
2917
|
-
kind: "channel"
|
|
2918
|
-
});
|
|
2919
|
-
}
|
|
2920
|
-
//#endregion
|
|
2921
|
-
//#region extensions/discord/src/normalize.ts
|
|
2922
|
-
function normalizeDiscordMessagingTarget(raw) {
|
|
2923
|
-
return parseDiscordTarget(raw, { defaultKind: "channel" })?.normalized;
|
|
2924
|
-
}
|
|
2925
|
-
/**
|
|
2926
|
-
* Normalize a Discord outbound target for delivery. Bare numeric IDs are
|
|
2927
|
-
* prefixed with "channel:" to avoid the ambiguous-target error in
|
|
2928
|
-
* parseDiscordTarget, unless the ID is explicitly configured as an allowed DM
|
|
2929
|
-
* sender. All other formats pass through unchanged.
|
|
2930
|
-
*/
|
|
2931
|
-
function normalizeDiscordOutboundTarget(to, allowFrom) {
|
|
2932
|
-
const trimmed = to?.trim();
|
|
2933
|
-
if (!trimmed) return {
|
|
2934
|
-
ok: false,
|
|
2935
|
-
error: /* @__PURE__ */ new Error("Discord recipient is required. Use \"channel:<id>\" for channels or \"user:<id>\" for DMs.")
|
|
2936
|
-
};
|
|
2937
|
-
if (/^\d+$/.test(trimmed)) {
|
|
2938
|
-
if (allowFromContainsDiscordUserId(allowFrom, trimmed)) return {
|
|
2939
|
-
ok: true,
|
|
2940
|
-
to: `user:${trimmed}`
|
|
2941
|
-
};
|
|
2942
|
-
return {
|
|
2943
|
-
ok: true,
|
|
2944
|
-
to: `channel:${trimmed}`
|
|
2945
|
-
};
|
|
2946
|
-
}
|
|
2947
|
-
return {
|
|
2948
|
-
ok: true,
|
|
2949
|
-
to: trimmed
|
|
2950
|
-
};
|
|
2951
|
-
}
|
|
2952
|
-
function allowFromContainsDiscordUserId(allowFrom, userId) {
|
|
2953
|
-
const normalizedUserId = userId.trim();
|
|
2954
|
-
if (!normalizedUserId) return false;
|
|
2955
|
-
return resolveAllowlistMatchByCandidates({
|
|
2956
|
-
allowList: (allowFrom ?? []).map(normalizeAllowFromDiscordUserId).filter((entry) => Boolean(entry)),
|
|
2957
|
-
candidates: [{
|
|
2958
|
-
value: normalizedUserId,
|
|
2959
|
-
source: "id"
|
|
2960
|
-
}]
|
|
2961
|
-
}).allowed;
|
|
2962
|
-
}
|
|
2963
|
-
function normalizeAllowFromDiscordUserId(entry) {
|
|
2964
|
-
const trimmed = entry.trim().toLowerCase();
|
|
2965
|
-
if (!trimmed || trimmed === "*") return;
|
|
2966
|
-
const mentionMatch = /^<@!?(\d+)>$/.exec(trimmed);
|
|
2967
|
-
if (mentionMatch) return mentionMatch[1];
|
|
2968
|
-
const prefixedMatch = /^(?:discord:)?user:(\d+)$/.exec(trimmed);
|
|
2969
|
-
if (prefixedMatch) return prefixedMatch[1];
|
|
2970
|
-
const discordMatch = /^discord:(\d+)$/.exec(trimmed);
|
|
2971
|
-
if (discordMatch) return discordMatch[1];
|
|
2972
|
-
return /^\d+$/.test(trimmed) ? trimmed : void 0;
|
|
2973
|
-
}
|
|
2974
|
-
function looksLikeDiscordTargetId(raw) {
|
|
2975
|
-
const trimmed = raw.trim();
|
|
2976
|
-
if (!trimmed) return false;
|
|
2977
|
-
if (/^<@!?\d+>$/.test(trimmed)) return true;
|
|
2978
|
-
if (/^(?:(?:user|channel|discord):\d+|discord:(?:user|channel):\d+)$/i.test(trimmed)) return true;
|
|
2979
|
-
if (/^\d{6,}$/.test(trimmed)) return true;
|
|
2980
|
-
return false;
|
|
2981
|
-
}
|
|
2982
|
-
//#endregion
|
|
2983
|
-
//#region extensions/discord/src/reply-reference.ts
|
|
2984
|
-
function resolveDiscordReplyReference(params) {
|
|
2985
|
-
if (!params.replyToId) return;
|
|
2986
|
-
const singleUse = params.replyToIdSource !== "explicit" && params.replyToMode !== void 0 && isSingleUseReplyToMode(params.replyToMode);
|
|
2987
|
-
return {
|
|
2988
|
-
messageId: params.replyToId,
|
|
2989
|
-
scope: singleUse ? "first" : "all"
|
|
2990
|
-
};
|
|
2991
|
-
}
|
|
2992
|
-
function createReusableDiscordReplyReference(messageId) {
|
|
2993
|
-
return messageId ? {
|
|
2994
|
-
messageId,
|
|
2995
|
-
scope: "all"
|
|
2996
|
-
} : void 0;
|
|
2997
|
-
}
|
|
2998
|
-
function resolveDiscordReplyMessageId(reply, isFirst) {
|
|
2999
|
-
return reply && (isFirst || reply.scope === "all") ? reply.messageId : void 0;
|
|
3000
|
-
}
|
|
3001
|
-
//#endregion
|
|
3002
|
-
//#region extensions/discord/src/chunk.ts
|
|
3003
|
-
const DEFAULT_MAX_CHARS = 2e3;
|
|
3004
|
-
const DEFAULT_MAX_LINES = 17;
|
|
3005
|
-
const REASONING_ITALICS_MARKER_CHARS = 2;
|
|
3006
|
-
const MIN_REASONING_ITALICS_CHUNK_CHARS = 4;
|
|
3007
|
-
const FENCE_RE = /^( {0,3})(`{3,}|~{3,})(.*)$/;
|
|
3008
|
-
function hasReasoningItalics(text) {
|
|
3009
|
-
return /^(?:Reasoning:|Thinking\.{0,3})\n+_/u.test(text) && text.trimEnd().endsWith("_");
|
|
3010
|
-
}
|
|
3011
|
-
function resolveDiscordChunkLimit(value, fallback) {
|
|
3012
|
-
return resolveIntegerOption(value, fallback, { min: 1 });
|
|
3013
|
-
}
|
|
3014
|
-
function countLines(text) {
|
|
3015
|
-
if (!text) return 0;
|
|
3016
|
-
return text.split("\n").length;
|
|
3017
|
-
}
|
|
3018
|
-
function parseFenceLine(line) {
|
|
3019
|
-
const match = line.match(FENCE_RE);
|
|
3020
|
-
if (!match) return null;
|
|
3021
|
-
const indent = match[1] ?? "";
|
|
3022
|
-
const marker = match[2] ?? "";
|
|
3023
|
-
return {
|
|
3024
|
-
indent,
|
|
3025
|
-
markerChar: marker[0] ?? "`",
|
|
3026
|
-
markerLen: marker.length,
|
|
3027
|
-
openLine: line
|
|
3028
|
-
};
|
|
3029
|
-
}
|
|
3030
|
-
function closeFenceLine(openFence) {
|
|
3031
|
-
return `${openFence.indent}${openFence.markerChar.repeat(openFence.markerLen)}`;
|
|
3032
|
-
}
|
|
3033
|
-
function canBalanceFence(openFence, maxChars) {
|
|
3034
|
-
return closeFenceLine(openFence).length * 2 + 3 <= maxChars;
|
|
3035
|
-
}
|
|
3036
|
-
function reopenFenceLine(openFence, maxChars) {
|
|
3037
|
-
const bareMarker = closeFenceLine(openFence);
|
|
3038
|
-
if (!canBalanceFence(openFence, maxChars)) return null;
|
|
3039
|
-
if (openFence.openLine.length + bareMarker.length + 3 <= maxChars) return openFence.openLine;
|
|
3040
|
-
return bareMarker;
|
|
3041
|
-
}
|
|
3042
|
-
function closeFenceIfNeeded(text, openFence, maxChars) {
|
|
3043
|
-
if (!openFence || !canBalanceFence(openFence, maxChars)) return text;
|
|
3044
|
-
const closeLine = closeFenceLine(openFence);
|
|
3045
|
-
if (!text) return closeLine;
|
|
3046
|
-
if (!text.endsWith("\n")) return `${text}\n${closeLine}`;
|
|
3047
|
-
return `${text}${closeLine}`;
|
|
3048
|
-
}
|
|
3049
|
-
/**
|
|
3050
|
-
* Chunks outbound Discord text by both character count and (soft) line count,
|
|
3051
|
-
* while keeping fenced code blocks balanced across chunks.
|
|
3052
|
-
*/
|
|
3053
|
-
function chunkDiscordText(text, opts = {}) {
|
|
3054
|
-
const hardMaxChars = resolveDiscordChunkLimit(opts.maxChars, DEFAULT_MAX_CHARS);
|
|
3055
|
-
const maxLines = resolveDiscordChunkLimit(opts.maxLines, DEFAULT_MAX_LINES);
|
|
3056
|
-
const body = text ?? "";
|
|
3057
|
-
if (!body) return [];
|
|
3058
|
-
if (body.length <= hardMaxChars && countLines(body) <= maxLines) return [body];
|
|
3059
|
-
const maxChars = hardMaxChars >= MIN_REASONING_ITALICS_CHUNK_CHARS && hasReasoningItalics(body) ? hardMaxChars - REASONING_ITALICS_MARKER_CHARS : hardMaxChars;
|
|
3060
|
-
const lines = body.split("\n");
|
|
3061
|
-
const chunks = [];
|
|
3062
|
-
let current = "";
|
|
3063
|
-
let currentLines = 0;
|
|
3064
|
-
let openFence = null;
|
|
3065
|
-
const flush = () => {
|
|
3066
|
-
if (!current) return;
|
|
3067
|
-
const payload = closeFenceIfNeeded(current, openFence, maxChars);
|
|
3068
|
-
if (payload.trim().length) chunks.push(payload);
|
|
3069
|
-
current = "";
|
|
3070
|
-
currentLines = 0;
|
|
3071
|
-
if (openFence) {
|
|
3072
|
-
const reopenLine = reopenFenceLine(openFence, maxChars);
|
|
3073
|
-
if (reopenLine) {
|
|
3074
|
-
current = reopenLine;
|
|
3075
|
-
currentLines = 1;
|
|
3076
|
-
}
|
|
3077
|
-
}
|
|
3078
|
-
};
|
|
3079
|
-
for (const originalLine of lines) {
|
|
3080
|
-
const fenceInfo = parseFenceLine(originalLine);
|
|
3081
|
-
const wasInsideFence = openFence !== null;
|
|
3082
|
-
let nextOpenFence = openFence;
|
|
3083
|
-
if (fenceInfo) {
|
|
3084
|
-
if (!openFence) nextOpenFence = fenceInfo;
|
|
3085
|
-
else if (openFence.markerChar === fenceInfo.markerChar && fenceInfo.markerLen >= openFence.markerLen) nextOpenFence = null;
|
|
3086
|
-
}
|
|
3087
|
-
const candidateFence = nextOpenFence ?? openFence;
|
|
3088
|
-
const fenceToReserve = candidateFence && canBalanceFence(candidateFence, maxChars) ? candidateFence : null;
|
|
3089
|
-
const reserveChars = fenceToReserve ? closeFenceLine(fenceToReserve).length + 1 : 0;
|
|
3090
|
-
const reserveLines = fenceToReserve ? 1 : 0;
|
|
3091
|
-
const effectiveMaxChars = maxChars - reserveChars;
|
|
3092
|
-
const effectiveMaxLines = maxLines - reserveLines;
|
|
3093
|
-
const charLimit = effectiveMaxChars > 0 ? effectiveMaxChars : maxChars;
|
|
3094
|
-
const lineLimit = effectiveMaxLines > 0 ? effectiveMaxLines : maxLines;
|
|
3095
|
-
const reopenPrefixLen = fenceToReserve ? reopenFenceLine(fenceToReserve, maxChars)?.length ?? 0 : 0;
|
|
3096
|
-
const prefixLen = current.length > 0 ? current.length + 1 : 0;
|
|
3097
|
-
const reopenBudget = reopenPrefixLen > 0 ? reopenPrefixLen + 1 : 0;
|
|
3098
|
-
const segments = chunkTextForOutbound(originalLine, Math.max(1, charLimit - Math.max(prefixLen, reopenBudget)), { preserveWhitespace: wasInsideFence });
|
|
3099
|
-
for (let segIndex = 0; segIndex < segments.length; segIndex++) {
|
|
3100
|
-
const segment = segments[segIndex];
|
|
3101
|
-
const isLineContinuation = segIndex > 0;
|
|
3102
|
-
let delimiter = isLineContinuation ? "" : current.length > 0 ? "\n" : "";
|
|
3103
|
-
let addition = `${delimiter}${segment}`;
|
|
3104
|
-
const nextLen = current.length + addition.length;
|
|
3105
|
-
const nextLines = currentLines + (isLineContinuation ? 0 : 1);
|
|
3106
|
-
if ((nextLen > charLimit || nextLines > lineLimit) && current.length > 0) {
|
|
3107
|
-
flush();
|
|
3108
|
-
delimiter = current.length > 0 ? "\n" : "";
|
|
3109
|
-
addition = `${delimiter}${segment}`;
|
|
3110
|
-
}
|
|
3111
|
-
if (current.length > 0) {
|
|
3112
|
-
current += addition;
|
|
3113
|
-
if (!isLineContinuation || delimiter) currentLines += 1;
|
|
3114
|
-
} else {
|
|
3115
|
-
current = expectDefined(segment, "current Discord chunk segment");
|
|
3116
|
-
currentLines = 1;
|
|
3117
|
-
}
|
|
3118
|
-
}
|
|
3119
|
-
openFence = nextOpenFence;
|
|
3120
|
-
}
|
|
3121
|
-
if (current.length) {
|
|
3122
|
-
const payload = closeFenceIfNeeded(current, openFence, maxChars);
|
|
3123
|
-
if (payload.trim().length) chunks.push(payload);
|
|
3124
|
-
}
|
|
3125
|
-
return rebalanceReasoningItalics(text, chunks, hardMaxChars);
|
|
3126
|
-
}
|
|
3127
|
-
function chunkDiscordTextWithMode(text, opts) {
|
|
3128
|
-
if ((opts.chunkMode ?? "length") !== "newline") return chunkDiscordText(text, opts);
|
|
3129
|
-
const lineChunks = chunkMarkdownTextWithMode(text, resolveDiscordChunkLimit(opts.maxChars, DEFAULT_MAX_CHARS), "newline");
|
|
3130
|
-
const chunks = [];
|
|
3131
|
-
for (const line of lineChunks) {
|
|
3132
|
-
const nested = chunkDiscordText(line, opts);
|
|
3133
|
-
if (!nested.length && line) {
|
|
3134
|
-
chunks.push(line);
|
|
3135
|
-
continue;
|
|
3136
|
-
}
|
|
3137
|
-
chunks.push(...nested);
|
|
3138
|
-
}
|
|
3139
|
-
return chunks;
|
|
3140
|
-
}
|
|
3141
|
-
function leadingCodeSpanEnd(body) {
|
|
3142
|
-
if (!body) return -1;
|
|
3143
|
-
const firstNewline = body.indexOf("\n");
|
|
3144
|
-
const openFence = parseFenceLine(firstNewline === -1 ? body : body.slice(0, firstNewline));
|
|
3145
|
-
if (openFence) {
|
|
3146
|
-
if (firstNewline === -1) return body.length;
|
|
3147
|
-
let lineStart = firstNewline + 1;
|
|
3148
|
-
while (lineStart <= body.length) {
|
|
3149
|
-
const lineEnd = body.indexOf("\n", lineStart);
|
|
3150
|
-
const line = lineEnd === -1 ? body.slice(lineStart) : body.slice(lineStart, lineEnd);
|
|
3151
|
-
const closeFence = parseFenceLine(line);
|
|
3152
|
-
const closeSuffix = closeFence ? line.slice(closeFence.indent.length + closeFence.markerLen) : "";
|
|
3153
|
-
if (closeFence?.markerChar === openFence.markerChar && closeFence.markerLen >= openFence.markerLen && /^[ \t]*_?[ \t]*$/u.test(closeSuffix)) {
|
|
3154
|
-
const markerEnd = closeFence.indent.length + closeFence.markerLen;
|
|
3155
|
-
const trailingSpaces = /^ */.exec(line.slice(markerEnd))?.[0].length ?? 0;
|
|
3156
|
-
return lineStart + markerEnd + trailingSpaces;
|
|
3157
|
-
}
|
|
3158
|
-
if (lineEnd === -1) return body.length;
|
|
3159
|
-
lineStart = lineEnd + 1;
|
|
3160
|
-
}
|
|
3161
|
-
return body.length;
|
|
3162
|
-
}
|
|
3163
|
-
if (!body.startsWith("`")) return -1;
|
|
3164
|
-
const ticks = /^(?<ticks>`+)/.exec(body)?.groups?.ticks;
|
|
3165
|
-
if (!ticks) return -1;
|
|
3166
|
-
for (let index = ticks.length; index < body.length;) {
|
|
3167
|
-
if (body[index] !== "`") {
|
|
3168
|
-
index += 1;
|
|
3169
|
-
continue;
|
|
3170
|
-
}
|
|
3171
|
-
let runEnd = index + 1;
|
|
3172
|
-
while (body[runEnd] === "`") runEnd += 1;
|
|
3173
|
-
if (runEnd - index === ticks.length) return runEnd;
|
|
3174
|
-
index = runEnd;
|
|
3175
|
-
}
|
|
3176
|
-
return -1;
|
|
3177
|
-
}
|
|
3178
|
-
function leadingCodePrefixEnd(body) {
|
|
3179
|
-
let prefixEnd = leadingCodeSpanEnd(body);
|
|
3180
|
-
if (prefixEnd < 0) return -1;
|
|
3181
|
-
while (prefixEnd < body.length) {
|
|
3182
|
-
const separator = /^\s+/u.exec(body.slice(prefixEnd))?.[0] ?? "";
|
|
3183
|
-
if (!separator) break;
|
|
3184
|
-
const nextStart = prefixEnd + separator.length;
|
|
3185
|
-
const nextEnd = leadingCodeSpanEnd(body.slice(nextStart));
|
|
3186
|
-
if (nextEnd < 0) break;
|
|
3187
|
-
prefixEnd = nextStart + nextEnd;
|
|
3188
|
-
}
|
|
3189
|
-
return prefixEnd;
|
|
3190
|
-
}
|
|
3191
|
-
function hasReasoningItalicsOpen(chunk) {
|
|
3192
|
-
const trimmed = chunk.trimStart();
|
|
3193
|
-
if (trimmed.startsWith("_") || /^(?:Reasoning:|Thinking\.{0,3})\n+_/u.test(trimmed)) return true;
|
|
3194
|
-
const codeEnd = leadingCodePrefixEnd(trimmed);
|
|
3195
|
-
return codeEnd >= 0 && trimmed.slice(codeEnd).trimStart().startsWith("_");
|
|
3196
|
-
}
|
|
3197
|
-
function reopenReasoningItalicsAfterLeadingCode(body, codeEnd) {
|
|
3198
|
-
const code = body.slice(0, codeEnd);
|
|
3199
|
-
const rest = body.slice(codeEnd);
|
|
3200
|
-
if (!rest.trim()) return code + rest;
|
|
3201
|
-
if (/^\s*_\s*$/.test(rest)) return code;
|
|
3202
|
-
const whitespaceLength = rest.length - rest.trimStart().length;
|
|
3203
|
-
const whitespace = rest.slice(0, whitespaceLength);
|
|
3204
|
-
const restBody = rest.slice(whitespaceLength);
|
|
3205
|
-
return restBody.startsWith("_") ? code + rest : `${code}${whitespace}_${restBody}`;
|
|
3206
|
-
}
|
|
3207
|
-
function rebalanceReasoningItalics(source, chunks, maxChars) {
|
|
3208
|
-
if (chunks.length <= 1 || maxChars < MIN_REASONING_ITALICS_CHUNK_CHARS) return chunks;
|
|
3209
|
-
if (!hasReasoningItalics(source)) return chunks;
|
|
3210
|
-
const adjusted = [...chunks];
|
|
3211
|
-
for (let i = 0; i < adjusted.length; i++) {
|
|
3212
|
-
const isLast = i === adjusted.length - 1;
|
|
3213
|
-
const current = expectDefined(adjusted[i], "Discord chunk adjustment index");
|
|
3214
|
-
if (!current.trimEnd().endsWith("_") && hasReasoningItalicsOpen(current)) adjusted[i] = `${current}_`;
|
|
3215
|
-
if (isLast) break;
|
|
3216
|
-
const next = expectDefined(adjusted[i + 1], "non-final Discord chunk successor");
|
|
3217
|
-
const leadingWhitespaceLen = next.length - next.trimStart().length;
|
|
3218
|
-
const leadingWhitespace = next.slice(0, leadingWhitespaceLen);
|
|
3219
|
-
const nextBody = next.slice(leadingWhitespaceLen);
|
|
3220
|
-
if (nextBody.startsWith("_")) continue;
|
|
3221
|
-
const codeEnd = leadingCodePrefixEnd(nextBody);
|
|
3222
|
-
adjusted[i + 1] = codeEnd >= 0 ? `${leadingWhitespace}${reopenReasoningItalicsAfterLeadingCode(nextBody, codeEnd)}` : `${leadingWhitespace}_${nextBody}`;
|
|
3223
|
-
}
|
|
3224
|
-
return adjusted;
|
|
3225
|
-
}
|
|
3226
|
-
//#endregion
|
|
3227
|
-
export { Section as $, readDiscordMessage as A, createGuildBan as At, Label as B, listGuildChannels as Bt, Client as C, listChannelMessages as Ct, RateLimitError as D, sendChannelTyping as Dt, DiscordError as E, searchGuildMessages as Et, Message as F, deleteChannelPermission as Ft, ChannelSelectMenu as G, putChannelPermission as Gt, RadioGroup as H, listGuildRoles as Ht, User as I, getGuild as It, LinkButton as J, timeoutGuildMember as Jt, Container as K, removeGuildMember as Kt, serializePayload as L, getGuildMember as Lt, Command as M, createGuildEmoji as Mt, CommandWithSubcommands as N, createGuildScheduledEvent as Nt, isUnknownDiscordVoiceStateError as O, unpinChannelMessage as Ot, Guild as P, createGuildSticker as Pt, Row as Q, Embed as R, getGuildVoiceState as Rt, VoiceStateUpdateListener as S, listChannelArchivedThreads as St, RequestClient as T, pinChannelMessage as Tt, TextInput as U, listGuildScheduledEvents as Ut, Modal as V, listGuildEmojis as Vt, Button as W, moveGuildChannels as Wt, MentionableSelectMenu as X, MediaGallery as Y, __exportAll as Yt, RoleSelectMenu as Z, MessageReactionRemoveListener as _, editChannel as _t, allowFromContainsDiscordUserId as a, BaseMessageInteractiveComponent as at, ResumedListener as b, getChannelMessage as bt, normalizeDiscordOutboundTarget as c, createUserDmChannel as ct, discord_exports as d, deleteOwnMessageReaction as dt, Separator as et, GuildCreateListener as f, listMessageReactionUsers as ft, MessageReactionAddListener as g, deleteChannelMessage as gt, MessageCreateListener as h, deleteChannel as ht, resolveDiscordReplyReference as i, UserSelectMenu as it, readRetryAfter as j, createGuildChannel as jt, readDiscordCode as k, addGuildMemberRole as kt, parseDiscordTarget as l, getCurrentUser as lt, InteractionCreateListener as m, createThread as mt, createReusableDiscordReplyReference as n, TextDisplay as nt, looksLikeDiscordTargetId as o, parseCustomId as ot, GuildDeleteListener as p, createChannelMessage as pt, File as q, removeGuildMemberRole as qt, resolveDiscordReplyMessageId as r, Thumbnail as rt, normalizeDiscordMessagingTarget as s, createChannelWebhook as st, chunkDiscordTextWithMode as t, StringSelectMenu as tt, resolveDiscordChannelId as u, createOwnMessageReaction as ut, PresenceUpdateListener as v, editChannelMessage as vt, Plugin as w, listChannelPins as wt, ThreadUpdateListener as x, getThreadMember as xt, ReadyListener as y, getChannel as yt, CheckboxGroup as z, listGuildActiveThreads as zt };
|