Terminal app (xterm ⇄ WebSocket ⇄ per-agent themed container):
- zsh + oh-my-zsh + powerlevel10k image (agent-terminal), runs as uid 65532 to
share read-write ownership of the file-drive volume with the server.
- Interactive PTY in cm-sandbox (bollard exec tty/attach + resize) + a
TerminalManager; ticket-authed WS bridge routed straight to the backend via a
Traefik PathRegexp(/ws) rule. MOTD greets the user by name.
- tmux resumable sessions; multi-tab (one tmux session per tab, same container),
drag-to-reorder, rename, and a Save that persists named tabs to the server
(terminal_tabs, migration 0014) so they survive logout / a new device.
- Files drives mounted per-agent (subpath) at ~/drives/{documents,received,
shared}; a reconciler keeps the Files app's index in sync with terminal writes.
Storage moved to a shared `filedata` volume (CLAWMATES_STORAGE__DATA_DIR).
Obsidian vault (a markdown "second brain" per agent):
- New `vault` FileDrive (migration 0015) mounted into the terminal at ~/obsidian;
a file-content read route; a purple Obsidian tile + a vault viewer app.
Computer UI:
- Draggable computer-panel width (min = phone preset) keeping the size presets.
- Green Terminal glyph, "Claw Chat" → "Chat", colored gradient-outline app icons.
- Agent page: avatar↔activity-grid spacing + larger, uniform section fonts with
colored section-tinted tag chips.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
21 lines
649 B
Bash
21 lines
649 B
Bash
# tmux config for resumable terminal sessions in the agent computer.
|
|
set -g default-shell /usr/bin/zsh
|
|
set -g default-command /usr/bin/zsh
|
|
set -g default-terminal "tmux-256color"
|
|
set -ga terminal-overrides ",*256col*:Tc"
|
|
|
|
set -g mouse on
|
|
set -g history-limit 50000
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
set -g renumber-windows on
|
|
set -sg escape-time 10
|
|
set -g focus-events on
|
|
|
|
# A small clawmates-styled status line.
|
|
set -g status-style "bg=#0b0b0e fg=#5ec8d8"
|
|
set -g status-left " #[bold]clawmates#[default] "
|
|
set -g status-left-length 24
|
|
set -g status-right "#[fg=#9a9aa2]#S · %H:%M "
|
|
set -g window-status-current-style "fg=#ff8a7a bold"
|