@openclaw/discord 2026.7.2-beta.1 → 2026.7.2-beta.3
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/dist/account-inspect-api.js +1 -1
- package/dist/{account-inspect-DDZtT5C8.js → account-inspect-dFV0JrnR.js} +2 -2
- package/dist/{accounts-P19jm1lf.js → accounts-CMd4nzLB.js} +8 -4
- package/dist/action-runtime-api.js +1 -1
- package/dist/activities-api-DS1L7KRY.js +765 -0
- package/dist/activities-api.js +2 -0
- package/dist/{allow-list-B7qOH5xu.js → allow-list-DzKrtfah.js} +18 -7
- package/dist/{api--f62GFaS.js → api-C43z8vUm.js} +6 -4
- package/dist/api.js +27 -18
- package/dist/{approval-handler.runtime-DeyIiw5I.js → approval-handler.runtime-BbkfPoGc.js} +7 -8
- package/dist/{conversation-identity-BpkAzklg.js → approval-message-safety-DrLlgIPz.js} +49 -3
- package/dist/assets/embedded-app-sdk.mjs +1 -0
- package/dist/{audit-Df2w046a.js → audit-BC6bgPMX.js} +4 -4
- package/dist/{channel-nYmJ7FKQ.js → channel-5MfaC2IE.js} +55 -44
- package/dist/{channel-actions-ChpBSRcu.js → channel-actions-DicWTbYH.js} +5 -5
- package/dist/{channel-actions.runtime-D8V8tyCq.js → channel-actions.runtime-D9Qadn-l.js} +50 -50
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.setup-DyihrqHH.js → channel.setup-CJXfFclP.js} +17 -20
- package/dist/{send.receipt-aegk69an.js → chunk-CWzmeWf_.js} +312 -401
- package/dist/command-deploy-store-DFkBTViB.js +12 -0
- package/dist/{config-schema-_bUKcWRm.js → config-schema-BxrgfSMD.js} +31 -2
- package/dist/{directory-config-BUe-qq_C.js → directory-config-CmukHSms.js} +2 -2
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-DZByMdPO.js → directory-live-BYlCRO__.js} +11 -9
- package/dist/{doctor-bMaWXFKu.js → doctor-Ci7USQAW.js} +4 -4
- package/dist/{handle-action.guild-admin-C_PQcBEV.js → handle-action.guild-admin-Bsk2YBPs.js} +2 -2
- package/dist/index.js +3 -1
- package/dist/legacy-state-migrations-api.js +17 -2
- package/dist/{manager.runtime-3RVMVkyx.js → manager.runtime-Cc8vS-M7.js} +191 -192
- package/dist/message-handler-CWJ-mQvH.js +590 -0
- package/dist/{message-handler.preflight-BI86IbHz.js → message-handler.preflight-DK46_qbS.js} +19 -18
- package/dist/{message-handler.process-bPS_9_tb.js → message-handler.process-BK0mjFJH.js} +88 -86
- package/dist/{message-utils-D4j07taS.js → message-utils-Cfe6CZ6N.js} +9 -7
- package/dist/{outbound-adapter-Czny0Fae.js → outbound-adapter-B2_oa-zV.js} +38 -7
- package/dist/{outbound-components-oJKLj62G.js → outbound-components-BGhk6HI3.js} +3 -3
- package/dist/{components-BVrfRS-F.js → outbound-session-route-M2bEY9tI.js} +171 -53
- package/dist/{pluralkit-UXq1OyUI.js → pluralkit-CT0VRsZd.js} +2 -2
- package/dist/{probe-DxjMBeVG.js → probe-C3SCKyYU.js} +35 -12
- package/dist/{probe.runtime-Bc8Oo6e8.js → probe.runtime-D55QqC9u.js} +1 -1
- package/dist/{provider-DWvDNb4J.js → provider-HW0G-2l6.js} +1810 -1513
- package/dist/{provider-session.runtime-D5pCGibh.js → provider-session.runtime-cCfGMsF_.js} +3 -3
- package/dist/provider.runtime-BWCRsVoT.js +2 -0
- package/dist/{resolve-allowlist-common-B9S8LLBd.js → resolve-allowlist-common-CJlqw_nC.js} +3 -3
- package/dist/{resolve-channels-BrkWOKdG.js → resolve-channels-9KcG3mLg.js} +4 -4
- package/dist/{resolve-users-OjrXXvJP.js → resolve-users-GCGf3oV0.js} +3 -3
- package/dist/retry-after-DdLPmPoa.js +12 -0
- package/dist/runtime-CD5MRZkD.js +83 -0
- package/dist/{runtime-C618lis9.js → runtime-Z2qkKakn.js} +64 -43
- package/dist/runtime-api.actions.js +2 -2
- package/dist/runtime-api.js +26 -25
- package/dist/runtime-api.lookup.js +5 -5
- package/dist/runtime-api.monitor-C3EDYJqk.js +6 -0
- package/dist/runtime-api.monitor.js +8 -8
- package/dist/runtime-api.send.js +6 -5
- package/dist/runtime-api.threads.js +6 -6
- package/dist/{secret-config-contract-BDNrRWvd.js → secret-config-contract-B1akrlyY.js} +1 -0
- package/dist/secret-contract-api.js +1 -1
- package/dist/{security-audit-Bh_65L5C.js → security-audit-DtT0SIns.js} +1 -1
- package/dist/security-audit-contract-api.js +1 -1
- package/dist/{security-audit.runtime-CpPdDNEt.js → security-audit.runtime-DEEywczv.js} +1 -1
- package/dist/security-doctor-nGgPm65L.js +5 -0
- package/dist/{send-BFpa_DHn.js → send-CSRxNNgq.js} +16 -95
- package/dist/{send.components-BaXQJKWT.js → send.components-DLqzOEPJ.js} +47 -38
- package/dist/{send.outbound-BlA6VzSE.js → send.outbound-C1SfX20w.js} +7 -6
- package/dist/send.reactions-Cj4ugX3F.js +85 -0
- package/dist/send.receipt-CuwRrpFz.js +48 -0
- package/dist/{send.shared-Xz7IMVpu.js → send.shared-Dber6X57.js} +78 -74
- package/dist/{sender-identity-C62lBe18.js → sender-identity-mG_zsdox.js} +1 -1
- package/dist/session-binding-contract-api.js +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{shared-BLYBt5SA.js → shared-BEhmAdMY.js} +9 -9
- package/dist/{subagent-hooks-DKJ4p-Oy.js → subagent-hooks-Wrk61DwY.js} +3 -3
- package/dist/subagent-hooks-api.js +10 -1
- package/dist/subagent-progress-B2fpHe3m.js +662 -0
- package/dist/{system-events-DKwfE-2z.js → system-events-AhfcKRRb.js} +2 -2
- package/dist/{target-resolver-BQyEHyeS.js → target-resolver-vqLA450R.js} +3 -3
- package/dist/targets-BjEMIe8t.js +3 -0
- package/dist/{thread-bindings-BbzjUuNB.js → thread-bindings-CJQoXuWY.js} +7 -7
- package/dist/{thread-bindings.discord-api-DJD3qwIN.js → thread-bindings.discord-api-mNCWlgvM.js} +5 -5
- package/dist/{thread-bindings.manager-BIBm6bQd.js → thread-bindings.manager-D1z8mK4b.js} +5 -5
- package/dist/{thread-bindings.session-updates-eRcJlzIU.js → thread-bindings.session-updates-DnTpkroM.js} +1 -1
- package/dist/{timeouts-ZRc9Lw4y.js → timeouts-B9cy6RvQ.js} +1 -5
- package/dist/{transcripts-source-CLZ5X8fh.js → transcripts-source-DjDbt14x.js} +1 -1
- package/dist/transcripts-source-api.js +1 -1
- package/dist/{typing-BnYT7Szq.js → typing-wxtm1NlF.js} +2 -2
- package/node_modules/@discord/embedded-app-sdk/LICENSE.md +9 -0
- package/node_modules/@discord/embedded-app-sdk/README.md +74 -0
- package/node_modules/@discord/embedded-app-sdk/output/Constants.cjs +100 -0
- package/node_modules/@discord/embedded-app-sdk/output/Constants.d.ts +88 -0
- package/node_modules/@discord/embedded-app-sdk/output/Constants.mjs +96 -0
- package/node_modules/@discord/embedded-app-sdk/output/Discord.cjs +286 -0
- package/node_modules/@discord/embedded-app-sdk/output/Discord.d.ts +603 -0
- package/node_modules/@discord/embedded-app-sdk/output/Discord.mjs +284 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger.cjs +11 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger.mjs +7 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger2.cjs +5 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/BigInteger2.mjs +3 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/_commonjsHelpers.cjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/_commonjsHelpers.mjs +7 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index.cjs +11 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index.mjs +7 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index2.cjs +11 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index2.mjs +7 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index3.cjs +5 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index3.mjs +3 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index4.cjs +5 -0
- package/node_modules/@discord/embedded-app-sdk/output/_virtual/index4.mjs +3 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.cjs +11 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.d.ts +25 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/authenticate.mjs +9 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.cjs +16 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.d.ts +20 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/authorize.mjs +14 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.cjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.d.ts +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/captureLog.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.cjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.d.ts +7 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/encourageHardwareAcceleration.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.d.ts +18 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getActivityInstanceConnectedParticipants.mjs +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.cjs +29 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.d.ts +230 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannel.mjs +27 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.cjs +13 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.d.ts +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getChannelPermissions.mjs +11 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.cjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.d.ts +22 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getEntitlements.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.cjs +16 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.d.ts +11 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getPlatformBehaviors.mjs +14 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.d.ts +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuest.mjs +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.d.ts +7 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getQuestEnrollmentStatus.mjs +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.d.ts +70 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getRelationships.mjs +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.cjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.d.ts +15 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getSkus.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.d.ts +17 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/getUser.mjs +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/index.cjs +76 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/index.d.ts +562 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/index.mjs +68 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.cjs +17 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.d.ts +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/initiateImageUpload.mjs +15 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.d.ts +4 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/inviteUserEmbedded.mjs +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.cjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.d.ts +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/openExternalLink.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.cjs +14 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.d.ts +7 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/openInviteDialog.mjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.cjs +14 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.d.ts +9 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/openShareMomentDialog.mjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.d.ts +5 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/questStartTimer.mjs +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.d.ts +3 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/requestProxyTicketRefresh.mjs +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.cjs +48 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.d.ts +304 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/setActivity.mjs +46 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.cjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.d.ts +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/setConfig.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.cjs +20 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.d.ts +11 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/setOrientationLockState.mjs +18 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.d.ts +26 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareInteraction.mjs +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.cjs +16 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.d.ts +17 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/shareLink.mjs +14 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.cjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.d.ts +24 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/startPurchase.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.cjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.d.ts +7 -0
- package/node_modules/@discord/embedded-app-sdk/output/commands/userSettingsGetLocale.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/error.cjs +12 -0
- package/node_modules/@discord/embedded-app-sdk/output/error.d.ts +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/error.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.cjs +408 -0
- package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.d.ts +2227 -0
- package/node_modules/@discord/embedded-app-sdk/output/generated/schemas.mjs +387 -0
- package/node_modules/@discord/embedded-app-sdk/output/index.cjs +44 -0
- package/node_modules/@discord/embedded-app-sdk/output/index.d.ts +17 -0
- package/node_modules/@discord/embedded-app-sdk/output/index.mjs +14 -0
- package/node_modules/@discord/embedded-app-sdk/output/interface.d.ts +35 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/big-integer/BigInteger.cjs +1460 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/big-integer/BigInteger.mjs +1458 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/decimal.js-light/decimal.cjs +1991 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/decimal.js-light/decimal.mjs +1987 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index.cjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index.mjs +5 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index2.cjs +350 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/eventemitter3/index2.mjs +348 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/lodash.transform/index.cjs +2343 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/lodash.transform/index.mjs +2341 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/tslib/tslib.es6.cjs +37 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/tslib/tslib.es6.mjs +35 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/native.cjs +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/native.mjs +4 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/rng.cjs +17 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/rng.mjs +13 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/stringify.cjs +30 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/stringify.mjs +28 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/v4.cjs +23 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/uuid/dist/esm-browser/v4.mjs +19 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.cjs +4342 -0
- package/node_modules/@discord/embedded-app-sdk/output/lib/zod/lib/index.mjs +4233 -0
- package/node_modules/@discord/embedded-app-sdk/output/mock.cjs +181 -0
- package/node_modules/@discord/embedded-app-sdk/output/mock.d.ts +579 -0
- package/node_modules/@discord/embedded-app-sdk/output/mock.mjs +178 -0
- package/node_modules/@discord/embedded-app-sdk/output/package.json.cjs +5 -0
- package/node_modules/@discord/embedded-app-sdk/output/package.json.mjs +3 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/common.cjs +587 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/common.d.ts +5141 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/common.mjs +531 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/events.cjs +221 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/events.d.ts +3832 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/events.mjs +213 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/index.cjs +47 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/index.d.ts +59 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/index.mjs +44 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/responses.cjs +189 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/responses.d.ts +7224 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/responses.mjs +163 -0
- package/node_modules/@discord/embedded-app-sdk/output/schema/types.d.ts +61 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.cjs +235 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.d.ts +59 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/BigFlagUtils.mjs +231 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.cjs +14 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.d.ts +6 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/PermissionUtils.mjs +10 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.cjs +373 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.d.ts +368 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceConstants.mjs +371 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.cjs +26 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.d.ts +8 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/PriceUtils.mjs +22 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.cjs +13 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.d.ts +5 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/assertUnreachable.mjs +9 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.cjs +37 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.d.ts +9 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/commandFactory.mjs +34 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.cjs +39 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.d.ts +15 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/compatCommandFactory.mjs +35 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/console.cjs +19 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/console.d.ts +3 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/console.mjs +16 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.cjs +11 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.d.ts +2 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/getDefaultSdkConfiguration.mjs +7 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.cjs +153 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.d.ts +17 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/patchUrlMappings.mjs +150 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/url.cjs +62 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/url.d.ts +17 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/url.mjs +59 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.cjs +44 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.d.ts +28 -0
- package/node_modules/@discord/embedded-app-sdk/output/utils/zodUtils.mjs +41 -0
- package/node_modules/@discord/embedded-app-sdk/package.json +88 -0
- package/node_modules/@types/lodash/LICENSE +21 -0
- package/node_modules/@types/lodash/README.md +15 -0
- package/node_modules/@types/lodash/add.d.ts +2 -0
- package/node_modules/@types/lodash/after.d.ts +2 -0
- package/node_modules/@types/lodash/ary.d.ts +2 -0
- package/node_modules/@types/lodash/assign.d.ts +2 -0
- package/node_modules/@types/lodash/assignIn.d.ts +2 -0
- package/node_modules/@types/lodash/assignInWith.d.ts +2 -0
- package/node_modules/@types/lodash/assignWith.d.ts +2 -0
- package/node_modules/@types/lodash/at.d.ts +2 -0
- package/node_modules/@types/lodash/attempt.d.ts +2 -0
- package/node_modules/@types/lodash/before.d.ts +2 -0
- package/node_modules/@types/lodash/bind.d.ts +2 -0
- package/node_modules/@types/lodash/bindAll.d.ts +2 -0
- package/node_modules/@types/lodash/bindKey.d.ts +2 -0
- package/node_modules/@types/lodash/camelCase.d.ts +2 -0
- package/node_modules/@types/lodash/capitalize.d.ts +2 -0
- package/node_modules/@types/lodash/castArray.d.ts +2 -0
- package/node_modules/@types/lodash/ceil.d.ts +2 -0
- package/node_modules/@types/lodash/chain.d.ts +2 -0
- package/node_modules/@types/lodash/chunk.d.ts +2 -0
- package/node_modules/@types/lodash/clamp.d.ts +2 -0
- package/node_modules/@types/lodash/clone.d.ts +2 -0
- package/node_modules/@types/lodash/cloneDeep.d.ts +2 -0
- package/node_modules/@types/lodash/cloneDeepWith.d.ts +2 -0
- package/node_modules/@types/lodash/cloneWith.d.ts +2 -0
- package/node_modules/@types/lodash/common/array.d.ts +2160 -0
- package/node_modules/@types/lodash/common/collection.d.ts +1938 -0
- package/node_modules/@types/lodash/common/common.d.ts +287 -0
- package/node_modules/@types/lodash/common/date.d.ts +23 -0
- package/node_modules/@types/lodash/common/function.d.ts +1455 -0
- package/node_modules/@types/lodash/common/lang.d.ts +1696 -0
- package/node_modules/@types/lodash/common/math.d.ts +407 -0
- package/node_modules/@types/lodash/common/number.d.ts +131 -0
- package/node_modules/@types/lodash/common/object.d.ts +2643 -0
- package/node_modules/@types/lodash/common/seq.d.ts +210 -0
- package/node_modules/@types/lodash/common/string.d.ts +788 -0
- package/node_modules/@types/lodash/common/util.d.ts +1220 -0
- package/node_modules/@types/lodash/compact.d.ts +2 -0
- package/node_modules/@types/lodash/concat.d.ts +2 -0
- package/node_modules/@types/lodash/cond.d.ts +2 -0
- package/node_modules/@types/lodash/conformsTo.d.ts +2 -0
- package/node_modules/@types/lodash/constant.d.ts +2 -0
- package/node_modules/@types/lodash/countBy.d.ts +2 -0
- package/node_modules/@types/lodash/create.d.ts +2 -0
- package/node_modules/@types/lodash/curry.d.ts +2 -0
- package/node_modules/@types/lodash/curryRight.d.ts +2 -0
- package/node_modules/@types/lodash/debounce.d.ts +2 -0
- package/node_modules/@types/lodash/deburr.d.ts +2 -0
- package/node_modules/@types/lodash/defaultTo.d.ts +2 -0
- package/node_modules/@types/lodash/defaults.d.ts +2 -0
- package/node_modules/@types/lodash/defaultsDeep.d.ts +2 -0
- package/node_modules/@types/lodash/defer.d.ts +2 -0
- package/node_modules/@types/lodash/delay.d.ts +2 -0
- package/node_modules/@types/lodash/difference.d.ts +2 -0
- package/node_modules/@types/lodash/differenceBy.d.ts +2 -0
- package/node_modules/@types/lodash/differenceWith.d.ts +2 -0
- package/node_modules/@types/lodash/divide.d.ts +2 -0
- package/node_modules/@types/lodash/drop.d.ts +2 -0
- package/node_modules/@types/lodash/dropRight.d.ts +2 -0
- package/node_modules/@types/lodash/dropRightWhile.d.ts +2 -0
- package/node_modules/@types/lodash/dropWhile.d.ts +2 -0
- package/node_modules/@types/lodash/each.d.ts +2 -0
- package/node_modules/@types/lodash/eachRight.d.ts +2 -0
- package/node_modules/@types/lodash/endsWith.d.ts +2 -0
- package/node_modules/@types/lodash/entries.d.ts +2 -0
- package/node_modules/@types/lodash/entriesIn.d.ts +2 -0
- package/node_modules/@types/lodash/eq.d.ts +2 -0
- package/node_modules/@types/lodash/escape.d.ts +2 -0
- package/node_modules/@types/lodash/escapeRegExp.d.ts +2 -0
- package/node_modules/@types/lodash/every.d.ts +2 -0
- package/node_modules/@types/lodash/extend.d.ts +2 -0
- package/node_modules/@types/lodash/extendWith.d.ts +2 -0
- package/node_modules/@types/lodash/fill.d.ts +2 -0
- package/node_modules/@types/lodash/filter.d.ts +2 -0
- package/node_modules/@types/lodash/find.d.ts +2 -0
- package/node_modules/@types/lodash/findIndex.d.ts +2 -0
- package/node_modules/@types/lodash/findKey.d.ts +2 -0
- package/node_modules/@types/lodash/findLast.d.ts +2 -0
- package/node_modules/@types/lodash/findLastIndex.d.ts +2 -0
- package/node_modules/@types/lodash/findLastKey.d.ts +2 -0
- package/node_modules/@types/lodash/first.d.ts +2 -0
- package/node_modules/@types/lodash/flatMap.d.ts +2 -0
- package/node_modules/@types/lodash/flatMapDeep.d.ts +2 -0
- package/node_modules/@types/lodash/flatMapDepth.d.ts +2 -0
- package/node_modules/@types/lodash/flatten.d.ts +2 -0
- package/node_modules/@types/lodash/flattenDeep.d.ts +2 -0
- package/node_modules/@types/lodash/flattenDepth.d.ts +2 -0
- package/node_modules/@types/lodash/flip.d.ts +2 -0
- package/node_modules/@types/lodash/floor.d.ts +2 -0
- package/node_modules/@types/lodash/flow.d.ts +2 -0
- package/node_modules/@types/lodash/flowRight.d.ts +2 -0
- package/node_modules/@types/lodash/forEach.d.ts +2 -0
- package/node_modules/@types/lodash/forEachRight.d.ts +2 -0
- package/node_modules/@types/lodash/forIn.d.ts +2 -0
- package/node_modules/@types/lodash/forInRight.d.ts +2 -0
- package/node_modules/@types/lodash/forOwn.d.ts +2 -0
- package/node_modules/@types/lodash/forOwnRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/F.d.ts +2 -0
- package/node_modules/@types/lodash/fp/T.d.ts +2 -0
- package/node_modules/@types/lodash/fp/__.d.ts +3 -0
- package/node_modules/@types/lodash/fp/add.d.ts +2 -0
- package/node_modules/@types/lodash/fp/after.d.ts +2 -0
- package/node_modules/@types/lodash/fp/all.d.ts +2 -0
- package/node_modules/@types/lodash/fp/allPass.d.ts +2 -0
- package/node_modules/@types/lodash/fp/always.d.ts +2 -0
- package/node_modules/@types/lodash/fp/any.d.ts +2 -0
- package/node_modules/@types/lodash/fp/anyPass.d.ts +2 -0
- package/node_modules/@types/lodash/fp/apply.d.ts +2 -0
- package/node_modules/@types/lodash/fp/ary.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assign.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assignAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assignAllWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assignIn.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assignInAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assignInAllWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assignInWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assignWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assoc.d.ts +2 -0
- package/node_modules/@types/lodash/fp/assocPath.d.ts +2 -0
- package/node_modules/@types/lodash/fp/at.d.ts +2 -0
- package/node_modules/@types/lodash/fp/attempt.d.ts +2 -0
- package/node_modules/@types/lodash/fp/before.d.ts +2 -0
- package/node_modules/@types/lodash/fp/bind.d.ts +2 -0
- package/node_modules/@types/lodash/fp/bindAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/bindKey.d.ts +2 -0
- package/node_modules/@types/lodash/fp/camelCase.d.ts +2 -0
- package/node_modules/@types/lodash/fp/capitalize.d.ts +2 -0
- package/node_modules/@types/lodash/fp/castArray.d.ts +2 -0
- package/node_modules/@types/lodash/fp/ceil.d.ts +2 -0
- package/node_modules/@types/lodash/fp/chunk.d.ts +2 -0
- package/node_modules/@types/lodash/fp/clamp.d.ts +2 -0
- package/node_modules/@types/lodash/fp/clone.d.ts +2 -0
- package/node_modules/@types/lodash/fp/cloneDeep.d.ts +2 -0
- package/node_modules/@types/lodash/fp/cloneDeepWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/cloneWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/compact.d.ts +2 -0
- package/node_modules/@types/lodash/fp/complement.d.ts +2 -0
- package/node_modules/@types/lodash/fp/compose.d.ts +2 -0
- package/node_modules/@types/lodash/fp/concat.d.ts +2 -0
- package/node_modules/@types/lodash/fp/cond.d.ts +2 -0
- package/node_modules/@types/lodash/fp/conforms.d.ts +2 -0
- package/node_modules/@types/lodash/fp/conformsTo.d.ts +2 -0
- package/node_modules/@types/lodash/fp/constant.d.ts +2 -0
- package/node_modules/@types/lodash/fp/contains.d.ts +2 -0
- package/node_modules/@types/lodash/fp/convert.d.ts +15 -0
- package/node_modules/@types/lodash/fp/countBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/create.d.ts +2 -0
- package/node_modules/@types/lodash/fp/curry.d.ts +2 -0
- package/node_modules/@types/lodash/fp/curryN.d.ts +2 -0
- package/node_modules/@types/lodash/fp/curryRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/curryRightN.d.ts +2 -0
- package/node_modules/@types/lodash/fp/debounce.d.ts +2 -0
- package/node_modules/@types/lodash/fp/deburr.d.ts +2 -0
- package/node_modules/@types/lodash/fp/defaultTo.d.ts +2 -0
- package/node_modules/@types/lodash/fp/defaults.d.ts +2 -0
- package/node_modules/@types/lodash/fp/defaultsAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/defaultsDeep.d.ts +2 -0
- package/node_modules/@types/lodash/fp/defaultsDeepAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/defer.d.ts +2 -0
- package/node_modules/@types/lodash/fp/delay.d.ts +2 -0
- package/node_modules/@types/lodash/fp/difference.d.ts +2 -0
- package/node_modules/@types/lodash/fp/differenceBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/differenceWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/dissoc.d.ts +2 -0
- package/node_modules/@types/lodash/fp/dissocPath.d.ts +2 -0
- package/node_modules/@types/lodash/fp/divide.d.ts +2 -0
- package/node_modules/@types/lodash/fp/drop.d.ts +2 -0
- package/node_modules/@types/lodash/fp/dropLast.d.ts +2 -0
- package/node_modules/@types/lodash/fp/dropLastWhile.d.ts +2 -0
- package/node_modules/@types/lodash/fp/dropRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/dropRightWhile.d.ts +2 -0
- package/node_modules/@types/lodash/fp/dropWhile.d.ts +2 -0
- package/node_modules/@types/lodash/fp/each.d.ts +2 -0
- package/node_modules/@types/lodash/fp/eachRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/endsWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/entries.d.ts +2 -0
- package/node_modules/@types/lodash/fp/entriesIn.d.ts +2 -0
- package/node_modules/@types/lodash/fp/eq.d.ts +2 -0
- package/node_modules/@types/lodash/fp/equals.d.ts +2 -0
- package/node_modules/@types/lodash/fp/escape.d.ts +2 -0
- package/node_modules/@types/lodash/fp/escapeRegExp.d.ts +2 -0
- package/node_modules/@types/lodash/fp/every.d.ts +2 -0
- package/node_modules/@types/lodash/fp/extend.d.ts +2 -0
- package/node_modules/@types/lodash/fp/extendAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/extendAllWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/extendWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/fill.d.ts +2 -0
- package/node_modules/@types/lodash/fp/filter.d.ts +2 -0
- package/node_modules/@types/lodash/fp/find.d.ts +2 -0
- package/node_modules/@types/lodash/fp/findFrom.d.ts +2 -0
- package/node_modules/@types/lodash/fp/findIndex.d.ts +2 -0
- package/node_modules/@types/lodash/fp/findIndexFrom.d.ts +2 -0
- package/node_modules/@types/lodash/fp/findKey.d.ts +2 -0
- package/node_modules/@types/lodash/fp/findLast.d.ts +2 -0
- package/node_modules/@types/lodash/fp/findLastFrom.d.ts +2 -0
- package/node_modules/@types/lodash/fp/findLastIndex.d.ts +2 -0
- package/node_modules/@types/lodash/fp/findLastIndexFrom.d.ts +2 -0
- package/node_modules/@types/lodash/fp/findLastKey.d.ts +2 -0
- package/node_modules/@types/lodash/fp/first.d.ts +2 -0
- package/node_modules/@types/lodash/fp/flatMap.d.ts +2 -0
- package/node_modules/@types/lodash/fp/flatMapDeep.d.ts +2 -0
- package/node_modules/@types/lodash/fp/flatMapDepth.d.ts +2 -0
- package/node_modules/@types/lodash/fp/flatten.d.ts +2 -0
- package/node_modules/@types/lodash/fp/flattenDeep.d.ts +2 -0
- package/node_modules/@types/lodash/fp/flattenDepth.d.ts +2 -0
- package/node_modules/@types/lodash/fp/flip.d.ts +2 -0
- package/node_modules/@types/lodash/fp/floor.d.ts +2 -0
- package/node_modules/@types/lodash/fp/flow.d.ts +2 -0
- package/node_modules/@types/lodash/fp/flowRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/forEach.d.ts +2 -0
- package/node_modules/@types/lodash/fp/forEachRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/forIn.d.ts +2 -0
- package/node_modules/@types/lodash/fp/forInRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/forOwn.d.ts +2 -0
- package/node_modules/@types/lodash/fp/forOwnRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/fromPairs.d.ts +2 -0
- package/node_modules/@types/lodash/fp/functions.d.ts +2 -0
- package/node_modules/@types/lodash/fp/functionsIn.d.ts +2 -0
- package/node_modules/@types/lodash/fp/get.d.ts +2 -0
- package/node_modules/@types/lodash/fp/getOr.d.ts +2 -0
- package/node_modules/@types/lodash/fp/groupBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/gt.d.ts +2 -0
- package/node_modules/@types/lodash/fp/gte.d.ts +2 -0
- package/node_modules/@types/lodash/fp/has.d.ts +2 -0
- package/node_modules/@types/lodash/fp/hasIn.d.ts +2 -0
- package/node_modules/@types/lodash/fp/head.d.ts +2 -0
- package/node_modules/@types/lodash/fp/identical.d.ts +2 -0
- package/node_modules/@types/lodash/fp/identity.d.ts +2 -0
- package/node_modules/@types/lodash/fp/inRange.d.ts +2 -0
- package/node_modules/@types/lodash/fp/includes.d.ts +2 -0
- package/node_modules/@types/lodash/fp/includesFrom.d.ts +2 -0
- package/node_modules/@types/lodash/fp/indexBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/indexOf.d.ts +2 -0
- package/node_modules/@types/lodash/fp/indexOfFrom.d.ts +2 -0
- package/node_modules/@types/lodash/fp/init.d.ts +2 -0
- package/node_modules/@types/lodash/fp/initial.d.ts +2 -0
- package/node_modules/@types/lodash/fp/intersection.d.ts +2 -0
- package/node_modules/@types/lodash/fp/intersectionBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/intersectionWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/invert.d.ts +2 -0
- package/node_modules/@types/lodash/fp/invertBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/invertObj.d.ts +2 -0
- package/node_modules/@types/lodash/fp/invoke.d.ts +2 -0
- package/node_modules/@types/lodash/fp/invokeArgs.d.ts +2 -0
- package/node_modules/@types/lodash/fp/invokeArgsMap.d.ts +2 -0
- package/node_modules/@types/lodash/fp/invokeMap.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isArguments.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isArray.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isArrayBuffer.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isArrayLike.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isArrayLikeObject.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isBoolean.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isBuffer.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isDate.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isElement.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isEmpty.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isEqual.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isEqualWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isError.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isFinite.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isFunction.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isInteger.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isLength.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isMap.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isMatch.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isMatchWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isNaN.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isNative.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isNil.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isNull.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isNumber.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isObject.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isObjectLike.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isPlainObject.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isRegExp.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isSafeInteger.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isSet.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isString.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isSymbol.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isTypedArray.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isUndefined.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isWeakMap.d.ts +2 -0
- package/node_modules/@types/lodash/fp/isWeakSet.d.ts +2 -0
- package/node_modules/@types/lodash/fp/iteratee.d.ts +2 -0
- package/node_modules/@types/lodash/fp/join.d.ts +2 -0
- package/node_modules/@types/lodash/fp/juxt.d.ts +2 -0
- package/node_modules/@types/lodash/fp/kebabCase.d.ts +2 -0
- package/node_modules/@types/lodash/fp/keyBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/keys.d.ts +2 -0
- package/node_modules/@types/lodash/fp/keysIn.d.ts +2 -0
- package/node_modules/@types/lodash/fp/last.d.ts +2 -0
- package/node_modules/@types/lodash/fp/lastIndexOf.d.ts +2 -0
- package/node_modules/@types/lodash/fp/lastIndexOfFrom.d.ts +2 -0
- package/node_modules/@types/lodash/fp/lowerCase.d.ts +2 -0
- package/node_modules/@types/lodash/fp/lowerFirst.d.ts +2 -0
- package/node_modules/@types/lodash/fp/lt.d.ts +2 -0
- package/node_modules/@types/lodash/fp/lte.d.ts +2 -0
- package/node_modules/@types/lodash/fp/map.d.ts +2 -0
- package/node_modules/@types/lodash/fp/mapKeys.d.ts +2 -0
- package/node_modules/@types/lodash/fp/mapValues.d.ts +2 -0
- package/node_modules/@types/lodash/fp/matches.d.ts +2 -0
- package/node_modules/@types/lodash/fp/matchesProperty.d.ts +2 -0
- package/node_modules/@types/lodash/fp/max.d.ts +2 -0
- package/node_modules/@types/lodash/fp/maxBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/mean.d.ts +2 -0
- package/node_modules/@types/lodash/fp/meanBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/memoize.d.ts +2 -0
- package/node_modules/@types/lodash/fp/merge.d.ts +2 -0
- package/node_modules/@types/lodash/fp/mergeAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/mergeAllWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/mergeWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/method.d.ts +2 -0
- package/node_modules/@types/lodash/fp/methodOf.d.ts +2 -0
- package/node_modules/@types/lodash/fp/min.d.ts +2 -0
- package/node_modules/@types/lodash/fp/minBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/multiply.d.ts +2 -0
- package/node_modules/@types/lodash/fp/nAry.d.ts +2 -0
- package/node_modules/@types/lodash/fp/negate.d.ts +2 -0
- package/node_modules/@types/lodash/fp/noConflict.d.ts +2 -0
- package/node_modules/@types/lodash/fp/noop.d.ts +2 -0
- package/node_modules/@types/lodash/fp/now.d.ts +2 -0
- package/node_modules/@types/lodash/fp/nth.d.ts +2 -0
- package/node_modules/@types/lodash/fp/nthArg.d.ts +2 -0
- package/node_modules/@types/lodash/fp/omit.d.ts +2 -0
- package/node_modules/@types/lodash/fp/omitAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/omitBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/once.d.ts +2 -0
- package/node_modules/@types/lodash/fp/orderBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/over.d.ts +2 -0
- package/node_modules/@types/lodash/fp/overArgs.d.ts +2 -0
- package/node_modules/@types/lodash/fp/overEvery.d.ts +2 -0
- package/node_modules/@types/lodash/fp/overSome.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pad.d.ts +2 -0
- package/node_modules/@types/lodash/fp/padChars.d.ts +2 -0
- package/node_modules/@types/lodash/fp/padCharsEnd.d.ts +2 -0
- package/node_modules/@types/lodash/fp/padCharsStart.d.ts +2 -0
- package/node_modules/@types/lodash/fp/padEnd.d.ts +2 -0
- package/node_modules/@types/lodash/fp/padStart.d.ts +2 -0
- package/node_modules/@types/lodash/fp/parseInt.d.ts +2 -0
- package/node_modules/@types/lodash/fp/partial.d.ts +2 -0
- package/node_modules/@types/lodash/fp/partialRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/partition.d.ts +2 -0
- package/node_modules/@types/lodash/fp/path.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pathEq.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pathOr.d.ts +2 -0
- package/node_modules/@types/lodash/fp/paths.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pick.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pickAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pickBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pipe.d.ts +2 -0
- package/node_modules/@types/lodash/fp/placeholder.d.ts +3 -0
- package/node_modules/@types/lodash/fp/pluck.d.ts +2 -0
- package/node_modules/@types/lodash/fp/prop.d.ts +2 -0
- package/node_modules/@types/lodash/fp/propEq.d.ts +2 -0
- package/node_modules/@types/lodash/fp/propOr.d.ts +2 -0
- package/node_modules/@types/lodash/fp/property.d.ts +2 -0
- package/node_modules/@types/lodash/fp/propertyOf.d.ts +2 -0
- package/node_modules/@types/lodash/fp/props.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pull.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pullAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pullAllBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pullAllWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/pullAt.d.ts +2 -0
- package/node_modules/@types/lodash/fp/random.d.ts +2 -0
- package/node_modules/@types/lodash/fp/range.d.ts +2 -0
- package/node_modules/@types/lodash/fp/rangeRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/rangeStep.d.ts +2 -0
- package/node_modules/@types/lodash/fp/rangeStepRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/rearg.d.ts +2 -0
- package/node_modules/@types/lodash/fp/reduce.d.ts +2 -0
- package/node_modules/@types/lodash/fp/reduceRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/reject.d.ts +2 -0
- package/node_modules/@types/lodash/fp/remove.d.ts +2 -0
- package/node_modules/@types/lodash/fp/repeat.d.ts +2 -0
- package/node_modules/@types/lodash/fp/replace.d.ts +2 -0
- package/node_modules/@types/lodash/fp/rest.d.ts +2 -0
- package/node_modules/@types/lodash/fp/restFrom.d.ts +2 -0
- package/node_modules/@types/lodash/fp/result.d.ts +2 -0
- package/node_modules/@types/lodash/fp/reverse.d.ts +2 -0
- package/node_modules/@types/lodash/fp/round.d.ts +2 -0
- package/node_modules/@types/lodash/fp/runInContext.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sample.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sampleSize.d.ts +2 -0
- package/node_modules/@types/lodash/fp/set.d.ts +2 -0
- package/node_modules/@types/lodash/fp/setWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/shuffle.d.ts +2 -0
- package/node_modules/@types/lodash/fp/size.d.ts +2 -0
- package/node_modules/@types/lodash/fp/slice.d.ts +2 -0
- package/node_modules/@types/lodash/fp/snakeCase.d.ts +2 -0
- package/node_modules/@types/lodash/fp/some.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sortBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sortedIndex.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sortedIndexBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sortedIndexOf.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sortedLastIndex.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sortedLastIndexBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sortedLastIndexOf.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sortedUniq.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sortedUniqBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/split.d.ts +2 -0
- package/node_modules/@types/lodash/fp/spread.d.ts +2 -0
- package/node_modules/@types/lodash/fp/spreadFrom.d.ts +2 -0
- package/node_modules/@types/lodash/fp/startCase.d.ts +2 -0
- package/node_modules/@types/lodash/fp/startsWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/stubArray.d.ts +2 -0
- package/node_modules/@types/lodash/fp/stubFalse.d.ts +2 -0
- package/node_modules/@types/lodash/fp/stubObject.d.ts +2 -0
- package/node_modules/@types/lodash/fp/stubString.d.ts +2 -0
- package/node_modules/@types/lodash/fp/stubTrue.d.ts +2 -0
- package/node_modules/@types/lodash/fp/subtract.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sum.d.ts +2 -0
- package/node_modules/@types/lodash/fp/sumBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/symmetricDifference.d.ts +2 -0
- package/node_modules/@types/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/tail.d.ts +2 -0
- package/node_modules/@types/lodash/fp/take.d.ts +2 -0
- package/node_modules/@types/lodash/fp/takeLast.d.ts +2 -0
- package/node_modules/@types/lodash/fp/takeLastWhile.d.ts +2 -0
- package/node_modules/@types/lodash/fp/takeRight.d.ts +2 -0
- package/node_modules/@types/lodash/fp/takeRightWhile.d.ts +2 -0
- package/node_modules/@types/lodash/fp/takeWhile.d.ts +2 -0
- package/node_modules/@types/lodash/fp/tap.d.ts +2 -0
- package/node_modules/@types/lodash/fp/template.d.ts +2 -0
- package/node_modules/@types/lodash/fp/throttle.d.ts +2 -0
- package/node_modules/@types/lodash/fp/thru.d.ts +2 -0
- package/node_modules/@types/lodash/fp/times.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toArray.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toFinite.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toInteger.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toLength.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toLower.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toNumber.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toPairs.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toPairsIn.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toPath.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toPlainObject.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toSafeInteger.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toString.d.ts +2 -0
- package/node_modules/@types/lodash/fp/toUpper.d.ts +2 -0
- package/node_modules/@types/lodash/fp/transform.d.ts +2 -0
- package/node_modules/@types/lodash/fp/trim.d.ts +2 -0
- package/node_modules/@types/lodash/fp/trimChars.d.ts +2 -0
- package/node_modules/@types/lodash/fp/trimCharsEnd.d.ts +2 -0
- package/node_modules/@types/lodash/fp/trimCharsStart.d.ts +2 -0
- package/node_modules/@types/lodash/fp/trimEnd.d.ts +2 -0
- package/node_modules/@types/lodash/fp/trimStart.d.ts +2 -0
- package/node_modules/@types/lodash/fp/truncate.d.ts +2 -0
- package/node_modules/@types/lodash/fp/unapply.d.ts +2 -0
- package/node_modules/@types/lodash/fp/unary.d.ts +2 -0
- package/node_modules/@types/lodash/fp/unescape.d.ts +2 -0
- package/node_modules/@types/lodash/fp/union.d.ts +2 -0
- package/node_modules/@types/lodash/fp/unionBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/unionWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/uniq.d.ts +2 -0
- package/node_modules/@types/lodash/fp/uniqBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/uniqWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/uniqueId.d.ts +2 -0
- package/node_modules/@types/lodash/fp/unnest.d.ts +2 -0
- package/node_modules/@types/lodash/fp/unset.d.ts +2 -0
- package/node_modules/@types/lodash/fp/unzip.d.ts +2 -0
- package/node_modules/@types/lodash/fp/unzipWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/update.d.ts +2 -0
- package/node_modules/@types/lodash/fp/updateWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/upperCase.d.ts +2 -0
- package/node_modules/@types/lodash/fp/upperFirst.d.ts +2 -0
- package/node_modules/@types/lodash/fp/useWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/values.d.ts +2 -0
- package/node_modules/@types/lodash/fp/valuesIn.d.ts +2 -0
- package/node_modules/@types/lodash/fp/where.d.ts +2 -0
- package/node_modules/@types/lodash/fp/whereEq.d.ts +2 -0
- package/node_modules/@types/lodash/fp/without.d.ts +2 -0
- package/node_modules/@types/lodash/fp/words.d.ts +2 -0
- package/node_modules/@types/lodash/fp/wrap.d.ts +2 -0
- package/node_modules/@types/lodash/fp/xor.d.ts +2 -0
- package/node_modules/@types/lodash/fp/xorBy.d.ts +2 -0
- package/node_modules/@types/lodash/fp/xorWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp/zip.d.ts +2 -0
- package/node_modules/@types/lodash/fp/zipAll.d.ts +2 -0
- package/node_modules/@types/lodash/fp/zipObj.d.ts +2 -0
- package/node_modules/@types/lodash/fp/zipObject.d.ts +2 -0
- package/node_modules/@types/lodash/fp/zipObjectDeep.d.ts +2 -0
- package/node_modules/@types/lodash/fp/zipWith.d.ts +2 -0
- package/node_modules/@types/lodash/fp.d.ts +4962 -0
- package/node_modules/@types/lodash/fromPairs.d.ts +2 -0
- package/node_modules/@types/lodash/functions.d.ts +2 -0
- package/node_modules/@types/lodash/functionsIn.d.ts +2 -0
- package/node_modules/@types/lodash/get.d.ts +2 -0
- package/node_modules/@types/lodash/groupBy.d.ts +2 -0
- package/node_modules/@types/lodash/gt.d.ts +2 -0
- package/node_modules/@types/lodash/gte.d.ts +2 -0
- package/node_modules/@types/lodash/has.d.ts +2 -0
- package/node_modules/@types/lodash/hasIn.d.ts +2 -0
- package/node_modules/@types/lodash/head.d.ts +2 -0
- package/node_modules/@types/lodash/identity.d.ts +2 -0
- package/node_modules/@types/lodash/inRange.d.ts +2 -0
- package/node_modules/@types/lodash/includes.d.ts +2 -0
- package/node_modules/@types/lodash/index.d.ts +21 -0
- package/node_modules/@types/lodash/indexOf.d.ts +2 -0
- package/node_modules/@types/lodash/initial.d.ts +2 -0
- package/node_modules/@types/lodash/intersection.d.ts +2 -0
- package/node_modules/@types/lodash/intersectionBy.d.ts +2 -0
- package/node_modules/@types/lodash/intersectionWith.d.ts +2 -0
- package/node_modules/@types/lodash/invert.d.ts +2 -0
- package/node_modules/@types/lodash/invertBy.d.ts +2 -0
- package/node_modules/@types/lodash/invoke.d.ts +2 -0
- package/node_modules/@types/lodash/invokeMap.d.ts +2 -0
- package/node_modules/@types/lodash/isArguments.d.ts +2 -0
- package/node_modules/@types/lodash/isArray.d.ts +2 -0
- package/node_modules/@types/lodash/isArrayBuffer.d.ts +2 -0
- package/node_modules/@types/lodash/isArrayLike.d.ts +2 -0
- package/node_modules/@types/lodash/isArrayLikeObject.d.ts +2 -0
- package/node_modules/@types/lodash/isBoolean.d.ts +2 -0
- package/node_modules/@types/lodash/isBuffer.d.ts +2 -0
- package/node_modules/@types/lodash/isDate.d.ts +2 -0
- package/node_modules/@types/lodash/isElement.d.ts +2 -0
- package/node_modules/@types/lodash/isEmpty.d.ts +2 -0
- package/node_modules/@types/lodash/isEqual.d.ts +2 -0
- package/node_modules/@types/lodash/isEqualWith.d.ts +2 -0
- package/node_modules/@types/lodash/isError.d.ts +2 -0
- package/node_modules/@types/lodash/isFinite.d.ts +2 -0
- package/node_modules/@types/lodash/isFunction.d.ts +2 -0
- package/node_modules/@types/lodash/isInteger.d.ts +2 -0
- package/node_modules/@types/lodash/isLength.d.ts +2 -0
- package/node_modules/@types/lodash/isMap.d.ts +2 -0
- package/node_modules/@types/lodash/isMatch.d.ts +2 -0
- package/node_modules/@types/lodash/isMatchWith.d.ts +2 -0
- package/node_modules/@types/lodash/isNaN.d.ts +2 -0
- package/node_modules/@types/lodash/isNative.d.ts +2 -0
- package/node_modules/@types/lodash/isNil.d.ts +2 -0
- package/node_modules/@types/lodash/isNull.d.ts +2 -0
- package/node_modules/@types/lodash/isNumber.d.ts +2 -0
- package/node_modules/@types/lodash/isObject.d.ts +2 -0
- package/node_modules/@types/lodash/isObjectLike.d.ts +2 -0
- package/node_modules/@types/lodash/isPlainObject.d.ts +2 -0
- package/node_modules/@types/lodash/isRegExp.d.ts +2 -0
- package/node_modules/@types/lodash/isSafeInteger.d.ts +2 -0
- package/node_modules/@types/lodash/isSet.d.ts +2 -0
- package/node_modules/@types/lodash/isString.d.ts +2 -0
- package/node_modules/@types/lodash/isSymbol.d.ts +2 -0
- package/node_modules/@types/lodash/isTypedArray.d.ts +2 -0
- package/node_modules/@types/lodash/isUndefined.d.ts +2 -0
- package/node_modules/@types/lodash/isWeakMap.d.ts +2 -0
- package/node_modules/@types/lodash/isWeakSet.d.ts +2 -0
- package/node_modules/@types/lodash/iteratee.d.ts +2 -0
- package/node_modules/@types/lodash/join.d.ts +2 -0
- package/node_modules/@types/lodash/kebabCase.d.ts +2 -0
- package/node_modules/@types/lodash/keyBy.d.ts +2 -0
- package/node_modules/@types/lodash/keys.d.ts +2 -0
- package/node_modules/@types/lodash/keysIn.d.ts +2 -0
- package/node_modules/@types/lodash/last.d.ts +2 -0
- package/node_modules/@types/lodash/lastIndexOf.d.ts +2 -0
- package/node_modules/@types/lodash/lowerCase.d.ts +2 -0
- package/node_modules/@types/lodash/lowerFirst.d.ts +2 -0
- package/node_modules/@types/lodash/lt.d.ts +2 -0
- package/node_modules/@types/lodash/lte.d.ts +2 -0
- package/node_modules/@types/lodash/map.d.ts +2 -0
- package/node_modules/@types/lodash/mapKeys.d.ts +2 -0
- package/node_modules/@types/lodash/mapValues.d.ts +2 -0
- package/node_modules/@types/lodash/matches.d.ts +2 -0
- package/node_modules/@types/lodash/matchesProperty.d.ts +2 -0
- package/node_modules/@types/lodash/max.d.ts +2 -0
- package/node_modules/@types/lodash/maxBy.d.ts +2 -0
- package/node_modules/@types/lodash/mean.d.ts +2 -0
- package/node_modules/@types/lodash/meanBy.d.ts +2 -0
- package/node_modules/@types/lodash/memoize.d.ts +2 -0
- package/node_modules/@types/lodash/merge.d.ts +2 -0
- package/node_modules/@types/lodash/mergeWith.d.ts +2 -0
- package/node_modules/@types/lodash/method.d.ts +2 -0
- package/node_modules/@types/lodash/methodOf.d.ts +2 -0
- package/node_modules/@types/lodash/min.d.ts +2 -0
- package/node_modules/@types/lodash/minBy.d.ts +2 -0
- package/node_modules/@types/lodash/mixin.d.ts +2 -0
- package/node_modules/@types/lodash/multiply.d.ts +2 -0
- package/node_modules/@types/lodash/negate.d.ts +2 -0
- package/node_modules/@types/lodash/noConflict.d.ts +2 -0
- package/node_modules/@types/lodash/noop.d.ts +2 -0
- package/node_modules/@types/lodash/now.d.ts +2 -0
- package/node_modules/@types/lodash/nth.d.ts +2 -0
- package/node_modules/@types/lodash/nthArg.d.ts +2 -0
- package/node_modules/@types/lodash/omit.d.ts +2 -0
- package/node_modules/@types/lodash/omitBy.d.ts +2 -0
- package/node_modules/@types/lodash/once.d.ts +2 -0
- package/node_modules/@types/lodash/orderBy.d.ts +2 -0
- package/node_modules/@types/lodash/over.d.ts +2 -0
- package/node_modules/@types/lodash/overArgs.d.ts +2 -0
- package/node_modules/@types/lodash/overEvery.d.ts +2 -0
- package/node_modules/@types/lodash/overSome.d.ts +2 -0
- package/node_modules/@types/lodash/package.json +56 -0
- package/node_modules/@types/lodash/pad.d.ts +2 -0
- package/node_modules/@types/lodash/padEnd.d.ts +2 -0
- package/node_modules/@types/lodash/padStart.d.ts +2 -0
- package/node_modules/@types/lodash/parseInt.d.ts +2 -0
- package/node_modules/@types/lodash/partial.d.ts +2 -0
- package/node_modules/@types/lodash/partialRight.d.ts +2 -0
- package/node_modules/@types/lodash/partition.d.ts +2 -0
- package/node_modules/@types/lodash/pick.d.ts +2 -0
- package/node_modules/@types/lodash/pickBy.d.ts +2 -0
- package/node_modules/@types/lodash/property.d.ts +2 -0
- package/node_modules/@types/lodash/propertyOf.d.ts +2 -0
- package/node_modules/@types/lodash/pull.d.ts +2 -0
- package/node_modules/@types/lodash/pullAll.d.ts +2 -0
- package/node_modules/@types/lodash/pullAllBy.d.ts +2 -0
- package/node_modules/@types/lodash/pullAllWith.d.ts +2 -0
- package/node_modules/@types/lodash/pullAt.d.ts +2 -0
- package/node_modules/@types/lodash/random.d.ts +2 -0
- package/node_modules/@types/lodash/range.d.ts +2 -0
- package/node_modules/@types/lodash/rangeRight.d.ts +2 -0
- package/node_modules/@types/lodash/rearg.d.ts +2 -0
- package/node_modules/@types/lodash/reduce.d.ts +2 -0
- package/node_modules/@types/lodash/reduceRight.d.ts +2 -0
- package/node_modules/@types/lodash/reject.d.ts +2 -0
- package/node_modules/@types/lodash/remove.d.ts +2 -0
- package/node_modules/@types/lodash/repeat.d.ts +2 -0
- package/node_modules/@types/lodash/replace.d.ts +2 -0
- package/node_modules/@types/lodash/rest.d.ts +2 -0
- package/node_modules/@types/lodash/result.d.ts +2 -0
- package/node_modules/@types/lodash/reverse.d.ts +2 -0
- package/node_modules/@types/lodash/round.d.ts +2 -0
- package/node_modules/@types/lodash/runInContext.d.ts +2 -0
- package/node_modules/@types/lodash/sample.d.ts +2 -0
- package/node_modules/@types/lodash/sampleSize.d.ts +2 -0
- package/node_modules/@types/lodash/set.d.ts +2 -0
- package/node_modules/@types/lodash/setWith.d.ts +2 -0
- package/node_modules/@types/lodash/shuffle.d.ts +2 -0
- package/node_modules/@types/lodash/size.d.ts +2 -0
- package/node_modules/@types/lodash/slice.d.ts +2 -0
- package/node_modules/@types/lodash/snakeCase.d.ts +2 -0
- package/node_modules/@types/lodash/some.d.ts +2 -0
- package/node_modules/@types/lodash/sortBy.d.ts +2 -0
- package/node_modules/@types/lodash/sortedIndex.d.ts +2 -0
- package/node_modules/@types/lodash/sortedIndexBy.d.ts +2 -0
- package/node_modules/@types/lodash/sortedIndexOf.d.ts +2 -0
- package/node_modules/@types/lodash/sortedLastIndex.d.ts +2 -0
- package/node_modules/@types/lodash/sortedLastIndexBy.d.ts +2 -0
- package/node_modules/@types/lodash/sortedLastIndexOf.d.ts +2 -0
- package/node_modules/@types/lodash/sortedUniq.d.ts +2 -0
- package/node_modules/@types/lodash/sortedUniqBy.d.ts +2 -0
- package/node_modules/@types/lodash/split.d.ts +2 -0
- package/node_modules/@types/lodash/spread.d.ts +2 -0
- package/node_modules/@types/lodash/startCase.d.ts +2 -0
- package/node_modules/@types/lodash/startsWith.d.ts +2 -0
- package/node_modules/@types/lodash/stubFalse.d.ts +2 -0
- package/node_modules/@types/lodash/stubTrue.d.ts +2 -0
- package/node_modules/@types/lodash/subtract.d.ts +2 -0
- package/node_modules/@types/lodash/sum.d.ts +2 -0
- package/node_modules/@types/lodash/sumBy.d.ts +2 -0
- package/node_modules/@types/lodash/tail.d.ts +2 -0
- package/node_modules/@types/lodash/take.d.ts +2 -0
- package/node_modules/@types/lodash/takeRight.d.ts +2 -0
- package/node_modules/@types/lodash/takeRightWhile.d.ts +2 -0
- package/node_modules/@types/lodash/takeWhile.d.ts +2 -0
- package/node_modules/@types/lodash/tap.d.ts +2 -0
- package/node_modules/@types/lodash/template.d.ts +2 -0
- package/node_modules/@types/lodash/throttle.d.ts +2 -0
- package/node_modules/@types/lodash/thru.d.ts +2 -0
- package/node_modules/@types/lodash/times.d.ts +2 -0
- package/node_modules/@types/lodash/toArray.d.ts +2 -0
- package/node_modules/@types/lodash/toFinite.d.ts +2 -0
- package/node_modules/@types/lodash/toInteger.d.ts +2 -0
- package/node_modules/@types/lodash/toLength.d.ts +2 -0
- package/node_modules/@types/lodash/toLower.d.ts +2 -0
- package/node_modules/@types/lodash/toNumber.d.ts +2 -0
- package/node_modules/@types/lodash/toPairs.d.ts +2 -0
- package/node_modules/@types/lodash/toPairsIn.d.ts +2 -0
- package/node_modules/@types/lodash/toPath.d.ts +2 -0
- package/node_modules/@types/lodash/toPlainObject.d.ts +2 -0
- package/node_modules/@types/lodash/toSafeInteger.d.ts +2 -0
- package/node_modules/@types/lodash/toString.d.ts +2 -0
- package/node_modules/@types/lodash/toUpper.d.ts +2 -0
- package/node_modules/@types/lodash/transform.d.ts +2 -0
- package/node_modules/@types/lodash/trim.d.ts +2 -0
- package/node_modules/@types/lodash/trimEnd.d.ts +2 -0
- package/node_modules/@types/lodash/trimStart.d.ts +2 -0
- package/node_modules/@types/lodash/truncate.d.ts +2 -0
- package/node_modules/@types/lodash/unary.d.ts +2 -0
- package/node_modules/@types/lodash/unescape.d.ts +2 -0
- package/node_modules/@types/lodash/union.d.ts +2 -0
- package/node_modules/@types/lodash/unionBy.d.ts +2 -0
- package/node_modules/@types/lodash/unionWith.d.ts +2 -0
- package/node_modules/@types/lodash/uniq.d.ts +2 -0
- package/node_modules/@types/lodash/uniqBy.d.ts +2 -0
- package/node_modules/@types/lodash/uniqWith.d.ts +2 -0
- package/node_modules/@types/lodash/uniqueId.d.ts +2 -0
- package/node_modules/@types/lodash/unset.d.ts +2 -0
- package/node_modules/@types/lodash/unzip.d.ts +2 -0
- package/node_modules/@types/lodash/unzipWith.d.ts +2 -0
- package/node_modules/@types/lodash/update.d.ts +2 -0
- package/node_modules/@types/lodash/updateWith.d.ts +2 -0
- package/node_modules/@types/lodash/upperCase.d.ts +2 -0
- package/node_modules/@types/lodash/upperFirst.d.ts +2 -0
- package/node_modules/@types/lodash/values.d.ts +2 -0
- package/node_modules/@types/lodash/valuesIn.d.ts +2 -0
- package/node_modules/@types/lodash/without.d.ts +2 -0
- package/node_modules/@types/lodash/words.d.ts +2 -0
- package/node_modules/@types/lodash/wrap.d.ts +2 -0
- package/node_modules/@types/lodash/xor.d.ts +2 -0
- package/node_modules/@types/lodash/xorBy.d.ts +2 -0
- package/node_modules/@types/lodash/xorWith.d.ts +2 -0
- package/node_modules/@types/lodash/zip.d.ts +2 -0
- package/node_modules/@types/lodash/zipObject.d.ts +2 -0
- package/node_modules/@types/lodash/zipObjectDeep.d.ts +2 -0
- package/node_modules/@types/lodash/zipWith.d.ts +2 -0
- package/node_modules/@types/lodash.transform/LICENSE +21 -0
- package/node_modules/@types/lodash.transform/README.md +23 -0
- package/node_modules/@types/lodash.transform/index.d.ts +4 -0
- package/node_modules/@types/lodash.transform/package.json +32 -0
- package/node_modules/@types/uuid/LICENSE +21 -0
- package/node_modules/@types/uuid/README.md +15 -0
- package/node_modules/@types/uuid/index.d.mts +19 -0
- package/node_modules/@types/uuid/index.d.ts +113 -0
- package/node_modules/@types/uuid/package.json +54 -0
- package/node_modules/big-integer/BigInteger.d.ts +2393 -0
- package/node_modules/big-integer/BigInteger.js +1453 -0
- package/node_modules/big-integer/BigInteger.min.js +1 -0
- package/node_modules/big-integer/LICENSE +24 -0
- package/node_modules/big-integer/README.md +589 -0
- package/node_modules/big-integer/bower.json +29 -0
- package/node_modules/big-integer/package.json +48 -0
- package/node_modules/big-integer/tsconfig.json +24 -0
- package/node_modules/decimal.js-light/CHANGELOG.md +87 -0
- package/node_modules/decimal.js-light/LICENCE.md +23 -0
- package/node_modules/decimal.js-light/README.md +92 -0
- package/node_modules/decimal.js-light/decimal.d.ts +570 -0
- package/node_modules/decimal.js-light/decimal.js +2014 -0
- package/node_modules/decimal.js-light/decimal.min.js +3 -0
- package/node_modules/decimal.js-light/decimal.mjs +1985 -0
- package/node_modules/decimal.js-light/doc/API.html +1312 -0
- package/node_modules/decimal.js-light/doc/decimal.js.map +1 -0
- package/node_modules/decimal.js-light/package.json +36 -0
- package/node_modules/eventemitter3/LICENSE +21 -0
- package/node_modules/eventemitter3/README.md +85 -0
- package/node_modules/eventemitter3/dist/eventemitter3.esm.js +355 -0
- package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +1 -0
- package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +1 -0
- package/node_modules/eventemitter3/dist/eventemitter3.umd.js +363 -0
- package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +1 -0
- package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +1 -0
- package/node_modules/eventemitter3/index.d.ts +135 -0
- package/node_modules/eventemitter3/index.js +336 -0
- package/node_modules/eventemitter3/index.mjs +4 -0
- package/node_modules/eventemitter3/package.json +62 -0
- package/node_modules/lodash.transform/LICENSE +47 -0
- package/node_modules/lodash.transform/README.md +18 -0
- package/node_modules/lodash.transform/index.js +2329 -0
- package/node_modules/lodash.transform/package.json +17 -0
- package/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/uuid/README.md +491 -0
- package/node_modules/uuid/dist/index.d.ts +15 -0
- package/node_modules/uuid/dist/index.js +14 -0
- package/node_modules/uuid/dist/max.d.ts +2 -0
- package/node_modules/uuid/dist/max.js +1 -0
- package/node_modules/uuid/dist/md5.d.ts +2 -0
- package/node_modules/uuid/dist/md5.js +135 -0
- package/node_modules/uuid/dist/nil.d.ts +2 -0
- package/node_modules/uuid/dist/nil.js +1 -0
- package/node_modules/uuid/dist/parse.d.ts +3 -0
- package/node_modules/uuid/dist/parse.js +9 -0
- package/node_modules/uuid/dist/regex.d.ts +2 -0
- package/node_modules/uuid/dist/regex.js +1 -0
- package/node_modules/uuid/dist/rng.d.ts +1 -0
- package/node_modules/uuid/dist/rng.js +4 -0
- package/node_modules/uuid/dist/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/sha1.js +70 -0
- package/node_modules/uuid/dist/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/stringify.js +35 -0
- package/node_modules/uuid/dist/types.d.ts +22 -0
- package/node_modules/uuid/dist/types.js +1 -0
- package/node_modules/uuid/dist/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/uuid-bin.js +70 -0
- package/node_modules/uuid/dist/v1.d.ts +11 -0
- package/node_modules/uuid/dist/v1.js +83 -0
- package/node_modules/uuid/dist/v1ToV6.d.ts +3 -0
- package/node_modules/uuid/dist/v1ToV6.js +10 -0
- package/node_modules/uuid/dist/v3.d.ts +9 -0
- package/node_modules/uuid/dist/v3.js +9 -0
- package/node_modules/uuid/dist/v35.d.ts +7 -0
- package/node_modules/uuid/dist/v35.js +39 -0
- package/node_modules/uuid/dist/v4.d.ts +4 -0
- package/node_modules/uuid/dist/v4.js +29 -0
- package/node_modules/uuid/dist/v5.d.ts +9 -0
- package/node_modules/uuid/dist/v5.js +9 -0
- package/node_modules/uuid/dist/v6.d.ts +4 -0
- package/node_modules/uuid/dist/v6.js +20 -0
- package/node_modules/uuid/dist/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/v6ToV1.js +10 -0
- package/node_modules/uuid/dist/v7.d.ts +9 -0
- package/node_modules/uuid/dist/v7.js +65 -0
- package/node_modules/uuid/dist/validate.d.ts +2 -0
- package/node_modules/uuid/dist/validate.js +5 -0
- package/node_modules/uuid/dist/version.d.ts +2 -0
- package/node_modules/uuid/dist/version.js +8 -0
- package/node_modules/uuid/dist-node/bin/uuid +2 -0
- package/node_modules/uuid/dist-node/index.js +14 -0
- package/node_modules/uuid/dist-node/max.js +1 -0
- package/node_modules/uuid/dist-node/md5.js +11 -0
- package/node_modules/uuid/dist-node/nil.js +1 -0
- package/node_modules/uuid/dist-node/parse.js +9 -0
- package/node_modules/uuid/dist-node/regex.js +1 -0
- package/node_modules/uuid/dist-node/rng.js +4 -0
- package/node_modules/uuid/dist-node/sha1.js +11 -0
- package/node_modules/uuid/dist-node/stringify.js +35 -0
- package/node_modules/uuid/dist-node/types.js +1 -0
- package/node_modules/uuid/dist-node/uuid-bin.js +70 -0
- package/node_modules/uuid/dist-node/v1.js +83 -0
- package/node_modules/uuid/dist-node/v1ToV6.js +10 -0
- package/node_modules/uuid/dist-node/v3.js +9 -0
- package/node_modules/uuid/dist-node/v35.js +39 -0
- package/node_modules/uuid/dist-node/v4.js +29 -0
- package/node_modules/uuid/dist-node/v5.js +9 -0
- package/node_modules/uuid/dist-node/v6.js +20 -0
- package/node_modules/uuid/dist-node/v6ToV1.js +10 -0
- package/node_modules/uuid/dist-node/v7.js +65 -0
- package/node_modules/uuid/dist-node/validate.js +5 -0
- package/node_modules/uuid/dist-node/version.js +8 -0
- package/node_modules/uuid/package.json +110 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +208 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/package.json +118 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5136 -0
- package/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +134 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/node_modules/zod/src/v4/core/function.ts +176 -0
- package/node_modules/zod/src/v4/core/index.ts +15 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/node_modules/zod/src/v4/core/util.ts +775 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +111 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3775 -0
- package/node_modules/zod/v3/types.d.cts +1031 -0
- package/node_modules/zod/v3/types.d.ts +1031 -0
- package/node_modules/zod/v3/types.js +3693 -0
- package/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/node_modules/zod/v4/classic/compat.js +27 -0
- package/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +41 -0
- package/node_modules/zod/v4/classic/external.cjs +70 -0
- package/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/node_modules/zod/v4/classic/external.js +18 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/node_modules/zod/v4/classic/parse.js +6 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/node_modules/zod/v4/core/api.cjs +1039 -0
- package/node_modules/zod/v4/core/api.d.cts +284 -0
- package/node_modules/zod/v4/core/api.d.ts +284 -0
- package/node_modules/zod/v4/core/api.js +906 -0
- package/node_modules/zod/v4/core/checks.cjs +591 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +565 -0
- package/node_modules/zod/v4/core/core.cjs +67 -0
- package/node_modules/zod/v4/core/core.d.cts +49 -0
- package/node_modules/zod/v4/core/core.d.ts +49 -0
- package/node_modules/zod/v4/core/core.js +61 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +226 -0
- package/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/node_modules/zod/v4/core/errors.js +195 -0
- package/node_modules/zod/v4/core/function.cjs +102 -0
- package/node_modules/zod/v4/core/function.d.cts +52 -0
- package/node_modules/zod/v4/core/function.d.ts +52 -0
- package/node_modules/zod/v4/core/function.js +75 -0
- package/node_modules/zod/v4/core/index.cjs +44 -0
- package/node_modules/zod/v4/core/index.d.cts +15 -0
- package/node_modules/zod/v4/core/index.d.ts +15 -0
- package/node_modules/zod/v4/core/index.js +15 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/parse.cjs +87 -0
- package/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/node_modules/zod/v4/core/parse.js +57 -0
- package/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/node_modules/zod/v4/core/regexes.js +95 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/node_modules/zod/v4/core/schemas.js +1717 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/node_modules/zod/v4/core/util.cjs +539 -0
- package/node_modules/zod/v4/core/util.d.cts +183 -0
- package/node_modules/zod/v4/core/util.d.ts +183 -0
- package/node_modules/zod/v4/core/util.js +493 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +116 -0
- package/node_modules/zod/v4/locales/az.cjs +141 -0
- package/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +115 -0
- package/node_modules/zod/v4/locales/be.cjs +190 -0
- package/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +164 -0
- package/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +118 -0
- package/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +135 -0
- package/node_modules/zod/v4/locales/de.cjs +142 -0
- package/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +116 -0
- package/node_modules/zod/v4/locales/en.cjs +145 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/node_modules/zod/v4/locales/en.js +117 -0
- package/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/node_modules/zod/v4/locales/eo.js +116 -0
- package/node_modules/zod/v4/locales/es.cjs +143 -0
- package/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +117 -0
- package/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +122 -0
- package/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +122 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +116 -0
- package/node_modules/zod/v4/locales/he.cjs +143 -0
- package/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +117 -0
- package/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +117 -0
- package/node_modules/zod/v4/locales/id.cjs +142 -0
- package/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +116 -0
- package/node_modules/zod/v4/locales/index.cjs +84 -0
- package/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/node_modules/zod/v4/locales/index.js +39 -0
- package/node_modules/zod/v4/locales/it.cjs +143 -0
- package/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +117 -0
- package/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +115 -0
- package/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/node_modules/zod/v4/locales/kh.js +117 -0
- package/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +121 -0
- package/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +118 -0
- package/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +116 -0
- package/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +117 -0
- package/node_modules/zod/v4/locales/no.cjs +142 -0
- package/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +116 -0
- package/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +117 -0
- package/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +117 -0
- package/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +122 -0
- package/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +116 -0
- package/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +164 -0
- package/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +117 -0
- package/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +118 -0
- package/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +143 -0
- package/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +117 -0
- package/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/node_modules/zod/v4/locales/tr.js +115 -0
- package/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/node_modules/zod/v4/locales/ua.js +117 -0
- package/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +117 -0
- package/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +116 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +17 -0
- package/node_modules/zod/v4/mini/external.cjs +62 -0
- package/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/node_modules/zod/v4/mini/external.js +13 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +30 -0
- package/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/node_modules/zod/v4/mini/schemas.js +732 -0
- package/node_modules/zod/v4-mini/index.cjs +17 -0
- package/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/node_modules/zod/v4-mini/index.js +1 -0
- package/npm-shrinkwrap.json +90 -3
- package/openclaw.plugin.json +99 -2
- package/package.json +16 -7
- package/dist/approval-custom-id-NYPYj9Po.js +0 -58
- package/dist/approval-message-safety-C-8BL6Kv.js +0 -47
- package/dist/configured-state.js +0 -6
- package/dist/message-handler-CIxWq5Yh.js +0 -532
- package/dist/provider.runtime-C2iIfbTs.js +0 -2
- package/dist/retry-after-D5_VmM-_.js +0 -25
- package/dist/runtime-api.monitor-DSbfGnzS.js +0 -6
- package/dist/security-doctor-uUo8hTD5.js +0 -18
- package/dist/targets-DvItNIvP.js +0 -3
- package/dist/timeouts.js +0 -2
- package/dist/{preflight-audio-DYL2ABgA.js → preflight-audio-DDSZna4F.js} +1 -1
- package/dist/{thread-bindings.state-9VAxhVf6.js → thread-bindings.state-C5afR9TD.js} +1 -1
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as normalizeDiscordSlug, h as resolveDiscordOwnerAccess, x as formatDiscordUserTag } from "./allow-list-B7qOH5xu.js";
|
|
3
|
-
import { a as formatMention } from "./send.outbound-BlA6VzSE.js";
|
|
1
|
+
import { O as isUnknownDiscordVoiceStateError, Rt as getGuildVoiceState, S as VoiceStateUpdateListener, b as ResumedListener, d as discord_exports, l as parseDiscordTarget, y as ReadyListener } from "./chunk-CWzmeWf_.js";
|
|
4
2
|
import { t as getDiscordRuntime } from "./runtime-DgnVQ7zW.js";
|
|
5
|
-
import {
|
|
3
|
+
import { a as normalizeDiscordSlug, h as resolveDiscordOwnerAccess, x as formatDiscordUserTag } from "./allow-list-DzKrtfah.js";
|
|
4
|
+
import { a as formatMention } from "./send.outbound-C1SfX20w.js";
|
|
5
|
+
import { c as resolveDiscordVoiceAccess, h as buildDiscordGroupSystemPrompt, l as authorizeDiscordVoiceIngress, p as resolveDiscordVoiceEnabled } from "./provider-HW0G-2l6.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
|
-
import { asBoolean, normalizeOptionalString, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
8
7
|
import { resolveAgentRoute } from "openclaw/plugin-sdk/routing";
|
|
8
|
+
import { asBoolean, normalizeOptionalString, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
|
+
import fs from "node:fs/promises";
|
|
9
10
|
import { asDateTimestampMs, resolveExpiresAtMsFromDurationMs } from "openclaw/plugin-sdk/number-runtime";
|
|
10
|
-
import path from "node:path";
|
|
11
11
|
import { expectDefined } from "openclaw/plugin-sdk/expect-runtime";
|
|
12
|
-
import {
|
|
12
|
+
import { formatErrorMessage } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
13
13
|
import { createSubsystemLogger, logVerbose, shouldLogVerbose } from "openclaw/plugin-sdk/runtime-env";
|
|
14
14
|
import { escapeRegExp, sliceUtf16Safe, truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
15
15
|
import { stripInlineDirectiveTagsForDisplay } from "openclaw/plugin-sdk/text-chunking";
|
|
16
|
-
import
|
|
16
|
+
import { resolveFfmpegBin } from "openclaw/plugin-sdk/media-runtime";
|
|
17
|
+
import path from "node:path";
|
|
17
18
|
import { resolvePreferredOpenClawTmpDir, tempWorkspace } from "openclaw/plugin-sdk/temp-path";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { agentCommandFromIngress, getTtsProvider, resolveAgentDir, resolveTtsConfig, resolveTtsPrefsPath } from "openclaw/plugin-sdk/agent-runtime";
|
|
19
|
+
import { REALTIME_VOICE_AGENT_CONSULT_TOOL_NAME, REALTIME_VOICE_AGENT_CONTROL_TOOL, REALTIME_VOICE_AGENT_CONTROL_TOOL_NAME, REALTIME_VOICE_AUDIO_FORMAT_PCM16_24KHZ, buildRealtimeVoiceAgentConsultChatMessage, buildRealtimeVoiceAgentConsultPolicyInstructions, classifySkippableRealtimeVoiceConsultTranscript, controlRealtimeVoiceAgentRun, createRealtimeVoiceSessionHarness, createRealtimeVoiceTurnContextTracker, matchRealtimeVoiceActivationName, matchRealtimeVoiceConsultQuestions, normalizeSupportedRealtimeVoiceActivationName, parseRealtimeVoiceAgentControlToolArgs, resamplePcm, resolveConfiguredRealtimeVoiceProvider, resolveRealtimeVoiceAgentConsultToolPolicy, resolveRealtimeVoiceAgentConsultTools, resolveRealtimeVoiceAgentConsultToolsAllow, shouldAutoControlRealtimeVoiceAgentText, sortRealtimeVoiceActivationNames } from "openclaw/plugin-sdk/realtime-voice";
|
|
20
|
+
import { agentCommandFromIngress, resolveAgentDir } from "openclaw/plugin-sdk/agent-runtime";
|
|
21
21
|
import { enqueueSystemEvent } from "openclaw/plugin-sdk/system-event-runtime";
|
|
22
22
|
import { spawn } from "node:child_process";
|
|
23
23
|
import { PassThrough, Readable, Transform, pipeline } from "node:stream";
|
|
24
24
|
import { StringDecoder } from "node:string_decoder";
|
|
25
25
|
import { Application, OpusError, createDecoder, createEncoder } from "libopus-wasm";
|
|
26
26
|
import { resolveRealtimeBootstrapContextInstructions } from "openclaw/plugin-sdk/realtime-bootstrap-context";
|
|
27
|
-
import { parseTtsDirectives } from "openclaw/plugin-sdk/speech";
|
|
28
27
|
//#region extensions/discord/src/voice/audio.ts
|
|
29
28
|
const SAMPLE_RATE = 48e3;
|
|
30
29
|
const CHANNELS = 2;
|
|
@@ -408,8 +407,7 @@ async function resolveDiscordVoiceIngressContext(params) {
|
|
|
408
407
|
channelSlug: entry.channelName ? normalizeDiscordSlug(entry.channelName) : "",
|
|
409
408
|
channelLabel: formatMention({ channelId: entry.channelId }),
|
|
410
409
|
memberRoleIds: speakerIdentity.memberRoleIds,
|
|
411
|
-
|
|
412
|
-
ownerAllowAll: params.ownerAllowAll,
|
|
410
|
+
admissionAllowFrom: params.admissionAllowFrom,
|
|
413
411
|
sender: {
|
|
414
412
|
id: speakerIdentity.id,
|
|
415
413
|
name: speakerIdentity.name,
|
|
@@ -429,8 +427,7 @@ async function runDiscordVoiceAgentTurn(params) {
|
|
|
429
427
|
userId: params.userId,
|
|
430
428
|
cfg: params.cfg,
|
|
431
429
|
discordConfig: params.discordConfig,
|
|
432
|
-
|
|
433
|
-
ownerAllowAll: params.ownerAllowAll,
|
|
430
|
+
admissionAllowFrom: params.admissionAllowFrom,
|
|
434
431
|
fetchGuildName: params.fetchGuildName,
|
|
435
432
|
speakerContext: params.speakerContext
|
|
436
433
|
});
|
|
@@ -548,6 +545,23 @@ function collectDiscordVoiceParticipants(params) {
|
|
|
548
545
|
states: params.states
|
|
549
546
|
});
|
|
550
547
|
}
|
|
548
|
+
function countDiscordVoiceHumanParticipants(params) {
|
|
549
|
+
const knownUserIds = /* @__PURE__ */ new Set();
|
|
550
|
+
let count = 0;
|
|
551
|
+
for (const state of params.states) {
|
|
552
|
+
const userId = state.user_id?.trim();
|
|
553
|
+
if (!userId || userId === params.botUserId || knownUserIds.has(userId)) continue;
|
|
554
|
+
knownUserIds.add(userId);
|
|
555
|
+
if (state.member?.user?.bot !== true) count += 1;
|
|
556
|
+
}
|
|
557
|
+
for (const rawUserId of params.additionalUserIds ?? []) {
|
|
558
|
+
const userId = rawUserId.trim();
|
|
559
|
+
if (!userId || userId === params.botUserId || knownUserIds.has(userId)) continue;
|
|
560
|
+
knownUserIds.add(userId);
|
|
561
|
+
count += 1;
|
|
562
|
+
}
|
|
563
|
+
return count;
|
|
564
|
+
}
|
|
551
565
|
async function resolveDiscordVoiceParticipantLine(params) {
|
|
552
566
|
const { userId, state } = params.participant;
|
|
553
567
|
return formatDiscordVoiceParticipantLine({
|
|
@@ -614,8 +628,7 @@ async function resolveDiscordVoiceIngressContextWithParticipants(params) {
|
|
|
614
628
|
userId: params.userId,
|
|
615
629
|
cfg: params.cfg,
|
|
616
630
|
discordConfig: params.discordConfig,
|
|
617
|
-
|
|
618
|
-
ownerAllowAll: params.ownerAllowAll,
|
|
631
|
+
admissionAllowFrom: params.admissionAllowFrom,
|
|
619
632
|
fetchGuildName: async (guildId) => {
|
|
620
633
|
const guild = await params.client.fetchGuild(guildId).catch(() => null);
|
|
621
634
|
return guild && typeof guild.name === "string" && guild.name.trim() ? guild.name : void 0;
|
|
@@ -693,6 +706,18 @@ var DiscordVoiceMembershipTracker = class {
|
|
|
693
706
|
].join("\n"))) return;
|
|
694
707
|
logger$4.info(`discord voice: participant session-ended event queued guild=${entry.guildId} channel=${entry.channelId} supervisorSession=${entry.route.sessionKey}`);
|
|
695
708
|
}
|
|
709
|
+
countHumanParticipants(entry, botUserId) {
|
|
710
|
+
const state = this.states.get(entry);
|
|
711
|
+
return countDiscordVoiceHumanParticipants({
|
|
712
|
+
states: listDiscordVoiceParticipantStates({
|
|
713
|
+
client: this.client,
|
|
714
|
+
guildId: entry.guildId,
|
|
715
|
+
channelId: entry.channelId
|
|
716
|
+
}) ?? [],
|
|
717
|
+
botUserId: state?.botUserId ?? botUserId,
|
|
718
|
+
additionalUserIds: state?.inferredUserIds
|
|
719
|
+
});
|
|
720
|
+
}
|
|
696
721
|
notePresent(entry, userId) {
|
|
697
722
|
const state = this.states.get(entry);
|
|
698
723
|
const normalizedUserId = userId.trim();
|
|
@@ -788,6 +813,25 @@ var DiscordVoiceMembershipTracker = class {
|
|
|
788
813
|
}
|
|
789
814
|
};
|
|
790
815
|
//#endregion
|
|
816
|
+
//#region extensions/discord/src/voice/activation.ts
|
|
817
|
+
function resolveDiscordRealtimeWakeNamePolicy(params) {
|
|
818
|
+
if (!params.isAgentProxy || params.providerId !== "openai") return "never";
|
|
819
|
+
if (params.requireWakeName === true) return "always";
|
|
820
|
+
if (params.requireWakeName === false) return "never";
|
|
821
|
+
return "automatic";
|
|
822
|
+
}
|
|
823
|
+
function isDiscordRealtimeWakeNameRequired(policy, humanParticipantCount) {
|
|
824
|
+
return policy === "always" || policy === "automatic" && humanParticipantCount > 1;
|
|
825
|
+
}
|
|
826
|
+
function resolveDiscordRealtimeWakeNames(params) {
|
|
827
|
+
const rawConfigured = params.config?.wakeNames;
|
|
828
|
+
if (rawConfigured) return sortRealtimeVoiceActivationNames(uniqueStrings(rawConfigured.map((name) => normalizeSupportedRealtimeVoiceActivationName(name)).filter((name) => Boolean(name))));
|
|
829
|
+
const agent = params.cfg.agents?.list?.find((candidate) => candidate.id === params.agentId);
|
|
830
|
+
const configuredAgentNames = [agent?.name, agent?.identity?.name].map((name) => normalizeSupportedRealtimeVoiceActivationName(name)).filter((name) => Boolean(name));
|
|
831
|
+
const productWakeNames = [normalizeSupportedRealtimeVoiceActivationName("OpenClaw")].filter((name) => Boolean(name));
|
|
832
|
+
return sortRealtimeVoiceActivationNames(uniqueStrings(configuredAgentNames.length > 0 ? [...configuredAgentNames, ...productWakeNames] : [normalizeSupportedRealtimeVoiceActivationName(params.agentId), ...productWakeNames].filter((name) => Boolean(name))));
|
|
833
|
+
}
|
|
834
|
+
//#endregion
|
|
791
835
|
//#region extensions/discord/src/voice/agent-control.ts
|
|
792
836
|
async function maybeControlDiscordVoiceAgentRun(params) {
|
|
793
837
|
if (!shouldAutoControlRealtimeVoiceAgentText(params.text)) return { handled: false };
|
|
@@ -881,6 +925,7 @@ const DISCORD_REALTIME_WAKE_ACKS = [
|
|
|
881
925
|
"Got it.",
|
|
882
926
|
"One sec."
|
|
883
927
|
];
|
|
928
|
+
const discordRealtimeTalkPayload = () => ({});
|
|
884
929
|
const REALTIME_PCM16_BYTES_PER_SAMPLE = 2;
|
|
885
930
|
const DISCORD_RAW_PCM_FRAME_BYTES = 3840;
|
|
886
931
|
const DISCORD_REALTIME_OUTPUT_PREROLL_FRAMES = 25;
|
|
@@ -996,17 +1041,6 @@ function extractDiscordExactSpeechConsultText(args) {
|
|
|
996
1041
|
function normalizeControlSpeechText(text) {
|
|
997
1042
|
return text.toLowerCase().replace(/\s+/g, " ").trim();
|
|
998
1043
|
}
|
|
999
|
-
function resolveDiscordRealtimeWakeNames(params) {
|
|
1000
|
-
const rawConfigured = params.config?.wakeNames;
|
|
1001
|
-
if (rawConfigured) return sortRealtimeVoiceActivationNames(uniqueStrings(rawConfigured.map((name) => normalizeSupportedRealtimeVoiceActivationName(name)).filter((name) => Boolean(name))));
|
|
1002
|
-
const agent = params.cfg.agents?.list?.find((candidate) => candidate.id === params.agentId);
|
|
1003
|
-
const configuredAgentNames = [agent?.name, agent?.identity?.name].map((name) => normalizeSupportedRealtimeVoiceActivationName(name)).filter((name) => Boolean(name));
|
|
1004
|
-
const productWakeNames = [normalizeSupportedRealtimeVoiceActivationName("OpenClaw")].filter((name) => Boolean(name));
|
|
1005
|
-
return sortRealtimeVoiceActivationNames(uniqueStrings(configuredAgentNames.length > 0 ? [...configuredAgentNames, ...productWakeNames] : [normalizeSupportedRealtimeVoiceActivationName(params.agentId), ...productWakeNames].filter((name) => Boolean(name))));
|
|
1006
|
-
}
|
|
1007
|
-
function matchesPendingAgentProxyQuestion(consultMessage, question) {
|
|
1008
|
-
return matchRealtimeVoiceConsultQuestions(consultMessage, question);
|
|
1009
|
-
}
|
|
1010
1044
|
var DiscordRealtimeVoiceSession = class {
|
|
1011
1045
|
constructor(params) {
|
|
1012
1046
|
this.params = params;
|
|
@@ -1015,19 +1049,13 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1015
1049
|
this.stopped = false;
|
|
1016
1050
|
this.consultToolPolicy = "safe-read-only";
|
|
1017
1051
|
this.consultPolicy = "auto";
|
|
1018
|
-
this.
|
|
1052
|
+
this.wakeNamePolicy = "never";
|
|
1019
1053
|
this.wakeNames = [];
|
|
1020
|
-
this.forcedConsults = createRealtimeVoiceForcedConsultCoordinator({
|
|
1021
|
-
limit: DISCORD_REALTIME_RECENT_AGENT_PROXY_CONSULT_LIMIT,
|
|
1022
|
-
nativeDedupeMs: DISCORD_REALTIME_RECENT_AGENT_PROXY_CONSULT_TTL_MS,
|
|
1023
|
-
questionsMatch: matchesPendingAgentProxyQuestion
|
|
1024
|
-
});
|
|
1025
1054
|
this.speakerTurns = createRealtimeVoiceTurnContextTracker({
|
|
1026
1055
|
limit: DISCORD_REALTIME_PENDING_SPEAKER_CONTEXT_LIMIT,
|
|
1027
1056
|
ignoredContextTtlMs: DISCORD_REALTIME_IGNORED_WAKE_NAME_CONTEXT_TTL_MS,
|
|
1028
1057
|
deferUntilAudio: true
|
|
1029
1058
|
});
|
|
1030
|
-
this.outputActivity = createRealtimeVoiceOutputActivityTracker();
|
|
1031
1059
|
this.outputPacedBuffer = Buffer.alloc(0);
|
|
1032
1060
|
this.queuedExactSpeechMessages = [];
|
|
1033
1061
|
this.exactSpeechResponseActive = false;
|
|
@@ -1040,21 +1068,41 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1040
1068
|
this.resetOutputStream("player-idle");
|
|
1041
1069
|
if (hadOutputAudio) this.completeExactSpeechResponse("player-idle");
|
|
1042
1070
|
};
|
|
1043
|
-
this.
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
fallbackText: DISCORD_REALTIME_FALLBACK_TEXT,
|
|
1050
|
-
consult: async ({ question, responseStyle, metadata }) => {
|
|
1051
|
-
const context = isDiscordRealtimeSpeakerContext(metadata) ? metadata : void 0;
|
|
1052
|
-
return { text: await this.runAgentTurn({
|
|
1053
|
-
context,
|
|
1054
|
-
message: formatVoiceIngressPrompt([question, responseStyle ? `Spoken style: ${responseStyle}` : void 0].filter(Boolean).join("\n\n"), context?.speakerLabel ?? "Discord voice speaker")
|
|
1055
|
-
}) };
|
|
1071
|
+
this.harness = createRealtimeVoiceSessionHarness({
|
|
1072
|
+
talk: {
|
|
1073
|
+
sessionId: `discord:${this.params.entry.voiceSessionKey}:realtime`,
|
|
1074
|
+
mode: "realtime",
|
|
1075
|
+
transport: "gateway-relay",
|
|
1076
|
+
brain: "agent-consult"
|
|
1056
1077
|
},
|
|
1057
|
-
|
|
1078
|
+
talkPayloads: {
|
|
1079
|
+
turnStarted: discordRealtimeTalkPayload,
|
|
1080
|
+
turnEnded: discordRealtimeTalkPayload,
|
|
1081
|
+
inputAudioDelta: discordRealtimeTalkPayload,
|
|
1082
|
+
outputAudioStarted: discordRealtimeTalkPayload,
|
|
1083
|
+
outputAudioDelta: discordRealtimeTalkPayload,
|
|
1084
|
+
outputAudioDone: discordRealtimeTalkPayload
|
|
1085
|
+
},
|
|
1086
|
+
talkback: {
|
|
1087
|
+
debounceMs: this.realtimeConfig?.debounceMs ?? DISCORD_REALTIME_TALKBACK_DEBOUNCE_MS,
|
|
1088
|
+
logger: logger$3,
|
|
1089
|
+
logPrefix: "[discord] realtime agent",
|
|
1090
|
+
responseStyle: "Brief, natural spoken answer for a Discord voice channel.",
|
|
1091
|
+
fallbackText: DISCORD_REALTIME_FALLBACK_TEXT,
|
|
1092
|
+
consult: async ({ question, responseStyle, metadata }) => {
|
|
1093
|
+
const context = isDiscordRealtimeSpeakerContext(metadata) ? metadata : void 0;
|
|
1094
|
+
return { text: await this.runAgentTurn({
|
|
1095
|
+
context,
|
|
1096
|
+
message: formatVoiceIngressPrompt([question, responseStyle ? `Spoken style: ${responseStyle}` : void 0].filter(Boolean).join("\n\n"), context?.speakerLabel ?? "Discord voice speaker")
|
|
1097
|
+
}) };
|
|
1098
|
+
},
|
|
1099
|
+
deliver: (text) => this.enqueueExactSpeechMessage(text)
|
|
1100
|
+
},
|
|
1101
|
+
forcedConsults: {
|
|
1102
|
+
limit: DISCORD_REALTIME_RECENT_AGENT_PROXY_CONSULT_LIMIT,
|
|
1103
|
+
nativeDedupeMs: DISCORD_REALTIME_RECENT_AGENT_PROXY_CONSULT_TTL_MS,
|
|
1104
|
+
questionsMatch: matchRealtimeVoiceConsultQuestions
|
|
1105
|
+
}
|
|
1058
1106
|
});
|
|
1059
1107
|
}
|
|
1060
1108
|
async connect() {
|
|
@@ -1074,16 +1122,19 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1074
1122
|
this.consultToolsAllow = resolveRealtimeVoiceAgentConsultToolsAllow(toolPolicy);
|
|
1075
1123
|
const consultPolicy = this.realtimeConfig?.consultPolicy ?? (isAgentProxy ? "always" : "auto");
|
|
1076
1124
|
this.consultPolicy = consultPolicy;
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1125
|
+
this.wakeNamePolicy = resolveDiscordRealtimeWakeNamePolicy({
|
|
1126
|
+
isAgentProxy,
|
|
1127
|
+
providerId: resolved.provider.id,
|
|
1128
|
+
requireWakeName: this.realtimeConfig?.requireWakeName
|
|
1129
|
+
});
|
|
1130
|
+
this.wakeNames = this.wakeNamePolicy !== "never" ? resolveDiscordRealtimeWakeNames({
|
|
1080
1131
|
config: this.realtimeConfig,
|
|
1081
1132
|
cfg: this.params.cfg,
|
|
1082
1133
|
agentId: this.params.entry.route.agentId
|
|
1083
1134
|
}) : [];
|
|
1084
1135
|
const usesRealtimeAgentHandoff = this.params.mode === "bidi" || toolPolicy !== "none";
|
|
1085
|
-
const autoRespondToAudio =
|
|
1086
|
-
const interruptResponseOnInputAudio =
|
|
1136
|
+
const autoRespondToAudio = this.wakeNamePolicy === "never" && (!isAgentProxy || consultPolicy !== "always");
|
|
1137
|
+
const interruptResponseOnInputAudio = this.wakeNamePolicy === "never" && resolveDiscordRealtimeInterruptResponseOnInputAudio({
|
|
1087
1138
|
realtimeConfig: this.realtimeConfig,
|
|
1088
1139
|
providerId: resolved.provider.id
|
|
1089
1140
|
});
|
|
@@ -1094,7 +1145,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1094
1145
|
toolPolicy,
|
|
1095
1146
|
consultPolicy
|
|
1096
1147
|
});
|
|
1097
|
-
this.bridge =
|
|
1148
|
+
this.bridge = this.harness.createBridge({
|
|
1098
1149
|
provider: resolved.provider,
|
|
1099
1150
|
cfg: this.params.cfg,
|
|
1100
1151
|
providerConfig: resolved.providerConfig,
|
|
@@ -1107,7 +1158,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1107
1158
|
audioSink: {
|
|
1108
1159
|
isOpen: () => !this.stopped,
|
|
1109
1160
|
sendAudio: (audio) => this.sendOutputAudio(audio),
|
|
1110
|
-
clearAudio: () => this.clearOutputAudio("provider-clear-audio")
|
|
1161
|
+
clearAudio: () => this.harness.flushOutput(() => this.clearOutputAudio("provider-clear-audio"))
|
|
1111
1162
|
},
|
|
1112
1163
|
onTranscript: (role, text, isFinal) => {
|
|
1113
1164
|
if (isFinal && text.trim()) logger$3.info(`discord voice: realtime ${role} transcript (${text.length} chars): ${formatVoiceLogPreview(text)}`);
|
|
@@ -1141,7 +1192,8 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1141
1192
|
});
|
|
1142
1193
|
const resolvedModel = readProviderConfigString(resolved.providerConfig, "model") ?? resolved.provider.defaultModel;
|
|
1143
1194
|
const resolvedVoice = readProviderConfigString(resolved.providerConfig, "voice");
|
|
1144
|
-
|
|
1195
|
+
const humanParticipantCount = this.humanParticipantCount();
|
|
1196
|
+
logger$3.info(`discord voice: realtime bridge starting mode=${this.params.mode} provider=${resolved.provider.id} model=${resolvedModel ?? "default"} voice=${resolvedVoice ?? "default"} consultPolicy=${consultPolicy} toolPolicy=${toolPolicy} autoRespond=${autoRespondToAudio} wakeNamePolicy=${this.wakeNamePolicy} requireWakeName=${this.isWakeNameRequired(humanParticipantCount)} humanParticipants=${humanParticipantCount} wakeNames=${this.wakeNames.join(",") || "none"} interruptResponse=${interruptResponseOnInputAudio} bargeIn=${resolveDiscordRealtimeBargeIn({
|
|
1145
1197
|
realtimeConfig: this.realtimeConfig,
|
|
1146
1198
|
providerId: resolved.provider.id
|
|
1147
1199
|
})} minBargeInAudioEndMs=${resolveDiscordRealtimeMinBargeInAudioEndMs(this.realtimeConfig)}`);
|
|
@@ -1153,8 +1205,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1153
1205
|
close() {
|
|
1154
1206
|
this.stopped = true;
|
|
1155
1207
|
this.flushSuppressedRealtimeErrors();
|
|
1156
|
-
this.
|
|
1157
|
-
this.forcedConsults.clear();
|
|
1208
|
+
this.harness.close();
|
|
1158
1209
|
this.speakerTurns.clear();
|
|
1159
1210
|
this.queuedExactSpeechMessages = [];
|
|
1160
1211
|
this.exactSpeechResponseActive = false;
|
|
@@ -1237,14 +1288,14 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1237
1288
|
return;
|
|
1238
1289
|
}
|
|
1239
1290
|
if (!this.hasInterruptibleOutputAudio()) {
|
|
1240
|
-
logger$3.info(`discord voice: realtime barge-in ignored reason=${reason} outputActive=false guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} playbackChunks=${this.
|
|
1291
|
+
logger$3.info(`discord voice: realtime barge-in ignored reason=${reason} outputActive=false guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} playbackChunks=${this.harness.outputActivity.snapshot().chunks}`);
|
|
1241
1292
|
return;
|
|
1242
1293
|
}
|
|
1243
|
-
logger$3.info(`discord voice: realtime barge-in requested reason=${reason} guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} outputAudioMs=${this.outputAudioMs()} outputActive=${this.isOutputAudioActive()} playbackChunks=${this.
|
|
1244
|
-
this.
|
|
1294
|
+
logger$3.info(`discord voice: realtime barge-in requested reason=${reason} guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} outputAudioMs=${this.outputAudioMs()} outputActive=${this.isOutputAudioActive()} playbackChunks=${this.harness.outputActivity.snapshot().chunks}`);
|
|
1295
|
+
this.harness.handleBargeIn({ audioPlaybackActive: true }, () => {});
|
|
1245
1296
|
}
|
|
1246
1297
|
isBargeInEnabled() {
|
|
1247
|
-
if (this.
|
|
1298
|
+
if (this.isWakeNameRequired()) return false;
|
|
1248
1299
|
const providerId = this.realtimeProviderId ?? this.realtimeConfig?.provider ?? "openai";
|
|
1249
1300
|
return resolveDiscordRealtimeBargeIn({
|
|
1250
1301
|
realtimeConfig: this.realtimeConfig,
|
|
@@ -1252,23 +1303,30 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1252
1303
|
});
|
|
1253
1304
|
}
|
|
1254
1305
|
hasInterruptibleOutputAudio() {
|
|
1255
|
-
this.
|
|
1256
|
-
|
|
1306
|
+
this.bridge?.setMediaTimestamp(this.outputAudioMs());
|
|
1307
|
+
const streamActive = Boolean(this.outputStream && !this.outputStream.destroyed);
|
|
1308
|
+
return this.harness.outputActivity.isInterruptible(streamActive);
|
|
1257
1309
|
}
|
|
1258
1310
|
get realtimeConfig() {
|
|
1259
1311
|
return this.params.discordConfig.voice?.realtime;
|
|
1260
1312
|
}
|
|
1313
|
+
humanParticipantCount() {
|
|
1314
|
+
return this.params.getHumanParticipantCount?.() ?? 0;
|
|
1315
|
+
}
|
|
1316
|
+
isWakeNameRequired(humanParticipantCount = this.humanParticipantCount()) {
|
|
1317
|
+
return isDiscordRealtimeWakeNameRequired(this.wakeNamePolicy, humanParticipantCount);
|
|
1318
|
+
}
|
|
1261
1319
|
sendOutputAudio(realtimePcm24kMono) {
|
|
1262
1320
|
const discordPcm = convertRealtimePcm24kMonoToDiscordPcm48kStereo(realtimePcm24kMono);
|
|
1263
1321
|
if (discordPcm.length === 0) return;
|
|
1264
|
-
this.
|
|
1265
|
-
if (this.outputActivity.snapshot().streamEnding) {
|
|
1322
|
+
this.bridge?.setMediaTimestamp(this.outputAudioMs());
|
|
1323
|
+
if (this.harness.outputActivity.snapshot().streamEnding) {
|
|
1266
1324
|
logVoiceVerbose(`realtime output audio ignored after stream ending: guild ${this.params.entry.guildId} channel ${this.params.entry.channelId}`);
|
|
1267
1325
|
return;
|
|
1268
1326
|
}
|
|
1269
1327
|
const stream = this.ensureOutputStream();
|
|
1270
1328
|
if (this.exactSpeechResponseActive) this.exactSpeechAudioStarted = true;
|
|
1271
|
-
this.outputActivity.markAudio({
|
|
1329
|
+
this.harness.outputActivity.markAudio({
|
|
1272
1330
|
audioMs: pcm16MonoDurationMs(realtimePcm24kMono, REALTIME_VOICE_AUDIO_FORMAT_PCM16_24KHZ.sampleRateHz),
|
|
1273
1331
|
sourceAudioBytes: realtimePcm24kMono.length,
|
|
1274
1332
|
sinkAudioBytes: discordPcm.length
|
|
@@ -1280,9 +1338,9 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1280
1338
|
const stream = new PassThrough({ highWaterMark: DISCORD_RAW_PCM_FRAME_BYTES * 128 });
|
|
1281
1339
|
this.outputStream = stream;
|
|
1282
1340
|
this.outputPacedBuffer = Buffer.alloc(0);
|
|
1283
|
-
this.outputActivity.markStreamOpened();
|
|
1341
|
+
this.harness.outputActivity.markStreamOpened();
|
|
1284
1342
|
stream.once("close", () => {
|
|
1285
|
-
if (this.outputActivity.snapshot().playbackStarted) return;
|
|
1343
|
+
if (this.harness.outputActivity.snapshot().playbackStarted) return;
|
|
1286
1344
|
this.handleOutputStreamClosed(stream, "stream-close");
|
|
1287
1345
|
});
|
|
1288
1346
|
return stream;
|
|
@@ -1292,11 +1350,12 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1292
1350
|
this.logOutputAudioStopped(reason);
|
|
1293
1351
|
this.clearOutputPlaybackWatchdog();
|
|
1294
1352
|
this.outputStream = null;
|
|
1295
|
-
this.
|
|
1353
|
+
this.outputPacedBuffer = Buffer.alloc(0);
|
|
1354
|
+
this.harness.outputActivity.reset();
|
|
1296
1355
|
this.completeExactSpeechResponse(reason);
|
|
1297
1356
|
}
|
|
1298
1357
|
queueOutputAudio(stream, discordPcm) {
|
|
1299
|
-
if (this.outputActivity.snapshot().playbackStarted) {
|
|
1358
|
+
if (this.harness.outputActivity.snapshot().playbackStarted) {
|
|
1300
1359
|
stream.write(discordPcm);
|
|
1301
1360
|
return;
|
|
1302
1361
|
}
|
|
@@ -1304,7 +1363,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1304
1363
|
if (this.outputPacedBuffer.length >= DISCORD_RAW_PCM_FRAME_BYTES * DISCORD_REALTIME_OUTPUT_PREROLL_FRAMES) this.startOutputPlayback(stream);
|
|
1305
1364
|
}
|
|
1306
1365
|
startOutputPlayback(stream) {
|
|
1307
|
-
if (this.outputActivity.snapshot().playbackStarted || stream.destroyed) return;
|
|
1366
|
+
if (this.harness.outputActivity.snapshot().playbackStarted || stream.destroyed) return;
|
|
1308
1367
|
const voiceSdk = loadDiscordVoiceSdk();
|
|
1309
1368
|
const opusStream = createDiscordOpusEncodeStream();
|
|
1310
1369
|
opusStream.on("error", (err) => {
|
|
@@ -1323,7 +1382,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1323
1382
|
}
|
|
1324
1383
|
const resource = voiceSdk.createAudioResource(opusStream, { inputType: voiceSdk.StreamType.Opus });
|
|
1325
1384
|
this.params.entry.player.play(resource);
|
|
1326
|
-
this.outputActivity.markPlaybackStarted();
|
|
1385
|
+
this.harness.outputActivity.markPlaybackStarted();
|
|
1327
1386
|
const realtimeConfig = this.realtimeConfig;
|
|
1328
1387
|
logger$3.info(`discord voice: realtime audio playback started guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} mode=${this.params.mode} model=${realtimeConfig?.model ?? "provider-default"} voice=${realtimeConfig?.voice ?? "provider-default"}`);
|
|
1329
1388
|
}
|
|
@@ -1337,15 +1396,15 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1337
1396
|
this.logOutputAudioStopped(reason);
|
|
1338
1397
|
this.outputStream = null;
|
|
1339
1398
|
this.outputPacedBuffer = Buffer.alloc(0);
|
|
1340
|
-
this.
|
|
1399
|
+
this.harness.outputActivity.reset();
|
|
1341
1400
|
stream?.end();
|
|
1342
1401
|
stream?.destroy();
|
|
1343
1402
|
}
|
|
1344
1403
|
finishOutputAudioStream(reason, { playBuffered = true } = {}) {
|
|
1345
1404
|
const stream = this.outputStream;
|
|
1346
|
-
if (!stream || stream.destroyed || this.outputActivity.snapshot().streamEnding) return;
|
|
1347
|
-
this.outputActivity.markStreamEnding();
|
|
1348
|
-
logger$3.info(`discord voice: realtime audio playback finishing reason=${reason} guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} audioMs=${this.outputAudioMs()} chunks=${this.
|
|
1405
|
+
if (!stream || stream.destroyed || this.harness.outputActivity.snapshot().streamEnding) return;
|
|
1406
|
+
this.harness.outputActivity.markStreamEnding();
|
|
1407
|
+
logger$3.info(`discord voice: realtime audio playback finishing reason=${reason} guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} audioMs=${this.outputAudioMs()} chunks=${this.harness.outputActivity.snapshot().chunks}`);
|
|
1349
1408
|
if (playBuffered) {
|
|
1350
1409
|
this.startOutputPlayback(stream);
|
|
1351
1410
|
this.scheduleOutputPlaybackWatchdog(reason, stream);
|
|
@@ -1359,7 +1418,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1359
1418
|
}
|
|
1360
1419
|
scheduleOutputPlaybackWatchdog(reason, stream) {
|
|
1361
1420
|
this.clearOutputPlaybackWatchdog();
|
|
1362
|
-
const timeoutMs = this.outputActivity.playbackWatchdogDelayMs({ marginMs: DISCORD_REALTIME_OUTPUT_PLAYBACK_WATCHDOG_MARGIN_MS });
|
|
1421
|
+
const timeoutMs = this.harness.outputActivity.playbackWatchdogDelayMs({ marginMs: DISCORD_REALTIME_OUTPUT_PLAYBACK_WATCHDOG_MARGIN_MS });
|
|
1363
1422
|
if (timeoutMs === void 0) return;
|
|
1364
1423
|
this.outputPlaybackWatchdog = setTimeout(() => {
|
|
1365
1424
|
this.outputPlaybackWatchdog = void 0;
|
|
@@ -1368,7 +1427,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1368
1427
|
this.completeExactSpeechResponse("playback-watchdog");
|
|
1369
1428
|
return;
|
|
1370
1429
|
}
|
|
1371
|
-
logger$3.warn(`discord voice: realtime audio playback watchdog fired reason=${reason} guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} audioMs=${this.outputAudioMs()} elapsedMs=${this.outputActivity.elapsedPlaybackMs()}`);
|
|
1430
|
+
logger$3.warn(`discord voice: realtime audio playback watchdog fired reason=${reason} guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} audioMs=${this.outputAudioMs()} elapsedMs=${this.harness.outputActivity.elapsedPlaybackMs()}`);
|
|
1372
1431
|
this.clearOutputAudio("playback-watchdog");
|
|
1373
1432
|
this.completeExactSpeechResponse("playback-watchdog");
|
|
1374
1433
|
}, timeoutMs);
|
|
@@ -1409,11 +1468,10 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1409
1468
|
if (this.stopped || !trimmed) return;
|
|
1410
1469
|
this.queuedExactSpeechMessages = [];
|
|
1411
1470
|
this.completeExactSpeechResponse("active-run-control", { drain: false });
|
|
1412
|
-
this.
|
|
1471
|
+
this.harness.handleBargeIn({
|
|
1413
1472
|
audioPlaybackActive: true,
|
|
1414
1473
|
force: true
|
|
1415
|
-
});
|
|
1416
|
-
this.clearOutputAudio("active-run-control");
|
|
1474
|
+
}, () => this.clearOutputAudio("active-run-control"));
|
|
1417
1475
|
this.lastControlSpeech = {
|
|
1418
1476
|
normalizedText: normalizeControlSpeechText(trimmed),
|
|
1419
1477
|
sentAt: Date.now(),
|
|
@@ -1432,11 +1490,10 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1432
1490
|
recent.assistantTranscriptCount += 1;
|
|
1433
1491
|
if (recent.assistantTranscriptCount <= 1) return;
|
|
1434
1492
|
logger$3.info(`discord voice: realtime duplicate active-run control speech suppressed guild=${this.params.entry.guildId} channel=${this.params.entry.channelId}`);
|
|
1435
|
-
this.
|
|
1493
|
+
this.harness.handleBargeIn({
|
|
1436
1494
|
audioPlaybackActive: true,
|
|
1437
1495
|
force: true
|
|
1438
|
-
});
|
|
1439
|
-
this.clearOutputAudio("duplicate-active-run-control");
|
|
1496
|
+
}, () => this.clearOutputAudio("duplicate-active-run-control"));
|
|
1440
1497
|
}
|
|
1441
1498
|
completeExactSpeechResponse(reason, options) {
|
|
1442
1499
|
if (!this.exactSpeechResponseActive && this.queuedExactSpeechMessages.length === 0) return;
|
|
@@ -1453,32 +1510,19 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1453
1510
|
this.sendExactSpeechMessage(next);
|
|
1454
1511
|
}
|
|
1455
1512
|
logOutputAudioStopped(reason) {
|
|
1456
|
-
const activity = this.outputActivity.snapshot();
|
|
1513
|
+
const activity = this.harness.outputActivity.snapshot();
|
|
1457
1514
|
const audioMs = Math.floor(activity.audioMs);
|
|
1458
1515
|
const chunks = activity.chunks;
|
|
1459
1516
|
const discordBytes = activity.sinkAudioBytes;
|
|
1460
1517
|
const realtimeBytes = activity.sourceAudioBytes;
|
|
1461
|
-
const elapsedMs = this.outputActivity.elapsedPlaybackMs();
|
|
1518
|
+
const elapsedMs = this.harness.outputActivity.elapsedPlaybackMs();
|
|
1462
1519
|
if (this.outputStream || chunks > 0 || audioMs > 0) logger$3.info(`discord voice: realtime audio playback stopped reason=${reason} guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} audioMs=${audioMs} elapsedMs=${elapsedMs} chunks=${chunks} discordBytes=${discordBytes} realtimeBytes=${realtimeBytes}`);
|
|
1463
1520
|
}
|
|
1464
|
-
resetOutputAudioStats() {
|
|
1465
|
-
this.outputPacedBuffer = Buffer.alloc(0);
|
|
1466
|
-
this.outputActivity.reset();
|
|
1467
|
-
}
|
|
1468
|
-
syncOutputAudioTimestamp() {
|
|
1469
|
-
this.bridge?.setMediaTimestamp(this.outputAudioMs());
|
|
1470
|
-
}
|
|
1471
1521
|
outputAudioMs() {
|
|
1472
|
-
return Math.floor(this.outputActivity.snapshot().audioMs);
|
|
1473
|
-
}
|
|
1474
|
-
outputAudioChunks() {
|
|
1475
|
-
return this.outputActivity.snapshot().chunks;
|
|
1476
|
-
}
|
|
1477
|
-
isOutputStreamActive() {
|
|
1478
|
-
return Boolean(this.outputStream && !this.outputStream.destroyed);
|
|
1522
|
+
return Math.floor(this.harness.outputActivity.snapshot().audioMs);
|
|
1479
1523
|
}
|
|
1480
1524
|
isOutputAudioActive() {
|
|
1481
|
-
return this.outputActivity.isActive(this.
|
|
1525
|
+
return this.harness.outputActivity.isActive(Boolean(this.outputStream && !this.outputStream.destroyed));
|
|
1482
1526
|
}
|
|
1483
1527
|
logSpeakerTurnClosed(turn) {
|
|
1484
1528
|
if (turn.closed || !turn.hasAudio) return;
|
|
@@ -1526,8 +1570,8 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1526
1570
|
return;
|
|
1527
1571
|
}
|
|
1528
1572
|
logger$3.info(`discord voice: realtime consult requested call=${callId || "unknown"} voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId} question=${formatVoiceLogPreview(consultMessage)}`);
|
|
1529
|
-
const nativeConsult = this.forcedConsults.recordNativeConsult(event.args, callId);
|
|
1530
|
-
if (nativeConsult.kind === "already_delivered" && this.forcedConsults.isCancelled(nativeConsult.handle)) {
|
|
1573
|
+
const nativeConsult = this.harness.forcedConsults.recordNativeConsult(event.args, callId);
|
|
1574
|
+
if (nativeConsult.kind === "already_delivered" && this.harness.forcedConsults.isCancelled(nativeConsult.handle)) {
|
|
1531
1575
|
await this.submitTerminalRealtimeToolResult(callId, session, {
|
|
1532
1576
|
status: "cancelled",
|
|
1533
1577
|
message: "OpenClaw cancelled this consult before completion. Do not restart it."
|
|
@@ -1535,7 +1579,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1535
1579
|
return;
|
|
1536
1580
|
}
|
|
1537
1581
|
const pendingConsult = nativeConsult.kind === "pending" ? nativeConsult.handle : void 0;
|
|
1538
|
-
if (pendingConsult) this.forcedConsults.rememberQuestion(pendingConsult, consultMessage);
|
|
1582
|
+
if (pendingConsult) this.harness.forcedConsults.rememberQuestion(pendingConsult, consultMessage);
|
|
1539
1583
|
let context = pendingConsult?.context?.speaker;
|
|
1540
1584
|
let recent = pendingConsult;
|
|
1541
1585
|
if (!context) {
|
|
@@ -1611,7 +1655,9 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1611
1655
|
this.partialUserTranscript = "";
|
|
1612
1656
|
const transcriptsTurn = this.peekPendingSpeakerTurn();
|
|
1613
1657
|
let transcriptAttribution = this.transcriptAttributionFromTurn(transcriptsTurn);
|
|
1614
|
-
const
|
|
1658
|
+
const humanParticipantCount = this.humanParticipantCount();
|
|
1659
|
+
const requireWakeName = this.isWakeNameRequired(humanParticipantCount);
|
|
1660
|
+
const wakeNameResult = this.resolveWakeNameTranscript(trimmed, requireWakeName);
|
|
1615
1661
|
let forcedSpeakerContext;
|
|
1616
1662
|
if (!wakeNameResult.allowed) {
|
|
1617
1663
|
const pendingWakeNameFollowup = this.consumePendingWakeNameFollowup();
|
|
@@ -1619,7 +1665,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1619
1665
|
if (!pendingWakeNameFollowup) {
|
|
1620
1666
|
this.recordTranscriptUtterance(trimmed, transcriptAttribution);
|
|
1621
1667
|
this.rememberIgnoredWakeNameSpeakerContext(this.consumePendingSpeakerContext());
|
|
1622
|
-
logger$3.info(`discord voice: realtime wake-name gate ignored transcript chars=${trimmed.length} voiceSession=${this.params.entry.voiceSessionKey} agent=${this.params.entry.route.agentId} wakeNames=${this.wakeNames.join(",") || "none"}`);
|
|
1668
|
+
logger$3.info(`discord voice: realtime wake-name gate ignored transcript chars=${trimmed.length} humanParticipants=${humanParticipantCount} voiceSession=${this.params.entry.voiceSessionKey} agent=${this.params.entry.route.agentId} wakeNames=${this.wakeNames.join(",") || "none"}`);
|
|
1623
1669
|
return;
|
|
1624
1670
|
}
|
|
1625
1671
|
forcedSpeakerContext = pendingWakeNameFollowup.context;
|
|
@@ -1641,7 +1687,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1641
1687
|
logger$3.warn(`discord voice: realtime active-run control failed; falling back to normal transcript handling: ${formatErrorMessage(error)}`);
|
|
1642
1688
|
});
|
|
1643
1689
|
if (control?.handled) {
|
|
1644
|
-
if (pendingForcedConsult) this.forcedConsults.remove(pendingForcedConsult);
|
|
1690
|
+
if (pendingForcedConsult) this.harness.forcedConsults.remove(pendingForcedConsult);
|
|
1645
1691
|
this.logAgentControlResult(control.result);
|
|
1646
1692
|
if (control.speakText) this.speakControlResult(control.speakText);
|
|
1647
1693
|
return;
|
|
@@ -1651,10 +1697,10 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1651
1697
|
if (pendingForcedConsult) this.schedulePreparedForcedAgentProxyConsult(pendingForcedConsult);
|
|
1652
1698
|
return;
|
|
1653
1699
|
}
|
|
1654
|
-
this.talkback
|
|
1700
|
+
this.harness.talkback?.enqueue(acceptedText, forcedSpeakerContext ?? this.consumePendingSpeakerContext());
|
|
1655
1701
|
}
|
|
1656
1702
|
handlePartialUserTranscript(text) {
|
|
1657
|
-
if (!this.
|
|
1703
|
+
if (!this.isWakeNameRequired() || this.wakeNameAckedForTurn) return;
|
|
1658
1704
|
this.partialUserTranscript = mergeRealtimePartialTranscript(this.partialUserTranscript, text);
|
|
1659
1705
|
const wakeNameResult = matchRealtimeVoiceActivationName(this.partialUserTranscript, this.wakeNames);
|
|
1660
1706
|
if (!wakeNameResult || wakeNameResult.edge !== "leading") return;
|
|
@@ -1665,8 +1711,8 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1665
1711
|
this.partialUserTranscript = "";
|
|
1666
1712
|
this.wakeNameAckedForTurn = false;
|
|
1667
1713
|
}
|
|
1668
|
-
resolveWakeNameTranscript(text) {
|
|
1669
|
-
if (!
|
|
1714
|
+
resolveWakeNameTranscript(text, requireWakeName) {
|
|
1715
|
+
if (!requireWakeName) return {
|
|
1670
1716
|
allowed: true,
|
|
1671
1717
|
text,
|
|
1672
1718
|
activationName: "",
|
|
@@ -1718,7 +1764,7 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1718
1764
|
logger$3.info(`discord voice: realtime active-run control handled mode=${result.mode} ok=${result.ok} active=${result.active} reason=${result.reason ?? "none"} voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId}`);
|
|
1719
1765
|
}
|
|
1720
1766
|
prepareForcedAgentProxyConsult(transcript, speakerContext) {
|
|
1721
|
-
if (this.consultPolicy !== "always" &&
|
|
1767
|
+
if (this.consultPolicy !== "always" && this.wakeNamePolicy === "never") return;
|
|
1722
1768
|
const question = transcript.trim();
|
|
1723
1769
|
if (!question) return;
|
|
1724
1770
|
const skipReason = classifySkippableRealtimeVoiceConsultTranscript(question);
|
|
@@ -1738,28 +1784,28 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1738
1784
|
logger$3.warn("discord voice: realtime forced agent consult has no speaker context");
|
|
1739
1785
|
return;
|
|
1740
1786
|
}
|
|
1741
|
-
return this.forcedConsults.prepare(question, { context: { speaker: context } });
|
|
1787
|
+
return this.harness.forcedConsults.prepare(question, { context: { speaker: context } });
|
|
1742
1788
|
}
|
|
1743
1789
|
schedulePreparedForcedAgentProxyConsult(pending) {
|
|
1744
|
-
this.forcedConsults.schedule(pending, DISCORD_REALTIME_FORCED_CONSULT_FALLBACK_DELAY_MS, (handle) => void this.runForcedAgentProxyConsult(handle));
|
|
1790
|
+
this.harness.forcedConsults.schedule(pending, DISCORD_REALTIME_FORCED_CONSULT_FALLBACK_DELAY_MS, (handle) => void this.runForcedAgentProxyConsult(handle));
|
|
1745
1791
|
}
|
|
1746
1792
|
async runForcedAgentProxyConsult(pending) {
|
|
1747
|
-
this.forcedConsults.markStarted(pending);
|
|
1793
|
+
this.harness.forcedConsults.markStarted(pending);
|
|
1748
1794
|
const state = pending.context;
|
|
1749
1795
|
if (!state) {
|
|
1750
|
-
this.forcedConsults.markCancelled(pending);
|
|
1796
|
+
this.harness.forcedConsults.markCancelled(pending);
|
|
1751
1797
|
return;
|
|
1752
1798
|
}
|
|
1753
1799
|
const context = state.speaker;
|
|
1754
1800
|
const { question } = pending;
|
|
1755
1801
|
if (this.stopped) {
|
|
1756
|
-
this.forcedConsults.markCancelled(pending);
|
|
1802
|
+
this.harness.forcedConsults.markCancelled(pending);
|
|
1757
1803
|
return;
|
|
1758
1804
|
}
|
|
1759
1805
|
const startedAt = Date.now();
|
|
1760
1806
|
logger$3.info(`discord voice: realtime forced agent consult starting chars=${question.length} voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId} speaker=${context.speakerLabel} owner=${context.senderIsOwner}`);
|
|
1761
|
-
logger$3.debug(`discord voice: realtime forced agent consult reason=${DISCORD_REALTIME_FORCED_CONSULT_REASON} consultPolicy=${this.consultPolicy} requireWakeName=${this.
|
|
1762
|
-
if (this.hasInterruptibleOutputAudio()) logger$3.info(`discord voice: realtime forced agent consult preserving active playback guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} outputAudioMs=${this.outputAudioMs()} outputActive=${this.isOutputAudioActive()} playbackChunks=${this.
|
|
1807
|
+
logger$3.debug(`discord voice: realtime forced agent consult reason=${DISCORD_REALTIME_FORCED_CONSULT_REASON} consultPolicy=${this.consultPolicy} wakeNamePolicy=${this.wakeNamePolicy} requireWakeName=${this.isWakeNameRequired()} voiceSession=${this.params.entry.voiceSessionKey} supervisorSession=${this.params.entry.route.sessionKey} agent=${this.params.entry.route.agentId} speaker=${context.speakerLabel}`);
|
|
1808
|
+
if (this.hasInterruptibleOutputAudio()) logger$3.info(`discord voice: realtime forced agent consult preserving active playback guild=${this.params.entry.guildId} channel=${this.params.entry.channelId} outputAudioMs=${this.outputAudioMs()} outputActive=${this.isOutputAudioActive()} playbackChunks=${this.harness.outputActivity.snapshot().chunks}`);
|
|
1763
1809
|
state.handledByForcedPlayback = true;
|
|
1764
1810
|
try {
|
|
1765
1811
|
const promise = this.runAgentTurn({
|
|
@@ -1823,35 +1869,35 @@ var DiscordRealtimeVoiceSession = class {
|
|
|
1823
1869
|
return this.speakerTurns.hasAudioContext();
|
|
1824
1870
|
}
|
|
1825
1871
|
rememberRecentAgentProxyConsultContext(question, context, options = {}) {
|
|
1826
|
-
const handle = this.forcedConsults.prepare(question, {
|
|
1872
|
+
const handle = this.harness.forcedConsults.prepare(question, {
|
|
1827
1873
|
context: { speaker: context },
|
|
1828
1874
|
...options.id ? { id: options.id } : {}
|
|
1829
1875
|
});
|
|
1830
1876
|
if (!handle) throw new Error("Discord realtime consult context requires a non-empty question");
|
|
1831
|
-
if (options.started) this.forcedConsults.markStarted(handle);
|
|
1877
|
+
if (options.started) this.harness.forcedConsults.markStarted(handle);
|
|
1832
1878
|
return handle;
|
|
1833
1879
|
}
|
|
1834
1880
|
setRecentAgentProxyConsultPromise(recent, promise) {
|
|
1835
1881
|
const state = recent.context;
|
|
1836
1882
|
if (!state) return;
|
|
1837
|
-
this.forcedConsults.markStarted(recent);
|
|
1883
|
+
this.harness.forcedConsults.markStarted(recent);
|
|
1838
1884
|
state.promise = promise;
|
|
1839
1885
|
promise.then((text) => {
|
|
1840
1886
|
state.result = {
|
|
1841
1887
|
status: "fulfilled",
|
|
1842
1888
|
text
|
|
1843
1889
|
};
|
|
1844
|
-
this.forcedConsults.markDelivered(recent);
|
|
1890
|
+
this.harness.forcedConsults.markDelivered(recent);
|
|
1845
1891
|
}).catch((error) => {
|
|
1846
1892
|
state.result = {
|
|
1847
1893
|
status: "rejected",
|
|
1848
1894
|
error: formatErrorMessage(error)
|
|
1849
1895
|
};
|
|
1850
|
-
this.forcedConsults.markDelivered(recent);
|
|
1896
|
+
this.harness.forcedConsults.markDelivered(recent);
|
|
1851
1897
|
});
|
|
1852
1898
|
}
|
|
1853
1899
|
findRecentAgentProxyConsultContext(consultMessage) {
|
|
1854
|
-
return this.forcedConsults.findRecent(consultMessage);
|
|
1900
|
+
return this.harness.forcedConsults.findRecent(consultMessage);
|
|
1855
1901
|
}
|
|
1856
1902
|
async submitTerminalRealtimeToolResult(callId, session, result) {
|
|
1857
1903
|
if (session.bridge.supportsToolResultSuppression === false) {
|
|
@@ -2069,47 +2115,6 @@ function sanitizeVoiceReplyTextForSpeech(text, speakerLabel) {
|
|
|
2069
2115
|
}
|
|
2070
2116
|
//#endregion
|
|
2071
2117
|
//#region extensions/discord/src/voice/tts.ts
|
|
2072
|
-
function mergeTtsConfig(base, override) {
|
|
2073
|
-
if (!override) return base;
|
|
2074
|
-
const baseProviders = base.providers ?? {};
|
|
2075
|
-
const overrideProviders = override.providers ?? {};
|
|
2076
|
-
const mergedProviders = Object.fromEntries(uniqueStrings([...Object.keys(baseProviders), ...Object.keys(overrideProviders)]).map((providerId) => {
|
|
2077
|
-
const baseProvider = baseProviders[providerId] ?? {};
|
|
2078
|
-
const overrideProvider = overrideProviders[providerId] ?? {};
|
|
2079
|
-
return [providerId, {
|
|
2080
|
-
...baseProvider,
|
|
2081
|
-
...overrideProvider
|
|
2082
|
-
}];
|
|
2083
|
-
}));
|
|
2084
|
-
return {
|
|
2085
|
-
...base,
|
|
2086
|
-
...override,
|
|
2087
|
-
modelOverrides: {
|
|
2088
|
-
...base.modelOverrides,
|
|
2089
|
-
...override.modelOverrides
|
|
2090
|
-
},
|
|
2091
|
-
...Object.keys(mergedProviders).length === 0 ? {} : { providers: mergedProviders }
|
|
2092
|
-
};
|
|
2093
|
-
}
|
|
2094
|
-
function resolveVoiceTtsConfig(params) {
|
|
2095
|
-
if (!params.override) return {
|
|
2096
|
-
cfg: params.cfg,
|
|
2097
|
-
resolved: resolveTtsConfig(params.cfg)
|
|
2098
|
-
};
|
|
2099
|
-
const merged = mergeTtsConfig(params.cfg.messages?.tts ?? {}, params.override);
|
|
2100
|
-
const messages = params.cfg.messages ?? {};
|
|
2101
|
-
const cfg = {
|
|
2102
|
-
...params.cfg,
|
|
2103
|
-
messages: {
|
|
2104
|
-
...messages,
|
|
2105
|
-
tts: merged
|
|
2106
|
-
}
|
|
2107
|
-
};
|
|
2108
|
-
return {
|
|
2109
|
-
cfg,
|
|
2110
|
-
resolved: resolveTtsConfig(cfg)
|
|
2111
|
-
};
|
|
2112
|
-
}
|
|
2113
2118
|
async function transcribeVoiceAudio(params) {
|
|
2114
2119
|
return normalizeOptionalString((await getDiscordRuntime().mediaUnderstanding.transcribeAudioFile({
|
|
2115
2120
|
filePath: params.filePath,
|
|
@@ -2119,21 +2124,18 @@ async function transcribeVoiceAudio(params) {
|
|
|
2119
2124
|
})).text);
|
|
2120
2125
|
}
|
|
2121
2126
|
async function synthesizeVoiceReplyAudio(params) {
|
|
2122
|
-
const
|
|
2127
|
+
const runtime = getDiscordRuntime();
|
|
2128
|
+
const prepared = await runtime.tts.prepareTtsRequest({
|
|
2123
2129
|
cfg: params.cfg,
|
|
2124
|
-
override: params.override
|
|
2125
|
-
|
|
2126
|
-
const directive = parseTtsDirectives(params.replyText, ttsConfig.modelOverrides, {
|
|
2127
|
-
cfg: ttsCfg,
|
|
2128
|
-
providerConfigs: ttsConfig.providerConfigs,
|
|
2129
|
-
preferredProviderId: getTtsProvider(ttsConfig, resolveTtsPrefsPath(ttsConfig))
|
|
2130
|
+
override: params.override,
|
|
2131
|
+
text: params.replyText
|
|
2130
2132
|
});
|
|
2133
|
+
const directive = prepared.directives;
|
|
2131
2134
|
const speakText = sanitizeVoiceReplyTextForSpeech(directive.overrides.ttsText ?? directive.cleanedText.trim(), params.speakerLabel);
|
|
2132
2135
|
if (!speakText) return { status: "empty" };
|
|
2133
|
-
const runtime = getDiscordRuntime();
|
|
2134
2136
|
const streamResult = await runtime.tts.textToSpeechStream?.({
|
|
2135
2137
|
text: speakText,
|
|
2136
|
-
cfg:
|
|
2138
|
+
cfg: prepared.cfg,
|
|
2137
2139
|
channel: "discord",
|
|
2138
2140
|
overrides: directive.overrides,
|
|
2139
2141
|
disableFallback: true
|
|
@@ -2147,7 +2149,7 @@ async function synthesizeVoiceReplyAudio(params) {
|
|
|
2147
2149
|
};
|
|
2148
2150
|
const result = await runtime.tts.textToSpeech({
|
|
2149
2151
|
text: speakText,
|
|
2150
|
-
cfg:
|
|
2152
|
+
cfg: prepared.cfg,
|
|
2151
2153
|
channel: "discord",
|
|
2152
2154
|
overrides: directive.overrides
|
|
2153
2155
|
});
|
|
@@ -2173,8 +2175,7 @@ async function processDiscordVoiceSegment(params) {
|
|
|
2173
2175
|
userId,
|
|
2174
2176
|
cfg: params.cfg,
|
|
2175
2177
|
discordConfig: params.discordConfig,
|
|
2176
|
-
|
|
2177
|
-
ownerAllowAll: params.ownerAllowAll,
|
|
2178
|
+
admissionAllowFrom: params.admissionAllowFrom,
|
|
2178
2179
|
fetchGuildName: params.fetchGuildName,
|
|
2179
2180
|
speakerContext: params.speakerContext
|
|
2180
2181
|
}));
|
|
@@ -2231,8 +2232,7 @@ async function processDiscordVoiceSegment(params) {
|
|
|
2231
2232
|
discordConfig: params.discordConfig,
|
|
2232
2233
|
runtime: params.runtime,
|
|
2233
2234
|
context: ingress,
|
|
2234
|
-
|
|
2235
|
-
ownerAllowAll: params.ownerAllowAll,
|
|
2235
|
+
admissionAllowFrom: params.admissionAllowFrom,
|
|
2236
2236
|
fetchGuildName: params.fetchGuildName,
|
|
2237
2237
|
speakerContext: params.speakerContext
|
|
2238
2238
|
});
|
|
@@ -2562,9 +2562,10 @@ var DiscordVoiceManager$1 = class {
|
|
|
2562
2562
|
this.destroyed = false;
|
|
2563
2563
|
this.botUserId = params.botUserId;
|
|
2564
2564
|
this.voiceEnabled = resolveDiscordVoiceEnabled(params.discordConfig.voice);
|
|
2565
|
-
const
|
|
2566
|
-
this.
|
|
2567
|
-
this.
|
|
2565
|
+
const voiceAccess = resolveDiscordVoiceAccess(params);
|
|
2566
|
+
this.admissionAllowFrom = voiceAccess.admissionAllowFrom;
|
|
2567
|
+
this.ownerAllowFrom = voiceAccess.ownerAllowFrom;
|
|
2568
|
+
this.ownerAllowAll = voiceAccess.ownerAllowAll;
|
|
2568
2569
|
this.allowedChannels = params.discordConfig.voice?.allowedChannels === void 0 ? null : normalizeVoiceChannelResidencies(params.discordConfig.voice.allowedChannels);
|
|
2569
2570
|
this.followUserIds = resolveFollowUsersEnabled(params.discordConfig.voice) ? normalizeDiscordUserIds(params.discordConfig.voice?.followUsers) : /* @__PURE__ */ new Set();
|
|
2570
2571
|
this.speakerContext = new DiscordVoiceSpeakerContextResolver({
|
|
@@ -2991,6 +2992,7 @@ var DiscordVoiceManager$1 = class {
|
|
|
2991
2992
|
cfg: this.params.cfg,
|
|
2992
2993
|
discordConfig: this.params.discordConfig,
|
|
2993
2994
|
entry,
|
|
2995
|
+
getHumanParticipantCount: () => this.membership.countHumanParticipants(entry, this.botUserId),
|
|
2994
2996
|
mode: voiceMode,
|
|
2995
2997
|
runAgentTurn: ({ context, message, toolsAllow, userId }) => this.runDiscordRealtimeAgentTurn({
|
|
2996
2998
|
context,
|
|
@@ -3531,8 +3533,7 @@ var DiscordVoiceManager$1 = class {
|
|
|
3531
3533
|
userId,
|
|
3532
3534
|
cfg: this.params.cfg,
|
|
3533
3535
|
discordConfig: this.params.discordConfig,
|
|
3534
|
-
|
|
3535
|
-
ownerAllowAll: this.ownerAllowAll,
|
|
3536
|
+
admissionAllowFrom: this.admissionAllowFrom,
|
|
3536
3537
|
botUserId: this.botUserId,
|
|
3537
3538
|
speakerContext: this.speakerContext
|
|
3538
3539
|
});
|
|
@@ -3549,8 +3550,7 @@ var DiscordVoiceManager$1 = class {
|
|
|
3549
3550
|
runtime: this.params.runtime,
|
|
3550
3551
|
context,
|
|
3551
3552
|
toolsAllow,
|
|
3552
|
-
|
|
3553
|
-
ownerAllowAll: this.ownerAllowAll,
|
|
3553
|
+
admissionAllowFrom: this.admissionAllowFrom,
|
|
3554
3554
|
fetchGuildName: async (guildId) => {
|
|
3555
3555
|
const guild = await this.params.client.fetchGuild(guildId).catch(() => null);
|
|
3556
3556
|
return guild && typeof guild.name === "string" && guild.name.trim() ? guild.name : void 0;
|
|
@@ -3569,8 +3569,7 @@ var DiscordVoiceManager$1 = class {
|
|
|
3569
3569
|
...params,
|
|
3570
3570
|
cfg: this.params.cfg,
|
|
3571
3571
|
discordConfig: this.params.discordConfig,
|
|
3572
|
-
|
|
3573
|
-
ownerAllowAll: this.ownerAllowAll,
|
|
3572
|
+
admissionAllowFrom: this.admissionAllowFrom,
|
|
3574
3573
|
runtime: this.params.runtime,
|
|
3575
3574
|
speakerContext: this.speakerContext,
|
|
3576
3575
|
resolveIngressContext: () => this.resolveDiscordVoiceIngressContext(params.entry, params.userId),
|