mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-13 10:00:36 +01:00
da5581e20e
* started adding v6 support * added error checking and change messages to the user * fixed lsp caused issue * fixed formatting error * added error handling to https * fixed formatting errors * brought server starting into different func and added enable v6 and v4 * added error checking for disabling both v6 and v4. added option to prefer v6 for dns. added that stuff to the default config * fixed dumb bug * changed to settings named disable ipvx * fixed failed ips still showing as listening * fixed error handling * changed ip protocol config layout * small const name changes * fixed no error if only available protocol fails, and changed wording of some errors * fixed error handling saying 'non-fatal error' for protocol fail even when it's the only one enabled * moved more logic to listen error handler * fixed eslint issues * added more info on when to prefer ipv6 for dns * in conf changed one 'ipv6' to 'IPv6' for consistency * changed error message and redid how starting the server works * removed unneeded log * removed unneeded log * removed unneeded comments * fixed errors * fixed errors * fixed errors * changed the wording of ip related error messages * removed empty lines * changed to .finally(startServer); * removed some whitespace * disabled ipv6 by default ╯︿╰ and changed some message wording * added auto mode for autorun hostname and changed formatting for listening log and added goto message with autorun url * added autorun port override * removed debug log * changed formatting * added cli args to ipv6 and autorun stuff * moved cli args around * changed formatting * changed colors for ip * added avoidLocalhost cli arg * changed formatting * changed to not print protocol on listening * added config option for avoid localhost and changed formatting of messages * fixed avoid localhost config option * Fix ipv4 color --------- Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
97 lines
2.7 KiB
JSON
97 lines
2.7 KiB
JSON
{
|
|
"dependencies": {
|
|
"@agnai/sentencepiece-js": "^1.1.1",
|
|
"@agnai/web-tokenizers": "^0.1.3",
|
|
"@zeldafan0225/ai_horde": "^5.1.0",
|
|
"archiver": "^7.0.1",
|
|
"bing-translate-api": "^2.9.1",
|
|
"body-parser": "^1.20.2",
|
|
"command-exists": "^1.2.9",
|
|
"compression": "^1",
|
|
"cookie-parser": "^1.4.6",
|
|
"cookie-session": "^2.1.0",
|
|
"cors": "^2.8.5",
|
|
"csrf-csrf": "^2.2.3",
|
|
"express": "^4.19.2",
|
|
"form-data": "^4.0.0",
|
|
"google-translate-api-browser": "^3.0.1",
|
|
"he": "^1.2.0",
|
|
"helmet": "^7.1.0",
|
|
"ip-matching": "^2.1.2",
|
|
"ipaddr.js": "^2.0.1",
|
|
"jimp": "^0.22.10",
|
|
"lodash": "^4.17.21",
|
|
"mime-types": "^2.1.35",
|
|
"multer": "^1.4.5-lts.1",
|
|
"node-fetch": "^2.6.11",
|
|
"node-persist": "^4.0.1",
|
|
"open": "^8.4.2",
|
|
"png-chunk-text": "^1.0.0",
|
|
"png-chunks-encode": "^1.0.0",
|
|
"png-chunks-extract": "^1.0.0",
|
|
"rate-limiter-flexible": "^5.0.0",
|
|
"response-time": "^2.3.2",
|
|
"sanitize-filename": "^1.6.3",
|
|
"sillytavern-transformers": "^2.14.6",
|
|
"simple-git": "^3.19.1",
|
|
"tiktoken": "^1.0.15",
|
|
"vectra": "^0.2.2",
|
|
"wavefile": "^11.0.0",
|
|
"write-file-atomic": "^5.0.1",
|
|
"ws": "^8.17.1",
|
|
"yaml": "^2.3.4",
|
|
"yargs": "^17.7.1",
|
|
"yauzl": "^2.10.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18"
|
|
},
|
|
"overrides": {
|
|
"parse-bmfont-xml": {
|
|
"xml2js": "^0.5.0"
|
|
},
|
|
"vectra": {
|
|
"openai": "^4.17.0"
|
|
},
|
|
"load-bmfont": {
|
|
"phin": "^3.7.1"
|
|
},
|
|
"axios": {
|
|
"follow-redirects": "^1.15.4"
|
|
},
|
|
"node-fetch": {
|
|
"whatwg-url": "^14.0.0"
|
|
}
|
|
},
|
|
"name": "sillytavern",
|
|
"type": "commonjs",
|
|
"license": "AGPL-3.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/SillyTavern/SillyTavern.git"
|
|
},
|
|
"version": "1.12.4",
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"start:no-csrf": "node server.js --disableCsrf",
|
|
"postinstall": "node post-install.js",
|
|
"lint": "eslint \"src/**/*.js\" \"public/**/*.js\" ./*.js",
|
|
"lint:fix": "eslint \"src/**/*.js\" \"public/**/*.js\" ./*.js --fix",
|
|
"plugins:update": "node plugins update",
|
|
"plugins:install": "node plugins install"
|
|
},
|
|
"bin": {
|
|
"sillytavern": "./server.js"
|
|
},
|
|
"rules": {
|
|
"no-path-concat": "off",
|
|
"no-var": "off"
|
|
},
|
|
"main": "server.js",
|
|
"devDependencies": {
|
|
"@types/jquery": "^3.5.29",
|
|
"eslint": "^8.57.0",
|
|
"jquery": "^3.6.4"
|
|
}
|
|
}
|