opencode-async-agent 1.0.0 → 1.0.1
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 +25 -7
- package/dist/async-agent.js +932 -0
- package/package.json +3 -1
- package/AGENTS.md +0 -119
- package/src/plugin/manager.ts +0 -630
- package/src/plugin/plugin.ts +0 -200
- package/src/plugin/rules.ts +0 -115
- package/src/plugin/tools.ts +0 -230
- package/src/plugin/types.ts +0 -80
- package/src/plugin/utils.ts +0 -51
package/README.md
CHANGED
|
@@ -14,7 +14,31 @@ Async background delegation for OpenCode — run multiple AI agents in parallel.
|
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### From npm (Recommended)
|
|
18
|
+
|
|
19
|
+
The plugin is published on npm as `opencode-async-agent`. Add it to your OpenCode config:
|
|
20
|
+
|
|
21
|
+
**Global config** (`~/.config/opencode/opencode.json`):
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"$schema": "https://opencode.ai/config.json",
|
|
25
|
+
"plugins": ["opencode-async-agent"]
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Or project config** (`opencode.json`):
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"$schema": "https://opencode.ai/config.json",
|
|
33
|
+
"plugins": ["opencode-async-agent"]
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Restart OpenCode — the plugin will be installed automatically via Bun and loaded on startup.
|
|
38
|
+
|
|
39
|
+
### Manual Setup
|
|
40
|
+
|
|
41
|
+
If you prefer local development:
|
|
18
42
|
|
|
19
43
|
1. **Clone and build:**
|
|
20
44
|
```bash
|
|
@@ -32,12 +56,6 @@ Async background delegation for OpenCode — run multiple AI agents in parallel.
|
|
|
32
56
|
|
|
33
57
|
3. **Restart OpenCode** — the plugin auto-registers on startup
|
|
34
58
|
|
|
35
|
-
### NPM Package (Coming Soon)
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
npm install -g oc-async-agent
|
|
39
|
-
```
|
|
40
|
-
|
|
41
59
|
## Usage
|
|
42
60
|
|
|
43
61
|
The plugin adds these tools to your OpenCode agent:
|