feat: Add decoding for variable visibility (VIS VRB) remarks

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-14 16:24:23 -07:00
parent 984e38c966
commit 5cc0717430
+8
View File
@@ -312,6 +312,14 @@
match: p => p[0] === 'VIA' && p.length > 1,
decode: p => ({ consumed: 2, text: ` - VIA ${p[1]}: relayed via ${p[1]}` })
},
// VIS VRB
{
match: p => p[0] === 'VIS' && p.length > 2 && p[1] === 'VRB' && p[2].includes('-'),
decode: p => {
const [min, max] = p[2].split('-');
return { consumed: 3, text: ` - VIS VRB ${p[2]}: Visibility variable between ${min} and ${max} statute miles` };
}
},
// VIS
{
match: p => p[0] === 'VIS' && p.length > 2,