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> |
||
|---|---|---|
| .. | ||
| .env.example | ||
| bootstrap.sh | ||
| DEPLOY.md | ||
| package.cvm.json | ||
| server.ts | ||
| skatespots-cvm.service | ||