- extractContextFromNearby: PROMPT_ONLY_RE skips code elements containing only terminal prompts (e.g. '\\gravity_control >') - Multi-codeEl traversal: tries all code elements at each depth, picks longest non-prompt text - http-bridge enrichment: validates extracted command is not just a prompt fragment before enriching - Fixes: cmd='\\gravity_control >' (prompt-only) no longer sent to Discord as the command text
2.6 KiB
2.6 KiB