# Install dependencies
npm install
# Development with watch mode
npm run dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Shared helper functions for claude justfile recipes. | |
| # Source this file at the top of each recipe that needs these utilities: | |
| # source "$(dirname "${BASH_SOURCE[0]:-$0}")/../scripts/claude-helpers.sh" | |
| # Or from justfile recipes: | |
| # source "scripts/claude-helpers.sh" | |
| # ── Configuration defaults ────────────────────────────────────────── | |
| MAX_SESSION_RETRIES="${MAX_SESSION_RETRIES:-12}" | |
| SESSION_RETRY_WAIT="${SESSION_RETRY_WAIT:-3600}" # 1 hour in seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################## | |
| # Stage 1: Base image with all tool installs | |
| ############################################## | |
| FROM mcr.microsoft.com/devcontainers/javascript-node:24-bullseye AS base | |
| # Install common utils | |
| RUN apt-get update && apt-get install -y \ | |
| apt-utils \ | |
| bash-completion \ | |
| openssh-client \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Host repo directory = current directory | |
| REPO_DIR="$(pwd)" | |
| CONTAINER_DIR="/workspace" | |
| IMAGE="node:24" | |
| # Optional: pass a command to run inside the container. | |
| # If no command is provided, start an interactive shell. |