@minimax-ai/code 0.6.4 → 0.6.5
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/CHANGELOG.md +18 -0
- package/CHANGELOG.zh-CN.md +10 -0
- package/README.zh-CN.md +1 -0
- package/chunks/{application-YV6I5PN3.js → application-ZJ5NM3DF.js} +1 -1
- package/chunks/{auth-command-F6CMS6YE.js → auth-command-OLQL7FZY.js} +1 -1
- package/chunks/{chunk-RWMY26JX.js → chunk-2XPMNZVR.js} +519 -518
- package/chunks/{chunk-LOIYR2RZ.js → chunk-37SOT72H.js} +1 -1
- package/chunks/{chunk-Z4VKGZFA.js → chunk-3FETZOUF.js} +30 -30
- package/chunks/{chunk-IBPQKAN6.js → chunk-JIWEZSQY.js} +676 -676
- package/chunks/{chunk-C2QIYD6E.js → chunk-JL7ZXU6T.js} +1 -1
- package/chunks/{chunk-77TNCP5I.js → chunk-LM3FMMAB.js} +1 -1
- package/chunks/{chunk-OQ7HN3XJ.js → chunk-LQIEYG3O.js} +1 -1
- package/chunks/{chunk-AQ73XBVZ.js → chunk-NFVRVRCL.js} +1 -1
- package/chunks/{chunk-DKHGVKVS.js → chunk-OSA3A5UV.js} +1 -1
- package/chunks/{chunk-AVYSGYVY.js → chunk-TWO6GIVD.js} +1 -1
- package/chunks/{data-dir-U4LWH2QP.js → data-dir-KFZIXVT7.js} +1 -1
- package/chunks/{dist-KNYBCP4F.js → dist-PBZ5PIWM.js} +1 -1
- package/chunks/{launcher-74Z5T4C2.js → launcher-BK5UP7KA.js} +87 -87
- package/chunks/{lifecycle-ADITN7NX.js → lifecycle-RMTLVDXY.js} +1 -1
- package/chunks/{main-WKTFLQ4A.js → main-ANJ6TEDF.js} +2 -2
- package/chunks/{plugin-command-7PC7EX65.js → plugin-command-AXB4A2DP.js} +1 -1
- package/chunks/{provider-command-JWWVMDYX.js → provider-command-2MVBCAF6.js} +1 -1
- package/chunks/{run-acp-command-AAHBRZ4K.js → run-acp-command-4JFNMYRS.js} +2 -2
- package/chunks/{run-exec-command-HGDHDSXT.js → run-exec-command-SAUHM46S.js} +1 -1
- package/chunks/{update-X4G4FEY3.js → update-HOQ5YQFF.js} +1 -1
- package/cli.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ This changelog covers important changes that directly affect MCode TUI users. It
|
|
|
7
7
|
|
|
8
8
|
Internal refactors, test-only changes, and changes limited to other product surfaces are excluded.
|
|
9
9
|
|
|
10
|
+
## 0.6.5 · 2026-10-08
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- The TUI and embedded CLI now honor the per-Session subagent concurrency limit from
|
|
15
|
+
`config.yaml`, the same setting Desktop already used. The default stays `4`, and only a positive
|
|
16
|
+
safe integer takes effect. New `task` and activating `task_append` calls are admitted immediately:
|
|
17
|
+
when the limit is reached they return `SUBAGENT_CONCURRENCY_LIMIT` instead of queueing and
|
|
18
|
+
reporting Started first. Changing the value takes effect after restarting the Runtime. When a TUI
|
|
19
|
+
and Desktop share one data directory, both count occupancy from the same parent-child records, so
|
|
20
|
+
each process sees the same usage.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- The output-speed readout no longer spikes at the start of a turn. Output buffered upstream and
|
|
25
|
+
released in one burst is now excluded, so a burst arriving within the first tenth of the request
|
|
26
|
+
no longer reports a rate far above what the model actually produced.
|
|
27
|
+
|
|
10
28
|
## 0.6.4 · 2026-10-08
|
|
11
29
|
|
|
12
30
|
### Added
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -8,6 +8,16 @@ TUI 正式版中用户能直接感知的重要变化。收录范围以 TUI 用
|
|
|
8
8
|
|
|
9
9
|
仅内部重构、测试调整,或只影响其他产品界面且不改变 TUI 行为的变化不记录。
|
|
10
10
|
|
|
11
|
+
## 0.6.5 · 2026-10-08
|
|
12
|
+
|
|
13
|
+
### 新增功能
|
|
14
|
+
|
|
15
|
+
- TUI 和内嵌 CLI 现在也会遵守 `config.yaml` 中按 Session 配置的子代理并发上限,与 Desktop 早已生效的设置一致。默认值仍为 `4`,只有正安全整数才生效。新的 `task` 和激活型 `task_append` 采用立即准入:达到上限时直接返回 `SUBAGENT_CONCURRENCY_LIMIT`,不再先排队再报告已启动。修改该值需要重启对应 Runtime。TUI 与 Desktop 共用同一 dataDir 时,双方按同一份父子关系统计占用,两个进程看到的占用一致。
|
|
16
|
+
|
|
17
|
+
### 问题修复
|
|
18
|
+
|
|
19
|
+
- 修复一轮开头输出速度虚高的问题。上游缓冲后一次性吐出的输出现在会被排除,突发输出落在请求前 10% 区间时不再报出远高于模型真实速度的数值。
|
|
20
|
+
|
|
11
21
|
## 0.6.4 · 2026-10-08
|
|
12
22
|
|
|
13
23
|
### 新增功能
|
package/README.zh-CN.md
CHANGED
|
@@ -52,6 +52,7 @@ API Key 从 `MCODE_PROVIDER_API_KEY` 或 `--api-key-env` 指定的环境变量
|
|
|
52
52
|
|
|
53
53
|
第三方 relay 的自定义 header 配置位于 `custom_provider.<id>.options.headers`,例如
|
|
54
54
|
`headers: { HTTP-Referer: "https://example.com", X-Title: "My CLI" }`;请保留已有 provider 和模型配置。不要把 header 中的凭据放进命令行参数或问题反馈。
|
|
55
|
+
第三方 Provider 的模型请求默认携带 `User-Agent: MiniMaxCode`;在上述 headers 中配置 `User-Agent` 可替换为 relay 要求的值。
|
|
55
56
|
|
|
56
57
|
Fullscreen Transcript 提供可点击、拖动的滚动条。`/statusline` 可选择默认关闭的 `context-meter`
|
|
57
58
|
显示剩余上下文刻度,详情见 [状态栏配置](docs/status-line-config.md)。
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath as __mavis_fileURLToPath, pathToFileURL as __mavis_pathToFileURL } from "url"; const __mavis_tuiCurrentModuleDir = __mavis_dirname(__mavis_fileURLToPath(import.meta.url)); const __mavis_tuiPackageRoot = __mavis_basename(__mavis_tuiCurrentModuleDir) === "chunks" ? __mavis_dirname(__mavis_tuiCurrentModuleDir) : __mavis_tuiCurrentModuleDir; const __mavis_tuiPackageEntryUrl = __mavis_pathToFileURL(__mavis_join(__mavis_tuiPackageRoot, "cli.js")).href; const require = __mavis_cR(__mavis_tuiPackageEntryUrl); const __dirname = __mavis_tuiPackageRoot;
|
|
2
|
-
import{c as a}from"./chunk-
|
|
2
|
+
import{c as a}from"./chunk-LQIEYG3O.js";import"./chunk-NICEDCLM.js";import"./chunk-FKQFVOLR.js";import"./chunk-3MHUE4DM.js";import"./chunk-RDUENEEQ.js";import"./chunk-HQ2U4QVQ.js";import"./chunk-3FETZOUF.js";import"./chunk-CWWDVX6C.js";import"./chunk-D76SO2ME.js";export{a as McodeUpdateApplication};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath as __mavis_fileURLToPath, pathToFileURL as __mavis_pathToFileURL } from "url"; const __mavis_tuiCurrentModuleDir = __mavis_dirname(__mavis_fileURLToPath(import.meta.url)); const __mavis_tuiPackageRoot = __mavis_basename(__mavis_tuiCurrentModuleDir) === "chunks" ? __mavis_dirname(__mavis_tuiCurrentModuleDir) : __mavis_tuiCurrentModuleDir; const __mavis_tuiPackageEntryUrl = __mavis_pathToFileURL(__mavis_join(__mavis_tuiPackageRoot, "cli.js")).href; const require = __mavis_cR(__mavis_tuiPackageEntryUrl); const __dirname = __mavis_tuiPackageRoot;
|
|
2
|
-
import{a as o,b as l,c as u}from"./chunk-
|
|
2
|
+
import{a as o,b as l,c as u}from"./chunk-LM3FMMAB.js";import"./chunk-NFVRVRCL.js";import{d as p}from"./chunk-OSA3A5UV.js";import"./chunk-JL7ZXU6T.js";import"./chunk-TWO6GIVD.js";import"./chunk-3FETZOUF.js";import"./chunk-CWWDVX6C.js";import"./chunk-ZITT4GJK.js";import"./chunk-D76SO2ME.js";async function A(r={}){let a=r.createApplication?r.createApplication(r.region):await c(r.region,r.prepareDataDir),t=r.writeError??(e=>process.stderr.write(e));return(await a.login(e=>{let n=l(e.verificationUriComplete??e.verificationUri);if(t(`Open: ${n}
|
|
3
3
|
Code: ${e.userCode}
|
|
4
4
|
Waiting for authorization\u2026
|
|
5
5
|
`),r.openBrowser===!1)return;(r.openExternalTarget??o(process.cwd()))(n).catch(()=>{t(`Couldn't open the default browser. Open the authorization URL above manually.
|