diff --git a/apps/server/src/provider/Layers/CursorAdapter.ts b/apps/server/src/provider/Layers/CursorAdapter.ts index 15423b0c7c..713415e1ed 100644 --- a/apps/server/src/provider/Layers/CursorAdapter.ts +++ b/apps/server/src/provider/Layers/CursorAdapter.ts @@ -752,6 +752,7 @@ function makeCursorAdapter(options?: CursorAdapterLiveOptions) { const title = trackedTool?.title ?? titleForItemType(itemType); const stamp = yield* makeEventStamp(); const eventType = update.status === "completed" ? "item.completed" : "item.updated"; + const toolSummary = summarizeToolOutput(update.rawOutput); yield* offerRuntimeEvent({ ...base, type: eventType, @@ -763,9 +764,7 @@ function makeCursorAdapter(options?: CursorAdapterLiveOptions) { itemType, status, title, - ...(summarizeToolOutput(update.rawOutput) - ? { detail: summarizeToolOutput(update.rawOutput) } - : {}), + ...(toolSummary ? { detail: toolSummary } : {}), ...(update.rawOutput !== undefined ? { data: update.rawOutput } : {}), }, }); @@ -1351,9 +1350,6 @@ function makeCursorAdapter(options?: CursorAdapterLiveOptions) { context.session = { ...context.session, - status: "ready", - activeTurnId: undefined, - updatedAt: yield* nowIso, resumeCursor: { acpSessionId: context.acpSessionId, }, diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index 3394164d51..4a9e7ac2b1 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -5280,6 +5280,7 @@ const MessagesTimeline = memo(function MessagesTimeline({ const AVAILABLE_PROVIDER_OPTIONS = PROVIDER_OPTIONS.filter((option) => option.available); const COMING_SOON_PROVIDER_OPTIONS = [ + { id: "claudeCode", label: "Claude Code", icon: ClaudeAI }, { id: "opencode", label: "OpenCode", icon: OpenCodeIcon }, { id: "gemini", label: "Gemini", icon: Gemini }, ] as const;