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

Function toAutoClassifierInput

src/tools/TaskStopTool/TaskStopTool.ts:57–59  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

55 return true
56 },
57 toAutoClassifierInput(input) {
58 return input.task_id ?? input.shell_id ?? ''
59 },
60 async validateInput({ task_id, shell_id }, { getAppState }) {
61 // Support both task_id and shell_id (deprecated KillShell compat)
62 const id = task_id ?? shell_id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected