@puffinstudio/fizzyx 0.6.1 → 1.0.0
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 +34 -68
- package/dist/main.js +1544 -627
- package/docs/images/fizzyx-logo.png +0 -0
- package/docs/images/flow-workflow.png +0 -0
- package/docs/images/openapi-workflow.png +0 -0
- package/docs/images/oss-workflow.png +0 -0
- package/docs/images/planner-workflow.png +0 -0
- package/docs/images/skill-workflow.png +0 -0
- package/package.json +12 -9
- package/docs/images/flow-workflow.svg +0 -68
- package/docs/images/openapi-workflow.svg +0 -60
- package/docs/images/oss-workflow.svg +0 -59
- package/docs/images/planner-workflow.svg +0 -60
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# fizzyx
|
|
2
2
|
|
|
3
|
-
<img src="./
|
|
3
|
+
<img src="./docs/images/fizzyx-logo.png" alt="fizzyx logo" width="120" />
|
|
4
4
|
|
|
5
5
|
CLI tool for Fizzy board workflow, OSS/S3-compatible storage, and OpenAPI client generation.
|
|
6
6
|
|
|
@@ -12,72 +12,44 @@ bun add -g @puffinstudio/fizzyx
|
|
|
12
12
|
|
|
13
13
|
## Flow Commands
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### Setup
|
|
18
|
-
|
|
19
|
-
```sh
|
|
20
|
-
fizzyx setup <board-id>
|
|
21
|
-
fizzyx auth login <token>
|
|
22
|
-
fizzyx auth status
|
|
23
|
-
fizzyx flow mine --fresh
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
`flow doctor` can still be run for an explicit health check, but new `fizzyx flow ...` commands auto-repair workflow columns and ids when needed.
|
|
27
|
-
|
|
28
|
-
### Create A Card (Manual)
|
|
29
|
-
|
|
30
|
-
Use `--draft` to create a unique project-local draft file. This automatically creates `.fizzyx/` when needed and avoids collisions between multiple agents.
|
|
31
|
-
|
|
32
|
-
```sh
|
|
33
|
-
draft=$(fizzyx flow template --draft)
|
|
34
|
-
$EDITOR "$draft"
|
|
35
|
-
fizzyx flow add Ellen "Implement feature" --desc "$draft"
|
|
36
|
-
rm "$draft"
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
You can also pipe or provide your own file:
|
|
40
|
-
|
|
41
|
-
```sh
|
|
42
|
-
fizzyx flow template
|
|
43
|
-
fizzyx flow add <user> "<title>" --desc <file|->
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### Work A Card
|
|
15
|
+
Use `.fizzyx.yaml` as the project config file for board and workflow settings.
|
|
47
16
|
|
|
48
17
|
```sh
|
|
49
|
-
fizzyx flow
|
|
50
|
-
fizzyx flow
|
|
51
|
-
fizzyx flow next --fresh --start
|
|
18
|
+
fizzyx flow work
|
|
19
|
+
fizzyx flow create <user> "<title>" --desc <file|->
|
|
52
20
|
fizzyx flow show <card>
|
|
53
21
|
fizzyx flow start <card>
|
|
54
|
-
fizzyx flow
|
|
22
|
+
fizzyx flow review <card>
|
|
55
23
|
fizzyx flow done <card> "commit <sha>: <subject>"
|
|
24
|
+
fizzyx flow block <card> "<reason>"
|
|
25
|
+
fizzyx flow improve
|
|
26
|
+
fizzyx flow doctor
|
|
27
|
+
fizzyx flow repair
|
|
56
28
|
```
|
|
57
29
|
|
|
58
30
|
`flow done` requires all steps to be complete and closes the card into Done.
|
|
59
31
|
|
|
60
|
-
|
|
32
|
+
Use `fizzyx skill ...` for bundled skills and project pins. Use flow commands for repair and health checks.
|
|
33
|
+
|
|
34
|
+

|
|
35
|
+
|
|
36
|
+
## Skill Commands
|
|
61
37
|
|
|
62
38
|
```sh
|
|
63
|
-
fizzyx
|
|
64
|
-
fizzyx
|
|
65
|
-
fizzyx
|
|
66
|
-
fizzyx
|
|
67
|
-
fizzyx
|
|
68
|
-
fizzyx
|
|
69
|
-
fizzyx
|
|
70
|
-
fizzyx
|
|
71
|
-
fizzyx
|
|
72
|
-
fizzyx flow skill init [--force]
|
|
39
|
+
fizzyx skill list
|
|
40
|
+
fizzyx skill add <source>
|
|
41
|
+
fizzyx skill remove <name>
|
|
42
|
+
fizzyx skill update [name]
|
|
43
|
+
fizzyx skill info <name>
|
|
44
|
+
fizzyx skill run <name>
|
|
45
|
+
fizzyx skill doctor
|
|
46
|
+
fizzyx skill migrate --check
|
|
47
|
+
fizzyx skill migrate --apply
|
|
73
48
|
```
|
|
74
49
|
|
|
75
|
-
-
|
|
76
|
-
- `flow assign` skips users who are already assigned.
|
|
77
|
-
- `flow block` moves the card to Not Now.
|
|
78
|
-
- `flow workflow`, `flow skill`, and `flow template` prefer project-local overrides under `.agents/skills/fizzyx/`.
|
|
50
|
+
Built-in skills are bundled. `skill update [name]` refreshes the local copy from the current fizzyx release.
|
|
79
51
|
|
|
80
|
-

|
|
81
53
|
|
|
82
54
|
## Planner Dashboard
|
|
83
55
|
|
|
@@ -86,19 +58,12 @@ Start a local planner dashboard backed directly by the Fizzy API:
|
|
|
86
58
|
```sh
|
|
87
59
|
fizzyx planner start
|
|
88
60
|
fizzyx planner snapshot
|
|
89
|
-
fizzyx planner snapshot --auto-fix
|
|
90
|
-
fizzyx planner health
|
|
91
|
-
fizzyx planner repair-metadata
|
|
92
|
-
fizzyx planner repair-metadata --apply
|
|
93
|
-
fizzyx planner repair-metadata --apply --default-priority p2 --default-type chore
|
|
94
61
|
```
|
|
95
62
|
|
|
96
|
-

|
|
97
64
|
|
|
98
65
|
`planner snapshot` prints the same JSON used by the web dashboard. Project workflow uses `BACKLOG → READY → IN PROGRESS → REVIEW → DONE`, with `DONE` coming from closed cards and `BLOCKED` from Not Now/postponed cards.
|
|
99
66
|
|
|
100
|
-
`planner repair-metadata` is dry-run by default. It inserts/syncs deterministic frontmatter from existing tags and assignees. Missing priority/type are only filled when explicit defaults are passed.
|
|
101
|
-
|
|
102
67
|
Planner conventions use tags for filtering:
|
|
103
68
|
|
|
104
69
|
```text
|
|
@@ -115,10 +80,11 @@ priority: P1
|
|
|
115
80
|
type: feature
|
|
116
81
|
owner: ellen
|
|
117
82
|
depends_on: [123]
|
|
118
|
-
api_status: not_connected
|
|
119
83
|
---
|
|
120
84
|
```
|
|
121
85
|
|
|
86
|
+
`api_status:*` and `skill:*` are not standard tags in 1.0 and are treated as free-form tags only.
|
|
87
|
+
|
|
122
88
|
## OSS Commands
|
|
123
89
|
|
|
124
90
|
Manage S3-compatible object storage (Alibaba Cloud OSS, AWS S3, MinIO, etc.).
|
|
@@ -142,7 +108,7 @@ fizzyx oss setup --env dev
|
|
|
142
108
|
- Credentials are stored in OS keychain via `Bun.secrets`, never in config files or shell history
|
|
143
109
|
- Without `--env`, keys are stored as `default` — all environments fall back to it
|
|
144
110
|
|
|
145
|
-

|
|
146
112
|
|
|
147
113
|
### Sync
|
|
148
114
|
|
|
@@ -216,7 +182,7 @@ Options:
|
|
|
216
182
|
| `--runtime-name <name>` | Runtime filename (default: `wx-request.ts`) |
|
|
217
183
|
| `--run <script\|cmd>` | npm script or shell command after generation |
|
|
218
184
|
|
|
219
|
-
If `--input`/`--output`/`--client` are omitted, values from `.
|
|
185
|
+
If `--input`/`--output`/`--client` are omitted, values from `.fizzyx.yaml` `openapi[0]` are used.
|
|
220
186
|
|
|
221
187
|
Output is 3 files — runtime, types, and tree-shakeable endpoint functions:
|
|
222
188
|
|
|
@@ -286,7 +252,7 @@ const result = await someAction();
|
|
|
286
252
|
fizzyx openapi list
|
|
287
253
|
```
|
|
288
254
|
|
|
289
|
-

|
|
290
256
|
|
|
291
257
|
### Initialize OpenAPI config
|
|
292
258
|
|
|
@@ -294,7 +260,7 @@ fizzyx openapi list
|
|
|
294
260
|
fizzyx openapi init
|
|
295
261
|
```
|
|
296
262
|
|
|
297
|
-
### Config (`.
|
|
263
|
+
### Config (`.fizzyx.yaml`)
|
|
298
264
|
|
|
299
265
|
```yaml
|
|
300
266
|
openapi:
|
|
@@ -307,7 +273,7 @@ openapi:
|
|
|
307
273
|
run: check
|
|
308
274
|
```
|
|
309
275
|
|
|
310
|
-
## Config File (`.
|
|
276
|
+
## Config File (`.fizzyx.yaml`)
|
|
311
277
|
|
|
312
278
|
Minimal OSS-only config:
|
|
313
279
|
|
|
@@ -340,6 +306,6 @@ Credentials are resolved in this priority order:
|
|
|
340
306
|
|
|
341
307
|
1. OS keychain (`Bun.secrets` — set via `fizzyx oss setup`)
|
|
342
308
|
2. Environment variables: `OSS_<ENV>_ACCESS_KEY_ID` / `OSS_<ENV>_SECRET_ACCESS_KEY`
|
|
343
|
-
3. `.
|
|
309
|
+
3. `.fizzyx.yaml` `access_key_id` / `secret_access_key` fields (legacy, discouraged)
|
|
344
310
|
|
|
345
311
|
Credentials stored as `default` (without `--env`) are used as a fallback for all environments when no env-specific key is found. This means you only need to run `fizzyx oss setup` once — dev, prod, and any other env will reuse the same keys.
|