Includes full bot source (Phases 1–4), plus five new features: - Epic 1: emoji reaction state machine (👀⏳✅🎲) + burst queue cap at 2 with in-world drop notices - Epic 2: per-encounter tone field in YAML injected into LLM system prompt - Epic 3: player pronouns via modal registration + system prompt players block - Epic 4: strengthened skill_check_emit tool contract + missed-skill-check diagnostic Also includes UX design docs, epics, and story files under Docs/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"name": "mardonar-bot",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"description": "Discord-native LLM-driven D&D encounter engine for the Land of Mardonar",
|
|
"main": "dist/bot/index.js",
|
|
"scripts": {
|
|
"dev": "tsx watch src/bot/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/bot/index.js",
|
|
"deploy-commands": "tsx src/scripts/deploy-commands.ts",
|
|
"test": "vitest run",
|
|
"test:unit": "vitest run tests/unit",
|
|
"test:int": "vitest run tests/integration"
|
|
},
|
|
"dependencies": {
|
|
"@discordjs/builders": "^1.10.0",
|
|
"@discordjs/rest": "^2.4.0",
|
|
"discord.js": "^14.18.0",
|
|
"dotenv": "^16.4.0",
|
|
"gpt-tokenizer": "^2.8.0",
|
|
"ioredis": "^5.4.0",
|
|
"js-yaml": "^4.1.0",
|
|
"ollama": "^0.5.0",
|
|
"openai": "^6.39.0",
|
|
"pino": "^9.6.0",
|
|
"pino-pretty": "^13.0.0",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^22.0.0",
|
|
"ioredis-mock": "^8.9.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^3.1.0"
|
|
}
|
|
}
|