faf-cli 6.2.0 → 6.3.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 +28 -6
- package/dist/cli.js +156 -156
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -74,9 +74,9 @@ v6 is a ground-up rewrite. All-in on Bun — same toolchain as Claude Code.
|
|
|
74
74
|
| **Language** | TypeScript | TypeScript |
|
|
75
75
|
| **Compile** | Bun bytecode | `bun build --compile` |
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
409 tests in ~20s. 128 kB package. Single portable binary, 4 platforms. npx backward-compatible.
|
|
78
78
|
|
|
79
|
-
26 commands.
|
|
79
|
+
26 commands. 409 tests. 3,182 lines. 94% smaller than v5.
|
|
80
80
|
|
|
81
81
|
```
|
|
82
82
|
commands → interop → core → wasm
|
|
@@ -91,9 +91,9 @@ The WASM scoring kernel (`faf-scoring-kernel`) does the math. Bun does the deliv
|
|
|
91
91
|
| # | Command | One-liner |
|
|
92
92
|
|---|---------|-----------|
|
|
93
93
|
| 1 | `faf init` | Create `.faf` from your local project |
|
|
94
|
-
| 2 | `faf git <url>` | Instant `.faf` from any GitHub repo —
|
|
94
|
+
| 2 | `faf git <url>` | Instant `.faf` from any GitHub repo — README enriched, `--keep` to stay |
|
|
95
95
|
| 3 | `faf auto` | Zero to 100% in one command |
|
|
96
|
-
| 4 | `faf go` |
|
|
96
|
+
| 4 | `faf go` | One sentence in. Review. Sign off. 🏆 |
|
|
97
97
|
| 5 | `faf score` | Check AI-readiness (0-100%) |
|
|
98
98
|
| 6 | `faf sync` | `.faf` ↔ CLAUDE.md (bi-sync, mtime auto-direction) |
|
|
99
99
|
| 7 | `faf compile` | `.faf` → `.fafb` binary — sealed, portable, deterministic |
|
|
@@ -130,7 +130,7 @@ bunx faf-cli git https://github.com/facebook/react
|
|
|
130
130
|
# Your own project
|
|
131
131
|
bunx faf-cli init # Create .faf
|
|
132
132
|
bunx faf-cli auto # Zero to 100% in one command
|
|
133
|
-
bunx faf-cli go #
|
|
133
|
+
bunx faf-cli go # One sentence in. Review. Sign off.
|
|
134
134
|
```
|
|
135
135
|
|
|
136
136
|
---
|
|
@@ -227,13 +227,35 @@ src/
|
|
|
227
227
|
## Testing
|
|
228
228
|
|
|
229
229
|
```bash
|
|
230
|
-
bun test #
|
|
230
|
+
bun test # 409 tests, 45 files, ~20s
|
|
231
231
|
```
|
|
232
232
|
|
|
233
233
|
Full e2e lifecycle test runs every command in sequence: init → auto → score → edit → sync → export → compile → decompile → taf → recover → check. Test reports in `reports/`.
|
|
234
234
|
|
|
235
235
|
---
|
|
236
236
|
|
|
237
|
+
## Environment Variables
|
|
238
|
+
|
|
239
|
+
| Variable | Effect |
|
|
240
|
+
|----------|--------|
|
|
241
|
+
| `FAF_NO_NOTIFY=1` | Disable desktop notifications (Trophy unlocks, long-running command completion). |
|
|
242
|
+
| `FAF_PRO=1` | Enable Pro features (reserved for Teams/Enterprise; tri-sync is free for all developers). |
|
|
243
|
+
| `ANTHROPIC_API_KEY` | Used by `faf go` to interpret the project opener via Claude. Falls back to keyword extraction if unset. |
|
|
244
|
+
|
|
245
|
+
### Click-to-dismiss notifications (macOS)
|
|
246
|
+
|
|
247
|
+
Notifications use OSC 9 by default — emitted on Ghostty / iTerm2 / Wezterm / Kitty, silently ignored elsewhere. macOS auto-dismisses these after a few seconds.
|
|
248
|
+
|
|
249
|
+
For sticky **click-to-dismiss** notifications:
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
brew install terminal-notifier
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Then in System Settings → Notifications → **terminal-notifier** → switch to **Alerts**. faf-cli detects `terminal-notifier` automatically and routes through it on macOS.
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
237
259
|
## Support
|
|
238
260
|
|
|
239
261
|
- **[GitHub Discussions](https://github.com/Wolfe-Jam/faf-cli/discussions)** — Questions, ideas, community
|