MCPcopy
hub / github.com/coder/mux / requestPrompt

Method requestPrompt

src/node/services/sshPromptService.ts:182–185  ·  view source on GitHub ↗
(params: SshPromptRequestParams)

Source from the content-addressed store, hash-verified

180 }
181
182 async requestPrompt(params: SshPromptRequestParams): Promise<string> {
183 const resolution = await this.requestPromptDetailed(params);
184 return resolution.response;
185 }
186
187 respond(requestId: string, response: string): void {
188 this.finalizeRequest(requestId, { response, reason: "responded" });

Callers 1

Calls 1

requestPromptDetailedMethod · 0.95

Tested by

no test coverage detected