feat: added providers management settings with ability to add or remove providers (#76)
* feat: implement adding opencode providers in openchamber settings * feat: implement provider authentication management with removal functionality
This commit is contained in:
committed by
GitHub
parent
ff874cc33d
commit
8f9facb561
@@ -176,6 +176,15 @@ window.opencodeDesktop = {
|
||||
async getHomeDirectory() {
|
||||
return { success: true, path: homeDirectory || null };
|
||||
},
|
||||
async openExternal(url: string) {
|
||||
try {
|
||||
await open(url);
|
||||
return { success: true };
|
||||
} catch (error) {
|
||||
console.error('[desktop] Error opening external link:', error);
|
||||
return { success: false, error: error instanceof Error ? error.message : String(error) };
|
||||
}
|
||||
},
|
||||
markRendererReady() {
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user