tpmjs/packages/db/prisma
Ajax Davis 1118463e6b feat(skills): add RealSkills living endpoint for agent Q&A
Implements a skills endpoint that evolves through agent conversations:

- GET /:username/collections/:slug/skills - Returns markdown skill summary
- POST /:username/collections/:slug/skills - Ask questions, get RAG+LLM responses

Features:
- OpenAI text-embedding-3-large (3072 dims) for semantic similarity
- GPT-4.1-mini for response generation with RAG context
- Lazy seeding of synthetic questions on first access
- Cache hits for >95% similar questions
- Real-time skill graph updates (emergent skill taxonomy)
- Session support for multi-turn conversations
- Activity feed and stats APIs for UI

Database models: SkillQuestion, Skill, SkillSession, SkillQuestionSkill, SkillQuestionTool
2026-01-25 02:37:02 +10:00
..
backfill-usernames.ts fix: make username compulsory and improve MCP error messages 2026-01-14 04:21:41 +10:00
make-agents-public.ts fix: add admin endpoint to make existing agents public 2026-01-07 22:24:32 +10:00
schema.prisma feat(skills): add RealSkills living endpoint for agent Q&A 2026-01-25 02:37:02 +10:00
seed.ts feat(db): create database package with Prisma schema for NPM registry 2025-11-28 02:07:39 +10:00