plugins 2.0 update

This commit is contained in:
KingKDot
2026-06-22 10:52:27 -05:00
parent e1f5e4c800
commit 30dfdda3ed
55 changed files with 2534 additions and 128 deletions
+10
View File
@@ -0,0 +1,10 @@
export type RpcResponse = {
message: string;
count?: number;
at: string;
};
export function formatLine(label: string, value: RpcResponse): string {
const count = typeof value.count === "number" ? ` count=${value.count}` : "";
return `${label}: ${value.message}${count} at ${value.at}`;
}