opencode-plugin-flow 4.1.8 → 4.1.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/CHANGELOG.md +8 -0
- package/README.md +20 -11
- package/dist/index.js +478 -473
- package/dist/index.js.map +7 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
One short line per release. For the full rationale behind each entry, see the
|
|
4
4
|
commit history and review evidence.
|
|
5
5
|
|
|
6
|
+
## [4.1.10] - 2026-06-17
|
|
7
|
+
|
|
8
|
+
Move Flow session lore onto stable OpenCode instructions so experimental chat hooks no longer shape the default runtime context.
|
|
9
|
+
|
|
10
|
+
## [4.1.9] - 2026-06-17
|
|
11
|
+
|
|
12
|
+
Make public Flow command lore self-contained so stale native skill discovery cannot block the required loop.
|
|
13
|
+
|
|
6
14
|
## [4.1.8] - 2026-06-17
|
|
7
15
|
|
|
8
16
|
Make Flow command preflight overrule stale OpenCode command lore, with review instructions bundled where skill discovery can lag.
|
package/README.md
CHANGED
|
@@ -21,8 +21,8 @@ The manager still owns every Flow state change. Workers gather evidence; they do
|
|
|
21
21
|
Use OpenCode's plugin installer when your OpenCode version supports it:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
opencode plugin opencode-plugin-flow@4.1.
|
|
25
|
-
npx -y opencode-plugin-flow@4.1.
|
|
24
|
+
opencode plugin opencode-plugin-flow@4.1.10 --global --force
|
|
25
|
+
npx -y opencode-plugin-flow@4.1.10 sync
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
The first command adds Flow to your global OpenCode plugin config or replaces an
|
|
@@ -48,7 +48,7 @@ OpenCode config manually instead:
|
|
|
48
48
|
|
|
49
49
|
```json
|
|
50
50
|
{
|
|
51
|
-
"plugin": ["opencode-plugin-flow@4.1.
|
|
51
|
+
"plugin": ["opencode-plugin-flow@4.1.10"]
|
|
52
52
|
}
|
|
53
53
|
```
|
|
54
54
|
|
|
@@ -59,7 +59,7 @@ duplicate entry.
|
|
|
59
59
|
Then run the same pre-start skill sync and start or restart OpenCode:
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
|
-
npx -y opencode-plugin-flow@4.1.
|
|
62
|
+
npx -y opencode-plugin-flow@4.1.10 sync
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
Project-local skill overrides still work through OpenCode's normal lookup:
|
|
@@ -84,19 +84,22 @@ version in your global `opencode.json`.
|
|
|
84
84
|
To inspect the installed skill set:
|
|
85
85
|
|
|
86
86
|
```bash
|
|
87
|
-
npx -y opencode-plugin-flow@4.1.
|
|
87
|
+
npx -y opencode-plugin-flow@4.1.10 doctor
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
If a command reports `Skill "flow-review" not found. Available skills...` or a
|
|
91
91
|
similar Flow skill-loading error after upgrading, it is usually an older
|
|
92
92
|
OpenCode process or stale resolved command body. Flow command preflight replaces
|
|
93
93
|
public Flow command bodies in the running process, and `/flow-review` no longer
|
|
94
|
-
asks OpenCode to native-load
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
asks OpenCode to native-load required public Flow skills. Public Flow command
|
|
95
|
+
preflight replaces stale command bodies with bundled command instructions, so
|
|
96
|
+
`/flow-auto`, `/flow-plan`, `/flow-run`, and `/flow-review` can continue even
|
|
97
|
+
when native skill discovery lags. Run `/flow-status` or the doctor command
|
|
98
|
+
above first. Missing, incomplete, or outdated managed skills can still be
|
|
99
|
+
repaired with:
|
|
97
100
|
|
|
98
101
|
```bash
|
|
99
|
-
npx -y opencode-plugin-flow@4.1.
|
|
102
|
+
npx -y opencode-plugin-flow@4.1.10 sync
|
|
100
103
|
```
|
|
101
104
|
|
|
102
105
|
Then restart OpenCode so the refreshed registry is loaded. `sync` manages all
|
|
@@ -107,7 +110,9 @@ asks for a user decision instead of overwriting local work.
|
|
|
107
110
|
|
|
108
111
|
## Commands
|
|
109
112
|
|
|
110
|
-
Commands are
|
|
113
|
+
Commands are bundled entrypoints. OpenCode still syncs the Flow skills for
|
|
114
|
+
discoverability and manual use, but public command execution does not depend on
|
|
115
|
+
native skill discovery for the required Flow loop:
|
|
111
116
|
|
|
112
117
|
| Command | Purpose |
|
|
113
118
|
| --- | --- |
|
|
@@ -142,6 +147,9 @@ There is no `flow_context` and no separate review-record tool. Review evidence i
|
|
|
142
147
|
The runtime owns only safety:
|
|
143
148
|
|
|
144
149
|
- `.flow/session.json` is the active source of truth.
|
|
150
|
+
- `.flow/opencode-instructions.md` is a generated OpenCode instruction
|
|
151
|
+
projection of the active session. It is refreshed from `session.json`; do not
|
|
152
|
+
edit it.
|
|
145
153
|
- `.flow/history/<session-id>.json` stores closed sessions.
|
|
146
154
|
- Session writes are locked and atomic.
|
|
147
155
|
- Flow writes `.flow/.gitignore` so session state stays out of Git by default.
|
|
@@ -159,6 +167,7 @@ Planning quality, decomposition, review depth, validation adequacy, orchestratio
|
|
|
159
167
|
|
|
160
168
|
```text
|
|
161
169
|
.flow/session.json
|
|
170
|
+
.flow/opencode-instructions.md
|
|
162
171
|
.flow/history/<session-id>.json
|
|
163
172
|
.flow/session.lock/
|
|
164
173
|
```
|
|
@@ -192,7 +201,7 @@ First remove `opencode-plugin-flow` from your OpenCode plugin config so future
|
|
|
192
201
|
OpenCode startups stop loading Flow. Then remove Flow-owned synced skills:
|
|
193
202
|
|
|
194
203
|
```bash
|
|
195
|
-
npx -y opencode-plugin-flow@4.1.
|
|
204
|
+
npx -y opencode-plugin-flow@4.1.10 uninstall
|
|
196
205
|
```
|
|
197
206
|
|
|
198
207
|
Restart OpenCode after both steps. This removes Flow-owned synced skills when
|