faf-mcp 3.0.0 → 3.0.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +24 -2
  2. package/CLAUDE.md +6 -2
  3. package/README.md +28 -18
  4. package/dist/src/faf-core/commands/agents.d.ts +2 -2
  5. package/dist/src/faf-core/commands/agents.js +2 -2
  6. package/dist/src/faf-core/commands/claude.d.ts +31 -0
  7. package/dist/src/faf-core/commands/{bi-sync.js → claude.js} +18 -13
  8. package/dist/src/faf-core/commands/claude.js.map +1 -0
  9. package/dist/src/faf-core/commands/conductor.d.ts +1 -1
  10. package/dist/src/faf-core/commands/conductor.js +1 -1
  11. package/dist/src/faf-core/commands/cursor.d.ts +2 -2
  12. package/dist/src/faf-core/commands/cursor.js +2 -2
  13. package/dist/src/faf-core/commands/gemini.d.ts +2 -2
  14. package/dist/src/faf-core/commands/gemini.js +2 -2
  15. package/dist/src/faf-core/commands/git-context.d.ts +1 -1
  16. package/dist/src/faf-core/commands/git-context.js +2 -2
  17. package/dist/src/faf-core/commands/git-context.js.map +1 -1
  18. package/dist/src/faf-core/parsers/agents-parser.d.ts +4 -3
  19. package/dist/src/faf-core/parsers/agents-parser.js +4 -3
  20. package/dist/src/faf-core/parsers/agents-parser.js.map +1 -1
  21. package/dist/src/faf-core/parsers/conductor-parser.d.ts +1 -1
  22. package/dist/src/faf-core/parsers/conductor-parser.js +1 -1
  23. package/dist/src/faf-core/parsers/cursorrules-parser.d.ts +4 -3
  24. package/dist/src/faf-core/parsers/cursorrules-parser.js +4 -3
  25. package/dist/src/faf-core/parsers/cursorrules-parser.js.map +1 -1
  26. package/dist/src/faf-core/parsers/faf-git-generator.d.ts +1 -1
  27. package/dist/src/faf-core/parsers/faf-git-generator.js +6 -5
  28. package/dist/src/faf-core/parsers/faf-git-generator.js.map +1 -1
  29. package/dist/src/faf-core/parsers/gemini-parser.d.ts +4 -3
  30. package/dist/src/faf-core/parsers/gemini-parser.js +4 -3
  31. package/dist/src/faf-core/parsers/gemini-parser.js.map +1 -1
  32. package/dist/src/faf-core/parsers/github-extractor.d.ts +1 -1
  33. package/dist/src/faf-core/parsers/github-extractor.js +1 -1
  34. package/dist/src/faf-core/parsers/slot-counter.d.ts +1 -1
  35. package/dist/src/faf-core/parsers/slot-counter.js +1 -1
  36. package/dist/src/handlers/engine-adapter.js +5 -4
  37. package/dist/src/handlers/engine-adapter.js.map +1 -1
  38. package/dist/src/handlers/tools.d.ts +2 -2
  39. package/dist/src/handlers/tools.js +102 -132
  40. package/dist/src/handlers/tools.js.map +1 -1
  41. package/dist/src/server.js +1 -1
  42. package/dist/src/server.js.map +1 -1
  43. package/dist/src/utils/faf-cli-bridge.d.ts +12 -8
  44. package/dist/src/utils/faf-cli-bridge.js +12 -8
  45. package/dist/src/utils/faf-cli-bridge.js.map +1 -1
  46. package/package.json +3 -3
  47. package/project.faf +5 -5
  48. package/skills/faf-ide/SKILL.md +1 -1
  49. package/dist/src/faf-core/commands/bi-sync.d.ts +0 -29
  50. package/dist/src/faf-core/commands/bi-sync.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
- <!-- faf: faf-mcp | TypeScript | mcp-server | FAF MCP IDE Edition — persistent project context for Cursor, Windsurf, Cline, VS Code -->
2
- <!-- faf: doc=changelog | latest=v3.0.0 | canonical=project.faf | family=FAF -->
1
+ <!-- faf: faf-mcp | TypeScript | mcp | The Interop MCP for Context — the Cursor / IDE Edition. Persistent context for Cursor, VS Code, and every MCP-compatible IDE. IANA-registered application/vnd.faf+yaml. Start with "Use FAF". -->
2
+ <!-- faf: doc=changelog | latest=v3.0.1 | canonical=project.faf | family=FAF -->
3
3
 
4
4
  # Changelog
5
5
 
@@ -8,6 +8,28 @@ All notable changes to faf-mcp will be documented in this file.
8
8
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9
9
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
10
10
 
11
+ ## [3.0.1] - 2026-09-10 — The Compose Edition
12
+
13
+ **Names that match the code: `faf_bi_sync` is now `faf_claude`, `faf_init` writes what `faf init` writes, and the listings lead with .FAF Context.**
14
+
15
+ ### Changed
16
+ - **`faf_bi_sync` is now `faf_claude`.** The tool only ever wrote CLAUDE.md from `project.faf`, one direction; nothing read CLAUDE.md back. The old name, its "Bi-sync now active!" message and its header claimed a two-way sync it never did. `faf_claude` sits beside `faf_agents`, `faf_cursor` and `faf_gemini`, keeps the `agents` / `cursor` / `gemini` / `all` flags, and stays in the Core tier. Tool count unchanged: 29, 15 by default.
17
+ - `faf_bi_sync` still answers as an unlisted alias, so existing prompts and configs keep working. Its removal will be announced here first.
18
+ - `faf_agents`, `faf_cursor` and `faf_gemini` no longer call their `sync` action "bidirectional": it re-writes the file from `project.faf` (export with force). `import` reads the file; `merge: true` writes it into `project.faf`.
19
+ - README "Eternal Sync" tells the direction truthfully: CLAUDE.md is written from `project.faf`; the other three formats can also import.
20
+
21
+ ### Fixed
22
+ - **`faf_init` writes what `faf init` writes.** It runs faf-cli's own init steps on the folder, so the file is valid and scored from what the folder holds, and it reports that starting score. Before, it wrote a legacy template that scored 0% on any folder, failed `faf_trust` and crashed `faf_go`. The new project also becomes the current one, so the next steps it suggests act on it. Path handling is unchanged.
23
+ - **The docs page no longer strikes through its own keyword.** The hero line rendered "Context" in red strikethrough, a style left over from an older slogan.
24
+ - README: the all-formats example is the MCP call that works (`faf bi-sync --all` is rejected by faf-cli 7.12); 25 test suites, not 9; the Trophy badge and tier table use ✪.
25
+ - The server status banner reports 29 tools, 15 by default, and reads the version from the package instead of a hardcoded "33+".
26
+ - Tool output: headers say FAF, not "Claude FAF"; the readiness target is 100%, not 99%; tier lines use ✪ ★ ◆ ◇ ●; tools say they author and rewrite files.
27
+ - `faf_git` writes `faf_version: "3.0"` and the package version into the files it authors (it wrote 2.5.0 and 4.5.0), with the spec URL at faf.one.
28
+ - Listings lead with the product name: the npm, MCP Registry, Glama and Smithery descriptions say **.FAF Context**, and `project.faf` marks PulseMCP and Glama live.
29
+ - The registry receipt in `server.json` is refreshed, and the `.faf-dna` birth certificate is re-grounded at 100% with its 2025 birth record kept.
30
+ - Docs: the two essays keep their dated figures with broken links, paths and the missing image fixed; the style source mirrors the live page.
31
+ - Source comments that labelled faf-cli 7.12 code as v4.5.0, faf-cli 7.11.0 or Node 18 now say what the code does; ported parsers keep their provenance line.
32
+
11
33
  ## [3.0.0] - 2026-09-09 — The Compose Edition
12
34
 
13
35
  **Compose, don't port: faf-mcp 3.0 runs on faf-cli 7.12 in-process — one scorer, one set of renderers, one injector — and every number, file and claim this package makes is true. Local stdio, 29 tools, Node 22+.**
package/CLAUDE.md CHANGED
@@ -25,10 +25,14 @@ The Interop MCP for Context — the Cursor / IDE Edition. Persistent context for
25
25
  - **What:** The Cursor / IDE Edition — persistent context for Cursor, VS Code, and every MCP-compatible IDE — 29 MCP tools (15 essential shown by default), interop with AGENTS.md, .cursorrules, GEMINI.md
26
26
  - **Why:** Eliminate the 20-minute AI context tax — give AI instant project understanding in 30 seconds
27
27
  - **Where:** npm · MCP Registry · any MCP-compatible IDE — people get it how they wish
28
- - **When:** Production/Stable — v3.0.0 The Compose Edition, WJTTC certified
28
+ - **When:** Production/Stable — v3.0.1 The Compose Edition, WJTTC certified
29
29
  - **How:** npx faf-mcp or npm install -g faf-mcp, then add to your MCP config
30
30
 
31
31
  ---
32
32
 
33
- *STATUS: BI-SYNC ACTIVE — 2026-09-10T03:21:14.311Z*
33
+ *STATUS: BI-SYNC ACTIVE — 2026-09-10T19:01:58.786Z*
34
34
  <!-- faf:end -->
35
+
36
+ ## Working here
37
+
38
+ Build, test, layout and the load-bearing conventions live in AGENTS.md under "Working in this repo". Refresh the managed block above with `faf sync` (CLI) or the `faf_claude` tool (MCP); both keep this section.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- faf: faf-mcp | TypeScript | mcp-server | FAF MCP IDE Edition — persistent project context for Cursor, Windsurf, Cline, VS Code -->
1
+ <!-- faf: faf-mcp | TypeScript | mcp | The Interop MCP for Context — the Cursor / IDE Edition. Persistent context for Cursor, VS Code, and every MCP-compatible IDE. IANA-registered application/vnd.faf+yaml. Start with "Use FAF". -->
2
2
  <!-- faf: doc=readme | canonical=project.faf | score=100 | family=FAF -->
3
3
 
4
4
  <div style="display: flex; align-items: center; gap: 12px;">
@@ -10,7 +10,7 @@
10
10
  </div>
11
11
 
12
12
  [![npm](https://img.shields.io/npm/v/faf-mcp?color=008B8B)](https://www.npmjs.com/package/faf-mcp)[![downloads](https://img.shields.io/npm/dm/faf-mcp?color=008B8B&label=downloads)](https://www.npmjs.com/package/faf-mcp)
13
- [![FAF Trophy 100%](https://img.shields.io/badge/FAF-%F0%9F%8F%86%20100%25-000000?labelColor=FF6B35)](https://faf.one)
13
+ [![FAF Trophy 100%](https://img.shields.io/badge/FAF-%E2%9C%AA%20100%25-000000?labelColor=FF6B35)](https://faf.one)
14
14
  [![IANA: vnd.faf+yaml](https://img.shields.io/badge/IANA-vnd.faf%2Byaml-008B8B)](https://www.iana.org/assignments/media-types/application/vnd.faf+yaml)
15
15
  [![DOI: Context paper](https://img.shields.io/badge/DOI-Context%20paper-FF6B35)](https://doi.org/10.5281/zenodo.18251362)
16
16
  [![DOI: Agents paper](https://img.shields.io/badge/DOI-Agents%20paper-FF6B35)](https://doi.org/10.5281/zenodo.21951641)
@@ -27,12 +27,21 @@
27
27
 
28
28
  ---
29
29
 
30
- ## What's New in 3.0.0 — The Compose Edition
30
+ ## What's New in 3.0.1 — The Compose Edition
31
+
32
+ **Names that match the code: `faf_bi_sync` is now `faf_claude`, `faf_init` writes what `faf init` writes, and the listings lead with .FAF Context.**
33
+
34
+ - **`faf_bi_sync` is now `faf_claude`.** It writes CLAUDE.md from `project.faf`, one direction, which is all it ever did. The old name still answers, so existing configs keep working.
35
+ - **`faf_init` writes what `faf init` writes.** It runs faf-cli's own init on the folder: a valid file, scored from what is there, and the new project becomes the current one.
36
+ - **The interop tools say what `sync` does.** `faf_agents`, `faf_cursor` and `faf_gemini` re-write their file from `project.faf`; `import` with `merge: true` brings a file back in.
37
+ - **Surfaces corrected.** The docs page hero, the npm, MCP Registry, Glama and Smithery descriptions, the registry receipt, the birth certificate and dozens of tool strings now match 3.0.
38
+
39
+ ## The Compose Edition (3.0)
31
40
 
32
41
  **Compose, don't port: faf-mcp 3.0 runs on faf-cli 7.12 in-process — one scorer, one set of renderers, one injector — and every number, file and claim this package makes is true. Local stdio, 29 tools, Node 22+.**
33
42
 
34
43
  - **Composes faf-cli 7.12.** AGENTS.md, GEMINI.md, .cursorrules and CLAUDE.md are written by faf-cli's own renderers, repo enrichment and block injector — the same bytes `faf export` and `faf sync` write. `faf_auto` runs faf-cli's own update chain. The hand-ported renderers, the pre-v3 CLAUDE.md template and the local injector are gone.
35
- - **One score function.** `faf_auto`, `faf_go`, `faf_dna`, `faf_doctor` and `faf_bi_sync` all report faf-cli's scorer on the bytes on disk — no local heuristics, no frozen birth score, no "0%".
44
+ - **One score function.** `faf_auto`, `faf_go`, `faf_dna`, `faf_doctor` and `faf_claude` all report faf-cli's scorer on the bytes on disk — no local heuristics, no frozen birth score, no "0%".
36
45
  - **Nothing shells out.** The `which faf` detector, the exec fallback and the "install faf-cli first" banner are gone; nothing under `src/` imports `child_process`. A machine with an unrelated `faf` on PATH is no longer a problem.
37
46
  - **Every tool contract matches its handler.** Descriptions say what the tools do, schemas declare only flags that are read, failures carry their reason.
38
47
  - **The Mk3 engine is deleted.** 44 unreachable modules, ~15,900 lines; the tarball halves. `prebuild` clears `dist/` so nothing deleted ever ships again.
@@ -105,33 +114,34 @@ faf-mcp runs locally over stdio. Point your IDE at one of these commands.
105
114
  | `faf_conductor` | Conductor | Import/export directory structure |
106
115
  | `faf_git` | GitHub | Author .faf from any repo URL |
107
116
 
108
- ```bash
109
- # Sync to all formats at once
110
- faf bi-sync --all
117
+ ```text
118
+ # MCP tool calls — ask your IDE's AI
119
+ # Write all four formats from project.faf
120
+ faf_claude { all: true }
111
121
 
112
122
  # Author .faf from any GitHub repo
113
123
  faf_git { url: "https://github.com/facebook/react" }
114
124
  ```
115
125
 
116
- **Core tier:** 15 essential tools shown by default; set `FAF_TOOLS=all` for the full **29** (every tool stays callable by name either way) · **9 test suites** · **7 bundled parsers**
126
+ **Core tier:** 15 essential tools shown by default; set `FAF_TOOLS=all` for the full **29** (every tool stays callable by name either way) · **25 test suites** · **7 bundled parsers**
117
127
 
118
128
  ---
119
129
 
120
- ## Eternal Bi-Sync
130
+ ## Eternal Sync
121
131
 
122
- Your `.faf` file and your platform context files stay synchronized in milliseconds.
132
+ `project.faf` is the source. faf-mcp writes every tool's context file from it in milliseconds.
123
133
 
124
134
  ```
125
- project.faf ←── 8ms ──→ .cursorrules / AGENTS.md / CLAUDE.md / GEMINI.md
135
+ project.faf ──── 8ms ───→ CLAUDE.md / AGENTS.md / .cursorrules / GEMINI.md
126
136
  Single source of truth
127
137
  ```
128
138
 
129
- - Update either side → both stay aligned
130
- - `--all` flag syncs to all four formats at once
131
- - Zero manual maintenance
139
+ - `faf_claude { all: true }` writes all four formats at once
140
+ - `faf_agents`, `faf_cursor` and `faf_gemini` can also import an existing file: `merge: true` merges it into `project.faf`
141
+ - Content outside the faf-managed block is preserved, byte for byte
132
142
  - Works across teams, branches, sessions
133
143
 
134
- AI assistants forget. They drift. Every new session, AI starts guessing again. Bi-sync means **context never goes stale**.
144
+ AI assistants forget. They drift. Every new session, AI starts guessing again. One source means **context never goes stale**.
135
145
 
136
146
  ---
137
147
 
@@ -139,7 +149,7 @@ AI assistants forget. They drift. Every new session, AI starts guessing again. B
139
149
 
140
150
  | Tier | Score | Status |
141
151
  |------|-------|--------|
142
- | 🏆 **TROPHY** | 100% | AI never has to guess |
152
+ | ✪ **TROPHY** | 100% | AI never has to guess |
143
153
  | ★ **GOLD** | 99%+ | 1 slot from Trophy |
144
154
  | ◆ **SILVER** | 95%+ | Close — keep going |
145
155
  | ◇ **BRONZE** | 85%+ | Interim — keep going |
@@ -174,7 +184,7 @@ Works on all platforms — stops web search, forces tool usage.
174
184
  | `faf_init` | Initialize project.faf |
175
185
  | `faf_score` | Check AI-readiness (0-100%) |
176
186
  | `faf_sync` | Reconcile project.faf with package.json / git (dry-run; `apply:true` writes) |
177
- | `faf_bi_sync` | Write CLAUDE.md (+ AGENTS.md, .cursorrules, GEMINI.md) from project.faf |
187
+ | `faf_claude` | Write CLAUDE.md (+ AGENTS.md, .cursorrules, GEMINI.md) from project.faf |
178
188
  | `faf_read` | Parse and validate FAF files |
179
189
  | `faf_write` | Create/update FAF with validation |
180
190
  | **Interop Tools** | |
@@ -240,6 +250,6 @@ MIT License — Free and open source
240
250
 
241
251
  ---
242
252
 
243
- **Zero drift. Eternal sync. AI optimized.** 🏆
253
+ **Zero drift. Eternal sync. AI optimized.** ✪
244
254
 
245
255
  *"It's so logical if it didn't exist, AI would have built it itself" — Claude*
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Agents Command - v4.5.0 Interop Edition
2
+ * Agents Command — Interop (faf-mcp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
3
3
  *
4
4
  * Import/Export/Sync between AGENTS.md and project.faf
5
- * Bundled command — no CLI dependency required.
5
+ * Bundled command — no shell-out; export composes faf-cli in-process.
6
6
  */
7
7
  export interface AgentsCommandResult {
8
8
  success: boolean;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  /**
3
- * Agents Command - v4.5.0 Interop Edition
3
+ * Agents Command — Interop (faf-mcp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
4
4
  *
5
5
  * Import/Export/Sync between AGENTS.md and project.faf
6
- * Bundled command — no CLI dependency required.
6
+ * Bundled command — no shell-out; export composes faf-cli in-process.
7
7
  */
8
8
  var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Claude Command — writes CLAUDE.md from project.faf, one direction.
3
+ *
4
+ * CLAUDE.md is faf-cli's render of project.faf (the same bytes `faf sync`
5
+ * pushes), injected with faf-cli's injector, so content outside the managed
6
+ * block survives. With agents / cursor / gemini / all it also writes
7
+ * AGENTS.md, .cursorrules and GEMINI.md. Nothing here reads CLAUDE.md back
8
+ * into project.faf. Backs the `faf_claude` tool, named `faf_bi_sync` before
9
+ * 3.0.1; the old name claimed a two-way sync this code never did.
10
+ */
11
+ export interface ClaudeExportOptions {
12
+ json?: boolean;
13
+ agents?: boolean;
14
+ cursor?: boolean;
15
+ gemini?: boolean;
16
+ all?: boolean;
17
+ }
18
+ export interface ClaudeExportResult {
19
+ success: boolean;
20
+ direction: 'faf-to-claude' | 'none';
21
+ filesChanged: string[];
22
+ conflicts: string[];
23
+ duration: number;
24
+ message: string;
25
+ }
26
+ /**
27
+
28
+ /**
29
+ * Write CLAUDE.md (and any requested IDE formats) from project.faf.
30
+ */
31
+ export declare function claudeExportCommand(projectPath?: string, _options?: ClaudeExportOptions): Promise<ClaudeExportResult>;
@@ -1,8 +1,13 @@
1
1
  "use strict";
2
2
  /**
3
- * 🔗 Bi-Sync Engine - Mk3 Bundled Edition
4
- * Revolutionary project.faf ↔ CLAUDE.md Synchronization
5
- * v4.5.0: Added agents/cursor/gemini/all flags for multi-format sync
3
+ * Claude Command — writes CLAUDE.md from project.faf, one direction.
4
+ *
5
+ * CLAUDE.md is faf-cli's render of project.faf (the same bytes `faf sync`
6
+ * pushes), injected with faf-cli's injector, so content outside the managed
7
+ * block survives. With agents / cursor / gemini / all it also writes
8
+ * AGENTS.md, .cursorrules and GEMINI.md. Nothing here reads CLAUDE.md back
9
+ * into project.faf. Backs the `faf_claude` tool, named `faf_bi_sync` before
10
+ * 3.0.1; the old name claimed a two-way sync this code never did.
6
11
  */
7
12
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
13
  if (k2 === undefined) k2 = k;
@@ -38,7 +43,7 @@ var __importStar = (this && this.__importStar) || (function () {
38
43
  };
39
44
  })();
40
45
  Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.syncBiDirectional = syncBiDirectional;
46
+ exports.claudeExportCommand = claudeExportCommand;
42
47
  const yaml_1 = require("../fix-once/yaml");
43
48
  const path = __importStar(require("path"));
44
49
  const fs_1 = require("fs");
@@ -50,9 +55,9 @@ const faf_cli_bridge_js_1 = require("../../utils/faf-cli-bridge.js");
50
55
  /**
51
56
 
52
57
  /**
53
- * 🔗 Main Bi-Sync function
58
+ * Write CLAUDE.md (and any requested IDE formats) from project.faf.
54
59
  */
55
- async function syncBiDirectional(projectPath, _options = {}) {
60
+ async function claudeExportCommand(projectPath, _options = {}) {
56
61
  const startTime = Date.now();
57
62
  const result = {
58
63
  success: false,
@@ -95,7 +100,7 @@ async function syncBiDirectional(projectPath, _options = {}) {
95
100
  result.success = true;
96
101
  result.direction = 'faf-to-claude';
97
102
  result.filesChanged.push('CLAUDE.md');
98
- result.message = `CLAUDE.md created! Bi-sync now active! FAF Score: ${currentScore}`;
103
+ result.message = `CLAUDE.md written from project.faf. FAF Score: ${currentScore}`;
99
104
  }
100
105
  else {
101
106
  // CLAUDE.md is faf-cli's render of project.faf — the same bytes
@@ -105,9 +110,9 @@ async function syncBiDirectional(projectPath, _options = {}) {
105
110
  result.success = true;
106
111
  result.direction = 'faf-to-claude';
107
112
  result.filesChanged.push('CLAUDE.md');
108
- result.message = `Files synchronized! Perfect harmony achieved! FAF Score: ${currentScore}`;
113
+ result.message = `CLAUDE.md refreshed from project.faf. FAF Score: ${currentScore}`;
109
114
  }
110
- // v4.5.0: Chain additional format exports if requested
115
+ // Chain additional format exports if requested
111
116
  const doAgents = _options.agents || _options.all;
112
117
  const doCursor = _options.cursor || _options.all;
113
118
  const doGemini = _options.gemini || _options.all;
@@ -119,7 +124,7 @@ async function syncBiDirectional(projectPath, _options = {}) {
119
124
  }
120
125
  }
121
126
  catch {
122
- // Non-fatal — CLAUDE.md sync already succeeded
127
+ // Non-fatal — the CLAUDE.md write already succeeded
123
128
  }
124
129
  }
125
130
  if (doCursor) {
@@ -145,15 +150,15 @@ async function syncBiDirectional(projectPath, _options = {}) {
145
150
  }
146
151
  }
147
152
  if (result.filesChanged.length > 1) {
148
- result.message += ` | Also synced: ${result.filesChanged.filter(f => f !== 'CLAUDE.md').join(', ')}`;
153
+ result.message += ` | Also wrote: ${result.filesChanged.filter(f => f !== 'CLAUDE.md').join(', ')}`;
149
154
  }
150
155
  result.duration = Date.now() - startTime;
151
156
  return result;
152
157
  }
153
158
  catch (error) {
154
159
  result.duration = Date.now() - startTime;
155
- result.message = error instanceof Error ? error.message : 'Sync failed';
160
+ result.message = error instanceof Error ? error.message : 'CLAUDE.md write failed';
156
161
  return result;
157
162
  }
158
163
  }
159
- //# sourceMappingURL=bi-sync.js.map
164
+ //# sourceMappingURL=claude.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claude.js","sourceRoot":"","sources":["../../../../src/faf-core/commands/claude.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCH,kDAiHC;AAhJD,2CAAsD;AACtD,2CAA6B;AAC7B,2BAAoC;AACpC,oDAA8D;AAC9D,2CAAkD;AAClD,2CAAkD;AAClD,2CAAkD;AAClD,qEAAuD;AAmBvD;;;;GAIG;AACI,KAAK,UAAU,mBAAmB,CAAC,WAAoB,EAAE,WAAgC,EAAE;IAChG,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAuB;QACjC,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,EAAE;QAChB,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,CAAC;QACX,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,IAAI,CAAC;QACH,wBAAwB;QACxB,MAAM,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,IA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cp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
3
3
  *
4
4
  * Import/Export between conductor/ directory and project.faf
5
5
  * Bundled command — no CLI dependency required.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Conductor Command - v4.5.0 Interop Edition
3
+ * Conductor Command — Interop (faf-mcp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
4
4
  *
5
5
  * Import/Export between conductor/ directory and project.faf
6
6
  * Bundled command — no CLI dependency required.
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Cursor Command - v4.5.0 Interop Edition
2
+ * Cursor Command — Interop (faf-mcp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
3
3
  *
4
4
  * Import/Export/Sync between .cursorrules and project.faf
5
- * Bundled command — no CLI dependency required.
5
+ * Bundled command — no shell-out; export composes faf-cli in-process.
6
6
  */
7
7
  export interface CursorCommandResult {
8
8
  success: boolean;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  /**
3
- * Cursor Command - v4.5.0 Interop Edition
3
+ * Cursor Command — Interop (faf-mcp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
4
4
  *
5
5
  * Import/Export/Sync between .cursorrules and project.faf
6
- * Bundled command — no CLI dependency required.
6
+ * Bundled command — no shell-out; export composes faf-cli in-process.
7
7
  */
8
8
  var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Gemini Command - v4.5.0 Interop Edition
2
+ * Gemini Command — Interop (faf-mcp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
3
3
  *
4
4
  * Import/Export/Sync between GEMINI.md and project.faf
5
- * Bundled command — no CLI dependency required.
5
+ * Bundled command — no shell-out; export composes faf-cli in-process.
6
6
  */
7
7
  export interface GeminiCommandResult {
8
8
  success: boolean;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  /**
3
- * Gemini Command - v4.5.0 Interop Edition
3
+ * Gemini Command — Interop (faf-mcp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
4
4
  *
5
5
  * Import/Export/Sync between GEMINI.md and project.faf
6
- * Bundled command — no CLI dependency required.
6
+ * Bundled command — no shell-out; export composes faf-cli in-process.
7
7
  */
8
8
  var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Git Context Command - v4.5.0 Interop Edition
2
+ * Git Context Command — Interop (faf-mcp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
3
3
  *
4
4
  * Generate project.faf from a GitHub repository URL.
5
5
  * Fetches metadata, README, package.json — no cloning needed.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Git Context Command - v4.5.0 Interop Edition
3
+ * Git Context Command — Interop (faf-mcp 2.0.0; ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0)
4
4
  *
5
5
  * Generate project.faf from a GitHub repository URL.
6
6
  * Fetches metadata, README, package.json — no cloning needed.
@@ -44,7 +44,7 @@ async function gitContextCommand(url, outputPath) {
44
44
  }
45
45
  return {
46
46
  success: true,
47
- message: `Generated project.faf for ${owner}/${repo} — Score: ${score}% (${tier})`,
47
+ message: `Authored project.faf for ${owner}/${repo} — Score: ${score}% (${tier})`,
48
48
  data: {
49
49
  owner,
50
50
  repo,
@@ -1 +1 @@
1
- {"version":3,"file":"git-context.js","sourceRoot":"","sources":["../../../../src/faf-core/commands/git-context.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;AA8BH,8CAoDC;AAhFD,gDAAwB;AACxB,2BAAoC;AACpC,wEAIwC;AACxC,0EAGyC;AAezC;;GAEG;AACI,KAAK,UAAU,iBAAiB,CACrC,GAAW,EACX,UAAmB;IAEnB,gBAAgB;IAChB,MAAM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AI,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;YAChD,MAAM,aAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QACjD,CAAC;QAED,OAAO;YACL,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,4BAA4B,KAAK,IAAI,IAAI,aAAa,KAAK,MAAM,IAAI,GAAG;YACjF,IAAI,EAAE;gBACJ,KAAK;gBACL,IAAI;gBACJ,KAAK;gBACL,IAAI;gBACJ,UAAU,EAAE,OAAO;gBACnB,QAAQ;aACT;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5E,OAAO;YACL,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,oCAAoC,YAAY,EAAE;SAC5D,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -9,7 +9,8 @@
9
9
  * - H2: Section headers (Project Overview, Tech Stack, etc.)
10
10
  * - Bullets: Specific guidelines
11
11
  *
12
- * Ported from faf-cli for faf-mcp v4.5.0
12
+ * Import parser ported from faf-cli 4.5.0 (The AGENTS.md Edition) via claude-faf-mcp 4.5.0;
13
+ * landed in faf-mcp 2.0.0 (The Interop MCP for Context). Export composes faf-cli >=7.12.0 in-process.
13
14
  */
14
15
  export interface AgentsMdSection {
15
16
  title: string;
@@ -54,8 +55,8 @@ export declare function agentsImport(agentsPath: string): Promise<AgentsImportRe
54
55
  /**
55
56
  * Author an AGENTS.md from .faf data (+ repo enrichment at export).
56
57
  *
57
- * v3.0: ported from faf-cli's CURRENT `renderAgentsMd` (~/FAF/cli/src/
58
- * interop/agents.ts, faf-cli 7.11.0 — "The AGENTS.md Edition") — replaces
58
+ * v3.0: composes faf-cli's `renderAgentsMd` in-process (faf-cli >=7.12.0,
59
+ * The Open Renderers Edition) — replaces
59
60
  * the v4.5.0-vintage section set (Project Overview / Tech Stack / Code
60
61
  * Style Guidelines / Build and Test Commands / Architecture / General
61
62
  * Instructions) with faf-cli's current shape: orientation · setup · verify
@@ -10,7 +10,8 @@
10
10
  * - H2: Section headers (Project Overview, Tech Stack, etc.)
11
11
  * - Bullets: Specific guidelines
12
12
  *
13
- * Ported from faf-cli for faf-mcp v4.5.0
13
+ * Import parser ported from faf-cli 4.5.0 (The AGENTS.md Edition) via claude-faf-mcp 4.5.0;
14
+ * landed in faf-mcp 2.0.0 (The Interop MCP for Context). Export composes faf-cli >=7.12.0 in-process.
14
15
  */
15
16
  var __importDefault = (this && this.__importDefault) || function (mod) {
16
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -170,8 +171,8 @@ function createEmptyFaf() {
170
171
  /**
171
172
  * Author an AGENTS.md from .faf data (+ repo enrichment at export).
172
173
  *
173
- * v3.0: ported from faf-cli's CURRENT `renderAgentsMd` (~/FAF/cli/src/
174
- * interop/agents.ts, faf-cli 7.11.0 — "The AGENTS.md Edition") — replaces
174
+ * v3.0: composes faf-cli's `renderAgentsMd` in-process (faf-cli >=7.12.0,
175
+ * The Open Renderers Edition) — replaces
175
176
  * the v4.5.0-vintage section set (Project Overview / Tech Stack / Code
176
177
  * Style Guidelines / Build and Test Commands / Architecture / General
177
178
  * Instructions) with faf-cli's current shape: orientation · setup · verify
@@ -1 +1 @@
1
- {"version":3,"file":"agents-parser.js","sourceRoot":"","sources":["../../../../src/faf-core/parsers/agents-parser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;AAyDH,sCA2CC;AA0CD,oCAgDC;AAwCD,oCAcC;AAMD,wCAiBC;AAKD,oDAUC;AAxRD,2BAAoC;AACpC,gDAAwB;AACxB,qEAAuD;AA8CvD,+EAA+E;AAC/E,UAAU;AACV,+EAA+E;AAE/E;;GAEG;AACH,SAAgB,aAAa,CAAC,OAAe;IAC3C,kEAAkE;IAClE,MAAM,U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I,CAAC;QACH,MAAM,aAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAC5B,OAAO,UAAU,CAAC;IACpB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
@@ -4,7 +4,7 @@
4
4
  * Parses Google's Conductor extension format (conductor/ directory)
5
5
  * for bidirectional interoperability with FAF.
6
6
  *
7
- * Ported from faf-cli for faf-mcp v4.5.0
7
+ * Ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0; landed in faf-mcp 2.0.0 (The Interop MCP for Context)
8
8
  */
9
9
  export interface ConductorProduct {
10
10
  title: string;
@@ -5,7 +5,7 @@
5
5
  * Parses Google's Conductor extension format (conductor/ directory)
6
6
  * for bidirectional interoperability with FAF.
7
7
  *
8
- * Ported from faf-cli for faf-mcp v4.5.0
8
+ * Ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0; landed in faf-mcp 2.0.0 (The Interop MCP for Context)
9
9
  */
10
10
  var __importDefault = (this && this.__importDefault) || function (mod) {
11
11
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -12,7 +12,8 @@
12
12
  * Note: This generates legacy .cursorrules (single file).
13
13
  * The new .cursor/rules/ MDC directory format is a future enhancement.
14
14
  *
15
- * Ported from faf-cli for faf-mcp v4.5.0
15
+ * Import parser ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0;
16
+ * landed in faf-mcp 2.0.0 (The Interop MCP for Context). Export composes faf-cli >=7.12.0 in-process.
16
17
  */
17
18
  export interface CursorRulesSection {
18
19
  title: string;
@@ -56,8 +57,8 @@ export declare function cursorImport(cursorPath: string): Promise<CursorImportRe
56
57
  /**
57
58
  * Render .cursorrules content from .faf data.
58
59
  *
59
- * v3.0: ported from faf-cli's CURRENT `renderCursorrules`
60
- * (~/FAF/cli/src/interop/cursorrules.ts, faf-cli 7.11.0) — deliberately
60
+ * v3.0: composes faf-cli's `renderCursorrules` in-process (faf-cli >=7.12.0,
61
+ * The Open Renderers Edition) — deliberately
61
62
  * minimal. Modern Cursor reads `.cursor/rules/*.mdc` (`alwaysApply: true`)
62
63
  * every turn; `.cursorrules` is the legacy, largely-ignored format faf-cli
63
64
  * itself keeps thin rather than richly authored — the previous v4.5.0-
@@ -13,7 +13,8 @@
13
13
  * Note: This generates legacy .cursorrules (single file).
14
14
  * The new .cursor/rules/ MDC directory format is a future enhancement.
15
15
  *
16
- * Ported from faf-cli for faf-mcp v4.5.0
16
+ * Import parser ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0;
17
+ * landed in faf-mcp 2.0.0 (The Interop MCP for Context). Export composes faf-cli >=7.12.0 in-process.
17
18
  */
18
19
  var __importDefault = (this && this.__importDefault) || function (mod) {
19
20
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -223,8 +224,8 @@ function createEmptyFaf() {
223
224
  /**
224
225
  * Render .cursorrules content from .faf data.
225
226
  *
226
- * v3.0: ported from faf-cli's CURRENT `renderCursorrules`
227
- * (~/FAF/cli/src/interop/cursorrules.ts, faf-cli 7.11.0) — deliberately
227
+ * v3.0: composes faf-cli's `renderCursorrules` in-process (faf-cli >=7.12.0,
228
+ * The Open Renderers Edition) — deliberately
228
229
  * minimal. Modern Cursor reads `.cursor/rules/*.mdc` (`alwaysApply: true`)
229
230
  * every turn; `.cursorrules` is the legacy, largely-ignored format faf-cli
230
231
  * itself keeps thin rather than richly authored — the previous v4.5.0-
@@ -1 +1 @@
1
- {"version":3,"file":"cursorrules-parser.js","sourceRoot":"","sources":["../../../../src/faf-core/parsers/cursorrules-parser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;AAwDH,4CA4EC;AAkCD,oCAwEC;AAsCD,oCASC;AAMD,8CAgBC;AAjTD,2BAAoC;AACpC,gDAAwB;AACxB,qEAAuD;AA6CvD,+EAA+E;AAC/E,UAAU;AACV,+EAA+E;AAE/E;;GAEG;AACH,SAAgB,gBAAgB,CAAC,OAAe;IAC9C,kEAA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AAM,CAAC,IAAI,aAAa,EAAE,CAAC;QAC9B,IAAI,CAAC;YACH,MAAM,aAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACnB,OAAO,CAAC,CAAC;QACX,CAAC;QAAC,MAAM,CAAC;YACP,SAAS;QACX,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -4,7 +4,7 @@
4
4
  * Generates clean, accurate .faf files from GitHub repos without cloning.
5
5
  * Output is compact and PR-ready — every line adds value.
6
6
  *
7
- * Ported from faf-cli for faf-mcp v4.5.0
7
+ * Ported from faf-cli 4.5.0 via claude-faf-mcp 4.5.0; landed in faf-mcp 2.0.0 (The Interop MCP for Context)
8
8
  */
9
9
  import type { GitHubMetadata } from './github-extractor.js';
10
10
  export interface Enhanced6Ws {