@maincode-ai/matilda-code 0.21.10-preview.1 → 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 +1 -1
- package/bundled/mainy/docs/matilda-serve.md +6 -6
- package/chunks/{agent-XXSEYARS.js → agent-ZFZ4HJQC.js} +1 -1
- package/chunks/{agent-headless-YBWTAFUH.js → agent-headless-KH2BKLP7.js} +1 -1
- package/chunks/{ca-H4HPSGTI.js → ca-EUJBUYX5.js} +1 -1
- package/chunks/{chunk-FRRBNNEB.js → chunk-25NCTG5H.js} +63 -54
- package/chunks/{chunk-WJO3QSBJ.js → chunk-4YVN5HXG.js} +2 -2
- package/chunks/{chunk-MKFQMX37.js → chunk-5427BPR2.js} +2 -2
- package/chunks/{chunk-GC2F575A.js → chunk-6GBNB5Z2.js} +1 -1
- package/chunks/{chunk-3HUM74NZ.js → chunk-EQGA7LH7.js} +2 -2
- package/chunks/{chunk-TO3ID3JW.js → chunk-GHBKFIHC.js} +2 -2
- package/chunks/{chunk-S4UT3QLV.js → chunk-HWOQNYAO.js} +1 -1
- package/chunks/chunk-M53RP3YP.js +31 -0
- package/chunks/{chunk-HOCFKXNJ.js → chunk-NIQK6NX3.js} +1 -1
- package/chunks/{chunk-4TQ7ABLG.js → chunk-NVM7W7TG.js} +17 -17
- package/chunks/{chunk-66NIIU2R.js → chunk-Q55AVE2N.js} +1 -1
- package/chunks/chunk-QFNFLE2I.js +2625 -0
- package/chunks/chunk-RK2AKQAX.js +39 -0
- package/chunks/chunk-T2T2UEPY.js +4 -0
- package/chunks/chunk-VI74YQQO.js +8 -0
- package/chunks/{chunk-YSIECQIZ.js → chunk-WRQLIPXW.js} +3 -3
- package/chunks/{computer-use-HX2LYMYD.js → computer-use-SXP25RZQ.js} +1 -1
- package/chunks/{contextCommand-W7DBC37U.js → contextCommand-3GN5CAOK.js} +1 -1
- package/chunks/{de-S7F37S4F.js → de-DNEPG7S7.js} +1 -1
- package/chunks/{dist-ZOFMYY3D.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-HFUF2RN3.js → edit-KX6V4PH3.js} +1 -1
- package/chunks/{en-S6DMCJQZ.js → en-NOD6KQNM.js} +1 -1
- package/chunks/{enter-worktree-LFCL64PJ.js → enter-worktree-X47BSJLE.js} +1 -1
- package/chunks/{enterPlanMode-TREN7ULJ.js → enterPlanMode-F22ZNTYJ.js} +1 -1
- package/chunks/{exit-worktree-MH2J4P42.js → exit-worktree-XY5UMDHX.js} +1 -1
- package/chunks/{exitPlanMode-PQO3EFFT.js → exitPlanMode-G3QLIWJ4.js} +1 -1
- package/chunks/{fr-RFJP3KVL.js → fr-2OE5WLJ4.js} +1 -1
- package/chunks/{geminiContentGenerator-FE5UVAOZ.js → geminiContentGenerator-EQEGOXOV.js} +1 -1
- package/chunks/{glob-VZAYMEQA.js → glob-KSBEWI3E.js} +1 -1
- package/chunks/{goal-tools-JN27F5BA.js → goal-tools-6QTC3UI7.js} +1 -1
- package/chunks/{grep-2VT5TSRU.js → grep-6TTPZ524.js} +1 -1
- package/chunks/{ja-UTJHPL3M.js → ja-3B6V5KS7.js} +1 -1
- package/chunks/{matildaAgentContentGenerator-EYETUHCZ.js → matildaAgentContentGenerator-OV4U6DJD.js} +1 -1
- package/chunks/{matildaContentGenerator-IWKH3YC4.js → matildaContentGenerator-ETIAWE22.js} +1 -1
- package/chunks/{matildaOAuth2-GRS5K3D4.js → matildaOAuth2-WOY7ZS43.js} +1 -1
- package/chunks/{monitor-AMIVJKDL.js → monitor-F4K5HOZX.js} +1 -1
- package/chunks/{notebook-edit-BQUXXNEO.js → notebook-edit-TL7CI5EA.js} +1 -1
- package/chunks/{openaiContentGenerator-4M7WBW3G.js → openaiContentGenerator-MGASUFQL.js} +1 -1
- package/chunks/{pt-KXMOTADP.js → pt-KP2JCPUY.js} +1 -1
- package/chunks/{read-file-FNJZCMIZ.js → read-file-6EAPS2KG.js} +1 -1
- package/chunks/{ripGrep-UOEUWYVF.js → ripGrep-K6SFFUIE.js} +1 -1
- package/chunks/{ru-EWGWZPQH.js → ru-K7IQQKHC.js} +1 -1
- package/chunks/{scheduler-ASQLD6BW.js → scheduler-TKWPD4LP.js} +1 -1
- package/chunks/{serve-FIDAAJAB.js → serve-ZQX2WBLF.js} +31 -31
- package/chunks/{shell-S732E2W4.js → shell-AZRK5GIO.js} +1 -1
- package/chunks/{skill-VXNOQCSI.js → skill-KDM3UUML.js} +1 -1
- package/chunks/src-SGI6VLOS.js +3 -0
- package/chunks/{team-create-CXY3MRCE.js → team-create-F4KQRGMB.js} +1 -1
- package/chunks/{tool-search-AJ57WSJC.js → tool-search-JFCD5W5M.js} +1 -1
- package/chunks/{web-fetch-63M6GZQL.js → web-fetch-REWGIRWQ.js} +1 -1
- package/chunks/{workflow-55OAJ6XH.js → workflow-SEFYGBED.js} +2 -2
- package/chunks/{write-file-2TWXQRDB.js → write-file-UAGVBZMC.js} +1 -1
- package/cli.js +494 -489
- 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/chunks/chunk-2W6MZZHZ.js +0 -39
- package/chunks/chunk-ESSYHTAZ.js +0 -8
- package/chunks/chunk-JSFA3NEP.js +0 -5
- package/chunks/chunk-TZIDSCTF.js +0 -31
- package/chunks/chunk-VVIJGBQK.js +0 -2615
- package/chunks/src-QZENX46P.js +0 -3
|
@@ -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>
|