feat(app): autocomplete mcp resources (#34597)

This commit is contained in:
Brendan Allan
2026-06-30 19:05:53 +08:00
committed by GitHub
parent 3ca89ac796
commit 06cb0de0b1
10 changed files with 191 additions and 23 deletions
+3
View File
@@ -12,6 +12,7 @@ import { useTabs, type Tab } from "./tabs"
import { ServerConnection } from "./server"
import { requireServerKey } from "@/utils/session-route"
import { useSettings } from "./settings"
import type { FilePartSource } from "@opencode-ai/sdk/v2/client"
interface PartBase {
content: string
@@ -29,6 +30,8 @@ export interface FileAttachmentPart extends PartBase {
selection?: FileSelection
mime?: string
filename?: string
url?: string
source?: FilePartSource
}
export interface AgentPart extends PartBase {