@maincode-ai/matilda-code 0.21.10 → 0.21.11
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/docs/configuration/settings.md +10 -1
- package/bundled/mainy/docs/matilda-serve.md +6 -6
- package/chunks/agent-ZFZ4HJQC.js +3 -0
- package/chunks/agent-headless-KH2BKLP7.js +3 -0
- package/chunks/{anthropicContentGenerator-SFJGSZHT.js → anthropicContentGenerator-IYZILRDW.js} +1 -1
- package/chunks/{askUserQuestion-MJ4FTAOQ.js → askUserQuestion-XWHJY3DM.js} +1 -1
- package/chunks/{ca-H4HPSGTI.js → ca-EUJBUYX5.js} +1 -1
- package/chunks/{chunk-B3NVKOSU.js → chunk-25NCTG5H.js} +63 -54
- package/chunks/{chunk-INAZKGGR.js → chunk-2HQMJ2IU.js} +1 -1
- package/chunks/{todoWrite-7BZMVNBC.js → chunk-4CSSDBOS.js} +2 -2
- package/chunks/{chunk-5PMMY47S.js → chunk-4FVBPNTZ.js} +1 -1
- package/chunks/{chunk-C62LTEOV.js → chunk-4YVN5HXG.js} +2 -2
- package/chunks/{chunk-LSDMWVW6.js → chunk-5427BPR2.js} +2 -2
- package/chunks/{chunk-GC2F575A.js → chunk-6GBNB5Z2.js} +1 -1
- package/chunks/{chunk-32PTAACU.js → chunk-ELH4YHJR.js} +1 -1
- package/chunks/{chunk-3HUM74NZ.js → chunk-EQGA7LH7.js} +2 -2
- package/chunks/{chunk-FWIVFCKF.js → chunk-FFFZ2QMG.js} +1 -1
- package/chunks/chunk-GHBKFIHC.js +35 -0
- package/chunks/{chunk-EQEQPZLQ.js → chunk-GO2GA2GY.js} +1 -1
- package/chunks/{chunk-QHA3ZBRO.js → chunk-GUFIMKF5.js} +1 -1
- package/chunks/{chunk-RJX7DK4Y.js → chunk-HWOQNYAO.js} +1 -1
- package/chunks/chunk-HYVP4472.js +8 -0
- package/chunks/{chunk-VWWEEU4V.js → chunk-JXUDKX6D.js} +1 -1
- package/chunks/chunk-M53RP3YP.js +31 -0
- package/chunks/{chunk-VLYRNOD3.js → chunk-MH2P4YXC.js} +10 -10
- package/chunks/{chunk-DJSOHDUB.js → chunk-NIQK6NX3.js} +1 -1
- package/chunks/{chunk-K3ELACN2.js → chunk-NVM7W7TG.js} +17 -17
- package/chunks/{chunk-VYTYYCBR.js → chunk-NYEWHSBL.js} +1 -1
- package/chunks/{chunk-LIWYWWOK.js → chunk-ODZOYHIC.js} +1 -1
- package/chunks/{chunk-EXIO3QHE.js → chunk-Q55AVE2N.js} +9 -9
- package/chunks/chunk-QFNFLE2I.js +2625 -0
- package/chunks/{chunk-Q2I3ARPJ.js → chunk-QH7736R5.js} +1 -1
- package/chunks/chunk-QN6WSWMM.js +9 -0
- package/chunks/chunk-RK2AKQAX.js +39 -0
- package/chunks/chunk-SNLH42QJ.js +10 -0
- package/chunks/chunk-SPW5DXX4.js +35 -0
- package/chunks/{chunk-S7G6QPEP.js → chunk-SUH3UUWZ.js} +1 -1
- package/chunks/chunk-T2T2UEPY.js +4 -0
- package/chunks/{chunk-6B5BDE7S.js → chunk-T4P4KEDW.js} +8 -8
- package/chunks/chunk-VI74YQQO.js +8 -0
- package/chunks/{chunk-DCQKJTAX.js → chunk-W5CGKUM4.js} +8 -3
- package/chunks/{chunk-32T6RWWT.js → chunk-WHG6N5X2.js} +1 -1
- package/chunks/chunk-WRQLIPXW.js +113 -0
- package/chunks/{chunk-XCJYORZX.js → chunk-XCFLI3OC.js} +1 -1
- package/chunks/{chunk-3ZAMYREW.js → chunk-YMIF2DMT.js} +1 -1
- package/chunks/{computer-use-DJV6HTND.js → computer-use-SXP25RZQ.js} +7 -7
- package/chunks/contextCommand-3GN5CAOK.js +3 -0
- package/chunks/{cron-create-BTTPO3JC.js → cron-create-2UI4AT4Q.js} +1 -1
- package/chunks/{cron-delete-U55RHRID.js → cron-delete-ZB6BOTFF.js} +1 -1
- package/chunks/{cron-list-J4HRR46K.js → cron-list-YYAXNHB6.js} +1 -1
- package/chunks/{de-S7F37S4F.js → de-DNEPG7S7.js} +1 -1
- package/chunks/{dist-SVKXQXJX.js → dist-ME6647DQ.js} +1 -1
- package/chunks/{dist-SCXU6QWY.js → dist-P6SLWL5V.js} +1 -1
- package/chunks/{dist-PVENOVGI.js → dist-VG3ZDJ2A.js} +1 -1
- package/chunks/{dist-N66KF4KX.js → dist-YTCHM57U.js} +1 -1
- package/chunks/{edit-7XEZHXE4.js → edit-KX6V4PH3.js} +1 -1
- package/chunks/{en-S6DMCJQZ.js → en-NOD6KQNM.js} +1 -1
- package/chunks/{enter-worktree-MR64QLS4.js → enter-worktree-X47BSJLE.js} +1 -1
- package/chunks/{enterPlanMode-UNWCEVYY.js → enterPlanMode-F22ZNTYJ.js} +1 -1
- package/chunks/{exit-worktree-D4BMN6LH.js → exit-worktree-XY5UMDHX.js} +1 -1
- package/chunks/{exitPlanMode-AKLFFYT2.js → exitPlanMode-G3QLIWJ4.js} +1 -1
- package/chunks/{fr-RFJP3KVL.js → fr-2OE5WLJ4.js} +1 -1
- package/chunks/{geminiContentGenerator-JBASUS2T.js → geminiContentGenerator-EQEGOXOV.js} +1 -1
- package/chunks/glob-KSBEWI3E.js +22 -0
- package/chunks/goal-tools-6QTC3UI7.js +12 -0
- package/chunks/grep-6TTPZ524.js +22 -0
- package/chunks/{ja-UTJHPL3M.js → ja-3B6V5KS7.js} +1 -1
- package/chunks/{keychain-token-storage-HAFQQIXL.js → keychain-token-storage-54BNK6VH.js} +1 -1
- package/chunks/{ls-CLDNF3YS.js → ls-YWZU3FYL.js} +1 -1
- package/chunks/{lsp-7SKRKR5Q.js → lsp-4CJDKEEC.js} +1 -1
- package/chunks/{matildaAgentContentGenerator-GMDJPWES.js → matildaAgentContentGenerator-OV4U6DJD.js} +1 -1
- package/chunks/matildaContentGenerator-ETIAWE22.js +8 -0
- package/chunks/{matildaOAuth2-W2DQO2NK.js → matildaOAuth2-WOY7ZS43.js} +1 -1
- package/chunks/monitor-F4K5HOZX.js +32 -0
- package/chunks/notebook-edit-TL7CI5EA.js +17 -0
- package/chunks/{openaiContentGenerator-XDOQRO4G.js → openaiContentGenerator-MGASUFQL.js} +1 -1
- package/chunks/{pt-KXMOTADP.js → pt-KP2JCPUY.js} +1 -1
- package/chunks/read-file-6EAPS2KG.js +3 -0
- package/chunks/ripGrep-K6SFFUIE.js +3 -0
- package/chunks/{ru-EWGWZPQH.js → ru-K7IQQKHC.js} +1 -1
- package/chunks/scheduler-TKWPD4LP.js +8 -0
- package/chunks/{send-message-XXRROIL7.js → send-message-OO2HAKCC.js} +1 -1
- package/chunks/{serve-4MDSDWP7.js → serve-ZQX2WBLF.js} +31 -31
- package/chunks/shell-AZRK5GIO.js +3 -0
- package/chunks/{skill-JIISRKQN.js → skill-KDM3UUML.js} +1 -1
- package/chunks/src-SGI6VLOS.js +3 -0
- package/chunks/{symbol-search-3MVTK4KV.js → symbol-search-ALYOX5JN.js} +1 -1
- package/chunks/{syntheticOutput-QEUQIVQJ.js → syntheticOutput-UASKABJH.js} +1 -1
- package/chunks/task-create-EBJD55TB.js +3 -0
- package/chunks/task-detach-I67ZE5MX.js +9 -0
- package/chunks/{task-list-ZEJTNZ2O.js → task-list-5BGX4G5N.js} +1 -1
- package/chunks/{task-stop-JO3CXG2K.js → task-stop-ERI5X4AO.js} +1 -1
- package/chunks/{task-update-3YY37VFN.js → task-update-CD3W556L.js} +1 -1
- package/chunks/{team-create-GMI5DIH7.js → team-create-F4KQRGMB.js} +1 -1
- package/chunks/{team-delete-4YYLUV23.js → team-delete-5U3GBFKJ.js} +1 -1
- package/chunks/todoWrite-YGG6AZ3A.js +3 -0
- package/chunks/{tool-search-OWJC3UTX.js → tool-search-JFCD5W5M.js} +1 -1
- package/chunks/{web-fetch-K575OWZ7.js → web-fetch-REWGIRWQ.js} +1 -1
- package/chunks/{web-search-F6JRBXFV.js → web-search-OX2DPEVN.js} +1 -1
- package/chunks/{workflow-H5DWTI5W.js → workflow-SEFYGBED.js} +2 -2
- package/chunks/write-file-UAGVBZMC.js +15 -0
- package/cli.js +480 -475
- package/locales/ca.js +8 -2
- package/locales/de.js +9 -2
- package/locales/en.js +15 -8
- package/locales/fr.js +9 -2
- package/locales/ja.js +8 -2
- package/locales/pt.js +8 -2
- package/locales/ru.js +9 -2
- package/package.json +2 -2
- package/sandbox-macos-restrictive-closed.sb +4 -0
- package/sandbox-macos-restrictive-open.sb +4 -0
- package/sandbox-macos-restrictive-proxied.sb +4 -0
- package/chunks/agent-2ZM5WMHY.js +0 -3
- package/chunks/agent-headless-PX4INULZ.js +0 -3
- package/chunks/chunk-2UDXLDSZ.js +0 -34
- package/chunks/chunk-34DXSYJZ.js +0 -34
- package/chunks/chunk-ESSYHTAZ.js +0 -8
- package/chunks/chunk-FRL6KOLY.js +0 -35
- package/chunks/chunk-I7TAYS6D.js +0 -108
- package/chunks/chunk-JSFA3NEP.js +0 -5
- package/chunks/chunk-ROETRE5J.js +0 -9
- package/chunks/chunk-RYLWDCCN.js +0 -2594
- package/chunks/chunk-TZIDSCTF.js +0 -31
- package/chunks/contextCommand-TAFFF6V7.js +0 -3
- package/chunks/glob-3QKPKP7Z.js +0 -22
- package/chunks/grep-6CL6HJ5Y.js +0 -22
- package/chunks/matildaContentGenerator-EFK4QDRS.js +0 -8
- package/chunks/monitor-6W2R25LH.js +0 -32
- package/chunks/notebook-edit-WL6MZ6AW.js +0 -17
- package/chunks/read-file-J5UBJYDO.js +0 -3
- package/chunks/ripGrep-2AMYRBCZ.js +0 -3
- package/chunks/scheduler-LFSCKDU6.js +0 -8
- package/chunks/shell-SMTFAOAE.js +0 -3
- package/chunks/src-OF7NIVIL.js +0 -3
- package/chunks/task-create-AEJQ73GE.js +0 -3
- package/chunks/update-goal-CF6G57J7.js +0 -16
- package/chunks/write-file-RUHYPLKF.js +0 -15
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{l as k}from"./chunk-
|
|
3
|
+
import{l as k}from"./chunk-4YVN5HXG.js";import{Nb as It,Ub as St}from"./chunk-QFNFLE2I.js";import{a as Tt}from"./chunk-SPW5DXX4.js";import{m as Ct}from"./chunk-SUH3UUWZ.js";import{Gc as ht,h as nt}from"./chunk-25NCTG5H.js";import{p as st}from"./chunk-T4P4KEDW.js";import{b as C}from"./chunk-GZPNIYVZ.js";import{d as gt,f as Bt}from"./chunk-OWGSC52X.js";var Mt=gt(i=>{"use strict";C();var at=Symbol.for("react.transitional.element"),$t=Symbol.for("react.portal"),Gt=Symbol.for("react.fragment"),jt=Symbol.for("react.strict_mode"),Wt=Symbol.for("react.profiler"),qt=Symbol.for("react.consumer"),Ft=Symbol.for("react.context"),Yt=Symbol.for("react.forward_ref"),Kt=Symbol.for("react.suspense"),Jt=Symbol.for("react.memo"),kt=Symbol.for("react.lazy"),zt=Symbol.for("react.activity"),xt=Symbol.iterator;function Qt(t){return t===null||typeof t!="object"?null:(t=xt&&t[xt]||t["@@iterator"],typeof t=="function"?t:null)}var Rt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vt=Object.assign,Et={};function v(t,e,s){this.props=t,this.context=e,this.refs=Et,this.updater=s||Rt}v.prototype.isReactComponent={};v.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};v.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function At(){}At.prototype=v.prototype;function ut(t,e,s){this.props=t,this.context=e,this.refs=Et,this.updater=s||Rt}var mt=ut.prototype=new At;mt.constructor=ut;vt(mt,v.prototype);mt.isPureReactComponent=!0;var bt=Array.isArray;function it(){}var p={H:null,A:null,T:null,S:null},wt=Object.prototype.hasOwnProperty;function lt(t,e,s){var o=s.ref;return{$$typeof:at,type:t,key:e,ref:o!==void 0?o:null,props:s}}function Vt(t,e){return lt(t.type,e,t.props)}function pt(t){return typeof t=="object"&&t!==null&&t.$$typeof===at}function Xt(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(s){return e[s]})}var _t=/\/+/g;function rt(t,e){return typeof t=="object"&&t!==null&&t.key!=null?Xt(""+t.key):e.toString(36)}function Zt(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(it,it):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function R(t,e,s,o,n){var a=typeof t;(a==="undefined"||a==="boolean")&&(t=null);var m=!1;if(t===null)m=!0;else switch(a){case"bigint":case"string":case"number":m=!0;break;case"object":switch(t.$$typeof){case at:case $t:m=!0;break;case kt:return m=t._init,R(m(t._payload),e,s,o,n)}}if(m)return n=n(t),m=o===""?"."+rt(t,0):o,bt(n)?(s="",m!=null&&(s=m.replace(_t,"$&/")+"/"),R(n,e,s,"",function(g){return g})):n!=null&&(pt(n)&&(n=Vt(n,s+(n.key==null||t&&t.key===n.key?"":(""+n.key).replace(_t,"$&/")+"/")+m)),e.push(n)),1;m=0;var d=o===""?".":o+":";if(bt(t))for(var c=0;c<t.length;c++)o=t[c],a=d+rt(o,c),m+=R(o,e,s,a,n);else if(c=Qt(t),typeof c=="function")for(t=c.call(t),c=0;!(o=t.next()).done;)o=o.value,a=d+rt(o,c++),m+=R(o,e,s,a,n);else if(a==="object"){if(typeof t.then=="function")return R(Zt(t),e,s,o,n);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return m}function B(t,e,s){if(t==null)return t;var o=[],n=0;return R(t,o,"","",function(a){return e.call(s,a,n++)}),o}function te(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(s){(t._status===0||t._status===-1)&&(t._status=1,t._result=s)},function(s){(t._status===0||t._status===-1)&&(t._status=2,t._result=s)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Ht=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},ee={map:B,forEach:function(t,e,s){B(t,function(){e.apply(this,arguments)},s)},count:function(t){var e=0;return B(t,function(){e++}),e},toArray:function(t){return B(t,function(e){return e})||[]},only:function(t){if(!pt(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};i.Activity=zt;i.Children=ee;i.Component=v;i.Fragment=Gt;i.Profiler=Wt;i.PureComponent=ut;i.StrictMode=jt;i.Suspense=Kt;i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=p;i.__COMPILER_RUNTIME={__proto__:null,c:function(t){return p.H.useMemoCache(t)}};i.cache=function(t){return function(){return t.apply(null,arguments)}};i.cacheSignal=function(){return null};i.cloneElement=function(t,e,s){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var o=vt({},t.props),n=t.key;if(e!=null)for(a in e.key!==void 0&&(n=""+e.key),e)!wt.call(e,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&e.ref===void 0||(o[a]=e[a]);var a=arguments.length-2;if(a===1)o.children=s;else if(1<a){for(var m=Array(a),d=0;d<a;d++)m[d]=arguments[d+2];o.children=m}return lt(t.type,n,o)};i.createContext=function(t){return t={$$typeof:Ft,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:qt,_context:t},t};i.createElement=function(t,e,s){var o,n={},a=null;if(e!=null)for(o in e.key!==void 0&&(a=""+e.key),e)wt.call(e,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(n[o]=e[o]);var m=arguments.length-2;if(m===1)n.children=s;else if(1<m){for(var d=Array(m),c=0;c<m;c++)d[c]=arguments[c+2];n.children=d}if(t&&t.defaultProps)for(o in m=t.defaultProps,m)n[o]===void 0&&(n[o]=m[o]);return lt(t,a,n)};i.createRef=function(){return{current:null}};i.forwardRef=function(t){return{$$typeof:Yt,render:t}};i.isValidElement=pt;i.lazy=function(t){return{$$typeof:kt,_payload:{_status:-1,_result:t},_init:te}};i.memo=function(t,e){return{$$typeof:Jt,type:t,compare:e===void 0?null:e}};i.startTransition=function(t){var e=p.T,s={};p.T=s;try{var o=t(),n=p.S;n!==null&&n(s,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(it,Ht)}catch(a){Ht(a)}finally{e!==null&&s.types!==null&&(e.types=s.types),p.T=e}};i.unstable_useCacheRefresh=function(){return p.H.useCacheRefresh()};i.use=function(t){return p.H.use(t)};i.useActionState=function(t,e,s){return p.H.useActionState(t,e,s)};i.useCallback=function(t,e){return p.H.useCallback(t,e)};i.useContext=function(t){return p.H.useContext(t)};i.useDebugValue=function(){};i.useDeferredValue=function(t,e){return p.H.useDeferredValue(t,e)};i.useEffect=function(t,e){return p.H.useEffect(t,e)};i.useEffectEvent=function(t){return p.H.useEffectEvent(t)};i.useId=function(){return p.H.useId()};i.useImperativeHandle=function(t,e,s){return p.H.useImperativeHandle(t,e,s)};i.useInsertionEffect=function(t,e){return p.H.useInsertionEffect(t,e)};i.useLayoutEffect=function(t,e){return p.H.useLayoutEffect(t,e)};i.useMemo=function(t,e){return p.H.useMemo(t,e)};i.useOptimistic=function(t,e){return p.H.useOptimistic(t,e)};i.useReducer=function(t,e,s){return p.H.useReducer(t,e,s)};i.useRef=function(t){return p.H.useRef(t)};i.useState=function(t){return p.H.useState(t)};i.useSyncExternalStore=function(t,e,s){return p.H.useSyncExternalStore(t,e,s)};i.useTransition=function(){return p.H.useTransition()};i.version="19.2.4"});var Dt=gt((de,Pt)=>{"use strict";C();Pt.exports=Mt()});C();C();C();var fe=Bt(Dt(),1);var oe=["achieved","aborted","failed"];function ge(t){return oe.includes(t)}function ne(t,e){return t>=e.hard?"hard":t>=e.auto?"auto":t>=e.warn?"warn":"safe"}function T(t){if(!t||t.length===0)return 0;let e=0,s=0;for(let o=0;o<t.length;o++)t.charCodeAt(o)<128?e++:s++;return Math.ceil(e/4+s*1.5)}function se(t){if(!t||t.trim().length===0)return[];let e=[],s=/--- Context from: (.+?) ---\n([\s\S]*?)--- End of Context from: \1 ---/g,o;for(;(o=s.exec(t))!==null;){let n=o[1],a=o[2];e.push({path:n,tokens:T(a)})}return e.length===0&&t.trim().length>0&&e.push({path:k("memory"),tokens:T(t)}),e}async function re(t,e){let s=t.getModelDisplayName()||"unknown",o=t.getContentGeneratorConfig(),n=o.contextWindowSize??131072,a=nt.getLastPromptTokenCount(),m=nt.getLastCachedContentTokenCount(),d=It(void 0,s),c=T(d),g=t.getToolRegistry(),M=g?g.getAllTools():[],r=g?g.getFunctionDeclarations():[],P=JSON.stringify(r),_=T(P),H=[],x=[];for(let u of M){if(u.shouldDefer&&!u.alwaysLoad&&!g?.isDeferredToolRevealed(u.name))continue;let h=JSON.stringify(u.schema),S=T(h);u instanceof ht?x.push({name:`${u.serverName}__${u.serverToolName||u.name}`,tokens:S}):u.name!==st.SKILL&&H.push({name:u.name,tokens:S})}let l=t.getUserMemory(),y=se(l),$=y.reduce((u,h)=>u+h.tokens,0),E=M.find(u=>u.name===st.SKILL),G=E?T(JSON.stringify(E.schema)):0,Nt=E&&"getLoadedSkillNames"in E?E.getLoadedSkillNames():new Set,dt=t.getSkillManager(),Ut=dt?await dt.listSkills():[],D=0,j=Ut.map(u=>{let h=T(`<skill>
|
|
4
4
|
<name>
|
|
5
5
|
${u.name}
|
|
6
6
|
</name>
|