@hippox/codegenie 3.11.2026 → 3.13.2026

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/README.md CHANGED
@@ -8,6 +8,13 @@
8
8
  npm install -g @hippox/codegenie
9
9
  ```
10
10
 
11
+ 预发布渠道:
12
+
13
+ ```bash
14
+ npm install -g @hippox/codegenie@beta
15
+ npm install -g @hippox/codegenie@alpha
16
+ ```
17
+
11
18
  安装完成后即可直接执行:
12
19
 
13
20
  ```bash
@@ -17,14 +24,33 @@ codegenie --version
17
24
  说明:
18
25
 
19
26
  - npm 安装会直接创建全局 `codegenie` 命令
20
- - 首次运行只会提取内置 kernel `~/.codegenie/kernel`,不会再把二进制复制到 `~/.codegenie/bin`
27
+ - 如果 npm optionalDependencies 配置跳过了平台包,安装脚本会自动补装当前平台包
28
+ - npm 安装阶段会预热 runtime assets;Windows 还会额外隐藏预热一次默认启动路径,因此安装时间会略长,但首次可见启动会更快
29
+ - 首次运行通常不再需要解包和安装依赖;首次进入某个工作区时,仍可能有少量项目级初始化
30
+ - 首次运行不会再把二进制复制到 `~/.codegenie/bin`
31
+ - npm 安装/升级会清理旧安装残留和临时更新残留
21
32
  - `upgrade` 在 npm 安装场景下会提示或委托执行 npm 升级命令,不直接覆写 npm 全局目录
22
33
 
34
+ ## 卸载
35
+
36
+ 推荐顺序:
37
+
38
+ ```bash
39
+ codegenie uninstall --yes
40
+ npm uninstall -g @hippox/codegenie
41
+ ```
42
+
43
+ 说明:
44
+
45
+ - `codegenie uninstall --yes` 删除 `~/.codegenie` 运行目录
46
+ - `npm uninstall -g @hippox/codegenie` 删除 npm 全局命令和包记录
47
+ - npm 卸载生命周期脚本会做最佳努力清理,但不同 npm 版本行为不完全一致,不应只依赖 `npm uninstall -g`
48
+
23
49
  ## 平台说明
24
50
 
25
- 当前 staged 平台包:`@hippox/codegenie-win32-x64`
51
+ 当前 staged 平台包:`@hippox/codegenie-darwin-arm64`, `@hippox/codegenie-darwin-x64`, `@hippox/codegenie-win32-x64`
26
52
 
27
- - `baseline` 兼容构建不会通过 npm 分发,老 CPU 请改用独立二进制发布件
53
+ - `baseline` 兼容构建不进入 npm 正式发布范围
28
54
 
29
55
  ## 发布说明
30
56
 
package/bin/codegenie.js CHANGED
@@ -1,25 +1,68 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const { spawnSync } = require("child_process")
3
+ const { spawn } = require("child_process")
4
+ const { buildLaunchEnv } = require("../lib/launch.js")
4
5
  const { resolveBinary } = require("../lib/resolve-binary.js")
6
+ const { shouldPrintStartupHint, startupHintText } = require("../lib/startup-hint.js")
7
+
8
+ const SPINNER = ["\u2807", "\u280B", "\u2819", "\u2838", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"]
5
9
 
6
10
  function main() {
11
+ const argv = process.argv.slice(2)
12
+ const showHint = shouldPrintStartupHint(argv)
13
+
14
+ let spinnerInterval = null
15
+ let spinnerIdx = 0
16
+ if (showHint && process.stderr.isTTY) {
17
+ process.stderr.write("\x1b[?25l")
18
+ const draw = () => {
19
+ process.stderr.write(`\r \x1b[36m\x1b[1mCodeGenie\x1b[0m \x1b[2m${SPINNER[spinnerIdx++ % SPINNER.length]} Loading...\x1b[0m`)
20
+ }
21
+ draw()
22
+ spinnerInterval = setInterval(draw, 100)
23
+ } else if (showHint) {
24
+ process.stderr.write(startupHintText() + "\n")
25
+ }
26
+
7
27
  const resolved = resolveBinary()
8
- const result = spawnSync(resolved.binaryPath, process.argv.slice(2), {
28
+
29
+ const child = spawn(resolved.binaryPath, argv, {
9
30
  stdio: "inherit",
10
- env: {
11
- ...process.env,
12
- CODEGENIE_INSTALL_SOURCE: "npm",
13
- CODEGENIE_NPM_PACKAGE: resolved.packageName,
14
- },
31
+ env: buildLaunchEnv(resolved.packageName, resolved.platformDir, process.env),
32
+ })
33
+
34
+ child.on("spawn", () => {
35
+ if (spinnerInterval) {
36
+ clearInterval(spinnerInterval)
37
+ spinnerInterval = null
38
+ }
15
39
  })
16
40
 
17
- if (result.error) {
18
- console.error(`[codegenie] Failed to start ${resolved.packageName}: ${result.error.message}`)
41
+ child.on("error", (err) => {
42
+ if (spinnerInterval) {
43
+ clearInterval(spinnerInterval)
44
+ }
45
+ process.stderr.write("\r\x1b[K\x1b[?25h")
46
+ console.error(`[codegenie] Failed to start ${resolved.packageName}: ${err.message}`)
19
47
  process.exit(1)
20
- }
48
+ })
21
49
 
22
- process.exit(result.status ?? 1)
50
+ child.on("exit", (code, signal) => {
51
+ if (spinnerInterval) {
52
+ clearInterval(spinnerInterval)
53
+ }
54
+ if (signal) {
55
+ process.kill(process.pid, signal)
56
+ } else {
57
+ process.exit(code ?? 1)
58
+ }
59
+ })
60
+
61
+ function forwardSignal(sig) {
62
+ if (child.pid) child.kill(sig)
63
+ }
64
+ process.on("SIGINT", forwardSignal)
65
+ process.on("SIGTERM", forwardSignal)
23
66
  }
24
67
 
25
68
  main()
@@ -1,14 +1,83 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const { resolveBinary } = require("../lib/resolve-binary.js")
3
+ const { execFileSync } = require("child_process")
4
+ const { resolveBinary, resolvePackageName } = require("../lib/resolve-binary.js")
5
+ const { prewarmBinary, warmStartupBinary } = require("../lib/prewarm.js")
6
+ const packageJson = require("../package.json")
7
+
8
+ function tryInstallPlatformPackage() {
9
+ let platformPackageName
10
+ try {
11
+ platformPackageName = resolvePackageName()
12
+ } catch {
13
+ return false
14
+ }
15
+
16
+ const platformVersion = packageJson.optionalDependencies && packageJson.optionalDependencies[platformPackageName]
17
+ const installSpec = platformVersion ? `${platformPackageName}@${platformVersion}` : platformPackageName
18
+ const npmExecutable = process.platform === "win32" ? "npm.cmd" : "npm"
19
+
20
+ console.log(`[codegenie] Platform package ${platformPackageName} not found, attempting to install...`)
21
+ try {
22
+ execFileSync(npmExecutable, ["install", "-g", installSpec], {
23
+ stdio: "inherit",
24
+ timeout: 120000,
25
+ })
26
+ return true
27
+ } catch (err) {
28
+ console.warn(`[codegenie] Failed to auto-install ${installSpec}: ${err && err.message ? err.message : String(err)}`)
29
+ return false
30
+ }
31
+ }
32
+
33
+ function runPostInstall() {
34
+ let resolved
35
+ try {
36
+ resolved = resolveBinary()
37
+ } catch (firstError) {
38
+ const attempted = tryInstallPlatformPackage()
39
+ if (!attempted) {
40
+ const message = firstError && firstError.message ? firstError.message : String(firstError)
41
+ console.warn("[codegenie] npm install completed, but platform binary verification will be deferred to first launch.")
42
+ console.warn(message)
43
+ return
44
+ }
45
+ try {
46
+ resolved = resolveBinary()
47
+ } catch (retryError) {
48
+ const message = retryError && retryError.message ? retryError.message : String(retryError)
49
+ console.warn("[codegenie] npm install completed, but platform binary verification will be deferred to first launch.")
50
+ console.warn(message)
51
+ return
52
+ }
53
+ }
4
54
 
5
- try {
6
- const resolved = resolveBinary()
7
55
  console.log("[codegenie] npm install complete. Global command \"codegenie\" is ready.")
8
56
  console.log(`[codegenie] Using platform package ${resolved.packageName}.`)
9
- console.log("[codegenie] First launch will only extract kernel files to ~/.codegenie/kernel. No second self-install is required.")
10
- } catch (error) {
11
- const message = error && error.message ? error.message : String(error)
12
- console.warn("[codegenie] npm install completed, but platform binary verification will be deferred to first launch.")
13
- console.warn(message)
57
+ console.log("[codegenie] Prewarming runtime assets during npm install...")
58
+ let result = prewarmBinary(resolved.binaryPath, resolved.platformDir)
59
+ if (result.error || (typeof result.status === "number" && result.status !== 0)) {
60
+ const reason = result.error ? result.error.message : `exit code ${result.status}`
61
+ console.warn(`[codegenie] Runtime prewarm attempt 1 failed (${reason}), retrying...`)
62
+ result = prewarmBinary(resolved.binaryPath, resolved.platformDir)
63
+ }
64
+ if (result.error) {
65
+ console.warn(`[codegenie] Runtime prewarm failed: ${result.error.message}`)
66
+ } else if (typeof result.status === "number" && result.status !== 0) {
67
+ console.warn(`[codegenie] Runtime prewarm exited with code ${result.status}. First launch will finish initialization.`)
68
+ } else {
69
+ console.log("[codegenie] Runtime assets are ready. First launch should be faster.")
70
+ }
71
+
72
+ if (process.platform === "win32" && process.env.CODEGENIE_SKIP_WARM_STARTUP !== "true") {
73
+ console.log("[codegenie] Finalizing hidden first-launch warmup...")
74
+ const startupWarm = warmStartupBinary(resolved.binaryPath, resolved.platformDir)
75
+ if (startupWarm.error) {
76
+ console.warn(`[codegenie] Hidden startup warmup failed: ${startupWarm.error.message}`)
77
+ } else if (typeof startupWarm.status === "number" && startupWarm.status !== 0) {
78
+ console.warn(`[codegenie] Hidden startup warmup exited with code ${startupWarm.status}. First visible launch may still be slower.`)
79
+ }
80
+ }
14
81
  }
82
+
83
+ runPostInstall()
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { cleanupAfterNpmUninstall } = require("../lib/cleanup.js")
4
+
5
+ try {
6
+ const result = cleanupAfterNpmUninstall()
7
+ if (result.removed) {
8
+ console.log(`[codegenie] Removed runtime directory: ${result.rootDir}`)
9
+ } else if (result.reason === "package-mismatch") {
10
+ console.log(`[codegenie] Skip runtime cleanup because install context belongs to another npm package.`)
11
+ } else if (result.reason === "missing") {
12
+ console.log("[codegenie] Runtime directory already removed.")
13
+ } else if (result.reason === "remove-failed") {
14
+ const hint = result.error && result.error.message ? ` (${result.error.message})` : ""
15
+ console.warn(`[codegenie] Failed to remove runtime directory${hint}. Remove manually: ${result.rootDir}`)
16
+ }
17
+ } catch (error) {
18
+ const message = error && error.message ? error.message : String(error)
19
+ console.warn(`[codegenie] Runtime cleanup during npm uninstall failed: ${message}`)
20
+ }
package/lib/cleanup.js ADDED
@@ -0,0 +1,97 @@
1
+ const fs = require("fs")
2
+ const os = require("os")
3
+ const path = require("path")
4
+
5
+ function runtimePaths(homeDir = os.homedir()) {
6
+ const rootDir = path.join(homeDir, ".codegenie")
7
+ const binDir = path.join(rootDir, "bin")
8
+ return {
9
+ rootDir,
10
+ binDir,
11
+ binaryPath: path.join(binDir, process.platform === "win32" ? "codegenie.exe" : "codegenie"),
12
+ installContextPath: path.join(rootDir, "install-context.json"),
13
+ }
14
+ }
15
+
16
+ function isRecord(value) {
17
+ return typeof value === "object" && value !== null
18
+ }
19
+
20
+ function belongsToExpectedPackageFamily(actualPackageName, expectedPackageName) {
21
+ return actualPackageName === expectedPackageName || actualPackageName.startsWith(`${expectedPackageName}-`)
22
+ }
23
+
24
+ function readInstallContext(homeDir = os.homedir()) {
25
+ try {
26
+ const raw = JSON.parse(fs.readFileSync(runtimePaths(homeDir).installContextPath, "utf-8"))
27
+ if (!isRecord(raw)) return null
28
+ if (raw.installSource !== "npm" && raw.installSource !== "standalone") return null
29
+ return {
30
+ installSource: raw.installSource,
31
+ npmPackageName:
32
+ typeof raw.npmPackageName === "string" && raw.npmPackageName.trim() ? raw.npmPackageName.trim() : null,
33
+ }
34
+ } catch {
35
+ return null
36
+ }
37
+ }
38
+
39
+ function removeWithRetry(targetPath, maxRetries = 2) {
40
+ for (let attempt = 0; attempt <= maxRetries; attempt++) {
41
+ try {
42
+ fs.rmSync(targetPath, { recursive: true, force: true })
43
+ return { success: true, error: null }
44
+ } catch (err) {
45
+ const code = err && err.code
46
+ if ((code === "EBUSY" || code === "EPERM") && attempt < maxRetries) {
47
+ const delay = (attempt + 1) * 500
48
+ const end = Date.now() + delay
49
+ while (Date.now() < end) { /* busy wait */ }
50
+ continue
51
+ }
52
+ return { success: false, error: err }
53
+ }
54
+ }
55
+ return { success: false, error: null }
56
+ }
57
+
58
+ function cleanupAfterNpmUninstall(options = {}) {
59
+ const homeDir = options.homeDir || os.homedir()
60
+ const expectedPackageName =
61
+ options.expectedPackageName || process.env.CODEGENIE_NPM_PACKAGE || process.env.npm_package_name || null
62
+ const paths = runtimePaths(homeDir)
63
+ const context = readInstallContext(homeDir)
64
+
65
+ if (
66
+ context &&
67
+ expectedPackageName &&
68
+ context.npmPackageName &&
69
+ context.installSource === "npm" &&
70
+ !belongsToExpectedPackageFamily(context.npmPackageName, expectedPackageName)
71
+ ) {
72
+ return { removed: false, reason: "package-mismatch", rootDir: paths.rootDir }
73
+ }
74
+
75
+ if (!fs.existsSync(paths.rootDir)) {
76
+ return { removed: false, reason: "missing", rootDir: paths.rootDir }
77
+ }
78
+
79
+ const result = removeWithRetry(paths.rootDir)
80
+ if (!result.success) {
81
+ return {
82
+ removed: false,
83
+ reason: "remove-failed",
84
+ rootDir: paths.rootDir,
85
+ error: result.error,
86
+ }
87
+ }
88
+ return { removed: true, reason: "removed", rootDir: paths.rootDir }
89
+ }
90
+
91
+ module.exports = {
92
+ belongsToExpectedPackageFamily,
93
+ cleanupAfterNpmUninstall,
94
+ readInstallContext,
95
+ removeWithRetry,
96
+ runtimePaths,
97
+ }
package/lib/launch.js ADDED
@@ -0,0 +1,18 @@
1
+ const packageJson = require("../package.json")
2
+
3
+ function buildLaunchEnv(resolvedPackageName, platformDir, baseEnv = process.env) {
4
+ const env = {
5
+ ...baseEnv,
6
+ CODEGENIE_INSTALL_SOURCE: "npm",
7
+ CODEGENIE_NPM_PACKAGE: packageJson.name,
8
+ CODEGENIE_NPM_PLATFORM_PACKAGE: resolvedPackageName,
9
+ }
10
+ if (platformDir) {
11
+ env.CODEGENIE_NPM_PLATFORM_DIR = platformDir
12
+ }
13
+ return env
14
+ }
15
+
16
+ module.exports = {
17
+ buildLaunchEnv,
18
+ }
package/lib/prewarm.js ADDED
@@ -0,0 +1,78 @@
1
+ const fs = require("fs")
2
+ const os = require("os")
3
+ const { spawnSync } = require("child_process")
4
+
5
+ function buildPrewarmEnv(platformDir, baseEnv = process.env) {
6
+ const env = {
7
+ ...baseEnv,
8
+ CODEGENIE_PREPARE_ONLY: "true",
9
+ CODEGENIE_INSTALL_SOURCE: "npm",
10
+ CODEGENIE_NPM_PACKAGE:
11
+ baseEnv.CODEGENIE_NPM_PACKAGE || baseEnv.npm_package_name || "codegenie",
12
+ }
13
+ if (platformDir) {
14
+ env.CODEGENIE_NPM_PLATFORM_DIR = platformDir
15
+ }
16
+ return env
17
+ }
18
+
19
+ function prewarmBinary(binaryPath, platformDir, spawnImpl = spawnSync, baseEnv = process.env) {
20
+ return spawnImpl(binaryPath, [], {
21
+ stdio: "ignore",
22
+ timeout: 120000,
23
+ env: buildPrewarmEnv(platformDir, baseEnv),
24
+ })
25
+ }
26
+
27
+ function buildStartupWarmEnv(platformDir, baseEnv = process.env) {
28
+ const env = {
29
+ ...baseEnv,
30
+ CODEGENIE_WARM_STARTUP: "true",
31
+ CODEGENIE_WARM_STARTUP_TIMEOUT_MS: baseEnv.CODEGENIE_WARM_STARTUP_TIMEOUT_MS || "10000",
32
+ CODEGENIE_INSTALL_SOURCE: "npm",
33
+ CODEGENIE_NPM_PACKAGE:
34
+ baseEnv.CODEGENIE_NPM_PACKAGE || baseEnv.npm_package_name || "codegenie",
35
+ OPENCODE_DISABLE_AUTOUPDATE: "true",
36
+ }
37
+ if (platformDir) {
38
+ env.CODEGENIE_NPM_PLATFORM_DIR = platformDir
39
+ }
40
+ return env
41
+ }
42
+
43
+ function resolveWarmupCwd(baseEnv = process.env, existsImpl = fs.existsSync) {
44
+ const initCwd = typeof baseEnv.INIT_CWD === "string" ? baseEnv.INIT_CWD.trim() : ""
45
+ if (initCwd && existsImpl(initCwd)) {
46
+ return initCwd
47
+ }
48
+
49
+ const userProfile = typeof baseEnv.USERPROFILE === "string" ? baseEnv.USERPROFILE.trim() : ""
50
+ if (userProfile) {
51
+ return userProfile
52
+ }
53
+
54
+ const home = typeof baseEnv.HOME === "string" ? baseEnv.HOME.trim() : ""
55
+ if (home) {
56
+ return home
57
+ }
58
+
59
+ return os.homedir()
60
+ }
61
+
62
+ function warmStartupBinary(binaryPath, platformDir, spawnImpl = spawnSync, baseEnv = process.env, existsImpl = fs.existsSync) {
63
+ return spawnImpl(binaryPath, [], {
64
+ stdio: "ignore",
65
+ timeout: 20000,
66
+ windowsHide: true,
67
+ cwd: resolveWarmupCwd(baseEnv, existsImpl),
68
+ env: buildStartupWarmEnv(platformDir, baseEnv),
69
+ })
70
+ }
71
+
72
+ module.exports = {
73
+ buildPrewarmEnv,
74
+ buildStartupWarmEnv,
75
+ prewarmBinary,
76
+ resolveWarmupCwd,
77
+ warmStartupBinary,
78
+ }
@@ -38,17 +38,25 @@ function resolvePackageName() {
38
38
  throw new Error(`Unsupported npm platform: ${process.platform}/${process.arch}${libcSuffix}`)
39
39
  }
40
40
 
41
+ function resolvePlatformPackageDir(packageName) {
42
+ const packageJsonPath = require.resolve(`${packageName}/package.json`)
43
+ return path.dirname(packageJsonPath)
44
+ }
45
+
41
46
  function resolveBinary() {
42
47
  const packageName = resolvePackageName()
43
- let packageJsonPath = ""
48
+ let platformDir = ""
44
49
  try {
45
- packageJsonPath = require.resolve(`${packageName}/package.json`)
50
+ platformDir = resolvePlatformPackageDir(packageName)
46
51
  } catch (error) {
47
- const metaPackageName = process.env.npm_package_name || "codegenie"
52
+ const metaPackageName = (() => {
53
+ try { return require("../package.json").name } catch { return null }
54
+ })() || process.env.npm_package_name || "@hippox/codegenie"
48
55
  const hint = [
49
56
  `[codegenie] Failed to locate installed binary package for ${process.platform}/${process.arch}.`,
50
57
  `[codegenie] Expected package: ${packageName}`,
51
- `[codegenie] Reinstall with \`npm install -g ${metaPackageName}\` or use the standalone binary for baseline / unsupported CPUs.`,
58
+ `[codegenie] Reinstall with \`npm install -g ${metaPackageName}\`.`,
59
+ `[codegenie] If your npm disables optionalDependencies, install \`${packageName}\` manually and retry.`,
52
60
  ].join("\n")
53
61
  const wrapped = new Error(hint)
54
62
  wrapped.cause = error
@@ -56,7 +64,7 @@ function resolveBinary() {
56
64
  }
57
65
 
58
66
  const binaryPath = path.join(
59
- path.dirname(packageJsonPath),
67
+ platformDir,
60
68
  "bin",
61
69
  process.platform === "win32" ? "codegenie.exe" : "codegenie",
62
70
  )
@@ -67,11 +75,13 @@ function resolveBinary() {
67
75
  return {
68
76
  packageName,
69
77
  binaryPath,
78
+ platformDir,
70
79
  }
71
80
  }
72
81
 
73
82
  module.exports = {
74
83
  detectLibc,
75
84
  resolveBinary,
85
+ resolvePlatformPackageDir,
76
86
  resolvePackageName,
77
87
  }
@@ -0,0 +1,31 @@
1
+ const NON_INTERACTIVE_ARGS = new Set([
2
+ "--version", "-v", "--help", "-h",
3
+ "check-update", "upgrade", "rollback", "uninstall",
4
+ "login", "logout",
5
+ ])
6
+
7
+ function isInteractiveLaunch(argv = []) {
8
+ if (argv.length === 0) return true
9
+ if (argv[0] === "run" || argv[0] === "--") return true
10
+ return false
11
+ }
12
+
13
+ function shouldPrintStartupHint(argv = [], options = {}) {
14
+ const env = options.env || process.env
15
+ const isTTY = options.isTTY ?? process.stderr.isTTY
16
+
17
+ if (!isTTY) return false
18
+ if (env.CODEGENIE_PREPARE_ONLY === "true" || env.CODEGENIE_WARM_STARTUP === "true") return false
19
+ if (argv.length > 0 && NON_INTERACTIVE_ARGS.has(argv[0])) return false
20
+ return isInteractiveLaunch(argv)
21
+ }
22
+
23
+ function startupHintText() {
24
+ return "\x1b[36m\x1b[1m CodeGenie\x1b[0m\x1b[2m Loading...\x1b[0m"
25
+ }
26
+
27
+ module.exports = {
28
+ isInteractiveLaunch,
29
+ shouldPrintStartupHint,
30
+ startupHintText,
31
+ }
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@hippox/codegenie",
3
- "version": "3.11.2026",
3
+ "version": "3.13.2026",
4
4
  "private": false,
5
- "description": "HarmonyOS AI 开发 CLI,binary-first 发布并通过 npm 分发平台二进制",
5
+ "description": "HarmonyOS AI 开发 CLI,通过 npm 分发平台二进制",
6
6
  "license": "MIT",
7
7
  "scripts": {
8
- "postinstall": "node ./bin/postinstall.js"
8
+ "postinstall": "node ./bin/postinstall.js",
9
+ "preuninstall": "node ./bin/uninstall.js",
10
+ "uninstall": "node ./bin/uninstall.js",
11
+ "postuninstall": "node ./bin/uninstall.js"
9
12
  },
10
13
  "bin": {
11
14
  "codegenie": "bin/codegenie.js"
@@ -23,7 +26,9 @@
23
26
  "ai"
24
27
  ],
25
28
  "optionalDependencies": {
26
- "@hippox/codegenie-win32-x64": "3.11.2026"
29
+ "@hippox/codegenie-darwin-arm64": "3.13.2026",
30
+ "@hippox/codegenie-darwin-x64": "3.13.2026",
31
+ "@hippox/codegenie-win32-x64": "3.13.2026"
27
32
  },
28
33
  "publishConfig": {
29
34
  "access": "public"
package/platform-map.json CHANGED
@@ -1,3 +1,5 @@
1
1
  {
2
+ "darwin-arm64": "@hippox/codegenie-darwin-arm64",
3
+ "darwin-x64": "@hippox/codegenie-darwin-x64",
2
4
  "win32-x64": "@hippox/codegenie-win32-x64"
3
5
  }