GeezerVison is showing github.com — chore: rename OpenCode to opencode (#579) · bpd1069/opencode@caf465a
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/opencode/bin/opencode +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
49 | 49 | done |
50 | 50 |
|
51 | 51 | 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 |
53 | 53 | exit 1 |
54 | 54 | fi |
55 | 55 | fi |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/opencode/bin/opencode.cmd +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -48,9 +48,9 @@ set "current_dir=%parent_dir%" |
48 | 48 | goto :search_loop |
49 | 49 |
|
50 | 50 | :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 |
52 | 52 | exit /b 1 |
53 | 53 |
|
54 | 54 | :execute |
55 | 55 | rem Execute the binary with all arguments |
56 | | -"%resolved%" %* |
| 56 | +"%resolved%" %* |
Collapse file
Copy file name to clipboardExpand all lines: packages/opencode/src/tool/read.txt +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
7 | 7 | - 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 |
8 | 8 | - Any lines longer than 2000 characters will be truncated |
9 | 9 | - 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. |
11 | 11 | - 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. |
12 | 12 | - 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 |
13 | 13 | - If you read a file that exists but has empty contents you will receive a system reminder warning in place of file contents. |