claude-multi 0.11.0 → 0.12.0

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 (4) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +13 -1
  3. package/build/cli.js +1534 -1410
  4. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.12.0] - 2026-08-26
9
+
10
+ ### Changed
11
+ - **GLM template updated**: sonnet-tier now maps to `glm-5.3-flash[1m]` instead of mirroring `glm-5.3[1m]`. Three-tier split restored: opus → `glm-5.3[1m]`, sonnet → `glm-5.3-flash[1m]`, haiku → `glm-5-turbo`. Existing instances are migrated automatically on next launch.
12
+
13
+ ## [0.11.1] - 2026-08-22
14
+
15
+ ### Fixed
16
+ - Existing instances can now pick up provider template changes. `claude-multi doctor check` spots model and structural environment values that differ from the current template, even when the stored migration version is current. Run `claude-multi doctor fix` to back up the instance settings and apply the update.
17
+ - The GLM 5.3 mapping now reaches existing GLM instances. Model slots update to `glm-5.3[1m]`; a legacy `MAX_OUTPUT_TOKENS=64000` becomes `128000`; obsolete GLM auto-compaction overrides are removed. MiniMax instances still using the old 64K output limit move to 512K.
18
+ - Provider detection now accepts endpoints with a trailing slash, so a valid edited GLM URL does not cause template sync to be skipped.
19
+ - The TUI migration option and health warning no longer appear for a version mismatch with no work to do.
20
+
21
+ ### Changed
22
+ - Migrations and the instance-details "Sync template" action now use the same provider environment sync code. Model and structural settings follow the current template. API keys and user-tuned values stay in place, except for documented legacy defaults that need an upgrade.
23
+
8
24
  ## [0.11.0] - 2026-08-14
9
25
 
10
26
  ### Changed
@@ -491,6 +507,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
491
507
  - Support for custom config and binary paths
492
508
  - Command-line interface built with Commander.js
493
509
 
510
+ [0.12.0]: https://github.com/hmziqrs/claude-multi/compare/v0.11.1...v0.12.0
494
511
  [0.11.0]: https://github.com/hmziqrs/claude-multi/compare/v0.10.0...v0.11.0
495
512
  [0.8.2]: https://github.com/hmziqrs/claude-multi/compare/v0.8.1...v0.8.2
496
513
  [0.8.1]: https://github.com/hmziqrs/claude-multi/compare/v0.8.0...v0.8.1
package/README.md CHANGED
@@ -55,6 +55,7 @@ Each instance is isolated. All of them run the normal, unmodified Claude Code bi
55
55
  * Plugin management per instance: enable, disable, install, copy, remove.
56
56
  * MCP management: list and copy server configs between instances.
57
57
  * Optional auto-sync that symlinks plugins and skills from your default `~/.claude`.
58
+ * `doctor` reports provider template updates for existing instances and can apply them after making a backup.
58
59
  * No fork. It wraps your existing `claude` binary instead of patching it.
59
60
 
60
61
  ---
@@ -207,6 +208,17 @@ That's a full Claude Code session on the provider you picked, with its own isola
207
208
 
208
209
  If the menu shows a `!` health hint, press `!` to see what's wrong and fix it.
209
210
 
211
+ ### Update an existing provider instance
212
+
213
+ Provider templates change as providers ship new models or revise their settings. After updating claude-multi, check existing instances:
214
+
215
+ ```bash
216
+ claude-multi doctor check
217
+ claude-multi doctor fix
218
+ ```
219
+
220
+ The TUI also shows `Run instance migrations` when an update is available. The sync updates model names and other template settings, while keeping API keys and values you changed yourself. It creates a backup before writing `settings.json`.
221
+
210
222
  ---
211
223
 
212
224
  ## Providers
@@ -222,7 +234,7 @@ If the menu shows a `!` health hint, press `!` to see what's wrong and fix it.
222
234
  | Alibaba Qwen | `dashscope-intl.aliyuncs.com` | `qwen` |
223
235
  | Alibaba Qwen Coding Plan | `coding-intl.dashscope.aliyuncs.com` | `qwen-coding` |
224
236
 
225
- The templates write `ANTHROPIC_BASE_URL`, `ANTHROPIC_MODEL`, and a few related env vars into `~/.claude-<name>/settings.json`. Edit that file if you want to tweak things further.
237
+ The templates write `ANTHROPIC_BASE_URL`, `ANTHROPIC_MODEL`, and related env vars into `~/.claude-<name>/settings.json`. If you edit a setting, provider sync keeps your custom tunables but restores model slots to the current template.
226
238
 
227
239
  ---
228
240