AI 小说工坊:主编 + 作家多模型协作写作应用

- Nuxt 4 + Nuxt UI 4 + AI SDK 7 + Drizzle/SQLite
- 主编规划大纲与章节简报、选派作家;作家流式写入章节文件并实时推送前端
- 逐章确认模式(默认)与自动模式;摘要与故事记忆
- 酒馆角色卡(PNG/JSON,V1-V3)与世界书导入
- 自定义最高优先级系统提示词、审稿/修改/多版本、任务日志与提示词检视
- 模拟 LLM 服务与端到端测试脚本

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jocay
2026-10-18 02:04:40 +08:00
commit 3c9b65d982
106 changed files with 16286 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
{
"name": "ai-novel-studio",
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"start": "node .output/server/index.mjs",
"typecheck": "vue-tsc -b --noEmit",
"db:generate": "drizzle-kit generate",
"mock:llm": "node scripts/mock-llm.mjs 4010",
"test:e2e": "node scripts/e2e.mjs http://localhost:3000 http://localhost:4010/v1"
},
"dependencies": {
"@ai-sdk/anthropic": "^4.0.81",
"@ai-sdk/google": "^4.0.98",
"@ai-sdk/openai-compatible": "^3.0.70",
"@iconify-json/lucide": "^1.2.145",
"@nuxt/ui": "^4.12.0",
"ai": "^7.0.142",
"better-sqlite3": "^13.0.3",
"drizzle-orm": "^0.45.4",
"marked": "^18.1.1",
"nanoid": "^6.0.2",
"nuxt": "^4.6.1",
"tailwindcss": "^4.3.3",
"vue": "^3.5.43",
"vue-router": "^5.4.0",
"zod": "^4.6.7"
},
"devDependencies": {
"@types/better-sqlite3": "^9.6.0",
"drizzle-kit": "^0.31.11",
"typescript": "^6.0.3",
"vue-tsc": "^3.3.13"
}
}