From bd83177c48da82adcc70b50e0033b7b37f1fda02 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Tue, 30 Jun 2026 11:07:49 +0000 Subject: [PATCH] chore: generate --- .../app/src/components/prompt-input/slash-popover.tsx | 10 +++++++++- packages/app/src/context/server-sync.tsx | 9 ++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/packages/app/src/components/prompt-input/slash-popover.tsx b/packages/app/src/components/prompt-input/slash-popover.tsx index 218a4fae781..a84cbcca089 100644 --- a/packages/app/src/components/prompt-input/slash-popover.tsx +++ b/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 } diff --git a/packages/app/src/context/server-sync.tsx b/packages/app/src/context/server-sync.tsx index 9ff032a09df..9b337aa0765 100644 --- a/packages/app/src/context/server-sync.tsx +++ b/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"