MCPcopy Index your code
hub / github.com/anomalyco/opencode / runLsp

Function runLsp

packages/opencode/src/cli/cmd/run/tool.ts:466–471  ·  view source on GitHub ↗
(p: ToolProps<typeof LspTool>)

Source from the content-addressed store, hash-verified

464}
465
466function runLsp(p: ToolProps<typeof LspTool>): ToolInline {
467 return {
468 icon: "→",
469 title: text(p.frame.state.title) || lspTitle(p.input),
470 }
471}
472
473function runPlanExit(p: ToolProps<typeof PlanExitTool>): ToolInline {
474 return {

Callers

nothing calls this directly

Calls 2

lspTitleFunction · 0.85
textFunction · 0.70

Tested by

no test coverage detected