codo-ai 2.23.14 → 2.23.15

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.
Files changed (2) hide show
  1. package/README.md +225 -119
  2. package/package.json +89 -21
package/README.md CHANGED
@@ -1,119 +1,225 @@
1
- <div align="center">
2
-
3
- # \>_ COdo
4
-
5
- **The security-native AI coding agent.**
6
-
7
- Spec it. Code it. Ship it. **Secure it.**
8
-
9
- [Website](https://codo-ai.vercel.app/) · [Documentation](https://codo-ai.vercel.app/) · [GitHub](https://github.com/Mosalah4351/COdo) · [Report Issue](https://github.com/Mosalah4351/COdo/issues)
10
-
11
- `npm install -g codo-ai`
12
-
13
- </div>
14
-
15
- ---
16
-
17
- ## What is COdo?
18
-
19
- COdo is a **terminal-native, spec-driven AI coding agent** — a fork of [OpenCode](https://github.com/anomalyco/opencode) with structured workflow orchestration, an autonomous multi-agent compose engine, and the all-new **Sec-Test** red security engine.
20
-
21
- No browser tab. No separate app. No context-switching. Just you, your terminal, and an AI that knows what phase of the project you're in.
22
-
23
- ```
24
- $ npm install -g codo-ai
25
- $ cd my-project
26
- $ codo
27
- ```
28
-
29
- ## Why COdo?
30
-
31
- | | Static linters | CI scanners | **COdo Sec-Test** |
32
- |---|---|---|---|
33
- | Finds design flaws pre-code | ✗ | ✗ | ✓ STRIDE threat modeling |
34
- | Noise level | False-positive flood | Late-stage flood | Evidence-first findings w/ PoC |
35
- | Runs where you work | ✗ | CI only | ✓ Your terminal |
36
- | Fixes vulnerabilities | Warnings only | Warnings only | ✓ Remediation diffs + mutation-backed tests |
37
-
38
- ## Highlights
39
-
40
- ### Sec-Test — Autonomous Security Orchestrator
41
- Six specialist personas guarding the full lifecycle:
42
-
43
- | Persona | Role |
44
- |---|---|
45
- | **Security Architect** | Pre-code STRIDE/DREAD threat modeling (OWASP ASVS mapped) |
46
- | **AppSec Engineer** | Real-time SAST on diffs — OWASP Top 10:2025 / CWE Top 25, secrets, CVEs |
47
- | **DevSecOps Engineer** | Pipeline hardening (NIST SSDF), SBOM (CycloneDX/SPDX), SLSA + Sigstore |
48
- | **Penetration Tester** | Scope-gated live probing (PTES/WSTG) — refuses targets outside `.codo/security-scope.json` |
49
- | **Quality Engineer** | Adversarial tests verified by mutation kill-rate |
50
- | **Security Engineer** | Audits the agent itself; posture drift tracking |
51
-
52
- ```bash
53
- $ /sec-test "Audit git diff for SQL injection and hardcoded secrets"
54
- [1] Raw string concatenation in query builder
55
- [2] Hardcoded fallback JWT secret ("dev-secret-key-12345")
56
- → Parameterized query fix applied · secret moved to env with startup validation
57
- ```
58
-
59
- ### Workflow Engines
60
- Switch methodology per project scale:
61
-
62
- - `/workflow gsd` — autonomous milestone planning, persistent `.planning/` state, survives context resets
63
- - `/workflow gstack` — Garry Tan's 23-role virtual engineering team
64
- - `/workflow speckit` — GitHub SDD spec-first pipeline
65
- - `/workflow vibemode` — pure flow, zero overhead
66
-
67
- ### Multi-Agent Compose
68
- Complex tasks decompose into DAGs routed to specialist agents executing in parallel waves:
69
-
70
- ```
71
- /compose "Build auth service with JWT, rate limiting & Sec-Test"
72
- [A] Security Architect → threat model ┐ parallel
73
- [B] Builder → implementation ├ wave
74
- [C] AppSec Engineer → real-time SAST audit │
75
- [D] Quality Engineer → mutation tests ┘
76
- ```
77
-
78
- ### Goal Judge
79
- Declare outcomes, not tasks. An independent judge model verifies stop-conditions — the builder never self-approves.
80
-
81
- ```
82
- /goal "All tests pass with >80% coverage and zero HIGH/CVEs"
83
- ```
84
-
85
- ### Business Suite
86
- Production-grade office tooling as skills: `xlsx-official`, `docx-official`, `pptx-official`, `pdf-official`, `deep-research`, `super-research`, `research-paper-writing`, `html-to-video-pipeline`, `sales`.
87
-
88
- ### Compliance-First Scraper
89
- `/scraper <url> <what to extract>` — robots.txt honored, ToS checked, crawl-delays enforced, escalation ladder from static fetch to authenticated sessions.
90
-
91
- ## Install
92
-
93
- ```bash
94
- # Recommended
95
- npm install -g codo-ai
96
-
97
- # One-time run
98
- npx codo-ai
99
- ```
100
-
101
- Requirements: Node 18+ or Bun · macOS / Linux / Windows · any provider API key (Anthropic, OpenAI, NVIDIA free tier, Google, or OpenAI-compatible).
102
-
103
- > No extra flags needed: the install works out of the box even when install scripts are blocked (`allowScripts` policies, `--ignore-scripts`), because the launcher resolves the prebuilt platform binary automatically on first run.
104
-
105
- > Migrating from `@codo-ai/cli`? That package is deprecated — `codo-ai` replaces it.
106
-
107
- ## Documentation
108
-
109
- Full developer docs — every persona, skill, workflow, permission mode, and best practice — live at **[codo-ai.vercel.app](https://codo-ai.vercel.app/)**.
110
-
111
- ## Contributing
112
-
113
- PRs welcome on [GitHub](https://github.com/Mosalah4351/COdo). Default branch: `dev`. Conventional commits.
114
-
115
- ## License
116
-
117
- MIT © [Mohamed Salah](https://www.linkedin.com/in/mohamed-salah-59bb41300/)
118
-
119
- Built on [OpenCode](https://github.com/anomalyco/opencode).
1
+ <div align="center">
2
+
3
+ # \>_ COdo
4
+
5
+ **Spec-Driven Software Development with Security-Guided Multi-Agent Orchestration**
6
+
7
+ Spec it. Code it. Ship it. **Secure it.**
8
+
9
+ [Website](https://codo-ai.vercel.app/) | [Documentation](https://codo-ai.vercel.app/) | [GitHub](https://github.com/Mosalah4351/COdo) | [Report Issue](https://github.com/Mosalah4351/COdo/issues)
10
+
11
+ `npm install -g codo-ai`
12
+
13
+ **Latest release: 2.23.15**
14
+
15
+ </div>
16
+
17
+ ---
18
+
19
+ ## What's new in 2.23.15
20
+
21
+ - **Sensei** - a senior technical advisor you can consult mid-task. Read-only, evidence-first, and it ends every verdict with a decisive recommendation.
22
+ - **Checker** - a quality and hygiene auditor that verifies findings against real evidence and records them durably instead of guessing.
23
+ - **Business Agent** - an orchestrator with hands that turns requests into real `.xlsx`, `.docx`, `.pptx`, `.pdf`, and research deliverables.
24
+ - **`/ask-sensei`, `/quality-check`, `/hygiene-check`** - three new commands that dispatch those specialists in one keystroke.
25
+ - **`sensei_model` / `judge_model` / `subagent_model`** - put your strongest model where judgment matters and a cheap one where it does not.
26
+ - **Free to start** - OpenCode Zen free models, OpenRouter `:free` variants, and NVIDIA's free tier all work out of the box.
27
+
28
+ ## What is COdo?
29
+
30
+ COdo is a **terminal-native, spec-driven AI coding agent** - a fork of [OpenCode](https://github.com/anomalyco/opencode) with structured workflow orchestration, an autonomous multi-agent compose engine, a built-in advisory layer, and the all-new **Sec-Test** red security engine.
31
+
32
+ No browser tab. No separate app. No context-switching. Just you, your terminal, and an AI that knows what phase of the project you're in.
33
+
34
+ ```
35
+ $ npm install -g codo-ai
36
+ $ cd my-project
37
+ $ codo
38
+ ```
39
+
40
+ ## Sensei - the second opinion your agent was missing
41
+
42
+ Most agents grade their own homework. COdo ships a **Sensei**: a read-only senior advisor that reads the actual conversation - the request, every dispatch, every tool result - and tells the agent what it would do differently.
43
+
44
+ ```
45
+ /ask-sensei "is this migration safe to ship?"
46
+ ```
47
+
48
+ The Sensei does not guess. It inspects files, git history, configs, and command output first, cites what it saw, names the trade-offs, and commits to a call. Every response ends in a fixed verdict block:
49
+
50
+ ```
51
+ ## SENSEI
52
+ - Assessment: the migration is reversible but the backfill is not
53
+ - Risks: 40k rows rewritten in one transaction; lock held for ~90s
54
+ - Recommendation: batch by 5k with a resumable cursor before shipping
55
+ - Confidence: high - measured against the actual migration file
56
+ ```
57
+
58
+ It is also wired in as **automatic escalation**: primary agents are instructed to consult it before committing to an approach, when stuck on a repeated failure, before dropping an agreed plan, and before declaring work done.
59
+
60
+ ## Choose your models
61
+
62
+ You are not stuck with one model. COdo exposes three independent knobs, so you can spend your strongest model only where judgment matters:
63
+
64
+ | Key | Drives | A sensible fit |
65
+ |---|---|---|
66
+ | `sensei_model` | the Sensei (`/ask-sensei`) **and** the Checker (`/quality-check`, `/hygiene-check`) | your strongest reasoning model |
67
+ | `judge_model` | the Goal Judge that verifies stop-conditions | a solid mid-tier model |
68
+ | `subagent_model` | every dispatched subagent and parallel compose worker | a fast, cheap model |
69
+
70
+ ```jsonc
71
+ {
72
+ "sensei_model": "anthropic/claude-opus-4#high",
73
+ "judge_model": "anthropic/claude-sonnet-4",
74
+ "subagent_model": "anthropic/claude-haiku-4"
75
+ }
76
+ ```
77
+
78
+ `sensei_model` falls back to `judge_model`, then to the standard subagent chain. Any of the three can point at a free model, so a fully free setup is a valid configuration.
79
+
80
+ ### Free models - run COdo without a bill
81
+
82
+ COdo is provider-agnostic, and several providers give you usable capacity for nothing:
83
+
84
+ - **OpenCode Zen free models** - sign in once and pick a free-tier model such as `Big Pickle`, `Ox Alpha Free`, `MiMo-V2.5 Free`, `Hy3 Free`, `Nemotron 3 Ultra Free`, `Nemotron 3.5 Lightning Free`, or `Muse Spark 1.2 Contributor Free`. Good enough to drive a real coding session, and the fastest way to try COdo.
85
+ - **OpenRouter** - use any `:free` model variant with your OpenRouter key. Great for mixing providers behind one endpoint.
86
+ - **NVIDIA** - a free-tier API key from `build.nvidia.com` gives you NVIDIA-hosted models at no cost.
87
+
88
+ Point `subagent_model` at a free model to keep the fan-out cheap, and reserve a stronger `sensei_model` for the moments that decide how the work turns out.
89
+
90
+ ## Checker - ship-readiness, verified
91
+
92
+ `/quality-check` and `/hygiene-check` dispatch the **Checker**, a read-only auditor for bugs, security issues, code-quality problems, and repo hygiene: committed secrets, tracked junk, dead weight, risky code with no tests.
93
+
94
+ The Checker refuses to report what it cannot prove. Every finding needs a file and line or a tool-output snippet, and confirmed findings are written to a durable findings store so they survive the session, feed posture reports, and can be exported as SARIF.
95
+
96
+ ```bash
97
+ $ /quality-check "review the last commit"
98
+ [high] src/db/query.ts:42 - raw string concatenation in SQL builder (CWE-89)
99
+ [low] tracked artifact: server.log committed at repo root
100
+ summary: 1 high, 1 low - fix the query builder first
101
+ ```
102
+
103
+ ## Why COdo?
104
+
105
+ | | Static linters | CI scanners | **COdo Sec-Test** |
106
+ |---|---|---|---|
107
+ | Finds design flaws pre-code | no | no | **yes - STRIDE threat modeling** |
108
+ | Noise level | false-positive flood | late-stage flood | **evidence-first findings with PoC** |
109
+ | Runs where you work | no | CI only | **your terminal** |
110
+ | Fixes vulnerabilities | warnings only | warnings only | **remediation diffs + mutation-backed tests** |
111
+
112
+ ## Highlights
113
+
114
+ ### Sec-Test - Autonomous Security Orchestrator
115
+
116
+ Six specialist personas guarding the full lifecycle:
117
+
118
+ | Persona | Role |
119
+ |---|---|
120
+ | **Security Architect** | Pre-code STRIDE/DREAD threat modeling (OWASP ASVS mapped) |
121
+ | **AppSec Engineer** | Real-time SAST on diffs - OWASP Top 10:2025 / CWE Top 25, secrets, CVEs |
122
+ | **DevSecOps Engineer** | Pipeline hardening (NIST SSDF), SBOM (CycloneDX/SPDX), SLSA + Sigstore |
123
+ | **Penetration Tester** | Scope-gated live probing (PTES/WSTG) - refuses targets outside `.codo/security-scope.json` |
124
+ | **Quality Engineer** | Adversarial tests verified by mutation kill-rate |
125
+ | **Security Engineer** | Audits the agent itself; posture drift tracking |
126
+
127
+ ```bash
128
+ $ /sec-test "Audit git diff for SQL injection and hardcoded secrets"
129
+ [1] Raw string concatenation in query builder
130
+ [2] Hardcoded fallback JWT secret ("dev-secret-key-12345")
131
+ -> Parameterized query fix applied; secret moved to env with startup validation
132
+ ```
133
+
134
+ ### Workflow Engines
135
+
136
+ Switch methodology per project scale:
137
+
138
+ - `/workflow gsd` - autonomous milestone planning, persistent `.planning/` state, survives context resets
139
+ - `/workflow gstack` - Garry Tan's 23-role virtual engineering team
140
+ - `/workflow speckit` - GitHub SDD spec-first pipeline
141
+ - `/workflow vibemode` - pure flow, zero overhead
142
+
143
+ ### Multi-Agent Compose
144
+
145
+ Complex tasks decompose into DAGs routed to specialist agents executing in parallel waves:
146
+
147
+ ```
148
+ /compose "Build auth service with JWT, rate limiting & Sec-Test"
149
+ [A] Security Architect -> threat model | parallel
150
+ [B] Builder -> implementation | wave
151
+ [C] AppSec Engineer -> real-time SAST audit |
152
+ [D] Quality Engineer -> mutation tests |
153
+ ```
154
+
155
+ ### Goal Judge
156
+
157
+ Declare outcomes, not tasks. An independent judge model verifies stop-conditions - the builder never self-approves.
158
+
159
+ ```
160
+ /goal "All tests pass with >80% coverage and zero HIGH/CVEs"
161
+ ```
162
+
163
+ ## Business Agent - deliverables, not chat
164
+
165
+ COdo ships a dedicated **Business Agent**: an orchestrator with hands. It routes each request to the right `business:*` skill and then *does the work itself* - writing the scripts, running them, and handing you real files on disk, verified before handoff.
166
+
167
+ ```bash
168
+ $ codo
169
+ > research the 2026 AI agent market and give me a deck plus a one-pager PDF
170
+ Plan: research -> deck -> one-pager PDF
171
+ [deep-research] 14 sources, cited
172
+ [pptx-official] market-overview.pptx (12 slides)
173
+ [pdf-official] market-overview.pdf (2 pages)
174
+ ```
175
+
176
+ It chains skills for multi-deliverable requests and picks the most probable one when a request is ambiguous, stating its choice in a line instead of stalling.
177
+
178
+ | Ask for | It produces |
179
+ |---|---|
180
+ | Spreadsheet models, cleanup, formulas, exports | `.xlsx` / `.csv` via `xlsx-official` |
181
+ | Reports, letters, contracts, templates | `.docx` via `docx-official` |
182
+ | Slide decks and presentations | `.pptx` via `pptx-official` |
183
+ | PDF creation, form filling, OCR, merge/split | `.pdf` via `pdf-official` |
184
+ | Multi-source investigation with citations | cited report via `deep-research` |
185
+ | Long-running autonomous research and experiments | evidence-backed study via `super-research` |
186
+ | Academic papers, LaTeX, citation audits | publication-ready paper via `research-paper-writing` |
187
+ | KPIs, dashboards, charts, metric diagnostics | analysis + charts via `data-analytics` |
188
+ | Design specs, UI and product design | `design-blueprint`, `frontend-design`, `product-design` |
189
+ | Courses, sales material, video renders, skill authoring | `learn-everything`, `sales`, `html-to-video-pipeline`, `skill-creator` |
190
+
191
+ ## Compliance-First Scraper
192
+
193
+ `/scraper <url> <what to extract>` - robots.txt honored, ToS checked, crawl-delays enforced, escalation ladder from static fetch to authenticated sessions.
194
+
195
+ ## Install
196
+
197
+ ```bash
198
+ # Recommended
199
+ npm install -g codo-ai
200
+
201
+ # One-time run
202
+ npx codo-ai
203
+ ```
204
+
205
+ Requirements: Node 18+ or Bun | macOS / Linux / Windows | any provider - bring an Anthropic, OpenAI, Google, or OpenAI-compatible key, or start free on OpenCode Zen, OpenRouter, or NVIDIA.
206
+
207
+ > Migrating from `@codo-ai/cli`? That package is deprecated - `codo-ai` replaces it.
208
+
209
+ ## Documentation
210
+
211
+ Full developer docs - every persona, skill, workflow, permission mode, and best practice - live at **[codo-ai.vercel.app](https://codo-ai.vercel.app/)**.
212
+
213
+ ## Contributing
214
+
215
+ PRs welcome on [GitHub](https://github.com/Mosalah4351/COdo). Default branch: `dev`. Conventional commits.
216
+
217
+ ## License
218
+
219
+ MIT (c) [Mohamed Salah](https://www.linkedin.com/in/mohamed-salah-59bb41300/)
220
+
221
+ Built on [OpenCode](https://github.com/anomalyco/opencode).
222
+
223
+ ---
224
+
225
+ <sub>**Search terms:** spec-driven development, security-guided multi-agent orchestration, AI coding agent, terminal AI agent, CLI coding assistant, agentic coding, autonomous coding agent, multi-agent orchestration, subagents, sensei, second opinion, AI code review, AI security scanner, AppSec, SAST, DAST, threat modeling, penetration testing, OWASP Top 10, CWE Top 25, SBOM, SLSA, Sigstore, secrets scanning, mutation testing, SDD, GSD workflow, Spec Kit, business agent, deep research agent, web scraper, xlsx, docx, pptx, pdf, MCP, Model Context Protocol, provider agnostic, free AI coding agent, free models, OpenCode Zen, OpenRouter, OpenAI, Anthropic, Claude, Gemini, NVIDIA, Ollama, OpenCode alternative, Claude Code alternative, Cursor alternative, Copilot alternative, Node.js, Bun, TypeScript, Windows, macOS, Linux, latest release.</sub>
package/package.json CHANGED
@@ -1,27 +1,95 @@
1
1
  {
2
2
  "name": "codo-ai",
3
- "description": "The security-native AI coding agent. Six Sec-Test security personas, compliance-first /scraper, a business documents & research suite, and multi-agent Compose orchestration — spec-driven workflow engines in one terminal-first CLI.",
3
+ "description": "Spec-driven software development with security-guided multi-agent orchestration. Terminal AI coding agent with a Sensei second opinion, a Checker, six Sec-Test security personas, a Business Agent for xlsx/docx/pptx/pdf deliverables, and free-model support.",
4
4
  "keywords": [
5
5
  "ai",
6
6
  "ai-agent",
7
+ "ai-coding-agent",
7
8
  "coding-agent",
8
9
  "coding-assistant",
9
- "cli",
10
+ "agentic",
11
+ "agentic-coding",
12
+ "autonomous-agent",
13
+ "multi-agent",
14
+ "multi-agent-orchestration",
15
+ "orchestration",
16
+ "subagents",
17
+ "sensei",
18
+ "second-opinion",
19
+ "judge",
20
+ "checker",
21
+ "business-agent",
22
+ "spec-driven",
23
+ "spec-driven-development",
24
+ "sdd",
25
+ "gsd",
26
+ "speckit",
27
+ "workflow",
10
28
  "terminal",
29
+ "terminal-ui",
11
30
  "tui",
31
+ "cli",
12
32
  "llm",
33
+ "code-generation",
34
+ "code-review",
35
+ "pair-programming",
36
+ "developer-tools",
37
+ "devtools",
38
+ "devtool",
13
39
  "security",
14
- "sast",
40
+ "security-scanner",
41
+ "security-audit",
15
42
  "appsec",
16
43
  "devsecops",
44
+ "sast",
45
+ "dast",
17
46
  "threat-modeling",
18
47
  "pentest",
19
- "spec-driven",
20
- "multi-agent",
21
- "autonomous",
48
+ "penetration-testing",
49
+ "vulnerability-scanner",
50
+ "owasp",
51
+ "cwe",
52
+ "sbom",
53
+ "slsa",
54
+ "sigstore",
55
+ "secrets-scanning",
56
+ "compliance",
57
+ "quality-assurance",
58
+ "testing",
59
+ "mutation-testing",
60
+ "research",
61
+ "deep-research",
62
+ "scraper",
63
+ "web-scraping",
64
+ "xlsx",
65
+ "docx",
66
+ "pptx",
67
+ "pdf",
22
68
  "mcp",
23
- "devtools",
24
- "opencode"
69
+ "model-context-protocol",
70
+ "provider-agnostic",
71
+ "free-models",
72
+ "free-ai",
73
+ "opencode-zen",
74
+ "openrouter",
75
+ "openai",
76
+ "anthropic",
77
+ "claude",
78
+ "gemini",
79
+ "nvidia",
80
+ "ollama",
81
+ "opencode",
82
+ "opencode-alternative",
83
+ "claude-code-alternative",
84
+ "cursor-alternative",
85
+ "copilot-alternative",
86
+ "nodejs",
87
+ "bun",
88
+ "typescript",
89
+ "windows",
90
+ "macos",
91
+ "linux",
92
+ "latest"
25
93
  ],
26
94
  "engines": {
27
95
  "node": ">=18"
@@ -37,7 +105,7 @@
37
105
  "bin": {
38
106
  "codo": "./bin/codo.js"
39
107
  },
40
- "version": "2.23.14",
108
+ "version": "2.23.15",
41
109
  "license": "MIT",
42
110
  "os": [
43
111
  "darwin",
@@ -49,17 +117,17 @@
49
117
  "x64"
50
118
  ],
51
119
  "optionalDependencies": {
52
- "@codo-ai/codo-windows-x64-baseline": "2.23.14",
53
- "@codo-ai/codo-windows-x64": "2.23.14",
54
- "@codo-ai/codo-windows-arm64": "2.23.14",
55
- "@codo-ai/codo-linux-x64-musl": "2.23.14",
56
- "@codo-ai/codo-linux-x64-baseline-musl": "2.23.14",
57
- "@codo-ai/codo-linux-x64-baseline": "2.23.14",
58
- "@codo-ai/codo-linux-x64": "2.23.14",
59
- "@codo-ai/codo-linux-arm64-musl": "2.23.14",
60
- "@codo-ai/codo-linux-arm64": "2.23.14",
61
- "@codo-ai/codo-darwin-x64-baseline": "2.23.14",
62
- "@codo-ai/codo-darwin-x64": "2.23.14",
63
- "@codo-ai/codo-darwin-arm64": "2.23.14"
120
+ "@codo-ai/codo-windows-x64-baseline": "2.23.15",
121
+ "@codo-ai/codo-windows-x64": "2.23.15",
122
+ "@codo-ai/codo-windows-arm64": "2.23.15",
123
+ "@codo-ai/codo-linux-x64-musl": "2.23.15",
124
+ "@codo-ai/codo-linux-x64-baseline-musl": "2.23.15",
125
+ "@codo-ai/codo-linux-x64-baseline": "2.23.15",
126
+ "@codo-ai/codo-linux-x64": "2.23.15",
127
+ "@codo-ai/codo-linux-arm64-musl": "2.23.15",
128
+ "@codo-ai/codo-linux-arm64": "2.23.15",
129
+ "@codo-ai/codo-darwin-x64-baseline": "2.23.15",
130
+ "@codo-ai/codo-darwin-x64": "2.23.15",
131
+ "@codo-ai/codo-darwin-arm64": "2.23.15"
64
132
  }
65
133
  }