phonton-cli 0.6.2 → 0.7.1

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 +22 -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.6.2</h1>
5
+ <h1 align="center">Phonton CLI · v0.7.1</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.6.2-6c63ff">
15
+ <img alt="release" src="https://img.shields.io/badge/release-v0.7.1-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>
@@ -61,6 +61,7 @@ Try the proof-oriented demo text before configuring a provider:
61
61
 
62
62
  ```bash
63
63
  phonton demo trust-loop
64
+ phonton demo trust-loop --json
64
65
  ```
65
66
 
66
67
  It walks through the evidence trail a real run should expose: GoalContract, plan preview, verification failure and retry, review receipt, known gaps, rollback point, and memory prompt.
@@ -74,8 +75,9 @@ It walks through the evidence trail a real run should expose: GoalContract, plan
74
75
  - Windows clipboard import in the TUI with `Ctrl+V`, including content selected from Windows clipboard history (`Win+V`) when the terminal does not emit bracketed paste directly.
75
76
  - Sandboxed command runs from the prompt bar with `/run <cmd>` or `!<cmd>`, plus command status and output previews in the TUI and Flight Log.
76
77
  - `phonton doctor` setup diagnostics for config, provider key, store, trust, git, cargo, and Nexus config.
77
- - `phonton plan` preview for task DAGs before edits happen.
78
- - `phonton review` surfaces for verified diff review payloads, approvals, rejections, and rollback.
78
+ - `phonton plan` preview for task DAGs and the visible GoalContract before edits happen.
79
+ - `phonton review` surfaces for verified diff review payloads, approvals, rejections, rollback, and Markdown receipt export.
80
+ - `phonton run latest` executes the latest receipt-suggested run command through the sandbox.
79
81
  - TUI goal prompts can mention workspace files and images with `@path`; text files become bounded context and image metadata/payloads flow to compatible providers.
80
82
  - Review-ready runs now show a handoff receipt in the TUI and persist a minimal outcome ledger for history/review evidence.
81
83
  - `phonton memory` commands for inspecting, editing, deleting, pinning, and unpinning local decision memory.
@@ -84,7 +86,7 @@ It walks through the evidence trail a real run should expose: GoalContract, plan
84
86
  - BYOK provider adapters for Anthropic, OpenAI, OpenRouter, Gemini, Cloudflare Workers AI, AgentRouter, DeepSeek, xAI/Grok, Groq, Together, Ollama, and custom OpenAI-compatible endpoints. `phonton doctor --provider` verifies your configured provider by checking model discovery and a tiny completion call through the same adapter used for runs.
85
87
  - Local store, memory, planner, worker, diff, sandbox, verification, and orchestration crates.
86
88
  - Prompt-section token manifests in the Flight Log so system, goal, memory, attachment, MCP, and retry-context costs are inspectable.
87
- - `phonton demo trust-loop` prints a compact proof-oriented walkthrough of the GoalContract -> verification -> receipt -> memory loop for first-run demos.
89
+ - `phonton demo trust-loop` prints a compact proof-oriented walkthrough of the GoalContract -> verification -> receipt -> memory loop for first-run demos, with `--json` for reproducible demos.
88
90
  - Semantic indexing behind the CLI stack for repo-aware workflows.
89
91
 
90
92
  ## What Is Still Early
@@ -125,7 +127,7 @@ Windows PowerShell:
125
127
  Direct Cargo install:
126
128
 
127
129
  ```bash
128
- cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.6.2 phonton-cli --locked --force
130
+ cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.7.1 phonton-cli --locked --force
129
131
  ```
130
132
 
131
133
  Check the install:
@@ -141,7 +143,7 @@ Phonton uses GitHub branches and releases as install channels:
141
143
 
142
144
  | Channel | Install | Use when |
143
145
  |---|---|---|
144
- | Stable | `cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.6.2 phonton-cli --locked --force` | You want the best validated public alpha |
146
+ | Stable | `cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.7.1 phonton-cli --locked --force` | You want the best validated public alpha |
145
147
  | Dev | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch dev phonton-cli --locked --force` | You want next-release integration changes |
146
148
  | 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 |
147
149
  | Main | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch main phonton-cli --locked --force` | You want the current release branch tip |
@@ -227,8 +229,9 @@ phonton init Create ~/.phonton/config.toml if it is missing
227
229
  phonton ask <question> One-shot Q&A using the configured provider
228
230
  phonton demo trust-loop Print the evidence-trail demo loop
229
231
  phonton doctor Check config, store, trust, git, cargo, and Nexus
230
- phonton plan <goal> Preview the task DAG without changing files
232
+ phonton plan <goal> Preview the task DAG and GoalContract without changing files
231
233
  phonton review Show verified diff review payloads
234
+ phonton run latest Run the latest receipt-suggested command
232
235
  phonton memory list Inspect local decision memory
233
236
  phonton extensions list Inspect skills, steering, MCP servers, and profiles
234
237
  phonton mcp list Show configured MCP servers without starting them
@@ -260,14 +263,25 @@ Plan preview:
260
263
  phonton plan --json "add input validation to config loading"
261
264
  ```
262
265
 
266
+ The text preview shows the visible GoalContract, including acceptance criteria,
267
+ likely files, verification plan, run plan, assumptions, and clarifications.
268
+
263
269
  Review latest completed task:
264
270
 
265
271
  ```bash
266
272
  phonton review latest
273
+ phonton review latest --markdown
267
274
  phonton review approve latest
268
275
  phonton review reject latest
269
276
  ```
270
277
 
278
+ Run the latest suggested command from a review receipt:
279
+
280
+ ```bash
281
+ phonton run latest
282
+ phonton run latest --index 2
283
+ ```
284
+
271
285
  Memory management:
272
286
 
273
287
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonton-cli",
3
- "version": "0.6.2",
3
+ "version": "0.7.1",
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",