(thread)
| 394 | |
| 395 | // name-only targets can match with a null scope; detect that case explicitly |
| 396 | function isNameOnlyMatch(thread) { |
| 397 | const name = thread.name || ""; |
| 398 | return TARGETS.some((t) => t.name != null && name.includes(t.name)); |
| 399 | } |
| 400 | |
| 401 | // --- REPL helpers ----------------------------------------------------------- |
| 402 | function stalking() { |