• Stefy Lanza (nextime / spora )'s avatar
    Stop the admin provider UI from silently dropping cli_credentials_file; bump to 0.99.86 · 294a7273
    Stefy Lanza (nextime / spora ) authored
    The CLI credentials upload stored claude_config.cli_credentials_file server-side,
    but the path was then lost and CLI mode fell back to the OAuth2 credentials file:
    
    - uploadClaudeCliFile() only showed a toast; unlike its sibling
      uploadFileChunked(), it never mirrored the stored path into providersData.
    - saveProvider() posts providersData wholesale, and api_provider_save replaced
      the provider config outright, so a page loaded before the upload wiped the key
      on the next save.
    - There was no field for cli_credentials_file — it appeared only in help text —
      so the value was invisible and unrecoverable once lost.
    
    Preserve keys inside *_config blocks the client did not send, which fixes the
    whole class rather than this one key: any server-set key would have been dropped
    the same way. Only merges into a block the client actually sent, so a provider
    type change still drops the old block and nothing is resurrected. A key the
    client does send always wins, including falsy values like use_cli_mode=false.
    
    Add the missing text field (admin only — DB users keep CLI credentials in
    user_oauth2_credentials, not in claude_config), and mirror the upload result
    into providersData. The chunk endpoint now also returns config_path, the tilde
    form actually written to providers.json; file_path is absolute, so mirroring it
    would post back a value that disagrees with what the server stored.
    Co-Authored-By: 's avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
    294a7273
Name
Last commit
Last update
..
af.json Loading commit data...
ar.json Loading commit data...
bel.json Loading commit data...
bn.json Loading commit data...
cs.json Loading commit data...
da.json Loading commit data...
de.json Loading commit data...
el.json Loading commit data...
en.json Loading commit data...
eo.json Loading commit data...
es.json Loading commit data...
fa.json Loading commit data...
fi.json Loading commit data...
fr.json Loading commit data...
he.json Loading commit data...
hi.json Loading commit data...
hu.json Loading commit data...
id.json Loading commit data...
it.json Loading commit data...
ja.json Loading commit data...
ko.json Loading commit data...
ms.json Loading commit data...
nb.json Loading commit data...
new.json Loading commit data...
nl.json Loading commit data...
pl.json Loading commit data...
pt.json Loading commit data...
qya.json Loading commit data...
ro.json Loading commit data...
ru.json Loading commit data...
sk.json Loading commit data...
sv.json Loading commit data...
th.json Loading commit data...
tlh.json Loading commit data...
tr.json Loading commit data...
translate_xh.py Loading commit data...
uk.json Loading commit data...
vi.json Loading commit data...
vul.json Loading commit data...
xh.json Loading commit data...
zh.json Loading commit data...
zu.json Loading commit data...