MCPcopy Index your code
hub / github.com/codeaashu/claude-code / createShutdownRequestMessage

Function createShutdownRequestMessage

src/utils/teammateMailbox.ts:772–784  ·  view source on GitHub ↗
(params: {
  requestId: string
  from: string
  reason?: string
})

Source from the content-addressed store, hash-verified

770 * Creates a shutdown request message to send to a teammate
771 */
772export function createShutdownRequestMessage(params: {
773 requestId: string
774 from: string
775 reason?: string
776}): ShutdownRequestMessage {
777 return {
778 type: 'shutdown_request',
779 requestId: params.requestId,
780 from: params.from,
781 reason: params.reason,
782 timestamp: new Date().toISOString(),
783 }
784}
785
786/**
787 * Creates a shutdown approved message to send to the team leader

Callers 3

handleShutdownRequestFunction · 0.85
terminateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected