@@ -7,7 +7,15 @@ import { getDirectory, getFilename } from "@opencode-ai/core/util/path"
export type AtOption =
| { type: "agent"; name: string; display: string }
- | { type: "resource"; name: string; uri: string; client: string; display: string; description?: string; mime?: string }
+ | {
+ type: "resource"
+ name: string
+ uri: string
+ client: string
+ display: string
+ description?: string
+ mime?: string
+ }
| { type: "reference"; name: string; path: string; display: string; description: string }
| { type: "file"; path: string; display: string; recent?: boolean }
@@ -1,4 +1,11 @@
-import type { Config, McpResource, OpencodeClient, Path, Project, ProviderAuthResponse } from "@opencode-ai/sdk/v2/client"
+import type {
+ Config,
+ McpResource,
+ OpencodeClient,
+ Path,
+ Project,
+ ProviderAuthResponse,
+} from "@opencode-ai/sdk/v2/client"
import { showToast } from "@/utils/toast"
import { getFilename } from "@opencode-ai/core/util/path"
import { type Accessor, batch, createMemo, getOwner, onCleanup, onMount, untrack } from "solid-js"