feat: extract presentation generator into executable code with builtin tool

Move the presentation implementation out of the skill string into real
TypeScript files (types.ts, presentation-generator.tsx) and add a
generatePresentation builtin tool so the agent calls it directly instead
of writing code. Rewrite the skill to guidance-only with content limits,
preference gathering, and JSON examples for each slide type.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Arjun 2026-01-30 13:30:06 +05:30
parent a3e681a7c4
commit e6c6571b07
9 changed files with 1392 additions and 1 deletions

View file

@ -17,6 +17,8 @@
"@google-cloud/local-auth": "^3.0.1",
"@modelcontextprotocol/sdk": "^1.25.1",
"@openrouter/ai-sdk-provider": "^1.2.6",
"@react-pdf/renderer": "^4.3.2",
"@types/react": "^19.2.7",
"@x/shared": "workspace:*",
"ai": "^5.0.102",
"awilix": "^12.0.5",
@ -27,6 +29,7 @@
"node-html-markdown": "^2.0.0",
"ollama-ai-provider-v2": "^1.5.4",
"openid-client": "^6.8.1",
"react": "^19.2.3",
"yaml": "^2.8.2",
"zod": "^4.2.1"
},