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

Method getPrompt

packages/opencode/test/mcp/lifecycle.test.ts:249–252  ·  view source on GitHub ↗
(_params: unknown, options?: { timeout?: number })

Source from the content-addressed store, hash-verified

247 }
248
249 async getPrompt(_params: unknown, options?: { timeout?: number }) {
250 if (this._state) this._state.getPromptTimeout = options?.timeout
251 return { messages: [] }
252 }
253
254 async readResource(params: { uri: string }, options?: { timeout?: number }) {
255 if (this._state) this._state.readResourceTimeout = options?.timeout

Callers 3

lifecycle.test.tsFile · 0.80
templateFunction · 0.80
index.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected