faf-cli 4.4.4 → 4.5.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 +27 -17
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +63 -2
- package/dist/cli.js.map +1 -1
- package/dist/commands/agents.d.ts +14 -0
- package/dist/commands/agents.d.ts.map +1 -0
- package/dist/commands/agents.js +353 -0
- package/dist/commands/agents.js.map +1 -0
- package/dist/commands/bi-sync.d.ts +3 -0
- package/dist/commands/bi-sync.d.ts.map +1 -1
- package/dist/commands/bi-sync.js +38 -0
- package/dist/commands/bi-sync.js.map +1 -1
- package/dist/commands/cursor.d.ts +13 -0
- package/dist/commands/cursor.d.ts.map +1 -0
- package/dist/commands/cursor.js +310 -0
- package/dist/commands/cursor.js.map +1 -0
- package/dist/commands/go.d.ts.map +1 -1
- package/dist/commands/go.js +22 -19
- package/dist/commands/go.js.map +1 -1
- package/dist/commands/taf-log.d.ts +1 -0
- package/dist/commands/taf-log.d.ts.map +1 -1
- package/dist/commands/taf-log.js +53 -5
- package/dist/commands/taf-log.js.map +1 -1
- package/dist/commands/taf-stars.d.ts +8 -0
- package/dist/commands/taf-stars.d.ts.map +1 -0
- package/dist/commands/taf-stars.js +105 -0
- package/dist/commands/taf-stars.js.map +1 -0
- package/dist/commands/taf.d.ts +1 -0
- package/dist/commands/taf.d.ts.map +1 -1
- package/dist/commands/taf.js +9 -0
- package/dist/commands/taf.js.map +1 -1
- package/dist/compiler/faf-compiler.d.ts.map +1 -1
- package/dist/compiler/faf-compiler.js +24 -2
- package/dist/compiler/faf-compiler.js.map +1 -1
- package/dist/github/repo-selector.js +4 -4
- package/dist/github/repo-selector.js.map +1 -1
- package/dist/taf/index.d.ts +4 -0
- package/dist/taf/index.d.ts.map +1 -1
- package/dist/taf/index.js +16 -1
- package/dist/taf/index.js.map +1 -1
- package/dist/taf/star-badge.d.ts +32 -0
- package/dist/taf/star-badge.d.ts.map +1 -0
- package/dist/taf/star-badge.js +158 -0
- package/dist/taf/star-badge.js.map +1 -0
- package/dist/taf/star-rating.d.ts +30 -0
- package/dist/taf/star-rating.d.ts.map +1 -0
- package/dist/taf/star-rating.js +79 -0
- package/dist/taf/star-rating.js.map +1 -0
- package/dist/taf/test-output-parser.d.ts +42 -0
- package/dist/taf/test-output-parser.d.ts.map +1 -0
- package/dist/taf/test-output-parser.js +114 -0
- package/dist/taf/test-output-parser.js.map +1 -0
- package/dist/utils/agents-parser.d.ts +60 -0
- package/dist/utils/agents-parser.d.ts.map +1 -0
- package/dist/utils/agents-parser.js +325 -0
- package/dist/utils/agents-parser.js.map +1 -0
- package/dist/utils/cursorrules-parser.d.ts +56 -0
- package/dist/utils/cursorrules-parser.d.ts.map +1 -0
- package/dist/utils/cursorrules-parser.js +315 -0
- package/dist/utils/cursorrules-parser.js.map +1 -0
- package/package.json +1 -1
- package/project.faf +4 -4
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* .cursorrules Parser
|
|
4
|
+
*
|
|
5
|
+
* Parses Cursor IDE .cursorrules files for bidirectional
|
|
6
|
+
* interoperability with FAF.
|
|
7
|
+
*
|
|
8
|
+
* .cursorrules Structure:
|
|
9
|
+
* - Free-form markdown with sections
|
|
10
|
+
* - H2: Section headers (optional)
|
|
11
|
+
* - Bullets/paragraphs: Guidelines and rules
|
|
12
|
+
*
|
|
13
|
+
* Note: This generates legacy .cursorrules (single file).
|
|
14
|
+
* The new .cursor/rules/ MDC directory format is a future enhancement.
|
|
15
|
+
*/
|
|
16
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.parseCursorRules = parseCursorRules;
|
|
21
|
+
exports.cursorImport = cursorImport;
|
|
22
|
+
exports.cursorExport = cursorExport;
|
|
23
|
+
exports.detectCursorRules = detectCursorRules;
|
|
24
|
+
const fs_1 = require("fs");
|
|
25
|
+
const path_1 = __importDefault(require("path"));
|
|
26
|
+
// ============================================================================
|
|
27
|
+
// Parsing
|
|
28
|
+
// ============================================================================
|
|
29
|
+
/**
|
|
30
|
+
* Parse .cursorrules file content
|
|
31
|
+
*/
|
|
32
|
+
function parseCursorRules(content) {
|
|
33
|
+
// Strip BOM and normalize line endings (Windows \r\n, old Mac \r)
|
|
34
|
+
const normalized = content.replace(/^\uFEFF/, '').replace(/\r\n/g, '\n').replace(/\r/g, '\n');
|
|
35
|
+
const lines = normalized.split('\n');
|
|
36
|
+
let projectName = 'Unknown Project';
|
|
37
|
+
const sections = [];
|
|
38
|
+
let currentSection = null;
|
|
39
|
+
const rawLines = [];
|
|
40
|
+
for (const line of lines) {
|
|
41
|
+
rawLines.push(line);
|
|
42
|
+
// H1 = Project name
|
|
43
|
+
const h1Match = line.match(/^#\s+(?:Project:\s*)?(.+)$/);
|
|
44
|
+
if (h1Match) {
|
|
45
|
+
projectName = h1Match[1].trim();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
// H2 = Section header
|
|
49
|
+
const h2Match = line.match(/^##\s+(.+)$/);
|
|
50
|
+
if (h2Match) {
|
|
51
|
+
if (currentSection) {
|
|
52
|
+
sections.push(currentSection);
|
|
53
|
+
}
|
|
54
|
+
currentSection = {
|
|
55
|
+
title: h2Match[1].trim(),
|
|
56
|
+
content: [],
|
|
57
|
+
};
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
// Bullet point
|
|
61
|
+
const bulletMatch = line.match(/^[-*]\s+(.+)$/);
|
|
62
|
+
if (bulletMatch && currentSection) {
|
|
63
|
+
currentSection.content.push(bulletMatch[1].trim());
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
// Non-empty line in a section (paragraph text)
|
|
67
|
+
const trimmed = line.trim();
|
|
68
|
+
if (trimmed && currentSection && !trimmed.startsWith('#')) {
|
|
69
|
+
currentSection.content.push(trimmed);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
// Push last section
|
|
73
|
+
if (currentSection) {
|
|
74
|
+
sections.push(currentSection);
|
|
75
|
+
}
|
|
76
|
+
return { projectName, sections, rawLines };
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Categorize .cursorrules sections into FAF structure
|
|
80
|
+
*/
|
|
81
|
+
function categorizeSections(sections) {
|
|
82
|
+
const rules = [];
|
|
83
|
+
const guidelines = [];
|
|
84
|
+
const codingStyle = [];
|
|
85
|
+
for (const section of sections) {
|
|
86
|
+
const titleLower = section.title.toLowerCase();
|
|
87
|
+
if (titleLower.includes('coding') || titleLower.includes('style') || titleLower.includes('format') || titleLower.includes('convention')) {
|
|
88
|
+
codingStyle.push(...section.content);
|
|
89
|
+
}
|
|
90
|
+
else if (titleLower.includes('rule') || titleLower.includes('constraint') || titleLower.includes('requirement') || titleLower.includes('preference')) {
|
|
91
|
+
rules.push(...section.content);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
// Default to guidelines
|
|
95
|
+
guidelines.push(...section.content);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return { rules, guidelines, codingStyle };
|
|
99
|
+
}
|
|
100
|
+
// ============================================================================
|
|
101
|
+
// Import: .cursorrules → FAF
|
|
102
|
+
// ============================================================================
|
|
103
|
+
async function cursorImport(cursorPath) {
|
|
104
|
+
const warnings = [];
|
|
105
|
+
// Check if file exists
|
|
106
|
+
try {
|
|
107
|
+
await fs_1.promises.access(cursorPath);
|
|
108
|
+
}
|
|
109
|
+
catch {
|
|
110
|
+
return {
|
|
111
|
+
success: false,
|
|
112
|
+
faf: createEmptyFaf(),
|
|
113
|
+
warnings: [`.cursorrules not found: ${cursorPath}`],
|
|
114
|
+
sectionsFound: [],
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
// Read and parse
|
|
118
|
+
const content = await fs_1.promises.readFile(cursorPath, 'utf-8');
|
|
119
|
+
const parsed = parseCursorRules(content);
|
|
120
|
+
if (parsed.sections.length === 0) {
|
|
121
|
+
warnings.push('No sections found in .cursorrules — treating all content as guidelines');
|
|
122
|
+
// If no sections, treat all non-empty lines as guidelines
|
|
123
|
+
const allLines = parsed.rawLines
|
|
124
|
+
.map(l => l.trim())
|
|
125
|
+
.filter(l => l && !l.startsWith('#'));
|
|
126
|
+
const faf = {
|
|
127
|
+
project: {
|
|
128
|
+
name: parsed.projectName,
|
|
129
|
+
description: 'Imported from .cursorrules',
|
|
130
|
+
type: 'cursor-import',
|
|
131
|
+
rules: [],
|
|
132
|
+
guidelines: allLines,
|
|
133
|
+
codingStyle: [],
|
|
134
|
+
},
|
|
135
|
+
metadata: {
|
|
136
|
+
source: 'cursor',
|
|
137
|
+
imported: new Date().toISOString(),
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
return {
|
|
141
|
+
success: true,
|
|
142
|
+
faf,
|
|
143
|
+
warnings,
|
|
144
|
+
sectionsFound: [],
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
const { rules, guidelines, codingStyle } = categorizeSections(parsed.sections);
|
|
148
|
+
const faf = {
|
|
149
|
+
project: {
|
|
150
|
+
name: parsed.projectName,
|
|
151
|
+
description: 'Imported from .cursorrules',
|
|
152
|
+
type: 'cursor-import',
|
|
153
|
+
rules,
|
|
154
|
+
guidelines,
|
|
155
|
+
codingStyle,
|
|
156
|
+
},
|
|
157
|
+
metadata: {
|
|
158
|
+
source: 'cursor',
|
|
159
|
+
imported: new Date().toISOString(),
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
return {
|
|
163
|
+
success: true,
|
|
164
|
+
faf,
|
|
165
|
+
warnings,
|
|
166
|
+
sectionsFound: parsed.sections.map(s => s.title),
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function createEmptyFaf() {
|
|
170
|
+
return {
|
|
171
|
+
project: {
|
|
172
|
+
name: 'Unknown',
|
|
173
|
+
description: '',
|
|
174
|
+
type: 'cursor-import',
|
|
175
|
+
rules: [],
|
|
176
|
+
guidelines: [],
|
|
177
|
+
codingStyle: [],
|
|
178
|
+
},
|
|
179
|
+
metadata: {
|
|
180
|
+
source: 'cursor',
|
|
181
|
+
imported: new Date().toISOString(),
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
// ============================================================================
|
|
186
|
+
// Export: FAF → .cursorrules
|
|
187
|
+
// ============================================================================
|
|
188
|
+
async function cursorExport(fafContent, outputPath) {
|
|
189
|
+
const warnings = [];
|
|
190
|
+
// Build .cursorrules content
|
|
191
|
+
const lines = [];
|
|
192
|
+
// Project header
|
|
193
|
+
const projectName = fafContent.project?.name || fafContent.name || 'My Project';
|
|
194
|
+
const projectGoal = fafContent.project?.goal || fafContent.project?.description || fafContent.ai_tldr?.project || '';
|
|
195
|
+
lines.push(`# ${projectName}`);
|
|
196
|
+
lines.push('');
|
|
197
|
+
if (projectGoal) {
|
|
198
|
+
lines.push(projectGoal);
|
|
199
|
+
lines.push('');
|
|
200
|
+
}
|
|
201
|
+
// Tech Stack section
|
|
202
|
+
const stack = fafContent.stack || fafContent.project?.stack || {};
|
|
203
|
+
const hasStack = stack.frontend || stack.backend || stack.build || stack.runtime;
|
|
204
|
+
if (hasStack) {
|
|
205
|
+
lines.push('## Tech Stack');
|
|
206
|
+
lines.push('');
|
|
207
|
+
if (stack.frontend)
|
|
208
|
+
lines.push(`- Frontend: ${stack.frontend}`);
|
|
209
|
+
if (stack.backend)
|
|
210
|
+
lines.push(`- Backend: ${stack.backend}`);
|
|
211
|
+
if (stack.runtime)
|
|
212
|
+
lines.push(`- Runtime: ${stack.runtime}`);
|
|
213
|
+
if (stack.build)
|
|
214
|
+
lines.push(`- Build: ${stack.build}`);
|
|
215
|
+
if (stack.package_manager)
|
|
216
|
+
lines.push(`- Package Manager: ${stack.package_manager}`);
|
|
217
|
+
if (stack.languages?.length > 0) {
|
|
218
|
+
lines.push(`- Languages: ${stack.languages.join(', ')}`);
|
|
219
|
+
}
|
|
220
|
+
if (stack.frameworks?.length > 0) {
|
|
221
|
+
lines.push(`- Frameworks: ${stack.frameworks.join(', ')}`);
|
|
222
|
+
}
|
|
223
|
+
lines.push('');
|
|
224
|
+
}
|
|
225
|
+
// Coding Standards section
|
|
226
|
+
const warnings_list = fafContent.ai_instructions?.warnings || [];
|
|
227
|
+
const workingStyle = fafContent.ai_instructions?.working_style || {};
|
|
228
|
+
const codingStyle = fafContent.project?.codingStyle || [];
|
|
229
|
+
const styleItems = [...codingStyle, ...warnings_list];
|
|
230
|
+
if (workingStyle.quality_bar)
|
|
231
|
+
styleItems.push(`Quality bar: ${workingStyle.quality_bar}`);
|
|
232
|
+
if (workingStyle.testing)
|
|
233
|
+
styleItems.push(`Testing: ${workingStyle.testing}`);
|
|
234
|
+
if (styleItems.length > 0) {
|
|
235
|
+
lines.push('## Coding Standards');
|
|
236
|
+
lines.push('');
|
|
237
|
+
for (const item of styleItems) {
|
|
238
|
+
lines.push(`- ${item}`);
|
|
239
|
+
}
|
|
240
|
+
lines.push('');
|
|
241
|
+
}
|
|
242
|
+
// Preferences section
|
|
243
|
+
const preferences = fafContent.preferences || {};
|
|
244
|
+
const prefItems = [];
|
|
245
|
+
if (preferences.quality_bar)
|
|
246
|
+
prefItems.push(`Quality bar: ${preferences.quality_bar}`);
|
|
247
|
+
if (preferences.commit_style)
|
|
248
|
+
prefItems.push(`Commit style: ${preferences.commit_style}`);
|
|
249
|
+
if (preferences.response_style)
|
|
250
|
+
prefItems.push(`Response style: ${preferences.response_style}`);
|
|
251
|
+
if (preferences.testing)
|
|
252
|
+
prefItems.push(`Testing: ${preferences.testing}`);
|
|
253
|
+
if (preferences.documentation)
|
|
254
|
+
prefItems.push(`Documentation: ${preferences.documentation}`);
|
|
255
|
+
if (prefItems.length > 0) {
|
|
256
|
+
lines.push('## Preferences');
|
|
257
|
+
lines.push('');
|
|
258
|
+
for (const item of prefItems) {
|
|
259
|
+
lines.push(`- ${item}`);
|
|
260
|
+
}
|
|
261
|
+
lines.push('');
|
|
262
|
+
}
|
|
263
|
+
// Build Commands section
|
|
264
|
+
const howContext = fafContent.human_context?.how || fafContent.context?.how;
|
|
265
|
+
if (howContext) {
|
|
266
|
+
lines.push('## Build Commands');
|
|
267
|
+
lines.push('');
|
|
268
|
+
lines.push(`- ${howContext}`);
|
|
269
|
+
lines.push('');
|
|
270
|
+
}
|
|
271
|
+
// General Instructions (rules + guidelines)
|
|
272
|
+
const rules = fafContent.project?.rules || [];
|
|
273
|
+
const guidelines = fafContent.project?.guidelines || [];
|
|
274
|
+
const generalInstructions = [...rules, ...guidelines];
|
|
275
|
+
if (generalInstructions.length > 0) {
|
|
276
|
+
lines.push('## General Instructions');
|
|
277
|
+
lines.push('');
|
|
278
|
+
for (const item of generalInstructions) {
|
|
279
|
+
lines.push(`- ${item}`);
|
|
280
|
+
}
|
|
281
|
+
lines.push('');
|
|
282
|
+
}
|
|
283
|
+
// Footer
|
|
284
|
+
lines.push('---');
|
|
285
|
+
lines.push(`Generated from project.faf by faf-cli — ${new Date().toISOString().split('T')[0]}`);
|
|
286
|
+
lines.push('');
|
|
287
|
+
// Write file
|
|
288
|
+
const content = lines.join('\n');
|
|
289
|
+
await fs_1.promises.writeFile(outputPath, content);
|
|
290
|
+
return {
|
|
291
|
+
success: true,
|
|
292
|
+
filePath: outputPath,
|
|
293
|
+
warnings,
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
// ============================================================================
|
|
297
|
+
// Detection
|
|
298
|
+
// ============================================================================
|
|
299
|
+
async function detectCursorRules(basePath) {
|
|
300
|
+
const possiblePaths = [
|
|
301
|
+
path_1.default.join(basePath, '.cursorrules'),
|
|
302
|
+
path_1.default.join(basePath, '.cursor-rules'),
|
|
303
|
+
];
|
|
304
|
+
for (const p of possiblePaths) {
|
|
305
|
+
try {
|
|
306
|
+
await fs_1.promises.access(p);
|
|
307
|
+
return p;
|
|
308
|
+
}
|
|
309
|
+
catch {
|
|
310
|
+
continue;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
return null;
|
|
314
|
+
}
|
|
315
|
+
//# sourceMappingURL=cursorrules-parser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursorrules-parser.js","sourceRoot":"","sources":["../../src/utils/cursorrules-parser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;AAuDH,4CAoDC;AAkCD,oCAwEC;AAuBD,oCAgHC;AAMD,8CAgBC;AAhXD,2BAAoC;AACpC,gDAAwB;AA6CxB,+EAA+E;AAC/E,UAAU;AACV,+EAA+E;AAE/E;;GAEG;AACH,SAAgB,gBAAgB,CAAC,OAAe;IAC9C,kEAAkE;IAClE,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC9F,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACrC,IAAI,WAAW,GAAG,iBAAiB,CAAC;IACpC,MAAM,QAAQ,GAAyB,EAAE,CAAC;IAC1C,IAAI,cAAc,GAA8B,IAAI,CAAC;IACrD,MAAM,QAAQ,GAAa,EAAE,CAAC;IAE9B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEpB,oBAAoB;QACpB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;QACzD,IAAI,OAAO,EAAE,CAAC;YACZ,WAAW,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;YAChC,SAAS;QACX,CAAC;QAED,sBAAsB;QACtB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "faf-cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "The Persistent AI Context Standard • Foundation Layer for AI • IANA-Registered • Anthropic-Approved • project.faf = AI's foundation",
|
|
5
5
|
"icon": "https://faf.one/orange-smiley.svg",
|
|
6
6
|
"logo": "https://faf.one/orange-smiley.svg",
|
package/project.faf
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
faf_version: 2.5.0
|
|
2
|
-
generated: 2026-02-
|
|
2
|
+
generated: 2026-02-18T19:56:53.057Z
|
|
3
3
|
ai_scoring_system: 2025-09-20
|
|
4
4
|
ai_score: 83%
|
|
5
5
|
ai_confidence: HIGH
|
|
@@ -67,7 +67,7 @@ preferences:
|
|
|
67
67
|
documentation: as_needed
|
|
68
68
|
state:
|
|
69
69
|
phase: development
|
|
70
|
-
version: 4.
|
|
70
|
+
version: 4.5.0
|
|
71
71
|
focus: production_deployment
|
|
72
72
|
status: green_flag
|
|
73
73
|
next_milestone: npm_publication
|
|
@@ -132,6 +132,6 @@ gemini:
|
|
|
132
132
|
notes: Native Gemini CLI integration via FAF
|
|
133
133
|
faf_dna:
|
|
134
134
|
birth_dna: 86
|
|
135
|
-
birth_certificate: FAF-2026-CLIX-
|
|
136
|
-
birth_date: 2026-02-
|
|
135
|
+
birth_certificate: FAF-2026-CLIX-KQPK
|
|
136
|
+
birth_date: 2026-02-18T19:56:53.125Z
|
|
137
137
|
current_score: 86
|