@maincode-ai/matilda-code 0.21.11 → 0.21.13-nightly.20261026.e0eae1d8c
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/bundled/mainy/SKILL.md +0 -2
- package/bundled/mainy/docs/_meta.ts +0 -2
- package/bundled/mainy/docs/configuration/auth.md +5 -10
- package/bundled/mainy/docs/configuration/model-providers.md +31 -217
- package/bundled/mainy/docs/configuration/settings.md +48 -9
- package/bundled/mainy/docs/configuration/trusted-folders.md +12 -6
- package/bundled/mainy/docs/features/auto-mode.md +1 -1
- package/bundled/mainy/docs/features/channels/_meta.ts +0 -3
- package/bundled/mainy/docs/features/channels/overview.md +8 -16
- package/bundled/mainy/docs/features/commands.md +4 -4
- package/bundled/mainy/docs/features/hooks.md +9 -7
- package/bundled/mainy/docs/features/language.md +2 -29
- package/bundled/mainy/docs/features/sub-agents.md +1 -1
- package/bundled/mainy/docs/features/worktree.md +3 -5
- package/bundled/mainy/docs/integration-github-action.md +3 -3
- package/bundled/mainy/docs/matilda-serve.md +1 -1
- package/bundled/mainy/docs/quickstart.md +2 -2
- package/bundled/mainy/docs/support/troubleshooting.md +3 -10
- package/chunks/agent-4FTU3WN6.js +3 -0
- package/chunks/agent-headless-QJUVHPFC.js +3 -0
- package/chunks/{askUserQuestion-XWHJY3DM.js → askUserQuestion-QKX4NEFX.js} +1 -1
- package/chunks/{ca-EUJBUYX5.js → ca-C2V7I65K.js} +6 -6
- package/chunks/{chunk-T4P4KEDW.js → chunk-2ONZZ46N.js} +2 -2
- package/chunks/chunk-36K4HBVM.js +7 -0
- package/chunks/{chunk-EQGA7LH7.js → chunk-3B2HABK7.js} +1 -1
- package/chunks/{chunk-5427BPR2.js → chunk-5NMK4Y7C.js} +1 -1
- package/chunks/chunk-5YT4GCK7.js +14 -0
- package/chunks/{chunk-MH2P4YXC.js → chunk-62AFAL4I.js} +10 -10
- package/chunks/chunk-75KP2FVD.js +81 -0
- package/chunks/chunk-7ZODGQO6.js +4 -0
- package/chunks/chunk-BZB7HYRC.js +37 -0
- package/chunks/{chunk-WHG6N5X2.js → chunk-EXNHJQCD.js} +1 -1
- package/chunks/chunk-FCGYRGV4.js +9 -0
- package/chunks/chunk-G4YMVWG4.js +8 -0
- package/chunks/{chunk-4FVBPNTZ.js → chunk-HDARIAVM.js} +1 -1
- package/chunks/{chunk-4YVN5HXG.js → chunk-HM5LCKDB.js} +2 -2
- package/chunks/chunk-IIQ5YERM.js +120 -0
- package/chunks/chunk-JGJ7BVZN.js +101 -0
- package/chunks/{chunk-FFFZ2QMG.js → chunk-JIKQI4MZ.js} +1 -1
- package/chunks/{chunk-SPW5DXX4.js → chunk-LHDCAN7Z.js} +1 -1
- package/chunks/chunk-LZDHANXA.js +89 -0
- package/chunks/{chunk-ELH4YHJR.js → chunk-NOE4UNQN.js} +1 -1
- package/chunks/chunk-OEZS5R3S.js +207 -0
- package/chunks/{chunk-OOEH6ZSV.js → chunk-PTMCLADZ.js} +1 -1
- package/chunks/{chunk-NYEWHSBL.js → chunk-PYZNGIIR.js} +1 -1
- package/chunks/chunk-QJJTUDDA.js +56 -0
- package/chunks/{chunk-GO2GA2GY.js → chunk-R34HYLL4.js} +1 -1
- package/chunks/{chunk-Q55AVE2N.js → chunk-RK4LPGBV.js} +11 -11
- package/chunks/{chunk-JXUDKX6D.js → chunk-RYHMPK5G.js} +1 -1
- package/chunks/chunk-SR7ARGUY.js +13 -0
- package/chunks/chunk-SY6JRCN3.js +2612 -0
- package/chunks/chunk-TUKNB5CQ.js +33 -0
- package/chunks/{chunk-YMIF2DMT.js → chunk-TZ4FRU6B.js} +1 -1
- package/chunks/chunk-U7V7APDV.js +9 -0
- package/chunks/{chunk-SNLH42QJ.js → chunk-UVWZ44ZW.js} +1 -1
- package/chunks/{chunk-HYVP4472.js → chunk-V6UPUMP3.js} +1 -1
- package/chunks/{chunk-4CSSDBOS.js → chunk-VLDZBRTL.js} +10 -10
- package/chunks/{computer-use-SXP25RZQ.js → computer-use-OXAMR75N.js} +1 -1
- package/chunks/contextCommand-ERLW5VWL.js +3 -0
- package/chunks/{cron-create-2UI4AT4Q.js → cron-create-AUDQ6STP.js} +1 -1
- package/chunks/{cron-delete-ZB6BOTFF.js → cron-delete-P5HE3PDD.js} +1 -1
- package/chunks/{cron-list-YYAXNHB6.js → cron-list-NR5FZBK2.js} +1 -1
- package/chunks/{de-DNEPG7S7.js → de-KOUI2CEW.js} +6 -6
- package/chunks/{devtools-5JRKK3E7.js → devtools-G5DWLP2N.js} +1 -1
- package/chunks/dist-XXTQNTKQ.js +42 -0
- package/chunks/dist-ZFZZLIQU.js +3 -0
- package/chunks/edit-REFR5ROS.js +43 -0
- package/chunks/{en-NOD6KQNM.js → en-RMYRLXC2.js} +4 -4
- package/chunks/{enter-worktree-X47BSJLE.js → enter-worktree-WO3DT2G7.js} +1 -1
- package/chunks/{enterPlanMode-F22ZNTYJ.js → enterPlanMode-PLRHEU5A.js} +1 -1
- package/chunks/{exit-worktree-XY5UMDHX.js → exit-worktree-J5PW6DCV.js} +1 -1
- package/chunks/exitPlanMode-KXUPNLCJ.js +120 -0
- package/chunks/{fr-2OE5WLJ4.js → fr-R3QF3LA2.js} +5 -5
- package/chunks/glob-ZVTVRDQO.js +22 -0
- package/chunks/{goal-tools-6QTC3UI7.js → goal-tools-XVKQJL5I.js} +1 -1
- package/chunks/{grep-6TTPZ524.js → grep-R7CWUNNE.js} +1 -1
- package/chunks/{ja-3B6V5KS7.js → ja-A5OQLXUZ.js} +6 -6
- package/chunks/{keychain-token-storage-54BNK6VH.js → keychain-token-storage-IM4UB4P4.js} +1 -1
- package/chunks/{ls-YWZU3FYL.js → ls-DEAFYDVV.js} +1 -1
- package/chunks/{lsp-4CJDKEEC.js → lsp-DL7W47VY.js} +1 -1
- package/chunks/matildaAgentContentGenerator-57EIU5XE.js +8 -0
- package/chunks/mcp-client-X7LEGSP3.js +3 -0
- package/chunks/monitor-KPWTMH3V.js +32 -0
- package/chunks/{multipart-parser-JI75T2O5.js → multipart-parser-FKHYAVGR.js} +1 -1
- package/chunks/notebook-edit-3ZH5M2TC.js +17 -0
- package/chunks/openaiContentGenerator-6PXSD3T7.js +37 -0
- package/chunks/{pt-KP2JCPUY.js → pt-RG3S3KA7.js} +6 -6
- package/chunks/read-file-JNS7WRUP.js +3 -0
- package/chunks/ripGrep-ICJDGIIV.js +3 -0
- package/chunks/{ru-K7IQQKHC.js → ru-5S5HLRT7.js} +5 -5
- package/chunks/scheduler-QC2PPMFP.js +8 -0
- package/chunks/{send-message-OO2HAKCC.js → send-message-V2WYLN5X.js} +1 -1
- package/chunks/{serve-ZQX2WBLF.js → serve-NUVQULZJ.js} +59 -48
- package/chunks/shell-5LNI7URE.js +3 -0
- package/chunks/{skill-KDM3UUML.js → skill-QFATRHQW.js} +1 -1
- package/chunks/src-6UPZ7TVB.js +3 -0
- package/chunks/src-LZEU4AYF.js +5 -0
- package/chunks/{symbol-search-ALYOX5JN.js → symbol-search-WL6ZHUUN.js} +1 -1
- package/chunks/{syntheticOutput-UASKABJH.js → syntheticOutput-3KW6SQAF.js} +1 -1
- package/chunks/task-create-PNW5SN27.js +3 -0
- package/chunks/{task-detach-I67ZE5MX.js → task-detach-B7PDPFBA.js} +1 -1
- package/chunks/task-list-GGZATGK5.js +9 -0
- package/chunks/{task-stop-ERI5X4AO.js → task-stop-UKBBE2KG.js} +1 -1
- package/chunks/{task-update-CD3W556L.js → task-update-4RHVUBUV.js} +1 -1
- package/chunks/{team-create-F4KQRGMB.js → team-create-2TJC3X57.js} +1 -1
- package/chunks/team-delete-4UJ7SU65.js +8 -0
- package/chunks/todoWrite-NEBVKOSG.js +3 -0
- package/chunks/{tool-search-JFCD5W5M.js → tool-search-R5GS64YR.js} +1 -1
- package/chunks/tree-sitter-bash-2SWKO5B7.js +3 -0
- package/chunks/{web-fetch-REWGIRWQ.js → web-fetch-H3XJMAEF.js} +17 -17
- package/chunks/{web-search-OX2DPEVN.js → web-search-Q6RWPEIB.js} +1 -1
- package/chunks/{workflow-SEFYGBED.js → workflow-3A7KN3E3.js} +2 -2
- package/chunks/write-file-O7Q6SKZC.js +15 -0
- package/cli.js +509 -495
- package/locales/ca.js +2 -28
- package/locales/de.js +2 -28
- package/locales/en.js +2 -30
- package/locales/fr.js +2 -30
- package/locales/ja.js +2 -28
- package/locales/pt.js +2 -28
- package/locales/ru.js +2 -28
- package/package.json +2 -2
- package/sandbox-macos-permissive-closed.sb +0 -1
- package/sandbox-macos-permissive-open.sb +0 -1
- package/sandbox-macos-permissive-proxied.sb +0 -1
- package/sandbox-macos-restrictive-closed.sb +3 -1
- package/sandbox-macos-restrictive-open.sb +3 -1
- package/sandbox-macos-restrictive-proxied.sb +3 -1
- package/bundled/mainy/docs/features/channels/dingtalk.md +0 -134
- package/bundled/mainy/docs/features/channels/feishu.md +0 -186
- package/bundled/mainy/docs/features/channels/weixin.md +0 -106
- package/bundled/mainy/docs/integration-jetbrains.md +0 -81
- package/bundled/mainy/docs/integration-zed.md +0 -72
- package/chunks/agent-ZFZ4HJQC.js +0 -3
- package/chunks/agent-headless-KH2BKLP7.js +0 -3
- package/chunks/anthropicContentGenerator-IYZILRDW.js +0 -39
- package/chunks/chunk-25NCTG5H.js +0 -184
- package/chunks/chunk-2HQMJ2IU.js +0 -8
- package/chunks/chunk-3YLXGE6T.js +0 -8
- package/chunks/chunk-4F4DA5UI.js +0 -8
- package/chunks/chunk-4J6DC24J.js +0 -59
- package/chunks/chunk-4Q2SNBUH.js +0 -18
- package/chunks/chunk-6GBNB5Z2.js +0 -3
- package/chunks/chunk-G7R2XEEF.js +0 -7
- package/chunks/chunk-GHBKFIHC.js +0 -35
- package/chunks/chunk-GUFIMKF5.js +0 -65
- package/chunks/chunk-HWOQNYAO.js +0 -27
- package/chunks/chunk-LJR4RZZ2.js +0 -3
- package/chunks/chunk-NIQK6NX3.js +0 -37
- package/chunks/chunk-NVM7W7TG.js +0 -101
- package/chunks/chunk-O44XK65C.js +0 -8
- package/chunks/chunk-OA56BXPD.js +0 -3
- package/chunks/chunk-ODZOYHIC.js +0 -8
- package/chunks/chunk-PA6532AY.js +0 -6
- package/chunks/chunk-QFNFLE2I.js +0 -2625
- package/chunks/chunk-QH7736R5.js +0 -8
- package/chunks/chunk-QN6WSWMM.js +0 -9
- package/chunks/chunk-QN6Y6NPA.js +0 -3
- package/chunks/chunk-RK2AKQAX.js +0 -39
- package/chunks/chunk-SDTWBD62.js +0 -8
- package/chunks/chunk-SUH3UUWZ.js +0 -25
- package/chunks/chunk-U347OO7S.js +0 -9
- package/chunks/chunk-UIRBHC5X.js +0 -3
- package/chunks/chunk-VI74YQQO.js +0 -8
- package/chunks/chunk-VYZOOSMP.js +0 -30
- package/chunks/chunk-W5CGKUM4.js +0 -15
- package/chunks/chunk-WRQLIPXW.js +0 -113
- package/chunks/chunk-WVY2P6WH.js +0 -26
- package/chunks/chunk-WZ75OGYY.js +0 -14
- package/chunks/chunk-XCFLI3OC.js +0 -9
- package/chunks/chunk-XMZIY7XX.js +0 -13
- package/chunks/contextCommand-3GN5CAOK.js +0 -3
- package/chunks/dist-7UYRLSLE.js +0 -3
- package/chunks/dist-ME6647DQ.js +0 -195
- package/chunks/dist-P6SLWL5V.js +0 -42
- package/chunks/dist-VG3ZDJ2A.js +0 -28
- package/chunks/dist-YTCHM57U.js +0 -23
- package/chunks/edit-KX6V4PH3.js +0 -39
- package/chunks/exitPlanMode-G3QLIWJ4.js +0 -90
- package/chunks/fileFromPath-7UCWPD4W.js +0 -3
- package/chunks/geminiContentGenerator-EQEGOXOV.js +0 -8
- package/chunks/glob-KSBEWI3E.js +0 -22
- package/chunks/matildaAgentContentGenerator-OV4U6DJD.js +0 -8
- package/chunks/matildaContentGenerator-ETIAWE22.js +0 -8
- package/chunks/matildaOAuth2-WOY7ZS43.js +0 -3
- package/chunks/monitor-F4K5HOZX.js +0 -32
- package/chunks/notebook-edit-TL7CI5EA.js +0 -17
- package/chunks/openaiContentGenerator-MGASUFQL.js +0 -3
- package/chunks/read-file-6EAPS2KG.js +0 -3
- package/chunks/ripGrep-K6SFFUIE.js +0 -3
- package/chunks/scheduler-TKWPD4LP.js +0 -8
- package/chunks/shell-AZRK5GIO.js +0 -3
- package/chunks/src-SGI6VLOS.js +0 -3
- package/chunks/src-WZTRMETQ.js +0 -5
- package/chunks/task-create-EBJD55TB.js +0 -3
- package/chunks/task-list-5BGX4G5N.js +0 -9
- package/chunks/team-delete-5U3GBFKJ.js +0 -8
- package/chunks/todoWrite-YGG6AZ3A.js +0 -3
- package/chunks/tree-sitter-bash-XNCMPQBK.js +0 -3
- package/chunks/write-file-UAGVBZMC.js +0 -15
package/chunks/chunk-WZ75OGYY.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import{a as Ke,b as $e,c as Ge,e as Ve}from"./chunk-XMZIY7XX.js";import{b as ee}from"./chunk-UIRBHC5X.js";import{a as Me}from"./chunk-G7R2XEEF.js";import{b as o}from"./chunk-GZPNIYVZ.js";import{a as _,d as l}from"./chunk-OWGSC52X.js";var ie=l((rr,re)=>{o();var te=_("stream").Stream,We=_("util");re.exports=g;function g(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}We.inherits(g,te);g.create=function(e,r){var t=new this;r=r||{};for(var i in r)t[i]=r[i];t.source=e;var n=e.emit;return e.emit=function(){return t._handleEmit(arguments),n.apply(e,arguments)},e.on("error",function(){}),t.pauseStream&&e.pause(),t};Object.defineProperty(g.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});g.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};g.prototype.resume=function(){this._released||this.release(),this.source.resume()};g.prototype.pause=function(){this.source.pause()};g.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};g.prototype.pipe=function(){var e=te.prototype.pipe.apply(this,arguments);return this.resume(),e};g.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};g.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var ae=l((nr,oe)=>{o();var Xe=_("util"),se=_("stream").Stream,ne=ie();oe.exports=p;function p(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}Xe.inherits(p,se);p.create=function(e){var r=new this;e=e||{};for(var t in e)r[t]=e[t];return r};p.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};p.prototype.append=function(e){var r=p.isStreamLike(e);if(r){if(!(e instanceof ne)){var t=ne.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};p.prototype.pipe=function(e,r){return se.prototype.pipe.call(this,e,r),this.resume(),e};p.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};p.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var r=e;r(function(t){var i=p.isStreamLike(t);i&&(t.on("data",this._checkDataSize.bind(this)),this._handleErrors(t)),this._pipeNext(t)}.bind(this))};p.prototype._pipeNext=function(e){this._currentStream=e;var r=p.isStreamLike(e);if(r){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var t=e;this.write(t),this._getNext()};p.prototype._handleErrors=function(e){var r=this;e.on("error",function(t){r._emitError(t)})};p.prototype.write=function(e){this.emit("data",e)};p.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};p.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};p.prototype.end=function(){this._reset(),this.emit("end")};p.prototype.destroy=function(){this._reset(),this.emit("close")};p.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};p.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};p.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(r){r.dataSize&&(e.dataSize+=r.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};p.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var he=l(m=>{"use strict";o();var B=Ke(),Ye=_("path").extname,ue=/^\s*([^;\s]*)(?:;|\s|$)/,Je=/^text\//i;m.charset=fe;m.charsets={lookup:fe};m.contentType=Qe;m.extension=Ze;m.extensions=Object.create(null);m.lookup=et;m.types=Object.create(null);tt(m.extensions,m.types);function fe(e){if(!e||typeof e!="string")return!1;var r=ue.exec(e),t=r&&B[r[1].toLowerCase()];return t&&t.charset?t.charset:r&&Je.test(r[1])?"UTF-8":!1}function Qe(e){if(!e||typeof e!="string")return!1;var r=e.indexOf("/")===-1?m.lookup(e):e;if(!r)return!1;if(r.indexOf("charset")===-1){var t=m.charset(r);t&&(r+="; charset="+t.toLowerCase())}return r}function Ze(e){if(!e||typeof e!="string")return!1;var r=ue.exec(e),t=r&&m.extensions[r[1].toLowerCase()];return!t||!t.length?!1:t[0]}function et(e){if(!e||typeof e!="string")return!1;var r=Ye("x."+e).toLowerCase().substr(1);return r&&m.types[r]||!1}function tt(e,r){var t=["nginx","apache",void 0,"iana"];Object.keys(B).forEach(function(n){var s=B[n],a=s.extensions;if(!(!a||!a.length)){e[n]=a;for(var h=0;h<a.length;h++){var d=a[h];if(r[d]){var c=t.indexOf(B[r[d]].source),f=t.indexOf(s.source);if(r[d]!=="application/octet-stream"&&(c>f||c===f&&r[d].substr(0,12)==="application/"))continue}r[d]=n}}})}});var pe=l((ur,ce)=>{o();ce.exports=rt;function rt(e){var r=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;r?r(e):setTimeout(e,0)}});var N=l((hr,le)=>{o();var de=pe();le.exports=it;function it(e){var r=!1;return de(function(){r=!0}),function(i,n){r?e(i,n):de(function(){e(i,n)})}}});var k=l((pr,_e)=>{o();_e.exports=nt;function nt(e){Object.keys(e.jobs).forEach(st.bind(e)),e.jobs={}}function st(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var z=l((lr,ye)=>{o();var me=N(),ot=k();ye.exports=at;function at(e,r,t,i){var n=t.keyedList?t.keyedList[t.index]:t.index;t.jobs[n]=ut(r,n,e[n],function(s,a){n in t.jobs&&(delete t.jobs[n],s?ot(t):t.results[n]=a,i(s,t.results))})}function ut(e,r,t,i){var n;return e.length==2?n=e(t,me(i)):n=e(t,r,me(i)),n}});var U=l((mr,ge)=>{o();ge.exports=ft;function ft(e,r){var t=!Array.isArray(e),i={index:0,keyedList:t||r?Object.keys(e):null,jobs:{},results:t?{}:[],size:t?Object.keys(e).length:e.length};return r&&i.keyedList.sort(t?r:function(n,s){return r(e[n],e[s])}),i}});var j=l((gr,ve)=>{o();var ht=k(),ct=N();ve.exports=pt;function pt(e){Object.keys(this.jobs).length&&(this.index=this.size,ht(this),ct(e)(null,this.results))}});var be=l((xr,xe)=>{o();var dt=z(),lt=U(),_t=j();xe.exports=mt;function mt(e,r,t){for(var i=lt(e);i.index<(i.keyedList||e).length;)dt(e,r,i,function(n,s){if(n){t(n,s);return}if(Object.keys(i.jobs).length===0){t(null,i.results);return}}),i.index++;return _t.bind(i,t)}});var C=l((Er,O)=>{o();var Ee=z(),yt=U(),gt=j();O.exports=vt;O.exports.ascending=Se;O.exports.descending=xt;function vt(e,r,t,i){var n=yt(e,t);return Ee(e,r,n,function s(a,h){if(a){i(a,h);return}if(n.index++,n.index<(n.keyedList||e).length){Ee(e,r,n,s);return}i(null,n.results)}),gt.bind(n,i)}function Se(e,r){return e<r?-1:e>r?1:0}function xt(e,r){return-1*Se(e,r)}});var qe=l((Lr,Le)=>{o();var bt=C();Le.exports=Et;function Et(e,r,t){return bt(e,r,null,t)}});var Re=l((wr,we)=>{o();we.exports={parallel:be(),serial:qe(),serialOrdered:C()}});var Be=l((Tr,Te)=>{"use strict";o();var St=Ge();Te.exports=function(){return St()&&!!Symbol.toStringTag}});var Ne=l((Or,De)=>{"use strict";o();var Lt=Ve(),Oe=Lt("%Object.defineProperty%",!0),qt=Be()(),wt=ee(),Rt=$e(),D=qt?Symbol.toStringTag:null;De.exports=function(r,t){var i=arguments.length>2&&!!arguments[2]&&arguments[2].force,n=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof i<"u"&&typeof i!="boolean"||typeof n<"u"&&typeof n!="boolean")throw new Rt("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");D&&(i||!wt(r,D))&&(Oe?Oe(r,D,{configurable:!n,enumerable:!1,value:t,writable:!1}):r[D]=t)}});var ze=l((Nr,ke)=>{"use strict";o();ke.exports=function(e,r){return Object.keys(r).forEach(function(t){e[t]=e[t]||r[t]}),e}});var Ct=l((zr,Ue)=>{"use strict";o();var H=ae(),Tt=_("util"),A=_("path"),Bt=_("http"),Ot=_("https"),Dt=_("url").parse,Nt=_("fs"),kt=_("stream").Stream,zt=_("crypto"),P=he(),Ut=Re(),jt=Ne(),v=ee(),I=ze();function u(e){if(!(this instanceof u))return new u(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],H.call(this),e=e||{};for(var r in e)this[r]=e[r]}Tt.inherits(u,H);u.LINE_BREAK=`\r
|
|
4
|
-
`;u.DEFAULT_CONTENT_TYPE="application/octet-stream";u.prototype.append=function(e,r,t){t=t||{},typeof t=="string"&&(t={filename:t});var i=H.prototype.append.bind(this);if((typeof r=="number"||r==null)&&(r=String(r)),Array.isArray(r)){this._error(new Error("Arrays are not supported."));return}var n=this._multiPartHeader(e,r,t),s=this._multiPartFooter();i(n),i(r),i(s),this._trackLength(n,r,t)};u.prototype._trackLength=function(e,r,t){var i=0;t.knownLength!=null?i+=Number(t.knownLength):Buffer.isBuffer(r)?i=r.length:typeof r=="string"&&(i=Buffer.byteLength(r)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+u.LINE_BREAK.length,!(!r||!r.path&&!(r.readable&&v(r,"httpVersion"))&&!(r instanceof kt))&&(t.knownLength||this._valuesToMeasure.push(r))};u.prototype._lengthRetriever=function(e,r){v(e,"fd")?e.end!=null&&e.end!=1/0&&e.start!=null?r(null,e.end+1-(e.start?e.start:0)):Nt.stat(e.path,function(t,i){if(t){r(t);return}var n=i.size-(e.start?e.start:0);r(null,n)}):v(e,"httpVersion")?r(null,Number(e.headers["content-length"])):v(e,"httpModule")?(e.on("response",function(t){e.pause(),r(null,Number(t.headers["content-length"]))}),e.resume()):r("Unknown stream")};u.prototype._multiPartHeader=function(e,r,t){if(typeof t.header=="string")return t.header;var i=this._getContentDisposition(r,t),n=this._getContentType(r,t),s="",a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(n||[])};typeof t.header=="object"&&I(a,t.header);var h;for(var d in a)if(v(a,d)){if(h=a[d],h==null)continue;Array.isArray(h)||(h=[h]),h.length&&(s+=d+": "+h.join("; ")+u.LINE_BREAK)}return"--"+this.getBoundary()+u.LINE_BREAK+s+u.LINE_BREAK};u.prototype._getContentDisposition=function(e,r){var t;if(typeof r.filepath=="string"?t=A.normalize(r.filepath).replace(/\\/g,"/"):r.filename||e&&(e.name||e.path)?t=A.basename(r.filename||e&&(e.name||e.path)):e&&e.readable&&v(e,"httpVersion")&&(t=A.basename(e.client._httpMessage.path||"")),t)return'filename="'+t+'"'};u.prototype._getContentType=function(e,r){var t=r.contentType;return!t&&e&&e.name&&(t=P.lookup(e.name)),!t&&e&&e.path&&(t=P.lookup(e.path)),!t&&e&&e.readable&&v(e,"httpVersion")&&(t=e.headers["content-type"]),!t&&(r.filepath||r.filename)&&(t=P.lookup(r.filepath||r.filename)),!t&&e&&typeof e=="object"&&(t=u.DEFAULT_CONTENT_TYPE),t};u.prototype._multiPartFooter=function(){return function(e){var r=u.LINE_BREAK,t=this._streams.length===0;t&&(r+=this._lastBoundary()),e(r)}.bind(this)};u.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+u.LINE_BREAK};u.prototype.getHeaders=function(e){var r,t={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(r in e)v(e,r)&&(t[r.toLowerCase()]=e[r]);return t};u.prototype.setBoundary=function(e){if(typeof e!="string")throw new TypeError("FormData boundary must be a string");this._boundary=e};u.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};u.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),r=this.getBoundary(),t=0,i=this._streams.length;t<i;t++)typeof this._streams[t]!="function"&&(Buffer.isBuffer(this._streams[t])?e=Buffer.concat([e,this._streams[t]]):e=Buffer.concat([e,Buffer.from(this._streams[t])]),(typeof this._streams[t]!="string"||this._streams[t].substring(2,r.length+2)!==r)&&(e=Buffer.concat([e,Buffer.from(u.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};u.prototype._generateBoundary=function(){this._boundary="--------------------------"+zt.randomBytes(12).toString("hex")};u.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};u.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};u.prototype.getLength=function(e){var r=this._overheadLength+this._valueLength;if(this._streams.length&&(r+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,r));return}Ut.parallel(this._valuesToMeasure,this._lengthRetriever,function(t,i){if(t){e(t);return}i.forEach(function(n){r+=n}),e(null,r)})};u.prototype.submit=function(e,r){var t,i,n={method:"post"};return typeof e=="string"?(e=Dt(e),i=I({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},n)):(i=I(e,n),i.port||(i.port=i.protocol==="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol==="https:"?t=Ot.request(i):t=Bt.request(i),this.getLength(function(s,a){if(s&&s!=="Unknown stream"){this._error(s);return}if(a&&t.setHeader("Content-Length",a),this.pipe(t),r){var h,d=function(c,f){return t.removeListener("error",d),t.removeListener("response",h),r.call(this,c,f)};h=d.bind(this,null),t.on("error",d),t.on("response",h)}}.bind(this)),t};u.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};u.prototype.toString=function(){return"[object FormData]"};jt(u.prototype,"FormData");Ue.exports=u});var Mt=l(je=>{"use strict";o();var At=_("url").parse,Pt={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},It=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function Ht(e){var r=typeof e=="string"?At(e):e||{},t=r.protocol,i=r.host,n=r.port;if(typeof i!="string"||!i||typeof t!="string"||(t=t.split(":",1)[0],i=i.replace(/:\d*$/,""),n=parseInt(n)||Pt[t]||0,!Ft(i,n)))return"";var s=S("npm_config_"+t+"_proxy")||S(t+"_proxy")||S("npm_config_proxy")||S("all_proxy");return s&&s.indexOf("://")===-1&&(s=t+"://"+s),s}function Ft(e,r){var t=(S("npm_config_no_proxy")||S("no_proxy")).toLowerCase();return t?t==="*"?!1:t.split(/[,\s]/).every(function(i){if(!i)return!0;var n=i.match(/^(.+):(\d+)$/),s=n?n[1]:i,a=n?parseInt(n[2]):0;return a&&a!==r?!0:/^[.*]/.test(s)?(s.charAt(0)==="*"&&(s=s.slice(1)),!It.call(e,s)):e!==s}):!0}function S(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}je.getProxyForUrl=Ht});var Ae=l((Ar,Ce)=>{o();var L;Ce.exports=function(){if(!L){try{L=Me()("follow-redirects")}catch{}typeof L!="function"&&(L=function(){})}L.apply(null,arguments)}});var tr=l((Ir,Z)=>{o();var w=_("url"),q=w.URL,Kt=_("http"),$t=_("https"),G=_("stream").Writable,V=_("assert"),Pe=Ae();(function(){var r=typeof process<"u",t=typeof window<"u"&&typeof document<"u",i=E(Error.captureStackTrace);!r&&(t||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var W=!1;try{V(new q(""))}catch(e){W=e.code==="ERR_INVALID_URL"}var Gt=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],X=["abort","aborted","connect","error","socket","timeout"],Y=Object.create(null);X.forEach(function(e){Y[e]=function(r,t,i){this._redirectable.emit(e,r,t,i)}});var M=R("ERR_INVALID_URL","Invalid URL",TypeError),K=R("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Vt=R("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",K),Wt=R("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Xt=R("ERR_STREAM_WRITE_AFTER_END","write after end"),Yt=G.prototype.destroy||He;function y(e,r){G.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],r&&this.on("response",r);var t=this;this._onNativeResponse=function(i){try{t._processResponse(i)}catch(n){t.emit("error",n instanceof K?n:new K({cause:n}))}},this._performRequest()}y.prototype=Object.create(G.prototype);y.prototype.abort=function(){Q(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};y.prototype.destroy=function(e){return Q(this._currentRequest,e),Yt.call(this,e),this};y.prototype.write=function(e,r,t){if(this._ending)throw new Xt;if(!b(e)&&!Zt(e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(E(r)&&(t=r,r=null),e.length===0){t&&t();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:r}),this._currentRequest.write(e,r,t)):(this.emit("error",new Wt),this.abort())};y.prototype.end=function(e,r,t){if(E(e)?(t=e,e=r=null):E(r)&&(t=r,r=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,t);else{var i=this,n=this._currentRequest;this.write(e,r,function(){i._ended=!0,n.end(null,null,t)}),this._ending=!0}};y.prototype.setHeader=function(e,r){this._options.headers[e]=r,this._currentRequest.setHeader(e,r)};y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};y.prototype.setTimeout=function(e,r){var t=this;function i(a){a.setTimeout(e),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy)}function n(a){t._timeout&&clearTimeout(t._timeout),t._timeout=setTimeout(function(){t.emit("timeout"),s()},e),i(a)}function s(){t._timeout&&(clearTimeout(t._timeout),t._timeout=null),t.removeListener("abort",s),t.removeListener("error",s),t.removeListener("response",s),t.removeListener("close",s),r&&t.removeListener("timeout",r),t.socket||t._currentRequest.removeListener("socket",n)}return r&&this.on("timeout",r),this.socket?n(this.socket):this._currentRequest.once("socket",n),this.on("socket",i),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){y.prototype[e]=function(r,t){return this._currentRequest[e](r,t)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})});y.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var r=e.path.indexOf("?");r<0?e.pathname=e.path:(e.pathname=e.path.substring(0,r),e.search=e.path.substring(r))}};y.prototype._performRequest=function(){var e=this._options.protocol,r=this._options.nativeProtocols[e];if(!r)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var t=e.slice(0,-1);this._options.agent=this._options.agents[t]}var i=this._currentRequest=r.request(this._options,this._onNativeResponse);i._redirectable=this;for(var n of X)i.on(n,Y[n]);if(this._currentUrl=/^\//.test(this._options.path)?w.format(this._options):this._options.path,this._isRedirect){var s=0,a=this,h=this._requestBodyBuffers;(function d(c){if(i===a._currentRequest)if(c)a.emit("error",c);else if(s<h.length){var f=h[s++];i.finished||i.write(f.data,f.encoding,d)}else a._ended&&i.end()})()}};y.prototype._processResponse=function(e){var r=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:r});var t=e.headers.location;if(!t||this._options.followRedirects===!1||r<300||r>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(Q(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Vt;var i,n=this._options.beforeRedirect;n&&(i=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((r===301||r===302)&&this._options.method==="POST"||r===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],F(/^content-/i,this._options.headers));var a=F(/^host$/i,this._options.headers),h=J(this._currentUrl),d=a||h.host,c=/^\w+:/.test(t)?this._currentUrl:w.format(Object.assign(h,{host:d})),f=Jt(t,c);if(Pe("redirecting to",f.href),this._isRedirect=!0,$(f,this._options),(f.protocol!==h.protocol&&f.protocol!=="https:"||f.host!==d&&!Qt(f.host,d))&&F(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),E(n)){var x={headers:e.headers,statusCode:r},T={url:c,method:s,headers:i};n(this._options,x,T),this._sanitizeOptions(this._options)}this._performRequest()};function Ie(e){var r={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(e).forEach(function(i){var n=i+":",s=t[n]=e[i],a=r[i]=Object.create(s);function h(c,f,x){return er(c)?c=$(c):b(c)?c=$(J(c)):(x=f,f=Fe(c),c={protocol:n}),E(f)&&(x=f,f=null),f=Object.assign({maxRedirects:r.maxRedirects,maxBodyLength:r.maxBodyLength},c,f),f.nativeProtocols=t,!b(f.host)&&!b(f.hostname)&&(f.hostname="::1"),V.equal(f.protocol,n,"protocol mismatch"),Pe("options",f),new y(f,x)}function d(c,f,x){var T=a.request(c,f,x);return T.end(),T}Object.defineProperties(a,{request:{value:h,configurable:!0,enumerable:!0,writable:!0},get:{value:d,configurable:!0,enumerable:!0,writable:!0}})}),r}function He(){}function J(e){var r;if(W)r=new q(e);else if(r=Fe(w.parse(e)),!b(r.protocol))throw new M({input:e});return r}function Jt(e,r){return W?new q(e,r):J(w.resolve(r,e))}function Fe(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new M({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new M({input:e.href||e});return e}function $(e,r){var t=r||{};for(var i of Gt)t[i]=e[i];return t.hostname.startsWith("[")&&(t.hostname=t.hostname.slice(1,-1)),t.port!==""&&(t.port=Number(t.port)),t.path=t.search?t.pathname+t.search:t.pathname,t}function F(e,r){var t;for(var i in r)e.test(i)&&(t=r[i],delete r[i]);return t===null||typeof t>"u"?void 0:String(t).trim()}function R(e,r,t){function i(n){E(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?r+": "+this.cause.message:r}return i.prototype=new(t||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function Q(e,r){for(var t of X)e.removeListener(t,Y[t]);e.on("error",He),e.destroy(r)}function Qt(e,r){V(b(e)&&b(r));var t=e.length-r.length-1;return t>0&&e[t]==="."&&e.endsWith(r)}function b(e){return typeof e=="string"||e instanceof String}function E(e){return typeof e=="function"}function Zt(e){return typeof e=="object"&&"length"in e}function er(e){return q&&e instanceof q}Z.exports=Ie({http:Kt,https:$t});Z.exports.wrap=Ie});export{Ct as a,Mt as b,tr as c};
|
|
5
|
-
/*! Bundled license information:
|
|
6
|
-
|
|
7
|
-
mime-types/index.js:
|
|
8
|
-
(*!
|
|
9
|
-
* mime-types
|
|
10
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
11
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
12
|
-
* MIT Licensed
|
|
13
|
-
*)
|
|
14
|
-
*/
|
package/chunks/chunk-XCFLI3OC.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Force strict mode and setup for ESM
|
|
2
|
-
"use strict";
|
|
3
|
-
import{b as a,d as c}from"./chunk-MH2P4YXC.js";import{b as E}from"./chunk-GZPNIYVZ.js";E();import{URL as g}from"node:url";var l=[/^10\./,/^127\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.168\./,/^::1$/,/^fc00:/,/^fe80:/],f=new Set(["UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","SELF_SIGNED_CERT_IN_CHAIN","DEPTH_ZERO_SELF_SIGNED_CERT","CERT_HAS_EXPIRED","ERR_TLS_CERT_ALTNAME_INVALID"]),T=new Set([...f,"ECONNRESET","ETIMEDOUT","ECONNREFUSED","ENOTFOUND","EAI_AGAIN","EHOSTUNREACH","ENETUNREACH"]),u=class extends Error{constructor(t,o){super(t);this.code=o;this.name="FetchError"}};function S(n){try{let e=new g(n).hostname;return l.some(t=>t.test(e))}catch{return!1}}async function A(n,e,t){let o=new AbortController,r=setTimeout(()=>o.abort(),e);try{return await fetch(n,{signal:o.signal,headers:t})}catch(s){throw a(s)&&s.code==="ABORT_ERR"?new u(`Request timed out after ${e}ms`,"ETIMEDOUT"):new u(c(s))}finally{clearTimeout(r)}}function i(n){if(!(!n||typeof n!="object")&&"code"in n&&typeof n.code=="string")return n.code}function h(n){if(typeof n=="string")return n;if(typeof n=="number"||typeof n=="boolean"||typeof n=="bigint")return String(n);if(n instanceof Error)return n.message;if(!n||typeof n!="object")return;let e=n.message;if(typeof e=="string")return e}function m(n){if(!(n instanceof Error))return;let e=n.cause;if(!e)return;let t=i(e),o=h(e);if(!(!t&&!o))return t&&o&&!o.includes(t)?`${t}: ${o}`:o??t}function N(n,e={}){let t=c(n),o=n instanceof Error?i(n.cause)??i(n):i(n),r=m(n),s=[t,r?`(cause: ${r})`:void 0].filter(Boolean).join(" "),d=t.toLowerCase().includes("fetch failed")||o!=null&&T.has(o),R=o!=null&&f.has(o);if(!d)return s;let _=["","Troubleshooting:",...e.url?[`- Confirm you can reach ${e.url} from this machine.`]:[],"- If you are behind a proxy, pass `--proxy <url>` (or set `proxy` in settings).",...R?["- If your network uses a corporate TLS inspection CA, set `NODE_EXTRA_CA_CERTS` to your CA bundle."]:[]];return`${s}${_.join(`
|
|
4
|
-
`)}`}export{S as a,A as b,N as c};
|
|
5
|
-
/**
|
|
6
|
-
* @license
|
|
7
|
-
* Copyright 2025 Google LLC
|
|
8
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
9
|
-
*/
|