Synapse CLI
AI-powered coding assistant. Cloud brain, local hands.
Powered by Cloudflare ยท Built by Bowen Liu
v0.1.1
Quick Start
Install
npm install -g synapse-cli
Login & Start
synapse loginsynapse
Architecture
Local CLI
Terminal UI
Tool Executor
Permission Control
WebSocket
Cloud Container
Kimi K2.5 ยท 256k
Context Compression
Streaming Response
Features
๐ง
7 Built-in Tools
read, write, edit, grep, glob, list_dir, bash
๐
Permission Control
y/n/trust per tool, bash never trustable
โก
Streaming Output
Real-time token streaming via WebSocket
๐ง
Smart Context
LLM-powered compression, never truncates
๐
Web Search & Fetch
Cloud-side Serper + Scrapling browser
๐
Usage Tracking
/usage command for token consumption
Releases
v0.1.1
2026-04-10
Improvements
- NEW System prompt overhaul โ LLM now asks clarifying questions before complex tasks instead of guessing
- NEW Permission prompt shows full action description: "Read ../file.html (using tool: read_file)"
- NEW Container versioning โ new deploys route to fresh instances, old sessions get 10min grace period
- FIX User deny now stops ALL remaining tool calls in the batch, not just the denied one
- FIX Permission input requires Enter to confirm โ no more accidental single-keypress execution
- FIX Thinking spinner now shows consistently between all tool calls, not just the first one
- FIX Playwright browser path fixed for Container (PLAYWRIGHT_BROWSERS_PATH + libXfixes)
- IMPROVE Cloud tool results (web_search/web_fetch) show brief status only, full content goes to LLM
v0.1.0
2026-04-10
Initial Release
- NEW Core architecture โ cloud-powered LLM with local tool execution via WebSocket
- NEW 7 built-in tools: read_file, write_file, edit_file, grep, glob, list_dir, bash
- NEW Permission model โ auto-approve reads in project, bash never trustable, destructive commands blocked
- NEW LLM streaming โ real-time token output via WebSocket
- NEW Context compression โ LLM-powered summarization at 80% capacity, reactive compact on overflow
- NEW Session commands: /compact, /context, /tools, /usage, /quit
- NEW Cloud tools: web_search (Serper) and web_fetch (Scrapling + Playwright)
- FIX Arrow keys in input โ switched permission prompt from raw mode to readline
- FIX Streaming tool_calls arguments truncation โ re-serialize JSON after parse
- FIX 400 error from extra fields in assistant messages โ clean before re-send to API
- IMPROVE Cloud tool results show brief status in terminal, full content only sent to LLM
Model: Kimi K2.5 ยท Context: 256k tokens ยท Deployed on Cloudflare Workers + Containers