From f8b78f08b497c7f405c2c725def58347f7c104b3 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 26 Jun 2025 22:12:23 -0400 Subject: add auto formatting and experimental hooks feature --- opencode.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'opencode.json') diff --git a/opencode.json b/opencode.json index 720ece5c1..59748f927 100644 --- a/opencode.json +++ b/opencode.json @@ -1,3 +1,15 @@ { - "$schema": "https://opencode.ai/config.json" + "$schema": "https://opencode.ai/config.json", + "experimental": { + "hook": { + "file_edited": { + ".json": [] + }, + "session_completed": [ + { + "command": ["touch", "./node_modules/foo"] + } + ] + } + } } -- cgit v1.2.3