mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
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. |
||
|---|---|---|
| .. | ||
| accent.ts | ||
| appSettings.ts | ||
| cache.ts | ||
| currency.ts | ||
| dates.ts | ||
| history.ts | ||
| payload.ts | ||
| plan.ts | ||
| platform.ts | ||
| quota.ts | ||
| settings.ts | ||
| tips.ts | ||