@maincode-ai/matilda-code 0.19.5 → 0.19.7

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 (37) hide show
  1. package/chunks/{agent-HMAY5XP7.js → agent-JAZ2R5P5.js} +1 -1
  2. package/chunks/{agent-headless-NWRQLNNS.js → agent-headless-HUDZQCLT.js} +1 -1
  3. package/chunks/{anthropicContentGenerator-CZLOMDXF.js → anthropicContentGenerator-DKMAJXYA.js} +1 -1
  4. package/chunks/{chunk-2FX4655X.js → chunk-4EZRS6DY.js} +1 -1
  5. package/chunks/{chunk-3GAKPC2I.js → chunk-4ROBKRWY.js} +3 -3
  6. package/chunks/{chunk-AEEMG76V.js → chunk-DF4ZZ3BH.js} +1 -1
  7. package/chunks/chunk-GTR4V2PV.js +8 -0
  8. package/chunks/{chunk-3E62XAAL.js → chunk-MHGRKMUG.js} +1 -1
  9. package/chunks/{chunk-WPZEF752.js → chunk-UOF5DCHP.js} +379 -372
  10. package/chunks/{chunk-C6SSPIF3.js → chunk-YCINFF22.js} +2 -2
  11. package/chunks/{computer-use-B2345U7U.js → computer-use-BCNVOJO6.js} +1 -1
  12. package/chunks/{contextCommand-ZTMOL6TC.js → contextCommand-7XW5T2FM.js} +1 -1
  13. package/chunks/{edit-YI2KTC5G.js → edit-O5534MIA.js} +1 -1
  14. package/chunks/{enter-worktree-2V2D7CYW.js → enter-worktree-NWECAVR5.js} +1 -1
  15. package/chunks/{enterPlanMode-ZUCJBK26.js → enterPlanMode-Z5CC6RK4.js} +1 -1
  16. package/chunks/{exit-worktree-TNMQ6BJQ.js → exit-worktree-5QTROW2K.js} +1 -1
  17. package/chunks/{exitPlanMode-3V2VGFJI.js → exitPlanMode-VT42OYWF.js} +1 -1
  18. package/chunks/{geminiContentGenerator-DLT3FIFM.js → geminiContentGenerator-DROE6XUC.js} +1 -1
  19. package/chunks/{glob-DK4XLD6I.js → glob-FWADRNRL.js} +1 -1
  20. package/chunks/{grep-HHKDBU7B.js → grep-OFTEAZOC.js} +1 -1
  21. package/chunks/{matildaAgentContentGenerator-WANX4W2Y.js → matildaAgentContentGenerator-J3PXQMRW.js} +1 -1
  22. package/chunks/{matildaContentGenerator-YNM53I6M.js → matildaContentGenerator-6WVY252A.js} +1 -1
  23. package/chunks/{monitor-JVPMYOZ2.js → monitor-W2IPT7L4.js} +1 -1
  24. package/chunks/{notebook-edit-TSASMGK7.js → notebook-edit-E2RFMINC.js} +1 -1
  25. package/chunks/{openaiContentGenerator-5VMLKMVG.js → openaiContentGenerator-PGCPCIUM.js} +1 -1
  26. package/chunks/{ripGrep-UCUYOKAZ.js → ripGrep-CKRSCA2H.js} +1 -1
  27. package/chunks/{scheduler-LXGHE7LL.js → scheduler-AQ72BFMX.js} +1 -1
  28. package/chunks/{serve-F2OU5GL5.js → serve-VAU7AZ4D.js} +1 -1
  29. package/chunks/{shell-5CG25UXX.js → shell-LMX4PBFS.js} +1 -1
  30. package/chunks/{src-4KXRVNR5.js → src-3ZEKD73Z.js} +1 -1
  31. package/chunks/{team-create-ESOAIRWA.js → team-create-YCCOH5ZI.js} +1 -1
  32. package/chunks/{web-search-N6QM6PXT.js → web-search-LUARHW3X.js} +1 -1
  33. package/chunks/{workflow-AGPUPU65.js → workflow-7JKMNIOX.js} +2 -2
  34. package/chunks/{write-file-XJ2S7TR3.js → write-file-QR6KKYVC.js} +1 -1
  35. package/cli.js +371 -371
  36. package/package.json +2 -2
  37. package/chunks/chunk-FSRNEJQB.js +0 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maincode-ai/matilda-code",
3
- "version": "0.19.5",
3
+ "version": "0.19.7",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "cli.js",
@@ -22,7 +22,7 @@
22
22
  "bundled"
23
23
  ],
24
24
  "config": {
25
- "sandboxImageUri": "ghcr.io/maincode/matilda-code:0.19.5"
25
+ "sandboxImageUri": "ghcr.io/maincode/matilda-code:0.19.7"
26
26
  },
27
27
  "dependencies": {},
28
28
  "optionalDependencies": {
@@ -1,8 +0,0 @@
1
- // Force strict mode and setup for ESM
2
- "use strict";
3
- import{b as n}from"./chunk-GZPNIYVZ.js";n();var m="MATILDA_API_KEY";var g="matilda-code-1.0",_="Matilda",u="https://matilda.maincode.com/api/v1/code";var f={id:"matilda",label:"Matilda",description:"Connect to the Matilda Core code API endpoint",protocol:"openai",baseUrl:u,envKey:m,models:[{id:g,displayName:_,contextWindowSize:1048576,description:"Matilda Code model",generationConfig:{openAIRequestProfile:"matilda-code",samplingParams:{max_tokens:65536,chat_template_kwargs:{enable_thinking:!0}},schemaCompliance:"openapi_30",splitToolMedia:!0,customHeaders:{"User-Agent":"MatildaCode/0.1"}}}],modelNamePrefix:"",documentationUrl:"https://matilda.maincode.help/welcome/external-api",uiGroup:"third-party"};function h(a){return a.trim().replace(/\/+$/,"").replace(/\/api\/v1(?:\/code)?$/i,"")}async function E(a){let{baseUrl:r,email:s,password:d,signal:l}=a,i=h(r),p=`${i}/api/auth/login`,t;try{t=await fetch(p,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s,password:d}),signal:l})}catch(o){let c=o instanceof Error?o.message:String(o);throw new Error(`Could not reach Matilda at ${i}: ${c}`)}if(t.status===401)throw new Error("Invalid email or password.");if(!t.ok)throw new Error(`Matilda sign-in failed (HTTP ${t.status}). Please try again.`);let e;try{e=await t.json()}catch{throw new Error("Matilda sign-in returned an unreadable response.")}if(!e||typeof e.token!="string"||e.token.length===0)throw new Error("Matilda sign-in did not return a token.");return{token:e.token,refreshToken:typeof e.refreshToken=="string"?e.refreshToken:void 0,userId:typeof e.userId=="string"?e.userId:void 0,email:typeof e.email=="string"?e.email:void 0,displayName:typeof e.displayName=="string"?e.displayName:void 0}}export{m as a,u as b,f as c,h as d,E as e};
4
- /**
5
- * @license
6
- * Copyright 2026 Matilda Team
7
- * SPDX-License-Identifier: Apache-2.0
8
- */