@cdoing/opentuicli 0.1.36 → 0.1.38

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/package.json +6 -6
  2. package/postinstall.mjs +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdoing/opentuicli",
3
- "version": "0.1.36",
3
+ "version": "0.1.38",
4
4
  "description": "OpenTUI-based terminal interface for cdoing agent (inspired by opencode's TUI)",
5
5
  "bin": {
6
6
  "opentuicli": "./bin/cdoing-tui.cjs",
@@ -11,10 +11,10 @@
11
11
  },
12
12
  "license": "Apache-2.0",
13
13
  "optionalDependencies": {
14
- "@cdoing/cdoing-tui-linux-arm64": "0.1.36",
15
- "@cdoing/cdoing-tui-windows-x64": "0.1.36",
16
- "@cdoing/cdoing-tui-darwin-x64": "0.1.36",
17
- "@cdoing/cdoing-tui-linux-x64": "0.1.36",
18
- "@cdoing/cdoing-tui-darwin-arm64": "0.1.36"
14
+ "@cdoing/cdoing-tui-linux-arm64": "0.1.38",
15
+ "@cdoing/cdoing-tui-windows-x64": "0.1.38",
16
+ "@cdoing/cdoing-tui-darwin-x64": "0.1.38",
17
+ "@cdoing/cdoing-tui-linux-x64": "0.1.38",
18
+ "@cdoing/cdoing-tui-darwin-arm64": "0.1.38"
19
19
  }
20
20
  }
package/postinstall.mjs CHANGED
@@ -77,8 +77,10 @@ async function main() {
77
77
 
78
78
  console.log(`@cdoing/opentuicli: Linked binary from ${binaryPath}`)
79
79
  } catch (error) {
80
- console.error("Failed to setup cdoing-tui binary:", error.message)
81
- process.exit(1)
80
+ console.warn("@cdoing/opentuicli: postinstall skipped -", error.message)
81
+ // Exit 0 so npx/npm don't treat this as a failed install.
82
+ // The bin wrapper has a fallback to find the binary at runtime.
83
+ process.exit(0)
82
84
  }
83
85
  }
84
86