opencode-goal-mode 0.3.8 → 0.3.10

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/ARCHITECTURE.md CHANGED
@@ -188,8 +188,9 @@ progress is visible even without the banner.
188
188
  The JSX renderer is verified headlessly with `@opentui/solid`'s `testRender` in
189
189
  `tools/visual-test/sidebar-visual.jsx` (`npm run test:visual`, needs Bun + the
190
190
  OpenTUI stack): it asserts the rendered text, the exact foreground colours, and
191
- the bold attribute for Goal todo / done / native-todo-preserved states. That tool is excluded from
192
- the npm package and from `node --test`/CI.
191
+ the bold attribute for Goal todo / done / native-todo-preserved states. That tool
192
+ is excluded from the npm package and from `node --test`; the GitHub CI workflow
193
+ runs it in a separate Bun/OpenTUI job.
193
194
 
194
195
  ## Configuration
195
196
 
package/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## v0.3.10
4
+
5
+ - Clarified the recommended install command to use a persistent global npm install
6
+ before running the installer, so OpenCode can resolve the TUI package on future
7
+ starts. `npx` remains documented for temporary installs/server-side checks.
8
+ - Added the missing historical `v0.3.8` changelog section. `v0.3.8` reached npm,
9
+ but its GitHub Release workflow failed while generating release notes, so it was
10
+ superseded by `v0.3.9`.
11
+
12
+ ## v0.3.9
4
13
 
5
14
  - Installer docs and `--help` now put the one-command `npx opencode-goal-mode --global`
6
15
  flow first, clarify global vs project targets, and document the merge-safe
@@ -12,6 +21,12 @@
12
21
  - Destructive-command blocking no longer activates Goal enforcement for Build or
13
22
  other non-Goal sessions, preventing non-Goal tasks from being classified as goals.
14
23
 
24
+ ## v0.3.8
25
+
26
+ - Superseded release: npm publish succeeded, but the GitHub Release workflow failed
27
+ because the changelog section was still named `Unreleased`. The same functional
28
+ changes shipped correctly in `v0.3.9` with matching npm and GitHub releases.
29
+
15
30
  ## v0.3.7
16
31
 
17
32
  - **FIX: the sidebar now actually loads.** OpenCode loads a TUI plugin via the
package/README.md CHANGED
@@ -17,14 +17,15 @@ TUI sidebar.
17
17
  **One command** (recommended; needs [Node](https://nodejs.org) 20.11+ and a working [OpenCode](https://opencode.ai) install):
18
18
 
19
19
  ```bash
20
- npx opencode-goal-mode --global
20
+ npm install -g opencode-goal-mode && opencode-goal-mode --global
21
21
  ```
22
22
 
23
23
  Then **restart OpenCode**. That's the whole install: it copies the Goal agent,
24
24
  review subagents, slash commands, and guard plugin into `~/.config/opencode`, and
25
25
  merge-safely registers the Goal todo sidebar in `~/.config/opencode/tui.json`.
26
26
  In the agent picker you'll see only the **`goal`** agent; reviewers are subagents
27
- it drives automatically. Goal Mode inherits your existing OpenCode model/provider.
27
+ it drives automatically. The global install keeps the TUI package resolvable on
28
+ future OpenCode starts; Goal Mode inherits your existing OpenCode model/provider.
28
29
 
29
30
  <details>
30
31
  <summary>Other ways to install</summary>
@@ -34,6 +35,10 @@ it drives automatically. Goal Mode inherits your existing OpenCode model/provide
34
35
  npm install -g opencode-goal-mode
35
36
  opencode-goal-mode --global # alias of opencode-goal-mode-install
36
37
 
38
+ # Temporary npx install (server-side components work; for the TUI sidebar,
39
+ # prefer the global install above so OpenCode can resolve the package later)
40
+ npx opencode-goal-mode --global
41
+
37
42
  # Into a single project (writes ./.opencode, including ./.opencode/tui.json)
38
43
  npx opencode-goal-mode
39
44
 
@@ -253,6 +258,7 @@ enforcement and writes its state to disk, and an experimental TUI plugin
253
258
  ## Installer options
254
259
 
255
260
  ```bash
261
+ npm install -g opencode-goal-mode && opencode-goal-mode --global
256
262
  npx opencode-goal-mode --global --dry-run
257
263
  npx opencode-goal-mode --global
258
264
  opencode-goal-mode-install --global --uninstall
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-goal-mode",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "description": "Strict Goal Mode agents, commands, and guard plugin for OpenCode.",
5
5
  "type": "module",
6
6
  "main": "plugins/goal-sidebar.tsx",