@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-senior-core",
3
- "version": "6.4.3",
3
+ "version": "6.4.4",
4
4
  "description": "Universal AI coding rules. Because your AI writes code like it gets paid by the line.",
5
5
  "contextFileName": "rules/agentic-senior-core.md",
6
6
  "rules": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-senior-core",
3
- "version": "6.4.3",
3
+ "version": "6.4.4",
4
4
  "description": "Universal AI coding rules. Write code like a staff engineer.",
5
5
  "author": "fatidaprilian",
6
6
  "license": "MIT",
@@ -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
- execSync(`agy plugin install "${cliTargetPath}"`, { stdio: 'ignore' });
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuenn3123/agentic-senior-core",
3
- "version": "6.4.3",
3
+ "version": "6.4.4",
4
4
  "type": "module",
5
5
  "description": "Agentic Senior Core: Universal AI coding rules and workflows. Write code like a staff engineer, not a junior.",
6
6
  "bin": {
package/plugin.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: agentic-senior-core
2
- version: 6.4.3
2
+ version: 6.4.4
3
3
  description: Universal AI coding rules. Write code like a staff engineer.
4
4
  author: fatidaprilian
5
5
  provides_hooks: