clew-code 0.2.30 → 0.2.31

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
@@ -34,7 +34,7 @@ Clew Code is a reverse-engineered reimplementation of [Claude Code](https://gith
34
34
  ## Features
35
35
 
36
36
  - **27+ providers** — Anthropic, OpenAI, Google Gemini & Code Assist, DeepSeek, Groq, xAI (Grok), Mistral, Cohere, Perplexity, Cerebras, Moonshot (Kimi), Zhipu (GLM), NVIDIA NIM, OpenRouter, OpenCode, KiloCode, Ollama (local), Together AI, Fireworks AI, Deep Infra, SiliconFlow, Hugging Face, Poe, DigitalOcean, Cline, OpenCode Go. Switch mid-session.
37
- - **Peer-to-peer LAN** — find other Clew instances on the same machine (file registry) or across machines (UDP multicast). Assign tasks, set roles, execute remote commands — 15 peer AI tools let your agent coordinate autonomously via `/peer` commands.
37
+ - **Peer-to-peer LAN** — find other Clew instances on the same machine (file registry) or across machines (UDP multicast). Assign tasks, set roles, execute remote commands — 15 peer AI tools let your agent coordinate autonomously via `/peer` commands.
38
38
 
39
39
  - **Autonomous agent loop** — file-backed persistent task queue, lease-based concurrency, exponential backoff retry, dead-letter management. Cron scheduler for recurring jobs. Max 3 concurrent workers.
40
40
  - **50+ built-in tools** — Read, Write, Edit, Glob, Grep, Bash, WebSearch, WebFetch, Browser (Playwright), PR (create/list/view/review/merge/status), NotebookEdit, JsonPath, ReadArtifact, peer tools (15 LAN coordination tools), MCP tools, ProcessPeer (exec/pty), plan mode with full bypass permissions, multi-pass context compaction.
@@ -57,7 +57,7 @@ Clew Code has several execution layers. They are related, but they do different
57
57
  - **Agent:** An AI worker with a prompt, model, tools, and permissions. The main chat session is an agent. Custom agents live in `.clew/agents/*.md`, and built-ins include `Explore`, `Plan`, and `general-purpose`.
58
58
  - **Subagent:** A short-lived child agent launched by another agent through the `Agent` tool. Use subagents for independent work such as codebase exploration, test triage, or review. The built-in `Explore` agent is read-only and is the right choice for parallel "go inspect this area" tasks.
59
59
  - **Teammate / Swarm:** A longer-lived agent team member with an identity, mailbox, task coordination, and optional pane/tmux or in-process execution. Use this when agents need to keep working together across multiple turns, not for isolated one-shot exploration.
60
- - **LAN Peer:** A network of Clew instances on the same machine or LAN. `/peer` discovers peers, sends messages, assigns tasks, and runs commands on other Clew nodes.
60
+ - **LAN Peer:** A network of Clew instances on the same machine or LAN. `/peer` discovers peers, sends messages, assigns tasks, and runs commands on other Clew nodes.
61
61
  - **Process Peer:** A local process-backed worker layer. It delegates a prompt to an external CLI/provider such as Codex using `exec` or `pty`, then returns stdout, stderr, exit code, timeout state, and progress.
62
62
 
63
63
  Typical flows:
@@ -80,7 +80,7 @@ Use the layers by intent:
80
80
 
81
81
  - Need a quick independent read-only investigation? Use an `Explore` subagent.
82
82
  - Need long-running coordination between named workers? Use teammates/swarm.
83
- - Need another Clew instance on the LAN? Use `/peer`.
83
+ - Need another Clew instance on the LAN? Use `/peer`.
84
84
  - Need Clew to run a local external worker such as Codex? Use Process Peer.
85
85
 
86
86
  Other runtime concepts:
@@ -115,6 +115,22 @@ Profile and last-used permission mode are saved between sessions.
115
115
 
116
116
  ## Install
117
117
 
118
+ ### One-liner (recommended)
119
+
120
+ Installs Bun automatically if missing, then installs clew-code and opens a new terminal ready to go.
121
+
122
+ macOS / Linux:
123
+ ```bash
124
+ curl -fsSL https://raw.githubusercontent.com/ClewCode/ClewCode/main/scripts/install.sh | bash
125
+ ```
126
+
127
+ Windows (PowerShell as Admin):
128
+ ```powershell
129
+ irm https://raw.githubusercontent.com/ClewCode/ClewCode/main/scripts/install.ps1 | iex
130
+ ```
131
+
132
+ ### With npm (requires Bun or Node.js already installed)
133
+
118
134
  ```bash
119
135
  npm install -g clew-code
120
136
  ```
@@ -127,7 +143,7 @@ clew
127
143
 
128
144
  Requires [Bun](https://bun.sh) 1.3+, Node.js 18+, Git, and one provider API key.
129
145
 
130
- **Build from source:**
146
+ ### Build from source
131
147
 
132
148
  ```bash
133
149
  git clone https://github.com/ClewCode/ClewCode.git