Skip to content

Commit caf465a

Browse files
chore: rename OpenCode to opencode (anomalyco#579)
1 parent bbf77c6 commit caf465a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/opencode/bin/opencode

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ else
4949
done
5050

5151
if [ -z "$resolved" ]; then
52-
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
52+
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
5353
exit 1
5454
fi
5555
fi

packages/opencode/bin/opencode.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ set "current_dir=%parent_dir%"
4848
goto :search_loop
4949

5050
:not_found
51-
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
51+
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
5252
exit /b 1
5353

5454
:execute
5555
rem Execute the binary with all arguments
56-
"%resolved%" %*
56+
"%resolved%" %*

packages/opencode/src/tool/read.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Usage:
77
- 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
88
- Any lines longer than 2000 characters will be truncated
99
- Results are returned using cat -n format, with line numbers starting at 1
10-
- 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.
10+
- 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.
1111
- 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.
1212
- 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
1313
- If you read a file that exists but has empty contents you will receive a system reminder warning in place of file contents.

0 commit comments

Comments
 (0)