MCPcopy Index your code
hub / github.com/Opencode-DCP/opencode-dynamic-context-pruning / handleHelpCommand

Function handleHelpCommand

lib/commands/help.ts:66–76  ·  view source on GitHub ↗
(ctx: HelpCommandContext)

Source from the content-addressed store, hash-verified

64}
65
66export async function handleHelpCommand(ctx: HelpCommandContext): Promise<void> {
67 const { client, state, logger, sessionId, messages } = ctx
68
69 const { config } = ctx
70 const message = formatHelpMessage(state, config)
71
72 const params = getCurrentParams(state, messages, logger)
73 await sendIgnoredMessage(client, sessionId, message, params, logger)
74
75 logger.info("Help command executed")
76}

Callers 1

Calls 4

getCurrentParamsFunction · 0.90
sendIgnoredMessageFunction · 0.90
formatHelpMessageFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected