codev-code 1.17.18 → 1.18.3-1

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,3 @@
1
1
  # CoDev Code
2
2
 
3
- The AI agent harness.
4
-
5
- The recommended install path is the CoDev hub, which also wires up the AI gateway:
6
-
7
- ```sh
8
- npm install -g codev-ai
9
- codevhub install
10
- codev
11
- ```
12
-
13
- Direct install:
14
-
15
- ```sh
16
- npm install -g codev-code
17
- codev
18
- ```
3
+ Whatever I don't like about the upstream, I'll fix here—and push back upstream because I'm not a selfish brick.
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "codev-code",
3
- "description": "CoDev Code — the AI agent harness",
3
+ "description": "Just another AI agent harness",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/quickbeard/codev-code.git"
7
7
  },
8
8
  "bin": {
9
- "codev": "./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.18",
14
+ "version": "1.18.3-1",
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.18",
27
- "codev-code-darwin-x64-baseline": "1.17.18",
28
- "codev-code-windows-x64": "1.17.18",
29
- "codev-code-linux-arm64": "1.17.18",
30
- "codev-code-windows-x64-baseline": "1.17.18",
31
- "codev-code-linux-x64-musl": "1.17.18",
32
- "codev-code-linux-x64-baseline": "1.17.18",
33
- "codev-code-linux-x64": "1.17.18",
34
- "codev-code-darwin-x64": "1.17.18",
35
- "codev-code-windows-arm64": "1.17.18",
36
- "codev-code-linux-x64-baseline-musl": "1.17.18",
37
- "codev-code-linux-arm64-musl": "1.17.18"
26
+ "codev-code-darwin-arm64": "1.18.3-1",
27
+ "codev-code-darwin-x64-baseline": "1.18.3-1",
28
+ "codev-code-windows-x64": "1.18.3-1",
29
+ "codev-code-linux-arm64": "1.18.3-1",
30
+ "codev-code-windows-x64-baseline": "1.18.3-1",
31
+ "codev-code-linux-x64-musl": "1.18.3-1",
32
+ "codev-code-linux-x64-baseline": "1.18.3-1",
33
+ "codev-code-linux-x64": "1.18.3-1",
34
+ "codev-code-darwin-x64": "1.18.3-1",
35
+ "codev-code-windows-arm64": "1.18.3-1",
36
+ "codev-code-linux-x64-baseline-musl": "1.18.3-1",
37
+ "codev-code-linux-arm64-musl": "1.18.3-1"
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