You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f40dada
Browse filesBrowse the repository at this point in the historyBrowse files
docs: document chipp-ai/opencode fork status and install instructions
Notes this is a public fork of anomalyco/opencode, lists the fork-only
change (subagent cost rollup, closes upstream anomalyco#45417/anomalyco#39740/anomalyco#40114/anomalyco#31032),
and replaces the install section with instructions for this fork's own
multi-arch releases. Upstream's package-manager installs and desktop app
links are kept but marked as not maintained by this fork. Also corrects
the Installation Directory section, which described $OPENCODE_INSTALL_DIR/
$XDG_BIN_DIR priority logic the install script doesn't actually implement.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
> This is **[chipp-ai/opencode](https://github.com/chipp-ai/opencode)**, a public fork of [anomalyco/opencode](https://github.com/anomalyco/opencode) (formerly `sst/opencode`). We track upstream `dev` closely and carry a small set of fixes upstream hasn't merged yet — see [Fork changes](#fork-changes) below. Everything else in this README describes upstream OpenCode; only the Installation section differs for this fork.
19
+
17
20
<palign="center">
18
21
<ahref="README.md">English</a> |
19
22
<ahref="README.zh.md">简体中文</a> |
@@ -43,8 +46,32 @@
43
46
44
47
---
45
48
49
+
### Fork changes
50
+
51
+
This fork adds subagent cost roll-up: session cost/tokens shown in the TUI sidebar and footer, `opencode stats`, and ACP's `usage_update` now include spend from subagent (Task tool) sessions, not just the root session — fixing [anomalyco/opencode#45417](https://github.com/anomalyco/opencode/issues/45417), [#39740](https://github.com/anomalyco/opencode/issues/39740), [#40114](https://github.com/anomalyco/opencode/issues/40114), and [#31032](https://github.com/anomalyco/opencode/issues/31032) (forked sessions double-counting inherited cost). See the [`dev` branch history](https://github.com/chipp-ai/opencode/commits/dev) for the exact commits on top of upstream.
52
+
46
53
### Installation
47
54
55
+
```bash
56
+
# From this fork (builds for all platforms, same install script as upstream)
Releases are published at [chipp-ai/opencode/releases](https://github.com/chipp-ai/opencode/releases). To build and install from source instead:
nix run nixpkgs#opencode # or github:anomalyco/opencode for latest dev branch
62
89
```
63
90
91
+
</details>
92
+
64
93
> [!TIP]
65
94
> Remove versions older than 0.1.x before installing.
66
95
67
96
### Desktop App (BETA)
68
97
69
-
OpenCode is also available as a desktop application. Download directly from the [releases page](https://github.com/anomalyco/opencode/releases) or [opencode.ai/download](https://opencode.ai/download).
98
+
OpenCode is also available as a desktop application (upstream builds only — this fork does not currently publish desktop builds). Download directly from [anomalyco/opencode's releases page](https://github.com/anomalyco/opencode/releases) or [opencode.ai/download](https://opencode.ai/download).
The install script always installs to `$HOME/.opencode/bin` and adds that to your shell's PATH. Use `--no-modify-path` to skip the PATH edit, or `-b/--binary <path>` to install a binary you already built (see [Installation](#installation) above) instead of downloading one.
99
117
100
118
### Agents
101
119
@@ -114,11 +132,11 @@ Learn more about [agents](https://opencode.ai/docs/agents).
114
132
115
133
### Documentation
116
134
117
-
For more info on how to configure OpenCode, [**head over to our docs**](https://opencode.ai/docs).
135
+
For more info on how to configure OpenCode, [**head over to our docs**](https://opencode.ai/docs) (upstream's docs site; this fork doesn't maintain a separate one). The install/build differences above are the only fork-specific behavior.
118
136
119
137
### Contributing
120
138
121
-
If you're interested in contributing to OpenCode, please read our [contributing docs](./CONTRIBUTING.md) before submitting a pull request.
139
+
This fork's own changes live on the [`dev` branch](https://github.com/chipp-ai/opencode/tree/dev) and are tracked against [chipp-ai/opencode issues](https://github.com/chipp-ai/opencode/issues). If you're interested in contributing to upstream OpenCode itself, please read [their contributing docs](./CONTRIBUTING.md) before submitting a pull request there.
0 commit comments