opencode-plugin-flow 4.1.6 → 4.1.7
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 +4 -0
- package/README.md +23 -15
- package/dist/cli.js +297 -32
- package/dist/index.js +297 -32
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.7] - 2026-06-17
|
|
7
|
+
|
|
8
|
+
Teach Flow's managed skill lore to test, commit, and trigger more precisely while keeping release state and `.flow/**` artifacts guarded by explicit maintainer intent.
|
|
9
|
+
|
|
6
10
|
## [4.1.6] - 2026-06-16
|
|
7
11
|
|
|
8
12
|
Make Flow's pinned installer path force-aware, so OpenCode replaces older global plugin entries instead of leaving stale versions behind.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Flow Plugin for OpenCode
|
|
2
2
|
|
|
3
|
-
`opencode-plugin-flow` is a skills-first workflow helper for OpenCode. The skills carry planning, execution, validation, cleanup, UI quality, review, and orchestration judgment. The plugin code stays deliberately small: it keeps a durable `.flow/session.json` ledger and enforces the hard gates prompts should not be trusted to remember.
|
|
3
|
+
`opencode-plugin-flow` is a skills-first workflow helper for OpenCode. The skills carry planning, execution, validation, cleanup, UI quality, review, safe commit preparation, and orchestration judgment. The plugin code stays deliberately small: it keeps a durable `.flow/session.json` ledger and enforces the hard gates prompts should not be trusted to remember.
|
|
4
4
|
|
|
5
5
|
Flow v4 is a breaking simplification. It does not preserve v3 session layouts or retired tool aliases.
|
|
6
6
|
|
|
@@ -8,6 +8,8 @@ Flow v4 is a breaking simplification. It does not preserve v3 session layouts or
|
|
|
8
8
|
|
|
9
9
|
- A resumable one-feature-at-a-time loop for larger coding work.
|
|
10
10
|
- Skill-guided planning, running, validation, review, cleanup, and UI quality.
|
|
11
|
+
- First-class validation guidance through `flow-test`, plus user-triggered safe
|
|
12
|
+
commit preparation through `flow-commit`.
|
|
11
13
|
- Hidden evidence, review, validation, audit, verifier, and candidate workers for broad work.
|
|
12
14
|
- Structured handoffs with coverage, evidence, confidence, and gaps.
|
|
13
15
|
- Runtime gates for approval immutability, validation evidence, review evidence, and safe session closure.
|
|
@@ -19,8 +21,8 @@ The manager still owns every Flow state change. Workers gather evidence; they do
|
|
|
19
21
|
Use OpenCode's plugin installer when your OpenCode version supports it:
|
|
20
22
|
|
|
21
23
|
```bash
|
|
22
|
-
opencode plugin opencode-plugin-flow@4.1.
|
|
23
|
-
npx -y opencode-plugin-flow@4.1.
|
|
24
|
+
opencode plugin opencode-plugin-flow@4.1.7 --global --force
|
|
25
|
+
npx -y opencode-plugin-flow@4.1.7 sync
|
|
24
26
|
```
|
|
25
27
|
|
|
26
28
|
The first command adds Flow to your global OpenCode plugin config or replaces an
|
|
@@ -34,9 +36,11 @@ into:
|
|
|
34
36
|
~/.config/opencode/skills/flow/SKILL.md
|
|
35
37
|
~/.config/opencode/skills/flow-plan/SKILL.md
|
|
36
38
|
~/.config/opencode/skills/flow-run/SKILL.md
|
|
39
|
+
~/.config/opencode/skills/flow-test/SKILL.md
|
|
37
40
|
~/.config/opencode/skills/flow-review/SKILL.md
|
|
38
41
|
~/.config/opencode/skills/flow-deslop/SKILL.md
|
|
39
42
|
~/.config/opencode/skills/flow-ui-quality/SKILL.md
|
|
43
|
+
~/.config/opencode/skills/flow-commit/SKILL.md
|
|
40
44
|
```
|
|
41
45
|
|
|
42
46
|
If your OpenCode version does not have `opencode plugin`, add Flow to your
|
|
@@ -44,7 +48,7 @@ OpenCode config manually instead:
|
|
|
44
48
|
|
|
45
49
|
```json
|
|
46
50
|
{
|
|
47
|
-
"plugin": ["opencode-plugin-flow@4.1.
|
|
51
|
+
"plugin": ["opencode-plugin-flow@4.1.7"]
|
|
48
52
|
}
|
|
49
53
|
```
|
|
50
54
|
|
|
@@ -55,7 +59,7 @@ duplicate entry.
|
|
|
55
59
|
Then run the same pre-start skill sync and start or restart OpenCode:
|
|
56
60
|
|
|
57
61
|
```bash
|
|
58
|
-
npx -y opencode-plugin-flow@4.1.
|
|
62
|
+
npx -y opencode-plugin-flow@4.1.7 sync
|
|
59
63
|
```
|
|
60
64
|
|
|
61
65
|
Project-local skill overrides still work through OpenCode's normal lookup:
|
|
@@ -80,7 +84,7 @@ version in your global `opencode.json`.
|
|
|
80
84
|
To inspect the installed skill set:
|
|
81
85
|
|
|
82
86
|
```bash
|
|
83
|
-
npx -y opencode-plugin-flow@4.1.
|
|
87
|
+
npx -y opencode-plugin-flow@4.1.7 doctor
|
|
84
88
|
```
|
|
85
89
|
|
|
86
90
|
If a command reports `Skill "flow-review" not found. Available skills...` or a
|
|
@@ -88,14 +92,14 @@ similar Flow skill-loading error, run `/flow-status` or the doctor command above
|
|
|
88
92
|
first. Missing, incomplete, or outdated managed skills can be repaired with:
|
|
89
93
|
|
|
90
94
|
```bash
|
|
91
|
-
npx -y opencode-plugin-flow@4.1.
|
|
95
|
+
npx -y opencode-plugin-flow@4.1.7 sync
|
|
92
96
|
```
|
|
93
97
|
|
|
94
98
|
Then restart OpenCode so the refreshed registry is loaded. `sync` manages all
|
|
95
|
-
bundled Flow skills: `flow`, `flow-plan`, `flow-run`, `flow-
|
|
96
|
-
`flow-deslop`,
|
|
97
|
-
managed skill folder, Flow leaves it in place and
|
|
98
|
-
instead of overwriting local work.
|
|
99
|
+
bundled Flow skills: `flow`, `flow-plan`, `flow-run`, `flow-test`,
|
|
100
|
+
`flow-review`, `flow-deslop`, `flow-ui-quality`, and `flow-commit`. If doctor
|
|
101
|
+
reports a foreign or edited managed skill folder, Flow leaves it in place and
|
|
102
|
+
asks for a user decision instead of overwriting local work.
|
|
99
103
|
|
|
100
104
|
## Commands
|
|
101
105
|
|
|
@@ -109,6 +113,10 @@ Commands are thin pointers into skills:
|
|
|
109
113
|
| `/flow-review` | Run a read-only review. |
|
|
110
114
|
| `/flow-status` | Show the active session and next action. |
|
|
111
115
|
|
|
116
|
+
`flow-test` and `flow-commit` are managed helper skills, not public commands in
|
|
117
|
+
this release. `flow-commit` is user-triggered only and stays outside the
|
|
118
|
+
autonomous Flow runtime loop.
|
|
119
|
+
|
|
112
120
|
## Tools
|
|
113
121
|
|
|
114
122
|
The runtime exposes seven tools:
|
|
@@ -151,9 +159,9 @@ Planning quality, decomposition, review depth, validation adequacy, orchestratio
|
|
|
151
159
|
.flow/session.lock/
|
|
152
160
|
```
|
|
153
161
|
|
|
154
|
-
Versioning `.flow` state is opt-in.
|
|
155
|
-
|
|
156
|
-
|
|
162
|
+
Versioning `.flow` state is opt-in. Keep it ignored by default, and archive only
|
|
163
|
+
exact Flow session artifacts when a maintainer intentionally asks for them; avoid
|
|
164
|
+
broad forced adds of `.flow/**`.
|
|
157
165
|
|
|
158
166
|
## Development
|
|
159
167
|
|
|
@@ -180,7 +188,7 @@ First remove `opencode-plugin-flow` from your OpenCode plugin config so future
|
|
|
180
188
|
OpenCode startups stop loading Flow. Then remove Flow-owned synced skills:
|
|
181
189
|
|
|
182
190
|
```bash
|
|
183
|
-
npx -y opencode-plugin-flow@4.1.
|
|
191
|
+
npx -y opencode-plugin-flow@4.1.7 uninstall
|
|
184
192
|
```
|
|
185
193
|
|
|
186
194
|
Restart OpenCode after both steps. This removes Flow-owned synced skills when
|