From 19ca36dfe8cc99321fcbde26a9387e3fac74509d Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 11 Aug 2026 11:19:51 -0600 Subject: [feat] add the opencode tools directory. --- opencode/scripts/test-hello-tool.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 opencode/scripts/test-hello-tool.sh (limited to 'opencode/scripts') diff --git a/opencode/scripts/test-hello-tool.sh b/opencode/scripts/test-hello-tool.sh new file mode 100755 index 0000000..d51c621 --- /dev/null +++ b/opencode/scripts/test-hello-tool.sh @@ -0,0 +1,6 @@ +#!/bin/bash +export OPENCODE_CONFIG_DIR="/home/rahm/Projects/hobs.nvim/opencode" + +opencode run 'You are testing a custom OpenCode tool. Use the live_read tool to retrieve and print the contents of the current neovim buffer.' +# opencode run 'You are testing a custom OpenCode tool. Look for interesting files in the repo and call the files_of_intrigue tool to document them.' +# opencode run 'You are testing a custom OpenCode tool. You MUST call the hello tool exactly once with the name "Josh". After the tool returns, reply with exactly the tool result and nothing else.' -- cgit