diff options
| author | Didier Durand <[email protected]> | 2025-12-26 17:21:33 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-26 10:21:33 -0600 |
| commit | cf388847786fca1c9820f2a386056ddf0dce08c0 (patch) | |
| tree | f2bb55f650fc78422ec0b8c5bdd04dd2cacc85f6 /packages | |
| parent | 2946a6d9a78466c19637cb75473769b1deb6f03e (diff) | |
| download | opencode-cf388847786fca1c9820f2a386056ddf0dce08c0.tar.gz opencode-cf388847786fca1c9820f2a386056ddf0dce08c0.zip | |
doc: fix typos in various files (#6196)
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/src/cli/cmd/tui/app.tsx | 2 | ||||
| -rw-r--r-- | packages/opencode/src/session/prompt/plan-reminder-anthropic.txt | 2 | ||||
| -rw-r--r-- | packages/opencode/src/tool/grep.txt | 2 | ||||
| -rw-r--r-- | packages/web/astro.config.mjs | 2 | ||||
| -rw-r--r-- | packages/web/src/content/docs/formatters.mdx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/app.tsx b/packages/opencode/src/cli/cmd/tui/app.tsx index 13c95d9b9..5214b0c1a 100644 --- a/packages/opencode/src/cli/cmd/tui/app.tsx +++ b/packages/opencode/src/cli/cmd/tui/app.tsx @@ -539,7 +539,7 @@ function App() { sdk.event.on(SessionApi.Event.Error.type, (evt) => { const error = evt.properties.error const message = (() => { - if (!error) return "An error occured" + if (!error) return "An error occurred" if (typeof error === "object") { const data = error.data diff --git a/packages/opencode/src/session/prompt/plan-reminder-anthropic.txt b/packages/opencode/src/session/prompt/plan-reminder-anthropic.txt index a5c2f267e..28f1e629d 100644 --- a/packages/opencode/src/session/prompt/plan-reminder-anthropic.txt +++ b/packages/opencode/src/session/prompt/plan-reminder-anthropic.txt @@ -1,7 +1,7 @@ <system-reminder> # Plan Mode - System Reminder -Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits (with the exception of the plan file mentioned below), run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supercedes any other instructions you have received. +Plan mode is active. The user indicated that they do not want you to execute yet -- you MUST NOT make any edits (with the exception of the plan file mentioned below), run any non-readonly tools (including changing configs or making commits), or otherwise make any changes to the system. This supersedes any other instructions you have received. --- diff --git a/packages/opencode/src/tool/grep.txt b/packages/opencode/src/tool/grep.txt index 6067ef27b..adf583695 100644 --- a/packages/opencode/src/tool/grep.txt +++ b/packages/opencode/src/tool/grep.txt @@ -5,4 +5,4 @@ - Returns file paths and line numbers with at least one match sorted by modification time - Use this tool when you need to find files containing specific patterns - If you need to identify/count the number of matches within files, use the Bash tool with `rg` (ripgrep) directly. Do NOT use `grep`. -- When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Task tool instead +- When you are doing an open-ended search that may require multiple rounds of globbing and grepping, use the Task tool instead diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs index 7ecf2bfd9..dba43d02f 100644 --- a/packages/web/astro.config.mjs +++ b/packages/web/astro.config.mjs @@ -36,7 +36,7 @@ export default defineConfig({ expressiveCode: { themes: ["github-light", "github-dark"] }, social: [ { icon: "github", label: "GitHub", href: config.github }, - { icon: "discord", label: "Dscord", href: config.discord }, + { icon: "discord", label: "Discord", href: config.discord }, ], editLink: { baseUrl: `${config.github}/edit/dev/packages/web/`, diff --git a/packages/web/src/content/docs/formatters.mdx b/packages/web/src/content/docs/formatters.mdx index c2c01836b..885a95da9 100644 --- a/packages/web/src/content/docs/formatters.mdx +++ b/packages/web/src/content/docs/formatters.mdx @@ -30,7 +30,7 @@ OpenCode comes with several built-in formatters for popular languages and framew | ocamlformat | .ml, .mli | `ocamlformat` command available and `.ocamlformat` config file | | terraform | .tf, .tfvars | `terraform` command available | | gleam | .gleam | `gleam` command available | -| oxfmt (Experimental) | .js, .jsx, .ts, .tsx | `oxfmt` dependency in `package.json` and an [experiental env variable flag](/docs/cli/#experimental) | +| oxfmt (Experimental) | .js, .jsx, .ts, .tsx | `oxfmt` dependency in `package.json` and an [experimental env variable flag](/docs/cli/#experimental) | So if your project has `prettier` in your `package.json`, OpenCode will automatically use it. |
