opencode2 2.0.16 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -8
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -8,15 +8,15 @@ OpenCode v2 CLI with prompt modes, code-review-graph auto-indexing, and the brow
|
|
|
8
8
|
npm install -g opencode2
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Requires Node.js 18 or newer. The platform binary ships in `opencode2
|
|
12
|
-
automatically as an optional dependency.
|
|
11
|
+
Requires Node.js 18 or newer. The platform binary ships in a matching `opencode2-<platform>-<arch>`
|
|
12
|
+
package that is pulled in automatically as an optional dependency.
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
15
15
|
|
|
16
16
|
```sh
|
|
17
17
|
opencode2 # interactive TUI
|
|
18
18
|
opencode2 --auto "prompt" # headless run with auto approvals
|
|
19
|
-
opencode2 --version #
|
|
19
|
+
opencode2 --version # prints the CLI version
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## What is added over stock OpenCode
|
|
@@ -29,11 +29,19 @@ opencode2 --version # opencode v2.0.16
|
|
|
29
29
|
|
|
30
30
|
## Platform support
|
|
31
31
|
|
|
32
|
-
| Package
|
|
33
|
-
|
|
|
34
|
-
| `opencode2-linux-x64`
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
| Package | Platform |
|
|
33
|
+
| ------------------------------ | --------------------------- |
|
|
34
|
+
| `opencode2-linux-x64` | Linux x64 (glibc) |
|
|
35
|
+
| `opencode2-linux-x64-musl` | Linux x64 (musl, e.g. Alpine) |
|
|
36
|
+
| `opencode2-linux-arm64` | Linux arm64 (glibc) |
|
|
37
|
+
| `opencode2-linux-arm64-musl` | Linux arm64 (musl) |
|
|
38
|
+
| `opencode2-darwin-x64` | macOS x64 (Intel) |
|
|
39
|
+
| `opencode2-darwin-arm64` | macOS arm64 (Apple Silicon) |
|
|
40
|
+
| `opencode2-windows-x64` | Windows x64 |
|
|
41
|
+
| `opencode2-windows-arm64` | Windows arm64 |
|
|
42
|
+
|
|
43
|
+
npm installs only the package matching your OS and CPU; the launcher picks the right binary, using
|
|
44
|
+
the musl build first on musl systems.
|
|
37
45
|
|
|
38
46
|
## Repository
|
|
39
47
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode2",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "OpenCode v2 CLI with prompt modes, code-review-graph auto-indexing, and the browser skill",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,6 +26,13 @@
|
|
|
26
26
|
"node": ">=18"
|
|
27
27
|
},
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"opencode2-
|
|
29
|
+
"opencode2-darwin-arm64": "2.1.0",
|
|
30
|
+
"opencode2-darwin-x64": "2.1.0",
|
|
31
|
+
"opencode2-linux-arm64": "2.1.0",
|
|
32
|
+
"opencode2-linux-arm64-musl": "2.1.0",
|
|
33
|
+
"opencode2-linux-x64": "2.1.0",
|
|
34
|
+
"opencode2-linux-x64-musl": "2.1.0",
|
|
35
|
+
"opencode2-windows-arm64": "2.1.0",
|
|
36
|
+
"opencode2-windows-x64": "2.1.0"
|
|
30
37
|
}
|
|
31
38
|
}
|