@chassdev/cli
v0.1.1
Published
Chass CLI — gestiona proyectos, agentes y sesiones de Chass desde la terminal.
Readme
@chassdev/cli
Create a new Chass project.
chass init my-projectMakes ./my-project/, runs git init -b main, and writes the Chass
project floor at the repo root (chass.yaml, README.md,
.chass/opencode/, .chass/memory/MEMORY.md), stages every file, and
makes an initial commit.
Usage
chass init # interactive flow: pick a name and wire local coding agents
chass init my-project # use the given name
chass ship # create the cloud project (first run) + push your code
chass self-host start # run your own Chass Cloud from Docker imagesScaffolding is explicit-only: chass init is the one command that creates
a project directory. An unknown subcommand (chass use, chass inti, …)
errors with a suggestion — it never scaffolds. Init asks which local coding
agents to wire through --primary and --agents.
Run chass init --help for the full flag list, or chass --help
for the full command list (project, auth, work, and resource subcommands —
sessions, triggers, connectors, secrets, sandboxes, marketplace, and more).
What gets written
my-project/
├── .git/ ← initialized on the `main` branch
├── .gitignore
├── README.md
├── chass.yaml ← v2 OpenCode manifest
└── .chass/
├── memory/MEMORY.md ← project-wide memory for agents
└── opencode/ ← OpenCode native config dir
├── opencode.jsonc ← runtime config (providers, plugins, MCP servers, …)
├── agents/{chass,harness-reflector}.md
└── skills/chass-cli/SKILL.md (+ the artifact skill floor)The local coding tools you wire up (--primary/--agents, default Codex)
receive native discovery links to the canonical .chass/opencode source.
OpenCode uses .opencode. Claude Code uses .claude/skills,
.claude/agents, and .claude/commands. Codex uses .agents. Pi uses
.pi/skills. Codex, Pi, and Cursor also get a root AGENTS.md pointer.
The public starter uses chass_version: 2. Cloud sessions run OpenCode REST.
Create a project with:
chass init my-project --yes --no-gitAgents can retrieve the deployed platform manual from OpenCode:
chass system-skills
chass system-skills get chass-system --fullchass skills is a permanent alias.
After the scaffold lands, one commit is made:
chore: init chass projectThen it's yours. Add a remote, push, open in your coding agent of choice —
or run chass ship to create the cloud project and push in one step.
Self-host
One command surface manages two deployment targets. docker ("this machine")
is the backward-compatible default for local and smaller installations; aws-ec2
("AWS EC2") is the enterprise target and records only AWS coordinates and release
policy locally. Secrets for AWS deployments are written directly to the customer
account. (The AWS target was previously named aws-vpc; existing instance configs
that still say aws-vpc on disk keep working — they load as aws-ec2.)
Docker
pnpm install
./bin/chass --help
./bin/chass self-host init --target docker
./bin/chass self-host plan
./bin/chass self-host start
./bin/chass self-host configure
./bin/chass self-host env set PUBLIC_URL=https://chass.example.com API_PUBLIC_URL=https://api.example.com
./bin/chass hosts ls
./bin/chass hosts use local
./bin/chass hosts use cloudself-host start creates the config when needed and only asks for external
connections: GitHub and Pipedream. Run self-host configure later
to change those credentials.
The generated Docker distribution embeds a pinned copy of the official full
Supabase stack: PostgreSQL 17, Auth, REST, Realtime, Storage, imgproxy, Meta,
Edge Runtime, Kong, Studio, Supavisor, Logflare, and Vector. Published ports
bind to loopback by default, and all generated secret material is stored in the
owner-only instance .env.
Enterprise AWS EC2
export AWS_PROFILE=customer
./bin/chass self-host init \
--target aws-ec2 \
--instance customer \
--region us-west-2 \
--channel stable \
--yes
./bin/chass self-host doctor --instance customer
./bin/chass self-host plan --instance customer
./bin/chass self-host deploy --instance customer
./bin/chass self-host status --instance customer
./bin/chass self-host reconcile --instance customer --channel stableFor AWS, the CLI is the bootstrap and operator remote control. The customer-
owned updater, scheduler, EKS controllers, and recovery automation continue
operating after the CLI exits. start, stop, and direct environment-file
editing are intentionally Docker-only.
