Skip to content

Commit 9ded61f

Browse files
committed
pi agent
1 parent bc23ea6 commit 9ded61f

7 files changed

Lines changed: 21 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to Construct CLI will be documented in this file.
44

5+
## [0.13.0] - 2026-01-07
6+
7+
### Added
8+
- **Pi Coding Agent**: Added support for Pi Coding Agent (`@mariozechner/pi-coding-agent`).
9+
- Config mounted at `/home/construct/.pi`
10+
- Added to default npm packages in `packages.toml`
11+
- Auto-creates `~/.pi/agent/auth.json` (empty object) on first run
12+
13+
---
14+
515
## [0.12.0] - 2026-01-07
616

717
### Changed

DESIGN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Construct CLI is a single-binary tool that launches an isolated, ephemeral conta
2222
- **Safe upgrades**: Versioned migrations refresh templates and merge config with backups.
2323
- **Self-Update**: Automatic checks against the published VERSION file; self-update downloads release tarballs with backup/rollback.
2424
- **Log maintenance**: Configurable cleanup of old log files under `~/.config/construct-cli/logs/`.
25-
- **Toolchain**: Default `packages.toml` installs brew/cargo/npm tools like `ripgrep`, `fd`, `eza`, `bat`, `jq`, `yq`, `sd`, `fzf`, `gh`, `git-delta`, `git-cliff`, `shellcheck`, `yamllint`, `neovim`, `uv`, `vite`, `webpack`, language runtimes (Go, Rust, Python, Node, Java, PHP, Swift, Zig, Kotlin, Lua, Ruby, Dart, Perl, Erlang, etc.), and agents/tools (`gemini-cli`, `opencode`, `@openai/codex`, `@qwen-code/qwen-code`, `@github/copilot`, `cline`, `mcp-cli-ent`, `md-over-here`, `url-to-markdown-cli-tool`).
25+
- **Toolchain**: Default `packages.toml` installs brew/cargo/npm tools like `ripgrep`, `fd`, `eza`, `bat`, `jq`, `yq`, `sd`, `fzf`, `gh`, `git-delta`, `git-cliff`, `shellcheck`, `yamllint`, `neovim`, `uv`, `vite`, `webpack`, language runtimes (Go, Rust, Python, Node, Java, PHP, Swift, Zig, Kotlin, Lua, Ruby, Dart, Perl, Erlang, etc.), and agents/tools (`gemini-cli`, `opencode`, `@openai/codex`, `@qwen-code/qwen-code`, `@github/copilot`, `cline`, `@mariozechner/pi-coding-agent`, `mcp-cli-ent`, `md-over-here`, `url-to-markdown-cli-tool`).
2626

2727
---
2828

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ But, **most importantly**, it keeps your local machine safe from LLM prompt inje
3535
- **OpenCode** (`opencode`) – General code assistant.
3636
- **Cline** (`cline`) – Agentic workflow helper.
3737
- **OpenAI Codex** (`codex`) – Codex-style code generation.
38+
- **Pi Coding Agent** (`pi`) – General-purpose coding assistant with extensible tooling.
3839
- **Claude Code** with several other 3rd party providers with Anthropic compatible API: Zai GLM, MiniMax M2, Kimi K2, Qwen, Mimo.
3940

4041
### Installation

internal/agent/agent.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ var SupportedAgents = []Agent{
1717
{Name: "OpenCode", Slug: "opencode", ConfigPath: "/home/construct/.config/opencode"},
1818
{Name: "Cline", Slug: "cline", ConfigPath: "/home/construct/.cline"},
1919
{Name: "OpenAI Codex", Slug: "codex", ConfigPath: "/home/construct/.codex"},
20+
{Name: "Pi Coding Agent", Slug: "pi", ConfigPath: "/home/construct/.pi"},
2021
}
2122

2223
// IsSupported checks if an agent slug is supported.

internal/constants/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const (
66
AppName = "construct"
77
ConfigDir = ".config/construct-cli"
88
ImageName = "construct-box"
9-
Version = "0.12.0"
9+
Version = "0.13.0"
1010
GithubAPIURL = "https://api.github.com/repos/EstebanForge/construct-cli/releases/latest"
1111
GithubRawURL = "https://raw.githubusercontent.com/EstebanForge/construct-cli/main/VERSION"
1212
UpdateCheckFile = "last-update-check"

internal/templates/entrypoint.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ if [ "$CURRENT_HASH" != "$PREVIOUS_HASH" ]; then
208208
# Create necessary directories
209209
mkdir -p ~/.local/bin ~/.local/lib/node_modules ~/.npm-global
210210

211+
# Create Pi agent config directories with empty auth.json
212+
mkdir -p ~/.pi/agent
213+
if [ ! -f ~/.pi/agent/auth.json ]; then
214+
echo '{}' > ~/.pi/agent/auth.json
215+
fi
216+
211217
# User-defined packages (install_user_packages.sh)
212218
# This script is generated by the CLI based on packages.toml
213219
if [ -f "$USER_INSTALL_SCRIPT" ]; then

internal/templates/packages.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ packages = [
4949
"@openai/codex",
5050
"url-to-markdown-cli-tool",
5151
"sass",
52+
"@mariozechner/pi-coding-agent",
5253
]
5354

5455
# Python packages

0 commit comments

Comments
 (0)