@maincode-ai/matilda-code 0.21.10-nightly.20261013.3cc37e95b → 0.21.10-preview.1
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-XXSEYARS.js +3 -0
- package/chunks/agent-headless-YBWTAFUH.js +3 -0
- package/chunks/{anthropicContentGenerator-SFJGSZHT.js → anthropicContentGenerator-IYZILRDW.js} +1 -1
- package/chunks/{askUserQuestion-TQJ7F7CS.js → askUserQuestion-XWHJY3DM.js} +1 -1
- package/chunks/{chunk-OLIMRBAW.js → chunk-2HQMJ2IU.js} +1 -1
- package/chunks/{chunk-EI462EXI.js → chunk-2W6MZZHZ.js} +1 -1
- package/chunks/{todoWrite-55GVNNO2.js → chunk-4CSSDBOS.js} +2 -2
- package/chunks/{chunk-5PMMY47S.js → chunk-4FVBPNTZ.js} +1 -1
- package/chunks/{chunk-SQ2CKQU5.js → chunk-4TQ7ABLG.js} +2 -2
- package/chunks/{chunk-B5NYQ2PX.js → chunk-66NIIU2R.js} +1 -1
- package/chunks/{chunk-32PTAACU.js → chunk-ELH4YHJR.js} +1 -1
- package/chunks/{chunk-FWIVFCKF.js → chunk-FFFZ2QMG.js} +1 -1
- package/chunks/{chunk-LW6HVUZY.js → chunk-FRRBNNEB.js} +48 -48
- package/chunks/{chunk-EQEQPZLQ.js → chunk-GO2GA2GY.js} +1 -1
- package/chunks/{chunk-QHA3ZBRO.js → chunk-GUFIMKF5.js} +1 -1
- package/chunks/{chunk-C2CSGAWB.js → chunk-HOCFKXNJ.js} +1 -1
- package/chunks/{chunk-VWWEEU4V.js → chunk-JXUDKX6D.js} +1 -1
- package/chunks/{chunk-VLYRNOD3.js → chunk-MH2P4YXC.js} +10 -10
- package/chunks/{chunk-YO6UJZOE.js → chunk-MKFQMX37.js} +1 -1
- package/chunks/{chunk-VYTYYCBR.js → chunk-NYEWHSBL.js} +1 -1
- package/chunks/{chunk-LIWYWWOK.js → chunk-ODZOYHIC.js} +1 -1
- package/chunks/{chunk-Q2I3ARPJ.js → chunk-QH7736R5.js} +1 -1
- package/chunks/{chunk-LJTGMYP7.js → chunk-QN6WSWMM.js} +1 -1
- package/chunks/{chunk-RJX7DK4Y.js → chunk-S4UT3QLV.js} +1 -1
- package/chunks/{chunk-KKSNFI3V.js → chunk-SNLH42QJ.js} +1 -1
- package/chunks/{chunk-SE3XDSIJ.js → chunk-SPW5DXX4.js} +1 -1
- package/chunks/{chunk-S7G6QPEP.js → chunk-SUH3UUWZ.js} +1 -1
- package/chunks/{chunk-V262DH4R.js → chunk-T4P4KEDW.js} +1 -1
- package/chunks/{chunk-D55XD2PX.js → chunk-TO3ID3JW.js} +1 -1
- package/chunks/{chunk-N5MEX575.js → chunk-VVIJGBQK.js} +529 -510
- package/chunks/{chunk-NMY3ZLP4.js → chunk-W5CGKUM4.js} +1 -1
- package/chunks/{chunk-SXZBLPMG.js → chunk-WHG6N5X2.js} +1 -1
- package/chunks/{chunk-QQMZMLJH.js → chunk-WJO3QSBJ.js} +1 -1
- package/chunks/{chunk-XCJYORZX.js → chunk-XCFLI3OC.js} +1 -1
- package/chunks/{chunk-FJVX56RU.js → chunk-YMIF2DMT.js} +1 -1
- package/chunks/{chunk-6ONKZT5X.js → chunk-YSIECQIZ.js} +2 -2
- package/chunks/{computer-use-FBQJBGA6.js → computer-use-HX2LYMYD.js} +1 -1
- package/chunks/contextCommand-W7DBC37U.js +3 -0
- package/chunks/{cron-create-EGE6X6GV.js → cron-create-2UI4AT4Q.js} +1 -1
- package/chunks/{cron-delete-2Q5DPSXJ.js → cron-delete-ZB6BOTFF.js} +1 -1
- package/chunks/{cron-list-QHJ63QNB.js → cron-list-YYAXNHB6.js} +1 -1
- package/chunks/{edit-LOSUFTG7.js → edit-HFUF2RN3.js} +1 -1
- package/chunks/{enter-worktree-64F5ZB3L.js → enter-worktree-LFCL64PJ.js} +1 -1
- package/chunks/{enterPlanMode-5UQBR4HQ.js → enterPlanMode-TREN7ULJ.js} +1 -1
- package/chunks/{exit-worktree-CS6ZWQPA.js → exit-worktree-MH2J4P42.js} +1 -1
- package/chunks/{exitPlanMode-3V6JU7BK.js → exitPlanMode-PQO3EFFT.js} +1 -1
- package/chunks/{geminiContentGenerator-D5ZJRKFR.js → geminiContentGenerator-FE5UVAOZ.js} +1 -1
- package/chunks/glob-VZAYMEQA.js +22 -0
- package/chunks/{goal-tools-Z52KNI7M.js → goal-tools-JN27F5BA.js} +1 -1
- package/chunks/grep-2VT5TSRU.js +22 -0
- package/chunks/{keychain-token-storage-HAFQQIXL.js → keychain-token-storage-54BNK6VH.js} +1 -1
- package/chunks/{ls-QX6SPONF.js → ls-YWZU3FYL.js} +1 -1
- package/chunks/{lsp-67CW6T6G.js → lsp-4CJDKEEC.js} +1 -1
- package/chunks/{matildaAgentContentGenerator-TJMPYCSQ.js → matildaAgentContentGenerator-EYETUHCZ.js} +1 -1
- package/chunks/matildaContentGenerator-IWKH3YC4.js +8 -0
- package/chunks/{matildaOAuth2-W2DQO2NK.js → matildaOAuth2-GRS5K3D4.js} +1 -1
- package/chunks/monitor-AMIVJKDL.js +32 -0
- package/chunks/notebook-edit-BQUXXNEO.js +17 -0
- package/chunks/{openaiContentGenerator-AF5VB7VJ.js → openaiContentGenerator-4M7WBW3G.js} +1 -1
- package/chunks/read-file-FNJZCMIZ.js +3 -0
- package/chunks/ripGrep-UOEUWYVF.js +3 -0
- package/chunks/scheduler-ASQLD6BW.js +8 -0
- package/chunks/{send-message-CWHALIVI.js → send-message-OO2HAKCC.js} +1 -1
- package/chunks/{serve-QWMBOX5I.js → serve-FIDAAJAB.js} +1 -1
- package/chunks/shell-S732E2W4.js +3 -0
- package/chunks/{skill-BZXS3BAT.js → skill-VXNOQCSI.js} +1 -1
- package/chunks/src-QZENX46P.js +3 -0
- package/chunks/{symbol-search-OTYVWM4V.js → symbol-search-ALYOX5JN.js} +1 -1
- package/chunks/{syntheticOutput-DXVIINX5.js → syntheticOutput-UASKABJH.js} +1 -1
- package/chunks/task-create-EBJD55TB.js +3 -0
- package/chunks/{task-detach-CMTNPF6A.js → task-detach-I67ZE5MX.js} +1 -1
- package/chunks/{task-list-BGBPPTVN.js → task-list-5BGX4G5N.js} +1 -1
- package/chunks/{task-stop-G4LLM4EA.js → task-stop-ERI5X4AO.js} +1 -1
- package/chunks/{task-update-HHYW65KV.js → task-update-CD3W556L.js} +1 -1
- package/chunks/{team-create-YBF4GQNR.js → team-create-CXY3MRCE.js} +1 -1
- package/chunks/{team-delete-GCLETP4Y.js → team-delete-5U3GBFKJ.js} +1 -1
- package/chunks/todoWrite-YGG6AZ3A.js +3 -0
- package/chunks/{tool-search-4ONKQAU2.js → tool-search-AJ57WSJC.js} +1 -1
- package/chunks/{web-fetch-FKHAEQ6D.js → web-fetch-63M6GZQL.js} +1 -1
- package/chunks/{web-search-WS6IQ5O7.js → web-search-OX2DPEVN.js} +1 -1
- package/chunks/{workflow-YS35G3OT.js → workflow-55OAJ6XH.js} +2 -2
- package/chunks/write-file-2TWXQRDB.js +15 -0
- package/cli.js +425 -425
- package/package.json +2 -2
- package/chunks/agent-RT5D4PRD.js +0 -3
- package/chunks/agent-headless-WWFOT665.js +0 -3
- package/chunks/contextCommand-TXEHFFEJ.js +0 -3
- package/chunks/glob-FRZX2NR2.js +0 -22
- package/chunks/grep-N7XLJCTM.js +0 -22
- package/chunks/matildaContentGenerator-UGZD424B.js +0 -8
- package/chunks/monitor-HRFQT4JM.js +0 -32
- package/chunks/notebook-edit-QHXLEWYF.js +0 -17
- package/chunks/read-file-XTLJOQVK.js +0 -3
- package/chunks/ripGrep-NWSOW3DX.js +0 -3
- package/chunks/scheduler-HP3OMY6G.js +0 -8
- package/chunks/shell-DMFTVQX7.js +0 -3
- package/chunks/src-U36W34IM.js +0 -3
- package/chunks/task-create-F6J3WIYR.js +0 -3
- package/chunks/write-file-ZA5EWSCU.js +0 -15
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{
|
|
3
|
+
import{b as u,ba as M}from"./chunk-MH2P4YXC.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{L as a,B as b,X as c,Y as d,V as e};
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2025 Matilda Team
|