phonton-cli 0.16.1 → 0.16.2

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 +20 -5
  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.16.1</h1>
5
+ <h1 align="center">Phonton CLI · v0.16.2</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.16.1-6c63ff">
15
+ <img alt="release" src="https://img.shields.io/badge/release-v0.16.2-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,8 +69,11 @@ 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
+ - v0.16.2 hardens headless benchmark runs: `phonton goal --prompt-file <path> --json --yes` captures bounded baseline test evidence when prompts ask to run tests first, extracts prompt-mentioned files/APIs into the GoalContract, avoids parent-repo checkpoint escapes in nested work folders, and keeps mixed local-template/provider runs out of token-claim eligibility.
73
+ - v0.16.1 adds `phonton goal --prompt-file <path>` for CI and benchmark runs that need the same goal execution spine without clipboard, paste, or PTY automation.
72
74
  - v0.16.1 adds `phonton extensions install <source>` for installing audited `.phonton` packs from GitHub or local paths, plus built-in open-source MCP catalog ids such as `context7`, `github`, `chrome-devtools`, `playwright`, `firecrawl`, `supabase`, `mongodb`, and `figma`.
73
75
  - v0.16.1 adds `phonton extensions catalog`, `phonton extensions new <path> [skill|steering|mcp-server|profile]`, and `phonton extensions validate` so extension discovery, scaffolding, and validation feel closer to Gemini CLI while preserving Phonton's local trust and approval model.
76
+ - v0.16.1 hardens the local ADE spine: memory retrieval now uses light stemming, engineering-term synonyms, stopword filtering, and IDF-weighted overlap; cargo verification uses file-backed locks under `target/.phonton-locks`; Windows sandbox job-object fallback is reported explicitly.
74
77
  - v0.16.0 adds typed `@...` context mentions for files, directories, symbols, MCP servers, and MCP tools, with resolved/missing/approval-gated rows visible in `/context` and the Context focus surface.
75
78
  - v0.16.0 separates local prompt token estimates from provider-reported billing usage in `phonton why-tokens --by-source`; local-only runs now render as `no provider call`, and prompt manifests carry resolved `@...` mention rows plus attribution-only token totals instead of double-counting attachments or MCP/tool context.
76
79
  - v0.16.0 tightens extension and MCP diagnostics so `phonton extensions doctor` warns on networked or mutating MCP trust even when a server has not listed explicit permissions.
@@ -170,7 +173,7 @@ Windows PowerShell:
170
173
  Direct Cargo install:
171
174
 
172
175
  ```bash
173
- cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.16.1 phonton-cli --locked --force
176
+ cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.16.2 phonton-cli --locked --force
174
177
  ```
175
178
 
176
179
  Check the install:
@@ -186,7 +189,7 @@ Phonton uses GitHub branches and releases as install channels:
186
189
 
187
190
  | Channel | Install | Use when |
188
191
  |---|---|---|
189
- | Stable | `cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.16.1 phonton-cli --locked --force` | You want the best validated public alpha |
192
+ | Stable | `cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.16.2 phonton-cli --locked --force` | You want the best validated public alpha |
190
193
  | Dev | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch dev phonton-cli --locked --force` | You want next-release integration changes |
191
194
  | 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 |
192
195
  | Main | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch main phonton-cli --locked --force` | You want the current release branch tip |
@@ -270,6 +273,7 @@ phonton Launch the interactive TUI
270
273
  phonton -r Resume the saved TUI session for this workspace
271
274
  phonton init Create ~/.phonton/config.toml if it is missing
272
275
  phonton ask [flags] <q> Workspace-aware Q&A using the configured provider
276
+ phonton goal [flags] <p> Execute one goal without launching the TUI
273
277
  phonton demo trust-loop Print the evidence-trail demo loop
274
278
  phonton doctor Check config, store, trust, git, cargo, and Nexus
275
279
  phonton plan <goal> Preview the task DAG and GoalContract without changing files
@@ -317,6 +321,17 @@ phonton plan --json "add input validation to config loading"
317
321
  The text preview shows the visible GoalContract, including acceptance criteria,
318
322
  likely files, verification plan, run plan, assumptions, and clarifications.
319
323
 
324
+ Headless goal execution for CI and benchmark harnesses:
325
+
326
+ ```bash
327
+ phonton goal --prompt-file prompt.md --yes --permission-mode full-access --timeout-seconds 900 --json
328
+ ```
329
+
330
+ The headless command runs the same planner, worker, verifier, review receipt,
331
+ memory, extension, MCP, and OutcomeLedger path used by the TUI. `--yes`
332
+ records workspace trust for the current run, and `--permission-mode` keeps the
333
+ automation posture explicit.
334
+
320
335
  Review latest completed task:
321
336
 
322
337
  ```bash
@@ -399,7 +414,7 @@ phonton context diff --indexed --non-indexed fixtures/context.json --format json
399
414
  phonton why-tokens --by-source
400
415
  ```
401
416
 
402
- Benchmark exports require provider-reported token usage. Estimated-token receipts remain useful for review, but they are not valid for public efficiency claims.
417
+ Benchmark exports label token comparability explicitly: `token_usage_source`, `execution_mode`, `provider_call_count`, `token_claim_eligible`, and `benchmark_warnings`. Only verified provider runs with `token_claim_eligible: true` are valid for public token-efficiency claims. Estimated, local-template, mixed, unavailable, and failed runs remain useful product evidence, but they must stay out of headline token comparisons.
403
418
 
404
419
  Read the methodology in [docs/BENCHMARKS.md](docs/BENCHMARKS.md).
405
420
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonton-cli",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
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",