Reject WROOM pintables taken from the bare ESP32 die map.
Module pad 1 is GND; extracting ANT/XTAL as pin 1 made every ground look like a shorted antenna. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -148,8 +148,12 @@ async def run_skill_locally(
|
||||
|
||||
errors: list[str] = []
|
||||
if validator is not None:
|
||||
check = dict(payload)
|
||||
mpn_hint = re.search(r"MPN:\s*(\S+)", user_text or "", re.I)
|
||||
if mpn_hint and "mpn" not in check:
|
||||
check["mpn"] = mpn_hint.group(1).rstrip(".,;")
|
||||
try:
|
||||
errors = list(validator(payload) or [])
|
||||
errors = list(validator(check) or [])
|
||||
except Exception as exc:
|
||||
log.warning(
|
||||
"Skill %s validate.py raised: %s", skill_name, exc,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"default_model_version": "1.5.0",
|
||||
"default_model_version": "1.6.0",
|
||||
"extract-pintable": {
|
||||
"skill_id": "skill_01VMWPZuvuZAe4LmLbmsNWNY",
|
||||
"latest_version": "1784798970179642",
|
||||
|
||||
Reference in New Issue
Block a user