ltcraft-ai-auto 1.5.1 → 1.5.3

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.
@@ -0,0 +1,6 @@
1
+ {
2
+ "enabledMcpjsonServers": [
3
+ "proxy"
4
+ ],
5
+ "enableAllProjectMcpServers": true
6
+ }
package/bin/index.js CHANGED
@@ -91,7 +91,8 @@ function configureClaudeCode(apiKey) {
91
91
  ...(settings.env || {}),
92
92
  ANTHROPIC_BASE_URL: API_BASE_URL,
93
93
  API_TIMEOUT_MS: 3000000,
94
- ANTHROPIC_AUTH_TOKEN: apiKey
94
+ ANTHROPIC_AUTH_TOKEN: apiKey,
95
+ ANTHROPIC_API_KEY: apiKey
95
96
  };
96
97
  writeJsonFile(settingsPath, settings);
97
98
  console.log(`✓ 已配置: ${settingsPath}`);
@@ -153,7 +154,9 @@ function configureOpenClaw(apiKey) {
153
154
  }
154
155
  },
155
156
  "agents": {
156
- "defaults": {}
157
+ "defaults": {
158
+ "model": { "primary": "ltcraftai/claude-sonnet-4-6" }
159
+ }
157
160
  }
158
161
  };
159
162
  const merged = deepMerge(existing, apiConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ltcraft-ai-auto",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "一键配置 Claude Code / OpenCode / OpenClaw 的 API 密钥工具",
5
5
  "type": "module",
6
6
  "main": "index.js",