@cleocode/cleo 2026.5.54 → 2026.5.57
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/dist/cli/index.js +6 -6
- package/dist/cli/index.js.map +2 -2
- package/package.json +10 -10
package/dist/cli/index.js
CHANGED
|
@@ -30000,6 +30000,7 @@ __export(agent_exports, {
|
|
|
30000
30000
|
agentCommand: () => agentCommand
|
|
30001
30001
|
});
|
|
30002
30002
|
import {
|
|
30003
|
+
applyPerfPragmas,
|
|
30003
30004
|
checkAgentHealth,
|
|
30004
30005
|
detectCrashedAgents,
|
|
30005
30006
|
detectStaleAgents,
|
|
@@ -32133,8 +32134,7 @@ Task ${args.taskId} reassigned to you by ${active.agentId}. Run: cleo show ${arg
|
|
|
32133
32134
|
ensureGlobalSignaldockDb2();
|
|
32134
32135
|
const dbPath = getGlobalSignaldockDbPath2();
|
|
32135
32136
|
const db = new DatabaseSync2(dbPath);
|
|
32136
|
-
db
|
|
32137
|
-
db.exec("PRAGMA journal_mode = WAL");
|
|
32137
|
+
applyPerfPragmas(db);
|
|
32138
32138
|
const isGlobal = args.global === true;
|
|
32139
32139
|
const targetTier = isGlobal ? "global" : "project";
|
|
32140
32140
|
const projectRoot = process.cwd();
|
|
@@ -32691,7 +32691,7 @@ Task ${args.taskId} reassigned to you by ${active.agentId}. Run: cleo show ${arg
|
|
|
32691
32691
|
);
|
|
32692
32692
|
await ensureGlobalSignaldockDb2();
|
|
32693
32693
|
const db = new DatabaseSync2(getGlobalSignaldockDbPath2());
|
|
32694
|
-
db
|
|
32694
|
+
applyPerfPragmas(db);
|
|
32695
32695
|
try {
|
|
32696
32696
|
const report = await buildDoctorReport(db, {});
|
|
32697
32697
|
const d002 = report.findings.filter((f) => f.code === "D-002");
|
|
@@ -32768,7 +32768,7 @@ Task ${args.taskId} reassigned to you by ${active.agentId}. Run: cleo show ${arg
|
|
|
32768
32768
|
await ensureGlobalSignaldockDb2();
|
|
32769
32769
|
const dbPath = getGlobalSignaldockDbPath2();
|
|
32770
32770
|
const db = new DatabaseSync2(dbPath);
|
|
32771
|
-
db
|
|
32771
|
+
applyPerfPragmas(db);
|
|
32772
32772
|
try {
|
|
32773
32773
|
const report = await buildDoctorReport(db, { projectRoot: process.cwd() });
|
|
32774
32774
|
const repairFlag = args.repair === true;
|
|
@@ -39099,6 +39099,7 @@ import { appendFileSync as appendFileSync2, existsSync as existsSync9, mkdirSync
|
|
|
39099
39099
|
import { join as join12 } from "node:path";
|
|
39100
39100
|
import { DatabaseSync } from "node:sqlite";
|
|
39101
39101
|
import {
|
|
39102
|
+
applyPerfPragmas as applyPerfPragmas2,
|
|
39102
39103
|
ensureGlobalSignaldockDb,
|
|
39103
39104
|
getGlobalSignaldockDbPath,
|
|
39104
39105
|
getProjectRoot as getProjectRoot23,
|
|
@@ -39236,8 +39237,7 @@ async function runMigrateAgentsV2(projectRoot, verbose = true) {
|
|
|
39236
39237
|
const summary = { registered: 0, skipped: 0, conflicts: 0, errors: 0 };
|
|
39237
39238
|
await ensureGlobalSignaldockDb();
|
|
39238
39239
|
const db = new DatabaseSync(getGlobalSignaldockDbPath());
|
|
39239
|
-
db
|
|
39240
|
-
db.exec("PRAGMA journal_mode = WAL");
|
|
39240
|
+
applyPerfPragmas2(db);
|
|
39241
39241
|
try {
|
|
39242
39242
|
const canonicalDir = join12(projectRoot, ".cleo", "cant", "agents");
|
|
39243
39243
|
walkAgentsDir(db, canonicalDir, projectRoot, summary, verbose);
|