faf-cli 6.12.0 → 6.13.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 +15 -3
- package/dist/cli.js +242 -241
- package/dist/cli.js.map +7 -6
- package/dist/detect/dart.d.ts +29 -0
- package/dist/index.js +122 -121
- package/dist/index.js.map +7 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
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,18 @@ Run `faf` with no arguments:
|
|
|
63
63
|
|
|
64
64
|
---
|
|
65
65
|
|
|
66
|
+
## v6.13 — The Dart Edition
|
|
67
|
+
|
|
68
|
+
**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.
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
faf auto # reads pubspec.yaml → Dart/Flutter into project.faf
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
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.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
66
78
|
## v6.12 — The Single-Source Edition
|
|
67
79
|
|
|
68
80
|
**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.
|