Fastify + single-page frontend on shared @nexusai/core. Reads the same SQLite journal and media dir. Features: usage stats (by provider/capability/day), content gallery (image/audio/video with local file serving + path-traversal guard), provider CRUD with encrypted keys (masked in UI), enable/disable, set-default, and real key validation via zero-cost /media/models call. Adds Journal.getById and NordRouterMediaProvider.checkKey to core.
25 lines
566 B
JSON
25 lines
566 B
JSON
{
|
|
"name": "@nexusai/admin",
|
|
"version": "0.1.0",
|
|
"description": "NexusAI admin: web dashboard for content gallery, spend tracking and provider/key management",
|
|
"main": "dist/server.js",
|
|
"type": "commonjs",
|
|
"bin": {
|
|
"nexusai-admin": "dist/server.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"start": "node dist/server.js"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/static": "^7.0.0",
|
|
"@nexusai/core": "*",
|
|
"fastify": "^4.28.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.15.0",
|
|
"typescript": "^5.8.0"
|
|
}
|
|
}
|