chore: reformat
This commit is contained in:
@@ -476,7 +476,9 @@ export class StatusLineComponent implements Component {
|
||||
this.session.sessionManager?.getSessionName(),
|
||||
this.session.sessionManager?.titleSource,
|
||||
);
|
||||
const gapColor = accentHex ? (Bun.color(accentHex, "ansi-16m") ?? theme.getFgAnsi("border")) : theme.getFgAnsi("border");
|
||||
const gapColor = accentHex
|
||||
? (Bun.color(accentHex, "ansi-16m") ?? theme.getFgAnsi("border"))
|
||||
: theme.getFgAnsi("border");
|
||||
const gapFill = `${gapColor}${theme.boxRound.horizontal.repeat(gapWidth)}\x1b[0m`;
|
||||
return leftGroup + gapFill + rightGroup;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import { afterEach, beforeEach, describe, expect, test } from "bun:test";
|
||||
import * as fs from "node:fs";
|
||||
import * as os from "node:os";
|
||||
import * as path from "node:path";
|
||||
import { clearCustomApis, getCustomApi, type AssistantMessageEventStream } from "@oh-my-pi/pi-ai";
|
||||
import { type AssistantMessageEventStream, clearCustomApis, getCustomApi } from "@oh-my-pi/pi-ai";
|
||||
import { ModelRegistry, type ProviderConfigInput } from "@oh-my-pi/pi-coding-agent/config/model-registry";
|
||||
import { AuthStorage } from "@oh-my-pi/pi-coding-agent/session/auth-storage";
|
||||
import { Snowflake } from "@oh-my-pi/pi-utils";
|
||||
|
||||
Reference in New Issue
Block a user