replit-tools 1.1.15 → 1.1.16

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/install.sh CHANGED
@@ -294,11 +294,20 @@ claude_prompt() {
294
294
  [ -n "$last_session" ] && echo " └─ ${last_session:0:8}..."
295
295
  echo " [r] Resume a specific session (pick from list)"
296
296
  echo " [n] Start new session"
297
+ echo " [l] Login to Claude (authenticate)"
297
298
  echo " [s] Skip - just give me a shell"
298
299
  echo ""
299
300
 
301
+ # Colored command key
302
+ echo " ┌─────────────────────────────────────────────────────────┐"
303
+ echo -e " │ \033[36mcm\033[0m = show this menu \033[36ml\033[0m = login \033[36mclaude-menu\033[0m = show menu │"
304
+ echo " │ │"
305
+ echo -e " │ \033[33mCtrl+C\033[0m to exit and run: \033[32mclaude --dangerously-skip-permissions\033[0m │"
306
+ echo " └─────────────────────────────────────────────────────────┘"
307
+ echo ""
308
+
300
309
  local choice
301
- read -t 30 -n 1 -p " Choice [c/r/n/s]: " choice
310
+ read -t 30 -n 1 -p " Choice [c/r/n/l/s]: " choice
302
311
  echo ""
303
312
 
304
313
  case "$choice" in
@@ -327,7 +336,11 @@ claude_prompt() {
327
336
  echo ""; echo " Starting new Claude session..."
328
337
  claude --dangerously-skip-permissions
329
338
  save_session_state "$(tail -1 "${HOME}/.claude/history.jsonl" 2>/dev/null | grep -oP '"sessionId":"[^"]+"' | cut -d'"' -f4)" ;;
330
- s|S) echo ""; echo " Okay, just a shell. Type 'claude' or 'cr' when ready." ;;
339
+ l|L)
340
+ echo ""; echo " Starting Claude login..."
341
+ claude /login --dangerously-skip-permissions
342
+ echo ""; echo " Login complete." ;;
343
+ s|S) echo ""; echo " Okay, just a shell. Type 'cm' or 'l' when ready." ;;
331
344
  *) echo ""; echo " Unknown option. Type 'claude' to start manually." ;;
332
345
  esac
333
346
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replit-tools",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "DATA Tools - One command to set up Claude Code and Codex CLI on Replit with full persistence",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -308,6 +308,14 @@ claude_prompt() {
308
308
  echo " [s] Skip - just give me a shell"
309
309
  echo ""
310
310
 
311
+ # Colored command key
312
+ echo " ┌─────────────────────────────────────────────────────────┐"
313
+ echo -e " │ \033[36mcm\033[0m = show this menu \033[36ml\033[0m = login \033[36mclaude-menu\033[0m = show menu │"
314
+ echo " │ │"
315
+ echo -e " │ \033[33mCtrl+C\033[0m to exit and run: \033[32mclaude --dangerously-skip-permissions\033[0m │"
316
+ echo " └─────────────────────────────────────────────────────────┘"
317
+ echo ""
318
+
311
319
  # Read choice with timeout
312
320
  local choice
313
321
  read -t 60 -n 1 -p " Choice [c/r/n/l/s]: " choice