MCPcopy
hub / github.com/coder/mux / sendMessage

Method sendMessage

src/node/services/aiService.ts:381–381  ·  view source on GitHub ↗
(
    workspaceId: string,
    message: string,
    options: SendMessageOptions,
    internal?: {
      skipAutoResumeReset?: boolean;
      synthetic?: boolean;
      agentInitiated?: boolean;
      /** When true, reject instead of queueing if the workspace is busy. */
      requireIdle?: boolean;
      startStreamInBackground?: boolean;
    }
  )

Source from the content-addressed store, hash-verified

379interface WorkflowResultContinuationSender {
380 isWorkflowInvocationCurrent(workspaceId: string, runId: string): Promise<boolean>;
381 sendMessage(
382 workspaceId: string,
383 message: string,
384 options: SendMessageOptions,

Callers 15

forkWorkspaceFunction · 0.65
processSlashCommandFunction · 0.65
createNewWorkspaceFunction · 0.65
executeCompactionFunction · 0.65
useCreationWorkspaceFunction · 0.65
handleSendFunction · 0.65
handleImplementFunction · 0.65
handleContinueInAutoFunction · 0.65
sendAndAwaitFunction · 0.65

Implementers 1

WorkspaceServicesrc/node/services/workspaceService.ts

Calls

no outgoing calls

Tested by 2

createHarnessFunction · 0.52