MCPcopy Index your code
hub / github.com/coder/mux / runAgent

Method runAgent

src/node/services/workflows/WorkflowRunner.ts:163–163  ·  view source on GitHub ↗
(
    spec: WorkflowAgentSpec,
    lifecycle?: { onTaskCreated?: (taskId: string) => Promise<void> | void },
    waitOptions?: WorkflowAgentWaitOptions
  )

Source from the content-addressed store, hash-verified

161
162export interface WorkflowTaskAdapter {
163 runAgent(
164 spec: WorkflowAgentSpec,
165 lifecycle?: { onTaskCreated?: (taskId: string) => Promise<void> | void },
166 waitOptions?: WorkflowAgentWaitOptions

Implementers 1

WorkflowTaskServiceAdaptersrc/node/services/workflows/WorkflowTa

Calls

no outgoing calls

Tested by

no test coverage detected