claude-remote-cli 3.9.1 → 3.9.3

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.
@@ -166,6 +166,10 @@ async function main() {
166
166
  saveConfig(CONFIG_PATH, config);
167
167
  }
168
168
  if (!config.pinHash) {
169
+ if (!process.stdin.isTTY) {
170
+ console.error('No PIN configured. Run claude-remote-cli interactively first to set a PIN.');
171
+ process.exit(1);
172
+ }
169
173
  const pin = await promptPin('Set up a PIN for claude-remote-cli:');
170
174
  config.pinHash = await auth.hashPin(pin);
171
175
  saveConfig(CONFIG_PATH, config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-remote-cli",
3
- "version": "3.9.1",
3
+ "version": "3.9.3",
4
4
  "description": "Remote web interface for Claude Code CLI sessions",
5
5
  "type": "module",
6
6
  "main": "dist/server/index.js",