Skip to content

v1.0.0 - 2026-10-30

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Nov 20:16
499379d

Release Notes

Added

  • The command structs are public (AddCmd, DevCmd, InitCmd, ListCmd, RemoveCmd, ServeCmd and StartCmd under pctx::commands::code_mode), so another CLI can embed them beside its own subcommands.
  • pctx::utils::get_styles is public, so a CLI that embeds the commands can give its help the same colors.

Changed

  • Breaking: pctx mcp is now pctx code-mode: pctx code-mode init, list, add, remove, start and dev. The old pctx mcp … spellings are gone; update scripts, MCP client configs (e.g. pctx code-mode start --stdio) and CI.
  • Breaking: for crates embedding the CLI, pctx::McpCommands is pctx::CodeModeCommands, Commands::Mcp is Commands::CodeMode, and pctx::commands::mcp is pctx::commands::code_mode.
  • Breaking: pctx start (the session server pctx-client talks to) is now pctx code-mode serve, with the same flags. Embedders: pctx::commands::StartCmd is pctx::commands::code_mode::ServeCmd, and Commands::Start is removed (CodeModeCommands::Serve replaces it).

Fixed

  • A script that never finished, such as a loop that never yields or an await that never settles, held the executor forever and blocked every later run in the process. Runs now stop after 2 minutes with Execution exceeded 120s and was stopped; set a different limit with ExecuteOptions::with_timeout. Crates that build ExecuteOptions with a struct literal need the new timeout field.

Install pctx 1.0.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/portofcontext/pctx/releases/download/v1.0.0/pctx-installer.sh | sh

Install prebuilt binaries via Homebrew

brew install portofcontext/tap/pctx

Install prebuilt binaries into your npm project

npm install @portofcontext/pctx@1.0.0

Download pctx 1.0.0

File Platform Checksum
pctx-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
pctx-x86_64-pc-windows-msvc.zip x64 Windows checksum
pctx-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
pctx-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo portofcontext/pctx

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>