@xutest1/sdk 0.2.1 → 0.2.2

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/package.json +1 -1
  2. package/server.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xutest1/sdk",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Type-safe SDK for A3Code AI coding agent",
5
5
  "author": "A3Code",
6
6
  "license": "MIT",
package/server.js CHANGED
@@ -10,7 +10,7 @@ function findBinary() {
10
10
  // Get the directory where this SDK is installed
11
11
  const sdkDir = dirname(fileURLToPath(import.meta.url));
12
12
  // Go up to node_modules/@scope, then into the platform package
13
- const scopeDir = dirname(dirname(sdkDir));
13
+ const scopeDir = dirname(sdkDir);
14
14
  const binaryPath = join(scopeDir, platformKey, "bin", exe);
15
15
  if (existsSync(binaryPath)) {
16
16
  return binaryPath;