antigravity-seo-kit 3.0.0 → 3.0.2
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/lib/installer.js +5 -5
- package/lib/utils.js +1 -1
- package/package.json +1 -1
package/lib/installer.js
CHANGED
|
@@ -10,7 +10,7 @@ const {
|
|
|
10
10
|
} = require('./utils');
|
|
11
11
|
const { generateFingerprint, getDeviceName } = require('./fingerprint');
|
|
12
12
|
const api = require('./api');
|
|
13
|
-
const
|
|
13
|
+
const downloader = require('./downloader');
|
|
14
14
|
|
|
15
15
|
// ─── Legacy cleanup (for uninstall of older installs without manifest) ───────
|
|
16
16
|
// No hardcoded names — scan directories for seo-* prefixed files/folders.
|
|
@@ -60,7 +60,7 @@ async function install(licenseKey, cwd) {
|
|
|
60
60
|
let downloadResult;
|
|
61
61
|
try {
|
|
62
62
|
const downloadUrl = api.getAssetsDownloadUrl(PACKAGE_VERSION);
|
|
63
|
-
downloadResult = await downloadAndExtract(downloadUrl, licenseKey, cwd);
|
|
63
|
+
downloadResult = await downloader.downloadAndExtract(downloadUrl, licenseKey, cwd);
|
|
64
64
|
spinDl.succeed(`Downloaded and installed ${downloadResult.count} files`);
|
|
65
65
|
} catch (err) {
|
|
66
66
|
spinDl.fail('Asset download failed');
|
|
@@ -171,7 +171,7 @@ async function update(cwd) {
|
|
|
171
171
|
let downloadResult;
|
|
172
172
|
try {
|
|
173
173
|
const downloadUrl = api.getAssetsDownloadUrl(PACKAGE_VERSION);
|
|
174
|
-
downloadResult = await downloadAndExtract(downloadUrl, config.key, cwd);
|
|
174
|
+
downloadResult = await downloader.downloadAndExtract(downloadUrl, config.key, cwd);
|
|
175
175
|
spinDl.succeed(`Updated ${downloadResult.count} files`);
|
|
176
176
|
} catch (err) {
|
|
177
177
|
spinDl.fail('Update download failed');
|
|
@@ -490,7 +490,7 @@ async function installPlugin(licenseKey) {
|
|
|
490
490
|
let downloadResult;
|
|
491
491
|
try {
|
|
492
492
|
const downloadUrl = api.getAssetsDownloadUrl(PACKAGE_VERSION);
|
|
493
|
-
downloadResult = await downloadAndExtract(downloadUrl, licenseKey, globalPluginDir);
|
|
493
|
+
downloadResult = await downloader.downloadAndExtract(downloadUrl, licenseKey, globalPluginDir);
|
|
494
494
|
spinDl.succeed(`Downloaded and installed ${downloadResult.count} files`);
|
|
495
495
|
} catch (err) {
|
|
496
496
|
spinDl.fail('Asset download failed');
|
|
@@ -609,7 +609,7 @@ function setupWorkspace(cwd) {
|
|
|
609
609
|
for (const f of rootFiles) {
|
|
610
610
|
const src = path.join(globalDir, f);
|
|
611
611
|
const dest = path.join(localAgentsDir, f);
|
|
612
|
-
if (fs.existsSync(src)
|
|
612
|
+
if (fs.existsSync(src)) {
|
|
613
613
|
fs.copyFileSync(src, dest);
|
|
614
614
|
count++;
|
|
615
615
|
}
|
package/lib/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antigravity-seo-kit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Professional Agentic SEO Platform for Google Antigravity 2 AI Agent — 44 specialized skills covering technical audit, E-E-A-T, schema, GEO, local SEO & more",
|
|
5
5
|
"main": "lib/installer.js",
|
|
6
6
|
"bin": {
|