codev-code 1.17.16 → 1.17.18-2

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
@@ -1,18 +1,16 @@
1
1
  # CoDev Code
2
2
 
3
- The AI agent harness.
4
-
5
3
  The recommended install path is the CoDev hub, which also wires up the AI gateway:
6
4
 
7
5
  ```sh
8
- npm install -g codev-ai
9
- codev install
6
+ npm i -g codev-ai
7
+ codevhub install
10
8
  codev
11
9
  ```
12
10
 
13
11
  Direct install:
14
12
 
15
13
  ```sh
16
- npm install -g codev-code
14
+ npm i -g codev-code
17
15
  codev
18
16
  ```
package/package.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "git+https://github.com/quickbeard/codev-code.git"
7
7
  },
8
8
  "bin": {
9
- "codev-code": "./bin/opencode.exe"
9
+ "codev": "./bin/codev.exe"
10
10
  },
11
11
  "scripts": {
12
12
  "postinstall": "node ./postinstall.mjs"
13
13
  },
14
- "version": "1.17.16",
14
+ "version": "1.17.18-2",
15
15
  "license": "MIT",
16
16
  "os": [
17
17
  "darwin",
@@ -23,17 +23,17 @@
23
23
  "x64"
24
24
  ],
25
25
  "optionalDependencies": {
26
- "codev-code-darwin-arm64": "1.17.16",
27
- "codev-code-darwin-x64-baseline": "1.17.16",
28
- "codev-code-windows-x64": "1.17.16",
29
- "codev-code-linux-arm64": "1.17.16",
30
- "codev-code-windows-x64-baseline": "1.17.16",
31
- "codev-code-linux-x64-musl": "1.17.16",
32
- "codev-code-linux-x64-baseline": "1.17.16",
33
- "codev-code-linux-x64": "1.17.16",
34
- "codev-code-darwin-x64": "1.17.16",
35
- "codev-code-windows-arm64": "1.17.16",
36
- "codev-code-linux-x64-baseline-musl": "1.17.16",
37
- "codev-code-linux-arm64-musl": "1.17.16"
26
+ "codev-code-linux-x64": "1.17.18-2",
27
+ "codev-code-linux-x64-baseline-musl": "1.17.18-2",
28
+ "codev-code-linux-arm64": "1.17.18-2",
29
+ "codev-code-linux-x64-musl": "1.17.18-2",
30
+ "codev-code-linux-x64-baseline": "1.17.18-2",
31
+ "codev-code-windows-x64-baseline": "1.17.18-2",
32
+ "codev-code-darwin-arm64": "1.17.18-2",
33
+ "codev-code-windows-x64": "1.17.18-2",
34
+ "codev-code-windows-arm64": "1.17.18-2",
35
+ "codev-code-linux-arm64-musl": "1.17.18-2",
36
+ "codev-code-darwin-x64-baseline": "1.17.18-2",
37
+ "codev-code-darwin-x64": "1.17.18-2"
38
38
  }
39
39
  }
package/postinstall.mjs CHANGED
@@ -24,11 +24,11 @@ const archMap = {
24
24
 
25
25
  const platform = platformMap[os.platform()] ?? os.platform()
26
26
  const arch = archMap[os.arch()] ?? os.arch()
27
- // Fork: platform binary packages are published as codev-code-<platform>
28
- // (must match bin/opencode and script/publish.ts).
27
+ // Fork: platform binary packages are published as codev-code-<platform>,
28
+ // each shipping bin/codev (must match script/build.ts and script/publish.ts).
29
29
  const base = `codev-code-${platform}-${arch}`
30
- const sourceBinary = platform === "windows" ? "opencode.exe" : "opencode"
31
- const targetBinary = path.join(__dirname, "bin", "opencode.exe")
30
+ const sourceBinary = platform === "windows" ? "codev.exe" : "codev"
31
+ const targetBinary = path.join(__dirname, "bin", "codev.exe")
32
32
 
33
33
  function supportsAvx2() {
34
34
  if (arch !== "x64") return false
@@ -129,7 +129,7 @@ function installPackage(name) {
129
129
  const version = packageJson.optionalDependencies?.[name]
130
130
  if (!version) return
131
131
 
132
- const temp = fs.mkdtempSync(path.join(os.tmpdir(), "opencode-install-"))
132
+ const temp = fs.mkdtempSync(path.join(os.tmpdir(), "codev-install-"))
133
133
  try {
134
134
  const result = childProcess.spawnSync(
135
135
  "npm",
@@ -177,7 +177,7 @@ function main() {
177
177
  }
178
178
 
179
179
  throw new Error(
180
- `It seems your package manager failed to install the right opencode CLI package. Try manually installing ${packageNames()
180
+ `It seems your package manager failed to install the right codev CLI package. Try manually installing ${packageNames()
181
181
  .map((name) => JSON.stringify(name))
182
182
  .join(" or ")}.`,
183
183
  )
File without changes