feat: enable message bus integration by default (#14329)

This commit is contained in:
Allen Hutchison
2025-12-02 16:05:54 -08:00
committed by GitHub
parent 344f2f26e7
commit 533a3fb312
5 changed files with 13 additions and 5 deletions

View File

@@ -632,6 +632,14 @@ describe('loadCliConfig', () => {
DEFAULT_FILE_FILTERING_OPTIONS.respectGeminiIgnore,
);
});
it('should default enableMessageBusIntegration to true when unconfigured', async () => {
process.argv = ['node', 'script.js'];
const argv = await parseArguments({} as Settings);
const settings: Settings = {};
const config = await loadCliConfig(settings, 'test-session', argv);
expect(config['enableMessageBusIntegration']).toBe(true);
});
});
describe('Hierarchical Memory Loading (config.ts) - Placeholder Suite', () => {

View File

@@ -513,7 +513,7 @@ export async function loadCliConfig(
);
const enableMessageBusIntegration =
settings.tools?.enableMessageBusIntegration ?? false;
settings.tools?.enableMessageBusIntegration ?? true;
const allowedTools = argv.allowedTools || settings.tools?.allowed || [];
const allowedToolsSet = new Set(allowedTools);

View File

@@ -1055,7 +1055,7 @@ const SETTINGS_SCHEMA = {
label: 'Enable Message Bus Integration',
category: 'Tools',
requiresRestart: true,
default: false,
default: true,
description: oneLine`
Enable policy-based tool confirmation via message bus integration.
When enabled, tools automatically respect policy engine decisions (ALLOW/DENY/ASK_USER) without requiring individual tool implementations.