faf-cli 6.12.0 → 6.14.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 -4
- package/dist/cli.js +249 -246
- package/dist/cli.js.map +12 -9
- package/dist/core/interview.d.ts +36 -9
- package/dist/core/loop.d.ts +91 -0
- package/dist/detect/dart.d.ts +29 -0
- package/dist/detect/relentless.d.ts +34 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +135 -134
- package/dist/index.js.map +10 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
<div style="display: flex; align-items: center; gap: 12px;">
|
|
5
5
|
<img src="https://www.faf.one/orange-smiley.svg" alt="FAF" width="40" />
|
|
6
6
|
<div>
|
|
7
|
-
<h1 style="margin: 0; color: #000000;">faf-cli — The
|
|
7
|
+
<h1 style="margin: 0; color: #000000;">faf-cli — The Loop Edition</h1>
|
|
8
8
|
<p style="margin: 2px 0 0 0; font-size: 0.85em; letter-spacing: 0.12em; opacity: 0.7; text-transform: uppercase;"><strong>Persistent AI Context Standard</strong></p>
|
|
9
9
|
<p style="margin: 6px 0 0 0;"><strong>Persistent Project Context for AI.</strong></p>
|
|
10
10
|
<p style="margin: 0;"><strong>Define once. Run anywhere.</strong></p>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
|
-
[](https://www.npmjs.com/package/faf-cli)
|
|
14
|
+
[](https://www.npmjs.com/package/faf-cli)[](https://www.npmjs.com/package/faf-cli)
|
|
15
15
|
[](https://faf.one)
|
|
16
|
-
[](https://www.iana.org/assignments/media-types/application/vnd.faf+yaml)[](https://www.iana.org/assignments/media-types/application/vnd.fafm+yaml)
|
|
17
17
|
[](https://doi.org/10.5281/zenodo.18251362)[](https://doi.org/10.5281/zenodo.20348942)
|
|
18
18
|
|
|
19
19
|
**Home:** [faf.one/cli](https://faf.one/cli)
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
[](https://github.com/Wolfe-Jam/faf-cli/actions/workflows/ci.yml)
|
|
26
26
|
[](https://github.com/Wolfe-Jam/homebrew-faf)
|
|
27
27
|
[](https://opensource.org/licenses/MIT)
|
|
28
|
-
[](https://github.com/Wolfe-Jam/faf)
|
|
29
29
|
|
|
30
30
|
```
|
|
31
31
|
project/
|
|
@@ -63,6 +63,30 @@ Run `faf` with no arguments:
|
|
|
63
63
|
|
|
64
64
|
---
|
|
65
65
|
|
|
66
|
+
## v6.14 — The Loop Edition
|
|
67
|
+
|
|
68
|
+
**`faf loop` drives any repo to 🏆 100% or the honest human wall** — sourcing every slot it can with provenance, asking only what only you know, never inventing.
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
faf loop # init → auto → score, then ask only the human-only gaps
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The loop sources what detection can, then stops at one of three honest terminals: `done` (🏆 100%), `needs-human` (it asks only the slots only you can answer), or `stuck` (it sourced everything sourceable and nothing's left for a human to add). It never fabricates a slot to reach 100% — sourced 6Ws now carry provenance (`{value, source, confidence}`), so every seeded value is a confirm-or-edit suggestion, never an auto-confirmed guess.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## v6.13 — The Dart Edition
|
|
79
|
+
|
|
80
|
+
**faf now understands Dart and Flutter projects.** Content-aware `pubspec.yaml` classification — Flutter app vs reusable package · Dart server (Serverpod / Dart Frog / Shelf) / CLI / MCP — pure Dart stays Dart. The single-source engine faf-python-sdk and the MCPs compose, parity-tested across languages.
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
faf auto # reads pubspec.yaml → Dart/Flutter into project.faf
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
A pubspec alone no longer means "Flutter": `faf` reads the dependencies and classifies — a Flutter app, a reusable package, a Dart server, a CLI, or a Dart MCP server. The detection knowledge lives in one spec (`dart-detection.json`) that faf-cli, faf-python-sdk, and the MCPs all share.
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
66
90
|
## v6.12 — The Single-Source Edition
|
|
67
91
|
|
|
68
92
|
**faf-cli is now the single source for the registry `_meta`** — it emits the `one.faf/context` block every FAF MCP server composes: `registryMeta`/`registryName`/`fafContextBlock`, one deterministic projection, byte-identical, end-to-end across every surface, verifiable by sha, re-derivable instantly on-demand.
|