Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

ci: remove manual tar extraction from verify script - npm install handles it

Salman Qureshi126f8372dab2
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 541e2426..144556f3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -62,7 +62,6 @@ jobs:
- run: npm run build
- name: Verify package integrity
- shell: bash
run: node scripts/verify-package.cjs
publish:
diff --git a/scripts/verify-package.cjs b/scripts/verify-package.cjs
index b6cfed8b..620bfd02 100755
--- a/scripts/verify-package.cjs
+++ b/scripts/verify-package.cjs
@@ -6,7 +6,6 @@ const { tmpdir } = require('os');
const ROOT = resolve(__dirname, '..');
const TMP = join(tmpdir(), `mercury-pv-${process.pid}`);
-const IS_WIN = process.platform === 'win32';
let failed = false;
@@ -32,15 +31,7 @@ const tarball = execSync('npm pack', { cwd: ROOT, encoding: 'utf-8', stdio: ['pi
const tarballPath = join(ROOT, tarball);
console.log(` Tarball: ${tarball}`);
-console.log('\n3/5 Extracting & installing...');
-mkdirSync(join(TMP, 'pack'), { recursive: true });
-if (IS_WIN) {
- execSync(`tar -xzf "${tarballPath}" -C "${join(TMP, 'pack')}"`, { stdio: 'pipe' });
-} else {
- execSync(`tar -xzf "${tarballPath}" -C "${join(TMP, 'pack')}"`, { stdio: 'pipe' });
-}
-const pkgDir = join(TMP, 'pack', 'package');
-
+console.log('\n3/5 Installing from tarball...');
const installDir = join(TMP, 'install');
mkdirSync(installDir, { recursive: true });
writeFileSync(join(installDir, 'package.json'), '{}');