TUI provider management dialogs - model picker, model manager, provider router. Config I/O and data helpers live in tui/config.clj.
The channel-neutral brain — status probing, limits, live model
catalogs, presets, persistence shapes — lives in
com.blockether.vis.internal.providers (exposed through vis.core)
and is SHARED with the web channel. This namespace owns only the
lanterna interaction layer.
GitHub Copilot OAuth: a hard dep. The TUI ships with the
vis-provider-github-copilot jar on its classpath; the device-flow
fns are required directly. (The previous dynaload indirection has
been removed: explicit beats clever.)
TUI provider management dialogs - model picker, model manager, provider router. Config I/O and data helpers live in tui/config.clj. The channel-neutral brain — status probing, limits, live model catalogs, presets, persistence shapes — lives in `com.blockether.vis.internal.providers` (exposed through `vis.core`) and is SHARED with the web channel. This namespace owns only the lanterna interaction layer. GitHub Copilot OAuth: a hard dep. The TUI ships with the `vis-provider-github-copilot` jar on its classpath; the device-flow fns are required directly. (The previous `dynaload` indirection has been removed: explicit beats clever.)
(authenticate-provider! screen provider)(authenticate-provider! screen provider force?)(provider-action-items provider)(provider-action-items provider status)(show-provider-dialog! screen)(show-provider-dialog! screen current-config)Provider manager dialog.
Esc saves and closes, returning {:providers [...]} in priority order.
Optional current-config seeds the dialog with current state.
Provider manager dialog.
Esc saves and closes, returning {:providers [...]} in priority order.
Optional `current-config` seeds the dialog with current state.(show-provider-status! screen provider)(show-provider-status! screen provider status limits)Status + limits as the RICH canonical markdown form
(vis/provider-status-md), painted through the IR walker — the same
report the web renders as markdown.
Status + limits as the RICH canonical markdown form (`vis/provider-status-md`), painted through the IR walker — the same report the web renders as markdown.
(show-welcome! screen)First-run welcome screen. The single primary action (Enter) drops straight
into the provider picker; ? explains how the key is used; Esc quits.
Returns {:providers [cfg]} once a provider is added, or nil if the user
quits without connecting one.
First-run welcome screen. The single primary action (Enter) drops straight
into the provider picker; `?` explains how the key is used; Esc quits.
Returns `{:providers [cfg]}` once a provider is added, or nil if the user
quits without connecting one.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |