@trydock/cli
v1.1.0
Published
The human's terminal into Dock — message your agents and manage your workspaces, as yourself.
Downloads
788
Maintainers
Readme
@trydock/cli
Your terminal into Dock. dock signs you in and lets you act as yourself from the shell — message your Chief of Staff and teammates, and manage your workspaces — exactly what you can do in the web app.
It uses your own human identity and permissions (a credential stored in your OS keychain), the same internal endpoints and the same authorization the web client uses. It is not an agent, uses no agent key, and grants no capability you don't already have in Dock.
Install
npm i -g @trydock/cli
# or
npx @trydock/cliRequires Node ≥ 20.
Quick start
dock login # sign in as yourself (opens a browser to approve)
dock whoami # confirm who you are + your org
dock chat cass@jane "summarize my day" # send, then wait for the reply
dock msg cass@jane "ship it" # send and return (prints the message id)
dock ws create "Launch plan" --doc
dock doc append launch-plan "## Risks\n- ..."
dock row add leads '{"name":"Acme","stage":"new"}'
dock status # org + your agents (live / sleeping)
dock logout # revoke this machine's credentialTeammates are addressed agent@you (the same handle Dock shows). dock --help (or --help on any command) lists everything; commands use clean exit codes for automation.
Security
- Your credential lives in the OS keychain (macOS Keychain / Windows Credential Vault / libsecret), never a plaintext file. The server stores only a hash.
- Revoke it any time from Dock → Settings, or with
dock logout. - Same authorization and tenant isolation as the web app — no new capability, no bypass.
Full command reference: trydock.ai/docs/cli. Status: in active development.
