MCPcopy
hub / github.com/zgsm-ai/costrict / DelegationProvider

Interface DelegationProvider

src/core/tools/AttemptCompletionTool.ts:27–36  ·  view source on GitHub ↗

* Interface for provider methods needed by AttemptCompletionTool for delegation handling.

Source from the content-addressed store, hash-verified

25 * Interface for provider methods needed by AttemptCompletionTool for delegation handling.
26 */
27interface DelegationProvider {
28 getTaskWithId(id: string): Promise<{ historyItem: HistoryItem }>
29 reopenParentFromDelegation(params: {
30 parentTaskId: string
31 childTaskId: string
32 completionResultSummary: string
33 costrictWorkflowMode?: string
34 costrictWorkflowSpecScope?: string
35 }): Promise<void>
36}
37
38export class AttemptCompletionTool extends BaseTool<"attempt_completion"> {
39 readonly name = "attempt_completion" as const

Callers 6

executeMethod · 0.65
resumeTaskMethod · 0.65
isTaskInHistoryMethod · 0.65
delegateToParentMethod · 0.65

Implementers 1

ClineProvidersrc/core/webview/ClineProvider.ts

Calls

no outgoing calls

Tested by

no test coverage detected