feat: per-agent tools toggle and better python scratchpad

Add ToolSelector for enabling sandboxed python per agent, drop unsafe
filesystem/bash tools, bundle fetchUrl with web search, and return
Monty's last expression value so agents need not print.
This commit is contained in:
Zoe
2026-07-29 14:18:37 -05:00
parent 5aebd30808
commit a836082de8
6 changed files with 182 additions and 203 deletions
+4 -1
View File
@@ -112,7 +112,10 @@ export const agents = pgTable('agents', {
enabled: boolean;
rerank: boolean;
maxResults: number;
}
};
tools?: {
python?: boolean;
};
}>().default({}),
createdAt: timestamptz('created_at').notNull().defaultNow(),
}, (table) => [