faf-cli 3.4.6 → 3.4.8
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 +21 -11
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +83 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands/antigravity.d.ts +16 -0
- package/dist/commands/antigravity.d.ts.map +1 -0
- package/dist/commands/antigravity.js +398 -0
- package/dist/commands/antigravity.js.map +1 -0
- package/dist/commands/conductor.d.ts +15 -0
- package/dist/commands/conductor.d.ts.map +1 -0
- package/dist/commands/conductor.js +339 -0
- package/dist/commands/conductor.js.map +1 -0
- package/dist/commands/gemini.d.ts +15 -0
- package/dist/commands/gemini.d.ts.map +1 -0
- package/dist/commands/gemini.js +357 -0
- package/dist/commands/gemini.js.map +1 -0
- package/dist/commands/init.d.ts +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +24 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/compiler/faf-compiler.d.ts.map +1 -1
- package/dist/compiler/faf-compiler.js +5 -0
- package/dist/compiler/faf-compiler.js.map +1 -1
- package/dist/engines/c-mirror/core/mirror-engine.d.ts +1 -0
- package/dist/engines/c-mirror/core/mirror-engine.d.ts.map +1 -1
- package/dist/engines/c-mirror/core/mirror-engine.js +45 -3
- package/dist/engines/c-mirror/core/mirror-engine.js.map +1 -1
- package/dist/engines/c-mirror/faf-extensions/faf-mirror.d.ts +2 -0
- package/dist/engines/c-mirror/faf-extensions/faf-mirror.d.ts.map +1 -1
- package/dist/engines/c-mirror/faf-extensions/faf-mirror.js +19 -5
- package/dist/engines/c-mirror/faf-extensions/faf-mirror.js.map +1 -1
- package/dist/utils/conductor-parser.d.ts +86 -0
- package/dist/utils/conductor-parser.d.ts.map +1 -0
- package/dist/utils/conductor-parser.js +292 -0
- package/dist/utils/conductor-parser.js.map +1 -0
- package/dist/utils/gemini-parser.d.ts +58 -0
- package/dist/utils/gemini-parser.d.ts.map +1 -0
- package/dist/utils/gemini-parser.js +263 -0
- package/dist/utils/gemini-parser.js.map +1 -0
- package/package.json +1 -1
- package/project.faf +1 -1
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* faf antigravity - Google Antigravity IDE Integration
|
|
4
|
+
*
|
|
5
|
+
* Dedicated command for managing global AI context with Google's Antigravity IDE.
|
|
6
|
+
* Works with ~/.gemini/GEMINI.md - the global config that applies to every project.
|
|
7
|
+
*
|
|
8
|
+
* Commands:
|
|
9
|
+
* - faf antigravity import Import global GEMINI.md → project.faf
|
|
10
|
+
* - faf antigravity export Export project.faf → global GEMINI.md
|
|
11
|
+
* - faf antigravity sync Bidirectional sync with global config
|
|
12
|
+
* - faf antigravity status Show current global config status
|
|
13
|
+
*
|
|
14
|
+
* @see https://developers.google.com/gemini
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
19
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
20
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
21
|
+
}
|
|
22
|
+
Object.defineProperty(o, k2, desc);
|
|
23
|
+
}) : (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
o[k2] = m[k];
|
|
26
|
+
}));
|
|
27
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
28
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
29
|
+
}) : function(o, v) {
|
|
30
|
+
o["default"] = v;
|
|
31
|
+
});
|
|
32
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
33
|
+
var ownKeys = function(o) {
|
|
34
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
35
|
+
var ar = [];
|
|
36
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
37
|
+
return ar;
|
|
38
|
+
};
|
|
39
|
+
return ownKeys(o);
|
|
40
|
+
};
|
|
41
|
+
return function (mod) {
|
|
42
|
+
if (mod && mod.__esModule) return mod;
|
|
43
|
+
var result = {};
|
|
44
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
45
|
+
__setModuleDefault(result, mod);
|
|
46
|
+
return result;
|
|
47
|
+
};
|
|
48
|
+
})();
|
|
49
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
50
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.antigravityCommand = antigravityCommand;
|
|
54
|
+
const colors_1 = require("../fix-once/colors");
|
|
55
|
+
const fs_1 = require("fs");
|
|
56
|
+
const path_1 = __importDefault(require("path"));
|
|
57
|
+
const os_1 = __importDefault(require("os"));
|
|
58
|
+
const championship_style_1 = require("../utils/championship-style");
|
|
59
|
+
const file_utils_1 = require("../utils/file-utils");
|
|
60
|
+
const yaml_1 = require("../fix-once/yaml");
|
|
61
|
+
const gemini_parser_1 = require("../utils/gemini-parser");
|
|
62
|
+
// ============================================================================
|
|
63
|
+
// Constants
|
|
64
|
+
// ============================================================================
|
|
65
|
+
const ANTIGRAVITY_COLORS = {
|
|
66
|
+
// Antigravity theme: magenta/purple family
|
|
67
|
+
primary: (text) => colors_1.chalk.magenta(text),
|
|
68
|
+
secondary: (text) => colors_1.chalk.blue(text),
|
|
69
|
+
accent: (text) => colors_1.chalk.cyan(text),
|
|
70
|
+
};
|
|
71
|
+
function getGlobalGeminiPath() {
|
|
72
|
+
const home = os_1.default.homedir();
|
|
73
|
+
return path_1.default.join(home, '.gemini', 'GEMINI.md');
|
|
74
|
+
}
|
|
75
|
+
function getGlobalGeminiDir() {
|
|
76
|
+
const home = os_1.default.homedir();
|
|
77
|
+
return path_1.default.join(home, '.gemini');
|
|
78
|
+
}
|
|
79
|
+
// ============================================================================
|
|
80
|
+
// Main Command Router
|
|
81
|
+
// ============================================================================
|
|
82
|
+
async function antigravityCommand(args) {
|
|
83
|
+
const subcommand = args[0];
|
|
84
|
+
const subcommandArgs = args.slice(1);
|
|
85
|
+
switch (subcommand) {
|
|
86
|
+
case 'import':
|
|
87
|
+
await runAntigravityImport(subcommandArgs);
|
|
88
|
+
break;
|
|
89
|
+
case 'export':
|
|
90
|
+
await runAntigravityExport(subcommandArgs);
|
|
91
|
+
break;
|
|
92
|
+
case 'sync':
|
|
93
|
+
await runAntigravitySync(subcommandArgs);
|
|
94
|
+
break;
|
|
95
|
+
case 'status':
|
|
96
|
+
await runAntigravityStatus();
|
|
97
|
+
break;
|
|
98
|
+
case undefined:
|
|
99
|
+
case 'help':
|
|
100
|
+
case '--help':
|
|
101
|
+
case '-h':
|
|
102
|
+
showAntigravityHelp();
|
|
103
|
+
break;
|
|
104
|
+
default:
|
|
105
|
+
console.error(colors_1.chalk.red(`\n❌ Unknown antigravity command: ${subcommand}`));
|
|
106
|
+
console.log('\nAvailable commands:');
|
|
107
|
+
showAntigravityHelp();
|
|
108
|
+
process.exit(1);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function parseImportArgs(args) {
|
|
112
|
+
const options = {};
|
|
113
|
+
for (let i = 0; i < args.length; i++) {
|
|
114
|
+
const arg = args[i];
|
|
115
|
+
if (arg === '--merge' || arg === '-m') {
|
|
116
|
+
options.merge = true;
|
|
117
|
+
}
|
|
118
|
+
else if (arg === '--output' && args[i + 1]) {
|
|
119
|
+
options.output = args[++i];
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
return options;
|
|
123
|
+
}
|
|
124
|
+
async function runAntigravityImport(args) {
|
|
125
|
+
const options = parseImportArgs(args);
|
|
126
|
+
const outputPath = options.output || path_1.default.join(process.cwd(), 'project.faf');
|
|
127
|
+
console.log();
|
|
128
|
+
console.log(ANTIGRAVITY_COLORS.primary(`🚀 Importing from Antigravity global config...`));
|
|
129
|
+
// Check for global GEMINI.md
|
|
130
|
+
const globalPath = await (0, gemini_parser_1.detectGlobalGeminiMd)();
|
|
131
|
+
if (!globalPath) {
|
|
132
|
+
console.log(colors_1.chalk.red(`❌ No global GEMINI.md found`));
|
|
133
|
+
console.log(colors_1.chalk.gray(` Expected: ${getGlobalGeminiPath()}`));
|
|
134
|
+
console.log();
|
|
135
|
+
console.log(colors_1.chalk.gray(' Create one with: faf antigravity export'));
|
|
136
|
+
console.log();
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
console.log(colors_1.chalk.gray(` Source: ${globalPath}`));
|
|
140
|
+
console.log();
|
|
141
|
+
// Import
|
|
142
|
+
const result = await (0, gemini_parser_1.geminiImport)(globalPath);
|
|
143
|
+
if (!result.success) {
|
|
144
|
+
console.log(colors_1.chalk.red(`❌ Import failed`));
|
|
145
|
+
result.warnings.forEach(w => console.log(colors_1.chalk.yellow(` - ${w}`)));
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
// Show warnings
|
|
149
|
+
if (result.warnings.length > 0) {
|
|
150
|
+
console.log(colors_1.chalk.yellow(`⚠️ Warnings:`));
|
|
151
|
+
result.warnings.forEach(w => console.log(colors_1.chalk.yellow(` - ${w}`)));
|
|
152
|
+
console.log();
|
|
153
|
+
}
|
|
154
|
+
// Show sections found
|
|
155
|
+
if (result.sectionsFound.length > 0) {
|
|
156
|
+
console.log(colors_1.chalk.green(`☑️ Sections imported:`));
|
|
157
|
+
result.sectionsFound.forEach(s => console.log(colors_1.chalk.gray(` - ${s}`)));
|
|
158
|
+
console.log();
|
|
159
|
+
}
|
|
160
|
+
// Handle merge option
|
|
161
|
+
if (options.merge && await (0, file_utils_1.fileExists)(outputPath)) {
|
|
162
|
+
try {
|
|
163
|
+
const existingContent = await fs_1.promises.readFile(outputPath, 'utf-8');
|
|
164
|
+
const existingFaf = (0, yaml_1.parse)(existingContent);
|
|
165
|
+
const { stringify: stringifyYAML } = await Promise.resolve().then(() => __importStar(require('../fix-once/yaml')));
|
|
166
|
+
// Merge - global values supplement local
|
|
167
|
+
const merged = {
|
|
168
|
+
...existingFaf,
|
|
169
|
+
project: {
|
|
170
|
+
...existingFaf.project,
|
|
171
|
+
rules: [...(existingFaf.project?.rules || []), ...result.faf.project.rules],
|
|
172
|
+
guidelines: [...(existingFaf.project?.guidelines || []), ...result.faf.project.guidelines],
|
|
173
|
+
codingStyle: [...(existingFaf.project?.codingStyle || []), ...result.faf.project.codingStyle],
|
|
174
|
+
},
|
|
175
|
+
metadata: {
|
|
176
|
+
...existingFaf.metadata,
|
|
177
|
+
antigravity_import: result.faf.metadata.imported,
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
await fs_1.promises.writeFile(outputPath, stringifyYAML(merged));
|
|
181
|
+
console.log(colors_1.chalk.green(`☑️ Merged into: ${outputPath}`));
|
|
182
|
+
}
|
|
183
|
+
catch (err) {
|
|
184
|
+
console.log(colors_1.chalk.red(`❌ Merge failed: ${err}`));
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
const { stringify: stringifyYAML } = await Promise.resolve().then(() => __importStar(require('../fix-once/yaml')));
|
|
190
|
+
// Convert to FAF YAML format
|
|
191
|
+
const fafContent = {
|
|
192
|
+
version: '1.0',
|
|
193
|
+
type: 'antigravity-import',
|
|
194
|
+
project: result.faf.project,
|
|
195
|
+
metadata: result.faf.metadata,
|
|
196
|
+
};
|
|
197
|
+
await fs_1.promises.writeFile(outputPath, stringifyYAML(fafContent));
|
|
198
|
+
console.log(colors_1.chalk.green(`☑️ Created: ${outputPath}`));
|
|
199
|
+
}
|
|
200
|
+
console.log();
|
|
201
|
+
console.log(ANTIGRAVITY_COLORS.accent(`${championship_style_1.FAF_ICONS.trophy} Antigravity import complete!`));
|
|
202
|
+
console.log(colors_1.chalk.gray(' Your global preferences are now in your local .faf file.'));
|
|
203
|
+
console.log();
|
|
204
|
+
}
|
|
205
|
+
function parseExportArgs(args) {
|
|
206
|
+
const options = {};
|
|
207
|
+
for (let i = 0; i < args.length; i++) {
|
|
208
|
+
const arg = args[i];
|
|
209
|
+
if (arg === '--force' || arg === '-f') {
|
|
210
|
+
options.force = true;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return options;
|
|
214
|
+
}
|
|
215
|
+
async function runAntigravityExport(args) {
|
|
216
|
+
const options = parseExportArgs(args);
|
|
217
|
+
const globalPath = getGlobalGeminiPath();
|
|
218
|
+
const globalDir = getGlobalGeminiDir();
|
|
219
|
+
console.log();
|
|
220
|
+
console.log(ANTIGRAVITY_COLORS.primary(`🚀 Exporting to Antigravity global config...`));
|
|
221
|
+
console.log();
|
|
222
|
+
// Find FAF file
|
|
223
|
+
const fafPath = await (0, file_utils_1.findFafFile)(process.cwd());
|
|
224
|
+
if (!fafPath) {
|
|
225
|
+
console.log(colors_1.chalk.red(`❌ No .faf file found in current directory`));
|
|
226
|
+
console.log(colors_1.chalk.gray(' Run "faf init" first to create one.'));
|
|
227
|
+
console.log();
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
console.log(colors_1.chalk.gray(` Source: ${fafPath}`));
|
|
231
|
+
console.log(colors_1.chalk.gray(` Output: ${globalPath}`));
|
|
232
|
+
console.log();
|
|
233
|
+
// Ensure .gemini directory exists
|
|
234
|
+
try {
|
|
235
|
+
await fs_1.promises.mkdir(globalDir, { recursive: true });
|
|
236
|
+
}
|
|
237
|
+
catch {
|
|
238
|
+
// Already exists
|
|
239
|
+
}
|
|
240
|
+
// Check if file exists
|
|
241
|
+
if (await (0, file_utils_1.fileExists)(globalPath) && !options.force) {
|
|
242
|
+
console.log(colors_1.chalk.yellow(`⚠️ Global GEMINI.md already exists`));
|
|
243
|
+
console.log(colors_1.chalk.gray(' Use --force to overwrite'));
|
|
244
|
+
console.log();
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
// Read FAF file
|
|
248
|
+
let fafContent;
|
|
249
|
+
try {
|
|
250
|
+
const content = await fs_1.promises.readFile(fafPath, 'utf-8');
|
|
251
|
+
fafContent = (0, yaml_1.parse)(content);
|
|
252
|
+
}
|
|
253
|
+
catch (err) {
|
|
254
|
+
console.log(colors_1.chalk.red(`❌ Failed to read FAF file: ${err}`));
|
|
255
|
+
return;
|
|
256
|
+
}
|
|
257
|
+
// Export
|
|
258
|
+
const result = await (0, gemini_parser_1.geminiExport)(fafContent, globalPath);
|
|
259
|
+
if (!result.success) {
|
|
260
|
+
console.log(colors_1.chalk.red(`❌ Export failed`));
|
|
261
|
+
result.warnings.forEach(w => console.log(colors_1.chalk.yellow(` - ${w}`)));
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
console.log(colors_1.chalk.green(`☑️ Created: ${result.filePath}`));
|
|
265
|
+
console.log();
|
|
266
|
+
console.log(ANTIGRAVITY_COLORS.accent(`${championship_style_1.FAF_ICONS.trophy} Antigravity export complete!`));
|
|
267
|
+
console.log(colors_1.chalk.gray(' Your global context is now set for all Antigravity projects.'));
|
|
268
|
+
console.log();
|
|
269
|
+
console.log(ANTIGRAVITY_COLORS.secondary(' Every project in Antigravity IDE now inherits these defaults.'));
|
|
270
|
+
console.log();
|
|
271
|
+
}
|
|
272
|
+
function parseSyncArgs(args) {
|
|
273
|
+
const options = { source: 'faf' };
|
|
274
|
+
for (let i = 0; i < args.length; i++) {
|
|
275
|
+
const arg = args[i];
|
|
276
|
+
if (arg === '--source' && args[i + 1]) {
|
|
277
|
+
const src = args[++i];
|
|
278
|
+
if (src === 'faf' || src === 'antigravity') {
|
|
279
|
+
options.source = src;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
return options;
|
|
284
|
+
}
|
|
285
|
+
async function runAntigravitySync(args) {
|
|
286
|
+
const options = parseSyncArgs(args);
|
|
287
|
+
console.log();
|
|
288
|
+
console.log(ANTIGRAVITY_COLORS.primary(`🚀 Syncing with Antigravity global config...`));
|
|
289
|
+
console.log(colors_1.chalk.gray(` Source of truth: ${options.source}`));
|
|
290
|
+
console.log();
|
|
291
|
+
if (options.source === 'antigravity') {
|
|
292
|
+
// Global config is source of truth
|
|
293
|
+
await runAntigravityImport(['--merge']);
|
|
294
|
+
}
|
|
295
|
+
else {
|
|
296
|
+
// FAF is source of truth (default)
|
|
297
|
+
const fafPath = await (0, file_utils_1.findFafFile)(process.cwd());
|
|
298
|
+
if (!fafPath) {
|
|
299
|
+
console.log(colors_1.chalk.red(`❌ No .faf file found`));
|
|
300
|
+
return;
|
|
301
|
+
}
|
|
302
|
+
await runAntigravityExport(['--force']);
|
|
303
|
+
}
|
|
304
|
+
console.log(colors_1.chalk.green(`☑️ Sync complete!`));
|
|
305
|
+
console.log();
|
|
306
|
+
}
|
|
307
|
+
// ============================================================================
|
|
308
|
+
// Status Command
|
|
309
|
+
// ============================================================================
|
|
310
|
+
async function runAntigravityStatus() {
|
|
311
|
+
console.log();
|
|
312
|
+
console.log(ANTIGRAVITY_COLORS.primary(`🚀 Antigravity Global Config Status`));
|
|
313
|
+
console.log();
|
|
314
|
+
const globalPath = getGlobalGeminiPath();
|
|
315
|
+
const exists = await (0, file_utils_1.fileExists)(globalPath);
|
|
316
|
+
if (!exists) {
|
|
317
|
+
console.log(colors_1.chalk.yellow(`⚠️ No global config found`));
|
|
318
|
+
console.log(colors_1.chalk.gray(` Expected: ${globalPath}`));
|
|
319
|
+
console.log();
|
|
320
|
+
console.log(colors_1.chalk.gray(' Create one with: faf antigravity export'));
|
|
321
|
+
console.log();
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
// Read and show status
|
|
325
|
+
try {
|
|
326
|
+
const content = await fs_1.promises.readFile(globalPath, 'utf-8');
|
|
327
|
+
const stats = await fs_1.promises.stat(globalPath);
|
|
328
|
+
const lines = content.split('\n').length;
|
|
329
|
+
const sections = (content.match(/^##?\s+/gm) || []).length;
|
|
330
|
+
console.log(colors_1.chalk.green(`☑️ Global config active`));
|
|
331
|
+
console.log(colors_1.chalk.gray(` Location: ${globalPath}`));
|
|
332
|
+
console.log(colors_1.chalk.gray(` Size: ${content.length} bytes, ${lines} lines`));
|
|
333
|
+
console.log(colors_1.chalk.gray(` Sections: ${sections}`));
|
|
334
|
+
console.log(colors_1.chalk.gray(` Modified: ${stats.mtime.toLocaleDateString()}`));
|
|
335
|
+
console.log();
|
|
336
|
+
// Show section headers
|
|
337
|
+
const headers = content.match(/^##?\s+.+$/gm) || [];
|
|
338
|
+
if (headers.length > 0) {
|
|
339
|
+
console.log(ANTIGRAVITY_COLORS.secondary(' Sections:'));
|
|
340
|
+
headers.slice(0, 8).forEach(h => {
|
|
341
|
+
console.log(colors_1.chalk.gray(` ${h.replace(/^#+\s*/, '')}`));
|
|
342
|
+
});
|
|
343
|
+
if (headers.length > 8) {
|
|
344
|
+
console.log(colors_1.chalk.gray(` ... and ${headers.length - 8} more`));
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
console.log();
|
|
348
|
+
console.log(ANTIGRAVITY_COLORS.accent(`${championship_style_1.FAF_ICONS.trophy} Antigravity IDE will apply this to all projects.`));
|
|
349
|
+
console.log();
|
|
350
|
+
}
|
|
351
|
+
catch (err) {
|
|
352
|
+
console.log(colors_1.chalk.red(`❌ Failed to read global config: ${err}`));
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
// ============================================================================
|
|
356
|
+
// Help
|
|
357
|
+
// ============================================================================
|
|
358
|
+
function showAntigravityHelp() {
|
|
359
|
+
console.log();
|
|
360
|
+
console.log(ANTIGRAVITY_COLORS.primary('faf antigravity') + ' - Google Antigravity IDE Integration');
|
|
361
|
+
console.log();
|
|
362
|
+
console.log(colors_1.chalk.cyan('Commands:'));
|
|
363
|
+
console.log(' faf antigravity import Import global config to project.faf');
|
|
364
|
+
console.log(' faf antigravity export Export project.faf to global config');
|
|
365
|
+
console.log(' faf antigravity sync Bidirectional sync with global config');
|
|
366
|
+
console.log(' faf antigravity status Show current global config status');
|
|
367
|
+
console.log();
|
|
368
|
+
console.log(colors_1.chalk.cyan('Import Options:'));
|
|
369
|
+
console.log(' --merge, -m Merge with existing .faf instead of overwrite');
|
|
370
|
+
console.log(' --output <file> Output file path (default: ./project.faf)');
|
|
371
|
+
console.log();
|
|
372
|
+
console.log(colors_1.chalk.cyan('Export Options:'));
|
|
373
|
+
console.log(' --force, -f Overwrite existing global GEMINI.md');
|
|
374
|
+
console.log();
|
|
375
|
+
console.log(colors_1.chalk.cyan('Sync Options:'));
|
|
376
|
+
console.log(' --source <faf|antigravity> Source of truth (default: faf)');
|
|
377
|
+
console.log();
|
|
378
|
+
console.log(colors_1.chalk.cyan('Examples:'));
|
|
379
|
+
console.log(' faf antigravity status # Check global config');
|
|
380
|
+
console.log(' faf antigravity export # Push .faf to global config');
|
|
381
|
+
console.log(' faf antigravity export --force # Overwrite global config');
|
|
382
|
+
console.log(' faf antigravity import # Pull global config to .faf');
|
|
383
|
+
console.log(' faf antigravity sync # Sync (FAF is source)');
|
|
384
|
+
console.log();
|
|
385
|
+
console.log(colors_1.chalk.gray('About:'));
|
|
386
|
+
console.log(colors_1.chalk.gray(' Antigravity is Google\'s AI-powered IDE built on Gemini.'));
|
|
387
|
+
console.log(colors_1.chalk.gray(' It reads global context from ~/.gemini/GEMINI.md'));
|
|
388
|
+
console.log(colors_1.chalk.gray(' that applies to every project you open.'));
|
|
389
|
+
console.log();
|
|
390
|
+
console.log(colors_1.chalk.gray(' Your coding standards, preferences, and philosophy -'));
|
|
391
|
+
console.log(colors_1.chalk.gray(' defined once, applied everywhere.'));
|
|
392
|
+
console.log();
|
|
393
|
+
console.log(colors_1.chalk.gray(' Global config: ~/.gemini/GEMINI.md'));
|
|
394
|
+
console.log();
|
|
395
|
+
console.log(colors_1.chalk.gray(' Learn more: https://faf.one/docs/antigravity'));
|
|
396
|
+
console.log();
|
|
397
|
+
}
|
|
398
|
+
//# sourceMappingURL=antigravity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"antigravity.js","sourceRoot":"","sources":["../../src/commands/antigravity.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCH,gDAkCC;AAxED,+CAA2C;AAC3C,2BAAoC;AACpC,gDAAwB;AACxB,4CAAoB;AACpB,oEAAoE;AACpE,oDAA8D;AAC9D,2CAAsD;AACtD,0DAIgC;AAEhC,+EAA+E;AAC/E,YAAY;AACZ,+EAA+E;AAE/E,MAAM,kBAAkB,GAAG;IACzB,2CAA2C;IAC3C,OAAO,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,cAAK,CAAC,OAAO,CAAC,IAAI,CAAC;IAC9C,SAAS,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,cAAK,CAAC,IAAI,CAAC,IAAI,CAAC;IAC7C,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,cAAK,CAAC,IAAI,CAAC,IAAI,CAAC;CAC3C,CAAC;AAEF,SAAS,mBAAmB;IAC1B,MAAM,IAAI,GAAG,YAAE,CAAC,OAAO,EAAE,CAAC;IAC1B,OAAO,cAAI,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;AACjD,CAAC;AAED,SAAS,kBAAkB;IACzB,MAAM,IAAI,GAAG,YAAE,CAAC,OAAO,EAAE,CAAC;IAC1B,OAAO,cAAI,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACpC,CAAC;AAED,+EAA+E;AAC/E,sBAAsB;AACtB,+EAA+E;AAExE,KAAK,UAAU,kBAAkB,CAAC,IAAc;IACrD,MAAM,UAAU,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IAC3B,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAA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G,CAAC,cAAK,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAC,CAAC;IAC1E,OAAO,CAAC,GAAG,EAAE,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* faf conductor - Google Conductor Interop Commands
|
|
3
|
+
*
|
|
4
|
+
* Bidirectional interoperability between FAF and Google's Conductor format.
|
|
5
|
+
* Positions FAF as the universal AI-context interchange format.
|
|
6
|
+
*
|
|
7
|
+
* Commands:
|
|
8
|
+
* - faf conductor import Import conductor/ → project.faf
|
|
9
|
+
* - faf conductor export Export project.faf → conductor/
|
|
10
|
+
* - faf conductor sync Bidirectional sync
|
|
11
|
+
*
|
|
12
|
+
* @see /specs/FAF-CONDUCTOR-INTEROP.md
|
|
13
|
+
*/
|
|
14
|
+
export declare function conductorCommand(args: string[]): Promise<void>;
|
|
15
|
+
//# sourceMappingURL=conductor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conductor.d.ts","sourceRoot":"","sources":["../../src/commands/conductor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAmBH,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CA8BpE"}
|