SkateSpots/src/lib
shakespeare.diy 2a55d1b3df Crew Agent Phases 0–2: opt-in AI guide (🐝 Sasquatch) per crew
Phase 0 — identity (lib/crewAgent.ts):
- Deterministic per-crew agent keypair derived from the crew coordinate
  (sha256 of a public salt + coord). Documented security tradeoff: the key
  is reproducible by design and holds no funds — used only for the agent to
  speak for itself. Includes kind-0 profile builder (bot:true, NIP-24) and
  a signAsCrewAgent helper for Phase 3.

Phase 1 — opt-in toggle:
- SkateCrew.agentEnabled parsed from a queryable ["t","crew-agent"] marker.
- "Crew Agent" toggle (Beta) in CrewForm; publishes the marker when on.
- NIP.md documents the crew-agent tag and the agent identity derivation.

Phase 2 — crew-scoped Sasquatch with receipts:
- lib/sasquatchBrain.ts: shared AI caller (model fallback) + tool-call parser.
- useCrewAgentChat: reuses the CVM data tools, seeded with crew context
  (name/location) so "near us" resolves to the crew's turf. Ephemeral/local,
  no keys, no publishing yet.
- CrewAgentPanel: chat dialog rendering agent answers PLUS structured receipt
  cards (spots / events / Lab pros / gear / crews) linking into the app.
- CrewDetailPage: "Ask Sasquatch" card + panel, shown only when the crew
  enabled the agent.

Also: Lab category tabs → fixed 5-across grid (no horizontal scroll). Bump 1.0.68.

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-07-24 19:26:19 +07:00
..
stubs feat: map as homepage, 3D globe, camera fix, Sasquatch upgrades, UI/UX polish 2026-07-22 22:47:39 +07:00
wallet fix: remove orphaned canvas code from RiderCardPage causing ctx/Printer is not defined crash 2026-06-16 17:02:59 +07:00
amber.ts fix: Amber intent: format + # in callbackUrl breaks intent parsing 2026-07-08 11:36:03 +07:00
capacitorAmberSigner.ts Fix getPublicKey: JSON parse JSObject result + restore AMBER_PACKAGE arg 2026-07-09 14:28:58 +07:00
crewAgent.ts Crew Agent Phases 0–2: opt-in AI guide (🐝 Sasquatch) per crew 2026-07-24 19:26:19 +07:00
exchangeRateService.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
genUserName.test.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
genUserName.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
lightningAddress.ts Add duration tiers + layered NIP-57 zap verification, extend featured/Pro to tours 2026-07-24 16:18:15 +07:00
mintReachability.ts Platform-aware wallet mints (Option C: native + browser scoping) 2026-07-24 17:22:41 +07:00
nip06.test.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
nip06.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
offlineCache.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
platform.ts Platform-aware wallet mints (Option C: native + browser scoping) 2026-07-24 17:22:41 +07:00
polyfills.ts New project created with Shakespeare 2026-06-15 19:49:07 +07:00
relatr.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
sanitizeUrl.ts security: implement all 8 protection measures 2026-06-18 14:03:15 +07:00
sasquatchBrain.ts Crew Agent Phases 0–2: opt-in AI guide (🐝 Sasquatch) per crew 2026-07-24 19:26:19 +07:00
skateboardRating.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
skateTags.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
types.ts Crew Agent Phases 0–2: opt-in AI guide (🐝 Sasquatch) per crew 2026-07-24 19:26:19 +07:00
utils.ts New project created with Shakespeare 2026-06-15 19:49:07 +07:00
weather.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00