@minimax-ai/code 0.3.4 → 0.3.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 CHANGED
@@ -7,6 +7,29 @@ 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.3.5 · 2026-09-07
11
+
12
+ ### Fixed
13
+
14
+ - Legacy model repair now also covers resuming sessions and queued messages, not just startup:
15
+ selections from the legacy custom provider switch to the same model on the official MiniMax
16
+ provider, or to the official default model when the same model is unavailable, and the repair
17
+ is saved to the session or default configuration. The model list no longer shows legacy
18
+ entries.
19
+ - After a response fails or is stopped, queued messages that have not run yet are kept and shown
20
+ as paused. Run `/queue` and press `c` to continue from the front of the queue; pending
21
+ messages can also be edited, restored, or deleted. Sending a new message while paused offers
22
+ to send it first and then continue the original queue, or to clear pending messages first;
23
+ cancelling keeps your draft. Reopening the session shows the paused queue and waits for you to
24
+ continue.
25
+ - In-TUI updates now run npm with MCode's own Node runtime and validate the new version's native
26
+ modules with that exact runtime before activation, fixing startup failures after updating on
27
+ machines whose system Node version differs. If validation fails, the previous version stays
28
+ active.
29
+ - The macOS/Linux installer resolves the selected Node to its real path for install, launcher,
30
+ and receipt, and re-checks native modules with that runtime on reruns. Broken same-version
31
+ installations now enter a repair install automatically instead of being reported as healthy.
32
+
10
33
  ## 0.3.4 · 2026-09-06
11
34
 
12
35
  ### Improved
@@ -8,6 +8,17 @@ TUI 正式版中用户能直接感知的重要变化。收录范围以 TUI 用
8
8
 
9
9
  仅内部重构、测试调整,或只影响其他产品界面且不改变 TUI 行为的变化不记录。
10
10
 
11
+ ## 0.3.5 · 2026-09-07
12
+
13
+ ### 问题修复
14
+
15
+ - 旧版自定义渠道模型的自动修复从启动时扩展到恢复会话和排队消息:遗留模型选择会切换为官方渠道同名模型,同名模型不可用时使用官方默认模型,并保存到对应会话或默认配置;模型列表不再显示遗留渠道入口。
16
+ - 响应失败或被停止后,尚未执行的排队消息会保留并显示暂停状态。运行 `/queue` 后按 `c`
17
+ 可从队首继续,也可以编辑、恢复或删除待发送消息;暂停期间发送新消息时,可选择先发送新消息再继续原队列,或先清空待发送消息,取消则保留草稿。重新打开会话会显示暂停队列,等待主动继续。
18
+ - TUI 内更新改用 MCode 自带的 Node 运行 npm,并在激活前用同一运行时校验新版本的原生模块,修复系统
19
+ Node 版本不同导致更新后无法启动的问题;校验失败时保持旧版本可用。
20
+ - macOS/Linux 安装器将所选 Node 解析为真实路径,统一用于安装、启动器和安装回执,重跑时按该运行时检查原生模块;同版本安装损坏时自动进入修复安装,无需手动清理安装目录。
21
+
11
22
  ## 0.3.4 · 2026-09-06
12
23
 
13
24
  ### 体验改进
package/README.zh-CN.md CHANGED
@@ -141,7 +141,11 @@ mcode login
141
141
  MCode 登录态时,broker 调用会因需要认证而失败。在 TUI 进程之外仍可直接调用 `mcode-tools`;TUI 不会改写
142
142
  该进程的环境或配置。
143
143
 
144
- TUI 启动时检查默认模型:如果来自 `custom_provider:minimax-legacy`,且官方 `minimax` Provider 提供同名模型,会自动切换并保存为默认模型。
144
+ TUI 启动和恢复会话时,会将遗留的 `custom_provider:minimax-legacy` 选择修复为官方 `minimax` 同名模型;同名模型不可用时,使用有效的官方默认模型。修复会保存到对应的默认配置或会话。执行排队消息前也会检查其遗留模型引用,模型列表隐藏 legacy 入口。
145
+
146
+ 响应失败或被停止后,尚未执行的 Queue 消息会保留并显示暂停状态。运行 `/queue` 后按 `c` 可从队首继续;也可以编辑、恢复或删除待发送消息。暂停时发送新消息,可选择先发送新消息再继续原队列,或清空待发送消息后发送;取消选择会保留草稿。重新打开会话会显示暂停队列,等待主动继续。
147
+
148
+ 进入或退出 Plan 的下一条消息也使用上述恢复选择。选择 `Keep my draft` 或按 Esc 后,草稿可继续编辑、重新发送,不会发布本次发送的结果;尚未生效的 Plan 切换会保留。如果恢复发送时会话已经被另一轮占用,草稿会保留并提示失败,由用户再次发送。
145
149
 
146
150
  在 TUI 中使用 `/model` 选择模型和推理强度。选择 `Add 3rd-party provider…` 可从 models.dev
147
151
  搜索已知 Provider 和模型,或配置 Custom Provider。API Key 在表单中保持掩码,Runtime
@@ -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-TYJKJAGQ.js";import"./chunk-C3JRMX7L.js";import"./chunk-OYVCWRBD.js";import"./chunk-O6RIRKRN.js";import"./chunk-HQ2U4QVQ.js";import"./chunk-MMRA4VD2.js";import"./chunk-CWWDVX6C.js";import"./chunk-D76SO2ME.js";export{a as McodeUpdateApplication};
2
+ import{c as a}from"./chunk-LA56ACSJ.js";import"./chunk-C3JRMX7L.js";import"./chunk-GGVSHD4M.js";import"./chunk-O6RIRKRN.js";import"./chunk-HQ2U4QVQ.js";import"./chunk-MMRA4VD2.js";import"./chunk-CWWDVX6C.js";import"./chunk-D76SO2ME.js";export{a as McodeUpdateApplication};