Metadata-Version: 2.5
Name: caisson-tools
Version: 0.1.0
Summary: Laptop-side workspace and agent CLI for Caisson
Author: Tetrel Security
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Requires-Python: >=3.11
Requires-Dist: click<9,>=8.1
Requires-Dist: prompt-toolkit<4,>=3.0.48
Requires-Dist: rich<16,>=13.9
Description-Content-Type: text/markdown

# Caisson CLI

Create and use personal cloud workspaces from your laptop. Files persist when
you stop a workspace; coding agents run in an isolated sandbox.

For a prepared Podman worker, install `caisson-tools` on both client and worker.
The package includes the `caisson-podman` worker helper.
For the default managed GCP deployment, you need access from your administrator, Tailscale, OpenSSH, and
[uv](https://docs.astral.sh/uv/getting-started/installation/).
Management uses HTTPS on the tailnet. If the `tailscale` CLI isn't on your
PATH, or your server isn't named `caisson`, set the full DNS name with
`caisson config set target https://caisson.YOUR-TAILNET.ts.net`. The default
target is `https://caisson`. For Podman, save `local` or `ssh://[user@]host`
instead. `caisson config show` prints the saved target; `--target` overrides
it without changing it. Management traffic always uses HTTPS, even when the
target is written as `http://server`.

```sh
uv tool install caisson-tools
caisson ls
caisson new dev             # create and start billable compute
caisson enroll dev          # approve Tailscale on first use
caisson agent dev           # open your coding agent
caisson stop dev            # stop compute; keep files
```

`caisson` runs an interactive prompt with tab completion; `use dev` selects a
workspace there. The first start can take a few minutes. Configure your own
inference credentials in the agent; outbound access starts blocked. Run
`caisson -w dev allowlist lists` to see what you can enable. Verify any
first-use host-key fingerprint with your administrator.

```sh
caisson shell dev                      # agent sandbox shell
caisson -w dev copy-to ./notes.txt     # laptop → agent
caisson -w dev copy-from results.json  # agent → laptop
caisson -w dev package install ripgrep # install in the agent
caisson web dev                        # browser UI
```

If asked to pair the browser, run `caisson -w dev pair`.
Use `caisson -w dev package remove ripgrep` to uninstall it; `package gc`
frees unused space but discards older profile generations.
Files on your laptop aren't mounted in the agent; upload them as needed.
`caisson destroy dev` permanently deletes the workspace and all its files.
Run `caisson --help` for more commands; `caisson version` shows the package
version and Git build revision.

## Operators

For deployment and access management, see the
[caisson-ops package](https://pypi.org/project/caisson-ops/).

Copyright 2026 Tetrel Security. Apache-2.0 applies to `caisson-tools/`
(including `caisson-ops/`) only, not the rest of the repository.
