claude-multi 0.11.1 → 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.
- package/CHANGELOG.md +6 -0
- package/build/cli.js +29 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ 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
|
+
|
|
8
13
|
## [0.11.1] - 2026-08-22
|
|
9
14
|
|
|
10
15
|
### Fixed
|
|
@@ -502,6 +507,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
502
507
|
- Support for custom config and binary paths
|
|
503
508
|
- Command-line interface built with Commander.js
|
|
504
509
|
|
|
510
|
+
[0.12.0]: https://github.com/hmziqrs/claude-multi/compare/v0.11.1...v0.12.0
|
|
505
511
|
[0.11.0]: https://github.com/hmziqrs/claude-multi/compare/v0.10.0...v0.11.0
|
|
506
512
|
[0.8.2]: https://github.com/hmziqrs/claude-multi/compare/v0.8.1...v0.8.2
|
|
507
513
|
[0.8.1]: https://github.com/hmziqrs/claude-multi/compare/v0.8.0...v0.8.1
|
package/build/cli.js
CHANGED
|
@@ -7476,14 +7476,14 @@ var init_templates = __esm(() => {
|
|
|
7476
7476
|
glm: {
|
|
7477
7477
|
name: "glm",
|
|
7478
7478
|
displayName: "GLM Coding Plan",
|
|
7479
|
-
description: "GLM-5.3 and GLM-5-Turbo via z.ai Coding Plan subscription (Anthropic endpoint is coding-plan-only)",
|
|
7479
|
+
description: "GLM-5.3, GLM-5.3-Flash, and GLM-5-Turbo via z.ai Coding Plan subscription (Anthropic endpoint is coding-plan-only)",
|
|
7480
7480
|
settings: {
|
|
7481
7481
|
env: {
|
|
7482
7482
|
ANTHROPIC_AUTH_TOKEN: "",
|
|
7483
7483
|
ANTHROPIC_BASE_URL: "https://api.z.ai/api/anthropic",
|
|
7484
7484
|
API_TIMEOUT_MS: "3000000",
|
|
7485
7485
|
ANTHROPIC_DEFAULT_HAIKU_MODEL: "glm-5-turbo",
|
|
7486
|
-
ANTHROPIC_DEFAULT_SONNET_MODEL: "glm-5.3[1m]",
|
|
7486
|
+
ANTHROPIC_DEFAULT_SONNET_MODEL: "glm-5.3-flash[1m]",
|
|
7487
7487
|
ANTHROPIC_DEFAULT_OPUS_MODEL: "glm-5.3[1m]",
|
|
7488
7488
|
ANTHROPIC_MODEL: "glm-5.3[1m]",
|
|
7489
7489
|
ANTHROPIC_SMALL_FAST_MODEL: "glm-5-turbo",
|
|
@@ -10200,6 +10200,33 @@ var init_migration = __esm(() => {
|
|
|
10200
10200
|
}
|
|
10201
10201
|
return Promise.resolve(instance);
|
|
10202
10202
|
}
|
|
10203
|
+
},
|
|
10204
|
+
{
|
|
10205
|
+
version: "0.12.0",
|
|
10206
|
+
description: "GLM template: sonnet slot moved to glm-5.3-flash[1m] (three-tier split: opus glm-5.3[1m], sonnet glm-5.3-flash[1m], haiku glm-5-turbo)",
|
|
10207
|
+
migrate: (instance) => {
|
|
10208
|
+
const currentVersion = getClaudeMultiVersion();
|
|
10209
|
+
if (instance.createdWithVersion && instance.createdWithVersion !== LEGACY_INSTANCE_VERSION && instance.createdWithVersion === currentVersion) {
|
|
10210
|
+
return Promise.resolve(instance);
|
|
10211
|
+
}
|
|
10212
|
+
try {
|
|
10213
|
+
const result = syncProviderEnvToSettings(instance.configDir, {
|
|
10214
|
+
providerTemplate: instance.providerTemplate,
|
|
10215
|
+
providerRegion: instance.providerRegion,
|
|
10216
|
+
tunablePolicy: "overwrite-legacy-defaults"
|
|
10217
|
+
});
|
|
10218
|
+
if (result.status !== "skipped") {
|
|
10219
|
+
if (result.region)
|
|
10220
|
+
instance.providerRegion = result.region;
|
|
10221
|
+
if (!instance.providerTemplate && result.providerName) {
|
|
10222
|
+
instance.providerTemplate = result.providerName;
|
|
10223
|
+
}
|
|
10224
|
+
}
|
|
10225
|
+
} catch (err) {
|
|
10226
|
+
console.warn(`[migration] Failed to refresh provider env for '${instance.name}': ${err instanceof Error ? err.message : String(err)}`);
|
|
10227
|
+
}
|
|
10228
|
+
return Promise.resolve(instance);
|
|
10229
|
+
}
|
|
10203
10230
|
}
|
|
10204
10231
|
];
|
|
10205
10232
|
});
|