nuwaxcode 1.1.25 → 1.1.26

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/bin/nuwaxcode CHANGED
@@ -44,8 +44,8 @@ let arch = archMap[os.arch()]
44
44
  if (!arch) {
45
45
  arch = os.arch()
46
46
  }
47
- const base = "opencode-" + platform + "-" + arch
48
- const binary = platform === "windows" ? "opencode.exe" : "opencode"
47
+ const base = "nuwaxcode-" + platform + "-" + arch
48
+ const binary = platform === "windows" ? "nuwaxcode.exe" : "nuwaxcode"
49
49
 
50
50
  function findBinary(startDir) {
51
51
  let current = startDir
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "name": "nuwaxcode",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
-
8
7
  "scripts": {
9
8
  "typecheck": "tsgo --noEmit",
10
9
  "test": "bun test",
@@ -77,10 +76,6 @@
77
76
  "@octokit/graphql": "9.0.2",
78
77
  "@octokit/rest": "catalog:",
79
78
  "@openauthjs/openauth": "catalog:",
80
- "@opencode-ai/plugin": "workspace:*",
81
- "@opencode-ai/script": "workspace:*",
82
- "@opencode-ai/sdk": "workspace:*",
83
- "@opencode-ai/util": "workspace:*",
84
79
  "@openrouter/ai-sdk-provider": "1.5.2",
85
80
  "@opentui/core": "0.1.74",
86
81
  "@opentui/solid": "0.1.74",
@@ -119,5 +114,12 @@
119
114
  "yargs": "18.0.0",
120
115
  "zod": "catalog:",
121
116
  "zod-to-json-schema": "3.24.5"
117
+ },
118
+ "optionalDependencies": {
119
+ "nuwaxcode-darwin-arm64": "1.1.25",
120
+ "nuwaxcode-darwin-x64": "1.1.25",
121
+ "nuwaxcode-linux-arm64": "1.1.25",
122
+ "nuwaxcode-linux-x64": "1.1.25",
123
+ "nuwaxcode-windows-x64": "1.1.25"
122
124
  }
123
125
  }
package/script/build.ts CHANGED
@@ -139,7 +139,7 @@ for (const item of targets) {
139
139
  autoloadTsconfig: true,
140
140
  autoloadPackageJson: true,
141
141
  target: name.replace(pkg.name, "bun") as any,
142
- outfile: `dist/${name}/bin/opencode`,
142
+ outfile: `dist/${name}/bin/nuwaxcode`,
143
143
  execArgv: [`--user-agent=opencode/${Script.version}`, "--use-system-ca", "--"],
144
144
  windows: {},
145
145
  },
@@ -158,7 +158,7 @@ for (const item of targets) {
158
158
  JSON.stringify(
159
159
  {
160
160
  name,
161
- version: Script.version,
161
+ version: "1.1.26",
162
162
  os: [item.os],
163
163
  cpu: [item.arch],
164
164
  },