@cluesmith/codev 3.1.7 → 3.1.9
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/dashboard-dist/assets/{index-CaJH8x6Z.js → index-DM7OU-EI.js} +43 -41
- package/dashboard-dist/assets/{index-CaJH8x6Z.js.map → index-DM7OU-EI.js.map} +1 -1
- package/dashboard-dist/index.html +1 -1
- package/dist/agent-farm/commands/tower.d.ts +12 -0
- package/dist/agent-farm/commands/tower.d.ts.map +1 -1
- package/dist/agent-farm/commands/tower.js +11 -3
- package/dist/agent-farm/commands/tower.js.map +1 -1
- package/dist/agent-farm/servers/overview.d.ts +23 -0
- package/dist/agent-farm/servers/overview.d.ts.map +1 -1
- package/dist/agent-farm/servers/overview.js +76 -9
- package/dist/agent-farm/servers/overview.js.map +1 -1
- package/dist/agent-farm/servers/resolved-enrichment-cache.d.ts +55 -0
- package/dist/agent-farm/servers/resolved-enrichment-cache.d.ts.map +1 -0
- package/dist/agent-farm/servers/resolved-enrichment-cache.js +55 -0
- package/dist/agent-farm/servers/resolved-enrichment-cache.js.map +1 -0
- package/dist/agent-farm/servers/tower-routes.d.ts +4 -0
- package/dist/agent-farm/servers/tower-routes.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-routes.js +20 -1
- package/dist/agent-farm/servers/tower-routes.js.map +1 -1
- package/dist/agent-farm/servers/tower-server.js +6 -0
- package/dist/agent-farm/servers/tower-server.js.map +1 -1
- package/dist/agent-farm/servers/tower-terminals.d.ts +14 -0
- package/dist/agent-farm/servers/tower-terminals.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-terminals.js +95 -9
- package/dist/agent-farm/servers/tower-terminals.js.map +1 -1
- package/dist/agent-farm/servers/tower-websocket.d.ts.map +1 -1
- package/dist/agent-farm/servers/tower-websocket.js +42 -5
- package/dist/agent-farm/servers/tower-websocket.js.map +1 -1
- package/dist/commands/consult/index.d.ts +51 -1
- package/dist/commands/consult/index.d.ts.map +1 -1
- package/dist/commands/consult/index.js +310 -51
- package/dist/commands/consult/index.js.map +1 -1
- package/dist/commands/consult/usage-extractor.d.ts +12 -10
- package/dist/commands/consult/usage-extractor.d.ts.map +1 -1
- package/dist/commands/consult/usage-extractor.js +16 -88
- package/dist/commands/consult/usage-extractor.js.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +101 -25
- package/dist/commands/doctor.js.map +1 -1
- package/dist/terminal/pty-manager.d.ts +8 -0
- package/dist/terminal/pty-manager.d.ts.map +1 -1
- package/dist/terminal/pty-manager.js +8 -1
- package/dist/terminal/pty-manager.js.map +1 -1
- package/package.json +4 -4
- package/skeleton/.claude/skills/consult/SKILL.md +1 -1
- package/skeleton/DEPENDENCIES.md +17 -6
- package/skeleton/resources/commands/codev.md +1 -1
- package/skeleton/resources/commands/consult.md +21 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cluesmith/codev",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.9",
|
|
4
4
|
"description": "Codev CLI - AI-assisted software development framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@anthropic-ai/claude-agent-sdk": "^0.2.41",
|
|
25
25
|
"@google/genai": "^1.0.0",
|
|
26
26
|
"@openai/codex-sdk": "^0.130.0",
|
|
27
|
-
"better-sqlite3": "^12.
|
|
27
|
+
"better-sqlite3": "^12.10.0",
|
|
28
28
|
"chalk": "^5.3.0",
|
|
29
29
|
"commander": "^12.1.0",
|
|
30
30
|
"glob": "^11.0.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"open": "^10.1.0",
|
|
34
34
|
"tree-kill": "^1.2.2",
|
|
35
35
|
"ws": "^8.18.0",
|
|
36
|
-
"@cluesmith/codev-core": "3.1.
|
|
36
|
+
"@cluesmith/codev-core": "3.1.9"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@playwright/test": "^1.58.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"tsx": "^4.19.2",
|
|
49
49
|
"typescript": "^5.7.2",
|
|
50
50
|
"vitest": "^4.0.15",
|
|
51
|
-
"@cluesmith/codev-types": "3.1.
|
|
51
|
+
"@cluesmith/codev-types": "3.1.9",
|
|
52
52
|
"@cluesmith/codev-dashboard": "0.0.0"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
@@ -20,7 +20,7 @@ The `-m` / `--model` flag is **always required** except for `consult stats`.
|
|
|
20
20
|
|
|
21
21
|
| Flag value | Alias | Notes |
|
|
22
22
|
|------------|-------|-------|
|
|
23
|
-
| `gemini` | `pro` |
|
|
23
|
+
| `gemini` | `pro` | Antigravity CLI (`agy`); agentic file access (`--sandbox`), OAuth login; skips non-blockingly if unavailable |
|
|
24
24
|
| `codex` | `gpt` | Thorough (~200-250s), shell exploration |
|
|
25
25
|
| `claude` | `opus` | Agent SDK with tool use (~60-120s) |
|
|
26
26
|
|
package/skeleton/DEPENDENCIES.md
CHANGED
|
@@ -110,22 +110,33 @@ npm install -g @anthropic-ai/claude-code
|
|
|
110
110
|
claude --version
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
###
|
|
113
|
+
### Antigravity CLI (`agy`) — the `gemini` consult lane
|
|
114
|
+
|
|
115
|
+
Replaces the retired Gemini CLI (Google stopped serving Gemini CLI for Pro/Ultra/free tiers on
|
|
116
|
+
2026-06-18). The `gemini` consult lane now dispatches to the Antigravity CLI (`agy`).
|
|
114
117
|
|
|
115
118
|
| Requirement | Value |
|
|
116
119
|
|-------------|-------|
|
|
117
|
-
| Purpose | Multi-agent consultation, alternative perspectives |
|
|
118
|
-
| Documentation | [
|
|
120
|
+
| Purpose | Multi-agent consultation (the `gemini` lane), alternative perspectives |
|
|
121
|
+
| Documentation | [antigravity.google/docs/cli-using](https://antigravity.google/docs/cli-using) |
|
|
122
|
+
| Auth | OAuth / Google subscription (no API key) — run `agy` once and sign in |
|
|
119
123
|
|
|
120
124
|
**Installation:**
|
|
121
125
|
|
|
122
126
|
```bash
|
|
123
|
-
|
|
127
|
+
curl -fsSL https://antigravity.google/cli/install.sh | bash # installs to ~/.local/bin/agy
|
|
128
|
+
|
|
129
|
+
# Sign in (one-time, interactive)
|
|
130
|
+
agy # complete the OAuth flow
|
|
124
131
|
|
|
125
132
|
# Verify
|
|
126
|
-
|
|
133
|
+
agy --version
|
|
127
134
|
```
|
|
128
135
|
|
|
136
|
+
> Note: the `agy` on the IDE's PATH (`~/.antigravity/.../bin/agy`) is a symlink to the Antigravity
|
|
137
|
+
> IDE, not the headless CLI — Codev resolves the real CLI itself. If `agy` is missing or
|
|
138
|
+
> unauthenticated, the `gemini` consult lane skips non-blockingly (the run proceeds without it).
|
|
139
|
+
|
|
129
140
|
### Codex CLI
|
|
130
141
|
|
|
131
142
|
| Requirement | Value |
|
|
@@ -152,7 +163,7 @@ codex --version
|
|
|
152
163
|
| git | 2.5.0 | Yes |
|
|
153
164
|
| gh | latest | Yes |
|
|
154
165
|
| Claude Code | latest | At least one AI CLI |
|
|
155
|
-
|
|
|
166
|
+
| Antigravity CLI (`agy`) | latest | At least one AI CLI |
|
|
156
167
|
| Codex CLI | latest | At least one AI CLI |
|
|
157
168
|
|
|
158
169
|
---
|
|
@@ -99,7 +99,7 @@ Verifies that all required dependencies are installed and properly configured:
|
|
|
99
99
|
|
|
100
100
|
**AI CLI Dependencies (at least one required):**
|
|
101
101
|
- Claude (`@anthropic-ai/claude-code`)
|
|
102
|
-
- Gemini (`
|
|
102
|
+
- Gemini (Antigravity CLI, `agy`)
|
|
103
103
|
- Codex (`@openai/codex`)
|
|
104
104
|
|
|
105
105
|
**Exit Codes:**
|
|
@@ -19,7 +19,7 @@ consult stats [options]
|
|
|
19
19
|
|
|
20
20
|
| Model | Alias | Backend | Notes |
|
|
21
21
|
|-------|-------|---------|-------|
|
|
22
|
-
| `gemini` | `pro` |
|
|
22
|
+
| `gemini` | `pro` | Antigravity CLI (`agy`) | Agentic file access (`--sandbox --add-dir`), OAuth/subscription login. Skips non-blockingly if `agy` is missing/unauthed. |
|
|
23
23
|
| `codex` | `gpt` | @openai/codex | Read-only sandbox, thorough |
|
|
24
24
|
| `claude` | `opus` | Claude Agent SDK | Balanced analysis with tool use |
|
|
25
25
|
| `hermes` | - | hermes CLI (`hermes chat -q`) | Uses Hermes agent as consult backend |
|
|
@@ -130,7 +130,7 @@ consult -m hermes --protocol spir --type spec
|
|
|
130
130
|
|
|
131
131
|
| Model | Typical Time | Approach |
|
|
132
132
|
|-------|--------------|----------|
|
|
133
|
-
| Gemini | ~120-
|
|
133
|
+
| Gemini | ~120-180s | Antigravity CLI (`agy`); agentic file access via `--sandbox`, plain text output |
|
|
134
134
|
| Codex | ~200-250s | Shell command exploration, read-only sandbox |
|
|
135
135
|
| Claude | ~60-120s | Agent SDK with Read/Glob/Grep tools |
|
|
136
136
|
|
|
@@ -145,14 +145,29 @@ npm install -g @anthropic-ai/claude-code
|
|
|
145
145
|
# Codex
|
|
146
146
|
npm install -g @openai/codex
|
|
147
147
|
|
|
148
|
-
# Gemini
|
|
149
|
-
|
|
148
|
+
# Gemini lane → Antigravity CLI (`agy`), replacing the retired Gemini CLI
|
|
149
|
+
curl -fsSL https://antigravity.google/cli/install.sh | bash
|
|
150
|
+
agy # run once and sign in (OAuth / Google subscription)
|
|
150
151
|
```
|
|
151
152
|
|
|
152
|
-
Configure
|
|
153
|
+
Configure auth:
|
|
153
154
|
- Claude: `ANTHROPIC_API_KEY`
|
|
154
155
|
- Codex: `OPENAI_API_KEY`
|
|
155
|
-
- Gemini: `
|
|
156
|
+
- Gemini (`agy`): **OAuth / subscription** — run `agy` once and sign in (no API key). If `agy`
|
|
157
|
+
is missing or unauthenticated, the gemini lane skips non-blockingly (the run proceeds without it).
|
|
158
|
+
|
|
159
|
+
### Claude auth: subscription vs. metered API
|
|
160
|
+
|
|
161
|
+
`consult -m claude` runs on the Claude Agent SDK. When `CLAUDE_CODE_OAUTH_TOKEN`
|
|
162
|
+
(a Claude subscription/OAuth token) is present, consult strips `ANTHROPIC_API_KEY`
|
|
163
|
+
and `ANTHROPIC_AUTH_TOKEN` from the SDK subprocess env so the consultation
|
|
164
|
+
authenticates against the **subscription** rather than the **metered Opus API**.
|
|
165
|
+
The Agent SDK otherwise prioritizes `ANTHROPIC_API_KEY`, which silently routes
|
|
166
|
+
CMAP/review traffic to the metered API (issue #985). When no OAuth token is set,
|
|
167
|
+
the API key is used as before so CI / key-only environments keep working.
|
|
168
|
+
|
|
169
|
+
> **Caveat:** dedicated Agent-SDK subscription credit starts **2026-06-15**.
|
|
170
|
+
> Before that date, subscription auth draws from the interactive Max quota.
|
|
156
171
|
|
|
157
172
|
## The Consultant Role
|
|
158
173
|
|