@storybloq/storybloq 1.1.7 → 1.2.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 +56 -19
- package/dist/cli.js +1119 -144
- package/dist/index.d.ts +68 -47
- package/dist/index.js +5 -3
- package/dist/mcp.js +132 -24
- package/package.json +2 -2
- package/src/skill/SKILL.md +15 -13
- package/src/skill/design/design.md +1 -1
- package/src/skill/reference.md +21 -7
- package/src/skill/setup-flow.md +2 -1
package/README.md
CHANGED
|
@@ -1,8 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/Storybloq/storybloq/main/assets/logo.png" width="120" alt="Storybloq logo" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">storybloq</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<strong>Cross-session context persistence for AI coding.</strong><br />
|
|
9
|
+
A file convention, a CLI, an MCP server, and a Claude Code skill that together turn every coding session into a building block instead of a reset.
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="https://www.npmjs.com/package/@storybloq/storybloq"><img src="https://img.shields.io/npm/v/@storybloq/storybloq?color=333&label=npm" alt="npm version" /></a>
|
|
14
|
+
<a href="https://github.com/Storybloq/storybloq/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-PolyForm--NC%201.0-blue" alt="License" /></a>
|
|
15
|
+
<img src="https://img.shields.io/badge/node-%E2%89%A520-brightgreen" alt="Node" />
|
|
16
|
+
<img src="https://img.shields.io/badge/claude%20code-compatible-orange" alt="Claude Code compatible" />
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
<p align="center">
|
|
20
|
+
<a href="https://storybloq.com">storybloq.com</a> ·
|
|
21
|
+
<a href="https://storybloq.com/mac">Mac app</a> ·
|
|
22
|
+
<a href="https://github.com/Storybloq/lenses">Review lenses</a> ·
|
|
23
|
+
<a href="https://storybloq.com/privacy">Privacy</a>
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<p align="center">
|
|
27
|
+
<img src="https://raw.githubusercontent.com/Storybloq/storybloq/main/assets/hero.png" alt="Storybloq Mac app showing a live project sidebar alongside a Claude Code terminal" />
|
|
28
|
+
</p>
|
|
6
29
|
|
|
7
30
|
---
|
|
8
31
|
|
|
@@ -17,29 +40,29 @@ The real cost isn't wasted setup time. It's repeated mistakes, relitigated desig
|
|
|
17
40
|
Every project gets a `.story/` directory of JSON and markdown files. Tickets, issues, roadmap phases, session handovers, and lessons learned all live there, tracked by git, readable by any AI.
|
|
18
41
|
|
|
19
42
|
- **CLI:** `storybloq` - inspect and mutate `.story/` from the terminal.
|
|
20
|
-
- **MCP server:** 43 tools Claude Code
|
|
21
|
-
- **Skill:** `/story` loads project state at the start of every session
|
|
22
|
-
- **Mac app:** native sidebar that watches `.story/` and updates live while
|
|
43
|
+
- **MCP server:** 43 tools Claude Code and Codex can call directly, no subprocess spawning.
|
|
44
|
+
- **Skill:** `/story` in Claude Code or `$story` in Codex loads project state at the start of every session.
|
|
45
|
+
- **Mac app:** native sidebar that watches `.story/` and updates live while your AI client works (separate product, free on the App Store).
|
|
23
46
|
|
|
24
47
|
## Install
|
|
25
48
|
|
|
26
49
|
```bash
|
|
27
50
|
npm install -g @storybloq/storybloq@latest
|
|
28
|
-
storybloq setup
|
|
51
|
+
storybloq setup --client all
|
|
29
52
|
```
|
|
30
53
|
|
|
31
|
-
Requires Node.js 20+ and Claude Code.
|
|
54
|
+
Requires Node.js 20+ and at least one AI client: Claude Code or Codex CLI 0.130.0+. Package lives on npm at [**@storybloq/storybloq**](https://www.npmjs.com/package/@storybloq/storybloq); releases are tagged on this repo at [github.com/Storybloq/storybloq/releases](https://github.com/Storybloq/storybloq/releases).
|
|
32
55
|
|
|
33
|
-
`setup
|
|
56
|
+
`setup --client all` installs the Storybloq skill for Claude and Codex, registers this package as an MCP server, and configures available client hooks. Re-running it is safe. `setup-skill` remains as a compatibility alias for Claude-only setup.
|
|
34
57
|
|
|
35
58
|
## Upgrading
|
|
36
59
|
|
|
37
60
|
```bash
|
|
38
61
|
npm install -g @storybloq/storybloq@latest
|
|
39
|
-
storybloq setup
|
|
62
|
+
storybloq setup --client all
|
|
40
63
|
```
|
|
41
64
|
|
|
42
|
-
Same two commands as a fresh install
|
|
65
|
+
Same two commands as a fresh install: `@latest` pulls the newest version, and re-running setup refreshes the Storybloq skill files, re-registers the MCP server, and sweeps any stale hook entries from prior installs.
|
|
43
66
|
|
|
44
67
|
You'll usually see a one-line banner on the next `storybloq` invocation whenever a newer version is on npm:
|
|
45
68
|
|
|
@@ -50,7 +73,7 @@ Update: npm install -g @storybloq/storybloq@latest
|
|
|
50
73
|
|
|
51
74
|
The CLI also silently refreshes the skill dir and migrates any legacy hook entries (for example, from the pre-rename `@anthropologies/claudestory` package) on the first run after an upgrade — no manual cleanup needed.
|
|
52
75
|
|
|
53
|
-
Alternative install via the Claude Code plugin system: see [Storybloq/plugin-archive](https://github.com/Storybloq/plugin-archive) (legacy path; `setup
|
|
76
|
+
Alternative install via the Claude Code plugin system: see [Storybloq/plugin-archive](https://github.com/Storybloq/plugin-archive) (legacy path; `storybloq setup --client all` is the recommended install).
|
|
54
77
|
|
|
55
78
|
## Bootstrap a project
|
|
56
79
|
|
|
@@ -75,6 +98,10 @@ That scaffolds:
|
|
|
75
98
|
|
|
76
99
|
Commit everything except `.story/snapshots/`.
|
|
77
100
|
|
|
101
|
+
<p align="center">
|
|
102
|
+
<img src="https://raw.githubusercontent.com/Storybloq/storybloq/main/assets/board.png" alt="Ticket board showing phases, tickets, and in-progress work" />
|
|
103
|
+
</p>
|
|
104
|
+
|
|
78
105
|
## Daily use
|
|
79
106
|
|
|
80
107
|
Inside Claude Code:
|
|
@@ -86,6 +113,10 @@ Inside Claude Code:
|
|
|
86
113
|
|
|
87
114
|
Outside Claude Code, the same state is one `storybloq` invocation away.
|
|
88
115
|
|
|
116
|
+
<p align="center">
|
|
117
|
+
<img src="https://raw.githubusercontent.com/Storybloq/storybloq/main/assets/autonomous.png" alt="Autonomous mode running a ticket through plan, implement, test, review" />
|
|
118
|
+
</p>
|
|
119
|
+
|
|
89
120
|
## CLI reference
|
|
90
121
|
|
|
91
122
|
All commands accept `--format json|md` (default `md`). Pipe JSON through `jq` for scripting, read the markdown variant directly.
|
|
@@ -97,7 +128,8 @@ All commands accept `--format json|md` (default `md`). Pipe JSON through `jq` fo
|
|
|
97
128
|
| `storybloq init [--name] [--force]` | Scaffold `.story/` in the current directory |
|
|
98
129
|
| `storybloq status` | Project summary with phase statuses, counts, and risks |
|
|
99
130
|
| `storybloq validate` | Reference integrity + schema checks |
|
|
100
|
-
| `storybloq setup
|
|
131
|
+
| `storybloq setup --client claude\|codex\|all [--skip-hooks]` | Install Storybloq skills, register MCP, and configure client hooks |
|
|
132
|
+
| `storybloq setup-skill [--skip-hooks]` | Compatibility alias for `storybloq setup --client claude` |
|
|
101
133
|
| `storybloq recommend --count N` | Context-aware work suggestions |
|
|
102
134
|
|
|
103
135
|
### Phases
|
|
@@ -154,10 +186,11 @@ All commands accept `--format json|md` (default `md`). Pipe JSON through `jq` fo
|
|
|
154
186
|
|
|
155
187
|
## MCP server reference
|
|
156
188
|
|
|
157
|
-
Register with Claude Code (done automatically by
|
|
189
|
+
Register with Claude Code or Codex (done automatically by setup):
|
|
158
190
|
|
|
159
191
|
```bash
|
|
160
192
|
claude mcp add storybloq -s user -- storybloq --mcp
|
|
193
|
+
codex mcp add storybloq --env STORYBLOQ_CLIENT=codex -- storybloq --mcp
|
|
161
194
|
```
|
|
162
195
|
|
|
163
196
|
The server imports the same TypeScript modules as the CLI directly, so there's no subprocess overhead. It auto-discovers the project root by walking up from the working directory to the nearest `.story/` parent.
|
|
@@ -180,9 +213,13 @@ The server imports the same TypeScript modules as the CLI directly, so there's n
|
|
|
180
213
|
|
|
181
214
|
`storybloq_session_report` · `storybloq_register_subprocess` · `storybloq_unregister_subprocess` surface session health to the Mac app.
|
|
182
215
|
|
|
216
|
+
<p align="center">
|
|
217
|
+
<img src="https://raw.githubusercontent.com/Storybloq/storybloq/main/assets/handover.png" alt="Handover timeline with AI-summarized date groups" />
|
|
218
|
+
</p>
|
|
219
|
+
|
|
183
220
|
## Hooks
|
|
184
221
|
|
|
185
|
-
### PreCompact (auto-snapshot, set up by
|
|
222
|
+
### PreCompact (Claude-only auto-snapshot, set up by setup)
|
|
186
223
|
|
|
187
224
|
Runs `storybloq snapshot --quiet` before context compaction so `recap` always reflects the latest state. Manually:
|
|
188
225
|
|
|
@@ -197,7 +234,7 @@ Runs `storybloq snapshot --quiet` before context compaction so `recap` always re
|
|
|
197
234
|
}
|
|
198
235
|
```
|
|
199
236
|
|
|
200
|
-
Skip with `storybloq setup
|
|
237
|
+
Skip with `storybloq setup --client all --skip-hooks`.
|
|
201
238
|
|
|
202
239
|
### SessionStart (optional recap injection)
|
|
203
240
|
|
|
@@ -292,7 +329,7 @@ git commit -m "T-001: scaffold Next.js"
|
|
|
292
329
|
## Related projects
|
|
293
330
|
|
|
294
331
|
- **[@storybloq/lenses](https://github.com/Storybloq/lenses)** - multi-lens code review MCP server. 8 specialized reviewers run in parallel and return structured verdicts.
|
|
295
|
-
- **[Storybloq for Mac](https://
|
|
332
|
+
- **[Storybloq for Mac](https://apps.apple.com/us/app/storybloq/id6761348691)** - native macOS app that watches `.story/` and updates live while Claude works. Free on the Mac App Store.
|
|
296
333
|
|
|
297
334
|
## Contributing
|
|
298
335
|
|