aboutsummaryrefslogtreecommitdiff
path: root/opencode/scripts/test-hello-tool.sh
diff options
context:
space:
mode:
authorJosh Rahm <rahm@josher.dev>2026-08-11 11:19:51 -0600
committerJosh Rahm <rahm@josher.dev>2026-08-11 11:19:51 -0600
commit19ca36dfe8cc99321fcbde26a9387e3fac74509d (patch)
treec650df1c655df572bfaed31a0291bf84e7a036e3 /opencode/scripts/test-hello-tool.sh
parentd7829c069b09d2115daa1aa33a729dd9ffee301e (diff)
downloadhobs.nvim-19ca36dfe8cc99321fcbde26a9387e3fac74509d.tar.gz
hobs.nvim-19ca36dfe8cc99321fcbde26a9387e3fac74509d.tar.bz2
hobs.nvim-19ca36dfe8cc99321fcbde26a9387e3fac74509d.zip
[feat] add the opencode tools directory.HEADmain
Diffstat (limited to 'opencode/scripts/test-hello-tool.sh')
-rwxr-xr-xopencode/scripts/test-hello-tool.sh6
1 files changed, 6 insertions, 0 deletions
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.'