@nothumanwork/wit 0.1.15 → 0.1.16

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
- cb0f5ca02cad7aa6ca9ab72f06c28274bc1d03cd0634878ec0c7860858a324e7 wit-linux-aarch64.tar.gz
2
- 06fcc3ba0d0827aa0cb77b2c1c26ea98526f9e2d74aaa446629b889f23271a2c wit-linux-x86_64.tar.gz
3
- 43322f2cd008f69e6d648c12ab2d120dc23b631fd0429424ce93eeebfd78fe2b wit-macos-aarch64.tar.gz
4
- d92b487faa3e30290e69f853b2d1df067f8174d3104eacc5395ecd8b1cf2c2cc wit-macos-x86_64.tar.gz
5
- 339ed6145aae0a6a25d22ba3b6572b550eac278462bd463e327ddfa2c99e38b4 wit-windows-aarch64.zip
6
- 69e55278c53bee00c7a850c58c0ca1f2fa05cc7f5709173a488aab450006401e wit-windows-x86_64.zip
1
+ 537832c6ed342cefdaae053365d0f2da0f0e5709c66a50b4cd0cf2aca8ca7cff wit-linux-aarch64.tar.gz
2
+ 3e426c8e5925f3614f17f609d019801c7cde6d7d4a27a3458da6879ac29013a1 wit-linux-x86_64.tar.gz
3
+ 19c0e55a68fabce3ade9d018037df5a2678c92374f5bf6c012f9fdc13f19ff49 wit-macos-aarch64.tar.gz
4
+ 6df40e9e9e128db4d47a272a5cdbfd315e7b6479f0f84483a7fe00eb0d5374c5 wit-macos-x86_64.tar.gz
5
+ cfe949d7f002547665c713f6d530b8915369651f7c2d7fe43114fd612494b8af wit-windows-aarch64.zip
6
+ b9ceeec230d78e0448720781c3c19446a974f3803045d96d41617abab5b77915 wit-windows-x86_64.zip
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nothumanwork/wit",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "GitHub exploration CLI for AI agents",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -109,15 +109,15 @@ function extractArchive(archivePath, destination) {
109
109
  }
110
110
 
111
111
  if (archivePath.endsWith(".zip")) {
112
+ const escapedArchivePath = archivePath.replace(/'/g, "''");
113
+ const escapedDestination = destination.replace(/'/g, "''");
112
114
  runCommand(
113
115
  "powershell.exe",
114
116
  [
115
117
  "-NoProfile",
116
118
  "-NonInteractive",
117
119
  "-Command",
118
- "Expand-Archive -LiteralPath $args[0] -DestinationPath $args[1] -Force",
119
- archivePath,
120
- destination,
120
+ `Expand-Archive -LiteralPath '${escapedArchivePath}' -DestinationPath '${escapedDestination}' -Force`,
121
121
  ],
122
122
  );
123
123
  return;