@cdoing/opentuicli 0.1.33 → 0.1.35
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/cdoing-tui.cjs +1 -1
- package/package.json +8 -7
- package/postinstall.mjs +1 -1
- package/cdoing-opentuicli-0.1.33.tgz +0 -0
package/bin/cdoing-tui.cjs
CHANGED
|
@@ -50,7 +50,7 @@ if (!arch) {
|
|
|
50
50
|
arch = os.arch()
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
const base = "@cdoing/
|
|
53
|
+
const base = "@cdoing/cdoing-tui-" + platform + "-" + arch
|
|
54
54
|
const binary = platform === "windows" ? "cdoing-tui.exe" : "cdoing-tui"
|
|
55
55
|
|
|
56
56
|
const names = [base]
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cdoing/opentuicli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"description": "OpenTUI-based terminal interface for cdoing agent (inspired by opencode's TUI)",
|
|
5
5
|
"bin": {
|
|
6
|
-
"cdoing-tui": "./bin/cdoing-tui.cjs"
|
|
6
|
+
"cdoing-tui": "./bin/cdoing-tui.cjs",
|
|
7
|
+
"opentuicli": "./bin/cdoing-tui.cjs"
|
|
7
8
|
},
|
|
8
9
|
"scripts": {
|
|
9
10
|
"postinstall": "node ./postinstall.mjs"
|
|
10
11
|
},
|
|
11
12
|
"license": "Apache-2.0",
|
|
12
13
|
"optionalDependencies": {
|
|
13
|
-
"@cdoing/cdoing-tui-linux-arm64": "0.1.
|
|
14
|
-
"@cdoing/cdoing-tui-windows-x64": "0.1.
|
|
15
|
-
"@cdoing/cdoing-tui-darwin-x64": "0.1.
|
|
16
|
-
"@cdoing/cdoing-tui-linux-x64": "0.1.
|
|
17
|
-
"@cdoing/cdoing-tui-darwin-arm64": "0.1.
|
|
14
|
+
"@cdoing/cdoing-tui-linux-arm64": "0.1.35",
|
|
15
|
+
"@cdoing/cdoing-tui-windows-x64": "0.1.35",
|
|
16
|
+
"@cdoing/cdoing-tui-darwin-x64": "0.1.35",
|
|
17
|
+
"@cdoing/cdoing-tui-linux-x64": "0.1.35",
|
|
18
|
+
"@cdoing/cdoing-tui-darwin-arm64": "0.1.35"
|
|
18
19
|
}
|
|
19
20
|
}
|
package/postinstall.mjs
CHANGED
|
@@ -28,7 +28,7 @@ function detectPlatformAndArch() {
|
|
|
28
28
|
|
|
29
29
|
function findBinary() {
|
|
30
30
|
const { platform, arch } = detectPlatformAndArch()
|
|
31
|
-
const packageName = `@cdoing/
|
|
31
|
+
const packageName = `@cdoing/cdoing-tui-${platform}-${arch}`
|
|
32
32
|
const binaryName = platform === "windows" ? "cdoing-tui.exe" : "cdoing-tui"
|
|
33
33
|
|
|
34
34
|
try {
|
|
Binary file
|