@corbat-tech/coco 2.24.0 → 2.24.2

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
@@ -12,6 +12,9 @@
12
12
 
13
13
  </div>
14
14
 
15
+ **Coco is an open-source CLI coding agent for real repositories.**
16
+ It plans work, edits files, runs tools/tests, and iterates until quality checks pass.
17
+
15
18
  ---
16
19
 
17
20
  ## What Is Coco?
@@ -20,6 +23,10 @@ Coco is a CLI coding agent for real projects. It can plan work, edit files, run
20
23
 
21
24
  Core idea: instead of a single "here is some code" response, Coco runs an implementation loop with validation and fixes.
22
25
 
26
+ Best fit:
27
+ - Teams and solo developers working on existing repos (not only greenfield demos).
28
+ - Workflows that require multi-step execution and verification, not just text generation.
29
+
23
30
  ## What Coco Does
24
31
 
25
32
  - Multi-step execution in one run: explore -> implement -> test -> refine.
@@ -27,6 +34,8 @@ Core idea: instead of a single "here is some code" response, Coco runs an implem
27
34
  - Native tool use: files, git, shell, search/web, review, diff, build/test, MCP servers.
28
35
  - Multi-provider support (API, subscription, and local models).
29
36
  - Session-oriented REPL with slash commands, context compaction, and resumable workflows.
37
+ - Reliability features for long sessions: provider retry/circuit-breaker, robust tool-call parsing, and safer stream error handling.
38
+ - Replay harness support to reproduce agent-loop behaviors from fixtures for regression testing.
30
39
 
31
40
  Coco is designed to be useful on medium and large repos, not only toy examples.
32
41
 
@@ -81,6 +90,14 @@ On first run, Coco guides provider/model setup.
81
90
 
82
91
  Quality mode is configurable and can be turned on/off per session.
83
92
 
93
+ ## Reliability and Quality
94
+
95
+ - Provider calls use retry and circuit-breaker protection by default (can be disabled with `COCO_PROVIDER_RESILIENCE=0`).
96
+ - Tool-call handling is normalized across OpenAI/Codex-style streaming events to reduce malformed argument regressions.
97
+ - Agent turns include quality telemetry (`score`, iteration usage, tool success/failure, repeated-output suppression).
98
+ - Repeated identical tool outputs are suppressed in context to reduce token waste in multi-iteration loops.
99
+ - Release readiness can be gated with `pnpm check:release` (typecheck + lint + stable provider/agent suites).
100
+
84
101
  ## Commands (REPL)
85
102
 
86
103
  Common commands:
@@ -182,6 +199,7 @@ pnpm install
182
199
  pnpm build
183
200
  pnpm test
184
201
  pnpm check
202
+ pnpm check:release
185
203
  ```
186
204
 
187
205
  Tech stack:
@@ -192,12 +210,15 @@ Tech stack:
192
210
  - Zod
193
211
  - Commander
194
212
 
213
+ Release gate (`pnpm check:release`) runs the stable typecheck/lint/provider+agent suites used for release readiness.
214
+
195
215
  ## Current Scope and Limitations
196
216
 
197
217
  - CLI-first product; VS Code extension source is in `vscode-extension/`.
198
218
  - Quality scores depend on project testability and model/tool quality.
199
219
  - Provider behavior can vary by endpoint/model generation.
200
220
  - Some advanced flows require external tooling (git, CI, MCP servers) to be installed/configured.
221
+ - No agent can guarantee zero regressions; Coco is designed to reduce risk with verification loops, not to remove it entirely.
201
222
 
202
223
  ## Privacy
203
224