Function
makePausedResult
(
id: string,
request: FormElicitation | UrlElicitation,
)
Source from the content-addressed store, hash-verified
| 105 | |
| 106 | /** Build a stub paused ExecutionResult with the given id and elicitation request. */ |
| 107 | const makePausedResult = ( |
| 108 | id: string, |
| 109 | request: FormElicitation | UrlElicitation, |
| 110 | ): ExecutionResult => ({ |
| 111 | status: "paused", |
| 112 | execution: { |
| 113 | id, |
| 114 | elicitationContext: { address: STUB_TOOL_ADDRESS, args: {}, request }, |
| 115 | }, |
| 116 | }); |
| 117 | |
| 118 | const toolFile = (input: { |
| 119 | readonly name?: string; |
Tested by
no test coverage detected