Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 47081edb79 | |||
| b5820cfc7f | |||
| bace308394 |
+1
-1
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: devcontainer
|
||||
description: Antigravity Dev Container with Happy Coder AI assistant
|
||||
type: application
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
appVersion: "latest"
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ githubRepo: ""
|
||||
# Happy Coder endpoints
|
||||
happyServerUrl: "https://happy.farh.net"
|
||||
happyWebappUrl: "https://happy-coder.farh.net"
|
||||
happyHomeDir: "/workspace/.happy"
|
||||
happyHomeDir: "/home/user/.happy"
|
||||
happyExperimental: "true"
|
||||
|
||||
# VNC display
|
||||
|
||||
@@ -63,10 +63,9 @@ chown "$RUN_UID:$RUN_GID" "$HOME"
|
||||
# so no sudo needed — Happy/Claude Code will find credentials in the correct home dir.
|
||||
echo "Starting Happy Coder..."
|
||||
|
||||
# HAPPY_HOME_DIR is in /workspace (emptyDir), so it is always fresh on pod start.
|
||||
# Remove the lock file as a safety net in case daemon start is called more than
|
||||
# once within the same container lifetime.
|
||||
rm -f "${HAPPY_HOME_DIR:-/workspace/.happy}/daemon.state.json.lock"
|
||||
# Remove stale lock file. HAPPY_HOME_DIR lives on the home PVC so it survives
|
||||
# pod restarts — without this cleanup the daemon refuses to start after a crash.
|
||||
rm -f "${HAPPY_HOME_DIR:-$HOME/.happy}/daemon.state.json.lock"
|
||||
|
||||
cd "$WORKSPACE_DIR"
|
||||
happy daemon start || echo "Happy Coder daemon failed to start, continuing anyway..."
|
||||
|
||||
Reference in New Issue
Block a user