@chanto/cli 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +24 -52
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -14,22 +14,17 @@
14
14
  <img alt="Status: alpha" src="https://img.shields.io/badge/status-alpha-f59e0b">
15
15
  <a href="https://scorecard.dev/viewer/?uri=github.com/chanto-sh/chanto"><img alt="OpenSSF Scorecard" src="https://api.scorecard.dev/projects/github.com/chanto-sh/chanto/badge"></a>
16
16
  <a href="https://www.bestpractices.dev/projects/15833"><img alt="OpenSSF Best Practices" src="https://www.bestpractices.dev/projects/15833/badge"></a>
17
- <img alt="Rust" src="https://img.shields.io/badge/Rust-1.95%2B-000000?logo=rust&logoColor=white">
18
17
  <img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue">
19
- <img alt="Local models" src="https://img.shields.io/badge/local-Ollama%20·%20llama.cpp%20·%20vLLM-10b981">
20
- <img alt="MCP" src="https://img.shields.io/badge/MCP-client%20%2B%20server-6C47FF">
21
- <img alt="Setup" src="https://img.shields.io/badge/setup-imports%20your%20existing%20config-6C47FF">
22
18
  <img alt="Platforms" src="https://img.shields.io/badge/platforms-macOS%20·%20Linux%20·%20Windows-0078D6">
23
19
  </p>
24
20
 
25
21
  > [!NOTE]
26
- > **Chanto is in alpha.** Expect rough edges and breaking changes before 1.0.
27
- > [Issues](https://github.com/chanto-sh/chanto/issues) and feedback are welcome.
28
- > It's built by one developer with a lot of help from AI coding agents; CI
29
- > runs the tests on Linux, macOS and Windows with code scanning, and the
30
- > [security model](docs/security-model.md) explains how it protects you.
31
-
32
- > Switching from another agent? Chanto reads the config you already have, so you don't start over.
22
+ > **Chanto is in alpha:** expect rough edges and breaking changes before 1.0.
23
+ > It's built by one developer with a lot of help from AI coding agents; CI runs
24
+ > the tests on Linux, macOS and Windows, and the [security model](docs/security-model.md)
25
+ > explains how it protects you. [Issues](https://github.com/chanto-sh/chanto/issues)
26
+ > and feedback are welcome. Switching from another agent? Chanto reads the config
27
+ > you already have.
33
28
 
34
29
  <p align="center">
35
30
  <a href="docs/reference.md"><b>Docs</b></a> ·
@@ -42,32 +37,14 @@
42
37
 
43
38
  ## Install
44
39
 
45
- macOS and Linux:
46
-
47
40
  ```sh
48
- curl -fsSL https://chanto.sh/install.sh | sh
41
+ curl -fsSL https://chanto.sh/install.sh | sh # macOS and Linux
42
+ brew install chanto-sh/tap/chanto # Homebrew
43
+ npm i -g @chanto/cli # npm
44
+ cargo install chanto --locked # from source (Rust 1.95+)
49
45
  ```
50
46
 
51
- Homebrew (macOS and Linux):
52
-
53
- ```sh
54
- brew install chanto-sh/tap/chanto
55
- ```
56
-
57
- npm, or Cargo (builds from source, needs Rust 1.95+):
58
-
59
- ```sh
60
- npm i -g @chanto/cli
61
- cargo install chanto --locked
62
- ```
63
-
64
- Windows (PowerShell):
65
-
66
- ```powershell
67
- irm https://chanto.sh/install.ps1 | iex
68
- ```
69
-
70
- The installer checks the download's checksum and puts `chanto` in `~/.local/bin` (it tells you if that isn't on your `PATH`). Update later with `chanto upgrade`. To build from a checkout instead: `./install.sh --from-source` (needs Rust 1.95+).
47
+ On Windows (PowerShell): `irm https://chanto.sh/install.ps1 | iex`. The installers check the release signature and the download's checksum and put `chanto` in `~/.local/bin`; `chanto upgrade` updates it.
71
48
 
72
49
  ## First run
73
50
 
@@ -114,7 +91,7 @@ In a session:
114
91
 
115
92
  | | |
116
93
  |---|---|
117
- | **Fast and lean** | One native binary that starts instantly and stays light on CPU and memory while it works, with fewer tokens per task than most agents ([benchmarks](https://github.com/chanto-sh/benchmarks/blob/main/RESULTS.md)) |
94
+ | **Fast and lean** | One native binary that starts instantly and stays light on CPU and memory while it works ([benchmarks](#benchmarks)) |
118
95
  | **Any model** | Free to start (OpenRouter's free models, Gemini's free tier, or a local model); Ollama, llama.cpp, vLLM and other OpenAI-compatible servers; OpenAI, Anthropic, OpenRouter, DeepSeek and more; your ChatGPT login; Amazon Bedrock, Google Vertex AI and Azure with your cloud credentials |
119
96
  | **Safe by default** | Shell commands run in a sandbox on macOS and Linux (on Windows it confines writes only: reads and network aren't restricted), with optional network domain allowlists on macOS and Linux; risky actions need your OK, and auto mode screens commands for you |
120
97
  | **Undo** | `/rewind` restores files (including what shell commands changed) and the conversation to any earlier prompt |
@@ -197,38 +174,33 @@ Every action goes through a permission check first, and secrets are masked befor
197
174
 
198
175
  ## Benchmarks
199
176
 
200
- Same model, same tasks and same rules for every agent. Tasks come from a public set, not ones written for Chanto.
177
+ Two things are measured, each with the same rules for every agent:
201
178
 
202
- The suite, every raw result and how to audit them live in [chanto-sh/benchmarks](https://github.com/chanto-sh/benchmarks).
203
- Results and caveats: [RESULTS.md](https://github.com/chanto-sh/benchmarks/blob/main/RESULTS.md).
179
+ - **Overhead:** the CPU time and memory an agent spends per turn on its own work, with the model taken out (a local mock answers instantly), every agent at a pinned version.
180
+ - **Task results:** pass rates on coding tasks from public sets (SWE-bench, HumanEval, DS-1000 and others) with the same model for every agent.
204
181
 
205
- ---
206
-
207
- ## Repository
182
+ Results, versions and caveats are in [RESULTS.md](https://github.com/chanto-sh/benchmarks/blob/main/RESULTS.md), with every raw result behind them. To check the overhead numbers on your own machine:
208
183
 
209
- ```
210
- src/ the agent (Rust)
211
- proto/ wire types shared by the CLI and the hosted service (chanto-proto)
212
- classifier/ auto mode's command classifier
213
- docs/ full reference
184
+ ```sh
185
+ git clone https://github.com/chanto-sh/benchmarks.git && cd benchmarks
186
+ python3 reproduce.py --quick # 6 native agents in a few minutes; drop --quick for all 18
214
187
  ```
215
188
 
216
189
  ---
217
190
 
218
191
  ## Development
219
192
 
220
- Needs Rust 1.95 or newer (`rustup update stable`).
193
+ `src/` is the agent, `proto/` the wire types shared with the hosted service, `classifier/` auto mode's command classifier, and `docs/` the reference. It needs Rust 1.95 or newer:
221
194
 
222
195
  ```sh
223
196
  cargo build # add --release for target/release/chanto
224
197
  cargo test
225
198
  ```
226
199
 
227
- Day-to-day commands and architecture notes are in [AGENTS.md](AGENTS.md); how to
228
- contribute, report a vulnerability, and behave are in [CONTRIBUTING.md](CONTRIBUTING.md),
229
- [SECURITY.md](SECURITY.md), and [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md). How the
230
- project is run and where it's going: [GOVERNANCE.md](GOVERNANCE.md) and
231
- [ROADMAP.md](ROADMAP.md); how Chanto defends you: [docs/security-model.md](docs/security-model.md).
200
+ [AGENTS.md](AGENTS.md) has the day-to-day commands and architecture; [CONTRIBUTING.md](CONTRIBUTING.md),
201
+ [SECURITY.md](SECURITY.md) and [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) cover contributing, reporting a
202
+ vulnerability and behaviour; [GOVERNANCE.md](GOVERNANCE.md) and [ROADMAP.md](ROADMAP.md) cover how the
203
+ project is run and where it's going.
232
204
 
233
205
  ---
234
206
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chanto/cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "A fast, lean coding agent for your terminal",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://chanto.sh",
@@ -19,10 +19,10 @@
19
19
  "node": ">=18"
20
20
  },
21
21
  "optionalDependencies": {
22
- "@chanto/cli-darwin-arm64": "0.1.4",
23
- "@chanto/cli-darwin-x64": "0.1.4",
24
- "@chanto/cli-linux-arm64": "0.1.4",
25
- "@chanto/cli-linux-x64": "0.1.4",
26
- "@chanto/cli-win32-x64": "0.1.4"
22
+ "@chanto/cli-darwin-arm64": "0.1.5",
23
+ "@chanto/cli-darwin-x64": "0.1.5",
24
+ "@chanto/cli-linux-arm64": "0.1.5",
25
+ "@chanto/cli-linux-x64": "0.1.5",
26
+ "@chanto/cli-win32-x64": "0.1.5"
27
27
  }
28
28
  }