chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-14 14:31:43 +00:00
parent 912ebffc63
commit c379191f80
1480 changed files with 28608 additions and 43547 deletions

View File

@@ -27,8 +27,7 @@ function formatSummary(summary: AgentSummary) {
const identityParts = [];
if (summary.identityEmoji) identityParts.push(summary.identityEmoji);
if (summary.identityName) identityParts.push(summary.identityName);
const identityLine =
identityParts.length > 0 ? identityParts.join(" ") : null;
const identityLine = identityParts.length > 0 ? identityParts.join(" ") : null;
const identitySource =
summary.identitySource === "identity"
? "IDENTITY.md"
@@ -38,9 +37,7 @@ function formatSummary(summary: AgentSummary) {
const lines = [`- ${header}`];
if (identityLine) {
lines.push(
` Identity: ${identityLine}${identitySource ? ` (${identitySource})` : ""}`,
);
lines.push(` Identity: ${identityLine}${identitySource ? ` (${identitySource})` : ""}`);
}
lines.push(` Workspace: ${summary.workspace}`);
lines.push(` Agent dir: ${summary.agentDir}`);
@@ -86,9 +83,7 @@ export async function agentsListCommand(
for (const summary of summaries) {
const bindings = bindingMap.get(summary.id) ?? [];
if (bindings.length > 0) {
summary.bindingDetails = bindings.map((binding) =>
describeBinding(binding),
);
summary.bindingDetails = bindings.map((binding) => describeBinding(binding));
}
}
}
@@ -119,9 +114,7 @@ export async function agentsListCommand(
}
const lines = ["Agents:", ...summaries.map(formatSummary)];
lines.push(
"Routing rules map channel/account/peer to an agent. Use --bindings for full rules.",
);
lines.push("Routing rules map channel/account/peer to an agent. Use --bindings for full rules.");
lines.push(
"Channel status reflects local config/creds. For live health: clawdbot channels status --probe.",
);