diff options
| author | Dax Raad <[email protected]> | 2025-08-05 12:01:48 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-05 12:01:48 -0400 |
| commit | 3db8e7c2b66bd6efea1457d9a2fcd6c9bbc782a8 (patch) | |
| tree | 7ba7ee4ae8250cece4ae70a0dd006161e5880f57 /packages | |
| parent | b459055757636204e8967a91935b94ba89cfa90e (diff) | |
| download | opencode-3db8e7c2b66bd6efea1457d9a2fcd6c9bbc782a8.tar.gz opencode-3db8e7c2b66bd6efea1457d9a2fcd6c9bbc782a8.zip | |
ci: send stats to posthog
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/AGENTS.md | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/packages/opencode/AGENTS.md b/packages/opencode/AGENTS.md index 8b3b03dc0..287cbc265 100644 --- a/packages/opencode/AGENTS.md +++ b/packages/opencode/AGENTS.md @@ -17,19 +17,6 @@ - **Error handling**: Use Result patterns, avoid throwing exceptions in tools - **File structure**: Namespace-based organization (e.g., `Tool.define()`, `Session.create()`) -## IMPORTANT - -- Try to keep things in one function unless composable or reusable -- DO NOT do unnecessary destructuring of variables -- DO NOT use `else` statements unless necessary -- DO NOT use `try`/`catch` if it can be avoided -- AVOID `try`/`catch` where possible -- AVOID `else` statements -- AVOID using `any` type -- AVOID `let` statements -- PREFER single word variable names where possible -- Use as many bun apis as possible like Bun.file() - ## Architecture - **Tools**: Implement `Tool.Info` interface with `execute()` method |
