agentic-numerical-control 0.1.6 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -44
- package/dist/engines/cncjs/LICENSES.txt +2593 -0
- package/dist/engines/cncjs/cncjs-headless.cjs +67988 -0
- package/dist/engines/cncjs/manifest.json +195 -0
- package/dist/engines/kiri/LICENSES.txt +1097 -0
- package/dist/engines/kiri/bin/dom-stub.mjs +30 -0
- package/dist/engines/kiri/bin/kiri-main.js +127342 -0
- package/dist/engines/kiri/bin/kiri-pool.js +83963 -0
- package/dist/engines/kiri/bin/kiri-work.js +136718 -0
- package/dist/engines/kiri/bin/runner.mjs +241 -0
- package/dist/engines/kiri/bin/worker-shim.mjs +32 -0
- package/dist/engines/kiri/manifest.json +356 -0
- package/dist/engines/kiri/wasm/manifold.wasm +0 -0
- package/dist/jobs.html +137 -0
- package/dist/machine.html +164 -0
- package/dist/server/analysis.js +356 -0
- package/dist/server/cam.js +592 -0
- package/dist/server/cncjs.js +194 -75
- package/dist/server/history.js +48 -0
- package/dist/server/jobs.js +60 -3
- package/dist/server/machines.js +96 -0
- package/dist/server/program.js +14 -0
- package/dist/server/server.js +577 -52
- package/dist/server/settings-import.js +237 -0
- package/dist/setup.html +156 -0
- package/dist/viewer.html +296 -265
- package/package.json +9 -5
package/dist/jobs.html
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<meta name="color-scheme" content="light dark">
|
|
7
|
+
<title>Jobs</title>
|
|
8
|
+
<script type="module" crossorigin>var Qu=Object.defineProperty;var Xu=(e,t,n)=>t in e?Qu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var q=(e,t,n)=>Xu(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var ed=Object.create,ti=Object.defineProperty,td=Object.getOwnPropertyDescriptor,nd=Object.getOwnPropertyNames,od=Object.getPrototypeOf,sd=Object.prototype.hasOwnProperty,id=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),rd=(e,t)=>{let n={};for(var o in e)ti(n,o,{get:e[o],enumerable:!0});return n},ad=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(var s=nd(t),i=0,a=s.length,l;i<a;i++)l=s[i],!sd.call(e,l)&&l!==n&&ti(e,l,{get:(c=>t[c]).bind(null,l),enumerable:!(o=td(t,l))||o.enumerable});return e},cd=(e,t,n)=>(n=e!=null?ed(od(e)):{},ad(ti(n,"default",{value:e,enumerable:!0}),e));const ld=new Set(["https://json-schema.org/draft/2019-09/schema","http://json-schema.org/draft/2019-09/schema"]);function ud(e){return typeof e=="string"&&ld.has(e.replace(/#$/,""))}function Ms(e){const t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,s])=>t.indexOf(+o)===-1).map(([o,s])=>s)}function ir(e,t="|"){return e.map(n=>pa(n)).join(t)}function As(e,t){return typeof t=="bigint"?t.toString():t}class dd{constructor(t){this._getter=t,this._value=void 0}get value(){const t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}}function es(e){return new dd(e)}function pd(e){return e==null}function ni(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function md(e,t){const n=e/t,o=Math.round(n),s=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-o)<s?0:n-o}const rr=Symbol("evaluating");function hd(e,t,n){let o;Object.defineProperty(e,t,{get(){if(o!==rr)return o===void 0&&(o=rr,o=n()),o},set(s){Object.defineProperty(e,t,{value:s})},configurable:!0})}function Ne(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function oi(e){const t=Object.getOwnPropertyDescriptor(e,"shape");return t!=null&&t.get?t.get.raw:t==null?void 0:t.value}function je(e){return oi(e._zod.def)??e._zod.def.shape}function ca(e,t,n){Object.defineProperty(e,t,{get(){const o=n();return Ne(this,t,o),o},enumerable:!0,configurable:!0})}function la(e,t,n){t in e?Ne(e,t,n):e[t]=n}function ut(e,t,n,o){const s=je(t);for(const i of n){const a=Object.getOwnPropertyDescriptor(s,i);a.enumerable&&(a.get?ca(e,i,()=>{const l=t._zod.def.shape[i];return o?o(l,i):l}):la(e,i,o?o(a.value,i):a.value))}}function fd(e,t){for(const n of Reflect.ownKeys(t)){const o=Object.getOwnPropertyDescriptor(t,n);o.enumerable&&(o.get?ca(e,n,()=>t[n]):la(e,n,o.value))}}function _e(...e){const t={};for(const n of e){const o=Object.getOwnPropertyDescriptors(n);Object.assign(t,o)}return Object.defineProperties({},t)}function Sd(e){return JSON.stringify(e)}function gd(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const ua="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function to(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const _d=es(()=>{var e;if(ke.jitless||typeof navigator<"u"&&((e=navigator==null?void 0:navigator.userAgent)!=null&&e.includes("Cloudflare")))return!1;try{const t=Function;return new t(""),!0}catch{return!1}});function jt(e){if(to(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(to(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function da(e){return jt(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const bd=new Set(["string","number","symbol"]);function Zt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function We(e,t,n){const o=new e._zod.constr(t??e._zod.def);return(!t||n!=null&&n.parent)&&(o._zod.parent=e),o}function E(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if((t==null?void 0:t.message)!==void 0){if((t==null?void 0:t.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function pa(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function yd(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}const ma={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},vd={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Rd(e,t){const n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i={};return ut(i,e,ts(e,t)),We(e,_e(n,{shape:i,checks:[]}))}function ts(e,t){var s;const n=je(e),o=[];for(const i of Reflect.ownKeys(t)){if(!((s=Object.getOwnPropertyDescriptor(n,i))!=null&&s.enumerable))throw new Error(`Unrecognized key: "${String(i)}"`);t[i]&&o.push(i)}return o}function wd(e,t){const n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=new Set(ts(e,t)),a={};return ut(a,e,Reflect.ownKeys(je(e)).filter(l=>!i.has(l))),We(e,_e(n,{shape:a,checks:[]}))}function Td(e,t){if(!jt(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const s=je(e);for(const i of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(s,i)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return We(e,_e(e._zod.def,{shape:ha(e,t)}))}function ha(e,t){const n={};return ut(n,e,Reflect.ownKeys(je(e))),fd(n,t),n}function Pd(e,t){if(!jt(t))throw new Error("Invalid input to safeExtend: expected a plain object");return We(e,_e(e._zod.def,{shape:ha(e,t)}))}function kd(e,t){var s,i;if(!((s=t==null?void 0:t._zod)!=null&&s.def))throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if((i=e._zod.def.checks)!=null&&i.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const n={};ut(n,e,Reflect.ownKeys(je(e))),ut(n,t,Reflect.ownKeys(je(t)));const o=_e(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return We(e,o)}function ar(e,t,n,o="partial"){const i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${o}() cannot be used on object schemas containing refinements`);const l=n?new Set(ts(t,n)):void 0,c={};return ut(c,t,Reflect.ownKeys(je(t)),e&&((p,m)=>l&&!l.has(m)?p:new e({type:"optional",innerType:p}))),We(t,_e(t._zod.def,{shape:c,checks:[]}))}function Cd(e,t,n){const o=n?new Set(ts(t,n)):void 0,s={};return ut(s,t,Reflect.ownKeys(je(t)),(i,a)=>o&&!o.has(a)?i:new e({type:"nonoptional",innerType:i})),We(t,_e(t._zod.def,{shape:s}))}function Ae(e,t=0){var n;if(e.aborted===!0)return!0;for(let o=t;o<e.issues.length;o++)if(((n=e.issues[o])==null?void 0:n.continue)!==!0)return!0;return!1}function $d(e,t=0){var n;if(e.aborted===!0)return!0;for(let o=t;o<e.issues.length;o++)if(((n=e.issues[o])==null?void 0:n.continue)===!1)return!0;return!1}function It(e,t){return t.map(n=>{var o;return(o=n).path??(o.path=[]),n.path.unshift(e),n})}function Vn(e){return typeof e=="string"?e:e==null?void 0:e.message}function cr(e){const t=[];for(const n of e??[]){const o=n._zod.def;if(!/_(length|size)$|_equals$/.test(o.check))break;const s=o.maximum??o.length??o.size;s>=0&&t.push([s,n])}return t}function Ls(e,t,n){var o;for(let s=t;s<e.length;s++)(o=e[s]).schema??(o.schema=n)}function Be(e,t,n){var c,p,m,h,f,g,_,v,R,T;var o;const s=(p=(c=e.inst)==null?void 0:c._zod)==null?void 0:p.traits;s!=null&&s.has("$ZodType")&&(s.has("$ZodCheck")?(o=e).schema??(o.schema=e.inst):e.schema=e.inst);const i=e.schema!==e.inst?(h=(m=e.schema)==null?void 0:m._zod.def)==null?void 0:h.error:void 0,a=e.message?e.message:Vn((_=(g=(f=e.inst)==null?void 0:f._zod.def)==null?void 0:g.error)==null?void 0:_.call(g,e))??Vn(i==null?void 0:i(e))??Vn((v=t==null?void 0:t.error)==null?void 0:v.call(t,e))??Vn((R=n.customError)==null?void 0:R.call(n,e))??Vn((T=n.localeError)==null?void 0:T.call(n,e))??"Invalid input",l={};for(const C of Object.keys(e))C==="inst"||C==="schema"||C==="continue"||C==="input"||C==="__proto__"||(l[C]=e[C]);return l.path??(l.path=[]),l.message=a,t!=null&&t.reportInput&&(l.input=e.input),l}const Ed=/[\uD800-\uDBFF]/;function si(e){const t=e.length;if(!Ed.test(e))return t;let n=t;for(let o=0;o<t-1;o++)(e.charCodeAt(o)&64512)===55296&&(e.charCodeAt(o+1)&64512)===56320&&(n--,o++);return n}function ii(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Od(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";const n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function no(...e){const[t,n,o]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:o}:{...t}}function Id(e,t){for(const n in t){const o=Object.getOwnPropertyDescriptor(t,n);o.get?Object.defineProperty(e,n,{...o,enumerable:!1}):qd(e,n,o.value)}}function Ke(e,t,n,o=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:o,value:n}),n}function fa(e,t,n){return Ke(e,t,n,!1)}function Sa(e,t){for(const n in e){const o=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return Ke(this,n,o(this))},set(s){Ke(this,n,s)}})}return t}function qd(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:Ke(this,t,n.bind(this))},set(o){Ke(this,t,o)}})}function Nd(e,t){const n=Object.getPrototypeOf(e);return t in n?void 0:n}let vs,Je=!1;const zd={configurable:!0,get(){Je=!0}};function x(e,t,n){const o=Object.getPrototypeOf(e._zod);if(t in o&&vs!==e._zod){vs=void 0;return}vs=e._zod,Object.defineProperty(o,t,{configurable:!0,get(){Object.defineProperty(this,t,zd);const s=Je;Je=!1;try{const i=n(this);return Je?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),Je=Je||s,i}catch(i){throw delete this[t],Je=Je||s,i}},set(s){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:s})}})}function xd(e,t,n,o){const s=Nd(e,t);s&&Object.defineProperty(s,t,{configurable:!0,get(){const i={configurable:!0,writable:!0,enumerable:o,value:void 0};return Object.defineProperty(this,t,i),i.value=n(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:o,value:i})}})}const Md="~constantCatch";function Ad(e){const t=()=>e;return t[Md]=!0,t}var lr;const Ld=Object.freeze({status:"aborted"}),Rs={value:void 0,enumerable:!1};let ur="captureStackTrace"in Error?Error:null;function jd(e){const t=ur;if(t){const n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0}catch{return ur=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function b(e,t,n,o){const s={};function i(f){this.def=f,this.constr=h,this.traits=new Set}i.prototype=s;const a=n,l=a&&new WeakSet;function c(f,g){if(f._zod){if(f._zod.traits.has(e))return}else{Rs.value=new i(g);try{Object.defineProperty(f,"_zod",Rs)}finally{Rs.value=void 0}}if(f._zod.traits.add(e),t(f,g),l){const v=Object.getPrototypeOf(f),R=f._zod.constr.prototype;let T=v;for(;T&&T!==R;)T=Object.getPrototypeOf(T);const C=T??v;l.has(C)||(l.add(C),Id(C,a))}const _=h.prototype;for(const v in _)Object.prototype.hasOwnProperty.call(_,v)&&(v in f||(f[v]=_[v].bind(f)))}const p=(o==null?void 0:o.Parent)??Object;class m extends p{}Object.defineProperty(m,"name",{value:e});function h(f){var R;const g=o!=null&&o.Parent?jd(m):this;c(g,f);const _=g._zod.deferred;if(_){for(const T of _)T();g._zod.deferred=void 0}const v=(R=globalThis.__zod_globalConfig)==null?void 0:R.postProcessor;return v&&v(g),g}return Object.defineProperty(h,"init",{value:c}),Object.defineProperty(h,Symbol.hasInstance,{value:f=>{var g,_;return o!=null&&o.Parent&&f instanceof o.Parent?!0:(_=(g=f==null?void 0:f._zod)==null?void 0:g.traits)==null?void 0:_.has(e)}}),Object.defineProperty(h,"name",{value:e}),h}class ct extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class ga extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(lr=globalThis).__zod_globalConfig??(lr.__zod_globalConfig={});const ke=globalThis.__zod_globalConfig;function Ce(e){return e&&Object.assign(ke,e),ke}function Zd(){const e=this._zod;return e.message??(e.message=JSON.stringify(e.def,As,2)),e.message}function Ud(e){this._zod.message=e}const Dd={get:Zd,set:Ud,enumerable:!0,configurable:!0},ws={value:void 0,enumerable:!1},dr=new WeakSet([Object.prototype,Error.prototype]),Hd=(e,t)=>{e.name="$ZodError",ws.value=t,Object.defineProperty(e,"issues",ws),ws.value=void 0,Object.defineProperty(e,"message",Dd);const n=Object.getPrototypeOf(e);dr.has(n)||(dr.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){const o=()=>this.message;return Object.defineProperty(this,"toString",{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,"toString",{value:o,configurable:!0,writable:!0})}}))},Fd=b("$ZodError",Hd);function Jd(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function Vd(e,t=n=>n.message){const n={},o=[];for(const s of e.issues)s.path.length>0?Jd(n,s.path[0],()=>[]).push(t(s)):o.push(t(s));return{formErrors:o,fieldErrors:n}}function Bd(e,t=n=>n.message){const n={_errors:[]},o=(s,i=[])=>{for(const a of s.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(l=>o({issues:l},[...i,...a.path]));else if(a.code==="invalid_key")o({issues:a.issues},[...i,...a.path]);else if(a.code==="invalid_element")o({issues:a.issues},[...i,...a.path]);else{const l=[...i,...a.path];if(l.length===0)n._errors.push(t(a));else{let c=n,p=0;for(;p<l.length;){const m=l[p],h=p===l.length-1;if(m==="_errors"){h&&c._errors.push(t(a)),p++;continue}Object.prototype.hasOwnProperty.call(c,m)||Object.defineProperty(c,m,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});const f=c[m];h&&f._errors.push(t(a)),c=f,p++}}}};return o(e),n}function ns(e,t){return{callee:(t==null?void 0:t.callee)??e,Err:t==null?void 0:t.Err}}const ri=e=>{const t=(n,o,s,i)=>{const a=s?{...s,async:!1}:{async:!1},l=n._zod.run({value:o,issues:[]},a);if(l instanceof Promise)throw new ct;if(l.issues.length){const c=new((i==null?void 0:i.Err)??e)(l.issues.map(p=>Be(p,a,Ce())));throw ua(c,(i==null?void 0:i.callee)??t),c}return l.value};return t},ai=e=>{const t=async(n,o,s,i)=>{const a=s?{...s,async:!0}:{async:!0};let l=n._zod.run({value:o,issues:[]},a);if(l instanceof Promise&&(l=await l),l.issues.length){const c=new((i==null?void 0:i.Err)??e)(l.issues.map(p=>Be(p,a,Ce())));throw ua(c,(i==null?void 0:i.callee)??t),c}return l.value};return t},ci=e=>(t,n,o)=>{const s=o?{...o,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},s);if(i instanceof Promise)throw new ct;return i.issues.length?_a(e,i.issues,s):{success:!0,data:i.value}};function _a(e,t,n){let o;return{success:!1,get error(){return o||(o=new e(t.map(s=>Be(s,n,Ce()))),t=void 0,n=void 0),o},set error(s){o=s,t=void 0,n=void 0}}}const li=e=>async(t,n,o)=>{const s=o?{...o,async:!0}:{async:!0};let i=t._zod.run({value:n,issues:[]},s);return i instanceof Promise&&(i=await i),i.issues.length?_a(e,i.issues,s):{success:!0,data:i.value}},Kd=Symbol.for("zod.compile.invalid"),Wd=Symbol.for("zod.compile.fallback"),Gd=((e,t,n)=>{const o=e._zod.bag.validator;if(o!==void 0){if(o(t)!==Kd)return!0;if(o.definite===!0&&n===void 0)return!1}return Yd(e,t,n)});function Yd(e,t,n){const o=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},s=e._zod.bag.fallbackRun;let i;if(s?(o[Wd]=!0,i=s({value:t,issues:[]},o)):i=e._zod.run({value:t,issues:[]},o),i instanceof Promise)throw new ct;return i.issues.length===0}const Qd=async(e,t,n)=>{const o=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0};let s=e._zod.run({value:t,issues:[]},o);return s instanceof Promise&&(s=await s),s.issues.length===0},Xd=e=>{const t=ri(e),n=(o,s,i,a)=>{const l=i?{...i,direction:"backward"}:{direction:"backward"};return t(o,s,l,ns(n,a))};return n},ep=e=>{const t=ri(e),n=(o,s,i,a)=>t(o,s,i,ns(n,a));return n},tp=e=>{const t=ai(e),n=async(o,s,i,a)=>{const l=i?{...i,direction:"backward"}:{direction:"backward"};return await t(o,s,l,ns(n,a))};return n},np=e=>{const t=ai(e),n=async(o,s,i,a)=>await t(o,s,i,ns(n,a));return n},op=e=>(t,n,o)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return ci(e)(t,n,s)},sp=e=>(t,n,o)=>ci(e)(t,n,o),ip=e=>async(t,n,o)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return li(e)(t,n,s)},rp=e=>async(t,n,o)=>li(e)(t,n,o),ap=/^[cC][0-9a-z]{6,}$/,cp=/^[0-9a-z]+$/,lp=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,up=/^[0-9a-vA-V]{20}$/,dp=/^[A-Za-z0-9]{27}$/,pp=/^[a-zA-Z0-9_-]{21}$/;function mp(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}const hp=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,fp=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,pr=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Sp=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,gp="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function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-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Tp=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,Pp=/^https?$/,kp=/^\+[1-9]\d{6,14}$/,ba="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function Cp(e){return new RegExp(`^${e}$`)}const $p=Cp(ba);function js(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Ep(e){return new RegExp(`^${js(e)}$`)}function Op(e){const t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${js({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,o=e.local?`${n}|${js({precision:e.precision})}`:n;return new RegExp(`^${ba}T(?:${o})$`)}const Ip=/^[\s\S]{0,}$/,qp=/^-?\d+$/,ui=/^-?\d+(?:\.\d+)?$/,Np=/^(?:true|false)$/i,zp=/^null$/i,xp=/^undefined$/i,Mp=/^[^A-Z]*$/,Ap=/^[^a-z]*$/,de=b("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),di=e=>{const t=e.value;return!pd(t)&&t.length!==void 0},Uo={number:"number",bigint:"bigint",object:"date"},ya=b("$ZodCheckLessThan",(e,t)=>{de.init(e,t);const n=Uo[typeof t.value];e._zod.check=o=>{(t.inclusive?o.value<=t.value:o.value<t.value)||o.issues.push({origin:Uo[typeof o.value]??n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),va=b("$ZodCheckGreaterThan",(e,t)=>{de.init(e,t);const n=Uo[typeof t.value];e._zod.check=o=>{(t.inclusive?o.value>=t.value:o.value>t.value)||o.issues.push({origin:Uo[typeof o.value]??n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Lp=b("$ZodCheckMultipleOf",(e,t)=>{de.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):md(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),jp=b("$ZodCheckNumberFormat",(e,t)=>{var a;de.init(e,t),t.format=t.format||"float64";const n=(a=t.format)==null?void 0:a.includes("int"),o=n?"int":"number",[s,i]=ma[t.format];e._zod.check=l=>{const c=l.value;if(n){if(!Number.isInteger(c)){l.issues.push({expected:o,format:t.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?l.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!t.abort}):l.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!t.abort});return}}c<s&&l.issues.push({origin:"number",input:c,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!t.abort}),c>i&&l.issues.push({origin:"number",input:c,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Zp=b("$ZodCheckMaxLength",(e,t)=>{var n;de.init(e,t),(n=e._zod.def).when??(n.when=di),e._zod.check=o=>{const s=o.value,i=s.length;if((typeof s=="string"&&i>t.maximum?si(s):i)<=t.maximum)return;const l=ii(s);o.issues.push({origin:l,code:"too_big",maximum:t.maximum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),Up=b("$ZodCheckMinLength",(e,t)=>{var n;de.init(e,t),(n=e._zod.def).when??(n.when=di),e._zod.check=o=>{const s=o.value,i=s.length;if((typeof s=="string"&&i>=t.minimum&&i<t.minimum*2?si(s):i)>=t.minimum)return;const l=ii(s);o.issues.push({origin:l,code:"too_small",minimum:t.minimum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),Dp=b("$ZodCheckLengthEquals",(e,t)=>{var n;de.init(e,t),(n=e._zod.def).when??(n.when=di),e._zod.check=o=>{const s=o.value,i=s.length,a=typeof s=="string"&&i>=t.length&&i<=t.length*2?si(s):i;if(a===t.length)return;const l=ii(s),c=a>t.length;o.issues.push({origin:l,...c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),os=b("$ZodCheckStringFormat",(e,t)=>{var n,o;de.init(e,t),t.pattern?(n=e._zod).check??(n.check=s=>{t.pattern.lastIndex=0,!t.pattern.test(s.value)&&s.issues.push({origin:"string",code:"invalid_format",format:t.format,input:s.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(o=e._zod).check??(o.check=()=>{})}),Hp=b("$ZodCheckRegex",(e,t)=>{os.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Fp=b("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Mp),os.init(e,t)}),Jp=b("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Ap),os.init(e,t)}),Vp=b("$ZodCheckIncludes",(e,t)=>{de.init(e,t);const n=Zt(t.includes),o=new RegExp(typeof t.position=="number"?`^.{${t.position},}${n}`:n);t.pattern=o,e._zod.check=s=>{s.value.includes(t.includes,t.position)||s.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:s.value,inst:e,continue:!t.abort})}}),Bp=b("$ZodCheckStartsWith",(e,t)=>{de.init(e,t);const n=new RegExp(`^${Zt(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.check=o=>{o.value.startsWith(t.prefix)||o.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:o.value,inst:e,continue:!t.abort})}}),Kp=b("$ZodCheckEndsWith",(e,t)=>{de.init(e,t);const n=new RegExp(`.*${Zt(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.check=o=>{o.value.endsWith(t.suffix)||o.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:o.value,inst:e,continue:!t.abort})}}),Wp=b("$ZodCheckOverwrite",(e,t)=>{de.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class Gp{constructor(t=[],n={}){this.content=[],this.indent=0,this.args=t,this.closed=n}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const o=t.split(`
|
|
9
|
+
`).filter(a=>a),s=Math.min(...o.map(a=>a.length-a.trimStart().length)),i=o.map(a=>a.slice(s)).map(a=>" ".repeat(this.indent*2)+a);for(const a of i)this.content.push(a)}compile(){const t=Function,n=(this==null?void 0:this.content)??[""];return new t(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
|
|
10
|
+
${n.join(`
|
|
11
|
+
`)}
|
|
12
|
+
};`)(...Object.values(this.closed))}}const Yp={major:4,minor:6,patch:7},Z=b("$ZodType",(e,t)=>{var i;var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Yp;const o=e._zod.def.checks,s=e._zod.traits.has("$ZodCheck")?[e,...o??[]]:o!=null&&o.length?[...o]:[];for(const a of s)for(const l of a._zod.onattach)l(e);if(s.length===0)(n=e._zod).deferred??(n.deferred=[]),(i=e._zod.deferred)==null||i.push(()=>{e._zod.run=e._zod.parse});else{const a=(c,p,m)=>{if(c.memo)return c;let h=Ae(c),f;for(const g of p){if(g._zod.def.when){if($d(c)||!g._zod.def.when(c))continue}else if(h)continue;const _=c.issues.length,v=g._zod.check(c);if(v instanceof Promise&&(m==null?void 0:m.async)===!1)throw new ct;if(f||v instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await v,c.issues.length!==_&&(Ls(c.issues,_,e),h||(h=Ae(c,_)))});else{if(c.issues.length===_)continue;Ls(c.issues,_,e),h||(h=Ae(c,_))}}return f?f.then(()=>c):c},l=(c,p,m)=>{if(Ae(c))return c.aborted=!0,c;const h=a(p,s,m);if(h instanceof Promise){if(m.async===!1)throw new ct;return h.then(f=>e._zod.parse(f,m))}return e._zod.parse(h,m)};e._zod.run=(c,p)=>{if(p.skipChecks)return e._zod.parse(c,p);if(p.direction==="backward"){const h=e._zod.parse({value:c.value,issues:[]},{...p,skipChecks:!0});return h instanceof Promise?h.then(f=>l(f,c,p)):l(h,c,p)}const m=e._zod.parse(c,p);if(m instanceof Promise){if(p.async===!1)throw new ct;return m.then(h=>a(h,s,p))}return a(m,s,p)}}},{get"~standard"(){return fa(this,"~standard",wa(this))},set"~standard"(e){Ke(this,"~standard",e)}}),Ra=(e,t)=>e.issues.length?{issues:e.issues.map(n=>Be(n,t,Ce()))}:{value:e.value};async function Qp(e,t){const n={async:!0};return Ra(await e._zod.run({value:t,issues:[]},n),n)}function wa(e){return{validate:t=>{const n={async:!1};try{const o=e._zod.run({value:t,issues:[]},n);if(!(o instanceof Promise))return Ra(o,n)}catch{}return Qp(e,t)},vendor:"zod",version:1}}const pi=b("$ZodString",(e,t)=>{Z.init(e,t),e._zod.pattern=t.pattern??Ip,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),F=b("$ZodStringFormat",(e,t)=>{os.init(e,t),pi.init(e,t)}),Xp=b("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=fp),F.init(e,t)}),em=b("$ZodUUID",(e,t)=>{if(t.version){const o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(o===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=pr(o))}else t.pattern??(t.pattern=pr());F.init(e,t)}),tm=b("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Sp),F.init(e,t)}),Ta=1,Do=2;function Pa(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function nm(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?Pa(e)||Do:om(e,t)}function om(e,t){var n;if(!t.normalize&&((n=t.protocol)==null?void 0:n.source)===Pp.source&&!/^https?:\/\//i.test(e))return Ta;try{if(typeof URL<"u"){const o=URL;if(typeof o.parse=="function")return o.parse(e)??Do}return new URL(e)}catch{return Do}}const sm=/[\t\n\r]/g;function mr(e){return e.replace(sm,"")}function im(e,t){return t.lastIndex=0,t.test(e.hostname)}function rm(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}const am=b("$ZodURL",(e,t)=>{F.init(e,t),e._zod.check=n=>{try{const o=n.value.trim(),s=nm(o,t);if(s===Ta){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(s===Do){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(s===!0){n.value=mr(o);return}t.hostname&&!im(s,t.hostname)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!rm(s,t.protocol)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?s.href:mr(o);return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),cm=b("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=_p()),F.init(e,t)}),lm=b("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?pp:mp(t.length)),F.init(e,t)}),um=b("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=ap),F.init(e,t)}),dm=b("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=cp),F.init(e,t)}),pm=b("$ZodULID",(e,t)=>{t.pattern??(t.pattern=lp),F.init(e,t)}),mm=b("$ZodXID",(e,t)=>{t.pattern??(t.pattern=up),F.init(e,t)}),hm=b("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=dp),F.init(e,t)}),fm=b("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Op(t)),F.init(e,t)}),Sm=b("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=$p),F.init(e,t)}),gm=b("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Ep(t)),F.init(e,t)}),_m=b("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=hp),F.init(e,t)}),bm=b("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=bp),F.init(e,t)}),ym=/^[0-9a-fA-F:.]+$/;function ka(e){return ym.test(e)?Pa(`http://[${e}]`):!1}const vm=b("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=yp),F.init(e,t),e._zod.check=n=>{ka(n.value)||n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}),Rm=b("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=vp),F.init(e,t)});function wm(e){const t=e.split("/");if(t.length!==2)return!1;const[n,o]=t;if(!o)return!1;const s=Number(o);return`${s}`!==o||s<0||s>128?!1:ka(n)}const Tm=b("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Rp),F.init(e,t),e._zod.check=n=>{wm(n.value)||n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function Ca(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const $a=/^[0-9a-zA-Z+/]*={0,2}$/,Pm=b("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=$a),F.init(e,t),e._zod.check=n=>{Ca(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),mi=/^[A-Za-z0-9_-]*$/;function km(e){if(!mi.test(e))return!1;const t=e.replace(/[-_]/g,o=>o==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return Ca(n)}const Cm=b("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=mi),F.init(e,t),e._zod.check=n=>{km(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),$m=b("$ZodE164",(e,t)=>{t.pattern??(t.pattern=kp),F.init(e,t)});function Em(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[o]=n;if(!o)return!1;const s=JSON.parse(atob(o));return!("typ"in s&&(s==null?void 0:s.typ)!=="JWT"||!s.alg||t&&(!("alg"in s)||s.alg!==t))}catch{return!1}}const Om=b("$ZodJWT",(e,t)=>{F.init(e,t),e._zod.check=n=>{Em(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),Ea=b("$ZodNumber",(e,t)=>{Z.init(e,t),e._zod.pattern=ui,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const s=n.value;if(typeof s=="number"&&!Number.isNaN(s)&&Number.isFinite(s))return n;const i=typeof s=="number"?Number.isNaN(s)?"NaN":Number.isFinite(s)?void 0:String(s):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:s,inst:e,...i?{received:i}:{}}),n}}),Im=b("$ZodNumberFormat",(e,t)=>{jp.init(e,t),Ea.init(e,t)}),qm=b("$ZodBoolean",(e,t)=>{Z.init(e,t),e._zod.pattern=Np,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=!!n.value}catch{}const s=n.value;return typeof s=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:s,inst:e}),n}}),Nm=b("$ZodUndefined",(e,t)=>{Z.init(e,t),e._zod.pattern=xp,e._zod.values=new Set([void 0]),e._zod.parse=(n,o)=>{const s=n.value;return typeof s>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:s,inst:e}),n}}),zm=b("$ZodNull",(e,t)=>{Z.init(e,t),e._zod.pattern=zp,e._zod.values=new Set([null]),e._zod.parse=(n,o)=>{const s=n.value;return s===null||n.issues.push({expected:"null",code:"invalid_type",input:s,inst:e}),n}}),xm=b("$ZodAny",(e,t)=>{Z.init(e,t),e._zod.parse=n=>n}),Mm=b("$ZodUnknown",(e,t)=>{Z.init(e,t),e._zod.parse=n=>n}),Am=b("$ZodNever",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function Lm(e,t){const n=cr(e._zod.def.checks);if(!n.length)return;const o=Math.min(...n.map(i=>i[0])),s=e._zod.parse;e._zod.parse=(i,a)=>{const l=t(i.value);if(l>o&&!(a!=null&&a.skipChecks)&&(a==null?void 0:a.direction)!=="backward"){for(const[c,p]of cr(e._zod.def.checks))if(l>c&&p._zod.def.when(i)){const m=i.issues.length;return p._zod.check(i),i.issues[m].continue=!1,Ls(i.issues,m,e),i}}return s(i,a)}}const jm=e=>Array.isArray(e)?e.length:-1;function hr(e,t,n){e.issues.length&&t.issues.push(...It(n,e.issues)),t.value[n]=e.value}const Zm=b("$ZodArray",(e,t)=>{Z.init(e,t);const n=ke.memoizer;n==null||n.attach(e),e._zod.parse=(o,s)=>{const i=o.value;if(!Array.isArray(i))return o.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),o;o.value=n?n.alloc(e,o,Array(i.length),s):Array(i.length);const a=[],l=s==null?void 0:s.abortEarly;for(let c=0;c<i.length;c++){const p=i[c],m=t.element._zod.run({value:p,issues:[]},s);if(m instanceof Promise)a.push(m.then(h=>hr(h,o,c)));else if(hr(m,o,c),l&&m.issues.length!==0&&Ae(m))break}return a.length?Promise.all(a).then(()=>o):o},Lm(e,jm)});function Ho(e,t,n,o,s,i){const a=n in o,l=i==="optional";if(!(!a&&l&&s==="optional")){if(e.issues.length){if(s!==void 0&&l&&!a)return;t.issues.push(...It(n,e.issues))}if(!a&&s===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?(a||s==="defaulted"&&!l)&&(t.value[n]=void 0):t.value[n]=e.value}}const Um=[];function Oa(e){var a,l,c,p;const t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),o=n.length?n:Um,s=o.length?[...t,...o]:t;for(const m of s)if(!((p=(c=(l=(a=e.shape)==null?void 0:a[m])==null?void 0:l._zod)==null?void 0:c.traits)!=null&&p.has("$ZodType")))throw new Error(`Invalid element at key "${String(m)}": expected a Zod schema`);const i=yd(e.shape);return{...e,allKeys:s,symbolKeys:o,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function Ia(e,t,n,o,s,i,a){const l=[],c=s.keySet,p=s.catchall._zod,m=p.def.type,h=p.optin,f=p.optout;let g=0;for(const _ in t){if(a&&n.issues.length!==g){if(Ae(n,g))break;g=n.issues.length}if(c.has(_))continue;if(_==="__proto__"){m==="never"&&l.push(_);continue}if(m==="never"){l.push(_);continue}const v=p.run({value:t[_],issues:[]},o);v instanceof Promise?e.push(v.then(R=>Ho(R,n,_,t,h,f))):Ho(v,n,_,t,h,f)}return l.length&&n.issues.push({code:"unrecognized_keys",keys:l,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>n):n}const Dm=b("$ZodObject",(e,t)=>{Z.init(e,t);const n=Object.getOwnPropertyDescriptor(t,"shape"),o=n!=null&&n.get?n.get.raw:t.shape??{};if(o){const p=()=>{const m={...o};return Object.defineProperty(t,"shape",{value:m}),p.raw=m,m};p.raw=o,Object.defineProperty(t,"shape",{get:p})}const s=es(()=>Oa(t));x(e,"propValues",p=>{const m=p.def.shape,h={};for(const f in m){const g=m[f]._zod;if(g.values){Object.prototype.hasOwnProperty.call(h,f)||Ne(h,f,new Set);for(const _ of g.values)h[f].add(_);g.optin!==void 0&&h[f].add(void 0)}}return h});const i=to,a=t.catchall;let l;const c=ke.memoizer;c==null||c.attach(e),e._zod.parse=(p,m)=>{l??(l=s.value);const h=p.value;if(!i(h))return p.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),p;p.value=c?c.alloc(e,p,{},m):{};const f=[],g=l.shape,_=m==null?void 0:m.abortEarly;let v=p.issues.length;for(const R of l.allKeys){if(_&&p.issues.length!==v){if(Ae(p,v))break;v=p.issues.length}if(R==="__proto__")continue;const T=g[R],C=T._zod.optin,j=T._zod.optout,A=T._zod.run({value:h[R],issues:[]},m);A instanceof Promise?f.push(A.then(Re=>Ho(Re,p,R,h,C,j))):Ho(A,p,R,h,C,j)}return a?Ia(f,h,p,m,s.value,e,_===!0):f.length?Promise.all(f).then(()=>p):p}}),Hm=b("$ZodObjectJIT",(e,t)=>{Dm.init(e,t);const n=e._zod.parse,o=es(()=>Oa(t)),s=ke.memoizer,i=g=>{var Re,Ee;const _=o.value,v=_.symbolKeys,R=new Gp(["payload","ctx"],{shape:g,inst:e,memo:s,syms:v}),T=D=>`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`,C=(D,M)=>`
|
|
13
|
+
let ${D}_ab = false;
|
|
14
|
+
for (let i = 0; i < ${D}.issues.length; i++) {
|
|
15
|
+
const iss = ${D}.issues[i];
|
|
16
|
+
iss.path = iss.path ? [${M}, ...iss.path] : [${M}];
|
|
17
|
+
payload.issues.push(iss);
|
|
18
|
+
if (iss.continue !== true) ${D}_ab = true;
|
|
19
|
+
}
|
|
20
|
+
if (${D}_ab && ctx && ctx.abortEarly) {
|
|
21
|
+
payload.value = newResult;
|
|
22
|
+
return payload;
|
|
23
|
+
}`;R.write("const input = payload.value;");const j=Object.create(null);let A=0;for(const D of _.allKeys)j[D]=`key_${A++}`;R.write(s?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(const D of _.allKeys){if(D==="__proto__")continue;const M=j[D],Y=typeof D=="symbol"?`syms[${v.indexOf(D)}]`:Sd(D),L=`${Y} in input`,J=g[D],he=(Re=J==null?void 0:J._zod)==null?void 0:Re.optin,we=he!==void 0,Q=((Ee=J==null?void 0:J._zod)==null?void 0:Ee.optout)==="optional";if(R.write(`const ${M} = ${T(Y)};`),we&&Q){const fe=he==="optional"?`${M}_present`:`${M}.value !== undefined || ${M}_present`;R.write(`
|
|
24
|
+
const ${M}_present = ${L};
|
|
25
|
+
if (!${M}.issues.length || ${M}_present) {
|
|
26
|
+
if (${M}.issues.length) {${C(M,Y)}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (${fe}) {
|
|
30
|
+
newResult[${Y}] = ${M}.value;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
`)}else we?(R.write(`
|
|
35
|
+
if (${M}.issues.length) {${C(M,Y)}
|
|
36
|
+
}
|
|
37
|
+
`),he==="defaulted"?R.write(`newResult[${Y}] = ${M}.value;`):R.write(`
|
|
38
|
+
if (${M}.value !== undefined || ${L}) {
|
|
39
|
+
newResult[${Y}] = ${M}.value;
|
|
40
|
+
}
|
|
41
|
+
`)):R.write(`
|
|
42
|
+
const ${M}_present = ${L};
|
|
43
|
+
if (${M}.issues.length) {${C(M,Y)}
|
|
44
|
+
}
|
|
45
|
+
if (!${M}_present && !${M}.issues.length) {
|
|
46
|
+
payload.issues.push({
|
|
47
|
+
code: "invalid_type",
|
|
48
|
+
expected: "nonoptional",
|
|
49
|
+
input: undefined,
|
|
50
|
+
path: [${Y}]
|
|
51
|
+
});
|
|
52
|
+
if (ctx && ctx.abortEarly) {
|
|
53
|
+
payload.value = newResult;
|
|
54
|
+
return payload;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (${M}_present) {
|
|
59
|
+
newResult[${Y}] = ${M}.value;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
`)}return R.write("payload.value = newResult;"),R.write("return payload;"),R.compile()};let a;const l=to,c=!ke.jitless,m=c&&_d.value,h=t.catchall;let f;e._zod.parse=(g,_)=>{f??(f=o.value);const v=g.value;return l(v)?c&&m&&(_==null?void 0:_.async)===!1&&_.jitless!==!0?(a||(a=i(t.shape)),g=a(g,_),h?Ia([],v,g,_,f,e,(_==null?void 0:_.abortEarly)===!0):g):n(g,_):(g.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),g)}});function fr(e,t,n,o){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const s=e.filter(i=>!Ae(i));return s.length===1?(t.value=s[0].value,s[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(a=>Be(a,o,Ce())))}),t)}const qa=b("$ZodUnion",(e,t)=>{Z.init(e,t),x(e,"optin",o=>o.def.options.some(s=>s._zod.optin==="defaulted")?"defaulted":o.def.options.some(s=>s._zod.optin!==void 0)?"optional":void 0),x(e,"optout",o=>o.def.options.some(s=>s._zod.optout==="optional")?"optional":void 0),x(e,"values",o=>{if(o.def.options.every(s=>s._zod.values))return new Set(o.def.options.flatMap(s=>Array.from(s._zod.values)))}),x(e,"pattern",o=>{if(o.def.options.every(s=>s._zod.pattern)){const s=o.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${s.map(i=>ni(i.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(o,s)=>{if(n)return n(o,s);let i=!1;const a=[];for(const l of t.options){const c=l._zod.run({value:o.value,issues:[]},s);if(c instanceof Promise)a.push(c),i=!0;else{if(c.issues.length===0)return c;a.push(c)}}return i?Promise.all(a).then(l=>fr(l,o,e,s)):fr(a,o,e,s)}});function Fm(e){var n;const t=new Map;for(const o of e.options){const s=(n=o._zod.propValues)==null?void 0:n[e.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(o)}"`);for(const i of s)if(t.has(i)){if(i!==void 0)throw new Error(`Duplicate discriminator value "${String(i)}"`);t.set(i,null)}else t.set(i,o)}return t}const Jm=b("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,qa.init(e,t);const n=e._zod.parse;x(e,"propValues",s=>{var l,c;const i={};let a=0;for(const p of s.def.options){const m=p._zod.propValues;if(!m||Object.keys(m).length===0)throw new Error(`Invalid discriminated union option at index "${s.def.options.indexOf(p)}"`);(l=m[s.def.discriminator])!=null&&l.has(void 0)&&a++;for(const[h,f]of Object.entries(m)){Object.prototype.hasOwnProperty.call(i,h)||Ne(i,h,new Set);for(const g of f)i[h].add(g)}}return!s.def.unionFallback&&a>1&&((c=i[s.def.discriminator])==null||c.delete(void 0)),i}),t.options.forEach((s,i)=>{const a=oi(s._zod.def);if(a&&!Object.prototype.hasOwnProperty.call(a,t.discriminator))throw new Error(`Invalid discriminated union option at index "${i}"`)});const o=es(()=>Fm(t));e._zod.parse=(s,i)=>{const a=s.value;if(!to(a))return s.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),s;const l=a==null?void 0:a[t.discriminator],c=o.value.get(l);return c&&(l!==void 0||i.direction!=="backward")?c._zod.run(s,i):t.unionFallback||i.direction==="backward"?n(s,i):(s.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(o.value.keys()).filter(p=>o.value.get(p)!==null),input:a,path:[t.discriminator],inst:e}),s)}}),Vm=b("$ZodIntersection",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{const s=n.value,i=t.left._zod.run({value:s,issues:[]},o),a=t.right._zod.run({value:s,issues:[]},o);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([c,p])=>Sr(n,c,p)):Sr(n,i,a)}});function Zs(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(jt(e)&&jt(t)){const n=Object.keys(t),o=Object.keys(e).filter(i=>n.indexOf(i)!==-1),s={...e,...t};Object.prototype.hasOwnProperty.call(s,"__proto__")&&delete s.__proto__;for(const i of o){if(i==="__proto__")continue;const a=Zs(e[i],t[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};s[i]=a.data}return{valid:!0,data:s}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let o=0;o<e.length;o++){const s=e[o],i=t[o],a=Zs(s,i);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Sr(e,t,n){const o=new Map;let s;const i=new Map,a=(p,m)=>{var f,g;let h;if(p.code==="unrecognized_keys"&&!((f=p.path)!=null&&f.length))s??(s=p),h=p.keys;else if(p.code==="invalid_key"&&p.origin==="record"&&((g=p.path)==null?void 0:g.length)===1){const _=String(p.path[0]);i.has(_)||i.set(_,p),h=[_]}else return!1;for(const _ of h)o.has(_)||o.set(_,{}),o.get(_)[m]=!0;return!0};for(const p of t.issues)a(p,"l")||e.issues.push(p);for(const p of n.issues)a(p,"r")||e.issues.push(p);const l=[...o].filter(([,p])=>p.l&&p.r).map(([p])=>p);if(l.length){const p=s?l.filter(m=>s.keys.includes(m)):[];p.length&&e.issues.push({...s,keys:p});for(const m of l)!p.includes(m)&&i.has(m)&&e.issues.push(i.get(m))}const c=Zs(t.value,n.value);if(!c.valid){if(Ae(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}const Bm=b("$ZodRecord",(e,t)=>{Z.init(e,t);const n=ke.memoizer;n==null||n.attach(e),e._zod.parse=(o,s)=>{const i=o.value;if(!jt(i))return o.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),o;const a=[],l=t.keyType._zod.values;if(l&&!t.partial){o.value=n?n.alloc(e,o,{},s):{};const c=new Set;for(const m of l)if(typeof m=="string"||typeof m=="number"||typeof m=="symbol"){if(c.add(typeof m=="number"?m.toString():m),m==="__proto__")continue;const h=t.keyType._zod.run({value:m,issues:[]},s);if(h instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(h.issues.length){o.issues.push({code:"invalid_key",origin:"record",issues:h.issues.map(_=>Be(_,s,Ce())),input:m,path:[m],inst:e});continue}const f=h.value;if(f==="__proto__")continue;const g=t.valueType._zod.run({value:i[m],issues:[]},s);g instanceof Promise?a.push(g.then(_=>{_.issues.length&&o.issues.push(...It(m,_.issues)),o.value[f]=_.value})):(g.issues.length&&o.issues.push(...It(m,g.issues)),o.value[f]=g.value)}let p;for(const m in i)if(!c.has(m))if(t.mode==="loose"){if(m==="__proto__")continue;o.value[m]=i[m]}else p=p??[],p.push(m);p&&p.length>0&&o.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:p,continue:!0})}else{o.value=n?n.alloc(e,o,{},s):{};let c;for(const p of Reflect.ownKeys(i)){if(p==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,p))continue;let m=t.keyType._zod.run({value:p,issues:[]},s);if(m instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof p=="string"&&ui.test(p)&&m.issues.length){const _=t.keyType._zod.run({value:Number(p),issues:[]},s);if(_ instanceof Promise)throw new Error("Async schemas not supported in object keys currently");_.issues.length===0&&(m=_)}if(m.issues.length){t.mode==="loose"?o.value[p]=i[p]:l?(c=c??[],c.push(p)):o.issues.push({code:"invalid_key",origin:"record",issues:m.issues.map(_=>Be(_,s,Ce())),input:p,path:[p],inst:e});continue}const f=m.value;if(f==="__proto__")continue;const g=t.valueType._zod.run({value:i[p],issues:[]},s);g instanceof Promise?a.push(g.then(_=>{_.issues.length&&o.issues.push(...It(p,_.issues)),o.value[f]=_.value})):(g.issues.length&&o.issues.push(...It(p,g.issues)),o.value[f]=g.value)}c&&c.length>0&&o.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:c,continue:!0})}return a.length?Promise.all(a).then(()=>o):o}}),Km=b("$ZodEnum",(e,t)=>{Z.init(e,t);const n=Ms(t.entries),o=new Set(n);e._zod.values=o,x(e,"pattern",s=>{const i=Ms(s.def.entries).filter(a=>bd.has(typeof a));return new RegExp(i.length?`^(${i.map(a=>Zt(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(s,i)=>{const a=s.value;return o.has(a)||s.issues.push({code:"invalid_value",values:n,input:a,inst:e}),s}}),Wm=b("$ZodLiteral",(e,t)=>{Z.init(e,t);const n=new Set(t.values);e._zod.values=n,x(e,"pattern",o=>{const s=o.def.values;return new RegExp(s.length?`^(${s.map(i=>typeof i=="string"?Zt(i):i?Zt(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,s)=>{const i=o.value;return n.has(i)||o.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),o}}),Gm=b("$ZodTransform",(e,t)=>{var n;Z.init(e,t),e._zod.optin="optional",(n=ke.memoizer)==null||n.guard(e),e._zod.parse=(o,s)=>{if(s.direction==="backward")throw new ga(e.constructor.name);const i=t.transform(o.value,o);if(s.async)return(i instanceof Promise?i:Promise.resolve(i)).then(l=>(o.value=l,o));if(i instanceof Promise)throw new ct;return o.value=i,o}});function gr(e,t){return e.value=t.issues.length?void 0:t.value,e}const Na=b("$ZodOptional",(e,t)=>{Z.init(e,t),x(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",x(e,"values",n=>{const o=n.def.innerType._zod.values;return o?new Set([...o,void 0]):void 0}),x(e,"pattern",n=>{const o=n.def.innerType._zod.pattern;return o?new RegExp(`^(${ni(o.source)})?$`):void 0}),e._zod.parse=(n,o)=>{if(n.value===void 0){if(t.innerType._zod.optin!=="defaulted")return n;const s=t.innerType._zod.run({value:n.value,issues:[]},o);return s instanceof Promise?s.then(i=>gr(n,i)):gr(n,s)}return t.innerType._zod.run(n,o)}}),Ym=b("$ZodExactOptional",(e,t)=>{Na.init(e,t),x(e,"values",n=>n.def.innerType._zod.values),x(e,"pattern",n=>n.def.innerType._zod.pattern),e._zod.parse=(n,o)=>t.innerType._zod.run(n,o)}),Qm=b("$ZodNullable",(e,t)=>{Z.init(e,t),x(e,"optin",n=>n.def.innerType._zod.optin),x(e,"optout",n=>n.def.innerType._zod.optout),x(e,"pattern",n=>{const o=n.def.innerType._zod.pattern;return o?new RegExp(`^(${ni(o.source)}|null)$`):void 0}),x(e,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,o)=>n.value===null?n:t.innerType._zod.run(n,o)}),Xm=b("$ZodDefault",(e,t)=>{Z.init(e,t),e._zod.optin="defaulted",x(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);if(n.value===void 0)return n.value=t.defaultValue,n;const s=t.innerType._zod.run(n,o);return s instanceof Promise?s.then(i=>_r(i,t)):_r(s,t)}});function _r(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const eh=b("$ZodPrefault",(e,t)=>{Z.init(e,t),e._zod.optin="defaulted",x(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>(o.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,o))}),th=b("$ZodNonOptional",(e,t)=>{Z.init(e,t),x(e,"values",n=>{const o=n.def.innerType._zod.values;return o?new Set([...o].filter(s=>s!==void 0)):void 0}),e._zod.parse=(n,o)=>{const s=t.innerType._zod.run(n,o);return s instanceof Promise?s.then(i=>br(i,e)):br(s,e)}});function br(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}function yr(e,t,n,o){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(s=>Be(s,o,Ce()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}const nh=b("$ZodCatch",(e,t)=>{Z.init(e,t),x(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),x(e,"optout",n=>n.def.innerType._zod.optout),x(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);const s=t.innerType._zod.run({value:n.value,issues:[]},o);return s instanceof Promise?s.then(i=>yr(n,i,t,o)):yr(n,s,t,o)}}),za=b("$ZodPipe",(e,t)=>{Z.init(e,t),x(e,"values",n=>n.def.in._zod.values),x(e,"optin",n=>n.def.in._zod.optin),x(e,"optout",n=>n.def.out._zod.optout),x(e,"propValues",n=>n.def.in._zod.propValues),e._zod.parse=(n,o)=>{if(o.direction==="backward"){const i=t.out._zod.run(n,o);return i instanceof Promise?i.then(a=>Eo(a,t.in,o)):Eo(i,t.in,o)}const s=t.in._zod.run(n,o);return s instanceof Promise?s.then(i=>Eo(i,t.out,o)):Eo(s,t.out,o)}});function Eo(e,t,n){return e.issues.some(o=>o.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}const oh=b("$ZodPreprocess",(e,t)=>{za.init(e,t)}),sh=b("$ZodReadonly",(e,t)=>{Z.init(e,t),x(e,"propValues",n=>n.def.innerType._zod.propValues),x(e,"values",n=>n.def.innerType._zod.values),x(e,"optin",n=>{var o,s;return(s=(o=n.def.innerType)==null?void 0:o._zod)==null?void 0:s.optin}),x(e,"optout",n=>{var o,s;return(s=(o=n.def.innerType)==null?void 0:o._zod)==null?void 0:s.optout}),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);const s=t.innerType._zod.run(n,o);return s instanceof Promise?s.then(vr):vr(s)}});function vr(e){return e.memo||(e.value=Object.freeze(e.value)),e}const ih=b("$ZodLazy",(e,t)=>{Z.init(e,t),hd(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),x(e,"pattern",n=>{var o,s;return(s=(o=n.innerType)==null?void 0:o._zod)==null?void 0:s.pattern}),x(e,"propValues",n=>{var o,s;return(s=(o=n.innerType)==null?void 0:o._zod)==null?void 0:s.propValues}),x(e,"optin",n=>{var o,s;return((s=(o=n.innerType)==null?void 0:o._zod)==null?void 0:s.optin)??void 0}),x(e,"optout",n=>{var o,s;return((s=(o=n.innerType)==null?void 0:o._zod)==null?void 0:s.optout)??void 0}),e._zod.parse=(n,o)=>e._zod.innerType._zod.run(n,o)}),rh=b("$ZodCustom",(e,t)=>{de.init(e,t),Z.init(e,t),e._zod.parse=(n,o)=>n,e._zod.check=n=>{const o=n.value,s=t.fn(o);if(s instanceof Promise)return s.then(i=>Rr(i,n,o,e));Rr(s,n,o,e)}});function Rr(e,t,n,o){if(!e){const s={code:"custom",input:n,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(s.params=o._zod.def.params),t.issues.push(no(s))}}class ah extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}}const Us="~memo",wr=[];function xa(e){return e!==null&&typeof e=="object"}function Ts(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}const Ma=new WeakMap,Wn=0,Lo=1,Yn=2;function jo(e,t,n){const o=Ma.get(e);if(o!==void 0)return o?Yn:Wn;if(t.has(e))return Yn;t.add(e);let s=Wn;const i=m=>{if(s!==Yn&&(m!=null&&m._zod)){const h=jo(m,t);h>s&&(s=h)}},a=(m,h)=>{var g;let f=Wn;for(const _ of Reflect.ownKeys(m)){const v=Object.getOwnPropertyDescriptor(m,_);if(!v.enumerable)continue;const R=v.get?Lo:(g=v.value)!=null&&g._zod?jo(v.value,t):Wn;R>f&&(f=R)}return f},l=m=>{m>s&&(s=m)},c=e._zod.def;switch(c.type){case"object":{const m=oi(c);l(m?a(m):Lo),i(c.catchall);break}case"array":i(c.element);break;case"tuple":for(const m of c.items)i(m);i(c.rest);break;case"record":case"map":i(c.keyType),i(c.valueType);break;case"set":i(c.valueType);break;case"union":for(const m of c.options)i(m);break;case"intersection":i(c.left),i(c.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":i(c.innerType);break;case"pipe":i(c.in),i(c.out);break;case"function":i(c.input),i(c.output);break;case"lazy":{const m=c._cachedInner??void 0;l(m?jo(m,t):Lo);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(const m in c){const h=Object.getOwnPropertyDescriptor(c,m);if(!h||h.get)continue;const f=h.value;if(!(!f||typeof f!="object")){if(f._zod)i(f);else if(Array.isArray(f))for(const g of f)i(g)}}}return t.delete(e),ch(e,s)}function ch(e,t){return t!==Lo&&Ma.set(e,t===Yn),t}function lh(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}let Oo;const Io=[],uh={alloc(e,t,n){const o=Oo;if(!o)return n;Oo=void 0;const s={value:n,issues:null};return o.set(t.value,s),Io.push(s),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const n=e._zod.parse,o=(s,i)=>{if(i.direction!=="backward"&&ph(i,s.value))throw new ah;return n(s,i)};e._zod.parse=o,e._zod.run===n&&(e._zod.run=o)})},attach(e){var t;let n,o=!1,s,i;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const a=e._zod.parse,l=(c,p)=>{if(n===void 0){const T=jo(e,new Set);if(T===Wn)return e._zod.parse=a,e._zod.run===l&&(e._zod.run=a),a(c,p);T===Yn||o?n=!0:o=!0}const m=c.value;if(!xa(m))return a(c,p);let h=p[Us];h||(h={buckets:new WeakMap,backEdges:void 0},p[Us]=h);let f;s===p?f=i:(f=lh(h,e),s=p,i=f);const g=f.get(m);if(g)return c.value=g.value,g.issues?g.issues.length&&c.issues.push(...Ts(g.issues)):(c.memo=!0,h.backEdges??(h.backEdges=new WeakSet),h.backEdges.add(g.value)),c;Oo=f;const _=Io.length,v=a(c,p);Oo=void 0;const R=Io.length>_?Io.pop():void 0;return v instanceof Promise?v.then(T=>(R&&(R.issues=T.issues.length?Ts(T.issues):wr),T)):(R&&(R.issues=v.issues.length?Ts(v.issues):wr),v)};e._zod.parse=l,e._zod.run===a&&(e._zod.run=l)})}};function dh(){return uh}function ph(e,t){var o;const n=(o=e[Us])==null?void 0:o.backEdges;return n!==void 0&&xa(t)&&n.has(t)}const mh=()=>{const e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(i){return e[i]??null}const n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};function s(i,a){return i==="number"&&typeof a=="number"&&!Number.isFinite(a)?String(a):o[i]??i}return i=>{switch(i.code){case"invalid_type":{const a=s(i.expected),l=Od(i.input),c=s(l,i.input);return`Invalid input: expected ${a}, received ${c}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${pa(i.values[0])}`:`Invalid option: expected one of ${ir(i.values,"|")}`;case"too_big":{const a=i.exact?"exactly ":i.inclusive?"<=":"<",l=t(i.origin);return l?`Too big: expected ${i.origin??"value"} to have ${a}${i.maximum.toString()} ${l.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${a}${i.maximum.toString()}`}case"too_small":{const a=i.exact?"exactly ":i.inclusive?">=":">",l=t(i.origin);return l?`Too small: expected ${i.origin} to have ${a}${i.minimum.toString()} ${l.unit}`:`Too small: expected ${i.origin} to be ${a}${i.minimum.toString()}`}case"invalid_format":{const a=i;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${n[a.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${ir(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(l=>`'${l}'`).join(" | ")}`:i.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}};function hh(){return{localeError:mh()}}var Tr;class fh{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const o=n[0];return this._map.set(t,o),o&&typeof o=="object"&&"id"in o&&this._idmap.set(o.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const o={...this.get(n)??{}};delete o.id;const s={...o,...this._map.get(t)};return Object.keys(s).length?s:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function Sh(){return new fh}(Tr=globalThis).__zod_globalRegistry??(Tr.__zod_globalRegistry=Sh());const Gn=globalThis.__zod_globalRegistry;function hi(e){return e.checks&&(e.checks=[...e.checks]),e}function gh(e,t){return new e(hi({type:"string",...E(t)}))}function Aa(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...E(t)})}function _h(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...E(t)})}function bh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...E(t)})}function yh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...E(t)})}function vh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...E(t)})}function Rh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...E(t)})}function La(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...E(t)})}function wh(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...E(t)})}function Th(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...E(t)})}function Ph(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...E(t)})}function kh(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...E(t)})}function Ch(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...E(t)})}function $h(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...E(t)})}function Eh(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...E(t)})}function Oh(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...E(t)})}function Ih(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...E(t)})}function qh(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...E(t)})}function Nh(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...E(t)})}function zh(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...E(t)})}function xh(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...E(t)})}function Mh(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...E(t)})}function Ah(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...E(t)})}function ja(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...E(t)})}function Za(e,t){return new e({type:"string",format:"date",check:"string_format",...E(t)})}function Lh(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...E(t)})}function jh(e,t){return new e({type:"string",format:"duration",check:"string_format",...E(t)})}function Zh(e,t){return new e(hi({type:"number",checks:[],...E(t)}))}function Uh(e,t){return new e(hi({type:"number",coerce:!0,checks:[],...E(t)}))}function Dh(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...E(t)})}function Hh(e,t){return new e({type:"boolean",...E(t)})}function Fh(e,t){return new e({type:"undefined",...E(t)})}function Jh(e,t){return new e({type:"null",...E(t)})}function Vh(e){return new e({type:"any"})}function Bh(e){return new e({type:"unknown"})}function Kh(e,t){return new e({type:"never",...E(t)})}function Pr(e,t){return new ya({check:"less_than",...E(t),value:e,inclusive:!1})}function Ps(e,t){return new ya({check:"less_than",...E(t),value:e,inclusive:!0})}function kr(e,t){return new va({check:"greater_than",...E(t),value:e,inclusive:!1})}function ks(e,t){return new va({check:"greater_than",...E(t),value:e,inclusive:!0})}function Cr(e,t){return new Lp({check:"multiple_of",...E(t),value:e})}function Ua(e,t){return new Zp({check:"max_length",...E(t),maximum:e})}function Fo(e,t){return new Up({check:"min_length",...E(t),minimum:e})}function Da(e,t){return new Dp({check:"length_equals",...E(t),length:e})}function Wh(e,t){return new Hp({check:"string_format",format:"regex",...E(t),pattern:e})}function Gh(e){return new Fp({check:"string_format",format:"lowercase",...E(e)})}function Yh(e){return new Jp({check:"string_format",format:"uppercase",...E(e)})}function Qh(e,t){return new Vp({check:"string_format",format:"includes",...E(t),includes:e})}function Xh(e,t){return new Bp({check:"string_format",format:"starts_with",...E(t),prefix:e})}function ef(e,t){return new Kp({check:"string_format",format:"ends_with",...E(t),suffix:e})}function Ft(e){return new Wp({check:"overwrite",tx:e})}function tf(e){return Ft(t=>t.normalize(e))}function nf(){return Ft(e=>e.trim())}function of(){return Ft(e=>e.toLowerCase())}function sf(){return Ft(e=>e.toUpperCase())}function rf(){return Ft(e=>gd(e))}function af(e,t,n){return new e({type:"array",element:t,...E(n)})}function cf(e,t,n){return new e({type:"custom",check:"custom",fn:t,...E(n)})}function lf(e,t){const n=uf(o=>(o.addIssue=s=>{if(typeof s=="string")o.issues.push(no(s,o.value,n._zod.def));else{const i=s;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),"input"in i||(i.input=o.value),i.inst??(i.inst=n),i.continue??(i.continue=!n._zod.def.abort),o.issues.push(no(i))}},e(o.value,o)),t);return n}function uf(e,t){const n=new de({check:"custom",...E(t)});return n._zod.check=e,n}function Qn(e,...t){for(const n of t)for(const o of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,o)&&Ne(e,o,n[o]);return e}function Jo(e){let t=(e==null?void 0:e.target)??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:(e==null?void 0:e.metadata)??Gn,target:t,unrepresentable:(e==null?void 0:e.unrepresentable)??"throw",override:(e==null?void 0:e.override)??(()=>{}),io:(e==null?void 0:e.io)??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:(e==null?void 0:e.cycles)??"ref",reused:(e==null?void 0:e.reused)??"inline",intersections:[],deferred:[],external:(e==null?void 0:e.external)??void 0}}function te(e,t,n,o,s){const i=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:o.path,message:s}):t.unrepresentable;if(i==="any")return!1;if(i===void 0||i==="throw")throw new Error(s);return Object.assign(n,i),!0}function H(e,t,n={path:[],schemaPath:[]}){var m,h;var o;const s=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;const a={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,a),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;const l=(h=(m=e._zod).toJSONSchema)==null?void 0:h.call(m);if(l)a.schema=l;else{const f={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,f);else{const _=a.schema,v=t.processors[s.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);v(e,t,_,f)}const g=e._zod.parent;g&&(a.ref||(a.ref=g),H(g,t,f),t.seen.get(g).isParent=!0)}const c=t.metadataRegistry.get(e);return c&&Qn(a.schema,c),t.io==="input"&&ce(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&"_prefault"in a.schema&&((o=a.schema).default??(o.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function $r(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Vo(e,t){var a,l,c,p;const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;const o=new Map;for(const m of e.seen.entries()){const h=(a=e.metadataRegistry.get(m[0]))==null?void 0:a.id;if(h){const f=o.get(h);if(f&&f!==m[0])throw new Error(`Duplicate schema id "${h}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(h,m[0])}}const s=m=>{var v;const h=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const R=(v=e.external.registry.get(m[0]))==null?void 0:v.id,T=e.external.uri??(j=>j);if(R)return{ref:T(R)};const C=m[1].defId??m[1].schema.id??`schema${e.counter++}`;return m[1].defId=C,{defId:C,ref:`${T("__shared")}#/${h}/${$r(C)}`}}const f="#",g=`${f}/${h}/`;if(m[1]===n&&!m[1].schema.id)return{ref:f};const _=m[1].schema.id??`__schema${e.counter++}`;return{defId:_,ref:g+$r(_)}},i=m=>{if(m[1].schema.$ref)return;const h=m[1],{ref:f,defId:g}=s(m);h.def={...h.schema},g&&(h.defId=g);const _=h.schema;for(const v in _)delete _[v];_.$ref=f};if(e.cycles==="throw")for(const m of e.seen.entries()){const h=m[1];if(h.cycle)throw new Error(`Cycle detected: #/${(l=h.cycle)==null?void 0:l.join("/")}/<root>
|
|
63
|
+
|
|
64
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const m of e.seen.entries()){const h=m[1];if(t===m[0]){i(m);continue}if(e.external){const g=(c=e.external.registry.get(m[0]))==null?void 0:c.id;if(t!==m[0]&&g){i(m);continue}}if((p=e.metadataRegistry.get(m[0]))==null?void 0:p.id){i(m);continue}if(h.cycle){i(m);continue}h.count>1&&e.reused==="ref"&&i(m)}e.external&&(e.sharedDefsExtractedFor=e.external)}function Ha(e){const t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;const n=[];for(const o of t){if(!o||typeof o!="object")return;Ha(o);const s=Object.keys(o);if(s.length!==1||s[0]!=="type")return;const i=o.type;for(const a of Array.isArray(i)?i:[i]){if(typeof a!="string")return;n.includes(a)||n.push(a)}}delete e.anyOf,e.type=n.length===1?n[0]:n}const Fa=new Set(["type","properties","required","additionalProperties"]),Er=["oneOf","anyOf"];function Or(e){const t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function Ds(e){var i;const t=[];for(const a of e){if(typeof a!="object"||a.type!=="object")return null;for(const l in a)if(!Fa.has(l))return null;t.push(a)}const n={},o=new Set;for(const a of t){for(const l in a.properties){if(Object.prototype.hasOwnProperty.call(n,l))continue;const c=[];for(const m of t){const h=((i=m.properties)==null?void 0:i[l])??Or(m);h!=null&&(c.some(f=>JSON.stringify(f)===JSON.stringify(h))||c.push(h))}const p=c.length===1?c[0]:Ds(c)??{allOf:c};Ne(n,l,p)}for(const l of a.required??[])o.add(l)}const s={type:"object",properties:n};if(o.size&&(s.required=[...o]),t.every(a=>a.additionalProperties===!1))s.additionalProperties=!1;else{const a=[];for(const l of t){const c=Or(l);c&&!a.some(p=>JSON.stringify(p)===JSON.stringify(c))&&a.push(c)}a.length===1?s.additionalProperties=a[0]:a.length>1&&(s.additionalProperties={allOf:a})}return s}function df(e){const t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(const s of Fa)if(s in e)return;const n=t.filter(s=>Er.some(i=>Array.isArray(s[i])));let o=null;if(!n.length)o=Ds(t);else{const s=n[0],i=Er.find(c=>Array.isArray(s[c]));if(Object.keys(s).length!==1)return;const a=t.filter(c=>c!==s),l=s[i].map(c=>Ds([...a,c]));if(l.some(c=>!c))return;o={[i]:l}}o&&(delete e.allOf,Qn(e,o))}function Bo(e,t){var l,c,p,m;const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const o=h=>{const f=e.seen.get(h);if(f.ref===null)return;const g=f.def??f.schema,_={...g},v=f.ref;if(f.ref=null,v){o(v);const T=e.seen.get(v),C=T.schema;if(C.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(g.allOf=g.allOf??[],g.allOf.push(C)):Qn(g,C),Qn(g,_),h._zod.parent===v)for(const A in g)A==="$ref"||A==="allOf"||A in _||delete g[A];if(C.$ref&&T.def)for(const A in g)A==="$ref"||A==="allOf"||A in T.def&&JSON.stringify(g[A])===JSON.stringify(T.def[A])&&delete g[A]}const R=h._zod.parent;if(R&&R!==v){o(R);const T=e.seen.get(R);if(T!=null&&T.schema.$ref&&(g.$ref=T.schema.$ref,T.def))for(const C in g)C==="$ref"||C==="allOf"||C in T.def&&JSON.stringify(g[C])===JSON.stringify(T.def[C])&&delete g[C]}e.override({zodSchema:h,jsonSchema:g,path:f.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(const h of[...e.seen.entries()].reverse())o(h[0]);if(e.target!=="openapi-3.0")for(const h of e.seen.entries())Ha(h[1].def??h[1].schema);for(const h of e.deferred)h();if(e.intersections.length){const h=new Map;for(const f of e.seen.values())for(const g of[f.schema,f.def]){const _=g==null?void 0:g.allOf;if(!Array.isArray(_))continue;const v=h.get(_);v?v.push(g):h.set(_,[g])}for(const f of e.intersections)for(const g of h.get(f)??[])df(g)}}const s={};if(e.target==="draft-2020-12"?s.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?s.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?s.$schema="http://json-schema.org/draft-04/schema#":e.target,(l=e.external)!=null&&l.uri){const h=(c=e.external.registry.get(t))==null?void 0:c.id;if(!h)throw new Error("Schema is missing an `id` property");s.$id=e.external.uri(h)}Qn(s,n.defId?n.schema:n.def??n.schema);const i=(p=e.metadataRegistry.get(t))==null?void 0:p.id;i!==void 0&&s.id===i&&delete s.id;const a=((m=e.external)==null?void 0:m.defs)??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(const h of e.seen.entries()){const f=h[1];f.def&&f.defId&&(f.def.id===f.defId&&delete f.def.id,Ne(a,f.defId,f.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?s.$defs=a:s.definitions=a);try{const h=JSON.parse(JSON.stringify(s));return Object.defineProperty(h,"~standard",{value:{...t["~standard"],jsonSchema:{input:Ko(t,"input",e.processors),output:Ko(t,"output",e.processors)}},enumerable:!1,writable:!1}),h}catch{throw new Error("Error converting schema to JSON.")}}function ce(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const o=e._zod.def;if(o.type==="transform")return!0;if(o.type==="array")return ce(o.element,n);if(o.type==="set")return ce(o.valueType,n);if(o.type==="lazy")return ce(o.getter(),n);if(o.type==="promise"||o.type==="optional"||o.type==="nonoptional"||o.type==="nullable"||o.type==="readonly"||o.type==="default"||o.type==="prefault"||o.type==="catch")return ce(o.innerType,n);if(o.type==="intersection")return ce(o.left,n)||ce(o.right,n);if(o.type==="record"||o.type==="map")return ce(o.keyType,n)||ce(o.valueType,n);if(o.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:ce(o.in,n)||ce(o.out,n);if(o.type==="object"){for(const s in o.shape)if(ce(o.shape[s],n))return!0;return!1}if(o.type==="union"){for(const s of o.options)if(ce(s,n))return!0;return!1}if(o.type==="tuple"){for(const s of o.items)if(ce(s,n))return!0;return!!(o.rest&&ce(o.rest,n))}return!1}const pf=(e,t={})=>n=>{const o=Jo({...n,processors:t});return H(e,o),Vo(o,e),Bo(o,e)},Ko=(e,t,n={})=>o=>{const{libraryOptions:s,target:i}=o??{},a=Jo({...s??{},target:i,io:t,processors:n});return H(e,a),Vo(a,e),Bo(a,e)},Ut=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},Dt=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},Ir=(e,t)=>{Ut(e,"minimum",t),Dt(e,"maximum",t)},Ja=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},Va=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},Ba=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},Ka=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},qr=(e,t)=>Ut(e,"minimum",t.minimum),Nr=(e,t)=>Dt(e,"maximum",t.maximum),zr=e=>(t,n)=>{Ka(t,n.format);const[o,s]=e[n.format];Ut(t,"minimum",o),Dt(t,"maximum",s)},Cs={greater_than:(e,t)=>Ut(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>Dt(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>Ja(e,t.value),number_format:zr(ma),bigint_format:zr(vd),min_length:qr,max_length:Nr,length_equals:(e,t)=>Ir(e,t.length),min_size:qr,max_size:Nr,size_equals:(e,t)=>Ir(e,t.size),string_format:(e,t)=>{Ka(e,t.format),t.pattern&&Va(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>Ba(e,t.mime)};function be(e){var i;const t={},n=e._zod.def,o=e._zod.traits.has("$ZodCheck")?[e,...n.checks??[]]:n.checks??[];for(const a of o)(i=Cs[a._zod.def.check])==null||i.call(Cs,t,a._zod.def);const s=e._zod.bag;s.minimum!==void 0&&Ut(t,"minimum",s.minimum),s.exclusiveMinimum!==void 0&&Ut(t,"exclusiveMinimum",s.exclusiveMinimum),s.maximum!==void 0&&Dt(t,"maximum",s.maximum),s.exclusiveMaximum!==void 0&&Dt(t,"exclusiveMaximum",s.exclusiveMaximum),s.multipleOf!==void 0&&Ja(t,s.multipleOf),s.format!==void 0&&(t.format??(t.format=s.format),s.format.includes("int")&&(t.isInt=!0)),s.mime&&Ba(t,s.mime);for(const a of s.patterns??[])Va(t,a);return t}const mf={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},hf=new Map([[$a,wp],[mi,Tp]]),Wa=e=>hf.get(e)??e,Ga=(e,t,n,o)=>{const s=n;s.type="string";const{minimum:i,maximum:a,format:l,patterns:c,contentEncoding:p,laxFormat:m}=be(e);if(typeof i=="number"&&(s.minLength=i),typeof a=="number"&&(s.maxLength=a),l&&(s.format=mf[l]??l,s.format===""&&delete s.format,(l==="time"||m)&&delete s.format),p&&(s.contentEncoding=p),c&&c.size>0){const h=[...c].map(Wa);h.length===1?s.pattern=h[0].source:h.length>1&&(s.allOf=[...h.map(f=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},Ya=(e,t,n,o)=>{const s=n,{minimum:i,maximum:a,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:p,isInt:m}=be(e);s.type=m?"integer":"number";const h=typeof p=="number"&&p>=(i??Number.NEGATIVE_INFINITY),f=typeof c=="number"&&c<=(a??Number.POSITIVE_INFINITY),g=t.target==="draft-04"||t.target==="openapi-3.0";if(h?g?(s.minimum=p,s.exclusiveMinimum=!0):s.exclusiveMinimum=p:typeof i=="number"&&(s.minimum=i),f?g?(s.maximum=c,s.exclusiveMaximum=!0):s.exclusiveMaximum=c:typeof a=="number"&&(s.maximum=a),l){const _=new Set;for(const T of l)Number.isFinite(T)&&T!==0?_.add(Math.abs(T)):te(e,t,s,o,`A multipleOf divisor of ${T} cannot be represented in JSON Schema`);const[v,...R]=_;v!==void 0&&(s.multipleOf=v),R.length&&(s.allOf=[...s.allOf??[],...R.map(T=>({multipleOf:T}))])}},Qa=(e,t,n,o)=>{n.type="boolean"},ff=(e,t,n,o)=>{te(e,t,n,o,"BigInt cannot be represented in JSON Schema")},Sf=(e,t,n,o)=>{te(e,t,n,o,"Symbols cannot be represented in JSON Schema")},Xa=(e,t,n,o)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},ec=(e,t,n,o)=>{te(e,t,n,o,"Undefined cannot be represented in JSON Schema")},gf=(e,t,n,o)=>{te(e,t,n,o,"Void cannot be represented in JSON Schema")},tc=(e,t,n,o)=>{n.not={}},nc=(e,t,n,o)=>{},oc=(e,t,n,o)=>{},_f=(e,t,n,o)=>{te(e,t,n,o,"Date cannot be represented in JSON Schema")},sc=(e,t,n,o)=>{const s=e._zod.def,i=Ms(s.entries);if(i.length===0){n.not={};return}i.every(a=>typeof a=="number")&&(n.type="number"),i.every(a=>typeof a=="string")&&(n.type="string"),n.enum=i},ic=(e,t,n,o)=>{const s=e._zod.def;if(s.values.length===0){n.not={};return}const i=[];for(const a of s.values)if(a===void 0){if(te(e,t,n,o,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(te(e,t,n,o,"BigInt literals cannot be represented in JSON Schema"))return;i.push(Number(a))}else i.push(a);if(i.length!==0)if(i.length===1){const a=i[0];n.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[a]:n.const=a}else i.every(a=>typeof a=="number")&&(n.type="number"),i.every(a=>typeof a=="string")&&(n.type="string"),i.every(a=>typeof a=="boolean")&&(n.type="boolean"),i.every(a=>a===null)&&(n.type="null"),n.enum=i},bf=(e,t,n,o)=>{te(e,t,n,o,"NaN cannot be represented in JSON Schema")},yf=(e,t,n,o)=>{const s=n,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");s.type="string",s.pattern=i.source},vf=(e,t,n,o)=>{const s=n;s.type="string",s.format="binary",s.contentEncoding="binary";const{minimum:i,maximum:a,mime:l}=be(e);i!==void 0&&(s.minLength=i),a!==void 0&&(s.maxLength=a),l&&(l.length===0?s.not={}:l.length===1?s.contentMediaType=l[0]:s.anyOf=l.map(c=>({contentMediaType:c})))},Rf=(e,t,n,o)=>{n.type="boolean"},rc=(e,t,n,o)=>{te(e,t,n,o,"Custom types cannot be represented in JSON Schema")},wf=(e,t,n,o)=>{te(e,t,n,o,"Function types cannot be represented in JSON Schema")},ac=(e,t,n,o)=>{te(e,t,n,o,"Transforms cannot be represented in JSON Schema")},Tf=(e,t,n,o)=>{te(e,t,n,o,"Map cannot be represented in JSON Schema")},Pf=(e,t,n,o)=>{te(e,t,n,o,"Set cannot be represented in JSON Schema")},cc=(e,t,n,o)=>{const s=n,i=e._zod.def,{minimum:a,maximum:l}=be(e);typeof a=="number"&&(s.minItems=a),typeof l=="number"&&(s.maxItems=l),s.type="array",s.items=H(i.element,t,{...o,path:[...o.path,"items"]})};function oo(e){const t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?oo(t.out):t.type==="catch"?oo(t.innerType):e._zod.optin}const lc=(e,t,n,o)=>{var p;const s=n,i=e._zod.def,a=i.shape;if(Object.getOwnPropertySymbols(a).length&&te(e,t,s,o,"Symbol keys cannot be represented in JSON Schema"))return;s.type="object",s.properties={};for(const m in a)Ne(s.properties,m,H(a[m],t,{...o,path:[...o.path,"properties",m]}));const c=[];for(const m of Object.keys(a)){const h=i.shape[m];(t.io==="input"?oo(h)===void 0:h._zod.optout===void 0)&&c.push(m)}c.length>0&&(s.required=c),((p=i.catchall)==null?void 0:p._zod.def.type)==="never"?s.additionalProperties=!1:i.catchall?i.catchall&&(s.additionalProperties=H(i.catchall,t,{...o,path:[...o.path,"additionalProperties"]})):t.io==="output"&&(s.additionalProperties=!1)},uc=(e,t,n,o)=>{const s=e._zod.def,i=s.inclusive===!1,a=s.options.map((l,c)=>H(l,t,{...o,path:[...o.path,i?"oneOf":"anyOf",c]}));i?n.oneOf=a:n.anyOf=a},dc=(e,t,n,o)=>{const s=e._zod.def,i=H(s.left,t,{...o,path:[...o.path,"allOf",0]}),a=H(s.right,t,{...o,path:[...o.path,"allOf",1]}),l=p=>"allOf"in p&&Object.keys(p).length===1,c=[...l(i)?i.allOf:[i],...l(a)?a.allOf:[a]];n.allOf=c,t.intersections.push(c)},kf=(e,t,n,o)=>{const s=n,i=e._zod.def;s.type="array";const a=t.target==="draft-2020-12"?"prefixItems":"items",l=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",c=i.items.map((v,R)=>H(v,t,{...o,path:[...o.path,a,R]})),p=i.rest?H(i.rest,t,{...o,path:[...o.path,l,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;let m=i.items.length;for(;m>0;){const v=i.items[m-1];if(!(t.io==="input"?oo(v)!==void 0:v._zod.optout==="optional"))break;m--}const h=i.items.length,f=!i.rest;t.target==="draft-2020-12"?(s.prefixItems=c,f?s.items=!1:p&&(s.items=p),m>0&&(s.minItems=m),f&&(s.maxItems=h)):t.target==="openapi-3.0"?(s.items={anyOf:c},p&&s.items.anyOf.push(p),m>0&&(s.minItems=m),f&&(s.maxItems=h)):(s.items=c,f?s.additionalItems=!1:p&&(s.additionalItems=p),m>0&&(s.minItems=m),f&&(s.maxItems=h));const{minimum:g,maximum:_}=be(e);typeof g=="number"&&(s.minItems=g),typeof _=="number"&&(s.maxItems=_)};function Hs(e,t,n){var _;if(t.$ref){if(n.has(t))return t;n.add(t);const v=(_=e.get(t))==null?void 0:_.def;if(!v)return t;const R=Hs(e,v,n);return R===v?t:R}for(const v of["anyOf","oneOf"]){const R=t[v];if(!Array.isArray(R))continue;const T=R.map(C=>Hs(e,C,n));T.some((C,j)=>C!==R[j])&&(t={...t,[v]:T})}const o=Array.isArray(t.type)?t.type:[t.type],s=!o.includes("string")&&o.some(v=>v==="number"||v==="integer"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!s&&!(i!=null&&i.some(v=>typeof v=="number")))return t;const{minimum:a,maximum:l,exclusiveMinimum:c,exclusiveMaximum:p,multipleOf:m,format:h,id:f,...g}=t;return g.enum?g.enum=g.enum.map(v=>typeof v=="number"?String(v):v):typeof g.const=="number"&&(g.const=String(g.const)),s&&(g.type="string",i||(g.pattern=(o.includes("number")?ui:qp).source)),g}const Fs=new WeakMap;function Cf(e){var o;const t=new Map;for(const s of e.seen.values())s.def&&!t.has(s.schema)&&t.set(s.schema,s);const n=new Map;for(const s of Fs.get(e)??[]){const i=e.seen.get(s),a=(o=(i==null?void 0:i.def)??(i==null?void 0:i.schema))==null?void 0:o.propertyNames;if(!a||a===!0||n.has(a))continue;const l=Hs(t,a,new Set);l!==a&&n.set(a,l)}if(n.size)for(const s of e.seen.values())for(const i of[s.schema,s.def]){const a=i&&n.get(i.propertyNames);a&&(i.propertyNames=a)}}const pc=(e,t,n,o)=>{const s=n,i=e._zod.def;s.type="object";const a=i.keyType,l=be(a).patterns;if(i.mode==="loose"&&l&&l.size>0){const m=H(i.valueType,t,{...o,path:[...o.path,"patternProperties","*"]});s.patternProperties={};for(const h of l)Ne(s.patternProperties,Wa(h).source,m)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){s.propertyNames=H(i.keyType,t,{...o,path:[...o.path,"propertyNames"]});let m=Fs.get(t);m||(m=[],Fs.set(t,m),t.deferred.push(()=>Cf(t))),m.push(e)}s.additionalProperties=H(i.valueType,t,{...o,path:[...o.path,"additionalProperties"]})}const c=a._zod.values,p=t.io==="input"&&oo(i.valueType)!==void 0;if(c&&!i.partial&&!p){const m=[...c].filter(h=>typeof h=="string"||typeof h=="number");m.length>0&&(s.required=m.map(String))}},mc=(e,t,n,o)=>{const s=e._zod.def,i=H(s.innerType,t,o),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=s.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},hc=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType},fi=Symbol();function fc(e,t,n,o,s){let i=!1;const a=JSON.stringify(e,(l,c)=>typeof c!="bigint"?c:(i=!0,null));return i?(te(t,n,o,s,"BigInt defaults cannot be represented in JSON Schema"),fi):JSON.parse(a)}const Sc=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType;const a=fc(s.defaultValue,e,t,n,o);a!==fi&&(n.default=a)},gc=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);if(i.ref=s.innerType,t.io!=="input")return;const a=fc(s.defaultValue,e,t,n,o);a!==fi&&(n._prefault=a)},_c=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType;let a;try{a=s.catchValue(void 0)}catch{te(e,t,n,o,"Dynamic catch values are not supported in JSON Schema");return}n.default=a},bc=(e,t,n,o)=>{const s=e._zod.def,i=s.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?i?s.out:s.in:s.out;H(a,t,o);const l=t.seen.get(e);l.ref=a},yc=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType,n.readOnly=!0},$f=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType},Si=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType},vc=(e,t,n,o)=>{const s=e._zod.innerType;H(s,t,o);const i=t.seen.get(e);i.ref=s},xr={string:Ga,number:Ya,boolean:Qa,bigint:ff,symbol:Sf,null:Xa,undefined:ec,void:gf,never:tc,any:nc,unknown:oc,date:_f,enum:sc,literal:ic,nan:bf,template_literal:yf,file:vf,success:Rf,custom:rc,function:wf,transform:ac,map:Tf,set:Pf,array:cc,object:lc,union:uc,intersection:dc,tuple:kf,record:pc,nullable:mc,nonoptional:hc,default:Sc,prefault:gc,catch:_c,pipe:bc,readonly:yc,promise:$f,optional:Si,lazy:vc};function Rc(e,t){if("_idmap"in e){const o=e,s=Jo({...t,processors:xr}),i={};for(const c of o._idmap.entries()){const[p,m]=c;H(m,s)}const a={},l={registry:o,uri:t==null?void 0:t.uri,defs:i};s.external=l;for(const c of o._idmap.entries()){const[p,m]=c;Vo(s,m),Ne(a,p,Bo(s,m))}if(Object.keys(i).length>0){const c=s.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[c]:i}}return{schemas:a}}const n=Jo({...t,processors:xr});return H(e,n),Vo(n,e),Bo(n,e)}const Mr=new WeakSet([Object.prototype,Error.prototype]);function qo(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){const o=n(this);return Object.defineProperty(this,t,{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,t,{value:o,configurable:!0,writable:!0})}})}const Ef=(e,t)=>{Fd.init(e,t),e.name="ZodError";const n=Object.getPrototypeOf(e);Mr.has(n)||(Mr.add(n),qo(n,"format",o=>s=>Bd(o,s)),qo(n,"flatten",o=>s=>Vd(o,s)),qo(n,"addIssue",o=>s=>{o.issues.push(s),o.message=JSON.stringify(o.issues,As,2)}),qo(n,"addIssues",o=>s=>{o.issues.push(...s),o.message=JSON.stringify(o.issues,As,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},ve=b("ZodError",Ef,void 0,{Parent:Error}),Of=ri(ve),If=ai(ve),wc=ci(ve),qf=li(ve),Nf=Xd(ve),zf=ep(ve),xf=tp(ve),Mf=np(ve),Af=op(ve),Lf=sp(ve),jf=ip(ve),Zf=rp(ve);function Uf(){ke.localeError||Ce(hh())}function ss(){ke.memoizer||Ce({memoizer:dh()})}const U=b("ZodType",(e,t)=>(Uf(),Z.init(e,t),e.def=t,e.type=t.type,e),{check(...e){const t=this.def;return this.clone(_e(t,{checks:[...t.checks??[],...e.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return We(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(zS(e,t))},superRefine(e,t){return this.check(xS(e,t))},overwrite(e){return this.check(Ft(e))},optional(){return O(this)},exactOptional(){return yS(this)},nullable(){return jr(this)},nullish(){return O(jr(this))},nonoptional(e){return kS(this,e)},array(){return S(this)},or(e){return P([this,e])},and(e){return dt(this,e)},transform(e){return Zr(this,qc(e))},default(e){return wS(this,e)},prefault(e){return PS(this,e)},catch(e){return $S(this,e)},pipe(e){return Zr(this,e)},readonly(){return IS(this)},describe(e){const t=this.clone();return Gn.add(t,{description:e}),t},meta(...e){if(e.length===0)return Gn.get(this);const t=this.clone();return Gn.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return fa(this,"~standard",{...wa(this),jsonSchema:{input:Ko(this,"input"),output:Ko(this,"output")}})},set"~standard"(e){Ke(this,"~standard",e)},parse:function e(t,n){return Of(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await If(this,t,n,{callee:e})},safeParse(e,t){return wc(this,e,t)},async safeParseAsync(e,t){return qf(this,e,t)},get spa(){return this==null?void 0:this.safeParseAsync},set spa(e){Ke(this,"spa",e)},validate(e,t){return Gd(this,e,t)},validateAsync(e,t){return Qd(this,e,t)},encode:function e(t,n){return Nf(this,t,n,{callee:e})},decode:function e(t,n){return zf(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await xf(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await Mf(this,t,n,{callee:e})},safeEncode(e,t){return Af(this,e,t)},safeDecode(e,t){return Lf(this,e,t)},async safeEncodeAsync(e,t){return jf(this,e,t)},async safeDecodeAsync(e,t){return Zf(this,e,t)},toJSONSchema(e){return pf(this,{})(e)},get description(){var e;return(e=Gn.get(this))==null?void 0:e.description},get _def(){return this._zod.def}}),Tc=b("_ZodString",(e,t)=>{pi.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Ga(e,n,o)},Sa({format:e=>be(e).format??null,minLength:e=>be(e).minimum??null,maxLength:e=>be(e).maximum??null},{regex(...e){return this.check(Wh(...e))},includes(...e){return this.check(Qh(...e))},startsWith(...e){return this.check(Xh(...e))},endsWith(...e){return this.check(ef(...e))},min(...e){return this.check(Fo(...e))},max(...e){return this.check(Ua(...e))},length(...e){return this.check(Da(...e))},nonempty(...e){return this.check(Fo(1,...e))},lowercase(e){return this.check(Gh(e))},uppercase(e){return this.check(Yh(e))},trim(){return this.check(nf())},normalize(...e){return this.check(tf(...e))},toLowerCase(){return this.check(of())},toUpperCase(){return this.check(sf())},slugify(){return this.check(rf())}})),Df=b("ZodString",(e,t)=>{pi.init(e,t),Tc.init(e,t)},{email(e){return this.check(Aa(Cc,e))},url(e){return this.check(La($c,e))},jwt(e){return this.check(Ah(aS,e))},emoji(e){return this.check(wh(Bf,e))},guid(e){return this.check(_h(Vf,e))},uuid(e){return this.check(bh(No,e))},uuidv4(e){return this.check(yh(No,e))},uuidv6(e){return this.check(vh(No,e))},uuidv7(e){return this.check(Rh(No,e))},nanoid(e){return this.check(Th(Kf,e))},cuid(e){return this.check(Ph(Wf,e))},cuid2(e){return this.check(kh(Gf,e))},ulid(e){return this.check(Ch(Yf,e))},base64(e){return this.check(zh(sS,e))},base64url(e){return this.check(xh(iS,e))},xid(e){return this.check($h(Qf,e))},ksuid(e){return this.check(Eh(Xf,e))},ipv4(e){return this.check(Oh(eS,e))},ipv6(e){return this.check(Ih(tS,e))},cidrv4(e){return this.check(qh(nS,e))},cidrv6(e){return this.check(Nh(oS,e))},e164(e){return this.check(Mh(rS,e))},datetime(e){return this.check(ja(Pc,e))},date(e){return this.check(Za(kc,e))},time(e){return this.check(Lh(Hf,e))},duration(e){return this.check(jh(Ff,e))}});function r(e){return gh(Df,e)}const V=b("ZodStringFormat",(e,t)=>{F.init(e,t),Tc.init(e,t)}),Pc=b("ZodISODateTime",(e,t)=>{fm.init(e,t),V.init(e,t)}),kc=b("ZodISODate",(e,t)=>{Sm.init(e,t),V.init(e,t)}),Hf=b("ZodISOTime",(e,t)=>{gm.init(e,t),V.init(e,t)}),Ff=b("ZodISODuration",(e,t)=>{_m.init(e,t),V.init(e,t)}),Cc=b("ZodEmail",(e,t)=>{tm.init(e,t),V.init(e,t)});function Jf(e){return Aa(Cc,e)}const Vf=b("ZodGUID",(e,t)=>{Xp.init(e,t),V.init(e,t)}),No=b("ZodUUID",(e,t)=>{em.init(e,t),V.init(e,t)}),$c=b("ZodURL",(e,t)=>{am.init(e,t),V.init(e,t)});function Ec(e){return La($c,e)}const Bf=b("ZodEmoji",(e,t)=>{cm.init(e,t),V.init(e,t)}),Kf=b("ZodNanoID",(e,t)=>{lm.init(e,t),V.init(e,t)}),Wf=b("ZodCUID",(e,t)=>{um.init(e,t),V.init(e,t)}),Gf=b("ZodCUID2",(e,t)=>{dm.init(e,t),V.init(e,t)}),Yf=b("ZodULID",(e,t)=>{pm.init(e,t),V.init(e,t)}),Qf=b("ZodXID",(e,t)=>{mm.init(e,t),V.init(e,t)}),Xf=b("ZodKSUID",(e,t)=>{hm.init(e,t),V.init(e,t)}),eS=b("ZodIPv4",(e,t)=>{bm.init(e,t),V.init(e,t)}),tS=b("ZodIPv6",(e,t)=>{vm.init(e,t),V.init(e,t)}),nS=b("ZodCIDRv4",(e,t)=>{Rm.init(e,t),V.init(e,t)}),oS=b("ZodCIDRv6",(e,t)=>{Tm.init(e,t),V.init(e,t)}),sS=b("ZodBase64",(e,t)=>{Pm.init(e,t),V.init(e,t)}),iS=b("ZodBase64URL",(e,t)=>{Cm.init(e,t),V.init(e,t)}),rS=b("ZodE164",(e,t)=>{$m.init(e,t),V.init(e,t)}),aS=b("ZodJWT",(e,t)=>{Om.init(e,t),V.init(e,t)}),gi=b("ZodNumber",(e,t)=>{Ea.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Ya(e,n,o,s),e.isFinite=!0},Sa({minValue:e=>{const{minimum:t,exclusiveMinimum:n}=be(e);return Math.max(t??Number.NEGATIVE_INFINITY,n??Number.NEGATIVE_INFINITY)},maxValue:e=>{const{maximum:t,exclusiveMaximum:n}=be(e);return Math.min(t??Number.POSITIVE_INFINITY,n??Number.POSITIVE_INFINITY)},isInt:e=>{const{isInt:t,multipleOf:n}=be(e);return!!t||!!(n!=null&&n.some(Number.isSafeInteger))},format:e=>be(e).format??null},{gt(e,t){return this.check(kr(e,t))},gte(e,t){return this.check(ks(e,t))},min(e,t){return this.check(ks(e,t))},lt(e,t){return this.check(Pr(e,t))},lte(e,t){return this.check(Ps(e,t))},max(e,t){return this.check(Ps(e,t))},int(e){return this.check(Ar(e))},safe(e){return this.check(Ar(e))},positive(e){return this.check(kr(0,e))},nonnegative(e){return this.check(ks(0,e))},negative(e){return this.check(Pr(0,e))},nonpositive(e){return this.check(Ps(0,e))},multipleOf(e,t){return this.check(Cr(e,t))},step(e,t){return this.check(Cr(e,t))},finite(){return this}}));function y(e){return Zh(gi,e)}const cS=b("ZodNumberFormat",(e,t)=>{Im.init(e,t),gi.init(e,t)});function Ar(e){return Dh(cS,e)}const lS=b("ZodBoolean",(e,t)=>{qm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Qa(e,n,o)});function k(e){return Hh(lS,e)}const uS=b("ZodUndefined",(e,t)=>{Nm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>ec(e,n,o,s)});function Js(e){return Fh(uS,e)}const dS=b("ZodNull",(e,t)=>{zm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Xa(e,n,o)});function so(e){return Jh(dS,e)}const pS=b("ZodAny",(e,t)=>{xm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>nc()});function _i(){return Vh(pS)}const mS=b("ZodUnknown",(e,t)=>{Mm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>oc()});function $(){return Bh(mS)}const hS=b("ZodNever",(e,t)=>{Am.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>tc(e,n,o)});function Vs(e){return Kh(hS,e)}const fS=b("ZodArray",(e,t)=>{ss(),Zm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>cc(e,n,o,s),e.element=t.element},{min(e,t){return this.check(Fo(e,t))},nonempty(e){return this.check(Fo(1,e))},max(e,t){return this.check(Ua(e,t))},length(e,t){return this.check(Da(e,t))},unwrap(){return this.element}});function S(e,t){return af(fS,e,t)}const Oc=b("ZodObject",(e,t)=>{ss(),Hm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>lc(e,n,o,s),xd(e,"shape",n=>n._zod.def.shape,!1)},{keyof(){return N(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(_e(this._zod.def,{catchall:e}))},passthrough(){return this.clone(_e(this._zod.def,{catchall:$()}))},loose(){return this.clone(_e(this._zod.def,{catchall:$()}))},strict(){return this.clone(_e(this._zod.def,{catchall:Vs()}))},strip(){return this.clone(_e(this._zod.def,{catchall:void 0}))},extend(e){return Td(this,e)},safeExtend(e){return Pd(this,e)},merge(e){return kd(this,e)},pick(e){return Rd(this,e)},omit(e){return wd(this,e)},partial(...e){return ar(Nc,this,e[0])},exactPartial(...e){return ar(zc,this,e[0],"exactPartial")},required(...e){return Cd(xc,this,e[0])}});function u(e,t){const n={type:"object",shape:e??{},...E(t)};return new Oc(n)}function I(e,t){return new Oc({type:"object",shape:e,catchall:$(),...E(t)})}const Ic=b("ZodUnion",(e,t)=>{qa.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>uc(e,n,o,s),e.options=t.options});function P(e,t){return new Ic({type:"union",options:e,...E(t)})}const SS=b("ZodDiscriminatedUnion",(e,t)=>{Ic.init(e,t),Jm.init(e,t)});function Wo(e,t,n){return new SS({type:"union",options:t,discriminator:e,...E(n)})}const gS=b("ZodIntersection",(e,t)=>{Vm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>dc(e,n,o,s)});function dt(e,t){return new gS({type:"intersection",left:e,right:t})}const Lr=b("ZodRecord",(e,t)=>{ss(),Bm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>pc(e,n,o,s),e.keyType=t.keyType,e.valueType=t.valueType});function w(e,t,n){return!t||!t._zod?new Lr({type:"record",keyType:r(),valueType:e,...E(t)}):new Lr({type:"record",keyType:e,valueType:t,...E(n)})}const Bs=b("ZodEnum",(e,t)=>{Km.init(e,t),U.init(e,t),e._zod.processJSONSchema=(o,s,i)=>sc(e,o,s),e.enum=t.entries,e.options=[...e._zod.values];const n=new Set(Object.keys(t.entries));e.extract=(o,s)=>{const i={};for(const a of o)if(n.has(a))i[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Bs({...t,checks:[],...E(s),entries:i})},e.exclude=(o,s)=>{const i={...t.entries};for(const a of o)if(n.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new Bs({...t,checks:[],...E(s),entries:i})}});function N(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Bs({type:"enum",entries:n,...E(t)})}const _S=b("ZodLiteral",(e,t)=>{Wm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>ic(e,n,o,s),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function d(e,t){return new _S({type:"literal",values:Array.isArray(e)?e:[e],...E(t)})}const bS=b("ZodTransform",(e,t)=>{ss(),Gm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>ac(e,n,o,s),e._zod.parse=(n,o)=>{if(o.direction==="backward")throw new ga(e.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(no(i,n.value,t));else{const a=i;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=n.value),a.inst??(a.inst=e),n.issues.push(no(a))}};const s=t.transform(n.value,n);return s instanceof Promise?s.then(i=>(n.value=i,n)):(n.value=s,n)}});function qc(e){return new bS({type:"transform",transform:e})}const Nc=b("ZodOptional",(e,t)=>{Na.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Si(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function O(e){return new Nc({type:"optional",innerType:e})}const zc=b("ZodExactOptional",(e,t)=>{Ym.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Si(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function yS(e){return new zc({type:"optional",innerType:e})}const vS=b("ZodNullable",(e,t)=>{Qm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>mc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function jr(e){return new vS({type:"nullable",innerType:e})}const RS=b("ZodDefault",(e,t)=>{Xm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Sc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function wS(e,t){return new RS({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():da(t)}})}const TS=b("ZodPrefault",(e,t)=>{eh.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>gc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function PS(e,t){return new TS({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():da(t)}})}const xc=b("ZodNonOptional",(e,t)=>{th.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>hc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function kS(e,t){return new xc({type:"nonoptional",innerType:e,...E(t)})}const CS=b("ZodCatch",(e,t)=>{nh.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>_c(e,n,o,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function $S(e,t){return new CS({type:"catch",innerType:e,catchValue:typeof t=="function"?t:Ad(t)})}const Mc=b("ZodPipe",(e,t)=>{za.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>bc(e,n,o,s),e.in=t.in,e.out=t.out});function Zr(e,t){return new Mc({type:"pipe",in:e,out:t})}const ES=b("ZodPreprocess",(e,t)=>{Mc.init(e,t),oh.init(e,t)}),OS=b("ZodReadonly",(e,t)=>{sh.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>yc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function IS(e){return new OS({type:"readonly",innerType:e})}const qS=b("ZodLazy",(e,t)=>{ih.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>vc(e,n,o,s),e.unwrap=()=>e._zod.def.getter()});function bi(e){return new qS({type:"lazy",getter:e})}const NS=b("ZodCustom",(e,t)=>{rh.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>rc(e,n,o,s)});function zS(e,t={}){return cf(NS,e,t)}function xS(e,t){return lf(e,t)}function io(e,t){return new ES({type:"pipe",in:qc(e),out:t})}const MS={custom:"custom"};function is(e){return ja(Pc,e)}function AS(e){return Za(kc,e)}function LS(e){return Uh(gi,e)}const jS="2025-11-25",ZS=[jS,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],US="io.modelcontextprotocol/related-task",rs="io.modelcontextprotocol/protocolVersion",yi="io.modelcontextprotocol/clientInfo",Xn="io.modelcontextprotocol/serverInfo",as="io.modelcontextprotocol/clientCapabilities",DS="io.modelcontextprotocol/subscriptionId",vi="io.modelcontextprotocol/logLevel",cs="2.0",Ht=bi(()=>P([r(),y(),k(),so(),w(r(),Ht),S(Ht)])),K=w(r(),Ht),HS=S(Ht),Ri=P([r(),y().int()]),wi=r(),Ac=u({ttl:y().optional()}),Lc=u({taskId:r()}),Ti=I({progressToken:Ri.optional(),[US]:Lc.optional()}),re=u({_meta:Ti.optional()}),po=re.extend({task:Ac.optional()}),W=u({method:r(),params:re.loose().optional()}),pe=u({_meta:Ti.optional()}),me=u({method:r(),params:pe.loose().optional()}),Pi=I({get[Xn](){return Vt.optional().catch(void 0)}}),G=I({_meta:Pi.optional()}),mt=P([r(),y().int()]),ki=u({jsonrpc:d(cs),id:mt,...W.shape}).strict(),Ci=u({jsonrpc:d(cs),...me.shape}).strict(),ls=u({jsonrpc:d(cs),id:mt,result:G}).strict(),us=u({jsonrpc:d(cs),id:mt.optional(),error:u({code:y().int(),message:r(),data:$().optional()})}).strict(),jc=P([ki,Ci,ls,us]),FS=P([ls,us]),ds=G.strict(),Zc=pe.extend({requestId:mt.optional(),reason:r().optional()}),$i=me.extend({method:d("notifications/cancelled"),params:Zc}),Uc=u({src:r(),mimeType:r().optional(),sizes:S(r()).optional(),theme:N(["light","dark"]).optional()}),Jt=u({icons:S(Uc).optional()}),pt=u({name:r(),title:r().optional()}),Vt=pt.extend({...pt.shape,...Jt.shape,version:r(),websiteUrl:r().optional(),description:r().optional()}),JS=dt(u({applyDefaults:k().optional()}),K),VS=io(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,dt(u({form:JS.optional(),url:K.optional()}),K.optional())),Dc=I({list:K.optional(),cancel:K.optional(),requests:I({sampling:I({createMessage:K.optional()}).optional(),elicitation:I({create:K.optional()}).optional()}).optional()}),Hc=I({list:K.optional(),cancel:K.optional(),requests:I({tools:I({call:K.optional()}).optional()}).optional()}),Fc=u({experimental:w(r(),K).optional(),sampling:u({context:K.optional(),tools:K.optional()}).optional(),elicitation:VS.optional(),roots:u({listChanged:k().optional()}).optional(),tasks:Dc.optional(),extensions:w(r(),K).optional()}),Jc=re.extend({protocolVersion:r(),capabilities:Fc,clientInfo:Vt}),Vc=W.extend({method:d("initialize"),params:Jc}),Ei=u({experimental:w(r(),K).optional(),logging:K.optional(),completions:K.optional(),prompts:u({listChanged:k().optional()}).optional(),resources:u({subscribe:k().optional(),listChanged:k().optional()}).optional(),tools:u({listChanged:k().optional()}).optional(),tasks:Hc.optional(),extensions:w(r(),K).optional()}),Bc=G.extend({protocolVersion:r(),capabilities:Ei,serverInfo:Vt,instructions:r().optional()}),Kc=me.extend({method:d("notifications/initialized"),params:pe.optional()}),Wc=W.extend({method:d("server/discover"),params:re.optional()}),Gc=G.extend({supportedVersions:S(r()),capabilities:Ei,instructions:r().optional()}),Oi=W.extend({method:d("ping"),params:re.optional()}),Yc=u({progress:y(),total:O(y()),message:O(r())}),Qc=u({...pe.shape,...Yc.shape,progressToken:Ri}),Ii=me.extend({method:d("notifications/progress"),params:Qc}),Xc=re.extend({cursor:wi.optional()}),Bt=W.extend({params:Xc.optional()}),Kt=G.extend({nextCursor:wi.optional()}),qi=u({uri:r(),mimeType:O(r()),_meta:w(r(),$()).optional()}),Ni=qi.extend({text:r()}),zi=r().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),xi=qi.extend({blob:zi}),Wt=N(["user","assistant"]),ht=u({audience:S(Wt).optional(),priority:y().min(0).max(1).optional(),lastModified:is({offset:!0}).optional()}),Mi=u({...pt.shape,...Jt.shape,uri:r(),description:O(r()),mimeType:O(r()),size:O(y()),annotations:ht.optional(),_meta:O(I({}))}),el=u({...pt.shape,...Jt.shape,uriTemplate:r(),description:O(r()),mimeType:O(r()),annotations:ht.optional(),_meta:O(I({}))}),tl=Bt.extend({method:d("resources/list")}),nl=Kt.extend({resources:S(Mi)}),ol=Bt.extend({method:d("resources/templates/list")}),sl=Kt.extend({resourceTemplates:S(el)}),ps=re.extend({uri:r()}),il=ps,rl=W.extend({method:d("resources/read"),params:il}),al=G.extend({contents:S(P([Ni,xi]))}),cl=me.extend({method:d("notifications/resources/list_changed"),params:pe.optional()}),ll=ps,ul=W.extend({method:d("resources/subscribe"),params:ll}),dl=ps,pl=W.extend({method:d("resources/unsubscribe"),params:dl}),Ai=u({toolsListChanged:k().optional(),promptsListChanged:k().optional(),resourcesListChanged:k().optional(),resourceSubscriptions:S(r()).optional()}),ml=re.extend({notifications:Ai}),hl=W.extend({method:d("subscriptions/listen"),params:ml}),fl=pe.extend({notifications:Ai}),Sl=me.extend({method:d("notifications/subscriptions/acknowledged"),params:fl}),gl=Pi.extend({[DS]:mt}),_l=G.extend({_meta:gl}),bl=pe.extend({uri:r()}),yl=me.extend({method:d("notifications/resources/updated"),params:bl}),vl=u({name:r(),description:O(r()),required:O(k())}),Rl=u({...pt.shape,...Jt.shape,description:O(r()),arguments:O(S(vl)),_meta:O(I({}))}),wl=Bt.extend({method:d("prompts/list")}),Tl=Kt.extend({prompts:S(Rl)}),Pl=re.extend({name:r(),arguments:w(r(),r()).optional()}),kl=W.extend({method:d("prompts/get"),params:Pl}),ms=u({type:d("text"),text:r(),annotations:ht.optional(),_meta:w(r(),$()).optional()}),hs=u({type:d("image"),data:zi,mimeType:r(),annotations:ht.optional(),_meta:w(r(),$()).optional()}),fs=u({type:d("audio"),data:zi,mimeType:r(),annotations:ht.optional(),_meta:w(r(),$()).optional()}),Cl=u({type:d("tool_use"),name:r(),id:r(),input:w(r(),$()),_meta:w(r(),$()).optional()}),Li=u({type:d("resource"),resource:P([Ni,xi]),annotations:ht.optional(),_meta:w(r(),$()).optional()}),ji=Mi.extend({type:d("resource_link")}),Gt=P([ms,hs,fs,ji,Li]),$l=u({role:Wt,content:Gt}),El=G.extend({description:r().optional(),messages:S($l)}),Ol=me.extend({method:d("notifications/prompts/list_changed"),params:pe.optional()}),Il=u({title:r().optional(),readOnlyHint:k().optional(),destructiveHint:k().optional(),idempotentHint:k().optional(),openWorldHint:k().optional()}),ql=u({taskSupport:N(["required","optional","forbidden"]).optional()}),Ss=u({...pt.shape,...Jt.shape,description:r().optional(),inputSchema:u({type:d("object"),properties:w(r(),Ht).optional(),required:S(r()).optional()}).catchall($()),outputSchema:I({$schema:r().optional()}).optional(),annotations:Il.optional(),execution:ql.optional(),_meta:w(r(),$()).optional()}),Nl=Bt.extend({method:d("tools/list")}),zl=Kt.extend({tools:S(Ss)}),gs=G.extend({content:S(Gt).default([]),structuredContent:$().optional(),isError:k().optional()}),BS=gs.or(G.extend({toolResult:$()})),xl=po.extend({name:r(),arguments:w(r(),$()).optional()}),Ml=W.extend({method:d("tools/call"),params:xl}),Al=me.extend({method:d("notifications/tools/list_changed"),params:pe.optional()}),KS=u({autoRefresh:k().default(!0),debounceMs:y().int().nonnegative().default(300)}),Zi=N(["debug","info","notice","warning","error","critical","alert","emergency"]),Ll=re.extend({level:Zi}),jl=W.extend({method:d("logging/setLevel"),params:Ll}),Zl=pe.extend({level:Zi,logger:r().optional(),data:$()}),Ul=me.extend({method:d("notifications/message"),params:Zl}),Dl=u({name:r().optional()}),Hl=u({hints:S(Dl).optional(),costPriority:y().min(0).max(1).optional(),speedPriority:y().min(0).max(1).optional(),intelligencePriority:y().min(0).max(1).optional()}),Fl=u({mode:N(["auto","required","none"]).optional()}),Jl=u({type:d("tool_result"),toolUseId:r().describe("The unique identifier for the corresponding tool call."),content:S(Gt),structuredContent:$().optional(),isError:k().optional(),_meta:w(r(),$()).optional()}),Vl=Wo("type",[ms,hs,fs]),ro=Wo("type",[ms,hs,fs,Cl,Jl]),Bl=u({role:Wt,content:P([ro,S(ro)]),_meta:w(r(),$()).optional()}),Kl=po.extend({messages:S(Bl),modelPreferences:Hl.optional(),systemPrompt:r().optional(),includeContext:N(["none","thisServer","allServers"]).optional(),temperature:y().optional(),maxTokens:y().int(),stopSequences:S(r()).optional(),metadata:K.optional(),tools:S(Ss).optional(),toolChoice:Fl.optional()}),Wl=W.extend({method:d("sampling/createMessage"),params:Kl}),Gl=G.extend({model:r(),stopReason:O(N(["endTurn","stopSequence","maxTokens"]).or(r())),role:Wt,content:Vl}),Yl=G.extend({model:r(),stopReason:O(N(["endTurn","stopSequence","maxTokens","toolUse"]).or(r())),role:Wt,content:P([ro,S(ro)])}),Ui=u({type:d("boolean"),title:r().optional(),description:r().optional(),default:k().optional()}),_s=u({type:d("string"),title:r().optional(),description:r().optional(),minLength:y().optional(),maxLength:y().optional(),format:N(["email","uri","date","date-time"]).optional(),default:r().optional()}),Go=u({type:N(["number","integer"]),title:r().optional(),description:r().optional(),minimum:y().optional(),maximum:y().optional(),default:y().optional()}),Di=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),default:r().optional()}),Hi=u({type:d("string"),title:r().optional(),description:r().optional(),oneOf:S(u({const:r(),title:r()})),default:r().optional()}),Fi=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),enumNames:S(r()).optional(),default:r().optional()}),Ql=P([Di,Hi]),Ji=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({type:d("string"),enum:S(r())}),default:S(r()).optional()}),Vi=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({anyOf:S(u({const:r(),title:r()}))}),default:S(r()).optional()}),Xl=P([Ji,Vi]),eu=P([Fi,Ql,Xl]),Bi=P([eu,Ui,_s,Go]),bs=po.extend({mode:d("form").optional(),message:r(),requestedSchema:u({type:d("object"),properties:w(r(),Bi),required:S(r()).optional()}).catchall($())}),tu=po.extend({mode:d("url"),message:r(),elicitationId:r(),url:r().url()}),nu=P([bs,tu]),ou=W.extend({method:d("elicitation/create"),params:nu}),su=pe.extend({elicitationId:r()}),iu=me.extend({method:d("notifications/elicitation/complete"),params:su}),ru=G.extend({action:N(["accept","decline","cancel"]),content:io(e=>e===null?void 0:e,w(r(),P([r(),y(),k(),S(r())])).optional())}),au=u({type:d("ref/resource"),uri:r()}),cu=u({type:d("ref/prompt"),name:r()}),lu=re.extend({ref:P([cu,au]),argument:u({name:r(),value:r()}),context:u({arguments:w(r(),r()).optional()}).optional()}),uu=W.extend({method:d("completion/complete"),params:lu}),du=G.extend({completion:I({values:S(r()).max(100),total:O(y().int()),hasMore:O(k())})}),pu=u({uri:r().startsWith("file://"),name:r().optional(),_meta:w(r(),$()).optional()}),mu=W.extend({method:d("roots/list"),params:re.optional()}),hu=G.extend({roots:S(pu)}),fu=me.extend({method:d("notifications/roots/list_changed"),params:pe.optional()}),WS=I({ttl:y().optional(),pollInterval:y().optional()}),Su=N(["working","input_required","completed","failed","cancelled"]),Yt=u({taskId:r(),status:Su,ttl:P([y(),so()]),createdAt:r(),lastUpdatedAt:r(),pollInterval:O(y()),statusMessage:O(r())}),GS=G.extend({task:Yt}),gu=pe.merge(Yt),YS=me.extend({method:d("notifications/tasks/status"),params:gu}),QS=W.extend({method:d("tasks/get"),params:re.extend({taskId:r()})}),XS=G.merge(Yt),eg=W.extend({method:d("tasks/result"),params:re.extend({taskId:r()})}),tg=G.loose(),ng=Bt.extend({method:d("tasks/list")}),og=Kt.extend({tasks:S(Yt)}),sg=W.extend({method:d("tasks/cancel"),params:re.extend({taskId:r()})}),ig=G.merge(Yt),rg=P([Oi,Vc,Wc,uu,jl,kl,wl,tl,ol,rl,ul,pl,hl,Ml,Nl]),ag=P([$i,Ii,Kc,fu]),cg=P([ds,Gl,Yl,ru,hu]),lg=P([Oi,Wl,ou,mu]),ug=P([$i,Ii,Ul,yl,cl,Al,Ol,Sl,iu]),dg=P([ds,Bc,Gc,du,El,Tl,nl,sl,al,gs,zl,_l]),ee=Ec().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:MS.custom,message:"URL must be parseable",fatal:!0}),Ld}).refine(e=>{const t=new URL(e);return t.protocol!=="javascript:"&&t.protocol!=="data:"&&t.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),pg=I({resource:r().url(),authorization_servers:S(ee).optional(),jwks_uri:r().url().optional(),scopes_supported:S(r()).optional(),bearer_methods_supported:S(r()).optional(),resource_signing_alg_values_supported:S(r()).optional(),resource_name:r().optional(),resource_documentation:r().optional(),resource_policy_uri:r().url().optional(),resource_tos_uri:r().url().optional(),tls_client_certificate_bound_access_tokens:k().optional(),authorization_details_types_supported:S(r()).optional(),dpop_signing_alg_values_supported:S(r()).optional(),dpop_bound_access_tokens_required:k().optional()}),_u=I({issuer:r(),authorization_endpoint:ee,token_endpoint:ee,registration_endpoint:ee.optional(),scopes_supported:S(r()).optional(),response_types_supported:S(r()),response_modes_supported:S(r()).optional(),grant_types_supported:S(r()).optional(),token_endpoint_auth_methods_supported:S(r()).optional(),token_endpoint_auth_signing_alg_values_supported:S(r()).optional(),service_documentation:ee.optional(),revocation_endpoint:ee.optional(),revocation_endpoint_auth_methods_supported:S(r()).optional(),revocation_endpoint_auth_signing_alg_values_supported:S(r()).optional(),introspection_endpoint:r().optional(),introspection_endpoint_auth_methods_supported:S(r()).optional(),introspection_endpoint_auth_signing_alg_values_supported:S(r()).optional(),code_challenge_methods_supported:S(r()).optional(),client_id_metadata_document_supported:k().optional(),authorization_response_iss_parameter_supported:k().optional().catch(void 0),dpop_signing_alg_values_supported:S(r()).optional()}),bu=I({issuer:r(),authorization_endpoint:ee,token_endpoint:ee,userinfo_endpoint:ee.optional(),jwks_uri:ee,registration_endpoint:ee.optional(),scopes_supported:S(r()).optional(),response_types_supported:S(r()),response_modes_supported:S(r()).optional(),grant_types_supported:S(r()).optional(),acr_values_supported:S(r()).optional(),subject_types_supported:S(r()),id_token_signing_alg_values_supported:S(r()),id_token_encryption_alg_values_supported:S(r()).optional(),id_token_encryption_enc_values_supported:S(r()).optional(),userinfo_signing_alg_values_supported:S(r()).optional(),userinfo_encryption_alg_values_supported:S(r()).optional(),userinfo_encryption_enc_values_supported:S(r()).optional(),request_object_signing_alg_values_supported:S(r()).optional(),request_object_encryption_alg_values_supported:S(r()).optional(),request_object_encryption_enc_values_supported:S(r()).optional(),token_endpoint_auth_methods_supported:S(r()).optional(),token_endpoint_auth_signing_alg_values_supported:S(r()).optional(),display_values_supported:S(r()).optional(),claim_types_supported:S(r()).optional(),claims_supported:S(r()).optional(),service_documentation:r().optional(),claims_locales_supported:S(r()).optional(),ui_locales_supported:S(r()).optional(),claims_parameter_supported:k().optional(),request_parameter_supported:k().optional(),request_uri_parameter_supported:k().optional(),require_request_uri_registration:k().optional(),op_policy_uri:ee.optional(),op_tos_uri:ee.optional(),client_id_metadata_document_supported:k().optional(),authorization_response_iss_parameter_supported:k().optional().catch(void 0)}),mg=u({...bu.shape,..._u.pick({code_challenge_methods_supported:!0}).shape}),hg=u({access_token:r(),id_token:r().optional(),token_type:r(),expires_in:LS().optional(),scope:r().optional(),refresh_token:r().optional(),issuer:r().optional().catch(void 0)}).strip(),fg=u({issued_token_type:d("urn:ietf:params:oauth:token-type:id-jag"),access_token:r(),token_type:r().optional(),expires_in:y().optional(),scope:r().optional()}).strip(),Sg=u({error:r(),error_description:r().optional(),error_uri:r().optional()}),Ur=ee.optional().or(d("").transform(()=>{})),yu=u({redirect_uris:S(ee),token_endpoint_auth_method:r().optional(),grant_types:S(r()).optional(),response_types:S(r()).optional(),application_type:r().optional(),client_name:r().optional(),client_uri:ee.optional(),logo_uri:Ur,scope:r().optional(),contacts:S(r()).optional(),tos_uri:Ur,policy_uri:r().optional(),jwks_uri:ee.optional(),jwks:_i().optional(),software_id:r().optional(),software_version:r().optional(),software_statement:r().optional()}).strip(),vu=u({client_id:r(),client_secret:r().optional(),client_id_issued_at:y().optional(),client_secret_expires_at:y().optional(),issuer:r().optional().catch(void 0)}).strip(),gg=yu.merge(vu),_g=u({error:r(),error_description:r().optional()}).strip(),bg=u({token:r(),token_type_hint:r().optional()}).strip(),Ks=Symbol.for("mcp.sdk.errorBrands");function Ru(e,t){const n=new Set;let o=t;for(;typeof o=="function";){const s=o.mcpBrand;Object.prototype.hasOwnProperty.call(o,"mcpBrand")&&typeof s=="string"&&n.add(s),o=Object.getPrototypeOf(o)}n.size!==0&&Object.defineProperty(e,Ks,{value:n,enumerable:!1,configurable:!0})}function Yo(e,t){try{if(typeof t=="object"&&t!==null&&Object.prototype.hasOwnProperty.call(e,"mcpBrand")&&typeof e.mcpBrand=="string"&&Object.prototype.hasOwnProperty.call(t,Ks)){const n=t[Ks];if(n&&typeof n.has=="function"&&n.has(e.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call(e,t)}let se=(function(e){return e.NotConnected="NOT_CONNECTED",e.AlreadyConnected="ALREADY_CONNECTED",e.NotInitialized="NOT_INITIALIZED",e.CapabilityNotSupported="CAPABILITY_NOT_SUPPORTED",e.RequestTimeout="REQUEST_TIMEOUT",e.ConnectionClosed="CONNECTION_CLOSED",e.SendFailed="SEND_FAILED",e.InvalidResult="INVALID_RESULT",e.UnsupportedResultType="UNSUPPORTED_RESULT_TYPE",e.InputRequiredRoundsExceeded="INPUT_REQUIRED_ROUNDS_EXCEEDED",e.ListPaginationExceeded="LIST_PAGINATION_EXCEEDED",e.MethodNotSupportedByProtocolVersion="METHOD_NOT_SUPPORTED_BY_PROTOCOL_VERSION",e.EraNegotiationFailed="ERA_NEGOTIATION_FAILED",e.ClientHttpNotImplemented="CLIENT_HTTP_NOT_IMPLEMENTED",e.ClientHttpAuthentication="CLIENT_HTTP_AUTHENTICATION",e.ClientHttpForbidden="CLIENT_HTTP_FORBIDDEN",e.ClientHttpUnexpectedContent="CLIENT_HTTP_UNEXPECTED_CONTENT",e.ClientHttpFailedToOpenStream="CLIENT_HTTP_FAILED_TO_OPEN_STREAM",e.ClientHttpFailedToTerminateSession="CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION",e})({});var zt,X=(zt=class extends Error{static[Symbol.hasInstance](t){return Yo(this,t)}static isInstance(t){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return Yo(this,t)}constructor(t,n,o,s){super(n,s),this.code=t,this.data=o,this.name="SdkError",Ru(this,new.target)}},Object.defineProperty(zt,"mcpBrand",{value:"mcp.SdkError"}),zt);const yg="2026-07-28";function vg(e){return e>=yg}function wu(e){var n;const t=e.structuredContent;return t===void 0||!(typeof t!="object"||t===null||Array.isArray(t))||(((n=e.content)==null?void 0:n.some(o=>o.type==="text"))??!1)?e:{...e,content:[...e.content??[],{type:"text",text:JSON.stringify(t)}]}}const Tu=["task","inputRequests","requestState"];function Rg(e){return e===null||typeof e!="object"||Array.isArray(e)||e.content!==void 0||Tu.some(t=>t in e)?e:{...e,content:[]}}function wg(){const e=bi(()=>P([r(),y(),k(),so(),w(r(),e),S(e)])),t=w(r(),e),n=P([r(),y().int()]),o=r(),s=u({ttl:y().optional()}),i=u({taskId:r()}),a=I({progressToken:n.optional(),"io.modelcontextprotocol/related-task":i.optional()}),l=u({_meta:a.optional()}),c=l.extend({task:s.optional()}),p=u({method:r(),params:l.loose().optional()}),m=u({_meta:a.optional()}),h=u({method:r(),params:m.loose().optional()}),f=I({_meta:a.optional()}),g=P([r(),y().int()]),_=f.strict(),v=m.extend({requestId:g.optional(),reason:r().optional()}),R=h.extend({method:d("notifications/cancelled"),params:v}),T=u({src:r(),mimeType:r().optional(),sizes:S(r()).optional(),theme:N(["light","dark"]).optional()}),C=u({icons:S(T).optional()}),j=u({name:r(),title:r().optional()}),A=j.extend({...j.shape,...C.shape,version:r(),websiteUrl:r().optional(),description:r().optional()}),Re=dt(u({applyDefaults:k().optional()}),t),Ee=io(oe=>oe&&typeof oe=="object"&&!Array.isArray(oe)&&Object.keys(oe).length===0?{form:{}}:oe,dt(u({form:Re.optional(),url:t.optional()}),t.optional())),D=I({list:t.optional(),cancel:t.optional(),requests:I({sampling:I({createMessage:t.optional()}).optional(),elicitation:I({create:t.optional()}).optional()}).optional()}),M=I({list:t.optional(),cancel:t.optional(),requests:I({tools:I({call:t.optional()}).optional()}).optional()}),Y=u({experimental:w(r(),t).optional(),sampling:u({context:t.optional(),tools:t.optional()}).optional(),elicitation:Ee.optional(),roots:u({listChanged:k().optional()}).optional(),tasks:D.optional(),extensions:w(r(),t).optional()}),L=l.extend({protocolVersion:r(),capabilities:Y,clientInfo:A}),J=p.extend({method:d("initialize"),params:L}),he=u({experimental:w(r(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:u({listChanged:k().optional()}).optional(),resources:u({subscribe:k().optional(),listChanged:k().optional()}).optional(),tools:u({listChanged:k().optional()}).optional(),tasks:M.optional(),extensions:w(r(),t).optional()}),we=f.extend({protocolVersion:r(),capabilities:he,serverInfo:A,instructions:r().optional()}),Q=h.extend({method:d("notifications/initialized"),params:m.optional()}),fe=p.extend({method:d("ping"),params:l.optional()}),ze=u({progress:y(),total:O(y()),message:O(r())}),Oe=u({...m.shape,...ze.shape,progressToken:n}),Ze=h.extend({method:d("notifications/progress"),params:Oe}),ft=l.extend({cursor:o.optional()}),xe=p.extend({params:ft.optional()}),Me=f.extend({nextCursor:o.optional()}),St=u({uri:r(),mimeType:O(r()),_meta:w(r(),$()).optional()}),gt=St.extend({text:r()}),Ge=r().refine(oe=>{try{return atob(oe),!0}catch{return!1}},{message:"Invalid Base64 string"}),_t=St.extend({blob:Ge}),Ie=N(["user","assistant"]),Te=u({audience:S(Ie).optional(),priority:y().min(0).max(1).optional(),lastModified:is({offset:!0}).optional()}),Ye=u({...j.shape,...C.shape,uri:r(),description:O(r()),mimeType:O(r()),size:O(y()),annotations:Te.optional(),_meta:O(I({}))}),Qt=u({...j.shape,...C.shape,uriTemplate:r(),description:O(r()),mimeType:O(r()),annotations:Te.optional(),_meta:O(I({}))}),Xt=xe.extend({method:d("resources/list")}),en=Me.extend({resources:S(Ye)}),Ue=xe.extend({method:d("resources/templates/list")}),bt=Me.extend({resourceTemplates:S(Qt)}),Qe=l.extend({uri:r()}),tn=Qe,nn=p.extend({method:d("resources/read"),params:tn}),on=f.extend({contents:S(P([gt,_t]))}),sn=h.extend({method:d("notifications/resources/list_changed"),params:m.optional()}),rn=Qe,an=p.extend({method:d("resources/subscribe"),params:rn}),cn=Qe,ln=p.extend({method:d("resources/unsubscribe"),params:cn}),un=m.extend({uri:r()}),dn=h.extend({method:d("notifications/resources/updated"),params:un}),pn=u({name:r(),description:O(r()),required:O(k())}),mn=u({...j.shape,...C.shape,description:O(r()),arguments:O(S(pn)),_meta:O(I({}))}),hn=xe.extend({method:d("prompts/list")}),fn=Me.extend({prompts:S(mn)}),Sn=l.extend({name:r(),arguments:w(r(),r()).optional()}),gn=p.extend({method:d("prompts/get"),params:Sn}),Xe=u({type:d("text"),text:r(),annotations:Te.optional(),_meta:w(r(),$()).optional()}),et=u({type:d("image"),data:Ge,mimeType:r(),annotations:Te.optional(),_meta:w(r(),$()).optional()}),tt=u({type:d("audio"),data:Ge,mimeType:r(),annotations:Te.optional(),_meta:w(r(),$()).optional()}),_n=u({type:d("tool_use"),name:r(),id:r(),input:w(r(),$()),_meta:w(r(),$()).optional()}),De=u({type:d("resource"),resource:P([gt,_t]),annotations:Te.optional(),_meta:w(r(),$()).optional()}),bn=Ye.extend({type:d("resource_link")}),ye=P([Xe,et,tt,bn,De]),yt=u({role:Ie,content:ye}),vt=f.extend({description:r().optional(),messages:S(yt)}),nt=h.extend({method:d("notifications/prompts/list_changed"),params:m.optional()}),yn=u({title:r().optional(),readOnlyHint:k().optional(),destructiveHint:k().optional(),idempotentHint:k().optional(),openWorldHint:k().optional()}),Rt=u({taskSupport:N(["required","optional","forbidden"]).optional()}),ot=u({...j.shape,...C.shape,description:r().optional(),inputSchema:u({type:d("object"),properties:w(r(),e).optional(),required:S(r()).optional()}).catchall($()),outputSchema:u({type:d("object"),properties:w(r(),e).optional(),required:S(r()).optional()}).catchall($()).optional(),annotations:yn.optional(),execution:Rt.optional(),_meta:w(r(),$()).optional()}),wt=xe.extend({method:d("tools/list")}),Tt=Me.extend({tools:S(ot)}),Pt=f.extend({content:S(ye),structuredContent:w(r(),$()).optional(),isError:k().optional()}),ne=c.extend({name:r(),arguments:w(r(),$()).optional()}),vn=p.extend({method:d("tools/call"),params:ne}),mo=h.extend({method:d("notifications/tools/list_changed"),params:m.optional()}),kt=N(["debug","info","notice","warning","error","critical","alert","emergency"]),Rn=l.extend({level:kt}),wn=p.extend({method:d("logging/setLevel"),params:Rn}),Tn=m.extend({level:kt,logger:r().optional(),data:$()}),Pn=h.extend({method:d("notifications/message"),params:Tn}),kn=u({name:r().optional()}),Cn=u({hints:S(kn).optional(),costPriority:y().min(0).max(1).optional(),speedPriority:y().min(0).max(1).optional(),intelligencePriority:y().min(0).max(1).optional()}),$n=u({mode:N(["auto","required","none"]).optional()}),ho=u({type:d("tool_result"),toolUseId:r().describe("The unique identifier for the corresponding tool call."),content:S(ye),structuredContent:u({}).loose().optional(),isError:k().optional(),_meta:w(r(),$()).optional()}),En=Wo("type",[Xe,et,tt]),He=Wo("type",[Xe,et,tt,_n,ho]),On=u({role:Ie,content:P([He,S(He)]),_meta:w(r(),$()).optional()}),In=c.extend({messages:S(On),modelPreferences:Cn.optional(),systemPrompt:r().optional(),includeContext:N(["none","thisServer","allServers"]).optional(),temperature:y().optional(),maxTokens:y().int(),stopSequences:S(r()).optional(),metadata:t.optional(),tools:S(ot).optional(),toolChoice:$n.optional()}),qn=p.extend({method:d("sampling/createMessage"),params:In}),Nn=f.extend({model:r(),stopReason:O(N(["endTurn","stopSequence","maxTokens"]).or(r())),role:Ie,content:En}),zn=f.extend({model:r(),stopReason:O(N(["endTurn","stopSequence","maxTokens","toolUse"]).or(r())),role:Ie,content:P([He,S(He)])}),xn=u({type:d("boolean"),title:r().optional(),description:r().optional(),default:k().optional()}),Mn=u({type:d("string"),title:r().optional(),description:r().optional(),minLength:y().optional(),maxLength:y().optional(),format:N(["email","uri","date","date-time"]).optional(),default:r().optional()}),An=u({type:N(["number","integer"]),title:r().optional(),description:r().optional(),minimum:y().optional(),maximum:y().optional(),default:y().optional()}),Ln=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),default:r().optional()}),jn=u({type:d("string"),title:r().optional(),description:r().optional(),oneOf:S(u({const:r(),title:r()})),default:r().optional()}),Zn=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),enumNames:S(r()).optional(),default:r().optional()}),Un=P([Ln,jn]),st=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({type:d("string"),enum:S(r())}),default:S(r()).optional()}),it=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({anyOf:S(u({const:r(),title:r()}))}),default:S(r()).optional()}),fo=P([st,it]),So=P([Zn,Un,fo]),Se=P([So,xn,Mn,An]),ge=c.extend({mode:d("form").optional(),message:r(),requestedSchema:u({type:d("object"),properties:w(r(),Se),required:S(r()).optional()}).catchall($())}),Dn=c.extend({mode:d("url"),message:r(),elicitationId:r(),url:r().url()}),Pe=P([ge,Dn]),go=p.extend({method:d("elicitation/create"),params:Pe}),_o=m.extend({elicitationId:r()}),bo=h.extend({method:d("notifications/elicitation/complete"),params:_o}),yo=f.extend({action:N(["accept","decline","cancel"]),content:io(oe=>oe===null?void 0:oe,w(r(),P([r(),y(),k(),S(r())])).optional())}),vo=u({type:d("ref/resource"),uri:r()}),Ro=u({type:d("ref/prompt"),name:r()}),wo=l.extend({ref:P([Ro,vo]),argument:u({name:r(),value:r()}),context:u({arguments:w(r(),r()).optional()}).optional()}),Hn=p.extend({method:d("completion/complete"),params:wo}),To=f.extend({completion:I({values:S(r()).max(100),total:O(y().int()),hasMore:O(k())})}),Po=u({uri:r().startsWith("file://"),name:r().optional(),_meta:w(r(),$()).optional()}),Ct=p.extend({method:d("roots/list"),params:l.optional()}),Fn=f.extend({roots:S(Po)}),ko=h.extend({method:d("notifications/roots/list_changed"),params:m.optional()}),Co=I({ttl:y().optional(),pollInterval:y().optional()}),Jn=N(["working","input_required","completed","failed","cancelled"]),Fe=u({taskId:r(),status:Jn,ttl:P([y(),so()]),createdAt:r(),lastUpdatedAt:r(),pollInterval:O(y()),statusMessage:O(r())}),ue=f.extend({task:Fe}),$o=m.merge(Fe),rt=h.extend({method:d("notifications/tasks/status"),params:$o}),$t=p.extend({method:d("tasks/get"),params:l.extend({taskId:r()})}),Et=f.merge(Fe),Ot=p.extend({method:d("tasks/result"),params:l.extend({taskId:r()})}),ys=f.loose(),ae=xe.extend({method:d("tasks/list")}),B=Me.extend({tasks:S(Fe)}),at=p.extend({method:d("tasks/cancel"),params:l.extend({taskId:r()})});return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:o,TaskMetadataSchema:s,RelatedTaskMetadataSchema:i,RequestMetaSchema:a,BaseRequestParamsSchema:l,TaskAugmentedRequestParamsSchema:c,RequestSchema:p,NotificationsParamsSchema:m,NotificationSchema:h,ResultSchema:f,RequestIdSchema:g,EmptyResultSchema:_,CancelledNotificationParamsSchema:v,CancelledNotificationSchema:R,IconSchema:T,IconsSchema:C,BaseMetadataSchema:j,ImplementationSchema:A,ClientTasksCapabilitySchema:D,ServerTasksCapabilitySchema:M,ClientCapabilitiesSchema:Y,InitializeRequestParamsSchema:L,InitializeRequestSchema:J,ServerCapabilitiesSchema:he,InitializeResultSchema:we,InitializedNotificationSchema:Q,PingRequestSchema:fe,ProgressSchema:ze,ProgressNotificationParamsSchema:Oe,ProgressNotificationSchema:Ze,PaginatedRequestParamsSchema:ft,PaginatedRequestSchema:xe,PaginatedResultSchema:Me,ResourceContentsSchema:St,TextResourceContentsSchema:gt,BlobResourceContentsSchema:_t,RoleSchema:Ie,AnnotationsSchema:Te,ResourceSchema:Ye,ResourceTemplateSchema:Qt,ListResourcesRequestSchema:Xt,ListResourcesResultSchema:en,ListResourceTemplatesRequestSchema:Ue,ListResourceTemplatesResultSchema:bt,ResourceRequestParamsSchema:Qe,ReadResourceRequestParamsSchema:tn,ReadResourceRequestSchema:nn,ReadResourceResultSchema:on,ResourceListChangedNotificationSchema:sn,SubscribeRequestParamsSchema:rn,SubscribeRequestSchema:an,UnsubscribeRequestParamsSchema:cn,UnsubscribeRequestSchema:ln,ResourceUpdatedNotificationParamsSchema:un,ResourceUpdatedNotificationSchema:dn,PromptArgumentSchema:pn,PromptSchema:mn,ListPromptsRequestSchema:hn,ListPromptsResultSchema:fn,GetPromptRequestParamsSchema:Sn,GetPromptRequestSchema:gn,TextContentSchema:Xe,ImageContentSchema:et,AudioContentSchema:tt,ToolUseContentSchema:_n,EmbeddedResourceSchema:De,ResourceLinkSchema:bn,ContentBlockSchema:ye,PromptMessageSchema:yt,GetPromptResultSchema:vt,PromptListChangedNotificationSchema:nt,ToolAnnotationsSchema:yn,ToolExecutionSchema:Rt,ToolSchema:ot,ListToolsRequestSchema:wt,ListToolsResultSchema:Tt,CallToolResultSchema:Pt,CallToolRequestParamsSchema:ne,CallToolRequestSchema:vn,ToolListChangedNotificationSchema:mo,LoggingLevelSchema:kt,SetLevelRequestParamsSchema:Rn,SetLevelRequestSchema:wn,LoggingMessageNotificationParamsSchema:Tn,LoggingMessageNotificationSchema:Pn,ModelHintSchema:kn,ModelPreferencesSchema:Cn,ToolChoiceSchema:$n,ToolResultContentSchema:ho,SamplingContentSchema:En,SamplingMessageContentBlockSchema:He,SamplingMessageSchema:On,CreateMessageRequestParamsSchema:In,CreateMessageRequestSchema:qn,CreateMessageResultSchema:Nn,CreateMessageResultWithToolsSchema:zn,BooleanSchemaSchema:xn,StringSchemaSchema:Mn,NumberSchemaSchema:An,UntitledSingleSelectEnumSchemaSchema:Ln,TitledSingleSelectEnumSchemaSchema:jn,LegacyTitledEnumSchemaSchema:Zn,SingleSelectEnumSchemaSchema:Un,UntitledMultiSelectEnumSchemaSchema:st,TitledMultiSelectEnumSchemaSchema:it,MultiSelectEnumSchemaSchema:fo,EnumSchemaSchema:So,PrimitiveSchemaDefinitionSchema:Se,ElicitRequestFormParamsSchema:ge,ElicitRequestURLParamsSchema:Dn,ElicitRequestParamsSchema:Pe,ElicitRequestSchema:go,ElicitationCompleteNotificationParamsSchema:_o,ElicitationCompleteNotificationSchema:bo,ElicitResultSchema:yo,ResourceTemplateReferenceSchema:vo,PromptReferenceSchema:Ro,CompleteRequestParamsSchema:wo,CompleteRequestSchema:Hn,CompleteResultSchema:To,RootSchema:Po,ListRootsRequestSchema:Ct,ListRootsResultSchema:Fn,RootsListChangedNotificationSchema:ko,TaskCreationParamsSchema:Co,TaskStatusSchema:Jn,TaskSchema:Fe,CreateTaskResultSchema:ue,TaskStatusNotificationParamsSchema:$o,TaskStatusNotificationSchema:rt,GetTaskRequestSchema:$t,GetTaskResultSchema:Et,GetTaskPayloadRequestSchema:Ot,GetTaskPayloadResultSchema:ys,ListTasksRequestSchema:ae,ListTasksResultSchema:B,CancelTaskRequestSchema:at,CancelTaskResultSchema:f.merge(Fe),ClientRequestSchema:P([fe,J,Hn,wn,gn,hn,Xt,Ue,nn,an,ln,vn,wt,$t,Ot,ae,at]),ClientNotificationSchema:P([R,Ze,Q,ko,rt]),ClientResultSchema:P([_,Nn,zn,yo,Fn,Et,B,ue]),ServerRequestSchema:P([fe,qn,go,Ct,$t,Ot,ae,at]),ServerNotificationSchema:P([R,Ze,Pn,dn,sn,mo,nt,rt,bo]),ServerResultSchema:P([_,we,To,vt,fn,en,bt,on,Pt,Tt,Et,B,ue]),CallToolResultWireSchema:$().superRefine((oe,Yu)=>{if(!(typeof oe!="object"||oe===null||Array.isArray(oe)||oe.content!==void 0)){for(const sr of Tu)if(sr in oe){Yu.addIssue({code:"custom",message:`content is required when the body carries '${sr}' — another result family cannot default into an empty tools/call success`});return}}}).transform(Rg).pipe(Pt)}}let Tg;function Pu(){return Tg??(Tg=wg())}function ku(e){return e.type!=="object"}const Pg=new Set(["const","enum","default","examples"]),kg=new Set(["properties","patternProperties","$defs","definitions","dependentSchemas","dependencies"]);function Dr(e){return e!==void 0&&!(typeof e=="string"&&e.startsWith("#"))}function Cg(e){const t=typeof e.$schema=="string"?e.$schema:void 0;if(Dr(e.$id))return{...t!==void 0&&{$schema:t},type:"object",properties:{result:e},required:["result"]};const n=ud(e.$schema)&&e.$recursiveAnchor!==!0,o=(s,i)=>{if(Array.isArray(s))return s.map(c=>o(c,!1));if(s===null||typeof s!="object"||!i&&Dr(s.$id))return s;const a={};let l=!1;for(const[c,p]of Object.entries(s))i?a[c]=o(p,!1):(c==="$ref"||c==="$dynamicRef")&&typeof p=="string"?a[c]=p==="#"?"#/properties/result":p.startsWith("#/")?`#/properties/result${p.slice(1)}`:p:c==="$recursiveRef"&&p==="#"&&n?l=!0:Pg.has(c)?a[c]=p:kg.has(c)?a[c]=o(p,!0):a[c]=o(p,!1);return l&&("$ref"in a?a.allOf=[...Array.isArray(a.allOf)?a.allOf:[],{$ref:"#/properties/result"}]:a.$ref="#/properties/result"),a};return{...t!==void 0&&{$schema:t},type:"object",properties:{result:o(e,!1)},required:["result"]}}const $g={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"tasks/get":null,"tasks/result":null,"tasks/list":null,"tasks/cancel":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null},Eg={"notifications/cancelled":null,"notifications/progress":null,"notifications/initialized":null,"notifications/roots/list_changed":null,"notifications/tasks/status":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/elicitation/complete":null},Og={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null};let zo;function Ki(){if(zo)return zo;const e=Pu();return zo={requestSchemas:{ping:e.PingRequestSchema,initialize:e.InitializeRequestSchema,"completion/complete":e.CompleteRequestSchema,"logging/setLevel":e.SetLevelRequestSchema,"prompts/get":e.GetPromptRequestSchema,"prompts/list":e.ListPromptsRequestSchema,"resources/list":e.ListResourcesRequestSchema,"resources/templates/list":e.ListResourceTemplatesRequestSchema,"resources/read":e.ReadResourceRequestSchema,"resources/subscribe":e.SubscribeRequestSchema,"resources/unsubscribe":e.UnsubscribeRequestSchema,"tools/call":e.CallToolRequestSchema,"tools/list":e.ListToolsRequestSchema,"tasks/get":e.GetTaskRequestSchema,"tasks/result":e.GetTaskPayloadRequestSchema,"tasks/list":e.ListTasksRequestSchema,"tasks/cancel":e.CancelTaskRequestSchema,"sampling/createMessage":e.CreateMessageRequestSchema,"elicitation/create":e.ElicitRequestSchema,"roots/list":e.ListRootsRequestSchema},notificationSchemas:{"notifications/cancelled":e.CancelledNotificationSchema,"notifications/progress":e.ProgressNotificationSchema,"notifications/initialized":e.InitializedNotificationSchema,"notifications/roots/list_changed":e.RootsListChangedNotificationSchema,"notifications/tasks/status":e.TaskStatusNotificationSchema,"notifications/message":e.LoggingMessageNotificationSchema,"notifications/resources/updated":e.ResourceUpdatedNotificationSchema,"notifications/resources/list_changed":e.ResourceListChangedNotificationSchema,"notifications/tools/list_changed":e.ToolListChangedNotificationSchema,"notifications/prompts/list_changed":e.PromptListChangedNotificationSchema,"notifications/elicitation/complete":e.ElicitationCompleteNotificationSchema},resultSchemas:{ping:e.EmptyResultSchema,initialize:e.InitializeResultSchema,"completion/complete":e.CompleteResultSchema,"logging/setLevel":e.EmptyResultSchema,"prompts/get":e.GetPromptResultSchema,"prompts/list":e.ListPromptsResultSchema,"resources/list":e.ListResourcesResultSchema,"resources/templates/list":e.ListResourceTemplatesResultSchema,"resources/read":e.ReadResourceResultSchema,"resources/subscribe":e.EmptyResultSchema,"resources/unsubscribe":e.EmptyResultSchema,"tools/call":e.CallToolResultWireSchema,"tools/list":e.ListToolsResultSchema,"sampling/createMessage":e.CreateMessageResultWithToolsSchema,"elicitation/create":e.ElicitResultSchema,"roots/list":e.ListRootsResultSchema}},zo}function Cu(e){return Object.prototype.hasOwnProperty.call($g,e)}function $u(e){return Object.prototype.hasOwnProperty.call(Eg,e)}function Ig(e){return Object.prototype.hasOwnProperty.call(Og,e)}function qg(e){return Ig(e)?Ki().resultSchemas[e]:void 0}function Ng(e){return Cu(e)?Ki().requestSchemas[e]:void 0}function zg(e){return $u(e)?Ki().notificationSchemas[e]:void 0}function Ws(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function xo(e,t){if(e===void 0)return{ok:!1,reason:"not-in-era"};const n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:"invalid",message:String(n.error)}}const Hr={ok:!1,reason:"not-in-era"};function Fr(e){return Ws(e)&&Ws(e.outputSchema)&&ku(e.outputSchema)}const Wi={era:"2025-11-25",hasRequestMethod:Cu,hasNotificationMethod:$u,validateRequest:(e,t)=>xo(Ng(e),t),validateResult:(e,t)=>xo(qg(e),t),validateNotification:(e,t)=>xo(zg(e),t),hasInputRequestMethod:()=>!1,validateInputRequest:()=>Hr,validateInputResponse:()=>Hr,samplingResultVariant:((e,t)=>{const n=Pu();return xo(e?n.CreateMessageResultWithToolsSchema:n.CreateMessageResultSchema,t)}),outboundEnvelope:e=>{},validateEnvelopeMeta:e=>[],projectCallToolResult(e,t){const n=wu(e),o=n.structuredContent;if(o===void 0)return n;const s=typeof o!="object"||o===null||Array.isArray(o),i=t!==void 0&&ku(t);return!s&&!i?n:{...n,structuredContent:{result:o}}},decodeResult(e,t){if(Ws(t)&&"resultType"in t){const n={...t};return delete n.resultType,{kind:"complete",result:n}}return{kind:"complete",result:t}},encodeResult(e,t){if(e!=="tools/list")return t;const n=t.tools;return!Array.isArray(n)||!n.some(o=>Fr(o))?t:{...t,tools:n.map(o=>Fr(o)?{...o,outputSchema:Cg(o.outputSchema)}:o)}},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope:e=>{}};function xg(){const e=bi(()=>P([r(),y(),k(),so(),w(r(),e),S(e)])),t=w(r(),e),n=P([r(),y().int()]),o=r(),s=P([r(),y().int()]),i=N(["user","assistant"]),a=N(["debug","info","notice","warning","error","critical","alert","emergency"]),l=r().refine(B=>{try{return atob(B),!0}catch{return!1}},{message:"Invalid Base64 string"}),c=u({ttl:y().optional()}),p=u({taskId:r()}),m=I({progressToken:n.optional(),"io.modelcontextprotocol/related-task":p.optional()}),h=u({_meta:m.optional()}),f=h.extend({task:c.optional()}),g=u({_meta:m.optional()}),_=u({method:r(),params:g.loose().optional()}),v=u({src:r(),mimeType:r().optional(),sizes:S(r()).optional(),theme:N(["light","dark"]).optional()}),R=u({icons:S(v).optional()}),T=u({name:r(),title:r().optional()}),C=T.extend({...T.shape,...R.shape,version:r(),websiteUrl:r().optional(),description:r().optional()}),j=dt(u({applyDefaults:k().optional()}),t),A=io(B=>B&&typeof B=="object"&&!Array.isArray(B)&&Object.keys(B).length===0?{form:{}}:B,dt(u({form:j.optional(),url:t.optional()}),t.optional())),Re=I({list:t.optional(),cancel:t.optional(),requests:I({sampling:I({createMessage:t.optional()}).optional(),elicitation:I({create:t.optional()}).optional()}).optional()}),Ee=I({list:t.optional(),cancel:t.optional(),requests:I({tools:I({call:t.optional()}).optional()}).optional()}),D=u({experimental:w(r(),t).optional(),sampling:u({context:t.optional(),tools:t.optional()}).optional(),elicitation:A.optional(),roots:u({listChanged:k().optional()}).optional(),tasks:Re.optional(),extensions:w(r(),t).optional()}),M=u({experimental:w(r(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:u({listChanged:k().optional()}).optional(),resources:u({subscribe:k().optional(),listChanged:k().optional()}).optional(),tools:u({listChanged:k().optional()}).optional(),tasks:Ee.optional(),extensions:w(r(),t).optional()}),Y=u({progress:y(),total:O(y()),message:O(r())}),L=u({...g.shape,...Y.shape,progressToken:n}),J=_.extend({method:d("notifications/progress"),params:L}),he=g.extend({level:a,logger:r().optional(),data:$()}),we=_.extend({method:d("notifications/message"),params:he}),Q=u({uri:r(),mimeType:O(r()),_meta:w(r(),$()).optional()}),fe=Q.extend({text:r()}),ze=Q.extend({blob:l}),Oe=u({audience:S(i).optional(),priority:y().min(0).max(1).optional(),lastModified:is({offset:!0}).optional()}),Ze=u({...T.shape,...R.shape,uri:r(),description:O(r()),mimeType:O(r()),size:O(y()),annotations:Oe.optional(),_meta:O(I({}))}),ft=u({...T.shape,...R.shape,uriTemplate:r(),description:O(r()),mimeType:O(r()),annotations:Oe.optional(),_meta:O(I({}))}),xe=_.extend({method:d("notifications/resources/list_changed"),params:g.optional()}),Me=g.extend({uri:r()}),St=_.extend({method:d("notifications/resources/updated"),params:Me}),gt=u({name:r(),description:O(r()),required:O(k())}),Ge=u({...T.shape,...R.shape,description:O(r()),arguments:O(S(gt)),_meta:O(I({}))}),_t=_.extend({method:d("notifications/prompts/list_changed"),params:g.optional()}),Ie=u({type:d("text"),text:r(),annotations:Oe.optional(),_meta:w(r(),$()).optional()}),Te=u({type:d("image"),data:l,mimeType:r(),annotations:Oe.optional(),_meta:w(r(),$()).optional()}),Ye=u({type:d("audio"),data:l,mimeType:r(),annotations:Oe.optional(),_meta:w(r(),$()).optional()}),Qt=u({type:d("tool_use"),name:r(),id:r(),input:w(r(),$()),_meta:w(r(),$()).optional()}),Xt=u({type:d("resource"),resource:P([fe,ze]),annotations:Oe.optional(),_meta:w(r(),$()).optional()}),en=Ze.extend({type:d("resource_link")}),Ue=P([Ie,Te,Ye,en,Xt]),bt=u({role:i,content:Ue}),Qe=u({title:r().optional(),readOnlyHint:k().optional(),destructiveHint:k().optional(),idempotentHint:k().optional(),openWorldHint:k().optional()}),tn=_.extend({method:d("notifications/tools/list_changed"),params:g.optional()}),nn=u({name:r().optional()}),on=u({hints:S(nn).optional(),costPriority:y().min(0).max(1).optional(),speedPriority:y().min(0).max(1).optional(),intelligencePriority:y().min(0).max(1).optional()}),sn=u({mode:N(["auto","required","none"]).optional()}),rn=u({type:d("boolean"),title:r().optional(),description:r().optional(),default:k().optional()}),an=u({type:d("string"),title:r().optional(),description:r().optional(),minLength:y().optional(),maxLength:y().optional(),format:N(["email","uri","date","date-time"]).optional(),default:r().optional()}),cn=u({type:N(["number","integer"]),title:r().optional(),description:r().optional(),minimum:y().optional(),maximum:y().optional(),default:y().optional()}),ln=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),default:r().optional()}),un=u({type:d("string"),title:r().optional(),description:r().optional(),oneOf:S(u({const:r(),title:r()})),default:r().optional()}),dn=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),enumNames:S(r()).optional(),default:r().optional()}),pn=P([ln,un]),mn=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({type:d("string"),enum:S(r())}),default:S(r()).optional()}),hn=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({anyOf:S(u({const:r(),title:r()}))}),default:S(r()).optional()}),fn=P([mn,hn]),Sn=P([dn,pn,fn]),gn=P([Sn,rn,an,cn]),Xe=f.extend({mode:d("form").optional(),message:r(),requestedSchema:u({type:d("object"),properties:w(r(),gn),required:S(r()).optional()}).catchall($())}),et=u({type:d("ref/resource"),uri:r()}),tt=u({type:d("ref/prompt"),name:r()}),_n=u({uri:r().startsWith("file://"),name:r().optional(),_meta:w(r(),$()).optional()}),De=D.shape,bn=u({experimental:De.experimental,sampling:De.sampling,elicitation:De.elicitation,roots:De.roots,extensions:De.extensions}),ye=M.shape,yt=u({experimental:ye.experimental,logging:ye.logging,completions:ye.completions,prompts:ye.prompts,resources:ye.resources,tools:ye.tools,extensions:ye.extensions}),vt=I({progressToken:n.optional(),[rs]:r(),[yi]:C.optional(),[as]:bn,[vi]:a.optional()}),nt=u({...T.shape,...R.shape,description:r().optional(),inputSchema:I({$schema:r().optional(),type:d("object")}),outputSchema:I({$schema:r().optional()}).optional(),annotations:Qe.optional(),_meta:w(r(),$()).optional()}),yn=u({type:d("tool_result"),toolUseId:r(),content:S(Ue),structuredContent:$().optional(),isError:k().optional(),_meta:w(r(),$()).optional()}),Rt=P([Ie,Te,Ye,Qt,yn]),ot=u({role:i,content:P([Rt,S(Rt)]),_meta:w(r(),$()).optional()}),wt=r(),Tt=I({[Xn]:C.optional().catch(void 0)}),Pt=Tt.optional();function ne(B){return I({_meta:Pt,resultType:wt.default("complete"),...B})}const vn=ne({}),mo=ne({nextCursor:o.optional()}),kt=ne({content:S(Ue),structuredContent:$().optional(),isError:k().optional()}),Rn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),tools:S(nt),nextCursor:o.optional()}),wn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),prompts:S(Ge),nextCursor:o.optional()}),Tn=ne({description:r().optional(),messages:S(bt)}),Pn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),resources:S(Ze),nextCursor:o.optional()}),kn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),resourceTemplates:S(ft),nextCursor:o.optional()}),Cn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),contents:S(P([fe,ze]))}),$n=ne({completion:u({values:S(r()).max(100),total:y().int().optional(),hasMore:k().optional()}).loose()}),ho=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"])}),En=ne({ttlMs:y().int().min(0).catch(0),cacheScope:N(["public","private"]).catch("private"),supportedVersions:S(r()),capabilities:yt,instructions:r().optional()}),He=u({messages:S(ot),modelPreferences:on.optional(),systemPrompt:r().optional(),includeContext:N(["none","thisServer","allServers"]).optional(),temperature:y().optional(),maxTokens:y().int(),stopSequences:S(r()).optional(),metadata:t.optional(),tools:S(nt).optional(),toolChoice:sn.optional()}),On=u({method:d("sampling/createMessage"),params:He}),In=u({method:d("roots/list"),params:u({_meta:w(r(),$()).optional()}).optional()}),qn=u({...ot.shape,model:r(),stopReason:r().optional()}),Nn=u({roots:S(_n)}),zn=u({action:N(["accept","decline","cancel"]),content:w(r(),P([r(),y(),k(),S(r())])).optional()}),xn=u({mode:d("url"),message:r(),url:r().url()}),Mn=P([Xe,xn]),An=u({method:d("elicitation/create"),params:Mn}),Ln=P([On,In,An]),jn=P([qn,Nn,zn]),Zn=w(r(),Ln),Un=w(r(),jn),st=ne({inputRequests:Zn.optional(),requestState:r().optional()}),it={inputResponses:Un.optional(),requestState:r().optional()},fo=u({_meta:vt,...it}),So=I({progressToken:n.optional()});function Se(B,at){return u({method:d(B),params:u({_meta:vt,...at})})}function ge(B,at){return u({method:d(B),params:u({_meta:So.optional(),...at}).optional()})}const Dn={name:r(),arguments:w(r(),$()).optional(),...it},Pe={cursor:o.optional()},go=Se("tools/call",Dn),_o=Se("tools/list",Pe),bo=Se("prompts/list",Pe),yo=Se("prompts/get",{name:r(),arguments:w(r(),r()).optional(),...it}),vo=Se("resources/list",Pe),Ro=Se("resources/templates/list",Pe),wo=Se("resources/read",{uri:r(),...it}),Hn={ref:P([tt,et]),argument:u({name:r(),value:r()}),context:u({arguments:w(r(),r()).optional()}).optional()},To=Se("completion/complete",Hn),Po=Se("server/discover",{}),Ct=u({toolsListChanged:k().optional(),promptsListChanged:k().optional(),resourcesListChanged:k().optional(),resourceSubscriptions:S(r()).optional()}),Fn={notifications:Ct},ko=Se("subscriptions/listen",Fn),Co=Tt.extend({"io.modelcontextprotocol/subscriptionId":s}),Jn=I({_meta:Co,resultType:wt.default("complete")}),Fe={"tools/call":ge("tools/call",Dn),"tools/list":ge("tools/list",Pe),"prompts/get":ge("prompts/get",{name:r(),arguments:w(r(),r()).optional()}),"prompts/list":ge("prompts/list",Pe),"resources/list":ge("resources/list",Pe),"resources/templates/list":ge("resources/templates/list",Pe),"resources/read":ge("resources/read",{uri:r()}),"completion/complete":ge("completion/complete",Hn),"server/discover":ge("server/discover",{}),"subscriptions/listen":ge("subscriptions/listen",Fn)};function ue(B){return I({_meta:Pt,...B})}const $o={"tools/call":ue({content:S(Ue),structuredContent:$().optional(),isError:k().optional()}),"tools/list":ue({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),tools:S(nt),nextCursor:o.optional()}),"prompts/get":ue({description:r().optional(),messages:S(bt)}),"prompts/list":ue({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),prompts:S(Ge),nextCursor:o.optional()}),"resources/list":ue({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),resources:S(Ze),nextCursor:o.optional()}),"resources/templates/list":ue({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),resourceTemplates:S(ft),nextCursor:o.optional()}),"resources/read":ue({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),contents:S(P([fe,ze]))}),"completion/complete":ue({completion:u({values:S(r()).max(100),total:y().int().optional(),hasMore:k().optional()}).loose()}),"server/discover":ue({ttlMs:y().int().min(0).catch(0),cacheScope:N(["public","private"]).catch("private"),supportedVersions:S(r()),capabilities:yt,instructions:r().optional()}),"subscriptions/listen":ue({})},rt=I({"io.modelcontextprotocol/subscriptionId":s.optional()}),$t=u({method:d("notifications/subscriptions/acknowledged"),params:u({_meta:rt.optional(),notifications:Ct})}),Et=u({_meta:rt.optional(),requestId:s,reason:r().optional()}),Ot=u({method:d("notifications/cancelled"),params:Et}),ys={"notifications/cancelled":Ot,"notifications/progress":J,"notifications/message":we,"notifications/resources/updated":St,"notifications/resources/list_changed":xe,"notifications/tools/list_changed":tn,"notifications/prompts/list_changed":_t,"notifications/subscriptions/acknowledged":$t},ae=B=>u({jsonrpc:d("2.0"),id:P([r(),y().int()]),result:B}).strict();return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:o,RequestIdSchema:s,RoleSchema:i,LoggingLevelSchema:a,TaskMetadataSchema:c,RelatedTaskMetadataSchema:p,RequestMetaSchema:m,BaseRequestParamsSchema:h,TaskAugmentedRequestParamsSchema:f,NotificationsParamsSchema:g,NotificationSchema:_,IconSchema:v,IconsSchema:R,BaseMetadataSchema:T,ImplementationSchema:C,ClientTasksCapabilitySchema:Re,ServerTasksCapabilitySchema:Ee,ClientCapabilitiesSchema:D,ServerCapabilitiesSchema:M,ProgressSchema:Y,ProgressNotificationParamsSchema:L,ProgressNotificationSchema:J,LoggingMessageNotificationParamsSchema:he,LoggingMessageNotificationSchema:we,ResourceContentsSchema:Q,TextResourceContentsSchema:fe,BlobResourceContentsSchema:ze,AnnotationsSchema:Oe,ResourceSchema:Ze,ResourceTemplateSchema:ft,ResourceListChangedNotificationSchema:xe,ResourceUpdatedNotificationParamsSchema:Me,ResourceUpdatedNotificationSchema:St,PromptArgumentSchema:gt,PromptSchema:Ge,PromptListChangedNotificationSchema:_t,TextContentSchema:Ie,ImageContentSchema:Te,AudioContentSchema:Ye,ToolUseContentSchema:Qt,EmbeddedResourceSchema:Xt,ResourceLinkSchema:en,ContentBlockSchema:Ue,PromptMessageSchema:bt,ToolAnnotationsSchema:Qe,ToolListChangedNotificationSchema:tn,ModelHintSchema:nn,ModelPreferencesSchema:on,ToolChoiceSchema:sn,BooleanSchemaSchema:rn,StringSchemaSchema:an,NumberSchemaSchema:cn,UntitledSingleSelectEnumSchemaSchema:ln,TitledSingleSelectEnumSchemaSchema:un,LegacyTitledEnumSchemaSchema:dn,SingleSelectEnumSchemaSchema:pn,UntitledMultiSelectEnumSchemaSchema:mn,TitledMultiSelectEnumSchemaSchema:hn,MultiSelectEnumSchemaSchema:fn,EnumSchemaSchema:Sn,PrimitiveSchemaDefinitionSchema:gn,ElicitRequestFormParamsSchema:Xe,ResourceTemplateReferenceSchema:et,PromptReferenceSchema:tt,RootSchema:_n,ClientCapabilities2026Schema:bn,ServerCapabilities2026Schema:yt,RequestMetaEnvelopeSchema:vt,ToolSchema:nt,ToolResultContentSchema:yn,SamplingMessageContentBlockSchema:Rt,SamplingMessageSchema:ot,ResultTypeSchema:wt,ResultMetaSchema:Tt,ResultSchema:vn,PaginatedResultSchema:mo,CallToolResultSchema:kt,ListToolsResultSchema:Rn,ListPromptsResultSchema:wn,GetPromptResultSchema:Tn,ListResourcesResultSchema:Pn,ListResourceTemplatesResultSchema:kn,ReadResourceResultSchema:Cn,CompleteResultSchema:$n,CacheableResultSchema:ho,DiscoverResultSchema:En,CreateMessageRequestParamsSchema:He,CreateMessageRequestSchema:On,ListRootsRequestSchema:In,CreateMessageResultSchema:qn,ListRootsResultSchema:Nn,ElicitResultSchema:zn,ElicitRequestURLParamsSchema:xn,ElicitRequestParamsSchema:Mn,ElicitRequestSchema:An,InputRequestSchema:Ln,InputResponseSchema:jn,InputRequestsSchema:Zn,InputResponsesSchema:Un,InputRequiredResultSchema:st,InputResponseRequestParamsSchema:fo,CallToolRequestSchema:go,ListToolsRequestSchema:_o,ListPromptsRequestSchema:bo,GetPromptRequestSchema:yo,ListResourcesRequestSchema:vo,ListResourceTemplatesRequestSchema:Ro,ReadResourceRequestSchema:wo,CompleteRequestSchema:To,DiscoverRequestSchema:Po,SubscriptionFilterSchema:Ct,SubscriptionsListenRequestSchema:ko,SubscriptionsListenResultMetaSchema:Co,SubscriptionsListenResultSchema:Jn,dispatchRequestSchemas:Fe,dispatchResultSchemas:$o,NotificationMetaSchema:rt,SubscriptionsAcknowledgedNotificationSchema:$t,CancelledNotificationParamsSchema:Et,CancelledNotificationSchema:Ot,notificationSchemas2026:ys,JSONRPCResultResponseSchema:ae(vn),CallToolResultResponseSchema:ae(P([kt,st])),ListToolsResultResponseSchema:ae(Rn),ListPromptsResultResponseSchema:ae(wn),GetPromptResultResponseSchema:ae(P([Tn,st])),ListResourcesResultResponseSchema:ae(Pn),ListResourceTemplatesResultResponseSchema:ae(kn),ReadResourceResultResponseSchema:ae(P([Cn,st])),CompleteResultResponseSchema:ae($n),DiscoverResultResponseSchema:ae(En),SubscriptionsListenResultResponseSchema:ae(Jn)}}let Mg;function Ve(){return Mg??(Mg=xg())}const Ag=["tools/list","prompts/list","resources/list","resources/templates/list","resources/read","server/discover"];function Lg(e){return Ag.includes(e)}const Gi=Symbol("modelcontextprotocol.resultCacheHintFallback");function jg(e){return e[Gi]}function Eu(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0}function Ou(e){return e==="public"||e==="private"}let z=(function(e){return e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.ResourceNotFound=-32002]="ResourceNotFound",e[e.MissingRequiredClientCapability=-32021]="MissingRequiredClientCapability",e[e.UnsupportedProtocolVersion=-32022]="UnsupportedProtocolVersion",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired",e})({});var lt,ie=(lt=class extends Error{static[Symbol.hasInstance](t){return Yo(this,t)}static isInstance(t){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return Yo(this,t)}constructor(t,n,o){super(n),this.code=t,this.data=o,this.name="ProtocolError",Ru(this,new.target)}static fromError(t,n,o){if(t===z.UrlElicitationRequired&&o){const s=o;if(s.elicitations)return new Ug(s.elicitations,n)}if(t===z.UnsupportedProtocolVersion&&o){const s=o;if(Array.isArray(s.supported)&&typeof s.requested=="string")return new Dg({supported:s.supported,requested:s.requested},n)}if(t===z.InvalidParams||t===z.ResourceNotFound){const s=o;if(typeof(s==null?void 0:s.uri)=="string"&&(t===z.ResourceNotFound||Object.keys(s).length===1))return new Zg(s.uri,n)}if(t===z.MissingRequiredClientCapability&&o){const s=o;if(s.requiredCapabilities!==null&&typeof s.requiredCapabilities=="object"&&!Array.isArray(s.requiredCapabilities))return new Hg({requiredCapabilities:s.requiredCapabilities},n)}return new lt(t,n,o)}},Object.defineProperty(lt,"mcpBrand",{value:"mcp.ProtocolError"}),lt),xt,Zg=(xt=class extends ie{constructor(t,n=`Resource not found: ${t}`){super(z.InvalidParams,n,{uri:t})}get uri(){return this.data.uri}},Object.defineProperty(xt,"mcpBrand",{value:"mcp.ResourceNotFoundError"}),xt),Mt,Ug=(Mt=class extends ie{constructor(t,n=`URL elicitation${t.length>1?"s":""} required`){super(z.UrlElicitationRequired,n,{elicitations:t})}get elicitations(){var t;return((t=this.data)==null?void 0:t.elicitations)??[]}},Object.defineProperty(Mt,"mcpBrand",{value:"mcp.UrlElicitationRequiredError"}),Mt),At,Dg=(At=class extends ie{constructor(t,n=`Unsupported protocol version: ${t.requested}`){super(z.UnsupportedProtocolVersion,n,t)}get supported(){return this.data.supported}get requested(){return this.data.requested}},Object.defineProperty(At,"mcpBrand",{value:"mcp.UnsupportedProtocolVersionError"}),At),Lt,Hg=(Lt=class extends ie{constructor(t,n=`Missing required client capabilities: ${Object.keys(t.requiredCapabilities).join(", ")}`){super(z.MissingRequiredClientCapability,n,t)}get requiredCapabilities(){return this.data.requiredCapabilities}},Object.defineProperty(Lt,"mcpBrand",{value:"mcp.MissingRequiredClientCapabilityError"}),Lt);const Fg=0,Jg="private",Vg=["tools/call","prompts/get","resources/read"];function Bg(e,t){const n=t.resultType;if(n===void 0)return{...t,resultType:"complete"};if(n==="complete"||Vg.includes(e))return t;throw new ie(z.InternalError,`Handler for ${e} returned resultType '${String(n)}', but results of ${e} only support 'complete' on protocol revision 2026-07-28`)}function Kg(e,t){const n=jg(t);if(t.resultType!=="complete"||!Lg(e))return n===void 0?t:Xg(t);const o=t,s=Eu(o.ttlMs)?o.ttlMs:Yg(n),i=Ou(o.cacheScope)?o.cacheScope:Qg(n),a={...o,ttlMs:s,cacheScope:i};return delete a[Gi],a}function Wg(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Gg(e,t){if(t===void 0)return e;const n=e._meta;return n===void 0?{...e,_meta:{[Xn]:t}}:!Wg(n)||n[Xn]!==void 0?e:{...e,_meta:{...n,[Xn]:t}}}function Yg(e){return e!==void 0&&Eu(e.ttlMs)?e.ttlMs:Fg}function Qg(e){return e!==void 0&&Ou(e.cacheScope)?e.cacheScope:Jg}function Xg(e){const t={...e};return delete t[Gi],t}const e_=["elicitation/create","sampling/createMessage","roots/list"];let Mo;function Iu(){if(Mo)return Mo;const e=Ve();return Mo={request:{"elicitation/create":u({method:d("elicitation/create"),params:e.ElicitRequestParamsSchema}),"sampling/createMessage":u({method:d("sampling/createMessage"),params:e.CreateMessageRequestParamsSchema}),"roots/list":u({method:d("roots/list"),params:I({}).optional()})},response:{"elicitation/create":e.ElicitResultSchema,"sampling/createMessage":e.CreateMessageResultSchema,"roots/list":e.ListRootsResultSchema}},Mo}function qu(e){return e_.includes(e)}function $s(e){return qu(e)?Iu().request[e]:void 0}function t_(e){return qu(e)?Iu().response[e]:void 0}const Nu={"tools/call":null,"tools/list":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"completion/complete":null,"server/discover":null,"subscriptions/listen":null},n_={"notifications/cancelled":null,"notifications/progress":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/subscriptions/acknowledged":null};function zu(e){return Object.prototype.hasOwnProperty.call(Nu,e)}function xu(e){return Object.prototype.hasOwnProperty.call(n_,e)}function o_(e){return Object.prototype.hasOwnProperty.call(Nu,e)}function s_(e){return zu(e)?Ve().dispatchRequestSchemas[e]:void 0}function i_(e){return o_(e)?Ve().dispatchResultSchemas[e]:void 0}function r_(e){return xu(e)?Ve().notificationSchemas2026[e]:void 0}function eo(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Bn(e,t){if(e===void 0)return{ok:!1,reason:"not-in-era"};const n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:"invalid",message:String(n.error)}}const a_={ok:!1,reason:"not-in-era"},c_=[rs,as];function l_(e,t){let n=t,o=!1;const s=()=>(o||(n={...n},o=!0),n),i=t.tools;e==="tools/list"&&Array.isArray(i)&&i.some(l=>eo(l)&&"execution"in l)&&(s().tools=i.map(l=>{if(!eo(l)||!("execution"in l))return l;const c={...l};return delete c.execution,c}));const a=t.capabilities;if(eo(a)&&"tasks"in a){const l={...a};delete l.tasks,s().capabilities=l}return n}const Yi={era:"2026-07-28",hasRequestMethod:zu,hasNotificationMethod:xu,hasInputRequestMethod:e=>$s(e)!==void 0,validateRequest:(e,t)=>Bn(s_(e),t),validateResult:(e,t)=>Bn(i_(e),t),validateNotification:(e,t)=>Bn(r_(e),t),validateInputRequest:(e,t)=>Bn($s(e),t),validateInputResponse:(e,t)=>Bn(t_(e),t),samplingResultVariant:()=>a_,outboundEnvelope(e){return{[rs]:e.protocolVersion,[yi]:e.clientInfo,[as]:e.clientCapabilities,...e.logLevel!==void 0&&{[vi]:e.logLevel}}},validateEnvelopeMeta(e){const t=[];for(const o of c_)o in e||t.push({key:o,problem:"missing"});const n=Ve().RequestMetaEnvelopeSchema.safeParse(e);if(!n.success)for(const o of n.error.issues){const s=o.path.map(String),i=s.length>0?s.join("."):"_meta";s.length===1&&t.some(a=>a.key===i&&a.problem==="missing")||t.push({key:i,problem:o.message})}return t},projectCallToolResult:e=>wu(e),inputRequestSchema:$s,decodeResult(e,t){if(!eo(t))return{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: not an object`,{method:e})};const n=t.resultType;if(n===void 0)return{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: missing required resultType — servers implementing protocol revision 2026-07-28 MUST include it (the absent-means-complete bridge applies only to earlier-revision servers)`,{method:e,violation:"missing-resultType"})};if(typeof n!="string")return{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: non-string resultType`,{method:e,resultType:n})};if(n==="input_required"){const a=t.inputRequests,l=eo(a)?a:{},c=t.requestState,p=t._meta===void 0?void 0:Ve().ResultMetaSchema.safeParse(t._meta),m=p!=null&&p.success?p.data:void 0;return Object.keys(l).length===0&&typeof c!="string"?{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`,{method:e,violation:"input-required-missing-both"})}:{kind:"input_required",inputRequests:l,...typeof c=="string"&&{requestState:c},...m!==void 0&&{_meta:m}}}if(n!=="complete")return{kind:"invalid",error:new X(se.UnsupportedResultType,`Unsupported result type '${n}' for ${e}`,{resultType:n,method:e})};const o=u_(),s=Object.hasOwn(o,e)?o[e]:void 0;if(s!==void 0){const a=s.safeParse(t);if(!a.success)return{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: ${a.error}`,{method:e})}}const i={...t};return delete i.resultType,{kind:"complete",result:i}},encodeResult(e,t,n){return Gg(Kg(e,Bg(e,l_(e,t))),n)},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope(e){if(e.envelope===void 0)return"Request is missing the required _meta envelope for protocol revision 2026-07-28 (io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities)";const t=Ve().RequestMetaEnvelopeSchema.safeParse(e.envelope);if(!t.success)return`Invalid _meta envelope for protocol revision 2026-07-28: ${t.error.issues.map(n=>n.message).join("; ")}`}};let Ao;function u_(){if(Ao)return Ao;const e=Ve();return Ao={"tools/call":e.CallToolResultSchema,"tools/list":e.ListToolsResultSchema,"prompts/get":e.GetPromptResultSchema,"prompts/list":e.ListPromptsResultSchema,"resources/list":e.ListResourcesResultSchema,"resources/templates/list":e.ListResourceTemplatesResultSchema,"resources/read":e.ReadResourceResultSchema,"completion/complete":e.CompleteResultSchema,"server/discover":e.DiscoverResultSchema},Ao}const Mu="2026-07-28";function Qo(e){return e!==void 0&&vg(e)?Yi:Wi}function Jr(e){return e.revision!==void 0?Qo(e.revision).era:e.era==="modern"?Yi.era:Wi.era}function Es(e){return Au.some(t=>t.hasRequestMethod(e))}function Os(e){return Au.some(t=>t.hasNotificationMethod(e))}function Vr(e){return e==="tasks/get"||e==="tasks/cancel"}const Au=[Wi,Yi];var d_=rd({AnnotationsSchema:()=>ht,AudioContentSchema:()=>fs,BaseMetadataSchema:()=>pt,BaseRequestParamsSchema:()=>re,BlobResourceContentsSchema:()=>xi,BooleanSchemaSchema:()=>Ui,CallToolRequestParamsSchema:()=>xl,CallToolRequestSchema:()=>Ml,CallToolResultSchema:()=>gs,CancelTaskRequestSchema:()=>sg,CancelTaskResultSchema:()=>ig,CancelledNotificationParamsSchema:()=>Zc,CancelledNotificationSchema:()=>$i,ClientCapabilitiesSchema:()=>Fc,ClientNotificationSchema:()=>ag,ClientRequestSchema:()=>rg,ClientResultSchema:()=>cg,ClientTasksCapabilitySchema:()=>Dc,CompatibilityCallToolResultSchema:()=>BS,CompleteRequestParamsSchema:()=>lu,CompleteRequestSchema:()=>uu,CompleteResultSchema:()=>du,ContentBlockSchema:()=>Gt,CreateMessageRequestParamsSchema:()=>Kl,CreateMessageRequestSchema:()=>Wl,CreateMessageResultSchema:()=>Gl,CreateMessageResultWithToolsSchema:()=>Yl,CreateTaskResultSchema:()=>GS,CursorSchema:()=>wi,DiscoverRequestSchema:()=>Wc,DiscoverResultSchema:()=>Gc,ElicitRequestFormParamsSchema:()=>bs,ElicitRequestParamsSchema:()=>nu,ElicitRequestSchema:()=>ou,ElicitRequestURLParamsSchema:()=>tu,ElicitResultSchema:()=>ru,ElicitationCompleteNotificationParamsSchema:()=>su,ElicitationCompleteNotificationSchema:()=>iu,EmbeddedResourceSchema:()=>Li,EmptyResultSchema:()=>ds,EnumSchemaSchema:()=>eu,GetPromptRequestParamsSchema:()=>Pl,GetPromptRequestSchema:()=>kl,GetPromptResultSchema:()=>El,GetTaskPayloadRequestSchema:()=>eg,GetTaskPayloadResultSchema:()=>tg,GetTaskRequestSchema:()=>QS,GetTaskResultSchema:()=>XS,IconSchema:()=>Uc,IconsSchema:()=>Jt,ImageContentSchema:()=>hs,ImplementationSchema:()=>Vt,InitializeRequestParamsSchema:()=>Jc,InitializeRequestSchema:()=>Vc,InitializeResultSchema:()=>Bc,InitializedNotificationSchema:()=>Kc,JSONArraySchema:()=>HS,JSONObjectSchema:()=>K,JSONRPCErrorResponseSchema:()=>us,JSONRPCMessageSchema:()=>jc,JSONRPCNotificationSchema:()=>Ci,JSONRPCRequestSchema:()=>ki,JSONRPCResponseSchema:()=>FS,JSONRPCResultResponseSchema:()=>ls,JSONValueSchema:()=>Ht,LegacyTitledEnumSchemaSchema:()=>Fi,ListChangedOptionsBaseSchema:()=>KS,ListPromptsRequestSchema:()=>wl,ListPromptsResultSchema:()=>Tl,ListResourceTemplatesRequestSchema:()=>ol,ListResourceTemplatesResultSchema:()=>sl,ListResourcesRequestSchema:()=>tl,ListResourcesResultSchema:()=>nl,ListRootsRequestSchema:()=>mu,ListRootsResultSchema:()=>hu,ListTasksRequestSchema:()=>ng,ListTasksResultSchema:()=>og,ListToolsRequestSchema:()=>Nl,ListToolsResultSchema:()=>zl,LoggingLevelSchema:()=>Zi,LoggingMessageNotificationParamsSchema:()=>Zl,LoggingMessageNotificationSchema:()=>Ul,ModelHintSchema:()=>Dl,ModelPreferencesSchema:()=>Hl,MultiSelectEnumSchemaSchema:()=>Xl,NotificationSchema:()=>me,NotificationsParamsSchema:()=>pe,NumberSchemaSchema:()=>Go,PaginatedRequestParamsSchema:()=>Xc,PaginatedRequestSchema:()=>Bt,PaginatedResultSchema:()=>Kt,PingRequestSchema:()=>Oi,PrimitiveSchemaDefinitionSchema:()=>Bi,ProgressNotificationParamsSchema:()=>Qc,ProgressNotificationSchema:()=>Ii,ProgressSchema:()=>Yc,ProgressTokenSchema:()=>Ri,PromptArgumentSchema:()=>vl,PromptListChangedNotificationSchema:()=>Ol,PromptMessageSchema:()=>$l,PromptReferenceSchema:()=>cu,PromptSchema:()=>Rl,ReadResourceRequestParamsSchema:()=>il,ReadResourceRequestSchema:()=>rl,ReadResourceResultSchema:()=>al,RelatedTaskMetadataSchema:()=>Lc,RequestIdSchema:()=>mt,RequestMetaSchema:()=>Ti,RequestSchema:()=>W,ResourceContentsSchema:()=>qi,ResourceLinkSchema:()=>ji,ResourceListChangedNotificationSchema:()=>cl,ResourceRequestParamsSchema:()=>ps,ResourceSchema:()=>Mi,ResourceTemplateReferenceSchema:()=>au,ResourceTemplateSchema:()=>el,ResourceUpdatedNotificationParamsSchema:()=>bl,ResourceUpdatedNotificationSchema:()=>yl,ResultMetaObjectSchema:()=>Pi,ResultSchema:()=>G,RoleSchema:()=>Wt,RootSchema:()=>pu,RootsListChangedNotificationSchema:()=>fu,SamplingContentSchema:()=>Vl,SamplingMessageContentBlockSchema:()=>ro,SamplingMessageSchema:()=>Bl,ServerCapabilitiesSchema:()=>Ei,ServerNotificationSchema:()=>ug,ServerRequestSchema:()=>lg,ServerResultSchema:()=>dg,ServerTasksCapabilitySchema:()=>Hc,SetLevelRequestParamsSchema:()=>Ll,SetLevelRequestSchema:()=>jl,SingleSelectEnumSchemaSchema:()=>Ql,StringSchemaSchema:()=>_s,SubscribeRequestParamsSchema:()=>ll,SubscribeRequestSchema:()=>ul,SubscriptionFilterSchema:()=>Ai,SubscriptionsAcknowledgedNotificationParamsSchema:()=>fl,SubscriptionsAcknowledgedNotificationSchema:()=>Sl,SubscriptionsListenRequestParamsSchema:()=>ml,SubscriptionsListenRequestSchema:()=>hl,SubscriptionsListenResultMetaSchema:()=>gl,SubscriptionsListenResultSchema:()=>_l,TaskAugmentedRequestParamsSchema:()=>po,TaskCreationParamsSchema:()=>WS,TaskMetadataSchema:()=>Ac,TaskSchema:()=>Yt,TaskStatusNotificationParamsSchema:()=>gu,TaskStatusNotificationSchema:()=>YS,TaskStatusSchema:()=>Su,TextContentSchema:()=>ms,TextResourceContentsSchema:()=>Ni,TitledMultiSelectEnumSchemaSchema:()=>Vi,TitledSingleSelectEnumSchemaSchema:()=>Hi,ToolAnnotationsSchema:()=>Il,ToolChoiceSchema:()=>Fl,ToolExecutionSchema:()=>ql,ToolListChangedNotificationSchema:()=>Al,ToolResultContentSchema:()=>Jl,ToolSchema:()=>Ss,ToolUseContentSchema:()=>Cl,UnsubscribeRequestParamsSchema:()=>dl,UnsubscribeRequestSchema:()=>pl,UntitledMultiSelectEnumSchemaSchema:()=>Ji,UntitledSingleSelectEnumSchemaSchema:()=>Di});const p_=e=>ki.safeParse(e).success,m_=e=>Ci.safeParse(e).success,Br=e=>ls.safeParse(e).success,h_=e=>us.safeParse(e).success,Is=-32020;z.InvalidRequest,z.UnsupportedProtocolVersion,z.InvalidParams,z.MethodNotFound,z.InvalidParams,z.MissingRequiredClientCapability;z.ParseError+"",z.InvalidRequest+"",z.MethodNotFound+"",z.UnsupportedProtocolVersion+"",z.MissingRequiredClientCapability+"";function Lu(e,t){return wc(e,t)}function Kn(e){return new Set(e.flatMap(t=>Object.keys(t.shape)))}function Gs(e){var n;if(e==null)return!1;const t=typeof e;return t!=="object"&&t!=="function"||!("~standard"in e)?!1:typeof((n=e["~standard"])==null?void 0:n.validate)=="function"}let Kr=!1;const Ys="draft-2020-12";function f_(e,t="input"){const n=e["~standard"];let o;if(n.jsonSchema)o=n.jsonSchema[t]({target:Ys});else if(n.vendor==="zod"){if(!("_zod"in e))throw new Error("Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().");Kr||(Kr=!0,console.warn("[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.")),o=Rc(e,{target:Ys,io:t})}else throw new Error(`Schema library "${n.vendor}" does not implement StandardJSONSchemaV1 (\`~standard.jsonSchema\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(t==="output")return o.type!==void 0?o:ju(o)?{type:"object",...o}:o;if(o.type!==void 0&&o.type!=="object")throw new Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(o.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:"object",...o}}function ju(e){if("properties"in e||"patternProperties"in e||"additionalProperties"in e||"required"in e)return!0;for(const t of["oneOf","anyOf","allOf"]){const n=e[t];if(Array.isArray(n)&&n.length>0)return n.every(o=>o!==null&&typeof o=="object"&&(o.type==="object"||ju(o)))}return!1}function S_(e){var t;return(t=e.path)!=null&&t.length?`${e.path.map(n=>String(typeof n=="object"?n.key:n)).join(".")}: ${e.message}`:e.message}async function qs(e,t){const n=await e["~standard"].validate(t);return n.issues&&n.issues.length>0?{success:!1,error:n.issues.map(o=>S_(o)).join(", ")}:{success:!0,data:n.value}}function g_(e){const t=Rc(e,{target:Ys,io:"input"});return typeof t.pattern=="string"?t.pattern:void 0}const __=/\\\.\\d\{(\d+)\}/;function b_(e){const t=__.exec(e),n=[void 0,-1,0];return t&&n.push(Number(t[1])),[!1,!0].flatMap(o=>[!1,!0].flatMap(s=>n.map(i=>is({local:o,offset:s,precision:i}))))}function y_(e,t){let n;switch(e){case"email":n=[Jf()];break;case"uri":n=[Ec()];break;case"date":n=[AS()];break;case"date-time":n=b_(t);break}return new Set(n.map(o=>g_(o)).filter(o=>o!==void 0))}function v_(e,t,n){return n!=="zod"?!0:y_(e,t).has(t)}function ao(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function R_(e){try{return f_(e,"input")}catch(t){const n=t instanceof Error?t.message:String(t);throw new ie(z.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${n}`)}}const w_=new Set(["$comment","deprecated","description","examples","readOnly","title","writeOnly"]);function Qi(e){return w_.has(e)||e.startsWith("x-")}const T_=new Set(["$schema",...Object.keys(bs.shape.requestedSchema.shape)]),Wr={string:Kn([_s,Di,Hi,Fi]),number:Kn([Go]),integer:Kn([Go]),boolean:Kn([Ui]),array:Kn([Ji,Vi])},P_=new Set(_s.shape.format.unwrap().options);function k_(e,t,n,o){if(!ao(e))return e;const s=typeof e.type=="string"&&Object.hasOwn(Wr,e.type)?Wr[e.type]:void 0;if(s===void 0)return e;const i={};for(const[a,l]of Object.entries(e))s.has(a)||Qi(a)?i[a]=l:a==="pattern"&&e.type==="string"&&typeof e.format=="string"?P_.has(e.format)?(typeof l!="string"||!v_(e.format,l,n))&&o.push(`${t}.${a}`):i[a]=l:o.push(`${t}.${a}`);return i}function C_(e,t){const n={},o=[];for(const[s,i]of Object.entries(e))s==="properties"&&ao(i)?n[s]=Object.fromEntries(Object.entries(i).map(([a,l])=>[a,k_(l,`properties.${a}`,t,o)])):T_.has(s)?n[s]=i:Qi(s)||o.push(s);if(o.length>0)throw new ie(z.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${o.join(", ")}`);return n}function $_(e,t){if(!ao(e.properties))return t;const n=Object.entries(e.properties).filter(([,o])=>!Lu(Bi,o).success).map(([o])=>`properties.${o}`);return n.length>0?n.join(", "):t}function Qs(e,t,n=""){return Array.isArray(e)&&Array.isArray(t)?e.flatMap((o,s)=>Qs(o,t[s],`${n}[${s}]`)):!ao(e)||!ao(t)?[]:Object.entries(e).flatMap(([o,s])=>{const i=n?`${n}.${o}`:o;return Object.prototype.hasOwnProperty.call(t,o)?Qs(s,t[o],i):Qi(o)?[]:[i]})}function E_(e){if(!Gs(e.requestedSchema))return{...e,mode:"form",requestedSchema:e.requestedSchema};const t=e.requestedSchema["~standard"].vendor,n=C_(R_(e.requestedSchema),t),o=Lu(bs.shape.requestedSchema,n);if(!o.success)throw new ie(z.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${$_(n,o.error.message)}`);const s=Qs(n,o.data);if(s.length>0)throw new ie(z.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${s.join(", ")}`);const i=(o.data.required??[]).filter(a=>!Object.prototype.hasOwnProperty.call(o.data.properties,a));if(i.length>0)throw new ie(z.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${i.join(", ")}`);return{...e,mode:"form",requestedSchema:o.data}}function O_(e){const t=e.inputRequests!==void 0&&Object.keys(e.inputRequests).length>0,n=typeof e.requestState=="string";if(!t&&!n)throw new TypeError("inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)");return{resultType:"input_required",...e.inputRequests!==void 0&&{inputRequests:e.inputRequests},...e.requestState!==void 0&&{requestState:e.requestState}}}Object.assign(O_,{elicit(e){try{return{method:"elicitation/create",params:E_(e)}}catch(t){throw t instanceof ie?new TypeError(t.message,{cause:t}):t}},elicitUrl(e){return{method:"elicitation/create",params:{...e,mode:"url"}}},createMessage(e){return{method:"sampling/createMessage",params:e}},listRoots(){return{method:"roots/list"}}});const I_=["AnnotationsSchema","AudioContentSchema","BaseMetadataSchema","BlobResourceContentsSchema","BooleanSchemaSchema","CallToolRequestSchema","CallToolRequestParamsSchema","CallToolResultSchema","CancelledNotificationSchema","CancelledNotificationParamsSchema","CancelTaskRequestSchema","CancelTaskResultSchema","ClientCapabilitiesSchema","ClientNotificationSchema","ClientRequestSchema","ClientResultSchema","CompatibilityCallToolResultSchema","CompleteRequestSchema","CompleteRequestParamsSchema","CompleteResultSchema","ContentBlockSchema","CreateMessageRequestSchema","CreateMessageRequestParamsSchema","CreateMessageResultSchema","CreateMessageResultWithToolsSchema","CreateTaskResultSchema","CursorSchema","DiscoverRequestSchema","DiscoverResultSchema","ElicitationCompleteNotificationSchema","ElicitationCompleteNotificationParamsSchema","ElicitRequestSchema","ElicitRequestFormParamsSchema","ElicitRequestParamsSchema","ElicitRequestURLParamsSchema","ElicitResultSchema","EmbeddedResourceSchema","EmptyResultSchema","EnumSchemaSchema","GetPromptRequestSchema","GetPromptRequestParamsSchema","GetPromptResultSchema","GetTaskPayloadRequestSchema","GetTaskPayloadResultSchema","GetTaskRequestSchema","GetTaskResultSchema","IconSchema","IconsSchema","ImageContentSchema","ImplementationSchema","InitializedNotificationSchema","InitializeRequestSchema","InitializeRequestParamsSchema","InitializeResultSchema","JSONArraySchema","JSONObjectSchema","JSONRPCErrorResponseSchema","JSONRPCMessageSchema","JSONRPCNotificationSchema","JSONRPCRequestSchema","JSONRPCResponseSchema","JSONRPCResultResponseSchema","JSONValueSchema","LegacyTitledEnumSchemaSchema","ListPromptsRequestSchema","ListPromptsResultSchema","ListResourcesRequestSchema","ListResourcesResultSchema","ListResourceTemplatesRequestSchema","ListResourceTemplatesResultSchema","ListRootsRequestSchema","ListRootsResultSchema","ListTasksRequestSchema","ListTasksResultSchema","ListToolsRequestSchema","ListToolsResultSchema","LoggingLevelSchema","LoggingMessageNotificationSchema","LoggingMessageNotificationParamsSchema","ModelHintSchema","ModelPreferencesSchema","MultiSelectEnumSchemaSchema","NotificationSchema","NumberSchemaSchema","PaginatedRequestSchema","PaginatedRequestParamsSchema","PaginatedResultSchema","PingRequestSchema","PrimitiveSchemaDefinitionSchema","ProgressSchema","ProgressNotificationSchema","ProgressNotificationParamsSchema","ProgressTokenSchema","PromptSchema","PromptArgumentSchema","PromptListChangedNotificationSchema","PromptMessageSchema","PromptReferenceSchema","ReadResourceRequestSchema","ReadResourceRequestParamsSchema","ReadResourceResultSchema","RelatedTaskMetadataSchema","RequestSchema","RequestIdSchema","RequestMetaSchema","ResourceSchema","ResourceContentsSchema","ResourceLinkSchema","ResourceListChangedNotificationSchema","ResourceRequestParamsSchema","ResourceTemplateSchema","ResourceTemplateReferenceSchema","ResourceUpdatedNotificationSchema","ResourceUpdatedNotificationParamsSchema","ResultMetaObjectSchema","ResultSchema","RoleSchema","RootSchema","RootsListChangedNotificationSchema","SamplingContentSchema","SamplingMessageSchema","SamplingMessageContentBlockSchema","ServerCapabilitiesSchema","ServerNotificationSchema","ServerRequestSchema","ServerResultSchema","SetLevelRequestSchema","SetLevelRequestParamsSchema","SingleSelectEnumSchemaSchema","StringSchemaSchema","SubscribeRequestSchema","SubscribeRequestParamsSchema","SubscriptionFilterSchema","SubscriptionsAcknowledgedNotificationSchema","SubscriptionsAcknowledgedNotificationParamsSchema","SubscriptionsListenRequestSchema","SubscriptionsListenRequestParamsSchema","SubscriptionsListenResultSchema","SubscriptionsListenResultMetaSchema","TaskAugmentedRequestParamsSchema","TaskCreationParamsSchema","TaskMetadataSchema","TaskSchema","TaskStatusSchema","TaskStatusNotificationSchema","TaskStatusNotificationParamsSchema","TextContentSchema","TextResourceContentsSchema","TitledMultiSelectEnumSchemaSchema","TitledSingleSelectEnumSchemaSchema","ToolSchema","ToolAnnotationsSchema","ToolChoiceSchema","ToolExecutionSchema","ToolListChangedNotificationSchema","ToolResultContentSchema","ToolUseContentSchema","UnsubscribeRequestSchema","UnsubscribeRequestParamsSchema","UntitledMultiSelectEnumSchemaSchema","UntitledSingleSelectEnumSchemaSchema"],q_={IdJagTokenExchangeResponseSchema:fg,OAuthClientInformationFullSchema:gg,OAuthClientInformationSchema:vu,OAuthClientMetadataSchema:yu,OAuthClientRegistrationErrorSchema:_g,OAuthErrorResponseSchema:Sg,OAuthMetadataSchema:_u,OAuthProtectedResourceMetadataSchema:pg,OAuthTokenRevocationRequestSchema:bg,OAuthTokensSchema:hg,OpenIdProviderDiscoveryMetadataSchema:mg,OpenIdProviderMetadataSchema:bu},Zu={},Uu={};function Du(e,t){const n=e.slice(0,-6);Zu[n]=t,Uu[n]=o=>t.safeParse(o).success}for(const e of I_)Du(e,d_[e]);for(const[e,t]of Object.entries(q_))Du(e,t);Object.freeze(Zu);Object.freeze(Uu);function N_(e){switch(e){case"initialize":case"notifications/initialized":return Qo(void 0);case"server/discover":return Qo(Mu);default:return}}const z_=6e4,x_=[rs,yi,as,vi],M_=["inputResponses","requestState"];function Gr(e,t){const n=e.params;if(!Ns(n))return{message:e,lifted:{}};const o=n._meta,s=Ns(o)?x_.filter(c=>c in o):[],i=t==="request"?M_.filter(c=>c in n):[];if(s.length===0&&i.length===0)return{message:e,lifted:{}};const a={},l={...n};if(s.length>0&&Ns(o)){const c={},p={...o};for(const m of s)c[m]=o[m],delete p[m];a.envelope=c,Object.keys(p).length>0?l._meta=p:delete l._meta}for(const c of i)c==="inputResponses"&&(a.inputResponses=l[c]),c==="requestState"&&(a.requestState=l[c]),delete l[c];return{message:{...e,params:l},lifted:a}}function Yr(e,t){const n=e.validateResult(t,void 0);if(!(!n.ok&&n.reason==="not-in-era"))return{"~standard":{version:1,vendor:"mcp-wire-codec",validate(o){const s=e.validateResult(t,o);return s.ok?{value:s.value}:{issues:[{message:s.reason==="invalid"?s.message:`not-in-era: ${t}`}]}}}}}function Hu(e){return()=>e}const A_=Hu(void 0);var L_=class{constructor(e){q(this,"_transport");q(this,"_requestMessageId",0);q(this,"_requestHandlers",new Map);q(this,"_customSchemaRequestMethods",new Set);q(this,"_requestHandlerAbortControllers",new Map);q(this,"_notificationHandlers",new Map);q(this,"_responseHandlers",new Map);q(this,"_progressHandlers",new Map);q(this,"_timeoutInfo",new Map);q(this,"_pendingDebouncedNotifications",new Set);q(this,"_negotiatedProtocolVersion");q(this,"_supportedProtocolVersions");q(this,"onclose");q(this,"onerror");q(this,"fallbackRequestHandler");q(this,"fallbackNotificationHandler");this._options=e,this._supportedProtocolVersions=(e==null?void 0:e.supportedProtocolVersions)??ZS,this.setNotificationHandler("notifications/cancelled",t=>{this._oncancel(t)}),this.setNotificationHandler("notifications/progress",t=>{this._onprogress(t)}),this.setRequestHandler("ping",t=>({}))}_shouldDropInbound(e){}_outboundMetaEnvelope(){}_envelopeOutbound(e){const t=this._outboundMetaEnvelope();if(t===void 0)return e;const n=e.params??{};return{...e,params:{...n,_meta:{...t,...n._meta}}}}_resolveNonCompleteResult(e,t){return Promise.reject(new X(se.UnsupportedResultType,`Unsupported result type '${e.kind}' for ${t.request.method}`,{resultType:e.kind,method:t.request.method}))}_getRequestHandler(e){return this._requestHandlers.get(e)}async _oncancel(e){var t;e.params.requestId!==void 0&&((t=this._requestHandlerAbortControllers.get(e.params.requestId))==null||t.abort(e.params.reason))}_setupTimeout(e,t,n,o,s=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(o,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:s,onTimeout:o})}_resetTimeout(e){const t=this._timeoutInfo.get(e);if(!t)return!1;const n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),new X(se.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){const t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){var s,i,a,l;this._transport=e;const t=(s=this.transport)==null?void 0:s.onclose;this._transport.onclose=()=>{try{t==null||t()}finally{this._onclose()}};const n=(i=this.transport)==null?void 0:i.onerror;this._transport.onerror=c=>{n==null||n(c),this._onerror(c)};const o=(a=this._transport)==null?void 0:a.onmessage;this._transport.onmessage=(c,p)=>{o==null||o(c,p),Br(c)||h_(c)?this._onresponse(c):p_(c)?this._onrequest(c,p):m_(c)?this._onnotification(c,p):this._onerror(new Error(`Unknown message type: ${JSON.stringify(c)}`))},(l=e.setSupportedProtocolVersions)==null||l.call(e,this._supportedProtocolVersions),await this._transport.start()}_onclose(){var o;const e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear();for(const s of this._timeoutInfo.values())clearTimeout(s.timeoutId);this._timeoutInfo.clear();const t=this._requestHandlerAbortControllers;this._requestHandlerAbortControllers=new Map;const n=new X(se.ConnectionClosed,"Connection closed");this._transport=void 0;try{(o=this.onclose)==null||o.call(this)}finally{for(const s of e.values())s(n);for(const s of t.values())s.abort(n)}}_onerror(e){var t;(t=this.onerror)==null||t.call(this,e)}_onnotification(e,t){const{message:n}=Gr(e,"notification"),o=this._negotiatedWireCodec();if((t==null?void 0:t.classification)===void 0&&this._shouldDropInbound(e)==="drop")return;if((t==null?void 0:t.classification)!==void 0){const a=Jr(t.classification);if(a!==o.era){this._onerror(new Error(`Era mismatch on inbound notification '${n.method}': classified as ${a} but this instance serves ${o.era}`));return}}if(Os(n.method)&&!o.hasNotificationMethod(n.method))return;const s=this._notificationHandlers.get(n.method),i=this.fallbackNotificationHandler;s===void 0&&i===void 0||Promise.resolve().then(()=>s===void 0?i(n):s(n,o)).catch(a=>this._onerror(new Error(`Uncaught error in notification handler: ${a}`)))}_onrequest(e,t){var v;const{message:n,lifted:o}=Gr(e,"request"),s=this._negotiatedWireCodec();if((t==null?void 0:t.classification)===void 0&&this._shouldDropInbound(e)==="drop"){this._onerror(new Error(`Dropped inbound request '${e.method}': not servable on this connection's protocol era`));return}const i=this._transport,a=(R,T,C)=>{const j={jsonrpc:"2.0",id:n.id,error:{code:R,message:T,...C!==void 0&&{data:C}}};i==null||i.send(j).catch(A=>this._onerror(new Error(`Failed to send an error response: ${A}`)))};if((t==null?void 0:t.classification)!==void 0){const R=Jr(t.classification);if(R!==s.era){this._onerror(new Error(`Era mismatch on inbound request '${n.method}': classified as ${R} but this instance serves ${s.era}`));const T=t.classification.revision??R;a(z.UnsupportedProtocolVersion,`Unsupported protocol version: ${T}`,{supported:this._supportedProtocolVersions,requested:T});return}}if(Es(n.method)&&!s.hasRequestMethod(n.method)&&!(Vr(n.method)&&this._customSchemaRequestMethods.has(n.method))){a(z.MethodNotFound,"Method not found");return}const l=this._requestHandlers.get(n.method)??this.fallbackRequestHandler;if(l===void 0){a(z.MethodNotFound,"Method not found");return}const c=s.checkInboundEnvelope(o);if(c!==void 0){a(z.InvalidParams,c);return}const p=(R,T)=>this._notificationViaCodec(this._resolveOutboundCodec(R.method),R,{...T,relatedRequestId:n.id}),m=(R,T,C)=>this._requestWithSchemaViaCodec(this._resolveOutboundCodec(R.method),R,T,{...C,relatedRequestId:n.id}),h=new AbortController;this._requestHandlerAbortControllers.set(n.id,h);const f=o.inputResponses===void 0?void 0:j_(o.inputResponses),g={sessionId:i==null?void 0:i.sessionId,mcpReq:{id:n.id,method:n.method,_meta:(v=n.params)==null?void 0:v._meta,...o.envelope!==void 0&&{envelope:o.envelope},...f!==void 0&&{inputResponses:f.accepted},...f!==void 0&&f.droppedKeys.length>0&&{droppedInputResponseKeys:f.droppedKeys},requestState:o.requestState===void 0?A_:Hu(o.requestState),signal:h.signal,send:((R,T,C)=>{const j=this._resolveOutboundCodec(R.method);if(this._assertOutboundRequestInEra(j,R.method),Gs(T))return m(R,T,C);const A=Yr(j,R.method);if(A===void 0)throw new TypeError(`'${R.method}' is not a spec method; pass a result schema as the second argument to ctx.mcpReq.send().`);return m(R,A,T)}),notify:p},http:t!=null&&t.authInfo?{authInfo:t.authInfo}:void 0},_=this.buildContext(g,t);Promise.resolve().then(()=>l(n,_)).then(async R=>{if(h.signal.aborted)return;let T;try{T=s.encodeResult(n.method,R,this._outboundServerInfo())}catch(j){this._onerror(new Error(`Failed to encode result for ${n.method}: ${j}`)),a(z.InternalError,"Internal error");return}const C={result:T,jsonrpc:"2.0",id:n.id};await(i==null?void 0:i.send(C))},async R=>{if(h.signal.aborted)return;const T=Number.isSafeInteger(R.code)?R.code:z.InternalError,C={jsonrpc:"2.0",id:n.id,error:{code:s.encodeErrorCode(T),message:R.message??"Internal error",...R.data!==void 0&&{data:R.data}}};await(i==null?void 0:i.send(C))}).catch(R=>this._onerror(new Error(`Failed to send response: ${R}`))).finally(()=>{this._requestHandlerAbortControllers.get(n.id)===h&&this._requestHandlerAbortControllers.delete(n.id)})}_onprogress(e){const{progressToken:t,...n}=e.params,o=Number(t),s=this._progressHandlers.get(o);if(!s){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}const i=this._responseHandlers.get(o),a=this._timeoutInfo.get(o);if(a&&i&&a.resetTimeoutOnProgress)try{this._resetTimeout(o)}catch(l){this._responseHandlers.delete(o),this._progressHandlers.delete(o),this._cleanupTimeout(o),i(l);return}s(n)}_onresponse(e){const t=Number(e.id),n=this._responseHandlers.get(t);if(n===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t),this._progressHandlers.delete(t),Br(e)?n(e):n(ie.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){var e;await((e=this._transport)==null?void 0:e.close())}request(e,t,n){const o=this._resolveOutboundCodec(e.method);if(Gs(t))return Vr(e.method)||this._assertOutboundRequestInEra(o,e.method),this._requestWithSchemaViaCodec(o,e,t,n);this._assertOutboundRequestInEra(o,e.method);const s=Yr(o,e.method);if(s===void 0)throw new TypeError(`'${e.method}' is not a spec method; pass a result schema as the second argument to request().`);return this._requestWithSchemaViaCodec(o,e,s,t)}_negotiatedWireCodec(){return Qo(this._negotiatedProtocolVersion)}_wireCodec(){return this._negotiatedWireCodec()}_resolveOutboundCodec(e){if(this._negotiatedProtocolVersion===void 0){const t=N_(e);if(t)return t}return this._negotiatedWireCodec()}_assertOutboundRequestInEra(e,t){if(Es(t)&&!e.hasRequestMethod(t))throw new X(se.MethodNotSupportedByProtocolVersion,`Method '${t}' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t,era:e.era})}_requestWithSchema(e,t,n){const o=this._resolveOutboundCodec(e.method);return this._assertOutboundRequestInEra(o,e.method),this._requestWithSchemaViaCodec(o,e,t,n)}_requestWithSchemaViaCodec(e,t,n,o){const{relatedRequestId:s,resumptionToken:i,onresumptiontoken:a,headers:l}=o??{},c=Date.now();let p,m;return new Promise((h,f)=>{var Ee,D,M,Y;const g=L=>{f(L)};if(!this._transport){g(new Error("Not connected"));return}if(((Ee=this._options)==null?void 0:Ee.enforceStrictCapabilities)===!0)try{this.assertCapabilityForMethod(t.method)}catch(L){g(L);return}if((D=o==null?void 0:o.signal)!=null&&D.aborted){const L=o.signal.reason;throw L instanceof X?L:new X(se.RequestTimeout,String(L))}const _=e.era===Mu&&this._transport.hasPerRequestStream===!0?new AbortController:void 0,v=this._requestMessageId++;m=v;const R={...t,jsonrpc:"2.0",id:v};o!=null&&o.onprogress&&(this._progressHandlers.set(v,o.onprogress),R.params={...t.params,_meta:{...(M=t.params)==null?void 0:M._meta,progressToken:v}});const T=this._envelopeOutbound(R);let C=!1;const j=L=>{var J;C||(this._progressHandlers.delete(v),_===void 0?t.method!=="initialize"&&((J=this._transport)==null||J.send(this._envelopeOutbound({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:v,reason:String(L)}}),{relatedRequestId:s,resumptionToken:i,onresumptiontoken:a}).catch(he=>this._onerror(new Error(`Failed to send cancellation: ${he}`)))):_.abort(),f(L instanceof X?L:new X(se.RequestTimeout,String(L))))};this._responseHandlers.set(v,L=>{var we;if((we=o==null?void 0:o.signal)!=null&&we.aborted)return;if(C=!0,L instanceof Error)return f(L);let J;try{J=e.decodeResult(t.method,L.result)}catch(Q){return f(Q instanceof Error?Q:new Error(String(Q)))}if(J.kind==="invalid")return f(J.error);if(J.kind==="input_required"){if((o==null?void 0:o.allowInputRequired)===!0)return h(Z_(J));const Q={codec:e,request:t,resultSchema:n,options:o,flowStartedAt:c,retry:(fe,ze)=>this._requestWithSchemaViaCodec(e,fe===void 0?{method:t.method}:{method:t.method,params:fe},n,ze)};return h(this._resolveNonCompleteResult(J,Q))}const he=J.result;qs(n,he).then(Q=>{Q.success?h(Q.data):f(new X(se.InvalidResult,`Invalid result for ${t.method}: ${Q.error}`))},f)}),p=()=>{var L;return j((L=o==null?void 0:o.signal)==null?void 0:L.reason)},(Y=o==null?void 0:o.signal)==null||Y.addEventListener("abort",p,{once:!0});const A=(o==null?void 0:o.timeout)??z_,Re=()=>j(new X(se.RequestTimeout,"Request timed out",{timeout:A}));this._setupTimeout(v,A,o==null?void 0:o.maxTotalTimeout,Re,(o==null?void 0:o.resetTimeoutOnProgress)??!1),this._transport.send(T,{relatedRequestId:s,resumptionToken:i,onresumptiontoken:a,headers:l,requestSignal:_==null?void 0:_.signal}).catch(L=>{this._progressHandlers.delete(v),f(L)})}).finally(()=>{var h;p&&((h=o==null?void 0:o.signal)==null||h.removeEventListener("abort",p)),m!==void 0&&(this._responseHandlers.delete(m),this._cleanupTimeout(m))})}async notification(e,t){return await this._notificationViaCodec(this._resolveOutboundCodec(e.method),e,t)}async _notificationViaCodec(e,t,n){var s;if(!this._transport)throw new X(se.NotConnected,"Not connected");if(Os(t.method)&&!e.hasNotificationMethod(t.method))throw new X(se.MethodNotSupportedByProtocolVersion,`Notification '${t.method}' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t.method,era:e.era});this.assertNotificationCapability(t.method);const o=this._envelopeOutbound({jsonrpc:"2.0",...t});if((((s=this._options)==null?void 0:s.debouncedNotificationMethods)??[]).includes(t.method)&&!t.params&&(n==null?void 0:n.relatedRequestId)===void 0){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{var i;this._pendingDebouncedNotifications.delete(t.method),this._transport&&((i=this._transport)==null||i.send(o,n).catch(a=>this._onerror(a)))});return}await this._transport.send(o,n)}setRequestHandler(e,t,n){this.assertRequestHandlerCapability(e);let o;if(typeof t=="function"){if(!Es(e))throw new TypeError(`'${e}' is not a spec request method; pass schemas as the second argument to setRequestHandler().`);o=(s,i)=>{const a=this._negotiatedWireCodec();let l=a.validateRequest(e,s);if(!l.ok&&l.reason==="not-in-era"&&(l=a.validateInputRequest(e,s)),!l.ok)throw l.reason==="not-in-era"?new ie(z.InternalError,`No wire schema for ${e} in the resolved era`):new Error(l.message);return Promise.resolve(t(l.value,i))}}else if(n)o=async(s,i)=>{const a=await qs(t.params,{...s.params});if(!a.success)throw new ie(z.InvalidParams,`Invalid params for ${e}: ${a.error}`);return n(a.data,i)};else throw new TypeError("setRequestHandler: handler is required");typeof t=="function"?this._customSchemaRequestMethods.delete(e):this._customSchemaRequestMethods.add(e),this._requestHandlers.set(e,this._wrapHandler(e,o))}_wrapHandler(e,t){return t}_outboundServerInfo(){}removeRequestHandler(e){this._requestHandlers.delete(e),this._customSchemaRequestMethods.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t,n){if(typeof t=="function"){if(!Os(e))throw new TypeError(`'${e}' is not a spec notification method; pass schemas as the second argument to setNotificationHandler().`);this._notificationHandlers.set(e,(o,s)=>{const i=s.validateNotification(e,o);if(!i.ok)throw i.reason==="not-in-era"?new ie(z.InternalError,`No wire schema for ${e} in the resolved era`):new Error(i.message);return Promise.resolve(t(i.value))});return}if(!n)throw new TypeError("setNotificationHandler: handler is required");this._notificationHandlers.set(e,async o=>{const s=await qs(t.params,{...o.params});if(!s.success)throw new ie(z.InvalidParams,`Invalid params for notification ${e}: ${s.error}`);await n(s.data,o)})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}};function Ns(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Qr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function j_(e){const t={},n=[];if(!Qr(e))return{accepted:t,droppedKeys:n};for(const[o,s]of Object.entries(e)){if(!Qr(s)||"method"in s||"result"in s){n.push(o);continue}t[o]=s}return{accepted:t,droppedKeys:n}}function Z_(e){return{resultType:"input_required",inputRequests:e.inputRequests,...e.requestState!==void 0&&{requestState:e.requestState},...e._meta!==void 0&&{_meta:e._meta}}}/*!
|
|
65
|
+
* content-type
|
|
66
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
67
|
+
* MIT Licensed
|
|
68
|
+
*/var U_=id((e=>{var t=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,n=/\\([\u000b\u0020-\u00ff])/g,o=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;e.parse=s;function s(l){if(!l)throw new TypeError("argument string is required");var c=typeof l=="object"?i(l):l;if(typeof c!="string")throw new TypeError("argument string is required to be a string");var p=c.indexOf(";"),m=p!==-1?c.slice(0,p).trim():c.trim();if(!o.test(m))throw new TypeError("invalid media type");var h=new a(m.toLowerCase());if(p!==-1){var f,g,_;for(t.lastIndex=p;g=t.exec(c);){if(g.index!==p)throw new TypeError("invalid parameter format");p+=g[0].length,f=g[1].toLowerCase(),_=g[2],_.charCodeAt(0)===34&&(_=_.slice(1,-1),_.indexOf("\\")!==-1&&(_=_.replace(n,"$1"))),h.parameters[f]=_}if(p!==c.length)throw new TypeError("invalid parameter format")}return h}function i(l){var c;if(typeof l.getHeader=="function"?c=l.getHeader("content-type"):typeof l.headers=="object"&&(c=l.headers&&l.headers["content-type"]),typeof c!="string")throw new TypeError("content-type header is missing from object");return c}function a(l){this.parameters=Object.create(null),this.type=l}}));U_();typeof self<"u"&&self.location&&self.location.origin!=="null"?new URL(self.location.origin+self.location.pathname+location.search):new URL("https://github.com/cfworker");const D_=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,H_=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,F_=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*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a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i;function qe(e){return e.test.bind(e)}X_.bind(void 0,!1),qe(F_),qe(J_),qe(V_),qe(H_),qe(Y_),qe(Q_),qe(B_),qe(K_),qe(W_),qe(G_);function X_(e,t){const n=t.match(D_);if(!n)return!1;const o=+n[1],s=+n[2],i=+n[3],a=!!n[5];return(o<=23&&s<=59&&i<=59||o==23&&s==59&&i==60)&&(!e||a)}class eb{constructor(){q(this,"_eventSlots",new Map)}setHandler(t,n){let o=this._ensureEventSlot(t);o.onHandler&&n&&console.warn(`[MCP Apps] on${String(t)} handler replaced. Use addEventListener("${String(t)}", …) to add multiple listeners without replacing.`),o.onHandler=n}getHandler(t){var n;return(n=this._eventSlots.get(t))==null?void 0:n.onHandler}addEventListener(t,n){this._ensureEventSlot(t).listeners.push(n)}removeEventListener(t,n){let o=this._eventSlots.get(t);if(!o)return;let s=o.listeners.indexOf(n);s!==-1&&o.listeners.splice(s,1)}dispatch(t,n){var s;let o=this._eventSlots.get(t);if(o){(s=o.onHandler)==null||s.call(o,n);for(let i of[...o.listeners])i(n)}}_ensureEventSlot(t){let n=this._eventSlots.get(t);return n||(n={listeners:[]},this._eventSlots.set(t,n)),n}}class tb{constructor(){q(this,"_methods",new Set)}claim(t,n){if(this._methods.has(t))throw Error(`Handler for "${t}" already registered (via ${n}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._methods.add(t)}replace(t){this._methods.add(t)}release(t){this._methods.delete(t)}has(t){return this._methods.has(t)}}var Xr=new Set;function ea(e,t){var c;let[n,o]=t,s=n==null?void 0:n.shape;if(typeof((c=s==null?void 0:s.method)==null?void 0:c.value)!="string")return;let i=s.method.value,a=e==="request"?"setRequestHandler":"setNotificationHandler";Xr.has(a)||(Xr.add(a),console.warn(`[ext-apps] ${a}(Schema, handler) is deprecated; use ${a}("${i}", { params: Schema.shape.params }, handler).`));let l=o;return[i,{params:s.params},e==="request"?(p,m)=>l({method:i,params:p},nb(m)):p=>l({method:i,params:p})]}function nb(e){var t;return{signal:e.mcpReq.signal,requestId:e.mcpReq.id,sessionId:e.sessionId,_meta:e.mcpReq._meta,sendRequest:e.mcpReq.send,sendNotification:e.mcpReq.notify,authInfo:(t=e.http)==null?void 0:t.authInfo}}var ob="2026-01-26",sb="ui/notifications/tool-input-partial";class ib{constructor(t=window.parent,n){q(this,"eventTarget");q(this,"eventSource");q(this,"messageListener");q(this,"onclose");q(this,"onerror");q(this,"onmessage");q(this,"sessionId");q(this,"setProtocolVersion");this.eventTarget=t,this.eventSource=n,this.messageListener=o=>{var i,a,l;if(n&&o.source!==this.eventSource){console.debug("Ignoring message from unknown source",o);return}let s=jc.safeParse(o.data);s.success?(console.debug("Parsed message",s.data),(i=this.onmessage)==null||i.call(this,s.data)):((a=o.data)==null?void 0:a.jsonrpc)!=="2.0"?console.debug("Ignoring non-JSON-RPC message",s.error.message,o):(console.error("Failed to parse message",s.error.message,o),(l=this.onerror)==null||l.call(this,Error("Invalid JSON-RPC message received: "+s.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(t,n){t.method!==sb&&console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){var t;window.removeEventListener("message",this.messageListener),(t=this.onclose)==null||t.call(this)}}var rb=P([d("light"),d("dark")]).describe("Color theme preference for the host environment."),co=P([d("inline"),d("fullscreen"),d("pip")]).describe("Display mode for UI presentation."),ab=P([d("--color-background-primary"),d("--color-background-secondary"),d("--color-background-tertiary"),d("--color-background-inverse"),d("--color-background-ghost"),d("--color-background-info"),d("--color-background-danger"),d("--color-background-success"),d("--color-background-warning"),d("--color-background-disabled"),d("--color-text-primary"),d("--color-text-secondary"),d("--color-text-tertiary"),d("--color-text-inverse"),d("--color-text-ghost"),d("--color-text-info"),d("--color-text-danger"),d("--color-text-success"),d("--color-text-warning"),d("--color-text-disabled"),d("--color-border-primary"),d("--color-border-secondary"),d("--color-border-tertiary"),d("--color-border-inverse"),d("--color-border-ghost"),d("--color-border-info"),d("--color-border-danger"),d("--color-border-success"),d("--color-border-warning"),d("--color-border-disabled"),d("--color-ring-primary"),d("--color-ring-secondary"),d("--color-ring-inverse"),d("--color-ring-info"),d("--color-ring-danger"),d("--color-ring-success"),d("--color-ring-warning"),d("--font-sans"),d("--font-mono"),d("--font-weight-normal"),d("--font-weight-medium"),d("--font-weight-semibold"),d("--font-weight-bold"),d("--font-text-xs-size"),d("--font-text-sm-size"),d("--font-text-md-size"),d("--font-text-lg-size"),d("--font-heading-xs-size"),d("--font-heading-sm-size"),d("--font-heading-md-size"),d("--font-heading-lg-size"),d("--font-heading-xl-size"),d("--font-heading-2xl-size"),d("--font-heading-3xl-size"),d("--font-text-xs-line-height"),d("--font-text-sm-line-height"),d("--font-text-md-line-height"),d("--font-text-lg-line-height"),d("--font-heading-xs-line-height"),d("--font-heading-sm-line-height"),d("--font-heading-md-line-height"),d("--font-heading-lg-line-height"),d("--font-heading-xl-line-height"),d("--font-heading-2xl-line-height"),d("--font-heading-3xl-line-height"),d("--border-radius-xs"),d("--border-radius-sm"),d("--border-radius-md"),d("--border-radius-lg"),d("--border-radius-xl"),d("--border-radius-full"),d("--border-width-regular"),d("--shadow-hairline"),d("--shadow-sm"),d("--shadow-md"),d("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),cb=w(ab.describe(`Style variables for theming MCP apps.
|
|
69
|
+
|
|
70
|
+
Individual style keys are optional - hosts may provide any subset of these values.
|
|
71
|
+
Values are strings containing CSS values (colors, sizes, font stacks, etc.).
|
|
72
|
+
|
|
73
|
+
Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
|
|
74
|
+
for compatibility with Zod schema generation. Both are functionally equivalent for validation.`),P([r(),Js()]).describe(`Style variables for theming MCP apps.
|
|
75
|
+
|
|
76
|
+
Individual style keys are optional - hosts may provide any subset of these values.
|
|
77
|
+
Values are strings containing CSS values (colors, sizes, font stacks, etc.).
|
|
78
|
+
|
|
79
|
+
Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
|
|
80
|
+
for compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.
|
|
81
|
+
|
|
82
|
+
Individual style keys are optional - hosts may provide any subset of these values.
|
|
83
|
+
Values are strings containing CSS values (colors, sizes, font stacks, etc.).
|
|
84
|
+
|
|
85
|
+
Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
|
|
86
|
+
for compatibility with Zod schema generation. Both are functionally equivalent for validation.`);u({method:d("ui/open-link"),params:u({url:r().describe("URL to open in the host's browser")})});var lb=u({isError:k().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),ub=u({isError:k().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),db=u({isError:k().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough();u({method:d("ui/notifications/sandbox-proxy-ready"),params:u({})});var Xi=u({connectDomains:S(r()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).
|
|
87
|
+
|
|
88
|
+
- Maps to CSP \`connect-src\` directive
|
|
89
|
+
- Empty or omitted → no network connections (secure default)`),resourceDomains:S(r()).optional().describe("Origins for static resources (images, scripts, stylesheets, fonts, media).\n\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\n- Wildcard subdomains supported: `https://*.example.com`\n- Empty or omitted → no network resources (secure default)"),frameDomains:S(r()).optional().describe("Origins for nested iframes.\n\n- Maps to CSP `frame-src` directive\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)"),baseUriDomains:S(r()).optional().describe("Allowed base URIs for the document.\n\n- Maps to CSP `base-uri` directive\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)")}),er=u({camera:u({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),microphone:u({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),geolocation:u({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),clipboardWrite:u({}).optional().describe("Request clipboard write access.\n\nMaps to Permission Policy `clipboard-write` feature.")});u({method:d("ui/notifications/size-changed"),params:u({width:y().optional().describe("New width in pixels."),height:y().optional().describe("New height in pixels.")})});var pb=u({method:d("ui/notifications/tool-input"),params:u({arguments:w(r(),$().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.")})}),mb=u({method:d("ui/notifications/tool-input-partial"),params:u({arguments:w(r(),$().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).")})}),hb=u({method:d("ui/notifications/tool-cancelled"),params:u({reason:r().optional().describe('Optional reason for the cancellation (e.g., "user action", "timeout").')})}),fb=u({fonts:r().optional()}),Sb=u({variables:cb.optional().describe("CSS variables for theming the app."),css:fb.optional().describe("CSS blocks that apps can inject.")}),gb=u({method:d("ui/resource-teardown"),params:u({})}),_b=w(r(),$()),ta=u({text:u({}).optional().describe("Host supports text content blocks."),image:u({}).optional().describe("Host supports image content blocks."),audio:u({}).optional().describe("Host supports audio content blocks."),resource:u({}).optional().describe("Host supports resource content blocks."),resourceLink:u({}).optional().describe("Host supports resource link content blocks."),structuredContent:u({}).optional().describe("Host supports structured content.")});u({method:d("ui/notifications/request-teardown"),params:u({}).optional()});var bb=u({experimental:w(r(),w(r(),_i()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),openLinks:u({}).optional().describe("Host supports opening external URLs."),downloadFile:u({}).optional().describe("Host supports file downloads via ui/download-file."),serverTools:u({listChanged:k().optional().describe("Host supports tools/list_changed notifications.")}).optional().describe("Host can proxy tool calls to the MCP server."),serverResources:u({listChanged:k().optional().describe("Host supports resources/list_changed notifications.")}).optional().describe("Host can proxy resource reads to the MCP server."),logging:u({}).optional().describe("Host accepts log messages."),sandbox:u({permissions:er.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),csp:Xi.optional().describe("CSP domains approved by the host.")}).optional().describe("Sandbox configuration applied by the host."),updateModelContext:ta.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),message:ta.optional().describe("Host supports receiving content messages (ui/message) from the view."),sampling:u({tools:u({}).optional().describe("Host supports tool use via `tools` and `toolChoice` parameters.")}).optional().describe("Host supports LLM sampling (sampling/createMessage) from the view.\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.")}),yb=u({experimental:w(r(),w(r(),_i()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),tools:u({listChanged:k().optional().describe("App supports tools/list_changed notifications.")}).optional().describe("App exposes MCP-style tools that the host can call."),availableDisplayModes:S(co).optional().describe("Display modes the app supports.")});u({method:d("ui/notifications/initialized"),params:u({}).optional()});u({csp:Xi.optional().describe("Content Security Policy configuration for UI resources."),permissions:er.optional().describe("Sandbox permissions requested by the UI resource."),domain:r().optional().describe(`Dedicated origin for view sandbox.
|
|
90
|
+
|
|
91
|
+
Useful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.
|
|
92
|
+
|
|
93
|
+
**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:
|
|
94
|
+
- Hash-based subdomains (e.g., \`{hash}.claudemcpcontent.com\`)
|
|
95
|
+
- URL-derived subdomains (e.g., \`www-example-com.oaiusercontent.com\`)
|
|
96
|
+
|
|
97
|
+
If omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:k().optional().describe(`Visual boundary preference - true if view prefers a visible border.
|
|
98
|
+
|
|
99
|
+
Boolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.
|
|
100
|
+
|
|
101
|
+
- \`true\`: request visible border + background
|
|
102
|
+
- \`false\`: request no visible border + background
|
|
103
|
+
- omitted: host decides border`)});u({method:d("ui/request-display-mode"),params:u({mode:co.describe("The display mode being requested.")})});var vb=u({mode:co.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),Rb=P([d("model"),d("app")]).describe("Tool visibility scope - who can access the tool.");u({resourceUri:r().optional(),visibility:S(Rb).optional().describe(`Who can access this tool. Default: ["model", "app"]
|
|
104
|
+
- "model": Tool visible to and callable by the agent
|
|
105
|
+
- "app": Tool callable by the app from this server only`),csp:Vs().optional(),permissions:Vs().optional()});u({mimeTypes:S(r()).optional().describe('Array of supported MIME types for UI resources.\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.')});u({method:d("ui/download-file"),params:u({contents:S(P([Li,ji])).describe("Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})});u({method:d("ui/message"),params:u({role:d("user").describe('Message role, currently only "user" is supported.'),content:S(Gt).describe("Message content blocks (text, image, etc.).")})});u({method:d("ui/notifications/sandbox-resource-ready"),params:u({html:r().describe("HTML content to load into the inner iframe."),sandbox:r().optional().describe("Optional override for the inner iframe's sandbox attribute."),csp:Xi.optional().describe("CSP configuration from resource metadata."),permissions:er.optional().describe("Sandbox permissions from resource metadata.")})});var wb=u({method:d("ui/notifications/tool-result"),params:gs.describe("Standard MCP tool execution result.")}),Fu=u({toolInfo:u({id:mt.optional().describe("JSON-RPC id of the tools/call request."),tool:Ss.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:rb.optional().describe("Current color theme preference."),styles:Sb.optional().describe("Style configuration for theming the app."),displayMode:co.optional().describe("How the UI is currently displayed."),availableDisplayModes:S(co).optional().describe("Display modes the host supports."),containerDimensions:P([u({height:y().describe("Fixed container height in pixels.")}),u({maxHeight:P([y(),Js()]).optional().describe("Maximum container height in pixels.")})]).and(P([u({width:y().describe("Fixed container width in pixels.")}),u({maxWidth:P([y(),Js()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other
|
|
106
|
+
container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:r().optional().describe("User's language and region preference in BCP 47 format."),timeZone:r().optional().describe("User's timezone in IANA format."),userAgent:r().optional().describe("Host application identifier."),platform:P([d("web"),d("desktop"),d("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:u({touch:k().optional().describe("Whether the device supports touch input."),hover:k().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:u({top:y().describe("Top safe area inset in pixels."),right:y().describe("Right safe area inset in pixels."),bottom:y().describe("Bottom safe area inset in pixels."),left:y().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),Tb=u({method:d("ui/notifications/host-context-changed"),params:Fu.describe("Partial context update containing only changed fields.")});u({method:d("ui/update-model-context"),params:u({content:S(Gt).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:w(r(),$().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})});u({method:d("ui/initialize"),params:u({appInfo:Vt.describe("App identification (name and version)."),appCapabilities:yb.describe("Features and capabilities this app provides."),protocolVersion:r().describe("Protocol version this app supports.")})});var Pb=u({protocolVersion:r().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:Vt.describe("Host application identification and version."),hostCapabilities:bb.describe("Features and capabilities provided by the host."),hostContext:Fu.describe("Rich context about the host environment.")}).passthrough(),kb={target:"draft-2020-12"};async function na(e,t){let n=e["~standard"];if(n.jsonSchema)return n.jsonSchema[t](kb);throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function oa(e,t,n=""){let o=await e["~standard"].validate(t);if(o.issues){let s=o.issues.map(i=>{var l;let a=(l=i.path)==null?void 0:l.map(c=>typeof c=="object"?c.key:c).join(".");return a?`${a}: ${i.message}`:i.message}).join("; ");throw Error(n+s)}return o.value}function Cb(e,t){let n={...e,...t};return t.experimental!==void 0&&(n.experimental={...e.experimental,...t.experimental}),t.tools!==void 0&&(n.tools={...e.tools,...t.tools}),n}const Xo=class Xo extends L_{constructor(n,o={},s={autoResize:!0}){super(s);q(this,"_appInfo");q(this,"_appCapabilities");q(this,"options");q(this,"_hostCapabilities");q(this,"_hostInfo");q(this,"_hostContext");q(this,"_registeredTools",{});q(this,"_initializedSent",!1);q(this,"_registeredEvents",new Set);q(this,"_events",new eb);q(this,"_methods",new tb);q(this,"setRequestHandler",(...n)=>{let[o,...s]=ea("request",n)??n;this._methods.claim(o,"setRequestHandler"),super.setRequestHandler.call(this,o,...s)});q(this,"setNotificationHandler",(...n)=>{let[o,...s]=ea("notification",n)??n;this._methods.claim(o,"setNotificationHandler"),super.setNotificationHandler.call(this,o,...s)});q(this,"removeRequestHandler",n=>{this._methods.release(n),super.removeRequestHandler(n)});q(this,"removeNotificationHandler",n=>{this._methods.release(n),super.removeNotificationHandler(n)});q(this,"replaceRequestHandler",(n,...o)=>{this._methods.replace(n),super.setRequestHandler.call(this,n,...o)});q(this,"eventSchemas",{toolinput:pb,toolinputpartial:mb,toolresult:wb,toolcancelled:hb,hostcontextchanged:Tb});q(this,"_everHadListener",new Set);q(this,"_toolHandlersInitialized",!1);q(this,"_onteardown");q(this,"_oncalltool");q(this,"_onlisttools");q(this,"sendOpenLink",this.openLink);this._appInfo=n,this._appCapabilities=o,this.options=s,this._methods.replace("notifications/cancelled"),this._methods.replace("notifications/progress"),!s.allowUnsafeEval&&Ce({jitless:!0}),this.replaceRequestHandler("ping",i=>(console.log("Received ping:",i.params),{})),this.setEventHandler("hostcontextchanged",void 0)}_assertInitialized(n){var s;if(this._initializedSent)return;let o=`[ext-apps] App.${n}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if((s=this.options)!=null&&s.strict)throw Error(o);console.warn(`${o}. This will throw in a future release.`)}_assertHandlerTiming(n){var s;if(!Xo.ONE_SHOT_EVENTS.has(n)||this._everHadListener.has(n)||(this._everHadListener.add(n),!this._initializedSent))return;let o=`[ext-apps] "${String(n)}" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if((s=this.options)!=null&&s.strict)throw Error(o);console.warn(o)}setEventHandler(n,o){o&&this._assertHandlerTiming(n),this._ensureEventSlot(n),this._events.setHandler(n,o)}addEventListener(n,o){this._assertHandlerTiming(n),this._ensureEventSlot(n),this._events.addEventListener(n,o)}removeEventListener(n,o){this._events.removeEventListener(n,o)}_ensureEventSlot(n){if(this._registeredEvents.has(n))return;let o=this.eventSchemas[n];if(!o)throw Error(`Unknown event: ${String(n)}`);this.setNotificationHandler(o.shape.method.value,{params:o.shape.params},s=>{let i=s;n==="hostcontextchanged"&&(this._hostContext={...this._hostContext,...i}),this._events.dispatch(n,i)}),this._registeredEvents.add(n)}getEventHandler(n){return this._events.getHandler(n)}warnIfRequestHandlerReplaced(n,o,s){o&&s&&console.warn(`[MCP Apps] ${n} handler replaced. Previous handler will no longer be called.`)}buildContext(n){return n}registerAppCapabilities(n){if(this.transport)throw Error("Cannot register capabilities after transport is established");this._appCapabilities=Cb(this._appCapabilities,n)}registerTool(n,o,s){if(this._registeredTools[n])throw Error(`Tool ${n} is already registered`);let i=this,a=()=>{var p;i._initializedSent&&((p=i._appCapabilities.tools)!=null&&p.listChanged)&&i.sendToolListChanged()},l=o.inputSchema!==void 0,c={title:o.title,description:o.description,inputSchema:o.inputSchema,outputSchema:o.outputSchema,annotations:o.annotations,_meta:o._meta,enabled:!0,enable(){this.enabled=!0,a()},disable(){this.enabled=!1,a()},update(p){Object.assign(this,p),a()},remove(){i._registeredTools[n]===c&&(delete i._registeredTools[n],a())},handler:async(p,m)=>{if(!c.enabled)throw Error(`Tool ${n} is disabled`);let h;if(l){let f=c.inputSchema,g=f?await oa(f,p??{},`Invalid input for tool ${n}: `):p??{};h=await s(g,m)}else h=await s(m);return c.outputSchema&&!h.isError&&(h.structuredContent=await oa(c.outputSchema,h.structuredContent,`Invalid output for tool ${n}: `)),h}};return this._registeredTools[n]=c,!this._appCapabilities.tools&&!this.transport&&this.registerAppCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),a(),c}ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(n,o)=>{let s=this._registeredTools[n.name];if(!s)throw Error(`Tool ${n.name} not found`);return s.handler(n.arguments,o)},this.onlisttools=async(n,o)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([s,i])=>i.enabled).map(async([s,i])=>{let a={name:s,title:i.title,description:i.description,inputSchema:i.inputSchema?await na(i.inputSchema,"input"):{type:"object",properties:{}}};return i.outputSchema&&(a.outputSchema=await na(i.outputSchema,"output")),i.annotations&&(a.annotations=i.annotations),i._meta&&(a._meta=i._meta),a}))}))}async sendToolListChanged(n={}){this._assertInitialized("sendToolListChanged"),await this.notification({method:"notifications/tools/list_changed",params:n})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler("toolinput")}set ontoolinput(n){this.setEventHandler("toolinput",n)}get ontoolinputpartial(){return this.getEventHandler("toolinputpartial")}set ontoolinputpartial(n){this.setEventHandler("toolinputpartial",n)}get ontoolresult(){return this.getEventHandler("toolresult")}set ontoolresult(n){this.setEventHandler("toolresult",n)}get ontoolcancelled(){return this.getEventHandler("toolcancelled")}set ontoolcancelled(n){this.setEventHandler("toolcancelled",n)}get onhostcontextchanged(){return this.getEventHandler("hostcontextchanged")}set onhostcontextchanged(n){this.setEventHandler("hostcontextchanged",n)}get onteardown(){return this._onteardown}set onteardown(n){this.warnIfRequestHandlerReplaced("onteardown",this._onteardown,n),this._onteardown=n,this.replaceRequestHandler("ui/resource-teardown",{params:gb.shape.params,result:_b},(o,s)=>{if(!this._onteardown)throw Error("No onteardown handler set");return this._onteardown(o,s)})}get oncalltool(){return this._oncalltool}set oncalltool(n){this.warnIfRequestHandlerReplaced("oncalltool",this._oncalltool,n),this._oncalltool=n,this.replaceRequestHandler("tools/call",(o,s)=>{if(!this._oncalltool)throw Error("No oncalltool handler set");return this._oncalltool(o.params,s)})}get onlisttools(){return this._onlisttools}set onlisttools(n){this.warnIfRequestHandlerReplaced("onlisttools",this._onlisttools,n),this._onlisttools=n,this.replaceRequestHandler("tools/list",(o,s)=>{if(!this._onlisttools)throw Error("No onlisttools handler set");return this._onlisttools(o.params,s)})}assertCapabilityForMethod(n){var o;switch(n){case"sampling/createMessage":if(!((o=this._hostCapabilities)!=null&&o.sampling))throw Error(`Host does not support sampling (required for ${n})`);break}}assertRequestHandlerCapability(n){switch(n){case"tools/call":case"tools/list":if(!this._appCapabilities.tools)throw Error(`Client does not support tool capability (required for ${n})`);return;default:return}}assertNotificationCapability(n){}async callServerTool(n,o){if(this._assertInitialized("callServerTool"),typeof n=="string")throw Error(`callServerTool() expects an object as its first argument, but received a string ("${n}"). Did you mean: callServerTool({ name: "${n}", arguments: { ... } })?`);return await this.request({method:"tools/call",params:n},{onprogress:()=>{},resetTimeoutOnProgress:!0,...o})}async readServerResource(n,o){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:n},o)}async listServerResources(n,o){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:n},o)}async createSamplingMessage(n,o){return this._assertInitialized("createSamplingMessage"),await this.request({method:"sampling/createMessage",params:n},o)}sendMessage(n,o){return this._assertInitialized("sendMessage"),this.request({method:"ui/message",params:n},db,o)}sendLog(n){return this.notification({method:"notifications/message",params:n})}updateModelContext(n,o){return this._assertInitialized("updateModelContext"),this.request({method:"ui/update-model-context",params:n},ds,o)}openLink(n,o){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:n},lb,o)}downloadFile(n,o){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:n},ub,o)}requestTeardown(n={}){return this.notification({method:"ui/notifications/request-teardown",params:n})}requestDisplayMode(n,o){return this._assertInitialized("requestDisplayMode"),this.request({method:"ui/request-display-mode",params:n},vb,o)}sendSizeChanged(n){return this.notification({method:"ui/notifications/size-changed",params:n})}setupSizeChangedNotifications(){let n=!1,o=0,s=0,i=()=>{n||(n=!0,requestAnimationFrame(()=>{n=!1;let l=document.documentElement,c=l.style.height;l.style.height="max-content";let p=Math.ceil(l.getBoundingClientRect().height);l.style.height=c;let m=Math.ceil(window.innerWidth);(m!==o||p!==s)&&(o=m,s=p,this.sendSizeChanged({width:m,height:p}))}))};i();let a=new ResizeObserver(i);return a.observe(document.documentElement),a.observe(document.body),()=>a.disconnect()}async connect(n=new ib(window.parent,window.parent),o){var s;if(this.transport)throw Error("App is already connected. Call close() before connecting again.");this._initializedSent=!1;try{await super.connect(n);let i=await this.request({method:"ui/initialize",params:{appCapabilities:this._appCapabilities,appInfo:this._appInfo,protocolVersion:ob}},Pb,o);if(i===void 0)throw Error(`Server sent invalid initialize result: ${i}`);this._hostCapabilities=i.hostCapabilities,this._hostInfo=i.hostInfo,this._hostContext=i.hostContext,await this.notification({method:"ui/notifications/initialized"}),this._initializedSent=!0,(s=this.options)!=null&&s.autoResize&&this.setupSizeChangedNotifications()}catch(i){throw this.close(),i}}};q(Xo,"ONE_SHOT_EVENTS",new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]));let Xs=Xo;const $e=e=>document.getElementById(e);function sa(e){const t=e?e==="dark":matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.dataset.theme=t?"dark":"light"}function Ju(e){var n,o;const t=((o=(n=e.content)==null?void 0:n.find(s=>s.type==="text"))==null?void 0:o.text)??"";if(e.isError)return{value:null,error:t||"Something went wrong."};if(e.structuredContent&&typeof e.structuredContent=="object")return{value:e.structuredContent,error:null};try{return{value:JSON.parse(t),error:null}}catch{return{value:null,error:t||"Something went wrong."}}}function Vu(e){return!!e&&/isn't running|isn't installed|is offline|did not answer/i.test(e)}function $b(e,t,n){const o=new Xs({name:e,version:"1.0.0"}),s=$e("root"),i=a=>{if(sa(a.theme),a.safeAreaInsets){const l=a.safeAreaInsets;s.style.padding=`${l.top}px ${l.right}px ${l.bottom}px ${l.left}px`}s.classList.toggle("fullscreen",a.displayMode==="fullscreen")};return o.onerror=console.error,o.onhostcontextchanged=i,o.ontoolresult=t,sa(void 0),o.connect().then(()=>{const a=o.getHostContext();a&&i(a),n==null||n()}),o}async function tr(e,t,n={}){try{return Ju(await e.callServerTool({name:t,arguments:n}))}catch(o){return{value:null,error:o.message}}}function ia(e,t,n){e.className="status"+(n==="active"?" live active":n?` ${n}`:""),e.querySelector("span").textContent=t}const ra=$e("meta"),aa=$e("status"),Bu=$e("rows"),Eb=$e("message"),Ob=$e("message-title"),Ib=$e("message-body"),qb=$e("loading-bar"),zs=$e("folder"),Nt=$e("note"),lo=$e("refresh");let qt=null,le=null,Le=!1,ei;const Nb=new Intl.NumberFormat("en-GB"),xs=e=>(Math.round(e*10)/10).toString();function Zo(e,t="",n=!1,o=""){Eb.hidden=e===null,Bu.hidden=e!==null,Ob.textContent=e??"",Ib.textContent=t,qb.hidden=!n,zs.hidden=!o,zs.textContent=o,zs.title=o}function zb(e){const t=new Date(e),n=i=>new Date(i.getFullYear(),i.getMonth(),i.getDate()).getTime(),o=Math.round((n(new Date)-n(t))/864e5);if(o===0)return"Today";if(o===1)return"Yesterday";const s=t.getFullYear()===new Date().getFullYear();return t.toLocaleDateString("en-GB",{day:"numeric",month:"short",...s?{}:{year:"numeric"}})}function xb(e){const t=e.bounds,n=t?`${xs(t.max.x-t.min.x)} × ${xs(t.max.y-t.min.y)} × ${xs(t.max.z-t.min.z)} ${e.units==="inch"?"in":"mm"}`:"",o=[e.lineCount!=null?`${Nb.format(e.lineCount)} ${e.lineCount===1?"line":"lines"}`:"",e.modified?zb(e.modified):""].filter(Boolean);return{size:n,rest:o.join(" · ")}}function Ku(){const e=le==null?void 0:le.machine;if(!(e!=null&&e.loadedFile)||e.workflow!=="running"&&e.workflow!=="paused")return null;const t=le==null?void 0:le.progress,n=t&&t.total?` · ${Math.floor(t.received/t.total*100)}%`:"";return{file:e.loadedFile,label:(e.workflow==="running"?"Running":"Paused")+n}}function Mb(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.setAttribute("class","row-icon"),t.setAttribute("width","28"),t.setAttribute("height","28"),t.setAttribute("viewBox","0 0 28 28"),t.setAttribute("aria-hidden","true");const n=document.createElementNS(e,"rect");for(const[s,i]of Object.entries({x:"0.5",y:"0.5",width:"27",height:"27",rx:"7"}))n.setAttribute(s,i);const o=document.createElementNS(e,"path");return o.setAttribute("d","M8 18.5 12 10l4 6 4-3.5"),t.append(n,o),t}function nr(){var s;if(lo.hidden=Le,Le){ia(aa,"Offline",""),ra.textContent="Your jobs folder",Nt.textContent="",Zo("Your computer is offline","It reconnects when it’s on and you’re signed in to it.");return}if(!qt)return;const e=qt.jobs??qt.files.map(i=>({file:i})),t=Ku(),n=(le==null?void 0:le.machine.activeState)==="Alarm";if(ia(aa,t?t.label.split(" ·")[0]:n?"Alarm":"Ready",t!=null&&t.label.startsWith("Running")?"active":n?"alarm":"live"),ra.textContent=e.length?`${e.length} ${e.length===1?"file":"files"} in your jobs folder`:"Your jobs folder",!e.length){Nt.textContent="",Zo("No G-code files yet","Put .nc, .gcode or .tap files in this folder, or ask to save one there.",!1,qt.folder);return}Zo(null),Nt.textContent=t?"Other jobs open once this one finishes.":"Open one to see its toolpath.";const o=((s=le==null?void 0:le.job)==null?void 0:s.name)??null;Bu.replaceChildren(...e.map(i=>{const a=document.createElement("li");a.className="row";const l=document.createElement("span");l.className="row-text";const c=document.createElement("span");c.className="row-name",c.textContent=i.file,c.title=i.file;const p=document.createElement("span");p.className="row-meta";const{size:m,rest:h}=xb(i);if(m){const _=document.createElement("span");_.className="size",_.textContent=h?`${m} · `:m,p.append(_)}p.append(h),l.append(c,p),a.append(Mb(),l);const f=(t==null?void 0:t.file)===i.file,g=!t&&o===i.file;if(f||g){a.classList.add("current");const _=document.createElement("span");_.className="tag";const v=document.createElement("i");v.className=f?"dot live":"dot faint",_.append(v,f?t.label:"Open"),a.append(_)}else{const _=document.createElement("button");_.className="secondary",_.textContent="Open",_.disabled=!!t,_.addEventListener("click",()=>Ab(i.file,_)),a.append(_)}return a}))}async function Ab(e,t){t.disabled=!0,Nt.className="foot-note";const n=await tr(uo,"anc_show_job",{file:e});if(n.error){Nt.className="foot-note alarm",Nt.textContent=n.error,t.disabled=!1;return}le&&(le.job=n.value.job),nr(),uo.sendMessage({role:"user",content:[{type:"text",text:`Show ${e} in the toolpath viewer.`}]}).catch(()=>{})}async function or(){lo.disabled=!0;const e=await tr(uo,"anc_list_jobs");lo.disabled=!1,Wu(e.value,e.error)}function Wu(e,t){if(t){if(Le=Vu(t),!Le){Zo("Couldn’t list the jobs",t),lo.hidden=!1;return}}else Le=!1,qt=e;nr()}async function Gu(){clearTimeout(ei);const e=await tr(uo,"anc_snapshot");e.value?(le=e.value,Le&&(Le=!1,await or())):Vu(e.error)&&(Le=!0),nr(),ei=window.setTimeout(Gu,Ku()?2e3:5e3)}const uo=$b("Agentic Numerical Control jobs",e=>{const t=Ju(e);Wu(t.value,t.error)},()=>{Gu(),setTimeout(()=>{!qt&&!Le&&or()},1500)});uo.onteardown=async()=>(clearTimeout(ei),{});lo.addEventListener("click",or);</script>
|
|
107
|
+
<style rel="stylesheet" crossorigin>@font-face{font-family:Geist;src:url(data:font/woff2;base64,d09GMgABAAAAAF9AABQAAAAA1GQAAF7KAAHNDgAAAAAAAAAAAAAAAAAAAAAAAAAAGoN1G4GBDByBbj9IVkFShl0/TVZBUjwGYD9TVEFUgTgAhAIvfhEICugU0i4wgZQWATYCJAOHUAuDagAEIAWHWAcgDAcbNMY1Mm8l584TgK2/vvoQRwdat4NIyr8tjaI0s6ry/39ObgxRbAfVWr0hCTKKQJOJkaWwqmpIi5zLmBZAeG1DWvRZnLW6/5STByfyD4J03qG6NS0bJnIobBsh6CSLjqT3k92qygYSCJNW2tFxOr09d51agrAbwfR0d0DndSZdhskRyGG/xA1nZCNH1s+cRz6OEfmCUM/Mex9adDdd0Ttso3sKBKdNNxNLcgpIWGw7tPRXtTvxo9fWcITGPsm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r6J/ao5EZwTvyD6ucikbkhbV1fyZ2dBR9lbqFfSzitIiA2QCxDmLSeKCpQYRB8yAsKFf2NCnumnvDceNvoaKQqG8IQxmeTMct9AhCUN1mXl9KFe45xVuwxEckqtnHp3OAGVpnYLMnUg7ue+935yvsic9q8AULQcWBFhyrN4qhoMz1jrtIHQ55tx5kyBKudL3bV13q72vFWSJz6I+VVyrt1XhbHfL0+Rlgqn9Sn/jAbW+A5KDZWlpIOFnPKvHV0zVk62EzpV2Op0fy8pl29PO7eyHaQ+hX5kdxuDeQ9Lm7wWKfaYFcUIbLwAyrHJslqNSuSJ5YFEaDKVCv1iyhzdvP89oFsoS1CC0oAG0AXI4INMUZjV4zjsj/Gs3pCZGsCIA93PAsB6iTFRIqkxkzEeGCOMLEAjkzFLIQsigUy58qrWb16YwpyCFvkt1gwSx6N2enyciyELR/HHBRFLJTYpbEwhnbFwtkrjUUQmharxVw65qRutlm7endPBZs0ZZOqipKytXjcXNySOHRTVsDTRkHFDM7M+DJ10oiCXKHSzLpcKZtcmzOej6SrrDW1nG2UIMFwFWyyXs+SGtzPHCczWUHVnYIxYq6mypBhnTmxuLrIuRmkUrLuS7uMKoV4Dbjyk20sUxDMx7Qzz1DhlNSKIIxO61Wn4riGV0OltFqE/Bajfiq3ZEaGsS4brfXBGT4riawkqXfKwfbf2vl+o3XGsTLoIXu8GAuZNLaTyEEEJZGAvFTiVTgHYmkTOaO0VG6j2JmlXhFBPpgMn7CI/HLSOrkVH4x0q2KeDwAA) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:Geist Mono;src:url(data:font/woff2;base64,d09GMgABAAAAAEoUABQAAAAAhCQAAEmlAAHNDgAAAAAAAAAAAAAAAAAAAAAAAAAAGkAbIBwqP0hWQVIqP01WQVI8BmA/U1RBVIE4AIQCL34RCArjVM5LMIGEVAE2AiQDhnALgz4ABCAFiEQHIAwHG4N2FWxcZXY7CO79Z1u3UQhsHIAU4AdjVNTMRQoT/f8tgY4hFraloFwviK6u2K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HB8dkAXYl0XN4MAWnpGszoMbSfY8jI9GOGgZdDesXfjBZRtHn/rLFwPoWc9cOj0rybohwoQgAzKF1WCv6QGcAxCJ2FHGeQz7mJG1i/ousZ2FTeYvMqyDwIiWY/90cY8KimKTTAbBodxEzjy8Lm4EnES6Cyyte8dgigyDaGX0Z76x6knm4vPxBTGCoj4hdF5KKuXa28LzMAnC2nLs2kXdlmPxq316gVAkEymXwCRVTjvb8f03rPOKg==) format("woff2");font-weight:100 900;font-display:swap}:root{--bg: #ffffff;--stage: #fbfbfc;--text: #111827;--muted: #6b7280;--faint: #9ca3af;--track: #f3f4f6;--line: #e5e7eb;--chip: #ffffff;--chip-shadow: 0 1px 2px rgba(0, 0, 0, .1);--ring: rgba(0, 0, 0, .1);--primary: #111827;--primary-text: #ffffff;--online: #22c55e;--online-ring: rgba(34, 197, 94, .22);--offline: #d1d5db;--error: #dc2626;--error-text: #ffffff;--error-ring: rgba(220, 38, 38, .16);--warn: #fab219;--warn-ink: #111827;--todo: #d1d5db;--grid: #eef0f2;--panel: #ffffff;--panel-shadow: 0 12px 32px -12px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .05);--thumb-edge: rgba(0, 0, 0, .12);--sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--mono: "Geist Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;color-scheme:light}:root[data-theme=dark]{--bg: #111214;--stage: #16171a;--text: #ececec;--muted: #9ca3af;--faint: #6b7280;--track: #1d1f23;--line: #26282d;--chip: #2c2e33;--chip-shadow: 0 1px 2px rgba(0, 0, 0, .4);--ring: rgba(255, 255, 255, .14);--primary: #ececec;--primary-text: #111214;--offline: #4b5563;--error: #f87171;--error-text: #111214;--error-ring: rgba(248, 113, 113, .22);--todo: #3a3d43;--grid: #1f2125;--panel: #1d1f23;--panel-shadow: 0 12px 32px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);--thumb-edge: rgba(255, 255, 255, .12);color-scheme:dark}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;background:var(--bg);color:var(--text)}body{font:13px/1.5 var(--sans);-webkit-font-smoothing:antialiased}:focus-visible{outline:2px solid var(--muted);outline-offset:2px}code{font-family:var(--mono)}.anc{display:flex;flex-direction:column;height:440px}.anc.fullscreen{height:100vh}button,select{font:inherit;font-weight:500;color:var(--text);border:0;cursor:pointer}button:disabled,select:disabled{opacity:.4;cursor:default}.actions>.primary,.actions>.secondary{flex:none;height:34px;padding:0 14px;border-radius:10px}.primary{background:var(--primary);color:var(--primary-text)}.secondary{background:var(--track)}.primary.confirm,.secondary.confirm{background:var(--error);color:var(--error-text)}.small{flex:none;height:30px;padding:0 12px;border-radius:8px}.toggle{height:30px;padding:0 10px;border-radius:8px;background:none;color:var(--muted)}.toggle[aria-pressed=true]{background:var(--track);color:var(--text)}.icon{flex:none;display:flex;align-items:center;justify-content:center;padding:0}.icon svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.icon.quiet{width:32px;height:32px;border-radius:8px;background:none;color:var(--muted)}.icon.quiet svg{stroke-width:1.5}.icon.quiet:hover{background:var(--track);color:var(--text)}.chip{width:30px;height:30px;border-radius:8px;background:var(--chip);box-shadow:var(--chip-shadow)}.dot{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--offline)}.dot.live{background:var(--online)}.dot.faint{background:var(--faint)}select{height:30px;padding:0 8px;border-radius:8px;background:var(--track)}.segmented{display:inline-flex;gap:2px;padding:2px;border-radius:9px;background:var(--track)}.segmented button{height:26px;padding:0 10px;border-radius:7px;background:none;color:var(--muted)}.segmented button[aria-pressed=true]{background:var(--chip);color:var(--text);box-shadow:var(--chip-shadow)}.head{flex:none;display:flex;align-items:center;gap:12px;padding:12px 12px 12px 16px;min-width:0}.titles{flex:1;min-width:0;display:flex;flex-direction:column}.title{font-size:15px;font-weight:600;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status{flex:none;display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px 0 10px;border-radius:999px;background:var(--track);font-weight:500;white-space:nowrap}.status i{width:7px;height:7px;border-radius:50%;background:var(--offline)}.status.live i{background:var(--online)}.status.active i{box-shadow:0 0 0 3px var(--online-ring)}.status.alarm i{background:var(--error);box-shadow:0 0 0 3px var(--error-ring)}.stage{position:relative;flex:1;min-height:0;background:var(--stage);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stage.scroll{overflow:auto}.facts{display:grid;grid-template-columns:auto 1fr;gap:5px 16px;margin:0;font-size:12px}.facts dt{color:var(--muted)}.facts dd{margin:0;font-family:var(--mono);text-align:right;overflow-wrap:anywhere}.card{padding:12px 14px;border-radius:10px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line)}.message{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:24px;text-align:center;background:var(--stage)}.message-title{font-size:15px;font-weight:600}.message-body{max-width:360px;color:var(--muted)}.message-body:empty{display:none}.loading-bar{position:relative;width:120px;height:3px;margin-bottom:14px;border-radius:2px;background:var(--track);overflow:hidden}.loading-bar div{position:absolute;top:0;bottom:0;width:40%;border-radius:2px;background:var(--faint);animation:slide 1.2s ease-in-out infinite}@keyframes slide{0%{left:-40%}to{left:100%}}@media(prefers-reduced-motion:reduce){.loading-bar div{animation:none;left:30%}}.foot{flex:none;display:flex;flex-direction:column;gap:8px;padding:12px 16px}.actions{display:flex;align-items:center;gap:6px;min-height:34px}.foot-note{flex:1;min-width:0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.foot-note.alarm{color:var(--error)}.foot-link{color:var(--muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.foot-link:hover{color:var(--text)}@media(max-width:520px){.head{padding-left:14px}.foot{padding:12px 14px}}.rows{list-style:none;margin:0;padding:6px;display:flex;flex-direction:column;gap:2px}.row{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 8px 8px 12px;border-radius:10px}.row.current{background:var(--bg);box-shadow:inset 0 0 0 1px var(--line)}.row-icon{flex:none;color:var(--faint)}.row-icon rect{fill:var(--track)}.row-icon path{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.row-text{flex:1;min-width:0;display:flex;flex-direction:column}.row-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-meta{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-meta .size{display:inline}.tag{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;white-space:nowrap}.tag.alarm{color:var(--error)}.tag.alarm .dot{background:var(--error)}.row .secondary{flex:none;height:30px;padding:0 12px;border-radius:8px}.folder{margin-top:10px;max-width:100%;padding:6px 10px;border-radius:8px;background:var(--track);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:520px){.row-meta .size{display:none}}</style>
|
|
108
|
+
</head>
|
|
109
|
+
<body>
|
|
110
|
+
<main class="anc" id="root">
|
|
111
|
+
<header class="head">
|
|
112
|
+
<div class="titles">
|
|
113
|
+
<span class="title">Jobs</span>
|
|
114
|
+
<span class="meta" id="meta">Your jobs folder</span>
|
|
115
|
+
</div>
|
|
116
|
+
<span class="status" id="status"><i></i><span>Connecting</span></span>
|
|
117
|
+
</header>
|
|
118
|
+
|
|
119
|
+
<div class="stage scroll">
|
|
120
|
+
<ul class="rows" id="rows" hidden></ul>
|
|
121
|
+
<div class="message" id="message">
|
|
122
|
+
<div class="loading-bar" id="loading-bar"><div></div></div>
|
|
123
|
+
<span class="message-title" id="message-title">Listing jobs…</span>
|
|
124
|
+
<span class="message-body" id="message-body"></span>
|
|
125
|
+
<code class="folder" id="folder" hidden></code>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
|
|
129
|
+
<footer class="foot">
|
|
130
|
+
<div class="actions">
|
|
131
|
+
<span class="foot-note" id="note"></span>
|
|
132
|
+
<button class="secondary" id="refresh" hidden>Refresh</button>
|
|
133
|
+
</div>
|
|
134
|
+
</footer>
|
|
135
|
+
</main>
|
|
136
|
+
</body>
|
|
137
|
+
</html>
|