You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/opencode/src/server/server.ts
+1-43Lines changed: 1 addition & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ import { PermissionNext } from "@/permission/next"
51
51
import{Installation}from"@/installation"
52
52
import{MDNS}from"./mdns"
53
53
import{Worktree}from"../worktree"
54
+
importignorefrom"ignore"
54
55
55
56
// @ts-ignore This global is needed to prevent ai-sdk from logging warnings to stdout https://github.com/vercel/ai/blob/2dc67e0ef538307f21368db32d5a12345d98831b/packages/ai/src/logger/log-warnings.ts#L85
56
57
globalThis.AI_SDK_LOG_WARNINGS=false
@@ -2403,49 +2404,6 @@ export namespace Server {
2403
2404
returnc.json(awaitLSP.status())
2404
2405
},
2405
2406
)
2406
-
.get(
2407
-
"/lsp/diagnostics/status",
2408
-
describeRoute({
2409
-
summary: "Get LSP diagnostics toggle status",
2410
-
description: "Returns the current state of LSP diagnostics toggle",
2411
-
operationId: "lsp.diagnostics.status",
2412
-
responses: {
2413
-
200: {
2414
-
description: "LSP diagnostics toggle status",
2415
-
content: {
2416
-
"application/json": {
2417
-
schema: resolver(LSP.DiagnosticsStatus),
2418
-
},
2419
-
},
2420
-
},
2421
-
},
2422
-
}),
2423
-
async(c)=>{
2424
-
returnc.json(awaitLSP.diagnosticsStatus())
2425
-
},
2426
-
)
2427
-
.post(
2428
-
"/lsp/diagnostics/toggle",
2429
-
describeRoute({
2430
-
summary: "Toggle LSP diagnostics",
2431
-
description: "Toggle whether LSP diagnostics are sent to the model",
0 commit comments