opencode-orchestrator 0.1.50 → 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 +1 -9
- 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
|
@@ -79,24 +79,16 @@ Instead of a linear sequence, we use a **Directed Acyclic Graph (DAG)** to model
|
|
|
79
79
|
|
|
80
80
|
## Installation
|
|
81
81
|
|
|
82
|
-
You can use **npm** or **bun**. Both work perfectly because the core logic runs in a native **Rust binary**.
|
|
83
|
-
|
|
84
|
-
### Option 1: npm (Standard)
|
|
85
82
|
```bash
|
|
86
83
|
npm install -g opencode-orchestrator
|
|
87
84
|
```
|
|
88
85
|
|
|
89
|
-
### Option 2: Bun (Fast)
|
|
90
|
-
```bash
|
|
91
|
-
bun install -g opencode-orchestrator
|
|
92
|
-
```
|
|
93
|
-
|
|
94
86
|
> **Note**: After installation, **restart OpenCode** or run `opencode` in your terminal.
|
|
95
87
|
> The plugin will automatically register itself in `~/.config/opencode/opencode.json` with its absolute path.
|
|
96
88
|
|
|
97
89
|
### Troubleshooting
|
|
98
90
|
If the command `/task` does not appear:
|
|
99
|
-
1. Uninstall: `npm uninstall -g opencode-orchestrator`
|
|
91
|
+
1. Uninstall: `npm uninstall -g opencode-orchestrator`
|
|
100
92
|
2. Clear config: `rm -rf ~/.config/opencode` (Warning: resets all plugins)
|
|
101
93
|
3. Reinstall: `npm install -g opencode-orchestrator`
|
|
102
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;
|