faf-cli 7.10.0 → 7.11.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 +10 -13
- package/dist/cli.js +203 -201
- package/dist/cli.js.map +11 -9
- package/dist/core/drift.d.ts +55 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +61 -61
- package/dist/index.js.map +5 -4
- package/package.json +1 -1
- package/project.faf +3 -3
package/README.md
CHANGED
|
@@ -19,6 +19,7 @@ detected from your real stack, scored, and versioned with your code. No drift. N
|
|
|
19
19
|
[](https://www.iana.org/assignments/media-types/application/vnd.faf+yaml)
|
|
20
20
|
[](https://www.iana.org/assignments/media-types/application/vnd.fafm+yaml)
|
|
21
21
|
[](https://www.iana.org/assignments/media-types/application/vnd.fafa+yaml)
|
|
22
|
+
[](https://github.com/hesreallyhim/awesome-claude-code)
|
|
22
23
|
[](https://www.npmjs.com/package/faf-cli)
|
|
23
24
|
[](https://www.npmjs.com/package/faf-cli)
|
|
24
25
|
|
|
@@ -131,31 +132,27 @@ faf memory etch "a durable fact" --id my-fact
|
|
|
131
132
|
faf memory show
|
|
132
133
|
```
|
|
133
134
|
|
|
134
|
-
### What's New in v7.
|
|
135
|
+
### What's New in v7.11.0 — The VS Code Edition
|
|
135
136
|
|
|
136
|
-
|
|
137
|
+
**faf-cli becomes a library a VS Code extension can import — `computeDrift()` joins the public API and `faf drift --json` mirrors it on the CLI. Plus `faf export --llms`.**
|
|
137
138
|
|
|
138
|
-
```
|
|
139
|
-
|
|
139
|
+
```ts
|
|
140
|
+
import { computeDrift, scoreFafYaml, findFafFile, generateProjectHtml } from 'faf-cli';
|
|
140
141
|
```
|
|
141
142
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
- **`
|
|
145
|
-
- **`stack.database: PostgreSQL · ClickHouse`** — read from `docker-compose.yml` service images (`redis` → cache, `minio` → storage, `kafka`/`temporal` → runtime)
|
|
146
|
-
- **`commands.test: cd futureagi && make test`** — read from the nested `Makefile`
|
|
147
|
-
- **`security`** — from `.env.example`
|
|
148
|
-
|
|
149
|
-
File-facts beat README guesses. README extraction now strips `<!-- -->` comment blocks and rejects link-list rows.
|
|
143
|
+
- **`computeDrift(fafPath, dir?)`** — the context-drift check is now a pure exported function, not just a command. A VS Code extension reads the mtime relationship between `project.faf` and its `CLAUDE.md` / `AGENTS.md` / `.cursorrules` / `GEMINI.md` directly, in process.
|
|
144
|
+
- **`faf drift --json`** — the CLI mirror: a `faf_version` / `project` / `source` header over the report, raw `*_ms` mtimes and deltas (the consumer formats its own "5d ago"). No `project.faf` → `{ error, hint }` JSON, exit 2. Bare `faf drift` is unchanged.
|
|
145
|
+
- **`faf export --llms`** — writes `llms.txt` (llmstxt.org shape) from the authored 6 Ws. Opt-in, like `--grok`.
|
|
150
146
|
|
|
151
147
|
**Recent sprint**
|
|
152
148
|
|
|
149
|
+
- 🖥️ [7.11.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.11.0) The VS Code Edition
|
|
150
|
+
- 📚 [7.10.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.10.0) The Full-Facts Edition
|
|
153
151
|
- 🌱 [7.9.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.9.0) The Git-Flow Edition
|
|
154
152
|
- 🎬 [7.8.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.8.0) The Projector Edition
|
|
155
153
|
- 🐦 [7.7.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.7.0) The Swift Edition
|
|
156
154
|
- 💎 [7.6.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.6.0) The Ruby Edition
|
|
157
155
|
- ☕ [7.5.1](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.5.1) The JVM Edition
|
|
158
|
-
- 💠 [7.4.0](https://github.com/Wolfe-Jam/faf-cli/releases/tag/v7.4.0) The C# Edition
|
|
159
156
|
|
|
160
157
|
---
|
|
161
158
|
|