tpmjs/packages/tools/official/quiz-generate/package.json
Ajax Davis 5926373be6 chore: update ai package to 6.0.49 across all packages
- Updated all packages from ai@6.0.23 to ai@6.0.49
- Added pnpm override to ensure consistent version
- Created changeset for publishing affected packages
2026-01-25 11:33:03 +10:00

84 lines
2 KiB
JSON

{
"name": "@tpmjs/tools-quiz-generate",
"version": "0.1.0",
"description": "Generates quiz questions from content with answer options and explanations",
"type": "module",
"keywords": [
"tpmjs",
"education",
"ai",
"quiz",
"assessment",
"testing",
"learning"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist .turbo"
},
"devDependencies": {
"@tpmjs/tsconfig": "workspace:*",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/anthropics/tpmjs.git",
"directory": "packages/tools/official/quiz-generate"
},
"homepage": "https://tpmjs.com",
"license": "MIT",
"tpmjs": {
"category": "edu",
"frameworks": [
"vercel-ai"
],
"tools": [
{
"name": "quizGenerateTool",
"description": "Generates quiz questions from content with answer options and explanations",
"parameters": [
{
"name": "content",
"type": "string",
"description": "Source content from which to generate quiz questions",
"required": true
},
{
"name": "count",
"type": "number",
"description": "Number of questions to generate",
"required": true
},
{
"name": "difficulty",
"type": "'easy' | 'medium' | 'hard'",
"description": "Question difficulty level",
"required": false
}
],
"returns": {
"type": "Quiz",
"description": "Generated quiz with questions, answer options, correct answers, and explanations"
}
}
]
},
"dependencies": {
"ai": "6.0.49"
}
}