Răsfoiți Sursa

chore: generate

opencode-agent[bot] 1 lună în urmă
părinte
comite
bd83177c48

+ 9 - 1
packages/app/src/components/prompt-input/slash-popover.tsx

@@ -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 }
 

+ 8 - 1
packages/app/src/context/server-sync.tsx

@@ -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"