Documentation
¶
Overview ¶
Package zipbox is the Go SDK for Zipbox: create boxes, run commands, move files, open terminals and publish ports from code.
c := zipbox.New("") // reads ZIPBOX_API_KEY
box, err := c.Sandboxes.GetOrCreate(ctx, "demo")
res, err := box.Exec(ctx, "echo hello")
fmt.Print(res.Stdout)
Nothing on a box stops on a clock, and no call has a default deadline: pass a context with a deadline when you want one.
Index ¶
- Constants
- Variables
- func IsCode(err error, code ErrorCode) bool
- func ResolvePath(p string) string
- type APIKey
- type AccountService
- type Box
- func (b *Box) Command(id string) *Command
- func (b *Box) Exec(ctx context.Context, cmd string, opts ...ExecOption) (*ExecResult, error)
- func (b *Box) ExecArgv(ctx context.Context, argv []string, opts ...ExecOption) (*ExecResult, error)
- func (b *Box) ExecBackground(ctx context.Context, cmd string, opts ...ExecOption) (*Command, error)
- func (b *Box) ExecStream(ctx context.Context, cmd string, opts ...ExecOption) (*ExecStream, error)
- func (b *Box) Logs(ctx context.Context, opts LogOptions) (string, error)
- func (b *Box) Refresh(ctx context.Context) (*SandboxDetail, error)
- func (b *Box) RunCode(ctx context.Context, lang Language, code string, opts ...ExecOption) (*ExecResult, error)
- func (b *Box) SSHInfo(ctx context.Context) (*SSHInfo, error)
- func (b *Box) Screenshot(ctx context.Context) ([]byte, error)
- type Client
- type Command
- func (c *Command) CloseStdin(ctx context.Context) error
- func (c *Command) Events(ctx context.Context, since string) (*ExecStream, error)
- func (c *Command) Get(ctx context.Context) (*CommandRecord, error)
- func (c *Command) Signal(ctx context.Context, sig Signal) error
- func (c *Command) Stdin(ctx context.Context, r io.Reader) error
- func (c *Command) Wait(ctx context.Context) (*ExecResult, error)
- type CommandRecord
- type CommandsService
- func (s *CommandsService) CloseStdin(ctx context.Context, id string) error
- func (s *CommandsService) Events(ctx context.Context, id, since string) (*ExecStream, error)
- func (s *CommandsService) Get(ctx context.Context, id string) (*CommandRecord, error)
- func (s *CommandsService) List(ctx context.Context) ([]CommandRecord, error)
- func (s *CommandsService) Signal(ctx context.Context, id string, sig Signal) error
- func (s *CommandsService) Stdin(ctx context.Context, id string, r io.Reader) error
- type CreateOptions
- type Error
- type ErrorCode
- type ExecEvent
- type ExecEventType
- type ExecOption
- type ExecResult
- type ExecStream
- type FileEntry
- type FileKind
- type FilesService
- func (s *FilesService) Copy(ctx context.Context, src, dst string) error
- func (s *FilesService) Delete(ctx context.Context, p string) error
- func (s *FilesService) Download(ctx context.Context, remotePath, localPath string) error
- func (s *FilesService) List(ctx context.Context, p string) ([]FileEntry, error)
- func (s *FilesService) Mkdir(ctx context.Context, p string) error
- func (s *FilesService) Move(ctx context.Context, src, dst string) error
- func (s *FilesService) Read(ctx context.Context, p string) ([]byte, error)
- func (s *FilesService) ReadTo(ctx context.Context, p string, w io.Writer) (int64, error)
- func (s *FilesService) Stat(ctx context.Context, p string) (*FileEntry, error)
- func (s *FilesService) Upload(ctx context.Context, localPath, remotePath string) error
- func (s *FilesService) Write(ctx context.Context, p string, content io.Reader) error
- type Language
- type LogOptions
- type MachineSize
- type Option
- type Preview
- type PreviewService
- type Pty
- type PtyOptions
- type PtyService
- type SSHInfo
- type Sandbox
- type SandboxDetail
- type SandboxesService
- func (s *SandboxesService) Create(ctx context.Context, opts CreateOptions) (*Box, error)
- func (s *SandboxesService) Delete(ctx context.Context, id string) error
- func (s *SandboxesService) Get(ctx context.Context, id string) (*SandboxDetail, error)
- func (s *SandboxesService) GetOrCreate(ctx context.Context, name string) (*Box, error)
- func (s *SandboxesService) List(ctx context.Context) ([]Sandbox, error)
- func (s *SandboxesService) Restart(ctx context.Context, id string) error
- func (s *SandboxesService) SetTier(ctx context.Context, id, tier string) error
- func (s *SandboxesService) Start(ctx context.Context, id string) error
- func (s *SandboxesService) Stop(ctx context.Context, id string) error
- func (s *SandboxesService) WaitReady(ctx context.Context, id string) (*Box, error)
- type Signal
- type Status
- type WhoAmI
Constants ¶
const DefaultBaseURL = "https://api.tribes.xyz"
DefaultBaseURL is the Zipbox control plane.
const MaxFileBytes = 250 * 1024 * 1024
MaxFileBytes is the largest file one read or write moves (250 MiB).
const Version = "0.1.4"
Version is the SDK version, sent in the User-Agent header.
const WorkspaceDir = "/root/workspace"
WorkspaceDir is where relative paths resolve and commands start by default.
Variables ¶
var ErrPtyClosed = errors.New("zipbox: the terminal is closed")
ErrPtyClosed is returned by Pty methods after Close or Detach.
var ErrPtyTaken = errors.New("zipbox: the terminal session was taken over by another client")
ErrPtyTaken is returned by Pty.Read when another client took the session over.
Functions ¶
func ResolvePath ¶
ResolvePath joins a relative path to WorkspaceDir; an absolute path is cleaned.
Types ¶
type APIKey ¶
type APIKey struct {
ID string `json:"id"`
Name string `json:"name"`
Kind string `json:"kind"`
Last4 string `json:"last4"`
CreatedAt time.Time `json:"createdAt"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
}
APIKey is an account API key as listed in Settings (never the secret).
type AccountService ¶
type AccountService struct {
// contains filtered or unexported fields
}
AccountService reads account state. Reach it as Client.Account.
func (*AccountService) Balance ¶
Balance returns the credit balance and auto top-up state, as the dashboard reads them. The shape is not part of the stable contract.
type Box ¶
type Box struct {
// ID is the box id.
ID string
// Detail is the last box row this handle read, when it read one.
Detail *SandboxDetail
// Files reads and writes the box's filesystem.
Files *FilesService
// Commands manages commands started with ExecBackground.
Commands *CommandsService
// Pty opens interactive terminals on the box.
Pty *PtyService
// Preview publishes a local port at a public HTTPS URL.
Preview *PreviewService
// contains filtered or unexported fields
}
Box is a handle to one box. It is cheap to create (Client.Sandbox makes no call) and safe for concurrent use. The box token it needs is fetched on first use and cached by the client.
func (*Box) Exec ¶
func (b *Box) Exec(ctx context.Context, cmd string, opts ...ExecOption) (*ExecResult, error)
Exec runs cmd through `bash -lc` (so PATH, nvm, pyenv and the harness env are present) and waits for it to exit.
func (*Box) ExecArgv ¶
func (b *Box) ExecArgv(ctx context.Context, argv []string, opts ...ExecOption) (*ExecResult, error)
ExecArgv spawns argv directly, without a shell, and waits for it to exit.
func (*Box) ExecBackground ¶
ExecBackground starts cmd through `bash -lc` and returns as soon as it is running. The command keeps running whether or not anyone is attached, and survives a restart of the box's agent. Follow it with Command.Wait or Command.Events.
func (*Box) ExecStream ¶
func (b *Box) ExecStream(ctx context.Context, cmd string, opts ...ExecOption) (*ExecStream, error)
ExecStream runs cmd through `bash -lc` and streams its events. The command is killed if the stream is closed before it exits; use ExecBackground for a command that must outlive the caller.
func (*Box) Logs ¶
Logs returns the box's system journal (journalctl). Command output is its own log: see Commands.Events.
func (*Box) Refresh ¶
func (b *Box) Refresh(ctx context.Context) (*SandboxDetail, error)
Refresh re-reads the box row.
func (*Box) RunCode ¶
func (b *Box) RunCode(ctx context.Context, lang Language, code string, opts ...ExecOption) (*ExecResult, error)
RunCode writes code to a temporary file on the box and runs it with python3, node or bash. It is sugar over Files.Write and ExecArgv.
type Client ¶
type Client struct {
// Sandboxes creates, lists and manages boxes.
Sandboxes *SandboxesService
// Account reads the account's balance and usage.
Account *AccountService
// contains filtered or unexported fields
}
Client is a Zipbox API client. It is safe for concurrent use. Box tokens are fetched lazily per box and cached for the client's lifetime.
type Command ¶
type Command struct {
CommandRecord
// contains filtered or unexported fields
}
Command is a handle to a command on a box.
func (*Command) CloseStdin ¶
CloseStdin closes the command's stdin.
func (*Command) Get ¶
func (c *Command) Get(ctx context.Context) (*CommandRecord, error)
Get re-reads the command's record.
func (*Command) Wait ¶
func (c *Command) Wait(ctx context.Context) (*ExecResult, error)
Wait follows the command until it exits and returns everything it printed. A dropped stream is resumed from its cursor with backoff, without limit; only an answered error (not_found, unauthorized, …) or ctx ends the wait.
type CommandRecord ¶
type CommandRecord struct {
ID string `json:"id"`
State string `json:"state"`
Argv []string `json:"argv"`
Cwd string `json:"cwd"`
Background bool `json:"background"`
// ExitCode is nil while the command runs.
ExitCode *int `json:"exitCode,omitempty"`
Signal *string `json:"signal,omitempty"`
TimedOut bool `json:"timedOut"`
StartedAt time.Time `json:"startedAt"`
EndedAt *time.Time `json:"endedAt,omitempty"`
StdoutBytes int64 `json:"stdoutBytes"`
StderrBytes int64 `json:"stderrBytes"`
}
CommandRecord is a command as the box reports it.
type CommandsService ¶
type CommandsService struct {
// contains filtered or unexported fields
}
CommandsService manages a box's commands. Reach it as Box.Commands.
func (*CommandsService) CloseStdin ¶
func (s *CommandsService) CloseStdin(ctx context.Context, id string) error
CloseStdin closes a command's stdin.
func (*CommandsService) Events ¶
func (s *CommandsService) Events(ctx context.Context, id, since string) (*ExecStream, error)
Events replays a command's events after since ("" = from the start) and follows it until it exits.
func (*CommandsService) Get ¶
func (s *CommandsService) Get(ctx context.Context, id string) (*CommandRecord, error)
Get returns one command's record.
func (*CommandsService) List ¶
func (s *CommandsService) List(ctx context.Context) ([]CommandRecord, error)
List returns running and recently finished commands.
type CreateOptions ¶
type CreateOptions struct {
// Name is the box's permanent subdomain. Empty = the account's default box.
Name string
// Tier is the machine size (xs, s, m, l, xl, xxl). Empty = the default tier.
Tier string
// SSHPublicKey is an OpenSSH public key line authorized on the box.
SSHPublicKey string
// Mailbox creates the box's mailbox now. False = created the first time the box uses mail.
Mailbox bool
}
CreateOptions configures a new box.
type Error ¶
type Error struct {
// Code is the public error code.
Code ErrorCode `json:"code"`
// Status is the HTTP status, or 0 when the error did not come from a response.
Status int `json:"status,omitempty"`
// Message is a human-readable description.
Message string `json:"message"`
// RequestID identifies the request in Zipbox's logs, when the server sent one.
RequestID string `json:"requestId,omitempty"`
// Retryable reports whether the same request may succeed if sent again later.
Retryable bool `json:"retryable"`
// RetryAfter is how long the server asked the caller to wait, when it said.
RetryAfter time.Duration `json:"-"`
// DocsURL points at the docs entry for Code.
DocsURL string `json:"docsUrl"`
// contains filtered or unexported fields
}
Error is the single error type every SDK call returns for a failure the control plane or a box reported (and for a box that is not ready). Use errors.As to inspect it:
var zerr *zipbox.Error
if errors.As(err, &zerr) && zerr.Code == zipbox.CodeNotFound { … }
A command that exits non-zero is a result, never an Error.
type ErrorCode ¶
type ErrorCode string
ErrorCode is the public error code carried by every Zipbox error. The code is the contract; the message is for humans and may change.
const ( CodeInvalidRequest ErrorCode = "invalid_request" CodeForbidden ErrorCode = "forbidden" CodeNotFound ErrorCode = "not_found" CodeInsufficientCredits ErrorCode = "insufficient_credits" CodeConflict ErrorCode = "conflict" CodeRateLimited ErrorCode = "rate_limited" CodeBoxNotRunning ErrorCode = "box_not_running" )
The public error codes. See https://zipbox.ai/docs/errors for causes and fixes.
type ExecEvent ¶
type ExecEvent struct {
Type ExecEventType `json:"type"`
// Cursor resumes the stream after this event (Commands.Events since).
Cursor string `json:"cursor"`
// ID is set on start.
ID string `json:"id,omitempty"`
// Data is set on stdout and stderr.
Data string `json:"data,omitempty"`
// Stream and Message are set on gap: output past the 64 MiB per-stream cap
// was discarded (the process keeps running).
Stream string `json:"stream,omitempty"`
Message string `json:"message,omitempty"`
// State, ExitCode, Signal and TimedOut are set on exit.
State string `json:"state,omitempty"`
ExitCode *int `json:"exitCode,omitempty"`
Signal *string `json:"signal,omitempty"`
TimedOut bool `json:"timedOut,omitempty"`
}
ExecEvent is one event on a command's stream. Which fields are set depends on Type.
type ExecEventType ¶
type ExecEventType string
ExecEventType is the kind of an ExecEvent.
const ( EventStart ExecEventType = "start" EventStdout ExecEventType = "stdout" EventStderr ExecEventType = "stderr" EventGap ExecEventType = "gap" EventExit ExecEventType = "exit" )
Event types on a command's stream.
type ExecOption ¶
type ExecOption func(*execRequest)
ExecOption configures a command.
func WithCwd ¶
func WithCwd(dir string) ExecOption
WithCwd sets the working directory: absolute, or relative to /root/workspace (the default).
func WithEnv ¶
func WithEnv(env map[string]string) ExecOption
WithEnv adds environment variables on top of the box's own.
func WithStdin ¶
func WithStdin() ExecOption
WithStdin opens a stdin pipe fed by Command.Stdin. Default: /dev/null.
func WithTimeout ¶
func WithTimeout(d time.Duration) ExecOption
WithTimeout asks the box to kill the command after d. Without it a command runs until it exits or is signalled.
func WithUser ¶
func WithUser(user string) ExecOption
WithUser runs the command as another local user. Default: the box user (root).
type ExecResult ¶
type ExecResult struct {
// ID is the command id on the box.
ID string `json:"id"`
// ExitCode is shell-style: 0..255, 128+N when killed by signal N, -1 when
// the box lost track of the process (state "unknown").
ExitCode int `json:"exitCode"`
// Stdout and Stderr are the command's output, decoded as UTF-8.
Stdout string `json:"stdout"`
Stderr string `json:"stderr"`
// Signal is the signal the box delivered (a Signal call or a timeout), if any.
Signal *string `json:"signal,omitempty"`
// TimedOut is true when WithTimeout ended the command.
TimedOut bool `json:"timedOut"`
}
ExecResult is a finished command. A non-zero ExitCode is a result, not an error.
type ExecStream ¶
type ExecStream struct {
// contains filtered or unexported fields
}
ExecStream reads a command's events. Use it like bufio.Scanner and always Close it:
for stream.Next() { ev := stream.Event() … }
if err := stream.Err(); err != nil { … }
func (*ExecStream) Close ¶
func (s *ExecStream) Close() error
Close releases the stream. Closing the stream of a foreground Exec before it exits makes the box kill the command.
func (*ExecStream) Cursor ¶
func (s *ExecStream) Cursor() string
Cursor is the resume cursor after the last event read.
func (*ExecStream) Err ¶
func (s *ExecStream) Err() error
Err returns the error that stopped the stream, or nil after a clean exit event.
func (*ExecStream) Next ¶
func (s *ExecStream) Next() bool
Next advances to the next event. It returns false after the exit event, at the end of the stream, or on an error (see Err).
type FileEntry ¶
type FileEntry struct {
Name string `json:"name"`
Kind FileKind `json:"kind"`
SizeBytes int64 `json:"sizeBytes"`
ModifiedAtMs int64 `json:"modifiedAtMs"`
}
FileEntry is one directory entry.
func (FileEntry) ModifiedAt ¶
ModifiedAt is the entry's modification time.
type FilesService ¶
type FilesService struct {
// contains filtered or unexported fields
}
FilesService reads and writes a box's filesystem. Reach it as Box.Files. Paths are absolute, or relative to /root/workspace.
func (*FilesService) Copy ¶
func (s *FilesService) Copy(ctx context.Context, src, dst string) error
Copy copies src to dst.
func (*FilesService) Delete ¶
func (s *FilesService) Delete(ctx context.Context, p string) error
Delete deletes a file or directory.
func (*FilesService) Download ¶
func (s *FilesService) Download(ctx context.Context, remotePath, localPath string) error
Download copies a file from the box to localPath, replacing it.
func (*FilesService) Mkdir ¶
func (s *FilesService) Mkdir(ctx context.Context, p string) error
Mkdir creates a directory.
func (*FilesService) Move ¶
func (s *FilesService) Move(ctx context.Context, src, dst string) error
Move moves or renames src to dst.
type LogOptions ¶
type LogOptions struct {
// Since is a journalctl time ("1 hour ago", "2026-10-19 10:00"). Empty = all.
Since string
// Lines limits output to the last N lines. 0 = no limit.
Lines int
// Unit restricts to one systemd unit.
Unit string
}
LogOptions filters Logs.
type MachineSize ¶
type MachineSize struct {
VCPUs int `json:"vcpus"`
MemMiB int `json:"memMib"`
DiskGB int `json:"diskGb"`
}
MachineSize is the resolved size a box runs at.
type Option ¶
type Option func(*Client)
Option configures a Client.
func WithBackoff ¶
WithBackoff sets the exponential backoff used between retries and PTY reconnects: the first delay and the cap. Default 500ms and 30s.
func WithBaseURL ¶
WithBaseURL sets the control plane URL (default ZIPBOX_API_URL or DefaultBaseURL).
func WithHTTPClient ¶
WithHTTPClient sets the HTTP client. The default has no timeout.
func WithMaxRetries ¶
WithMaxRetries sets how many times a retryable failure (rate_limited, unavailable) of a GET or a create is retried. Default 3.
func WithPollInterval ¶
WithPollInterval sets how often Create re-reads a box while it boots: the first delay and the cap. Default 1s and 5s.
type Preview ¶
type Preview struct {
// URL is the public HTTPS address, e.g. https://web.demo.zbox.sh.
URL string `json:"url"`
// Label is the subdomain label.
Label string `json:"label"`
// Host is the full hostname.
Host string `json:"host"`
}
Preview is a published port.
type PreviewService ¶
type PreviewService struct {
// contains filtered or unexported fields
}
PreviewService publishes ports on a box. Reach it as Box.Preview.
type Pty ¶
type Pty struct {
// SessionID names the session on the box (bash-<uuid>).
SessionID string
// ClientID identifies this client to the box; it is reused on reconnect.
ClientID string
// contains filtered or unexported fields
}
Pty is an attached terminal. Read returns the session's output (io.EOF once the shell exits); Write sends keystrokes. A dropped connection reconnects by itself with exponential backoff and no attempt limit; Write waits for it.
type PtyOptions ¶
type PtyOptions struct {
// Cols and Rows are the initial size. Zero leaves the box's default.
Cols, Rows int
// ClientLabel names this client in the box's session list. Default "zipbox-sdk".
ClientLabel string
}
PtyOptions configures a terminal.
type PtyService ¶
type PtyService struct {
// contains filtered or unexported fields
}
PtyService opens terminals on a box. Reach it as Box.Pty.
func (*PtyService) Attach ¶
func (s *PtyService) Attach(ctx context.Context, sessionID string, opts PtyOptions) (*Pty, error)
Attach re-joins an existing session by id; the box replays its screen.
func (*PtyService) Create ¶
func (s *PtyService) Create(ctx context.Context, opts PtyOptions) (*Pty, error)
Create opens a new shell session (bash) and attaches to it. The session outlives the connection: Detach leaves it running and Attach re-joins it.
type SSHInfo ¶
type SSHInfo struct {
Host string `json:"host"`
User string `json:"user"`
Command string `json:"command"`
}
SSHInfo is how to reach a box over SSH (IPv6).
type Sandbox ¶
type Sandbox struct {
ID string `json:"id"`
Name *string `json:"name,omitempty"`
Domain *string `json:"domain,omitempty"`
IPv6 *string `json:"ipv6,omitempty"`
Status Status `json:"status"`
Tier *string `json:"tier,omitempty"`
PendingTier *string `json:"pendingTier,omitempty"`
MachineSize *MachineSize `json:"machineSize,omitempty"`
// IsArchived is true when the disk is archived (a stopped box) or an archive is in flight.
IsArchived *bool `json:"isArchived,omitempty"`
CPUPct *float64 `json:"cpuPct,omitempty"`
MemPct *float64 `json:"memPct,omitempty"`
DiskPct *float64 `json:"diskPct,omitempty"`
NetRxBps *float64 `json:"netRxBps,omitempty"`
NetTxBps *float64 `json:"netTxBps,omitempty"`
StatsUpdatedAt *time.Time `json:"statsUpdatedAt,omitempty"`
StartFailedAt *time.Time `json:"startFailedAt,omitempty"`
ClaimedAt *time.Time `json:"claimedAt,omitempty"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
Sandbox is the documented subset of a box row.
type SandboxDetail ¶
type SandboxDetail struct {
Sandbox
// Ready is true once the box is running and serving its owner.
Ready bool `json:"ready"`
// HTTPSReady is true once BaseURL completes a TLS handshake with a trusted
// certificate. A fresh name's certificate can trail Ready; the SDK's box calls
// retry the handshake meanwhile.
HTTPSReady bool `json:"httpsReady"`
// BaseURL is the box's HTTPS origin once Ready.
BaseURL *string `json:"baseUrl,omitempty"`
// BoxToken is the per-key, per-box bearer the box accepts. The SDK manages
// it; it is exposed for curl and debugging.
BoxToken *string `json:"boxToken,omitempty"`
}
SandboxDetail is one box as GET /sandbox/{id} returns it.
func (SandboxDetail) MarshalJSON ¶
func (d SandboxDetail) MarshalJSON() ([]byte, error)
MarshalJSON leaves BoxToken out: it is a credential, and a detail printed or logged as JSON (the CLI's --json) must never carry it.
type SandboxesService ¶
type SandboxesService struct {
// contains filtered or unexported fields
}
SandboxesService manages boxes. Reach it as Client.Sandboxes.
func (*SandboxesService) Create ¶
func (s *SandboxesService) Create(ctx context.Context, opts CreateOptions) (*Box, error)
Create creates a box and waits until it is ready, re-reading it with backoff. The wait has no deadline of its own; bound it with ctx. The request carries an Idempotency-Key, so a retried create never makes two boxes.
func (*SandboxesService) Delete ¶
func (s *SandboxesService) Delete(ctx context.Context, id string) error
Delete deletes a box, keeping a recoverable copy for 30 days.
func (*SandboxesService) Get ¶
func (s *SandboxesService) Get(ctx context.Context, id string) (*SandboxDetail, error)
Get returns one box with its readiness and HTTPS origin.
func (*SandboxesService) GetOrCreate ¶
GetOrCreate returns the live box with this name, starting it if it is stopped, or creates it. It waits until the box is ready.
func (*SandboxesService) List ¶
func (s *SandboxesService) List(ctx context.Context) ([]Sandbox, error)
List returns the account's boxes.
func (*SandboxesService) Restart ¶
func (s *SandboxesService) Restart(ctx context.Context, id string) error
Restart hard-restarts a running box. Files survive; running processes do not.
func (*SandboxesService) SetTier ¶
func (s *SandboxesService) SetTier(ctx context.Context, id, tier string) error
SetTier moves a box to another tier. A running box restarts into it.
func (*SandboxesService) Start ¶
func (s *SandboxesService) Start(ctx context.Context, id string) error
Start starts a stopped box. Credit-gated: insufficient_credits when dry.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
zipbox
command
Command zipbox drives Zipbox boxes from a terminal or CI: create and manage boxes, run commands, move files, open a shell, publish ports, read docs, and serve the Zipbox MCP tools over stdio.
|
Command zipbox drives Zipbox boxes from a terminal or CI: create and manage boxes, run commands, move files, open a shell, publish ports, read docs, and serve the Zipbox MCP tools over stdio. |
|
internal
|
|
|
cli
Package cli implements the zipbox command.
|
Package cli implements the zipbox command. |