phonton-cli 0.16.0 → 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 +28 -6
  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.0</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.0-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,6 +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.
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`.
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.
72
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.
73
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.
74
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.
@@ -168,7 +173,7 @@ Windows PowerShell:
168
173
  Direct Cargo install:
169
174
 
170
175
  ```bash
171
- cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.16.0 phonton-cli --locked --force
176
+ cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.16.2 phonton-cli --locked --force
172
177
  ```
173
178
 
174
179
  Check the install:
@@ -184,7 +189,7 @@ Phonton uses GitHub branches and releases as install channels:
184
189
 
185
190
  | Channel | Install | Use when |
186
191
  |---|---|---|
187
- | Stable | `cargo install --git https://github.com/phonton-dev/phonton-cli --tag v0.16.0 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 |
188
193
  | Dev | `cargo install --git https://github.com/phonton-dev/phonton-cli --branch dev phonton-cli --locked --force` | You want next-release integration changes |
189
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 |
190
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 |
@@ -268,6 +273,7 @@ phonton Launch the interactive TUI
268
273
  phonton -r Resume the saved TUI session for this workspace
269
274
  phonton init Create ~/.phonton/config.toml if it is missing
270
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
271
277
  phonton demo trust-loop Print the evidence-trail demo loop
272
278
  phonton doctor Check config, store, trust, git, cargo, and Nexus
273
279
  phonton plan <goal> Preview the task DAG and GoalContract without changing files
@@ -275,7 +281,7 @@ phonton review Show verified diff review payloads
275
281
  phonton diff Print verified unified diffs from review-ready tasks
276
282
  phonton run latest Run the latest receipt-suggested command
277
283
  phonton memory list Inspect local decision memory
278
- phonton extensions list Inspect skills, steering, MCP servers, and profiles
284
+ phonton extensions Install and inspect skills, steering, MCP servers, and profiles
279
285
  phonton mcp list Show configured MCP servers without starting them
280
286
  phonton config path Print the resolved config file path
281
287
  phonton config show Dump resolved config as TOML
@@ -315,6 +321,17 @@ phonton plan --json "add input validation to config loading"
315
321
  The text preview shows the visible GoalContract, including acceptance criteria,
316
322
  likely files, verification plan, run plan, assumptions, and clarifications.
317
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
+
318
335
  Review latest completed task:
319
336
 
320
337
  ```bash
@@ -343,8 +360,13 @@ phonton memory delete <id>
343
360
  Extension visibility:
344
361
 
345
362
  ```bash
363
+ phonton extensions catalog
364
+ phonton extensions install context7
365
+ phonton extensions install https://github.com/phonton-dev/phonton-review-gate-extension
366
+ phonton extensions new ./my-extension skill
346
367
  phonton extensions list --json
347
368
  phonton extensions doctor --json
369
+ phonton extensions validate --json
348
370
  phonton skills list --json
349
371
  phonton steering list --json
350
372
  phonton mcp list --json
@@ -392,7 +414,7 @@ phonton context diff --indexed --non-indexed fixtures/context.json --format json
392
414
  phonton why-tokens --by-source
393
415
  ```
394
416
 
395
- 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.
396
418
 
397
419
  Read the methodology in [docs/BENCHMARKS.md](docs/BENCHMARKS.md).
398
420
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonton-cli",
3
- "version": "0.16.0",
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",