faf-cli 8.2.1 → 8.2.2
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 +1 -1
- package/dist/cli.js +284 -284
- package/dist/cli.js.map +9 -10
- package/dist/core/safe-write.d.ts +2 -2
- package/dist/core/version.d.ts +1 -1
- package/dist/index.js.map +4 -4
- package/dist/interop/claude.d.ts +2 -2
- package/dist/interop/faf.d.ts +1 -1
- package/package.json +1 -1
- package/project.faf +3 -3
package/dist/interop/claude.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { FafData } from '../core/types.js';
|
|
|
2
2
|
/** Read CLAUDE.md from a directory. A CLAUDE.md link that leaves the
|
|
3
3
|
* directory, or leads to a file that is not an AI context file, is refused
|
|
4
4
|
* (SafePathError) and nothing is read; CLAUDE.md → AGENTS.md is read
|
|
5
|
-
* through. A CLAUDE.md that is not UTF-8 is refused too
|
|
6
|
-
*
|
|
5
|
+
* through. A CLAUDE.md that is not UTF-8 is refused too. Library export;
|
|
6
|
+
* `faf sync` never reads CLAUDE.md back into project.faf. */
|
|
7
7
|
export declare function readClaudeMd(dir: string): string | null;
|
|
8
8
|
/** Write CLAUDE.md — non-destructive: injects/updates the faf block, preserves the rest. */
|
|
9
9
|
export declare function writeClaudeMd(dir: string, content: string): void;
|
package/dist/interop/faf.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { type KeptAlias } from '../core/yaml-edit.js';
|
|
|
11
11
|
* through as it is. Every command that hands project.faf (or a .fafb) to
|
|
12
12
|
* the kernel calls it through here, after it has read the file as a .faf
|
|
13
13
|
* ({@link readFaf}, or {@link readFafFromString} with the path); one that
|
|
14
|
-
* edits project.faf (`faf auto`, `faf go
|
|
14
|
+
* edits project.faf (`faf auto`, `faf go`)
|
|
15
15
|
* asks the kernel before it writes, so the line is true. `faf diff` and
|
|
16
16
|
* `faf log` score a version the kernel cannot read as 0 instead. */
|
|
17
17
|
export declare function withKernel<T>(path: string, call: () => T): T;
|
package/package.json
CHANGED
package/project.faf
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
faf_version: "3.0"
|
|
2
2
|
project:
|
|
3
3
|
name: faf-cli
|
|
4
|
-
version: "8.2.
|
|
5
|
-
goal: "CLI for IANA-registered `.faf` + `.fafm` — context DNA and portable agent memory. TypeScript, Bun-native since v6. package faf-cli v8.2.
|
|
4
|
+
version: "8.2.2"
|
|
5
|
+
goal: "CLI for IANA-registered `.faf` + `.fafm` — context DNA and portable agent memory. TypeScript, Bun-native since v6. package faf-cli v8.2.2 The Ladder Edition — scored by the always-33 engine."
|
|
6
6
|
main_language: TypeScript
|
|
7
7
|
type: cli # found: package.json bin
|
|
8
8
|
# Commands + key_files feed `faf export --agents` (hand values win over detection).
|
|
@@ -61,7 +61,7 @@ human_context:
|
|
|
61
61
|
what: Persistent AI Context Standard — project DNA for AI. IANA-registered. Anthropic-merged.
|
|
62
62
|
why: Eliminates 91% context re-discovery tax — define once, AI remembers forever
|
|
63
63
|
where: npm registry, Homebrew, GitHub
|
|
64
|
-
when: Production since September 2025; Bun-native since v6; current package 8.2.
|
|
64
|
+
when: Production since September 2025; Bun-native since v6; current package 8.2.2 (always-33 engine)
|
|
65
65
|
how: bunx faf-cli auto, then project.faf versions with your code — faf show renders it human-visible
|
|
66
66
|
monorepo:
|
|
67
67
|
packages_count: slotignored
|