codealmanac 0.1.0 → 0.1.1

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.
@@ -16,10 +16,8 @@ import { dirname, join } from "path";
16
16
  var AUTH_TIMEOUT_MS = 1e4;
17
17
  function resolveCliJsPath() {
18
18
  const require2 = createRequire(import.meta.url);
19
- const pkgJsonPath = require2.resolve(
20
- "@anthropic-ai/claude-agent-sdk/package.json"
21
- );
22
- return join(dirname(pkgJsonPath), "cli.js");
19
+ const entry = require2.resolve("@anthropic-ai/claude-agent-sdk");
20
+ return join(dirname(entry), "cli.js");
23
21
  }
24
22
  var defaultSpawnCli = (args) => {
25
23
  const cliPath = resolveCliJsPath();