docs: refresh for OpenCode v1.17.13, add Go coverage, and rebrand

- Bump every version pin, pricing table, and model ID to the verified
  2026-07-05 state (v1.17.13): Claude Fable 5 / Sonnet 5 on Zen, new
  free tier, deprecation sunset table, v1.17.x changelog section
- Cover gaps: OpenCode Go vs Zen billing, Anthropic subscription-login
  removal (PR #18186), MCP resources, --mini mode, --auto flag, yolo mode
- Fix correctness bugs: command-template !`cmd` syntax in docs and
  .opencode/commands, protect-secrets regex missing 'cat .env', dual
  plugin exports, quickstart PATH fix, Playwright MCP flags, ctrl+d
  keybind conflict, agent/command required-field claims
- Fix links: cursor.com, windsurf.com, platform.claude.com,
  code.claude.com, opencode.ai/discord, Vercel Grep announcement
- Rebrand: banner (Images/banner.svg), 1280x640 social preview asset,
  hero redesign with star CTA, ecosystem stats, private vulnerability
  reporting channel, CI-matching local checks, MD060 lint opt-out
This commit is contained in:
Wesam Abousaid
2026-07-05 14:11:51 +02:00
parent 29a69a35b0
commit a3f328c043
47 changed files with 427 additions and 202 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ Sample line:
Three options:
1. Move the plugin file out of `.opencode/plugins/`.
2. Comment out the `export default` line.
2. Comment out **all** exports in the file (every export is loaded, so a leftover one keeps the plugin alive) — or rename the file to a non-`.js`/`.ts` extension.
3. Gate the body of the plugin on an env var:
```js
-2
View File
@@ -31,5 +31,3 @@ export const AuditLog = async ({ directory }) => {
},
};
};
export default AuditLog;
+1 -3
View File
@@ -5,7 +5,7 @@
// on top of `external_directory: deny` and gitignore — never your only line
// of defense, but a useful one.
const SENSITIVE = /(^|\/)(\.env(\..*)?|secrets|credentials|id_rsa|id_ed25519|\.npmrc|\.pypirc)(\b|\/)/i;
const SENSITIVE = /(^|[\s\/"'=])(\.env(\.[^\s]*)?|secrets|credentials|id_rsa|id_ed25519|\.npmrc|\.pypirc)(\b|\/)/i;
// Pull the most likely path/command field out of a tool's arguments.
// `read`/`edit`/`write` use `filePath`; `bash` uses `command`; others vary.
@@ -36,5 +36,3 @@ export const ProtectSecrets = async () => {
},
};
};
export default ProtectSecrets;