goatchain-cli 0.0.8-beta.5 → 0.0.8-beta.8

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/goatchain +3 -3
  2. package/package.json +6 -6
package/bin/goatchain CHANGED
@@ -15,8 +15,8 @@ const wrapperDir = path.join(__dirname, "..").replace(/\\/g, "/").toLowerCase()
15
15
  const wrapperPm = (wrapperDir.includes(".bun/") || wrapperDir.includes("bun/install/")) ? "bun" : "npm"
16
16
 
17
17
  function run(target) {
18
- const env = { ...process.env, GOATCHAIN_NPM_PACKAGE: "goatchain-cli", GOATCHAIN_NPM_PACKAGE_MANAGER: wrapperPm }
19
- if (wrapperVersion) env.GOATCHAIN_NPM_PACKAGE_VERSION = wrapperVersion
18
+ const env = { ...process.env, DIMCODE_NPM_PACKAGE: "goatchain-cli", DIMCODE_NPM_PACKAGE_MANAGER: wrapperPm }
19
+ if (wrapperVersion) env.DIMCODE_NPM_PACKAGE_VERSION = wrapperVersion
20
20
  const result = childProcess.spawnSync(target, process.argv.slice(2), {
21
21
  stdio: "inherit",
22
22
  cwd: process.cwd(),
@@ -29,7 +29,7 @@ function run(target) {
29
29
  process.exit(typeof result.status === "number" ? result.status : 0)
30
30
  }
31
31
 
32
- const envPath = process.env.GOATCHAIN_BIN_PATH
32
+ const envPath = process.env.DIMCODE_BIN_PATH
33
33
  if (envPath) {
34
34
  run(envPath)
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goatchain-cli",
3
- "version": "0.0.8-beta.5",
3
+ "version": "0.0.8-beta.8",
4
4
  "description": "AI coding agent CLI - binary distribution",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -10,10 +10,10 @@
10
10
  "postinstall": "node ./postinstall.mjs"
11
11
  },
12
12
  "optionalDependencies": {
13
- "goatchain-cli-darwin-arm64": "0.0.8-beta.5",
14
- "goatchain-cli-darwin-x64": "0.0.8-beta.5",
15
- "goatchain-cli-linux-arm64": "0.0.8-beta.5",
16
- "goatchain-cli-linux-x64": "0.0.8-beta.5",
17
- "goatchain-cli-windows-x64": "0.0.8-beta.5"
13
+ "goatchain-cli-darwin-arm64": "0.0.8-beta.8",
14
+ "goatchain-cli-darwin-x64": "0.0.8-beta.8",
15
+ "goatchain-cli-linux-arm64": "0.0.8-beta.8",
16
+ "goatchain-cli-linux-x64": "0.0.8-beta.8",
17
+ "goatchain-cli-windows-x64": "0.0.8-beta.8"
18
18
  }
19
19
  }