mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-31 12:34:33 +00:00
feat(core): persist web search provider selection (#42663)
This commit is contained in:
parent
08a6d7b619
commit
5c7f5840ee
23 changed files with 289 additions and 131 deletions
|
|
@ -17,7 +17,7 @@ export interface WebSearchDomain extends WebsearchApi<unknown> {
|
|||
export interface WebSearchDraft {
|
||||
add(definition: WebSearchDefinition): void
|
||||
readonly default: {
|
||||
get(): string | undefined
|
||||
set(providerID: string): void
|
||||
get(): string | false | undefined
|
||||
set(selection: string | false): void
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ export interface WebSearchDomain extends WebSearchApi {
|
|||
export interface WebSearchDraft {
|
||||
add(definition: WebSearchDefinition): void
|
||||
readonly default: {
|
||||
get(): string | undefined
|
||||
set(providerID: string): void
|
||||
get(): string | false | undefined
|
||||
set(selection: string | false): void
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue