@getworkle/cli 0.2.5 → 0.2.7

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/dist/cli.js CHANGED
@@ -22162,6 +22162,10 @@ async function stageCliForDaemon(currentCliPath) {
22162
22162
  throw new Error("Cannot determine the current CLI path for daemon install.");
22163
22163
  }
22164
22164
  await setupClawDirectory();
22165
+ const isNpxCache = currentCliPath.includes("/_npx/") || currentCliPath.includes("\\_npx\\");
22166
+ if (!isNpxCache) {
22167
+ return currentCliPath;
22168
+ }
22165
22169
  await fs7.copyFile(currentCliPath, STAGED_CLI_PATH);
22166
22170
  await fs7.chmod(STAGED_CLI_PATH, 448).catch(() => {
22167
22171
  });