MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / handleUnknownAsk

Method handleUnknownAsk

apps/cli/src/agent/ask-dispatcher.ts:272–281  ·  view source on GitHub ↗

* Handle unknown ask types.

(ts: number, ask: ClineAsk, text: string)

Source from the content-addressed store, hash-verified

270 * Handle unknown ask types.
271 */
272 private async handleUnknownAsk(ts: number, ask: ClineAsk, text: string): Promise<AskHandleResult> {
273 if (this.nonInteractive) {
274 if (text) {
275 this.outputManager.output(`\n[${ask}]`, text)
276 }
277 return { handled: true }
278 }
279
280 return await this.handleGenericApproval(ts, ask, text)
281 }
282
283 // ===========================================================================
284 // Specific Ask Handlers

Callers 1

handleAskMethod · 0.95

Calls 2

handleGenericApprovalMethod · 0.95
outputMethod · 0.80

Tested by

no test coverage detected