MCPcopy Create free account
hub / github.com/chhoumann/quickadd / executeWithOutcome

Method executeWithOutcome

src/IChoiceExecutor.ts:35–35  ·  view source on GitHub ↗

* Executes a Template/Capture choice and returns its structured outcome * (success with the affected file, error, or cancelled) instead of the void * execute. Callers that must report real success/failure — the URI * x-callback handler and the `quickadd:run-template` CLI — use this so

(
		choice: ITemplateChoice | ICaptureChoice,
	)

Source from the content-addressed store, hash-verified

33 * stubs remain valid.
34 */
35 executeWithOutcome?(
36 choice: ITemplateChoice | ICaptureChoice,
37 ): Promise<ChoiceOutcome>;
38 variables: Map<string, unknown>;

Callers 2

runResolvedChoiceFunction · 0.65
interactiveHandlerFunction · 0.65

Implementers 1

ChoiceExecutorsrc/choiceExecutor.ts

Calls

no outgoing calls

Tested by

no test coverage detected