opencode-orchestrator 0.1.49 → 0.1.51
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 +4 -10
- package/dist/cli.js +2 -2
- package/dist/index.js +74 -12393
- package/dist/scripts/postinstall.js +7 -5
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="assets/logo.png" alt="Logo" width="200" />
|
|
3
|
+
</div>
|
|
2
4
|
|
|
3
5
|
# OpenCode Orchestrator Plugin
|
|
4
6
|
|
|
@@ -77,24 +79,16 @@ Instead of a linear sequence, we use a **Directed Acyclic Graph (DAG)** to model
|
|
|
77
79
|
|
|
78
80
|
## Installation
|
|
79
81
|
|
|
80
|
-
You can use **npm** or **bun**. Both work perfectly because the core logic runs in a native **Rust binary**.
|
|
81
|
-
|
|
82
|
-
### Option 1: npm (Standard)
|
|
83
82
|
```bash
|
|
84
83
|
npm install -g opencode-orchestrator
|
|
85
84
|
```
|
|
86
85
|
|
|
87
|
-
### Option 2: Bun (Fast)
|
|
88
|
-
```bash
|
|
89
|
-
bun install -g opencode-orchestrator
|
|
90
|
-
```
|
|
91
|
-
|
|
92
86
|
> **Note**: After installation, **restart OpenCode** or run `opencode` in your terminal.
|
|
93
87
|
> The plugin will automatically register itself in `~/.config/opencode/opencode.json` with its absolute path.
|
|
94
88
|
|
|
95
89
|
### Troubleshooting
|
|
96
90
|
If the command `/task` does not appear:
|
|
97
|
-
1. Uninstall: `npm uninstall -g opencode-orchestrator`
|
|
91
|
+
1. Uninstall: `npm uninstall -g opencode-orchestrator`
|
|
98
92
|
2. Clear config: `rm -rf ~/.config/opencode` (Warning: resets all plugins)
|
|
99
93
|
3. Reinstall: `npm install -g opencode-orchestrator`
|
|
100
94
|
|
package/dist/cli.js
CHANGED
|
@@ -6,9 +6,9 @@ import { join, dirname } from "path";
|
|
|
6
6
|
import { fileURLToPath } from "url";
|
|
7
7
|
import { platform, arch } from "os";
|
|
8
8
|
import { existsSync } from "fs";
|
|
9
|
-
var
|
|
9
|
+
var __dirname = dirname(fileURLToPath(import.meta.url));
|
|
10
10
|
function getBinaryPath() {
|
|
11
|
-
const binDir = join(
|
|
11
|
+
const binDir = join(__dirname, "..", "bin");
|
|
12
12
|
const os = platform();
|
|
13
13
|
const cpu = arch();
|
|
14
14
|
let binaryName;
|