ccman 3.0.23 → 3.0.24
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/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var init_package = __esm({
|
|
|
39
39
|
"../core/package.json"() {
|
|
40
40
|
package_default = {
|
|
41
41
|
name: "@ccman/core",
|
|
42
|
-
version: "3.0.
|
|
42
|
+
version: "3.0.24",
|
|
43
43
|
type: "module",
|
|
44
44
|
description: "Core business logic for ccman",
|
|
45
45
|
main: "./dist/index.js",
|
|
@@ -2271,6 +2271,9 @@ function writeClaudeConfig(provider) {
|
|
|
2271
2271
|
baseUrl: provider.baseUrl
|
|
2272
2272
|
});
|
|
2273
2273
|
const mergedConfig = deepMerge(defaultConfig, userConfig);
|
|
2274
|
+
mergedConfig.env = mergedConfig.env || {};
|
|
2275
|
+
mergedConfig.env.ANTHROPIC_AUTH_TOKEN = provider.apiKey;
|
|
2276
|
+
mergedConfig.env.ANTHROPIC_BASE_URL = provider.baseUrl;
|
|
2274
2277
|
fs3.writeFileSync(configPath, JSON.stringify(mergedConfig, null, 2), { mode: 384 });
|
|
2275
2278
|
}
|
|
2276
2279
|
var fs3, CLAUDE_CONFIG_TEMPLATE;
|