@ryuenn3123/agentic-senior-core 6.4.3 → 6.4.4
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/gemini-extension.json
CHANGED
|
@@ -237,7 +237,8 @@ async function installAntigravityIde(target) {
|
|
|
237
237
|
// Automatically register the plugin with Antigravity CLI if agy binary is available
|
|
238
238
|
try {
|
|
239
239
|
const { execSync } = await import('node:child_process');
|
|
240
|
-
|
|
240
|
+
const agyBin = await findAgyBinaryPath();
|
|
241
|
+
execSync(`"${agyBin}" plugin install "${cliTargetPath}"`, { stdio: 'ignore' });
|
|
241
242
|
} catch (_) {
|
|
242
243
|
// Best effort agy plugin registration
|
|
243
244
|
}
|
|
@@ -246,6 +247,23 @@ async function installAntigravityIde(target) {
|
|
|
246
247
|
return true;
|
|
247
248
|
}
|
|
248
249
|
|
|
250
|
+
async function findAgyBinaryPath() {
|
|
251
|
+
const candidates = [
|
|
252
|
+
// Windows AppData path
|
|
253
|
+
path.join(HOME, 'AppData', 'Local', 'agy', 'bin', 'agy.exe'),
|
|
254
|
+
path.join(HOME, 'AppData', 'Local', 'Programs', 'Antigravity', 'bin', 'agy.exe'),
|
|
255
|
+
// Linux/WSL paths
|
|
256
|
+
path.join(HOME, '.local', 'share', 'agy', 'bin', 'agy'),
|
|
257
|
+
path.join(HOME, '.local', 'bin', 'agy'),
|
|
258
|
+
path.join(HOME, '.gemini', 'antigravity-cli', 'bin', 'agy'),
|
|
259
|
+
path.join(HOME, '.antigravity', 'bin', 'agy'),
|
|
260
|
+
];
|
|
261
|
+
for (const candidate of candidates) {
|
|
262
|
+
if (await pathExists(candidate)) return candidate;
|
|
263
|
+
}
|
|
264
|
+
return 'agy';
|
|
265
|
+
}
|
|
266
|
+
|
|
249
267
|
async function installGlobalTarget(targetKey) {
|
|
250
268
|
const target = GLOBAL_TARGETS[targetKey];
|
|
251
269
|
|
package/package.json
CHANGED
package/plugin.yaml
CHANGED