MCPcopy Create free account
hub / github.com/codeaashu/claude-code / createShutdownRejectedMessage

Function createShutdownRejectedMessage

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

Source from the content-addressed store, hash-verified

806 * Creates a shutdown rejected message to send to the team leader
807 */
808export function createShutdownRejectedMessage(params: {
809 requestId: string
810 from: string
811 reason: string
812}): ShutdownRejectedMessage {
813 return {
814 type: 'shutdown_rejected',
815 requestId: params.requestId,
816 from: params.from,
817 reason: params.reason,
818 timestamp: new Date().toISOString(),
819 }
820}
821
822/**
823 * Sends a shutdown request to a teammate's mailbox.

Callers 1

handleShutdownRejectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected