@mutagent/cli 0.2.324 → 0.2.326
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-build-worker.js +1 -1
- package/dist/bin/cli.js +108 -57
- package/package.json +3 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var tkt=Object.create;var{getPrototypeOf:rkt,defineProperty:Ube,getOwnPropertyNames:nkt}=Object;var kJe=Object.prototype.hasOwnProperty;function ikt(u){return this[u]}var skt,akt,okt=(u,d,S)=>{var A=u!=null&&typeof u==="object";if(A){var W=d?skt??=new WeakMap:akt??=new WeakMap,ae=W.get(u);if(ae)return ae}S=u!=null?tkt(rkt(u)):{};let we=d||!u||!u.__esModule||!kJe.call(u,"default")?Ube(S,"default",{value:u,enumerable:!0}):S;if(u&&typeof u==="object"||typeof u==="function"){for(let nt of nkt(u))if(!kJe.call(we,nt))Ube(we,nt,{get:ikt.bind(u,nt),enumerable:!0})}if(A)W.set(u,we);return we};var Vs=(u,d)=>()=>(d||u((d={exports:{}}).exports,d),d.exports);var ckt=(u)=>u;function lkt(u,d){this[u]=ckt.bind(null,d)}var ukt=(u,d)=>{for(var S in d)Ube(u,S,{get:d[S],enumerable:!0,configurable:!0,set:lkt.bind(d,S)})};var w0=import.meta.require;var NJe=Vs(function(hkt){var AJe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");hkt.encode=function(u){if(0<=u&&u<AJe.length)return AJe[u];throw TypeError("Must be between 0 and 63: "+u)};hkt.decode=function(u){var d=65,S=90,A=97,W=122,ae=48,we=57,nt=43,Tt=47,Jt=26,Ir=52;if(d<=u&&u<=S)return u-d;if(A<=u&&u<=W)return u-A+Jt;if(ae<=u&&u<=we)return u-ae+Ir;if(u==nt)return 62;if(u==Tt)return 63;return-1}});var Vbe=Vs(function(Tkt){var OJe=NJe(),qbe=5,FJe=1<<qbe,LJe=FJe-1,MJe=FJe;function bkt(u){return u<0?(-u<<1)+1:(u<<1)+0}function Skt(u){var d=(u&1)===1,S=u>>1;return d?-S:S}Tkt.encode=function(d){var S="",A,W=bkt(d);do{if(A=W&LJe,W>>>=qbe,W>0)A|=MJe;S+=OJe.encode(A)}while(W>0);return S};Tkt.decode=function(d,S,A){var W=d.length,ae=0,we=0,nt,Tt;do{if(S>=W)throw Error("Expected more digits in base 64 VLQ value.");if(Tt=OJe.decode(d.charCodeAt(S++)),Tt===-1)throw Error("Invalid base64 digit: "+d.charAt(S-1));nt=!!(Tt&MJe),Tt&=LJe,ae=ae+(Tt<<we),we+=qbe}while(nt);A.value=Skt(ae),A.rest=S}});var g5=Vs(function(zJe){function Ckt(u,d,S){if(d in u)return u[d];else if(arguments.length===3)return S;else throw Error('"'+d+'" is a required argument.')}zJe.getArg=Ckt;var RJe=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Ekt=/^data:.+\,.+$/;function MU(u){var d=u.match(RJe);if(!d)return null;return{scheme:d[1],auth:d[2],host:d[3],port:d[4],path:d[5]}}zJe.urlParse=MU;function d5(u){var d="";if(u.scheme)d+=u.scheme+":";if(d+="//",u.auth)d+=u.auth+"@";if(u.host)d+=u.host;if(u.port)d+=":"+u.port;if(u.path)d+=u.path;return d}zJe.urlGenerate=d5;function Gbe(u){var d=u,S=MU(u);if(S){if(!S.path)return u;d=S.path}var A=zJe.isAbsolute(d),W=d.split(/\/+/);for(var ae,we=0,nt=W.length-1;nt>=0;nt--)if(ae=W[nt],ae===".")W.splice(nt,1);else if(ae==="..")we++;else if(we>0)if(ae==="")W.splice(nt+1,we),we=0;else W.splice(nt,2),we--;if(d=W.join("/"),d==="")d=A?"/":".";if(S)return S.path=d,d5(S);return d}zJe.normalize=Gbe;function jJe(u,d){if(u==="")u=".";if(d==="")d=".";var S=MU(d),A=MU(u);if(A)u=A.path||"/";if(S&&!S.scheme){if(A)S.scheme=A.scheme;return d5(S)}if(S||d.match(Ekt))return d;if(A&&!A.host&&!A.path)return A.host=d,d5(A);var W=d.charAt(0)==="/"?d:Gbe(u.replace(/\/+$/,"")+"/"+d);if(A)return A.path=W,d5(A);return W}zJe.join=jJe;zJe.isAbsolute=function(u){return u.charAt(0)==="/"||RJe.test(u)};function wkt(u,d){if(u==="")u=".";u=u.replace(/\/$/,"");var S=0;while(d.indexOf(u+"/")!==0){var A=u.lastIndexOf("/");if(A<0)return d;if(u=u.slice(0,A),u.match(/^([^\/]+:\/)?\/*$/))return d;++S}return Array(S+1).join("../")+d.substr(u.length+1)}zJe.relative=wkt;var BJe=function(){var u=Object.create(null);return!("__proto__"in u)}();function JJe(u){return u}function Pkt(u){if(UJe(u))return"$"+u;return u}zJe.toSetString=BJe?JJe:Pkt;function Dkt(u){if(UJe(u))return u.slice(1);return u}zJe.fromSetString=BJe?JJe:Dkt;function UJe(u){if(!u)return!1;var d=u.length;if(d<9)return!1;if(u.charCodeAt(d-1)!==95||u.charCodeAt(d-2)!==95||u.charCodeAt(d-3)!==111||u.charCodeAt(d-4)!==116||u.charCodeAt(d-5)!==111||u.charCodeAt(d-6)!==114||u.charCodeAt(d-7)!==112||u.charCodeAt(d-8)!==95||u.charCodeAt(d-9)!==95)return!1;for(var S=d-10;S>=0;S--)if(u.charCodeAt(S)!==36)return!1;return!0}function Ikt(u,d,S){var A=m5(u.source,d.source);if(A!==0)return A;if(A=u.originalLine-d.originalLine,A!==0)return A;if(A=u.originalColumn-d.originalColumn,A!==0||S)return A;if(A=u.generatedColumn-d.generatedColumn,A!==0)return A;if(A=u.generatedLine-d.generatedLine,A!==0)return A;return m5(u.name,d.name)}zJe.compareByOriginalPositions=Ikt;function Akt(u,d,S){var A=u.generatedLine-d.generatedLine;if(A!==0)return A;if(A=u.generatedColumn-d.generatedColumn,A!==0||S)return A;if(A=m5(u.source,d.source),A!==0)return A;if(A=u.originalLine-d.originalLine,A!==0)return A;if(A=u.originalColumn-d.originalColumn,A!==0)return A;return m5(u.name,d.name)}zJe.compareByGeneratedPositionsDeflated=Akt;function m5(u,d){if(u===d)return 0;if(u===null)return 1;if(d===null)return-1;if(u>d)return 1;return-1}function Nkt(u,d){var S=u.generatedLine-d.generatedLine;if(S!==0)return S;if(S=u.generatedColumn-d.generatedColumn,S!==0)return S;if(S=m5(u.source,d.source),S!==0)return S;if(S=u.originalLine-d.originalLine,S!==0)return S;if(S=u.originalColumn-d.originalColumn,S!==0)return S;return m5(u.name,d.name)}zJe.compareByGeneratedPositionsInflated=Nkt;function Okt(u){return JSON.parse(u.replace(/^\)]}'[^\n]*\n/,""))}zJe.parseSourceMapInput=Okt;function Fkt(u,d,S){if(d=d||"",u){if(u[u.length-1]!=="/"&&d[0]!=="/")u+="/";d=u+d}if(S){var A=MU(S);if(!A)throw Error("sourceMapURL could not be parsed");if(A.path){var W=A.path.lastIndexOf("/");if(W>=0)A.path=A.path.substring(0,W+1)}d=jJe(d5(A),d)}return Gbe(d)}zJe.computeSourceURL=Fkt});var Kbe=Vs(function(Kkt){var $be=g5(),Hbe=Object.prototype.hasOwnProperty,N4=typeof Map<"u";function Dw(){this._array=[],this._set=N4?new Map:Object.create(null)}Dw.fromArray=function(d,S){var A=new Dw;for(var W=0,ae=d.length;W<ae;W++)A.add(d[W],S);return A};Dw.prototype.size=function(){return N4?this._set.size:Object.getOwnPropertyNames(this._set).length};Dw.prototype.add=function(d,S){var A=N4?d:$be.toSetString(d),W=N4?this.has(d):Hbe.call(this._set,A),ae=this._array.length;if(!W||S)this._array.push(d);if(!W)if(N4)this._set.set(d,ae);else this._set[A]=ae};Dw.prototype.has=function(d){if(N4)return this._set.has(d);else{var S=$be.toSetString(d);return Hbe.call(this._set,S)}};Dw.prototype.indexOf=function(d){if(N4){var S=this._set.get(d);if(S>=0)return S}else{var A=$be.toSetString(d);if(Hbe.call(this._set,A))return this._set[A]}throw Error('"'+d+'" is not in the set.')};Dw.prototype.at=function(d){if(d>=0&&d<this._array.length)return this._array[d];throw Error("No element indexed by "+d)};Dw.prototype.toArray=function(){return this._array.slice()};Kkt.ArraySet=Dw});var qJe=Vs(function(Ykt){var WJe=g5();function Xkt(u,d){var S=u.generatedLine,A=d.generatedLine,W=u.generatedColumn,ae=d.generatedColumn;return A>S||A==S&&ae>=W||WJe.compareByGeneratedPositionsInflated(u,d)<=0}function ete(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}ete.prototype.unsortedForEach=function(d,S){this._array.forEach(d,S)};ete.prototype.add=function(d){if(Xkt(this._last,d))this._last=d,this._array.push(d);else this._sorted=!1,this._array.push(d)};ete.prototype.toArray=function(){if(!this._sorted)this._array.sort(WJe.compareByGeneratedPositionsInflated),this._sorted=!0;return this._array};Ykt.MappingList=ete});var Qbe=Vs(function(tCt){var RU=Vbe(),Sm=g5(),tte=Kbe().ArraySet,eCt=qJe().MappingList;function XS(u){if(!u)u={};this._file=Sm.getArg(u,"file",null),this._sourceRoot=Sm.getArg(u,"sourceRoot",null),this._skipValidation=Sm.getArg(u,"skipValidation",!1),this._sources=new tte,this._names=new tte,this._mappings=new eCt,this._sourcesContents=null}XS.prototype._version=3;XS.fromSourceMap=function(d){var S=d.sourceRoot,A=new XS({file:d.file,sourceRoot:S});return d.eachMapping(function(W){var ae={generated:{line:W.generatedLine,column:W.generatedColumn}};if(W.source!=null){if(ae.source=W.source,S!=null)ae.source=Sm.relative(S,ae.source);if(ae.original={line:W.originalLine,column:W.originalColumn},W.name!=null)ae.name=W.name}A.addMapping(ae)}),d.sources.forEach(function(W){var ae=W;if(S!==null)ae=Sm.relative(S,W);if(!A._sources.has(ae))A._sources.add(ae);var we=d.sourceContentFor(W);if(we!=null)A.setSourceContent(W,we)}),A};XS.prototype.addMapping=function(d){var S=Sm.getArg(d,"generated"),A=Sm.getArg(d,"original",null),W=Sm.getArg(d,"source",null),ae=Sm.getArg(d,"name",null);if(!this._skipValidation)this._validateMapping(S,A,W,ae);if(W!=null){if(W=String(W),!this._sources.has(W))this._sources.add(W)}if(ae!=null){if(ae=String(ae),!this._names.has(ae))this._names.add(ae)}this._mappings.add({generatedLine:S.line,generatedColumn:S.column,originalLine:A!=null&&A.line,originalColumn:A!=null&&A.column,source:W,name:ae})};XS.prototype.setSourceContent=function(d,S){var A=d;if(this._sourceRoot!=null)A=Sm.relative(this._sourceRoot,A);if(S!=null){if(!this._sourcesContents)this._sourcesContents=Object.create(null);this._sourcesContents[Sm.toSetString(A)]=S}else if(this._sourcesContents){if(delete this._sourcesContents[Sm.toSetString(A)],Object.keys(this._sourcesContents).length===0)this._sourcesContents=null}};XS.prototype.applySourceMap=function(d,S,A){var W=S;if(S==null){if(d.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);W=d.file}var ae=this._sourceRoot;if(ae!=null)W=Sm.relative(ae,W);var we=new tte,nt=new tte;this._mappings.unsortedForEach(function(Tt){if(Tt.source===W&&Tt.originalLine!=null){var Jt=d.originalPositionFor({line:Tt.originalLine,column:Tt.originalColumn});if(Jt.source!=null){if(Tt.source=Jt.source,A!=null)Tt.source=Sm.join(A,Tt.source);if(ae!=null)Tt.source=Sm.relative(ae,Tt.source);if(Tt.originalLine=Jt.line,Tt.originalColumn=Jt.column,Jt.name!=null)Tt.name=Jt.name}}var Ir=Tt.source;if(Ir!=null&&!we.has(Ir))we.add(Ir);var Ar=Tt.name;if(Ar!=null&&!nt.has(Ar))nt.add(Ar)},this),this._sources=we,this._names=nt,d.sources.forEach(function(Tt){var Jt=d.sourceContentFor(Tt);if(Jt!=null){if(A!=null)Tt=Sm.join(A,Tt);if(ae!=null)Tt=Sm.relative(ae,Tt);this.setSourceContent(Tt,Jt)}},this)};XS.prototype._validateMapping=function(d,S,A,W){if(S&&typeof S.line!=="number"&&typeof S.column!=="number")throw Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(d&&"line"in d&&"column"in d&&d.line>0&&d.column>=0&&!S&&!A&&!W)return;else if(d&&"line"in d&&"column"in d&&S&&"line"in S&&"column"in S&&d.line>0&&d.column>=0&&S.line>0&&S.column>=0&&A)return;else throw Error("Invalid mapping: "+JSON.stringify({generated:d,source:A,original:S,name:W}))};XS.prototype._serializeMappings=function(){var d=0,S=1,A=0,W=0,ae=0,we=0,nt="",Tt,Jt,Ir,Ar,Ee=this._mappings.toArray();for(var Yn=0,Ut=Ee.length;Yn<Ut;Yn++){if(Jt=Ee[Yn],Tt="",Jt.generatedLine!==S){d=0;while(Jt.generatedLine!==S)Tt+=";",S++}else if(Yn>0){if(!Sm.compareByGeneratedPositionsInflated(Jt,Ee[Yn-1]))continue;Tt+=","}if(Tt+=RU.encode(Jt.generatedColumn-d),d=Jt.generatedColumn,Jt.source!=null){if(Ar=this._sources.indexOf(Jt.source),Tt+=RU.encode(Ar-we),we=Ar,Tt+=RU.encode(Jt.originalLine-1-W),W=Jt.originalLine-1,Tt+=RU.encode(Jt.originalColumn-A),A=Jt.originalColumn,Jt.name!=null)Ir=this._names.indexOf(Jt.name),Tt+=RU.encode(Ir-ae),ae=Ir}nt+=Tt}return nt};XS.prototype._generateSourcesContent=function(d,S){return d.map(function(A){if(!this._sourcesContents)return null;if(S!=null)A=Sm.relative(S,A);var W=Sm.toSetString(A);return Object.prototype.hasOwnProperty.call(this._sourcesContents,W)?this._sourcesContents[W]:null},this)};XS.prototype.toJSON=function(){var d={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null)d.file=this._file;if(this._sourceRoot!=null)d.sourceRoot=this._sourceRoot;if(this._sourcesContents)d.sourcesContent=this._generateSourcesContent(d.sources,d.sourceRoot);return d};XS.prototype.toString=function(){return JSON.stringify(this.toJSON())};tCt.SourceMapGenerator=XS});var GJe=Vs(function(nCt){nCt.GREATEST_LOWER_BOUND=1;nCt.LEAST_UPPER_BOUND=2;function Xbe(u,d,S,A,W,ae){var we=Math.floor((d-u)/2)+u,nt=W(S,A[we],!0);if(nt===0)return we;else if(nt>0){if(d-we>1)return Xbe(we,d,S,A,W,ae);if(ae==nCt.LEAST_UPPER_BOUND)return d<A.length?d:-1;else return we}else{if(we-u>1)return Xbe(u,we,S,A,W,ae);if(ae==nCt.LEAST_UPPER_BOUND)return we;else return u<0?-1:u}}nCt.search=function(d,S,A,W){if(S.length===0)return-1;var ae=Xbe(-1,S.length,d,S,A,W||nCt.GREATEST_LOWER_BOUND);if(ae<0)return-1;while(ae-1>=0){if(A(S[ae],S[ae-1],!0)!==0)break;--ae}return ae}});var $Je=Vs(function(aCt){function Zbe(u,d,S){var A=u[d];u[d]=u[S],u[S]=A}function sCt(u,d){return Math.round(u+Math.random()*(d-u))}function eSe(u,d,S,A){if(S<A){var W=sCt(S,A),ae=S-1;Zbe(u,W,A);var we=u[A];for(var nt=S;nt<A;nt++)if(d(u[nt],we)<=0)ae+=1,Zbe(u,ae,nt);Zbe(u,ae+1,nt);var Tt=ae+1;eSe(u,d,S,Tt-1),eSe(u,d,Tt+1,A)}}aCt.quickSort=function(u,d){eSe(u,d,0,u.length-1)}});var KJe=Vs(function(lCt){var oo=g5(),tSe=GJe(),h5=Kbe().ArraySet,cCt=Vbe(),jU=$Je().quickSort;function up(u,d){var S=u;if(typeof u==="string")S=oo.parseSourceMapInput(u);return S.sections!=null?new FT(S,d):new Ah(S,d)}up.fromSourceMap=function(u,d){return Ah.fromSourceMap(u,d)};up.prototype._version=3;up.prototype.__generatedMappings=null;Object.defineProperty(up.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){if(!this.__generatedMappings)this._parseMappings(this._mappings,this.sourceRoot);return this.__generatedMappings}});up.prototype.__originalMappings=null;Object.defineProperty(up.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){if(!this.__originalMappings)this._parseMappings(this._mappings,this.sourceRoot);return this.__originalMappings}});up.prototype._charIsMappingSeparator=function(d,S){var A=d.charAt(S);return A===";"||A===","};up.prototype._parseMappings=function(d,S){throw Error("Subclasses must implement _parseMappings")};up.GENERATED_ORDER=1;up.ORIGINAL_ORDER=2;up.GREATEST_LOWER_BOUND=1;up.LEAST_UPPER_BOUND=2;up.prototype.eachMapping=function(d,S,A){var W=S||null,ae=A||up.GENERATED_ORDER,we;switch(ae){case up.GENERATED_ORDER:we=this._generatedMappings;break;case up.ORIGINAL_ORDER:we=this._originalMappings;break;default:throw Error("Unknown order of iteration.")}var nt=this.sourceRoot;we.map(function(Tt){var Jt=Tt.source===null?null:this._sources.at(Tt.source);return Jt=oo.computeSourceURL(nt,Jt,this._sourceMapURL),{source:Jt,generatedLine:Tt.generatedLine,generatedColumn:Tt.generatedColumn,originalLine:Tt.originalLine,originalColumn:Tt.originalColumn,name:Tt.name===null?null:this._names.at(Tt.name)}},this).forEach(d,W)};up.prototype.allGeneratedPositionsFor=function(d){var S=oo.getArg(d,"line"),A={source:oo.getArg(d,"source"),originalLine:S,originalColumn:oo.getArg(d,"column",0)};if(A.source=this._findSourceIndex(A.source),A.source<0)return[];var W=[],ae=this._findMapping(A,this._originalMappings,"originalLine","originalColumn",oo.compareByOriginalPositions,tSe.LEAST_UPPER_BOUND);if(ae>=0){var we=this._originalMappings[ae];if(d.column===void 0){var nt=we.originalLine;while(we&&we.originalLine===nt)W.push({line:oo.getArg(we,"generatedLine",null),column:oo.getArg(we,"generatedColumn",null),lastColumn:oo.getArg(we,"lastGeneratedColumn",null)}),we=this._originalMappings[++ae]}else{var Tt=we.originalColumn;while(we&&we.originalLine===S&&we.originalColumn==Tt)W.push({line:oo.getArg(we,"generatedLine",null),column:oo.getArg(we,"generatedColumn",null),lastColumn:oo.getArg(we,"lastGeneratedColumn",null)}),we=this._originalMappings[++ae]}}return W};lCt.SourceMapConsumer=up;function Ah(u,d){var S=u;if(typeof u==="string")S=oo.parseSourceMapInput(u);var A=oo.getArg(S,"version"),W=oo.getArg(S,"sources"),ae=oo.getArg(S,"names",[]),we=oo.getArg(S,"sourceRoot",null),nt=oo.getArg(S,"sourcesContent",null),Tt=oo.getArg(S,"mappings"),Jt=oo.getArg(S,"file",null);if(A!=this._version)throw Error("Unsupported version: "+A);if(we)we=oo.normalize(we);W=W.map(String).map(oo.normalize).map(function(Ir){return we&&oo.isAbsolute(we)&&oo.isAbsolute(Ir)?oo.relative(we,Ir):Ir}),this._names=h5.fromArray(ae.map(String),!0),this._sources=h5.fromArray(W,!0),this._absoluteSources=this._sources.toArray().map(function(Ir){return oo.computeSourceURL(we,Ir,d)}),this.sourceRoot=we,this.sourcesContent=nt,this._mappings=Tt,this._sourceMapURL=d,this.file=Jt}Ah.prototype=Object.create(up.prototype);Ah.prototype.consumer=up;Ah.prototype._findSourceIndex=function(u){var d=u;if(this.sourceRoot!=null)d=oo.relative(this.sourceRoot,d);if(this._sources.has(d))return this._sources.indexOf(d);var S;for(S=0;S<this._absoluteSources.length;++S)if(this._absoluteSources[S]==u)return S;return-1};Ah.fromSourceMap=function(d,S){var A=Object.create(Ah.prototype),W=A._names=h5.fromArray(d._names.toArray(),!0),ae=A._sources=h5.fromArray(d._sources.toArray(),!0);A.sourceRoot=d._sourceRoot,A.sourcesContent=d._generateSourcesContent(A._sources.toArray(),A.sourceRoot),A.file=d._file,A._sourceMapURL=S,A._absoluteSources=A._sources.toArray().map(function(Yn){return oo.computeSourceURL(A.sourceRoot,Yn,S)});var we=d._mappings.toArray().slice(),nt=A.__generatedMappings=[],Tt=A.__originalMappings=[];for(var Jt=0,Ir=we.length;Jt<Ir;Jt++){var Ar=we[Jt],Ee=new HJe;if(Ee.generatedLine=Ar.generatedLine,Ee.generatedColumn=Ar.generatedColumn,Ar.source){if(Ee.source=ae.indexOf(Ar.source),Ee.originalLine=Ar.originalLine,Ee.originalColumn=Ar.originalColumn,Ar.name)Ee.name=W.indexOf(Ar.name);Tt.push(Ee)}nt.push(Ee)}return jU(A.__originalMappings,oo.compareByOriginalPositions),A};Ah.prototype._version=3;Object.defineProperty(Ah.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function HJe(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Ah.prototype._parseMappings=function(d,S){var A=1,W=0,ae=0,we=0,nt=0,Tt=0,Jt=d.length,Ir=0,Ar={},Ee={},Yn=[],Ut=[],ct,ji,Ii,Va,Co;while(Ir<Jt)if(d.charAt(Ir)===";")A++,Ir++,W=0;else if(d.charAt(Ir)===",")Ir++;else{ct=new HJe,ct.generatedLine=A;for(Va=Ir;Va<Jt;Va++)if(this._charIsMappingSeparator(d,Va))break;if(ji=d.slice(Ir,Va),Ii=Ar[ji],Ii)Ir+=ji.length;else{Ii=[];while(Ir<Va)cCt.decode(d,Ir,Ee),Co=Ee.value,Ir=Ee.rest,Ii.push(Co);if(Ii.length===2)throw Error("Found a source, but no line and column");if(Ii.length===3)throw Error("Found a source and line, but no column");Ar[ji]=Ii}if(ct.generatedColumn=W+Ii[0],W=ct.generatedColumn,Ii.length>1){if(ct.source=nt+Ii[1],nt+=Ii[1],ct.originalLine=ae+Ii[2],ae=ct.originalLine,ct.originalLine+=1,ct.originalColumn=we+Ii[3],we=ct.originalColumn,Ii.length>4)ct.name=Tt+Ii[4],Tt+=Ii[4]}if(Ut.push(ct),typeof ct.originalLine==="number")Yn.push(ct)}jU(Ut,oo.compareByGeneratedPositionsDeflated),this.__generatedMappings=Ut,jU(Yn,oo.compareByOriginalPositions),this.__originalMappings=Yn};Ah.prototype._findMapping=function(d,S,A,W,ae,we){if(d[A]<=0)throw TypeError("Line must be greater than or equal to 1, got "+d[A]);if(d[W]<0)throw TypeError("Column must be greater than or equal to 0, got "+d[W]);return tSe.search(d,S,ae,we)};Ah.prototype.computeColumnSpans=function(){for(var d=0;d<this._generatedMappings.length;++d){var S=this._generatedMappings[d];if(d+1<this._generatedMappings.length){var A=this._generatedMappings[d+1];if(S.generatedLine===A.generatedLine){S.lastGeneratedColumn=A.generatedColumn-1;continue}}S.lastGeneratedColumn=1/0}};Ah.prototype.originalPositionFor=function(d){var S={generatedLine:oo.getArg(d,"line"),generatedColumn:oo.getArg(d,"column")},A=this._findMapping(S,this._generatedMappings,"generatedLine","generatedColumn",oo.compareByGeneratedPositionsDeflated,oo.getArg(d,"bias",up.GREATEST_LOWER_BOUND));if(A>=0){var W=this._generatedMappings[A];if(W.generatedLine===S.generatedLine){var ae=oo.getArg(W,"source",null);if(ae!==null)ae=this._sources.at(ae),ae=oo.computeSourceURL(this.sourceRoot,ae,this._sourceMapURL);var we=oo.getArg(W,"name",null);if(we!==null)we=this._names.at(we);return{source:ae,line:oo.getArg(W,"originalLine",null),column:oo.getArg(W,"originalColumn",null),name:we}}}return{source:null,line:null,column:null,name:null}};Ah.prototype.hasContentsOfAllSources=function(){if(!this.sourcesContent)return!1;return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(d){return d==null})};Ah.prototype.sourceContentFor=function(d,S){if(!this.sourcesContent)return null;var A=this._findSourceIndex(d);if(A>=0)return this.sourcesContent[A];var W=d;if(this.sourceRoot!=null)W=oo.relative(this.sourceRoot,W);var ae;if(this.sourceRoot!=null&&(ae=oo.urlParse(this.sourceRoot))){var we=W.replace(/^file:\/\//,"");if(ae.scheme=="file"&&this._sources.has(we))return this.sourcesContent[this._sources.indexOf(we)];if((!ae.path||ae.path=="/")&&this._sources.has("/"+W))return this.sourcesContent[this._sources.indexOf("/"+W)]}if(S)return null;else throw Error('"'+W+'" is not in the SourceMap.')};Ah.prototype.generatedPositionFor=function(d){var S=oo.getArg(d,"source");if(S=this._findSourceIndex(S),S<0)return{line:null,column:null,lastColumn:null};var A={source:S,originalLine:oo.getArg(d,"line"),originalColumn:oo.getArg(d,"column")},W=this._findMapping(A,this._originalMappings,"originalLine","originalColumn",oo.compareByOriginalPositions,oo.getArg(d,"bias",up.GREATEST_LOWER_BOUND));if(W>=0){var ae=this._originalMappings[W];if(ae.source===A.source)return{line:oo.getArg(ae,"generatedLine",null),column:oo.getArg(ae,"generatedColumn",null),lastColumn:oo.getArg(ae,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};lCt.BasicSourceMapConsumer=Ah;function FT(u,d){var S=u;if(typeof u==="string")S=oo.parseSourceMapInput(u);var A=oo.getArg(S,"version"),W=oo.getArg(S,"sections");if(A!=this._version)throw Error("Unsupported version: "+A);this._sources=new h5,this._names=new h5;var ae={line:-1,column:0};this._sections=W.map(function(we){if(we.url)throw Error("Support for url field in sections not implemented.");var nt=oo.getArg(we,"offset"),Tt=oo.getArg(nt,"line"),Jt=oo.getArg(nt,"column");if(Tt<ae.line||Tt===ae.line&&Jt<ae.column)throw Error("Section offsets must be ordered and non-overlapping.");return ae=nt,{generatedOffset:{generatedLine:Tt+1,generatedColumn:Jt+1},consumer:new up(oo.getArg(we,"map"),d)}})}FT.prototype=Object.create(up.prototype);FT.prototype.constructor=up;FT.prototype._version=3;Object.defineProperty(FT.prototype,"sources",{get:function(){var u=[];for(var d=0;d<this._sections.length;d++)for(var S=0;S<this._sections[d].consumer.sources.length;S++)u.push(this._sections[d].consumer.sources[S]);return u}});FT.prototype.originalPositionFor=function(d){var S={generatedLine:oo.getArg(d,"line"),generatedColumn:oo.getArg(d,"column")},A=tSe.search(S,this._sections,function(ae,we){var nt=ae.generatedLine-we.generatedOffset.generatedLine;if(nt)return nt;return ae.generatedColumn-we.generatedOffset.generatedColumn}),W=this._sections[A];if(!W)return{source:null,line:null,column:null,name:null};return W.consumer.originalPositionFor({line:S.generatedLine-(W.generatedOffset.generatedLine-1),column:S.generatedColumn-(W.generatedOffset.generatedLine===S.generatedLine?W.generatedOffset.generatedColumn-1:0),bias:d.bias})};FT.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(d){return d.consumer.hasContentsOfAllSources()})};FT.prototype.sourceContentFor=function(d,S){for(var A=0;A<this._sections.length;A++){var W=this._sections[A],ae=W.consumer.sourceContentFor(d,!0);if(ae)return ae}if(S)return null;else throw Error('"'+d+'" is not in the SourceMap.')};FT.prototype.generatedPositionFor=function(d){for(var S=0;S<this._sections.length;S++){var A=this._sections[S];if(A.consumer._findSourceIndex(oo.getArg(d,"source"))===-1)continue;var W=A.consumer.generatedPositionFor(d);if(W){var ae={line:W.line+(A.generatedOffset.generatedLine-1),column:W.column+(A.generatedOffset.generatedLine===W.line?A.generatedOffset.generatedColumn-1:0)};return ae}}return{line:null,column:null}};FT.prototype._parseMappings=function(d,S){this.__generatedMappings=[],this.__originalMappings=[];for(var A=0;A<this._sections.length;A++){var W=this._sections[A],ae=W.consumer._generatedMappings;for(var we=0;we<ae.length;we++){var nt=ae[we],Tt=W.consumer._sources.at(nt.source);Tt=oo.computeSourceURL(W.consumer.sourceRoot,Tt,this._sourceMapURL),this._sources.add(Tt),Tt=this._sources.indexOf(Tt);var Jt=null;if(nt.name)Jt=W.consumer._names.at(nt.name),this._names.add(Jt),Jt=this._names.indexOf(Jt);var Ir={source:Tt,generatedLine:nt.generatedLine+(W.generatedOffset.generatedLine-1),generatedColumn:nt.generatedColumn+(W.generatedOffset.generatedLine===nt.generatedLine?W.generatedOffset.generatedColumn-1:0),originalLine:nt.originalLine,originalColumn:nt.originalColumn,name:Jt};if(this.__generatedMappings.push(Ir),typeof Ir.originalLine==="number")this.__originalMappings.push(Ir)}}jU(this.__generatedMappings,oo.compareByGeneratedPositionsDeflated),jU(this.__originalMappings,oo.compareByOriginalPositions)};lCt.IndexedSourceMapConsumer=FT});var QJe=Vs(function(gCt){var pCt=Qbe().SourceMapGenerator,rte=g5(),dCt=/(\r?\n)/,mCt=10,y5="$$$isSourceNode$$$";function lb(u,d,S,A,W){if(this.children=[],this.sourceContents={},this.line=u==null?null:u,this.column=d==null?null:d,this.source=S==null?null:S,this.name=W==null?null:W,this[y5]=!0,A!=null)this.add(A)}lb.fromStringWithSourceMap=function(d,S,A){var W=new lb,ae=d.split(dCt),we=0,nt=function(){var Ee=Ut(),Yn=Ut()||"";return Ee+Yn;function Ut(){return we<ae.length?ae[we++]:void 0}},Tt=1,Jt=0,Ir=null;if(S.eachMapping(function(Ee){if(Ir!==null)if(Tt<Ee.generatedLine)Ar(Ir,nt()),Tt++,Jt=0;else{var Yn=ae[we]||"",Ut=Yn.substr(0,Ee.generatedColumn-Jt);ae[we]=Yn.substr(Ee.generatedColumn-Jt),Jt=Ee.generatedColumn,Ar(Ir,Ut),Ir=Ee;return}while(Tt<Ee.generatedLine)W.add(nt()),Tt++;if(Jt<Ee.generatedColumn){var Yn=ae[we]||"";W.add(Yn.substr(0,Ee.generatedColumn)),ae[we]=Yn.substr(Ee.generatedColumn),Jt=Ee.generatedColumn}Ir=Ee},this),we<ae.length){if(Ir)Ar(Ir,nt());W.add(ae.splice(we).join(""))}return S.sources.forEach(function(Ee){var Yn=S.sourceContentFor(Ee);if(Yn!=null){if(A!=null)Ee=rte.join(A,Ee);W.setSourceContent(Ee,Yn)}}),W;function Ar(Ee,Yn){if(Ee===null||Ee.source===void 0)W.add(Yn);else{var Ut=A?rte.join(A,Ee.source):Ee.source;W.add(new lb(Ee.originalLine,Ee.originalColumn,Ut,Yn,Ee.name))}}};lb.prototype.add=function(d){if(Array.isArray(d))d.forEach(function(S){this.add(S)},this);else if(d[y5]||typeof d==="string"){if(d)this.children.push(d)}else throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+d);return this};lb.prototype.prepend=function(d){if(Array.isArray(d))for(var S=d.length-1;S>=0;S--)this.prepend(d[S]);else if(d[y5]||typeof d==="string")this.children.unshift(d);else throw TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+d);return this};lb.prototype.walk=function(d){var S;for(var A=0,W=this.children.length;A<W;A++)if(S=this.children[A],S[y5])S.walk(d);else if(S!=="")d(S,{source:this.source,line:this.line,column:this.column,name:this.name})};lb.prototype.join=function(d){var S,A,W=this.children.length;if(W>0){S=[];for(A=0;A<W-1;A++)S.push(this.children[A]),S.push(d);S.push(this.children[A]),this.children=S}return this};lb.prototype.replaceRight=function(d,S){var A=this.children[this.children.length-1];if(A[y5])A.replaceRight(d,S);else if(typeof A==="string")this.children[this.children.length-1]=A.replace(d,S);else this.children.push("".replace(d,S));return this};lb.prototype.setSourceContent=function(d,S){this.sourceContents[rte.toSetString(d)]=S};lb.prototype.walkSourceContents=function(d){for(var S=0,A=this.children.length;S<A;S++)if(this.children[S][y5])this.children[S].walkSourceContents(d);var W=Object.keys(this.sourceContents);for(var S=0,A=W.length;S<A;S++)d(rte.fromSetString(W[S]),this.sourceContents[W[S]])};lb.prototype.toString=function(){var d="";return this.walk(function(S){d+=S}),d};lb.prototype.toStringWithSourceMap=function(d){var S={code:"",line:1,column:0},A=new pCt(d),W=!1,ae=null,we=null,nt=null,Tt=null;return this.walk(function(Jt,Ir){if(S.code+=Jt,Ir.source!==null&&Ir.line!==null&&Ir.column!==null){if(ae!==Ir.source||we!==Ir.line||nt!==Ir.column||Tt!==Ir.name)A.addMapping({source:Ir.source,original:{line:Ir.line,column:Ir.column},generated:{line:S.line,column:S.column},name:Ir.name});ae=Ir.source,we=Ir.line,nt=Ir.column,Tt=Ir.name,W=!0}else if(W)A.addMapping({generated:{line:S.line,column:S.column}}),ae=null,W=!1;for(var Ar=0,Ee=Jt.length;Ar<Ee;Ar++)if(Jt.charCodeAt(Ar)===mCt){if(S.line++,S.column=0,Ar+1===Ee)ae=null,W=!1;else if(W)A.addMapping({source:Ir.source,original:{line:Ir.line,column:Ir.column},generated:{line:S.line,column:S.column},name:Ir.name})}else S.column++}),this.walkSourceContents(function(Jt,Ir){A.setSourceContent(Jt,Ir)}),{code:S.code,map:A}};gCt.SourceNode=lb});var XJe=Vs(function(yCt){yCt.SourceMapGenerator=Qbe().SourceMapGenerator;yCt.SourceMapConsumer=KJe().SourceMapConsumer;yCt.SourceNode=QJe().SourceNode});var ZJe=Vs(function(fLt,YJe){var TCt=Object.prototype.toString,rSe=typeof Buffer<"u"&&typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function xCt(u){return TCt.call(u).slice(8,-1)==="ArrayBuffer"}function kCt(u,d,S){d>>>=0;var A=u.byteLength-d;if(A<0)throw RangeError("'offset' is out of bounds");if(S===void 0)S=A;else if(S>>>=0,S>A)throw RangeError("'length' is out of bounds");return rSe?Buffer.from(u.slice(d,d+S)):new Buffer(new Uint8Array(u.slice(d,d+S)))}function CCt(u,d){if(typeof d!=="string"||d==="")d="utf8";if(!Buffer.isEncoding(d))throw TypeError('"encoding" must be a valid string encoding');return rSe?Buffer.from(u,d):new Buffer(u,d)}function ECt(u,d,S){if(typeof u==="number")throw TypeError('"value" argument must not be a number');if(xCt(u))return kCt(u,d,S);if(typeof u==="string")return CCt(u,d);return rSe?Buffer.from(u):new Buffer(u)}YJe.exports=ECt});var oUe=Vs(function(pLt,aSe){var wCt=XJe().SourceMapConsumer,nSe=w0("path"),Qk;try{if(Qk=w0("fs"),!Qk.existsSync||!Qk.readFileSync)Qk=null}catch(u){}var PCt=ZJe();function eUe(u,d){return u.require(d)}var tUe=!1,rUe=!1,iSe=!1,BU="auto",O4={},JU={},DCt=/^data:application\/json[^,]+base64,/,vI=[],bI=[];function oSe(){if(BU==="browser")return!0;if(BU==="node")return!1;return typeof window<"u"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function ICt(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function ACt(){if(typeof process==="object"&&process!==null)return process.version;else return""}function NCt(){if(typeof process==="object"&&process!==null)return process.stderr}function OCt(u){if(typeof process==="object"&&process!==null&&typeof process.exit==="function")return process.exit(u)}function nte(u){return function(d){for(var S=0;S<u.length;S++){var A=u[S](d);if(A)return A}return null}}var cSe=nte(vI);vI.push(function(u){if(u=u.trim(),/^file:/.test(u))u=u.replace(/file:\/\/\/(\w:)?/,function(A,W){return W?"":"/"});if(u in O4)return O4[u];var d="";try{if(!Qk){var S=new XMLHttpRequest;if(S.open("GET",u,!1),S.send(null),S.readyState===4&&S.status===200)d=S.responseText}else if(Qk.existsSync(u))d=Qk.readFileSync(u,"utf8")}catch(A){}return O4[u]=d});function sSe(u,d){if(!u)return d;var S=nSe.dirname(u),A=/^\w+:\/\/[^\/]*/.exec(S),W=A?A[0]:"",ae=S.slice(W.length);if(W&&/^\/\w\:/.test(ae))return W+="/",W+nSe.resolve(S.slice(W.length),d).replace(/\\/g,"/");return W+nSe.resolve(S.slice(W.length),d)}function FCt(u){var d;if(oSe())try{var S=new XMLHttpRequest;S.open("GET",u,!1),S.send(null),d=S.readyState===4?S.responseText:null;var A=S.getResponseHeader("SourceMap")||S.getResponseHeader("X-SourceMap");if(A)return A}catch(nt){}d=cSe(u);var W=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,ae,we;while(we=W.exec(d))ae=we;if(!ae)return null;return ae[1]}var lSe=nte(bI);bI.push(function(u){var d=FCt(u);if(!d)return null;var S;if(DCt.test(d)){var A=d.slice(d.indexOf(",")+1);S=PCt(A,"base64").toString(),d=u}else d=sSe(u,d),S=cSe(d);if(!S)return null;return{url:d,map:S}});function uSe(u){var d=JU[u.source];if(!d){var S=lSe(u.source);if(S){if(d=JU[u.source]={url:S.url,map:new wCt(S.map)},d.map.sourcesContent)d.map.sources.forEach(function(W,ae){var we=d.map.sourcesContent[ae];if(we){var nt=sSe(d.url,W);O4[nt]=we}})}else d=JU[u.source]={url:null,map:null}}if(d&&d.map&&typeof d.map.originalPositionFor==="function"){var A=d.map.originalPositionFor(u);if(A.source!==null)return A.source=sSe(d.url,A.source),A}return u}function iUe(u){var d=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(u);if(d){var S=uSe({source:d[2],line:+d[3],column:d[4]-1});return"eval at "+d[1]+" ("+S.source+":"+S.line+":"+(S.column+1)+")"}if(d=/^eval at ([^(]+) \((.+)\)$/.exec(u),d)return"eval at "+d[1]+" ("+iUe(d[2])+")";return u}function LCt(){var u,d="";if(this.isNative())d="native";else{if(u=this.getScriptNameOrSourceURL(),!u&&this.isEval())d=this.getEvalOrigin(),d+=", ";if(u)d+=u;else d+="<anonymous>";var S=this.getLineNumber();if(S!=null){d+=":"+S;var A=this.getColumnNumber();if(A)d+=":"+A}}var W="",ae=this.getFunctionName(),we=!0,nt=this.isConstructor(),Tt=!(this.isToplevel()||nt);if(Tt){var Jt=this.getTypeName();if(Jt==="[object Object]")Jt="null";var Ir=this.getMethodName();if(ae){if(Jt&&ae.indexOf(Jt)!=0)W+=Jt+".";if(W+=ae,Ir&&ae.indexOf("."+Ir)!=ae.length-Ir.length-1)W+=" [as "+Ir+"]"}else W+=Jt+"."+(Ir||"<anonymous>")}else if(nt)W+="new "+(ae||"<anonymous>");else if(ae)W+=ae;else W+=d,we=!1;if(we)W+=" ("+d+")";return W}function nUe(u){var d={};return Object.getOwnPropertyNames(Object.getPrototypeOf(u)).forEach(function(S){d[S]=/^(?:is|get)/.test(S)?function(){return u[S].call(u)}:u[S]}),d.toString=LCt,d}function sUe(u,d){if(d===void 0)d={nextPosition:null,curPosition:null};if(u.isNative())return d.curPosition=null,u;var S=u.getFileName()||u.getScriptNameOrSourceURL();if(S){var A=u.getLineNumber(),W=u.getColumnNumber()-1,ae=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/,we=ae.test(ACt())?0:62;if(A===1&&W>we&&!oSe()&&!u.isEval())W-=we;var nt=uSe({source:S,line:A,column:W});d.curPosition=nt,u=nUe(u);var Tt=u.getFunctionName;return u.getFunctionName=function(){if(d.nextPosition==null)return Tt();return d.nextPosition.name||Tt()},u.getFileName=function(){return nt.source},u.getLineNumber=function(){return nt.line},u.getColumnNumber=function(){return nt.column+1},u.getScriptNameOrSourceURL=function(){return nt.source},u}var Jt=u.isEval()&&u.getEvalOrigin();if(Jt)return Jt=iUe(Jt),u=nUe(u),u.getEvalOrigin=function(){return Jt},u;return u}function MCt(u,d){if(iSe)O4={},JU={};var S=u.name||"Error",A=u.message||"",W=S+": "+A,ae={nextPosition:null,curPosition:null},we=[];for(var nt=d.length-1;nt>=0;nt--)we.push(`
|
|
3
3
|
at `+sUe(d[nt],ae)),ae.nextPosition=ae.curPosition;return ae.curPosition=ae.nextPosition=null,W+we.reverse().join("")}function aUe(u){var d=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(u.stack);if(d){var S=d[1],A=+d[2],W=+d[3],ae=O4[S];if(!ae&&Qk&&Qk.existsSync(S))try{ae=Qk.readFileSync(S,"utf8")}catch(nt){ae=""}if(ae){var we=ae.split(/(?:\r\n|\r|\n)/)[A-1];if(we)return S+":"+A+`
|
|
4
4
|
`+we+`
|
|
5
|
-
`+Array(W).join(" ")+"^"}}return null}function RCt(u){var d=aUe(u),S=NCt();if(S&&S._handle&&S._handle.setBlocking)S._handle.setBlocking(!0);if(d)console.error(),console.error(d);console.error(u.stack),OCt(1)}function jCt(){var u=process.emit;process.emit=function(d){if(d==="uncaughtException"){var S=arguments[1]&&arguments[1].stack,A=this.listeners(d).length>0;if(S&&!A)return RCt(arguments[1])}return u.apply(this,arguments)}}var BCt=vI.slice(0),JCt=bI.slice(0);pLt.wrapCallSite=sUe;pLt.getErrorSource=aUe;pLt.mapSourcePosition=uSe;pLt.retrieveSourceMap=lSe;pLt.install=function(u){if(u=u||{},u.environment){if(BU=u.environment,["node","browser","auto"].indexOf(BU)===-1)throw Error("environment "+BU+" was unknown. Available options are {auto, browser, node}")}if(u.retrieveFile){if(u.overrideRetrieveFile)vI.length=0;vI.unshift(u.retrieveFile)}if(u.retrieveSourceMap){if(u.overrideRetrieveSourceMap)bI.length=0;bI.unshift(u.retrieveSourceMap)}if(u.hookRequire&&!oSe()){var d=eUe(aSe,"module"),S=d.prototype._compile;if(!S.__sourceMapSupport)d.prototype._compile=function(ae,we){return O4[we]=ae,JU[we]=void 0,S.call(this,ae,we)},d.prototype._compile.__sourceMapSupport=!0}if(!iSe)iSe="emptyCacheBetweenOperations"in u?u.emptyCacheBetweenOperations:!1;if(!tUe)tUe=!0,Error.prepareStackTrace=MCt;if(!rUe){var A="handleUncaughtExceptions"in u?u.handleUncaughtExceptions:!0;try{var W=eUe(aSe,"worker_threads");if(W.isMainThread===!1)A=!1}catch(ae){}if(A&&ICt())rUe=!0,jCt()}};pLt.resetRetrieveHandlers=function(){vI.length=0,bI.length=0,vI=BCt.slice(0),bI=JCt.slice(0),lSe=nte(bI),cSe=nte(vI)}});var lUe=Vs(function(dLt,ite){var __dirname="/mtg/runner/mtg-
|
|
5
|
+
`+Array(W).join(" ")+"^"}}return null}function RCt(u){var d=aUe(u),S=NCt();if(S&&S._handle&&S._handle.setBlocking)S._handle.setBlocking(!0);if(d)console.error(),console.error(d);console.error(u.stack),OCt(1)}function jCt(){var u=process.emit;process.emit=function(d){if(d==="uncaughtException"){var S=arguments[1]&&arguments[1].stack,A=this.listeners(d).length>0;if(S&&!A)return RCt(arguments[1])}return u.apply(this,arguments)}}var BCt=vI.slice(0),JCt=bI.slice(0);pLt.wrapCallSite=sUe;pLt.getErrorSource=aUe;pLt.mapSourcePosition=uSe;pLt.retrieveSourceMap=lSe;pLt.install=function(u){if(u=u||{},u.environment){if(BU=u.environment,["node","browser","auto"].indexOf(BU)===-1)throw Error("environment "+BU+" was unknown. Available options are {auto, browser, node}")}if(u.retrieveFile){if(u.overrideRetrieveFile)vI.length=0;vI.unshift(u.retrieveFile)}if(u.retrieveSourceMap){if(u.overrideRetrieveSourceMap)bI.length=0;bI.unshift(u.retrieveSourceMap)}if(u.hookRequire&&!oSe()){var d=eUe(aSe,"module"),S=d.prototype._compile;if(!S.__sourceMapSupport)d.prototype._compile=function(ae,we){return O4[we]=ae,JU[we]=void 0,S.call(this,ae,we)},d.prototype._compile.__sourceMapSupport=!0}if(!iSe)iSe="emptyCacheBetweenOperations"in u?u.emptyCacheBetweenOperations:!1;if(!tUe)tUe=!0,Error.prepareStackTrace=MCt;if(!rUe){var A="handleUncaughtExceptions"in u?u.handleUncaughtExceptions:!0;try{var W=eUe(aSe,"worker_threads");if(W.isMainThread===!1)A=!1}catch(ae){}if(A&&ICt())rUe=!0,jCt()}};pLt.resetRetrieveHandlers=function(){vI.length=0,bI.length=0,vI=BCt.slice(0),bI=JCt.slice(0),lSe=nte(bI),cSe=nte(vI)}});var lUe=Vs(function(dLt,ite){var __dirname="/mtg/runner/mtg-328570ad6b/_work/mutagent-monorepo/mutagent-monorepo/node_modules/typescript/lib",__filename="/mtg/runner/mtg-328570ad6b/_work/mutagent-monorepo/mutagent-monorepo/node_modules/typescript/lib/typescript.js";/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
8
8
|
this file except in compliance with the License. You may obtain a copy of the
|
package/dist/bin/cli.js
CHANGED
|
@@ -20617,7 +20617,7 @@ var PROVIDER_CATALOG = [
|
|
|
20617
20617
|
modelPolicy: {
|
|
20618
20618
|
mode: "floor",
|
|
20619
20619
|
floor: "5.5",
|
|
20620
|
-
knownMembers: ["gpt-6-astra", "gpt-6.1-sol", "gpt-6-luna"],
|
|
20620
|
+
knownMembers: ["gpt-6-astra", "gpt-6.2-astra", "gpt-6.2-sol", "gpt-6.1-sol", "gpt-6-luna"],
|
|
20621
20621
|
summary: "GPT models at or above 5.5. FR-CORE-008 states the floor and then enumerates the members current at writing; the floor is the rule, the enumeration is the snapshot."
|
|
20622
20622
|
},
|
|
20623
20623
|
description: "GPT models served directly by OpenAI."
|
|
@@ -20639,7 +20639,7 @@ var PROVIDER_CATALOG = [
|
|
|
20639
20639
|
modelPolicy: {
|
|
20640
20640
|
mode: "floor",
|
|
20641
20641
|
floor: "5.5",
|
|
20642
|
-
knownMembers: ["gpt-6.1-sol", "gpt-6-astra", "gpt-6-luna"],
|
|
20642
|
+
knownMembers: ["gpt-6.1-sol", "gpt-6.2-sol", "gpt-6.2-astra", "gpt-6-astra", "gpt-6-luna"],
|
|
20643
20643
|
summary: "The GPT models a ChatGPT Plus/Pro subscription serves through Codex, at or above 5.5."
|
|
20644
20644
|
},
|
|
20645
20645
|
description: "GPT models through a ChatGPT/Codex subscription (OAuth login, no API key)."
|
|
@@ -20973,7 +20973,58 @@ function getCredentialField(entry, name) {
|
|
|
20973
20973
|
// src/lib/subscriptions/openai-codex.ts
|
|
20974
20974
|
init_errors();
|
|
20975
20975
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "fs";
|
|
20976
|
-
import {
|
|
20976
|
+
import { resolve as resolve7 } from "path";
|
|
20977
|
+
|
|
20978
|
+
// src/lib/subscriptions/local-source.ts
|
|
20979
|
+
init_errors();
|
|
20980
|
+
import { constants as constants3 } from "node:fs";
|
|
20981
|
+
import { lstat as lstat2, open as open2, realpath as realpath3 } from "node:fs/promises";
|
|
20982
|
+
import { join as join13, resolve as resolve6 } from "node:path";
|
|
20983
|
+
var MAX_SELECTED_AUTH_BYTES = 1024 * 1024;
|
|
20984
|
+
function defaultSubscriptionAuthPaths(home, env) {
|
|
20985
|
+
return [
|
|
20986
|
+
join13(home, ".architech", "agent", "auth.json"),
|
|
20987
|
+
join13(env.HELIX_CODING_AGENT_DIR ?? join13(home, ".mutagent", "agent"), "auth.json"),
|
|
20988
|
+
join13(home, ".codex", "auth.json")
|
|
20989
|
+
];
|
|
20990
|
+
}
|
|
20991
|
+
function invalidLocalLogin() {
|
|
20992
|
+
return new MutagentError("LOCAL_LOGIN_INVALID", "The selected native auth file is unavailable, unsafe or invalid.", "Select a regular native auth file for the intended channel; symlinks and oversized files are refused");
|
|
20993
|
+
}
|
|
20994
|
+
async function readSelectedSubscriptionAuth(path) {
|
|
20995
|
+
try {
|
|
20996
|
+
const selected = resolve6(path);
|
|
20997
|
+
if (await realpath3(selected) !== selected)
|
|
20998
|
+
throw invalidLocalLogin();
|
|
20999
|
+
const before = await lstat2(selected);
|
|
21000
|
+
if (!before.isFile() || before.size > MAX_SELECTED_AUTH_BYTES)
|
|
21001
|
+
throw invalidLocalLogin();
|
|
21002
|
+
const file = await open2(selected, constants3.O_RDONLY | constants3.O_NOFOLLOW | constants3.O_NONBLOCK);
|
|
21003
|
+
try {
|
|
21004
|
+
const opened = await file.stat();
|
|
21005
|
+
if (!opened.isFile() || opened.ino !== before.ino || opened.dev !== before.dev || opened.size > MAX_SELECTED_AUTH_BYTES)
|
|
21006
|
+
throw invalidLocalLogin();
|
|
21007
|
+
const buffer = Buffer.alloc(MAX_SELECTED_AUTH_BYTES + 1);
|
|
21008
|
+
let total = 0;
|
|
21009
|
+
while (total < buffer.length) {
|
|
21010
|
+
const { bytesRead } = await file.read(buffer, total, buffer.length - total, total);
|
|
21011
|
+
if (bytesRead === 0)
|
|
21012
|
+
break;
|
|
21013
|
+
total += bytesRead;
|
|
21014
|
+
}
|
|
21015
|
+
const after = await file.stat();
|
|
21016
|
+
if (total > MAX_SELECTED_AUTH_BYTES || after.size !== opened.size || after.mtimeMs !== opened.mtimeMs)
|
|
21017
|
+
throw invalidLocalLogin();
|
|
21018
|
+
return buffer.subarray(0, total).toString("utf8");
|
|
21019
|
+
} finally {
|
|
21020
|
+
await file.close();
|
|
21021
|
+
}
|
|
21022
|
+
} catch {
|
|
21023
|
+
throw invalidLocalLogin();
|
|
21024
|
+
}
|
|
21025
|
+
}
|
|
21026
|
+
|
|
21027
|
+
// src/lib/subscriptions/openai-codex.ts
|
|
20977
21028
|
var CLIENT_ID = "app_EMoamEEZ73f0CkXaXp7hrann";
|
|
20978
21029
|
var AUTH_BASE = "https://auth.openai.com";
|
|
20979
21030
|
var CODEX_DEVICE_USER_CODE_URL = `${AUTH_BASE}/api/accounts/deviceauth/usercode`;
|
|
@@ -21128,10 +21179,7 @@ function parseLocalCodexAuth(text) {
|
|
|
21128
21179
|
return fromPiAuth(record) ?? fromCodexAuth(record);
|
|
21129
21180
|
}
|
|
21130
21181
|
function readLocal(options) {
|
|
21131
|
-
const candidates = options.path ? [
|
|
21132
|
-
join13(options.env.HELIX_CODING_AGENT_DIR ?? join13(options.home, ".mutagent", "agent"), "auth.json"),
|
|
21133
|
-
join13(options.home, ".codex", "auth.json")
|
|
21134
|
-
];
|
|
21182
|
+
const candidates = options.path ? [resolve7(options.path)] : defaultSubscriptionAuthPaths(options.home, options.env);
|
|
21135
21183
|
for (const path of candidates) {
|
|
21136
21184
|
if (!existsSync7(path))
|
|
21137
21185
|
continue;
|
|
@@ -21200,6 +21248,36 @@ init_known_secrets();
|
|
|
21200
21248
|
function unavailable() {
|
|
21201
21249
|
return new MutagentError("SUBSCRIPTION_CAPABILITY_UNAVAILABLE", "Subscription acquisition is not authorized for this provider, destination and workspace, or the server lacks the capability contract.", "Select the intended workspace and an approved HTTPS platform endpoint; ask the operator to verify server capability and write permission before retrying");
|
|
21202
21250
|
}
|
|
21251
|
+
var REFUSALS = {
|
|
21252
|
+
SUBSCRIPTION_WRITE_FORBIDDEN: {
|
|
21253
|
+
message: "Your workspace role or API key can't add LLM providers in this workspace.",
|
|
21254
|
+
suggestion: "Ask a workspace admin to add the subscription, or to give you the admin role. If you are already an admin, either your API key is restricted (run mutagent login for a full-access key) or this server predates the fix for login keys: ask the platform operator to update it, then retry"
|
|
21255
|
+
},
|
|
21256
|
+
SUBSCRIPTION_WORKSPACE_REQUIRED: {
|
|
21257
|
+
message: "The server found no verified workspace for this request.",
|
|
21258
|
+
suggestion: "Select a workspace you belong to: run mutagent workspaces list, then mutagent workspaces use <name>"
|
|
21259
|
+
},
|
|
21260
|
+
SUBSCRIPTION_UNAVAILABLE: {
|
|
21261
|
+
message: "This subscription is not enabled on this server.",
|
|
21262
|
+
suggestion: "Ask the platform operator to enable it, or add another LLM provider: mutagent providers add --help"
|
|
21263
|
+
}
|
|
21264
|
+
};
|
|
21265
|
+
|
|
21266
|
+
class SubscriptionRefusedError extends MutagentError {
|
|
21267
|
+
refusalReason;
|
|
21268
|
+
constructor(refusalReason, refusal) {
|
|
21269
|
+
super("SUBSCRIPTION_CAPABILITY_UNAVAILABLE", refusal.message, refusal.suggestion);
|
|
21270
|
+
this.refusalReason = refusalReason;
|
|
21271
|
+
}
|
|
21272
|
+
toJSON() {
|
|
21273
|
+
return { ...super.toJSON(), refusalReason: this.refusalReason };
|
|
21274
|
+
}
|
|
21275
|
+
}
|
|
21276
|
+
function refused(result) {
|
|
21277
|
+
const reason = result.refusalReason;
|
|
21278
|
+
const refusal = typeof reason === "string" && Object.hasOwn(REFUSALS, reason) ? REFUSALS[reason] : undefined;
|
|
21279
|
+
return typeof reason === "string" && refusal ? new SubscriptionRefusedError(reason, refusal) : unavailable();
|
|
21280
|
+
}
|
|
21203
21281
|
function validTarget(connection) {
|
|
21204
21282
|
if (!connection.workspaceId || connection.credential !== "api-key")
|
|
21205
21283
|
return false;
|
|
@@ -21232,6 +21310,8 @@ function subscriptionApi(connection) {
|
|
|
21232
21310
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
21233
21311
|
throw unavailable();
|
|
21234
21312
|
const result = value;
|
|
21313
|
+
if (result.version === 1 && result.provider === provider && result.workspaceId === target.workspaceId && (action ? result.canReplace !== true : result.canCreate !== true))
|
|
21314
|
+
throw refused(result);
|
|
21235
21315
|
if (result.version !== 1 || result.provider !== provider || result.workspaceId !== target.workspaceId || (action ? result.canReplace !== true : result.canCreate !== true) || !Array.isArray(result.acquisitionModes) || !result.acquisitionModes.includes(mode) || action && (!Array.isArray(result.mutationModes) || !result.mutationModes.includes(action)) || typeof result.permittedUsers !== "string" || !result.permittedUsers || result.permittedUsers.length > 1000 || !validTarget(connection) || connection.workspaceId !== target.workspaceId || connection.endpoint !== target.endpoint)
|
|
21236
21316
|
throw unavailable();
|
|
21237
21317
|
return { ...target, permittedUsers: result.permittedUsers };
|
|
@@ -21289,48 +21369,6 @@ async function connectSubscriptionReplacementApi() {
|
|
|
21289
21369
|
return subscriptionApi(await connectPlatform());
|
|
21290
21370
|
}
|
|
21291
21371
|
|
|
21292
|
-
// src/lib/subscriptions/local-source.ts
|
|
21293
|
-
init_errors();
|
|
21294
|
-
import { constants as constants3 } from "node:fs";
|
|
21295
|
-
import { lstat as lstat2, open as open2, realpath as realpath3 } from "node:fs/promises";
|
|
21296
|
-
import { resolve as resolve7 } from "node:path";
|
|
21297
|
-
var MAX_SELECTED_AUTH_BYTES = 1024 * 1024;
|
|
21298
|
-
function invalidLocalLogin() {
|
|
21299
|
-
return new MutagentError("LOCAL_LOGIN_INVALID", "The selected native auth file is unavailable, unsafe or invalid.", "Select a regular native auth file for the intended channel; symlinks and oversized files are refused");
|
|
21300
|
-
}
|
|
21301
|
-
async function readSelectedSubscriptionAuth(path) {
|
|
21302
|
-
try {
|
|
21303
|
-
const selected = resolve7(path);
|
|
21304
|
-
if (await realpath3(selected) !== selected)
|
|
21305
|
-
throw invalidLocalLogin();
|
|
21306
|
-
const before = await lstat2(selected);
|
|
21307
|
-
if (!before.isFile() || before.size > MAX_SELECTED_AUTH_BYTES)
|
|
21308
|
-
throw invalidLocalLogin();
|
|
21309
|
-
const file = await open2(selected, constants3.O_RDONLY | constants3.O_NOFOLLOW | constants3.O_NONBLOCK);
|
|
21310
|
-
try {
|
|
21311
|
-
const opened = await file.stat();
|
|
21312
|
-
if (!opened.isFile() || opened.ino !== before.ino || opened.dev !== before.dev || opened.size > MAX_SELECTED_AUTH_BYTES)
|
|
21313
|
-
throw invalidLocalLogin();
|
|
21314
|
-
const buffer = Buffer.alloc(MAX_SELECTED_AUTH_BYTES + 1);
|
|
21315
|
-
let total = 0;
|
|
21316
|
-
while (total < buffer.length) {
|
|
21317
|
-
const { bytesRead } = await file.read(buffer, total, buffer.length - total, total);
|
|
21318
|
-
if (bytesRead === 0)
|
|
21319
|
-
break;
|
|
21320
|
-
total += bytesRead;
|
|
21321
|
-
}
|
|
21322
|
-
const after = await file.stat();
|
|
21323
|
-
if (total > MAX_SELECTED_AUTH_BYTES || after.size !== opened.size || after.mtimeMs !== opened.mtimeMs)
|
|
21324
|
-
throw invalidLocalLogin();
|
|
21325
|
-
return buffer.subarray(0, total).toString("utf8");
|
|
21326
|
-
} finally {
|
|
21327
|
-
await file.close();
|
|
21328
|
-
}
|
|
21329
|
-
} catch {
|
|
21330
|
-
throw invalidLocalLogin();
|
|
21331
|
-
}
|
|
21332
|
-
}
|
|
21333
|
-
|
|
21334
21372
|
// src/lib/subscriptions/claude-import.ts
|
|
21335
21373
|
init_errors();
|
|
21336
21374
|
init_known_secrets();
|
|
@@ -21338,14 +21376,15 @@ async function importClaudeCode(options, deps) {
|
|
|
21338
21376
|
if (options.oauth === true) {
|
|
21339
21377
|
throw new MutagentError("OAUTH_UNSUPPORTED", "Claude Code fresh OAuth is not supported here.", "Use an explicitly selected native auth file only after transfer authorization");
|
|
21340
21378
|
}
|
|
21341
|
-
|
|
21342
|
-
|
|
21379
|
+
const selected = typeof options.fromLocal === "string" ? options.fromLocal : undefined;
|
|
21380
|
+
if (options.fromLocal !== true && !selected?.trim()) {
|
|
21381
|
+
throw new MutagentError("LOCAL_SOURCE_REQUIRED", "Choose the native auth file to import, or give --from-local with no path to search the default locations.", "Supply --from-local <selected-path>, or --from-local alone");
|
|
21343
21382
|
}
|
|
21344
21383
|
if (options.apiKey !== undefined || options.apiKeyStdin === true || options.baseUrl !== undefined) {
|
|
21345
21384
|
throw new MutagentError("OPTION_NOT_APPLICABLE", "Claude Code import takes no API key or provider base URL.", "Remove --api-key, --api-key-stdin and --base-url");
|
|
21346
21385
|
}
|
|
21347
21386
|
const target = await deps.preflight();
|
|
21348
|
-
deps.disclose(`Create a Claude Code subscription in ${target.workspaceId} at ${target.endpoint}, from ${
|
|
21387
|
+
deps.disclose(`Create a Claude Code subscription in ${target.workspaceId} at ${target.endpoint}, from ${selected ?? `the first of ${deps.defaultSources.join(", ")} that holds a Claude Code login`}. Permitted users: ${target.permittedUsers}. Transfer refresh authority to the server and cease local refresh: server rotation can invalidate local login. Exact values and recorded successors are exclusive; unseen external successors cannot be identified as the same grant. Sandbox prompts and code may leave for the vendor; session storage is a separate consequence.`);
|
|
21349
21388
|
if (options.yes !== true) {
|
|
21350
21389
|
if (deps.nonInteractive) {
|
|
21351
21390
|
throw new MutagentError("CONSENT_REQUIRED", "Subscription transfer requires explicit consent before reading credentials.", "Confirm the destination, permitted users, refresh transfer and egress with the user, then re-run with --yes");
|
|
@@ -21354,13 +21393,23 @@ async function importClaudeCode(options, deps) {
|
|
|
21354
21393
|
throw new MutagentError("CANCELLED", "Import cancelled; no subscription credential was read or sent.", "Run: mutagent providers list --json");
|
|
21355
21394
|
}
|
|
21356
21395
|
}
|
|
21357
|
-
const bundle = parseClaudeCodeAuth(await deps.read(
|
|
21396
|
+
const bundle = selected ? parseClaudeCodeAuth(await deps.read(selected)) : await searchDefaults(deps);
|
|
21358
21397
|
if (!bundle)
|
|
21359
21398
|
throw invalidLocalLogin();
|
|
21360
21399
|
registerSecret(bundle.access, bundle.refresh, JSON.stringify(bundle));
|
|
21361
21400
|
const created = await deps.create(target, bundle);
|
|
21362
21401
|
return { id: created.id, name: created.name, workspaceId: target.workspaceId };
|
|
21363
21402
|
}
|
|
21403
|
+
async function searchDefaults(deps) {
|
|
21404
|
+
for (const path of deps.defaultSources) {
|
|
21405
|
+
const bundle = await deps.read(path).then(parseClaudeCodeAuth, () => null);
|
|
21406
|
+
if (bundle) {
|
|
21407
|
+
deps.disclose(`Using the Claude Code login in ${path}.`);
|
|
21408
|
+
return bundle;
|
|
21409
|
+
}
|
|
21410
|
+
}
|
|
21411
|
+
throw new MutagentError("LOCAL_LOGIN_NOT_FOUND", `No Claude Code login found in ${deps.defaultSources.join(", ")}.`, "Log in with Architech first (its /login writes ~/.architech/agent/auth.json), or name the file: --from-local <path>");
|
|
21412
|
+
}
|
|
21364
21413
|
|
|
21365
21414
|
// src/commands/providers/add-oauth.ts
|
|
21366
21415
|
var FROM_LOCAL_WARNING = "Importing this machine's login: the server's first refresh rotates its refresh token, which logs this machine's session out. Prefer --oauth, a separate login.";
|
|
@@ -21414,7 +21463,7 @@ async function obtainBundle(adapter, options, isJson, deps) {
|
|
|
21414
21463
|
});
|
|
21415
21464
|
}
|
|
21416
21465
|
const path = typeof options.fromLocal === "string" ? options.fromLocal : undefined;
|
|
21417
|
-
const source = path ??
|
|
21466
|
+
const source = path ?? defaultSubscriptionAuthPaths(deps.home, deps.env).join(", ");
|
|
21418
21467
|
deps.stderr(`⚠ ${FROM_LOCAL_WARNING} (${source})`);
|
|
21419
21468
|
const nonInteractive = isJson || deps.env.MUTAGENT_NON_INTERACTIVE === "true";
|
|
21420
21469
|
if (options.yes !== true) {
|
|
@@ -21427,8 +21476,9 @@ async function obtainBundle(adapter, options, isJson, deps) {
|
|
|
21427
21476
|
}
|
|
21428
21477
|
const local = adapter.readLocal({ ...path ? { path } : {}, home: deps.home, env: deps.env });
|
|
21429
21478
|
if (local === null) {
|
|
21430
|
-
throw new MutagentError("LOCAL_LOGIN_NOT_FOUND", `No ${adapter.label} login found
|
|
21479
|
+
throw new MutagentError("LOCAL_LOGIN_NOT_FOUND", `No ${adapter.label} login found in ${source}.`, `Run: mutagent providers add --provider ${options.provider} --name "${options.name}" --oauth`);
|
|
21431
21480
|
}
|
|
21481
|
+
deps.stderr(`Using the ${adapter.label} login in ${local.path}.`);
|
|
21432
21482
|
return local.bundle;
|
|
21433
21483
|
}
|
|
21434
21484
|
async function runOAuthAdd(options, isJson, deps = defaultOAuthAddDeps()) {
|
|
@@ -21448,7 +21498,8 @@ async function runOAuthAdd(options, isJson, deps = defaultOAuthAddDeps()) {
|
|
|
21448
21498
|
disclose: deps.stderr,
|
|
21449
21499
|
confirm: deps.confirm,
|
|
21450
21500
|
nonInteractive: isJson || deps.env.MUTAGENT_NON_INTERACTIVE === "true",
|
|
21451
|
-
read: readSelectedSubscriptionAuth
|
|
21501
|
+
read: readSelectedSubscriptionAuth,
|
|
21502
|
+
defaultSources: defaultSubscriptionAuthPaths(deps.home, deps.env)
|
|
21452
21503
|
});
|
|
21453
21504
|
const directive = buildProviderCreatedDirective(created, created.workspaceId);
|
|
21454
21505
|
if (isJson) {
|
|
@@ -47171,4 +47222,4 @@ if (process.env.CLI_VERSION) {
|
|
|
47171
47222
|
}
|
|
47172
47223
|
runCli(process.argv.slice(2), cliVersion);
|
|
47173
47224
|
|
|
47174
|
-
//# debugId=
|
|
47225
|
+
//# debugId=006F2BD40CECAA9D64756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mutagent/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.326",
|
|
4
4
|
"description": "Bun-native CLI for the Mutagent AI platform - auth, provider config, and lifecycle-tool installer for AI-native workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@inquirer/prompts": "^8.7.2",
|
|
56
|
-
"@mutagent/sdk": "0.13.
|
|
56
|
+
"@mutagent/sdk": "0.13.26",
|
|
57
57
|
"@sinclair/typebox": "^0.34.0",
|
|
58
58
|
"chalk": "^5.3.0",
|
|
59
59
|
"commander": "^12.1.0",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"bugs": {
|
|
103
103
|
"url": "https://docs.mutagent.io/support"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "c61994afecb0588451c3e59997fa642b4fd054a7"
|
|
106
106
|
}
|