@maincode-ai/matilda-code 0.22.0 → 0.22.1-nightly.20261104.f4c27782c
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/chunks/agent-BXVCIBXW.js +3 -0
- package/chunks/agent-headless-64NUELGA.js +3 -0
- package/chunks/{askUserQuestion-RZYBOPLR.js → askUserQuestion-A46IDHKS.js} +1 -1
- package/chunks/{chunk-453BANK3.js → chunk-5JCW6FH6.js} +1 -1
- package/chunks/{chunk-LM6OIN4B.js → chunk-6RK6IJY5.js} +1 -1
- package/chunks/{chunk-ARAB5QTM.js → chunk-6T25BBKH.js} +62 -62
- package/chunks/{chunk-J3ZCE3TA.js → chunk-7AEOFDY3.js} +1 -1
- package/chunks/{chunk-NBLBE7PE.js → chunk-7YEKK577.js} +451 -458
- package/chunks/{chunk-6NXVLJ3X.js → chunk-A5QKQKJW.js} +1 -1
- package/chunks/{chunk-7E2YCGHS.js → chunk-AEYNMLMW.js} +12 -12
- package/chunks/{chunk-PQZ6HKKW.js → chunk-BSSOFLAZ.js} +26 -26
- package/chunks/{chunk-5ETLURI6.js → chunk-DEN6RR3B.js} +1 -1
- package/chunks/{chunk-2XSB5XHX.js → chunk-FI2FSW7J.js} +1 -1
- package/chunks/chunk-FPGKJJJY.js +13 -0
- package/chunks/{chunk-MGRXOZAG.js → chunk-HRCRNKY2.js} +1 -1
- package/chunks/{chunk-ILHNCXBC.js → chunk-IV6PS6DB.js} +1 -1
- package/chunks/{chunk-POGNX7U3.js → chunk-KYNP66YS.js} +1 -1
- package/chunks/{chunk-RPXRN7E6.js → chunk-LONWTJOE.js} +1 -1
- package/chunks/{chunk-G3F3ZCH2.js → chunk-RH3AEZWO.js} +1 -1
- package/chunks/chunk-S6SR7XG2.js +121 -0
- package/chunks/{chunk-7B65UIHB.js → chunk-SMTY6M3W.js} +1 -1
- package/chunks/{chunk-IHWAOFCQ.js → chunk-TDFF4ZGY.js} +1 -1
- package/chunks/chunk-TKEFJ3O3.js +9 -0
- package/chunks/{chunk-V4VILMIK.js → chunk-UICLGQTV.js} +1 -1
- package/chunks/chunk-XPVKH5TC.js +10 -0
- package/chunks/{chunk-4UGPARBR.js → chunk-YY64FVJG.js} +1 -1
- package/chunks/{chunk-LMZBADPW.js → chunk-ZABAV4XA.js} +1 -1
- package/chunks/{computer-use-PBCWDTJR.js → computer-use-2YIT7SIT.js} +1 -1
- package/chunks/{cron-create-PHQ43NYA.js → cron-create-JINCFLKY.js} +1 -1
- package/chunks/{cron-delete-7RCQIU2U.js → cron-delete-RF6JLUAV.js} +1 -1
- package/chunks/{cron-list-KKNLLMNN.js → cron-list-VXLBAXZ3.js} +1 -1
- package/chunks/{edit-ELHNQB5E.js → edit-6S3DRURW.js} +3 -3
- package/chunks/{enter-worktree-UZIBOBV3.js → enter-worktree-57EOUOC4.js} +1 -1
- package/chunks/{enterPlanMode-UHY3DZXE.js → enterPlanMode-EWO2LZ5G.js} +1 -1
- package/chunks/{exit-worktree-HLG4PDMX.js → exit-worktree-T7IHIQX5.js} +1 -1
- package/chunks/{exitPlanMode-V4HYNH3J.js → exitPlanMode-YW7MKP6A.js} +1 -1
- package/chunks/{glob-C5CTWXLP.js → glob-EYNPF6KD.js} +1 -1
- package/chunks/{goal-tools-BGIWEJ3K.js → goal-tools-F2V2CXAF.js} +1 -1
- package/chunks/{grep-BEFTGKHW.js → grep-CDC2COXY.js} +1 -1
- package/chunks/{keychain-token-storage-FEJZYJBB.js → keychain-token-storage-UTWIIKCK.js} +1 -1
- package/chunks/{ls-XH55NAD3.js → ls-3EEHZY4W.js} +1 -1
- package/chunks/{lsp-BKDCR37G.js → lsp-H4EXPHFD.js} +1 -1
- package/chunks/mcp-client-3GTPI6IS.js +3 -0
- package/chunks/monitor-AHLS4MYF.js +32 -0
- package/chunks/notebook-edit-6HEQYPZ3.js +17 -0
- package/chunks/openaiContentGenerator-CQQ7EBHB.js +47 -0
- package/chunks/read-file-EWNDGS3Y.js +3 -0
- package/chunks/ripGrep-6BXNDTIT.js +3 -0
- package/chunks/scheduler-FLVTLJFY.js +8 -0
- package/chunks/{send-message-GJSEMAZB.js → send-message-5XHDGHSN.js} +1 -1
- package/chunks/shell-FVBBSL2E.js +3 -0
- package/chunks/{skill-3RWNSUNE.js → skill-AR3SRFYF.js} +1 -1
- package/chunks/{symbol-search-4VM6J5Y4.js → symbol-search-ZM3HFCUV.js} +1 -1
- package/chunks/{syntheticOutput-O7LEF3AM.js → syntheticOutput-OIPRFBVD.js} +1 -1
- package/chunks/{task-create-N4IRJBTF.js → task-create-QP44DKH4.js} +1 -1
- package/chunks/{task-detach-RGNQUX3H.js → task-detach-AUTU6C4G.js} +1 -1
- package/chunks/{task-list-Z7JUB4QK.js → task-list-U2WAGMM7.js} +1 -1
- package/chunks/{task-stop-L2OWK2PJ.js → task-stop-GN5WZ3IA.js} +1 -1
- package/chunks/{task-update-H5AXVXDS.js → task-update-26N2AUQT.js} +1 -1
- package/chunks/{team-create-FWTIQ2FT.js → team-create-RPZE626O.js} +1 -1
- package/chunks/{team-delete-D45ALROH.js → team-delete-XCKD5FBZ.js} +1 -1
- package/chunks/todoWrite-JN3ZV5O2.js +3 -0
- package/chunks/{tool-search-X6UUCSPU.js → tool-search-RDU7B45X.js} +1 -1
- package/chunks/{web-fetch-244KUWSX.js → web-fetch-6RRSCIUU.js} +1 -1
- package/chunks/{web-search-YRZ3BZ3X.js → web-search-3IXDQD7D.js} +3 -3
- package/chunks/{workflow-EP4AFR24.js → workflow-P6YL6ZHY.js} +2 -2
- package/chunks/write-file-BYAPFQ5P.js +15 -0
- package/cli.js +431 -424
- package/package.json +2 -2
- package/chunks/agent-IUINB66G.js +0 -3
- package/chunks/agent-headless-YA2RKYEZ.js +0 -3
- package/chunks/chunk-DUB7JMQV.js +0 -13
- package/chunks/chunk-RHSUTILA.js +0 -9
- package/chunks/chunk-V2VUANFI.js +0 -120
- package/chunks/mcp-client-GAQG7MCT.js +0 -3
- package/chunks/monitor-NSVUUKCM.js +0 -32
- package/chunks/notebook-edit-AXKYC64C.js +0 -17
- package/chunks/openaiContentGenerator-66YY6CIM.js +0 -47
- package/chunks/read-file-YFJMLS7V.js +0 -3
- package/chunks/ripGrep-BEHEB23R.js +0 -3
- package/chunks/scheduler-GKQOREMS.js +0 -8
- package/chunks/shell-J5Q2UEXH.js +0 -3
- package/chunks/todoWrite-LCQOQBI7.js +0 -3
- package/chunks/write-file-EXWGRN4Q.js +0 -15
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{
|
|
3
|
+
import{Y as M,c as u}from"./chunk-AEYNMLMW.js";import{b as I}from"./chunk-GZPNIYVZ.js";I();import*as P from"node:crypto";import*as n from"node:fs";import*as f from"node:fs/promises";import*as O from"node:path";var C=M("ATOMIC_WRITE");async function L(t,o,e,i,w=f.rename){for(let a=0;a<=e;a++)try{await w(t,o);return}catch(c){if(!(u(c)&&(c.code==="EPERM"||c.code==="EACCES"))||a===e)throw c;await new Promise(v=>setTimeout(v,i*2**a))}}async function $(t){let e=t;for(let w=0;w<40;w++){let a;try{a=await f.lstat(e)}catch(l){if(u(l)&&l.code==="ENOENT")return e;throw l}if(!a.isSymbolicLink())return e;let c=await f.readlink(e);if(O.isAbsolute(c))e=c;else{let l=await f.realpath(O.dirname(e));e=O.resolve(l,c)}}let i=new Error(`ELOOP: too many levels of symbolic links, resolve '${t}'`);throw i.code="ELOOP",i}async function B(t,o,e,i){let w=e?.retries??3,a=e?.delayMs??50,c=e?.flush??!0,l=e?.encoding??"utf-8",v=i?.rename??f.rename,F=i?.writeFile??f.writeFile,x=i?.open??f.open,T=i?.chmod??f.chmod,A=i?.fchmod??((d,s)=>d.chmod(s)),b=i?.unlink??f.unlink,r=e?.noFollow?t:await $(t).catch(d=>{throw N(d,t)}),S;try{S=await f.stat(r)}catch(d){if(!u(d)||d.code!=="ENOENT")throw d}let W;(!e?.forceMode||e?.mode===void 0)&&(W=S!==void 0?S.mode&4095:void 0);let y=W??e?.mode,p={};typeof o=="string"&&(p.encoding=l),c&&(p.flush=!0),y!==void 0&&(p.mode=y);let k=async d=>{if(y!==void 0)try{await T(d,y)}catch(s){if(!u(s)||s.code!=="ENOSYS"&&s.code!=="ENOTSUP")throw s}},h=()=>{if(S===void 0||process.platform==="win32")return!1;let d=process.geteuid?.();return d===void 0?!1:S.uid!==d};if(S!==void 0&&S.isFile()&&h()){await f.writeFile(r,o,p),await k(r);return}let m=`${r}.${P.randomBytes(6).toString("hex")}.tmp`;try{await F(m,o,p),await k(m),await L(m,r,w,a,v)}catch(d){try{await b(m)}catch{}if(u(d)&&d.code==="EXDEV")try{if(e?.noFollow){try{await b(r)}catch(g){if(!u(g)||g.code!=="ENOENT")throw g}let s=await x(r,n.constants.O_WRONLY|n.constants.O_CREAT|n.constants.O_EXCL,y??438),E=!1;try{try{if(await s.writeFile(typeof o=="string"?Buffer.from(o,l):o),c&&await s.sync(),y!==void 0)try{await A(s,y)}catch(g){if(!u(g)||g.code!=="ENOSYS"&&g.code!=="ENOTSUP")throw g}E=!0}finally{await s.close()}}catch(g){if(!E)try{await b(r)}catch(R){C.debug(`orphan unlink failed for ${r}:`,R)}throw g}}else await F(r,o,p),await k(r);return}catch(s){throw N(s,r)}throw N(d,r)}}function N(t,o,e="atomicWriteFile"){return t instanceof Error&&!t.message.startsWith(`${e}(`)&&(t.message=`${e}(${JSON.stringify(o)}): ${t.message}`),t}async function X(t,o,e){await B(t,JSON.stringify(o,null,2),{encoding:"utf-8",...e})}function H(t){if(t<=0)return;let o=new SharedArrayBuffer(4),e=new Int32Array(o);Atomics.wait(e,0,0,t)}function Y(t,o,e,i,w=n.renameSync){for(let a=0;a<=e;a++)try{w(t,o);return}catch(c){if(!(u(c)&&(c.code==="EPERM"||c.code==="EACCES"))||a===e)throw c;H(i*2**a)}}function D(t){let e=t;for(let w=0;w<40;w++){let a;try{a=n.lstatSync(e)}catch(l){if(u(l)&&l.code==="ENOENT")return e;throw l}if(!a.isSymbolicLink())return e;let c=n.readlinkSync(e);if(O.isAbsolute(c))e=c;else{let l=n.realpathSync(O.dirname(e));e=O.resolve(l,c)}}let i=new Error(`ELOOP: too many levels of symbolic links, resolve '${t}'`);throw i.code="ELOOP",i}function V(t,o,e,i){let w=e?.retries??3,a=e?.delayMs??50,c=e?.flush??!0,l=e?.encoding??"utf-8",v=i?.rename??n.renameSync,F=i?.writeFile??n.writeFileSync,x=i?.open??n.openSync,T=i?.chmod??n.chmodSync,A=i?.fchmod??n.fchmodSync,b=i?.unlink??n.unlinkSync,r;if(e?.noFollow)r=t;else try{r=D(t)}catch(h){throw N(h,t,"atomicWriteFileSync")}let S=`${r}.${P.randomBytes(6).toString("hex")}.tmp`,W;if(!e?.forceMode||e?.mode===void 0)try{W=n.statSync(r).mode&4095}catch(h){if(!u(h)||h.code!=="ENOENT")throw h}let y=W??e?.mode,p={};typeof o=="string"&&(p.encoding=l),c&&(p.flush=!0),y!==void 0&&(p.mode=y);let k=h=>{if(y!==void 0)try{T(h,y)}catch(m){if(!u(m)||m.code!=="ENOSYS"&&m.code!=="ENOTSUP")throw m}};try{F(S,o,p),k(S),Y(S,r,w,a,v)}catch(h){try{b(S)}catch{}if(u(h)&&h.code==="EXDEV")try{if(e?.noFollow){try{b(r)}catch(s){if(!u(s)||s.code!=="ENOENT")throw s}let m=x(r,n.constants.O_WRONLY|n.constants.O_CREAT|n.constants.O_EXCL,y??438),d=!1;try{try{let s=typeof o=="string"?Buffer.from(o,l):o;if(n.writeFileSync(m,s),c&&n.fsyncSync(m),y!==void 0)try{A(m,y)}catch(E){if(!u(E)||E.code!=="ENOSYS"&&E.code!=="ENOTSUP")throw E}d=!0}finally{n.closeSync(m)}}catch(s){if(!d)try{b(r)}catch(E){C.debug(`orphan unlink failed for ${r}:`,E)}throw s}}else F(r,o,p),k(r);return}catch(m){throw N(m,r,"atomicWriteFileSync")}throw N(h,r,"atomicWriteFileSync")}}export{B as a,X as b,V as c};
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2025 Matilda Team
|