@typescape-ai/cli 1.9.20 → 1.9.21
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/bin/typescape +17 -0
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/bin/typescape
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
set -eu
|
|
3
|
+
|
|
4
|
+
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
|
|
5
|
+
|
|
6
|
+
if command -v node >/dev/null 2>&1; then
|
|
7
|
+
exec node "$SCRIPT_DIR/../dist/cli.js" "$@"
|
|
8
|
+
fi
|
|
9
|
+
|
|
10
|
+
if command -v bun >/dev/null 2>&1; then
|
|
11
|
+
exec bun "$SCRIPT_DIR/../dist/cli.js" "$@"
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
echo "Typescape CLI requires Node.js (>=18) or Bun." >&2
|
|
15
|
+
echo "Install Node.js: https://nodejs.org/" >&2
|
|
16
|
+
echo "Install Bun: https://bun.sh/docs/installation" >&2
|
|
17
|
+
exit 127
|
package/dist/cli.js
CHANGED
|
@@ -137,7 +137,7 @@ ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.pus
|
|
|
137
137
|
`)+1;while(t!==0)this.onNewLine(this.offset+t),t=this.source.indexOf(`
|
|
138
138
|
`,t)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let n="end"in t.value?t.value.end:void 0;if((Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment")n?.push(this.sourceToken);else e.items.push({start:[this.sourceToken]})}else if(t.sep)t.sep.push(this.sourceToken);else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let a=e.items[e.items.length-2]?.value?.end;if(Array.isArray(a)){Array.prototype.push.apply(a,t.start),a.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,a=n&&(t.sep||t.explicitKey)&&this.type!=="seq-item-ind",i=[];if(a&&t.sep&&!t.value){let r=[];for(let o=0;o<t.sep.length;++o){let s=t.sep[o];switch(s.type){case"newline":r.push(o);break;case"space":break;case"comment":if(s.indent>e.indent)r.length=0;break;default:r.length=0}}if(r.length>=2)i=t.sep.splice(r[1])}switch(this.type){case"anchor":case"tag":if(a||t.value)i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0;else if(t.sep)t.sep.push(this.sourceToken);else t.start.push(this.sourceToken);return;case"explicit-key-ind":if(!t.sep&&!t.explicitKey)t.start.push(this.sourceToken),t.explicitKey=!0;else if(a||t.value)i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0});else this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]});this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(!t.sep)if(Pr(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let r=Nc(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]})}else if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Pr(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(f9(t.key)&&!Pr(t.sep,"newline")){let r=Nc(t.start),o=t.key,s=t.sep;s.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:o,sep:s}]})}else if(i.length>0)t.sep=t.sep.concat(i,this.sourceToken);else t.sep.push(this.sourceToken);else if(!t.sep)Object.assign(t,{key:null,sep:[this.sourceToken]});else if(t.value||a)e.items.push({start:i,key:null,sep:[this.sourceToken]});else if(Pr(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]});else t.sep.push(this.sourceToken);this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let r=this.flowScalar(this.type);if(a||t.value)e.items.push({start:i,key:r,sep:[]}),this.onKeyLine=!0;else if(t.sep)this.stack.push(r);else Object.assign(t,{key:r,sep:[]}),this.onKeyLine=!0;return}default:{let r=this.startBlockValue(e);if(r){if(r.type==="block-seq"){if(!t.explicitKey&&t.sep&&!Pr(t.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else if(n)e.items.push({start:i});this.stack.push(r);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let n="end"in t.value?t.value.end:void 0;if((Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment")n?.push(this.sourceToken);else e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let a=e.items[e.items.length-2]?.value?.end;if(Array.isArray(a)){Array.prototype.push.apply(a,t.start),a.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;if(t.value||Pr(t.start,"seq-item-ind"))e.items.push({start:[this.sourceToken]});else t.start.push(this.sourceToken);return}if(this.indent>e.indent){let n=this.startBlockValue(e);if(n){this.stack.push(n);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if(this.type==="flow-error-end"){let n;do yield*this.pop(),n=this.peek(1);while(n?.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":if(!t||t.sep)e.items.push({start:[this.sourceToken]});else t.start.push(this.sourceToken);return;case"map-value-ind":if(!t||t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":if(!t||t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let a=this.flowScalar(this.type);if(!t||t.value)e.items.push({start:[],key:a,sep:[]});else if(t.sep)this.stack.push(a);else Object.assign(t,{key:a,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);if(n)this.stack.push(n);else yield*this.pop(),yield*this.step()}else{let n=this.peek(2);if(n.type==="block-map"&&(this.type==="map-value-ind"&&n.indent===e.indent||this.type==="newline"&&!n.items[n.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&n.type!=="flow-collection"){let a=bb(n),i=Nc(a);b9(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:i,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let t=this.source.indexOf(`
|
|
139
139
|
`)+1;while(t!==0)this.onNewLine(this.offset+t),t=this.source.indexOf(`
|
|
140
|
-
`,t)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=bb(e),n=Nc(t);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=bb(e),n=Nc(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){if(this.type!=="comment")return!1;if(this.indent<=t)return!1;return e.every((n)=>n.type==="newline"||n.type==="space")}*documentEnd(e){if(this.type!=="doc-mode"){if(e.end)e.end.push(this.sourceToken);else e.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:if(e.end)e.end.push(this.sourceToken);else e.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}}_de.Parser=h9});var C9=z((Sde)=>{var y9=aE(),vde=Fd(),Nd=$d(),Qde=p_(),xde=We(),Ide=pE(),w9=mE();function k9(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Ide.LineCounter||null,prettyErrors:t}}function Dde(e,t={}){let{lineCounter:n,prettyErrors:a}=k9(t),i=new w9.Parser(n?.addNewLine),r=new y9.Composer(t),o=Array.from(r.compose(i.parse(e)));if(a&&n)for(let s of o)s.errors.forEach(Nd.prettifyError(e,n)),s.warnings.forEach(Nd.prettifyError(e,n));if(o.length>0)return o;return Object.assign([],{empty:!0},r.streamInfo())}function B9(e,t={}){let{lineCounter:n,prettyErrors:a}=k9(t),i=new w9.Parser(n?.addNewLine),r=new y9.Composer(t),o=null;for(let s of r.compose(i.parse(e),!0,e.length))if(!o)o=s;else if(o.options.logLevel!=="silent"){o.errors.push(new Nd.YAMLParseError(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}if(a&&n)o.errors.forEach(Nd.prettifyError(e,n)),o.warnings.forEach(Nd.prettifyError(e,n));return o}function Fde(e,t,n){let a=void 0;if(typeof t==="function")a=t;else if(n===void 0&&t&&typeof t==="object")n=t;let i=B9(e,n);if(!i)return null;if(i.warnings.forEach((r)=>Qde.warn(i.options.logLevel,r)),i.errors.length>0)if(i.options.logLevel!=="silent")throw i.errors[0];else i.errors=[];return i.toJS(Object.assign({reviver:a},n))}function $de(e,t,n){let a=null;if(typeof t==="function"||Array.isArray(t))a=t;else if(n===void 0&&t)n=t;if(typeof n==="string")n=n.length;if(typeof n==="number"){let i=Math.round(n);n=i<1?void 0:i>8?{indent:8}:{indent:i}}if(e===void 0){let{keepUndefined:i}=n??t??{};if(!i)return}if(xde.isDocument(e)&&!a)return e.toString(n);return new vde.Document(e,a,n).toString(n)}Sde.parse=Fde;Sde.parseAllDocuments=Dde;Sde.parseDocument=B9;Sde.stringify=$de});var ua=z((Wde)=>{var Mde=aE(),Gde=Fd(),Rde=P_(),gE=$d(),Pde=bd(),Ur=We(),Ude=Nr(),zde=Tt(),Hde=Gr(),Tde=Rr(),Ode=mb(),Yde=uE(),Zde=pE(),Kde=mE(),fb=C9(),_9=md();Wde.Composer=Mde.Composer;Wde.Document=Gde.Document;Wde.Schema=Rde.Schema;Wde.YAMLError=gE.YAMLError;Wde.YAMLParseError=gE.YAMLParseError;Wde.YAMLWarning=gE.YAMLWarning;Wde.Alias=Pde.Alias;Wde.isAlias=Ur.isAlias;Wde.isCollection=Ur.isCollection;Wde.isDocument=Ur.isDocument;Wde.isMap=Ur.isMap;Wde.isNode=Ur.isNode;Wde.isPair=Ur.isPair;Wde.isScalar=Ur.isScalar;Wde.isSeq=Ur.isSeq;Wde.Pair=Ude.Pair;Wde.Scalar=zde.Scalar;Wde.YAMLMap=Hde.YAMLMap;Wde.YAMLSeq=Tde.YAMLSeq;Wde.CST=Ode;Wde.Lexer=Yde.Lexer;Wde.LineCounter=Zde.LineCounter;Wde.Parser=Kde.Parser;Wde.parse=fb.parse;Wde.parseAllDocuments=fb.parseAllDocuments;Wde.parseDocument=fb.parseDocument;Wde.stringify=fb.stringify;Wde.visit=_9.visit;Wde.visitAsync=_9.visitAsync});var BE=z((yYe,rpe)=>{rpe.exports={name:"@typescape-ai/cli",version:"1.9.20",description:"Typescape CLI - Create reviews, export feedback, and integrate with AI workflows",type:"module",bin:{typescape:"./bin/typescape"},files:["bin","dist","README.md"],exports:{".":"./dist/cli.js"},publishConfig:{access:"public"},scripts:{build:"bun build src/index.ts --outfile=dist/cli.js --target=node --bundle --minify",dev:"bun run --watch src/index.ts",test:"bun test",typecheck:"tsc -p tsconfig.typecheck.json --noEmit",lint:"eslint src",prepublishOnly:"bun run build"},dependencies:{},devDependencies:{"@types/bun":"1.3.8","@typescape/integrity":"workspace:*","@typescape/schemas":"workspace:*",ajv:"8.17.1","ajv-formats":"3.0.1",yaml:"2.8.2",zod:"4.3.0"},engines:{node:">=18.17.0",bun:">=1.0.0"},keywords:["typescape","cli","review","documentation","ai","feedback","bun"],repository:{type:"git",url:"https://github.com/voidserf/typescape-docs.git",directory:"apps/cli"},license:"MIT"}});var h$=z((jJe,f$)=>{var Pc=1000,Uc=Pc*60,zc=Uc*60,Zo=zc*24,Mme=Zo*7,Gme=Zo*365.25;f$.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return Rme(e);else if(n==="number"&&isFinite(e))return t.long?Ume(e):Pme(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Rme(e){if(e=String(e),e.length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]),a=(t[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return n*Gme;case"weeks":case"week":case"w":return n*Mme;case"days":case"day":case"d":return n*Zo;case"hours":case"hour":case"hrs":case"hr":case"h":return n*zc;case"minutes":case"minute":case"mins":case"min":case"m":return n*Uc;case"seconds":case"second":case"secs":case"sec":case"s":return n*Pc;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}function Pme(e){var t=Math.abs(e);if(t>=Zo)return Math.round(e/Zo)+"d";if(t>=zc)return Math.round(e/zc)+"h";if(t>=Uc)return Math.round(e/Uc)+"m";if(t>=Pc)return Math.round(e/Pc)+"s";return e+"ms"}function Ume(e){var t=Math.abs(e);if(t>=Zo)return qb(e,t,Zo,"day");if(t>=zc)return qb(e,t,zc,"hour");if(t>=Uc)return qb(e,t,Uc,"minute");if(t>=Pc)return qb(e,t,Pc,"second");return e+" ms"}function qb(e,t,n,a){var i=t>=n*1.5;return Math.round(e/n)+" "+a+(i?"s":"")}});var RE=z((LJe,y$)=>{function zme(e){n.debug=n,n.default=n,n.coerce=c,n.disable=o,n.enable=i,n.enabled=s,n.humanize=h$(),n.destroy=A,Object.keys(e).forEach((l)=>{n[l]=e[l]}),n.names=[],n.skips=[],n.formatters={};function t(l){let d=0;for(let p=0;p<l.length;p++)d=(d<<5)-d+l.charCodeAt(p),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=t;function n(l){let d,p=null,m,g;function y(...C){if(!y.enabled)return;let B=y,$=Number(new Date),v=$-(d||$);if(B.diff=v,B.prev=d,B.curr=$,d=$,C[0]=n.coerce(C[0]),typeof C[0]!=="string")C.unshift("%O");let N=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(j,O)=>{if(j==="%%")return"%";N++;let V=n.formatters[O];if(typeof V==="function"){let le=C[N];j=V.call(B,le),C.splice(N,1),N--}return j}),n.formatArgs.call(B,C),(B.log||n.log).apply(B,C)}if(y.namespace=l,y.useColors=n.useColors(),y.color=n.selectColor(l),y.extend=a,y.destroy=n.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(p!==null)return p;if(m!==n.namespaces)m=n.namespaces,g=n.enabled(l);return g},set:(C)=>{p=C}}),typeof n.init==="function")n.init(y);return y}function a(l,d){let p=n(this.namespace+(typeof d>"u"?":":d)+l);return p.log=this.log,p}function i(l){n.save(l),n.namespaces=l,n.names=[],n.skips=[];let d=(typeof l==="string"?l:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let p of d)if(p[0]==="-")n.skips.push(p.slice(1));else n.names.push(p)}function r(l,d){let p=0,m=0,g=-1,y=0;while(p<l.length)if(m<d.length&&(d[m]===l[p]||d[m]==="*"))if(d[m]==="*")g=m,y=p,m++;else p++,m++;else if(g!==-1)m=g+1,y++,p=y;else return!1;while(m<d.length&&d[m]==="*")m++;return m===d.length}function o(){let l=[...n.names,...n.skips.map((d)=>"-"+d)].join(",");return n.enable(""),l}function s(l){for(let d of n.skips)if(r(l,d))return!1;for(let d of n.names)if(r(l,d))return!0;return!1}function c(l){if(l instanceof Error)return l.stack||l.message;return l}function A(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}y$.exports=zme});var k$=z((w$,Nb)=>{w$.formatArgs=Tme;w$.save=Ome;w$.load=Yme;w$.useColors=Hme;w$.storage=Zme();w$.destroy=(()=>{let e=!1;return()=>{if(!e)e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();w$.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Hme(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Tme(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Nb.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,a=0;e[0].replace(/%[a-zA-Z%]/g,(i)=>{if(i==="%%")return;if(n++,i==="%c")a=n}),e.splice(a,0,t)}w$.log=console.debug||console.log||(()=>{});function Ome(e){try{if(e)w$.storage.setItem("debug",e);else w$.storage.removeItem("debug")}catch(t){}}function Yme(){let e;try{e=w$.storage.getItem("debug")||w$.storage.getItem("DEBUG")}catch(t){}if(!e&&typeof process<"u"&&"env"in process)e=process.env.DEBUG;return e}function Zme(){try{return localStorage}catch(e){}}Nb.exports=RE()(w$);var{formatters:Kme}=Nb.exports;Kme.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var C$=z((NJe,B$)=>{B$.exports=(e,t=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",a=t.indexOf(n+e),i=t.indexOf("--");return a!==-1&&(i===-1||a<i)}});var v$=z((MJe,E$)=>{var age=or("os"),_$=or("tty"),ma=C$(),{env:tn}=process,Or;if(ma("no-color")||ma("no-colors")||ma("color=false")||ma("color=never"))Or=0;else if(ma("color")||ma("colors")||ma("color=true")||ma("color=always"))Or=1;if("FORCE_COLOR"in tn)if(tn.FORCE_COLOR==="true")Or=1;else if(tn.FORCE_COLOR==="false")Or=0;else Or=tn.FORCE_COLOR.length===0?1:Math.min(parseInt(tn.FORCE_COLOR,10),3);function PE(e){if(e===0)return!1;return{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function UE(e,t){if(Or===0)return 0;if(ma("color=16m")||ma("color=full")||ma("color=truecolor"))return 3;if(ma("color=256"))return 2;if(e&&!t&&Or===void 0)return 0;let n=Or||0;if(tn.TERM==="dumb")return n;if(process.platform==="win32"){let a=age.release().split(".");if(Number(a[0])>=10&&Number(a[2])>=10586)return Number(a[2])>=14931?3:2;return 1}if("CI"in tn){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((a)=>(a in tn))||tn.CI_NAME==="codeship")return 1;return n}if("TEAMCITY_VERSION"in tn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(tn.TEAMCITY_VERSION)?1:0;if(tn.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in tn){let a=parseInt((tn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(tn.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(tn.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(tn.TERM))return 1;if("COLORTERM"in tn)return 1;return n}function ige(e){let t=UE(e,e&&e.isTTY);return PE(t)}E$.exports={supportsColor:ige,stdout:PE(UE(!0,_$.isatty(1))),stderr:PE(UE(!0,_$.isatty(2)))}});var D$=z((x$,Gb)=>{var rge=or("tty"),Mb=or("util");x$.init=uge;x$.log=Age;x$.formatArgs=sge;x$.save=lge;x$.load=dge;x$.useColors=oge;x$.destroy=Mb.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");x$.colors=[6,2,3,4,5,1];try{let e=v$();if(e&&(e.stderr||e).level>=2)x$.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(e){}x$.inspectOpts=Object.keys(process.env).filter((e)=>{return/^debug_/i.test(e)}).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,r)=>{return r.toUpperCase()}),a=process.env[t];if(/^(yes|on|true|enabled)$/i.test(a))a=!0;else if(/^(no|off|false|disabled)$/i.test(a))a=!1;else if(a==="null")a=null;else a=Number(a);return e[n]=a,e},{});function oge(){return"colors"in x$.inspectOpts?Boolean(x$.inspectOpts.colors):rge.isatty(process.stderr.fd)}function sge(e){let{namespace:t,useColors:n}=this;if(n){let a=this.color,i="\x1B[3"+(a<8?a:"8;5;"+a),r=` ${i};1m${t} \x1B[0m`;e[0]=r+e[0].split(`
|
|
140
|
+
`,t)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=bb(e),n=Nc(t);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=bb(e),n=Nc(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){if(this.type!=="comment")return!1;if(this.indent<=t)return!1;return e.every((n)=>n.type==="newline"||n.type==="space")}*documentEnd(e){if(this.type!=="doc-mode"){if(e.end)e.end.push(this.sourceToken);else e.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:if(e.end)e.end.push(this.sourceToken);else e.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}}_de.Parser=h9});var C9=z((Sde)=>{var y9=aE(),vde=Fd(),Nd=$d(),Qde=p_(),xde=We(),Ide=pE(),w9=mE();function k9(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Ide.LineCounter||null,prettyErrors:t}}function Dde(e,t={}){let{lineCounter:n,prettyErrors:a}=k9(t),i=new w9.Parser(n?.addNewLine),r=new y9.Composer(t),o=Array.from(r.compose(i.parse(e)));if(a&&n)for(let s of o)s.errors.forEach(Nd.prettifyError(e,n)),s.warnings.forEach(Nd.prettifyError(e,n));if(o.length>0)return o;return Object.assign([],{empty:!0},r.streamInfo())}function B9(e,t={}){let{lineCounter:n,prettyErrors:a}=k9(t),i=new w9.Parser(n?.addNewLine),r=new y9.Composer(t),o=null;for(let s of r.compose(i.parse(e),!0,e.length))if(!o)o=s;else if(o.options.logLevel!=="silent"){o.errors.push(new Nd.YAMLParseError(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}if(a&&n)o.errors.forEach(Nd.prettifyError(e,n)),o.warnings.forEach(Nd.prettifyError(e,n));return o}function Fde(e,t,n){let a=void 0;if(typeof t==="function")a=t;else if(n===void 0&&t&&typeof t==="object")n=t;let i=B9(e,n);if(!i)return null;if(i.warnings.forEach((r)=>Qde.warn(i.options.logLevel,r)),i.errors.length>0)if(i.options.logLevel!=="silent")throw i.errors[0];else i.errors=[];return i.toJS(Object.assign({reviver:a},n))}function $de(e,t,n){let a=null;if(typeof t==="function"||Array.isArray(t))a=t;else if(n===void 0&&t)n=t;if(typeof n==="string")n=n.length;if(typeof n==="number"){let i=Math.round(n);n=i<1?void 0:i>8?{indent:8}:{indent:i}}if(e===void 0){let{keepUndefined:i}=n??t??{};if(!i)return}if(xde.isDocument(e)&&!a)return e.toString(n);return new vde.Document(e,a,n).toString(n)}Sde.parse=Fde;Sde.parseAllDocuments=Dde;Sde.parseDocument=B9;Sde.stringify=$de});var ua=z((Wde)=>{var Mde=aE(),Gde=Fd(),Rde=P_(),gE=$d(),Pde=bd(),Ur=We(),Ude=Nr(),zde=Tt(),Hde=Gr(),Tde=Rr(),Ode=mb(),Yde=uE(),Zde=pE(),Kde=mE(),fb=C9(),_9=md();Wde.Composer=Mde.Composer;Wde.Document=Gde.Document;Wde.Schema=Rde.Schema;Wde.YAMLError=gE.YAMLError;Wde.YAMLParseError=gE.YAMLParseError;Wde.YAMLWarning=gE.YAMLWarning;Wde.Alias=Pde.Alias;Wde.isAlias=Ur.isAlias;Wde.isCollection=Ur.isCollection;Wde.isDocument=Ur.isDocument;Wde.isMap=Ur.isMap;Wde.isNode=Ur.isNode;Wde.isPair=Ur.isPair;Wde.isScalar=Ur.isScalar;Wde.isSeq=Ur.isSeq;Wde.Pair=Ude.Pair;Wde.Scalar=zde.Scalar;Wde.YAMLMap=Hde.YAMLMap;Wde.YAMLSeq=Tde.YAMLSeq;Wde.CST=Ode;Wde.Lexer=Yde.Lexer;Wde.LineCounter=Zde.LineCounter;Wde.Parser=Kde.Parser;Wde.parse=fb.parse;Wde.parseAllDocuments=fb.parseAllDocuments;Wde.parseDocument=fb.parseDocument;Wde.stringify=fb.stringify;Wde.visit=_9.visit;Wde.visitAsync=_9.visitAsync});var BE=z((yYe,rpe)=>{rpe.exports={name:"@typescape-ai/cli",version:"1.9.21",description:"Typescape CLI - Create reviews, export feedback, and integrate with AI workflows",type:"module",bin:{typescape:"./bin/typescape"},files:["bin","dist","README.md"],exports:{".":"./dist/cli.js"},publishConfig:{access:"public"},scripts:{build:"bun build src/index.ts --outfile=dist/cli.js --target=node --bundle --minify",dev:"bun run --watch src/index.ts",test:"bun test",typecheck:"tsc -p tsconfig.typecheck.json --noEmit",lint:"eslint src",prepublishOnly:"bun run build"},dependencies:{},devDependencies:{"@types/bun":"1.3.8","@typescape/integrity":"workspace:*","@typescape/schemas":"workspace:*",ajv:"8.17.1","ajv-formats":"3.0.1",yaml:"2.8.2",zod:"4.3.0"},engines:{node:">=18.17.0",bun:">=1.0.0"},keywords:["typescape","cli","review","documentation","ai","feedback","bun"],repository:{type:"git",url:"https://github.com/voidserf/typescape-docs.git",directory:"apps/cli"},license:"MIT"}});var h$=z((jJe,f$)=>{var Pc=1000,Uc=Pc*60,zc=Uc*60,Zo=zc*24,Mme=Zo*7,Gme=Zo*365.25;f$.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return Rme(e);else if(n==="number"&&isFinite(e))return t.long?Ume(e):Pme(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Rme(e){if(e=String(e),e.length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]),a=(t[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return n*Gme;case"weeks":case"week":case"w":return n*Mme;case"days":case"day":case"d":return n*Zo;case"hours":case"hour":case"hrs":case"hr":case"h":return n*zc;case"minutes":case"minute":case"mins":case"min":case"m":return n*Uc;case"seconds":case"second":case"secs":case"sec":case"s":return n*Pc;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}function Pme(e){var t=Math.abs(e);if(t>=Zo)return Math.round(e/Zo)+"d";if(t>=zc)return Math.round(e/zc)+"h";if(t>=Uc)return Math.round(e/Uc)+"m";if(t>=Pc)return Math.round(e/Pc)+"s";return e+"ms"}function Ume(e){var t=Math.abs(e);if(t>=Zo)return qb(e,t,Zo,"day");if(t>=zc)return qb(e,t,zc,"hour");if(t>=Uc)return qb(e,t,Uc,"minute");if(t>=Pc)return qb(e,t,Pc,"second");return e+" ms"}function qb(e,t,n,a){var i=t>=n*1.5;return Math.round(e/n)+" "+a+(i?"s":"")}});var RE=z((LJe,y$)=>{function zme(e){n.debug=n,n.default=n,n.coerce=c,n.disable=o,n.enable=i,n.enabled=s,n.humanize=h$(),n.destroy=A,Object.keys(e).forEach((l)=>{n[l]=e[l]}),n.names=[],n.skips=[],n.formatters={};function t(l){let d=0;for(let p=0;p<l.length;p++)d=(d<<5)-d+l.charCodeAt(p),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=t;function n(l){let d,p=null,m,g;function y(...C){if(!y.enabled)return;let B=y,$=Number(new Date),v=$-(d||$);if(B.diff=v,B.prev=d,B.curr=$,d=$,C[0]=n.coerce(C[0]),typeof C[0]!=="string")C.unshift("%O");let N=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(j,O)=>{if(j==="%%")return"%";N++;let V=n.formatters[O];if(typeof V==="function"){let le=C[N];j=V.call(B,le),C.splice(N,1),N--}return j}),n.formatArgs.call(B,C),(B.log||n.log).apply(B,C)}if(y.namespace=l,y.useColors=n.useColors(),y.color=n.selectColor(l),y.extend=a,y.destroy=n.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(p!==null)return p;if(m!==n.namespaces)m=n.namespaces,g=n.enabled(l);return g},set:(C)=>{p=C}}),typeof n.init==="function")n.init(y);return y}function a(l,d){let p=n(this.namespace+(typeof d>"u"?":":d)+l);return p.log=this.log,p}function i(l){n.save(l),n.namespaces=l,n.names=[],n.skips=[];let d=(typeof l==="string"?l:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let p of d)if(p[0]==="-")n.skips.push(p.slice(1));else n.names.push(p)}function r(l,d){let p=0,m=0,g=-1,y=0;while(p<l.length)if(m<d.length&&(d[m]===l[p]||d[m]==="*"))if(d[m]==="*")g=m,y=p,m++;else p++,m++;else if(g!==-1)m=g+1,y++,p=y;else return!1;while(m<d.length&&d[m]==="*")m++;return m===d.length}function o(){let l=[...n.names,...n.skips.map((d)=>"-"+d)].join(",");return n.enable(""),l}function s(l){for(let d of n.skips)if(r(l,d))return!1;for(let d of n.names)if(r(l,d))return!0;return!1}function c(l){if(l instanceof Error)return l.stack||l.message;return l}function A(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}y$.exports=zme});var k$=z((w$,Nb)=>{w$.formatArgs=Tme;w$.save=Ome;w$.load=Yme;w$.useColors=Hme;w$.storage=Zme();w$.destroy=(()=>{let e=!1;return()=>{if(!e)e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();w$.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Hme(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Tme(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Nb.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,a=0;e[0].replace(/%[a-zA-Z%]/g,(i)=>{if(i==="%%")return;if(n++,i==="%c")a=n}),e.splice(a,0,t)}w$.log=console.debug||console.log||(()=>{});function Ome(e){try{if(e)w$.storage.setItem("debug",e);else w$.storage.removeItem("debug")}catch(t){}}function Yme(){let e;try{e=w$.storage.getItem("debug")||w$.storage.getItem("DEBUG")}catch(t){}if(!e&&typeof process<"u"&&"env"in process)e=process.env.DEBUG;return e}function Zme(){try{return localStorage}catch(e){}}Nb.exports=RE()(w$);var{formatters:Kme}=Nb.exports;Kme.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var C$=z((NJe,B$)=>{B$.exports=(e,t=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",a=t.indexOf(n+e),i=t.indexOf("--");return a!==-1&&(i===-1||a<i)}});var v$=z((MJe,E$)=>{var age=or("os"),_$=or("tty"),ma=C$(),{env:tn}=process,Or;if(ma("no-color")||ma("no-colors")||ma("color=false")||ma("color=never"))Or=0;else if(ma("color")||ma("colors")||ma("color=true")||ma("color=always"))Or=1;if("FORCE_COLOR"in tn)if(tn.FORCE_COLOR==="true")Or=1;else if(tn.FORCE_COLOR==="false")Or=0;else Or=tn.FORCE_COLOR.length===0?1:Math.min(parseInt(tn.FORCE_COLOR,10),3);function PE(e){if(e===0)return!1;return{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function UE(e,t){if(Or===0)return 0;if(ma("color=16m")||ma("color=full")||ma("color=truecolor"))return 3;if(ma("color=256"))return 2;if(e&&!t&&Or===void 0)return 0;let n=Or||0;if(tn.TERM==="dumb")return n;if(process.platform==="win32"){let a=age.release().split(".");if(Number(a[0])>=10&&Number(a[2])>=10586)return Number(a[2])>=14931?3:2;return 1}if("CI"in tn){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((a)=>(a in tn))||tn.CI_NAME==="codeship")return 1;return n}if("TEAMCITY_VERSION"in tn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(tn.TEAMCITY_VERSION)?1:0;if(tn.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in tn){let a=parseInt((tn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(tn.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(tn.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(tn.TERM))return 1;if("COLORTERM"in tn)return 1;return n}function ige(e){let t=UE(e,e&&e.isTTY);return PE(t)}E$.exports={supportsColor:ige,stdout:PE(UE(!0,_$.isatty(1))),stderr:PE(UE(!0,_$.isatty(2)))}});var D$=z((x$,Gb)=>{var rge=or("tty"),Mb=or("util");x$.init=uge;x$.log=Age;x$.formatArgs=sge;x$.save=lge;x$.load=dge;x$.useColors=oge;x$.destroy=Mb.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");x$.colors=[6,2,3,4,5,1];try{let e=v$();if(e&&(e.stderr||e).level>=2)x$.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(e){}x$.inspectOpts=Object.keys(process.env).filter((e)=>{return/^debug_/i.test(e)}).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,r)=>{return r.toUpperCase()}),a=process.env[t];if(/^(yes|on|true|enabled)$/i.test(a))a=!0;else if(/^(no|off|false|disabled)$/i.test(a))a=!1;else if(a==="null")a=null;else a=Number(a);return e[n]=a,e},{});function oge(){return"colors"in x$.inspectOpts?Boolean(x$.inspectOpts.colors):rge.isatty(process.stderr.fd)}function sge(e){let{namespace:t,useColors:n}=this;if(n){let a=this.color,i="\x1B[3"+(a<8?a:"8;5;"+a),r=` ${i};1m${t} \x1B[0m`;e[0]=r+e[0].split(`
|
|
141
141
|
`).join(`
|
|
142
142
|
`+r),e.push(i+"m+"+Gb.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=cge()+t+" "+e[0]}function cge(){if(x$.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function Age(...e){return process.stderr.write(Mb.formatWithOptions(x$.inspectOpts,...e)+`
|
|
143
143
|
`)}function lge(e){if(e)process.env.DEBUG=e;else delete process.env.DEBUG}function dge(){return process.env.DEBUG}function uge(e){e.inspectOpts={};let t=Object.keys(x$.inspectOpts);for(let n=0;n<t.length;n++)e.inspectOpts[t[n]]=x$.inspectOpts[t[n]]}Gb.exports=RE()(x$);var{formatters:Q$}=Gb.exports;Q$.o=function(e){return this.inspectOpts.colors=this.useColors,Mb.inspect(e,this.inspectOpts).split(`
|