@flowrail/init 0.0.14 → 0.0.16
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 +15 -14
- package/package.json +4 -10
package/README.md
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
# @flowrail/init
|
|
2
2
|
|
|
3
|
-
One-shot installer that wires FlowRail
|
|
3
|
+
One-shot installer that wires FlowRail — security review for AI coding agents — into a [Claude Code](https://claude.com/claude-code) project: PreToolUse hooks, MCP server config, and agent-facing skills.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
|
|
6
|
+
# 1. Sign up and mint an API key at https://flowrail.ai/settings/keys
|
|
7
|
+
export FLOWRAIL_API_KEY=<your key>
|
|
8
|
+
|
|
9
|
+
# 2. Run the installer from the repo you want FlowRail to protect
|
|
7
10
|
cd ~/code/your-repo
|
|
8
|
-
npx @flowrail/init
|
|
11
|
+
npx @flowrail/init@latest
|
|
9
12
|
```
|
|
10
13
|
|
|
11
14
|
What it writes:
|
|
12
15
|
|
|
13
16
|
- `.claude/settings.json` — PreToolUse hooks for Write/Edit/MultiEdit + Bash. Tracked. No credentials.
|
|
14
|
-
- `.mcp.json` — Claude Code MCP wiring. Tracked. Carries `Bearer ${FLOWRAIL_API_KEY}` env-reference, never the literal.
|
|
15
|
-
- `.claude/skills/flowrail-*/SKILL.md` —
|
|
16
|
-
- `flowrail.yaml` —
|
|
17
|
-
- `.gitignore` — appends `.flowrail/` so per-session runtime state (active
|
|
18
|
-
|
|
19
|
-
The installer also probes `https://api.flowrail.ai/mcp` with the env-supplied bearer to confirm end-to-end auth before exiting. A 401 gets a tester-actionable message; transport failures get a different one.
|
|
20
|
-
|
|
21
|
-
**Full install guide**: <https://github.com/anshumanbh/flowstate/blob/main/docs/guides/INSTALL.md>
|
|
17
|
+
- `.mcp.json` — Claude Code MCP wiring. Tracked. Carries a `Bearer ${FLOWRAIL_API_KEY}` env-reference, never the literal key.
|
|
18
|
+
- `.claude/skills/flowrail-*/SKILL.md` — the agent-facing skills (design-review, verify, dep-check, review-app, lineage).
|
|
19
|
+
- `flowrail.yaml` — project config placeholder for scanner orchestration and org defaults.
|
|
20
|
+
- `.gitignore` — appends `.flowrail/` so per-session runtime state (the active design review id) stays local.
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
The installer finishes by probing `https://api.flowrail.ai/mcp` with your key to confirm end-to-end auth before exiting. A 401 gets an actionable message; transport failures get a different one.
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
## Links
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
- Website: <https://flowrail.ai>
|
|
27
|
+
- Docs: <https://flowrail.ai/docs>
|
|
28
|
+
- Mint or manage API keys: <https://flowrail.ai/settings/keys>
|
package/package.json
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowrail/init",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "One-shot FlowRail installer for Claude Code. Wires PreToolUse hooks, MCP server config, and skill markdown into
|
|
3
|
+
"version": "0.0.16",
|
|
4
|
+
"description": "One-shot FlowRail installer for Claude Code. Wires PreToolUse hooks, MCP server config, and skill markdown into your repo, then probes the FlowRail server with your API key.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
|
-
"
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/anshumanbh/flowstate.git",
|
|
13
|
-
"directory": "packages/init"
|
|
14
|
-
},
|
|
15
|
-
"homepage": "https://github.com/anshumanbh/flowstate#readme",
|
|
16
|
-
"bugs": "https://github.com/anshumanbh/flowstate/issues",
|
|
10
|
+
"homepage": "https://flowrail.ai",
|
|
17
11
|
"main": "dist/index.js",
|
|
18
12
|
"bin": {
|
|
19
13
|
"flowrail-init": "dist/index.js"
|
|
@@ -31,7 +25,7 @@
|
|
|
31
25
|
"prepublishOnly": "npm run build && npm test"
|
|
32
26
|
},
|
|
33
27
|
"dependencies": {
|
|
34
|
-
"@flowrail/skills": "0.0.
|
|
28
|
+
"@flowrail/skills": "0.0.7"
|
|
35
29
|
},
|
|
36
30
|
"devDependencies": {
|
|
37
31
|
"@types/jest": "^29.5.12",
|