summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDaniel VĂ©lez <[email protected]>2025-07-02 05:09:51 -0500
committerGitHub <[email protected]>2025-07-02 05:09:51 -0500
commitcaf465a9da4daf710e6ca1fa844b6c6955a2f343 (patch)
treecb78d4a541a801222bcf7b2328bb74df0bed0e3c
parentbbf77c6139a6ed6fea7036cf73c474e6af7a70e7 (diff)
downloadopencode-caf465a9da4daf710e6ca1fa844b6c6955a2f343.tar.gz
opencode-caf465a9da4daf710e6ca1fa844b6c6955a2f343.zip
chore: rename OpenCode to opencode (#579)
-rwxr-xr-xpackages/opencode/bin/opencode2
-rw-r--r--packages/opencode/bin/opencode.cmd4
-rw-r--r--packages/opencode/src/tool/read.txt2
3 files changed, 4 insertions, 4 deletions
diff --git a/packages/opencode/bin/opencode b/packages/opencode/bin/opencode
index 63c524f60..8f75eb189 100755
--- a/packages/opencode/bin/opencode
+++ b/packages/opencode/bin/opencode
@@ -49,7 +49,7 @@ else
done
if [ -z "$resolved" ]; then
- printf "It seems that your package manager failed to install the right version of the OpenCode CLI for your platform. You can try manually installing the \"%s\" package\n" "$name" >&2
+ printf "It seems that your package manager failed to install the right version of the opencode CLI for your platform. You can try manually installing the \"%s\" package\n" "$name" >&2
exit 1
fi
fi
diff --git a/packages/opencode/bin/opencode.cmd b/packages/opencode/bin/opencode.cmd
index 8bac765c5..5908a815f 100644
--- a/packages/opencode/bin/opencode.cmd
+++ b/packages/opencode/bin/opencode.cmd
@@ -48,9 +48,9 @@ set "current_dir=%parent_dir%"
goto :search_loop
:not_found
-echo It seems that your package manager failed to install the right version of the OpenCode CLI for your platform. You can try manually installing the "%name%" package >&2
+echo It seems that your package manager failed to install the right version of the opencode CLI for your platform. You can try manually installing the "%name%" package >&2
exit /b 1
:execute
rem Execute the binary with all arguments
-"%resolved%" %* \ No newline at end of file
+"%resolved%" %*
diff --git a/packages/opencode/src/tool/read.txt b/packages/opencode/src/tool/read.txt
index b00740c19..d1bf8c5d9 100644
--- a/packages/opencode/src/tool/read.txt
+++ b/packages/opencode/src/tool/read.txt
@@ -7,7 +7,7 @@ Usage:
- You can optionally specify a line offset and limit (especially handy for long files), but it's recommended to read the whole file by not providing these parameters
- Any lines longer than 2000 characters will be truncated
- Results are returned using cat -n format, with line numbers starting at 1
-- This tool allows OpenCode to read images (eg PNG, JPG, etc). When reading an image file the contents are presented visually as OpenCode is a multimodal LLM.
+- This tool allows opencode to read images (eg PNG, JPG, etc). When reading an image file the contents are presented visually as opencode is a multimodal LLM.
- You have the capability to call multiple tools in a single response. It is always better to speculatively read multiple files as a batch that are potentially useful.
- You will regularly be asked to read screenshots. If the user provides a path to a screenshot ALWAYS use this tool to view the file at the path. This tool will work with all temporary file paths like /var/folders/123/abc/T/TemporaryItems/NSIRD_screencaptureui_ZfB1tD/Screenshot.png
- If you read a file that exists but has empty contents you will receive a system reminder warning in place of file contents.