@mageyuki/opencode-subagent-statusline 0.7.0 → 0.7.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +15 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@ See delegated work without leaving OpenCode. **Subagent Monitor** is an MIT-lice
9
9
  [![GitHub stars](https://img.shields.io/github/stars/mageyuki/sub-agent-statusline?style=flat-square)](https://github.com/mageyuki/sub-agent-statusline)
10
10
  [![license](https://img.shields.io/github/license/mageyuki/sub-agent-statusline?style=flat-square)](LICENSE)
11
11
 
12
- > **Unofficial fork.** `@mageyuki/opencode-subagent-statusline` is an unofficial, independently maintained fork of [`opencode-subagent-statusline`](https://github.com/Joaquinvesapa/sub-agent-statusline) by Joaquin Vesco Aparicio ([Joaquinvesapa](https://github.com/Joaquinvesapa)); it is not affiliated with or endorsed by the upstream author. Its code is derived from upstream, and its divergence is the OpenCode V2 (2.0.11) compatibility bridge pinned in this repository. The scoped name starts at `0.7.0` and does not continue the upstream `opencode-subagent-statusline` 1.x version line. `0.7.0` is a prepared candidate that has not been published to npm. Source and issues: [mageyuki/sub-agent-statusline](https://github.com/mageyuki/sub-agent-statusline). Licensed under MIT with the original copyright notice preserved in [LICENSE](LICENSE).
12
+ > **Unofficial fork.** `@mageyuki/opencode-subagent-statusline` is an unofficial, independently maintained fork of [`opencode-subagent-statusline`](https://github.com/Joaquinvesapa/sub-agent-statusline) by Joaquin Vesco Aparicio ([Joaquinvesapa](https://github.com/Joaquinvesapa)); it is not affiliated with or endorsed by the upstream author. Its code is derived from upstream, and its divergence is the OpenCode V2 (2.0.11) compatibility bridge pinned in this repository. The scoped name starts at `0.7.0` and does not continue the upstream `opencode-subagent-statusline` 1.x version line. `0.7.0` is the published first release of the scoped name. `0.7.1` is a metadata-only patch prepared here. It marks the UI peers (`@opentui/core`, `@opentui/solid`, `solid-js`) and `@opentui/keymap` optional, and bounds `@opentui/keymap` to `>=0.4.0 <0.6`. Its source build pins `@opentui/keymap` as a development dependency, separately from the published optional peer guard; the package has no runtime `dependencies`. At release-preparation time, candidate C qualified in one isolated existing-session CLI smoke (OpenCode CLI 2.0.27). Publication is established separately by the registry; verify that `0.7.1` exists before a named install. Verification records are in [FORK.md](FORK.md). Source and issues: [mageyuki/sub-agent-statusline](https://github.com/mageyuki/sub-agent-statusline). Licensed under MIT with the original copyright notice preserved in [LICENSE](LICENSE).
13
13
 
14
14
  ## Install
15
15
 
@@ -26,7 +26,7 @@ Register the TUI in global `~/.config/opencode/cli.json` (or `$XDG_CONFIG_HOME/o
26
26
  }
27
27
  ```
28
28
 
29
- The local directory must directly contain `tui.js` and its adjacent adapters; neither the package root nor a direct `tui.js` file is the V2 registration form. Keep the complete installed package/dependencies. For a published release containing this dual bridge, the named-package form is `"plugins": ["@mageyuki/opencode-subagent-statusline@0.7.0"]` (an illustrative future form, not an active configuration); root and `/tui` exports are unchanged. These instructions do not mean this development build has been published to npm.
29
+ The local directory must directly contain `tui.js` and its adjacent adapters; neither the package root nor a direct `tui.js` file is the V2 registration form. Keep the complete installed package/dependencies. The named-package form is `"plugins": ["@mageyuki/opencode-subagent-statusline@0.7.1"]` (illustrative, not an active configuration), to be used only after the registry version is confirmed. The historical `0.7.0` default isolated resolution failed with ERESOLVE (see [FORK.md](FORK.md)). Root and `/tui` exports are unchanged. Package installation does not establish actual-host qualification. The candidate smoke ran on OpenCode CLI 2.0.27; that does not widen the 2.0.11 target.
30
30
 
31
31
  Add only this entry to your existing configuration, preserving unrelated plugins/settings. Register one `subagent-statusline.tui` identity. Configuration can reload immediately: first keep a restrictive-permission backup and a known working artifact for rollback. Remove only the added entry to roll back, or restore the backup only if no other edits occurred. Any normal-TUI restart is user-controlled.
32
32
 
@@ -112,7 +112,7 @@ When a child session is opened from the sidebar, return with OpenCode `Up` (`ses
112
112
  <details>
113
113
  <summary>Stable public contract</summary>
114
114
 
115
- For releases of this scoped package line, including the `0.7.0` candidate, the stable user-facing contract is:
115
+ For releases of this scoped package line, including `0.7.0` and `0.7.1`, the stable user-facing contract is:
116
116
 
117
117
  - npm package name: `@mageyuki/opencode-subagent-statusline`;
118
118
  - TUI plugin entrypoints: `@mageyuki/opencode-subagent-statusline` and `@mageyuki/opencode-subagent-statusline/tui`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mageyuki/opencode-subagent-statusline",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Unofficial fork of opencode-subagent-statusline: OpenCode plugin that exposes subagent session statusline state, with a V2 bridge",
5
5
  "type": "module",
6
6
  "repository": {
@@ -51,6 +51,7 @@
51
51
  "@opencode/plugin": "2.0.11",
52
52
  "@opencode/theme": "2.0.11",
53
53
  "@opentui/core": ">=0.4.0 <0.6",
54
+ "@opentui/keymap": ">=0.4.0 <0.6",
54
55
  "@opentui/solid": ">=0.4.0 <0.6",
55
56
  "solid-js": ">=1.9.12 <2"
56
57
  },
@@ -63,6 +64,18 @@
63
64
  },
64
65
  "@opencode/theme": {
65
66
  "optional": true
67
+ },
68
+ "@opentui/core": {
69
+ "optional": true
70
+ },
71
+ "@opentui/keymap": {
72
+ "optional": true
73
+ },
74
+ "@opentui/solid": {
75
+ "optional": true
76
+ },
77
+ "solid-js": {
78
+ "optional": true
66
79
  }
67
80
  },
68
81
  "devDependencies": {
@@ -71,6 +84,7 @@
71
84
  "@opencode/plugin": "2.0.11",
72
85
  "@opencode/theme": "2.0.11",
73
86
  "@opentui/core": "0.5.10",
87
+ "@opentui/keymap": "0.5.10",
74
88
  "@opentui/solid": "0.5.10",
75
89
  "@types/node": "^22.19.19",
76
90
  "@vitest/coverage-v8": "^4.1.7",