@maincode-ai/matilda-code 0.21.11-preview.0 → 0.21.12

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.
Files changed (85) hide show
  1. package/bundled/mainy/docs/configuration/settings.md +6 -4
  2. package/bundled/mainy/docs/configuration/trusted-folders.md +12 -6
  3. package/chunks/agent-WM63A6NK.js +3 -0
  4. package/chunks/agent-headless-QIUBDKPW.js +3 -0
  5. package/chunks/{ca-EUJBUYX5.js → ca-I2HEEIL7.js} +1 -1
  6. package/chunks/{chunk-P3G4HEXP.js → chunk-3IRGBRSP.js} +10 -10
  7. package/chunks/{chunk-KLWMEGO4.js → chunk-5C2RJ5RR.js} +1 -1
  8. package/chunks/{chunk-JA43M5MZ.js → chunk-6Z2MV7ZY.js} +53 -53
  9. package/chunks/chunk-BVOCFLC4.js +56 -0
  10. package/chunks/chunk-CSJTA7NE.js +101 -0
  11. package/chunks/{chunk-PW3LFA6D.js → chunk-DOOFGSRV.js} +1 -1
  12. package/chunks/{chunk-F62NM4KX.js → chunk-FPO57O66.js} +6 -6
  13. package/chunks/{chunk-3WBC3IIX.js → chunk-JRECUFB3.js} +674 -675
  14. package/chunks/chunk-KHHJYBR5.js +9 -0
  15. package/chunks/{chunk-AQQOBDEP.js → chunk-QVCGLQCI.js} +1 -1
  16. package/chunks/{chunk-ZYCVL46M.js → chunk-WC2VTVCE.js} +1 -1
  17. package/chunks/{chunk-6RCVKDFR.js → chunk-YJAKOETP.js} +2 -2
  18. package/chunks/{computer-use-2UBC2SKZ.js → computer-use-WKDNUTLD.js} +1 -1
  19. package/chunks/contextCommand-DAB3HOHY.js +3 -0
  20. package/chunks/{cron-create-FMTLQJXE.js → cron-create-F2LXM2OA.js} +1 -1
  21. package/chunks/{cron-delete-LWKY3QSE.js → cron-delete-DE6Q2S2L.js} +1 -1
  22. package/chunks/{cron-list-DJTIFK2L.js → cron-list-IAQEJVV7.js} +1 -1
  23. package/chunks/{de-DNEPG7S7.js → de-AQXFJYZI.js} +1 -1
  24. package/chunks/{edit-MR52FAWW.js → edit-QQNJZ55P.js} +2 -2
  25. package/chunks/{en-NOD6KQNM.js → en-EJLDYIBM.js} +1 -1
  26. package/chunks/{enter-worktree-HFTCLHRB.js → enter-worktree-5X5SAMBJ.js} +1 -1
  27. package/chunks/{enterPlanMode-R54IR74J.js → enterPlanMode-HP35SPLN.js} +1 -1
  28. package/chunks/{exit-worktree-NK6IMLGE.js → exit-worktree-SRKZBEYF.js} +1 -1
  29. package/chunks/{exitPlanMode-X2M6ZV3X.js → exitPlanMode-WSPTGGVN.js} +1 -1
  30. package/chunks/{fr-2OE5WLJ4.js → fr-6TDHK7F2.js} +1 -1
  31. package/chunks/{geminiContentGenerator-KKK5RWAE.js → geminiContentGenerator-RJ73DQAP.js} +1 -1
  32. package/chunks/{glob-RKSORKHR.js → glob-QQ6LGKDX.js} +1 -1
  33. package/chunks/{goal-tools-RSICRXWC.js → goal-tools-C6BSBHCF.js} +1 -1
  34. package/chunks/{grep-7O4QFORW.js → grep-MVCOBUYW.js} +1 -1
  35. package/chunks/{ja-3B6V5KS7.js → ja-GGNJR7AR.js} +1 -1
  36. package/chunks/{matildaAgentContentGenerator-JRJ35MC7.js → matildaAgentContentGenerator-YUYS4336.js} +1 -1
  37. package/chunks/{matildaContentGenerator-3EXH3FBK.js → matildaContentGenerator-O4Z2QPCP.js} +1 -1
  38. package/chunks/{matildaOAuth2-XE7AHBSI.js → matildaOAuth2-7COTQQR2.js} +1 -1
  39. package/chunks/mcp-client-RXVQU5VI.js +3 -0
  40. package/chunks/monitor-77KXDXPR.js +32 -0
  41. package/chunks/{notebook-edit-6SCNZBO3.js → notebook-edit-TKJD2EQZ.js} +1 -1
  42. package/chunks/{openaiContentGenerator-5SBB3YKW.js → openaiContentGenerator-2EALAM3U.js} +1 -1
  43. package/chunks/{pt-KP2JCPUY.js → pt-D6L2QTDM.js} +1 -1
  44. package/chunks/{read-file-DZTYS4MO.js → read-file-3KUAH6ND.js} +1 -1
  45. package/chunks/ripGrep-U2PLKXMY.js +3 -0
  46. package/chunks/{ru-K7IQQKHC.js → ru-BNJCHDYO.js} +1 -1
  47. package/chunks/{scheduler-NPTZJ56A.js → scheduler-J7VU2V5Y.js} +1 -1
  48. package/chunks/{serve-3VNHJIGD.js → serve-FXH6EBQ6.js} +36 -36
  49. package/chunks/shell-PXR2AXDD.js +3 -0
  50. package/chunks/{skill-OQVVXONF.js → skill-HZPFEAPF.js} +1 -1
  51. package/chunks/src-RFAEPLY7.js +3 -0
  52. package/chunks/task-create-Z3QRCMX4.js +1 -1
  53. package/chunks/{task-list-MNHMRJN3.js → task-list-GXAJW3JP.js} +1 -1
  54. package/chunks/{task-update-DA5K2V7E.js → task-update-AR26UFYZ.js} +1 -1
  55. package/chunks/{team-create-AATX26NE.js → team-create-PYXFVIR5.js} +1 -1
  56. package/chunks/{team-delete-RRYZ6KMB.js → team-delete-OMYVUAQU.js} +1 -1
  57. package/chunks/{todoWrite-Y6RP55AO.js → todoWrite-5NZ7CHTC.js} +1 -1
  58. package/chunks/{tool-search-EZAYWDKE.js → tool-search-RKZDSRYS.js} +1 -1
  59. package/chunks/tree-sitter-bash-2SWKO5B7.js +3 -0
  60. package/chunks/{web-fetch-ZTPXSREL.js → web-fetch-VW3SVDQ6.js} +13 -13
  61. package/chunks/{workflow-J6YT6B4V.js → workflow-YXNXDRWZ.js} +2 -2
  62. package/chunks/{write-file-MO5WWZWG.js → write-file-XDDLTGSG.js} +1 -1
  63. package/cli.js +443 -440
  64. package/locales/ca.js +1 -0
  65. package/locales/de.js +1 -0
  66. package/locales/en.js +1 -0
  67. package/locales/fr.js +1 -0
  68. package/locales/ja.js +1 -0
  69. package/locales/pt.js +1 -0
  70. package/locales/ru.js +1 -0
  71. package/package.json +2 -2
  72. package/sandbox-macos-restrictive-closed.sb +3 -0
  73. package/sandbox-macos-restrictive-open.sb +3 -0
  74. package/sandbox-macos-restrictive-proxied.sb +3 -0
  75. package/chunks/agent-BU623AHW.js +0 -3
  76. package/chunks/agent-headless-T24DLERB.js +0 -3
  77. package/chunks/chunk-ET7ZXQ3A.js +0 -9
  78. package/chunks/chunk-I5H6ZXLS.js +0 -101
  79. package/chunks/chunk-WXCEBLRE.js +0 -56
  80. package/chunks/contextCommand-CRHIC6JS.js +0 -3
  81. package/chunks/monitor-7O2YTGFR.js +0 -32
  82. package/chunks/ripGrep-LVBZPZPH.js +0 -3
  83. package/chunks/shell-SXPNBWTX.js +0 -3
  84. package/chunks/src-PJF3I6FQ.js +0 -3
  85. package/chunks/tree-sitter-bash-XNCMPQBK.js +0 -3
package/locales/ca.js CHANGED
@@ -991,6 +991,7 @@ export default {
991
991
  'Server:': 'Servidor:',
992
992
  'Command:': 'Ordre:',
993
993
  'Working Directory:': 'Directori de treball:',
994
+ 'Last stderr output:': 'Darrera sortida de stderr:',
994
995
  'No server selected': 'Cap servidor seleccionat',
995
996
  prompts: 'missatges',
996
997
  'Error:': 'Error:',
package/locales/de.js CHANGED
@@ -1051,6 +1051,7 @@ export default {
1051
1051
  'Status:': 'Status:',
1052
1052
  'Command:': 'Befehl:',
1053
1053
  'Working Directory:': 'Arbeitsverzeichnis:',
1054
+ 'Last stderr output:': 'Letzte stderr-Ausgabe:',
1054
1055
  'No server selected': 'Kein Server ausgewählt',
1055
1056
  'Error:': 'Fehler:',
1056
1057
  tool: 'Werkzeug',
package/locales/en.js CHANGED
@@ -1041,6 +1041,7 @@ export default {
1041
1041
  'Server:': 'Server:',
1042
1042
  'Command:': 'Command:',
1043
1043
  'Working Directory:': 'Working Directory:',
1044
+ 'Last stderr output:': 'Last stderr output:',
1044
1045
  'No server selected': 'No server selected',
1045
1046
  prompts: 'prompts',
1046
1047
  'Error:': 'Error:',
package/locales/fr.js CHANGED
@@ -999,6 +999,7 @@ export default {
999
999
  'Server:': 'Serveur :',
1000
1000
  'Command:': 'Commande :',
1001
1001
  'Working Directory:': 'Répertoire de travail :',
1002
+ 'Last stderr output:': 'Dernière sortie stderr :',
1002
1003
  'No server selected': 'Aucun serveur sélectionné',
1003
1004
  prompts: 'invites',
1004
1005
  'Error:': 'Erreur :',
package/locales/ja.js CHANGED
@@ -796,6 +796,7 @@ export default {
796
796
  'Source:': 'ソース:',
797
797
  'Command:': 'コマンド:',
798
798
  'Working Directory:': '作業ディレクトリ:',
799
+ 'Last stderr output:': '直近の stderr 出力:',
799
800
  'No server selected': 'サーバーが選択されていません',
800
801
  'Error:': 'エラー:',
801
802
  tool: 'ツール',
package/locales/pt.js CHANGED
@@ -1052,6 +1052,7 @@ export default {
1052
1052
  'Source:': 'Fonte:',
1053
1053
  'Command:': 'Comando:',
1054
1054
  'Working Directory:': 'Diretório de trabalho:',
1055
+ 'Last stderr output:': 'Última saída de stderr:',
1055
1056
  'No server selected': 'Nenhum servidor selecionado',
1056
1057
  'Error:': 'Erro:',
1057
1058
  tool: 'ferramenta',
package/locales/ru.js CHANGED
@@ -1719,6 +1719,7 @@ export default {
1719
1719
  'Status:': 'Статус:',
1720
1720
  'Command:': 'Команда:',
1721
1721
  'Working Directory:': 'Рабочий каталог:',
1722
+ 'Last stderr output:': 'Последний вывод stderr:',
1722
1723
  'No server selected': 'Сервер не выбран',
1723
1724
 
1724
1725
  // MCP Server List
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maincode-ai/matilda-code",
3
- "version": "0.21.11-preview.0",
3
+ "version": "0.21.12",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "cli.js",
@@ -26,7 +26,7 @@
26
26
  "bundled"
27
27
  ],
28
28
  "config": {
29
- "sandboxImageUri": "ghcr.io/maincode/matilda-code:0.21.11-preview.0"
29
+ "sandboxImageUri": "ghcr.io/maincode/matilda-code:0.21.12"
30
30
  },
31
31
  "dependencies": {},
32
32
  "optionalDependencies": {
@@ -34,6 +34,7 @@
34
34
  (sysctl-name "hw.l3cachesize_compat")
35
35
  (sysctl-name "hw.logicalcpu_max")
36
36
  (sysctl-name "hw.machine")
37
+ (sysctl-name "hw.memsize")
37
38
  (sysctl-name "hw.ncpu")
38
39
  (sysctl-name "hw.nperflevels")
39
40
  (sysctl-name "hw.optional.arm.FEAT_BF16")
@@ -48,10 +49,12 @@
48
49
  (sysctl-name "hw.optional.arm.FEAT_SHA512")
49
50
  (sysctl-name "hw.optional.armv8_2_sha512")
50
51
  (sysctl-name "hw.packages")
52
+ (sysctl-name "hw.pagesize")
51
53
  (sysctl-name "hw.pagesize_compat")
52
54
  (sysctl-name "hw.physicalcpu_max")
53
55
  (sysctl-name "hw.tbfrequency_compat")
54
56
  (sysctl-name "hw.vectorunit")
57
+ (sysctl-name "kern.argmax")
55
58
  (sysctl-name "kern.hostname")
56
59
  (sysctl-name "kern.maxfilesperproc")
57
60
  (sysctl-name "kern.osproductversion")
@@ -34,6 +34,7 @@
34
34
  (sysctl-name "hw.l3cachesize_compat")
35
35
  (sysctl-name "hw.logicalcpu_max")
36
36
  (sysctl-name "hw.machine")
37
+ (sysctl-name "hw.memsize")
37
38
  (sysctl-name "hw.ncpu")
38
39
  (sysctl-name "hw.nperflevels")
39
40
  (sysctl-name "hw.optional.arm.FEAT_BF16")
@@ -48,10 +49,12 @@
48
49
  (sysctl-name "hw.optional.arm.FEAT_SHA512")
49
50
  (sysctl-name "hw.optional.armv8_2_sha512")
50
51
  (sysctl-name "hw.packages")
52
+ (sysctl-name "hw.pagesize")
51
53
  (sysctl-name "hw.pagesize_compat")
52
54
  (sysctl-name "hw.physicalcpu_max")
53
55
  (sysctl-name "hw.tbfrequency_compat")
54
56
  (sysctl-name "hw.vectorunit")
57
+ (sysctl-name "kern.argmax")
55
58
  (sysctl-name "kern.hostname")
56
59
  (sysctl-name "kern.maxfilesperproc")
57
60
  (sysctl-name "kern.osproductversion")
@@ -34,6 +34,7 @@
34
34
  (sysctl-name "hw.l3cachesize_compat")
35
35
  (sysctl-name "hw.logicalcpu_max")
36
36
  (sysctl-name "hw.machine")
37
+ (sysctl-name "hw.memsize")
37
38
  (sysctl-name "hw.ncpu")
38
39
  (sysctl-name "hw.nperflevels")
39
40
  (sysctl-name "hw.optional.arm.FEAT_BF16")
@@ -48,10 +49,12 @@
48
49
  (sysctl-name "hw.optional.arm.FEAT_SHA512")
49
50
  (sysctl-name "hw.optional.armv8_2_sha512")
50
51
  (sysctl-name "hw.packages")
52
+ (sysctl-name "hw.pagesize")
51
53
  (sysctl-name "hw.pagesize_compat")
52
54
  (sysctl-name "hw.physicalcpu_max")
53
55
  (sysctl-name "hw.tbfrequency_compat")
54
56
  (sysctl-name "hw.vectorunit")
57
+ (sysctl-name "kern.argmax")
55
58
  (sysctl-name "kern.hostname")
56
59
  (sysctl-name "kern.maxfilesperproc")
57
60
  (sysctl-name "kern.osproductversion")
@@ -1,3 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import{pg as a,qg as b,rg as c,sg as d,tg as e,ug as f}from"./chunk-3WBC3IIX.js";import"./chunk-M53RP3YP.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-2HTPVSGT.js";import"./chunk-MO2HXJG5.js";import"./chunk-2MOGYHWM.js";import"./chunk-S3CWEVTS.js";import"./chunk-TISQNFB5.js";import"./chunk-MTMU7JYZ.js";import"./chunk-WV3IUPZS.js";import"./chunk-RNKDFE2S.js";import"./chunk-WXCEBLRE.js";import"./chunk-MCQUPLRE.js";import"./chunk-47XR7IMP.js";import"./chunk-GTVCJCHR.js";import"./chunk-CZGZ3KK7.js";import"./chunk-HYVP4472.js";import"./chunk-QKYGQLWC.js";import"./chunk-6EQMZNIY.js";import"./chunk-PW3LFA6D.js";import"./chunk-DE3HKC2W.js";import"./chunk-AQQOBDEP.js";import"./chunk-YV3PUOBU.js";import"./chunk-P3G4HEXP.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-JCE3JAVC.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import"./chunk-JA43M5MZ.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-PGXQZVLX.js";import"./chunk-YRQP3SLC.js";import"./chunk-6E766NPX.js";import"./chunk-ZYCVL46M.js";import"./chunk-ET7ZXQ3A.js";import"./chunk-VI74YQQO.js";import"./chunk-3YLXGE6T.js";import"./chunk-LUNDTQ3G.js";import"./chunk-27Q5KW3A.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{f as AgentTool,b as TOOL_REGISTRY_REBUILT,e as createApprovalModeOverride,c as hasRebuiltToolRegistry,d as rebuildToolRegistryOnOverride,a as resolveSubagentApprovalMode};
@@ -1,3 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import{Pf as a,Qf as b,Rf as c}from"./chunk-3WBC3IIX.js";import"./chunk-M53RP3YP.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-2HTPVSGT.js";import"./chunk-MO2HXJG5.js";import"./chunk-2MOGYHWM.js";import"./chunk-S3CWEVTS.js";import"./chunk-TISQNFB5.js";import"./chunk-MTMU7JYZ.js";import"./chunk-WV3IUPZS.js";import"./chunk-RNKDFE2S.js";import"./chunk-WXCEBLRE.js";import"./chunk-MCQUPLRE.js";import"./chunk-47XR7IMP.js";import"./chunk-GTVCJCHR.js";import"./chunk-CZGZ3KK7.js";import"./chunk-HYVP4472.js";import"./chunk-QKYGQLWC.js";import"./chunk-6EQMZNIY.js";import"./chunk-PW3LFA6D.js";import"./chunk-DE3HKC2W.js";import"./chunk-AQQOBDEP.js";import"./chunk-YV3PUOBU.js";import"./chunk-P3G4HEXP.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-JCE3JAVC.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import"./chunk-JA43M5MZ.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-PGXQZVLX.js";import"./chunk-YRQP3SLC.js";import"./chunk-6E766NPX.js";import"./chunk-ZYCVL46M.js";import"./chunk-ET7ZXQ3A.js";import"./chunk-VI74YQQO.js";import"./chunk-3YLXGE6T.js";import"./chunk-LUNDTQ3G.js";import"./chunk-27Q5KW3A.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{c as AgentHeadless,a as ContextState,b as templateString};
@@ -1,9 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import{b as a,d as c}from"./chunk-27Q5KW3A.js";import{b as E}from"./chunk-GZPNIYVZ.js";E();import{URL as g}from"node:url";var l=[/^10\./,/^127\./,/^172\.(1[6-9]|2[0-9]|3[0-1])\./,/^192\.168\./,/^::1$/,/^fc00:/,/^fe80:/],f=new Set(["UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","SELF_SIGNED_CERT_IN_CHAIN","DEPTH_ZERO_SELF_SIGNED_CERT","CERT_HAS_EXPIRED","ERR_TLS_CERT_ALTNAME_INVALID"]),T=new Set([...f,"ECONNRESET","ETIMEDOUT","ECONNREFUSED","ENOTFOUND","EAI_AGAIN","EHOSTUNREACH","ENETUNREACH"]),u=class extends Error{constructor(t,o){super(t);this.code=o;this.name="FetchError"}};function S(n){try{let e=new g(n).hostname;return l.some(t=>t.test(e))}catch{return!1}}async function A(n,e,t){let o=new AbortController,r=setTimeout(()=>o.abort(),e);try{return await fetch(n,{signal:o.signal,headers:t})}catch(s){throw a(s)&&s.code==="ABORT_ERR"?new u(`Request timed out after ${e}ms`,"ETIMEDOUT"):new u(c(s))}finally{clearTimeout(r)}}function i(n){if(!(!n||typeof n!="object")&&"code"in n&&typeof n.code=="string")return n.code}function h(n){if(typeof n=="string")return n;if(typeof n=="number"||typeof n=="boolean"||typeof n=="bigint")return String(n);if(n instanceof Error)return n.message;if(!n||typeof n!="object")return;let e=n.message;if(typeof e=="string")return e}function m(n){if(!(n instanceof Error))return;let e=n.cause;if(!e)return;let t=i(e),o=h(e);if(!(!t&&!o))return t&&o&&!o.includes(t)?`${t}: ${o}`:o??t}function N(n,e={}){let t=c(n),o=n instanceof Error?i(n.cause)??i(n):i(n),r=m(n),s=[t,r?`(cause: ${r})`:void 0].filter(Boolean).join(" "),d=t.toLowerCase().includes("fetch failed")||o!=null&&T.has(o),R=o!=null&&f.has(o);if(!d)return s;let _=["","Troubleshooting:",...e.url?[`- Confirm you can reach ${e.url} from this machine.`]:[],"- If you are behind a proxy, pass `--proxy <url>` (or set `proxy` in settings).",...R?["- If your network uses a corporate TLS inspection CA, set `NODE_EXTRA_CA_CERTS` to your CA bundle."]:[]];return`${s}${_.join(`
4
- `)}`}export{S as a,A as b,N as c};
5
- /**
6
- * @license
7
- * Copyright 2025 Google LLC
8
- * SPDX-License-Identifier: Apache-2.0
9
- */