Repository navigation
Release Notes
Added
- The command structs are public (
AddCmd,DevCmd,InitCmd,ListCmd,RemoveCmd,ServeCmdandStartCmdunderpctx::commands::code_mode), so another CLI can embed them beside its own subcommands. pctx::utils::get_stylesis public, so a CLI that embeds the commands can give its help the same colors.
Changed
- Breaking:
pctx mcpis nowpctx code-mode:pctx code-mode init,list,add,remove,startanddev. The oldpctx 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::McpCommandsispctx::CodeModeCommands,Commands::McpisCommands::CodeMode, andpctx::commands::mcpispctx::commands::code_mode. - Breaking:
pctx start(the session serverpctx-clienttalks to) is nowpctx code-mode serve, with the same flags. Embedders:pctx::commands::StartCmdispctx::commands::code_mode::ServeCmd, andCommands::Startis removed (CodeModeCommands::Servereplaces it).
Fixed
- A script that never finished, such as a loop that never yields or an
awaitthat never settles, held the executor forever and blocked every later run in the process. Runs now stop after 2 minutes withExecution exceeded 120s and was stopped; set a different limit withExecuteOptions::with_timeout. Crates that buildExecuteOptionswith a struct literal need the newtimeoutfield.
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 | shInstall prebuilt binaries via Homebrew
brew install portofcontext/tap/pctxInstall prebuilt binaries into your npm project
npm install @portofcontext/pctx@1.0.0Download 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/pctxYou 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>