MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isSystemLocalCommandMessage

Function isSystemLocalCommandMessage

source code/utils/messages.ts:1531–1535  ·  view source on GitHub ↗
(
  message: Message,
)

Source from the content-addressed store, hash-verified

1529}
1530
1531export function isSystemLocalCommandMessage(
1532 message: Message,
1533): message is SystemLocalCommandMessage {
1534 return message.type === 'system' && message.subtype === 'local_command'
1535}
1536
1537/**
1538 * Strips tool_reference blocks for tools that no longer exist from tool_result content.

Callers 1

normalizeMessagesForAPIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected