style: applied biome formatting to merged evaluator fixes
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user