@foxden-app/foxclaw 0.5.73 → 0.5.74

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable FoxClaw changes are listed here. Each release note is bilingual so GitHub Releases and the npm package are useful to both Chinese and English readers.
4
4
 
5
+ ## 0.5.74 - 2026-07-11
6
+
7
+ ### 中文
8
+ - FoxClaw 现在优先保留 Node 实际调用的 `process.argv[1]` 作为自身入口,而不是使用会解析软链接的 `import.meta.url`。这样 pnpm 11 shim 中的 `global/v11/<instance>` 布局信息不会在进入更新器前丢失,自更新可以保持在 pnpm 11 隔离全局目录中完成。
9
+
10
+ ### English
11
+ - FoxClaw now preserves Node's invoked `process.argv[1]` as its own entry point instead of relying on `import.meta.url`, which resolves symlinks. This retains pnpm 11's `global/v11/<instance>` layout information before self-update starts, allowing updates to remain within the pnpm 11 isolated global installation.
12
+
5
13
  ## 0.5.73 - 2026-07-11
6
14
 
7
15
  ### 中文
package/dist/main.js CHANGED
@@ -22,7 +22,9 @@ const rawCommand = process.argv[2];
22
22
  const command = rawCommand || 'serve';
23
23
  loadEnv();
24
24
  const packageRoot = path.dirname(path.dirname(fileURLToPath(import.meta.url)));
25
- const entryPoint = fileURLToPath(import.meta.url);
25
+ const entryPoint = process.argv[1]
26
+ ? path.resolve(process.argv[1])
27
+ : fileURLToPath(import.meta.url);
26
28
  const PROXY_ENV_KEYS = [
27
29
  'HTTP_PROXY',
28
30
  'HTTPS_PROXY',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxden-app/foxclaw",
3
- "version": "0.5.73",
3
+ "version": "0.5.74",
4
4
  "description": "Foxden local execution claw for controlling Codex from trusted chat interfaces.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",