@agentvault/muse-bridge 0.1.22 → 0.1.23

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/index.js CHANGED
@@ -3473,7 +3473,10 @@ function buildLlmSpan(opts) {
3473
3473
  "gen_ai.request.model": opts.model,
3474
3474
  "gen_ai.usage.input_tokens": opts.tokensInput,
3475
3475
  "gen_ai.usage.output_tokens": opts.tokensOutput,
3476
- "gen_ai.operation.name": "chat"
3476
+ "gen_ai.operation.name": "chat",
3477
+ // AgentVault extensions the backend ledger reads (telemetry_service.py
3478
+ // _fan_in_genai_ledger) — the same names the Hermes plugin sends.
3479
+ "av.genai.latency_ms": opts.latencyMs
3477
3480
  };
3478
3481
  if (opts.provider !== void 0) {
3479
3482
  attributes["ai.agent.llm.provider"] = opts.provider;
@@ -3482,6 +3485,7 @@ function buildLlmSpan(opts) {
3482
3485
  if (opts.costUsd !== void 0) {
3483
3486
  attributes["ai.agent.llm.cost_usd"] = opts.costUsd;
3484
3487
  attributes["gen_ai.usage.cost_usd"] = opts.costUsd;
3488
+ attributes["av.genai.cost_usd"] = opts.costUsd;
3485
3489
  }
3486
3490
  applySkillName(attributes, opts.skillName);
3487
3491
  const isError = opts.status === "error";
@@ -4093,6 +4097,9 @@ function spanToOtlp(span) {
4093
4097
  }
4094
4098
  return otlp;
4095
4099
  }
4100
+ function isRetryableStatus(status) {
4101
+ return status >= 500 || status === 408 || status === 429;
4102
+ }
4096
4103
  async function generateBackupCode() {
4097
4104
  await libsodium_wrappers_default.ready;
4098
4105
  const bytes = libsodium_wrappers_default.randombytes_buf(13);
@@ -11737,11 +11744,11 @@ async function joinWithFirstMatchingKp(welcomeBytes, candidates) {
11737
11744
  return null;
11738
11745
  }
11739
11746
  function ownIdentity() {
11740
- const v2 = true ? "0.23.45" : FALLBACK;
11747
+ const v2 = true ? "0.23.47" : FALLBACK;
11741
11748
  return `${PACKAGE}@${v2}`;
11742
11749
  }
11743
11750
  function buildSha() {
11744
- const raw = true ? "0bf0e4c-dirty" : "";
11751
+ const raw = true ? "f1debc4" : "";
11745
11752
  const cleaned = (raw ?? "").trim();
11746
11753
  return !cleaned || cleaned === "unknown" ? null : cleaned;
11747
11754
  }
@@ -12273,6 +12280,25 @@ async function offerHistoryRecoveryConfiguration(input) {
12273
12280
  output("Agent history recovery: not configured");
12274
12281
  }
12275
12282
  }
12283
+ function decisionReplyFromEnvelope(parsed) {
12284
+ if (parsed === null || typeof parsed !== "object") return void 0;
12285
+ const decision = parsed.decision;
12286
+ if (decision === null || typeof decision !== "object") return void 0;
12287
+ const d2 = decision;
12288
+ if (typeof d2.decision_id !== "string" || d2.decision_id.length === 0) return void 0;
12289
+ if (Array.isArray(d2.options)) return void 0;
12290
+ const selected = typeof d2.selected_option_id === "string" ? d2.selected_option_id : void 0;
12291
+ const action = typeof d2.action === "string" && ACTIONS.has(d2.action) ? d2.action : void 0;
12292
+ if (selected === void 0 && action === void 0) return void 0;
12293
+ const reply = { decision_id: d2.decision_id };
12294
+ if (selected !== void 0) reply.selected_option_id = selected;
12295
+ if (action !== void 0) reply.action = action;
12296
+ if (typeof d2.resolved_at === "string") reply.resolved_at = d2.resolved_at;
12297
+ if (typeof d2.defer_until === "string") reply.defer_until = d2.defer_until;
12298
+ if (typeof d2.defer_reason === "string") reply.defer_reason = d2.defer_reason;
12299
+ if (typeof d2.reason === "string") reply.reason = d2.reason;
12300
+ return reply;
12301
+ }
12276
12302
  async function readBoundedRestoreJson(response, signal, checkpoint) {
12277
12303
  const contentLength = response.headers?.get("content-length");
12278
12304
  if (contentLength && /^\d+$/.test(contentLength)) {
@@ -15296,7 +15322,7 @@ function _stringbool(Classes, _params) {
15296
15322
  type: "pipe",
15297
15323
  in: stringSchema,
15298
15324
  out: booleanSchema,
15299
- transform: (input, payload) => {
15325
+ transform: ((input, payload) => {
15300
15326
  let data = input;
15301
15327
  if (params.case !== "sensitive")
15302
15328
  data = data.toLowerCase();
@@ -15315,14 +15341,14 @@ function _stringbool(Classes, _params) {
15315
15341
  });
15316
15342
  return {};
15317
15343
  }
15318
- },
15319
- reverseTransform: (input, _payload) => {
15344
+ }),
15345
+ reverseTransform: ((input, _payload) => {
15320
15346
  if (input === true) {
15321
15347
  return truthyArray[0] || "true";
15322
15348
  } else {
15323
15349
  return falsyArray[0] || "false";
15324
15350
  }
15325
- },
15351
+ }),
15326
15352
  error: params.error
15327
15353
  });
15328
15354
  return codec2;
@@ -16336,11 +16362,13 @@ function assertCompleteRequestPrompt(request) {
16336
16362
  if (request.params.ref.type !== "ref/prompt") {
16337
16363
  throw new TypeError(`Expected CompleteRequestPrompt, but got ${request.params.ref.type}`);
16338
16364
  }
16365
+ void request;
16339
16366
  }
16340
16367
  function assertCompleteRequestResourceTemplate(request) {
16341
16368
  if (request.params.ref.type !== "ref/resource") {
16342
16369
  throw new TypeError(`Expected CompleteRequestResourceTemplate, but got ${request.params.ref.type}`);
16343
16370
  }
16371
+ void request;
16344
16372
  }
16345
16373
  function isTerminal(status) {
16346
16374
  return status === "completed" || status === "failed" || status === "cancelled";
@@ -17848,7 +17876,7 @@ function reportSkillInvocation(opts) {
17848
17876
  spanBuffer.push(span);
17849
17877
  return span;
17850
17878
  }
17851
- var __create, __defProp2, __getOwnPropDesc, __getOwnPropNames2, __getProtoOf, __hasOwnProp, __esm2, __commonJS, __export2, __copyProps, __toESM, SENTINEL, WRAPPERS, INSTRUCTION, init_abstention, init_envelope_text, init_mls_commit_classify, MENTION_RE, BROADCAST_NAMES, init_room_protocol, __filename, __dirname, url2, path, Module, Module, root, window_, crypto_, randomValuesStandard, crypto4, randomValueNodeJS, _Module, libsodium_sumo_default, init_libsodium_sumo, a, r, t, c, libsodium_wrappers_default, init_libsodium_wrappers, init_keys, init_x3dh, MAX_SKIP, CHAIN_KEY_SEED, MSG_KEY_SEED, HEADER_KEY_SEED, DoubleRatchet, init_ratchet, init_file_crypto, DOMAIN_DID_DOCUMENT, DOMAIN_TRANSFER_INTENT, DOMAIN_TRANSFER_ACCEPT, BASE58_ALPHABET, init_did, BUILTIN_PATTERNS, ScanEngine, init_scan_engine, init_merkle, VC_CONTEXT_V2, AV_CREDENTIAL_CONTEXT, CRYPTOSUITE, BASE58_ALPHABET2, init_vc, init_transport, init_telemetry, TelemetryReporter, init_telemetry_reporter, CROCKFORD, ARGON2_OPSLIMIT, ARGON2_MEMLIMIT, SALT_BYTES, NONCE_BYTES, KEY_BYTES, BACKUP_VERSION, MAX_BACKUP_SIZE, init_backup, isLE, swap8IfBE, swap32IfBE, hasHexBuiltin, hexes, oidNist, init_utils, BSIGMA, init_blake, HashMD, SHA256_IV, SHA384_IV, SHA512_IV, init_md, U32_MASK64, _32n, shrSH, shrSL, rotrSH, rotrSL, rotrBH, rotrBL, rotr32H, rotr32L, add3L, add3H, add4L, add4H, add5L, add5H, init_u64, B2B_IV, BBUF, _BLAKE2, _BLAKE2b, blake2b, init_blake2, CROCKFORD2, SALT_BYTES2, NONCE_BYTES2, KEY_BYTES2, TAG_BYTES, ENVELOPE_OVERHEAD, AAD_PREFIX, UUID_RE, UUID_V4_RE, DIGEST_ID_RE, TIMESTAMP_RE, encoder, decoder, HISTORY_MAGIC, HISTORY_ARCHIVE_VERSION, HISTORY_MAX_ENTRIES, HISTORY_MAX_BLOB_BYTES, HISTORY_KDF_OPSLIMIT, HISTORY_KDF_MEMLIMIT, HistoryEntryTooLargeError, init_history_backup, init_approval, encVoid, init_tlsEncoder, uint8Encoder, encodeUint8, decodeUint8, uint16Encoder, encodeUint16, decodeUint16, uint32Encoder, encodeUint32, decodeUint32, uint64Encoder, encodeUint64, decodeUint64, init_number, init_tlsDecoder, init_enumHelpers, defaultProposalTypes, defaultProposalTypeEncoder, encodeDefaultProposalType, decodeDefaultProposalType, init_defaultProposalType, defaultExtensionTypes, defaultExtensionTypeEncoder, encodeDefaultExtensionType, decodeDefaultExtensionType, init_defaultExtensionType, acceptAll, init_incomingMessageAction, MlsError, ValidationError, CodecError, UsageError, DependencyError, CryptoVerificationError, CryptoError, InternalError, init_mlsError, init_byteArray, varLenDataEncoder, decodeVarLenData, init_variableLength, init_constantTimeCompare, extensionTypeEncoder, encodeExtensionType, decodeExtensionType, extensionEncoder, encodeExtension, decodeExtension, init_extension, credentialTypes, credentialTypeEncoder, encodeCredentialType, decodeCredentialType, init_credentialType, credentialBasicEncoder, encodeCredentialBasic, credentialX509Encoder, encodeCredentialX509, credentialCustomEncoder, encodeCredentialCustom, credentialEncoder, encodeCredential, decodeCredentialBasic, decodeCredentialX509, decodeCredential, init_credential, externalSenderEncoder, encodeExternalSender, decodeExternalSender, init_externalSender, init_hash, init_optional, ciphersuites, ciphersuiteEncoder, encodeCiphersuite, decodeCiphersuite, ciphersuiteValues, init_ciphersuite, init_signature, protocolVersions, protocolVersionEncoder, encodeProtocolVersion, decodeProtocolVersion, init_protocolVersion, capabilitiesEncoder, encodeCapabilities, decodeCapabilities, init_capabilities, leafNodeSources, leafNodeSourceEncoder, encodeLeafNodeSource, decodeLeafNodeSource, init_leafNodeSource, lifetimeEncoder, encodeLifetime, decodeLifetime, defaultLifetime, init_lifetime, leafNodeDataEncoder, encodeLeafNodeData, decodeLeafNodeData, leafNodeInfoKeyPackageEncoder, encodeLeafNodeInfoKeyPackage, leafNodeInfoUpdateOmittedEncoder, encodeLeafNodeInfoUpdateOmitted, leafNodeInfoCommitOmittedEncoder, encodeLeafNodeInfoCommitOmitted, leafNodeInfoOmittedEncoder, encodeLeafNodeInfoOmitted, decodeLeafNodeInfoKeyPackage, decodeLeafNodeInfoUpdateOmitted, decodeLeafNodeInfoCommitOmitted, decodeLeafNodeInfoOmitted, leafNodeInfoUpdateEncoder, encodeLeafNodeInfoUpdate, leafNodeInfoCommitEncoder, encodeLeafNodeInfoCommit, leafNodeInfoEncoder, encodeLeafNodeInfo, decodeLeafNodeInfoUpdate, decodeLeafNodeInfoCommit, decodeLeafNodeInfo, leafNodeTBSEncoder, encodeLeafNodeTBS, leafNodeEncoder, encodeLeafNode, decodeLeafNode, decodeLeafNodeKeyPackage, decodeLeafNodeCommit, decodeLeafNodeUpdate, init_leafNode, keyPackageTBSEncoder, encodeKeyPackageTBS, decodeKeyPackageTBS, keyPackageEncoder, encodeKeyPackage, decodeKeyPackage, init_keyPackage, init_kdf, pskTypes, pskTypeEncoder, encodePskType, decodePskType, resumptionPSKUsages, resumptionPSKUsageEncoder, encodeResumptionPSKUsage, decodeResumptionPSKUsage, encodePskInfoExternal, encodePskInfoResumption, decodePskInfoResumption, pskInfoEncoder, encodePskInfo, decodePskInfo, pskIdEncoder, encodePskId, decodePskId, pskLabelEncoder, encodePskLabel, decodePskLabel, init_presharedkey, addEncoder, encodeAdd, decodeAdd, updateEncoder, encodeUpdate, decodeUpdate, removeEncoder, encodeRemove, decodeRemove, pskEncoder, encodePSK, decodePSK, reinitEncoder, encodeReinit, decodeReinit, externalInitEncoder, encodeExternalInit, decodeExternalInit, groupContextExtensionsEncoder, encodeGroupContextExtensions, decodeGroupContextExtensions, proposalAddEncoder, encodeProposalAdd, proposalUpdateEncoder, encodeProposalUpdate, proposalRemoveEncoder, encodeProposalRemove, proposalPSKEncoder, encodeProposalPSK, proposalReinitEncoder, encodeProposalReinit, proposalExternalInitEncoder, encodeProposalExternalInit, proposalGroupContextExtensionsEncoder, encodeProposalGroupContextExtensions, proposalCustomEncoder, encodeProposalCustom, proposalEncoder, encodeProposal, decodeProposalAdd, decodeProposalUpdate, decodeProposalRemove, decodeProposalPSK, decodeProposalReinit, decodeProposalExternalInit, decodeProposalGroupContextExtensions, decodeProposal, init_proposal, proposalOrRefTypes, proposalOrRefTypeEncoder, encodeProposalOrRefType, decodeProposalOrRefType, proposalOrRefProposalEncoder, encodeProposalOrRefProposal, proposalOrRefProposalRefEncoder, encodeProposalOrRefProposalRef, proposalOrRefEncoder, encodeProposalOrRef, decodeProposalOrRef, init_proposalOrRefType, init_hpke, groupContextEncoder, encodeGroupContext, decodeGroupContext, init_groupContext, nodeTypes, nodeTypeEncoder, encodeNodeType, decodeNodeType, init_nodeType, parentNodeEncoder, encodeParentNode, decodeParentNode, init_parentNode, init_treemath, nodeEncoder, encodeNode, decodeNode, ratchetTreeEncoder, encodeRatchetTree, decodeRatchetTree, init_ratchetTree, leafNodeHashInputEncoder, encodeLeafNodeHashInput, decodeLeafNodeHashInput, parentNodeHashInputEncoder, encodeParentNodeHashInput, decodeParentNodeHashInput, treeHashInputEncoder, encodeTreeHashInput, decodeTreeHashInput, init_treeHash, parentHashInputEncoder, encodeParentHashInput, decodeParentHashInput, init_parentHash, hpkeCiphertextEncoder, encodeHpkeCiphertext, decodeHpkeCiphertext, init_hpkeCiphertext, updatePathNodeEncoder, encodeUpdatePathNode, decodeUpdatePathNode, updatePathEncoder, encodeUpdatePath, decodeUpdatePath, init_updatePath, commitEncoder, encodeCommit, decodeCommit, init_commit, contentTypes, contentTypeEncoder, encodeContentType, decodeContentType, init_contentType, wireformats, wireformatEncoder, encodeWireformat, decodeWireformat, init_wireformat, senderTypes, senderTypeEncoder, encodeSenderType, decodeSenderType, senderEncoder, encodeSender, decodeSender, reuseGuardEncoder, encodeReuseGuard, decodeReuseGuard, senderDataEncoder, encodeSenderData, decodeSenderData, senderDataAADEncoder, encodeSenderDataAAD, decodeSenderDataAAD, init_sender, framedContentApplicationDataEncoder, encodeFramedContentApplicationData, framedContentProposalDataEncoder, encodeFramedContentProposalData, framedContentCommitDataEncoder, encodeFramedContentCommitData, framedContentInfoEncoder, encodeFramedContentInfo, decodeFramedContentApplicationData, decodeFramedContentProposalData, decodeFramedContentCommitData, decodeFramedContentInfo, framedContentEncoder, encodeFramedContent, decodeFramedContent, senderInfoEncoder, encodeSenderInfo, framedContentTBSEncoder, encodeFramedContentTBS, encodeFramedContentAuthDataContent, encodeFramedContentAuthDataCommit, framedContentAuthDataEncoder, encodeFramedContentAuthData, decodeFramedContentAuthDataCommit, init_framedContent, authenticatedContentEncoder, encodeAuthenticatedContent, decodeAuthenticatedContent, authenticatedContentTBMEncoder, encodeAuthenticatedContentTBM, init_authenticatedContent, publicMessageInfoEncoder, encodePublicMessageInfo, publicMessageEncoder, encodePublicMessage, decodePublicMessage, init_publicMessage, init_messageProtectionPublic, init_externalProposal, requiredCapabilitiesEncoder, encodeRequiredCapabilities, decodeRequiredCapabilities, init_requiredCapabilities, defaultAuthenticationService, init_authenticationService, defaultPaddingConfig, init_paddingConfig, defaultKeyPackageEqualityConfig, init_keyPackageEqualityConfig, defaultLifetimeConfig, init_lifetimeConfig, defaultKeyRetentionConfig, init_keyRetentionConfig, groupInfoTBSEncoder, encodeGroupInfoTBS, decodeGroupInfoTBS, groupInfoEncoder, encodeGroupInfo, decodeGroupInfo, init_groupInfo, keyScheduleEncoder, encodeKeySchedule, decodeKeySchedule, init_keySchedule, generationSecretEncoder, decodeGenerationSecret, secretTreeNodeEncoder, decodeSecretTreeNode, secretTreeEncoder, decodeSecretTree, init_secretTree, confirmedTranscriptHashInputEncoder, encodeConfirmedTranscriptHashInput, decodeConfirmedTranscriptHashInput, init_transcriptHash, groupSecretsEncoder, encodeGroupSecrets, decodeGroupSecrets, init_groupSecrets, encryptedGroupSecretsEncoder, encodeEncryptedGroupSecrets, decodeEncryptedGroupSecrets, welcomeEncoder, encodeWelcome, decodeWelcome, init_welcome, init_pathSecrets, privateKeyPathEncoder, decodePrivateKeyPath, init_privateKeyPath, proposalWithSenderEncoder, decodeProposalWithSender, unappliedProposalsEncoder, decodeUnappliedProposals, init_unappliedProposals, emptyPskIndex, init_pskIndex, init_addToMap, defaultClientConfig, init_clientConfig, init_array, stringEncoder, encodeString, decodeString, init_string, activeEncoder, suspendedPendingReinitEncoder, removedFromGroupEncoder, groupActiveStateEncoder, decodeGroupActiveState, init_groupActiveState, epochReceiverDataEncoder, decodeEpochReceiverData, init_epochReceiverData, groupStateEncoder, encodeGroupState, decodeGroupState, groupStateEncoderWithoutTree, encodeGroupStateWithoutTree, emptyProposals, init_clientState, privateMessageEncoder, encodePrivateMessage, decodePrivateMessage, privateContentAADEncoder, encodePrivateContentAAD, decodePrivateContentAAD, init_privateMessage, init_messageProtection, init_createMessage, init_createCommit, init_processMessages, init_makeHashImpl, HpkeError, InvalidParamError, SerializeError, DeserializeError, EncapError, DecapError, ExportError, SealError, OpenError, MessageLimitReachedError, DeriveKeyPairError, NotSupportedError, init_errors, dntGlobals, dntGlobalThis, init_dnt_shims, NativeAlgorithm, init_algorithm, Mode, KemId, KdfId, AeadId, init_identifiers, INPUT_LENGTH_LIMIT, INFO_LENGTH_LIMIT, MINIMUM_PSK_LENGTH, EMPTY, BYTE_TO_BIGINT_256, init_consts, SUITE_ID_HEADER_KEM, init_kemInterface, HPKE_VERSION, HkdfNative, HkdfSha256Native, HkdfSha384Native, HkdfSha512Native, init_hkdf, isCryptoKeyPair, init_misc, LABEL_EAE_PRK, LABEL_SHARED_SECRET, Dhkem, init_dhkem, KEM_USAGES, LABEL_DKP_PRK, LABEL_SK, init_dhkemPrimitives, Bignum, init_bignum, LABEL_CANDIDATE, ORDER_P_256, ORDER_P_384, ORDER_P_521, PKCS8_ALG_ID_P_256, PKCS8_ALG_ID_P_384, PKCS8_ALG_ID_P_521, EC_P_256_PARAMS, EC_P_384_PARAMS, EC_P_521_PARAMS, Ec, init_ec, init_xCryptoKey, init_xCurve, init_hybridkem, AEAD_USAGES, init_aeadEncryptionContext, _endianTestBuffer, _endianTestBytes, isLE2, init_noble, init_hash2, _HMAC, hmac, init_hmac, init_md2, U32_MASK642, _32n2, init_u642, init_sha2, _0n, _1n, _2n, _7n, _256n, _0x71n, SHA3_PI, SHA3_ROTL, _SHA3_IOTA, IOTAS, SHA3_IOTA_H, SHA3_IOTA_L, init_sha3, init_modular, init_curve, init_montgomery, init_mod, AesGcmContext, Aes128Gcm, Aes256Gcm, init_aesGcm, init_exportOnly, init_emitNotSupported, LABEL_SEC, ExporterContextImpl, RecipientExporterContextImpl, SenderExporterContextImpl, init_exporterContext, EncryptionContextImpl, init_encryptionContext, __classPrivateFieldGet, __classPrivateFieldSet, _Mutex_locked, Mutex, init_mutex, __classPrivateFieldGet2, __classPrivateFieldSet2, _RecipientContextImpl_mutex, RecipientContextImpl, init_recipientContext, __classPrivateFieldGet3, __classPrivateFieldSet3, _SenderContextImpl_mutex, SenderContextImpl, init_senderContext, LABEL_BASE_NONCE, LABEL_EXP, LABEL_INFO_HASH, LABEL_KEY, LABEL_PSK_ID_HASH, LABEL_SECRET, SUITE_ID_HEADER_HPKE, CipherSuiteNative, init_cipherSuiteNative, DhkemP256HkdfSha256Native, DhkemP384HkdfSha384Native, DhkemP521HkdfSha512Native, init_dhkemNative, CipherSuite, DhkemP256HkdfSha256, DhkemP384HkdfSha384, DhkemP521HkdfSha512, HkdfSha256, HkdfSha384, HkdfSha512, init_native, ALG_NAME, PKCS8_ALG_ID_X25519, BASE_POINT_X25519, X25519, init_x25519, DhkemX25519HkdfSha256, init_dhkemX25519, PKCS8_ALG_ID_X448, init_x448, init_dhkemX448, init_mod2, init_hpke2, isLE3, wrapCipher, init_utils2, encodeStr, sigma16, sigma32, sigma16_32, sigma32_32, BLOCK_LEN, BLOCK_LEN32, MAX_COUNTER, U32_EMPTY, _XorStreamPRG, createPRG, init_arx, Poly1305, poly1305, init_poly1305, chacha_exports, chacha20orig, chacha20, xchacha20, chacha8, chacha12, ZEROS16, updatePadded, ZEROS32, _poly1305_aead, chacha20poly1305, xchacha20poly1305, rngChacha20, rngChacha8, init_chacha, init_makeAead, init_makeKdfImpl, init_makeDhKem, init_makeHpke, defaultRng, init_rng, crypto2, init_cryptoNode, isLE4, swap32IfBE3, hasHexBuiltin2, hexes2, asciis, Hash, init_utils3, HashMD3, SHA256_IV3, SHA384_IV3, SHA512_IV3, init_md3, U32_MASK643, _32n3, shrSH3, shrSL3, rotrSH3, rotrSL3, rotrBH3, rotrBL3, rotlSH2, rotlSL2, rotlBH2, rotlBL2, add3L3, add3H3, add4L3, add4H3, add5L3, add5H3, init_u643, SHA256_K, SHA256_W, SHA256, K512, SHA512_Kh, SHA512_Kl, SHA512_W_H, SHA512_W_L, SHA512, SHA384, sha2563, sha5122, sha3842, init_sha22, _0n2, _1n2, isPosBig, bitMask, notImplemented, init_utils4, _0n3, _1n3, _2n2, _3n, _4n, _5n, _7n2, _8n, _9n, _16n, isNegativeLE, FIELD_FIELDS, init_modular2, _0n4, _1n4, pointPrecomputes, pointWindowSizes, wNAF, init_curve2, _0n5, _1n5, _2n3, _8n2, PrimeEdwardsPoint, init_edwards, os2ip, _DST_scalar, init_hash_to_curve, _0n6, _1n6, _2n4, init_montgomery2, ed25519_exports, _0n7, _1n7, _2n5, _3n2, _5n2, _8n3, ed25519_CURVE_p, ed25519_CURVE, ED25519_SQRT_M1, Fp, Fn, ed25519Defaults, ed25519, ed25519ctx, ed25519ph, x25519, ELL2_C1, ELL2_C2, ELL2_C3, ELL2_C1_EDWARDS, ed25519_hasher, SQRT_M1, SQRT_AD_MINUS_ONE, INVSQRT_A_MINUS_D, ONE_MINUS_D_SQ, D_MINUS_ONE_SQ, invertSqrt, MAX_255B, bytes255ToNumberLE, _RistrettoPoint, ristretto255, ristretto255_hasher, ED25519_TORSION_SUBGROUP, edwardsToMontgomery, RistrettoPoint, hashToCurve, encodeToCurve, hashToRistretto255, hash_to_ristretto255, init_ed25519, _0n8, _1n8, _2n6, _7n3, _256n2, _0x71n2, SHA3_PI2, SHA3_ROTL2, _SHA3_IOTA2, IOTAS2, SHA3_IOTA_H2, SHA3_IOTA_L2, rotlH, rotlL, Keccak, genShake, shake2562, init_sha32, ed448_exports, ed448_CURVE, E448_CURVE, shake256_114, shake256_64, _1n9, _2n7, _3n3, _4n2, _11n, _22n, _44n, _88n, _223n, Fp2, Fn2, Fp448, Fn448, ED448_DEF, ed448, ed448ph, E448, x448, ELL2_C12, ELL2_J, ed448_hasher, ONE_MINUS_D, ONE_MINUS_TWO_D, SQRT_MINUS_D, INVSQRT_MINUS_D, invertSqrt2, _DecafPoint, decaf448, decaf448_hasher, ED448_TORSION_SUBGROUP, DecafPoint, hashToCurve2, encodeToCurve2, hashToDecaf448, hash_to_decaf448, edwardsToMontgomery2, init_ed448, HMAC, hmac2, init_hmac2, divNearest, DERErr, DER, _0n9, _1n10, _2n8, _3n4, _4n3, init_weierstrass, init_shortw_utils, nist_exports, p256_CURVE, p384_CURVE, p521_CURVE, Fp256, Fp384, Fp521, p256, p256_hasher, p384, p384_hasher, p521, secp256r1, secp384r1, secp521r1, p521_hasher, init_nist, init_makeNobleSignatureImpl, defaultCryptoProvider, init_provider, init_getCiphersuiteImpl, init_resumption, SHA256_K2, SHA256_W2, SHA2_32B, _SHA256, K5122, SHA512_Kh2, SHA512_Kl2, SHA512_W_H2, SHA512_W_L2, SHA2_64B, _SHA512, _SHA384, sha2564, sha5123, sha3843, init_sha23, _HMAC2, hmac3, init_hmac3, init_makeHashImpl2, init_makeNobleSignatureImpl2, BLOCK_SIZE, ZEROS162, ZEROS322, POLY, mul2, swapLE, estimateWindow, GHASH, Polyval, ghash, polyval, init_polyval, BLOCK_SIZE2, BLOCK_SIZE32, EMPTY_BLOCK, POLY2, sbox, rotr32_8, rotl32_8, tableEncoding, xPowers, gcm, _CMAC, cmac, init_aes, init_makeAead2, init_makeKdfImpl2, init_makeDhKem2, init_makeHpke2, init_rng2, nobleCryptoProvider, init_provider2, mlsPublicMessageEncoder, encodeMlsPublicMessage, mlsWelcomeEncoder, encodeMlsWelcome, mlsPrivateMessageEncoder, encodeMlsPrivateMessage, mlsGroupInfoEncoder, encodeMlsGroupInfo, mlsKeyPackageEncoder, encodeMlsKeyPackage, mlsMessageContentEncoder, encodeMlsMessageContent, decodeMlsMessageContent, mlsMessageEncoder, encodeMlsMessage, decodeMlsMessage, init_message, greaseValues, defaultGreaseConfig, init_grease, init_defaultCapabilities, init_src, DEFAULT_CIPHERSUITE, MLSGroupManager, init_mls_group, DOMAIN, NONCE_BYTES3, init_owner_sync, init_mls_delivery_order, init_mls_presend_epoch, dist_exports2, init_dist2, DIR_MODE, FILE_MODE, init_secure_file, SYNC_LOCK_STALE_MS, pendingKpPath, init_mls_state, init_mls_kp_pool, PACKAGE, FALLBACK, MAX_LEN, DISALLOWED, init_client_version, CredentialStore, init_credential_store, init_crypto_helpers, STATE_FILE, LEGACY_STATE_FILE, init_state, init_transport2, A2ALogGate, init_a2a_log_gate, init_mls_membership_probe, FIRST_DIRTY_DELAY_MS, RETRY_BASE_DELAYS_MS, MAX_RETRY_DELAY_MS, JITTER_FRACTION, HistoryBackupScheduler, init_history_backup_scheduler, FILE_MODE2, init_history_recovery_file, TENANT_ID_PATTERN, DIR_MODE2, FILE_MODE3, HISTORY_RECOVERY_VERIFY_TIMEOUT_MS, VERIFY_TIMEOUT_MESSAGE, HistoryRecoveryVerificationTimeoutError, init_history_recovery_code, history_backup_client_exports, HISTORY_RESTORE_TIMEOUT_MS, HISTORY_RESTORE_RESPONSE_MAX_BYTES, HISTORY_ENVELOPE_MIN_BYTES, HISTORY_AAD_PREFIX, UUID_RE2, GENERATION_RESPONSE_KEYS, utf8Encoder, utf8Decoder, HistoryBackupClient, init_history_backup_client, openclaw_compat_exports, defaultImporter, HEARTBEAT_CANDIDATES, AGENT_EVENT_CANDIDATES, TRANSCRIPT_CANDIDATES, _heartbeatFn, _agentEventFn, _transcriptFn, init_openclaw_compat, http_handlers_exports, init_http_handlers, mcp_proxy_helpers_exports, init_mcp_proxy_helpers, workspace_handlers_exports, MAX_FILE_SIZE, init_workspace_handlers, ROOM_AGENT_TYPES, CREDENTIAL_MESSAGE_TYPES, CATCHUP_MESSAGE_TYPES, POLL_INTERVAL_MS, RECONNECT_BASE_MS, UUID_RE3, RECONNECT_MAX_MS, PENDING_POLL_INTERVAL_MS, HISTORY_RESTORE_TIMEOUT_MS2, HISTORY_UPLOAD_TIMEOUT_MS, CANONICAL_TIMESTAMP_RE, OUTBOUND_DEDUPE_WINDOW_MS, OUTBOUND_DEDUPE_MAX_SUPPRESS_MS, OUTBOUND_DEDUPE_MAX, OUTBOUND_DEDUPE_TYPES, RETRY_CANDIDATE_TTL_MS, RETRY_CANDIDATE_MAX, ROOM_FULFIL_COOLDOWN_MS, SecureChannel, init_channel, init_types, DEFAULT_API_URL, DEFAULT_HTTP_PORT, init_account_config, init_lifecycle, _ocRuntime, _channels, agentVaultPlugin, init_openclaw_plugin, init_gateway_send, init_llm_response_parser, init_llm_cost, traceStore, init_fetch_interceptor, init_tool_audit, init_harness_compat, managedRoutesRequested, init_openclaw_entry, util, objectUtil, ZodParsedType, getParsedType, init_util, ZodIssueCode, ZodError, init_ZodError, errorMap, en_default, init_en, overrideErrorMap, init_errors2, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, init_parseUtil, init_typeAliases, errorUtil, init_errorUtil, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, jwtRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv4CidrRegex, ipv6Regex, ipv6CidrRegex, base64Regex, base64urlRegex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, init_types2, init_external, init_v3, NEVER, $brand, $ZodAsyncError, $ZodEncodeError, globalConfig, init_core, util_exports, EVALUATING, captureStackTrace, allowsEval, getParsedType2, propertyKeyTypes, primitiveTypes, NUMBER_FORMAT_RANGES, BIGINT_FORMAT_RANGES, Class, init_util2, initializer, $ZodError, $ZodRealError, init_errors3, _parse, parse, _parseAsync, parseAsync, _safeParse, safeParse, _safeParseAsync, safeParseAsync, _encode, _decode, _encodeAsync, _decodeAsync, _safeEncode, _safeDecode, _safeEncodeAsync, _safeDecodeAsync, init_parse, regexes_exports, cuid, cuid2, ulid, xid, ksuid, nanoid, duration, extendedDuration, guid, uuid, uuid4, uuid6, uuid7, email, html5Email, rfc5322Email, unicodeEmail, idnEmail, browserEmail, _emoji, ipv4, ipv6, mac, cidrv4, cidrv6, base64, base64url, hostname, domain, e164, dateSource, date, string, bigint, integer, number, boolean, _null, _undefined, lowercase, uppercase, hex, md5_hex, md5_base64, md5_base64url, sha1_hex, sha1_base64, sha1_base64url, sha256_hex, sha256_base64, sha256_base64url, sha384_hex, sha384_base64, sha384_base64url, sha512_hex, sha512_base64, sha512_base64url, init_regexes, $ZodCheck, numericOriginMap, $ZodCheckLessThan, $ZodCheckGreaterThan, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckBigIntFormat, $ZodCheckMaxSize, $ZodCheckMinSize, $ZodCheckSizeEquals, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckLengthEquals, $ZodCheckStringFormat, $ZodCheckRegex, $ZodCheckLowerCase, $ZodCheckUpperCase, $ZodCheckIncludes, $ZodCheckStartsWith, $ZodCheckEndsWith, $ZodCheckProperty, $ZodCheckMimeType, $ZodCheckOverwrite, init_checks, Doc, init_doc, version, init_versions, $ZodType, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, $ZodIPv6, $ZodMAC, $ZodCIDRv4, $ZodCIDRv6, $ZodBase64, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodCustomStringFormat, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodBigInt, $ZodBigIntFormat, $ZodSymbol, $ZodUndefined, $ZodNull, $ZodAny, $ZodUnknown, $ZodNever, $ZodVoid, $ZodDate, $ZodArray, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodXor, $ZodDiscriminatedUnion, $ZodIntersection, $ZodTuple, $ZodRecord, $ZodMap, $ZodSet, $ZodEnum, $ZodLiteral, $ZodFile, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodSuccess, $ZodCatch, $ZodNaN, $ZodPipe, $ZodCodec, $ZodReadonly, $ZodTemplateLiteral, $ZodFunction, $ZodPromise, $ZodLazy, $ZodCustom, init_schemas, init_ar, init_az, init_be, init_bg, init_ca, init_cs, init_da, init_de, error, init_en2, init_eo, init_es, init_fa, init_fi, init_fr, init_fr_CA, init_he, init_hu, init_hy, init_id, init_is, init_it, init_ja, init_ka, init_km, init_kh, init_ko, init_lt, init_mk, init_ms, init_nl, init_no, init_ota, init_ps, init_pl, init_pt, init_ru, init_sl, init_sv, init_ta, init_th, init_tr, init_uk, init_ua, init_ur, init_uz, init_vi, init_zh_CN, init_zh_TW, init_yo, init_locales, _a2, $output, $input, $ZodRegistry, globalRegistry, init_registries, init_api, createToJSONSchemaMethod, createStandardJSONSchemaMethod, init_to_json_schema, formatMap, stringProcessor, numberProcessor, booleanProcessor, bigintProcessor, symbolProcessor, nullProcessor, undefinedProcessor, voidProcessor, neverProcessor, anyProcessor, unknownProcessor, dateProcessor, enumProcessor, literalProcessor, nanProcessor, templateLiteralProcessor, fileProcessor, successProcessor, customProcessor, functionProcessor, transformProcessor, mapProcessor, setProcessor, arrayProcessor, objectProcessor, unionProcessor, intersectionProcessor, tupleProcessor, recordProcessor, nullableProcessor, nonoptionalProcessor, defaultProcessor, prefaultProcessor, catchProcessor, pipeProcessor, readonlyProcessor, promiseProcessor, optionalProcessor, lazyProcessor, allProcessors, init_json_schema_processors, init_json_schema_generator, init_json_schema, init_core2, init_parse2, ZodMiniType, ZodMiniObject, init_schemas2, init_checks2, init_iso, init_coerce, init_external2, init_v4_mini, init_zod_compat, checks_exports2, init_checks3, iso_exports2, ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration, init_iso2, initializer2, ZodError2, ZodRealError, init_errors4, parse2, parseAsync2, safeParse3, safeParseAsync3, encode3, decode2, encodeAsync2, decodeAsync2, safeEncode2, safeDecode2, safeEncodeAsync2, safeDecodeAsync2, init_parse3, schemas_exports3, ZodType2, _ZodString, ZodString2, ZodStringFormat, ZodEmail, ZodGUID, ZodUUID, ZodURL, ZodEmoji, ZodNanoID, ZodCUID, ZodCUID2, ZodULID, ZodXID, ZodKSUID, ZodIPv4, ZodMAC, ZodIPv6, ZodCIDRv4, ZodCIDRv6, ZodBase64, ZodBase64URL, ZodE164, ZodJWT, ZodCustomStringFormat, ZodNumber2, ZodNumberFormat, ZodBoolean2, ZodBigInt2, ZodBigIntFormat, ZodSymbol2, ZodUndefined2, ZodNull2, ZodAny2, ZodUnknown2, ZodNever2, ZodVoid2, ZodDate2, ZodArray2, ZodObject2, ZodUnion2, ZodXor, ZodDiscriminatedUnion2, ZodIntersection2, ZodTuple2, ZodRecord2, ZodMap2, ZodSet2, ZodEnum2, ZodLiteral2, ZodFile, ZodTransform, ZodOptional2, ZodExactOptional, ZodNullable2, ZodDefault2, ZodPrefault, ZodNonOptional, ZodSuccess, ZodCatch2, ZodNaN2, ZodPipe, ZodCodec, ZodReadonly2, ZodTemplateLiteral, ZodLazy2, ZodPromise2, ZodFunction2, ZodCustom, describe2, meta2, stringbool, init_schemas3, ZodFirstPartyTypeKind2, init_compat, z2, init_from_json_schema, init_coerce2, init_external3, init_classic, init_v4, LATEST_PROTOCOL_VERSION, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY, JSONRPC_VERSION, AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams, RequestSchema, NotificationsParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest, JSONRPCNotificationSchema, isJSONRPCNotification, JSONRPCResultResponseSchema, isJSONRPCResultResponse, ErrorCode, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, isInitializeRequest, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError, init_types3, init_interfaces, ignoreOverride, defaultOptions, getDefaultOptions, init_Options, getRefs, init_Refs, init_errorMessages, getRelativePath, init_getRelativePath, init_any, init_array2, init_bigint, init_boolean, init_branded, parseCatchDef, init_catch, integerDateParser, init_date, init_default, init_effects, init_enum, isJsonSchema7AllOfType, init_intersection, init_literal, emojiRegex2, zodPatterns, ALPHA_NUMERIC, init_string2, init_record, init_map, init_nativeEnum, init_never, init_null, primitiveMappings, asAnyOf, init_union, init_nullable, init_number2, init_object, parseOptionalDef, init_optional2, parsePipelineDef, init_pipeline, init_promise, init_set, init_tuple, init_undefined, init_unknown, parseReadonlyDef, init_readonly, selectParser, init_selectParser, get$ref, addMeta, init_parseDef, init_parseTypes, zodToJsonSchema, init_zodToJsonSchema, init_esm, init_zod_json_schema_compat, DEFAULT_REQUEST_TIMEOUT_MSEC, Protocol, init_protocol, require_code, require_scope, require_codegen, require_util, require_names, require_errors, require_boolSchema, require_rules, require_applicability, require_dataType, require_defaults, require_code2, require_keyword, require_subschema, require_fast_deep_equal, require_json_schema_traverse, require_resolve, require_validate, require_validation_error, require_ref_error, require_compile, require_data, require_utils, require_schemes, require_fast_uri, require_uri, require_core, require_id, require_ref, require_core2, require_limitNumber, require_multipleOf, require_ucs2length, require_limitLength, require_pattern, require_limitProperties, require_required, require_limitItems, require_equal, require_uniqueItems, require_const, require_enum, require_validation, require_additionalItems, require_items, require_prefixItems, require_items2020, require_contains, require_dependencies, require_propertyNames, require_additionalProperties, require_properties, require_patternProperties, require_not, require_anyOf, require_oneOf, require_allOf, require_if, require_thenElse, require_applicator, require_format, require_format2, require_metadata, require_draft7, require_types, require_discriminator, require_json_schema_draft_07, require_ajv, require_formats, require_limit, require_dist, import_ajv, import_ajv_formats, AjvJsonSchemaValidator, init_ajv_provider, ExperimentalServerTasks, init_server, init_helpers, Server, init_server2, COMPLETABLE_SYMBOL, McpZodTypeKind, init_completable, init_uriTemplate, TOOL_NAME_REGEX, init_toolNameValidation, ExperimentalMcpServerTasks, init_mcp_server, init_zod, McpServer, EMPTY_OBJECT_JSON_SCHEMA, EMPTY_COMPLETION_RESULT, init_mcp, RequestError, toRequestError, GlobalRequest, Request2, newHeadersFromIncoming, wrapBodyStream, newRequestFromIncoming, getRequestCache, requestCache, incomingKey, urlKey, headersKey, abortControllerKey, getAbortController, requestPrototype, newRequest, responseCache, getResponseCache, cacheKey, GlobalResponse, Response2, buildOutgoingHttpHeaders, X_ALREADY_SENT, outgoingEnded, handleRequestError, handleFetchError, handleResponseError, flushHeaders, responseViaCache, isPromise, responseViaResponseObject, getRequestListener, init_dist22, WebStandardStreamableHTTPServerTransport, init_webStandardStreamableHttp, StreamableHTTPServerTransport, init_streamableHttp, AgentVaultMcpServer, init_mcp_server2, init_mcp_handlers, init_skill_manifest, init_skill_invoker, spanBuffer, init_skill_telemetry, PolicyEnforcer, init_policy_enforcer, VERSION, init_src2;
17879
+ var __create, __defProp2, __getOwnPropDesc, __getOwnPropNames2, __getProtoOf, __hasOwnProp, __esm2, __commonJS, __export2, __copyProps, __toESM, SENTINEL, WRAPPERS, INSTRUCTION, init_abstention, init_envelope_text, init_mls_commit_classify, MENTION_RE, BROADCAST_NAMES, init_room_protocol, __filename, __dirname, url2, path, Module, Module, root, window_, crypto_, randomValuesStandard, crypto4, randomValueNodeJS, _Module, libsodium_sumo_default, init_libsodium_sumo, a, r, t, c, libsodium_wrappers_default, init_libsodium_wrappers, init_keys, init_x3dh, MAX_SKIP, CHAIN_KEY_SEED, MSG_KEY_SEED, HEADER_KEY_SEED, DoubleRatchet, init_ratchet, init_file_crypto, DOMAIN_DID_DOCUMENT, DOMAIN_TRANSFER_INTENT, DOMAIN_TRANSFER_ACCEPT, BASE58_ALPHABET, init_did, BUILTIN_PATTERNS, ScanEngine, init_scan_engine, init_merkle, VC_CONTEXT_V2, AV_CREDENTIAL_CONTEXT, CRYPTOSUITE, BASE58_ALPHABET2, init_vc, init_transport, init_telemetry, TelemetryReporter, init_telemetry_reporter, CROCKFORD, ARGON2_OPSLIMIT, ARGON2_MEMLIMIT, SALT_BYTES, NONCE_BYTES, KEY_BYTES, BACKUP_VERSION, MAX_BACKUP_SIZE, init_backup, isLE, swap8IfBE, swap32IfBE, hasHexBuiltin, hexes, oidNist, init_utils, BSIGMA, init_blake, HashMD, SHA256_IV, SHA384_IV, SHA512_IV, init_md, U32_MASK64, _32n, shrSH, shrSL, rotrSH, rotrSL, rotrBH, rotrBL, rotr32H, rotr32L, add3L, add3H, add4L, add4H, add5L, add5H, init_u64, B2B_IV, BBUF, _BLAKE2, _BLAKE2b, blake2b, init_blake2, CROCKFORD2, SALT_BYTES2, NONCE_BYTES2, KEY_BYTES2, TAG_BYTES, ENVELOPE_OVERHEAD, AAD_PREFIX, UUID_RE, UUID_V4_RE, DIGEST_ID_RE, TIMESTAMP_RE, encoder, decoder, HISTORY_MAGIC, HISTORY_ARCHIVE_VERSION, HISTORY_MAX_ENTRIES, HISTORY_MAX_BLOB_BYTES, HISTORY_KDF_OPSLIMIT, HISTORY_KDF_MEMLIMIT, HistoryEntryTooLargeError, init_history_backup, init_approval, encVoid, init_tlsEncoder, uint8Encoder, encodeUint8, decodeUint8, uint16Encoder, encodeUint16, decodeUint16, uint32Encoder, encodeUint32, decodeUint32, uint64Encoder, encodeUint64, decodeUint64, init_number, init_tlsDecoder, init_enumHelpers, defaultProposalTypes, defaultProposalTypeEncoder, encodeDefaultProposalType, decodeDefaultProposalType, init_defaultProposalType, defaultExtensionTypes, defaultExtensionTypeEncoder, encodeDefaultExtensionType, decodeDefaultExtensionType, init_defaultExtensionType, acceptAll, init_incomingMessageAction, MlsError, ValidationError, CodecError, UsageError, DependencyError, CryptoVerificationError, CryptoError, InternalError, init_mlsError, init_byteArray, varLenDataEncoder, decodeVarLenData, init_variableLength, init_constantTimeCompare, extensionTypeEncoder, encodeExtensionType, decodeExtensionType, extensionEncoder, encodeExtension, decodeExtension, init_extension, credentialTypes, credentialTypeEncoder, encodeCredentialType, decodeCredentialType, init_credentialType, credentialBasicEncoder, encodeCredentialBasic, credentialX509Encoder, encodeCredentialX509, credentialCustomEncoder, encodeCredentialCustom, credentialEncoder, encodeCredential, decodeCredentialBasic, decodeCredentialX509, decodeCredential, init_credential, externalSenderEncoder, encodeExternalSender, decodeExternalSender, init_externalSender, init_hash, init_optional, ciphersuites, ciphersuiteEncoder, encodeCiphersuite, decodeCiphersuite, ciphersuiteValues, init_ciphersuite, init_signature, protocolVersions, protocolVersionEncoder, encodeProtocolVersion, decodeProtocolVersion, init_protocolVersion, capabilitiesEncoder, encodeCapabilities, decodeCapabilities, init_capabilities, leafNodeSources, leafNodeSourceEncoder, encodeLeafNodeSource, decodeLeafNodeSource, init_leafNodeSource, lifetimeEncoder, encodeLifetime, decodeLifetime, defaultLifetime, init_lifetime, leafNodeDataEncoder, encodeLeafNodeData, decodeLeafNodeData, leafNodeInfoKeyPackageEncoder, encodeLeafNodeInfoKeyPackage, leafNodeInfoUpdateOmittedEncoder, encodeLeafNodeInfoUpdateOmitted, leafNodeInfoCommitOmittedEncoder, encodeLeafNodeInfoCommitOmitted, leafNodeInfoOmittedEncoder, encodeLeafNodeInfoOmitted, decodeLeafNodeInfoKeyPackage, decodeLeafNodeInfoUpdateOmitted, decodeLeafNodeInfoCommitOmitted, decodeLeafNodeInfoOmitted, leafNodeInfoUpdateEncoder, encodeLeafNodeInfoUpdate, leafNodeInfoCommitEncoder, encodeLeafNodeInfoCommit, leafNodeInfoEncoder, encodeLeafNodeInfo, decodeLeafNodeInfoUpdate, decodeLeafNodeInfoCommit, decodeLeafNodeInfo, leafNodeTBSEncoder, encodeLeafNodeTBS, leafNodeEncoder, encodeLeafNode, decodeLeafNode, decodeLeafNodeKeyPackage, decodeLeafNodeCommit, decodeLeafNodeUpdate, init_leafNode, keyPackageTBSEncoder, encodeKeyPackageTBS, decodeKeyPackageTBS, keyPackageEncoder, encodeKeyPackage, decodeKeyPackage, init_keyPackage, init_kdf, pskTypes, pskTypeEncoder, encodePskType, decodePskType, resumptionPSKUsages, resumptionPSKUsageEncoder, encodeResumptionPSKUsage, decodeResumptionPSKUsage, encodePskInfoExternal, encodePskInfoResumption, decodePskInfoResumption, pskInfoEncoder, encodePskInfo, decodePskInfo, pskIdEncoder, encodePskId, decodePskId, pskLabelEncoder, encodePskLabel, decodePskLabel, init_presharedkey, addEncoder, encodeAdd, decodeAdd, updateEncoder, encodeUpdate, decodeUpdate, removeEncoder, encodeRemove, decodeRemove, pskEncoder, encodePSK, decodePSK, reinitEncoder, encodeReinit, decodeReinit, externalInitEncoder, encodeExternalInit, decodeExternalInit, groupContextExtensionsEncoder, encodeGroupContextExtensions, decodeGroupContextExtensions, proposalAddEncoder, encodeProposalAdd, proposalUpdateEncoder, encodeProposalUpdate, proposalRemoveEncoder, encodeProposalRemove, proposalPSKEncoder, encodeProposalPSK, proposalReinitEncoder, encodeProposalReinit, proposalExternalInitEncoder, encodeProposalExternalInit, proposalGroupContextExtensionsEncoder, encodeProposalGroupContextExtensions, proposalCustomEncoder, encodeProposalCustom, proposalEncoder, encodeProposal, decodeProposalAdd, decodeProposalUpdate, decodeProposalRemove, decodeProposalPSK, decodeProposalReinit, decodeProposalExternalInit, decodeProposalGroupContextExtensions, decodeProposal, init_proposal, proposalOrRefTypes, proposalOrRefTypeEncoder, encodeProposalOrRefType, decodeProposalOrRefType, proposalOrRefProposalEncoder, encodeProposalOrRefProposal, proposalOrRefProposalRefEncoder, encodeProposalOrRefProposalRef, proposalOrRefEncoder, encodeProposalOrRef, decodeProposalOrRef, init_proposalOrRefType, init_hpke, groupContextEncoder, encodeGroupContext, decodeGroupContext, init_groupContext, nodeTypes, nodeTypeEncoder, encodeNodeType, decodeNodeType, init_nodeType, parentNodeEncoder, encodeParentNode, decodeParentNode, init_parentNode, init_treemath, nodeEncoder, encodeNode, decodeNode, ratchetTreeEncoder, encodeRatchetTree, decodeRatchetTree, init_ratchetTree, leafNodeHashInputEncoder, encodeLeafNodeHashInput, decodeLeafNodeHashInput, parentNodeHashInputEncoder, encodeParentNodeHashInput, decodeParentNodeHashInput, treeHashInputEncoder, encodeTreeHashInput, decodeTreeHashInput, init_treeHash, parentHashInputEncoder, encodeParentHashInput, decodeParentHashInput, init_parentHash, hpkeCiphertextEncoder, encodeHpkeCiphertext, decodeHpkeCiphertext, init_hpkeCiphertext, updatePathNodeEncoder, encodeUpdatePathNode, decodeUpdatePathNode, updatePathEncoder, encodeUpdatePath, decodeUpdatePath, init_updatePath, commitEncoder, encodeCommit, decodeCommit, init_commit, contentTypes, contentTypeEncoder, encodeContentType, decodeContentType, init_contentType, wireformats, wireformatEncoder, encodeWireformat, decodeWireformat, init_wireformat, senderTypes, senderTypeEncoder, encodeSenderType, decodeSenderType, senderEncoder, encodeSender, decodeSender, reuseGuardEncoder, encodeReuseGuard, decodeReuseGuard, senderDataEncoder, encodeSenderData, decodeSenderData, senderDataAADEncoder, encodeSenderDataAAD, decodeSenderDataAAD, init_sender, framedContentApplicationDataEncoder, encodeFramedContentApplicationData, framedContentProposalDataEncoder, encodeFramedContentProposalData, framedContentCommitDataEncoder, encodeFramedContentCommitData, framedContentInfoEncoder, encodeFramedContentInfo, decodeFramedContentApplicationData, decodeFramedContentProposalData, decodeFramedContentCommitData, decodeFramedContentInfo, framedContentEncoder, encodeFramedContent, decodeFramedContent, senderInfoEncoder, encodeSenderInfo, framedContentTBSEncoder, encodeFramedContentTBS, encodeFramedContentAuthDataContent, encodeFramedContentAuthDataCommit, framedContentAuthDataEncoder, encodeFramedContentAuthData, decodeFramedContentAuthDataCommit, init_framedContent, authenticatedContentEncoder, encodeAuthenticatedContent, decodeAuthenticatedContent, authenticatedContentTBMEncoder, encodeAuthenticatedContentTBM, init_authenticatedContent, publicMessageInfoEncoder, encodePublicMessageInfo, publicMessageEncoder, encodePublicMessage, decodePublicMessage, init_publicMessage, init_messageProtectionPublic, init_externalProposal, requiredCapabilitiesEncoder, encodeRequiredCapabilities, decodeRequiredCapabilities, init_requiredCapabilities, defaultAuthenticationService, init_authenticationService, defaultPaddingConfig, init_paddingConfig, defaultKeyPackageEqualityConfig, init_keyPackageEqualityConfig, defaultLifetimeConfig, init_lifetimeConfig, defaultKeyRetentionConfig, init_keyRetentionConfig, groupInfoTBSEncoder, encodeGroupInfoTBS, decodeGroupInfoTBS, groupInfoEncoder, encodeGroupInfo, decodeGroupInfo, init_groupInfo, keyScheduleEncoder, encodeKeySchedule, decodeKeySchedule, init_keySchedule, generationSecretEncoder, decodeGenerationSecret, secretTreeNodeEncoder, decodeSecretTreeNode, secretTreeEncoder, decodeSecretTree, init_secretTree, confirmedTranscriptHashInputEncoder, encodeConfirmedTranscriptHashInput, decodeConfirmedTranscriptHashInput, init_transcriptHash, groupSecretsEncoder, encodeGroupSecrets, decodeGroupSecrets, init_groupSecrets, encryptedGroupSecretsEncoder, encodeEncryptedGroupSecrets, decodeEncryptedGroupSecrets, welcomeEncoder, encodeWelcome, decodeWelcome, init_welcome, init_pathSecrets, privateKeyPathEncoder, decodePrivateKeyPath, init_privateKeyPath, proposalWithSenderEncoder, decodeProposalWithSender, unappliedProposalsEncoder, decodeUnappliedProposals, init_unappliedProposals, emptyPskIndex, init_pskIndex, init_addToMap, defaultClientConfig, init_clientConfig, init_array, stringEncoder, encodeString, decodeString, init_string, activeEncoder, suspendedPendingReinitEncoder, removedFromGroupEncoder, groupActiveStateEncoder, decodeGroupActiveState, init_groupActiveState, epochReceiverDataEncoder, decodeEpochReceiverData, init_epochReceiverData, groupStateEncoder, encodeGroupState, decodeGroupState, groupStateEncoderWithoutTree, encodeGroupStateWithoutTree, emptyProposals, init_clientState, privateMessageEncoder, encodePrivateMessage, decodePrivateMessage, privateContentAADEncoder, encodePrivateContentAAD, decodePrivateContentAAD, init_privateMessage, init_messageProtection, init_createMessage, init_createCommit, init_processMessages, init_makeHashImpl, HpkeError, InvalidParamError, SerializeError, DeserializeError, EncapError, DecapError, ExportError, SealError, OpenError, MessageLimitReachedError, DeriveKeyPairError, NotSupportedError, init_errors, dntGlobals, dntGlobalThis, init_dnt_shims, NativeAlgorithm, init_algorithm, Mode, KemId, KdfId, AeadId, init_identifiers, INPUT_LENGTH_LIMIT, INFO_LENGTH_LIMIT, MINIMUM_PSK_LENGTH, EMPTY, BYTE_TO_BIGINT_256, init_consts, SUITE_ID_HEADER_KEM, init_kemInterface, HPKE_VERSION, HkdfNative, HkdfSha256Native, HkdfSha384Native, HkdfSha512Native, init_hkdf, isCryptoKeyPair, init_misc, LABEL_EAE_PRK, LABEL_SHARED_SECRET, Dhkem, init_dhkem, KEM_USAGES, LABEL_DKP_PRK, LABEL_SK, init_dhkemPrimitives, Bignum, init_bignum, LABEL_CANDIDATE, ORDER_P_256, ORDER_P_384, ORDER_P_521, PKCS8_ALG_ID_P_256, PKCS8_ALG_ID_P_384, PKCS8_ALG_ID_P_521, EC_P_256_PARAMS, EC_P_384_PARAMS, EC_P_521_PARAMS, Ec, init_ec, init_xCryptoKey, init_xCurve, init_hybridkem, AEAD_USAGES, init_aeadEncryptionContext, _endianTestBuffer, _endianTestBytes, isLE2, init_noble, init_hash2, _HMAC, hmac, init_hmac, init_md2, U32_MASK642, _32n2, init_u642, init_sha2, _0n, _1n, _2n, _7n, _256n, _0x71n, SHA3_PI, SHA3_ROTL, _SHA3_IOTA, IOTAS, SHA3_IOTA_H, SHA3_IOTA_L, init_sha3, init_modular, init_curve, init_montgomery, init_mod, AesGcmContext, Aes128Gcm, Aes256Gcm, init_aesGcm, init_exportOnly, init_emitNotSupported, LABEL_SEC, ExporterContextImpl, RecipientExporterContextImpl, SenderExporterContextImpl, init_exporterContext, EncryptionContextImpl, init_encryptionContext, __classPrivateFieldGet, __classPrivateFieldSet, _Mutex_locked, Mutex, init_mutex, __classPrivateFieldGet2, __classPrivateFieldSet2, _RecipientContextImpl_mutex, RecipientContextImpl, init_recipientContext, __classPrivateFieldGet3, __classPrivateFieldSet3, _SenderContextImpl_mutex, SenderContextImpl, init_senderContext, LABEL_BASE_NONCE, LABEL_EXP, LABEL_INFO_HASH, LABEL_KEY, LABEL_PSK_ID_HASH, LABEL_SECRET, SUITE_ID_HEADER_HPKE, CipherSuiteNative, init_cipherSuiteNative, DhkemP256HkdfSha256Native, DhkemP384HkdfSha384Native, DhkemP521HkdfSha512Native, init_dhkemNative, CipherSuite, DhkemP256HkdfSha256, DhkemP384HkdfSha384, DhkemP521HkdfSha512, HkdfSha256, HkdfSha384, HkdfSha512, init_native, ALG_NAME, PKCS8_ALG_ID_X25519, BASE_POINT_X25519, X25519, init_x25519, DhkemX25519HkdfSha256, init_dhkemX25519, PKCS8_ALG_ID_X448, init_x448, init_dhkemX448, init_mod2, init_hpke2, isLE3, wrapCipher, init_utils2, encodeStr, sigma16, sigma32, sigma16_32, sigma32_32, BLOCK_LEN, BLOCK_LEN32, MAX_COUNTER, U32_EMPTY, _XorStreamPRG, createPRG, init_arx, Poly1305, poly1305, init_poly1305, chacha_exports, chacha20orig, chacha20, xchacha20, chacha8, chacha12, ZEROS16, updatePadded, ZEROS32, _poly1305_aead, chacha20poly1305, xchacha20poly1305, rngChacha20, rngChacha8, init_chacha, init_makeAead, init_makeKdfImpl, init_makeDhKem, init_makeHpke, defaultRng, init_rng, crypto2, init_cryptoNode, isLE4, swap32IfBE3, hasHexBuiltin2, hexes2, asciis, Hash, init_utils3, HashMD3, SHA256_IV3, SHA384_IV3, SHA512_IV3, init_md3, U32_MASK643, _32n3, shrSH3, shrSL3, rotrSH3, rotrSL3, rotrBH3, rotrBL3, rotlSH2, rotlSL2, rotlBH2, rotlBL2, add3L3, add3H3, add4L3, add4H3, add5L3, add5H3, init_u643, SHA256_K, SHA256_W, SHA256, K512, SHA512_Kh, SHA512_Kl, SHA512_W_H, SHA512_W_L, SHA512, SHA384, sha2563, sha5122, sha3842, init_sha22, _0n2, _1n2, isPosBig, bitMask, notImplemented, init_utils4, _0n3, _1n3, _2n2, _3n, _4n, _5n, _7n2, _8n, _9n, _16n, isNegativeLE, FIELD_FIELDS, init_modular2, _0n4, _1n4, pointPrecomputes, pointWindowSizes, wNAF, init_curve2, _0n5, _1n5, _2n3, _8n2, PrimeEdwardsPoint, init_edwards, os2ip, _DST_scalar, init_hash_to_curve, _0n6, _1n6, _2n4, init_montgomery2, ed25519_exports, _0n7, _1n7, _2n5, _3n2, _5n2, _8n3, ed25519_CURVE_p, ed25519_CURVE, ED25519_SQRT_M1, Fp, Fn, ed25519Defaults, ed25519, ed25519ctx, ed25519ph, x25519, ELL2_C1, ELL2_C2, ELL2_C3, ELL2_C1_EDWARDS, ed25519_hasher, SQRT_M1, SQRT_AD_MINUS_ONE, INVSQRT_A_MINUS_D, ONE_MINUS_D_SQ, D_MINUS_ONE_SQ, invertSqrt, MAX_255B, bytes255ToNumberLE, _RistrettoPoint, ristretto255, ristretto255_hasher, ED25519_TORSION_SUBGROUP, edwardsToMontgomery, RistrettoPoint, hashToCurve, encodeToCurve, hashToRistretto255, hash_to_ristretto255, init_ed25519, _0n8, _1n8, _2n6, _7n3, _256n2, _0x71n2, SHA3_PI2, SHA3_ROTL2, _SHA3_IOTA2, IOTAS2, SHA3_IOTA_H2, SHA3_IOTA_L2, rotlH, rotlL, Keccak, genShake, shake2562, init_sha32, ed448_exports, ed448_CURVE, E448_CURVE, shake256_114, shake256_64, _1n9, _2n7, _3n3, _4n2, _11n, _22n, _44n, _88n, _223n, Fp2, Fn2, Fp448, Fn448, ED448_DEF, ed448, ed448ph, E448, x448, ELL2_C12, ELL2_J, ed448_hasher, ONE_MINUS_D, ONE_MINUS_TWO_D, SQRT_MINUS_D, INVSQRT_MINUS_D, invertSqrt2, _DecafPoint, decaf448, decaf448_hasher, ED448_TORSION_SUBGROUP, DecafPoint, hashToCurve2, encodeToCurve2, hashToDecaf448, hash_to_decaf448, edwardsToMontgomery2, init_ed448, HMAC, hmac2, init_hmac2, divNearest, DERErr, DER, _0n9, _1n10, _2n8, _3n4, _4n3, init_weierstrass, init_shortw_utils, nist_exports, p256_CURVE, p384_CURVE, p521_CURVE, Fp256, Fp384, Fp521, p256, p256_hasher, p384, p384_hasher, p521, secp256r1, secp384r1, secp521r1, p521_hasher, init_nist, init_makeNobleSignatureImpl, defaultCryptoProvider, init_provider, init_getCiphersuiteImpl, init_resumption, SHA256_K2, SHA256_W2, SHA2_32B, _SHA256, K5122, SHA512_Kh2, SHA512_Kl2, SHA512_W_H2, SHA512_W_L2, SHA2_64B, _SHA512, _SHA384, sha2564, sha5123, sha3843, init_sha23, _HMAC2, hmac3, init_hmac3, init_makeHashImpl2, init_makeNobleSignatureImpl2, BLOCK_SIZE, ZEROS162, ZEROS322, POLY, mul2, swapLE, estimateWindow, GHASH, Polyval, ghash, polyval, init_polyval, BLOCK_SIZE2, BLOCK_SIZE32, EMPTY_BLOCK, POLY2, sbox, rotr32_8, rotl32_8, tableEncoding, xPowers, gcm, _CMAC, cmac, init_aes, init_makeAead2, init_makeKdfImpl2, init_makeDhKem2, init_makeHpke2, init_rng2, nobleCryptoProvider, init_provider2, mlsPublicMessageEncoder, encodeMlsPublicMessage, mlsWelcomeEncoder, encodeMlsWelcome, mlsPrivateMessageEncoder, encodeMlsPrivateMessage, mlsGroupInfoEncoder, encodeMlsGroupInfo, mlsKeyPackageEncoder, encodeMlsKeyPackage, mlsMessageContentEncoder, encodeMlsMessageContent, decodeMlsMessageContent, mlsMessageEncoder, encodeMlsMessage, decodeMlsMessage, init_message, greaseValues, defaultGreaseConfig, init_grease, init_defaultCapabilities, init_src, DEFAULT_CIPHERSUITE, MLSGroupManager, init_mls_group, DOMAIN, NONCE_BYTES3, init_owner_sync, init_mls_delivery_order, init_mls_presend_epoch, dist_exports2, init_dist2, DIR_MODE, FILE_MODE, init_secure_file, SYNC_LOCK_STALE_MS, pendingKpPath, init_mls_state, init_mls_kp_pool, PACKAGE, FALLBACK, MAX_LEN, DISALLOWED, init_client_version, CredentialStore, init_credential_store, init_crypto_helpers, STATE_FILE, LEGACY_STATE_FILE, init_state, init_transport2, A2ALogGate, init_a2a_log_gate, init_mls_membership_probe, FIRST_DIRTY_DELAY_MS, RETRY_BASE_DELAYS_MS, MAX_RETRY_DELAY_MS, JITTER_FRACTION, HistoryBackupScheduler, init_history_backup_scheduler, FILE_MODE2, init_history_recovery_file, TENANT_ID_PATTERN, DIR_MODE2, FILE_MODE3, HISTORY_RECOVERY_VERIFY_TIMEOUT_MS, VERIFY_TIMEOUT_MESSAGE, HistoryRecoveryVerificationTimeoutError, init_history_recovery_code, ACTIONS, init_decision_reply, history_backup_client_exports, HISTORY_RESTORE_TIMEOUT_MS, HISTORY_RESTORE_RESPONSE_MAX_BYTES, HISTORY_ENVELOPE_MIN_BYTES, HISTORY_AAD_PREFIX, UUID_RE2, GENERATION_RESPONSE_KEYS, utf8Encoder, utf8Decoder, HistoryBackupClient, init_history_backup_client, openclaw_compat_exports, defaultImporter, HEARTBEAT_CANDIDATES, AGENT_EVENT_CANDIDATES, TRANSCRIPT_CANDIDATES, _heartbeatFn, _agentEventFn, _transcriptFn, init_openclaw_compat, http_handlers_exports, init_http_handlers, mcp_proxy_helpers_exports, init_mcp_proxy_helpers, workspace_handlers_exports, MAX_FILE_SIZE, init_workspace_handlers, ROOM_AGENT_TYPES, CREDENTIAL_MESSAGE_TYPES, CATCHUP_MESSAGE_TYPES, POLL_INTERVAL_MS, RECONNECT_BASE_MS, UUID_RE3, RECONNECT_MAX_MS, PENDING_POLL_INTERVAL_MS, HISTORY_RESTORE_TIMEOUT_MS2, HISTORY_UPLOAD_TIMEOUT_MS, CANONICAL_TIMESTAMP_RE, OUTBOUND_DEDUPE_WINDOW_MS, OUTBOUND_DEDUPE_MAX_SUPPRESS_MS, OUTBOUND_DEDUPE_MAX, OUTBOUND_DEDUPE_TYPES, RETRY_CANDIDATE_TTL_MS, RETRY_CANDIDATE_MAX, ROOM_FULFIL_COOLDOWN_MS, SecureChannel, init_channel, init_types, DEFAULT_API_URL, DEFAULT_HTTP_PORT, init_account_config, init_lifecycle, _ocRuntime, _channels, agentVaultPlugin, init_openclaw_plugin, init_gateway_send, init_llm_response_parser, OPENROUTER_PRICING, init_llm_pricing_openrouter, LEGACY_PRICING, PRICING, init_llm_cost, traceStore, init_fetch_interceptor, init_tool_audit, init_harness_compat, managedRoutesRequested, init_openclaw_entry, util, objectUtil, ZodParsedType, getParsedType, init_util, ZodIssueCode, ZodError, init_ZodError, errorMap, en_default, init_en, overrideErrorMap, init_errors2, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, init_parseUtil, init_typeAliases, errorUtil, init_errorUtil, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, jwtRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv4CidrRegex, ipv6Regex, ipv6CidrRegex, base64Regex, base64urlRegex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, init_types2, init_external, init_v3, NEVER, $ZodAsyncError, $ZodEncodeError, globalConfig, init_core, util_exports, EVALUATING, captureStackTrace, allowsEval, getParsedType2, propertyKeyTypes, primitiveTypes, NUMBER_FORMAT_RANGES, BIGINT_FORMAT_RANGES, Class, init_util2, initializer, $ZodError, $ZodRealError, init_errors3, _parse, parse, _parseAsync, parseAsync, _safeParse, safeParse, _safeParseAsync, safeParseAsync, _encode, _decode, _encodeAsync, _decodeAsync, _safeEncode, _safeDecode, _safeEncodeAsync, _safeDecodeAsync, init_parse, regexes_exports, cuid, cuid2, ulid, xid, ksuid, nanoid, duration, extendedDuration, guid, uuid, uuid4, uuid6, uuid7, email, html5Email, rfc5322Email, unicodeEmail, idnEmail, browserEmail, _emoji, ipv4, ipv6, mac, cidrv4, cidrv6, base64, base64url, hostname, domain, e164, dateSource, date, string, bigint, integer, number, boolean, _null, _undefined, lowercase, uppercase, hex, md5_hex, md5_base64, md5_base64url, sha1_hex, sha1_base64, sha1_base64url, sha256_hex, sha256_base64, sha256_base64url, sha384_hex, sha384_base64, sha384_base64url, sha512_hex, sha512_base64, sha512_base64url, init_regexes, $ZodCheck, numericOriginMap, $ZodCheckLessThan, $ZodCheckGreaterThan, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckBigIntFormat, $ZodCheckMaxSize, $ZodCheckMinSize, $ZodCheckSizeEquals, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckLengthEquals, $ZodCheckStringFormat, $ZodCheckRegex, $ZodCheckLowerCase, $ZodCheckUpperCase, $ZodCheckIncludes, $ZodCheckStartsWith, $ZodCheckEndsWith, $ZodCheckProperty, $ZodCheckMimeType, $ZodCheckOverwrite, init_checks, Doc, init_doc, version, init_versions, $ZodType, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, $ZodIPv6, $ZodMAC, $ZodCIDRv4, $ZodCIDRv6, $ZodBase64, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodCustomStringFormat, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodBigInt, $ZodBigIntFormat, $ZodSymbol, $ZodUndefined, $ZodNull, $ZodAny, $ZodUnknown, $ZodNever, $ZodVoid, $ZodDate, $ZodArray, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodXor, $ZodDiscriminatedUnion, $ZodIntersection, $ZodTuple, $ZodRecord, $ZodMap, $ZodSet, $ZodEnum, $ZodLiteral, $ZodFile, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodSuccess, $ZodCatch, $ZodNaN, $ZodPipe, $ZodCodec, $ZodReadonly, $ZodTemplateLiteral, $ZodFunction, $ZodPromise, $ZodLazy, $ZodCustom, init_schemas, init_ar, init_az, init_be, init_bg, init_ca, init_cs, init_da, init_de, error, init_en2, init_eo, init_es, init_fa, init_fi, init_fr, init_fr_CA, init_he, init_hu, init_hy, init_id, init_is, init_it, init_ja, init_ka, init_km, init_kh, init_ko, init_lt, init_mk, init_ms, init_nl, init_no, init_ota, init_ps, init_pl, init_pt, init_ru, init_sl, init_sv, init_ta, init_th, init_tr, init_uk, init_ua, init_ur, init_uz, init_vi, init_zh_CN, init_zh_TW, init_yo, init_locales, _a2, $ZodRegistry, globalRegistry, init_registries, init_api, createToJSONSchemaMethod, createStandardJSONSchemaMethod, init_to_json_schema, formatMap, stringProcessor, numberProcessor, booleanProcessor, bigintProcessor, symbolProcessor, nullProcessor, undefinedProcessor, voidProcessor, neverProcessor, anyProcessor, unknownProcessor, dateProcessor, enumProcessor, literalProcessor, nanProcessor, templateLiteralProcessor, fileProcessor, successProcessor, customProcessor, functionProcessor, transformProcessor, mapProcessor, setProcessor, arrayProcessor, objectProcessor, unionProcessor, intersectionProcessor, tupleProcessor, recordProcessor, nullableProcessor, nonoptionalProcessor, defaultProcessor, prefaultProcessor, catchProcessor, pipeProcessor, readonlyProcessor, promiseProcessor, optionalProcessor, lazyProcessor, allProcessors, init_json_schema_processors, init_json_schema_generator, init_json_schema, init_core2, init_parse2, ZodMiniType, ZodMiniObject, init_schemas2, init_checks2, init_iso, init_coerce, init_external2, init_v4_mini, init_zod_compat, checks_exports2, init_checks3, iso_exports2, ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration, init_iso2, initializer2, ZodError2, ZodRealError, init_errors4, parse2, parseAsync2, safeParse3, safeParseAsync3, encode3, decode2, encodeAsync2, decodeAsync2, safeEncode2, safeDecode2, safeEncodeAsync2, safeDecodeAsync2, init_parse3, schemas_exports3, ZodType2, _ZodString, ZodString2, ZodStringFormat, ZodEmail, ZodGUID, ZodUUID, ZodURL, ZodEmoji, ZodNanoID, ZodCUID, ZodCUID2, ZodULID, ZodXID, ZodKSUID, ZodIPv4, ZodMAC, ZodIPv6, ZodCIDRv4, ZodCIDRv6, ZodBase64, ZodBase64URL, ZodE164, ZodJWT, ZodCustomStringFormat, ZodNumber2, ZodNumberFormat, ZodBoolean2, ZodBigInt2, ZodBigIntFormat, ZodSymbol2, ZodUndefined2, ZodNull2, ZodAny2, ZodUnknown2, ZodNever2, ZodVoid2, ZodDate2, ZodArray2, ZodObject2, ZodUnion2, ZodXor, ZodDiscriminatedUnion2, ZodIntersection2, ZodTuple2, ZodRecord2, ZodMap2, ZodSet2, ZodEnum2, ZodLiteral2, ZodFile, ZodTransform, ZodOptional2, ZodExactOptional, ZodNullable2, ZodDefault2, ZodPrefault, ZodNonOptional, ZodSuccess, ZodCatch2, ZodNaN2, ZodPipe, ZodCodec, ZodReadonly2, ZodTemplateLiteral, ZodLazy2, ZodPromise2, ZodFunction2, ZodCustom, describe2, meta2, stringbool, init_schemas3, ZodFirstPartyTypeKind2, init_compat, z2, init_from_json_schema, init_coerce2, init_external3, init_classic, init_v4, LATEST_PROTOCOL_VERSION, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY, JSONRPC_VERSION, AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams, RequestSchema, NotificationsParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest, JSONRPCNotificationSchema, isJSONRPCNotification, JSONRPCResultResponseSchema, isJSONRPCResultResponse, ErrorCode, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, isInitializeRequest, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError, init_types3, init_interfaces, ignoreOverride, defaultOptions, getDefaultOptions, init_Options, getRefs, init_Refs, init_errorMessages, getRelativePath, init_getRelativePath, init_any, init_array2, init_bigint, init_boolean, init_branded, parseCatchDef, init_catch, integerDateParser, init_date, init_default, init_effects, init_enum, isJsonSchema7AllOfType, init_intersection, init_literal, emojiRegex2, zodPatterns, ALPHA_NUMERIC, init_string2, init_record, init_map, init_nativeEnum, init_never, init_null, primitiveMappings, asAnyOf, init_union, init_nullable, init_number2, init_object, parseOptionalDef, init_optional2, parsePipelineDef, init_pipeline, init_promise, init_set, init_tuple, init_undefined, init_unknown, parseReadonlyDef, init_readonly, selectParser, init_selectParser, get$ref, addMeta, init_parseDef, init_parseTypes, zodToJsonSchema, init_zodToJsonSchema, init_esm, init_zod_json_schema_compat, DEFAULT_REQUEST_TIMEOUT_MSEC, Protocol, init_protocol, require_code, require_scope, require_codegen, require_util, require_names, require_errors, require_boolSchema, require_rules, require_applicability, require_dataType, require_defaults, require_code2, require_keyword, require_subschema, require_fast_deep_equal, require_json_schema_traverse, require_resolve, require_validate, require_validation_error, require_ref_error, require_compile, require_data, require_utils, require_schemes, require_fast_uri, require_uri, require_core, require_id, require_ref, require_core2, require_limitNumber, require_multipleOf, require_ucs2length, require_limitLength, require_pattern, require_limitProperties, require_required, require_limitItems, require_equal, require_uniqueItems, require_const, require_enum, require_validation, require_additionalItems, require_items, require_prefixItems, require_items2020, require_contains, require_dependencies, require_propertyNames, require_additionalProperties, require_properties, require_patternProperties, require_not, require_anyOf, require_oneOf, require_allOf, require_if, require_thenElse, require_applicator, require_format, require_format2, require_metadata, require_draft7, require_types, require_discriminator, require_json_schema_draft_07, require_ajv, require_formats, require_limit, require_dist, import_ajv, import_ajv_formats, AjvJsonSchemaValidator, init_ajv_provider, ExperimentalServerTasks, init_server, init_helpers, Server, init_server2, COMPLETABLE_SYMBOL, McpZodTypeKind, init_completable, init_uriTemplate, TOOL_NAME_REGEX, init_toolNameValidation, ExperimentalMcpServerTasks, init_mcp_server, init_zod, McpServer, EMPTY_OBJECT_JSON_SCHEMA, EMPTY_COMPLETION_RESULT, init_mcp, RequestError, toRequestError, GlobalRequest, Request2, newHeadersFromIncoming, wrapBodyStream, newRequestFromIncoming, getRequestCache, requestCache, incomingKey, urlKey, headersKey, abortControllerKey, getAbortController, requestPrototype, newRequest, responseCache, getResponseCache, cacheKey, GlobalResponse, Response2, buildOutgoingHttpHeaders, X_ALREADY_SENT, outgoingEnded, handleRequestError, handleFetchError, handleResponseError, flushHeaders, responseViaCache, isPromise, responseViaResponseObject, getRequestListener, init_dist22, WebStandardStreamableHTTPServerTransport, init_webStandardStreamableHttp, StreamableHTTPServerTransport, init_streamableHttp, AgentVaultMcpServer, init_mcp_server2, init_mcp_handlers, init_skill_manifest, init_skill_invoker, spanBuffer, init_skill_telemetry, PolicyEnforcer, init_policy_enforcer, VERSION, init_index;
17852
17880
  var init_dist = __esm({
17853
17881
  async "../plugin/dist/index.js"() {
17854
17882
  "use strict";
@@ -18108,7 +18136,7 @@ var init_dist = __esm({
18108
18136
  }, Module: function(binary) {
18109
18137
  }, Instance: function(module2, info) {
18110
18138
  this.exports = // EMSCRIPTEN_START_ASM
18111
- function instantiate(ea2) {
18139
+ (function instantiate(ea2) {
18112
18140
  var a2;
18113
18141
  var b2 = new Uint8Array(123);
18114
18142
  for (var c2 = 25; c2 >= 0; --c2) {
@@ -57903,7 +57931,7 @@ var init_dist = __esm({
57903
57931
  } } }), f: yi, g: ma2, h: Ba2, i: ma2, j: ka2, k: Le2, l: Je2, m: zg, n: yg, o: xg, p: wg, q: ka2, r: Ba2, s: ka2, t: ka2, u: Le2, v: ra2, w: vg, x: ug, y: tg, z: sg, A: Ba2, B: rg, C: qg, D: pg, E: ng, F: mg, G: lg, H: kg, I: jg, J: ka2, K: Ce2, L: Ba2, M: ma2, N: Ta2, O: ra2, P: ka2, Q: Oa2, R: Ba2, S: ma2, T: Ta2, U: ra2, V: ig, W: hg, X: gg, Y: fg, Z: ka2, _: Ma2, $: Ba2, aa: ma2, ba: Ta2, ca: ra2, da: ka2, ea: ka2, fa: Kg, ga: wd, ha: vd, ia: ra2, ja: ka2, ka: ka2, la: Cb, ma: ra2, na: Xa2, oa: eg, pa: qb, qa: dg, ra: cg, sa: ua2, ta: ka2, ua: Dc, va: ra2, wa: Va2, xa: ud, ya: Ya2, za: bg, Aa: ag, Ba: ka2, Ca: ka2, Da: Dc, Ea: ra2, Fa: ze2, Ga: ud, Ha: Ng, Ia: wd, Ja: vd, Ka: ka2, La: ka2, Ma: ka2, Na: ka2, Oa: Ma2, Pa: ka2, Qa: ma2, Ra: ma2, Sa: Ta2, Ta: dh2, Ua: ch, Va: bh, Wa: ah, Xa: Lb, Ya: Kb, Za: td, _a: sd, $a: rd, ab: $f, bb: _f, cb: Zf, db: qd, eb: Yf, fb: pd, gb: Xf, hb: Wf, ib: Uf, jb: Md, kb: tc, lb: nb, mb, nb: Lb, ob: Kb, pb: td, qb: sd, rb: ka2, sb: ka2, tb: ka2, ub: ka2, vb: Ma2, wb: ka2, xb: ma2, yb: ma2, zb: Ta2, Ab: Aa2, Bb: ka2, Cb: ma2, Db: ka2, Eb: ma2, Fb: Sa2, Gb: ka2, Hb: ma2, Ib: ka2, Jb: ma2, Kb: vb, Lb: ua2, Mb: ma2, Nb: ka2, Ob: ma2, Pb: ub, Qb: ua2, Rb: ma2, Sb: ka2, Tb: ma2, Ub: tb, Vb: ua2, Wb: ma2, Xb: ka2, Yb: ma2, Zb: ma2, _b: ua2, $b: ka2, ac: ma2, bc: ua2, cc: ka2, dc: Nd, ec: pe2, fc: od, gc: fh, hc: nd, ic: eh, jc: ra2, kc: ma2, lc: ua2, mc: ka2, nc: ma2, oc: ua2, pc: ka2, qc: ma2, rc: ma2, sc: pe2, tc: ra2, uc: od, vc: Tf, wc: Ja2, xc: xh, yc: nd, zc: Ia2, Ac: ua2, Bc: md, Cc: Lg, Dc: ka2, Ec: Ag, Fc: Ub, Gc: Sf, Hc: Ua2, Ic: Rf, Jc: ua2, Kc: Cb, Lc: Za2, Mc: ic, Nc: Ca2, Oc: md, Pc: ma2, Qc: ua2, Rc: Oa2, Sc: ka2, Tc: ld, Uc: Nd, Vc: ma2, Wc: ua2, Xc: Oa2, Yc: ka2, Zc: ld, _c: ra2, $c: Gh, ad: Fh, bd: Eh, cd: Dh, dd: ra2, ed: Ch, fd: ka2, gd: Ba2, hd: Bh, id: Cb, jd: ze2, kd: hi, ld: gi, md: fi, nd: ei, od: di, pd: ua2, qd: Ba2, rd: ci, sd: Dc, td: Gg, ud: nb, vd: Fg, wd: Eg, xd: ka2, yd: ka2, zd: ka2, Ad: ka2, Bd: Dg, Cd: Rc, Dd: ma2, Ed: ka2, Fd: kd, Gd: jd, Hd: Sg, Id: id, Jd: Rg, Kd: Qg, Ld: ra2, Md: kd, Nd: jd, Od: Ga2, Pd: id, Qd: Fa2, Rd: ma2, Sd: ka2, Td: Rc, Ud: ra2, Vd: Db, Wd: ma2, Xd: wa2, Yd: Ba2, Zd: wa2, _d: ma2, $d: yc, ae: wh, be: Vb, ce: wa2, de: xc, ee: wc, fe: vc, ge: me2, he: vh, ie: uh, je: Oa2, ke: th, le: Pf, me: Of, ne: Nf, oe: Mf, pe: Lf, qe: fb, re: ma2, se: wa2, te: Ba2, ue: wa2, ve: ma2, we: yc, xe: fe2, ye: Db, ze: wa2, Ae: xc, Be: wc, Ce: fb, De: ee2, Ee: Vb, Fe: de2, Ge: vc, He: uc, Ie: Kf, Je: hd, Ke: Jf, Le: Db, Me: fb, Ne: fb, Oe: ma2, Pe: wa2, Qe: Ba2, Re: wa2, Se: ma2, Te: yc, Ue: fe2, Ve: Db, We: wa2, Xe: xc, Ye: wc, Ze: fb, _e: ee2, $e: Vb, af: de2, bf: vc, cf: uc, df: Hf, ef: hd, ff: Gf, gf: Ff, hf: Ef, jf: sh, kf: Jg, lf: Ig, mf: Hg, nf: ka2, of: ka2, pf: Ea2, qf: wb, rf: ka2, sf: ka2, tf: ka2, uf: Ma2, vf: ka2, wf: ma2, xf: ma2, yf: Ta2, zf: Mg, Af: Lb, Bf: Kb, Cf: ra2, Df: rd, Ef: Df, Ff: qd, Gf: pd, Hf: Lb, If: Kb, Jf: ka2, Kf: Ma2, Lf: ka2, Mf: ma2, Nf: ma2, Of: Ta2, Pf: ra2, Qf: ra2, Rf: Mh, Sf: Lh, Tf: Kh, Uf: Cf, Vf: Bf, Wf: Jh, Xf: Ih, Yf: Ma2, Zf: ka2, _f: Hh, $f: Ba2, ag: Db, bg: fb, cg: Vb, dg: Oa2, eg: ma2, fg: Tg, gg: gd, hg: Je2, ig: Oa2, jg: ma2, kg: gd, lg: Cb, mg: ua2, ng: ka2, og: ka2, pg: ua2, qg: Wd, rg: lh, sg: kh, tg: jh, ug: fd, vg: ed, wg: dd, xg: cd, yg: ih, zg: ic, Ag: hh, Bg: gh, Cg: Cb, Dg: ua2, Eg: ka2, Fg: ka2, Gg: ua2, Hg: Wd, Ig: nh, Jg: mh, Kg: Vd, Lg: ic, Mg: Ud, Ng: Td, Og: Yd, Pg: Xd, Qg: ph, Rg: oh, Sg: cd, Tg: ed, Ug: dd, Vg: fd, Wg: ka2, Xg: Oa2, Yg: wa2, Zg: ka2, _g: Ce2, $g: wa2, ah: zf, bh: yf, ch: xf, dh: wf, eh: vf, fh: uf, gh: ra2, hh: ra2, ih: ka2, jh: Ma2, kh: wa2, lh: qh, mh: bd, nh: ad, oh: ra2, ph: ka2, qh: Oa2, rh: wa2, sh: tf, th: sf, uh: rf, vh: ra2, wh: bd, xh: qf, yh: ad, zh: ka2, Ah: Ma2, Bh: wa2, Ch: ra2, Dh: ma2, Eh: ka2, Fh: ua2, Gh: db, Hh: kb, Ih: xd, Jh: oi, Kh: ni, Lh: Ae2, Mh: mi, Nh: za2, Oh: li, Ph: ka2, Qh: ki, Rh: pf, Sh: Ah, Th: zh, Uh: yh, Vh: Bc, Wh: Ac, Xh: ti, Yh: ji, Zh: ii, _h: Cg, $h: Bg, ai: fb, bi: Ba2, ci: tc, di: nb, ei: rh, fi: $c, gi: of, hi: nf, ii: mf, ji: _c, ki: lf, li: Yc, mi: kf, ni: ka2, oi: ka2, pi: ka2, qi: ka2, ri: Ma2, si: ma2, ti: Ta2, ui: jf, vi: hf, wi: Md, xi: bi, yi: ai, zi: $h, Ai: _h, Bi: Zh, Ci: ye2, Di: xe2, Ei: we2, Fi: ve2, Gi: ue2, Hi: te2, Ii: se2, Ji: re2, Ki: ka2, Li: ua2, Mi: ka2, Ni: ua2, Oi: ka2, Pi: Yh, Qi: Xh, Ri: Wh, Si: Vh, Ti: Uh, Ui: Th, Vi: Sh, Wi: Rh, Xi: Qh, Yi: Ph, Zi: Oh, _i: re2, $i: Nh, aj: ka2, bj: ua2, cj: ua2, dj: ka2, ej: gf, fj: ma2, gj: wa2, hj: Ba2, ij: wa2, jj: ka2, kj: $g, lj: _g, mj: Zg, nj: wa2, oj: Ed, pj: wa2, qj: Yg, rj: Ed, sj: me2, tj: uc, uj: ff, vj: ef, wj: df, xj: cf, yj: Xg, zj: Wg, Aj: Vg, Bj: Ug, Cj: ka2, Dj: ka2, Ej: Pg, Fj: Og, Gj: ka2, Hj: ka2, Ij: $c, Jj: bf, Kj: _c, Lj: Yc, Mj: ka2, Nj: Ma2, Oj: ma2, Pj: Ta2, Qj: ma2, Rj: ma2, Sj: af, Tj: $e2, Uj: _e2, Vj: ka2, Wj: Oa2, Xj: wa2, Yj: ra2, Zj: Ze2, _j: Ye2, $j: ka2, ak: Oa2, bk: wa2, ck: ra2, dk: ka2, ek: Ma2, fk: wa2, gk: Xe2, hk: We2, ik: Ve2, jk: ra2, kk: Da2, lk: ta2 };
57904
57932
  }
57905
57933
  return da2(ea2);
57906
- }(info);
57934
+ })(info);
57907
57935
  }, instantiate: function(binary, info) {
57908
57936
  return { then: function(ok) {
57909
57937
  var module2 = new WebAssembly2.Module(binary);
@@ -59907,7 +59935,7 @@ var init_dist = __esm({
59907
59935
  }
59908
59936
  });
59909
59937
  init_libsodium_wrappers = __esm2({
59910
- async "../../../fix-history-backup-duplicate-entries/node_modules/libsodium-wrappers-sumo/dist/modules-sumo-esm/libsodium-wrappers.mjs"() {
59938
+ async "../../node_modules/libsodium-wrappers-sumo/dist/modules-sumo-esm/libsodium-wrappers.mjs"() {
59911
59939
  await init_libsodium_sumo();
59912
59940
  r = {};
59913
59941
  t = libsodium_sumo_default.ready.then(function() {
@@ -60671,7 +60699,11 @@ var init_dist = __esm({
60671
60699
  _agentName;
60672
60700
  _agentVersion;
60673
60701
  _pluginVersion;
60702
+ _maxRetries;
60703
+ _maxBufferedSpans;
60674
60704
  _buffer = [];
60705
+ /** Failed send attempts per buffered span. */
60706
+ _attempts = /* @__PURE__ */ new WeakMap();
60675
60707
  _timer = null;
60676
60708
  constructor(config2) {
60677
60709
  this._apiBase = config2.apiBase.replace(/\/+$/, "");
@@ -60681,6 +60713,8 @@ var init_dist = __esm({
60681
60713
  this._agentName = config2.agentName ?? "unknown";
60682
60714
  this._agentVersion = config2.agentVersion ?? "0.0.0";
60683
60715
  this._pluginVersion = config2.pluginVersion ?? "0.0.0";
60716
+ this._maxRetries = Math.max(1, config2.maxRetries ?? 5);
60717
+ this._maxBufferedSpans = Math.max(1, config2.maxBufferedSpans ?? 1e3);
60684
60718
  }
60685
60719
  /** Number of spans waiting to be flushed. */
60686
60720
  get pendingCount() {
@@ -60728,7 +60762,9 @@ var init_dist = __esm({
60728
60762
  * POST all buffered spans to the backend ingest endpoint.
60729
60763
  *
60730
60764
  * - On success (HTTP 2xx): clears the buffer.
60731
- * - On failure: keeps spans in the buffer for retry.
60765
+ * - On a retryable failure (network, 5xx, 408, 429): keeps spans for retry,
60766
+ * bounded by `maxRetries` per span and `maxBufferedSpans` overall.
60767
+ * - On any other 4xx: drops the batch (it can never be accepted).
60732
60768
  * - Never throws — telemetry is best-effort.
60733
60769
  */
60734
60770
  async flush() {
@@ -60757,13 +60793,23 @@ var init_dist = __esm({
60757
60793
  spans: spans.map(spanToOtlp)
60758
60794
  })
60759
60795
  });
60760
- if (!response.ok) {
60761
- this._buffer = spans.concat(this._buffer);
60796
+ if (!response.ok && isRetryableStatus(response.status)) {
60797
+ this._requeue(spans);
60762
60798
  }
60763
60799
  } catch {
60764
- this._buffer = spans.concat(this._buffer);
60800
+ this._requeue(spans);
60765
60801
  }
60766
60802
  }
60803
+ /** Put a failed batch back in front of newer spans, within both caps. */
60804
+ _requeue(spans) {
60805
+ const retained = spans.filter((span) => {
60806
+ const attempts = (this._attempts.get(span) ?? 0) + 1;
60807
+ this._attempts.set(span, attempts);
60808
+ return attempts < this._maxRetries;
60809
+ });
60810
+ const merged = retained.concat(this._buffer);
60811
+ this._buffer = merged.length > this._maxBufferedSpans ? merged.slice(merged.length - this._maxBufferedSpans) : merged;
60812
+ }
60767
60813
  // -- Auto-flush -------------------------------------------------------------
60768
60814
  /**
60769
60815
  * Start a periodic flush timer.
@@ -60800,7 +60846,7 @@ var init_dist = __esm({
60800
60846
  }
60801
60847
  });
60802
60848
  init_utils = __esm2({
60803
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/hashes/utils.js"() {
60849
+ "../crypto/node_modules/@noble/hashes/utils.js"() {
60804
60850
  isLE = /* @__PURE__ */ (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
60805
60851
  swap8IfBE = isLE ? (n2) => n2 : (n2) => byteSwap(n2);
60806
60852
  swap32IfBE = isLE ? (u2) => u2 : byteSwap32;
@@ -60815,7 +60861,7 @@ var init_dist = __esm({
60815
60861
  }
60816
60862
  });
60817
60863
  init_blake = __esm2({
60818
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/hashes/_blake.js"() {
60864
+ "../crypto/node_modules/@noble/hashes/_blake.js"() {
60819
60865
  BSIGMA = /* @__PURE__ */ Uint8Array.from([
60820
60866
  0,
60821
60867
  1,
@@ -61078,7 +61124,7 @@ var init_dist = __esm({
61078
61124
  }
61079
61125
  });
61080
61126
  init_md = __esm2({
61081
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/hashes/_md.js"() {
61127
+ "../crypto/node_modules/@noble/hashes/_md.js"() {
61082
61128
  init_utils();
61083
61129
  HashMD = class {
61084
61130
  blockLen;
@@ -61224,7 +61270,7 @@ var init_dist = __esm({
61224
61270
  }
61225
61271
  });
61226
61272
  init_u64 = __esm2({
61227
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/hashes/_u64.js"() {
61273
+ "../crypto/node_modules/@noble/hashes/_u64.js"() {
61228
61274
  U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
61229
61275
  _32n = /* @__PURE__ */ BigInt(32);
61230
61276
  shrSH = (h2, _l, s2) => h2 >>> s2;
@@ -61244,7 +61290,7 @@ var init_dist = __esm({
61244
61290
  }
61245
61291
  });
61246
61292
  init_blake2 = __esm2({
61247
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/hashes/blake2.js"() {
61293
+ "../crypto/node_modules/@noble/hashes/blake2.js"() {
61248
61294
  init_blake();
61249
61295
  init_u64();
61250
61296
  init_utils();
@@ -63592,7 +63638,7 @@ var init_dist = __esm({
63592
63638
  }
63593
63639
  });
63594
63640
  init_errors = __esm2({
63595
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/errors.js"() {
63641
+ "../../node_modules/@hpke/common/esm/src/errors.js"() {
63596
63642
  HpkeError = class extends Error {
63597
63643
  constructor(e) {
63598
63644
  let message;
@@ -63632,13 +63678,13 @@ var init_dist = __esm({
63632
63678
  }
63633
63679
  });
63634
63680
  init_dnt_shims = __esm2({
63635
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/_dnt.shims.js"() {
63681
+ "../../node_modules/@hpke/common/esm/_dnt.shims.js"() {
63636
63682
  dntGlobals = {};
63637
63683
  dntGlobalThis = createMergeProxy(globalThis, dntGlobals);
63638
63684
  }
63639
63685
  });
63640
63686
  init_algorithm = __esm2({
63641
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/algorithm.js"() {
63687
+ "../../node_modules/@hpke/common/esm/src/algorithm.js"() {
63642
63688
  init_dnt_shims();
63643
63689
  init_errors();
63644
63690
  NativeAlgorithm = class {
@@ -63660,7 +63706,7 @@ var init_dist = __esm({
63660
63706
  }
63661
63707
  });
63662
63708
  init_identifiers = __esm2({
63663
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/identifiers.js"() {
63709
+ "../../node_modules/@hpke/common/esm/src/identifiers.js"() {
63664
63710
  Mode = {
63665
63711
  Base: 0,
63666
63712
  Psk: 1,
@@ -63702,7 +63748,7 @@ var init_dist = __esm({
63702
63748
  }
63703
63749
  });
63704
63750
  init_consts = __esm2({
63705
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/consts.js"() {
63751
+ "../../node_modules/@hpke/common/esm/src/consts.js"() {
63706
63752
  INPUT_LENGTH_LIMIT = 8192;
63707
63753
  INFO_LENGTH_LIMIT = 268435456;
63708
63754
  MINIMUM_PSK_LENGTH = 32;
@@ -63721,7 +63767,7 @@ var init_dist = __esm({
63721
63767
  }
63722
63768
  });
63723
63769
  init_kemInterface = __esm2({
63724
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/interfaces/kemInterface.js"() {
63770
+ "../../node_modules/@hpke/common/esm/src/interfaces/kemInterface.js"() {
63725
63771
  SUITE_ID_HEADER_KEM = /* @__PURE__ */ new Uint8Array([
63726
63772
  75,
63727
63773
  69,
@@ -63732,7 +63778,7 @@ var init_dist = __esm({
63732
63778
  }
63733
63779
  });
63734
63780
  init_hkdf = __esm2({
63735
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/kdfs/hkdf.js"() {
63781
+ "../../node_modules/@hpke/common/esm/src/kdfs/hkdf.js"() {
63736
63782
  init_consts();
63737
63783
  init_errors();
63738
63784
  init_identifiers();
@@ -63950,14 +63996,14 @@ var init_dist = __esm({
63950
63996
  }
63951
63997
  });
63952
63998
  init_misc = __esm2({
63953
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/utils/misc.js"() {
63999
+ "../../node_modules/@hpke/common/esm/src/utils/misc.js"() {
63954
64000
  init_dnt_shims();
63955
64001
  init_identifiers();
63956
64002
  isCryptoKeyPair = (x2) => typeof x2 === "object" && x2 !== null && typeof x2.privateKey === "object" && typeof x2.publicKey === "object";
63957
64003
  }
63958
64004
  });
63959
64005
  init_dhkem = __esm2({
63960
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/kems/dhkem.js"() {
64006
+ "../../node_modules/@hpke/common/esm/src/kems/dhkem.js"() {
63961
64007
  init_consts();
63962
64008
  init_errors();
63963
64009
  init_kemInterface();
@@ -64140,7 +64186,7 @@ var init_dist = __esm({
64140
64186
  }
64141
64187
  });
64142
64188
  init_dhkemPrimitives = __esm2({
64143
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/interfaces/dhkemPrimitives.js"() {
64189
+ "../../node_modules/@hpke/common/esm/src/interfaces/dhkemPrimitives.js"() {
64144
64190
  KEM_USAGES = ["deriveBits"];
64145
64191
  LABEL_DKP_PRK = /* @__PURE__ */ new Uint8Array([
64146
64192
  100,
@@ -64155,7 +64201,7 @@ var init_dist = __esm({
64155
64201
  }
64156
64202
  });
64157
64203
  init_bignum = __esm2({
64158
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/utils/bignum.js"() {
64204
+ "../../node_modules/@hpke/common/esm/src/utils/bignum.js"() {
64159
64205
  Bignum = class {
64160
64206
  constructor(size) {
64161
64207
  Object.defineProperty(this, "_num", {
@@ -64204,7 +64250,7 @@ var init_dist = __esm({
64204
64250
  }
64205
64251
  });
64206
64252
  init_ec = __esm2({
64207
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/kems/dhkemPrimitives/ec.js"() {
64253
+ "../../node_modules/@hpke/common/esm/src/kems/dhkemPrimitives/ec.js"() {
64208
64254
  init_algorithm();
64209
64255
  init_consts();
64210
64256
  init_hkdf();
@@ -64756,11 +64802,11 @@ var init_dist = __esm({
64756
64802
  }
64757
64803
  });
64758
64804
  init_xCryptoKey = __esm2({
64759
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/xCryptoKey.js"() {
64805
+ "../../node_modules/@hpke/common/esm/src/xCryptoKey.js"() {
64760
64806
  }
64761
64807
  });
64762
64808
  init_xCurve = __esm2({
64763
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/kems/dhkemPrimitives/xCurve.js"() {
64809
+ "../../node_modules/@hpke/common/esm/src/kems/dhkemPrimitives/xCurve.js"() {
64764
64810
  init_consts();
64765
64811
  init_errors();
64766
64812
  init_hkdf();
@@ -64770,7 +64816,7 @@ var init_dist = __esm({
64770
64816
  }
64771
64817
  });
64772
64818
  init_hybridkem = __esm2({
64773
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/kems/hybridkem.js"() {
64819
+ "../../node_modules/@hpke/common/esm/src/kems/hybridkem.js"() {
64774
64820
  init_consts();
64775
64821
  init_errors();
64776
64822
  init_hkdf();
@@ -64782,12 +64828,12 @@ var init_dist = __esm({
64782
64828
  }
64783
64829
  });
64784
64830
  init_aeadEncryptionContext = __esm2({
64785
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/interfaces/aeadEncryptionContext.js"() {
64831
+ "../../node_modules/@hpke/common/esm/src/interfaces/aeadEncryptionContext.js"() {
64786
64832
  AEAD_USAGES = ["encrypt", "decrypt"];
64787
64833
  }
64788
64834
  });
64789
64835
  init_noble = __esm2({
64790
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/utils/noble.js"() {
64836
+ "../../node_modules/@hpke/common/esm/src/utils/noble.js"() {
64791
64837
  init_misc();
64792
64838
  init_consts();
64793
64839
  _endianTestBuffer = /* @__PURE__ */ new Uint32Array([287454020]);
@@ -64796,12 +64842,12 @@ var init_dist = __esm({
64796
64842
  }
64797
64843
  });
64798
64844
  init_hash2 = __esm2({
64799
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/hash/hash.js"() {
64845
+ "../../node_modules/@hpke/common/esm/src/hash/hash.js"() {
64800
64846
  init_noble();
64801
64847
  }
64802
64848
  });
64803
64849
  init_hmac = __esm2({
64804
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/hash/hmac.js"() {
64850
+ "../../node_modules/@hpke/common/esm/src/hash/hmac.js"() {
64805
64851
  init_noble();
64806
64852
  init_hash2();
64807
64853
  _HMAC = class {
@@ -64907,18 +64953,18 @@ var init_dist = __esm({
64907
64953
  }
64908
64954
  });
64909
64955
  init_md2 = __esm2({
64910
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/hash/md.js"() {
64956
+ "../../node_modules/@hpke/common/esm/src/hash/md.js"() {
64911
64957
  init_noble();
64912
64958
  }
64913
64959
  });
64914
64960
  init_u642 = __esm2({
64915
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/hash/u64.js"() {
64961
+ "../../node_modules/@hpke/common/esm/src/hash/u64.js"() {
64916
64962
  U32_MASK642 = 0xffffffffn;
64917
64963
  _32n2 = 32n;
64918
64964
  }
64919
64965
  });
64920
64966
  init_sha2 = __esm2({
64921
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/hash/sha2.js"() {
64967
+ "../../node_modules/@hpke/common/esm/src/hash/sha2.js"() {
64922
64968
  init_md2();
64923
64969
  init_u642();
64924
64970
  init_noble();
@@ -64926,7 +64972,7 @@ var init_dist = __esm({
64926
64972
  }
64927
64973
  });
64928
64974
  init_sha3 = __esm2({
64929
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/hash/sha3.js"() {
64975
+ "../../node_modules/@hpke/common/esm/src/hash/sha3.js"() {
64930
64976
  init_u642();
64931
64977
  init_noble();
64932
64978
  init_hash2();
@@ -64957,16 +65003,16 @@ var init_dist = __esm({
64957
65003
  }
64958
65004
  });
64959
65005
  init_modular = __esm2({
64960
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/curve/modular.js"() {
65006
+ "../../node_modules/@hpke/common/esm/src/curve/modular.js"() {
64961
65007
  init_consts();
64962
65008
  }
64963
65009
  });
64964
65010
  init_curve = __esm2({
64965
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/curve/curve.js"() {
65011
+ "../../node_modules/@hpke/common/esm/src/curve/curve.js"() {
64966
65012
  }
64967
65013
  });
64968
65014
  init_montgomery = __esm2({
64969
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/src/curve/montgomery.js"() {
65015
+ "../../node_modules/@hpke/common/esm/src/curve/montgomery.js"() {
64970
65016
  init_noble();
64971
65017
  init_curve();
64972
65018
  init_modular();
@@ -64974,7 +65020,7 @@ var init_dist = __esm({
64974
65020
  }
64975
65021
  });
64976
65022
  init_mod = __esm2({
64977
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/common/esm/mod.js"() {
65023
+ "../../node_modules/@hpke/common/esm/mod.js"() {
64978
65024
  init_errors();
64979
65025
  init_algorithm();
64980
65026
  init_identifiers();
@@ -64999,7 +65045,7 @@ var init_dist = __esm({
64999
65045
  }
65000
65046
  });
65001
65047
  init_aesGcm = __esm2({
65002
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/aeads/aesGcm.js"() {
65048
+ "../../node_modules/@hpke/core/esm/src/aeads/aesGcm.js"() {
65003
65049
  init_mod();
65004
65050
  AesGcmContext = class extends NativeAlgorithm {
65005
65051
  constructor(key) {
@@ -65115,17 +65161,17 @@ var init_dist = __esm({
65115
65161
  }
65116
65162
  });
65117
65163
  init_exportOnly = __esm2({
65118
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/aeads/exportOnly.js"() {
65164
+ "../../node_modules/@hpke/core/esm/src/aeads/exportOnly.js"() {
65119
65165
  init_mod();
65120
65166
  }
65121
65167
  });
65122
65168
  init_emitNotSupported = __esm2({
65123
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/utils/emitNotSupported.js"() {
65169
+ "../../node_modules/@hpke/core/esm/src/utils/emitNotSupported.js"() {
65124
65170
  init_mod();
65125
65171
  }
65126
65172
  });
65127
65173
  init_exporterContext = __esm2({
65128
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/exporterContext.js"() {
65174
+ "../../node_modules/@hpke/core/esm/src/exporterContext.js"() {
65129
65175
  init_mod();
65130
65176
  init_emitNotSupported();
65131
65177
  LABEL_SEC = new Uint8Array([115, 101, 99]);
@@ -65188,7 +65234,7 @@ var init_dist = __esm({
65188
65234
  }
65189
65235
  });
65190
65236
  init_encryptionContext = __esm2({
65191
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/encryptionContext.js"() {
65237
+ "../../node_modules/@hpke/core/esm/src/encryptionContext.js"() {
65192
65238
  init_mod();
65193
65239
  init_exporterContext();
65194
65240
  EncryptionContextImpl = class extends ExporterContextImpl {
@@ -65253,7 +65299,7 @@ var init_dist = __esm({
65253
65299
  }
65254
65300
  });
65255
65301
  init_mutex = __esm2({
65256
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/mutex.js"() {
65302
+ "../../node_modules/@hpke/core/esm/src/mutex.js"() {
65257
65303
  __classPrivateFieldGet = function(receiver, state, kind, f2) {
65258
65304
  if (kind === "a" && !f2) throw new TypeError("Private accessor was defined without a getter");
65259
65305
  if (typeof state === "function" ? receiver !== state || !f2 : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
@@ -65284,7 +65330,7 @@ var init_dist = __esm({
65284
65330
  }
65285
65331
  });
65286
65332
  init_recipientContext = __esm2({
65287
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/recipientContext.js"() {
65333
+ "../../node_modules/@hpke/core/esm/src/recipientContext.js"() {
65288
65334
  init_mod();
65289
65335
  init_encryptionContext();
65290
65336
  init_mutex();
@@ -65323,7 +65369,7 @@ var init_dist = __esm({
65323
65369
  }
65324
65370
  });
65325
65371
  init_senderContext = __esm2({
65326
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/senderContext.js"() {
65372
+ "../../node_modules/@hpke/core/esm/src/senderContext.js"() {
65327
65373
  init_mod();
65328
65374
  init_encryptionContext();
65329
65375
  init_mutex();
@@ -65369,7 +65415,7 @@ var init_dist = __esm({
65369
65415
  }
65370
65416
  });
65371
65417
  init_cipherSuiteNative = __esm2({
65372
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/cipherSuiteNative.js"() {
65418
+ "../../node_modules/@hpke/core/esm/src/cipherSuiteNative.js"() {
65373
65419
  init_mod();
65374
65420
  init_exporterContext();
65375
65421
  init_recipientContext();
@@ -65648,7 +65694,7 @@ var init_dist = __esm({
65648
65694
  }
65649
65695
  });
65650
65696
  init_dhkemNative = __esm2({
65651
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/kems/dhkemNative.js"() {
65697
+ "../../node_modules/@hpke/core/esm/src/kems/dhkemNative.js"() {
65652
65698
  init_mod();
65653
65699
  DhkemP256HkdfSha256Native = class extends Dhkem {
65654
65700
  constructor() {
@@ -65764,7 +65810,7 @@ var init_dist = __esm({
65764
65810
  }
65765
65811
  });
65766
65812
  init_native = __esm2({
65767
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/native.js"() {
65813
+ "../../node_modules/@hpke/core/esm/src/native.js"() {
65768
65814
  init_mod();
65769
65815
  init_cipherSuiteNative();
65770
65816
  init_dhkemNative();
@@ -65785,7 +65831,7 @@ var init_dist = __esm({
65785
65831
  }
65786
65832
  });
65787
65833
  init_x25519 = __esm2({
65788
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/kems/dhkemPrimitives/x25519.js"() {
65834
+ "../../node_modules/@hpke/core/esm/src/kems/dhkemPrimitives/x25519.js"() {
65789
65835
  init_mod();
65790
65836
  ALG_NAME = "X25519";
65791
65837
  PKCS8_ALG_ID_X25519 = new Uint8Array([
@@ -66003,7 +66049,7 @@ var init_dist = __esm({
66003
66049
  }
66004
66050
  });
66005
66051
  init_dhkemX25519 = __esm2({
66006
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/kems/dhkemX25519.js"() {
66052
+ "../../node_modules/@hpke/core/esm/src/kems/dhkemX25519.js"() {
66007
66053
  init_mod();
66008
66054
  init_x25519();
66009
66055
  DhkemX25519HkdfSha256 = class extends Dhkem {
@@ -66045,7 +66091,7 @@ var init_dist = __esm({
66045
66091
  }
66046
66092
  });
66047
66093
  init_x448 = __esm2({
66048
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/kems/dhkemPrimitives/x448.js"() {
66094
+ "../../node_modules/@hpke/core/esm/src/kems/dhkemPrimitives/x448.js"() {
66049
66095
  init_mod();
66050
66096
  PKCS8_ALG_ID_X448 = new Uint8Array([
66051
66097
  48,
@@ -66068,13 +66114,13 @@ var init_dist = __esm({
66068
66114
  }
66069
66115
  });
66070
66116
  init_dhkemX448 = __esm2({
66071
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/src/kems/dhkemX448.js"() {
66117
+ "../../node_modules/@hpke/core/esm/src/kems/dhkemX448.js"() {
66072
66118
  init_mod();
66073
66119
  init_x448();
66074
66120
  }
66075
66121
  });
66076
66122
  init_mod2 = __esm2({
66077
- "../../../fix-history-backup-duplicate-entries/node_modules/@hpke/core/esm/mod.js"() {
66123
+ "../../node_modules/@hpke/core/esm/mod.js"() {
66078
66124
  init_mod();
66079
66125
  init_aesGcm();
66080
66126
  init_exportOnly();
@@ -66090,7 +66136,7 @@ var init_dist = __esm({
66090
66136
  }
66091
66137
  });
66092
66138
  init_utils2 = __esm2({
66093
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/ciphers/utils.js"() {
66139
+ "../crypto/node_modules/@noble/ciphers/utils.js"() {
66094
66140
  isLE3 = /* @__PURE__ */ (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
66095
66141
  wrapCipher = /* @__NO_SIDE_EFFECTS__ */ (params, constructor) => {
66096
66142
  function wrappedCipher(key, ...args) {
@@ -66138,7 +66184,7 @@ var init_dist = __esm({
66138
66184
  }
66139
66185
  });
66140
66186
  init_arx = __esm2({
66141
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/ciphers/_arx.js"() {
66187
+ "../crypto/node_modules/@noble/ciphers/_arx.js"() {
66142
66188
  init_utils2();
66143
66189
  encodeStr = (str) => Uint8Array.from(str.split(""), (c2) => c2.charCodeAt(0));
66144
66190
  sigma16 = encodeStr("expand 16-byte k");
@@ -66233,7 +66279,7 @@ var init_dist = __esm({
66233
66279
  }
66234
66280
  });
66235
66281
  init_poly1305 = __esm2({
66236
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/ciphers/_poly1305.js"() {
66282
+ "../crypto/node_modules/@noble/ciphers/_poly1305.js"() {
66237
66283
  init_utils2();
66238
66284
  Poly1305 = class {
66239
66285
  blockLen = 16;
@@ -66497,7 +66543,7 @@ var init_dist = __esm({
66497
66543
  xchacha20poly1305: () => xchacha20poly1305
66498
66544
  });
66499
66545
  init_chacha = __esm2({
66500
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/ciphers/chacha.js"() {
66546
+ "../crypto/node_modules/@noble/ciphers/chacha.js"() {
66501
66547
  init_arx();
66502
66548
  init_poly1305();
66503
66549
  init_utils2();
@@ -66607,12 +66653,12 @@ var init_dist = __esm({
66607
66653
  }
66608
66654
  });
66609
66655
  init_cryptoNode = __esm2({
66610
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/node_modules/@noble/hashes/esm/cryptoNode.js"() {
66656
+ "../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/cryptoNode.js"() {
66611
66657
  crypto2 = nc && typeof nc === "object" && "webcrypto" in nc ? nc.webcrypto : nc && typeof nc === "object" && "randomBytes" in nc ? nc : void 0;
66612
66658
  }
66613
66659
  });
66614
66660
  init_utils3 = __esm2({
66615
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/node_modules/@noble/hashes/esm/utils.js"() {
66661
+ "../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/utils.js"() {
66616
66662
  init_cryptoNode();
66617
66663
  isLE4 = /* @__PURE__ */ (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
66618
66664
  swap32IfBE3 = isLE4 ? (u2) => u2 : byteSwap322;
@@ -66627,7 +66673,7 @@ var init_dist = __esm({
66627
66673
  }
66628
66674
  });
66629
66675
  init_md3 = __esm2({
66630
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/node_modules/@noble/hashes/esm/_md.js"() {
66676
+ "../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/_md.js"() {
66631
66677
  init_utils3();
66632
66678
  HashMD3 = class extends Hash {
66633
66679
  constructor(blockLen, outputLen, padOffset, isLE5) {
@@ -66768,7 +66814,7 @@ var init_dist = __esm({
66768
66814
  }
66769
66815
  });
66770
66816
  init_u643 = __esm2({
66771
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/node_modules/@noble/hashes/esm/_u64.js"() {
66817
+ "../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/_u64.js"() {
66772
66818
  U32_MASK643 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
66773
66819
  _32n3 = /* @__PURE__ */ BigInt(32);
66774
66820
  shrSH3 = (h2, _l, s2) => h2 >>> s2;
@@ -66790,7 +66836,7 @@ var init_dist = __esm({
66790
66836
  }
66791
66837
  });
66792
66838
  init_sha22 = __esm2({
66793
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/node_modules/@noble/hashes/esm/sha2.js"() {
66839
+ "../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/sha2.js"() {
66794
66840
  init_md3();
66795
66841
  init_u643();
66796
66842
  init_utils3();
@@ -67155,7 +67201,7 @@ var init_dist = __esm({
67155
67201
  }
67156
67202
  });
67157
67203
  init_utils4 = __esm2({
67158
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/utils.js"() {
67204
+ "../../node_modules/@noble/curves/esm/utils.js"() {
67159
67205
  init_utils3();
67160
67206
  init_utils3();
67161
67207
  _0n2 = /* @__PURE__ */ BigInt(0);
@@ -67168,7 +67214,7 @@ var init_dist = __esm({
67168
67214
  }
67169
67215
  });
67170
67216
  init_modular2 = __esm2({
67171
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/abstract/modular.js"() {
67217
+ "../../node_modules/@noble/curves/esm/abstract/modular.js"() {
67172
67218
  init_utils4();
67173
67219
  _0n3 = BigInt(0);
67174
67220
  _1n3 = BigInt(1);
@@ -67203,7 +67249,7 @@ var init_dist = __esm({
67203
67249
  }
67204
67250
  });
67205
67251
  init_curve2 = __esm2({
67206
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/abstract/curve.js"() {
67252
+ "../../node_modules/@noble/curves/esm/abstract/curve.js"() {
67207
67253
  init_utils4();
67208
67254
  init_modular2();
67209
67255
  _0n4 = BigInt(0);
@@ -67340,7 +67386,7 @@ var init_dist = __esm({
67340
67386
  }
67341
67387
  });
67342
67388
  init_edwards = __esm2({
67343
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/abstract/edwards.js"() {
67389
+ "../../node_modules/@noble/curves/esm/abstract/edwards.js"() {
67344
67390
  init_utils4();
67345
67391
  init_curve2();
67346
67392
  init_modular2();
@@ -67418,7 +67464,7 @@ var init_dist = __esm({
67418
67464
  }
67419
67465
  });
67420
67466
  init_hash_to_curve = __esm2({
67421
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/abstract/hash-to-curve.js"() {
67467
+ "../../node_modules/@noble/curves/esm/abstract/hash-to-curve.js"() {
67422
67468
  init_utils4();
67423
67469
  init_modular2();
67424
67470
  os2ip = bytesToNumberBE;
@@ -67426,7 +67472,7 @@ var init_dist = __esm({
67426
67472
  }
67427
67473
  });
67428
67474
  init_montgomery2 = __esm2({
67429
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/abstract/montgomery.js"() {
67475
+ "../../node_modules/@noble/curves/esm/abstract/montgomery.js"() {
67430
67476
  init_utils4();
67431
67477
  init_modular2();
67432
67478
  _0n6 = BigInt(0);
@@ -67454,7 +67500,7 @@ var init_dist = __esm({
67454
67500
  x25519: () => x25519
67455
67501
  });
67456
67502
  init_ed25519 = __esm2({
67457
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/ed25519.js"() {
67503
+ "../../node_modules/@noble/curves/esm/ed25519.js"() {
67458
67504
  init_sha22();
67459
67505
  init_utils3();
67460
67506
  init_curve2();
@@ -67673,7 +67719,7 @@ var init_dist = __esm({
67673
67719
  }
67674
67720
  });
67675
67721
  init_sha32 = __esm2({
67676
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/node_modules/@noble/hashes/esm/sha3.js"() {
67722
+ "../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/sha3.js"() {
67677
67723
  init_u643();
67678
67724
  init_utils3();
67679
67725
  _0n8 = BigInt(0);
@@ -67836,7 +67882,7 @@ var init_dist = __esm({
67836
67882
  x448: () => x448
67837
67883
  });
67838
67884
  init_ed448 = __esm2({
67839
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/ed448.js"() {
67885
+ "../../node_modules/@noble/curves/esm/ed448.js"() {
67840
67886
  init_sha32();
67841
67887
  init_utils3();
67842
67888
  init_curve2();
@@ -68039,7 +68085,7 @@ var init_dist = __esm({
68039
68085
  }
68040
68086
  });
68041
68087
  init_hmac2 = __esm2({
68042
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/node_modules/@noble/hashes/esm/hmac.js"() {
68088
+ "../../node_modules/@noble/curves/node_modules/@noble/hashes/esm/hmac.js"() {
68043
68089
  init_utils3();
68044
68090
  HMAC = class extends Hash {
68045
68091
  constructor(hash2, _key) {
@@ -68110,7 +68156,7 @@ var init_dist = __esm({
68110
68156
  }
68111
68157
  });
68112
68158
  init_weierstrass = __esm2({
68113
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/abstract/weierstrass.js"() {
68159
+ "../../node_modules/@noble/curves/esm/abstract/weierstrass.js"() {
68114
68160
  init_hmac2();
68115
68161
  init_utils3();
68116
68162
  init_utils4();
@@ -68230,7 +68276,7 @@ var init_dist = __esm({
68230
68276
  }
68231
68277
  });
68232
68278
  init_shortw_utils = __esm2({
68233
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/_shortw_utils.js"() {
68279
+ "../../node_modules/@noble/curves/esm/_shortw_utils.js"() {
68234
68280
  init_weierstrass();
68235
68281
  }
68236
68282
  });
@@ -68247,7 +68293,7 @@ var init_dist = __esm({
68247
68293
  secp521r1: () => secp521r1
68248
68294
  });
68249
68295
  init_nist = __esm2({
68250
- "../../../fix-history-backup-duplicate-entries/node_modules/@noble/curves/esm/nist.js"() {
68296
+ "../../node_modules/@noble/curves/esm/nist.js"() {
68251
68297
  init_sha22();
68252
68298
  init_shortw_utils();
68253
68299
  init_hash_to_curve();
@@ -68381,7 +68427,7 @@ var init_dist = __esm({
68381
68427
  }
68382
68428
  });
68383
68429
  init_sha23 = __esm2({
68384
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/hashes/sha2.js"() {
68430
+ "../crypto/node_modules/@noble/hashes/sha2.js"() {
68385
68431
  init_md();
68386
68432
  init_u64();
68387
68433
  init_utils();
@@ -68767,7 +68813,7 @@ var init_dist = __esm({
68767
68813
  }
68768
68814
  });
68769
68815
  init_hmac3 = __esm2({
68770
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/hashes/hmac.js"() {
68816
+ "../crypto/node_modules/@noble/hashes/hmac.js"() {
68771
68817
  init_utils();
68772
68818
  _HMAC2 = class {
68773
68819
  oHash;
@@ -68853,7 +68899,7 @@ var init_dist = __esm({
68853
68899
  }
68854
68900
  });
68855
68901
  init_polyval = __esm2({
68856
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/ciphers/_polyval.js"() {
68902
+ "../crypto/node_modules/@noble/ciphers/_polyval.js"() {
68857
68903
  init_utils2();
68858
68904
  BLOCK_SIZE = 16;
68859
68905
  ZEROS162 = /* @__PURE__ */ new Uint8Array(16);
@@ -69031,7 +69077,7 @@ var init_dist = __esm({
69031
69077
  }
69032
69078
  });
69033
69079
  init_aes = __esm2({
69034
- "../../../fix-history-backup-duplicate-entries/packages/crypto/node_modules/@noble/ciphers/aes.js"() {
69080
+ "../crypto/node_modules/@noble/ciphers/aes.js"() {
69035
69081
  init_polyval();
69036
69082
  init_utils2();
69037
69083
  BLOCK_SIZE2 = 16;
@@ -70285,6 +70331,12 @@ var init_dist = __esm({
70285
70331
  };
70286
70332
  }
70287
70333
  });
70334
+ init_decision_reply = __esm2({
70335
+ "src/decision-reply.ts"() {
70336
+ "use strict";
70337
+ ACTIONS = /* @__PURE__ */ new Set(["approve", "deny", "defer", "cancel"]);
70338
+ }
70339
+ });
70288
70340
  history_backup_client_exports = {};
70289
70341
  __export2(history_backup_client_exports, {
70290
70342
  HISTORY_RESTORE_RESPONSE_MAX_BYTES: () => HISTORY_RESTORE_RESPONSE_MAX_BYTES,
@@ -70628,6 +70680,7 @@ var init_dist = __esm({
70628
70680
  init_mls_membership_probe();
70629
70681
  init_history_backup_scheduler();
70630
70682
  await init_history_recovery_code();
70683
+ init_decision_reply();
70631
70684
  ROOM_AGENT_TYPES = /* @__PURE__ */ new Set([
70632
70685
  "message",
70633
70686
  "text",
@@ -70913,9 +70966,12 @@ ${text}`;
70913
70966
  // Reset at the start of every `_connect`.
70914
70967
  _authFailedThisSession = false;
70915
70968
  // Last observed WebSocket close code, captured by the ws.on("close", ...)
70916
- // handler. Used by the rapid-disconnect classifier to surface
70917
- // server-driven "session_replaced" events (close codes 4000 / 4001).
70969
+ // handler. Used by the rapid-disconnect classifier: 4001 = server rejected
70970
+ // the credentials (auth_failed); 4000 = reserved "session_replaced".
70918
70971
  _lastCloseCode = null;
70972
+ // True while a once("ready") listener is waiting to honour config.httpPort,
70973
+ // so repeated start() calls do not stack listeners.
70974
+ _httpPortListenerArmed = false;
70919
70975
  // Liveness detection: server sends app-level {"event":"ping"} every 30s.
70920
70976
  // We check every 30s; if no data received in 90s (3 missed pings), connection is dead.
70921
70977
  static PING_INTERVAL_MS = 3e4;
@@ -71217,10 +71273,19 @@ ${text}`;
71217
71273
  async start() {
71218
71274
  await this._stateSaveQueue;
71219
71275
  this._stopped = false;
71276
+ this._clearSuspendedWait();
71220
71277
  this._lifecycleGeneration += 1;
71221
71278
  this._historyBackupScheduler.stop();
71222
71279
  this._historyBackupScheduler = this._createHistoryBackupScheduler();
71223
71280
  await libsodium_wrappers_default.ready;
71281
+ const httpPort = this.config.httpPort;
71282
+ if (typeof httpPort === "number" && !this._httpPortListenerArmed) {
71283
+ this._httpPortListenerArmed = true;
71284
+ this.once("ready", () => {
71285
+ this._httpPortListenerArmed = false;
71286
+ if (!this._stopped) this.startHttpServer(httpPort);
71287
+ });
71288
+ }
71224
71289
  if (this._forceReEnroll) {
71225
71290
  console.log("[SecureChannel] forceReEnroll set \u2014 clearing cached credentials, will enroll fresh");
71226
71291
  await clearState(this.config.dataDir);
@@ -72310,7 +72375,7 @@ ${text}`;
72310
72375
  */
72311
72376
  sendActivitySpan(spanData) {
72312
72377
  if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
72313
- const pluginVersion = true ? "0.23.45" : "0.0.0-dev";
72378
+ const pluginVersion = true ? "0.23.47" : "0.0.0-dev";
72314
72379
  const agentName = this.config.agentName ?? "Agent";
72315
72380
  const resource = {
72316
72381
  "service.name": "agentvault-agent",
@@ -72389,16 +72454,27 @@ ${text}`;
72389
72454
  }
72390
72455
  /**
72391
72456
  * Wait for a decision response matching the given decisionId.
72392
- * Listens on the "message" event for messages where
72393
- * metadata.messageType === "decision_response" and the parsed plaintext
72394
- * contains a matching decision.decision_id.
72457
+ * Listens on the "message" event. Resolves when either:
72458
+ * - metadata.decision carries an answer for this decisionId — what every
72459
+ * receive path now lifts out of the app's envelope (an option selected,
72460
+ * or action "defer" / "cancel"); or
72461
+ * - legacy: metadata.messageType === "decision_response" and the
72462
+ * plaintext is the JSON envelope with a matching decision.decision_id.
72395
72463
  * Optional timeout rejects with an Error.
72396
72464
  */
72397
72465
  waitForDecision(decisionId, timeoutMs) {
72398
72466
  return new Promise((resolve42, reject) => {
72399
72467
  let timer = null;
72400
72468
  const handler = (plaintext, metadata) => {
72401
- if (metadata.messageType !== "decision_response") return;
72469
+ if (metadata?.roomId) return;
72470
+ const reply = metadata?.decision;
72471
+ if (reply && reply.decision_id === decisionId) {
72472
+ if (timer) clearTimeout(timer);
72473
+ this.removeListener("message", handler);
72474
+ resolve42(reply);
72475
+ return;
72476
+ }
72477
+ if (metadata?.messageType !== "decision_response") return;
72402
72478
  try {
72403
72479
  const parsed = JSON.parse(plaintext);
72404
72480
  if (parsed.decision?.decision_id === decisionId) {
@@ -73397,6 +73473,7 @@ ${text}`;
73397
73473
  clearTimeout(this._reconnectTimer);
73398
73474
  this._reconnectTimer = null;
73399
73475
  }
73476
+ this._clearSuspendedWait();
73400
73477
  if (this._telemetryReporter) {
73401
73478
  this._telemetryReporter.stopAutoFlush();
73402
73479
  await this._telemetryReporter.flush();
@@ -73510,7 +73587,12 @@ ${text}`;
73510
73587
  res.end(JSON.stringify({ ok: false, error: "Not found. Use POST /send, POST /decision, POST /action, GET /status, GET /targets, or /mcp" }));
73511
73588
  }
73512
73589
  });
73513
- this._httpServer.listen(port, "127.0.0.1", () => {
73590
+ const server = this._httpServer;
73591
+ server.on("error", (err) => {
73592
+ console.error(`[SecureChannel] local HTTP server on 127.0.0.1:${port} failed: ${err.message}`);
73593
+ if (this._httpServer === server) this._httpServer = null;
73594
+ });
73595
+ server.listen(port, "127.0.0.1", () => {
73514
73596
  this.emit("http-ready", port);
73515
73597
  });
73516
73598
  }
@@ -74050,8 +74132,13 @@ ${text}`;
74050
74132
  this.config.platform,
74051
74133
  this.config.expectedFramework
74052
74134
  );
74135
+ if (result.fingerprint && result.fingerprint !== fingerprint) {
74136
+ throw new Error(
74137
+ `Enrollment fingerprint mismatch: this agent's key is ${fingerprint} but the server reported ${result.fingerprint}. Not continuing \u2014 do not approve this device.`
74138
+ );
74139
+ }
74053
74140
  this._deviceId = result.device_id;
74054
- this._fingerprint = result.fingerprint;
74141
+ this._fingerprint = fingerprint;
74055
74142
  this._persisted = {
74056
74143
  deviceId: result.device_id,
74057
74144
  deviceJwt: "",
@@ -74068,7 +74155,7 @@ ${text}`;
74068
74155
  publicKey: bytesToHex2(ephemeral.publicKey),
74069
74156
  privateKey: bytesToHex2(ephemeral.privateKey)
74070
74157
  },
74071
- fingerprint: result.fingerprint,
74158
+ fingerprint,
74072
74159
  messageHistory: []
74073
74160
  };
74074
74161
  this._poll();
@@ -74283,7 +74370,7 @@ ${text}`;
74283
74370
  agentVersion: this.config.agentVersion ?? "0.0.0",
74284
74371
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
74285
74372
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
74286
- pluginVersion: true ? "0.23.45" : "0.0.0-dev"
74373
+ pluginVersion: true ? "0.23.47" : "0.0.0-dev"
74287
74374
  });
74288
74375
  this._telemetryReporter.startAutoFlush(3e4);
74289
74376
  }
@@ -74368,6 +74455,10 @@ ${text}`;
74368
74455
  await this._handleDeviceRevoked();
74369
74456
  return;
74370
74457
  }
74458
+ if (data.event === "device_suspended") {
74459
+ await this._handleDeviceSuspended();
74460
+ return;
74461
+ }
74371
74462
  if (data.event === "connection_rejected") {
74372
74463
  await this._handleConnectionRejected(data);
74373
74464
  return;
@@ -74607,7 +74698,7 @@ ${text}`;
74607
74698
  agentVersion: this.config.agentVersion ?? "0.0.0",
74608
74699
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
74609
74700
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
74610
- pluginVersion: true ? "0.23.45" : "0.0.0-dev"
74701
+ pluginVersion: true ? "0.23.47" : "0.0.0-dev"
74611
74702
  });
74612
74703
  this._telemetryReporter.startAutoFlush(3e4);
74613
74704
  }
@@ -75059,12 +75150,15 @@ ${text}`;
75059
75150
  let messageType = "text";
75060
75151
  let topicId = data.topic_id;
75061
75152
  let mlsAttachment = null;
75153
+ let decisionReply;
75062
75154
  try {
75063
75155
  const parsed = JSON.parse(plaintext);
75064
75156
  text = envelopeText(parsed, plaintext);
75065
75157
  messageType = parsed.type ?? "text";
75066
75158
  topicId = parsed.topicId ?? topicId;
75067
75159
  if (parsed.attachment) mlsAttachment = parsed.attachment;
75160
+ decisionReply = decisionReplyFromEnvelope(parsed);
75161
+ if (decisionReply) messageType = "decision_response";
75068
75162
  } catch {
75069
75163
  }
75070
75164
  if (messageType === "history_catchup_request") {
@@ -75146,7 +75240,8 @@ ${text}`;
75146
75240
  // material (MLS 1to1-group map, or a Double Ratchet session), NOT merely
75147
75241
  // that a roomId was absent. The bridge's full-access DM lane requires it.
75148
75242
  ownerDm1to1: true,
75149
- messageType
75243
+ messageType,
75244
+ ...decisionReply ? { decision: decisionReply } : {}
75150
75245
  };
75151
75246
  this.emit("message", text, metadata);
75152
75247
  if (this.config.onMessage) {
@@ -75256,6 +75351,7 @@ ${text}`;
75256
75351
  let messageText;
75257
75352
  let messageType;
75258
75353
  let attachmentInfo = null;
75354
+ let decisionReply;
75259
75355
  try {
75260
75356
  const parsed = JSON.parse(plaintext);
75261
75357
  messageType = parsed.type || "message";
@@ -75263,6 +75359,7 @@ ${text}`;
75263
75359
  if (parsed.attachment) {
75264
75360
  attachmentInfo = parsed.attachment;
75265
75361
  }
75362
+ decisionReply = decisionReplyFromEnvelope(parsed);
75266
75363
  } catch {
75267
75364
  messageType = "message";
75268
75365
  messageText = plaintext;
@@ -75315,7 +75412,7 @@ ${text}`;
75315
75412
  return;
75316
75413
  }
75317
75414
  }
75318
- if (messageType === "message") {
75415
+ if (messageType === "message" || messageType === "decision_response" && decisionReply) {
75319
75416
  const topicId = msgData.topic_id;
75320
75417
  this._lastIncomingTopicId = topicId;
75321
75418
  let attachData;
@@ -75377,10 +75474,12 @@ ${messageText}`;
75377
75474
  attachment: attachData,
75378
75475
  spanId: msgData.span_id,
75379
75476
  parentSpanId: msgData.parent_span_id,
75380
- messageType: msgData.message_type ?? "text",
75477
+ // A decision answer only counts from the owner's 1:1 — never a room.
75478
+ messageType: decisionReply && !roomId ? "decision_response" : msgData.message_type ?? "text",
75381
75479
  priority: msgData.priority ?? "normal",
75382
75480
  envelopeVersion: msgData.envelope_version ?? "1.0.0",
75383
75481
  roomId,
75482
+ ...decisionReply && !roomId ? { decision: decisionReply } : {},
75384
75483
  // #1223 — the pre-fold text. This DR `message` path also sets `roomId`
75385
75484
  // and folds an attachment into `emitText`, so without this a room
75386
75485
  // message that reaches the gate here would fall back to the folded
@@ -78030,10 +78129,12 @@ ${baseText}`;
78030
78129
  }
78031
78130
  let messageText;
78032
78131
  let messageType;
78132
+ let decisionReply;
78033
78133
  try {
78034
78134
  const parsed = JSON.parse(plaintext);
78035
78135
  messageType = parsed.type || "message";
78036
78136
  messageText = envelopeText(parsed, plaintext);
78137
+ decisionReply = decisionReplyFromEnvelope(parsed);
78037
78138
  } catch {
78038
78139
  messageType = "message";
78039
78140
  messageText = plaintext;
@@ -78045,7 +78146,7 @@ ${baseText}`;
78045
78146
  ackedIds.push(msg.queue_id);
78046
78147
  continue;
78047
78148
  }
78048
- if (messageType === "message") {
78149
+ if (messageType === "message" || messageType === "decision_response" && decisionReply) {
78049
78150
  const topicId = msg.topic_id;
78050
78151
  await this._appendHistory("owner", messageText, this._historyContext("dm", topicId), msg.created_at, msg.message_id);
78051
78152
  const metadata = {
@@ -78056,7 +78157,8 @@ ${baseText}`;
78056
78157
  // #621: positive attestation that this decrypted under the OWNER'S 1:1
78057
78158
  // material (MLS 1to1-group map, or a Double Ratchet session), NOT merely
78058
78159
  // that a roomId was absent. The bridge's full-access DM lane requires it.
78059
- ownerDm1to1: true
78160
+ ownerDm1to1: true,
78161
+ ...decisionReply ? { messageType: "decision_response", decision: decisionReply } : {}
78060
78162
  };
78061
78163
  this.emit("message", messageText, metadata);
78062
78164
  Promise.resolve(this.config.onMessage?.(messageText, metadata)).catch((err) => {
@@ -78640,15 +78742,17 @@ ${baseText}`;
78640
78742
  }
78641
78743
  let messageText;
78642
78744
  let messageType;
78745
+ let decisionReply;
78643
78746
  try {
78644
78747
  const parsed = JSON.parse(plaintext);
78645
78748
  messageType = parsed.type || "message";
78646
78749
  messageText = envelopeText(parsed, plaintext);
78750
+ decisionReply = decisionReplyFromEnvelope(parsed);
78647
78751
  } catch {
78648
78752
  messageType = "message";
78649
78753
  messageText = plaintext;
78650
78754
  }
78651
- if (messageType === "message") {
78755
+ if (messageType === "message" || messageType === "decision_response" && decisionReply) {
78652
78756
  const topicId = msg.topic_id;
78653
78757
  await this._appendHistory("owner", messageText, this._historyContext("dm", topicId), msg.created_at, msg.id);
78654
78758
  const metadata = {
@@ -78659,7 +78763,8 @@ ${baseText}`;
78659
78763
  // #621: positive attestation that this decrypted under the OWNER'S 1:1
78660
78764
  // material (MLS 1to1-group map, or a Double Ratchet session), NOT merely
78661
78765
  // that a roomId was absent. The bridge's full-access DM lane requires it.
78662
- ownerDm1to1: true
78766
+ ownerDm1to1: true,
78767
+ ...decisionReply ? { messageType: "decision_response", decision: decisionReply } : {}
78663
78768
  };
78664
78769
  this.emit("message", messageText, metadata);
78665
78770
  Promise.resolve(this.config.onMessage?.(messageText, metadata)).catch((err) => {
@@ -78835,6 +78940,7 @@ ${baseText}`;
78835
78940
  }
78836
78941
  _scheduleReconnect() {
78837
78942
  if (this._stopped) return;
78943
+ if (this._suspended) return;
78838
78944
  if (this._reconnectTimer) return;
78839
78945
  const sinceOpen = Date.now() - this._lastWsOpenTime;
78840
78946
  if (this._lastWsOpenTime > 0 && sinceOpen < 1e4) {
@@ -78855,7 +78961,16 @@ ${baseText}`;
78855
78961
  return;
78856
78962
  }
78857
78963
  const lastCode = this._lastCloseCode;
78858
- if (lastCode === 4e3 || lastCode === 4001) {
78964
+ if (lastCode === 4001) {
78965
+ console.log(
78966
+ "[SecureChannel] Server rejected our credentials on every reconnect (close code 4001). Stopping; the device needs re-enrolling or a fresh token."
78967
+ );
78968
+ this._authFailedThisSession = true;
78969
+ this._setState("error");
78970
+ this.emit("auth_failed", { reason: "ws_auth_rejected" });
78971
+ return;
78972
+ }
78973
+ if (lastCode === 4e3) {
78859
78974
  console.log(
78860
78975
  `[SecureChannel] Server reports our session was replaced by a newer one (close code ${lastCode}). Stopping reconnect.`
78861
78976
  );
@@ -78947,15 +79062,17 @@ ${baseText}`;
78947
79062
  }
78948
79063
  let messageText;
78949
79064
  let messageType;
79065
+ let decisionReply;
78950
79066
  try {
78951
79067
  const parsed = JSON.parse(plaintext);
78952
79068
  messageType = parsed.type || "message";
78953
79069
  messageText = envelopeText(parsed, plaintext);
79070
+ decisionReply = decisionReplyFromEnvelope(parsed);
78954
79071
  } catch {
78955
79072
  messageType = "message";
78956
79073
  messageText = plaintext;
78957
79074
  }
78958
- if (messageType === "message") {
79075
+ if (messageType === "message" || messageType === "decision_response" && decisionReply) {
78959
79076
  const topicId = msg.topic_id;
78960
79077
  await this._appendHistory("owner", messageText, this._historyContext("dm", topicId), msg.created_at, msg.id);
78961
79078
  const metadata = {
@@ -78966,7 +79083,8 @@ ${baseText}`;
78966
79083
  // #621: positive attestation that this decrypted under the OWNER'S 1:1
78967
79084
  // material (MLS 1to1-group map, or a Double Ratchet session), NOT merely
78968
79085
  // that a roomId was absent. The bridge's full-access DM lane requires it.
78969
- ownerDm1to1: true
79086
+ ownerDm1to1: true,
79087
+ ...decisionReply ? { messageType: "decision_response", decision: decisionReply } : {}
78970
79088
  };
78971
79089
  this.emit("message", messageText, metadata);
78972
79090
  Promise.resolve(this.config.onMessage?.(messageText, metadata)).catch((err) => {
@@ -79055,6 +79173,10 @@ ${baseText}`;
79055
79173
  * `retryable` rejection is transient — fall through to a normal reconnect.
79056
79174
  */
79057
79175
  async _handleConnectionRejected(data) {
79176
+ if (data?.reason === "device_suspended") {
79177
+ this._enterSuspendedWait("connection_rejected");
79178
+ return;
79179
+ }
79058
79180
  if (data?.retryable === true) {
79059
79181
  this._scheduleReconnect();
79060
79182
  return;
@@ -79066,6 +79188,79 @@ ${baseText}`;
79066
79188
  );
79067
79189
  this.emit("auth_failed", { reason: authReason });
79068
79190
  }
79191
+ // --- Owner pause (device SUSPENDED) — NON-final ---------------------------
79192
+ //
79193
+ // Suspension is reversible ("Agent active" off/on in the app). While
79194
+ // suspended the server will not serve this device (it rejects the handshake
79195
+ // with a retryable `device_suspended`), so reconnecting is pointless and,
79196
+ // through the rapid-disconnect classifier, used to end in a terminal error.
79197
+ // Instead: stay in "disconnected", poll the public status endpoint, and
79198
+ // reconnect as soon as the device is ACTIVE again. REVOKED ends the wait as
79199
+ // terminal; anything inconclusive (rate limit, network) keeps waiting.
79200
+ static SUSPENDED_POLL_MS = 3e4;
79201
+ _suspended = false;
79202
+ _suspendedPollTimer = null;
79203
+ /** Handle a WS `device_suspended` frame (owner paused this agent). */
79204
+ async _handleDeviceSuspended() {
79205
+ this._enterSuspendedWait("device_suspended");
79206
+ }
79207
+ _enterSuspendedWait(source) {
79208
+ if (this._stopped) return;
79209
+ if (this._reconnectTimer) {
79210
+ clearTimeout(this._reconnectTimer);
79211
+ this._reconnectTimer = null;
79212
+ }
79213
+ this._rapidDisconnects = 0;
79214
+ if (!this._suspended) {
79215
+ this._suspended = true;
79216
+ console.log(
79217
+ `[SecureChannel] Agent paused by its owner (${source}) \u2014 idling; will reconnect when resumed`
79218
+ );
79219
+ this._setState("disconnected");
79220
+ this.emit("suspended", { source });
79221
+ }
79222
+ this._scheduleSuspendedPoll();
79223
+ }
79224
+ _scheduleSuspendedPoll() {
79225
+ if (this._stopped || !this._suspended || this._suspendedPollTimer) return;
79226
+ this._suspendedPollTimer = setTimeout(() => {
79227
+ this._suspendedPollTimer = null;
79228
+ void this._pollWhileSuspended();
79229
+ }, _SecureChannel.SUSPENDED_POLL_MS);
79230
+ }
79231
+ _clearSuspendedWait() {
79232
+ this._suspended = false;
79233
+ if (this._suspendedPollTimer) {
79234
+ clearTimeout(this._suspendedPollTimer);
79235
+ this._suspendedPollTimer = null;
79236
+ }
79237
+ }
79238
+ async _pollWhileSuspended() {
79239
+ if (this._stopped || !this._suspended) return;
79240
+ const deviceId = this._deviceId ?? this._persisted?.deviceId;
79241
+ if (deviceId) {
79242
+ try {
79243
+ const st = await pollDeviceStatus(this.config.apiUrl, deviceId);
79244
+ if (this._stopped || !this._suspended) return;
79245
+ if (!st.rateLimited && (st.status === "ACTIVE" || st.status === "APPROVED")) {
79246
+ this._clearSuspendedWait();
79247
+ this._reconnectAttempt = 0;
79248
+ console.log("[SecureChannel] Agent resumed by its owner \u2014 reconnecting");
79249
+ this.emit("resumed");
79250
+ this._connect();
79251
+ return;
79252
+ }
79253
+ if (!st.rateLimited && st.status === "REVOKED") {
79254
+ this._clearSuspendedWait();
79255
+ this._handleError(new Error("Device was revoked"));
79256
+ return;
79257
+ }
79258
+ } catch (err) {
79259
+ console.warn("[SecureChannel] status check while paused failed; still waiting:", err);
79260
+ }
79261
+ }
79262
+ this._scheduleSuspendedPoll();
79263
+ }
79069
79264
  async _handleDeviceRevoked() {
79070
79265
  const now = Date.now();
79071
79266
  this._revokeRecoveries = this._revokeRecoveries.filter(
@@ -79086,6 +79281,10 @@ ${baseText}`;
79086
79281
  let reconnect;
79087
79282
  try {
79088
79283
  const status = await pollDeviceStatus(this.config.apiUrl, deviceId);
79284
+ if (status.status === "SUSPENDED") {
79285
+ this._enterSuspendedWait("device_revoked");
79286
+ return;
79287
+ }
79089
79288
  reconnect = status.rateLimited === true || status.status === "ACTIVE";
79090
79289
  if (!reconnect) {
79091
79290
  console.warn(
@@ -79167,7 +79366,7 @@ ${baseText}`;
79167
79366
  label: "AgentVault",
79168
79367
  selectionLabel: "AgentVault (E2E Encrypted)",
79169
79368
  docsPath: "https://agentvault.chat/docs",
79170
- blurb: "Zero-knowledge, end-to-end encrypted messaging between owners and their AI agents.",
79369
+ blurb: "End-to-end encrypted messaging between owners and their AI agents.",
79171
79370
  aliases: ["av", "agent-vault"]
79172
79371
  },
79173
79372
  capabilities: {
@@ -79366,9 +79565,540 @@ ${actionsText}`);
79366
79565
  "use strict";
79367
79566
  }
79368
79567
  });
79568
+ init_llm_pricing_openrouter = __esm2({
79569
+ "src/llm-pricing-openrouter.ts"() {
79570
+ "use strict";
79571
+ OPENROUTER_PRICING = {
79572
+ anthropic: {
79573
+ "claude-fable-5": { inputPerMtoken: 10, outputPerMtoken: 50 },
79574
+ "claude-fable-5-1": { inputPerMtoken: 10, outputPerMtoken: 50 },
79575
+ "claude-haiku-4-5": { inputPerMtoken: 1, outputPerMtoken: 5 },
79576
+ "claude-haiku-5-5": { inputPerMtoken: 0.1, outputPerMtoken: 0.5 },
79577
+ "claude-opus-4-1": { inputPerMtoken: 15, outputPerMtoken: 75 },
79578
+ "claude-opus-4-5": { inputPerMtoken: 5, outputPerMtoken: 25 },
79579
+ "claude-opus-4-6": { inputPerMtoken: 5, outputPerMtoken: 25 },
79580
+ "claude-opus-4-7": { inputPerMtoken: 5, outputPerMtoken: 25 },
79581
+ "claude-opus-4-8": { inputPerMtoken: 5, outputPerMtoken: 25 },
79582
+ "claude-opus-5": { inputPerMtoken: 5, outputPerMtoken: 25 },
79583
+ "claude-opus-5-5": { inputPerMtoken: 4, outputPerMtoken: 20 },
79584
+ "claude-sonnet-4": { inputPerMtoken: 3, outputPerMtoken: 15 },
79585
+ "claude-sonnet-4-5": { inputPerMtoken: 3, outputPerMtoken: 15 },
79586
+ "claude-sonnet-4-6": { inputPerMtoken: 3, outputPerMtoken: 15 },
79587
+ "claude-sonnet-5": { inputPerMtoken: 2, outputPerMtoken: 10 },
79588
+ "claude-sonnet-5-5": { inputPerMtoken: 2, outputPerMtoken: 10 }
79589
+ },
79590
+ openai: {
79591
+ "gpt-3.5-turbo": { inputPerMtoken: 0.5, outputPerMtoken: 1.5 },
79592
+ "gpt-3.5-turbo-0613": { inputPerMtoken: 1, outputPerMtoken: 2 },
79593
+ "gpt-3.5-turbo-16k": { inputPerMtoken: 3, outputPerMtoken: 4 },
79594
+ "gpt-3.5-turbo-instruct": { inputPerMtoken: 1.5, outputPerMtoken: 2 },
79595
+ "gpt-4": { inputPerMtoken: 30, outputPerMtoken: 60 },
79596
+ "gpt-4-turbo": { inputPerMtoken: 10, outputPerMtoken: 30 },
79597
+ "gpt-4.1": { inputPerMtoken: 2, outputPerMtoken: 8 },
79598
+ "gpt-4.1-mini": { inputPerMtoken: 0.4, outputPerMtoken: 1.6 },
79599
+ "gpt-4.1-nano": { inputPerMtoken: 0.1, outputPerMtoken: 0.4 },
79600
+ "gpt-4o": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79601
+ "gpt-4o-2024-05-13": { inputPerMtoken: 5, outputPerMtoken: 15 },
79602
+ "gpt-4o-2024-08-06": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79603
+ "gpt-4o-2024-11-20": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79604
+ "gpt-4o-mini": { inputPerMtoken: 0.15, outputPerMtoken: 0.6 },
79605
+ "gpt-4o-mini-2024-07-18": { inputPerMtoken: 0.15, outputPerMtoken: 0.6 },
79606
+ "gpt-5": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79607
+ "gpt-5-image": { inputPerMtoken: 10, outputPerMtoken: 10 },
79608
+ "gpt-5-image-mini": { inputPerMtoken: 2.5, outputPerMtoken: 2 },
79609
+ "gpt-5-mini": { inputPerMtoken: 0.25, outputPerMtoken: 2 },
79610
+ "gpt-5-nano": { inputPerMtoken: 0.05, outputPerMtoken: 0.4 },
79611
+ "gpt-5-pro": { inputPerMtoken: 15, outputPerMtoken: 120 },
79612
+ "gpt-5.1": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79613
+ "gpt-5.1-codex": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79614
+ "gpt-5.1-codex-max": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79615
+ "gpt-5.1-codex-mini": { inputPerMtoken: 0.25, outputPerMtoken: 2 },
79616
+ "gpt-5.2": { inputPerMtoken: 1.75, outputPerMtoken: 14 },
79617
+ "gpt-5.2-chat": { inputPerMtoken: 1.75, outputPerMtoken: 14 },
79618
+ "gpt-5.2-codex": { inputPerMtoken: 1.75, outputPerMtoken: 14 },
79619
+ "gpt-5.2-pro": { inputPerMtoken: 21, outputPerMtoken: 168 },
79620
+ "gpt-5.3-codex": { inputPerMtoken: 1.75, outputPerMtoken: 14 },
79621
+ "gpt-5.4": { inputPerMtoken: 2.5, outputPerMtoken: 15 },
79622
+ "gpt-5.4-image-2": { inputPerMtoken: 8, outputPerMtoken: 15 },
79623
+ "gpt-5.4-mini": { inputPerMtoken: 0.75, outputPerMtoken: 4.5 },
79624
+ "gpt-5.4-nano": { inputPerMtoken: 0.2, outputPerMtoken: 1.25 },
79625
+ "gpt-5.4-pro": { inputPerMtoken: 30, outputPerMtoken: 180 },
79626
+ "gpt-5.5": { inputPerMtoken: 5, outputPerMtoken: 30 },
79627
+ "gpt-5.5-pro": { inputPerMtoken: 30, outputPerMtoken: 180 },
79628
+ "gpt-5.6-luna": { inputPerMtoken: 0.2, outputPerMtoken: 1.2 },
79629
+ "gpt-5.6-luna-pro": { inputPerMtoken: 0.2, outputPerMtoken: 1.2 },
79630
+ "gpt-5.6-sol": { inputPerMtoken: 2, outputPerMtoken: 10 },
79631
+ "gpt-5.6-sol-pro": { inputPerMtoken: 2, outputPerMtoken: 10 },
79632
+ "gpt-5.6-terra": { inputPerMtoken: 2, outputPerMtoken: 12 },
79633
+ "gpt-5.6-terra-pro": { inputPerMtoken: 2, outputPerMtoken: 12 },
79634
+ "gpt-6-astra": { inputPerMtoken: 10, outputPerMtoken: 50 },
79635
+ "gpt-6-astra-pro": { inputPerMtoken: 10, outputPerMtoken: 50 },
79636
+ "gpt-6-luna": { inputPerMtoken: 0.1, outputPerMtoken: 0.5 },
79637
+ "gpt-6-luna-pro": { inputPerMtoken: 0.1, outputPerMtoken: 0.5 },
79638
+ "gpt-6-sol": { inputPerMtoken: 2, outputPerMtoken: 10 },
79639
+ "gpt-6-sol-pro": { inputPerMtoken: 2, outputPerMtoken: 10 },
79640
+ "gpt-6.1-sol": { inputPerMtoken: 2, outputPerMtoken: 10 },
79641
+ "gpt-6.1-sol-pro": { inputPerMtoken: 2, outputPerMtoken: 10 },
79642
+ "gpt-audio": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79643
+ "gpt-audio-mini": { inputPerMtoken: 0.6, outputPerMtoken: 2.4 },
79644
+ "gpt-chat-latest": { inputPerMtoken: 5, outputPerMtoken: 30 },
79645
+ "gpt-oss-120b": { inputPerMtoken: 0.037, outputPerMtoken: 0.17 },
79646
+ "gpt-oss-20b": { inputPerMtoken: 0.018, outputPerMtoken: 0.09 },
79647
+ "gpt-oss-safeguard-20b": { inputPerMtoken: 0.075, outputPerMtoken: 0.3 },
79648
+ "o1": { inputPerMtoken: 15, outputPerMtoken: 60 },
79649
+ "o1-pro": { inputPerMtoken: 150, outputPerMtoken: 600 },
79650
+ "o3": { inputPerMtoken: 2, outputPerMtoken: 8 },
79651
+ "o3-mini": { inputPerMtoken: 1.1, outputPerMtoken: 4.4 },
79652
+ "o3-mini-high": { inputPerMtoken: 1.1, outputPerMtoken: 4.4 },
79653
+ "o3-pro": { inputPerMtoken: 20, outputPerMtoken: 80 },
79654
+ "o4-mini": { inputPerMtoken: 1.1, outputPerMtoken: 4.4 },
79655
+ "o4-mini-high": { inputPerMtoken: 1.1, outputPerMtoken: 4.4 }
79656
+ },
79657
+ openrouter: {
79658
+ "aion-2.0": { inputPerMtoken: 0.8, outputPerMtoken: 1.6 },
79659
+ "aion-3.0": { inputPerMtoken: 3, outputPerMtoken: 6 },
79660
+ "aion-3.0-mini": { inputPerMtoken: 0.7, outputPerMtoken: 1.4 },
79661
+ "aion-3.5": { inputPerMtoken: 3, outputPerMtoken: 6 },
79662
+ "aion-3.5-mini": { inputPerMtoken: 0.7, outputPerMtoken: 1.4 },
79663
+ "aion-rp-llama-3.1-8b": { inputPerMtoken: 0.8, outputPerMtoken: 1.6 },
79664
+ "claude-fable-5": { inputPerMtoken: 10, outputPerMtoken: 50 },
79665
+ "claude-fable-5.1": { inputPerMtoken: 10, outputPerMtoken: 50 },
79666
+ "claude-fable-latest": { inputPerMtoken: 10, outputPerMtoken: 50 },
79667
+ "claude-haiku-4.5": { inputPerMtoken: 1, outputPerMtoken: 5 },
79668
+ "claude-haiku-5.5": { inputPerMtoken: 0.1, outputPerMtoken: 0.5 },
79669
+ "claude-haiku-latest": { inputPerMtoken: 0.1, outputPerMtoken: 0.5 },
79670
+ "claude-opus-4.1": { inputPerMtoken: 15, outputPerMtoken: 75 },
79671
+ "claude-opus-4.5": { inputPerMtoken: 5, outputPerMtoken: 25 },
79672
+ "claude-opus-4.6": { inputPerMtoken: 5, outputPerMtoken: 25 },
79673
+ "claude-opus-4.7": { inputPerMtoken: 5, outputPerMtoken: 25 },
79674
+ "claude-opus-4.8": { inputPerMtoken: 5, outputPerMtoken: 25 },
79675
+ "claude-opus-5": { inputPerMtoken: 5, outputPerMtoken: 25 },
79676
+ "claude-opus-5.5": { inputPerMtoken: 4, outputPerMtoken: 20 },
79677
+ "claude-opus-latest": { inputPerMtoken: 4, outputPerMtoken: 20 },
79678
+ "claude-sonnet-4": { inputPerMtoken: 3, outputPerMtoken: 15 },
79679
+ "claude-sonnet-4.5": { inputPerMtoken: 3, outputPerMtoken: 15 },
79680
+ "claude-sonnet-4.6": { inputPerMtoken: 3, outputPerMtoken: 15 },
79681
+ "claude-sonnet-5": { inputPerMtoken: 2, outputPerMtoken: 10 },
79682
+ "claude-sonnet-5.5": { inputPerMtoken: 2, outputPerMtoken: 10 },
79683
+ "claude-sonnet-latest": { inputPerMtoken: 2, outputPerMtoken: 10 },
79684
+ "codestral-2508": { inputPerMtoken: 0.3, outputPerMtoken: 0.9 },
79685
+ "command-a": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79686
+ "command-a-plus": { inputPerMtoken: 0.3, outputPerMtoken: 1.5 },
79687
+ "command-r-08-2024": { inputPerMtoken: 0.15, outputPerMtoken: 0.6 },
79688
+ "command-r-plus-08-2024": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79689
+ "command-r7b-12-2024": { inputPerMtoken: 0.0375, outputPerMtoken: 0.15 },
79690
+ "cydonia-24b-v4.1": { inputPerMtoken: 0.3, outputPerMtoken: 0.5 },
79691
+ "deepseek-chat": { inputPerMtoken: 0.32, outputPerMtoken: 0.89 },
79692
+ "deepseek-chat-v3-0324": { inputPerMtoken: 0.29, outputPerMtoken: 1.14 },
79693
+ "deepseek-chat-v3.1": { inputPerMtoken: 0.25, outputPerMtoken: 0.95 },
79694
+ "deepseek-flash-latest": { inputPerMtoken: 0.02016, outputPerMtoken: 0.891 },
79695
+ "deepseek-pro-latest": { inputPerMtoken: 0.1461, outputPerMtoken: 8 },
79696
+ "deepseek-r1": { inputPerMtoken: 0.7, outputPerMtoken: 2.5 },
79697
+ "deepseek-r1-0528": { inputPerMtoken: 0.5, outputPerMtoken: 2.15 },
79698
+ "deepseek-v3.1-terminus": { inputPerMtoken: 0.27, outputPerMtoken: 1 },
79699
+ "deepseek-v3.2": { inputPerMtoken: 0.259, outputPerMtoken: 0.8 },
79700
+ "deepseek-v3.2-exp": { inputPerMtoken: 0.27, outputPerMtoken: 0.41 },
79701
+ "deepseek-v4-flash": { inputPerMtoken: 0.091, outputPerMtoken: 0.182 },
79702
+ "deepseek-v4-flash-0731": { inputPerMtoken: 0.016, outputPerMtoken: 0.64 },
79703
+ "deepseek-v4-flash-latest": { inputPerMtoken: 0.0144, outputPerMtoken: 0.576 },
79704
+ "deepseek-v4-flash-vision-exp": { inputPerMtoken: 0.2156, outputPerMtoken: 0.6468 },
79705
+ "deepseek-v4-pro": { inputPerMtoken: 0.430824, outputPerMtoken: 0.861648 },
79706
+ "deepseek-v4-pro-0813": { inputPerMtoken: 0.66, outputPerMtoken: 1.98 },
79707
+ "deepseek-v4.1-flash": { inputPerMtoken: 0.02016, outputPerMtoken: 0.891 },
79708
+ "devstral-2512": { inputPerMtoken: 0.4, outputPerMtoken: 2 },
79709
+ "dolphin-mistral-24b-venice-edition": { inputPerMtoken: 0.2, outputPerMtoken: 0.9 },
79710
+ "dots-3-note-preview:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79711
+ "ember-1": { inputPerMtoken: 3, outputPerMtoken: 15 },
79712
+ "extract": { inputPerMtoken: 0.04, outputPerMtoken: 0 },
79713
+ "free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79714
+ "fugu-max": { inputPerMtoken: 2, outputPerMtoken: 6 },
79715
+ "fugu-ultra": { inputPerMtoken: 5, outputPerMtoken: 30 },
79716
+ "fugu-ultra-v2": { inputPerMtoken: 5, outputPerMtoken: 30 },
79717
+ "gemini-2.5-flash": { inputPerMtoken: 0.3, outputPerMtoken: 2.5 },
79718
+ "gemini-2.5-flash-image": { inputPerMtoken: 0.3, outputPerMtoken: 2.5 },
79719
+ "gemini-2.5-flash-lite": { inputPerMtoken: 0.1, outputPerMtoken: 0.4 },
79720
+ "gemini-2.5-pro": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79721
+ "gemini-2.5-pro-preview": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79722
+ "gemini-3-flash-preview": { inputPerMtoken: 0.5, outputPerMtoken: 3 },
79723
+ "gemini-3-pro-image": { inputPerMtoken: 2, outputPerMtoken: 12 },
79724
+ "gemini-3-pro-image-preview": { inputPerMtoken: 2, outputPerMtoken: 12 },
79725
+ "gemini-3.1-flash-image": { inputPerMtoken: 0.5, outputPerMtoken: 3 },
79726
+ "gemini-3.1-flash-image-preview": { inputPerMtoken: 0.5, outputPerMtoken: 3 },
79727
+ "gemini-3.1-flash-lite": { inputPerMtoken: 0.25, outputPerMtoken: 1.5 },
79728
+ "gemini-3.1-flash-lite-image": { inputPerMtoken: 0.25, outputPerMtoken: 1.5 },
79729
+ "gemini-3.1-flash-lite-preview": { inputPerMtoken: 0.25, outputPerMtoken: 1.5 },
79730
+ "gemini-3.1-pro-preview": { inputPerMtoken: 2, outputPerMtoken: 12 },
79731
+ "gemini-3.1-pro-preview-customtools": { inputPerMtoken: 2, outputPerMtoken: 12 },
79732
+ "gemini-3.5-flash": { inputPerMtoken: 1.5, outputPerMtoken: 9 },
79733
+ "gemini-3.5-flash-lite": { inputPerMtoken: 0.3, outputPerMtoken: 2.5 },
79734
+ "gemini-3.6-flash": { inputPerMtoken: 0.75, outputPerMtoken: 3.75 },
79735
+ "gemini-3.7-flash": { inputPerMtoken: 0.75, outputPerMtoken: 3.75 },
79736
+ "gemini-3.8-flash": { inputPerMtoken: 0.75, outputPerMtoken: 3.75 },
79737
+ "gemini-4-argon": { inputPerMtoken: 2, outputPerMtoken: 10 },
79738
+ "gemini-flash-latest": { inputPerMtoken: 0.75, outputPerMtoken: 3.75 },
79739
+ "gemini-nano-banana-2.1": { inputPerMtoken: 1.5, outputPerMtoken: 7.5 },
79740
+ "gemini-pro-latest": { inputPerMtoken: 2, outputPerMtoken: 12 },
79741
+ "gemma-2-27b-it": { inputPerMtoken: 0.65, outputPerMtoken: 0.65 },
79742
+ "gemma-3-12b-it": { inputPerMtoken: 0.05, outputPerMtoken: 0.15 },
79743
+ "gemma-3-27b-it": { inputPerMtoken: 0.08, outputPerMtoken: 0.45 },
79744
+ "gemma-3-4b-it": { inputPerMtoken: 0.05, outputPerMtoken: 0.1 },
79745
+ "gemma-4-26b-a4b-it": { inputPerMtoken: 0.09, outputPerMtoken: 0.3 },
79746
+ "gemma-4-26b-a4b-it:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79747
+ "gemma-4-31b-it": { inputPerMtoken: 0.09, outputPerMtoken: 0.34 },
79748
+ "gemma-4-31b-it:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79749
+ "glm-4.5": { inputPerMtoken: 0.6, outputPerMtoken: 2.2 },
79750
+ "glm-4.5-air": { inputPerMtoken: 0.13, outputPerMtoken: 0.85 },
79751
+ "glm-4.5v": { inputPerMtoken: 0.6, outputPerMtoken: 1.8 },
79752
+ "glm-4.6": { inputPerMtoken: 0.5, outputPerMtoken: 2 },
79753
+ "glm-4.6v": { inputPerMtoken: 0.3, outputPerMtoken: 0.9 },
79754
+ "glm-4.7": { inputPerMtoken: 0.6, outputPerMtoken: 2.2 },
79755
+ "glm-4.7-flash": { inputPerMtoken: 0.0605, outputPerMtoken: 0.4 },
79756
+ "glm-5": { inputPerMtoken: 0.6, outputPerMtoken: 1.92 },
79757
+ "glm-5-turbo": { inputPerMtoken: 1.2, outputPerMtoken: 4 },
79758
+ "glm-5.1": { inputPerMtoken: 1.33, outputPerMtoken: 4.18 },
79759
+ "glm-5.2": { inputPerMtoken: 0.05, outputPerMtoken: 7 },
79760
+ "glm-5.3": { inputPerMtoken: 0.079, outputPerMtoken: 4.8 },
79761
+ "glm-5.3-flash": { inputPerMtoken: 0.036, outputPerMtoken: 0.9 },
79762
+ "glm-5.3-flashx": { inputPerMtoken: 0.37, outputPerMtoken: 1.25 },
79763
+ "glm-5.3-prime": { inputPerMtoken: 2.8, outputPerMtoken: 8.8 },
79764
+ "glm-5v-turbo": { inputPerMtoken: 1.2, outputPerMtoken: 4 },
79765
+ "glm-flash-latest": { inputPerMtoken: 0.036, outputPerMtoken: 0.9 },
79766
+ "glm-latest": { inputPerMtoken: 0.0576, outputPerMtoken: 4.4 },
79767
+ "gpt-3.5-turbo": { inputPerMtoken: 0.5, outputPerMtoken: 1.5 },
79768
+ "gpt-3.5-turbo-0613": { inputPerMtoken: 1, outputPerMtoken: 2 },
79769
+ "gpt-3.5-turbo-16k": { inputPerMtoken: 3, outputPerMtoken: 4 },
79770
+ "gpt-3.5-turbo-instruct": { inputPerMtoken: 1.5, outputPerMtoken: 2 },
79771
+ "gpt-4": { inputPerMtoken: 30, outputPerMtoken: 60 },
79772
+ "gpt-4-turbo": { inputPerMtoken: 10, outputPerMtoken: 30 },
79773
+ "gpt-4.1": { inputPerMtoken: 2, outputPerMtoken: 8 },
79774
+ "gpt-4.1-mini": { inputPerMtoken: 0.4, outputPerMtoken: 1.6 },
79775
+ "gpt-4.1-nano": { inputPerMtoken: 0.1, outputPerMtoken: 0.4 },
79776
+ "gpt-4o": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79777
+ "gpt-4o-2024-05-13": { inputPerMtoken: 5, outputPerMtoken: 15 },
79778
+ "gpt-4o-2024-08-06": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79779
+ "gpt-4o-2024-11-20": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79780
+ "gpt-4o-mini": { inputPerMtoken: 0.15, outputPerMtoken: 0.6 },
79781
+ "gpt-4o-mini-2024-07-18": { inputPerMtoken: 0.15, outputPerMtoken: 0.6 },
79782
+ "gpt-5": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79783
+ "gpt-5-image": { inputPerMtoken: 10, outputPerMtoken: 10 },
79784
+ "gpt-5-image-mini": { inputPerMtoken: 2.5, outputPerMtoken: 2 },
79785
+ "gpt-5-mini": { inputPerMtoken: 0.25, outputPerMtoken: 2 },
79786
+ "gpt-5-nano": { inputPerMtoken: 0.05, outputPerMtoken: 0.4 },
79787
+ "gpt-5-pro": { inputPerMtoken: 15, outputPerMtoken: 120 },
79788
+ "gpt-5.1": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79789
+ "gpt-5.1-codex": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79790
+ "gpt-5.1-codex-max": { inputPerMtoken: 1.25, outputPerMtoken: 10 },
79791
+ "gpt-5.1-codex-mini": { inputPerMtoken: 0.25, outputPerMtoken: 2 },
79792
+ "gpt-5.2": { inputPerMtoken: 1.75, outputPerMtoken: 14 },
79793
+ "gpt-5.2-chat": { inputPerMtoken: 1.75, outputPerMtoken: 14 },
79794
+ "gpt-5.2-codex": { inputPerMtoken: 1.75, outputPerMtoken: 14 },
79795
+ "gpt-5.2-pro": { inputPerMtoken: 21, outputPerMtoken: 168 },
79796
+ "gpt-5.3-codex": { inputPerMtoken: 1.75, outputPerMtoken: 14 },
79797
+ "gpt-5.4": { inputPerMtoken: 2.5, outputPerMtoken: 15 },
79798
+ "gpt-5.4-image-2": { inputPerMtoken: 8, outputPerMtoken: 15 },
79799
+ "gpt-5.4-mini": { inputPerMtoken: 0.75, outputPerMtoken: 4.5 },
79800
+ "gpt-5.4-nano": { inputPerMtoken: 0.2, outputPerMtoken: 1.25 },
79801
+ "gpt-5.4-pro": { inputPerMtoken: 30, outputPerMtoken: 180 },
79802
+ "gpt-5.5": { inputPerMtoken: 5, outputPerMtoken: 30 },
79803
+ "gpt-5.5-pro": { inputPerMtoken: 30, outputPerMtoken: 180 },
79804
+ "gpt-5.6-luna": { inputPerMtoken: 0.2, outputPerMtoken: 1.2 },
79805
+ "gpt-5.6-luna-pro": { inputPerMtoken: 0.2, outputPerMtoken: 1.2 },
79806
+ "gpt-5.6-sol": { inputPerMtoken: 2, outputPerMtoken: 10 },
79807
+ "gpt-5.6-sol-pro": { inputPerMtoken: 2, outputPerMtoken: 10 },
79808
+ "gpt-5.6-terra": { inputPerMtoken: 2, outputPerMtoken: 12 },
79809
+ "gpt-5.6-terra-pro": { inputPerMtoken: 2, outputPerMtoken: 12 },
79810
+ "gpt-6-astra": { inputPerMtoken: 10, outputPerMtoken: 50 },
79811
+ "gpt-6-astra-pro": { inputPerMtoken: 10, outputPerMtoken: 50 },
79812
+ "gpt-6-luna": { inputPerMtoken: 0.1, outputPerMtoken: 0.5 },
79813
+ "gpt-6-luna-pro": { inputPerMtoken: 0.1, outputPerMtoken: 0.5 },
79814
+ "gpt-6-sol": { inputPerMtoken: 2, outputPerMtoken: 10 },
79815
+ "gpt-6-sol-pro": { inputPerMtoken: 2, outputPerMtoken: 10 },
79816
+ "gpt-6.1-sol": { inputPerMtoken: 2, outputPerMtoken: 10 },
79817
+ "gpt-6.1-sol-pro": { inputPerMtoken: 2, outputPerMtoken: 10 },
79818
+ "gpt-astra-latest": { inputPerMtoken: 10, outputPerMtoken: 50 },
79819
+ "gpt-audio": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
79820
+ "gpt-audio-mini": { inputPerMtoken: 0.6, outputPerMtoken: 2.4 },
79821
+ "gpt-chat-latest": { inputPerMtoken: 5, outputPerMtoken: 30 },
79822
+ "gpt-luna-latest": { inputPerMtoken: 0.1, outputPerMtoken: 0.5 },
79823
+ "gpt-mini-latest": { inputPerMtoken: 0.75, outputPerMtoken: 4.5 },
79824
+ "gpt-oss-120b": { inputPerMtoken: 0.037, outputPerMtoken: 0.17 },
79825
+ "gpt-oss-20b": { inputPerMtoken: 0.018, outputPerMtoken: 0.09 },
79826
+ "gpt-oss-safeguard-20b": { inputPerMtoken: 0.075, outputPerMtoken: 0.3 },
79827
+ "gpt-sol-latest": { inputPerMtoken: 2, outputPerMtoken: 10 },
79828
+ "gpt-terra-latest": { inputPerMtoken: 2, outputPerMtoken: 12 },
79829
+ "granite-4.0-h-micro": { inputPerMtoken: 0.017, outputPerMtoken: 0.112 },
79830
+ "granite-4.2-8b": { inputPerMtoken: 0.06, outputPerMtoken: 0.25 },
79831
+ "grok-4.20": { inputPerMtoken: 1.25, outputPerMtoken: 2.5 },
79832
+ "grok-4.20-multi-agent": { inputPerMtoken: 1.25, outputPerMtoken: 2.5 },
79833
+ "grok-4.3": { inputPerMtoken: 1.25, outputPerMtoken: 2.5 },
79834
+ "grok-4.5": { inputPerMtoken: 2, outputPerMtoken: 6 },
79835
+ "grok-4.6": { inputPerMtoken: 2, outputPerMtoken: 6 },
79836
+ "grok-4.7": { inputPerMtoken: 2, outputPerMtoken: 6 },
79837
+ "grok-build-0.1": { inputPerMtoken: 1, outputPerMtoken: 2 },
79838
+ "grok-latest": { inputPerMtoken: 2, outputPerMtoken: 6 },
79839
+ "hermes-3-llama-3.1-405b": { inputPerMtoken: 1, outputPerMtoken: 1 },
79840
+ "hermes-3-llama-3.1-70b": { inputPerMtoken: 0.7, outputPerMtoken: 0.7 },
79841
+ "hermes-4-405b": { inputPerMtoken: 1, outputPerMtoken: 3 },
79842
+ "hunyuan-a13b-instruct": { inputPerMtoken: 0.14, outputPerMtoken: 0.57 },
79843
+ "hy-mt2-1.8b": { inputPerMtoken: 0.044, outputPerMtoken: 0.177 },
79844
+ "hy-mt2-30b-a3b": { inputPerMtoken: 0.074, outputPerMtoken: 0.295 },
79845
+ "hy-mt2-7b": { inputPerMtoken: 0.074, outputPerMtoken: 0.295 },
79846
+ "hy3": { inputPerMtoken: 0.132, outputPerMtoken: 0.528 },
79847
+ "hy3-preview": { inputPerMtoken: 0.18, outputPerMtoken: 0.6 },
79848
+ "hy4-preview": { inputPerMtoken: 0.834, outputPerMtoken: 2.501 },
79849
+ "inkling": { inputPerMtoken: 1, outputPerMtoken: 4.05 },
79850
+ "inkling-small": { inputPerMtoken: 0.45, outputPerMtoken: 1.2 },
79851
+ "inkling-small:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79852
+ "inkling:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79853
+ "kimi-k2": { inputPerMtoken: 0.57, outputPerMtoken: 2.3 },
79854
+ "kimi-k2-0905": { inputPerMtoken: 0.6, outputPerMtoken: 2.5 },
79855
+ "kimi-k2-thinking": { inputPerMtoken: 0.6, outputPerMtoken: 2.5 },
79856
+ "kimi-k2.5": { inputPerMtoken: 0.5, outputPerMtoken: 2.5 },
79857
+ "kimi-k2.6": { inputPerMtoken: 0.65, outputPerMtoken: 3.41 },
79858
+ "kimi-k2.7-code": { inputPerMtoken: 0.6712, outputPerMtoken: 3.35 },
79859
+ "kimi-k3": { inputPerMtoken: 0.7, outputPerMtoken: 15 },
79860
+ "kimi-latest": { inputPerMtoken: 0.536, outputPerMtoken: 14 },
79861
+ "l3-lunaris-8b": { inputPerMtoken: 0.04, outputPerMtoken: 0.05 },
79862
+ "l3.1-euryale-70b": { inputPerMtoken: 0.85, outputPerMtoken: 0.85 },
79863
+ "l3.3-euryale-70b": { inputPerMtoken: 0.65, outputPerMtoken: 0.75 },
79864
+ "laguna-s-2.1": { inputPerMtoken: 0.09, outputPerMtoken: 0.18 },
79865
+ "laguna-s-2.1:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79866
+ "laguna-xs-2.1": { inputPerMtoken: 0.06, outputPerMtoken: 0.12 },
79867
+ "laguna-xs-2.1:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79868
+ "lfm-2.5-2.6b:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79869
+ "lfm-2.5-24b-a2b": { inputPerMtoken: 0.05, outputPerMtoken: 0.7 },
79870
+ "ling-3.0-flash": { inputPerMtoken: 0.021, outputPerMtoken: 0.063 },
79871
+ "ling-3.0-flash-vl": { inputPerMtoken: 0.06, outputPerMtoken: 0.18 },
79872
+ "ling-3.1-flash": { inputPerMtoken: 0.075, outputPerMtoken: 0.225 },
79873
+ "llama-3.1-70b-instruct": { inputPerMtoken: 0.4, outputPerMtoken: 0.4 },
79874
+ "llama-3.1-8b-instruct": { inputPerMtoken: 0.05, outputPerMtoken: 0.08 },
79875
+ "llama-3.2-1b-instruct": { inputPerMtoken: 0.027, outputPerMtoken: 0.201 },
79876
+ "llama-3.2-3b-instruct": { inputPerMtoken: 0.05, outputPerMtoken: 0.33 },
79877
+ "llama-3.3-70b-instruct": { inputPerMtoken: 0.59, outputPerMtoken: 0.79 },
79878
+ "llama-4-maverick": { inputPerMtoken: 0.1875, outputPerMtoken: 0.6525 },
79879
+ "llama-4-scout": { inputPerMtoken: 0.18, outputPerMtoken: 0.59 },
79880
+ "llama-guard-4-12b": { inputPerMtoken: 0.18, outputPerMtoken: 0.18 },
79881
+ "longcat-2.0": { inputPerMtoken: 0.3, outputPerMtoken: 1.2 },
79882
+ "lyria-3-clip-preview": { inputPerMtoken: 0, outputPerMtoken: 0 },
79883
+ "lyria-3-pro-preview": { inputPerMtoken: 0, outputPerMtoken: 0 },
79884
+ "magnum-v4-72b": { inputPerMtoken: 2.5, outputPerMtoken: 5 },
79885
+ "mercury-2": { inputPerMtoken: 0.25, outputPerMtoken: 0.75 },
79886
+ "mercury-2.5": { inputPerMtoken: 0.04, outputPerMtoken: 0.15 },
79887
+ "mimo-v2.5": { inputPerMtoken: 0.14, outputPerMtoken: 0.28 },
79888
+ "mimo-v2.5-pro": { inputPerMtoken: 0.435, outputPerMtoken: 0.87 },
79889
+ "mimo-v2.6-flash": { inputPerMtoken: 0.14, outputPerMtoken: 0.28 },
79890
+ "mimo-v2.6-pro": { inputPerMtoken: 0.435, outputPerMtoken: 0.87 },
79891
+ "mimo-v2.6-pro-ultraspeed": { inputPerMtoken: 4.35, outputPerMtoken: 8.7 },
79892
+ "minimax-01": { inputPerMtoken: 0.2, outputPerMtoken: 1.1 },
79893
+ "minimax-m1": { inputPerMtoken: 0.55, outputPerMtoken: 2.2 },
79894
+ "minimax-m2": { inputPerMtoken: 0.255, outputPerMtoken: 1.02 },
79895
+ "minimax-m2-her": { inputPerMtoken: 0.3, outputPerMtoken: 1.2 },
79896
+ "minimax-m2.1": { inputPerMtoken: 0.3, outputPerMtoken: 1.2 },
79897
+ "minimax-m2.5": { inputPerMtoken: 0.27, outputPerMtoken: 1.08 },
79898
+ "minimax-m2.7": { inputPerMtoken: 0.3, outputPerMtoken: 1.2 },
79899
+ "minimax-m3": { inputPerMtoken: 0.3, outputPerMtoken: 1.2 },
79900
+ "ministral-14b-2512": { inputPerMtoken: 0.2, outputPerMtoken: 0.2 },
79901
+ "ministral-3b-2512": { inputPerMtoken: 0.1, outputPerMtoken: 0.1 },
79902
+ "ministral-8b-2512": { inputPerMtoken: 0.15, outputPerMtoken: 0.15 },
79903
+ "mistral-large": { inputPerMtoken: 2, outputPerMtoken: 6 },
79904
+ "mistral-large-2407": { inputPerMtoken: 2, outputPerMtoken: 6 },
79905
+ "mistral-large-2512": { inputPerMtoken: 0.5, outputPerMtoken: 1.5 },
79906
+ "mistral-large-4-0": { inputPerMtoken: 0.68, outputPerMtoken: 2.09 },
79907
+ "mistral-medium-3": { inputPerMtoken: 0.4, outputPerMtoken: 2 },
79908
+ "mistral-medium-3-5": { inputPerMtoken: 1.5, outputPerMtoken: 7.5 },
79909
+ "mistral-medium-3.1": { inputPerMtoken: 0.4, outputPerMtoken: 2 },
79910
+ "mistral-nemo": { inputPerMtoken: 0.029, outputPerMtoken: 0.03 },
79911
+ "mistral-saba": { inputPerMtoken: 0.2, outputPerMtoken: 0.6 },
79912
+ "mistral-small-24b-instruct-2501": { inputPerMtoken: 0.05, outputPerMtoken: 0.08 },
79913
+ "mistral-small-2603": { inputPerMtoken: 0.15, outputPerMtoken: 0.6 },
79914
+ "mistral-small-3.1-24b-instruct": { inputPerMtoken: 0.351, outputPerMtoken: 0.555 },
79915
+ "mistral-small-3.2-24b-instruct": { inputPerMtoken: 0.09375, outputPerMtoken: 0.25 },
79916
+ "mixtral-8x22b-instruct": { inputPerMtoken: 2, outputPerMtoken: 6 },
79917
+ "morph-v3-fast": { inputPerMtoken: 0.8, outputPerMtoken: 1.2 },
79918
+ "morph-v3-large": { inputPerMtoken: 0.9, outputPerMtoken: 1.9 },
79919
+ "muse-glimmer-30b": { inputPerMtoken: 0.3, outputPerMtoken: 1.2 },
79920
+ "muse-spark-1.1": { inputPerMtoken: 1.25, outputPerMtoken: 4.25 },
79921
+ "muse-spark-1.2": { inputPerMtoken: 1.25, outputPerMtoken: 4.25 },
79922
+ "muse-spark-1.2-contributor": { inputPerMtoken: 0.1, outputPerMtoken: 0.2 },
79923
+ "muse-spark-1.3": { inputPerMtoken: 1.25, outputPerMtoken: 4.25 },
79924
+ "muse-spark-1.3-contributor": { inputPerMtoken: 0.1, outputPerMtoken: 0.2 },
79925
+ "muse-wonder": { inputPerMtoken: 4, outputPerMtoken: 20 },
79926
+ "mythomax-l2-13b": { inputPerMtoken: 0.08, outputPerMtoken: 0.11 },
79927
+ "nemotron-3-nano-30b-a3b": { inputPerMtoken: 0.06, outputPerMtoken: 0.24 },
79928
+ "nemotron-3-nano-omni-30b-a3b-reasoning:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79929
+ "nemotron-3-super-120b-a12b": { inputPerMtoken: 0.08, outputPerMtoken: 0.45 },
79930
+ "nemotron-3-super-120b-a12b:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79931
+ "nemotron-3-ultra-550b-a55b": { inputPerMtoken: 0.6, outputPerMtoken: 2.4 },
79932
+ "nemotron-3-ultra-550b-a55b:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79933
+ "nemotron-3.5-content-safety": { inputPerMtoken: 0.2, outputPerMtoken: 0.2 },
79934
+ "nemotron-3.5-content-safety:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79935
+ "nemotron-3.5-lightning": { inputPerMtoken: 0.07, outputPerMtoken: 0.2 },
79936
+ "nemotron-3.5-lightning:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79937
+ "nex-n2.5-mini": { inputPerMtoken: 0.025, outputPerMtoken: 0.1 },
79938
+ "nex-n2.5-pro": { inputPerMtoken: 0.075, outputPerMtoken: 0.25 },
79939
+ "north-mini-code:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
79940
+ "nova-2-lite-v1": { inputPerMtoken: 0.3, outputPerMtoken: 2.5 },
79941
+ "nova-lite-v1": { inputPerMtoken: 0.06, outputPerMtoken: 0.24 },
79942
+ "nova-micro-v1": { inputPerMtoken: 0.035, outputPerMtoken: 0.14 },
79943
+ "nova-premier-v1": { inputPerMtoken: 2.5, outputPerMtoken: 12.5 },
79944
+ "nova-pro-v1": { inputPerMtoken: 0.8, outputPerMtoken: 3.2 },
79945
+ "o1": { inputPerMtoken: 15, outputPerMtoken: 60 },
79946
+ "o1-pro": { inputPerMtoken: 150, outputPerMtoken: 600 },
79947
+ "o3": { inputPerMtoken: 2, outputPerMtoken: 8 },
79948
+ "o3-mini": { inputPerMtoken: 1.1, outputPerMtoken: 4.4 },
79949
+ "o3-mini-high": { inputPerMtoken: 1.1, outputPerMtoken: 4.4 },
79950
+ "o3-pro": { inputPerMtoken: 20, outputPerMtoken: 80 },
79951
+ "o4-mini": { inputPerMtoken: 1.1, outputPerMtoken: 4.4 },
79952
+ "o4-mini-high": { inputPerMtoken: 1.1, outputPerMtoken: 4.4 },
79953
+ "palmyra-x5": { inputPerMtoken: 0.6, outputPerMtoken: 6 },
79954
+ "pareto-26.10-preview": { inputPerMtoken: 0.8, outputPerMtoken: 3.2 },
79955
+ "pareto-26.9": { inputPerMtoken: 2.5, outputPerMtoken: 7.5 },
79956
+ "pareto-latest": { inputPerMtoken: 2.5, outputPerMtoken: 7.5 },
79957
+ "perceptron-mk1": { inputPerMtoken: 0.15, outputPerMtoken: 1.5 },
79958
+ "perceptron-mk1.5": { inputPerMtoken: 0.15, outputPerMtoken: 1.5 },
79959
+ "phi-4": { inputPerMtoken: 0.07, outputPerMtoken: 0.14 },
79960
+ "qwen-2.5-72b-instruct": { inputPerMtoken: 0.36, outputPerMtoken: 0.4 },
79961
+ "qwen-2.5-7b-instruct": { inputPerMtoken: 0.1, outputPerMtoken: 0.2 },
79962
+ "qwen-2.5-coder-32b-instruct": { inputPerMtoken: 0.66, outputPerMtoken: 1 },
79963
+ "qwen-plus": { inputPerMtoken: 0.26, outputPerMtoken: 0.78 },
79964
+ "qwen2.5-vl-72b-instruct": { inputPerMtoken: 0.8, outputPerMtoken: 1 },
79965
+ "qwen3-14b": { inputPerMtoken: 0.12, outputPerMtoken: 0.24 },
79966
+ "qwen3-235b-a22b-2507": { inputPerMtoken: 0.09, outputPerMtoken: 0.55 },
79967
+ "qwen3-235b-a22b-thinking-2507": { inputPerMtoken: 0.45, outputPerMtoken: 3.5 },
79968
+ "qwen3-30b-a3b": { inputPerMtoken: 0.12, outputPerMtoken: 0.5 },
79969
+ "qwen3-30b-a3b-instruct-2507": { inputPerMtoken: 0.1, outputPerMtoken: 0.3 },
79970
+ "qwen3-32b": { inputPerMtoken: 0.08, outputPerMtoken: 0.28 },
79971
+ "qwen3-coder": { inputPerMtoken: 0.3, outputPerMtoken: 1 },
79972
+ "qwen3-coder-30b-a3b-instruct": { inputPerMtoken: 0.07, outputPerMtoken: 0.28 },
79973
+ "qwen3-coder-flash": { inputPerMtoken: 0.195, outputPerMtoken: 0.975 },
79974
+ "qwen3-coder-next": { inputPerMtoken: 0.12, outputPerMtoken: 0.8 },
79975
+ "qwen3-next-80b-a3b-instruct": { inputPerMtoken: 0.1, outputPerMtoken: 1.1 },
79976
+ "qwen3-next-80b-a3b-thinking": { inputPerMtoken: 0.15, outputPerMtoken: 1.2 },
79977
+ "qwen3-vl-235b-a22b-instruct": { inputPerMtoken: 0.21, outputPerMtoken: 1.9 },
79978
+ "qwen3-vl-30b-a3b-instruct": { inputPerMtoken: 0.15, outputPerMtoken: 0.6 },
79979
+ "qwen3-vl-30b-a3b-thinking": { inputPerMtoken: 0.29, outputPerMtoken: 1 },
79980
+ "qwen3-vl-8b-instruct": { inputPerMtoken: 0.25, outputPerMtoken: 0.75 },
79981
+ "qwen3.5-122b-a10b": { inputPerMtoken: 0.26, outputPerMtoken: 2.08 },
79982
+ "qwen3.5-27b": { inputPerMtoken: 0.26, outputPerMtoken: 2.6 },
79983
+ "qwen3.5-35b-a3b": { inputPerMtoken: 0.15, outputPerMtoken: 1 },
79984
+ "qwen3.5-397b-a17b": { inputPerMtoken: 0.5, outputPerMtoken: 3.6 },
79985
+ "qwen3.5-9b": { inputPerMtoken: 0.1, outputPerMtoken: 0.15 },
79986
+ "qwen3.5-flash-02-23": { inputPerMtoken: 0.065, outputPerMtoken: 0.26 },
79987
+ "qwen3.5-plus-02-15": { inputPerMtoken: 0.26, outputPerMtoken: 1.56 },
79988
+ "qwen3.5-plus-20260420": { inputPerMtoken: 0.3, outputPerMtoken: 1.8 },
79989
+ "qwen3.6-27b": { inputPerMtoken: 0.32, outputPerMtoken: 3.2 },
79990
+ "qwen3.6-35b-a3b": { inputPerMtoken: 0.1, outputPerMtoken: 0.95 },
79991
+ "qwen3.6-flash": { inputPerMtoken: 0.1875, outputPerMtoken: 1.125 },
79992
+ "qwen3.6-plus": { inputPerMtoken: 0.325, outputPerMtoken: 1.95 },
79993
+ "qwen3.7-flash": { inputPerMtoken: 0.03, outputPerMtoken: 0.13 },
79994
+ "qwen3.7-max": { inputPerMtoken: 1.475, outputPerMtoken: 4.425 },
79995
+ "qwen3.7-plus": { inputPerMtoken: 0.32, outputPerMtoken: 1.28 },
79996
+ "qwen3.8-2.4t-a95b": { inputPerMtoken: 2, outputPerMtoken: 6 },
79997
+ "qwen3.8-27b": { inputPerMtoken: 0.04, outputPerMtoken: 2.3 },
79998
+ "qwen3.8-flash": { inputPerMtoken: 0.15, outputPerMtoken: 0.47 },
79999
+ "qwen3.8-max-0902": { inputPerMtoken: 2, outputPerMtoken: 6 },
80000
+ "qwen3.8-max-prime": { inputPerMtoken: 4, outputPerMtoken: 12 },
80001
+ "qwen3.8-omni-flash": { inputPerMtoken: 0.15, outputPerMtoken: 0.47 },
80002
+ "reka-edge": { inputPerMtoken: 0.1, outputPerMtoken: 0.1 },
80003
+ "reka-flash-3": { inputPerMtoken: 0.1, outputPerMtoken: 0.2 },
80004
+ "relace-apply-3": { inputPerMtoken: 0.85, outputPerMtoken: 1.25 },
80005
+ "relace-search": { inputPerMtoken: 1, outputPerMtoken: 3 },
80006
+ "remm-slerp-l2-13b": { inputPerMtoken: 0.35, outputPerMtoken: 0.65 },
80007
+ "sakana-namazu": { inputPerMtoken: 0.95, outputPerMtoken: 4 },
80008
+ "schematron-v2-small": { inputPerMtoken: 0.05, outputPerMtoken: 0.23 },
80009
+ "schematron-v2-turbo": { inputPerMtoken: 0.03, outputPerMtoken: 0.15 },
80010
+ "seed-1.6": { inputPerMtoken: 0.25, outputPerMtoken: 2 },
80011
+ "seed-1.6-flash": { inputPerMtoken: 0.075, outputPerMtoken: 0.3 },
80012
+ "seed-2-1-turbo": { inputPerMtoken: 0.5, outputPerMtoken: 2.5 },
80013
+ "seed-2.0-code": { inputPerMtoken: 0.5, outputPerMtoken: 3 },
80014
+ "seed-2.0-lite": { inputPerMtoken: 0.25, outputPerMtoken: 2 },
80015
+ "seed-2.0-mini": { inputPerMtoken: 0.1, outputPerMtoken: 0.4 },
80016
+ "skyfall-36b-v2": { inputPerMtoken: 0.55, outputPerMtoken: 0.8 },
80017
+ "solar-mini4": { inputPerMtoken: 0.05, outputPerMtoken: 0.2 },
80018
+ "solar-pro-3": { inputPerMtoken: 0.15, outputPerMtoken: 0.6 },
80019
+ "solar-pro4": { inputPerMtoken: 0.09, outputPerMtoken: 0.36 },
80020
+ "sonar": { inputPerMtoken: 1, outputPerMtoken: 1 },
80021
+ "sonar-deep-research": { inputPerMtoken: 2, outputPerMtoken: 8 },
80022
+ "sonar-pro": { inputPerMtoken: 3, outputPerMtoken: 15 },
80023
+ "sonar-pro-search": { inputPerMtoken: 3, outputPerMtoken: 15 },
80024
+ "sonar-reasoning-pro": { inputPerMtoken: 2, outputPerMtoken: 8 },
80025
+ "step-3.5-flash": { inputPerMtoken: 0.1, outputPerMtoken: 0.3 },
80026
+ "step-3.7-flash": { inputPerMtoken: 0.2, outputPerMtoken: 1.15 },
80027
+ "step-5-preview": { inputPerMtoken: 1, outputPerMtoken: 2.7 },
80028
+ "summarize": { inputPerMtoken: 0.04, outputPerMtoken: 0 },
80029
+ "ternary-bonsai-2-27b": { inputPerMtoken: 0.075, outputPerMtoken: 0.5 },
80030
+ "trinity-large-thinking": { inputPerMtoken: 0.25, outputPerMtoken: 0.8 },
80031
+ "ui-tars-1.5-7b": { inputPerMtoken: 0.1, outputPerMtoken: 0.2 },
80032
+ "unslopnemo-12b": { inputPerMtoken: 0.4, outputPerMtoken: 0.4 },
80033
+ "voxtral-small-24b-2507": { inputPerMtoken: 0.1, outputPerMtoken: 0.3 },
80034
+ "weaver": { inputPerMtoken: 0.4, outputPerMtoken: 0.75 },
80035
+ "wizardlm-2-8x22b": { inputPerMtoken: 0.62, outputPerMtoken: 0.62 }
80036
+ }
80037
+ };
80038
+ }
80039
+ });
79369
80040
  init_llm_cost = __esm2({
79370
80041
  "src/llm-cost.ts"() {
79371
80042
  "use strict";
80043
+ init_llm_pricing_openrouter();
80044
+ LEGACY_PRICING = {
80045
+ // Superseded by OPENROUTER_PRICING wherever OpenRouter lists the model.
80046
+ anthropic: {
80047
+ "claude-opus-4-7": { inputPerMtoken: 15, outputPerMtoken: 75 },
80048
+ "claude-opus-4": { inputPerMtoken: 15, outputPerMtoken: 75 },
80049
+ "claude-sonnet-4-6": { inputPerMtoken: 3, outputPerMtoken: 15 },
80050
+ "claude-sonnet-4": { inputPerMtoken: 3, outputPerMtoken: 15 },
80051
+ "claude-haiku-4-5": { inputPerMtoken: 0.8, outputPerMtoken: 4 },
80052
+ "claude-3-5-sonnet": { inputPerMtoken: 3, outputPerMtoken: 15 },
80053
+ "claude-3-5-haiku": { inputPerMtoken: 0.8, outputPerMtoken: 4 },
80054
+ "claude-3-opus": { inputPerMtoken: 15, outputPerMtoken: 75 },
80055
+ "claude-3-sonnet": { inputPerMtoken: 3, outputPerMtoken: 15 },
80056
+ "claude-3-haiku": { inputPerMtoken: 0.25, outputPerMtoken: 1.25 }
80057
+ },
80058
+ openai: {
80059
+ "gpt-4o": { inputPerMtoken: 2.5, outputPerMtoken: 10 },
80060
+ "gpt-4o-mini": { inputPerMtoken: 0.15, outputPerMtoken: 0.6 },
80061
+ "gpt-4-turbo": { inputPerMtoken: 10, outputPerMtoken: 30 },
80062
+ "gpt-4": { inputPerMtoken: 30, outputPerMtoken: 60 },
80063
+ "gpt-3.5-turbo": { inputPerMtoken: 0.5, outputPerMtoken: 1.5 },
80064
+ "o1-preview": { inputPerMtoken: 15, outputPerMtoken: 60 },
80065
+ "o1-mini": { inputPerMtoken: 3, outputPerMtoken: 12 },
80066
+ "o3-mini": { inputPerMtoken: 1.1, outputPerMtoken: 4.4 }
80067
+ },
80068
+ openrouter: {
80069
+ // Qwen via OpenRouter — keys are post-prefix-strip canonical names.
80070
+ "qwen3.5-397b-a17b": { inputPerMtoken: 0.39, outputPerMtoken: 2.34 },
80071
+ "qwen3.6-plus": { inputPerMtoken: 0.26, outputPerMtoken: 1.56 },
80072
+ "qwen3-max-thinking": { inputPerMtoken: 1e-3, outputPerMtoken: 4e-3 },
80073
+ "qwen3-coder:free": { inputPerMtoken: 0, outputPerMtoken: 0 },
80074
+ // Grok via OpenRouter
80075
+ "grok-4.20-multi-agent": { inputPerMtoken: 2, outputPerMtoken: 2 },
80076
+ // DeepSeek routed through OpenRouter (cheaper than direct on output tokens).
80077
+ "deepseek-v3.2": { inputPerMtoken: 0.28, outputPerMtoken: 0.42 },
80078
+ "deepseek-v3.2-speciale": { inputPerMtoken: 0.4, outputPerMtoken: 1.2 },
80079
+ "deepseek-v4-pro": { inputPerMtoken: 0.28, outputPerMtoken: 0.42 },
80080
+ "deepseek-v4-flash": { inputPerMtoken: 0.14, outputPerMtoken: 0.28 }
80081
+ },
80082
+ // DeepSeek direct (deepseek.com) — different pricing than via-OR.
80083
+ // Output prices are noticeably higher on the direct API.
80084
+ deepseek: {
80085
+ "deepseek-v3.2": { inputPerMtoken: 0.27, outputPerMtoken: 1.1 },
80086
+ "deepseek-v3.2-speciale": { inputPerMtoken: 0.55, outputPerMtoken: 2.19 },
80087
+ "deepseek-v4-pro": { inputPerMtoken: 0.27, outputPerMtoken: 1.1 },
80088
+ "deepseek-v4-flash": { inputPerMtoken: 0.14, outputPerMtoken: 0.55 }
80089
+ },
80090
+ // Empty for now — add as we onboard customers using these providers.
80091
+ groq: {},
80092
+ together: {},
80093
+ mistral: {},
80094
+ azure: {}
80095
+ };
80096
+ PRICING = {
80097
+ ...LEGACY_PRICING,
80098
+ anthropic: { ...LEGACY_PRICING.anthropic, ...OPENROUTER_PRICING.anthropic },
80099
+ openai: { ...LEGACY_PRICING.openai, ...OPENROUTER_PRICING.openai },
80100
+ openrouter: { ...LEGACY_PRICING.openrouter, ...OPENROUTER_PRICING.openrouter }
80101
+ };
79372
80102
  }
79373
80103
  });
79374
80104
  init_fetch_interceptor = __esm2({
@@ -79405,7 +80135,7 @@ ${actionsText}`);
79405
80135
  }
79406
80136
  });
79407
80137
  init_util = __esm2({
79408
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/helpers/util.js"() {
80138
+ "../../node_modules/zod/v3/helpers/util.js"() {
79409
80139
  (function(util2) {
79410
80140
  util2.assertEqual = (_2) => {
79411
80141
  };
@@ -79539,7 +80269,7 @@ ${actionsText}`);
79539
80269
  }
79540
80270
  });
79541
80271
  init_ZodError = __esm2({
79542
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/ZodError.js"() {
80272
+ "../../node_modules/zod/v3/ZodError.js"() {
79543
80273
  init_util();
79544
80274
  ZodIssueCode = util.arrayToEnum([
79545
80275
  "invalid_type",
@@ -79656,7 +80386,7 @@ ${actionsText}`);
79656
80386
  }
79657
80387
  });
79658
80388
  init_en = __esm2({
79659
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/locales/en.js"() {
80389
+ "../../node_modules/zod/v3/locales/en.js"() {
79660
80390
  init_ZodError();
79661
80391
  init_util();
79662
80392
  errorMap = (issue2, _ctx) => {
@@ -79763,13 +80493,13 @@ ${actionsText}`);
79763
80493
  }
79764
80494
  });
79765
80495
  init_errors2 = __esm2({
79766
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/errors.js"() {
80496
+ "../../node_modules/zod/v3/errors.js"() {
79767
80497
  init_en();
79768
80498
  overrideErrorMap = en_default;
79769
80499
  }
79770
80500
  });
79771
80501
  init_parseUtil = __esm2({
79772
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/helpers/parseUtil.js"() {
80502
+ "../../node_modules/zod/v3/helpers/parseUtil.js"() {
79773
80503
  init_errors2();
79774
80504
  init_en();
79775
80505
  makeIssue = (params) => {
@@ -79863,11 +80593,11 @@ ${actionsText}`);
79863
80593
  }
79864
80594
  });
79865
80595
  init_typeAliases = __esm2({
79866
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/helpers/typeAliases.js"() {
80596
+ "../../node_modules/zod/v3/helpers/typeAliases.js"() {
79867
80597
  }
79868
80598
  });
79869
80599
  init_errorUtil = __esm2({
79870
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/helpers/errorUtil.js"() {
80600
+ "../../node_modules/zod/v3/helpers/errorUtil.js"() {
79871
80601
  (function(errorUtil2) {
79872
80602
  errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
79873
80603
  errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
@@ -79875,7 +80605,7 @@ ${actionsText}`);
79875
80605
  }
79876
80606
  });
79877
80607
  init_types2 = __esm2({
79878
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/types.js"() {
80608
+ "../../node_modules/zod/v3/types.js"() {
79879
80609
  init_ZodError();
79880
80610
  init_errors2();
79881
80611
  init_errorUtil();
@@ -82950,7 +83680,6 @@ ${actionsText}`);
82950
83680
  ...processCreateParams(params)
82951
83681
  });
82952
83682
  };
82953
- BRAND = Symbol("zod_brand");
82954
83683
  ZodBranded = class extends ZodType {
82955
83684
  _parse(input) {
82956
83685
  const { ctx } = this._processInputParams(input);
@@ -83120,7 +83849,7 @@ ${actionsText}`);
83120
83849
  }
83121
83850
  });
83122
83851
  init_external = __esm2({
83123
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/external.js"() {
83852
+ "../../node_modules/zod/v3/external.js"() {
83124
83853
  init_errors2();
83125
83854
  init_parseUtil();
83126
83855
  init_typeAliases();
@@ -83130,17 +83859,16 @@ ${actionsText}`);
83130
83859
  }
83131
83860
  });
83132
83861
  init_v3 = __esm2({
83133
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v3/index.js"() {
83862
+ "../../node_modules/zod/v3/index.js"() {
83134
83863
  init_external();
83135
83864
  init_external();
83136
83865
  }
83137
83866
  });
83138
83867
  init_core = __esm2({
83139
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/core.js"() {
83868
+ "../../node_modules/zod/v4/core/core.js"() {
83140
83869
  NEVER = Object.freeze({
83141
83870
  status: "aborted"
83142
83871
  });
83143
- $brand = Symbol("zod_brand");
83144
83872
  $ZodAsyncError = class extends Error {
83145
83873
  constructor() {
83146
83874
  super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
@@ -83221,8 +83949,8 @@ ${actionsText}`);
83221
83949
  unwrapMessage: () => unwrapMessage
83222
83950
  });
83223
83951
  init_util2 = __esm2({
83224
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/util.js"() {
83225
- EVALUATING = Symbol("evaluating");
83952
+ "../../node_modules/zod/v4/core/util.js"() {
83953
+ EVALUATING = /* @__PURE__ */ Symbol("evaluating");
83226
83954
  captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {
83227
83955
  };
83228
83956
  allowsEval = cached(() => {
@@ -83301,7 +84029,7 @@ ${actionsText}`);
83301
84029
  }
83302
84030
  });
83303
84031
  init_errors3 = __esm2({
83304
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/errors.js"() {
84032
+ "../../node_modules/zod/v4/core/errors.js"() {
83305
84033
  init_core();
83306
84034
  init_util2();
83307
84035
  initializer = (inst, def) => {
@@ -83325,7 +84053,7 @@ ${actionsText}`);
83325
84053
  }
83326
84054
  });
83327
84055
  init_parse = __esm2({
83328
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/parse.js"() {
84056
+ "../../node_modules/zod/v4/core/parse.js"() {
83329
84057
  init_core();
83330
84058
  init_errors3();
83331
84059
  init_util2();
@@ -83471,7 +84199,7 @@ ${actionsText}`);
83471
84199
  xid: () => xid
83472
84200
  });
83473
84201
  init_regexes = __esm2({
83474
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/regexes.js"() {
84202
+ "../../node_modules/zod/v4/core/regexes.js"() {
83475
84203
  init_util2();
83476
84204
  cuid = /^[cC][^\s-]{8,}$/;
83477
84205
  cuid2 = /^[0-9a-z]+$/;
@@ -83543,7 +84271,7 @@ ${actionsText}`);
83543
84271
  }
83544
84272
  });
83545
84273
  init_checks = __esm2({
83546
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/checks.js"() {
84274
+ "../../node_modules/zod/v4/core/checks.js"() {
83547
84275
  init_core();
83548
84276
  init_regexes();
83549
84277
  init_util2();
@@ -84091,7 +84819,7 @@ ${actionsText}`);
84091
84819
  }
84092
84820
  });
84093
84821
  init_doc = __esm2({
84094
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/doc.js"() {
84822
+ "../../node_modules/zod/v4/core/doc.js"() {
84095
84823
  Doc = class {
84096
84824
  constructor(args = []) {
84097
84825
  this.content = [];
@@ -84129,7 +84857,7 @@ ${actionsText}`);
84129
84857
  }
84130
84858
  });
84131
84859
  init_versions = __esm2({
84132
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/versions.js"() {
84860
+ "../../node_modules/zod/v4/core/versions.js"() {
84133
84861
  version = {
84134
84862
  major: 4,
84135
84863
  minor: 3,
@@ -84138,7 +84866,7 @@ ${actionsText}`);
84138
84866
  }
84139
84867
  });
84140
84868
  init_schemas = __esm2({
84141
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/schemas.js"() {
84869
+ "../../node_modules/zod/v4/core/schemas.js"() {
84142
84870
  init_checks();
84143
84871
  init_core();
84144
84872
  init_doc();
@@ -85762,47 +86490,47 @@ ${actionsText}`);
85762
86490
  }
85763
86491
  });
85764
86492
  init_ar = __esm2({
85765
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ar.js"() {
86493
+ "../../node_modules/zod/v4/locales/ar.js"() {
85766
86494
  init_util2();
85767
86495
  }
85768
86496
  });
85769
86497
  init_az = __esm2({
85770
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/az.js"() {
86498
+ "../../node_modules/zod/v4/locales/az.js"() {
85771
86499
  init_util2();
85772
86500
  }
85773
86501
  });
85774
86502
  init_be = __esm2({
85775
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/be.js"() {
86503
+ "../../node_modules/zod/v4/locales/be.js"() {
85776
86504
  init_util2();
85777
86505
  }
85778
86506
  });
85779
86507
  init_bg = __esm2({
85780
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/bg.js"() {
86508
+ "../../node_modules/zod/v4/locales/bg.js"() {
85781
86509
  init_util2();
85782
86510
  }
85783
86511
  });
85784
86512
  init_ca = __esm2({
85785
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ca.js"() {
86513
+ "../../node_modules/zod/v4/locales/ca.js"() {
85786
86514
  init_util2();
85787
86515
  }
85788
86516
  });
85789
86517
  init_cs = __esm2({
85790
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/cs.js"() {
86518
+ "../../node_modules/zod/v4/locales/cs.js"() {
85791
86519
  init_util2();
85792
86520
  }
85793
86521
  });
85794
86522
  init_da = __esm2({
85795
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/da.js"() {
86523
+ "../../node_modules/zod/v4/locales/da.js"() {
85796
86524
  init_util2();
85797
86525
  }
85798
86526
  });
85799
86527
  init_de = __esm2({
85800
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/de.js"() {
86528
+ "../../node_modules/zod/v4/locales/de.js"() {
85801
86529
  init_util2();
85802
86530
  }
85803
86531
  });
85804
86532
  init_en2 = __esm2({
85805
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/en.js"() {
86533
+ "../../node_modules/zod/v4/locales/en.js"() {
85806
86534
  init_util2();
85807
86535
  error = () => {
85808
86536
  const Sizable = {
@@ -85909,207 +86637,207 @@ ${actionsText}`);
85909
86637
  }
85910
86638
  });
85911
86639
  init_eo = __esm2({
85912
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/eo.js"() {
86640
+ "../../node_modules/zod/v4/locales/eo.js"() {
85913
86641
  init_util2();
85914
86642
  }
85915
86643
  });
85916
86644
  init_es = __esm2({
85917
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/es.js"() {
86645
+ "../../node_modules/zod/v4/locales/es.js"() {
85918
86646
  init_util2();
85919
86647
  }
85920
86648
  });
85921
86649
  init_fa = __esm2({
85922
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/fa.js"() {
86650
+ "../../node_modules/zod/v4/locales/fa.js"() {
85923
86651
  init_util2();
85924
86652
  }
85925
86653
  });
85926
86654
  init_fi = __esm2({
85927
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/fi.js"() {
86655
+ "../../node_modules/zod/v4/locales/fi.js"() {
85928
86656
  init_util2();
85929
86657
  }
85930
86658
  });
85931
86659
  init_fr = __esm2({
85932
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/fr.js"() {
86660
+ "../../node_modules/zod/v4/locales/fr.js"() {
85933
86661
  init_util2();
85934
86662
  }
85935
86663
  });
85936
86664
  init_fr_CA = __esm2({
85937
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/fr-CA.js"() {
86665
+ "../../node_modules/zod/v4/locales/fr-CA.js"() {
85938
86666
  init_util2();
85939
86667
  }
85940
86668
  });
85941
86669
  init_he = __esm2({
85942
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/he.js"() {
86670
+ "../../node_modules/zod/v4/locales/he.js"() {
85943
86671
  init_util2();
85944
86672
  }
85945
86673
  });
85946
86674
  init_hu = __esm2({
85947
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/hu.js"() {
86675
+ "../../node_modules/zod/v4/locales/hu.js"() {
85948
86676
  init_util2();
85949
86677
  }
85950
86678
  });
85951
86679
  init_hy = __esm2({
85952
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/hy.js"() {
86680
+ "../../node_modules/zod/v4/locales/hy.js"() {
85953
86681
  init_util2();
85954
86682
  }
85955
86683
  });
85956
86684
  init_id = __esm2({
85957
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/id.js"() {
86685
+ "../../node_modules/zod/v4/locales/id.js"() {
85958
86686
  init_util2();
85959
86687
  }
85960
86688
  });
85961
86689
  init_is = __esm2({
85962
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/is.js"() {
86690
+ "../../node_modules/zod/v4/locales/is.js"() {
85963
86691
  init_util2();
85964
86692
  }
85965
86693
  });
85966
86694
  init_it = __esm2({
85967
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/it.js"() {
86695
+ "../../node_modules/zod/v4/locales/it.js"() {
85968
86696
  init_util2();
85969
86697
  }
85970
86698
  });
85971
86699
  init_ja = __esm2({
85972
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ja.js"() {
86700
+ "../../node_modules/zod/v4/locales/ja.js"() {
85973
86701
  init_util2();
85974
86702
  }
85975
86703
  });
85976
86704
  init_ka = __esm2({
85977
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ka.js"() {
86705
+ "../../node_modules/zod/v4/locales/ka.js"() {
85978
86706
  init_util2();
85979
86707
  }
85980
86708
  });
85981
86709
  init_km = __esm2({
85982
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/km.js"() {
86710
+ "../../node_modules/zod/v4/locales/km.js"() {
85983
86711
  init_util2();
85984
86712
  }
85985
86713
  });
85986
86714
  init_kh = __esm2({
85987
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/kh.js"() {
86715
+ "../../node_modules/zod/v4/locales/kh.js"() {
85988
86716
  init_km();
85989
86717
  }
85990
86718
  });
85991
86719
  init_ko = __esm2({
85992
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ko.js"() {
86720
+ "../../node_modules/zod/v4/locales/ko.js"() {
85993
86721
  init_util2();
85994
86722
  }
85995
86723
  });
85996
86724
  init_lt = __esm2({
85997
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/lt.js"() {
86725
+ "../../node_modules/zod/v4/locales/lt.js"() {
85998
86726
  init_util2();
85999
86727
  }
86000
86728
  });
86001
86729
  init_mk = __esm2({
86002
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/mk.js"() {
86730
+ "../../node_modules/zod/v4/locales/mk.js"() {
86003
86731
  init_util2();
86004
86732
  }
86005
86733
  });
86006
86734
  init_ms = __esm2({
86007
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ms.js"() {
86735
+ "../../node_modules/zod/v4/locales/ms.js"() {
86008
86736
  init_util2();
86009
86737
  }
86010
86738
  });
86011
86739
  init_nl = __esm2({
86012
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/nl.js"() {
86740
+ "../../node_modules/zod/v4/locales/nl.js"() {
86013
86741
  init_util2();
86014
86742
  }
86015
86743
  });
86016
86744
  init_no = __esm2({
86017
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/no.js"() {
86745
+ "../../node_modules/zod/v4/locales/no.js"() {
86018
86746
  init_util2();
86019
86747
  }
86020
86748
  });
86021
86749
  init_ota = __esm2({
86022
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ota.js"() {
86750
+ "../../node_modules/zod/v4/locales/ota.js"() {
86023
86751
  init_util2();
86024
86752
  }
86025
86753
  });
86026
86754
  init_ps = __esm2({
86027
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ps.js"() {
86755
+ "../../node_modules/zod/v4/locales/ps.js"() {
86028
86756
  init_util2();
86029
86757
  }
86030
86758
  });
86031
86759
  init_pl = __esm2({
86032
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/pl.js"() {
86760
+ "../../node_modules/zod/v4/locales/pl.js"() {
86033
86761
  init_util2();
86034
86762
  }
86035
86763
  });
86036
86764
  init_pt = __esm2({
86037
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/pt.js"() {
86765
+ "../../node_modules/zod/v4/locales/pt.js"() {
86038
86766
  init_util2();
86039
86767
  }
86040
86768
  });
86041
86769
  init_ru = __esm2({
86042
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ru.js"() {
86770
+ "../../node_modules/zod/v4/locales/ru.js"() {
86043
86771
  init_util2();
86044
86772
  }
86045
86773
  });
86046
86774
  init_sl = __esm2({
86047
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/sl.js"() {
86775
+ "../../node_modules/zod/v4/locales/sl.js"() {
86048
86776
  init_util2();
86049
86777
  }
86050
86778
  });
86051
86779
  init_sv = __esm2({
86052
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/sv.js"() {
86780
+ "../../node_modules/zod/v4/locales/sv.js"() {
86053
86781
  init_util2();
86054
86782
  }
86055
86783
  });
86056
86784
  init_ta = __esm2({
86057
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ta.js"() {
86785
+ "../../node_modules/zod/v4/locales/ta.js"() {
86058
86786
  init_util2();
86059
86787
  }
86060
86788
  });
86061
86789
  init_th = __esm2({
86062
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/th.js"() {
86790
+ "../../node_modules/zod/v4/locales/th.js"() {
86063
86791
  init_util2();
86064
86792
  }
86065
86793
  });
86066
86794
  init_tr = __esm2({
86067
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/tr.js"() {
86795
+ "../../node_modules/zod/v4/locales/tr.js"() {
86068
86796
  init_util2();
86069
86797
  }
86070
86798
  });
86071
86799
  init_uk = __esm2({
86072
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/uk.js"() {
86800
+ "../../node_modules/zod/v4/locales/uk.js"() {
86073
86801
  init_util2();
86074
86802
  }
86075
86803
  });
86076
86804
  init_ua = __esm2({
86077
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ua.js"() {
86805
+ "../../node_modules/zod/v4/locales/ua.js"() {
86078
86806
  init_uk();
86079
86807
  }
86080
86808
  });
86081
86809
  init_ur = __esm2({
86082
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/ur.js"() {
86810
+ "../../node_modules/zod/v4/locales/ur.js"() {
86083
86811
  init_util2();
86084
86812
  }
86085
86813
  });
86086
86814
  init_uz = __esm2({
86087
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/uz.js"() {
86815
+ "../../node_modules/zod/v4/locales/uz.js"() {
86088
86816
  init_util2();
86089
86817
  }
86090
86818
  });
86091
86819
  init_vi = __esm2({
86092
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/vi.js"() {
86820
+ "../../node_modules/zod/v4/locales/vi.js"() {
86093
86821
  init_util2();
86094
86822
  }
86095
86823
  });
86096
86824
  init_zh_CN = __esm2({
86097
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/zh-CN.js"() {
86825
+ "../../node_modules/zod/v4/locales/zh-CN.js"() {
86098
86826
  init_util2();
86099
86827
  }
86100
86828
  });
86101
86829
  init_zh_TW = __esm2({
86102
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/zh-TW.js"() {
86830
+ "../../node_modules/zod/v4/locales/zh-TW.js"() {
86103
86831
  init_util2();
86104
86832
  }
86105
86833
  });
86106
86834
  init_yo = __esm2({
86107
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/yo.js"() {
86835
+ "../../node_modules/zod/v4/locales/yo.js"() {
86108
86836
  init_util2();
86109
86837
  }
86110
86838
  });
86111
86839
  init_locales = __esm2({
86112
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/locales/index.js"() {
86840
+ "../../node_modules/zod/v4/locales/index.js"() {
86113
86841
  init_ar();
86114
86842
  init_az();
86115
86843
  init_be();
@@ -86162,9 +86890,7 @@ ${actionsText}`);
86162
86890
  }
86163
86891
  });
86164
86892
  init_registries = __esm2({
86165
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/registries.js"() {
86166
- $output = Symbol("ZodOutput");
86167
- $input = Symbol("ZodInput");
86893
+ "../../node_modules/zod/v4/core/registries.js"() {
86168
86894
  $ZodRegistry = class {
86169
86895
  constructor() {
86170
86896
  this._map = /* @__PURE__ */ new WeakMap();
@@ -86210,7 +86936,7 @@ ${actionsText}`);
86210
86936
  }
86211
86937
  });
86212
86938
  init_api = __esm2({
86213
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/api.js"() {
86939
+ "../../node_modules/zod/v4/core/api.js"() {
86214
86940
  init_checks();
86215
86941
  init_registries();
86216
86942
  init_schemas();
@@ -86218,7 +86944,7 @@ ${actionsText}`);
86218
86944
  }
86219
86945
  });
86220
86946
  init_to_json_schema = __esm2({
86221
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/to-json-schema.js"() {
86947
+ "../../node_modules/zod/v4/core/to-json-schema.js"() {
86222
86948
  init_registries();
86223
86949
  createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
86224
86950
  const ctx = initializeContext({ ...params, processors });
@@ -86236,7 +86962,7 @@ ${actionsText}`);
86236
86962
  }
86237
86963
  });
86238
86964
  init_json_schema_processors = __esm2({
86239
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/json-schema-processors.js"() {
86965
+ "../../node_modules/zod/v4/core/json-schema-processors.js"() {
86240
86966
  init_to_json_schema();
86241
86967
  init_util2();
86242
86968
  formatMap = {
@@ -86757,17 +87483,17 @@ ${actionsText}`);
86757
87483
  }
86758
87484
  });
86759
87485
  init_json_schema_generator = __esm2({
86760
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/json-schema-generator.js"() {
87486
+ "../../node_modules/zod/v4/core/json-schema-generator.js"() {
86761
87487
  init_json_schema_processors();
86762
87488
  init_to_json_schema();
86763
87489
  }
86764
87490
  });
86765
87491
  init_json_schema = __esm2({
86766
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/json-schema.js"() {
87492
+ "../../node_modules/zod/v4/core/json-schema.js"() {
86767
87493
  }
86768
87494
  });
86769
87495
  init_core2 = __esm2({
86770
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/core/index.js"() {
87496
+ "../../node_modules/zod/v4/core/index.js"() {
86771
87497
  init_core();
86772
87498
  init_parse();
86773
87499
  init_errors3();
@@ -86787,12 +87513,12 @@ ${actionsText}`);
86787
87513
  }
86788
87514
  });
86789
87515
  init_parse2 = __esm2({
86790
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/mini/parse.js"() {
87516
+ "../../node_modules/zod/v4/mini/parse.js"() {
86791
87517
  init_core2();
86792
87518
  }
86793
87519
  });
86794
87520
  init_schemas2 = __esm2({
86795
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/mini/schemas.js"() {
87521
+ "../../node_modules/zod/v4/mini/schemas.js"() {
86796
87522
  init_core2();
86797
87523
  init_util2();
86798
87524
  init_parse2();
@@ -86818,10 +87544,10 @@ ${actionsText}`);
86818
87544
  inst.with = inst.check;
86819
87545
  inst.clone = (_def, params) => clone(inst, _def, params);
86820
87546
  inst.brand = () => inst;
86821
- inst.register = (reg, meta3) => {
87547
+ inst.register = ((reg, meta3) => {
86822
87548
  reg.add(inst, meta3);
86823
87549
  return inst;
86824
- };
87550
+ });
86825
87551
  inst.apply = (fn) => fn(inst);
86826
87552
  });
86827
87553
  ZodMiniObject = /* @__PURE__ */ $constructor("ZodMiniObject", (inst, def) => {
@@ -86832,24 +87558,24 @@ ${actionsText}`);
86832
87558
  }
86833
87559
  });
86834
87560
  init_checks2 = __esm2({
86835
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/mini/checks.js"() {
87561
+ "../../node_modules/zod/v4/mini/checks.js"() {
86836
87562
  init_core2();
86837
87563
  }
86838
87564
  });
86839
87565
  init_iso = __esm2({
86840
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/mini/iso.js"() {
87566
+ "../../node_modules/zod/v4/mini/iso.js"() {
86841
87567
  init_core2();
86842
87568
  init_schemas2();
86843
87569
  }
86844
87570
  });
86845
87571
  init_coerce = __esm2({
86846
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/mini/coerce.js"() {
87572
+ "../../node_modules/zod/v4/mini/coerce.js"() {
86847
87573
  init_core2();
86848
87574
  init_schemas2();
86849
87575
  }
86850
87576
  });
86851
87577
  init_external2 = __esm2({
86852
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/mini/external.js"() {
87578
+ "../../node_modules/zod/v4/mini/external.js"() {
86853
87579
  init_core2();
86854
87580
  init_parse2();
86855
87581
  init_schemas2();
@@ -86863,13 +87589,13 @@ ${actionsText}`);
86863
87589
  }
86864
87590
  });
86865
87591
  init_v4_mini = __esm2({
86866
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4-mini/index.js"() {
87592
+ "../../node_modules/zod/v4-mini/index.js"() {
86867
87593
  init_external2();
86868
87594
  init_external2();
86869
87595
  }
86870
87596
  });
86871
87597
  init_zod_compat = __esm2({
86872
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js"() {
87598
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js"() {
86873
87599
  init_v3();
86874
87600
  init_v4_mini();
86875
87601
  }
@@ -86907,7 +87633,7 @@ ${actionsText}`);
86907
87633
  uppercase: () => _uppercase
86908
87634
  });
86909
87635
  init_checks3 = __esm2({
86910
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/checks.js"() {
87636
+ "../../node_modules/zod/v4/classic/checks.js"() {
86911
87637
  init_core2();
86912
87638
  }
86913
87639
  });
@@ -86923,7 +87649,7 @@ ${actionsText}`);
86923
87649
  time: () => time2
86924
87650
  });
86925
87651
  init_iso2 = __esm2({
86926
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/iso.js"() {
87652
+ "../../node_modules/zod/v4/classic/iso.js"() {
86927
87653
  init_core2();
86928
87654
  init_schemas3();
86929
87655
  ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
@@ -86945,7 +87671,7 @@ ${actionsText}`);
86945
87671
  }
86946
87672
  });
86947
87673
  init_errors4 = __esm2({
86948
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/errors.js"() {
87674
+ "../../node_modules/zod/v4/classic/errors.js"() {
86949
87675
  init_core2();
86950
87676
  init_core2();
86951
87677
  init_util2();
@@ -86990,7 +87716,7 @@ ${actionsText}`);
86990
87716
  }
86991
87717
  });
86992
87718
  init_parse3 = __esm2({
86993
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/parse.js"() {
87719
+ "../../node_modules/zod/v4/classic/parse.js"() {
86994
87720
  init_core2();
86995
87721
  init_errors4();
86996
87722
  parse2 = /* @__PURE__ */ _parse(ZodRealError);
@@ -87175,7 +87901,7 @@ ${actionsText}`);
87175
87901
  xor: () => xor2
87176
87902
  });
87177
87903
  init_schemas3 = __esm2({
87178
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/schemas.js"() {
87904
+ "../../node_modules/zod/v4/classic/schemas.js"() {
87179
87905
  init_core2();
87180
87906
  init_core2();
87181
87907
  init_json_schema_processors();
@@ -87208,10 +87934,10 @@ ${actionsText}`);
87208
87934
  inst.with = inst.check;
87209
87935
  inst.clone = (def2, params) => clone(inst, def2, params);
87210
87936
  inst.brand = () => inst;
87211
- inst.register = (reg, meta3) => {
87937
+ inst.register = ((reg, meta3) => {
87212
87938
  reg.add(inst, meta3);
87213
87939
  return inst;
87214
- };
87940
+ });
87215
87941
  inst.parse = (data, params) => parse2(inst, data, params, { callee: inst.parse });
87216
87942
  inst.safeParse = (data, params) => safeParse3(inst, data, params);
87217
87943
  inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
@@ -87809,7 +88535,7 @@ ${actionsText}`);
87809
88535
  }
87810
88536
  });
87811
88537
  init_compat = __esm2({
87812
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/compat.js"() {
88538
+ "../../node_modules/zod/v4/classic/compat.js"() {
87813
88539
  init_core2();
87814
88540
  init_core2();
87815
88541
  /* @__PURE__ */ (function(ZodFirstPartyTypeKind3) {
@@ -87817,7 +88543,7 @@ ${actionsText}`);
87817
88543
  }
87818
88544
  });
87819
88545
  init_from_json_schema = __esm2({
87820
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/from-json-schema.js"() {
88546
+ "../../node_modules/zod/v4/classic/from-json-schema.js"() {
87821
88547
  init_registries();
87822
88548
  init_checks3();
87823
88549
  init_iso2();
@@ -87830,13 +88556,13 @@ ${actionsText}`);
87830
88556
  }
87831
88557
  });
87832
88558
  init_coerce2 = __esm2({
87833
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/coerce.js"() {
88559
+ "../../node_modules/zod/v4/classic/coerce.js"() {
87834
88560
  init_core2();
87835
88561
  init_schemas3();
87836
88562
  }
87837
88563
  });
87838
88564
  init_external3 = __esm2({
87839
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/external.js"() {
88565
+ "../../node_modules/zod/v4/classic/external.js"() {
87840
88566
  init_core2();
87841
88567
  init_schemas3();
87842
88568
  init_checks3();
@@ -87856,19 +88582,19 @@ ${actionsText}`);
87856
88582
  }
87857
88583
  });
87858
88584
  init_classic = __esm2({
87859
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/classic/index.js"() {
88585
+ "../../node_modules/zod/v4/classic/index.js"() {
87860
88586
  init_external3();
87861
88587
  init_external3();
87862
88588
  }
87863
88589
  });
87864
88590
  init_v4 = __esm2({
87865
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/v4/index.js"() {
88591
+ "../../node_modules/zod/v4/index.js"() {
87866
88592
  init_classic();
87867
88593
  init_classic();
87868
88594
  }
87869
88595
  });
87870
88596
  init_types3 = __esm2({
87871
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js"() {
88597
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/types.js"() {
87872
88598
  init_v4();
87873
88599
  LATEST_PROTOCOL_VERSION = "2025-11-25";
87874
88600
  DEFAULT_NEGOTIATED_PROTOCOL_VERSION = "2025-03-26";
@@ -89391,12 +90117,12 @@ ${actionsText}`);
89391
90117
  }
89392
90118
  });
89393
90119
  init_interfaces = __esm2({
89394
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js"() {
90120
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js"() {
89395
90121
  }
89396
90122
  });
89397
90123
  init_Options = __esm2({
89398
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/Options.js"() {
89399
- ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
90124
+ "../../node_modules/zod-to-json-schema/dist/esm/Options.js"() {
90125
+ ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
89400
90126
  defaultOptions = {
89401
90127
  name: void 0,
89402
90128
  $refStrategy: "root",
@@ -89431,7 +90157,7 @@ ${actionsText}`);
89431
90157
  }
89432
90158
  });
89433
90159
  init_Refs = __esm2({
89434
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/Refs.js"() {
90160
+ "../../node_modules/zod-to-json-schema/dist/esm/Refs.js"() {
89435
90161
  init_Options();
89436
90162
  getRefs = (options) => {
89437
90163
  const _options = getDefaultOptions(options);
@@ -89455,11 +90181,11 @@ ${actionsText}`);
89455
90181
  }
89456
90182
  });
89457
90183
  init_errorMessages = __esm2({
89458
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/errorMessages.js"() {
90184
+ "../../node_modules/zod-to-json-schema/dist/esm/errorMessages.js"() {
89459
90185
  }
89460
90186
  });
89461
90187
  init_getRelativePath = __esm2({
89462
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js"() {
90188
+ "../../node_modules/zod-to-json-schema/dist/esm/getRelativePath.js"() {
89463
90189
  getRelativePath = (pathA, pathB) => {
89464
90190
  let i2 = 0;
89465
90191
  for (; i2 < pathA.length && i2 < pathB.length; i2++) {
@@ -89471,33 +90197,33 @@ ${actionsText}`);
89471
90197
  }
89472
90198
  });
89473
90199
  init_any = __esm2({
89474
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/any.js"() {
90200
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/any.js"() {
89475
90201
  init_getRelativePath();
89476
90202
  }
89477
90203
  });
89478
90204
  init_array2 = __esm2({
89479
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/array.js"() {
90205
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/array.js"() {
89480
90206
  init_v3();
89481
90207
  init_errorMessages();
89482
90208
  init_parseDef();
89483
90209
  }
89484
90210
  });
89485
90211
  init_bigint = __esm2({
89486
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js"() {
90212
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js"() {
89487
90213
  init_errorMessages();
89488
90214
  }
89489
90215
  });
89490
90216
  init_boolean = __esm2({
89491
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js"() {
90217
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js"() {
89492
90218
  }
89493
90219
  });
89494
90220
  init_branded = __esm2({
89495
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js"() {
90221
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/branded.js"() {
89496
90222
  init_parseDef();
89497
90223
  }
89498
90224
  });
89499
90225
  init_catch = __esm2({
89500
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js"() {
90226
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/catch.js"() {
89501
90227
  init_parseDef();
89502
90228
  parseCatchDef = (def, refs) => {
89503
90229
  return parseDef(def.innerType._def, refs);
@@ -89505,7 +90231,7 @@ ${actionsText}`);
89505
90231
  }
89506
90232
  });
89507
90233
  init_date = __esm2({
89508
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/date.js"() {
90234
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/date.js"() {
89509
90235
  init_errorMessages();
89510
90236
  integerDateParser = (def, refs) => {
89511
90237
  const res = {
@@ -89544,22 +90270,22 @@ ${actionsText}`);
89544
90270
  }
89545
90271
  });
89546
90272
  init_default = __esm2({
89547
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/default.js"() {
90273
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/default.js"() {
89548
90274
  init_parseDef();
89549
90275
  }
89550
90276
  });
89551
90277
  init_effects = __esm2({
89552
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js"() {
90278
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/effects.js"() {
89553
90279
  init_parseDef();
89554
90280
  init_any();
89555
90281
  }
89556
90282
  });
89557
90283
  init_enum = __esm2({
89558
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js"() {
90284
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/enum.js"() {
89559
90285
  }
89560
90286
  });
89561
90287
  init_intersection = __esm2({
89562
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js"() {
90288
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js"() {
89563
90289
  init_parseDef();
89564
90290
  isJsonSchema7AllOfType = (type) => {
89565
90291
  if ("type" in type && type.type === "string")
@@ -89569,11 +90295,11 @@ ${actionsText}`);
89569
90295
  }
89570
90296
  });
89571
90297
  init_literal = __esm2({
89572
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js"() {
90298
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/literal.js"() {
89573
90299
  }
89574
90300
  });
89575
90301
  init_string2 = __esm2({
89576
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/string.js"() {
90302
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/string.js"() {
89577
90303
  init_errorMessages();
89578
90304
  emojiRegex2 = void 0;
89579
90305
  zodPatterns = {
@@ -89627,7 +90353,7 @@ ${actionsText}`);
89627
90353
  }
89628
90354
  });
89629
90355
  init_record = __esm2({
89630
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/record.js"() {
90356
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/record.js"() {
89631
90357
  init_v3();
89632
90358
  init_parseDef();
89633
90359
  init_string2();
@@ -89636,27 +90362,27 @@ ${actionsText}`);
89636
90362
  }
89637
90363
  });
89638
90364
  init_map = __esm2({
89639
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/map.js"() {
90365
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/map.js"() {
89640
90366
  init_parseDef();
89641
90367
  init_record();
89642
90368
  init_any();
89643
90369
  }
89644
90370
  });
89645
90371
  init_nativeEnum = __esm2({
89646
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js"() {
90372
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js"() {
89647
90373
  }
89648
90374
  });
89649
90375
  init_never = __esm2({
89650
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/never.js"() {
90376
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/never.js"() {
89651
90377
  init_any();
89652
90378
  }
89653
90379
  });
89654
90380
  init_null = __esm2({
89655
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/null.js"() {
90381
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/null.js"() {
89656
90382
  }
89657
90383
  });
89658
90384
  init_union = __esm2({
89659
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/union.js"() {
90385
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/union.js"() {
89660
90386
  init_parseDef();
89661
90387
  primitiveMappings = {
89662
90388
  ZodString: "string",
@@ -89675,23 +90401,23 @@ ${actionsText}`);
89675
90401
  }
89676
90402
  });
89677
90403
  init_nullable = __esm2({
89678
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js"() {
90404
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js"() {
89679
90405
  init_parseDef();
89680
90406
  init_union();
89681
90407
  }
89682
90408
  });
89683
90409
  init_number2 = __esm2({
89684
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/number.js"() {
90410
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/number.js"() {
89685
90411
  init_errorMessages();
89686
90412
  }
89687
90413
  });
89688
90414
  init_object = __esm2({
89689
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/object.js"() {
90415
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/object.js"() {
89690
90416
  init_parseDef();
89691
90417
  }
89692
90418
  });
89693
90419
  init_optional2 = __esm2({
89694
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js"() {
90420
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/optional.js"() {
89695
90421
  init_parseDef();
89696
90422
  init_any();
89697
90423
  parseOptionalDef = (def, refs) => {
@@ -89714,7 +90440,7 @@ ${actionsText}`);
89714
90440
  }
89715
90441
  });
89716
90442
  init_pipeline = __esm2({
89717
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js"() {
90443
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js"() {
89718
90444
  init_parseDef();
89719
90445
  parsePipelineDef = (def, refs) => {
89720
90446
  if (refs.pipeStrategy === "input") {
@@ -89737,33 +90463,33 @@ ${actionsText}`);
89737
90463
  }
89738
90464
  });
89739
90465
  init_promise = __esm2({
89740
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js"() {
90466
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/promise.js"() {
89741
90467
  init_parseDef();
89742
90468
  }
89743
90469
  });
89744
90470
  init_set = __esm2({
89745
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/set.js"() {
90471
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/set.js"() {
89746
90472
  init_errorMessages();
89747
90473
  init_parseDef();
89748
90474
  }
89749
90475
  });
89750
90476
  init_tuple = __esm2({
89751
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js"() {
90477
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js"() {
89752
90478
  init_parseDef();
89753
90479
  }
89754
90480
  });
89755
90481
  init_undefined = __esm2({
89756
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js"() {
90482
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js"() {
89757
90483
  init_any();
89758
90484
  }
89759
90485
  });
89760
90486
  init_unknown = __esm2({
89761
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js"() {
90487
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js"() {
89762
90488
  init_any();
89763
90489
  }
89764
90490
  });
89765
90491
  init_readonly = __esm2({
89766
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js"() {
90492
+ "../../node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js"() {
89767
90493
  init_parseDef();
89768
90494
  parseReadonlyDef = (def, refs) => {
89769
90495
  return parseDef(def.innerType._def, refs);
@@ -89771,7 +90497,7 @@ ${actionsText}`);
89771
90497
  }
89772
90498
  });
89773
90499
  init_selectParser = __esm2({
89774
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/selectParser.js"() {
90500
+ "../../node_modules/zod-to-json-schema/dist/esm/selectParser.js"() {
89775
90501
  init_v3();
89776
90502
  init_any();
89777
90503
  init_array2();
@@ -89880,7 +90606,7 @@ ${actionsText}`);
89880
90606
  }
89881
90607
  });
89882
90608
  init_parseDef = __esm2({
89883
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parseDef.js"() {
90609
+ "../../node_modules/zod-to-json-schema/dist/esm/parseDef.js"() {
89884
90610
  init_Options();
89885
90611
  init_selectParser();
89886
90612
  init_getRelativePath();
@@ -89913,11 +90639,11 @@ ${actionsText}`);
89913
90639
  }
89914
90640
  });
89915
90641
  init_parseTypes = __esm2({
89916
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/parseTypes.js"() {
90642
+ "../../node_modules/zod-to-json-schema/dist/esm/parseTypes.js"() {
89917
90643
  }
89918
90644
  });
89919
90645
  init_zodToJsonSchema = __esm2({
89920
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js"() {
90646
+ "../../node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js"() {
89921
90647
  init_parseDef();
89922
90648
  init_Refs();
89923
90649
  init_any();
@@ -89984,7 +90710,7 @@ ${actionsText}`);
89984
90710
  }
89985
90711
  });
89986
90712
  init_esm = __esm2({
89987
- "../../../fix-history-backup-duplicate-entries/node_modules/zod-to-json-schema/dist/esm/index.js"() {
90713
+ "../../node_modules/zod-to-json-schema/dist/esm/index.js"() {
89988
90714
  init_Options();
89989
90715
  init_Refs();
89990
90716
  init_errorMessages();
@@ -90027,14 +90753,14 @@ ${actionsText}`);
90027
90753
  }
90028
90754
  });
90029
90755
  init_zod_json_schema_compat = __esm2({
90030
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js"() {
90756
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js"() {
90031
90757
  init_v4_mini();
90032
90758
  init_zod_compat();
90033
90759
  init_esm();
90034
90760
  }
90035
90761
  });
90036
90762
  init_protocol = __esm2({
90037
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js"() {
90763
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js"() {
90038
90764
  init_zod_compat();
90039
90765
  init_types3();
90040
90766
  init_interfaces();
@@ -90975,7 +91701,7 @@ ${actionsText}`);
90975
91701
  }
90976
91702
  });
90977
91703
  require_code = __commonJS({
90978
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/codegen/code.js"(exports) {
91704
+ "../../node_modules/ajv/dist/compile/codegen/code.js"(exports) {
90979
91705
  "use strict";
90980
91706
  Object.defineProperty(exports, "__esModule", { value: true });
90981
91707
  exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
@@ -91127,7 +91853,7 @@ ${actionsText}`);
91127
91853
  }
91128
91854
  });
91129
91855
  require_scope = __commonJS({
91130
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
91856
+ "../../node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
91131
91857
  "use strict";
91132
91858
  Object.defineProperty(exports, "__esModule", { value: true });
91133
91859
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
@@ -91270,7 +91996,7 @@ ${actionsText}`);
91270
91996
  }
91271
91997
  });
91272
91998
  require_codegen = __commonJS({
91273
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/codegen/index.js"(exports) {
91999
+ "../../node_modules/ajv/dist/compile/codegen/index.js"(exports) {
91274
92000
  "use strict";
91275
92001
  Object.defineProperty(exports, "__esModule", { value: true });
91276
92002
  exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
@@ -91988,7 +92714,7 @@ ${actionsText}`);
91988
92714
  }
91989
92715
  });
91990
92716
  require_util = __commonJS({
91991
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/util.js"(exports) {
92717
+ "../../node_modules/ajv/dist/compile/util.js"(exports) {
91992
92718
  "use strict";
91993
92719
  Object.defineProperty(exports, "__esModule", { value: true });
91994
92720
  exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
@@ -92153,7 +92879,7 @@ ${actionsText}`);
92153
92879
  }
92154
92880
  });
92155
92881
  require_names = __commonJS({
92156
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/names.js"(exports) {
92882
+ "../../node_modules/ajv/dist/compile/names.js"(exports) {
92157
92883
  "use strict";
92158
92884
  Object.defineProperty(exports, "__esModule", { value: true });
92159
92885
  var codegen_1 = require_codegen();
@@ -92190,7 +92916,7 @@ ${actionsText}`);
92190
92916
  }
92191
92917
  });
92192
92918
  require_errors = __commonJS({
92193
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/errors.js"(exports) {
92919
+ "../../node_modules/ajv/dist/compile/errors.js"(exports) {
92194
92920
  "use strict";
92195
92921
  Object.defineProperty(exports, "__esModule", { value: true });
92196
92922
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
@@ -92310,7 +93036,7 @@ ${actionsText}`);
92310
93036
  }
92311
93037
  });
92312
93038
  require_boolSchema = __commonJS({
92313
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
93039
+ "../../node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
92314
93040
  "use strict";
92315
93041
  Object.defineProperty(exports, "__esModule", { value: true });
92316
93042
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
@@ -92359,7 +93085,7 @@ ${actionsText}`);
92359
93085
  }
92360
93086
  });
92361
93087
  require_rules = __commonJS({
92362
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/rules.js"(exports) {
93088
+ "../../node_modules/ajv/dist/compile/rules.js"(exports) {
92363
93089
  "use strict";
92364
93090
  Object.defineProperty(exports, "__esModule", { value: true });
92365
93091
  exports.getRules = exports.isJSONType = void 0;
@@ -92388,7 +93114,7 @@ ${actionsText}`);
92388
93114
  }
92389
93115
  });
92390
93116
  require_applicability = __commonJS({
92391
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
93117
+ "../../node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
92392
93118
  "use strict";
92393
93119
  Object.defineProperty(exports, "__esModule", { value: true });
92394
93120
  exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
@@ -92409,7 +93135,7 @@ ${actionsText}`);
92409
93135
  }
92410
93136
  });
92411
93137
  require_dataType = __commonJS({
92412
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
93138
+ "../../node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
92413
93139
  "use strict";
92414
93140
  Object.defineProperty(exports, "__esModule", { value: true });
92415
93141
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
@@ -92591,7 +93317,7 @@ ${actionsText}`);
92591
93317
  }
92592
93318
  });
92593
93319
  require_defaults = __commonJS({
92594
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
93320
+ "../../node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
92595
93321
  "use strict";
92596
93322
  Object.defineProperty(exports, "__esModule", { value: true });
92597
93323
  exports.assignDefaults = void 0;
@@ -92626,7 +93352,7 @@ ${actionsText}`);
92626
93352
  }
92627
93353
  });
92628
93354
  require_code2 = __commonJS({
92629
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/code.js"(exports) {
93355
+ "../../node_modules/ajv/dist/vocabularies/code.js"(exports) {
92630
93356
  "use strict";
92631
93357
  Object.defineProperty(exports, "__esModule", { value: true });
92632
93358
  exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
@@ -92757,7 +93483,7 @@ ${actionsText}`);
92757
93483
  }
92758
93484
  });
92759
93485
  require_keyword = __commonJS({
92760
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
93486
+ "../../node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
92761
93487
  "use strict";
92762
93488
  Object.defineProperty(exports, "__esModule", { value: true });
92763
93489
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
@@ -92873,7 +93599,7 @@ ${actionsText}`);
92873
93599
  }
92874
93600
  });
92875
93601
  require_subschema = __commonJS({
92876
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
93602
+ "../../node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
92877
93603
  "use strict";
92878
93604
  Object.defineProperty(exports, "__esModule", { value: true });
92879
93605
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
@@ -92954,7 +93680,7 @@ ${actionsText}`);
92954
93680
  }
92955
93681
  });
92956
93682
  require_fast_deep_equal = __commonJS({
92957
- "../../../fix-history-backup-duplicate-entries/node_modules/fast-deep-equal/index.js"(exports, module2) {
93683
+ "../../node_modules/fast-deep-equal/index.js"(exports, module2) {
92958
93684
  "use strict";
92959
93685
  module2.exports = function equal(a2, b2) {
92960
93686
  if (a2 === b2) return true;
@@ -92987,7 +93713,7 @@ ${actionsText}`);
92987
93713
  }
92988
93714
  });
92989
93715
  require_json_schema_traverse = __commonJS({
92990
- "../../../fix-history-backup-duplicate-entries/node_modules/json-schema-traverse/index.js"(exports, module2) {
93716
+ "../../node_modules/json-schema-traverse/index.js"(exports, module2) {
92991
93717
  "use strict";
92992
93718
  var traverse = module2.exports = function(schema, opts, cb) {
92993
93719
  if (typeof opts == "function") {
@@ -93073,7 +93799,7 @@ ${actionsText}`);
93073
93799
  }
93074
93800
  });
93075
93801
  require_resolve = __commonJS({
93076
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/resolve.js"(exports) {
93802
+ "../../node_modules/ajv/dist/compile/resolve.js"(exports) {
93077
93803
  "use strict";
93078
93804
  Object.defineProperty(exports, "__esModule", { value: true });
93079
93805
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
@@ -93227,7 +93953,7 @@ ${actionsText}`);
93227
93953
  }
93228
93954
  });
93229
93955
  require_validate = __commonJS({
93230
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/validate/index.js"(exports) {
93956
+ "../../node_modules/ajv/dist/compile/validate/index.js"(exports) {
93231
93957
  "use strict";
93232
93958
  Object.defineProperty(exports, "__esModule", { value: true });
93233
93959
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
@@ -93733,7 +94459,7 @@ ${actionsText}`);
93733
94459
  }
93734
94460
  });
93735
94461
  require_validation_error = __commonJS({
93736
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/runtime/validation_error.js"(exports) {
94462
+ "../../node_modules/ajv/dist/runtime/validation_error.js"(exports) {
93737
94463
  "use strict";
93738
94464
  Object.defineProperty(exports, "__esModule", { value: true });
93739
94465
  var ValidationError3 = class extends Error {
@@ -93747,7 +94473,7 @@ ${actionsText}`);
93747
94473
  }
93748
94474
  });
93749
94475
  require_ref_error = __commonJS({
93750
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/ref_error.js"(exports) {
94476
+ "../../node_modules/ajv/dist/compile/ref_error.js"(exports) {
93751
94477
  "use strict";
93752
94478
  Object.defineProperty(exports, "__esModule", { value: true });
93753
94479
  var resolve_1 = require_resolve();
@@ -93762,7 +94488,7 @@ ${actionsText}`);
93762
94488
  }
93763
94489
  });
93764
94490
  require_compile = __commonJS({
93765
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/compile/index.js"(exports) {
94491
+ "../../node_modules/ajv/dist/compile/index.js"(exports) {
93766
94492
  "use strict";
93767
94493
  Object.defineProperty(exports, "__esModule", { value: true });
93768
94494
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
@@ -93984,7 +94710,7 @@ ${actionsText}`);
93984
94710
  }
93985
94711
  });
93986
94712
  require_data = __commonJS({
93987
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/refs/data.json"(exports, module2) {
94713
+ "../../node_modules/ajv/dist/refs/data.json"(exports, module2) {
93988
94714
  module2.exports = {
93989
94715
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
93990
94716
  description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
@@ -94001,7 +94727,7 @@ ${actionsText}`);
94001
94727
  }
94002
94728
  });
94003
94729
  require_utils = __commonJS({
94004
- "../../../fix-history-backup-duplicate-entries/node_modules/fast-uri/lib/utils.js"(exports, module2) {
94730
+ "../../node_modules/fast-uri/lib/utils.js"(exports, module2) {
94005
94731
  "use strict";
94006
94732
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
94007
94733
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
@@ -94256,7 +94982,7 @@ ${actionsText}`);
94256
94982
  }
94257
94983
  });
94258
94984
  require_schemes = __commonJS({
94259
- "../../../fix-history-backup-duplicate-entries/node_modules/fast-uri/lib/schemes.js"(exports, module2) {
94985
+ "../../node_modules/fast-uri/lib/schemes.js"(exports, module2) {
94260
94986
  "use strict";
94261
94987
  var { isUUID } = require_utils();
94262
94988
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -94464,7 +95190,7 @@ ${actionsText}`);
94464
95190
  }
94465
95191
  });
94466
95192
  require_fast_uri = __commonJS({
94467
- "../../../fix-history-backup-duplicate-entries/node_modules/fast-uri/index.js"(exports, module2) {
95193
+ "../../node_modules/fast-uri/index.js"(exports, module2) {
94468
95194
  "use strict";
94469
95195
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
94470
95196
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -94717,7 +95443,7 @@ ${actionsText}`);
94717
95443
  }
94718
95444
  });
94719
95445
  require_uri = __commonJS({
94720
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/runtime/uri.js"(exports) {
95446
+ "../../node_modules/ajv/dist/runtime/uri.js"(exports) {
94721
95447
  "use strict";
94722
95448
  Object.defineProperty(exports, "__esModule", { value: true });
94723
95449
  var uri = require_fast_uri();
@@ -94726,7 +95452,7 @@ ${actionsText}`);
94726
95452
  }
94727
95453
  });
94728
95454
  require_core = __commonJS({
94729
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/core.js"(exports) {
95455
+ "../../node_modules/ajv/dist/core.js"(exports) {
94730
95456
  "use strict";
94731
95457
  Object.defineProperty(exports, "__esModule", { value: true });
94732
95458
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
@@ -95335,7 +96061,7 @@ ${actionsText}`);
95335
96061
  }
95336
96062
  });
95337
96063
  require_id = __commonJS({
95338
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
96064
+ "../../node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
95339
96065
  "use strict";
95340
96066
  Object.defineProperty(exports, "__esModule", { value: true });
95341
96067
  var def = {
@@ -95348,7 +96074,7 @@ ${actionsText}`);
95348
96074
  }
95349
96075
  });
95350
96076
  require_ref = __commonJS({
95351
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
96077
+ "../../node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
95352
96078
  "use strict";
95353
96079
  Object.defineProperty(exports, "__esModule", { value: true });
95354
96080
  exports.callRef = exports.getValidate = void 0;
@@ -95468,7 +96194,7 @@ ${actionsText}`);
95468
96194
  }
95469
96195
  });
95470
96196
  require_core2 = __commonJS({
95471
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
96197
+ "../../node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
95472
96198
  "use strict";
95473
96199
  Object.defineProperty(exports, "__esModule", { value: true });
95474
96200
  var id_1 = require_id();
@@ -95487,7 +96213,7 @@ ${actionsText}`);
95487
96213
  }
95488
96214
  });
95489
96215
  require_limitNumber = __commonJS({
95490
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
96216
+ "../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
95491
96217
  "use strict";
95492
96218
  Object.defineProperty(exports, "__esModule", { value: true });
95493
96219
  var codegen_1 = require_codegen();
@@ -95517,7 +96243,7 @@ ${actionsText}`);
95517
96243
  }
95518
96244
  });
95519
96245
  require_multipleOf = __commonJS({
95520
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
96246
+ "../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
95521
96247
  "use strict";
95522
96248
  Object.defineProperty(exports, "__esModule", { value: true });
95523
96249
  var codegen_1 = require_codegen();
@@ -95543,7 +96269,7 @@ ${actionsText}`);
95543
96269
  }
95544
96270
  });
95545
96271
  require_ucs2length = __commonJS({
95546
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
96272
+ "../../node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
95547
96273
  "use strict";
95548
96274
  Object.defineProperty(exports, "__esModule", { value: true });
95549
96275
  function ucs2length(str) {
@@ -95567,7 +96293,7 @@ ${actionsText}`);
95567
96293
  }
95568
96294
  });
95569
96295
  require_limitLength = __commonJS({
95570
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
96296
+ "../../node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
95571
96297
  "use strict";
95572
96298
  Object.defineProperty(exports, "__esModule", { value: true });
95573
96299
  var codegen_1 = require_codegen();
@@ -95597,7 +96323,7 @@ ${actionsText}`);
95597
96323
  }
95598
96324
  });
95599
96325
  require_pattern = __commonJS({
95600
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
96326
+ "../../node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
95601
96327
  "use strict";
95602
96328
  Object.defineProperty(exports, "__esModule", { value: true });
95603
96329
  var code_1 = require_code2();
@@ -95632,7 +96358,7 @@ ${actionsText}`);
95632
96358
  }
95633
96359
  });
95634
96360
  require_limitProperties = __commonJS({
95635
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
96361
+ "../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
95636
96362
  "use strict";
95637
96363
  Object.defineProperty(exports, "__esModule", { value: true });
95638
96364
  var codegen_1 = require_codegen();
@@ -95659,7 +96385,7 @@ ${actionsText}`);
95659
96385
  }
95660
96386
  });
95661
96387
  require_required = __commonJS({
95662
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
96388
+ "../../node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
95663
96389
  "use strict";
95664
96390
  Object.defineProperty(exports, "__esModule", { value: true });
95665
96391
  var code_1 = require_code2();
@@ -95739,7 +96465,7 @@ ${actionsText}`);
95739
96465
  }
95740
96466
  });
95741
96467
  require_limitItems = __commonJS({
95742
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
96468
+ "../../node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
95743
96469
  "use strict";
95744
96470
  Object.defineProperty(exports, "__esModule", { value: true });
95745
96471
  var codegen_1 = require_codegen();
@@ -95766,7 +96492,7 @@ ${actionsText}`);
95766
96492
  }
95767
96493
  });
95768
96494
  require_equal = __commonJS({
95769
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/runtime/equal.js"(exports) {
96495
+ "../../node_modules/ajv/dist/runtime/equal.js"(exports) {
95770
96496
  "use strict";
95771
96497
  Object.defineProperty(exports, "__esModule", { value: true });
95772
96498
  var equal = require_fast_deep_equal();
@@ -95775,7 +96501,7 @@ ${actionsText}`);
95775
96501
  }
95776
96502
  });
95777
96503
  require_uniqueItems = __commonJS({
95778
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
96504
+ "../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
95779
96505
  "use strict";
95780
96506
  Object.defineProperty(exports, "__esModule", { value: true });
95781
96507
  var dataType_1 = require_dataType();
@@ -95840,7 +96566,7 @@ ${actionsText}`);
95840
96566
  }
95841
96567
  });
95842
96568
  require_const = __commonJS({
95843
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
96569
+ "../../node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
95844
96570
  "use strict";
95845
96571
  Object.defineProperty(exports, "__esModule", { value: true });
95846
96572
  var codegen_1 = require_codegen();
@@ -95867,7 +96593,7 @@ ${actionsText}`);
95867
96593
  }
95868
96594
  });
95869
96595
  require_enum = __commonJS({
95870
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
96596
+ "../../node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
95871
96597
  "use strict";
95872
96598
  Object.defineProperty(exports, "__esModule", { value: true });
95873
96599
  var codegen_1 = require_codegen();
@@ -95914,7 +96640,7 @@ ${actionsText}`);
95914
96640
  }
95915
96641
  });
95916
96642
  require_validation = __commonJS({
95917
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
96643
+ "../../node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
95918
96644
  "use strict";
95919
96645
  Object.defineProperty(exports, "__esModule", { value: true });
95920
96646
  var limitNumber_1 = require_limitNumber();
@@ -95950,7 +96676,7 @@ ${actionsText}`);
95950
96676
  }
95951
96677
  });
95952
96678
  require_additionalItems = __commonJS({
95953
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
96679
+ "../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
95954
96680
  "use strict";
95955
96681
  Object.defineProperty(exports, "__esModule", { value: true });
95956
96682
  exports.validateAdditionalItems = void 0;
@@ -96001,7 +96727,7 @@ ${actionsText}`);
96001
96727
  }
96002
96728
  });
96003
96729
  require_items = __commonJS({
96004
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
96730
+ "../../node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
96005
96731
  "use strict";
96006
96732
  Object.defineProperty(exports, "__esModule", { value: true });
96007
96733
  exports.validateTuple = void 0;
@@ -96056,7 +96782,7 @@ ${actionsText}`);
96056
96782
  }
96057
96783
  });
96058
96784
  require_prefixItems = __commonJS({
96059
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
96785
+ "../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
96060
96786
  "use strict";
96061
96787
  Object.defineProperty(exports, "__esModule", { value: true });
96062
96788
  var items_1 = require_items();
@@ -96071,7 +96797,7 @@ ${actionsText}`);
96071
96797
  }
96072
96798
  });
96073
96799
  require_items2020 = __commonJS({
96074
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
96800
+ "../../node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
96075
96801
  "use strict";
96076
96802
  Object.defineProperty(exports, "__esModule", { value: true });
96077
96803
  var codegen_1 = require_codegen();
@@ -96104,7 +96830,7 @@ ${actionsText}`);
96104
96830
  }
96105
96831
  });
96106
96832
  require_contains = __commonJS({
96107
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
96833
+ "../../node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
96108
96834
  "use strict";
96109
96835
  Object.defineProperty(exports, "__esModule", { value: true });
96110
96836
  var codegen_1 = require_codegen();
@@ -96196,7 +96922,7 @@ ${actionsText}`);
96196
96922
  }
96197
96923
  });
96198
96924
  require_dependencies = __commonJS({
96199
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
96925
+ "../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
96200
96926
  "use strict";
96201
96927
  Object.defineProperty(exports, "__esModule", { value: true });
96202
96928
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
@@ -96288,7 +97014,7 @@ ${actionsText}`);
96288
97014
  }
96289
97015
  });
96290
97016
  require_propertyNames = __commonJS({
96291
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
97017
+ "../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
96292
97018
  "use strict";
96293
97019
  Object.defineProperty(exports, "__esModule", { value: true });
96294
97020
  var codegen_1 = require_codegen();
@@ -96329,7 +97055,7 @@ ${actionsText}`);
96329
97055
  }
96330
97056
  });
96331
97057
  require_additionalProperties = __commonJS({
96332
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
97058
+ "../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
96333
97059
  "use strict";
96334
97060
  Object.defineProperty(exports, "__esModule", { value: true });
96335
97061
  var code_1 = require_code2();
@@ -96433,7 +97159,7 @@ ${actionsText}`);
96433
97159
  }
96434
97160
  });
96435
97161
  require_properties = __commonJS({
96436
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
97162
+ "../../node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
96437
97163
  "use strict";
96438
97164
  Object.defineProperty(exports, "__esModule", { value: true });
96439
97165
  var validate_1 = require_validate();
@@ -96489,7 +97215,7 @@ ${actionsText}`);
96489
97215
  }
96490
97216
  });
96491
97217
  require_patternProperties = __commonJS({
96492
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
97218
+ "../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
96493
97219
  "use strict";
96494
97220
  Object.defineProperty(exports, "__esModule", { value: true });
96495
97221
  var code_1 = require_code2();
@@ -96561,7 +97287,7 @@ ${actionsText}`);
96561
97287
  }
96562
97288
  });
96563
97289
  require_not = __commonJS({
96564
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
97290
+ "../../node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
96565
97291
  "use strict";
96566
97292
  Object.defineProperty(exports, "__esModule", { value: true });
96567
97293
  var util_1 = require_util();
@@ -96590,7 +97316,7 @@ ${actionsText}`);
96590
97316
  }
96591
97317
  });
96592
97318
  require_anyOf = __commonJS({
96593
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
97319
+ "../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
96594
97320
  "use strict";
96595
97321
  Object.defineProperty(exports, "__esModule", { value: true });
96596
97322
  var code_1 = require_code2();
@@ -96605,7 +97331,7 @@ ${actionsText}`);
96605
97331
  }
96606
97332
  });
96607
97333
  require_oneOf = __commonJS({
96608
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
97334
+ "../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
96609
97335
  "use strict";
96610
97336
  Object.defineProperty(exports, "__esModule", { value: true });
96611
97337
  var codegen_1 = require_codegen();
@@ -96661,7 +97387,7 @@ ${actionsText}`);
96661
97387
  }
96662
97388
  });
96663
97389
  require_allOf = __commonJS({
96664
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
97390
+ "../../node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
96665
97391
  "use strict";
96666
97392
  Object.defineProperty(exports, "__esModule", { value: true });
96667
97393
  var util_1 = require_util();
@@ -96686,7 +97412,7 @@ ${actionsText}`);
96686
97412
  }
96687
97413
  });
96688
97414
  require_if = __commonJS({
96689
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
97415
+ "../../node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
96690
97416
  "use strict";
96691
97417
  Object.defineProperty(exports, "__esModule", { value: true });
96692
97418
  var codegen_1 = require_codegen();
@@ -96753,7 +97479,7 @@ ${actionsText}`);
96753
97479
  }
96754
97480
  });
96755
97481
  require_thenElse = __commonJS({
96756
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
97482
+ "../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
96757
97483
  "use strict";
96758
97484
  Object.defineProperty(exports, "__esModule", { value: true });
96759
97485
  var util_1 = require_util();
@@ -96769,7 +97495,7 @@ ${actionsText}`);
96769
97495
  }
96770
97496
  });
96771
97497
  require_applicator = __commonJS({
96772
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
97498
+ "../../node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
96773
97499
  "use strict";
96774
97500
  Object.defineProperty(exports, "__esModule", { value: true });
96775
97501
  var additionalItems_1 = require_additionalItems();
@@ -96815,7 +97541,7 @@ ${actionsText}`);
96815
97541
  }
96816
97542
  });
96817
97543
  require_format = __commonJS({
96818
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
97544
+ "../../node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
96819
97545
  "use strict";
96820
97546
  Object.defineProperty(exports, "__esModule", { value: true });
96821
97547
  var codegen_1 = require_codegen();
@@ -96903,7 +97629,7 @@ ${actionsText}`);
96903
97629
  }
96904
97630
  });
96905
97631
  require_format2 = __commonJS({
96906
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
97632
+ "../../node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
96907
97633
  "use strict";
96908
97634
  Object.defineProperty(exports, "__esModule", { value: true });
96909
97635
  var format_1 = require_format();
@@ -96912,7 +97638,7 @@ ${actionsText}`);
96912
97638
  }
96913
97639
  });
96914
97640
  require_metadata = __commonJS({
96915
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
97641
+ "../../node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
96916
97642
  "use strict";
96917
97643
  Object.defineProperty(exports, "__esModule", { value: true });
96918
97644
  exports.contentVocabulary = exports.metadataVocabulary = void 0;
@@ -96933,7 +97659,7 @@ ${actionsText}`);
96933
97659
  }
96934
97660
  });
96935
97661
  require_draft7 = __commonJS({
96936
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
97662
+ "../../node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
96937
97663
  "use strict";
96938
97664
  Object.defineProperty(exports, "__esModule", { value: true });
96939
97665
  var core_1 = require_core2();
@@ -96953,7 +97679,7 @@ ${actionsText}`);
96953
97679
  }
96954
97680
  });
96955
97681
  require_types = __commonJS({
96956
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
97682
+ "../../node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
96957
97683
  "use strict";
96958
97684
  Object.defineProperty(exports, "__esModule", { value: true });
96959
97685
  exports.DiscrError = void 0;
@@ -96965,7 +97691,7 @@ ${actionsText}`);
96965
97691
  }
96966
97692
  });
96967
97693
  require_discriminator = __commonJS({
96968
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
97694
+ "../../node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
96969
97695
  "use strict";
96970
97696
  Object.defineProperty(exports, "__esModule", { value: true });
96971
97697
  var codegen_1 = require_codegen();
@@ -97068,7 +97794,7 @@ ${actionsText}`);
97068
97794
  }
97069
97795
  });
97070
97796
  require_json_schema_draft_07 = __commonJS({
97071
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module2) {
97797
+ "../../node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module2) {
97072
97798
  module2.exports = {
97073
97799
  $schema: "http://json-schema.org/draft-07/schema#",
97074
97800
  $id: "http://json-schema.org/draft-07/schema#",
@@ -97223,7 +97949,7 @@ ${actionsText}`);
97223
97949
  }
97224
97950
  });
97225
97951
  require_ajv = __commonJS({
97226
- "../../../fix-history-backup-duplicate-entries/node_modules/ajv/dist/ajv.js"(exports, module2) {
97952
+ "../../node_modules/ajv/dist/ajv.js"(exports, module2) {
97227
97953
  "use strict";
97228
97954
  Object.defineProperty(exports, "__esModule", { value: true });
97229
97955
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
@@ -97291,7 +98017,7 @@ ${actionsText}`);
97291
98017
  }
97292
98018
  });
97293
98019
  require_formats = __commonJS({
97294
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/node_modules/ajv-formats/dist/formats.js"(exports) {
98020
+ "../../node_modules/@modelcontextprotocol/sdk/node_modules/ajv-formats/dist/formats.js"(exports) {
97295
98021
  "use strict";
97296
98022
  Object.defineProperty(exports, "__esModule", { value: true });
97297
98023
  exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
@@ -97492,7 +98218,7 @@ ${actionsText}`);
97492
98218
  }
97493
98219
  });
97494
98220
  require_limit = __commonJS({
97495
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/node_modules/ajv-formats/dist/limit.js"(exports) {
98221
+ "../../node_modules/@modelcontextprotocol/sdk/node_modules/ajv-formats/dist/limit.js"(exports) {
97496
98222
  "use strict";
97497
98223
  Object.defineProperty(exports, "__esModule", { value: true });
97498
98224
  exports.formatLimitDefinition = void 0;
@@ -97562,7 +98288,7 @@ ${actionsText}`);
97562
98288
  }
97563
98289
  });
97564
98290
  require_dist = __commonJS({
97565
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/node_modules/ajv-formats/dist/index.js"(exports, module2) {
98291
+ "../../node_modules/@modelcontextprotocol/sdk/node_modules/ajv-formats/dist/index.js"(exports, module2) {
97566
98292
  "use strict";
97567
98293
  Object.defineProperty(exports, "__esModule", { value: true });
97568
98294
  var formats_1 = require_formats();
@@ -97602,7 +98328,7 @@ ${actionsText}`);
97602
98328
  }
97603
98329
  });
97604
98330
  init_ajv_provider = __esm2({
97605
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js"() {
98331
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js"() {
97606
98332
  import_ajv = __toESM(require_ajv(), 1);
97607
98333
  import_ajv_formats = __toESM(require_dist(), 1);
97608
98334
  AjvJsonSchemaValidator = class {
@@ -97661,7 +98387,7 @@ ${actionsText}`);
97661
98387
  }
97662
98388
  });
97663
98389
  init_server = __esm2({
97664
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js"() {
98390
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js"() {
97665
98391
  init_types3();
97666
98392
  ExperimentalServerTasks = class {
97667
98393
  constructor(_server) {
@@ -97877,11 +98603,11 @@ ${actionsText}`);
97877
98603
  }
97878
98604
  });
97879
98605
  init_helpers = __esm2({
97880
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js"() {
98606
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js"() {
97881
98607
  }
97882
98608
  });
97883
98609
  init_server2 = __esm2({
97884
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js"() {
98610
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js"() {
97885
98611
  init_protocol();
97886
98612
  init_types3();
97887
98613
  init_ajv_provider();
@@ -98269,24 +98995,24 @@ ${actionsText}`);
98269
98995
  }
98270
98996
  });
98271
98997
  init_completable = __esm2({
98272
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js"() {
98273
- COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
98998
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js"() {
98999
+ COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
98274
99000
  (function(McpZodTypeKind2) {
98275
99001
  McpZodTypeKind2["Completable"] = "McpCompletable";
98276
99002
  })(McpZodTypeKind || (McpZodTypeKind = {}));
98277
99003
  }
98278
99004
  });
98279
99005
  init_uriTemplate = __esm2({
98280
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js"() {
99006
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js"() {
98281
99007
  }
98282
99008
  });
98283
99009
  init_toolNameValidation = __esm2({
98284
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js"() {
99010
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js"() {
98285
99011
  TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
98286
99012
  }
98287
99013
  });
98288
99014
  init_mcp_server = __esm2({
98289
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js"() {
99015
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js"() {
98290
99016
  ExperimentalMcpServerTasks = class {
98291
99017
  constructor(_mcpServer) {
98292
99018
  this._mcpServer = _mcpServer;
@@ -98303,13 +99029,13 @@ ${actionsText}`);
98303
99029
  }
98304
99030
  });
98305
99031
  init_zod = __esm2({
98306
- "../../../fix-history-backup-duplicate-entries/node_modules/zod/index.js"() {
99032
+ "../../node_modules/zod/index.js"() {
98307
99033
  init_external3();
98308
99034
  init_external3();
98309
99035
  }
98310
99036
  });
98311
99037
  init_mcp = __esm2({
98312
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js"() {
99038
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js"() {
98313
99039
  init_server2();
98314
99040
  init_zod_compat();
98315
99041
  init_zod_json_schema_compat();
@@ -99047,7 +99773,7 @@ ${actionsText}`);
99047
99773
  }
99048
99774
  });
99049
99775
  init_dist22 = __esm2({
99050
- "../../../fix-history-backup-duplicate-entries/node_modules/@hono/node-server/dist/index.mjs"() {
99776
+ "../../node_modules/@hono/node-server/dist/index.mjs"() {
99051
99777
  RequestError = class extends Error {
99052
99778
  constructor(message, options) {
99053
99779
  super(message, options);
@@ -99085,7 +99811,7 @@ ${actionsText}`);
99085
99811
  }
99086
99812
  return new Headers(headerRecord);
99087
99813
  };
99088
- wrapBodyStream = Symbol("wrapBodyStream");
99814
+ wrapBodyStream = /* @__PURE__ */ Symbol("wrapBodyStream");
99089
99815
  newRequestFromIncoming = (method, url22, headers, incoming, abortController) => {
99090
99816
  const init = {
99091
99817
  method,
@@ -99133,13 +99859,13 @@ ${actionsText}`);
99133
99859
  }
99134
99860
  return new Request2(url22, init);
99135
99861
  };
99136
- getRequestCache = Symbol("getRequestCache");
99137
- requestCache = Symbol("requestCache");
99138
- incomingKey = Symbol("incomingKey");
99139
- urlKey = Symbol("urlKey");
99140
- headersKey = Symbol("headersKey");
99141
- abortControllerKey = Symbol("abortControllerKey");
99142
- getAbortController = Symbol("getAbortController");
99862
+ getRequestCache = /* @__PURE__ */ Symbol("getRequestCache");
99863
+ requestCache = /* @__PURE__ */ Symbol("requestCache");
99864
+ incomingKey = /* @__PURE__ */ Symbol("incomingKey");
99865
+ urlKey = /* @__PURE__ */ Symbol("urlKey");
99866
+ headersKey = /* @__PURE__ */ Symbol("headersKey");
99867
+ abortControllerKey = /* @__PURE__ */ Symbol("abortControllerKey");
99868
+ getAbortController = /* @__PURE__ */ Symbol("getAbortController");
99143
99869
  requestPrototype = {
99144
99870
  get method() {
99145
99871
  return this[incomingKey].method || "GET";
@@ -99230,9 +99956,9 @@ ${actionsText}`);
99230
99956
  req[urlKey] = url22.href;
99231
99957
  return req;
99232
99958
  };
99233
- responseCache = Symbol("responseCache");
99234
- getResponseCache = Symbol("getResponseCache");
99235
- cacheKey = Symbol("cache");
99959
+ responseCache = /* @__PURE__ */ Symbol("responseCache");
99960
+ getResponseCache = /* @__PURE__ */ Symbol("getResponseCache");
99961
+ cacheKey = /* @__PURE__ */ Symbol("cache");
99236
99962
  GlobalResponse = global.Response;
99237
99963
  Response2 = class _Response {
99238
99964
  #body;
@@ -99319,7 +100045,7 @@ ${actionsText}`);
99319
100045
  if (typeof global.crypto === "undefined") {
99320
100046
  global.crypto = crypto3;
99321
100047
  }
99322
- outgoingEnded = Symbol("outgoingEnded");
100048
+ outgoingEnded = /* @__PURE__ */ Symbol("outgoingEnded");
99323
100049
  handleRequestError = () => new Response(null, {
99324
100050
  status: 400
99325
100051
  });
@@ -99532,7 +100258,7 @@ ${actionsText}`);
99532
100258
  }
99533
100259
  });
99534
100260
  init_webStandardStreamableHttp = __esm2({
99535
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js"() {
100261
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js"() {
99536
100262
  init_types3();
99537
100263
  WebStandardStreamableHTTPServerTransport = class {
99538
100264
  constructor(options = {}) {
@@ -100137,7 +100863,7 @@ data:
100137
100863
  }
100138
100864
  });
100139
100865
  init_streamableHttp = __esm2({
100140
- "../../../fix-history-backup-duplicate-entries/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js"() {
100866
+ "../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js"() {
100141
100867
  init_dist22();
100142
100868
  init_webStandardStreamableHttp();
100143
100869
  StreamableHTTPServerTransport = class {
@@ -100602,7 +101328,7 @@ data:
100602
101328
  };
100603
101329
  }
100604
101330
  });
100605
- init_src2 = __esm2({
101331
+ init_index = __esm2({
100606
101332
  async "src/index.ts"() {
100607
101333
  await init_channel();
100608
101334
  init_types();
@@ -100621,10 +101347,10 @@ data:
100621
101347
  await init_skill_telemetry();
100622
101348
  await init_policy_enforcer();
100623
101349
  init_room_protocol();
100624
- VERSION = true ? "0.23.45" : "0.0.0-dev";
101350
+ VERSION = true ? "0.23.47" : "0.0.0-dev";
100625
101351
  }
100626
101352
  });
100627
- await init_src2();
101353
+ await init_index();
100628
101354
  }
100629
101355
  });
100630
101356
 
@@ -100993,6 +101719,7 @@ function parsePlistEnv(xml) {
100993
101719
  }
100994
101720
  i2 = m2.index;
100995
101721
  }
101722
+ void i2;
100996
101723
  if (close < 0) return out;
100997
101724
  const body = xml.slice(open4, close);
100998
101725
  const pair = /<key>([\s\S]*?)<\/key>\s*<string>([\s\S]*?)<\/string>/g;
@@ -101012,6 +101739,7 @@ var init_launchd = __esm({
101012
101739
  constructor(deps) {
101013
101740
  this.deps = deps;
101014
101741
  }
101742
+ deps;
101015
101743
  plistPath(label) {
101016
101744
  return join14(this.deps.home, "Library", "LaunchAgents", `${label}.plist`);
101017
101745
  }
@@ -101124,6 +101852,7 @@ var init_systemd = __esm({
101124
101852
  constructor(deps) {
101125
101853
  this.deps = deps;
101126
101854
  }
101855
+ deps;
101127
101856
  unitPath(label) {
101128
101857
  return join15(this.deps.home, ".config", "systemd", "user", `${label}.service`);
101129
101858
  }
@@ -101327,6 +102056,8 @@ var MuseSession = class {
101327
102056
  this.driver = driver;
101328
102057
  this.opts = opts;
101329
102058
  }
102059
+ driver;
102060
+ opts;
101330
102061
  queue = [];
101331
102062
  running = false;
101332
102063
  current = null;
@@ -101769,6 +102500,7 @@ var MuseDriver = class {
101769
102500
  this.spawnFn = opts.spawnFn ?? defaultSpawn;
101770
102501
  this.turnTimeoutMs = opts.turnTimeoutMs ?? DEFAULT_TURN_TIMEOUT_MS;
101771
102502
  }
102503
+ opts;
101772
102504
  spawnFn;
101773
102505
  turnTimeoutMs;
101774
102506
  persistedId = null;
@@ -102519,6 +103251,22 @@ function buildClientVersion2(version2) {
102519
103251
  return `@agentvault/muse-bridge@${version2 ?? "dev"}`;
102520
103252
  }
102521
103253
 
103254
+ // src/enrollment-fingerprint.ts
103255
+ function fingerprintLines(fingerprint) {
103256
+ return [
103257
+ `Fingerprint: ${fingerprint}`,
103258
+ "Verify this fingerprint matches the one shown in your AgentVault dashboard before clicking Approve."
103259
+ ];
103260
+ }
103261
+ function watchEnrollmentFingerprint(channel, log) {
103262
+ channel.on("state", (s2) => {
103263
+ if (s2 !== "polling") return;
103264
+ const fp = channel.fingerprint;
103265
+ if (!fp) return;
103266
+ for (const line of fingerprintLines(fp)) log(line);
103267
+ });
103268
+ }
103269
+
102522
103270
  // src/index.ts
102523
103271
  async function maybeRunRecoverySubcommand(argv = process.argv, env = process.env, runRecovery = runHistoryRecoveryCommand) {
102524
103272
  if (argv[2] !== "recovery") return false;
@@ -102544,7 +103292,7 @@ function mkdir700(path2) {
102544
103292
  chmodSync5(path2, 448);
102545
103293
  }
102546
103294
  function packageVersion() {
102547
- return true ? "0.1.22" : void 0;
103295
+ return true ? "0.1.23" : void 0;
102548
103296
  }
102549
103297
  function helpText(version2) {
102550
103298
  return [
@@ -102710,6 +103458,7 @@ async function main(opts = {}) {
102710
103458
  log: (m2) => logLine("[muse-bridge] " + m2),
102711
103459
  onTerminal: (_reason, o2) => void shutdown(o2.restart ? 1 : 0)
102712
103460
  });
103461
+ watchEnrollmentFingerprint(channel, (m2) => logLine("[muse-bridge] " + m2));
102713
103462
  await channel.start();
102714
103463
  return {
102715
103464
  driver,
@@ -102733,48 +103482,24 @@ export {
102733
103482
  /*! Bundled license information:
102734
103483
 
102735
103484
  @noble/hashes/utils.js:
103485
+ @noble/hashes/esm/utils.js:
102736
103486
  (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102737
103487
 
102738
103488
  @hpke/common/esm/src/curve/modular.js:
102739
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102740
-
102741
103489
  @hpke/common/esm/src/curve/montgomery.js:
102742
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102743
-
102744
- @noble/ciphers/utils.js:
102745
- (*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) *)
102746
-
102747
- @noble/hashes/esm/utils.js:
102748
- (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102749
-
102750
103490
  @noble/curves/esm/utils.js:
102751
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102752
-
102753
103491
  @noble/curves/esm/abstract/modular.js:
102754
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102755
-
102756
103492
  @noble/curves/esm/abstract/curve.js:
102757
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102758
-
102759
103493
  @noble/curves/esm/abstract/edwards.js:
102760
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102761
-
102762
103494
  @noble/curves/esm/abstract/montgomery.js:
102763
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102764
-
102765
103495
  @noble/curves/esm/ed25519.js:
102766
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102767
-
102768
103496
  @noble/curves/esm/ed448.js:
102769
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102770
-
102771
103497
  @noble/curves/esm/abstract/weierstrass.js:
102772
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102773
-
102774
103498
  @noble/curves/esm/_shortw_utils.js:
102775
- (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
102776
-
102777
103499
  @noble/curves/esm/nist.js:
102778
103500
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
103501
+
103502
+ @noble/ciphers/utils.js:
103503
+ (*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) *)
102779
103504
  */
102780
103505
  //# sourceMappingURL=index.js.map