1 Commits

Author SHA1 Message Date
af781f2c58 feat: enable Morgan's create_agent_package tool with Vercel AI SDK
Re-enabled the create_agent_package tool with proper parameter typing using
z.infer for runtime type safety. The tool now works with Vercel AI SDK's
tool calling mechanism.

Changes:
- Update create-agent-package.ts with z.infer type annotations
- Update qdrant-rag.ts with consistent z.infer typing pattern
- Re-enable tool import in definitions.ts
- Activate create_agent_package in Morgan's agent configuration
- Add explanatory comments about Vercel AI SDK typing workarounds

This enables Morgan to create custom AI agents through the native Vercel AI SDK
tool calling interface. The  workaround is necessary due to TypeScript
overload resolution limitations in the tool() function, but the tool executes
correctly at runtime.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 17:14:24 -07:00