@corbat-tech/coco 1.8.0 → 2.0.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
@@ -14,7 +14,7 @@
14
14
  [![License](https://img.shields.io/badge/license-MIT-f5c542?style=flat-square)](LICENSE)
15
15
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178c6?style=flat-square&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
16
16
  [![Node](https://img.shields.io/badge/Node.js-22+-339933?style=flat-square&logo=nodedotjs&logoColor=white)](https://nodejs.org/)
17
- [![Tests](https://img.shields.io/badge/tests-4350%2B-22c55e?style=flat-square)](https://github.com/corbat/corbat-coco/actions)
17
+ [![Tests](https://img.shields.io/badge/tests-5283%2B-22c55e?style=flat-square)](https://github.com/corbat/corbat-coco/actions)
18
18
 
19
19
  </div>
20
20
 
@@ -47,6 +47,19 @@ After writing code, Coco automatically:
47
47
 
48
48
  ---
49
49
 
50
+ ## What's New in v2.0.0
51
+
52
+ | Feature | Description |
53
+ |---------|-------------|
54
+ | **Unified Skills System** | Auto-discovery from global + project (`.coco/skills/`) + built-in scopes; YAML/JSON support |
55
+ | **WSL Support** | Native WSL2 path translation and detection |
56
+ | **3 new providers** | xAI/Grok, Cohere, Codex/OpenAI OAuth browser flow |
57
+ | **Multi-modal input** | Paste screenshots with `Ctrl+V` — sent to vision-capable providers |
58
+ | **Parallel agents** | Independent tasks dispatched concurrently across specialized agents |
59
+ | **`/check` command** | Run typecheck + lint + test pipeline inline in the REPL |
60
+
61
+ ---
62
+
50
63
  ## ✨ Features
51
64
 
52
65
  ### 🔄 **Quality Convergence Loop** (COCO Mode)
@@ -69,14 +82,16 @@ Real metrics, not guesses:
69
82
  | Dimension | How It's Measured |
70
83
  |-----------|-------------------|
71
84
  | Test Coverage | c8/v8 instrumentation |
72
- | Security | Pattern matching + optional Snyk |
85
+ | Security | Pattern matching (OWASP) + optional Snyk |
73
86
  | Complexity | Cyclomatic complexity (AST) |
74
87
  | Duplication | Line-based similarity |
75
88
  | Correctness | Test pass rate + build verification |
76
89
  | Style | oxlint / eslint / biome |
77
- | Documentation | JSDoc coverage |
90
+ | Documentation | JSDoc / Javadoc coverage |
78
91
  | + 5 more | Readability, Maintainability, Test Quality, Completeness, Robustness |
79
92
 
93
+ Language-specific analyzers included for **TypeScript/JavaScript**, **React/TSX**, and **Java**.
94
+
80
95
  ### 🚀 **Full Release Pipeline**
81
96
 
82
97
  Ship with confidence using `/ship`:
@@ -109,17 +124,36 @@ Bring your own API key:
109
124
  | **Anthropic** | API key / OAuth | Claude Opus, Sonnet, Haiku |
110
125
  | **OpenAI** | API key | GPT-5.3 Codex, GPT-4.1, o4-mini |
111
126
  | **Google** | API key / gcloud | Gemini 3, 2.5 Pro/Flash |
127
+ | **Groq** | API key | Llama 4, Mixtral, Gemma |
128
+ | **OpenRouter** | API key | 200+ models (Claude, GPT, Llama…) |
129
+ | **Mistral AI** | API key | Mistral Large, Codestral |
130
+ | **DeepSeek** | API key | DeepSeek-V3, DeepSeek-R1 |
131
+ | **Together AI** | API key | Llama 4, Qwen, Falcon |
132
+ | **Hugging Face** | API key | Any HF Inference Endpoint |
112
133
  | **Ollama** | Local | Any local model |
113
134
  | **LM Studio** | Local | Any GGUF model |
114
135
  | **Moonshot** | API key | Kimi models |
115
136
 
137
+ ### 🧩 **Unified Skills System**
138
+
139
+ Extend coco with reusable workflows at three scopes:
140
+
141
+ | Scope | Location | Who sees it |
142
+ |-------|----------|-------------|
143
+ | **Built-in** | Shipped with coco | Everyone |
144
+ | **Global** | `~/.claude/skills/` | Your machine |
145
+ | **Project** | `.coco/skills/` | The repo |
146
+
147
+ Skills are Markdown, YAML, or JSON files — committed alongside source code and auto-discovered at runtime.
148
+
116
149
  ### ⚡ **Modern Terminal UX**
117
150
 
118
151
  - **Ghost-text completion** — Tab to accept suggestions
119
- - **Image paste** — `Ctrl+V` to paste screenshots
152
+ - **Image paste** — `Ctrl+V` to paste screenshots (vision-capable providers)
120
153
  - **Intent recognition** — Natural language → commands
121
154
  - **Full-access mode** — `/full-access` for auto-approvals (with safety guards)
122
155
  - **Self-update** — Type "update coco" anytime
156
+ - **WSL2 native** — Runs inside Windows Subsystem for Linux with correct path translation
123
157
 
124
158
  ---
125
159
 
@@ -152,6 +186,7 @@ That's it. Coco walks you through provider setup on first launch.
152
186
  | `/diff` | Visual diff with syntax highlighting |
153
187
  | `/ship` | Full release pipeline (review → test → PR → merge) |
154
188
  | `/coco [on\|off]` | Toggle quality mode (default: ON) |
189
+ | `/check` | Run typecheck + lint + tests inline |
155
190
  | `/full-access [on\|off]` | Auto-approve safe commands |
156
191
  | `/compact` | Reduce context when conversation grows |
157
192
  | `/clear` | Clear conversation history |
@@ -201,6 +236,9 @@ Four phases for production-ready output:
201
236
  ## 📖 Documentation
202
237
 
203
238
  - [Configuration Guide](docs/guides/CONFIGURATION.md)
239
+ - [Quality Analysis Guide](docs/guides/QUALITY.md)
240
+ - [Provider Guide](docs/guides/PROVIDERS.md)
241
+ - [GitHub Actions Integration](docs/guides/GITHUB-ACTIONS.md)
204
242
  - [Quick Start Tutorial](docs/guides/QUICK_START.md)
205
243
  - [Troubleshooting](docs/guides/TROUBLESHOOTING.md)
206
244
  - [API Reference](docs/API.md)
@@ -215,7 +253,7 @@ git clone https://github.com/corbat/corbat-coco
215
253
  cd corbat-coco
216
254
  pnpm install
217
255
  pnpm dev # Run in dev mode
218
- pnpm test # 4,350+ tests
256
+ pnpm test # 5,100+ tests
219
257
  pnpm check # Typecheck + lint + test
220
258
  ```
221
259
 
@@ -249,7 +287,6 @@ src/
249
287
 
250
288
  We'd rather you know upfront:
251
289
 
252
- - **TypeScript/JavaScript first** — Other languages have basic support
253
290
  - **CLI-only** — No IDE extension yet (VS Code planned)
254
291
  - **Iteration takes time** — Convergence adds 2-5 min per task
255
292
  - **LLM-dependent** — Quality depends on your model choice