From 11818552dad254649af012df3b4277633943d2b6 Mon Sep 17 00:00:00 2001 From: t Date: Sun, 7 Jun 2026 11:42:41 -0600 Subject: Migrate panto CLI onto the public.zig surface Move the CLI off the internal libpanto module namespaces onto the curated public API: data-type aliases (Config family, Message/MessageRole/ effectiveSystemBlocks, Event, Pricing/PricingRegistry, the session seam, FileSystemJSONLStore, ContentBlockType), process lifecycle (panto.init/ deinit), and ResultParts.fromText/fromTextOwned/deinit in place of the freestanding textResult/ownedTextResult/freeResultParts. The CLI remains on two flagged internal namespaces, panto.agent and panto.conversation: it is a deep embedder that drives the loop below the curated Agent/Conversation facades (system-prompt seeding through the agent, compaction_system_prompt, the open_stream_fn test seam, standalone Conversation values, compactAndPersist). These stay re-exported from public.zig as a documented deep-embedder escape hatch; trimming the transitional block removed every other internal re-export. --- src/models_toml.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/models_toml.zig') diff --git a/src/models_toml.zig b/src/models_toml.zig index 790b61f..2e2a920 100644 --- a/src/models_toml.zig +++ b/src/models_toml.zig @@ -49,9 +49,9 @@ const Io = std.Io; const toml = @import("toml"); const panto = @import("panto"); -pub const Pricing = panto.pricing.Pricing; -pub const Registry = panto.pricing.Registry; -pub const ReasoningEffort = panto.config.ReasoningEffort; +pub const Pricing = panto.Pricing; +pub const Registry = panto.PricingRegistry; +pub const ReasoningEffort = panto.ReasoningEffort; /// A resolved model definition: the wire model id plus per-model knobs. /// Strings are owned by the `ModelRegistry`. -- cgit v1.3