MCPcopy Create free account
hub / github.com/Noumena-Network/code / toAutoClassifierInput

Function toAutoClassifierInput

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected