@naarang/ccc 3.2.0-beta.1 → 3.3.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # C3 - A Complete Mobile IDE for Coding Agents
2
2
 
3
- **Control Claude Code, OpenCode, and Codex from your mobile device**
3
+ **Control Claude Code, OpenCode, Codex, and Pi from your mobile device**
4
4
 
5
- C3 is a complete mobile IDE that bridges coding agents — [Claude Code](https://claude.com/product/claude-code), [OpenCode](https://opencode.ai), and [OpenAI Codex](https://developers.openai.com/codex/cli) — to your mobile device, allowing you to chat, execute code operations, and manage your development environment remotely.
5
+ C3 is a complete mobile IDE that bridges coding agents — [Claude Code](https://claude.com/product/claude-code), [OpenCode](https://opencode.ai), [OpenAI Codex](https://developers.openai.com/codex/cli), and [Pi](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent) — to your mobile device, allowing you to chat, execute code operations, and manage your development environment remotely.
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/@naarang/ccc.svg?style=flat-square)](https://www.npmjs.com/package/@naarang/ccc)
8
8
 
@@ -57,7 +57,7 @@ C3 is a complete mobile IDE that bridges coding agents — [Claude Code](https:/
57
57
  ## Features
58
58
 
59
59
  ### Core
60
- - **Multi-Provider Support** - Switch between Claude Code, OpenCode, and Codex within the same app
60
+ - **Multi-Provider Support** - Switch between Claude Code, OpenCode, Codex, and Pi within the same app
61
61
  - **Mobile Control** - Chat with any coding agent from your phone or tablet
62
62
  - **Real-time Sync** - See responses instantly with streaming support
63
63
  - **Smart Permission System** - Fine-grained control over code modifications
@@ -85,6 +85,17 @@ C3 is a complete mobile IDE that bridges coding agents — [Claude Code](https:/
85
85
  - **Hooks** - Configure event-driven automation hooks
86
86
  - **Output Styles** - Customize Claude's communication style
87
87
 
88
+ ### Pi-Specific
89
+ - **Multi-Provider Models** - Anthropic, OpenAI, Groq, OpenRouter, and local models, all from the same session
90
+ - **Thinking Levels** - Per-turn reasoning effort: minimal, low, medium, high, xhigh
91
+ - **Session Tree Navigation** - Every prompt is a branch — rewind, fork, label, and revisit any node
92
+ - **Bash Execution** - Run shell commands inline with the `!command` prefix; output is recorded into session context
93
+ - **Extension UI Protocol** - Pi extensions can pop dialogs, status chips, widgets, and toasts directly on mobile
94
+ - **Skills, Slash Commands & Prompts** - Full support for `~/.pi/agent/` and project-scoped resources
95
+ - **Steering & Follow-Up** - Interrupt or queue messages mid-stream with `all` or `one-at-a-time` modes
96
+ - **Mobile Settings Panel** - Tune compaction, retry, queueing, and default thinking level from the app
97
+ - **Session Rename & Labels** - Set custom session names and label tree nodes for quick navigation
98
+
88
99
  ## Requirements
89
100
 
90
101
  **Bun runtime is required.** This package will not work with Node.js.
@@ -155,7 +166,7 @@ ccc --ngrok-token YOUR_TOKEN --username admin --password yourpassword
155
166
 
156
167
  ### 3. Start Chatting
157
168
 
158
- Open the app, create a project pointing to your local directory, and start chatting! You can switch between Claude Code, OpenCode, and Codex providers from within any chat session.
169
+ Open the app, create a project pointing to your local directory, and start chatting! You can switch between Claude Code, OpenCode, Codex, and Pi providers from within any chat session.
159
170
 
160
171
  ## CLI Options
161
172
 
@@ -218,6 +229,14 @@ C3 offers permission modes that map to each provider's native controls:
218
229
  | **Pair** | Interactive — reads and writes with your approval |
219
230
  | **Execute** | Autonomous — executes changes independently |
220
231
 
232
+ ### Pi
233
+ | Mode | Description | Use Case |
234
+ |------|-------------|----------|
235
+ | **Default** | Approval required for every tool call | Balanced security |
236
+ | **Plan Mode** | Approval required for every tool call | Code review |
237
+ | **Accept Edits** | File reads/writes auto-approved; bash & shell still need approval | Active development |
238
+ | **Bypass All** | Skips all prompts (use with caution!) | Controlled environments |
239
+
221
240
  ## Terminal Access
222
241
 
223
242
  C3 includes a built-in terminal accessible from the mobile app:
@@ -243,6 +262,7 @@ C3 includes a built-in terminal accessible from the mobile app:
243
262
  - [Claude Code](https://claude.com/product/claude-code) (requires Claude Pro/Max subscription or API key)
244
263
  - [OpenCode](https://opencode.ai) (supports multiple LLM providers)
245
264
  - [Codex CLI](https://developers.openai.com/codex/cli) (requires OpenAI API key or ChatGPT subscription)
265
+ - [Pi Coding Agent](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent) (`npm i -g @mariozechner/pi-coding-agent` — supports Anthropic, OpenAI, Groq, OpenRouter, and local models)
246
266
 
247
267
  ## Troubleshooting
248
268
 
@@ -277,6 +297,11 @@ ccc --router-port 9000 --mqtt-port 9001
277
297
  **OpenCode:**
278
298
  1. Verify installed: `opencode --version`
279
299
 
300
+ **Pi:**
301
+ 1. Verify installed: `pi --version`
302
+ 2. Configure a provider: `pi auth` (Anthropic, OpenAI, Groq, OpenRouter, or local)
303
+ 3. Pi must be installed globally (`npm i -g @mariozechner/pi-coding-agent`) — C3 resolves the user-installed SDK at runtime to track the latest models and fixes
304
+
280
305
  For all providers, verify the project path exists and is accessible.
281
306
 
282
307
  ## Support & Community
@@ -299,4 +324,4 @@ If you find C3 useful, consider supporting its development:
299
324
 
300
325
  **Made with ❤️ by naarang**
301
326
 
302
- > **Note**: This tool requires at least one supported coding agent (Claude Code, OpenCode, or Codex) installed and authenticated. This project is not affiliated with, endorsed by, or sponsored by Anthropic, OpenAI, or any agent provider. Claude, Claude Code, Codex, and OpenCode are trademarks of their respective owners. This is an independent project built to provide a mobile interface for coding agents.
327
+ > **Note**: This tool requires at least one supported coding agent (Claude Code, OpenCode, Codex, or Pi) installed and authenticated. This project is not affiliated with, endorsed by, or sponsored by Anthropic, OpenAI, or any agent provider. Claude, Claude Code, Codex, OpenCode, and Pi are trademarks of their respective owners. This is an independent project built to provide a mobile interface for coding agents.