@agent-dock/cli 0.1.2 → 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-dock/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -3,6 +3,8 @@ import { createRequire } from 'node:module';
3
3
  import { dirname, join, resolve } from 'node:path';
4
4
  import { fileURLToPath } from 'node:url';
5
5
 
6
+ if (process.env.AGENT_DOCK_SKIP_NATIVE_CHECK === '1') process.exit(0);
7
+
6
8
  // 安装期体检:这台机器能不能加载 better-sqlite3 的原生产物。加载不了不阻断安装(运行时还有随包兜底),
7
9
  // 但要在装的时候就告诉用户发生了什么、下一步是什么。判断逻辑与 src/native-compat.ts 保持一致。
8
10