Lightpanda: the headless browser designed for AI and automation
agent: update panda logo and alignment
Adrià Arrufatcd8192656bd9
diff --git a/src/agent/welcome.zig b/src/agent/welcome.zigindex c6169fba1..56ffb7ae2 100644--- a/src/agent/welcome.zig+++ b/src/agent/welcome.zig@@ -27,22 +27,19 @@ const Terminal = @import("Terminal.zig");// A pre-colored (truecolor braille) panda. Each line carries its own ANSI and// resets at the end, so it prints as-is; non-empty lines are the visible rows.const logo =- "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" ++- "⠀⠀⠀⠀⠀⠀⠀⠀⠀\x1b[38;2;247;247;239m⢀⣠⣤⣶⣶⣶⣶⣶⣶⣶⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀\x1b[0m\n" ++- "⠀⠀⠀⠀⠀⠀\x1b[38;2;247;247;239m⢀⣤⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀\x1b[0m\n" ++- "⠀⠀⠀⠀⠀\x1b[38;2;247;247;239m⣴⣿⣿⣿⣿⣿⡿⠿⢿⣿⡿⠿⠟⠛⠛⣿⣿⣿⣿⣷⣄⠀⠀⠀\x1b[0m\n" ++- "⠀⠀⠀⠀\x1b[38;2;247;247;239m⣼⣿⣿⣿⣿⣿⡇⠀⢀⣤⣶⣾⣿⣿⣶⣄⢸⣿⣿⣿⣿⣿⣆⠀⠀\x1b[0m\n" ++- "⠀⠀⠀\x1b[38;2;247;247;239m⣼⠿⠟⠛⠋⠉⠉⠁⣼⣿⣿⡟⠛⠛⣿⣿⠋⢳⢹⣿⣿⣿⣿⣿⡆⠀\x1b[0m\n" ++- "⠀⠀⠀\x1b[38;2;247;247;239m⣇⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⠀⠀⢤⣿⣿⣿⡃⡇⣿⣿⣿⣿⣿⣷⠀\x1b[0m\n" ++- "⠀⠀⠀\x1b[38;2;247;247;239m⣿⣿⣿⣶⣦⣤⡀⠀⢿⣿⣿⣷⣶⣟⠿⡷⠠⣾⠃⣿⣿⣿⣿⣿⣿⠀\x1b[0m\n" ++- "⠀⠀⠀\x1b[38;2;247;247;239m⣿⣿⣿⣿⣿⣿⣿⡄⠈⠻⢿⣿⣿⣿⣿⡿⠟⠁⠀⠈⢿⣿⣿⣿⡿⠀\x1b[0m\n" ++- "⠀⠀⠀\x1b[38;2;247;247;239m⢹⣿⣿⣿⣿⣏\x1b[38;2;9;126;179m⣁⠀\x1b[38;2;247;247;239m⣤⢀⡤⠀\x1b[38;2;100;112;112m⠈⠁⠀⠀⠀⠀⠀⠀⠀\x1b[38;2;247;247;239m⢻⣿⣿⠇⠀\x1b[0m\n" ++- "⠀⠀\x1b[38;2;9;126;179m⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣄⠀⠀⠀⠀⠀\x1b[38;2;247;247;239m⠐⢄⠀⠀⠈⣿⠏⠀⠀\x1b[0m\n" ++- "\x1b[38;2;106;197;230m⢀⣰⣿⠿⠿⠿⠿⠿⠿⣿⣿⣿\x1b[38;2;9;126;179m⣿⣿⣿⣿⣶⣤⣄⣀⠀⠀\x1b[38;2;247;247;239m⠑⢶⣶\x1b[38;2;106;197;230m⣃\x1b[38;2;9;126;179m⣀⣤⠄\x1b[0m\n" ++- "\x1b[38;2;106;197;230m⠋⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠙⠻⠿⣝\x1b[38;2;9;126;179m⠛⠿⣿⣿⣿⣿⣿⣿⠿⠛⠉⠀⠀\x1b[0m\n" ++- "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" ++- "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀";-const logo_cols = 29; // braille cells per row+ "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\x1b[0m\n" +++ "⠀⠀⠀⠀⠀⠀⠀\x1b[38;2;247;247;239m⣀⣴⣶⣿⣿⣿⣿⣿⣿⣶⣦⣀⠀⠀⠀⠀⠀\x1b[0m\n" +++ "⠀⠀⠀⠀\x1b[38;2;247;247;239m⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣆⠀⠀⠀\x1b[0m\n" +++ "⠀⠀⠀\x1b[38;2;247;247;239m⢠⣾⣿⣿⣿⣿⠉⠈⣉⣭⣭⣥⣤⡀⣿⣿⣿⣿⣷⡀⠀\x1b[0m\n" +++ "⠀⠀\x1b[38;2;247;247;239m⢀⣿⠿⠟⠛⠛⠛⢠⣾⣿⠟⠛⢿⣿⠛⢎⢿⣿⣿⣿⣷\x1b[38;2;118;148;155m⡀\x1b[0m\n" +++ "⠀⠀\x1b[38;2;247;247;239m⢸⣀⠀⠀⠀⠀⠀⣿⣿⣿⠀⢠⣼⡿⠾⣺⢸⣿⣿⣿⣿⡇\x1b[0m\n" +++ "⠀⠀\x1b[38;2;247;247;239m⢸⣿⣿⣷⣶⣤⡀⠹⣿⣿⣿⣿⣟⣗⣐⠟⠸⣿⣿⣿⣿⡇\x1b[0m\n" +++ "⠀⠀\x1b[38;2;247;247;239m⠸⣿⣿⣿⣿⡿⠓⠀⠈⠛⠻⠿⠟⠛⠁⠀⠀⠘⣿⣿⣿⠇\x1b[0m\n" +++ "⠀⠀\x1b[38;2;8;132;177m⢀⣼⣿⣿⣿⣶⣶\x1b[38;2;247;247;239m⣼⣶⡇⠀⠀⠀⠀⠀⢀⠀⠀⠘⣿⠏⠀\x1b[0m\n" +++ "⠀\x1b[38;2;106;196;229m⣰⣿⣿⣿⣿⣿⣿⣿\x1b[38;2;8;132;177m⣿⣿⣿⣷⣦⣄⣀⠀⠀\x1b[38;2;247;247;239m⠑⢤⣤⢏\x1b[38;2;8;132;177m⣀⡀\x1b[0m\n" +++ "\x1b[38;2;106;196;229m⠊⠉⠀⠀⠀⠀⠀⠀⠀⠉⠙⠻⢯\x1b[38;2;8;132;177m⡛⠿⢿⣿⣿⣿⡾⠿⠛⠉⠀\x1b[0m\n" +++ "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\x1b[0m";+const logo_cols = 24; // braille cells per rowconst logo_rows = blk: {@setEvalBranchQuota(20000);var n: usize = 0;@@ -113,7 +110,7 @@ pub fn print(llm_active: bool) void {}const text = lines[0..n];- const start = (logo_rows - text.len) / 2 -| 1;+ const start = (logo_rows - text.len) / 2;std.debug.print("\n", .{});var row: usize = 0;var it = std.mem.splitScalar(u8, logo, '\n');