Skip to content

v0.30.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 09:37
· 28 commits to main since this release

Removed

  • Removed the built-in permission policy, permission configuration, approval UI, and --yolo flag. Tool calls now run through the normal extension and execution pipeline.

Changed

  • Permission policies can be implemented by extensions through tool-call interception, blocking, and input rewriting.
  • docs: the go get examples for the ext/go SDK name v0.25.6, the current tag,
    instead of v0.21.0.
  • urls: an explicit ?limit= outside 1-1000 now fails with the message that
    names that range, instead of the struct-field wording that also allows zero.
  • MCP: compact tool summaries mark required params with a * name prefix
    (*owner:s) and the system prompt legend explains the notation
    (s/n/b/o/a/?/{enum}/*).

Added

  • Added a project-specific Code of Conduct covering
    participation, reporting, moderation, and appeals.
  • phi run --model NAME selects a configured named model for one headless run,
    with precedence --model > config model > PHI_MODEL. An unknown name
    exits with code 3 and lists the configured models.
  • phi mcp list gains an aligned TRANSPORT column: stdio commands and HTTP
    URLs are distinguishable, and an unrecognized transport value is shown as-is
    instead of being mislabeled stdio.
  • phi plugin list prints an ID VERSION SOURCE PATH header with aligned
    columns, matching phi mcp list.

Fixed

  • MCP: accept an SSE response framed as data:{...}, without the optional
    space after the field colon, instead of failing with parse http body.
  • phi run rejects stray positional arguments with a usage error (exit 3).
    An unquoted phi run -p fix the bug used to send only fix to the model,
    silently dropping the rest of the prompt, and exit 0.
  • phi sessions, phi mcp list, phi mcp doctor, phi plugin list,
    phi config, and phi update reject stray positional arguments with a
    usage error (exit 3). A mistyped subcommand such as
    phi sessions delete <id> used to list sessions, delete nothing, and exit 0.
  • Installer scripts no longer say that phi config opens a browser; it opens the
    terminal configuration editor, as the README describes.
  • phi mcp doctor with an empty or missing mcp.json now prints the same hint
    as phi mcp list and exits 0, instead of FAIL (none) no servers in mcp.json
    and exit 1.
  • Align the phi plugin example in the root help text.
  • phi sessions remove prints the full resolved session id instead of echoing
    the id or prefix the user typed.
  • Only abbreviate the home directory and its children with ~ in TUI paths;
    similarly named sibling directories now retain their actual paths.

Security