karajan-code 2.10.0 → 2.10.1
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 +3 -1
- package/package.json +1 -1
- package/src/commands/audit.js +5 -1
package/README.md
CHANGED
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
|
-
> **v2.10.
|
|
26
|
+
> **v2.10.1 released** — Patch release. One-line fix for a stdout contamination bug in `kj audit --agent-readiness --json` (the `[info]` banner was breaking downstream `jq` pipes), plus polish in the asciinema demo scripts. Safe upgrade from 2.10.0.
|
|
27
|
+
>
|
|
28
|
+
> **v2.10.0** — Agent-readiness release. Karajan is now the first orchestrator with a full agent-readability surface: an `llms.txt` index at the root, a `SKILL.md` per CLI command under `docs/agents/`, and a static auditor that scores any third-party repo against the same shape. Highlights: (1) **`kj audit --agent-readiness`** scores any repo 0–100 across seven checks (llms.txt, robots AI-bot allowlist, page token budgets ≤ 32 KB, heading hierarchy, agents/README, SKILL.md coverage). LLM-free, deterministic, JSON-able. Karajan-on-Karajan: **100/100**. (2) **Six new SKILL.md files** (`kj doctor / init / board / review / resume / clean`) under `docs/agents/`, all with the same `What it does · Inputs · Outputs · Side effects · Failure modes · Example` contract; CI guards every link in `llms.txt` resolves. (3) **Webperf quality gate inside the iteration loop** (`pipeline.perf.enabled`): PASS continues, FAIL pushes blocking-metric feedback to the coder, scanner-missing skips best-effort. (4) **HU Board hardening**: binds 127.0.0.1 by default, opt-in `--bind 0.0.0.0` enforces an auto-generated token, helmet headers, rate limiting at 300 req/min — "safe by default on a coffee-shop WiFi". (5) **a11y skills auto-route**: tasks mentioning `accessibility / WCAG / ARIA / screen reader / keyboard nav` automatically pull the `frontend-ui-engineering` skill. (6) **Asciinema demo scripts** under `docs/demos/` so the recordings re-record per release instead of rotting. 5 PRs merged (#605–#609 + #610), 4358/4358 tests passing. See [CHANGELOG.md](./CHANGELOG.md) for the full punch list.
|
|
27
29
|
|
|
28
30
|
You describe what you want to build. Karajan orchestrates multiple AI agents to plan it, implement it, test it, review it with SonarQube, and iterate. No babysitting required.
|
|
29
31
|
|
package/package.json
CHANGED
package/src/commands/audit.js
CHANGED
|
@@ -211,7 +211,11 @@ export async function auditCommand({ task, config, logger, dimensions, json, age
|
|
|
211
211
|
// Per addyosmani/agentic-seo. Issue #542.
|
|
212
212
|
if (agentReadiness) {
|
|
213
213
|
const rootDir = path.resolve(pathArg || config?.projectDir || process.cwd());
|
|
214
|
-
|
|
214
|
+
// Suppress the info banner in --json mode so stdout stays a single
|
|
215
|
+
// valid JSON document. Without this guard, `kj audit --agent-readiness
|
|
216
|
+
// --json | jq` fails with a parse error because the logger writes
|
|
217
|
+
// "Auditing agent-readiness of ..." to stdout BEFORE the JSON blob.
|
|
218
|
+
if (!json) logger.info(`Auditing agent-readiness of ${rootDir}`);
|
|
215
219
|
const report = runAgentReadiness(rootDir);
|
|
216
220
|
if (json) {
|
|
217
221
|
console.log(JSON.stringify(report, null, 2));
|