Olivier Chafik
|
3a5cb92f19
|
Add adventure game tool with tool loop and registry
- Add toolLoop.ts: Runs agentic sampling loop with tool calls
- Add toolRegistry.ts: Manages tool definitions and execution
- Update everything.ts:
- Add ADVENTURE_GAME tool (requires sampling + elicitation)
- Implement choose-your-own-adventure game using tool loop
- Game tools: userLost, userWon, nextStep with elicitation
- Fix type inference for Tool inputSchema/outputSchema
- Add mode field to elicitation requests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-22 21:18:10 +00:00 |
|