feat: add brave search container and toolset

This commit is contained in:
William Valentin
2026-02-22 20:12:54 -08:00
parent 487f26e36d
commit ba6abfb078
13 changed files with 502 additions and 53 deletions
+3
View File
@@ -14,6 +14,7 @@ const ALL_TOOL_NAMES = [
'file.list',
'web.fetch',
'web.search',
'web.search.news',
'memory.read',
'memory.write',
'memory.search',
@@ -96,6 +97,7 @@ describe('PROFILE_TOOLS', () => {
}
expect(PROFILE_TOOLS.messaging.has('memory.read')).toBe(true);
expect(PROFILE_TOOLS.messaging.has('web.search')).toBe(true);
expect(PROFILE_TOOLS.messaging.has('web.search.news')).toBe(true);
});
it('coding is a superset of messaging', () => {
@@ -152,6 +154,7 @@ describe('ToolPolicy', () => {
expect(names).toContain('memory.read');
expect(names).toContain('memory.write');
expect(names).toContain('web.search');
expect(names).toContain('web.search.news');
expect(names).not.toContain('shell.exec');
expect(names).not.toContain('file.write');
});