Releases: osodevops/perplexity-cli
Releases · osodevops/perplexity-cli
v0.3.2
Fixed
pplx config initnow prompts to update API key when config already exists instead of just exiting- Fix Homebrew formula: ARM Mac URL was pointing to source tarball instead of prebuilt binary
- Fix release pipeline: auto-tag uses PAT for tag push, gh CLI replaces taiki-e actions, Windows builds use bash shell
- Add Scoop bucket support for Windows package manager
v0.3.1
Fixed
pplx config initnow prompts to update API key when config already exists instead of just exiting
v0.3.0
Added
- Structured error handling with semantic exit codes (0-7) for programmatic consumption
- JSON error output on stdout (
-o json) withcode,message,suggestion,exit_codefields --quiet/-qglobal flag for bare content output (no formatting, spinners, or metadata)--no-spinnerglobal flag to disable progress spinnerpplx describecommand outputting machine-readable JSON capability schemaresearch --dry-runflag to preview request JSON without making an API callcli_versionfield injected into all JSON output envelopes- Per-subcommand help examples (
pplx ask --help,pplx search --help, etc.) PplxErrormethods:error_code(),exit_code(),suggestion(),to_json()- Agent usage guide in CLAUDE.md with exit codes, error recovery, and quick reference
Changed
main()restructured intomain()/run()/handle_error()for proper exit code propagation- Validation errors (
anyhow::bail!) converted toPplxError::Validationfor exit code 2 - Integration tests fixed to use
--config /dev/nullto bypass user config file
v0.2.0
Added
pplx searchcommand for raw web search via Search API (single and multi-query)pplx researchcommand for async deep research with job management (submit, status, list, get)pplx agentcommand for Agent API with third-party models and tool supportpplx interactivecommand for REPL sessions with slash commands (/model, /clear, /cost, etc.)pplx config setcommand for format-preserving config file updates--reasoningflag to display<think>blocks from reasoning models--reasoning-effortflag (minimal, low, medium, high)--json-schemaflag for structured output (inline JSON or file path)--saveflag to save responses to file--images,--related,--search-resultsflags for response enrichment--no-searchand--smart-searchflags for search control--domain,--exclude-domainflags for domain filtering--after,--before,--updated-after,--updated-beforedate filters--search-modeflag (web, academic, sec)--recencyfilter (hour, day, week, month, year)--context-sizeflag (minimal, low, medium, high)- Cost tracking with per-request breakdown (input/output/request/citation/reasoning/search)
- Session cost accumulation in interactive mode
- Input validation for temperature, top_p, and other parameters
- Man page generation via
gen-manbinary --versionoutput includes git commit hash- AUR PKGBUILD and Nix flake packaging stubs
Changed
- Version bumped to 0.2.0
pplx confignow supports subcommands:init,show,set- Streaming uses ThinkParser state machine for
<think>block extraction - Removed dead code and
#[allow(dead_code)]annotations