@minimax-ai/code 0.5.0 → 0.5.1

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,22 @@ 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.5.1 · 2026-09-21
11
+
12
+ ### Improved
13
+
14
+ - Reduced repeated history processing and token estimation in long conversations.
15
+ - Provider setup now displays the Base URL and supports editing it with `ctrl+e` before testing.
16
+ Failed connection tests clearly indicate that changes were not saved.
17
+
18
+ ### Fixed
19
+
20
+ - Fixed `/btw` side conversations failing to open while tools are running.
21
+ - Fixed multiline text pasted by terminals without bracketed-paste framing being submitted line by line.
22
+ - Kept the input method candidate window anchored to the composer during redraws and prevented
23
+ stale history rows after content changes.
24
+ - Local sessions using custom providers or API keys no longer require a managed login for title handling.
25
+
10
26
  ## 0.5.0 · 2026-09-20
11
27
 
12
28
  ### Added
@@ -8,6 +8,20 @@ TUI 正式版中用户能直接感知的重要变化。收录范围以 TUI 用
8
8
 
9
9
  仅内部重构、测试调整,或只影响其他产品界面且不改变 TUI 行为的变化不记录。
10
10
 
11
+ ## 0.5.1 · 2026-09-21
12
+
13
+ ### 体验改进
14
+
15
+ - 进一步减少长对话中重复的历史处理和 Token 估算。
16
+ - Provider 配置显示 Base URL,支持通过 `ctrl+e` 在连接测试前修改;测试失败时明确提示配置尚未保存。
17
+
18
+ ### 问题修复
19
+
20
+ - 修复工具执行期间 `/btw` 侧会话创建失败的问题。
21
+ - 修复部分终端粘贴多行文本时逐行意外提交的问题。
22
+ - 修复重绘时输入法候选框偏离输入框,以及历史内容变化后残留旧行的问题。
23
+ - 使用自定义 Provider 或 API Key 的本地会话处理标题时,不再依赖托管账号登录。
24
+
11
25
  ## 0.5.0 · 2026-09-20
12
26
 
13
27
  ### 新增
package/README.md CHANGED
@@ -80,18 +80,18 @@ Inside the TUI, use `/export` to save the current Session as Markdown.
80
80
  Use `/review` to review staged, unstaged, and untracked changes in the current workspace. The
81
81
  Transcript shows either a passing summary or findings with file locations.
82
82
 
83
- Use `/btw [question]` (or `/side [question]`) to fork a temporary side conversation from the latest
84
- committed conversation boundary without interrupting a running main task. The side conversation
85
- inherits the main conversation's history as read-only context, keeps normal tool permissions, and is
86
- asked not to modify anything unless you explicitly request it; it follows the main session's current permission mode without an additional confirmation step.
87
- Full access does not prompt; other modes continue to apply their normal permission rules. Press `Ctrl+/` to switch between the
88
- side and main views without ending either (`/parent` also returns from the side view); the Composer
89
- footer mirrors the main task's state (for example `main needs approval` or `main finished`) while
90
- you are on the side view.
91
- Press `Ctrl+C` on an empty Composer to close and discard the side conversation. Starting `/btw`
92
- again from the main view replaces the previous side conversation with a fresh fork. Side
93
- conversations are ephemeral: they never appear in `/sessions` or `/resume`, and navigating to
94
- another Session discards them.
83
+ 使用 `/btw [question]`(或 `/side [question]`)可在主任务继续运行时打开临时侧会话。
84
+ Runtime 从已持久化历史选择最近的完整前缀:工具调用已有全部结果时一起保留;结果未齐时回退到
85
+ 该组调用之前。创建时固定这个位置,主任务后续追加输出不会改变本次侧会话继承的历史。
86
+ 侧会话把继承历史作为参考上下文;已有工具调用不会重新执行。侧会话沿用主会话的权限模式,
87
+ 仅在用户明确要求时修改工作区;Full access 不新增确认,其他模式继续执行原有权限规则。
88
+
89
+ 按 `Ctrl+/` 切换主会话和侧会话,或用 `/parent` 返回主会话。侧会话底栏显示主任务状态。
90
+ 在空输入框按 `Ctrl+C` 会关闭并丢弃侧会话;返回主会话后再次执行 `/btw` 会创建新的侧会话。
91
+ 临时侧会话不出现在 `/sessions` 或 `/resume` 中,导航到其他会话时会被清理。
92
+
93
+ 历史边界尚未准备好时显示等待提示。创建或加载失败时,诊断上传中的 MCode observability 日志
94
+ 记录 `session.side.failed`,包括 `create` / `activate` 阶段、会话 ID 和经过脱敏、长度限制的异常原因链。
95
95
 
96
96
  A no-argument TUI slash command runs only when no message text follows its name (trailing whitespace
97
97
  is allowed). If text follows, the entire line is sent as a regular prompt. Commands that accept
@@ -423,3 +423,11 @@ MIT
423
423
  ## 项目级 MCP
424
424
 
425
425
  Runtime 自动加载会话主工作目录的 `.mcp.json`,与 Desktop、exec、ACP 共用配置规则;详见[项目级 MCP 配置](../local-runtime-v2/docs/project-mcp.md)。
426
+
427
+ ### 公开 v0.5.0 后续修复回流
428
+
429
+ - 欢迎页按当前 Provider 判断登录需求:BYOK 无 MiniMax 账号仍可 Ready;配置警告保留 `/provider` / `/status` 提示。
430
+ - CLI/TUI 的本地会话标题按所选模型决定审核策略;BYOK 不要求托管账号,官方托管模型、未知路由及 Desktop 保留既有审核。Task 使用持久化的冻结模型定义。
431
+ - Z.AI / 智谱预设区分 API 与 Coding Plan;模型选择页可用 `ctrl+e` 修改 Base URL 后重试,失败不保存且保留 key/model 草稿。智谱 token 计数保持所选套餐路径。
432
+ - 普通模式的队列更新若改变已滚出正文,会重建完整投影;仅样式变化不重放历史。Windows 的硬件光标默认保持可见,并在同步帧呈现前恢复输入位置;显式配置仍优先。
433
+ - 无 bracketed-paste framing 的单个多行纯文本 chunk 整体进入编辑器,不逐行提交。跨 chunk 和控制序列不作推测。