mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 03:56:55 +03:00
fix(tui): unify integration connection copy (#41137)
This commit is contained in:
committed by
GitHub
Unverified
parent
d2c99ba97c
commit
3776975d5c
@@ -832,7 +832,7 @@ function App(props: { pair?: DialogPairCredentials }) {
|
||||
},
|
||||
{
|
||||
name: "provider.connect",
|
||||
title: "Connect integration",
|
||||
title: "Connect an integration",
|
||||
suggested: !connected(),
|
||||
slash: { name: "connect" },
|
||||
run: () => {
|
||||
|
||||
@@ -100,7 +100,7 @@ export function DialogIntegration(
|
||||
|
||||
return (
|
||||
<DialogSelect
|
||||
title="Connect a service"
|
||||
title="Connect an integration"
|
||||
options={options()}
|
||||
emptyView={
|
||||
<box paddingLeft={4} paddingRight={4}>
|
||||
|
||||
@@ -140,7 +140,7 @@ export function DialogModel(props: { providerID?: string }) {
|
||||
actions={[
|
||||
{
|
||||
command: "model.dialog.provider",
|
||||
title: connected() ? "Connect integration" : "View all integrations",
|
||||
title: connected() ? "Connect an integration" : "View all integrations",
|
||||
selection: "none",
|
||||
onTrigger() {
|
||||
dialog.replace(() => (
|
||||
|
||||
@@ -259,7 +259,7 @@ export function Prompt(props: PromptProps) {
|
||||
function promptModelWarning() {
|
||||
toast.show({
|
||||
variant: "warning",
|
||||
message: "Connect a provider to send prompts",
|
||||
message: "Connect an integration to send prompts",
|
||||
duration: 3000,
|
||||
})
|
||||
if (!connected()) {
|
||||
|
||||
@@ -136,7 +136,7 @@ export const Definitions = {
|
||||
model_cycle_favorite: keybind("none", "Next favorite model"),
|
||||
model_cycle_favorite_reverse: keybind("none", "Previous favorite model"),
|
||||
mcp_list: keybind("none", "List MCP servers"),
|
||||
provider_connect: keybind("none", "Connect integration"),
|
||||
provider_connect: keybind("none", "Connect an integration"),
|
||||
agent_list: keybind("<leader>a", "List agents"),
|
||||
agent_cycle: keybind("shift+tab", "Next agent"),
|
||||
agent_cycle_reverse: keybind("none", "Previous agent"),
|
||||
|
||||
Reference in New Issue
Block a user