add AI agents files

This commit is contained in:
Benjamin Palko 2026-08-11 15:34:48 -04:00
parent 5a903af22a
commit 9b9ae5c7f5
79 changed files with 2399 additions and 23 deletions

View file

@ -0,0 +1,9 @@
export const EnvProtection = async ({ project, client, $, directory, worktree }) => {
return {
'tool.execute.before': async (input, output) => {
if (input.tool === 'read' && output.args.filePath.includes('.env')) {
throw new Error('Do not read .env files');
}
}
};
};