From 73324a15aa524cf75deebc4172f5a1f0d0051bc6 Mon Sep 17 00:00:00 2001 From: t Date: Sat, 13 Jun 2026 12:09:00 -0600 Subject: auth: CLI auth manager + `panto auth` subcommands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add src/auth_manager.zig (turn-time resolution: load→login→refresh→exchange→ build credential, patch live config) and `panto auth status|login|logout` subcommands with a line-based device-code presenter. Add config_file.loadFromString. --- src/main.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig index e867c0e..dc611b4 100644 --- a/src/main.zig +++ b/src/main.zig @@ -11,6 +11,7 @@ const subcommand = @import("subcommand.zig"); const session_paths = @import("session_paths.zig"); const models_toml = @import("models_toml.zig"); const config_file = @import("config_file.zig"); +const auth_manager = @import("auth_manager.zig"); const glob = @import("glob.zig"); const system_prompt = @import("system_prompt.zig"); const command = @import("command.zig"); @@ -54,6 +55,7 @@ test { _ = subcommand; _ = models_toml; _ = config_file; + _ = auth_manager; _ = glob; _ = system_prompt; _ = command; -- cgit v1.3