claude-multi 0.10.0 → 0.11.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.
Files changed (4) hide show
  1. package/CHANGELOG.md +26 -22
  2. package/README.md +15 -3
  3. package/build/cli.js +1512 -1415
  4. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -5,6 +5,30 @@ 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.11.1] - 2026-08-22
9
+
10
+ ### Fixed
11
+ - 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.
12
+ - 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.
13
+ - Provider detection now accepts endpoints with a trailing slash, so a valid edited GLM URL does not cause template sync to be skipped.
14
+ - The TUI migration option and health warning no longer appear for a version mismatch with no work to do.
15
+
16
+ ### Changed
17
+ - 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.
18
+
19
+ ## [0.11.0] - 2026-08-14
20
+
21
+ ### Changed
22
+ - **GLM template updated for GLM-5.3**: Opus and sonnet slots now use `glm-5.3[1m]` (sonnet follows Z.ai's official Claude Code example); haiku and small/fast stay on `glm-5-turbo`. GLM-5.2 and GLM-5.1 are no longer served on the GLM Coding Plan, and requests for them auto-route to GLM-5.3. `MAX_OUTPUT_TOKENS` raised from `64000` to `128000` to match the documented 128K max output of both models. Thinking can no longer be disabled on GLM-5.3 (`reasoning_effort` low/high/max); the template keeps `high`.
23
+ - New points-based GLM Coding Plan pricing documented on the provider page and in the GLM-5.3 blog post. The legacy 3x peak / 2x off-peak multiplier model was discontinued for new users on 2026-07-30.
24
+ - Model and context-window references updated across the provider docs, environment-variables guide, FAQ, providers table, and llms.txt.
25
+
26
+ ### Fixed
27
+ - CI `check-version` job no longer fails when there is nothing new to publish. It now exits `0` on a skip (equal or older version) and relies on the `should_publish` output to gate publishing, so pushes without a version bump keep CI green.
28
+
29
+ ### Blog
30
+ - Blog post: [GLM-5.3 for Claude Code: Post-Training Gains and a Two-Model Mapping](https://claude-multi.hmziq.xyz/blog/glm-5-3-coding-plan/)
31
+
8
32
  ## [0.10.0] - 2026-06-13
9
33
 
10
34
  ### Changed
@@ -48,9 +72,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
48
72
  - Header spacing and navigation density adjusted for better visual balance.
49
73
  - `Instance.autoSync` field deprecated in favor of `Instance.syncMode`. Old configs with `autoSync: false` resolve to `full-manual` via `getSyncMode()`.
50
74
 
51
- ### Blog
52
- - Blog post: [v0.8.2: Granular Sync Modes and Responsive Web](https://claude-multi.hmziq.xyz/blog/v082-granular-sync-modes-responsive-web/)
53
-
54
75
  ## [0.8.1] - 2026-06-03
55
76
 
56
77
  ### Fixed
@@ -58,9 +79,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
58
79
  - Updated `bin/claude-multi.js` to resolve `../build/cli.js` instead of `../dist/cli.js`.
59
80
  - Updated CI workflows (`ci.yml`, `publish.yml`) to verify `build/cli.js` instead of `dist/cli.js`.
60
81
 
61
- ### Blog
62
- - Blog post: [v0.8.1: Fixing the Broken npm Package](https://claude-multi.hmziq.xyz/blog/v081-fixing-the-broken-npm-package/)
63
-
64
82
  ## [0.8.0] - 2026-06-01
65
83
 
66
84
  ### Changed
@@ -100,9 +118,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
100
118
  - `add` command PATH check was Unix-only (`lastIndexOf('/')` and `split(':')`).
101
119
  - Health check had no regex for Windows `.cmd` wrapper format.
102
120
 
103
- ### Blog
104
- - Blog post: [v0.7.0: No More Pinned Claude Binary](https://claude-multi.hmziq.xyz/blog/v070-no-more-pinned-claude/)
105
-
106
121
  ## [0.6.5] - 2026-05-30
107
122
 
108
123
  ### Added
@@ -119,9 +134,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
119
134
  - **Doctor fix guard**: `handleDoctorFix` is now guarded against double-invocation from rapid keypresses.
120
135
  - Removed pre-existing TypeScript type errors in `migration.ts` v0.6.3 migration body (narrow `Record` type inference on `newEnv`).
121
136
 
122
- ### Blog
123
- - Blog post: [v0.6.5: Action Buttons, Health Screen Fix, Hardened Migrations](https://claude-multi.hmziq.xyz/blog/v065-instance-actions-health-fix/)
124
-
125
137
  ## [0.6.4] - 2026-05-29
126
138
 
127
139
  ### Added
@@ -129,9 +141,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
129
141
  - `detectProvider()` and `getProviderByBaseUrl()` in `templates.ts` match a base URL to a provider template name.
130
142
  - `providerTemplate` field on the `Instance` type. New instances store it; migration backfills it for existing instances.
131
143
 
132
- ### Blog
133
- - Blog post: [v0.6.4: Existing Instances Now Auto-Sync Provider Template Updates](https://claude-multi.hmziq.xyz/blog/v064-provider-template-sync/)
134
-
135
144
  ## [0.6.3] - 2026-05-29
136
145
 
137
146
  ### Changed
@@ -153,9 +162,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
153
162
  ### Fixed
154
163
  - Health test compared `fixWrapperVersions` output against `generateWrapperScript()` (resolves via env override) instead of `buildWrapperScript(inst, PINNED_CLAUDE_BIN)` (what the function actually uses). Would break if `CLAUDE_MULTI_CLAUDE_PATH` was set.
155
164
 
156
- ### Blog
157
- - Blog post: [v0.6.3: Drop the Pinned Binary, Update Every Provider Template](https://claude-multi.hmziq.xyz/blog/v063-migration-and-provider-updates/)
158
-
159
165
  ### Added
160
166
  - Instances track the claude-multi version they were created with (`createdWithVersion`). New instances get the current version. Instances created before this field existed get `0.5` and show "before version tracking" in the UI.
161
167
  - `doctor` and the TUI health screen report when instance migrations are pending or when an instance is running an older version.
@@ -187,9 +193,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
187
193
  - Unknown CLI subcommands exit with an error instead of falling through to the Ink TUI.
188
194
  - All version pinning and compatibility code tagged with `[SAFE PARK]` comments for easy discovery and reactivation.
189
195
 
190
- ### Added
191
- - Blog post: "Claude Code v2.1.156 fixes the third-party provider breakage"
192
-
193
196
  ## [0.6.0] - 2026-05-29
194
197
 
195
198
  ### Added
@@ -499,6 +502,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
499
502
  - Support for custom config and binary paths
500
503
  - Command-line interface built with Commander.js
501
504
 
505
+ [0.11.0]: https://github.com/hmziqrs/claude-multi/compare/v0.10.0...v0.11.0
502
506
  [0.8.2]: https://github.com/hmziqrs/claude-multi/compare/v0.8.1...v0.8.2
503
507
  [0.8.1]: https://github.com/hmziqrs/claude-multi/compare/v0.8.0...v0.8.1
504
508
  [0.8.0]: https://github.com/hmziqrs/claude-multi/compare/v0.7.0...v0.8.0
@@ -512,4 +516,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
512
516
  [0.4.4]: https://github.com/hmziqrs/claude-multi/compare/v0.4.3...v0.4.4
513
517
  [0.3.0]: https://github.com/hmziqrs/claude-multi/compare/v0.2.0...v0.3.0
514
518
  [0.2.0]: https://github.com/hmziqrs/claude-multi/compare/v0.1.0...v0.2.0
515
- [0.1.0]: https://github.com/hmziqrs/claude-multi/releases/tag/v0.1.0
519
+ [0.1.0]: https://github.com/hmziqrs/claude-multi/releases/tag/v0.1.0
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <div align="center">
2
2
 
3
- <img src="public/favicon-animated.svg" width="256" height="256" alt="claude-multi logo">
3
+ <img src="https://raw.githubusercontent.com/hmziqrs/claude-multi/master/public/favicon-animated.svg" width="256" height="256" alt="claude-multi logo">
4
4
 
5
5
  <h1 align="center">claude-multi</h1>
6
6
 
@@ -49,12 +49,13 @@ Each instance is isolated. All of them run the normal, unmodified Claude Code bi
49
49
  ## Features
50
50
 
51
51
  * Multiple Claude Code instances, one `claude-<name>` command each.
52
- * Provider templates for GLM/Z.ai, MiniMax, and DeepSeek.
52
+ * Provider templates for GLM/Z.ai, MiniMax, DeepSeek, Xiaomi MiMo, Moonshot Kimi, and Qwen.
53
53
  * Isolated config directories. Every instance gets its own `~/.claude-<name>/`.
54
54
  * A full terminal UI that covers adding, listing, plugins, MCP, and sync.
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