bizcoder 0.3.87 → 0.3.89

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/bin/bizcoder.mjs +5 -2
  2. package/package.json +7 -5
package/bin/bizcoder.mjs CHANGED
@@ -6,10 +6,13 @@ import { createRequire } from "node:module"
6
6
  import os from "node:os"
7
7
 
8
8
  const require = createRequire(import.meta.url)
9
- const pkg = `bizcoder-${os.platform()}-${os.arch()}`
9
+ // npm 패키지명은 windows, os.platform() 은 win32 — 이름만 매핑하고 바이너리는 .exe.
10
+ const platform = os.platform() === "win32" ? "windows" : os.platform()
11
+ const pkg = `bizcoder-${platform}-${os.arch()}`
12
+ const binName = platform === "windows" ? "bizcoder.exe" : "bizcoder"
10
13
  let bin
11
14
  try {
12
- bin = require.resolve(`${pkg}/bin/bizcoder`)
15
+ bin = require.resolve(`${pkg}/bin/${binName}`)
13
16
  } catch {
14
17
  console.error(`BizCoder: 이 플랫폼(${os.platform()}-${os.arch()})용 실행 파일을 찾지 못했어요.`)
15
18
  console.error(`해결: npm install -g bizcoder --force · 안내: https://bizcoder.ai/cli/`)
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "bizcoder",
3
- "version": "0.3.87",
3
+ "version": "0.3.89",
4
4
  "description": "BizCoder — 기업용 AI 코딩 에이전트 (terminal CLI). 웹과 같은 회사 계정·정책·청구로 묶입니다.",
5
5
  "bin": { "bizcoder": "bin/bizcoder.mjs" },
6
6
  "optionalDependencies": {
7
- "bizcoder-darwin-arm64": "0.3.87",
8
- "bizcoder-darwin-x64": "0.3.87",
9
- "bizcoder-linux-arm64": "0.3.87",
10
- "bizcoder-linux-x64": "0.3.87"
7
+ "bizcoder-darwin-arm64": "0.3.89",
8
+ "bizcoder-darwin-x64": "0.3.89",
9
+ "bizcoder-linux-arm64": "0.3.89",
10
+ "bizcoder-linux-x64": "0.3.89",
11
+ "bizcoder-windows-arm64": "0.3.89",
12
+ "bizcoder-windows-x64": "0.3.89"
11
13
  },
12
14
  "engines": { "node": ">=18" },
13
15
  "license": "MIT",