tpmjs/apps/playground/src/app
Ajax Davis 377f90989d fix: properly pass env vars to cached tools and add extensive logging
PROBLEM:
- Tool wrappers cached env vars in closure, so cached tools used stale env
- Client env vars weren't reaching Railway executor even when provided
- No visibility into env var flow through the system

SOLUTION:
1. Store env vars per conversation in conversationEnv Map
2. Tool execute functions look up latest env from Map (not closure)
3. Chat API calls setConversationEnv() on each request
4. Added logging at every step

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 14:18:32 +10:00
..
api fix: properly pass env vars to cached tools and add extensive logging 2025-12-04 14:18:32 +10:00
globals.css feat: implement playground app with AI SDK v6 tool execution 2025-12-04 02:51:02 +10:00
layout.tsx feat: implement playground app with AI SDK v6 tool execution 2025-12-04 02:51:02 +10:00
page.tsx feat: add playground sidebars with dynamic tools and env var management 2025-12-04 11:00:20 +10:00