No description
- TypeScript 100%
Embed the `terraria` skill in the extension package so that swamp installs it into the user's `.claude/skills/terraria/` on extension pull. The skill documents the `@user/terraria/server` model — its tmux-over-SSH execution model, methods (`warnShutdown`, `status`, `collectMetrics`), the short-circuit semantics for offline VMs, and the Prometheus textfile path on the remote host. Bump manifest version to 2026.04.06.1 and add the new top-level `skills:` list referencing the embedded skill. |
||
|---|---|---|
| .claude/skills/terraria | ||
| extensions/models | ||
| .gitignore | ||
| .swamp.yaml | ||
| CLAUDE.md | ||
| manifest.yaml | ||
| README.md | ||
@keeb/terraria
Swamp extension for Terraria server control via Docker and tmux.
Models
terraria/server
Control a Terraria server running in a Docker container with tmux.
| Method | Description |
|---|---|
warnShutdown |
Send in-game countdown warnings before shutdown |
status |
Query player count and server status |
collectMetrics |
Collect player count and write Prometheus textfile metrics |
Workflows
None — Terraria server start/stop is handled through docker/compose workflows. Metrics collection runs via the collect-game-metrics workflow from @keeb/minecraft.
Dependencies
- @keeb/ssh — SSH helpers (
lib/ssh.ts)
Install
swamp extension pull @keeb/terraria
License
MIT