summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDidier Durand <[email protected]>2025-12-26 17:21:33 +0100
committerGitHub <[email protected]>2025-12-26 10:21:33 -0600
commitcf388847786fca1c9820f2a386056ddf0dce08c0 (patch)
treef2bb55f650fc78422ec0b8c5bdd04dd2cacc85f6
parent2946a6d9a78466c19637cb75473769b1deb6f03e (diff)
downloadopencode-cf388847786fca1c9820f2a386056ddf0dce08c0.tar.gz
opencode-cf388847786fca1c9820f2a386056ddf0dce08c0.zip
doc: fix typos in various files (#6196)
-rw-r--r--README.md4
-rw-r--r--packages/opencode/src/cli/cmd/tui/app.tsx2
-rw-r--r--packages/opencode/src/session/prompt/plan-reminder-anthropic.txt2
-rw-r--r--packages/opencode/src/tool/grep.txt2
-rw-r--r--packages/web/astro.config.mjs2
-rw-r--r--packages/web/src/content/docs/formatters.mdx2
6 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 5295810b6..b68195abd 100644
--- a/README.md
+++ b/README.md
@@ -79,7 +79,7 @@ you can switch between these using the `Tab` key.
- Asks permission before running bash commands
- Ideal for exploring unfamiliar codebases or planning changes
-Also, included is a **general** subagent for complex searches and multi-step tasks.
+Also, included is a **general** subagent for complex searches and multistep tasks.
This is used internally and can be invoked using `@general` in messages.
Learn more about [agents](https://opencode.ai/docs/agents).
@@ -98,7 +98,7 @@ If you are working on a project that's related to OpenCode and is using "opencod
### FAQ
-#### How is this different than Claude Code?
+#### How is this different from Claude Code?
It's very similar to Claude Code in terms of capability. Here are the key differences:
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.