@dibs.ai/opencode 0.1.1 → 0.1.2

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 CHANGED
@@ -1,11 +1,11 @@
1
1
  # dibs for opencode
2
2
 
3
- opencode loads skills from `skills/<id>/SKILL.md`, so it uses the shared `dibs` skill unchanged. The skill calls the CLI, which runs as `bunx @dibs.ai/dibs` if `dibs` is not on your PATH.
3
+ opencode loads skills from `skills/<id>/SKILL.md`, so it uses the shared `dibs` skill unchanged. The skill calls the CLI, which runs as `npx -y @dibs.ai/dibs` if `dibs` is not on your PATH.
4
4
 
5
5
  ## Install
6
6
 
7
7
  ```sh
8
- bun run build:agent opencode # writes dist/opencode/skills/dibs/SKILL.md
8
+ nub run build:agent opencode # writes dist/opencode/skills/dibs/SKILL.md
9
9
 
10
10
  # project-local
11
11
  mkdir -p .opencode/skills && cp -R dist/opencode/skills/dibs .opencode/skills/
@@ -22,10 +22,10 @@ Docs: https://opencode.ai/docs/skills/ (opencode also scans `.claude/skills` and
22
22
 
23
23
  ## Tools (MCP)
24
24
 
25
- The MCP server runs the CLI through `bunx`. Add this to `opencode.json`:
25
+ The MCP server runs the CLI through `npx -y`. Add this to `opencode.json`:
26
26
 
27
27
  ```json
28
- {"mcp":{"dibs":{"type":"local","command":["bunx","@dibs.ai/dibs","mcp"]}}}
28
+ {"mcp":{"dibs":{"type":"local","command":["npx","-y","@dibs.ai/dibs","mcp"]}}}
29
29
  ```
30
30
 
31
31
  ## Task panel
@@ -36,6 +36,6 @@ A live task panel (views `current`/`project`/`completed`, like the Pi panel) sho
36
36
  { "plugins": ["/absolute/path/to/dibs/agents/opencode/plugin/tui.tsx"] }
37
37
  ```
38
38
 
39
- Local plugin entries are documented as directories or package names; if the file path is rejected, point at `/absolute/path/to/dibs/agents/opencode` (its `package.json` exports `./tui`). Install peers there first: `cd agents/opencode && bun add @opencode/plugin @opentui/core @opentui/solid solid-js`.
39
+ Local plugin entries are documented as directories or package names; if the file path is rejected, point at `/absolute/path/to/dibs/agents/opencode` (its `package.json` exports `./tui`). Install peers there first: `cd agents/opencode && nub add @opencode/plugin @opentui/core @opentui/solid solid-js`.
40
40
 
41
41
  Keys: `ctrl+shift+v` cycles the view, `ctrl+shift+t` collapses (also `/tasks-view`, `/tasks-toggle`, and the command palette). The panel refreshes every 3 s and after any event mentioning a `todo_*` tool. Not verified against a running opencode.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dibs.ai/opencode",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "opencode TUI plugin for dibs: task panel.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -31,4 +31,4 @@
31
31
  "url": "git+https://github.com/arobida/dibs.git",
32
32
  "directory": "agents/opencode"
33
33
  }
34
- }
34
+ }
package/plugin/tui.tsx CHANGED
@@ -23,7 +23,7 @@ export default Plugin.define({
23
23
 
24
24
  const refresh = () => {
25
25
  const args = ["@dibs.ai/dibs", "panel", view(), "--json", ...(mine.size ? ["--mine", [...mine].join(",")] : [])]
26
- execFile("bunx", args, { cwd }, (err, out) => {
26
+ execFile("npx", ["-y", ...args], { cwd }, (err, out) => {
27
27
  if (err) return setPanel(null) // fail silently
28
28
  try { setPanel(JSON.parse(out)) } catch { setPanel(null) }
29
29
  })