Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
!cmd/
!cmd/**
!internal/
!internal/terminalws/
!internal/terminalws/**
!internal/**
2 changes: 2 additions & 0 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
- main
paths:
- "cmd/**"
- "internal/**"
- "go.mod"
- "go.sum"
- "Dockerfile.ssh-gateway"
- ".github/workflows/cli.yml"
pull_request:
paths:
- "cmd/**"
- "internal/**"
- "go.mod"
- "go.sum"
- "Dockerfile.ssh-gateway"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

- De-duplicate the Go CLI and SSH gateway around shared control-plane models, authentication, lifecycle semantics, API calls, terminal operations, and terminal-safe session rendering.
- Unify managed terminal clients on the multiplex `/api/terminal/ws` protocol, remove direct PTY routes, and share one framed Go transport across the CLI and SSH gateway.
- Connect Crabfleet lifecycle and terminal traffic to Crabbox through a Cloudflare service binding and deploy an identical route-scoped credential atomically across both coordinators.
- Make OpenClaw room trees recoverable with idempotent Crabbox creation and root-level admission freeze plus recursive stop.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ssh-gateway
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY cmd ./cmd
COPY internal/terminalws ./internal/terminalws
COPY internal ./internal
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/crabbox-ssh-gateway ./cmd/crabbox-ssh-gateway

FROM alpine:3.22
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,11 @@ crabfleet/
├── migrations/ # D1 database migrations
├── scripts/ # Build scripts
│ └── generate-assets.mjs
├── cmd/ # Go CLI and SSH gateway entry points
├── internal/
│ ├── fleetapi/ # Shared Go control-plane client and domain contracts
│ ├── fleettext/ # Shared terminal-safe session rendering
│ └── terminalws/ # Shared multiplex terminal protocol client
├── vite.config.mjs # Preact/Vite app bundle config
├── docs/ # Documentation (GitHub Pages)
│ ├── CNAME # docs.crabfleet.ai custom domain
Expand Down
Loading