agents 0.0.0-696d33e → 0.0.0-6db2cd6

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.
Files changed (54) hide show
  1. package/README.md +125 -3
  2. package/dist/_esm-LV5FJ3HK.js +3922 -0
  3. package/dist/_esm-LV5FJ3HK.js.map +1 -0
  4. package/dist/ai-chat-agent.d.ts +1 -1
  5. package/dist/ai-chat-agent.js +79 -56
  6. package/dist/ai-chat-agent.js.map +1 -1
  7. package/dist/ai-chat-v5-migration.js +1 -0
  8. package/dist/ai-react.d.ts +7 -1
  9. package/dist/ai-react.js +155 -110
  10. package/dist/ai-react.js.map +1 -1
  11. package/dist/ai-types.d.ts +1 -0
  12. package/dist/ai-types.js +2 -1
  13. package/dist/ccip-CMBYN64O.js +15 -0
  14. package/dist/ccip-CMBYN64O.js.map +1 -0
  15. package/dist/chunk-5Y6BEZDY.js +276 -0
  16. package/dist/chunk-5Y6BEZDY.js.map +1 -0
  17. package/dist/{chunk-AVYJQSLW.js → chunk-BER7KXUJ.js} +2 -1
  18. package/dist/chunk-BER7KXUJ.js.map +1 -0
  19. package/dist/chunk-JJBFIGUC.js +5202 -0
  20. package/dist/chunk-JJBFIGUC.js.map +1 -0
  21. package/dist/{chunk-PNF6ZMUA.js → chunk-KK7D3KRW.js} +9 -5
  22. package/dist/chunk-KK7D3KRW.js.map +1 -0
  23. package/dist/chunk-PR4QN5HX.js +43 -0
  24. package/dist/chunk-PR4QN5HX.js.map +1 -0
  25. package/dist/{chunk-VYENMKFS.js → chunk-THPMWGLS.js} +4 -3
  26. package/dist/chunk-THPMWGLS.js.map +1 -0
  27. package/dist/chunk-TYAY6AU6.js +159 -0
  28. package/dist/chunk-TYAY6AU6.js.map +1 -0
  29. package/dist/{client-B9tFv5gX.d.ts → client-CvaJdLQA.d.ts} +413 -5
  30. package/dist/client.js +2 -1
  31. package/dist/index.d.ts +12 -3
  32. package/dist/index.js +4 -3
  33. package/dist/mcp/client.d.ts +1 -1
  34. package/dist/mcp/client.js +2 -1
  35. package/dist/mcp/do-oauth-client-provider.js +1 -0
  36. package/dist/mcp/index.d.ts +56 -76
  37. package/dist/mcp/index.js +902 -759
  38. package/dist/mcp/index.js.map +1 -1
  39. package/dist/mcp/x402.d.ts +31 -0
  40. package/dist/mcp/x402.js +3195 -0
  41. package/dist/mcp/x402.js.map +1 -0
  42. package/dist/observability/index.js +4 -3
  43. package/dist/react.d.ts +1 -1
  44. package/dist/react.js +2 -1
  45. package/dist/react.js.map +1 -1
  46. package/dist/schedule.js +2 -0
  47. package/dist/schedule.js.map +1 -1
  48. package/dist/secp256k1-M22GZP2U.js +2193 -0
  49. package/dist/secp256k1-M22GZP2U.js.map +1 -0
  50. package/package.json +14 -6
  51. package/src/index.ts +21 -6
  52. package/dist/chunk-AVYJQSLW.js.map +0 -1
  53. package/dist/chunk-PNF6ZMUA.js.map +0 -1
  54. package/dist/chunk-VYENMKFS.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../node_modules/@noble/hashes/src/cryptoNode.ts","../../../node_modules/@noble/hashes/src/utils.ts","../../../node_modules/@noble/hashes/src/_u64.ts"],"sourcesContent":["/**\n * Internal webcrypto alias.\n * We prefer WebCrypto aka globalThis.crypto, which exists in node.js 16+.\n * Falls back to Node.js built-in crypto for Node.js <=v14.\n * See utils.ts for details.\n * @module\n */\n// @ts-ignore\nimport * as nc from 'node:crypto';\nexport const crypto: any =\n nc && typeof nc === 'object' && 'webcrypto' in nc\n ? (nc.webcrypto as any)\n : nc && typeof nc === 'object' && 'randomBytes' in nc\n ? nc\n : undefined;\n","/**\n * Utilities for hex, bytes, CSPRNG.\n * @module\n */\n/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n\n// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.\n// node.js versions earlier than v19 don't declare it in global scope.\n// For node.js, package.json#exports field mapping rewrites import\n// from `crypto` to `cryptoNode`, which imports native module.\n// Makes the utils un-importable in browsers without a bundler.\n// Once node.js 18 is deprecated (2025-04-30), we can just drop the import.\nimport { crypto } from '@noble/hashes/crypto';\n\n/** Checks if something is Uint8Array. Be careful: nodejs Buffer will return true. */\nexport function isBytes(a: unknown): a is Uint8Array {\n return a instanceof Uint8Array || (ArrayBuffer.isView(a) && a.constructor.name === 'Uint8Array');\n}\n\n/** Asserts something is positive integer. */\nexport function anumber(n: number): void {\n if (!Number.isSafeInteger(n) || n < 0) throw new Error('positive integer expected, got ' + n);\n}\n\n/** Asserts something is Uint8Array. */\nexport function abytes(b: Uint8Array | undefined, ...lengths: number[]): void {\n if (!isBytes(b)) throw new Error('Uint8Array expected');\n if (lengths.length > 0 && !lengths.includes(b.length))\n throw new Error('Uint8Array expected of length ' + lengths + ', got length=' + b.length);\n}\n\n/** Asserts something is hash */\nexport function ahash(h: IHash): void {\n if (typeof h !== 'function' || typeof h.create !== 'function')\n throw new Error('Hash should be wrapped by utils.createHasher');\n anumber(h.outputLen);\n anumber(h.blockLen);\n}\n\n/** Asserts a hash instance has not been destroyed / finished */\nexport function aexists(instance: any, checkFinished = true): void {\n if (instance.destroyed) throw new Error('Hash instance has been destroyed');\n if (checkFinished && instance.finished) throw new Error('Hash#digest() has already been called');\n}\n\n/** Asserts output is properly-sized byte array */\nexport function aoutput(out: any, instance: any): void {\n abytes(out);\n const min = instance.outputLen;\n if (out.length < min) {\n throw new Error('digestInto() expects output buffer of length at least ' + min);\n }\n}\n\n/** Generic type encompassing 8/16/32-byte arrays - but not 64-byte. */\n// prettier-ignore\nexport type TypedArray = Int8Array | Uint8ClampedArray | Uint8Array |\n Uint16Array | Int16Array | Uint32Array | Int32Array;\n\n/** Cast u8 / u16 / u32 to u8. */\nexport function u8(arr: TypedArray): Uint8Array {\n return new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);\n}\n\n/** Cast u8 / u16 / u32 to u32. */\nexport function u32(arr: TypedArray): Uint32Array {\n return new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));\n}\n\n/** Zeroize a byte array. Warning: JS provides no guarantees. */\nexport function clean(...arrays: TypedArray[]): void {\n for (let i = 0; i < arrays.length; i++) {\n arrays[i].fill(0);\n }\n}\n\n/** Create DataView of an array for easy byte-level manipulation. */\nexport function createView(arr: TypedArray): DataView {\n return new DataView(arr.buffer, arr.byteOffset, arr.byteLength);\n}\n\n/** The rotate right (circular right shift) operation for uint32 */\nexport function rotr(word: number, shift: number): number {\n return (word << (32 - shift)) | (word >>> shift);\n}\n\n/** The rotate left (circular left shift) operation for uint32 */\nexport function rotl(word: number, shift: number): number {\n return (word << shift) | ((word >>> (32 - shift)) >>> 0);\n}\n\n/** Is current platform little-endian? Most are. Big-Endian platform: IBM */\nexport const isLE: boolean = /* @__PURE__ */ (() =>\n new Uint8Array(new Uint32Array([0x11223344]).buffer)[0] === 0x44)();\n\n/** The byte swap operation for uint32 */\nexport function byteSwap(word: number): number {\n return (\n ((word << 24) & 0xff000000) |\n ((word << 8) & 0xff0000) |\n ((word >>> 8) & 0xff00) |\n ((word >>> 24) & 0xff)\n );\n}\n/** Conditionally byte swap if on a big-endian platform */\nexport const swap8IfBE: (n: number) => number = isLE\n ? (n: number) => n\n : (n: number) => byteSwap(n);\n\n/** @deprecated */\nexport const byteSwapIfBE: typeof swap8IfBE = swap8IfBE;\n/** In place byte swap for Uint32Array */\nexport function byteSwap32(arr: Uint32Array): Uint32Array {\n for (let i = 0; i < arr.length; i++) {\n arr[i] = byteSwap(arr[i]);\n }\n return arr;\n}\n\nexport const swap32IfBE: (u: Uint32Array) => Uint32Array = isLE\n ? (u: Uint32Array) => u\n : byteSwap32;\n\n// Built-in hex conversion https://caniuse.com/mdn-javascript_builtins_uint8array_fromhex\nconst hasHexBuiltin: boolean = /* @__PURE__ */ (() =>\n // @ts-ignore\n typeof Uint8Array.from([]).toHex === 'function' && typeof Uint8Array.fromHex === 'function')();\n\n// Array where index 0xf0 (240) is mapped to string 'f0'\nconst hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) =>\n i.toString(16).padStart(2, '0')\n);\n\n/**\n * Convert byte array to hex string. Uses built-in function, when available.\n * @example bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'\n */\nexport function bytesToHex(bytes: Uint8Array): string {\n abytes(bytes);\n // @ts-ignore\n if (hasHexBuiltin) return bytes.toHex();\n // pre-caching improves the speed 6x\n let hex = '';\n for (let i = 0; i < bytes.length; i++) {\n hex += hexes[bytes[i]];\n }\n return hex;\n}\n\n// We use optimized technique to convert hex string to byte array\nconst asciis = { _0: 48, _9: 57, A: 65, F: 70, a: 97, f: 102 } as const;\nfunction asciiToBase16(ch: number): number | undefined {\n if (ch >= asciis._0 && ch <= asciis._9) return ch - asciis._0; // '2' => 50-48\n if (ch >= asciis.A && ch <= asciis.F) return ch - (asciis.A - 10); // 'B' => 66-(65-10)\n if (ch >= asciis.a && ch <= asciis.f) return ch - (asciis.a - 10); // 'b' => 98-(97-10)\n return;\n}\n\n/**\n * Convert hex string to byte array. Uses built-in function, when available.\n * @example hexToBytes('cafe0123') // Uint8Array.from([0xca, 0xfe, 0x01, 0x23])\n */\nexport function hexToBytes(hex: string): Uint8Array {\n if (typeof hex !== 'string') throw new Error('hex string expected, got ' + typeof hex);\n // @ts-ignore\n if (hasHexBuiltin) return Uint8Array.fromHex(hex);\n const hl = hex.length;\n const al = hl / 2;\n if (hl % 2) throw new Error('hex string expected, got unpadded hex of length ' + hl);\n const array = new Uint8Array(al);\n for (let ai = 0, hi = 0; ai < al; ai++, hi += 2) {\n const n1 = asciiToBase16(hex.charCodeAt(hi));\n const n2 = asciiToBase16(hex.charCodeAt(hi + 1));\n if (n1 === undefined || n2 === undefined) {\n const char = hex[hi] + hex[hi + 1];\n throw new Error('hex string expected, got non-hex character \"' + char + '\" at index ' + hi);\n }\n array[ai] = n1 * 16 + n2; // multiply first octet, e.g. 'a3' => 10*16+3 => 160 + 3 => 163\n }\n return array;\n}\n\n/**\n * There is no setImmediate in browser and setTimeout is slow.\n * Call of async fn will return Promise, which will be fullfiled only on\n * next scheduler queue processing step and this is exactly what we need.\n */\nexport const nextTick = async (): Promise<void> => {};\n\n/** Returns control to thread each 'tick' ms to avoid blocking. */\nexport async function asyncLoop(\n iters: number,\n tick: number,\n cb: (i: number) => void\n): Promise<void> {\n let ts = Date.now();\n for (let i = 0; i < iters; i++) {\n cb(i);\n // Date.now() is not monotonic, so in case if clock goes backwards we return return control too\n const diff = Date.now() - ts;\n if (diff >= 0 && diff < tick) continue;\n await nextTick();\n ts += diff;\n }\n}\n\n// Global symbols, but ts doesn't see them: https://github.com/microsoft/TypeScript/issues/31535\ndeclare const TextEncoder: any;\ndeclare const TextDecoder: any;\n\n/**\n * Converts string to bytes using UTF8 encoding.\n * @example utf8ToBytes('abc') // Uint8Array.from([97, 98, 99])\n */\nexport function utf8ToBytes(str: string): Uint8Array {\n if (typeof str !== 'string') throw new Error('string expected');\n return new Uint8Array(new TextEncoder().encode(str)); // https://bugzil.la/1681809\n}\n\n/**\n * Converts bytes to string using UTF8 encoding.\n * @example bytesToUtf8(Uint8Array.from([97, 98, 99])) // 'abc'\n */\nexport function bytesToUtf8(bytes: Uint8Array): string {\n return new TextDecoder().decode(bytes);\n}\n\n/** Accepted input of hash functions. Strings are converted to byte arrays. */\nexport type Input = string | Uint8Array;\n/**\n * Normalizes (non-hex) string or Uint8Array to Uint8Array.\n * Warning: when Uint8Array is passed, it would NOT get copied.\n * Keep in mind for future mutable operations.\n */\nexport function toBytes(data: Input): Uint8Array {\n if (typeof data === 'string') data = utf8ToBytes(data);\n abytes(data);\n return data;\n}\n\n/** KDFs can accept string or Uint8Array for user convenience. */\nexport type KDFInput = string | Uint8Array;\n/**\n * Helper for KDFs: consumes uint8array or string.\n * When string is passed, does utf8 decoding, using TextDecoder.\n */\nexport function kdfInputToBytes(data: KDFInput): Uint8Array {\n if (typeof data === 'string') data = utf8ToBytes(data);\n abytes(data);\n return data;\n}\n\n/** Copies several Uint8Arrays into one. */\nexport function concatBytes(...arrays: Uint8Array[]): Uint8Array {\n let sum = 0;\n for (let i = 0; i < arrays.length; i++) {\n const a = arrays[i];\n abytes(a);\n sum += a.length;\n }\n const res = new Uint8Array(sum);\n for (let i = 0, pad = 0; i < arrays.length; i++) {\n const a = arrays[i];\n res.set(a, pad);\n pad += a.length;\n }\n return res;\n}\n\ntype EmptyObj = {};\nexport function checkOpts<T1 extends EmptyObj, T2 extends EmptyObj>(\n defaults: T1,\n opts?: T2\n): T1 & T2 {\n if (opts !== undefined && {}.toString.call(opts) !== '[object Object]')\n throw new Error('options should be object or undefined');\n const merged = Object.assign(defaults, opts);\n return merged as T1 & T2;\n}\n\n/** Hash interface. */\nexport type IHash = {\n (data: Uint8Array): Uint8Array;\n blockLen: number;\n outputLen: number;\n create: any;\n};\n\n/** For runtime check if class implements interface */\nexport abstract class Hash<T extends Hash<T>> {\n abstract blockLen: number; // Bytes per block\n abstract outputLen: number; // Bytes in output\n abstract update(buf: Input): this;\n // Writes digest into buf\n abstract digestInto(buf: Uint8Array): void;\n abstract digest(): Uint8Array;\n /**\n * Resets internal state. Makes Hash instance unusable.\n * Reset is impossible for keyed hashes if key is consumed into state. If digest is not consumed\n * by user, they will need to manually call `destroy()` when zeroing is necessary.\n */\n abstract destroy(): void;\n /**\n * Clones hash instance. Unsafe: doesn't check whether `to` is valid. Can be used as `clone()`\n * when no options are passed.\n * Reasons to use `_cloneInto` instead of clone: 1) performance 2) reuse instance => all internal\n * buffers are overwritten => causes buffer overwrite which is used for digest in some cases.\n * There are no guarantees for clean-up because it's impossible in JS.\n */\n abstract _cloneInto(to?: T): T;\n // Safe version that clones internal state\n abstract clone(): T;\n}\n\n/**\n * XOF: streaming API to read digest in chunks.\n * Same as 'squeeze' in keccak/k12 and 'seek' in blake3, but more generic name.\n * When hash used in XOF mode it is up to user to call '.destroy' afterwards, since we cannot\n * destroy state, next call can require more bytes.\n */\nexport type HashXOF<T extends Hash<T>> = Hash<T> & {\n xof(bytes: number): Uint8Array; // Read 'bytes' bytes from digest stream\n xofInto(buf: Uint8Array): Uint8Array; // read buf.length bytes from digest stream into buf\n};\n\n/** Hash function */\nexport type CHash = ReturnType<typeof createHasher>;\n/** Hash function with output */\nexport type CHashO = ReturnType<typeof createOptHasher>;\n/** XOF with output */\nexport type CHashXO = ReturnType<typeof createXOFer>;\n\n/** Wraps hash function, creating an interface on top of it */\nexport function createHasher<T extends Hash<T>>(\n hashCons: () => Hash<T>\n): {\n (msg: Input): Uint8Array;\n outputLen: number;\n blockLen: number;\n create(): Hash<T>;\n} {\n const hashC = (msg: Input): Uint8Array => hashCons().update(toBytes(msg)).digest();\n const tmp = hashCons();\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = () => hashCons();\n return hashC;\n}\n\nexport function createOptHasher<H extends Hash<H>, T extends Object>(\n hashCons: (opts?: T) => Hash<H>\n): {\n (msg: Input, opts?: T): Uint8Array;\n outputLen: number;\n blockLen: number;\n create(opts?: T): Hash<H>;\n} {\n const hashC = (msg: Input, opts?: T): Uint8Array => hashCons(opts).update(toBytes(msg)).digest();\n const tmp = hashCons({} as T);\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = (opts?: T) => hashCons(opts);\n return hashC;\n}\n\nexport function createXOFer<H extends HashXOF<H>, T extends Object>(\n hashCons: (opts?: T) => HashXOF<H>\n): {\n (msg: Input, opts?: T): Uint8Array;\n outputLen: number;\n blockLen: number;\n create(opts?: T): HashXOF<H>;\n} {\n const hashC = (msg: Input, opts?: T): Uint8Array => hashCons(opts).update(toBytes(msg)).digest();\n const tmp = hashCons({} as T);\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = (opts?: T) => hashCons(opts);\n return hashC;\n}\nexport const wrapConstructor: typeof createHasher = createHasher;\nexport const wrapConstructorWithOpts: typeof createOptHasher = createOptHasher;\nexport const wrapXOFConstructorWithOpts: typeof createXOFer = createXOFer;\n\n/** Cryptographically secure PRNG. Uses internal OS-level `crypto.getRandomValues`. */\nexport function randomBytes(bytesLength = 32): Uint8Array {\n if (crypto && typeof crypto.getRandomValues === 'function') {\n return crypto.getRandomValues(new Uint8Array(bytesLength));\n }\n // Legacy Node.js compatibility\n if (crypto && typeof crypto.randomBytes === 'function') {\n return Uint8Array.from(crypto.randomBytes(bytesLength));\n }\n throw new Error('crypto.getRandomValues must be defined');\n}\n","/**\n * Internal helpers for u64. BigUint64Array is too slow as per 2025, so we implement it using Uint32Array.\n * @todo re-check https://issues.chromium.org/issues/42212588\n * @module\n */\nconst U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);\nconst _32n = /* @__PURE__ */ BigInt(32);\n\nfunction fromBig(\n n: bigint,\n le = false\n): {\n h: number;\n l: number;\n} {\n if (le) return { h: Number(n & U32_MASK64), l: Number((n >> _32n) & U32_MASK64) };\n return { h: Number((n >> _32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };\n}\n\nfunction split(lst: bigint[], le = false): Uint32Array[] {\n const len = lst.length;\n let Ah = new Uint32Array(len);\n let Al = new Uint32Array(len);\n for (let i = 0; i < len; i++) {\n const { h, l } = fromBig(lst[i], le);\n [Ah[i], Al[i]] = [h, l];\n }\n return [Ah, Al];\n}\n\nconst toBig = (h: number, l: number): bigint => (BigInt(h >>> 0) << _32n) | BigInt(l >>> 0);\n// for Shift in [0, 32)\nconst shrSH = (h: number, _l: number, s: number): number => h >>> s;\nconst shrSL = (h: number, l: number, s: number): number => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in [1, 32)\nconst rotrSH = (h: number, l: number, s: number): number => (h >>> s) | (l << (32 - s));\nconst rotrSL = (h: number, l: number, s: number): number => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotrBH = (h: number, l: number, s: number): number => (h << (64 - s)) | (l >>> (s - 32));\nconst rotrBL = (h: number, l: number, s: number): number => (h >>> (s - 32)) | (l << (64 - s));\n// Right rotate for shift===32 (just swaps l&h)\nconst rotr32H = (_h: number, l: number): number => l;\nconst rotr32L = (h: number, _l: number): number => h;\n// Left rotate for Shift in [1, 32)\nconst rotlSH = (h: number, l: number, s: number): number => (h << s) | (l >>> (32 - s));\nconst rotlSL = (h: number, l: number, s: number): number => (l << s) | (h >>> (32 - s));\n// Left rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotlBH = (h: number, l: number, s: number): number => (l << (s - 32)) | (h >>> (64 - s));\nconst rotlBL = (h: number, l: number, s: number): number => (h << (s - 32)) | (l >>> (64 - s));\n\n// JS uses 32-bit signed integers for bitwise operations which means we cannot\n// simple take carry out of low bit sum by shift, we need to use division.\nfunction add(\n Ah: number,\n Al: number,\n Bh: number,\n Bl: number\n): {\n h: number;\n l: number;\n} {\n const l = (Al >>> 0) + (Bl >>> 0);\n return { h: (Ah + Bh + ((l / 2 ** 32) | 0)) | 0, l: l | 0 };\n}\n// Addition with more than 2 elements\nconst add3L = (Al: number, Bl: number, Cl: number): number => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0);\nconst add3H = (low: number, Ah: number, Bh: number, Ch: number): number =>\n (Ah + Bh + Ch + ((low / 2 ** 32) | 0)) | 0;\nconst add4L = (Al: number, Bl: number, Cl: number, Dl: number): number =>\n (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0);\nconst add4H = (low: number, Ah: number, Bh: number, Ch: number, Dh: number): number =>\n (Ah + Bh + Ch + Dh + ((low / 2 ** 32) | 0)) | 0;\nconst add5L = (Al: number, Bl: number, Cl: number, Dl: number, El: number): number =>\n (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0) + (El >>> 0);\nconst add5H = (low: number, Ah: number, Bh: number, Ch: number, Dh: number, Eh: number): number =>\n (Ah + Bh + Ch + Dh + Eh + ((low / 2 ** 32) | 0)) | 0;\n\n// prettier-ignore\nexport {\n add, add3H, add3L, add4H, add4L, add5H, add5L, fromBig, rotlBH, rotlBL, rotlSH, rotlSL, rotr32H, rotr32L, rotrBH, rotrBL, rotrSH, rotrSL, shrSH, shrSL, split, toBig\n};\n// prettier-ignore\nconst u64: { fromBig: typeof fromBig; split: typeof split; toBig: (h: number, l: number) => bigint; shrSH: (h: number, _l: number, s: number) => number; shrSL: (h: number, l: number, s: number) => number; rotrSH: (h: number, l: number, s: number) => number; rotrSL: (h: number, l: number, s: number) => number; rotrBH: (h: number, l: number, s: number) => number; rotrBL: (h: number, l: number, s: number) => number; rotr32H: (_h: number, l: number) => number; rotr32L: (h: number, _l: number) => number; rotlSH: (h: number, l: number, s: number) => number; rotlSL: (h: number, l: number, s: number) => number; rotlBH: (h: number, l: number, s: number) => number; rotlBL: (h: number, l: number, s: number) => number; add: typeof add; add3L: (Al: number, Bl: number, Cl: number) => number; add3H: (low: number, Ah: number, Bh: number, Ch: number) => number; add4L: (Al: number, Bl: number, Cl: number, Dl: number) => number; add4H: (low: number, Ah: number, Bh: number, Ch: number, Dh: number) => number; add5H: (low: number, Ah: number, Bh: number, Ch: number, Dh: number, Eh: number) => number; add5L: (Al: number, Bl: number, Cl: number, Dl: number, El: number) => number; } = {\n fromBig, split, toBig,\n shrSH, shrSL,\n rotrSH, rotrSL, rotrBH, rotrBL,\n rotr32H, rotr32L,\n rotlSH, rotlSL, rotlBH, rotlBL,\n add, add3L, add3H, add4L, add4H, add5H, add5L,\n};\nexport default u64;\n"],"mappings":";AAQA,YAAY,QAAQ;AACb,IAAM,SACX,MAAM,OAAO,OAAO,YAAY,eAAe,KACvC,eACJ,MAAM,OAAO,OAAO,YAAY,iBAAiB,KAC/C,KACA;;;ACCF,SAAU,QAAQ,GAAU;AAChC,SAAO,aAAa,cAAe,YAAY,OAAO,CAAC,KAAK,EAAE,YAAY,SAAS;AACrF;AAGM,SAAU,QAAQ,GAAS;AAC/B,MAAI,CAAC,OAAO,cAAc,CAAC,KAAK,IAAI;AAAG,UAAM,IAAI,MAAM,oC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chTools(): Promise<
107
107
  {
108
108
  [x: string]: unknown;
109
- name: string;
110
109
  inputSchema: {
111
110
  [x: string]: unknown;
112
111
  type: "object";
@@ -117,6 +116,7 @@ declare class MCPClientConnection {
117
116
  | undefined;
118
117
  required?: string[] | undefined;
119
118
  };
119
+ name: string;
120
120
  outputSchema?:
121
121
  | {
122
122
  [x: string]: unknown;
@@ -129,13 +129,13 @@ declare class MCPClientConnection {
129
129
  required?: string[] | undefined;
130
130
  }
131
131
  | undefined;
132
+ description?: string | undefined;
132
133
  _meta?:
133
134
  | {
134
135
  [x: string]: unknown;
135
136
  }
136
137
  | undefined;
137
138
  title?: string | undefined;
138
- description?: string | undefined;
139
139
  annotations?:
140
140
  | {
141
141
  [x: string]: unknown;
@@ -146,6 +146,14 @@ declare class MCPClientConnection {
146
146
  openWorldHint?: boolean | undefined;
147
147
  }
148
148
  | undefined;
149
+ icons?:
150
+ | {
151
+ [x: string]: unknown;
152
+ src: string;
153
+ mimeType?: string | undefined;
154
+ sizes?: string | undefined;
155
+ }[]
156
+ | undefined;
149
157
  }[]
150
158
  >;
151
159
  fetchResources(): Promise<
@@ -153,13 +161,21 @@ declare class MCPClientConnection {
153
161
  [x: string]: unknown;
154
162
  name: string;
155
163
  uri: string;
164
+ description?: string | undefined;
156
165
  _meta?:
157
166
  | {
158
167
  [x: string]: unknown;
159
168
  }
160
169
  | undefined;
161
170
  title?: string | undefined;
162
- description?: string | undefined;
171
+ icons?:
172
+ | {
173
+ [x: string]: unknown;
174
+ src: string;
175
+ mimeType?: string | undefined;
176
+ sizes?: string | undefined;
177
+ }[]
178
+ | undefined;
163
179
  mimeType?: string | undefined;
164
180
  }[]
165
181
  >;
@@ -167,13 +183,21 @@ declare class MCPClientConnection {
167
183
  {
168
184
  [x: string]: unknown;
169
185
  name: string;
186
+ description?: string | undefined;
170
187
  _meta?:
171
188
  | {
172
189
  [x: string]: unknown;
173
190
  }
174
191
  | undefined;
175
192
  title?: string | undefined;
176
- description?: string | undefined;
193
+ icons?:
194
+ | {
195
+ [x: string]: unknown;
196
+ src: string;
197
+ mimeType?: string | undefined;
198
+ sizes?: string | undefined;
199
+ }[]
200
+ | undefined;
177
201
  arguments?:
178
202
  | {
179
203
  [x: string]: unknown;
@@ -189,13 +213,13 @@ declare class MCPClientConnection {
189
213
  [x: string]: unknown;
190
214
  name: string;
191
215
  uriTemplate: string;
216
+ description?: string | undefined;
192
217
  _meta?:
193
218
  | {
194
219
  [x: string]: unknown;
195
220
  }
196
221
  | undefined;
197
222
  title?: string | undefined;
198
- description?: string | undefined;
199
223
  mimeType?: string | undefined;
200
224
  }[]
201
225
  >;
@@ -552,6 +576,38 @@ declare class MCPClientManager {
552
576
  uri: zod.ZodString;
553
577
  description: zod.ZodOptional<zod.ZodString>;
554
578
  mimeType: zod.ZodOptional<zod.ZodString>;
579
+ icons: zod.ZodOptional<
580
+ zod.ZodArray<
581
+ zod.ZodObject<
582
+ {
583
+ src: zod.ZodString;
584
+ mimeType: zod.ZodOptional<zod.ZodString>;
585
+ sizes: zod.ZodOptional<zod.ZodString>;
586
+ },
587
+ "passthrough",
588
+ zod.ZodTypeAny,
589
+ zod.objectOutputType<
590
+ {
591
+ src: zod.ZodString;
592
+ mimeType: zod.ZodOptional<zod.ZodString>;
593
+ sizes: zod.ZodOptional<zod.ZodString>;
594
+ },
595
+ zod.ZodTypeAny,
596
+ "passthrough"
597
+ >,
598
+ zod.objectInputType<
599
+ {
600
+ src: zod.ZodString;
601
+ mimeType: zod.ZodOptional<zod.ZodString>;
602
+ sizes: zod.ZodOptional<zod.ZodString>;
603
+ },
604
+ zod.ZodTypeAny,
605
+ "passthrough"
606
+ >
607
+ >,
608
+ "many"
609
+ >
610
+ >;
555
611
  _meta: zod.ZodOptional<
556
612
  zod.ZodObject<
557
613
  {},
@@ -588,6 +644,38 @@ declare class MCPClientManager {
588
644
  uri: zod.ZodString;
589
645
  description: zod.ZodOptional<zod.ZodString>;
590
646
  mimeType: zod.ZodOptional<zod.ZodString>;
647
+ icons: zod.ZodOptional<
648
+ zod.ZodArray<
649
+ zod.ZodObject<
650
+ {
651
+ src: zod.ZodString;
652
+ mimeType: zod.ZodOptional<zod.ZodString>;
653
+ sizes: zod.ZodOptional<zod.ZodString>;
654
+ },
655
+ "passthrough",
656
+ zod.ZodTypeAny,
657
+ zod.objectOutputType<
658
+ {
659
+ src: zod.ZodString;
660
+ mimeType: zod.ZodOptional<zod.ZodString>;
661
+ sizes: zod.ZodOptional<zod.ZodString>;
662
+ },
663
+ zod.ZodTypeAny,
664
+ "passthrough"
665
+ >,
666
+ zod.objectInputType<
667
+ {
668
+ src: zod.ZodString;
669
+ mimeType: zod.ZodOptional<zod.ZodString>;
670
+ sizes: zod.ZodOptional<zod.ZodString>;
671
+ },
672
+ zod.ZodTypeAny,
673
+ "passthrough"
674
+ >
675
+ >,
676
+ "many"
677
+ >
678
+ >;
591
679
  _meta: zod.ZodOptional<
592
680
  zod.ZodObject<
593
681
  {},
@@ -625,6 +713,38 @@ declare class MCPClientManager {
625
713
  uri: zod.ZodString;
626
714
  description: zod.ZodOptional<zod.ZodString>;
627
715
  mimeType: zod.ZodOptional<zod.ZodString>;
716
+ icons: zod.ZodOptional<
717
+ zod.ZodArray<
718
+ zod.ZodObject<
719
+ {
720
+ src: zod.ZodString;
721
+ mimeType: zod.ZodOptional<zod.ZodString>;
722
+ sizes: zod.ZodOptional<zod.ZodString>;
723
+ },
724
+ "passthrough",
725
+ zod.ZodTypeAny,
726
+ zod.objectOutputType<
727
+ {
728
+ src: zod.ZodString;
729
+ mimeType: zod.ZodOptional<zod.ZodString>;
730
+ sizes: zod.ZodOptional<zod.ZodString>;
731
+ },
732
+ zod.ZodTypeAny,
733
+ "passthrough"
734
+ >,
735
+ zod.objectInputType<
736
+ {
737
+ src: zod.ZodString;
738
+ mimeType: zod.ZodOptional<zod.ZodString>;
739
+ sizes: zod.ZodOptional<zod.ZodString>;
740
+ },
741
+ zod.ZodTypeAny,
742
+ "passthrough"
743
+ >
744
+ >,
745
+ "many"
746
+ >
747
+ >;
628
748
  _meta: zod.ZodOptional<
629
749
  zod.ZodObject<
630
750
  {},
@@ -1784,6 +1904,38 @@ declare class MCPClientManager {
1784
1904
  uri: zod.ZodString;
1785
1905
  description: zod.ZodOptional<zod.ZodString>;
1786
1906
  mimeType: zod.ZodOptional<zod.ZodString>;
1907
+ icons: zod.ZodOptional<
1908
+ zod.ZodArray<
1909
+ zod.ZodObject<
1910
+ {
1911
+ src: zod.ZodString;
1912
+ mimeType: zod.ZodOptional<zod.ZodString>;
1913
+ sizes: zod.ZodOptional<zod.ZodString>;
1914
+ },
1915
+ "passthrough",
1916
+ zod.ZodTypeAny,
1917
+ zod.objectOutputType<
1918
+ {
1919
+ src: zod.ZodString;
1920
+ mimeType: zod.ZodOptional<zod.ZodString>;
1921
+ sizes: zod.ZodOptional<zod.ZodString>;
1922
+ },
1923
+ zod.ZodTypeAny,
1924
+ "passthrough"
1925
+ >,
1926
+ zod.objectInputType<
1927
+ {
1928
+ src: zod.ZodString;
1929
+ mimeType: zod.ZodOptional<zod.ZodString>;
1930
+ sizes: zod.ZodOptional<zod.ZodString>;
1931
+ },
1932
+ zod.ZodTypeAny,
1933
+ "passthrough"
1934
+ >
1935
+ >,
1936
+ "many"
1937
+ >
1938
+ >;
1787
1939
  _meta: zod.ZodOptional<
1788
1940
  zod.ZodObject<
1789
1941
  {},
@@ -1820,6 +1972,38 @@ declare class MCPClientManager {
1820
1972
  uri: zod.ZodString;
1821
1973
  description: zod.ZodOptional<zod.ZodString>;
1822
1974
  mimeType: zod.ZodOptional<zod.ZodString>;
1975
+ icons: zod.ZodOptional<
1976
+ zod.ZodArray<
1977
+ zod.ZodObject<
1978
+ {
1979
+ src: zod.ZodString;
1980
+ mimeType: zod.ZodOptional<zod.ZodString>;
1981
+ sizes: zod.ZodOptional<zod.ZodString>;
1982
+ },
1983
+ "passthrough",
1984
+ zod.ZodTypeAny,
1985
+ zod.objectOutputType<
1986
+ {
1987
+ src: zod.ZodString;
1988
+ mimeType: zod.ZodOptional<zod.ZodString>;
1989
+ sizes: zod.ZodOptional<zod.ZodString>;
1990
+ },
1991
+ zod.ZodTypeAny,
1992
+ "passthrough"
1993
+ >,
1994
+ zod.objectInputType<
1995
+ {
1996
+ src: zod.ZodString;
1997
+ mimeType: zod.ZodOptional<zod.ZodString>;
1998
+ sizes: zod.ZodOptional<zod.ZodString>;
1999
+ },
2000
+ zod.ZodTypeAny,
2001
+ "passthrough"
2002
+ >
2003
+ >,
2004
+ "many"
2005
+ >
2006
+ >;
1823
2007
  _meta: zod.ZodOptional<
1824
2008
  zod.ZodObject<
1825
2009
  {},
@@ -1857,6 +2041,38 @@ declare class MCPClientManager {
1857
2041
  uri: zod.ZodString;
1858
2042
  description: zod.ZodOptional<zod.ZodString>;
1859
2043
  mimeType: zod.ZodOptional<zod.ZodString>;
2044
+ icons: zod.ZodOptional<
2045
+ zod.ZodArray<
2046
+ zod.ZodObject<
2047
+ {
2048
+ src: zod.ZodString;
2049
+ mimeType: zod.ZodOptional<zod.ZodString>;
2050
+ sizes: zod.ZodOptional<zod.ZodString>;
2051
+ },
2052
+ "passthrough",
2053
+ zod.ZodTypeAny,
2054
+ zod.objectOutputType<
2055
+ {
2056
+ src: zod.ZodString;
2057
+ mimeType: zod.ZodOptional<zod.ZodString>;
2058
+ sizes: zod.ZodOptional<zod.ZodString>;
2059
+ },
2060
+ zod.ZodTypeAny,
2061
+ "passthrough"
2062
+ >,
2063
+ zod.objectInputType<
2064
+ {
2065
+ src: zod.ZodString;
2066
+ mimeType: zod.ZodOptional<zod.ZodString>;
2067
+ sizes: zod.ZodOptional<zod.ZodString>;
2068
+ },
2069
+ zod.ZodTypeAny,
2070
+ "passthrough"
2071
+ >
2072
+ >,
2073
+ "many"
2074
+ >
2075
+ >;
1860
2076
  _meta: zod.ZodOptional<
1861
2077
  zod.ZodObject<
1862
2078
  {},
@@ -2792,6 +3008,38 @@ declare class MCPClientManager {
2792
3008
  uri: zod.ZodString;
2793
3009
  description: zod.ZodOptional<zod.ZodString>;
2794
3010
  mimeType: zod.ZodOptional<zod.ZodString>;
3011
+ icons: zod.ZodOptional<
3012
+ zod.ZodArray<
3013
+ zod.ZodObject<
3014
+ {
3015
+ src: zod.ZodString;
3016
+ mimeType: zod.ZodOptional<zod.ZodString>;
3017
+ sizes: zod.ZodOptional<zod.ZodString>;
3018
+ },
3019
+ "passthrough",
3020
+ zod.ZodTypeAny,
3021
+ zod.objectOutputType<
3022
+ {
3023
+ src: zod.ZodString;
3024
+ mimeType: zod.ZodOptional<zod.ZodString>;
3025
+ sizes: zod.ZodOptional<zod.ZodString>;
3026
+ },
3027
+ zod.ZodTypeAny,
3028
+ "passthrough"
3029
+ >,
3030
+ zod.objectInputType<
3031
+ {
3032
+ src: zod.ZodString;
3033
+ mimeType: zod.ZodOptional<zod.ZodString>;
3034
+ sizes: zod.ZodOptional<zod.ZodString>;
3035
+ },
3036
+ zod.ZodTypeAny,
3037
+ "passthrough"
3038
+ >
3039
+ >,
3040
+ "many"
3041
+ >
3042
+ >;
2795
3043
  _meta: zod.ZodOptional<
2796
3044
  zod.ZodObject<
2797
3045
  {},
@@ -2828,6 +3076,38 @@ declare class MCPClientManager {
2828
3076
  uri: zod.ZodString;
2829
3077
  description: zod.ZodOptional<zod.ZodString>;
2830
3078
  mimeType: zod.ZodOptional<zod.ZodString>;
3079
+ icons: zod.ZodOptional<
3080
+ zod.ZodArray<
3081
+ zod.ZodObject<
3082
+ {
3083
+ src: zod.ZodString;
3084
+ mimeType: zod.ZodOptional<zod.ZodString>;
3085
+ sizes: zod.ZodOptional<zod.ZodString>;
3086
+ },
3087
+ "passthrough",
3088
+ zod.ZodTypeAny,
3089
+ zod.objectOutputType<
3090
+ {
3091
+ src: zod.ZodString;
3092
+ mimeType: zod.ZodOptional<zod.ZodString>;
3093
+ sizes: zod.ZodOptional<zod.ZodString>;
3094
+ },
3095
+ zod.ZodTypeAny,
3096
+ "passthrough"
3097
+ >,
3098
+ zod.objectInputType<
3099
+ {
3100
+ src: zod.ZodString;
3101
+ mimeType: zod.ZodOptional<zod.ZodString>;
3102
+ sizes: zod.ZodOptional<zod.ZodString>;
3103
+ },
3104
+ zod.ZodTypeAny,
3105
+ "passthrough"
3106
+ >
3107
+ >,
3108
+ "many"
3109
+ >
3110
+ >;
2831
3111
  _meta: zod.ZodOptional<
2832
3112
  zod.ZodObject<
2833
3113
  {},
@@ -2865,6 +3145,38 @@ declare class MCPClientManager {
2865
3145
  uri: zod.ZodString;
2866
3146
  description: zod.ZodOptional<zod.ZodString>;
2867
3147
  mimeType: zod.ZodOptional<zod.ZodString>;
3148
+ icons: zod.ZodOptional<
3149
+ zod.ZodArray<
3150
+ zod.ZodObject<
3151
+ {
3152
+ src: zod.ZodString;
3153
+ mimeType: zod.ZodOptional<zod.ZodString>;
3154
+ sizes: zod.ZodOptional<zod.ZodString>;
3155
+ },
3156
+ "passthrough",
3157
+ zod.ZodTypeAny,
3158
+ zod.objectOutputType<
3159
+ {
3160
+ src: zod.ZodString;
3161
+ mimeType: zod.ZodOptional<zod.ZodString>;
3162
+ sizes: zod.ZodOptional<zod.ZodString>;
3163
+ },
3164
+ zod.ZodTypeAny,
3165
+ "passthrough"
3166
+ >,
3167
+ zod.objectInputType<
3168
+ {
3169
+ src: zod.ZodString;
3170
+ mimeType: zod.ZodOptional<zod.ZodString>;
3171
+ sizes: zod.ZodOptional<zod.ZodString>;
3172
+ },
3173
+ zod.ZodTypeAny,
3174
+ "passthrough"
3175
+ >
3176
+ >,
3177
+ "many"
3178
+ >
3179
+ >;
2868
3180
  _meta: zod.ZodOptional<
2869
3181
  zod.ZodObject<
2870
3182
  {},
@@ -3805,6 +4117,38 @@ declare class MCPClientManager {
3805
4117
  uri: zod.ZodString;
3806
4118
  description: zod.ZodOptional<zod.ZodString>;
3807
4119
  mimeType: zod.ZodOptional<zod.ZodString>;
4120
+ icons: zod.ZodOptional<
4121
+ zod.ZodArray<
4122
+ zod.ZodObject<
4123
+ {
4124
+ src: zod.ZodString;
4125
+ mimeType: zod.ZodOptional<zod.ZodString>;
4126
+ sizes: zod.ZodOptional<zod.ZodString>;
4127
+ },
4128
+ "passthrough",
4129
+ zod.ZodTypeAny,
4130
+ zod.objectOutputType<
4131
+ {
4132
+ src: zod.ZodString;
4133
+ mimeType: zod.ZodOptional<zod.ZodString>;
4134
+ sizes: zod.ZodOptional<zod.ZodString>;
4135
+ },
4136
+ zod.ZodTypeAny,
4137
+ "passthrough"
4138
+ >,
4139
+ zod.objectInputType<
4140
+ {
4141
+ src: zod.ZodString;
4142
+ mimeType: zod.ZodOptional<zod.ZodString>;
4143
+ sizes: zod.ZodOptional<zod.ZodString>;
4144
+ },
4145
+ zod.ZodTypeAny,
4146
+ "passthrough"
4147
+ >
4148
+ >,
4149
+ "many"
4150
+ >
4151
+ >;
3808
4152
  _meta: zod.ZodOptional<
3809
4153
  zod.ZodObject<
3810
4154
  {},
@@ -3841,6 +4185,38 @@ declare class MCPClientManager {
3841
4185
  uri: zod.ZodString;
3842
4186
  description: zod.ZodOptional<zod.ZodString>;
3843
4187
  mimeType: zod.ZodOptional<zod.ZodString>;
4188
+ icons: zod.ZodOptional<
4189
+ zod.ZodArray<
4190
+ zod.ZodObject<
4191
+ {
4192
+ src: zod.ZodString;
4193
+ mimeType: zod.ZodOptional<zod.ZodString>;
4194
+ sizes: zod.ZodOptional<zod.ZodString>;
4195
+ },
4196
+ "passthrough",
4197
+ zod.ZodTypeAny,
4198
+ zod.objectOutputType<
4199
+ {
4200
+ src: zod.ZodString;
4201
+ mimeType: zod.ZodOptional<zod.ZodString>;
4202
+ sizes: zod.ZodOptional<zod.ZodString>;
4203
+ },
4204
+ zod.ZodTypeAny,
4205
+ "passthrough"
4206
+ >,
4207
+ zod.objectInputType<
4208
+ {
4209
+ src: zod.ZodString;
4210
+ mimeType: zod.ZodOptional<zod.ZodString>;
4211
+ sizes: zod.ZodOptional<zod.ZodString>;
4212
+ },
4213
+ zod.ZodTypeAny,
4214
+ "passthrough"
4215
+ >
4216
+ >,
4217
+ "many"
4218
+ >
4219
+ >;
3844
4220
  _meta: zod.ZodOptional<
3845
4221
  zod.ZodObject<
3846
4222
  {},
@@ -3878,6 +4254,38 @@ declare class MCPClientManager {
3878
4254
  uri: zod.ZodString;
3879
4255
  description: zod.ZodOptional<zod.ZodString>;
3880
4256
  mimeType: zod.ZodOptional<zod.ZodString>;
4257
+ icons: zod.ZodOptional<
4258
+ zod.ZodArray<
4259
+ zod.ZodObject<
4260
+ {
4261
+ src: zod.ZodString;
4262
+ mimeType: zod.ZodOptional<zod.ZodString>;
4263
+ sizes: zod.ZodOptional<zod.ZodString>;
4264
+ },
4265
+ "passthrough",
4266
+ zod.ZodTypeAny,
4267
+ zod.objectOutputType<
4268
+ {
4269
+ src: zod.ZodString;
4270
+ mimeType: zod.ZodOptional<zod.ZodString>;
4271
+ sizes: zod.ZodOptional<zod.ZodString>;
4272
+ },
4273
+ zod.ZodTypeAny,
4274
+ "passthrough"
4275
+ >,
4276
+ zod.objectInputType<
4277
+ {
4278
+ src: zod.ZodString;
4279
+ mimeType: zod.ZodOptional<zod.ZodString>;
4280
+ sizes: zod.ZodOptional<zod.ZodString>;
4281
+ },
4282
+ zod.ZodTypeAny,
4283
+ "passthrough"
4284
+ >
4285
+ >,
4286
+ "many"
4287
+ >
4288
+ >;
3881
4289
  _meta: zod.ZodOptional<
3882
4290
  zod.ZodObject<
3883
4291
  {},
package/dist/client.js CHANGED
@@ -3,7 +3,8 @@ import {
3
3
  agentFetch,
4
4
  camelCaseToKebabCase
5
5
  } from "./chunk-QEVM4BVL.js";
6
- import "./chunk-AVYJQSLW.js";
6
+ import "./chunk-BER7KXUJ.js";
7
+ import "./chunk-PR4QN5HX.js";
7
8
  export {
8
9
  AgentClient,
9
10
  agentFetch,