skills-layer 0.2.48 → 0.2.50
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/package.json +3 -2
- package/public/chunks/chunk-ESQWWFG7.mjs +3 -0
- package/public/chunks/chunk-FQ7O2RXV.mjs +13 -0
- package/public/chunks/chunk-UZR7RAAD.mjs +1240 -0
- package/public/chunks/chunk-VRFARZT7.mjs +63 -0
- package/public/chunks/chunk-YT7RFIT2.mjs +3 -0
- package/public/chunks/public-cli-YKYNLV3U.mjs +1246 -0
- package/public/chunks/public-cli-help-L6QJQ53H.mjs +3 -0
- package/public/chunks/public-cli-help-audit-4QCY3NBV.mjs +3 -0
- package/public/skills-layer-public.mjs +2 -2543
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* istanbul ignore file -- generated npm bundle is verified by boundary and tarball smoke tests. */
|
|
2
|
+
import { createRequire as __skillsLayerCreateRequire } from "node:module"; const require = __skillsLayerCreateRequire(import.meta.url);
|
|
3
|
+
import{a as C,b as f,c as qe,d as Ve,e as R,f as ze,g as O,h as me,i as pe,j as ge,k as Ye}from"./chunk-FQ7O2RXV.mjs";import{c as dn}from"./chunk-YT7RFIT2.mjs";var Qi="0.2.50";var K=Symbol("one-time-api-key");function J(e){return e.replace(/mktplace_[A-Za-z0-9]{20,}/gu,"<redacted>")}function he(e,t){return typeof e=="string"?J(e).split(t).join("<redacted>"):Array.isArray(e)?e.map(n=>he(n,t)):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).map(([n,i])=>[n,he(i,t)])):e}function Zi(e,t,n){if(!n)return{...e,stdout:`${J(e.stdout).split(t).join("<redacted>")}
|
|
4
|
+
|
|
5
|
+
ONE-TIME API KEY
|
|
6
|
+
${t}
|
|
7
|
+
END ONE-TIME API KEY
|
|
8
|
+
Store this key securely; it will not be shown again.`};let i=he(JSON.parse(e.stdout),t);return i.summary="Automation API key created. The one-time key is in data.apiKey; store it securely now.",i.data.apiKey=t,{...e,stdout:JSON.stringify(i,null,2),[K]:t}}function S(e,t="usd"){let n=t.toLowerCase(),i=n==="usd"?"US$":n==="gbp"?"\xA3":`${t.toUpperCase()} `;return`${e<0?"\u2212":""}${i}${(Math.abs(e)/100).toFixed(2)}`}function ir(e){let t=e.toUpperCase();return t==="USD"?"Paid to your bank in USD.":`Paid to your bank in ${t} at Stripe's rate, minus Stripe's conversion fee. Exact amounts are shown after conversion.`}function rr(e){let t=[];return typeof e.availableCents=="number"&&typeof e.neededCents=="number"&&t.push(`Available: ${S(e.availableCents)}; needed: ${S(e.neededCents)}`),typeof e.availableAt=="string"&&t.push(`Funds available at ${e.availableAt}`),t.join(`
|
|
9
|
+
`)}function Ge(e,t="creator"){if(e.status==="failed"&&(e.settlement||e.recovery)){let d=t==="admin"?`${String(e.payoutId)}: `:"",g=t==="admin"?"the creator's":"your",h=typeof e.failureMessage=="string"&&e.failureMessage.trim()?e.failureMessage.trim().replace(/[.!]+$/u,""):"Payout returned",m=e.recovery?.recoveredUsdCents,b=typeof m=="number"&&Number.isSafeInteger(m)&&m>=0&&typeof e.amountCents=="number"&&m<=e.amountCents?`${S(m)} is back in ${g} withdrawable balance.${m<e.amountCents?` The ${S(e.amountCents-m)} shortfall is borne by ${t==="admin"?"the creator":"you"} (Stripe fees or exchange-rate differences).`:""}`:"The money remains reserved pending admin review of Stripe recovery evidence.";return`${d}Returned by ${g} bank: ${h}. ${b} ${t==="admin"?"The creator can change their bank":"Change your bank"} with skills-layer creator payout-link.`}if(!e.settlement||typeof e.settlement!="object")return"";let n=e.settlement;if(typeof n.currency!="string"||typeof n.netAmount!="number"||typeof e.amountCents!="number")return"";let i=new Intl.NumberFormat("en",{style:"currency",currency:n.currency}).resolvedOptions().maximumFractionDigits,r=d=>new Intl.NumberFormat("en-GB",{style:"currency",currency:n.currency}).format(d/10**i),s=r(typeof n.bankAmount=="number"?n.bankAmount:n.netAmount),o=n.currency.toLowerCase()==="usd"&&(typeof n.bankAmount=="number"?n.bankAmount:n.netAmount)===e.amountCents,a=!o&&typeof n.exchangeRate=="number"?` \xB7 rate ${n.exchangeRate}`:"",l=typeof n.feeAmount=="number"&&n.feeAmount>0?` \xB7 ${r(n.feeAmount)} Stripe conversion fee`:"",u=typeof n.priorReturnDeduction=="number"&&n.priorReturnDeduction>0?` \xB7 ${r(n.priorReturnDeduction)} kept by Stripe to cover an earlier returned payout`:"";return`${t==="admin"?`${String(e.payoutId)}: `:""}${o?S(e.amountCents,"usd"):`${S(e.amountCents,"usd")} sent \xB7 ${s}`} to ${t==="admin"?"the creator's":"your"} bank${a}${l}${u} \xB7 ${String(e.status)}`}function sr(e,t="creator"){return e.map(n=>Ge(n,t)).filter(Boolean).join(`
|
|
10
|
+
`)||"Payouts loaded."}function or(e,t=Date.now()){return typeof e!="string"||!Number.isFinite(Date.parse(e))?"":`Eligible for approval at ${new Date(e).toISOString()} (in ${Math.max(0,Math.ceil((Date.parse(e)-t)/6e4))} min)`}var fn=Object.freeze({pending_review:"Waiting for admin review",processing:"Approved, being sent to your bank",paid:"Paid",failed:"Returned or failed"});function mn(e){let t=fn[e];return t?t.toLowerCase()===e?t:`${t} (${e})`:e}function pn(e){return e==="pending_review"?"An admin reviews each withdrawal before it is paid; approval opens after the review hold. You get an email when it is sent. Track it with skills-layer creator payouts.":e==="processing"?"Your withdrawal is on its way to your bank. You get an email when it is paid. Track it with skills-layer creator payouts.":""}function ar(e){let t=typeof e.payout=="object"&&e.payout!==null?e.payout:{},n=typeof t.currency=="string"?t.currency:"usd",i=typeof t.status=="string"?t.status:"";return["Withdrawal requested.",typeof t.payoutId=="string"?`Payout: ${t.payoutId}`:"",i?`Status: ${mn(i)}`:"",Ge(t),typeof e.availableAfterRequestCents=="number"?`Available after request: ${S(e.availableAfterRequestCents,n)}`:"",pn(i)].filter(Boolean).join(`
|
|
11
|
+
`)}function Q(e){return!e||!Number.isFinite(Date.parse(e))?"Not recorded":new Date(e).toISOString().slice(0,16).replace("T"," ")+" UTC"}function Ke(e,t){return t!==!0&&Q(e)!=="Not recorded"?"Cooling ended":"Cooling ends"}function Je(e){let t=Q(e);return t==="Not recorded"?"Bank change date not recorded":`Bank changed ${t}`}function Qe(e){let t=typeof e.recoveringFromFutureEarningsCents=="number"?e.recoveringFromFutureEarningsCents:typeof e.withdrawableBalanceCents=="number"?-e.withdrawableBalanceCents:0;return!Number.isSafeInteger(t)||t<=0?"":`${S(t,typeof e.currency=="string"?e.currency:"usd")} already paid out is being recovered from future earnings. New sales count towards it first.`}function Xe(e="windowed"){return e==="fallback_all_time"?"Popular all time \u2014 no verified installs in the current window.":e==="fallback_newest"?"Newest skills \u2014 no verified installs in the current window.":"Trending from verified installs in the current window."}function Ze(e){let t=e.price,n=e.platformScore,i=e.reviews,r=e.issues,s=i?.visibleReviewCount??0;return[`Price: ${t?.display??"not available"}`,`Platform Score: ${n&&n.score!==null&&n.band!==null?`${n.score}/100 (${n.band})`:"not yet available"}`,`Reviews: ${s>0&&i?.averageVisibleRating!=null?`${i.averageVisibleRating.toFixed(1)}/5 from ${s} public ${s===1?"review":"reviews"}`:"No public reviews yet"}`,`Issues: ${r?.openIssueCount??0} open public issues`,...Array.isArray(e.decisionSignals)?e.decisionSignals.filter(o=>typeof o=="string").map(o=>`Signal: ${o}`):[]]}function gr(e,t,n){let i=Array.isArray(e.results)?e.results:[],r=[Xe(e.basis),"",`Trending results (${i.length})`,...i.map(s=>` ${s.name} (${s.slug})`)];if(i.length||r.push(" No skills matched these filters."),Array.isArray(e.warnings)&&r.push(...e.warnings.map(String)),r.push("","Next"),e.hasMore&&typeof e.nextCursor=="string"&&e.nextCursor){let s=new URLSearchParams(t);s.set("cursor",e.nextCursor),s.set("base-url",n);let o=a=>/^[a-zA-Z0-9_./:=,-]+$/u.test(a)?a:`'${a.replace(/'/gu,`'"'"'`)}'`;r.push(` skills-layer trending ${[...s].map(([a,l])=>`--${a} ${o(l)}`).join(" ")}`)}else r.push(" End of results. Adjust the filters to browse other skills.");return r.join(`
|
|
12
|
+
`)}var gn={no_results:"the keyword search found no skills",low_term_coverage:"the keyword results matched few of the query's words",few_results:"the keyword search found only a few partial matches",language_mismatch:"the query does not look like English and the keyword results were weak"};function hr(e,t){let n=e.assist;if(!n||typeof n.reason!="string")return null;let i=gn[n.reason]??"the keyword results were weak",r=e[t];return n.used===!0&&typeof r=="string"?`AI intent assist searched for "${f(r)}" because ${i}.`:`AI intent assist was tried because ${i}, but returned no better query (${f(String(n.source))}); showing keyword results.`}var et=()=>null;var P=88,hn=/(?:^|_)(?:blocked|cancelled|canceled|rejected|denied|expired|invalid|not_found|conflict|missing_required_argument)(?:$|_)/u,yn=/(?:^|_)(?:required|requires_action|warning|unverified|completion_pending)(?:$|_)/u,xn=/(?:^|_)(?:argument|field|input|parameter|protocol|value|not)_required(?:$|_)/u,bn=/(?:^|_)(?:failed|failure|internal_error|network_error|service_unavailable|timed_out|timeout)(?:$|_)/u,_n=/\b(?:required information is missing|unknown (?:command|option|flag)|invalid|already used|not found|blocked|cancelled|canceled|rejected|denied|expired|missing|not supported|could not be read|cannot write)\b/iu,wn=/\b(?:action|approval|authentication|checkout|confirmation|consent|human action|login|mfa|payment|purchase|registration|second factor|secure account connection|sign in|source connection|verification|workspace approval)\b[^.\n]*\b(?:required|needed|must be completed)\b|\b(?:complete|confirm|continue)\b[^.\n]*\b(?:browser|cli|terminal)\b/iu,Cn=/\b(?:failed|failure|service unavailable|server error|network error|timed out|timeout|could not complete)\b/iu;function X(e){let t=tt(e.status),n=tt(e.reasonCode),i=[t,n].filter(Boolean);return i.some(r=>hn.test(r))?"stopped":i.some(r=>yn.test(r)&&!xn.test(r))?"required":i.some(r=>bn.test(r))||e.summary&&ye(e.summary)==="failed"?"failed":e.exitCode!==void 0&&e.exitCode!==0?"stopped":"completed"}function ye(e){let t=Sn(e);return _n.test(t)?"stopped":wn.test(t)?"required":Cn.test(t)?"failed":"stopped"}function U(e,t){let n=t?"\u2014":"-",i=e.slice(0,1).toUpperCase()+e.slice(1);return`Skills Layer ${n} Action ${i}`}function tt(e){return f(e??"").trim().toLowerCase().replace(/[^a-z0-9]+/gu,"_")}function Sn(e){return f(e).split(/\n(?:Unchanged|Why|Next|Reference)(?:\s|$)/u,1)[0]}function E(e){return ct(C(e)).reduce((t,n)=>t+dt(n),0)}function nt(e,t){return e.split(`
|
|
13
|
+
`).flatMap(n=>ut(n,t))}function H(e,t,n){let i=f(e),r=f(t),s=n.width-2;if(n.width<12||E(i)+4>s)return r;let o=n.unicode?{topLeft:"\u250C",topRight:"\u2510",bottomLeft:"\u2514",bottomRight:"\u2518",horizontal:"\u2500",vertical:"\u2502"}:{topLeft:"+",topRight:"+",bottomLeft:"+",bottomRight:"+",horizontal:"-",vertical:"|"},a=`${o.horizontal} ${i} `,l=n.border??(h=>h),u=l(`${o.topLeft}${a}${o.horizontal.repeat(s-E(a))}${o.topRight}`),c=s-2,d=nt(r,c).map(h=>`${l(o.vertical)} ${be(h,c)} ${l(o.vertical)}`),g=l(`${o.bottomLeft}${o.horizontal.repeat(s)}${o.bottomRight}`);return[u,...d,g].join(`
|
|
14
|
+
`)}function w(e,t){return`${f(e)}
|
|
15
|
+
${f(t)}`}function Z(e,t){let n=t?"\u2022":"-";return e.map(i=>`${n} ${f(i)}`).join(`
|
|
16
|
+
`)}function it(e,t){let n=e.map(([s,o])=>[f(s),f(o)]),i=n.reduce((s,[o])=>Math.max(s,E(o)),0),r=t<i+24;return n.map(([s,o])=>r?`${s}
|
|
17
|
+
${o}`:`${be(s,i)} ${o}`).join(`
|
|
18
|
+
`)}function rt(e,t){if(e.length===0)return"";let n=e.map(l=>l.map(f)),i=Math.max(...n.map(l=>l.length)),r=Array.from({length:i},(l,u)=>Math.max(...n.map(c=>E(c[u]??"")))),s=Math.max(i,t-(i-1)*2),o=Math.max(8,Math.floor(s/i)),a=r.map(l=>Math.min(l,o));return n.flatMap(l=>{let u=l.map((d,g)=>nt(d,a[g])),c=Math.max(...u.map(d=>d.length));return Array.from({length:c},(d,g)=>u.map((h,_)=>be(h[g]??"",a[_])).join(" ").trimEnd())}).join(`
|
|
19
|
+
`)}function st(e,t,n){return H(e,t,n)}function kn(e,t,n,i=xe){let r=f(e),s=f(t);return n?i(r,s,{fallback:(o,a)=>o===a?a:`${o} (${a})`}):r===s?s:`${r} (${s})`}function ot(e,t,n=xe){let i=f(e);return lt(i,t,n)}function at(e,t,n=xe){let i=qe(e);return lt(i,t,n)}function lt(e,t,n){return e.replace(/https?:\/\/[^\s<>"'\u001B]+/gu,i=>{let r=/[),.;!?]+$/u.exec(i)?.[0]??"",s=r?i.slice(0,-r.length):i;return`${kn(s,s,t,n)}${r}`})}function xe(e,t,n){return/^https?:\/\//u.test(t)?`\x1B]8;;${t}\x1B\\${e}\x1B]8;;\x1B\\`:n.fallback(e,t)}function ut(e,t){let n=Math.max(1,t);if(E(e)<=n)return[e];let i=/^ */u.exec(e)[0];if(i.length>0&&i.length<n)return ut(e.slice(i.length),n-i.length).map(o=>`${i}${o}`);let r=[],s="";for(let o of e.trim().split(/\s+/u)){let a=s?`${s} ${o}`:o;if(E(a)<=n){s=a;continue}s&&(r.push(s),s="");let l=Tn(o,n);r.push(...l.slice(0,-1)),s=l.at(-1)}return r.push(s),r}function Tn(e,t){let n=[],i="",r=0;for(let s of ct(e)){let o=dt(s);i&&r+o>t&&(n.push(i),i="",r=0),i+=s,r+=o}return n.push(i),n}function be(e,t){return`${e}${" ".repeat(Math.max(0,t-E(e)))}`}function ct(e){return[...new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(e)].map(t=>t.segment)}function dt(e){if(new RegExp("\\p{Extended_Pictographic}","u").test(e))return 2;let t=e.codePointAt(0);return t>=4352&&(t<=4447||t===9001||t===9002||t>=11904&&t<=42191||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65135||t>=65280&&t<=65376||t>=65504&&t<=65510||t>=131072&&t<=262141)?2:1}var vn=/(?:api[-_]?key|secret|password|access[-_]?token|refresh[-_]?token|bearer|private[-_]?key|credential|authorization)/iu,Rn=/^(?:schemaVersion|storageKey|archiveSha256|manifestSha256|content|raw|artifactEnvelope|artifactApproval|securityRuleSummary|materializedWrites)$/u,_e=["skillSlug","displayName","name","version","status","scope","agent","workspaceId","enterpriseId","email","role","edition","visibility","runtimeRisk","recommendation","priceCents","selectedBackend","selectedBaseUrl","loggedIn","valid","count","total"];function Ir(e,t,n=P){let i=O(t),r=Wn(n),s=we(e.data),o=Bn(s),a={completedLogin:o,identity:o||e.identityPrivacy===!0},l=o?"Logged in successfully.":R(f(e.summary)),u=X({status:e.status,reasonCode:e.reasonCode??pt(s,"reasonCode"),summary:l}),c=u==="completed"&&pt(s,"summaryTone")==="neutral"?"finished":u,d=c==="completed"?t.unicode?i.symbols.success:"OK":c==="finished"?i.symbols.info:c==="required"?i.symbols.warning:i.symbols.failure,h=[`${mt(c,i)(d)} ${l}`];h.push(...En(s,i)),h.push(...Nn(s,l,t.detail,i));let _=y(s)&&Array.isArray(s.requestedSlugs)&&Array.isArray(s.results)?s.results.filter(y).map(k=>[String(k.name??k.slug??"Skill"),...Ze(k)].join(`
|
|
20
|
+
`)).join(`
|
|
21
|
+
|
|
22
|
+
`):void 0;_&&h.push(w(i.heading("Comparison details"),_));let m=et(s);m&&h.push(m);let x=$n(m||_?void 0:s,t.detail,a);x.entries.length>0&&h.push(w(i.heading("Details"),it(x.entries,r)));let b=m||_?void 0:Pn(s,t.detail);if(b?h.push(w(i.heading(x.rowsTitle),b)):x.rows.length>0&&h.push(w(i.heading(x.rowsTitle),rt(x.rows,r))),h.push(...Mn(s,t.detail,i)),s!=null&&!y(s)&&!Array.isArray(s)){let k=f(String(s));k&&!l.includes(k)&&h.push(w(i.heading("Result"),` ${k}`))}e.warnings&&e.warnings.length>0&&h.push(w(i.warning("Attention"),Z(e.warnings.slice(0,3),t.unicode)));let v=jn(y(s)?s:void 0),L=[...v,...(e.next??[]).filter(k=>!v.some(cn=>cn.label===k.label))];h.push(An(L,t,["ok","ready","success","succeeded","completed","pass","passed","done","logged_in"].includes(e.status)));let j=R(h.filter(Boolean).join(`
|
|
23
|
+
|
|
24
|
+
`));if(!t.screenReader){let k=mt(c,i);return st(U(c,t.unicode),j,{width:r,unicode:t.unicode,border:k})}return j}function En(e,t){if(!y(e))return[];let n=[],i=Array.isArray(e.checks)?e.checks.find(o=>y(o)&&o.id==="price_review"&&typeof o.summary=="string"&&o.summary.trim()!==""):void 0;i&&n.push(w(t.heading("Price review"),` ${f(String(i.summary))}`));let r=y(e.effectiveness)?e.effectiveness:void 0;if(r){let o=y(r.score)?r.score:void 0,a=o&&y(o.components)?o.components:void 0,l=typeof o?.effectiveScorePercent=="number"?o.effectiveScorePercent:typeof o?.overallScore=="number"?Math.round(o.overallScore*1e3)/10:void 0,u=[$("Label",r.label),$("Latest summary",r.latestSummaryStatus??r.status),$("Effectiveness rating",l===void 0?void 0:`${l}%`),$("Pass rate",a?.passRate),$("Coverage",a?.coverageRatio),$("Evidence",r.evidenceCount),...Array.isArray(r.assessmentCoverage)?r.assessmentCoverage.filter(y).map(c=>$("Assessment scope",`${c.assessedRanges} of ${c.availableRanges} source ranges assessed; ${c.untestedRanges} untested. Score applies to the sample.`)):[]].filter(c=>c!==void 0);u.length>0&&n.push(w(t.heading("Effectiveness"),u.map(c=>` ${c}`).join(`
|
|
25
|
+
`)))}let s=y(e.trust)?e.trust:e.recommendation!==void 0||e.securityScore!==void 0||e.runtimeRisk!==void 0?e:void 0;if(s){let o=y(s.capabilityProfile)?s.capabilityProfile:void 0,a=[$("Recommendation",s.recommendation),$("Runtime risk",o?.runtimeRisk??s.runtimeRisk),y(e.trust)&&y(e.securityPosture)?"Source: skills-layer trust":void 0].filter(l=>l!==void 0);a.length>0&&n.push(w(t.heading("Trust"),a.map(l=>` ${l}`).join(`
|
|
26
|
+
`)))}return n}function $(e,t){if(!(t==null||typeof t=="object"))return`${e}: ${f(String(t))}`}function $n(e,t,n){if(!y(e))return{entries:[],rows:[],rowsTitle:"Results"};if(n.completedLogin)return{entries:[["Logged In","yes"],["Email",M("email",e.email,n)],["Role",M("role",e.role,n)],e.id===void 0?void 0:["Key ID",M("id",e.id,n)],e.userId===void 0?void 0:["User Id",M("userId",e.userId,n)]].filter(g=>g!==void 0),rows:[],rowsTitle:"Results"};let i=t==="concise"?4:t==="standard"?8:16,r=In(e).filter(d=>Ln(d,t)),s=[];if(y(e.payoutSettlementPolicy)){let d=e.payoutSettlementPolicy;s.push(["Payout policy",`${d.policyId} revision ${d.revision}`],["Payout maturity (hours)",String(d.effectiveMinimumMaturityHours)],["Payout policy digest",String(d.digest)])}typeof e.releaseSha=="string"&&s.push(["App release SHA (serving worker)",f(e.releaseSha)]),y(e.atomicRelease)&&typeof e.atomicRelease.releaseSha=="string"&&s.push(["Platform release SHA (atomic snapshot)",f(e.atomicRelease.releaseSha)+(e.atomicRelease.manifestStale===!0&&typeof e.atomicRelease.buildSha=="string"?` (stale: live build ${f(e.atomicRelease.buildSha)})`:"")]);for(let d of r){if(d==="releaseSha"&&typeof e.releaseSha=="string")continue;let g=e[d];if(!(g==null||Array.isArray(g)||y(g))&&(s.push([ee(d),M(d,g,n,typeof e.currency=="string"?e.currency:"usd")]),s.length>=i))break}let o=gt(e);if(!o)return{entries:s,rows:[],rowsTitle:"Results"};let a=t==="concise"?3:t==="standard"?5:12,l=o.values.slice(0,a),u=On(l,t),c=u.length===0?[]:[u.map(ee),...l.map(d=>u.map(g=>y(d)?M(g,d[g],n,typeof d.currency=="string"?d.currency:"usd")??"\u2014":f(String(d))))];return o.values.length>a&&c.length>0&&c.push([`\u2026 ${o.values.length-a} more`,...u.slice(1).map(()=>"")]),{entries:s,rows:c,rowsTitle:`${ee(o.key)} (${o.values.length})`}}function An(e,t,n){let i=O(t);if(e.length===0)return w(i.heading("Next"),` ${i.info(i.symbols.active)} ${n?"No further action is required.":"Review the status and guidance before continuing."}`);let r=e.slice(0,3).map((s,o)=>{let l=(s.command?[s.command.executable,...s.command.args].join(" "):void 0)??s.url??s.label;return`${o===0?i.symbols.active:i.symbols.bullet} ${f(l)}`});return w(i.heading("Next"),r.join(`
|
|
27
|
+
`))}function we(e){if(!y(e))return e;let t=e;for(let n=0;n<3&&y(t.data);n+=1){let i=t.data,r=typeof t.schemaVersion=="string"||["summary","why","nextAction","nextStep","reasonCode","handoff"].some(o=>o in t),s=["status","skillSlug","version","selectedBackend","selectedBaseUrl","loggedIn"].filter(o=>t[o]!==void 0&&t[o]===i[o]).length;if(!r&&s<2)break;t=i}return t}function In(e){let t=_e.filter(n=>n in e);return[...t,...Object.keys(e).filter(n=>!t.includes(n)).sort()]}function Ln(e,t){return vn.test(e)||t!=="full"&&Rn.test(e)?!1:!["summary","nextAction","nextStep","why","warnings","links","handoff","recommendation","securityScore","runtimeRisk","publishedLedgerScore","effectiveBuyerTrustScore"].includes(e)}function gt(e){for(let t of["results","candidates","items","skills","checks","issues","reviews","workspaces","members","purchases","payouts"])if(Array.isArray(e[t]))return{key:t,values:e[t]}}function On(e,t){let n=e.filter(y);if(n.length===0)return e.length>0?["value"]:[];let i=t==="full"?6:t==="concise"?2:4,r=n.some(s=>"lastUsedAt"in s)?["id","device","lastUsedAt",..._e,"createdAt"]:[..._e,"id","title","label","updatedAt","createdAt"];return r.filter((s,o)=>r.indexOf(s)===o&&n.some(a=>a[s]!==void 0)).slice(0,i)}function Pn(e,t){if(!y(e))return;let n=gt(e);if(!n)return;let i=n.values.filter(y);if(!i.some(a=>typeof a.description=="string"||typeof a.shortDescription=="string"||y(a.securityPosture)))return;let s=t==="concise"?3:t==="standard"?5:12,o=i.slice(0,s).flatMap((a,l)=>{let u=T(a,["name","displayName","skillSlug","slug"])??`Item ${l+1}`,c=T(a,["shortDescription","description"]),d=y(a.securityPosture)?a.securityPosture:void 0,g=T(a,["skillSlug","slug"]),h=T(a,["version","currentVersion"]),_=d?T(d,["runtimeRisk"]):T(a,["runtimeRisk"]),m=y(a.platformScore)&&typeof a.platformScore.score=="number"?a.platformScore:void 0,x=[g?`slug: ${g}`:void 0,h?`version: ${h}`:void 0,m?`Platform Score: ${m.score}/100${typeof m.band=="string"?` (${m.band})`:""}`:void 0,_?`risk: ${_}`:void 0].filter(b=>b!==void 0).join(" \xB7 ");return[`${l+1}. ${f(u)}`,...c?[` ${f(c)}`]:[],...x?[` ${f(x)}`]:[],...d&&g&&l===0?[` -> skills-layer show ${f(g)}`]:[]]});return i.length>s&&o.push(`\u2026 ${i.length-s} more`),o.join(`
|
|
28
|
+
`)}function Mn(e,t,n){if(!y(e)||!Array.isArray(e.issues)||e.issues.length===0)return[];let i=t==="concise"?3:t==="standard"?5:12,r=e.issues.slice(0,i).map(s=>{if(!y(s))return f(String(s));let o=T(s,["code","id","type"]),a=T(s,["message","summary","description"]);return f([o,a].filter(Boolean).join(": ")||"Issue details available")});return e.issues.length>i&&r.push(`\u2026 ${e.issues.length-i} more`),[w(n.warning("Attention"),Z(r,!0))]}function Nn(e,t,n,i){if(!y(e))return[];let r=[],s=Qe(e);if(s&&r.push(w(i.heading("Earnings recovery"),typeof e.withdrawableBalanceCents=="number"?` Withdrawable now: ${S(Math.max(0,e.withdrawableBalanceCents),typeof e.currency=="string"?e.currency:"usd")}
|
|
29
|
+
${s}`:` ${s}`)),y(e.profile)&&y(e.profile.bank)){let a=e.profile,l=a.bank;r.push(w(i.heading("Payout destination"),[`Bank: ending ${f(String(l.last4))}`,Je(typeof l.changedAt=="string"?l.changedAt:null),`${Ke(typeof a.destinationCoolingEndsAt=="string"?a.destinationCoolingEndsAt:null,a.coolingActive)}: ${Q(typeof a.destinationCoolingEndsAt=="string"?a.destinationCoolingEndsAt:null)}`].join(`
|
|
30
|
+
`)))}let o=T(e,["summary","description"]);if(o&&o!==t&&r.push(w(i.heading("What this means"),` ${f(o)}`)),Array.isArray(e.availableWorkflows)){let a=n==="concise"?2:n==="standard"?3:8,l=e.availableWorkflows.filter(u=>typeof u=="string").slice(0,a);l.length>0&&r.push(w(i.heading("Available workflows"),Z(l,!0)))}return r}function T(e,t){for(let n of t){let i=e[n];if(typeof i=="string"&&i.trim())return i.trim()}}var Dn=/^(?:none|no_action|no_action_required)$/iu,ft=Object.freeze({contact_support:"Contact Skills Layer support; this request stopped and will not continue on its own.",wait:"Wait; Skills Layer continues automatically.",wait_for_platform_evaluation:"Wait for the platform evaluation to finish; Skills Layer continues automatically."});function jn(e){if(!e)return[];let t=T(e,["nextStep","nextAction"]),n=t&&Dn.test(t)?void 0:t&&ft[t]?ft[t]:t,i=T(e,["recommendedCommand"]),r=i??/`(?<command>skills-layer(?: [^`]+)?)`/u.exec(n??"")?.groups?.command;if(!r&&!n)return[];if(!r)return[{id:"next",kind:"wait",label:n,safeToAutoRun:!1,requiresHuman:!0,safety:"mutating"}];let s=r==="skills-layer"?[]:r.slice(12).trim().split(/\s+/u),o=Fn(s),a=[{id:"next",kind:"command",label:n??r,command:{executable:"skills-layer",args:s},safeToAutoRun:o,requiresHuman:!o,safety:o?"read-only":"mutating"}];return i&&n&&n!==i&&!n.includes(i)&&a.push({id:"guidance",kind:"wait",label:n,safeToAutoRun:!1,requiresHuman:!1,safety:"read-only"}),a}function Fn(e){return e[0]==="creator"&&e[1]==="status"||/^(?:help|status|doctor|show|search|trust|check|list|whoami|profile|installed|categories|compare|recommend)$/u.test(e[0]??"")?!0:e[0]==="mcp"&&["status","verify"].includes(e[1]??"")}function M(e,t,n,i="usd"){if(e==="lastUsedAt")return typeof t=="string"?f(t).slice(0,10):"Never";if(t!=null){if(e==="downloadUrl")return"<hidden; use --json or --output>";if(typeof t=="boolean")return t?"yes":"no";if(e==="priceCents"&&typeof t=="number")return`US$${(t/100).toFixed(2)}`;if(typeof t=="number")return e.toLowerCase().endsWith("cents")?S(e==="withdrawableBalanceCents"?Math.max(0,t):t,i):String(t);if(typeof t=="string"){let r=f(t).replace(/\s+/gu," ").slice(0,180);return n.identity&&!n.completedLogin&&e==="role"?Ve(r):R(r)}return Array.isArray(t)?`${t.length} items`:y(t)?["status","skillSlug","version","name","id"].flatMap(o=>t[o]===void 0?[]:[`${ee(o)} ${M(o,t[o],n)}`]).slice(0,3).join(" \xB7 ")||"details available":f(String(t))}}function ee(e){return e==="priceCents"?"Price":e==="lastUsedAt"?"Last used (UTC)":e.replace(/Cents$/u,"").replace(/([a-z0-9])([A-Z])/gu,"$1 $2").replace(/[_-]+/gu," ").replace(/^./u,t=>t.toUpperCase())}function mt(e,t){return e==="completed"?t.success:e==="finished"?t.info:e==="required"?t.warning:t.danger}function pt(e,t){return y(e)&&typeof e[t]=="string"?e[t]:void 0}function Bn(e){return!y(e)||e.selectedBackend!==void 0||e.selectedBaseUrl!==void 0||e.loggedIn===!1||typeof e.email!="string"||typeof e.role!="string"?!1:e.loggedIn===!0?!0:typeof e.status=="string"&&["logged_in","exchanged","verified","recovered"].includes(e.status)}function Wn(e){return Math.max(32,Math.min(Number.isFinite(e)?e:P,P))}function y(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}var Un="skills-layer-cli-event-v1";function yt(e){let t=0,n=e.now??(()=>new Date().toISOString());return(i,r)=>{let s=I(r.summary,"summary",512),o=r.redactedDetail===void 0?void 0:I(r.redactedDetail,"redacted detail",2048),a=r.next?.map(c=>({id:I(c.id,"next-action ID",128),kind:c.kind,label:I(c.label,"next-action label",512),...c.command===void 0?{}:{command:{executable:c.command.executable,args:c.command.args.map(d=>I(d,"next-action argument",1024))}},...c.url===void 0?{}:{url:ht(c.url)},safeToAutoRun:c.safeToAutoRun,requiresHuman:c.requiresHuman,...c.rationale===void 0?{}:{rationale:I(c.rationale,"next-action rationale",1024)},safety:c.safety})),l=r.links?.map(c=>{let d=ht(c.url);return{label:I(c.label,"link label",512),url:d}}),u=r.data===void 0?void 0:Ce(r.data);return t+=1,{schemaVersion:Un,operationId:f(e.operationId),sequence:t,timestamp:n(),type:i,command:{name:f(e.command.name)},...r,summary:s,...o===void 0?{}:{redactedDetail:o},...a===void 0?{}:{next:a},...l===void 0?{}:{links:l},...u===void 0?{}:{data:u}}}}function ht(e){let t=I(e,"link URL",2048);if(!/^https?:\/\//u.test(t))throw new Error("CLI event links must use http or https URLs.");return t}function I(e,t,n){let i=f(e);if(i.length>n)throw new Error(`CLI event ${t} exceeds ${n} characters.`);return i}function Ce(e,t=""){return/(?:api[-_]?key|secret|password|access[-_]?token|refresh[-_]?token|bearer|private[-_]?key|credential|authorization)/iu.test(t)||/^(?:handoffCode|deviceCode|userCode|verificationCode|recoveryCodes?|oneTimeCode|mcpToken)$/iu.test(t)?"[redacted-secret]":typeof e=="string"?J(e):Array.isArray(e)?e.map(n=>Ce(n)):typeof e=="object"&&e!==null?Object.fromEntries(Object.entries(e).map(([n,i])=>[n,Ce(i,n)])):e}var Hn=["human","json","stream-json"],xt=["auto","always","never"],qn=["auto","modern","classic"],Vn=["concise","standard","full"];function bt(e){let t=[],n={},i=!1;for(let r=0;r<e.length;r+=1){let s=e[r];if(i){t.push(s);continue}if(s==="--"){i=!0,t.push(s);continue}let[o,a]=zn(s);if(o==="--output-format"){let[l,u]=q(o,a,e[r+1],Hn);n.outputFormat=l,r+=u}else if(o==="--color"){let[l,u]=q(o,a,e[r+1],xt);n.color=l,r+=u}else if(o==="--motion"){let[l,u]=q(o,a,e[r+1],xt);n.motion=l,r+=u}else if(o==="--ui"){let[l,u]=q(o,a,e[r+1],qn);n.ui=l,r+=u}else if(o==="--detail"){let[l,u]=q(o,a,e[r+1],Vn);n.detail=l,r+=u}else s==="--no-color"?n.color="never":s==="--no-motion"?n.motion="never":s==="--screen-reader"?n.screenReader=!0:s==="--no-interactive"?n.interactive=!1:s==="--ascii"?n.unicode=!1:t.push(s)}return{args:t,options:n}}function _t(e,t,n){let i=e.outputFormat??"human",r=e.screenReader===!0,s=te(t.CI),o=t.TERM==="dumb",a=n.stdinIsTty&&n.stdoutIsTty&&n.stderrIsTty,l=e.ui!=="classic",u=e.ui==="classic",c=e.detail??(i==="human"?"concise":"standard"),d=a&&!s&&!o&&l&&!r&&e.interactive!==!1,g=d&&e.motion!=="never",h=d&&g,_=!r&&e.color!=="never"&&(e.color==="always"||!te(t.NO_COLOR)&&!u&&(te(t.FORCE_COLOR)||!s&&!o&&n.stdoutIsTty)),m=e.unicode!==!1&&!te(t.NO_UNICODE)&&!o;return i==="json"?{kind:"json-final",color:!1,motion:!1,interactive:!1,unicode:!1,screenReader:r,classic:u,detail:c}:i==="stream-json"?{kind:"json-stream",color:!1,motion:!1,interactive:!1,unicode:!1,screenReader:r,classic:u,detail:c}:{kind:h?"human-interactive":"human-static",color:_,motion:g,interactive:h,unicode:m,screenReader:r,classic:u,detail:c}}function zn(e){let t=e.indexOf("=");return t===-1?[e,void 0]:[e.slice(0,t),e.slice(t+1)]}function q(e,t,n,i){let r=t??n;if(r===void 0||r.startsWith("--")||!i.includes(r))throw new Error(`${e} expects one of: ${i.join(", ")}.`);return[r,t===void 0?1:0]}function te(e){return e!==void 0&&e!==""&&e!=="0"&&e.toLowerCase()!=="false"}function Ur(e,t,n){let i=bt(e),r=Yn(i.args)&&i.options.outputFormat===void 0?{...i.options,outputFormat:"json"}:i.options,s=_t(r,t,n);return{args:s.kind==="json-final"||s.kind==="json-stream"?Jn(i.args):i.args,options:r,mode:s}}function Yn(e){let t=e.indexOf("--");return(t===-1?e:e.slice(0,t)).includes("--json")}function Hr(e,t,n="standard"){let i=yt(e),r=[],s=!1,o=l=>{r.push(l),t?.(l)},a=e.command.name||"skills-layer";return o(i("operation.started",{summary:`${a} started.`})),n!=="concise"&&o(i("step.started",{summary:`Running ${a}.`,stepId:"command",stepLabel:`Run ${a}`})),{events:r,info(l){if(s)throw new Error("Cannot emit CLI progress after the terminal event.");o(i("step.progress",{summary:l,stepId:"command",stepLabel:`Run ${a}`}))},finish(l){if(s)throw new Error("CLI event session already has a terminal event.");s=!0;let u=Qn(l,n);n!=="concise"&&o(i(Kn(l.exitCode,u.status),{summary:l.exitCode===0?Gn(u.status,a):`Stopped ${a}.`,status:u.status,stepId:"command",stepLabel:`Run ${a}`,...u.reasonCode===void 0?{}:{reasonCode:u.reasonCode}}));let c=i(ni(l.exitCode,u.status),{summary:u.summary,status:u.status,...u.reasonCode===void 0?{}:{reasonCode:u.reasonCode},data:u.data,...u.next.length===0?{}:{next:u.next},...u.links.length===0?{}:{links:u.links}});l[K]&&(c.data={...c.data,apiKey:l[K]}),o(c)}}}function Gn(e,t){let n=e.toLowerCase();return n==="install_pending_review"||n==="source_submitted"||n.includes("pending")?`Submitted ${t}.`:n==="installed_unverified"?"Installed unverified source.":`Completed ${t}.`}function Kn(e,t){return e===0?"step.succeeded":t==="blocked"?"step.blocked":t==="cancelled"||t==="canceled"?"step.cancelled":"step.failed"}function qr(e,t,n){return i=>{e.kind==="json-stream"&&t.push(i),n?.(i)}}function Vr(e,t){return n=>{e.info(n),t?.(n)}}function zr(e){let t=e.setTimer??((s,o)=>setTimeout(s,o)),n=e.clearTimer??(s=>clearTimeout(s)),i=f(e.commandName)||"command",r=t(()=>{r=void 0,e.session.info(`Waiting for ${i} to complete.`)},e.delayMs??80);return()=>{r!==void 0&&(n(r),r=void 0)}}function Jn(e){let t=e.indexOf("--");return(t===-1?e:e.slice(0,t)).includes("--json")?e:t===-1?[...e,"--json"]:[...e.slice(0,t),"--json",...e.slice(t)]}function Qn(e,t){let n=e.stdout||e.stderr;try{let i=JSON.parse(n);if(ne(i)){let r=A(i.summary)??wt(n),s=A(i.status)??(e.exitCode===0?"ok":"failed"),o=A(i.reasonCode);return{summary:r,status:s,...o===void 0?{}:{reasonCode:o},data:we(i),next:Xn(i),links:Zn(i)}}}catch{}return{summary:wt(n)||(e.exitCode===0?"Operation completed.":"Operation failed."),status:e.exitCode===0?"ok":"failed",data:t==="full"?{exitCode:e.exitCode,stdout:e.stdout,stderr:e.stderr}:{exitCode:e.exitCode},next:[],links:[]}}function Xn(e){let t=ne(e.data)?e.data:void 0,n=A(e.nextAction)??(t?A(t.nextAction):void 0),i=A(e.nextStep)??(t?A(t.nextStep):void 0);if(!n&&!i)return[];let r=i??`Continue with ${n}.`,s=/`(?<command>skills-layer(?: [^`]+)?)`/u.exec(r)?.groups?.command,o=s===void 0?void 0:ei(s),a=e.handoff!==null&&e.handoff!==void 0||/https?:\/\//u.test(r),l=/(?:^|[.:])(help|status|show|search|list|doctor|check|version|capabilities|guide|schema)(?:$|[.:])/u.test(n??""),u=a?/https?:\/\/[^\s)]+/u.exec(r)?.[0]:void 0;return[{id:ti(n??(a?"open-url":"next")),kind:a?"open_url":o?"command":l?"read_help":"wait",label:r,...o===void 0?{}:{command:o},...u===void 0?{}:{url:f(u)},safeToAutoRun:l&&!a&&o!==void 0,requiresHuman:a||!l,safety:a?"external-handoff":l?"read-only":"mutating"}]}function Zn(e){let t=ne(e.data)?e.data:void 0,n=Array.isArray(e.links)?e.links:t&&Array.isArray(t.links)?t.links:void 0;return n?n.flatMap(i=>{if(!ne(i))return[];let r=A(i.url);return!r||!/^https?:\/\//u.test(r)?[]:[{label:A(i.label)??r,url:r}]}):[]}function ei(e){let t=f(e).trim(),n=t==="skills-layer"?"":t.slice(12).trim();return{executable:"skills-layer",args:n?n.split(/\s+/u):[]}}function ti(e){return f(e).toLowerCase().replace(/[^a-z0-9]+/gu,"-").replace(/^-|-$/gu,"").slice(0,128)||"next"}function ni(e,t){return e===0?"operation.succeeded":t==="blocked"?"operation.blocked":t==="cancelled"||t==="canceled"?"operation.cancelled":"operation.failed"}function wt(e){return f(e).split(`
|
|
31
|
+
`,1)[0]}function ne(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function A(e){return typeof e=="string"&&e.trim()?f(e):void 0}function Yr(e){let[t,n]=e.filter(i=>!i.startsWith("-"));return t===void 0?"skills-layer":t==="install"&&(n==="status"||n==="cancel")?`install ${n}`:t}var Ct=Symbol("raw-cli-stdout");function Kr(e){return{exitCode:0,stdout:e,stderr:"",[Ct]:!0}}function St(e){return e[Ct]===!0}function Qr(e){if(!e.isTTY)return{shouldSkip:()=>!1,dispose:()=>{}};let t=!1,n=!1,i="readableFlowing"in e&&e.readableFlowing===!0,r=()=>{t=!0};return e.on("data",r),e.resume(),{shouldSkip:()=>t,dispose(){n||(n=!0,e.removeListener("data",r),i||e.pause())}}}function ii(e){return e.match(/\n|[^\S\n]+|\S+[^\S\n]*/gu)??[]}async function kt(e,t){if(!t.enabled){t.write(e);return}let n=ii(e),i=Math.max(1,t.maxAnimatedChunks??24);for(let r=0;r<n.length;r+=1){if(r>=i||t.shouldSkip?.()){t.write(n.slice(r).join(""));return}t.write(n[r]),r+1<n.length&&await t.sleep(t.delayMs??12)}}var F=/(?:^|\n)[│|]?[^\S\r\n]*(?:Next:[^\r\n]*|Next[^\S\r\n]*(?:[│|][^\S\r\n]*)?)(?=\n|$)/imu;function Tt(e,t,n=P){let i=ie(R(f(e))),r=Lt(i)??"skills-layer --help",s=F.test(i)?i:Ot(i,r),o=ye(i),a=O(t),l=Mt(o,a);return H(U(o,t.unicode),s,{width:Math.max(24,Math.min(n,88)),unicode:t.unicode,border:l})}function vt(e,t,n=P){let i=ie(R(f(e)));if(t.screenReader)return i;if(Se(i))return ri(i,t);let r=C(i.split(`
|
|
32
|
+
`,1)[0]);return ke(r)?i:H(U(Pt(r,C(i.split(`
|
|
33
|
+
`,2)[1]??"")),t.unicode),i,{width:Math.max(32,Math.min(n,88)),unicode:t.unicode})}function ri(e,t){let n=[pe,ge,me].find(i=>e.startsWith(`${i}
|
|
34
|
+
`));return n?`${Ye(t)}${e.slice(n.length)}`:e}function Rt(e){let t=ie(R(f(e)).replace(/\s+$/u,""));if(F.test(t))return t;let n=Lt(t)??"skills-layer --help";return Ot(t,n)}function Et(e){let t=e.indexOf("Skills Layer CLI"),n=e.slice(0,Math.max(0,t));return t<=0||![pe,ge,me].some(i=>n.includes(i))?e:`Skills-Layer
|
|
35
|
+
|
|
36
|
+
${e.slice(t)}`}function $t(e,t){let n=C(e);if(F.test(n)||Se(n))return ie(e);let i=O(t),r=/(?:Run|Try|Use)\s+`(?<command>skills-layer [^`]+)`/iu.exec(e)?.groups?.command,[s,o=""]=n.split(`
|
|
37
|
+
`,2),a=ke(s)??Pt(s,o),l=/^\s*Next step:\s*(?<step>\S.*)$/mu.exec(n)?.groups?.step,u=r??(a!=="completed"?l??"Review the status and guidance before continuing.":"No further action is required.");return`${e.replace(/\s+$/u,"")}
|
|
38
|
+
|
|
39
|
+
${i.heading("Next")}
|
|
40
|
+
${i.info(i.symbols.active)} ${u}`}function At(e,t){if(/^\u001B\[[0-9;]*m(?:┌|\+)/u.test(e))return e;let n=e.split(`
|
|
41
|
+
`),i=C(n[0]),r=ke(i);if(!r)return e;let s=O(t),o=Mt(r,s);return n.forEach((a,l)=>{if(l===0||l===n.length-1){n[l]=o(a);return}let u=a.slice(0,1),c=a.slice(-1);(u==="\u2502"&&c==="\u2502"||u==="|"&&c==="|")&&(n[l]=`${o(u)}${a.slice(1,-1)}${o(c)}`)}),n.join(`
|
|
42
|
+
`)}function Se(e){return/^(?:┌─ |\+- )?Skills Layer (?:—|-) Skill Details(?:\s|$)/u.test(e)||/(?:^|\n)[^\n]*Price reviews \([1-9]\d*\)/u.test(e)||/(?:^|\n)[│|]?\s*(?:Comparison (?:\(\d+\)|details)|Trending results \(\d+\))\s*(?:[│|]\s*)?(?:\n|$)/u.test(C(e))||/\nUsage:\s*\n/u.test(e)||/^Skills Layer help:/u.test(e)||/^Skills Layer enterprise help(?:\n|$)/u.test(e)||/^skills-layer \d+\.\d+\.\d+\s*$/u.test(e.trim())}function It(e,t){if(t.detail==="full"||Se(e))return e;let n=t.detail==="concise"?14:24,i=C(e).split(`
|
|
43
|
+
`),r=/^(?:┌─ |\+- )(?<title>Skills Layer (?:—|-) Action (?:Completed|Required|Stopped|Failed|Finished)) [─-]+[┐+]$/u.exec(i[0])?.groups?.title;if(r&&i.length>n&&/^[└+][─-]+[┘+]$/u.test(i.at(-1))){let m=i.slice(1,-1).map(j=>j.slice(2,-2).trimEnd()),x=m.findIndex(j=>F.test(j)),b=x>=0?m.slice(x):[],v=Math.min(m.length-b.length,Math.max(1,n-b.length-3)),L=m.length-v-b.length;return L===0?e:H(r,[...m.slice(0,v),`\u2026 ${L} lower-priority lines hidden; rerun with --detail full.`,...b].join(`
|
|
44
|
+
`),{width:E(i[0]),unicode:t.unicode})}let s=t.detail==="concise"?6:10,o=[],a=new Set,l=0,u=0;for(let m of e.split(`
|
|
45
|
+
`)){let x=/^(?<identity>[a-z0-9_-]+ \[[^\]]+\])(?:\s+(?:project|global)=.*)?$/iu.exec(m.trim())?.groups?.identity;if(x&&(l+=1,l>s)){u+=1;continue}let b=x??m,v=b.trim(),L=x!==void 0||b===b.trimStart();v&&L&&a.has(v)||(v&&L&&a.add(v),o.push(b))}if(u>0){let m=o.findIndex(b=>F.test(C(b))),x=`\u2026 ${u} more agents hidden; rerun with --detail full.`;o.splice(m>=0?m:o.length,0,x,"")}if(o.length<=n)return o.join(`
|
|
46
|
+
`);let c=o.findIndex(m=>F.test(C(m))),d=c>=0?o.slice(c):[],g=d.length>0?Math.min(d.length,5):0,h=n-g-2,_=o.length-h-g;return[...o.slice(0,h),"",`\u2026 ${_} lower-priority lines hidden; rerun with --detail full.`,...d.slice(0,g)].join(`
|
|
47
|
+
`)}function Lt(e){let t=/^Next:\s*(?<next>.+)$/imu.exec(e)?.groups?.next?.trim();if(t)return t;let n=/`(?<command>skills-layer [^`]+)`/u.exec(e)?.groups?.command?.trim();if(n)return n;let i=/^(?<command>[a-z][a-z0-9 -]*?) requires (?:an? )?<(?<argument>[^>]+)>/iu.exec(e)?.groups;if(i)return`skills-layer ${i.command.trim()} <${i.argument.trim()}>`}function Ot(e,t){let i=/(?:requires|unknown (?:flag|command)|must be|expects one of|invalid)/iu.test(e)?"No changes were made because validation stopped the command.":"No additional change is claimed; check command status before retrying.";return[e,"","Unchanged",` ${i}`,"","Next",` ${t}`].join(`
|
|
48
|
+
`)}function ie(e){let t=e.split(`
|
|
49
|
+
`);for(let n=t.length-1;n>0;n-=1)/^\s*Next(?::.*)?\s*$/iu.test(C(t[n]))&&t[n-1].trim()!==""&&t.splice(n,0,"");return t.join(`
|
|
50
|
+
`)}function ke(e){return/Skills Layer (?:—|-) Action (?<state>Completed|Stopped|Failed|Required|Finished)/u.exec(e)?.groups?.state?.toLowerCase()}function Pt(e,t){if(/^Action required:/u.test(e))return"required";let n=/^Status: (?<state>.+)$/u.exec(t)?.groups?.state,i=n?X({status:n}):"completed";return i==="stopped"||i==="failed"?i:"completed"}function Mt(e,t){return e==="completed"?t.success:e==="required"?t.warning:e==="finished"?t.info:t.danger}async function cs(e,t){if(e.stdout&&St(e))t.writeStdout(Te(e.stdout));else if(e.stdout){let i=t.mode.kind==="human-interactive"||t.mode.kind==="human-static",r=i&&!t.mode.classic?It(e.stdout,t.mode):e.stdout,s=t.mode.screenReader?Et(r):r,o=i&&!t.mode.classic?R(s):s,a=i&&!t.mode.classic?$t(o,t.mode):o,l=i&&!t.mode.classic&&e.exitCode===0?vt(a,t.mode,t.width):a,u=t.mode.kind==="human-interactive"?!t.mode.classic&&e.exitCode===0?at(l,!0):ot(l,!0):l,c=i&&!t.mode.classic?At(u,t.mode):u,d=Te(c),[g,h]=oi(d);await kt(g,{enabled:t.mode.kind==="human-interactive"&&t.mode.motion,write:t.writeStdout,sleep:t.sleep,delayMs:8,...t.shouldSkip===void 0?{}:{shouldSkip:t.shouldSkip}}),h&&t.writeStdout(h)}let n=!(t.mode.kind==="human-interactive"||t.mode.kind==="human-static");if(e.stderr&&(t.sharedTerminal||n)&&e.stderr===e.stdout){t.writeStderr(`${si(e.stderr)}
|
|
51
|
+
`);return}if(e.stderr){let i=t.mode.kind==="human-interactive"||t.mode.kind==="human-static"&&!t.mode.classic&&!t.mode.screenReader?Tt(e.stderr,t.mode,t.width):t.mode.kind==="human-static"&&!t.mode.classic?Rt(e.stderr):e.stderr;t.writeStderr(Te(i))}}var Nt=255,Dt=e=>e.replace(/\s+/gu," ").trim(),B=e=>typeof e=="string"&&e.trim()?Dt(e):null;function si(e){let t=null;try{t=JSON.parse(e)}catch{t=null}let n;if(t&&typeof t=="object"&&!Array.isArray(t)){let i=t,r=i.data&&typeof i.data=="object"?i.data:{},s=B(i.reasonCode)??B(r.reasonCode)??B(i.status)??"error",o=B(i.summary)??B(i.message)??B(r.error);n=o?`error: ${s}: ${o}`:`error: ${s}`}else{let i=e.split(`
|
|
52
|
+
`).find(r=>r.trim());n=i?`error: ${Dt(i)}`:"error"}return n.length>Nt?`${n.slice(0,Nt-1)}\u2026`:n}function Te(e){return e.endsWith(`
|
|
53
|
+
`)?e:`${e}
|
|
54
|
+
`}function oi(e){let t=e.indexOf(`
|
|
55
|
+
`);return[e.slice(0,t+1),e.slice(t+1)]}import G from"node:process";import{stripVTControlCharacters as Vi}from"node:util";import Ht from"node:process";import ae from"node:process";var ai=(e,t,n,i)=>{if(n==="length"||n==="prototype"||n==="arguments"||n==="caller")return;let r=Object.getOwnPropertyDescriptor(e,n),s=Object.getOwnPropertyDescriptor(t,n);!li(r,s)&&i||Object.defineProperty(e,n,s)},li=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},ui=(e,t)=>{let n=Object.getPrototypeOf(t);n!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,n)},ci=(e,t)=>`/* Wrapped ${e}*/
|
|
56
|
+
${t}`,di=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),fi=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),mi=(e,t,n)=>{let i=n===""?"":`with ${n.trim()}() `,r=ci.bind(null,i,t.toString());Object.defineProperty(r,"name",fi);let{writable:s,enumerable:o,configurable:a}=di;Object.defineProperty(e,"toString",{value:r,writable:s,enumerable:o,configurable:a})};function ve(e,t,{ignoreNonConfigurable:n=!1}={}){let{name:i}=e;for(let r of Reflect.ownKeys(t))ai(e,t,r,n);return ui(e,t),mi(e,t,i),e}var re=new WeakMap,jt=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let n,i=0,r=e.displayName||e.name||"<anonymous>",s=function(...o){if(re.set(s,++i),i===1)n=e.apply(this,o),e=void 0;else if(t.throw===!0)throw new Error(`Function \`${r}\` can only be called once`);return n};return ve(s,e),re.set(s,i),s};jt.callCount=e=>{if(!re.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return re.get(e)};var Ft=jt;var N=[];N.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&N.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&N.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var se=e=>!!e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function",Re=Symbol.for("signal-exit emitter"),Ee=globalThis,pi=Object.defineProperty.bind(Object),$e=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(Ee[Re])return Ee[Re];pi(Ee,Re,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(t,n){this.listeners[t].push(n)}removeListener(t,n){let i=this.listeners[t],r=i.indexOf(n);r!==-1&&(r===0&&i.length===1?i.length=0:i.splice(r,1))}emit(t,n,i){if(this.emitted[t])return!1;this.emitted[t]=!0;let r=!1;for(let s of this.listeners[t])r=s(n,i)===!0||r;return t==="exit"&&(r=this.emit("afterExit",n,i)||r),r}},oe=class{},gi=e=>({onExit(t,n){return e.onExit(t,n)},load(){return e.load()},unload(){return e.unload()}}),Ae=class extends oe{onExit(){return()=>{}}load(){}unload(){}},Ie=class extends oe{#s=Le.platform==="win32"?"SIGINT":"SIGHUP";#i=new $e;#n;#e;#r;#t={};#o=!1;constructor(t){super(),this.#n=t,this.#t={};for(let n of N)this.#t[n]=()=>{let i=this.#n.listeners(n),{count:r}=this.#i,s=t;if(typeof s.__signal_exit_emitter__=="object"&&typeof s.__signal_exit_emitter__.count=="number"&&(r+=s.__signal_exit_emitter__.count),i.length===r){this.unload();let o=this.#i.emit("exit",null,n),a=n==="SIGHUP"?this.#s:n;o||t.kill(t.pid,a)}};this.#r=t.reallyExit,this.#e=t.emit}onExit(t,n){if(!se(this.#n))return()=>{};this.#o===!1&&this.load();let i=n?.alwaysLast?"afterExit":"exit";return this.#i.on(i,t),()=>{this.#i.removeListener(i,t),this.#i.listeners.exit.length===0&&this.#i.listeners.afterExit.length===0&&this.unload()}}load(){if(!this.#o){this.#o=!0,this.#i.count+=1;for(let t of N)try{let n=this.#t[t];n&&this.#n.on(t,n)}catch{}this.#n.emit=(t,...n)=>this.#d(t,...n),this.#n.reallyExit=t=>this.#l(t)}}unload(){this.#o&&(this.#o=!1,N.forEach(t=>{let n=this.#t[t];if(!n)throw new Error("Listener not defined for signal: "+t);try{this.#n.removeListener(t,n)}catch{}}),this.#n.emit=this.#e,this.#n.reallyExit=this.#r,this.#i.count-=1)}#l(t){return se(this.#n)?(this.#n.exitCode=t||0,this.#i.emit("exit",this.#n.exitCode,null),this.#r.call(this.#n,this.#n.exitCode)):0}#d(t,...n){let i=this.#e;if(t==="exit"&&se(this.#n)){typeof n[0]=="number"&&(this.#n.exitCode=n[0]);let r=i.call(this.#n,t,...n);return this.#i.emit("exit",this.#n.exitCode,null),r}else return i.call(this.#n,t,...n)}},Le=globalThis.process,{onExit:Bt,load:ys,unload:xs}=gi(se(Le)?new Ie(Le):new Ae);var Wt=ae.stderr.isTTY?ae.stderr:ae.stdout.isTTY?ae.stdout:void 0,hi=Wt?Ft(()=>{Bt(()=>{Wt.write("\x1B[?25h")},{alwaysLast:!0})}):()=>{},Ut=hi;var le=!1,W={};W.show=(e=Ht.stderr)=>{e.isTTY&&(le=!1,e.write("\x1B[?25h"))};W.hide=(e=Ht.stderr)=>{e.isTTY&&(Ut(),le=!0,e.write("\x1B[?25l"))};W.toggle=(e,t)=>{e!==void 0&&(le=e),le?W.show(t):W.hide(t)};var Oe=W;var Pe={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots14:{interval:80,frames:["\u2809\u2809","\u2808\u2819","\u2800\u2839","\u2800\u28B8","\u2800\u28F0","\u2880\u28E0","\u28C0\u28C0","\u28C4\u2840","\u28C6\u2800","\u2847\u2800","\u280F\u2800","\u280B\u2801"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},dotsCircle:{interval:80,frames:["\u288E ","\u280E\u2801","\u280A\u2811","\u2808\u2831"," \u2871","\u2880\u2870","\u2884\u2860","\u2886\u2840"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},rollingLine:{interval:80,frames:["/ "," - "," \\ "," |"," |"," \\ "," - ","/ "]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u{1F497} "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]},fish:{interval:80,frames:["~~~~~~~~~~~~~~~~~~~~","> ~~~~~~~~~~~~~~~~~~","\xBA> ~~~~~~~~~~~~~~~~~","(\xBA> ~~~~~~~~~~~~~~~~","((\xBA> ~~~~~~~~~~~~~~~","<((\xBA> ~~~~~~~~~~~~~~","><((\xBA> ~~~~~~~~~~~~~"," ><((\xBA> ~~~~~~~~~~~~","~ ><((\xBA> ~~~~~~~~~~~","~~ <>((\xBA> ~~~~~~~~~~","~~~ ><((\xBA> ~~~~~~~~~","~~~~ <>((\xBA> ~~~~~~~~","~~~~~ ><((\xBA> ~~~~~~~","~~~~~~ <>((\xBA> ~~~~~~","~~~~~~~ ><((\xBA> ~~~~~","~~~~~~~~ <>((\xBA> ~~~~","~~~~~~~~~ ><((\xBA> ~~~","~~~~~~~~~~ <>((\xBA> ~~","~~~~~~~~~~~ ><((\xBA> ~","~~~~~~~~~~~~ <>((\xBA> ","~~~~~~~~~~~~~ ><((\xBA>","~~~~~~~~~~~~~~ <>((\xBA","~~~~~~~~~~~~~~~ ><((","~~~~~~~~~~~~~~~~ <>(","~~~~~~~~~~~~~~~~~ ><","~~~~~~~~~~~~~~~~~~ <","~~~~~~~~~~~~~~~~~~~~"]}};var V=Pe,$s=Object.keys(Pe);var D={};dn(D,{error:()=>Si,info:()=>_i,success:()=>wi,warning:()=>Ci});import xi from"node:tty";var bi=xi?.WriteStream?.prototype?.hasColors?.()??!1,p=(e,t)=>{if(!bi)return r=>r;let n=`\x1B[${e}m`,i=`\x1B[${t}m`;return r=>{let s=r+"",o=s.indexOf(i);if(o===-1)return n+s+i;let a=n,l=0,c=(t===22?i:"")+n;for(;o!==-1;)a+=s.slice(l,o)+c,l=o+i.length,o=s.indexOf(i,l);return a+=s.slice(l)+i,a}},Ls=p(0,0),Os=p(1,22),Ps=p(2,22),Ms=p(3,23),Ns=p(4,24),Ds=p(53,55),js=p(7,27),Fs=p(8,28),Bs=p(9,29),Ws=p(30,39),qt=p(31,39),Vt=p(32,39),zt=p(33,39),Yt=p(34,39),Us=p(35,39),Hs=p(36,39),qs=p(37,39),Vs=p(90,39),zs=p(40,49),Ys=p(41,49),Gs=p(42,49),Ks=p(43,49),Js=p(44,49),Qs=p(45,49),Xs=p(46,49),Zs=p(47,49),eo=p(100,49),to=p(91,39),no=p(92,39),io=p(93,39),ro=p(94,39),so=p(95,39),oo=p(96,39),ao=p(97,39),lo=p(101,49),uo=p(102,49),co=p(103,49),fo=p(104,49),mo=p(105,49),po=p(106,49),go=p(107,49);import Gt from"node:process";function z(){let{env:e}=Gt,{TERM:t,TERM_PROGRAM:n}=e;return Gt.platform!=="win32"?t!=="linux":!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||e.ConEmuTask==="{cmd::Cmder}"||n==="Terminus-Sublime"||n==="vscode"||t==="xterm-256color"||t==="alacritty"||t==="rxvt-unicode"||t==="rxvt-unicode-256color"||e.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var ue=z(),_i=Yt(ue?"\u2139":"i"),wi=Vt(ue?"\u2714":"\u221A"),Ci=zt(ue?"\u26A0":"\u203C"),Si=qt(ue?"\u2716":"\xD7");function Me({onlyFirst:e=!1}={}){let r="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(r,e?void 0:"g")}var ki=Me();function Ne(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!e.includes("\x1B")&&!e.includes("\x9B")?e:e.replace(ki,"")}var Kt=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],Jt=12288,Qt=65510,Xt=[12288,12288,65281,65376,65504,65510];var Zt=4352,en=262141,De=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141];var ce=(e,t)=>{let n=0,i=Math.floor(e.length/2)-1;for(;n<=i;){let r=Math.floor((n+i)/2),s=r*2;if(t<e[s])i=r-1;else if(t>e[s+1])n=r+1;else return!0}return!1};var tn=19968,[Ri,Ei]=$i(De);function $i(e){let t=e[0],n=e[1];for(let i=0;i<e.length;i+=2){let r=e[i],s=e[i+1];if(tn>=r&&tn<=s)return[r,s];s-r>n-t&&(t=r,n=s)}return[t,n]}var nn=e=>e<161||e>1114109?!1:ce(Kt,e),rn=e=>e<Jt||e>Qt?!1:ce(Xt,e);var sn=e=>e>=Ri&&e<=Ei?!0:e<Zt||e>en?!1:ce(De,e);function Ai(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function Y(e,{ambiguousAsWide:t=!1}={}){return Ai(e),rn(e)||sn(e)||t&&nn(e)?2:1}var Ii=new Intl.Segmenter,on=new RegExp("^(?:\\p{Default_Ignorable_Code_Point}|\\p{Control}|\\p{Format}|\\p{Nonspacing_Mark}|\\p{Enclosing_Mark}|\\p{Surrogate})+$","v"),Li=new RegExp("^[\\p{Default_Ignorable_Code_Point}\\p{Control}\\p{Format}\\p{Nonspacing_Mark}\\p{Enclosing_Mark}\\p{Surrogate}]+","v"),Oi=new RegExp("\\p{Spacing_Mark}","v"),Pi=new RegExp("^\\p{RGI_Emoji}$","v"),Mi=/^[\d#*]\u20E3$/,Ni=new RegExp("\\p{Extended_Pictographic}","gu");function Di(e){if(e.length>50)return!1;if(Mi.test(e))return!0;if(e.includes("\u200D")){let t=e.match(Ni);return t!==null&&t.length>=2}return!1}function ji(e){return e.replace(Li,"")}function Fi(e){return on.test(e)}function an(e){return e>=4352&&e<=4447||e>=43360&&e<=43388}function ln(e){return e>=4448&&e<=4519||e>=55216&&e<=55238}function un(e){return e>=4520&&e<=4607||e>=55243&&e<=55291}function Bi(e){return an(e)||ln(e)||un(e)}function Wi(e,t){let n=[];for(let r of e)on.test(r)||n.push(r.codePointAt(0));if(n.length===0)return;let i=0;for(let r=0;r<n.length;r++){let s=n[r];if(!Bi(s)){if(i===0)return;for(let o=r;o<n.length;o++)i+=Y(n[o],t);return i}if(an(s)&&ln(n[r+1])){i+=2,r+=un(n[r+2])?2:1;continue}i+=Y(s,t)}return i}function Ui(e,t){let n=0,i=!0;for(let r of e){if(i){i=!1;continue}(Oi.test(r)||r>="\uFF00"&&r<="\uFFEF")&&(n+=Y(r.codePointAt(0),t))}return n}function je(e,t={}){if(typeof e!="string"||e.length===0)return 0;let{ambiguousIsNarrow:n=!0,countAnsiEscapeCodes:i=!1}=t,r=e;if(!i&&(r.includes("\x1B")||r.includes("\x9B"))&&(r=Ne(r)),r.length===0)return 0;if(/^[\u0020-\u007E]*$/.test(r))return r.length;let s=0,o={ambiguousAsWide:!n};for(let{segment:a}of Ii.segment(r)){if(Fi(a))continue;if(Pi.test(a)||Di(a)){s+=2;continue}let l=ji(a),u=Wi(l,o);if(u!==void 0){s+=u;continue}let c=l.codePointAt(0);s+=Y(c,o),s+=Ui(l,o)}return s}function Fe({stream:e=process.stdout}={}){return!!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}import de from"node:process";var Hi=3,Be=class{#s=0;#i;#n=!1;#e=!1;#r=t=>{if(!t?.length)return;(typeof t=="string"?t.codePointAt(0):t[0])===Hi&&de.kill(de.pid,"SIGINT")};start(){this.#s++,this.#s===1&&this.#t()}stop(){this.#s!==0&&--this.#s===0&&this.#o()}#t(){let{stdin:t}=de;if(de.platform==="win32"||!t?.isTTY||typeof t.setRawMode!="function"){this.#i=void 0;return}this.#i=t,this.#n=t.isPaused(),this.#e=!!t.isRaw,t.setRawMode(!0),t.prependListener("data",this.#r),this.#n&&t.resume()}#o(){if(!this.#i)return;let t=this.#i;t.off("data",this.#r),t.isTTY&&t.setRawMode?.(this.#e),this.#n&&t.pause(),this.#i=void 0,this.#n=!1,this.#e=!1}},qi=new Be,We=Object.freeze(qi);var zi=200,Yi="\x1B[?2026h",Gi="\x1B[?2026l",fe=new Map,Ki=new Set(["black","red","green","yellow","blue","magenta","cyan","white","gray"]),Ue=class{#s=0;#i=-1;#n=0;#e;#r;#t;#o;#l=new Map;#d=!1;#u;#a;#m=!1;#f;#c(t){this.#d=!0;try{return t()}finally{this.#d=!1}}#g(){this.isSpinning&&this.render()}#w(t,n){if(t==null)return"";if(typeof t=="string")return t;if(Buffer.isBuffer(t)||ArrayBuffer.isView(t)){let i=typeof n=="string"&&n&&n!=="buffer"?n:"utf8";return Buffer.from(t).toString(i)}return String(t)}#C(t){if(!t)return!1;let n=t.at(-1);return n===`
|
|
57
|
+
`||n==="\r"}#S(){this.#a||(this.#a=setTimeout(()=>{this.#a=void 0,this.isSpinning&&this.#g()},zi),typeof this.#a?.unref=="function"&&this.#a.unref())}#h(){this.#a&&(clearTimeout(this.#a),this.#a=void 0)}#y(t,n,i,r){let s=this.#b(i," "),a=typeof n=="string"?(t?" ":"")+n:"",l=this.#_(r," ");return s+t+a+l}constructor(t){if(typeof t=="string"&&(t={text:t}),this.#e={color:"cyan",stream:G.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#e.color,this.#t=this.#e.stream,typeof this.#e.isEnabled!="boolean"&&(this.#e.isEnabled=Fe({stream:this.#t})),typeof this.#e.isSilent!="boolean"&&(this.#e.isSilent=!1),this.#e.interval!==void 0&&!(Number.isInteger(this.#e.interval)&&this.#e.interval>0))throw new Error("The `interval` option must be a positive integer");let n=this.#e.interval;this.spinner=this.#e.spinner,this.#e.interval=n,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.suffixText=this.#e.suffixText,this.indent=this.#e.indent,G.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#e.isEnabled,Object.defineProperty(this,"_linesToClear",{get(){return this.#s},set(i){this.#s=i}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#i}}),Object.defineProperty(this,"_lineCount",{get(){let i=this.#t.columns??80,r=typeof this.#e.prefixText=="function"?"":this.#e.prefixText,s=typeof this.#e.suffixText=="function"?"":this.#e.suffixText,o=typeof r=="string"&&r!==""?r+" ":"",a=typeof s=="string"&&s!==""?" "+s:"",u=" ".repeat(this.#e.indent)+o+"-"+(typeof this.#e.text=="string"?" "+this.#e.text:"")+a;return this.#p(u,i)}}))}get indent(){return this.#e.indent}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this.#e.indent=t}get interval(){return this.#e.interval??this.#r.interval??100}get spinner(){return this.#r}set spinner(t){if(this.#i=-1,this.#e.interval=void 0,typeof t=="object"){if(!Array.isArray(t.frames)||t.frames.length===0||t.frames.some(n=>typeof n!="string"))throw new Error("The given spinner must have a non-empty `frames` array of strings");if(t.interval!==void 0&&!(Number.isInteger(t.interval)&&t.interval>0))throw new Error("`spinner.interval` must be a positive integer if provided");this.#r=t}else if(!z())this.#r=V.line;else if(t===void 0)this.#r=V.dots;else if(t!=="default"&&V[t])this.#r=V[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#e.text}set text(t=""){this.#e.text=t}get prefixText(){return this.#e.prefixText}set prefixText(t=""){this.#e.prefixText=t}get suffixText(){return this.#e.suffixText}set suffixText(t=""){this.#e.suffixText=t}get isSpinning(){return this.#o!==void 0}#x(t,n,i=!1){let r=typeof t=="function"?t():t;return typeof r=="string"&&r!==""?i?n+r:r+n:""}#b(t=this.#e.prefixText,n=" "){return this.#x(t,n,!1)}#_(t=this.#e.suffixText,n=" "){return this.#x(t,n,!0)}#p(t,n){let i=0;for(let r of Vi(t).split(`
|
|
58
|
+
`))i+=Math.max(1,Math.ceil(je(r)/n));return i}get color(){return this.#f}set color(t){if(t!==void 0&&t!==!1&&!Ki.has(t))throw new Error("The `color` option must be a valid color or `false` to disable");this.#f=t}get isEnabled(){return this.#e.isEnabled&&!this.#e.isSilent}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#e.isEnabled=t}get isSilent(){return this.#e.isSilent}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#e.isSilent=t}frame(){let t=Date.now();(this.#i===-1||t-this.#n>=this.interval)&&(this.#i=(this.#i+1)%this.#r.frames.length,this.#n=t);let{frames:n}=this.#r,i=n[this.#i];this.#f&&(i=ze[this.#f](i));let r=this.#b(this.#e.prefixText," "),s=typeof this.text=="string"?" "+this.text:"",o=this.#_(this.#e.suffixText," ");return r+i+s+o}clear(){return!this.isEnabled||!this.#t.isTTY?this:(this.#c(()=>{this.#t.cursorTo(0);for(let t=0;t<this.#s;t++)t>0&&this.#t.moveCursor(0,-1),this.#t.clearLine(1);this.#e.indent&&this.#t.cursorTo(this.#e.indent)}),this.#s=0,this)}#k(t){if(!t||this.#l.has(t)||!t.isTTY||typeof t.write!="function")return;fe.has(t)&&console.warn("[ora] Multiple concurrent spinners detected. This may cause visual corruption. Use one spinner at a time.");let n=t.write;this.#l.set(t,n),fe.set(t,this),t.write=(i,r,s)=>this.#R(t,n,i,r,s)}#T(){if(!this.isEnabled||this.#l.size>0)return;let t=new Set([this.#t,G.stdout,G.stderr]);for(let n of t)this.#k(n)}#v(){for(let[t,n]of this.#l)t.write=n,fe.get(t)===this&&fe.delete(t);this.#l.clear()}#R(t,n,i,r,s){if(typeof r=="function"&&(s=r,r=void 0),this.#d)return n.call(t,i,r,s);this.clear();let o=this.#w(i,r),a=this.#C(o),l=n.call(t,i,r,s);return a?this.#h():o.length>0&&this.#S(),this.isSpinning&&!this.#a&&this.render(),l}render(){if(!this.isEnabled||this.#u||this.#a)return this;let t=this.#t.isTTY,n=!1;try{t&&(this.#c(()=>this.#t.write(Yi)),n=!0),this.clear();let i=this.frame(),r=this.#t.columns??80,s=this.#p(i,r),o=this.#t.rows;if(o&&o>1&&s>o){let l=i.split(`
|
|
59
|
+
`),u=o-1;i=[...l.slice(0,u),"... (content truncated to fit terminal)"].join(`
|
|
60
|
+
`)}this.#c(()=>this.#t.write(i))===!1&&this.#t.isTTY&&(this.#u=()=>{this.#u=void 0,this.#g()},this.#t.once("drain",this.#u)),this.#s=this.#p(i,r)}finally{n&&this.#c(()=>this.#t.write(Gi))}return this}start(t){if(t!==void 0&&(this.text=t),this.isSilent)return this;if(!this.isEnabled){let n=this.text?"-":"",i=" ".repeat(this.#e.indent)+this.#y(n,this.text,this.#e.prefixText,this.#e.suffixText);return i.trim()!==""&&this.#c(()=>this.#t.write(i+`
|
|
61
|
+
`)),this}return this.isSpinning?this:(this.#e.hideCursor&&Oe.hide(this.#t),this.#e.discardStdin&&G.stdin.isTTY&&(We.start(),this.#m=!0),this.#T(),this.render(),this.#o=setInterval(this.render.bind(this),this.interval),this)}stop(){return clearInterval(this.#o),this.#o=void 0,this.#i=-1,this.#n=0,this.#h(),this.#v(),this.#u&&(this.#t.removeListener("drain",this.#u),this.#u=void 0),this.isEnabled&&(this.clear(),this.#e.hideCursor&&Oe.show(this.#t)),this.#m&&(this.#m=!1,We.stop()),this}succeed(t){return this.stopAndPersist({symbol:D.success,text:t})}fail(t){return this.stopAndPersist({symbol:D.error,text:t})}warn(t){return this.stopAndPersist({symbol:D.warning,text:t})}info(t){return this.stopAndPersist({symbol:D.info,text:t})}stopAndPersist(t={}){if(this.isSilent)return this;let n=t.symbol??" ",i=t.text??this.text,r=t.prefixText??this.#e.prefixText,s=t.suffixText??this.#e.suffixText,o=this.#y(n,i,r,s)+`
|
|
62
|
+
`;return this.stop(),this.#c(()=>this.#t.write(o)),this}};function He(e){return new Ue(e)}function ra(e){let t=e.mode.kind==="human-interactive"&&e.mode.motion,n=e.stream,i=t&&Number(n.columns)>0&&Number(n.rows)>0,r=e.mode.kind==="human-static"||t&&!i,s=f(e.commandName)||"command",o=e.spinnerFactory??(m=>He(m)),a=e.setTimer??((m,x)=>setTimeout(m,x)),l=e.clearTimer??(m=>clearTimeout(m)),u=`Working on ${s}\u2026`,c,d,g=!1,h=!1,_=()=>{i&&d===void 0&&c===void 0&&(d=a(()=>{d=void 0,!g&&(h||(c=o({text:u,stream:e.stream,isEnabled:!0,discardStdin:!1,color:e.mode.color?"cyan":!1}).start()))},e.delayMs??80))};return _(),{info(m){u=f(m),c?c.text=u:r&&e.stream.write(`${u}
|
|
63
|
+
`)},pause(){g=!0,d!==void 0&&(l(d),d=void 0),c?.stop?.(),c=void 0},resume(){h||(g=!1,_())},finish(m){h||(h=!0,d!==void 0&&(l(d),d=void 0),c&&(m.exitCode===0?c.succeed(Ji(m.stdout,s)):c.fail(`Stopped ${s}`),c=void 0))}}}function Ji(e,t){try{let n=JSON.parse(e);if(n&&typeof n=="object"&&!Array.isArray(n)){let i=String(n.status??"").toLowerCase();if(i==="install_pending_review"||i==="source_submitted"||i.includes("pending"))return`Submitted ${t}`;if(i==="installed_unverified")return"Installed unverified source"}}catch{}return`Completed ${t}`}export{Qi as a,J as b,Zi as c,S as d,ir as e,rr as f,Ge as g,sr as h,or as i,mn as j,ar as k,Q as l,Ke as m,Je as n,Qe as o,Xe as p,Ze as q,gr as r,hr as s,E as t,w as u,it as v,st as w,Ir as x,En as y,jn as z,Ur as A,Hr as B,qr as C,Vr as D,zr as E,Yr as F,Kr as G,Qr as H,cs as I,Bt as J,ra as K};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* istanbul ignore file -- generated npm bundle is verified by boundary and tarball smoke tests. */
|
|
2
|
+
import { createRequire as __skillsLayerCreateRequire } from "node:module"; const require = __skillsLayerCreateRequire(import.meta.url);
|
|
3
|
+
var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>{try{return b||a((b={exports:{}}).exports,b),b.exports}catch(c){throw b=0,c}},o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
|