Refine desktop setup and remove bundled app center apps

This commit is contained in:
inman
2026-06-04 09:58:58 +08:00
parent 6153579b90
commit 84128dbe23
73 changed files with 3888 additions and 2024 deletions

View File

@@ -574,12 +574,17 @@ describe('sanitizeOpenClawConfig', () => {
},
models: {
providers: {
'minimax-portal': {
baseUrl: 'https://api.minimax.io/anthropic',
api: 'anthropic-messages',
'yinian-model': {
baseUrl: 'https://api.example.com/v1',
api: 'openai-completions',
},
},
},
agents: {
defaults: {
model: { primary: 'yinian-model/custom-model' },
},
},
});
const openclawDir = join(testHome, '.openclaw-package-sanitize');
@@ -610,7 +615,7 @@ describe('sanitizeOpenClawConfig', () => {
const allow = plugins.allow as string[];
const entries = (plugins.entries || {}) as Record<string, Record<string, unknown>>;
expect(new Set(allow)).toEqual(new Set(['minimax', 'cloud-sync']));
expect(new Set(allow)).toEqual(new Set(['cloud-sync']));
expect(entries['minimax-portal-auth']).toBeUndefined();
expect(entries['custom-plugin']).toBeUndefined();
});