style: applied biome formatting to merged evaluator fixes

This commit is contained in:
can1357
2026-08-02 21:01:20 +02:00
parent a7f3bc2a17
commit 73b834dcbc
2 changed files with 2 additions and 5 deletions
@@ -1785,9 +1785,7 @@ export class StatusLineComponent implements Component {
: separatorDef.endCaps.left
: "";
const capPrefix = separatorDef.endCaps?.useBgAsFg ? bgAnsi.replace("\x1b[48;", "\x1b[38;") : bgAnsi + sepAnsi;
const capText = cap
? `${capPrefix}${this.#focusedAgentId ? "\x1b[22m" : ""}${cap}\x1b[0m`
: "";
const capText = cap ? `${capPrefix}${this.#focusedAgentId ? "\x1b[22m" : ""}${cap}\x1b[0m` : "";
let content = bgAnsi + fgAnsi;
content += ` ${parts.join(` ${sepAnsi}${sep}${fgAnsi} `)} `;
@@ -138,8 +138,7 @@ describe("read and write route xd:// device URLs", () => {
label: "Peek",
description: "Argument-dependent device",
parameters: type({ q: "string" }),
approval: args =>
args && typeof args === "object" && "q" in args && args.q === "mutate" ? "write" : "read",
approval: args => (args && typeof args === "object" && "q" in args && args.q === "mutate" ? "write" : "read"),
async execute(_id, args) {
if (!args || typeof args !== "object" || !("q" in args) || typeof args.q !== "string") {
throw new Error("Expected a string query");