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/README.md +2 -2
- package/README.zh.md +2 -2
- package/cli/builtin-proxy.js +408 -16
- package/cli/openai-bridge.js +504 -25
- package/package.json +1 -1
- package/web-ui/modules/app.methods.claude-config.mjs +2 -3
package/package.json
CHANGED
|
@@ -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.
|
|
256
|
+
await this.applyClaudeConfig(name);
|
|
258
257
|
},
|
|
259
258
|
|
|
260
259
|
async deleteClaudeConfig(name) {
|