phonton-cli 0.12.6 → 0.13.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.
- package/README.md +13 -10
- 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.
|
|
5
|
+
<h1 align="center">Phonton CLI · v0.13.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.
|
|
15
|
+
<img alt="release" src="https://img.shields.io/badge/release-v0.13.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,12 +69,13 @@ 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`, `/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.
|
|
72
|
+
- Unified slash commands in the TUI: `/settings`, `/config`, `/status`, `/context`, `/compact`, `/compress`, `/problems`, `/diagnostics`, `/retry`, `/repair`, `/why-tokens`, `/ask`, `/goals`, `/switch`, `/focus`, `/diff`, `/code`, `/copy`, `/rerun`, `/stats`, `/stop`, `/review`, `/memory`, `/permissions`, `/trust`, `/model`, `/commands`, `/run`, and `!` all route through the same command registry and prompt drawer.
|
|
73
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
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
75
|
- `/why-tokens` and `phonton why-tokens --by-source` explain the latest prompt manifest in plain language, including first-attempt, repair-attempt, context/artifact, system, goal, memory, attachment, repo-code, MCP/tool, retry, compaction, dedupe, and cached-token buckets.
|
|
76
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
77
|
- v0.12 enforces lower spend before the provider call: generated app/game goals dispatch as acceptance-slice subtasks, simple/docs/test prompts use small task-class budgets, generated repairs use a sub-1k context target, semantic retrieval top-k and repo maps shrink by task class, MCP result context is capped, and provider output ceilings are lower.
|
|
78
|
+
- v0.13.0 makes Ask workspace-aware under a bounded context budget, freezes the compact TUI header after goals exist, and carries forward verified diff export: `phonton diff`, `--stat`, `--name-only`, `/diff`, `/code`, and `d`.
|
|
78
79
|
- v0.12.6 hardens provider contracts further: DeepSeek V4/reasoner routes disable provider thinking for diff-only worker calls, stale v0.12.5 canary cache entries are invalidated, reasoning-only replies fail clearly, and provider tests time out quickly instead of hanging.
|
|
79
80
|
- v0.12.5 blocks bad provider/model routes before goal dispatch: provider readiness now uses a parseable unified-diff canary, empty OpenAI-compatible responses fail immediately, OpenCode/OpenCode Go routes work through `OPENCODE_API_KEY`, and `phonton providers` can list/sync the Models.dev catalog.
|
|
80
81
|
- v0.12.4 cuts wasted repair tokens in generated-app failures: workers stop after repeated verifier/parser diagnostics, redispatch prompts start with prior verifier evidence, stale hunk repairs get explicit guidance, and the Flight Log shows compact `repair` events before bounded retries.
|
|
@@ -82,9 +83,9 @@ It walks through the evidence trail a real run should expose: GoalContract, plan
|
|
|
82
83
|
- v0.12.2 fixes early generated Vite/React chess slices so Vitest does not fail before test files exist: scaffold slices now request a starter rules module and smoke test, and npm verification waits to run Vitest/Jest discovery scripts until a test file exists.
|
|
83
84
|
- v0.12.1 fixes the playable chess benchmark path: explicit Vite/TypeScript/React prompts now scaffold an npm app contract, use chess.js-backed rules/test slices, carry current artifact snapshots between slices, use compact slice labels instead of repeating the full pasted prompt, and run npm install/test/build verification before review-ready status.
|
|
84
85
|
- `phonton proof export --latest --format json` exports the latest proof bundle from the OutcomeLedger, and `phonton context eval|diff` evaluates deterministic context-selection fixtures before benchmark runs.
|
|
85
|
-
- Ask mode supports `/ask <question>`, scrollable answers,
|
|
86
|
+
- Ask mode supports `/ask <question>`, scrollable answers, lightweight markdown-style rendering, and bounded read-only workspace context with visible `ctx:` token/file summaries. `phonton ask --no-workspace` keeps the old stateless behavior.
|
|
86
87
|
- 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.
|
|
87
|
-
- 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.
|
|
88
|
+
- 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` / `d` / `[` / `]` keyboard navigation.
|
|
88
89
|
- 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.
|
|
89
90
|
- Saved workspace sessions: use `phonton -r` or `phonton --resume` to reopen the last saved TUI conversation for the current repo.
|
|
90
91
|
- 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.
|
|
@@ -97,7 +98,7 @@ It walks through the evidence trail a real run should expose: GoalContract, plan
|
|
|
97
98
|
- 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.
|
|
98
99
|
- `phonton doctor` setup diagnostics for config, provider key, store, trust, git, cargo, and Nexus config.
|
|
99
100
|
- `phonton plan` preview for task DAGs and the visible GoalContract before edits happen.
|
|
100
|
-
- `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.
|
|
101
|
+
- `phonton review` surfaces for verified diff review payloads, approvals, rejections, rollback, and Markdown receipt export. `phonton diff` exports the verified unified diff or compact file/stat views without opening the TUI. Failed runs can still export a failed/unverified Markdown receipt with diagnostics.
|
|
101
102
|
- `phonton run latest` executes the latest receipt-suggested run command through the sandbox.
|
|
102
103
|
- TUI goal prompts can mention workspace files and images with `@path`; text files become bounded context and image metadata/payloads flow to compatible providers.
|
|
103
104
|
- Review-ready runs now show a handoff receipt in the TUI and persist a minimal outcome ledger for history/review evidence.
|
|
@@ -149,7 +150,7 @@ Windows PowerShell:
|
|
|
149
150
|
Direct Cargo install:
|
|
150
151
|
|
|
151
152
|
```bash
|
|
152
|
-
cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.
|
|
153
|
+
cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.13.0 phonton-cli --locked --force
|
|
153
154
|
```
|
|
154
155
|
|
|
155
156
|
Check the install:
|
|
@@ -165,7 +166,7 @@ Phonton uses GitHub branches and releases as install channels:
|
|
|
165
166
|
|
|
166
167
|
| Channel | Install | Use when |
|
|
167
168
|
|---|---|---|
|
|
168
|
-
| Stable | `cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.
|
|
169
|
+
| Stable | `cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.13.0 phonton-cli --locked --force` | You want the best validated public alpha |
|
|
169
170
|
| Dev | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch dev phonton-cli --locked --force` | You want next-release integration changes |
|
|
170
171
|
| 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 |
|
|
171
172
|
| Main | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch main phonton-cli --locked --force` | You want the current release branch tip |
|
|
@@ -248,11 +249,12 @@ phonton doctor --provider
|
|
|
248
249
|
phonton Launch the interactive TUI
|
|
249
250
|
phonton -r Resume the saved TUI session for this workspace
|
|
250
251
|
phonton init Create ~/.phonton/config.toml if it is missing
|
|
251
|
-
phonton ask <
|
|
252
|
+
phonton ask [flags] <q> Workspace-aware Q&A using the configured provider
|
|
252
253
|
phonton demo trust-loop Print the evidence-trail demo loop
|
|
253
254
|
phonton doctor Check config, store, trust, git, cargo, and Nexus
|
|
254
255
|
phonton plan <goal> Preview the task DAG and GoalContract without changing files
|
|
255
256
|
phonton review Show verified diff review payloads
|
|
257
|
+
phonton diff Print verified unified diffs from review-ready tasks
|
|
256
258
|
phonton run latest Run the latest receipt-suggested command
|
|
257
259
|
phonton memory list Inspect local decision memory
|
|
258
260
|
phonton extensions list Inspect skills, steering, MCP servers, and profiles
|
|
@@ -268,7 +270,8 @@ Inside the TUI prompt bar:
|
|
|
268
270
|
/settings, /config Open provider/model/budget settings
|
|
269
271
|
/status Show version, provider, model, workspace, and token state
|
|
270
272
|
/review Show review receipt guidance for the selected goal
|
|
271
|
-
/ask <question> Ask a
|
|
273
|
+
/ask <question> Ask a bounded workspace question without queueing a goal
|
|
274
|
+
/diff, /code, d Jump to verified Code/Diff focus
|
|
272
275
|
/memory Inspect local decision memory
|
|
273
276
|
/permissions Show sandbox, trust, and approval status
|
|
274
277
|
/trust Show or revoke workspace trust records
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "phonton-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.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",
|