codexmate 0.0.52 → 0.0.54

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codexmate",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "description": "Codex/Claude Code/OpenClaw 配置、会话与任务编排 CLI + Web 工具",
5
5
  "main": "cli.js",
6
6
  "bin": {
@@ -231,7 +231,7 @@ export function createClaudeConfigMethods(options = {}) {
231
231
  }
232
232
  },
233
233
 
234
- addClaudeConfig() {
234
+ async addClaudeConfig() {
235
235
  const validation = getClaudeConfigValidationForContext(this, 'add');
236
236
  if (!validation.ok) {
237
237
  return this.showMessage(validation.errors.name || validation.errors.apiKey || validation.errors.baseUrl || validation.errors.model || this.t('toast.claude.checkConfig'), 'error');
@@ -252,9 +252,8 @@ export function createClaudeConfigMethods(options = {}) {
252
252
 
253
253
  this.currentClaudeConfig = name;
254
254
  this.saveClaudeConfigs();
255
- this.showMessage(this.t('toast.operation.success'), 'success');
256
255
  this.closeClaudeConfigModal();
257
- this.refreshClaudeModelContext();
256
+ await this.applyClaudeConfig(name);
258
257
  },
259
258
 
260
259
  async deleteClaudeConfig(name) {