feat(plan): add experimental plan flag (#16650)

This commit is contained in:
Jerop Kipruto
2026-01-14 19:55:10 -05:00
committed by GitHub
parent ae198029bc
commit 5bdfe1a1fa
8 changed files with 66 additions and 0 deletions
@@ -357,6 +357,19 @@ describe('SettingsSchema', () => {
);
});
it('should have plan setting in schema', () => {
const setting = getSettingsSchema().experimental.properties.plan;
expect(setting).toBeDefined();
expect(setting.type).toBe('boolean');
expect(setting.category).toBe('Experimental');
expect(setting.default).toBe(false);
expect(setting.requiresRestart).toBe(true);
expect(setting.showInDialog).toBe(true);
expect(setting.description).toBe(
'Enable planning features (Plan Mode and tools).',
);
});
it('should have hooks.notifications setting in schema', () => {
const setting = getSettingsSchema().hooks.properties.notifications;
expect(setting).toBeDefined();