SkateSpots/cvm-server
shakespeare.diy 84aa009b33 fix: CVM server tag mapping + add city/country geocoding to spots
CVM server fixes (cvm-server/server.ts):
- Use 'title' tag instead of 'name' to read spot names (app publishes 'title')
- Search now checks 'title' tag (not just 'name') for keyword matches
- City filter now also checks 'title' tag and event content
- Country filter also checks event content
- Features filter now checks 't' tags (app uses 't' not 'feature')
- Validate spots with 't: skatespot' tag (same rule as the app)
- Return 'location' field and proper features list in results
- Image parsing now supports both 'image' (legacy) and 'imeta' (NIP-92)

CreateSpotPage fix (src/pages/CreateSpotPage.tsx):
- Add reverse geocoding via Nominatim on spot submit
- Emit structured 'city' and 'country' tags so CVM can filter by them
- Auto-fill location field from geocoding if user left it blank

SasquatchGuide improvement (src/components/SasquatchGuide.tsx):
- Add data model notes to system prompt explaining tag structure
- Instruct AI to handle 0-result responses gracefully (encourage adding spots)
- Use limit:20+ for city/country searches

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-06-17 11:14:50 +07:00
..
.env.example feat: add SkateSpots CVM server — MCP tools over Nostr 2026-06-16 17:45:04 +07:00
bootstrap.sh feat: add SkateSpots CVM server — MCP tools over Nostr 2026-06-16 17:45:04 +07:00
DEPLOY.md feat: add SkateSpots CVM server — MCP tools over Nostr 2026-06-16 17:45:04 +07:00
package.cvm.json feat: add SkateSpots CVM server — MCP tools over Nostr 2026-06-16 17:45:04 +07:00
server.ts fix: CVM server tag mapping + add city/country geocoding to spots 2026-06-17 11:14:50 +07:00
skatespots-cvm.service feat: add SkateSpots CVM server — MCP tools over Nostr 2026-06-16 17:45:04 +07:00