tpmjs/packages/db/prisma
Ajax Davis 4307cd43e3 feat: add environment variables support for agents and collections
- Add envVars field to Agent and Collection models in Prisma schema
- Add envVars to UpdateAgentSchema and UpdateCollectionSchema types
- Implement env vars merging logic (agent overrides collection)
- Pass env vars through tool executor to sandbox
- Add UI for managing env vars in agent and collection settings pages
- Update API routes to handle envVars PATCH updates
- Refactor discord tool execute functions for biome compatibility

This allows users to configure tool-specific environment variables (like
DISCORD_BOT_TOKEN) at both the collection and agent level, with agent
settings taking precedence over collection settings.
2026-01-12 01:35:29 +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: add environment variables support for agents and collections 2026-01-12 01:35:29 +10:00
seed.ts feat(db): create database package with Prisma schema for NPM registry 2025-11-28 02:07:39 +10:00