codeburn/windows/src-tauri
iamtoruk 0a0d8ea300 feat(windows): provider panes gain config directories, cadence and API keys
The provider panes could say what the connection was and retry it, which
left the three things the mac lets you do about a connection undone.

Claude gets its Config Directories list, persisted to the CLI's own
claudeConfigDirs so every `codeburn` run aggregates the same set whether
this app spawned it or the user typed it in a terminal. Add Directory
opens the shell's folder browser through SHBrowseForFolderW rather than
pulling in a dialog crate for one button; the modal runs on the thread
that owns the app's windows.

Every pane gets the quota refresh cadence, Manual to fifteen minutes, from
the mac's SubscriptionRefreshCadence. It is deliberately one setting shown
on each pane rather than ten that could disagree: one `codeburn quota` run
answers for every provider, so a per-provider cadence would be a promise
the transport cannot keep, and the copy says so.

Z.ai and ClinePass get a key field, because their adapters are the only
two that read a credential from the environment rather than a file the
provider's own tools wrote. The key is sealed with DPAPI under
%LOCALAPPDATA%\codeburn, which is the Windows counterpart of the mac's
CodeBurn-owned Keychain item: the ciphertext is bound to this user on this
machine. It reaches the CLI as an environment variable on the child
process, never on a command line and never in a log, and it is never read
back into the webview, which only learns whether a key is stored at all.

Cursor, Z.ai, Grok and ClinePass had no provider mark, so the sidebar
listed four dotted circles; their marks come from the same
Resources/ProviderIcons set as the six already here.

windows-sys gains Win32_Security_Cryptography for DPAPI and the Shell and
Com features for the folder browser. No version changes and no new crate.
2026-09-01 20:00:42 -07:00
..
capabilities feat(windows): a settings window, with General, About and provider panes 2026-09-01 19:49:37 -07:00
icons windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
src feat(windows): provider panes gain config directories, cadence and API keys 2026-09-01 20:00:42 -07:00
build.rs windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
Cargo.lock fix(windows): let Quit actually exit and enforce a single tray instance 2026-09-01 12:42:30 -07:00
Cargo.toml feat(windows): provider panes gain config directories, cadence and API keys 2026-09-01 20:00:42 -07:00
tauri.conf.json fix(windows): one clean 12 px radius on the popover, with nothing square behind it 2026-09-01 18:15:59 -07:00