Merge branch 'staging' into sysprompt-divorce

c2114bc83d169fb17bd6e5e7a846d804cdb03299

Cohee <18619528+Cohee1207@users.noreply.github.com>

15 files changed, +154 -99Ignore whitespace
.github/readme-ja_jp.md+17 -3
@@ -1,9 +1,20 @@
11> [!IMPORTANT]
22> ここに掲載されている情報は、古かったり不完全であったりする可能性があります。最新の情報は英語版をご利用ください。
33
4+![][cover]
5+
6+<div align="center">
7+
48[English](readme.md) | [中文](readme-zh_cn.md) | 日本語 | [Русский](readme-ru_ru.md)
59
6-![SillyTavern-Banner](https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4)
10+[![GitHub Stars](https://img.shields.io/github/stars/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/stargazers)
11+[![GitHub Forks](https://img.shields.io/github/forks/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/network)
12+[![GitHub Issues](https://img.shields.io/github/issues/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/issues)
13+[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/pulls)
14+
15+</div>
16+
17+---
718
819モバイルデバイスにも適したレイアウト・マルチAPI(KoboldAI/CPP、Horde、NovelAI、Ooba、OpenAI、OpenRouter、Claude、Scale)、VN ライクな Waifu モード、Stable Diffusion、TTS、WorldInfo(伝承本)、カスタマイズ可能なUI、自動翻訳、大量のプロンプトオプション+サードパーティの拡張機能をインストールする機能
920
@@ -284,8 +295,8 @@ ST サーバを再起動すると、ユーザ名とパスワードさえ知っ
284295
285296## スクリーンショット
286297
287298<img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649245user-8061c60fattachments/assets/9b5f32f0-63dcc3b3-488e4102-9325b3f5-f151b7a3ec2d.png0e9213c0f50f">
288299<img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649856user-fbdeef05attachments/assets/913fdbaa-d7277d33-4d5a42f1-be80ae2c-266cbbc6b811.png89dca41c53d1">
289300
290301## ライセンスとクレジット
291302
@@ -314,3 +325,6 @@ ST サーバを再起動すると、ユーザ名とパスワードさえ知っ
314325* @doloroushyeonse による韓国語翻訳
315326* k_euler_a による Horde のサポート <https://github.com/Teashrock>
316327* [@XXpE3](https://github.com/XXpE3) による中国語翻訳、中国語 ISSUES の連絡先は @XXpE3
328+
329+<!-- LINK GROUP -->
330+[cover]: https://github.com/user-attachments/assets/01a6ae9a-16aa-45f2-8bff-32b5dc587e44
.github/readme-ru_ru.md+15 -4
@@ -3,9 +3,20 @@
33
44<a name="readme-top"></a>
55
6+![][cover]
7+
8+<div align="center">
9+
610[English](readme.md) | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | Русский
711
8-![][cover]
12+[![GitHub Stars](https://img.shields.io/github/stars/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/stargazers)
13+[![GitHub Forks](https://img.shields.io/github/forks/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/network)
14+[![GitHub Issues](https://img.shields.io/github/issues/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/issues)
15+[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/pulls)
16+
17+</div>
18+
19+---
920
1021Мобайл-френдли интерфейс, поддержка множества API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), ВН-образный режим Вайфу, Stable Diffusion, TTS, поддержка миров (лорбуков), кастомизируемый UI, автоперевод, тончайшая настройка промптов + возможность устанавливать расширения.
1122
@@ -29,8 +40,8 @@ SillyTavern — это форк версии TavernAI 1.2.8, который ра
2940
3041## Скриншоты
3142
3243<img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/e902c7a29b5f32f0-45a6c3b3-44154102-97aab3f5-c59c597669c10e9213c0f50f">
3344<img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/f8a79c47913fdbaa-4fe97d33-456442f1-9e4aae2c-bf247ed1c96189dca41c53d1">
3445
3546### Ветки
3647
@@ -355,7 +366,7 @@ SillyTavern сохраняет ключи от ваших API в файле `sec
355366
356367<!-- LINK GROUP -->
357368[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
358369[cover]: https://github.com/SillyTavern/SillyTavernuser-attachments/assets/18619528/c2be4c3f01a6ae9a-aada16aa-4f6445f2-87a38bff-ae35a68b61a432b5dc587e44
359370[discord-link]: https://discord.gg/sillytavern
360371[discord-shield]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
361372[discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
.github/readme-zh_cn.md+17 -3
@@ -1,9 +1,20 @@
11> [!IMPORTANT]
22> 这里的信息可能已经过时或不完整,仅供您参考。请使用英文版本获取最新信息。
33
4+![][cover]
5+
6+<div align="center">
7+
48[English](readme.md) | 中文 | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md)
59
6-![image](https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4)
10+[![GitHub Stars](https://img.shields.io/github/stars/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/stargazers)
11+[![GitHub Forks](https://img.shields.io/github/forks/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/network)
12+[![GitHub Issues](https://img.shields.io/github/issues/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/issues)
13+[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/pulls)
14+
15+</div>
16+
17+---
718
819移动设备界面友好,多种人工智能服务或模型支持(KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale),类似 Galgame 的 老 婆 模 式,Horde SD,文本系统语音生成,世界信息(Lorebooks),可定制的界面,自动翻译,和比你所需要的更多的 Prompt。附带扩展服务,支持文本绘画生成与语音生成和基于向量数据库 的聊天信息总结。
920
@@ -278,8 +289,8 @@ SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。
278289
279290## 屏幕截图
280291
281292<img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649245user-8061c60fattachments/assets/9b5f32f0-63dcc3b3-488e4102-9325b3f5-f151b7a3ec2d.png0e9213c0f50f">
282293<img width="400500" alt="image" src="https://user-images.githubusercontentgithub.com/18619528/228649856user-fbdeef05attachments/assets/913fdbaa-d7277d33-4d5a42f1-be80ae2c-266cbbc6b811.png89dca41c53d1">
283294
284295## 许可证和贡献
285296
@@ -306,3 +317,6 @@ SillyTavern 会将 API 密钥保存在目录中的 `secrets.json` 文件内。
306317* Default content (characters and lore books) provided by @OtisAlejandro, @RossAscends and @kallmeflocc
307318* Korean translation by @doloroushyeonse
308319* 中文翻译由 [@XXpE3](https://github.com/XXpE3) 完成,中文 ISSUES 可以联系 @XXpE3
320+
321+<!-- LINK GROUP -->
322+[cover]: https://github.com/user-attachments/assets/01a6ae9a-16aa-45f2-8bff-32b5dc587e44
.github/readme.md+15 -4
@@ -1,8 +1,19 @@
11<a name="readme-top"></a>
22
3+![][cover]
4+
5+<div align="center">
6+
37English | [中文](readme-zh_cn.md) | [日本語](readme-ja_jp.md) | [Русский](readme-ru_ru.md)
48
5-![][cover]
9+[![GitHub Stars](https://img.shields.io/github/stars/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/stargazers)
10+[![GitHub Forks](https://img.shields.io/github/forks/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/network)
11+[![GitHub Issues](https://img.shields.io/github/issues/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/issues)
12+[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/SillyTavern/SillyTavern.svg)](https://github.com/SillyTavern/SillyTavern/pulls)
13+
14+</div>
15+
16+---
617
718SillyTavern provides a single unified interface for many LLM APIs (KoboldAI/CPP, Horde, NovelAI, Ooba, Tabby, OpenAI, OpenRouter, Claude, Mistral and more), a mobile-friendly layout, Visual Novel Mode, Automatic1111 & ComfyUI API image generation integration, TTS, WorldInfo (lorebooks), customizable UI, auto-translate, more prompt options than you'd ever want or need, and endless growth potential via third-party extensions.
819
@@ -65,8 +76,8 @@ Or get in touch with the developers directly:
6576
6677## Screenshots
6778
6879<img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/e902c7a29b5f32f0-45a6c3b3-44154102-97aab3f5-c59c597669c10e9213c0f50f">
6980<img width="400500" alt="image" src="https://github.com/SillyTavern/SillyTavernuser-attachments/assets/61471128/f8a79c47913fdbaa-4fe97d33-456442f1-9e4aae2c-bf247ed1c96189dca41c53d1">
7081
7182## Character Cards
7283
@@ -363,6 +374,6 @@ GNU Affero General Public License for more details.**
363374[![Contributors](https://contrib.rocks/image?repo=SillyTavern/SillyTavern)](https://github.com/SillyTavern/SillyTavern/graphs/contributors)
364375
365376<!-- LINK GROUP -->
366377[cover]: https://github.com/SillyTavern/SillyTavernuser-attachments/assets/18619528/c2be4c3f01a6ae9a-aada16aa-4f6445f2-87a38bff-ae35a68b61a432b5dc587e44
367378[discord-link]: https://discord.gg/sillytavern
368379[discord-shield-badge]: https://img.shields.io/discord/1100685673633153084?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
package-lock.json+45 -58
@@ -22,7 +22,7 @@
2222 "cookie-session": "^2.1.0",
2323 "cors": "^2.8.5",
2424 "csrf-csrf": "^2.2.3",
2525 "express": "^4.2021.0",
2626 "form-data": "^4.0.0",
2727 "google-translate-api-browser": "^3.0.1",
2828 "he": "^1.2.0",
@@ -1568,21 +1568,6 @@
15681568 "node": ">=0.10.0"
15691569 }
15701570 },
1571- "node_modules/body-parser/node_modules/qs": {
1572- "version": "6.13.0",
1573- "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
1574- "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
1575- "license": "BSD-3-Clause",
1576- "dependencies": {
1577- "side-channel": "^1.0.6"
1578- },
1579- "engines": {
1580- "node": ">=0.6"
1581- },
1582- "funding": {
1583- "url": "https://github.com/sponsors/ljharb"
1584- }
1585- },
15861571 "node_modules/boolbase": {
15871572 "version": "1.0.0",
15881573 "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
@@ -1728,6 +1713,7 @@
17281713 "version": "2.7.0",
17291714 "resolved": "https://registry.npmjs.org/centra/-/centra-2.7.0.tgz",
17301715 "integrity": "sha512-PbFMgMSrmgx6uxCdm57RUos9Tc3fclMvhLSATYN39XsDV29B89zZ3KA89jmY0vwSGazyU+uerqwa6t+KaodPcg==",
1716+ "license": "MIT",
17311717 "dependencies": {
17321718 "follow-redirects": "^1.15.6"
17331719 }
@@ -2540,9 +2526,9 @@
25402526 "license": "MIT"
25412527 },
25422528 "node_modules/encodeurl": {
25432529 "version": "12.0.20",
25442530 "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-12.0.20.tgz",
25452531 "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0wQ0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
25462532 "license": "MIT",
25472533 "engines": {
25482534 "node": ">= 0.8"
@@ -2879,9 +2865,9 @@
28792865 "integrity": "sha512-c2bQfLNbMzLPmzQuOr8fy0csy84WmwnER81W88DzTp9CYNPJ6yzOj2EZAh9pywYpqHnshVLHQJ8WzldAyfY+Iw=="
28802866 },
28812867 "node_modules/express": {
28822868 "version": "4.2021.0",
28832869 "resolved": "https://registry.npmjs.org/express/-/express-4.2021.0.tgz",
28842870 "integrity": "sha512-pLdae7I6QqShF5PnNTCVn4hI91Dx0Grkn2VqcNGcj/Id5ZT1LZ/cfihi3ttTn+IAsMTgMIKuQVte2dN9PeGSSAME2FR8anOhVA62QDIUaWVfEXVLwNJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==",
28852871 "license": "MIT",
28862872 "dependencies": {
28872873 "accepts": "~1.3.8",
@@ -2896,7 +2882,7 @@
28962882 "encodeurl": "~2.0.0",
28972883 "escape-html": "~1.0.3",
28982884 "etag": "~1.8.1",
28992885 "finalhandler": "1.23.01",
29002886 "fresh": "0.5.2",
29012887 "http-errors": "2.0.0",
29022888 "merge-descriptors": "1.0.3",
@@ -2905,11 +2891,11 @@
29052891 "parseurl": "~1.3.3",
29062892 "path-to-regexp": "0.1.10",
29072893 "proxy-addr": "~2.0.7",
29082894 "qs": "6.1113.0",
29092895 "range-parser": "~1.2.1",
29102896 "safe-buffer": "5.2.1",
29112897 "send": "0.19.0",
29122898 "serve-static": "1.16.02",
29132899 "setprototypeof": "1.2.0",
29142900 "statuses": "2.0.1",
29152901 "type-is": "~1.6.18",
@@ -2928,15 +2914,6 @@
29282914 "node": ">= 0.6"
29292915 }
29302916 },
2931- "node_modules/express/node_modules/encodeurl": {
2932- "version": "2.0.0",
2933- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
2934- "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
2935- "license": "MIT",
2936- "engines": {
2937- "node": ">= 0.8"
2938- }
2939- },
29402917 "node_modules/express/node_modules/safe-buffer": {
29412918 "version": "5.2.1",
29422919 "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
@@ -3033,13 +3010,13 @@
30333010 }
30343011 },
30353012 "node_modules/finalhandler": {
30363013 "version": "1.23.01",
30373014 "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.23.01.tgz",
30383015 "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
30393016 "license": "MIT",
30403017 "dependencies": {
30413018 "debug": "2.6.9",
30423019 "encodeurl": "~12.0.20",
30433020 "escape-html": "~1.0.3",
30443021 "on-finished": "2.4.1",
30453022 "parseurl": "~1.3.3",
@@ -4080,9 +4057,9 @@
40804057 }
40814058 },
40824059 "node_modules/load-bmfont": {
40834060 "version": "1.4.12",
40844061 "resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.12.tgz",
40854062 "integrity": "sha512-8UyQoYmdRDy81Brz6aLAUhfZLwr5zV0L3taTQ4hju7m6biuwiWiJXjPhBJxbUQJA8PrkvJqElWkmjW9Oq1F9EI5Gt7aD9zcdHb9spJCW1L/7Enqmwk2sM14soAdmPf7KzCCEJxq8nhHz5eCgI9aMf7vrG/wyaCqdsI+Iy9ZTlog==",
40864063 "license": "MIT",
40874064 "dependencies": {
40884065 "buffer-equal": "0.0.1",
@@ -4090,7 +4067,7 @@
40904067 "parse-bmfont-ascii": "^1.0.3",
40914068 "parse-bmfont-binary": "^1.0.5",
40924069 "parse-bmfont-xml": "^1.1.4",
40934070 "phin": "^23.97.1",
40944071 "xhr": "^2.0.1",
40954072 "xtend": "^4.0.0"
40964073 }
@@ -4692,13 +4669,13 @@
46924669 "license": "MIT"
46934670 },
46944671 "node_modules/parse-bmfont-xml": {
46954672 "version": "1.1.46",
46964673 "resolved": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.46.tgz",
46974674 "integrity": "sha512-bjnliEOmGv3y1aMEfREMBJ9tfL3WR0i0CKPj61DnSLaoxWR3nLrsQrEbCId/8rF4NyRF0cCqisSVXyQYWM0cEliVMZEhrFDwMh4SxIyVJpqYoOWDJ9P895tFuS+mCQXuNzI5UBmBk5U5O4KuJdTnZpSBI4LFA2+ZiJaiwfSwlMA==",
46984675 "license": "MIT",
46994676 "dependencies": {
47004677 "xml-parse-from-string": "^1.0.0",
47014678 "xml2js": "^0.4.5.0"
47024679 }
47034680 },
47044681 "node_modules/parse-headers": {
@@ -4814,6 +4791,7 @@
48144791 "version": "3.7.1",
48154792 "resolved": "https://registry.npmjs.org/phin/-/phin-3.7.1.tgz",
48164793 "integrity": "sha512-GEazpTWwTZaEQ9RhL7Nyz0WwqilbqgLahDM3D0hxWwmVDI52nXEybHqiN6/elwpkJBhcuj+WbBu+QfT0uhPGfQ==",
4794+ "license": "MIT",
48174795 "dependencies": {
48184796 "centra": "^2.7.0"
48194797 },
@@ -5032,12 +5010,12 @@
50325010 }
50335011 },
50345012 "node_modules/qs": {
50355013 "version": "6.1113.0",
50365014 "resolved": "https://registry.npmjs.org/qs/-/qs-6.1113.0.tgz",
50375015 "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/MaJzRkIk4QXOq7UU2Nx6nsjvS16Z9uwfpg==",
50385016 "license": "BSD-3-Clause",
50395017 "dependencies": {
50405018 "side-channel": "^1.0.46"
50415019 },
50425020 "engines": {
50435021 "node": ">=0.6"
@@ -5344,9 +5322,9 @@
53445322 }
53455323 },
53465324 "node_modules/sax": {
53475325 "version": "1.2.4.1",
53485326 "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.1.tgz",
53495327 "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9+aWOz7yVScEGoKNd4PA10LZ8sk0A/atZwz5+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWwnXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==",
53505328 "license": "ISC"
53515329 },
53525330 "node_modules/send": {
@@ -5373,6 +5351,15 @@
53735351 "node": ">= 0.8.0"
53745352 }
53755353 },
5354+ "node_modules/send/node_modules/encodeurl": {
5355+ "version": "1.0.2",
5356+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
5357+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
5358+ "license": "MIT",
5359+ "engines": {
5360+ "node": ">= 0.8"
5361+ }
5362+ },
53765363 "node_modules/send/node_modules/ms": {
53775364 "version": "2.1.3",
53785365 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
@@ -5380,15 +5367,15 @@
53805367 "license": "MIT"
53815368 },
53825369 "node_modules/serve-static": {
53835370 "version": "1.16.02",
53845371 "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.02.tgz",
53855372 "integrity": "sha512-pDLK8zwl2eKaYrs8mrPZBJua4hMplRWJ1tIFksVC3FtBEBnl8dxgeHtsaMS8DhS9i4fLObaon6ABoc4VqpjJZKadQB/hQGdPAPEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
53865373 "license": "MIT",
53875374 "dependencies": {
53885375 "encodeurl": "~12.0.20",
53895376 "escape-html": "~1.0.3",
53905377 "parseurl": "~1.3.3",
53915378 "send": "0.1819.0"
53925379 },
53935380 "engines": {
53945381 "node": ">= 0.8.0"
package.json+1 -10
@@ -12,7 +12,7 @@
1212 "cookie-session": "^2.1.0",
1313 "cors": "^2.8.5",
1414 "csrf-csrf": "^2.2.3",
1515 "express": "^4.2021.0",
1616 "form-data": "^4.0.0",
1717 "google-translate-api-browser": "^3.0.1",
1818 "he": "^1.2.0",
@@ -49,23 +49,14 @@
4949 "node": ">= 18"
5050 },
5151 "overrides": {
52- "parse-bmfont-xml": {
53- "xml2js": "^0.5.0"
54- },
5552 "vectra": {
5653 "openai": "^4.17.0"
5754 },
58- "load-bmfont": {
59- "phin": "^3.7.1"
60- },
6155 "axios": {
6256 "follow-redirects": "^1.15.4"
6357 },
6458 "node-fetch": {
6559 "whatwg-url": "^14.0.0"
66- },
67- "express": {
68- "send": "^0.19.0"
6960 }
7061 },
7162 "name": "sillytavern",
public/css/mobile-styles.css+9 -10
@@ -103,7 +103,6 @@
103103 touch-action: none;
104104 overflow: hidden;
105105 position: fixed;
106-
107106 }
108107
109108 .world_entry_form_control {
@@ -112,7 +111,7 @@
112111
113112 .drawer-content {
114113 min-width: unset;
115114 width: 100%100dvw;
116115 max-height: calc(100vh - 45px);
117116 max-height: calc(100dvh - 45px);
118117 position: fixed;
@@ -159,9 +158,9 @@
159158 #sheld,
160159 #character_popup,
161160 .drawer-content {
162161 width: 100%100dvw !important;
163162 margin: 0 auto;
164163 max-width: 100%100dvw;
165164 left: 0 !important;
166165 resize: none !important;
167166 top: var(--topBarBlockSize);
@@ -233,9 +232,9 @@
233232 /* 100vh are fallback units for browsers that don't support dvh */
234233 height: calc(100vh - 45px);
235234 height: calc(100dvh - 45px);
236235 min-width: 100%100dvw !important;
237236 width: 100%100dvw !important;
238237 max-width: 100%100dvw !important;
239238 overflow-y: hidden;
240239 border-left: 1px solid var(--SmartThemeBorderColor);
241240 border-right: 1px solid var(--SmartThemeBorderColor);
@@ -481,10 +480,10 @@
481480 margin: 0 auto;
482481 height: calc(100vh - 70px);
483482 height: calc(100dvh - 70px);
484483 width: calc(100%100dvw - 5px);
485484 max-height: calc(100vh - 70px);
486485 max-height: calc(100dvh - 70px);
487486 max-width: calc(100%100dvw - 5px);
488487
489488 }
490489
@@ -502,4 +501,4 @@
502501 #horde_model {
503502 height: unset;
504503 }
505-}
505 \ No newline at end of file
504+}
public/css/popup.css+4 -0
@@ -47,6 +47,10 @@ dialog {
4747 padding: 1px;
4848}
4949
50+.popup:not(:has(.img_enlarged_container)) .popup-body {
51+ max-height: 95dvh;
52+}
53+
5054.popup .popup-content {
5155 margin-top: 10px;
5256 padding: 0 8px;
public/img/down-arrow.svg+3 -0
@@ -0,0 +1,3 @@
1+<svg xmlns="http://www.w3.org/2000/svg" width="10" height="7">
2+ <polygon points="0,0 10,0 5,7" fill="#888888" />
3+</svg>
public/index.html+2 -2
@@ -1341,7 +1341,7 @@
13411341 </div>
13421342 </div>
13431343
13441344 <div data-tg-type="koboldcpp, aphrodite" id="xtc_block" class="wide100p">
13451345 <h4 class="wide100p textAlignCenter">
13461346 <label data-i18n="Exclude Top Choices (XTC)">Exclude Top Choices (XTC)</label>
13471347 <a href="https://github.com/oobabooga/text-generation-webui/pull/6335" target="_blank">
@@ -1401,7 +1401,7 @@
14011401 </div>
14021402 </div>
14031403 </div>
14041404 <div data-tg-type="ooba, mancer, koboldcpp, tabby, llamacpp, aphrodite" id="dynatemp_block_ooba" class="wide100p">
14051405 <h4 class="wide100p textAlignCenter">
14061406 <div class="flex-container alignitemscenter justifyCenter">
14071407 <div class="checkbox_label" for="dynatemp_textgenerationwebui">
public/scripts/RossAscends-mods.js+10 -0
@@ -737,6 +737,16 @@ export function initRossMods() {
737737 RA_autoconnect();
738738 }
739739
740+ if (isMobile()) {
741+ const fixFunkyPositioning = () => {
742+ console.debug('[Mobile] Device viewport change detected.');
743+ document.documentElement.style.position = 'fixed';
744+ requestAnimationFrame(() => document.documentElement.style.position = '');
745+ };
746+ window.addEventListener('resize', fixFunkyPositioning);
747+ window.addEventListener('orientationchange', fixFunkyPositioning);
748+ }
749+
740750 $('#main_api').change(function () {
741751 var PrevAPI = main_api;
742752 setTimeout(() => RA_autoconnect(PrevAPI), 100);
public/scripts/extensions/stable-diffusion/settings.html+1 -1
@@ -349,7 +349,7 @@
349349 </div>
350350 </div>
351351
352352 <div class="flex-container marginTopBot5" data-sd-source="auto,vlad,extras,horde,drawthings,comfy">
353353 <label class="flex1 checkbox_label">
354354 <input id="sd_restore_faces" type="checkbox" />
355355 <small data-i18n="Restore Faces">Restore Faces</small>
public/scripts/openai.js+1 -1
@@ -2885,7 +2885,7 @@ export class ChatCompletion {
28852885 const message = { role: item.role, content: item.content, ...(item.name ? { name: item.name } : {}) };
28862886 chat.push(message);
28872887 } else {
28882888 consolethis.warnlog('Invalid`Skipping invalid or empty message in collection',: ${JSON.stringify(item)}`);
28892889 }
28902890 }
28912891 return chat;
public/scripts/textgen-settings.js+7 -1
@@ -1203,7 +1203,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
12031203 'repetition_penalty': settings.rep_pen,
12041204 'seed': settings.seed >= 0 ? settings.seed : undefined,
12051205 'stop': getStoppingStrings(isImpersonate, isContinue),
1206- 'temperature': settings.temp,
1206+ 'temperature': dynatemp ? (settings.min_temp + settings.max_temp) / 2 : settings.temp,
12071207 'temperature_last': settings.temperature_last,
12081208 'top_p': settings.top_p,
12091209 'top_k': settings.top_k,
@@ -1223,6 +1223,12 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
12231223 'guided_json': settings.json_schema,
12241224 'early_stopping': false, // hacks
12251225 'include_stop_str_in_output': false,
1226+ 'dynatemp_min': dynatemp ? settings.min_temp : undefined,
1227+ 'dynatemp_max': dynatemp ? settings.max_temp : undefined,
1228+ 'dynatemp_exponent': dynatemp ? settings.dynatemp_exponent : undefined,
1229+ 'xtc_threshold': settings.xtc_threshold,
1230+ 'xtc_probability': settings.xtc_probability,
1231+ 'custom_token_bans': toIntArray(banned_tokens),
12261232 };
12271233
12281234 if (settings.type === OPENROUTER) {
public/style.css+7 -2
@@ -2570,20 +2570,25 @@ input[type="file"] {
25702570/*#################################################################*/
25712571
25722572select {
2573-
2573+ -moz-appearance: none;
2574+ -webkit-appearance: none;
2575+ appearance: none;
25742576 padding: 3px 2px;
25752577 background-color: var(--black30a);
25762578 border: 1px solid var(--SmartThemeBorderColor);
25772579 border-radius: 5px;
25782580 margin-bottom: 5px;
25792581 height: min-content;
2582+ background-image: url('/img/down-arrow.svg');
2583+ background-repeat: no-repeat;
2584+ background-position: right 6px center;
2585+ background-size: 8px 5px;
25802586}
25812587
25822588select option {
25832589 /* works to highlight selected/active option */
25842590 background-color: var(--white50a);
25852591 color: var(--black70a);
2586-
25872592}
25882593
25892594select option:not(:checked) {