phonton-cli 0.9.3 → 0.11.0

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 +14 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  <img src="assets/readme/phonton-cli-logo.png" width="112" alt="Phonton CLI logo">
3
3
  </p>
4
4
 
5
- <h1 align="center">Phonton CLI · v0.9.3</h1>
5
+ <h1 align="center">Phonton CLI · v0.11.0</h1>
6
6
 
7
7
  <p align="center">
8
8
  <strong>Verified code changes with repo memory.</strong><br>
@@ -12,7 +12,7 @@
12
12
  <p align="center">
13
13
  <a href="https://github.com/phonton-dev/phonton-cli/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/phonton-dev/phonton-cli/actions/workflows/ci.yml/badge.svg"></a>
14
14
  <a href="https://github.com/phonton-dev/phonton-cli/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/phonton-dev/phonton-cli?style=flat&label=stars"></a>
15
- <img alt="release" src="https://img.shields.io/badge/release-v0.9.3-6c63ff">
15
+ <img alt="release" src="https://img.shields.io/badge/release-v0.11.0-6c63ff">
16
16
  <img alt="license" src="https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue">
17
17
  <img alt="status" src="https://img.shields.io/badge/status-public_alpha-f97316">
18
18
  </p>
@@ -69,9 +69,14 @@ It walks through the evidence trail a real run should expose: GoalContract, plan
69
69
  ## What Works Today
70
70
 
71
71
  - Interactive Ratatui TUI with goal, task, ask, settings, git, and flight-log surfaces.
72
- - Unified slash commands in the TUI: `/settings`, `/config`, `/status`, `/context`, `/compact`, `/compress`, `/goals`, `/switch`, `/focus`, `/copy`, `/rerun`, `/stats`, `/stop`, `/review`, `/memory`, `/permissions`, `/trust`, `/model`, `/commands`, `/run`, and `!` all route through the same command registry and prompt drawer.
72
+ - Unified slash commands in the TUI: `/settings`, `/config`, `/status`, `/context`, `/compact`, `/compress`, `/problems`, `/diagnostics`, `/retry`, `/repair`, `/why-tokens`, `/ask`, `/goals`, `/switch`, `/focus`, `/copy`, `/rerun`, `/stats`, `/stop`, `/review`, `/memory`, `/permissions`, `/trust`, `/model`, `/commands`, `/run`, and `!` all route through the same command registry and prompt drawer.
73
+ - Static syntax verification now covers Rust, Python, JavaScript, TypeScript, JSON, TOML, YAML, HTML, and CSS changed files before review-ready status. Generated code that cannot parse stays failed/unverified instead of becoming a receipt.
74
+ - Failed goals default to a Problems focus view with grouped verifier/provider/quality diagnostics, compact repair hints, and `p` / `r` keyboard shortcuts for inspection and repair.
75
+ - `/why-tokens` explains the latest prompt manifest in plain language, including first-attempt, repair-attempt, context/artifact, system, goal, memory, attachment, repo-code, MCP/tool, retry, compaction, and dedupe buckets.
76
+ - v0.11 context planning builds a compact repo map, selects only the highest-value code slices under a target budget, exposes omitted code tokens, and labels target-exceeded prompts honestly when one required slice must go over budget.
77
+ - Ask mode supports `/ask <question>`, scrollable answers, and lightweight markdown-style rendering without mixing Ask into goal memory.
73
78
  - Faster multi-goal navigation: the sidebar shows stable goal indexes, `Alt+Up` / `Alt+Down` switches goals even while drafting text, `Alt+1` through `Alt+9` jumps directly, and `/goals` opens a searchable switcher.
74
- - Review-ready goals now default to a Code focus view when diff hunks are available, with Receipt, Code, Commands, and Log tabs in the Active panel plus `f` / `[` / `]` keyboard navigation.
79
+ - Review-ready goals now default to a Code focus view when diff hunks are available, with Receipt, Problems, Code, Commands, and Log tabs in the Active panel plus `p` / `r` / `f` / `[` / `]` keyboard navigation.
75
80
  - Command run receipts stay collapsed by default; the Commands focus view shows status, exit code, duration, and short stdout/stderr previews. `/rerun` repeats the latest command through the same sandbox path and `/copy` copies the current focus view to the Windows clipboard.
76
81
  - Saved workspace sessions: use `phonton -r` or `phonton --resume` to reopen the last saved TUI conversation for the current repo.
77
82
  - Prompt bar paste artifacts: long or multiline pasted text collapses into a compact colored chip while the full content stays attached to the submitted goal; credential-looking pasted blocks are blocked before they can reach the model.
@@ -84,7 +89,7 @@ It walks through the evidence trail a real run should expose: GoalContract, plan
84
89
  - Sandboxed command runs from the prompt bar with `/run <cmd>` or `!<cmd>`, plus command status, output previews, context meters, and permission mode controls in the TUI and Flight Log.
85
90
  - `phonton doctor` setup diagnostics for config, provider key, store, trust, git, cargo, and Nexus config.
86
91
  - `phonton plan` preview for task DAGs and the visible GoalContract before edits happen.
87
- - `phonton review` surfaces for verified diff review payloads, approvals, rejections, rollback, and Markdown receipt export.
92
+ - `phonton review` surfaces for verified diff review payloads, approvals, rejections, rollback, and Markdown receipt export. Failed runs can still export a failed/unverified Markdown receipt with diagnostics.
88
93
  - `phonton run latest` executes the latest receipt-suggested run command through the sandbox.
89
94
  - TUI goal prompts can mention workspace files and images with `@path`; text files become bounded context and image metadata/payloads flow to compatible providers.
90
95
  - Review-ready runs now show a handoff receipt in the TUI and persist a minimal outcome ledger for history/review evidence.
@@ -135,7 +140,7 @@ Windows PowerShell:
135
140
  Direct Cargo install:
136
141
 
137
142
  ```bash
138
- cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.9.3 phonton-cli --locked --force
143
+ cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.11.0 phonton-cli --locked --force
139
144
  ```
140
145
 
141
146
  Check the install:
@@ -151,7 +156,7 @@ Phonton uses GitHub branches and releases as install channels:
151
156
 
152
157
  | Channel | Install | Use when |
153
158
  |---|---|---|
154
- | Stable | `cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.9.3 phonton-cli --locked --force` | You want the best validated public alpha |
159
+ | Stable | `cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.11.0 phonton-cli --locked --force` | You want the best validated public alpha |
155
160
  | Dev | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch dev phonton-cli --locked --force` | You want next-release integration changes |
156
161
  | Nightly | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch nightly phonton-cli --locked --force` | You want daily snapshots and can tolerate breakage |
157
162
  | Main | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch main phonton-cli --locked --force` | You want the current release branch tip |
@@ -254,6 +259,7 @@ Inside the TUI prompt bar:
254
259
  /settings, /config Open provider/model/budget settings
255
260
  /status Show version, provider, model, workspace, and token state
256
261
  /review Show review receipt guidance for the selected goal
262
+ /ask <question> Ask a stateless question without queueing a goal
257
263
  /memory Inspect local decision memory
258
264
  /permissions Show sandbox, trust, and approval status
259
265
  /trust Show or revoke workspace trust records
@@ -264,7 +270,7 @@ Inside the TUI prompt bar:
264
270
  Ctrl+V Paste from the Windows clipboard
265
271
  Ctrl+U / Ctrl+K Clear before / after cursor
266
272
  PgUp / PgDn Scroll the Active receipt/code surface
267
- Mouse wheel Scroll the visible Active or Flight Log surface
273
+ Mouse wheel Scroll the visible Active, Ask, or Flight Log surface
268
274
  Tab Complete slash commands
269
275
  ```
270
276
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonton-cli",
3
- "version": "0.9.3",
3
+ "version": "0.11.0",
4
4
  "description": "Local-first agentic development terminal with context packs, source handles, and verification gates.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "homepage": "https://github.com/phonton-dev/phonton-cli#readme",