@agentfare/forge 0.2.1 → 0.2.3

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.
Files changed (2) hide show
  1. package/install.js +3 -2
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -65,8 +65,9 @@ async function main() {
65
65
  await download(url, archivePath);
66
66
  console.log(`Downloaded to ${archivePath}`);
67
67
 
68
- // Extract (tar.gz works on all platforms: Linux, macOS, Windows 10+)
69
- execSync(`tar xzf "${archivePath}" -C "${binDir}"`, { stdio: "inherit" });
68
+ // Extract using relative path (cwd=binDir) to avoid Windows tar
69
+ // interpreting "X:/path" as a remote host connection.
70
+ execSync(`tar xzf "${archiveName}"`, { cwd: binDir, stdio: "inherit" });
70
71
 
71
72
  // Make executable
72
73
  const binaryName = getBinaryName();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentfare/forge",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "AI 开发质量门禁引擎 — 结构化门禁管道,在 AI 生成的代码进入仓库前进行质量锻造",
5
5
  "bin": {
6
6
  "forge": "run.js"