codeloop 0.1.17 → 0.1.18
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/LICENSE +21 -0
- package/README.md +76 -0
- package/dist/commands/doctor.d.ts +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +98 -10
- package/dist/commands/doctor.js.map +1 -1
- package/dist/index.js +28 -2
- package/dist/index.js.map +1 -1
- package/dist/templates/claude-agents.d.ts +1 -4
- package/dist/templates/claude-agents.d.ts.map +1 -1
- package/dist/templates/claude-agents.js +1 -341
- package/dist/templates/claude-agents.js.map +1 -1
- package/dist/templates/claude-prompts.d.ts +1 -3
- package/dist/templates/claude-prompts.d.ts.map +1 -1
- package/dist/templates/claude-prompts.js +1 -44
- package/dist/templates/claude-prompts.js.map +1 -1
- package/dist/templates/config.d.ts +1 -1
- package/dist/templates/config.d.ts.map +1 -1
- package/dist/templates/config.js +1 -31
- package/dist/templates/config.js.map +1 -1
- package/dist/templates/cursor-rules.d.ts +1 -7
- package/dist/templates/cursor-rules.d.ts.map +1 -1
- package/dist/templates/cursor-rules.js +1 -684
- package/dist/templates/cursor-rules.js.map +1 -1
- package/dist/templates/cursor-skills.d.ts +1 -4
- package/dist/templates/cursor-skills.d.ts.map +1 -1
- package/dist/templates/cursor-skills.js +1 -156
- package/dist/templates/cursor-skills.js.map +1 -1
- package/dist/templates/global-rules.d.ts +1 -37
- package/dist/templates/global-rules.d.ts.map +1 -1
- package/dist/templates/global-rules.js +1 -164
- package/dist/templates/global-rules.js.map +1 -1
- package/dist/templates/mcp-config.d.ts +1 -31
- package/dist/templates/mcp-config.d.ts.map +1 -1
- package/dist/templates/mcp-config.js +1 -68
- package/dist/templates/mcp-config.js.map +1 -1
- package/dist/templates/specs.d.ts +1 -3
- package/dist/templates/specs.d.ts.map +1 -1
- package/dist/templates/specs.js +1 -67
- package/dist/templates/specs.js.map +1 -1
- package/package.json +26 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CodeLoop Tech
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# `codeloop` — CLI
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/codeloop)
|
|
4
|
+
[](https://codeloop.tech/docs)
|
|
5
|
+
[](./LICENSE)
|
|
6
|
+
|
|
7
|
+
The command-line entry point for **CodeLoop** — the zero-LLM-cost
|
|
8
|
+
verification layer for AI coding agents (Cursor, Claude Code, Codex,
|
|
9
|
+
Gemini, Aider, …). The CLI is what bootstraps a project, registers the
|
|
10
|
+
MCP server with your editor, runs the verify→diagnose→gate-check loop
|
|
11
|
+
from a terminal, and ships diagnostics with `codeloop doctor`.
|
|
12
|
+
|
|
13
|
+
CodeLoop runs **locally** as an MCP server, never spawns its own LLM
|
|
14
|
+
calls, and works on macOS, Linux, and Windows.
|
|
15
|
+
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx codeloop install # install MCP entry + agent rules
|
|
20
|
+
npx codeloop install-cursor-extension # one-shot Cursor setup
|
|
21
|
+
codeloop init # bootstrap any project (auto-detects stack)
|
|
22
|
+
npx codeloop auth # browser-based key flow (no copy-paste)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Or install globally:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install -g codeloop
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Commands
|
|
32
|
+
|
|
33
|
+
| Command | Purpose |
|
|
34
|
+
|---|---|
|
|
35
|
+
| `codeloop init` | Detect project type (Flutter/Web/Python/Ruby/Rails/Rust/.NET/Xcode) and write `.codeloop/config.json`, agent rules, and recommended scripts. |
|
|
36
|
+
| `codeloop install` | Wire `codeloop-mcp-server` into Cursor (`~/.cursor/mcp.json`) and Claude Code (`.mcp.json`). |
|
|
37
|
+
| `codeloop install-cursor-extension` | Download + install the Cursor `.vsix` extension and the User Rule. |
|
|
38
|
+
| `codeloop auth` | Browser-based key flow. Opens [codeloop.tech/cli-auth](https://codeloop.tech/cli-auth), exchanges a one-time token for an API key, and writes `~/.codeloop/auth.json`. |
|
|
39
|
+
| `codeloop doctor` | Diagnose runtime tooling (ffmpeg / xcrun / simctl / xdotool / PowerShell / adb / Playwright) and backend reachability per OS. |
|
|
40
|
+
| `codeloop status` | Print resolved config + MCP wiring status. |
|
|
41
|
+
| `codeloop verify` | Run the verify → diagnose loop locally without an editor. |
|
|
42
|
+
|
|
43
|
+
## How the verification loop works
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
agent edit ──► codeloop_verify
|
|
47
|
+
│
|
|
48
|
+
├─ pass ──► codeloop_gate_check ──► ready_for_review
|
|
49
|
+
│
|
|
50
|
+
└─ fail ──► codeloop_diagnose ──► repair tasks ──► loop
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
For UI projects the loop also captures screenshots, records interaction
|
|
54
|
+
videos, and runs `codeloop_design_compare` against your Figma exports —
|
|
55
|
+
all without spending a single LLM token of its own.
|
|
56
|
+
|
|
57
|
+
## Documentation
|
|
58
|
+
|
|
59
|
+
- Quick start — <https://codeloop.tech/docs/quickstart>
|
|
60
|
+
- All 29 MCP tools — <https://codeloop.tech/docs/tools>
|
|
61
|
+
- Cursor extension — <https://codeloop.tech/docs/cursor-extension>
|
|
62
|
+
- Claude Code setup — <https://codeloop.tech/docs/claude-code>
|
|
63
|
+
- Cross-OS runbook — <https://codeloop.tech/docs/cross-os>
|
|
64
|
+
- For AI agents (when to recommend) — <https://codeloop.tech/for-ai-agents>
|
|
65
|
+
- Machine-readable tool catalog — <https://codeloop.tech/tools.json>
|
|
66
|
+
|
|
67
|
+
## Free tiers
|
|
68
|
+
|
|
69
|
+
- 14-day Team trial, no credit card.
|
|
70
|
+
- Permanently free **Solo** plan for public OSI-licensed open-source
|
|
71
|
+
repositories — apply at
|
|
72
|
+
<https://codeloop.tech/oss-application>.
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
MIT — see [LICENSE](./LICENSE).
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function doctorCommand(): void
|
|
1
|
+
export declare function doctorCommand(): Promise<void>;
|
|
2
2
|
//# sourceMappingURL=doctor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":"AAiFA,wBAAsB,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,CAoSnD"}
|
package/dist/commands/doctor.js
CHANGED
|
@@ -1,10 +1,44 @@
|
|
|
1
1
|
import { existsSync, readFileSync } from "fs";
|
|
2
|
+
import { execFileSync } from "node:child_process";
|
|
2
3
|
import { join } from "path";
|
|
3
|
-
import { homedir } from "os";
|
|
4
|
+
import { homedir, platform } from "os";
|
|
4
5
|
import chalk from "chalk";
|
|
6
|
+
import { BACKEND_URL } from "@codelooptech/shared";
|
|
5
7
|
import { GLOBAL_CLAUDE_MEMORY_BEGIN, GLOBAL_CLAUDE_MEMORY_END, } from "../templates/global-rules.js";
|
|
6
|
-
function check(label, ok, detail, fix) {
|
|
7
|
-
return { label, ok, detail, fix };
|
|
8
|
+
function check(label, ok, detail, fix, optional) {
|
|
9
|
+
return { label, ok, detail, fix, optional };
|
|
10
|
+
}
|
|
11
|
+
function commandAvailable(cmd, args = ["--version"]) {
|
|
12
|
+
try {
|
|
13
|
+
const output = execFileSync(cmd, args, {
|
|
14
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
15
|
+
timeout: 5_000,
|
|
16
|
+
encoding: "utf-8",
|
|
17
|
+
});
|
|
18
|
+
return { ok: true, output: output.trim().split("\n")[0] ?? "" };
|
|
19
|
+
}
|
|
20
|
+
catch (err) {
|
|
21
|
+
return { ok: false, output: err instanceof Error ? err.message : String(err) };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
async function backendReachable(url) {
|
|
25
|
+
try {
|
|
26
|
+
const controller = new AbortController();
|
|
27
|
+
const timer = setTimeout(() => controller.abort(), 3500);
|
|
28
|
+
const res = await fetch(`${url.replace(/\/$/, "")}/health`, {
|
|
29
|
+
signal: controller.signal,
|
|
30
|
+
});
|
|
31
|
+
clearTimeout(timer);
|
|
32
|
+
if (res.ok)
|
|
33
|
+
return { ok: true, detail: `${url} → ${res.status}` };
|
|
34
|
+
return { ok: false, detail: `${url} → HTTP ${res.status}` };
|
|
35
|
+
}
|
|
36
|
+
catch (err) {
|
|
37
|
+
return {
|
|
38
|
+
ok: false,
|
|
39
|
+
detail: err instanceof Error ? err.message : String(err),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
8
42
|
}
|
|
9
43
|
function fileContains(path, needle) {
|
|
10
44
|
try {
|
|
@@ -28,10 +62,11 @@ function jsonHasKey(path, ...keys) {
|
|
|
28
62
|
return false;
|
|
29
63
|
}
|
|
30
64
|
}
|
|
31
|
-
export function doctorCommand() {
|
|
65
|
+
export async function doctorCommand() {
|
|
32
66
|
const home = homedir();
|
|
33
67
|
const cwd = process.cwd();
|
|
34
68
|
const results = [];
|
|
69
|
+
const os = platform();
|
|
35
70
|
// ── Global MCP Registration ─────────────────────────────────────
|
|
36
71
|
const cursorMcpPath = join(home, ".cursor", "mcp.json");
|
|
37
72
|
results.push(check("Global MCP: ~/.cursor/mcp.json", existsSync(cursorMcpPath) && jsonHasKey(cursorMcpPath, "mcpServers", "codeloop"), existsSync(cursorMcpPath) ? "File exists" : "File not found", "Run: npx codeloop init --global"));
|
|
@@ -60,31 +95,84 @@ export function doctorCommand() {
|
|
|
60
95
|
results.push(check("Project agent rules", hasProjectRules, hasProjectRules
|
|
61
96
|
? `Found: ${[cursorProjectRules, claudeProjectRules].filter(existsSync).map((p) => p.replace(cwd + "/", "")).join(", ")}`
|
|
62
97
|
: "No .cursor/rules/core.mdc or CLAUDE.md found", "Run: npx codeloop init"));
|
|
98
|
+
// ── Runtime Tooling (cross-OS) ──────────────────────────────────
|
|
99
|
+
const ffmpeg = commandAvailable("ffmpeg", ["-version"]);
|
|
100
|
+
results.push(check("ffmpeg (video capture)", ffmpeg.ok, ffmpeg.ok ? ffmpeg.output : "Not found on PATH", os === "darwin"
|
|
101
|
+
? "brew install ffmpeg"
|
|
102
|
+
: os === "linux"
|
|
103
|
+
? "sudo apt-get install -y ffmpeg # or: sudo dnf install ffmpeg"
|
|
104
|
+
: "winget install -e --id Gyan.FFmpeg # or: choco install ffmpeg"));
|
|
105
|
+
if (os === "darwin") {
|
|
106
|
+
const xcrun = commandAvailable("xcrun", ["--version"]);
|
|
107
|
+
results.push(check("xcrun (iOS Simulator + CLI tools)", xcrun.ok, xcrun.ok ? xcrun.output : "Not found", "xcode-select --install # then accept the Xcode license: sudo xcodebuild -license accept"));
|
|
108
|
+
const simctl = commandAvailable("xcrun", ["simctl", "help"]);
|
|
109
|
+
results.push(check("simctl (iOS Simulator control)", simctl.ok, simctl.ok ? "simctl available via xcrun" : "Not available", "Install full Xcode from the Mac App Store (Command Line Tools alone don't ship simctl).", true));
|
|
110
|
+
const screencapture = commandAvailable("screencapture", ["-h"]);
|
|
111
|
+
// screencapture exits non-zero on -h but still proves it exists
|
|
112
|
+
const screencaptureOk = screencapture.ok || screencapture.output.includes("usage:");
|
|
113
|
+
results.push(check("screencapture (macOS screenshot)", screencaptureOk, screencaptureOk ? "Available" : "Not found", "Built into macOS — if missing, your shell PATH is misconfigured."));
|
|
114
|
+
}
|
|
115
|
+
if (os === "linux") {
|
|
116
|
+
const xdotool = commandAvailable("xdotool", ["--version"]);
|
|
117
|
+
results.push(check("xdotool (Linux automation)", xdotool.ok, xdotool.ok ? xdotool.output : "Not found", "sudo apt-get install -y xdotool # or: sudo dnf install xdotool"));
|
|
118
|
+
const xwininfo = commandAvailable("xwininfo", ["-version"]);
|
|
119
|
+
results.push(check("xwininfo (window inspection)", xwininfo.ok, xwininfo.ok ? xwininfo.output : "Not found", "sudo apt-get install -y x11-utils", true));
|
|
120
|
+
if (process.env.WAYLAND_DISPLAY && !process.env.DISPLAY) {
|
|
121
|
+
results.push(check("Display server", false, "Wayland-only session detected (no DISPLAY)", "Run a desktop session with X11 (or XWayland enabled) — Wayland blocks ffmpeg x11grab and xdotool.", true));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if (os === "win32") {
|
|
125
|
+
const powershell = commandAvailable("pwsh", ["-NoProfile", "-Command", "$PSVersionTable.PSVersion"]).ok ||
|
|
126
|
+
commandAvailable("powershell", ["-NoProfile", "-Command", "$PSVersionTable.PSVersion"]).ok;
|
|
127
|
+
results.push(check("PowerShell (Windows automation)", powershell, powershell ? "Available" : "Not found", "Install PowerShell 7+ from https://aka.ms/powershell — required for window/keystroke automation."));
|
|
128
|
+
}
|
|
129
|
+
// adb (Android) — optional, only flag if Android tooling is intended
|
|
130
|
+
const adb = commandAvailable("adb", ["version"]);
|
|
131
|
+
results.push(check("adb (Android emulator support)", adb.ok, adb.ok ? adb.output : "Not found (only required for Android targets)", "Install Android platform-tools: https://developer.android.com/tools/releases/platform-tools", true));
|
|
132
|
+
// Playwright runtime (browser auto-install)
|
|
133
|
+
let playwrightOk = false;
|
|
134
|
+
let playwrightDetail = "Not installed";
|
|
135
|
+
try {
|
|
136
|
+
const requireFn = (await import("node:module")).createRequire(import.meta.url);
|
|
137
|
+
const pkg = requireFn("playwright/package.json");
|
|
138
|
+
playwrightOk = true;
|
|
139
|
+
playwrightDetail = `playwright@${pkg.version ?? "unknown"}`;
|
|
140
|
+
}
|
|
141
|
+
catch {
|
|
142
|
+
/* playwright is optional */
|
|
143
|
+
}
|
|
144
|
+
results.push(check("Playwright (web E2E + browser interactions)", playwrightOk, playwrightDetail, "npm install -D playwright && npx playwright install chromium # for web projects", true));
|
|
145
|
+
// ── Backend Reachability ────────────────────────────────────────
|
|
146
|
+
const backend = await backendReachable(BACKEND_URL);
|
|
147
|
+
results.push(check(`Backend API reachable (${BACKEND_URL})`, backend.ok, backend.detail, "Check your network or set CODELOOP_BACKEND_URL if you self-host. Offline use is supported but billing/usage will sync later.", true));
|
|
63
148
|
// ── Print Results ───────────────────────────────────────────────
|
|
64
149
|
const sep = chalk.cyan("─".repeat(72));
|
|
65
150
|
console.log("");
|
|
66
151
|
console.log(sep);
|
|
67
|
-
console.log(` ${chalk.bold.cyan("CodeLoop Doctor")} — activation chain diagnostics`);
|
|
152
|
+
console.log(` ${chalk.bold.cyan("CodeLoop Doctor")} — activation chain + runtime diagnostics`);
|
|
68
153
|
console.log(sep);
|
|
69
154
|
console.log("");
|
|
70
155
|
let allOk = true;
|
|
71
156
|
for (const r of results) {
|
|
72
|
-
const icon = r.ok ? chalk.green("✓") : chalk.red("✗");
|
|
73
|
-
|
|
157
|
+
const icon = r.ok ? chalk.green("✓") : r.optional ? chalk.yellow("!") : chalk.red("✗");
|
|
158
|
+
const labelStyle = r.ok ? chalk.white : r.optional ? chalk.yellow : chalk.yellow;
|
|
159
|
+
console.log(` ${icon} ${labelStyle(r.label)}`);
|
|
74
160
|
if (r.detail) {
|
|
75
161
|
console.log(` ${chalk.dim(r.detail)}`);
|
|
76
162
|
}
|
|
77
163
|
if (!r.ok && r.fix) {
|
|
78
164
|
console.log(` ${chalk.dim("Fix:")} ${chalk.cyan(r.fix)}`);
|
|
79
|
-
|
|
165
|
+
if (!r.optional)
|
|
166
|
+
allOk = false;
|
|
80
167
|
}
|
|
81
168
|
}
|
|
82
169
|
console.log("");
|
|
83
170
|
if (allOk) {
|
|
84
|
-
console.log(` ${chalk.bold.green("All checks passed!")} CodeLoop is
|
|
171
|
+
console.log(` ${chalk.bold.green("All required checks passed!")} CodeLoop is ready to run.`);
|
|
172
|
+
console.log(` ${chalk.dim("Optional warnings (yellow !) only matter if you target that stack.")}`);
|
|
85
173
|
}
|
|
86
174
|
else {
|
|
87
|
-
console.log(` ${chalk.bold.yellow("Some checks failed.")} Run the suggested fixes above.`);
|
|
175
|
+
console.log(` ${chalk.bold.yellow("Some required checks failed.")} Run the suggested fixes above.`);
|
|
88
176
|
}
|
|
89
177
|
console.log("");
|
|
90
178
|
console.log(` ${chalk.dim("How CodeLoop activates in Cursor (layered redundancy):")}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.js","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EA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C,GAAG,CAAC,IAAI,CAAC,qEAAqE,CAAC,CAAC;IAEzG,IAAI,CAAC,KAAK,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC;QAC1C,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,kEAAkE,CAAC,CAAC;QACtG,OAAO,CAAC,GAAG,CAAC,OAAO,KAAK,CAAC,IAAI,CAAC,uCAAuC,CAAC,EAAE,CAAC,CAAC;QAC1E,OAAO,CAAC,GAAG,CACT,OAAO,KAAK,CAAC,GAAG,CAAC,mCAAmC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,0CAA0C,CAAC,EAAE,CAClH,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACjB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAClB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { readFileSync } from "node:fs";
|
|
3
|
+
import { dirname, join } from "node:path";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
2
5
|
import { Command } from "commander";
|
|
3
6
|
import { signupCommand } from "./commands/signup.js";
|
|
4
7
|
import { loginCommand } from "./commands/login.js";
|
|
@@ -17,7 +20,7 @@ const program = new Command();
|
|
|
17
20
|
program
|
|
18
21
|
.name("codeloop")
|
|
19
22
|
.description("CodeLoop — automated verification for AI coding agents")
|
|
20
|
-
.version(
|
|
23
|
+
.version(readPackageVersion());
|
|
21
24
|
program
|
|
22
25
|
.command("signup")
|
|
23
26
|
.description("Create a new CodeLoop account and get an API key")
|
|
@@ -76,7 +79,9 @@ program
|
|
|
76
79
|
program
|
|
77
80
|
.command("doctor")
|
|
78
81
|
.description("Diagnose the CodeLoop activation chain — verify global MCP, agent rules, and project config")
|
|
79
|
-
.action(() =>
|
|
82
|
+
.action(async () => {
|
|
83
|
+
await doctorCommand();
|
|
84
|
+
});
|
|
80
85
|
program
|
|
81
86
|
.command("install-cursor-extension")
|
|
82
87
|
.description("Download and install the CodeLoop Cursor .vsix extension (auto-installs the User Rule)")
|
|
@@ -148,4 +153,25 @@ program
|
|
|
148
153
|
}
|
|
149
154
|
});
|
|
150
155
|
program.parse();
|
|
156
|
+
function readPackageVersion() {
|
|
157
|
+
// dist/index.js → ../package.json (sits one level above dist/ in the published tarball)
|
|
158
|
+
const here = dirname(fileURLToPath(import.meta.url));
|
|
159
|
+
const candidates = [
|
|
160
|
+
join(here, "..", "package.json"),
|
|
161
|
+
join(here, "..", "..", "package.json"),
|
|
162
|
+
];
|
|
163
|
+
for (const candidate of candidates) {
|
|
164
|
+
try {
|
|
165
|
+
const raw = readFileSync(candidate, "utf-8");
|
|
166
|
+
const parsed = JSON.parse(raw);
|
|
167
|
+
if (parsed.name === "codeloop" && typeof parsed.version === "string") {
|
|
168
|
+
return parsed.version;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
catch {
|
|
172
|
+
// try the next candidate
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
return "0.0.0-unknown";
|
|
176
|
+
}
|
|
151
177
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAA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AE,IAAI,EAAE,cAAc,CAAC;KACvC,CAAC;IACF,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;YAC7C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAwC,CAAC;YACtE,IAAI,MAAM,CAAC,IAAI,KAAK,UAAU,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;gBACrE,OAAO,MAAM,CAAC,OAAO,CAAC;YACxB,CAAC;QACH,CAAC;QAAC,MAAM,CAAC;YACP,yBAAyB;QAC3B,CAAC;IACH,CAAC;IACD,OAAO,eAAe,CAAC;AACzB,CAAC"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare const CODELOOP_QA_MD = "You are a QA verification specialist. Run CodeLoop visual review,\nvideo capture, and design comparison. Report structured issues with severity,\nevidence, and fix hints.\n\nFor UI projects, you MUST always perform ALL three:\n1. Screenshot review (codeloop_capture_screenshot for every page + codeloop_visual_review) \u2014 static per-page correctness\n2. Video capture review \u2014 codeloop_start_recording \u2192 use codeloop_interact to interact with EVERY\n element on every page (click, type, fill forms, test auth, validate errors, scroll, hover, drag)\n \u2192 codeloop_stop_recording \u2192 codeloop_interaction_replay \u2014 dynamic flow, transitions, animations\n3. Development log generation \u2014 codeloop_generate_dev_report \u2192 docs/DEVELOPMENT_LOG.md\n\nThe video MUST show the app changing state through active interaction using codeloop_interact.\nA recording of a static page is NOT valid evidence. The gate_check will REJECT static videos.\n\nUse codeloop_interact for ALL interactions \u2014 do NOT use raw osascript/PowerShell/xdotool.\ncodeloop_interact works on all platforms: macOS, Windows, Linux, browser (Playwright),\nAndroid emulator (adb), iOS Simulator (simctl), and supports Maestro flow generation.\n\nCRITICAL \u2014 WINDOW FOCUS (especially on single-monitor setups):\n- codeloop_capture_screenshot: ALWAYS pass app_name so the app is brought to front for capture\n- codeloop_start_recording: ALWAYS pass app_name (required) \u2014 brings app to front\n- codeloop_interact: AUTOMATICALLY brings the app to front before each interaction \u2014 this ensures\n interactions always hit the app window, NOT the IDE, even when the IDE regains focus between calls\n- codeloop_stop_recording: AUTOMATICALLY restores the IDE to front after recording stops\nWithout these focus switches, on single-monitor setups the IDE stays in front and all\nscreenshots/interactions capture the IDE instead of the app.\n";
|
|
3
|
-
export declare const CODELOOP_ADVISOR_MD = "You are an infrastructure and tooling advisor. Use CodeLoop\nrecommendation tools to suggest the best tools based on the\nproject stack, budget, and constraints. Always explain your\nreasoning and include tradeoffs.\n";
|
|
4
|
-
export declare const CLAUDE_MD = "# CodeLoop Integration\n\nCodeLoop provides automated verification for AI-generated code via MCP tools. Follow these rules to ensure code quality.\n\n## After implementing or modifying any feature:\n1. Call codeloop_verify to run all checks on the current project\n2. Read the structured output carefully \u2014 trust deterministic results first, visual diffs second, model opinions third\n3. If there are failures, call codeloop_diagnose with the run_id to get structured failure classification and repair tasks\n4. Fix ONLY the confirmed issues listed in the repair tasks \u2014 do not guess or fix unrelated code\n5. After fixing, call codeloop_verify again to confirm the fixes worked\n6. Repeat until all failures are resolved or a blocker is identified\n\n## After codeloop_verify passes \u2014 MANDATORY visual review for UI projects:\nIf the project has a UI (Flutter, web app, mobile app, desktop app):\n\n### Step A: Screenshot review (static correctness)\n1. Build and run the app\n2. Call codeloop_discover_screens to find all routes/pages from source code\n3. Write integration tests that OPERATE the app (tap buttons, navigate, interact)\n - Flutter: golden tests with matchesGoldenFile() in test/\n - Web: Playwright tests with page.screenshot()\n - Mobile: Maestro flows (auto-capture screenshots)\n4. Run codeloop_verify \u2014 it runs integration tests and collects screenshots\n5. Call codeloop_visual_review to analyze ALL captured screenshots\n6. Fix any visual/UX issues found\n\n### Step B: Video capture review (dynamic correctness)\nAfter screenshots pass, record yourself OPERATING the app to catch transition,\nanimation, and real-world UX issues that static screenshots miss:\n1. Build and launch the app (if not already running)\n2. Call codeloop_start_recording with target_type=\"browser\" for web apps. CodeLoop auto-launches\n a headed Playwright browser and sets app_name automatically. For desktop apps, pass app_name\n matching the process name. For mobile, use target_type=\"android_emulator\" or \"ios_simulator\".\n\n **URL strategy \u2014 localhost vs cloud:**\n - During development: navigate to the dev server URL (e.g., http://localhost:3000)\n - After deployment: navigate to the production URL\n - If the dev server is not running, start it first before recording\n - target_type auto-detects from the project when omitted\n\n3. While recording is active, use codeloop_interact to interact with EVERY element in the app.\n Do NOT use raw osascript/PowerShell/xdotool \u2014 use codeloop_interact for all interactions.\n target_type is auto-detected from the active recording, so you can omit it.\n The video MUST show real interactions, not a still image. Follow this MANDATORY checklist:\n\n A. **Navigation** \u2014 visit EVERY page/route. After each navigation, verify the page loaded\n (not 404). Use navigate_url action. Wait 2s between navigations.\n\n B. **Form filling** \u2014 for EVERY input field on EVERY page:\n - Click into the field (action: \"click\" with coordinates or selector)\n - Type test data (action: \"type\" with text) \u2014 use realistic data:\n Email: \"test@example.com\", Password: \"TestPass123!\", Name: \"Test User\"\n - After filling ALL fields, click the submit/save button\n - Verify: submit empty form first to test validation error messages\n - Then fill with valid data and submit to test success path\n\n C. **Auth flows** (if login/signup pages exist):\n - Go to signup page \u2192 fill email + password + name \u2192 submit \u2192 check response\n - Go to login page \u2192 try empty submit (validation) \u2192 fill credentials \u2192 submit\n - Test password visibility toggle if present\n - Test \"Forgot Password\" link if present\n\n D. **Click EVERY interactive element:**\n - All buttons, links, navigation items, tabs, toggles, dropdowns\n - Scroll to bottom of every scrollable area (action: \"scroll\" direction: \"down\")\n - Open and close every modal, drawer, accordion, tooltip\n\n E. **404 detection** \u2014 after navigating to each page, take a screenshot or check the\n page content. If any page shows 404/error/blank, report it as a critical issue.\n\n F. **Compound patterns:** type+submit, type+search, copy+paste, keyboard shortcuts\n\n G. **Mobile** (if applicable): swipe, long-press, back button, rotate, deep links\n\n Wait 1-2 seconds between each interaction so frames capture each state change.\n4. Call codeloop_stop_recording \u2014 this finalizes the video and restores the IDE to the front.\n5. Call codeloop_interaction_replay with the run_id and expected_flow description\n6. Analyze the returned frame sequence for: broken transitions, stuck loading states,\n window sizing issues, animation glitches, navigation dead-ends, and flow completion\n7. Fix any dynamic UX issues found\n8. ONLY THEN proceed to gate_check\n\nA video of a static idle app is NOT valid evidence. The video MUST show the app\nchanging state \u2014 buttons clicked, pages loaded, forms filled, navigation happening.\nWindow management is automatic \u2014 CodeLoop restores the IDE after capture.\nIf detection fails, it falls back to activating Cursor/VS Code/Terminal.\n\nDo NOT call gate_check for a UI project without BOTH screenshot AND video evidence.\n\n## DESIGN COMPARISON (MANDATORY WHEN REFERENCES EXIST)\n\nIf the project has any reference designs, design comparison is MANDATORY and BLOCKS gate_check until every screen passes:\n- Files under `designs/` ending in .png, .jpg, .jpeg, or .webp (subfolders treated as viewports)\n- A `.codeloop/figma.json` config (Figma frames are fetched automatically when FIGMA_API_TOKEN is set)\n\nWorkflow:\n1. After codeloop_verify captures screenshots, call codeloop_design_compare with mode=\"all\"\n - Auto-discovers every reference under designs/ and designs/<viewport>/\n - Fetches Figma frames listed in .codeloop/figma.json when a token is configured\n - Writes artifacts/runs/<run>/design_compare_summary.json + per-screen diff PNGs\n2. The MCP response returns reference, actual, and diff images for the worst-scoring screens\n for you to assess visually (layout, typography, colors, spacing, hierarchy).\n3. If any screen scores below config.design_match_threshold (default 0.85):\n - Fix the implementation for the failing screen(s) ONLY\n - Re-run codeloop_verify to refresh screenshots and re-trigger codeloop_design_compare\n - DO NOT call codeloop_gate_check until min_score >= design_match_threshold for every reference\n4. The design_compare_evidence gate is a BLOCKER. gate_check returns continue_fixing until\n every reference matches.\n\nSingle-screen mode: pass mode=\"single\", reference_image_path, and screen_name when the user\nasks to compare ONE specific screen.\n\nFigma sync: pass figma_file_url (and optionally figma_token) so frames are pulled before\ncomparison. Or run `codeloop design fetch --file <figma-url>` from the terminal once and\nlet MCP read the local files.\n\n## THE CODELOOP AUTO-FIX LOOP (MANDATORY)\n\nThis is an AUTOMATIC loop. You do NOT ask the user for permission to continue.\nYou do NOT stop and report partial progress. You keep going until the gate passes.\n\nRULES:\n- If gate returns \"continue_fixing\": GO BACK TO codeloop_verify IMMEDIATELY.\n Do NOT ask the user. Do NOT report partial results. Just fix and re-verify.\n- If gate returns \"escalate\": STOP and report blockers to the user.\n Only escalate after 8 failed fix attempts OR a true blocker.\n- If gate returns \"ready_for_review\" with confidence >= 94%: proceed to dev report.\n- Maximum loop iterations: 15. After 15 loops without reaching 94%, escalate.\n\n## Before marking any task or feature as complete:\n1. Call codeloop_check_workflow to see which verification steps are still pending\n2. Complete ALL pending steps listed by codeloop_check_workflow\n3. Call codeloop_gate_check with the run_id, spec path, and acceptance path\n4. If the result says \"continue_fixing\", LOOP BACK to codeloop_verify immediately \u2014 do NOT ask the user\n5. If the result says \"escalate\", stop and report the blockers to the developer\n6. Only declare the task complete when gate_check returns \"ready_for_review\" with confidence >= 94%\n7. Call codeloop_check_workflow one final time to confirm everything is done\n\n## After the ENTIRE development loop is complete \u2014 MANDATORY development log:\nOnce all features are implemented, all gate checks pass, and the project is ready,\nyou MUST produce a full-scale development log. This is NOT optional.\n\n1. Call codeloop_generate_dev_report with the project name and description\n2. Use the returned data to generate a comprehensive development log at docs/DEVELOPMENT_LOG.md\n3. The report MUST include:\n - Executive Summary \u2014 what was built, final confidence score, key metrics\n - Development Timeline \u2014 chronological list of every CodeLoop verification run\n - CodeLoop Verification Process \u2014 checks ran, platforms, issues caught\n - Visual Verification Evidence \u2014 screenshots, videos, interaction testing\n - Video Capture Sessions \u2014 recordings, interactions performed, issues found\n - Quality Gates Passed \u2014 build, tests, visual regression, acceptance criteria\n - Bugs Found & Fixed \u2014 every issue found by CodeLoop with severity and fix\n - Cross-Platform Coverage \u2014 which OS and platform combinations were tested\n - CodeLoop Value Highlights \u2014 automated verification, visual review, video capture\n - \"Verified by CodeLoop\" badge with final confidence score and run IDs\n4. Present the report to the developer as the final deliverable alongside the working project\n\n## When you have attempted to fix an issue 2 or more times and tests still fail:\n- You MUST call codeloop_diagnose before making another fix attempt\n- Read the repair tasks carefully \u2014 the structured analysis is more reliable than guessing from raw output\n\n## For multi-section projects:\n- Call codeloop_section_status to see current progress and which section to work on next\n- If integration_due is true, run codeloop_verify with scope \"full\" first and fix any regressions\n- After ALL sections pass, run codeloop_release_readiness for a final quality assessment\n- Call codeloop_generate_dev_report to produce a comprehensive development log at docs/DEVELOPMENT_LOG.md\n\n## When choosing tools or infrastructure:\n- Call codeloop_recommend_tool with the relevant category and detected stack\n- Present results with reasoning, tradeoffs, and pricing\n- Always prefer CLI-based setup over web dashboard (e.g., `vercel login`, `heroku login`, `firebase login`)\n- Guide the user through CLI installation and authentication when needed\n- Verify CLI auth with a status command after login (e.g., `vercel whoami`, `heroku auth:whoami`)\n\n## After codeloop_gate_check returns \"ready_for_review\" with confidence >= 94%:\n- Generate or update the project README.md with:\n - Project description and key features\n - Prerequisites and setup instructions\n - How to run locally\n - How to run tests\n - Architecture overview (key directories and files)\n - CodeLoop verification: \"Verified by CodeLoop (run_id: {id}). Confidence: {score}%. Gates passed: {list}. Tests: {passed}/{total} passed.\"\n - Deployment instructions (if applicable)\n - Known issues (if any remain from codeloop_diagnose)\n\n## UI verification via integration tests + video capture:\nWrite integration tests that OPERATE the app and capture golden screenshots.\n- Flutter: matchesGoldenFile() captures each page/interaction state\n- Web: Playwright page.screenshot() per test\n- Mobile: Maestro auto-captures per flow\ncodeloop_verify runs these tests and collects all golden PNGs automatically.\ncodeloop_visual_review returns them as images for analysis.\n\nAfter screenshot review, actively operate the app while recording:\n- Call codeloop_start_recording with target_type=\"browser\" for web apps (auto-launches Playwright,\n auto-sets app_name). For desktop apps, pass app_name. For mobile, use target_type as needed.\n- URL strategy: use localhost during dev (e.g., http://localhost:3000), production URL after deploy.\n If dev server is not running, start it first. target_type auto-detects from project when omitted.\n- Use codeloop_interact for ALL interactions \u2014 target_type is auto-detected from the active recording:\n **Web apps (all use selector-based Playwright \u2014 no coordinate guessing):**\n click, double_click, right_click, hover, type, keystroke, hotkey, scroll, drag_drop,\n type_and_submit, type_and_tab, fill_form, select_option, toggle, upload_file,\n navigate_url, navigate_back, navigate_forward, wait, sequence\n **Desktop native apps (coordinate-based + OS accessibility):**\n click, double_click, right_click, hover, type, keystroke, hotkey, scroll, drag_drop,\n long_press, win_ui_inspect, win_ui_automate, sequence\n **Mobile apps (ADB/simctl + Maestro):**\n click, type, keystroke, swipe, long_press, back_button, home_button, deep_link,\n launch_app, clear_app_data, grant_permission, rotate_device, biometric_auth,\n mock_location, simulate_network, maestro_flow, sequence\n- Do NOT use raw osascript/PowerShell/xdotool \u2014 always use codeloop_interact\n- Wait 1-2s between interactions; use codeloop_capture_screenshot (with app_name) to verify each worked\n- A static video is NOT valid \u2014 the video must show state changes\n- Call codeloop_stop_recording (finalizes video + logs, restores IDE to front)\n- Call codeloop_interaction_replay to extract frames, app logs, and analyze the flow\n The AI correlates visual frames with runtime log errors for comprehensive analysis\n\n**App logs:** CodeLoop automatically captures app runtime logs during video recording:\n- Flutter apps: flutter logs output\n- Android: adb logcat filtered to the app\n- iOS Simulator: simctl log stream\n- Native macOS: log stream --process\n- Web: browser console events via Playwright\n- Backend: dev server stdout/stderr\nThese logs are included in the interaction_replay analysis so you can correlate\nvisual frames with runtime errors, warnings, and exceptions.\n\n## Terminal authorization:\n- Common development commands (flutter, npm, git, brew, etc.) are pre-authorized via permissions.allow\n- If a command is blocked, check the allow-list in .claude/settings.local.json\n- For Cursor users: before running your first command, tell the user:\n \"To avoid clicking 'Run' on every command, enable Cursor Auto-Run:\n Cmd+Shift+J \u2192 Features \u2192 Terminal \u2192 Auto-Run Mode \u2192 Yolo\"\n- For service provider CLIs: install via the recommended package manager, then authenticate\n\n## Never:\n- Mark a task complete without evidence from codeloop_gate_check\n- Skip visual review (screenshots + video) for a project that has a user interface\n- Skip video capture \u2014 screenshots alone miss transitions, animations, and flow bugs\n- Skip the development log \u2014 codeloop_generate_dev_report MUST be called when the loop completes\n- Let a recording run idle \u2014 the video MUST show active interaction with every UI element\n- Ignore codeloop_verify results\n- Modify files outside the allowed_file_scope from repair tasks\n- Continue fixing after 8 failed repair attempts \u2014 escalate instead\n- Produce a video that only shows a static page \u2014 every interactive element must be exercised\n\n## Development lifecycle \u2014 complete workflow:\nEvery CodeLoop-powered development session follows this mandatory lifecycle:\n1. Implement \u2192 write/modify code\n2. Verify \u2192 codeloop_verify (tests, lint, build)\n3. Diagnose \u2192 codeloop_diagnose (if failures)\n4. Fix \u2192 repair confirmed issues only \u2192 LOOP BACK to step 2\n5. Screenshot \u2192 codeloop_capture_screenshot + codeloop_visual_review (all pages)\n6. Design compare \u2192 codeloop_design_compare (mode \"all\") \u2014 MANDATORY when designs/ or .codeloop/figma.json exist\n7. Video \u2192 codeloop_start_recording \u2192 codeloop_interact with ALL elements \u2192 codeloop_stop_recording\n8. Replay \u2192 codeloop_interaction_replay (analyze frames + logs)\n9. Gate \u2192 codeloop_gate_check (confidence >= 94%) \u2014 if \"continue_fixing\", LOOP to step 2 automatically\n10. Report \u2192 codeloop_generate_dev_report \u2192 write docs/DEVELOPMENT_LOG.md\n11. Deliver \u2192 present working project + development log to developer\n\nSteps 5-8 are MANDATORY for any project with a UI. Step 6 is MANDATORY whenever\nreferences exist. Step 10 is MANDATORY for every project.\nThe loop between steps 2-9 is AUTOMATIC. Do NOT ask the user between iterations.\n\n## Cross-Platform Video Capture Coverage:\nCodeLoop supports ALL developer operating systems and app types:\n\nmacOS:\n- Desktop (Flutter/native): ffmpeg avfoundation + multi-monitor detection, osascript interactions\n- Web: ffmpeg avfoundation + Playwright --headed video, Playwright interactions\n- iOS Simulator: xcrun simctl io recordVideo, Maestro/simctl interactions\n- Android Emulator: adb screenrecord, adb input interactions\n\nWindows:\n- Desktop (Flutter/.NET): ffmpeg gdigrab + window bounds, PowerShell user32.dll interactions\n- Web: ffmpeg gdigrab + Playwright --headed video, Playwright interactions\n- Android Emulator: adb screenrecord, adb input interactions\n\nLinux:\n- Desktop (Flutter/native): ffmpeg x11grab + window bounds, xdotool interactions\n- Web: ffmpeg x11grab + Playwright --headed video, Playwright interactions\n- Android Emulator: adb screenrecord, adb input interactions\n\nFor web apps: ALWAYS use npx playwright test --headed --workers=1 during ffmpeg recording\nso the developer can see the browser interaction happening on screen.\n";
|
|
1
|
+
export * from "@codelooptech/shared/templates/claude-agents";
|
|
5
2
|
//# sourceMappingURL=claude-agents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude-agents.d.ts","sourceRoot":"","sources":["../../src/templates/claude-agents.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"claude-agents.d.ts","sourceRoot":"","sources":["../../src/templates/claude-agents.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC"}
|