@atercates/claude-deck 0.2.12 → 0.2.14
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/README.md +4 -4
- package/package.json +1 -1
- package/scripts/install.sh +13 -12
package/README.md
CHANGED
|
@@ -7,13 +7,13 @@ Self-hosted web UI for managing Claude Code sessions.
|
|
|
7
7
|
### Quick Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
curl -fsSL https://raw.githubusercontent.com/ATERCATES/claude-deck/main/scripts/install.sh
|
|
10
|
+
curl -fsSL https://raw.githubusercontent.com/ATERCATES/claude-deck/main/scripts/install.sh -o /tmp/install-claudedeck.sh
|
|
11
|
+
bash /tmp/install-claudedeck.sh
|
|
11
12
|
```
|
|
12
13
|
|
|
13
14
|
The installer will:
|
|
14
15
|
|
|
15
|
-
- Install Node.js 24 if needed
|
|
16
|
-
- Install pnpm
|
|
16
|
+
- Install Node.js 24, pnpm, and tmux if needed
|
|
17
17
|
- Ask for port, SSH host/port (for VS Code remote button)
|
|
18
18
|
- Clone, build, and start as a systemd service
|
|
19
19
|
- First visit prompts you to create an account
|
|
@@ -21,7 +21,7 @@ The installer will:
|
|
|
21
21
|
### Non-Interactive
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
|
|
24
|
+
curl -fsSL https://raw.githubusercontent.com/ATERCATES/claude-deck/main/scripts/install.sh | bash -s -- --port 3011 --ssh-host myserver.com --ssh-port 22 -y
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
### Manual Install
|
package/package.json
CHANGED
package/scripts/install.sh
CHANGED
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
#
|
|
3
3
|
# ClaudeDeck Installer
|
|
4
4
|
#
|
|
5
|
-
# Install:
|
|
6
|
-
# curl -fsSL https://raw.githubusercontent.com/ATERCATES/claude-deck/main/scripts/install.sh
|
|
5
|
+
# Install (interactive):
|
|
6
|
+
# curl -fsSL https://raw.githubusercontent.com/ATERCATES/claude-deck/main/scripts/install.sh -o /tmp/install-claudedeck.sh
|
|
7
|
+
# bash /tmp/install-claudedeck.sh
|
|
7
8
|
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
9
|
+
# Install (non-interactive):
|
|
10
|
+
# curl -fsSL https://raw.githubusercontent.com/ATERCATES/claude-deck/main/scripts/install.sh | bash -s -- --port 3011 --ssh-host myserver.com --ssh-port 22 -y
|
|
10
11
|
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
12
|
+
# Update:
|
|
13
|
+
# ~/.claude-deck/scripts/install.sh --update
|
|
13
14
|
#
|
|
14
15
|
|
|
15
16
|
set -e
|
|
@@ -128,7 +129,7 @@ if [[ "$FLAG_UPDATE" == true ]]; then
|
|
|
128
129
|
fi
|
|
129
130
|
|
|
130
131
|
log_info "Installing dependencies..."
|
|
131
|
-
pnpm install
|
|
132
|
+
pnpm install
|
|
132
133
|
|
|
133
134
|
log_info "Building..."
|
|
134
135
|
rm -f .next/build.lock
|
|
@@ -202,10 +203,7 @@ else
|
|
|
202
203
|
cd "$INSTALL_DIR"
|
|
203
204
|
fi
|
|
204
205
|
|
|
205
|
-
#
|
|
206
|
-
log_info "Installing dependencies..."
|
|
207
|
-
pnpm install > /dev/null 2>&1
|
|
208
|
-
|
|
206
|
+
# Approve native builds before first install
|
|
209
207
|
if ! grep -q "onlyBuiltDependencies" package.json 2>/dev/null; then
|
|
210
208
|
node -e "
|
|
211
209
|
const pkg = require('./package.json');
|
|
@@ -213,9 +211,12 @@ if ! grep -q "onlyBuiltDependencies" package.json 2>/dev/null; then
|
|
|
213
211
|
pkg.pnpm.onlyBuiltDependencies = ['better-sqlite3', 'esbuild', 'node-pty', 'sharp'];
|
|
214
212
|
require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
|
|
215
213
|
"
|
|
216
|
-
pnpm install > /dev/null 2>&1
|
|
217
214
|
fi
|
|
218
215
|
|
|
216
|
+
# Dependencies
|
|
217
|
+
log_info "Installing dependencies..."
|
|
218
|
+
pnpm install
|
|
219
|
+
|
|
219
220
|
# .env (preserve existing)
|
|
220
221
|
if [[ ! -f "$INSTALL_DIR/.env" ]]; then
|
|
221
222
|
log_info "Writing .env..."
|