@siteboon/claude-code-ui 1.10.5 → 1.12.0

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 (74) hide show
  1. package/README.md +55 -17
  2. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  3. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  4. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  5. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  6. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  7. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  8. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  9. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  10. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  11. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  12. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  13. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  14. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  15. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  16. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  17. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  18. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  19. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  20. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  21. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  22. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  23. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  24. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  25. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  26. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  27. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  28. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  29. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  30. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  31. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  32. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  33. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  34. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  35. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  36. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  37. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  38. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  39. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  40. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  41. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  42. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  43. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  44. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  45. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  46. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  47. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  48. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  49. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  50. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  51. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  52. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  53. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  54. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  55. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  56. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  57. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  58. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  59. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  60. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  61. package/dist/assets/index-DXtzL-q9.css +32 -0
  62. package/dist/assets/index-Do2w3FiK.js +1189 -0
  63. package/dist/assets/{vendor-codemirror-B7BYDWj-.js → vendor-codemirror-CnTQH7Pk.js} +1 -1
  64. package/dist/assets/{vendor-react-7V_UDHjJ.js → vendor-react-DVSKlM5e.js} +9 -9
  65. package/dist/index.html +4 -4
  66. package/package.json +6 -2
  67. package/server/cli.js +225 -0
  68. package/server/database/auth.db +0 -0
  69. package/server/database/db.js +35 -1
  70. package/server/index.js +86 -41
  71. package/server/middleware/auth.js +34 -3
  72. package/server/routes/projects.js +378 -0
  73. package/dist/assets/index-B4_v-YUz.css +0 -32
  74. package/dist/assets/index-C4hbM6ph.js +0 -932
package/README.md CHANGED
@@ -69,8 +69,7 @@ npx @siteboon/claude-code-ui
69
69
 
70
70
  The server will start and be accessible at `http://localhost:3001` (or your configured PORT).
71
71
 
72
- **To restart**: Simply run the same `npx` command again after stopping the server (Ctrl+C or Cmd+C).
73
-
72
+ **To restart**: Simply run the same `npx` command again after stopping the server
74
73
  ### Global Installation (For Regular Use)
75
74
 
76
75
  For frequent use, install globally once:
@@ -85,32 +84,71 @@ Then start with a simple command:
85
84
  claude-code-ui
86
85
  ```
87
86
 
88
- **Benefits**:
89
- - Faster startup (no download/cache check)
90
- - Simple command to remember
91
- - Same experience every time
92
87
 
93
88
  **To restart**: Stop with Ctrl+C and run `claude-code-ui` again.
94
89
 
95
- ### Run as Background Service (Optional)
90
+ ### CLI Commands
96
91
 
97
- To keep the server running in the background, use PM2:
92
+ After global installation, you have access to both `claude-code-ui` and `cloudcli` commands:
93
+
94
+ ```bash
95
+ # Start the server (default command)
96
+ claude-code-ui
97
+ cloudcli start
98
+
99
+ # Show configuration and data locations
100
+ cloudcli status
101
+
102
+ # Show help information
103
+ cloudcli help
104
+
105
+ # Show version
106
+ cloudcli version
107
+ ```
108
+
109
+ **The `cloudcli status` command shows you:**
110
+ - Installation directory location
111
+ - Database location (where credentials are stored)
112
+ - Current configuration (PORT, DATABASE_PATH, etc.)
113
+ - Claude projects folder location
114
+ - Configuration file location
115
+
116
+ ```
117
+
118
+ ### Run as Background Service (Recommended for Production)
119
+
120
+ For production use, run Claude Code UI as a background service using PM2 (Process Manager 2):
121
+
122
+ #### Install PM2
98
123
 
99
124
  ```bash
100
- # Install PM2 globally (one-time)
101
125
  npm install -g pm2
126
+ ```
127
+
128
+ #### Start as Background Service
129
+
130
+ ```bash
131
+ # Start the server in background
132
+ pm2 start claude-code-ui --name "claude-code-ui"
133
+
134
+ # Or using the shorter alias
135
+ pm2 start cloudcli --name "claude-code-ui"
136
+ ```
137
+
138
+
139
+ #### Auto-Start on System Boot
102
140
 
103
- # Start the server
104
- pm2 start claude-code-ui --name "claude-ui"
141
+ To make Claude Code UI start automatically when your system boots:
105
142
 
106
- # Manage the service
107
- pm2 list # View status
108
- pm2 restart claude-ui # Restart
109
- pm2 stop claude-ui # Stop
110
- pm2 logs claude-ui # View logs
111
- pm2 startup # Auto-start on system boot
143
+ ```bash
144
+ # Generate startup script for your platform
145
+ pm2 startup
146
+
147
+ # Save current process list
148
+ pm2 save
112
149
  ```
113
150
 
151
+
114
152
  ### Local Development Installation
115
153
 
116
154
  1. **Clone the repository:**