@mintlify/cli 4.1.81 → 4.1.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{cli-F5_520xC.js → cli-amafFgoC.js} +5 -5
- package/dist/{config-o7H193Xj.js → config-CY4BARhX.js} +1 -1
- package/dist/{config-DLwNRkEH.js → config-D-3PjtVl.js} +1 -1
- package/dist/{converter-D-AXgjro.js → converter-DovGGlMI.js} +45 -46
- package/dist/{dist-B9Tpyt5G.js → dist-BAGnFN_9.js} +1 -1
- package/dist/{dist-Ds9rgRXa.js → dist-BAndNTcP.js} +208 -209
- package/dist/{dist-BVY4bzYW.js → dist-CjxRxd2A.js} +1 -1
- package/dist/{dist-Cgbskz5I.js → dist-DxjIV9Q5.js} +1 -1
- package/dist/{live-C37won3z.js → live-BtmS_Dke.js} +1 -1
- package/dist/{live-BR7YGuvT.js → live-CND-3fI5.js} +1 -1
- package/dist/{multi-repo-command-DmTEZuwj.js → multi-repo-command-CipHiXuw.js} +2 -2
- package/dist/{multi-repo-command-jpsmcxmw.js → multi-repo-command-D3W2ls4h.js} +1 -1
- package/dist/{multi-repo-config-fDV9HAT5.js → multi-repo-config-BRFbpA00.js} +1 -1
- package/dist/{multi-repo-preview-C-LdbybQ.js → multi-repo-preview-DYnrpllj.js} +1 -1
- package/dist/{multi-repo-setup-CRaAzjLQ.js → multi-repo-setup-B90kQcaV.js} +1 -1
- package/dist/start.js +1 -1
- package/package.json +9 -9
|
@@ -4,4 +4,4 @@ import { dirname as __mintDirname } from 'node:path';
|
|
|
4
4
|
const require = __mintCreateRequire(import.meta.url);
|
|
5
5
|
const __filename = __mintFileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __mintDirname(__filename);
|
|
7
|
-
export{t as clearConfigValue,n as getAgentSiteMetadata,r as getConfigValue,i as getUpdateState,a as hasShownPublishPrompt,o as isTelemetryEnabled,s as markPublishPromptShown,c as setAgentSiteMetadata,l as setConfigValue,u as setTelemetryEnabled,d as setUpdateState}from"./config-
|
|
7
|
+
export{t as clearConfigValue,n as getAgentSiteMetadata,r as getConfigValue,i as getUpdateState,a as hasShownPublishPrompt,o as isTelemetryEnabled,s as markPublishPromptShown,c as setAgentSiteMetadata,l as setConfigValue,u as setTelemetryEnabled,d as setUpdateState}from"./config-D-3PjtVl.js";
|
|
@@ -4,7 +4,7 @@ import { dirname as __mintDirname } from 'node:path';
|
|
|
4
4
|
const require = __mintCreateRequire(import.meta.url);
|
|
5
5
|
const __filename = __mintFileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __mintDirname(__filename);
|
|
7
|
-
import{i as e,o as t,t as n}from"./rolldown-runtime-CEAe2Uac.js";import{K as r,Qn as i,Yn as a,ct as o,dr as s,dt as c,lt as l,nt as u,ut as d}from"./dist-
|
|
7
|
+
import{i as e,o as t,t as n}from"./rolldown-runtime-CEAe2Uac.js";import{K as r,Qn as i,Yn as a,ct as o,dr as s,dt as c,lt as l,nt as u,ut as d}from"./dist-BAndNTcP.js";import{D as f,G as p,L as m,R as h,W as g,g as _,i as v,nt as y,q as b,tt as x,y as S}from"./dist-DxjIV9Q5.js";import{a as C,c as ee,i as te,o as ne,r as re,s as ie,t as ae}from"./agent-Da2kI1tZ.js";import{dt as oe}from"./utils-B1yewEzF.js";import{r as se}from"./client-DXQ6Tgw0.js";import{f as ce,m as le}from"./schemas-CVKidklE.js";import{createRequire as ue}from"node:module";import w from"path";import{readFileSync as de}from"node:fs";import fe,*as pe from"node:readline";import{AsyncLocalStorage as me,AsyncResource as he}from"node:async_hooks";import{spawn as ge,spawnSync as _e}from"child_process";import{execFile as ve}from"node:child_process";import ye from"node:os";import be from"node:path";import{randomUUID as xe}from"node:crypto";import{fileURLToPath as Se}from"node:url";import{promisify as Ce,stripVTControlCharacters as we}from"node:util";import Te from"node:fs/promises";import T from"node:process";import Ee,{readFileSync as De,unlinkSync as Oe,writeFileSync as ke}from"fs";import Ae from"os";var je=/* @__PURE__ */ n(((t,n)=>{var r=e(`os`),i=e(`fs`),a=e(`child_process`),o=`/etc/resolv.conf`;function s(){var e=`eth`,t=r.platform();return t===`darwin`?e=`en`:t===`win32`&&(e=null),e}function c(){return r.platform()===`win32`?`ipconfig/all`:`/sbin/ifconfig`}function l(e,t){return t===`IPv4`?e===`IPv4`||e===4:t===`IPv6`?e===`IPv6`||e===6:e===t}function u(e,t){typeof e==`function`&&(t=e,e=null);var n={ip:u.ip(e),ipv6:u.ipv6(e),mac:null};u.mac(e,function(e,r){r&&(n.mac=r),t(e,n)})}u.interface=function(e,t){var n=r.networkInterfaces(),i=!t;t||=s(),e||=`IPv4`;for(var a=-1;a<8;a++){var o=n[t+(a>=0?a:``)];if(o)for(var c=0;c<o.length;c++){var u=o[c];if(l(u.family,e))return u}}if(i)for(var d in n)for(var o=n[d],a=0;a<o.length;a++){var u=o[a];if(l(u.family,e)&&!u.address.startsWith(`127.`))return u}},u.ip=function(e){var t=u.interface(`IPv4`,e);return t&&t.address},u.ipv6=function(e){var t=u.interface(`IPv6`,e);return t&&t.address};var d=/^(\w+)\:\s+flags=/,f=/^(\w+)\s{2,}link encap:\w+/i,p=u.MAC_RE=/(?:ether|HWaddr)\s+((?:[a-z0-9]{2}\:){5}[a-z0-9]{2})/i,m=u.MAC_IP_RE=/inet\s(?:addr\:)?(\d+\.\d+\.\d+\.\d+)/;function h(e,t,n){for(var r=e.split(`
|
|
8
8
|
`),i=0;i<r.length;i++){var a=r[i].trimRight(),o=d.exec(a)||f.exec(a);if(o&&o[1].indexOf(t)===0){var s=null,c=null,l=p.exec(a);for(l&&(c=l[1]),i++;;){if(a=r[i],!a||d.exec(a)||f.exec(a)){i--;break}c||(l=p.exec(a),l&&(c=l[1])),s||(l=m.exec(a),l&&(s=l[1])),i++}if(s===n)return c}}}u.mac=function(e,t){typeof e==`function`&&(t=e,e=null),e||=s();var n=u.interface(`IPv4`,e);if(!n)return t();if(process.env.CI||n.mac!==`ff:00:00:00:00:00`&&n.mac!==`00:00:00:00:00:00`||(n.mac=``),n.mac)return t(null,n.mac);a.exec(c(),{timeout:5e3},function(r,i,a){if(r||!i)return t(r);var o=h(i||``,e,n.address);t(null,o)})};var g=/^nameserver\s+(\d+\.\d+\.\d+\.\d+)$/i;u.dns=function(e,t){typeof e==`function`&&(t=e,e=null),e||=o,i.readFile(e,`utf8`,function(e,n){if(e)return t(e);var r=[];n||=``;for(var i=n.split(`
|
|
9
9
|
`),a=0;a<i.length;a++){var o=i[a].trim(),s=g.exec(o);s&&r.push(s[1])}t(null,r)})},n.exports=u})),Me=/* @__PURE__ */ n(((t,n)=>{let r=e(`net`),i=je(),a=v()(`detect-port`);n.exports=(e,t)=>{let n=``;typeof e==`object`&&e?(n=e.hostname,t=e.callback,e=e.port):typeof e==`function`&&(t=e,e=null),e=parseInt(e)||0;let r=e+10;return r>65535&&(r=65535),a(`detect free port between [%s, %s)`,e,r),typeof t==`function`?o(e,r,n,t):new Promise(t=>{o(e,r,n,(e,n)=>{t(n)})})};function o(e,t,n,r){function c(){e++,e>=t&&(a(`port: %s >= maxPort: %s, give up and use random port`,e,t),e=0,t=0),o(e,t,n,r)}n?s(e,n,(e,t)=>{if(e)return e.code===`EADDRNOTAVAIL`?r(/* @__PURE__ */ Error(`the ip that is not unknown on the machine`)):c();r(null,t)}):s(e,null,(t,n)=>{if(e===0)return r(t,n);if(t)return c(t);s(e,`0.0.0.0`,t=>{if(t)return c(t);s(e,`localhost`,t=>{if(t&&t.code!==`EADDRNOTAVAIL`)return c(t);s(e,i.ip(),(e,t)=>{if(e)return c(e);r(null,t)})})})})}function s(e,t,n){let i=new r.Server;i.on(`error`,r=>(a(`listen %s:%s error: %s`,t,e,r),i.close(),r.code===`ENOTFOUND`?(a(`ignore dns ENOTFOUND error, get free %s:%s`,t,e),n(null,e)):n(r))),i.listen(e,t,()=>(e=i.address().port,i.close(),a(`get free %s:%s`,t,e),n(null,e)))}})),Ne=/* @__PURE__ */ n(((e,t)=>{let n=v()(`wait-port`),r=Me(),i=e=>new Promise(t=>setTimeout(t,e));async function a(e,t={}){let{retryInterval:a=1e3,retries:o=1/0}=t,s=1;async function c(){if(n(`retries`,o,`count`,s),s>o){let e=/* @__PURE__ */ Error(`retries exceeded`);throw e.retries=o,e.count=s,e}return s++,await r(e)!==e||(await i(a),c())}return await c()}t.exports=a})),Pe=/* @__PURE__ */ n(((e,t)=>{t.exports=Me(),t.exports.waitPort=Ne()})),E=/* @__PURE__ */ n((e=>{let t=c().fromCallback,n=d(),r=(/* @__PURE__ */ `access.appendFile.chmod.chown.close.copyFile.fchmod.fchown.fdatasync.fstat.fsync.ftruncate.futimes.lchmod.lchown.link.lstat.mkdir.mkdtemp.open.opendir.readdir.readFile.readlink.realpath.rename.rm.rmdir.stat.symlink.truncate.unlink.utimes.writeFile`.split(`.`)).filter(e=>typeof n[e]==`function`);Object.assign(e,n),r.forEach(r=>{e[r]=t(n[r])}),e.exists=function(e,t){return typeof t==`function`?n.exists(e,t):new Promise(t=>n.exists(e,t))},e.read=function(e,t,r,i,a,o){return typeof o==`function`?n.read(e,t,r,i,a,o):new Promise((o,s)=>{n.read(e,t,r,i,a,(e,t,n)=>{if(e)return s(e);o({bytesRead:t,buffer:n})})})},e.write=function(e,t,...r){return typeof r[r.length-1]==`function`?n.write(e,t,...r):new Promise((i,a)=>{n.write(e,t,...r,(e,t,n)=>{if(e)return a(e);i({bytesWritten:t,buffer:n})})})},e.readv=function(e,t,...r){return typeof r[r.length-1]==`function`?n.readv(e,t,...r):new Promise((i,a)=>{n.readv(e,t,...r,(e,t,n)=>{if(e)return a(e);i({bytesRead:t,buffers:n})})})},e.writev=function(e,t,...r){return typeof r[r.length-1]==`function`?n.writev(e,t,...r):new Promise((i,a)=>{n.writev(e,t,...r,(e,t,n)=>{if(e)return a(e);i({bytesWritten:t,buffers:n})})})},typeof n.realpath.native==`function`?e.realpath.native=t(n.realpath.native):process.emitWarning(`fs.realpath.native is not a function. Is fs being monkey-patched?`,`Warning`,`fs-extra-WARN0003`)})),Fe=/* @__PURE__ */ n(((t,n)=>{let r=e(`path`);n.exports.checkPath=function(e){if(process.platform===`win32`&&/[<>:"|?*]/.test(e.replace(r.parse(e).root,``))){let t=/* @__PURE__ */ Error(`Path contains invalid characters: ${e}`);throw t.code=`EINVAL`,t}}})),Ie=/* @__PURE__ */ n(((e,t)=>{let n=E(),{checkPath:r}=Fe(),i=e=>typeof e==`number`?e:{mode:511,...e}.mode;t.exports.makeDir=async(e,t)=>(r(e),n.mkdir(e,{mode:i(t),recursive:!0})),t.exports.makeDirSync=(e,t)=>(r(e),n.mkdirSync(e,{mode:i(t),recursive:!0}))})),D=/* @__PURE__ */ n(((e,t)=>{let n=c().fromPromise,{makeDir:r,makeDirSync:i}=Ie(),a=n(r);t.exports={mkdirs:a,mkdirsSync:i,mkdirp:a,mkdirpSync:i,ensureDir:a,ensureDirSync:i}})),Le=/* @__PURE__ */ n(((e,t)=>{let n=c().fromPromise,r=E();function i(e){return r.access(e).then(()=>!0).catch(()=>!1)}t.exports={pathExists:n(i),pathExistsSync:r.existsSync}})),Re=/* @__PURE__ */ n(((e,t)=>{let n=E(),r=c().fromPromise;async function i(e,t,r){let i=await n.open(e,`r+`),a=null;try{await n.futimes(i,t,r)}finally{try{await n.close(i)}catch(e){a=e}}if(a)throw a}function a(e,t,r){let i=n.openSync(e,`r+`);return n.futimesSync(i,t,r),n.closeSync(i)}t.exports={utimesMillis:r(i),utimesMillisSync:a}})),ze=/* @__PURE__ */ n(((t,n)=>{let r=E(),i=e(`path`),a=c().fromPromise;function o(e,t,n){let i=n.dereference?e=>r.stat(e,{bigint:!0}):e=>r.lstat(e,{bigint:!0});return Promise.all([i(e),i(t).catch(e=>{if(e.code===`ENOENT`)return null;throw e})]).then(([e,t])=>({srcStat:e,destStat:t}))}function s(e,t,n){let i,a=n.dereference?e=>r.statSync(e,{bigint:!0}):e=>r.lstatSync(e,{bigint:!0}),o=a(e);try{i=a(t)}catch(e){if(e.code===`ENOENT`)return{srcStat:o,destStat:null};throw e}return{srcStat:o,destStat:i}}async function l(e,t,n,r){let{srcStat:a,destStat:s}=await o(e,t,r);if(s){if(p(a,s)){let r=i.basename(e),o=i.basename(t);if(n===`move`&&r!==o&&r.toLowerCase()===o.toLowerCase())return{srcStat:a,destStat:s,isChangingCase:!0};throw Error(`Source and destination must not be the same.`)}if(a.isDirectory()&&!s.isDirectory())throw Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!a.isDirectory()&&s.isDirectory())throw Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(a.isDirectory()&&m(e,t))throw Error(h(e,t,n));return{srcStat:a,destStat:s}}function u(e,t,n,r){let{srcStat:a,destStat:o}=s(e,t,r);if(o){if(p(a,o)){let r=i.basename(e),s=i.basename(t);if(n===`move`&&r!==s&&r.toLowerCase()===s.toLowerCase())return{srcStat:a,destStat:o,isChangingCase:!0};throw Error(`Source and destination must not be the same.`)}if(a.isDirectory()&&!o.isDirectory())throw Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!a.isDirectory()&&o.isDirectory())throw Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(a.isDirectory()&&m(e,t))throw Error(h(e,t,n));return{srcStat:a,destStat:o}}async function d(e,t,n,a){let o=i.resolve(i.dirname(e)),s=i.resolve(i.dirname(n));if(s===o||s===i.parse(s).root)return;let c;try{c=await r.stat(s,{bigint:!0})}catch(e){if(e.code===`ENOENT`)return;throw e}if(p(t,c))throw Error(h(e,n,a));return d(e,t,s,a)}function f(e,t,n,a){let o=i.resolve(i.dirname(e)),s=i.resolve(i.dirname(n));if(s===o||s===i.parse(s).root)return;let c;try{c=r.statSync(s,{bigint:!0})}catch(e){if(e.code===`ENOENT`)return;throw e}if(p(t,c))throw Error(h(e,n,a));return f(e,t,s,a)}function p(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function m(e,t){let n=i.resolve(e).split(i.sep).filter(e=>e),r=i.resolve(t).split(i.sep).filter(e=>e);return n.every((e,t)=>r[t]===e)}function h(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}n.exports={checkPaths:a(l),checkPathsSync:u,checkParentPaths:a(d),checkParentPathsSync:f,isSrcSubdir:m,areIdentical:p}})),Be=/* @__PURE__ */ n(((t,n)=>{let r=E(),i=e(`path`),{mkdirs:a}=D(),{pathExists:o}=Le(),{utimesMillis:s}=Re(),c=ze();async function l(e,t,n={}){typeof n==`function`&&(n={filter:n}),n.clobber=`clobber`in n?!!n.clobber:!0,n.overwrite=`overwrite`in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&process.arch===`ia32`&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
10
10
|
|