@corbat-tech/coco 1.2.3 → 1.3.0

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
@@ -53,6 +53,56 @@ coco "Add a REST API endpoint for user authentication with tests"
53
53
 
54
54
  ---
55
55
 
56
+ ## What You Can Do
57
+
58
+ Coco works from the interactive REPL (`coco`). You can use **slash commands** or just **talk naturally** — Coco understands both.
59
+
60
+ ### Slash Commands
61
+
62
+ | Command | What it does | Example |
63
+ |---------|-------------|---------|
64
+ | `/help` | Show available commands and usage | `/help review` |
65
+ | `/status` | Project status, git info, session stats | `/status` |
66
+ | `/review` | Code review with severity-rated findings | `/review --base main` |
67
+ | `/diff` | Visual diff with syntax highlighting | `/diff --staged` |
68
+ | `/ship` | Full release pipeline: review → test → lint → branch → version → commit → PR → CI → merge | `/ship --minor` |
69
+ | `/compact` | Reduce context when conversation gets long | `/compact` |
70
+ | `/clear` | Clear conversation history | `/clear` |
71
+
72
+ ### Natural Language
73
+
74
+ You don't need to memorize commands. Just describe what you want:
75
+
76
+ | What you say | What happens |
77
+ |-------------|-------------|
78
+ | "review the code" / "revisa el código" | Runs `/review` |
79
+ | "let's ship it" / "publica los cambios" | Runs `/ship` |
80
+ | "how are we doing?" / "cómo va?" | Runs `/status` |
81
+ | "create a PR" / "crea un pull request" | Runs `/ship` |
82
+ | "show me the diff" / "muéstrame los cambios" | Runs `/diff` |
83
+ | "help" / "ayuda" | Runs `/help` |
84
+
85
+ ### `/ship` — Release Pipeline
86
+
87
+ The most powerful command. Orchestrates the entire release flow in one step:
88
+
89
+ ```
90
+ /ship # Full pipeline (10 steps)
91
+ /ship --skip-tests # Skip test step
92
+ /ship --draft # Create draft PR
93
+ /ship --patch # Force patch version bump
94
+ /ship --minor # Force minor version bump
95
+ /ship --major # Force major version bump
96
+ /ship --no-version # Skip version bumping
97
+ /ship -m "feat: add auth" # Pre-set commit message
98
+ ```
99
+
100
+ Pipeline: **Preflight → Review → Tests → Lint → Branch → Version → Commit → PR → CI → Merge & Release**
101
+
102
+ Each step is interactive — Coco asks before proceeding when decisions are needed. Press `Ctrl+C` at any point to cancel safely.
103
+
104
+ ---
105
+
56
106
  ## What Coco Does Well
57
107
 
58
108
  ### Quality Convergence Loop
@@ -103,10 +153,10 @@ Bring your own API keys. Coco works with:
103
153
  | Provider | Auth | Models |
104
154
  |----------|------|--------|
105
155
  | **Anthropic** | API key / OAuth PKCE | Claude Opus, Sonnet, Haiku |
106
- | **OpenAI** | API key | GPT-4o, o1, o3 |
107
- | **Google** | API key / gcloud ADC | Gemini Pro, Flash |
108
- | **Ollama** | Local | Any local model |
109
- | **LM Studio** | Local | Any GGUF model |
156
+ | **OpenAI** | API key | GPT-5.3 Codex, GPT-4.1, o4-mini |
157
+ | **Google** | API key / gcloud ADC | Gemini 3, 2.5 Pro/Flash |
158
+ | **Ollama** | Local | Any local model (8-24GB RAM) |
159
+ | **LM Studio** | Local | Any GGUF model (8-32GB RAM) |
110
160
  | **Moonshot** | API key | Kimi models |
111
161
 
112
162
  ### Multi-Agent Architecture
@@ -127,7 +177,7 @@ Coco picks the right agent for each task automatically. When confidence is low,
127
177
  A terminal-first experience with:
128
178
 
129
179
  - **Ghost-text completion** — Tab to accept inline suggestions
130
- - **Slash commands** — `/coco`, `/plan`, `/build`, `/diff`, `/commit`, `/help`
180
+ - **Slash commands** — `/ship`, `/review`, `/diff`, `/status`, `/help`, `/compact`, `/clear`
131
181
  - **Image paste** — `Ctrl+V` to paste screenshots for visual context
132
182
  - **Intent recognition** — Natural language mapped to commands
133
183
  - **Context management** — Automatic compaction when context grows large
@@ -201,7 +251,7 @@ src/
201
251
  ├── orchestrator/ # Phase coordinator + state recovery
202
252
  ├── phases/ # COCO phases (converge/orchestrate/complete/output)
203
253
  ├── quality/ # 12 quality analyzers + convergence engine
204
- ├── providers/ # 6 LLM providers + OAuth flows
254
+ ├── providers/ # 7 LLM providers + OAuth flows
205
255
  ├── tools/ # 20+ tool implementations
206
256
  ├── hooks/ # Lifecycle hooks (safety, lint, format, audit)
207
257
  ├── mcp/ # MCP server for external integration