faf-cli 8.10.0 → 8.10.1

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.
@@ -79,6 +79,9 @@ export interface WriteFafOptions {
79
79
  * overwrite (`faf init --new` / `--force`, `faf git --force`). Default: an existing
80
80
  * file is updated in place with {@link updateFafFile}. */
81
81
  replace?: boolean;
82
+ /** Called when `replace` overwrote an existing file after keeping
83
+ * `path.bak-<timestamp>`. */
84
+ onReplacedBackup?: (backupPath: string) => void;
82
85
  /** Called for each alias of an existing file that `data` would change
83
86
  * (`stack: *base` while `data.stack` has more keys): faf leaves it as
84
87
  * written — it never replaces or expands an alias — and that path is not
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "faf-cli",
3
- "version": "8.10.0",
3
+ "version": "8.10.1",
4
4
  "description": "Persistent AI context + memory — .faf and .fafm, IANA-registered. AI suggests your goal and six W's; you confirm. Anthropic-merged.",
5
5
  "type": "module",
6
6
  "icon": "https://faf.one/orange-smiley.svg",