mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-08-26 17:31:34 +00:00
* feat(region-routing): P1 tagging + region_routes primitive + read/write API + preview launcher - config.py: add Coverage.region_tagging (bool=False); add RegionRouteMatrix dataclass (enabled, cells) above NotificationsConfig; add region_routes field to NotificationsConfig; add explicit hydration branch for region_routes in _dict_to_dataclass mirroring destinations pattern. - coverage_area.py: add MonitoringArea.name (str|None=None, frozen); update areas_from_config to preserve name; refactor inline geom extraction from classify_event_areas into shared _event_geom_json helper; add matching_area_names(geom_json, areas)->list[str] (additive, all named matches, config-order, deduped; gate unchanged); add event_region_names convenience wrapper. - coverage_filter.py: add region_tagging ctor kwarg; stamp event.region/ regions before the gate when region_tagging=True and areas non-empty and not event.regions (never clobbers satpass preset). - pipeline/__init__.py: wire region_tagging into CoverageFilter construction. - notification_routes.py: add GET /notifications/regions (named coverage area names, config-order, deduped); GET /notifications/region-routing (matrix as JSON); POST /notifications/region-routing (explicit RMW — only region_routes changes, toggles/rules/destinations survive). - scripts/preview_dashboard.py: mesh-free launcher — dashboard API only, no mesh connector, no broadcast loop; vite runs separately. All 87 coverage tests pass; 300 total pass; 6 pre-existing failures unchanged (adapter config count mismatch + MeshCore EventType.NEW_CONTACT). * feat(region-routing): manual region x family matrix editor page Adds RegionRoutingMatrix.tsx — a plain editor over the region_routes config primitive. Rows = families (via useFamilies()), cols = regions (from GET /api/notifications/regions). Each cell exposes MT channel (ChannelPicker single + includeDisabled), MC channel name (text input), min_severity select (routine/priority/critical/immediate), and an enabled checkbox. Only cells where MT or MC is set are included in the sparse POST payload. Master enable toggle maps to top-level enabled. MT budget guard warns when more than 7 distinct MT indices are in use. Sticky family column; horizontal scroll for wide region sets. Registers route /region-routing in App.tsx and adds "Region Routing" nav entry (Map icon) under the Meshtastic section in Layout.tsx, immediately after Routing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(region-routing): regions endpoint reads saved (disk) coverage so routing columns are dynamic without a bot restart; preview reloads config after writes * feat(routing): unify MT/MC routing into per-family cards; region routing as an in-card expand; remove rules/destinations UI + standalone page * refactor(routing): move Meshtastic Routing from /notifications to /meshtastic/routing (mirror /meshcore/routing); redirect legacy path * feat(region-routing): dispatcher honors region_routes matrix (authoritative-on-match, per-region cooldown, per-channel dedup); non-matrix path unchanged Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(region-routing): matrix dedup key must match boot-restore 2-tuple form (prevents restart re-broadcast flood); regression test --------- Co-authored-by: Matt Johnson <mj@k7zvx.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 line
2.3 KiB
JavaScript
1 line
2.3 KiB
JavaScript
module.exports={"0":"116","1":"117","2":"118","3":"119","4":"120","5":"121","6":"122","7":"123","8":"124","9":"125",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"149",J:"4",K:"27",L:"6",M:"13",N:"14",O:"16",P:"17",Q:"18",R:"79",S:"81",T:"83",U:"84",V:"85",W:"86",X:"87",Y:"88",Z:"89",a:"90",b:"91",c:"92",d:"93",e:"94",f:"95",g:"96",h:"97",i:"98",j:"99",k:"100",l:"101",m:"102",n:"103",o:"104",p:"105",q:"106",r:"107",s:"108",t:"109",u:"110",v:"111",w:"112",x:"113",y:"114",z:"115",AB:"126",BB:"127",CB:"131",DB:"20",EB:"21",FB:"22",GB:"23",HB:"24",IB:"25",JB:"26",KB:"28",LB:"29",MB:"30",NB:"128",OB:"129",PB:"130",QB:"132",RB:"133",SB:"134",TB:"135",UB:"136",VB:"137",WB:"138",XB:"139",YB:"140",ZB:"141",aB:"142",bB:"143",cB:"144",dB:"145",eB:"146",fB:"147",gB:"148",hB:"5",iB:"19",jB:"31",kB:"32",lB:"33",mB:"34",nB:"35",oB:"36",pB:"37",qB:"38",rB:"39",sB:"40",tB:"41",uB:"42",vB:"43",wB:"44",xB:"45",yB:"46",zB:"47","0B":"48","1B":"49","2B":"50","3B":"51","4B":"52","5B":"53","6B":"54","7B":"55","8B":"56","9B":"57",AC:"58",BC:"60",CC:"62",DC:"63",EC:"64",FC:"65",GC:"66",HC:"67",IC:"68",JC:"69",KC:"70",LC:"71",MC:"72",NC:"73",OC:"74",PC:"75",QC:"76",RC:"77",SC:"78",TC:"151",UC:"11.1",VC:"12.1",WC:"15.5",XC:"16.0",YC:"17.0",ZC:"18.0",aC:"3",bC:"59",cC:"61",dC:"82",eC:"150",fC:"152",gC:"3.2",hC:"10.1",iC:"15.2-15.3",jC:"15.4",kC:"16.1",lC:"16.2",mC:"16.3",nC:"16.4",oC:"16.5",pC:"17.1",qC:"17.2",rC:"17.3",sC:"17.4",tC:"17.5",uC:"18.1",vC:"18.2",wC:"18.3",xC:"18.4",yC:"18.5-18.7",zC:"26.0","0C":"26.1","1C":"26.2","2C":"26.3","3C":"26.4","4C":"26.5","5C":"11.5","6C":"4.2-4.3","7C":"5.5","8C":"2","9C":"153",AD:"154",BD:"3.5",CD:"3.6",DD:"3.1",ED:"5.1",FD:"6.1",GD:"7.1",HD:"9.1",ID:"13.1",JD:"14.1",KD:"15.1",LD:"15.6",MD:"16.6",ND:"17.6",OD:"TP",PD:"9.5-9.6",QD:"10.0-10.1",RD:"10.5",SD:"10.6",TD:"11.6",UD:"4.0-4.1",VD:"5.0-5.1",WD:"6.0-6.1",XD:"7.0-7.1",YD:"8.1-8.4",ZD:"9.0-9.2",aD:"9.3",bD:"10.0-10.2",cD:"10.3",dD:"11.0-11.2",eD:"11.3-11.4",fD:"12.0-12.1",gD:"12.2-12.5",hD:"13.0-13.1",iD:"13.2",jD:"13.3",kD:"13.4-13.7",lD:"14.0-14.4",mD:"14.5-14.8",nD:"15.0-15.1",oD:"15.6-15.8",pD:"16.6-16.7",qD:"17.6-17.7",rD:"all",sD:"2.1",tD:"2.2",uD:"2.3",vD:"4.1",wD:"4.4",xD:"4.4.3-4.4.4",yD:"5.0-5.4",zD:"6.2-6.4","0D":"7.2-7.4","1D":"8.2","2D":"9.2","3D":"11.1-11.2","4D":"12.0","5D":"13.0","6D":"14.0","7D":"15.0","8D":"19.0","9D":"14.9",AE:"13.52",BE:"2.5",CE:"3.0-3.1"};
|