opencode-dev-runner 0.1.0 → 0.1.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 +40 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# opencode-dev-runner
|
|
2
|
+
|
|
3
|
+
Auto-discovers dev tools on your machine and installs a **dev-runner subagent** for [opencode](https://opencode.ai).
|
|
4
|
+
|
|
5
|
+
## What it does
|
|
6
|
+
|
|
7
|
+
1. Scans your system for dev tools (flutter, dart, adb, git, node, npm, python, java, docker, etc.)
|
|
8
|
+
2. Creates `.opencode/agents/dev-runner.md` — a subagent that knows every tool path
|
|
9
|
+
3. Creates `.opencode/agents/tool-map.json` — machine-specific tool registry
|
|
10
|
+
4. The agent **learns** — if you ask for a tool it doesn't know, it searches and saves it
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npx opencode-dev-runner
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Restart opencode to load the agent. Then any other agent can ask dev-runner for tool paths:
|
|
19
|
+
|
|
20
|
+
> "Hey dev-runner, how do I run flutter analyze?"
|
|
21
|
+
|
|
22
|
+
## Supported platforms
|
|
23
|
+
|
|
24
|
+
| Platform | Discovery |
|
|
25
|
+
|----------|-----------|
|
|
26
|
+
| Windows | `where.exe`, PowerShell, scoop shims/apps, Android SDK |
|
|
27
|
+
| macOS | `which`, brew, Android SDK |
|
|
28
|
+
| Linux | `which`, `/usr/bin`, `~/.local/bin`, Android SDK |
|
|
29
|
+
|
|
30
|
+
## Tool categories
|
|
31
|
+
|
|
32
|
+
`android` `flutter` `vcs` `node` `python` `java` `database` `container` `editor` `package-manager` `build` `other`
|
|
33
|
+
|
|
34
|
+
## Re-run
|
|
35
|
+
|
|
36
|
+
Safe to re-run anytime — it re-discovers tools and updates the map. Already-known tools are updated, new tools are added.
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-dev-runner",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Auto-discovers dev tools on your machine and installs a dev-runner subagent for opencode",
|
|
5
5
|
"bin": {
|
|
6
6
|
"dev-runner-setup": "bin/setup.js"
|
|
7
7
|
},
|
|
8
8
|
"files": [
|
|
9
9
|
"bin/",
|
|
10
|
-
"templates/"
|
|
10
|
+
"templates/",
|
|
11
|
+
"README.md"
|
|
11
12
|
],
|
|
12
13
|
"keywords": [
|
|
13
14
|
"opencode",
|