sillytavern 1.8.4 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/readme.md +6 -7
- package/colab/GPU.ipynb +4 -0
- package/package.json +4 -4
- package/public/TextGen Settings/Asterism.settings +4 -1
- package/public/TextGen Settings/Beam Search.settings +4 -1
- package/public/TextGen Settings/Big O.settings +4 -1
- package/public/TextGen Settings/Contrastive Search.settings +4 -1
- package/public/TextGen Settings/Default.settings +4 -1
- package/public/TextGen Settings/Deterministic.settings +4 -1
- package/public/TextGen Settings/Divine Intellect.settings +4 -1
- package/public/TextGen Settings/Kobold (Godlike).settings +4 -1
- package/public/TextGen Settings/Kobold (Liminal Drift).settings +4 -1
- package/public/TextGen Settings/LLaMa-Precise.settings +4 -1
- package/public/TextGen Settings/Midnight Enigma.settings +4 -1
- package/public/TextGen Settings/Mirostat.settings +22 -0
- package/public/TextGen Settings/Naive.settings +4 -1
- package/public/TextGen Settings/NovelAI (Best Guess).settings +4 -1
- package/public/TextGen Settings/NovelAI (Decadence).settings +4 -1
- package/public/TextGen Settings/NovelAI (Genesis).settings +4 -1
- package/public/TextGen Settings/NovelAI (Lycaenidae).settings +4 -1
- package/public/TextGen Settings/NovelAI (Ouroboros).settings +4 -1
- package/public/TextGen Settings/NovelAI (Pleasing Results).settings +4 -1
- package/public/TextGen Settings/NovelAI (Sphinx Moth).settings +4 -1
- package/public/TextGen Settings/NovelAI (Storywriter).settings +4 -1
- package/public/TextGen Settings/Pygmalion.settings +4 -1
- package/public/TextGen Settings/Shortwave.settings +4 -1
- package/public/TextGen Settings/Simple-1.settings +4 -1
- package/public/TextGen Settings/Space Alien.settings +4 -1
- package/public/TextGen Settings/StarChat.settings +4 -1
- package/public/TextGen Settings/TFS-with-Top-A.settings +4 -1
- package/public/TextGen Settings/Titanic.settings +4 -1
- package/public/TextGen Settings/Yara.settings +4 -1
- package/public/backgrounds/forest treehouse fireworks air baloons (by kallmeflocc).jpg +0 -0
- package/public/i18n.json +1454 -74
- package/public/index.html +686 -565
- package/public/movingUI/Black Magic Time.json +45 -0
- package/public/movingUI/Default.json +4 -0
- package/public/script.js +633 -213
- package/public/scripts/RossAscends-mods.js +107 -31
- package/public/scripts/{extensions/floating-prompt/index.js → authors-note.js} +41 -134
- package/public/scripts/bookmarks.js +19 -5
- package/public/scripts/extensions/caption/index.js +45 -4
- package/public/scripts/extensions/dice/index.js +1 -10
- package/public/scripts/extensions/expressions/index.js +155 -20
- package/public/scripts/extensions/expressions/style.css +16 -16
- package/public/scripts/extensions/infinity-context/index.js +258 -114
- package/public/scripts/extensions/randomize/index.js +152 -0
- package/public/scripts/extensions/{floating-prompt → randomize}/manifest.json +3 -3
- package/public/scripts/extensions/randomize/style.css +0 -0
- package/public/scripts/extensions/regex/dropdown.html +17 -0
- package/public/scripts/extensions/regex/editor.html +107 -0
- package/public/scripts/extensions/regex/engine.js +194 -0
- package/public/scripts/extensions/regex/index.js +260 -0
- package/public/scripts/extensions/regex/manifest.json +11 -0
- package/public/scripts/extensions/regex/scriptTemplate.html +12 -0
- package/public/scripts/extensions/regex/style.css +20 -0
- package/public/scripts/extensions/stable-diffusion/index.js +27 -2
- package/public/scripts/extensions.js +223 -32
- package/public/scripts/group-chats.js +39 -4
- package/public/scripts/kai-settings.js +1 -1
- package/public/scripts/openai.js +275 -101
- package/public/scripts/power-user.js +223 -46
- package/public/scripts/secrets.js +2 -2
- package/public/scripts/seedrandom.min.js +1 -0
- package/public/scripts/slash-commands.js +75 -4
- package/public/scripts/stats.js +294 -0
- package/public/scripts/tags.js +12 -7
- package/public/scripts/textgen-settings.js +9 -0
- package/public/scripts/user-agent/user-agent.js +154 -0
- package/public/scripts/user-agent/user-agents.json +3949 -0
- package/public/scripts/utils.js +8 -0
- package/public/scripts/world-info.js +69 -17
- package/public/style.css +353 -52
- package/server.js +682 -421
- package/statsHelpers.js +422 -0
- package/poe-test.js +0 -21
- package/public/scripts/extensions/floating-prompt/style.css +0 -67
- package/public/scripts/poe.js +0 -572
- package/src/poe-client.js +0 -835
- package/src/poe_graphql/AddHumanMessageMutation.graphql +0 -52
- package/src/poe_graphql/AddMessageBreakMutation.graphql +0 -17
- package/src/poe_graphql/AutoSubscriptionMutation.graphql +0 -7
- package/src/poe_graphql/BioFragment.graphql +0 -8
- package/src/poe_graphql/ChatAddedSubscription.graphql +0 -5
- package/src/poe_graphql/ChatFragment.graphql +0 -6
- package/src/poe_graphql/ChatListPaginationQuery.graphql +0 -316
- package/src/poe_graphql/ChatPaginationQuery.graphql +0 -26
- package/src/poe_graphql/ChatViewQuery.graphql +0 -8
- package/src/poe_graphql/DeleteHumanMessagesMutation.graphql +0 -7
- package/src/poe_graphql/DeleteMessageMutation.graphql +0 -7
- package/src/poe_graphql/HandleFragment.graphql +0 -8
- package/src/poe_graphql/LoginWithVerificationCodeMutation.graphql +0 -13
- package/src/poe_graphql/MessageAddedSubscription.graphql +0 -115
- package/src/poe_graphql/MessageDeletedSubscription.graphql +0 -8
- package/src/poe_graphql/MessageFragment.graphql +0 -13
- package/src/poe_graphql/MessageRemoveVoteMutation.graphql +0 -7
- package/src/poe_graphql/MessageSetVoteMutation.graphql +0 -7
- package/src/poe_graphql/SendMessageMutation.graphql +0 -40
- package/src/poe_graphql/SendVerificationCodeForLoginMutation.graphql +0 -12
- package/src/poe_graphql/ShareMessagesMutation.graphql +0 -9
- package/src/poe_graphql/SignupWithVerificationCodeMutation.graphql +0 -13
- package/src/poe_graphql/StaleChatUpdateMutation.graphql +0 -7
- package/src/poe_graphql/SubscriptionsMutation.graphql +0 -9
- package/src/poe_graphql/SummarizePlainPostQuery.graphql +0 -3
- package/src/poe_graphql/SummarizeQuotePostQuery.graphql +0 -3
- package/src/poe_graphql/SummarizeSharePostQuery.graphql +0 -3
- package/src/poe_graphql/UserSnippetFragment.graphql +0 -14
- package/src/poe_graphql/ViewerInfoQuery.graphql +0 -21
- package/src/poe_graphql/ViewerMessageLimitUpdatedSubscription.graphql +0 -81
- package/src/poe_graphql/ViewerStateFragment.graphql +0 -30
- package/src/poe_graphql/ViewerStateUpdatedSubscription.graphql +0 -63
- /package/public/scripts/{extensions/dice/droll.js → droll.js} +0 -0
package/.github/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
Mobile-friendly, Multi-API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI+proxies,
|
|
3
|
+
Mobile-friendly, Multi-API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI+proxies, WindowAI(Claude!)), VN-like Waifu Mode, Horde SD, System TTS, WorldInfo (lorebooks), customizable UI, auto-translate, and more prompt options than you'd ever want or need. Optional Extras server for more SD/TTS options + ChromaDB/Summarize.
|
|
4
4
|
|
|
5
5
|
Based on a fork of TavernAI 1.2.8
|
|
6
6
|
|
|
@@ -65,10 +65,9 @@ Get in touch with the developers directly:
|
|
|
65
65
|
* Chat bookmarks / branching (duplicates the dialogue in its current state)
|
|
66
66
|
* Advanced KoboldAI / TextGen generation settings with a lot of community-made presets
|
|
67
67
|
* World Info support: create rich lore or save tokens on your character card
|
|
68
|
-
* Window AI browser extension support (run models like Claude, GPT 4): https://windowai.io
|
|
68
|
+
* Window AI browser extension support (run models like Claude, GPT 4): <https://windowai.io/>
|
|
69
69
|
* [Oobabooga's TextGen WebUI](https://github.com/oobabooga/text-generation-webui) API connection
|
|
70
70
|
* [AI Horde](https://horde.koboldai.net/) connection
|
|
71
|
-
* [Poe.com](https://poe.com) (ChatGPT / Claude) connection
|
|
72
71
|
* Prompt generation formatting tweaking
|
|
73
72
|
* webp character card interoperability (PNG is still an internal format)
|
|
74
73
|
|
|
@@ -224,7 +223,7 @@ If you (or someone else) want to connect to your hosted ST while not being on th
|
|
|
224
223
|
|
|
225
224
|
* While using the ST-hosting device, access [this page](https://whatismyipaddress.com/) and look for for `IPv4`. This is what you would use to connect from the remote device.
|
|
226
225
|
|
|
227
|
-
### 3. Connect the remote device to the ST host machine
|
|
226
|
+
### 3. Connect the remote device to the ST host machine
|
|
228
227
|
|
|
229
228
|
Whatever IP you ended up with for your situation, you will put that IP address and port number into the remote device's web browser.
|
|
230
229
|
|
|
@@ -298,11 +297,11 @@ GNU Affero General Public License for more details.**
|
|
|
298
297
|
* Waifu mode inspired by the work of PepperTaco (<https://github.com/peppertaco/Tavern/>)
|
|
299
298
|
* Thanks Pygmalion University for being awesome testers and suggesting cool features!
|
|
300
299
|
* Thanks oobabooga for compiling presets for TextGen
|
|
301
|
-
* poe-api client adapted from <https://github.com/ading2210/poe-api> (GPL v3)
|
|
302
|
-
* GraphQL files for poe: <https://github.com/muharamdani/poe> (ISC License)
|
|
303
300
|
* KoboldAI Presets from KAI Lite: <https://lite.koboldai.net/>
|
|
304
301
|
* Noto Sans font by Google (OFL license)
|
|
305
302
|
* Icon theme by Font Awesome <https://fontawesome.com> (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
306
|
-
* AI Horde client library by ZeldaFan0225: https://github.com/ZeldaFan0225/ai_horde
|
|
303
|
+
* AI Horde client library by ZeldaFan0225: <https://github.com/ZeldaFan0225/ai_horde>
|
|
307
304
|
* Linux startup script by AlpinDale
|
|
308
305
|
* Thanks paniphons for providing a FAQ document
|
|
306
|
+
* 10K Discord Users Celebratory Background by @kallmeflocc
|
|
307
|
+
* Korean translation by @doloroushyeonse
|
package/colab/GPU.ipynb
CHANGED
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"outputs": [],
|
|
34
34
|
"source": [
|
|
35
|
+
"#@markdown (RECOMMENDED) Generates an API key for you to use with the API\n",
|
|
36
|
+
"secure = False #@param {type:\"boolean\"}\n",
|
|
35
37
|
"#@markdown Enables hosting of extensions backend for SillyTavern Extras\n",
|
|
36
38
|
"use_cpu = False #@param {type:\"boolean\"}\n",
|
|
37
39
|
"#@markdown Allows to run SillyTavern Extras on CPU (use if you're out of daily GPU allowance)\n",
|
|
@@ -80,6 +82,8 @@
|
|
|
80
82
|
" params.append('--cpu')\n",
|
|
81
83
|
"if use_sd_cpu:\n",
|
|
82
84
|
" params.append('--sd-cpu')\n",
|
|
85
|
+
"if secure:\n",
|
|
86
|
+
" params.append('--secure')\n",
|
|
83
87
|
"params.append('--share')\n",
|
|
84
88
|
"ExtrasModules = []\n",
|
|
85
89
|
"\n",
|
package/package.json
CHANGED
|
@@ -29,10 +29,11 @@
|
|
|
29
29
|
"png-chunks-encode": "^1.0.0",
|
|
30
30
|
"png-chunks-extract": "^1.0.0",
|
|
31
31
|
"response-time": "^2.3.2",
|
|
32
|
-
"rimraf": "^3.0.2",
|
|
33
32
|
"sanitize-filename": "^1.6.3",
|
|
34
33
|
"sentencepiece-js": "^1.1.0",
|
|
34
|
+
"simple-git": "^3.19.1",
|
|
35
35
|
"uniqolor": "^1.1.0",
|
|
36
|
+
"user-agents": "^1.0.1444",
|
|
36
37
|
"webp-converter": "2.3.2",
|
|
37
38
|
"ws": "^8.13.0",
|
|
38
39
|
"yargs": "^17.7.1",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"type": "git",
|
|
50
51
|
"url": "https://github.com/SillyTavern/SillyTavern.git"
|
|
51
52
|
},
|
|
52
|
-
"version": "1.
|
|
53
|
+
"version": "1.9.0",
|
|
53
54
|
"scripts": {
|
|
54
55
|
"start": "node server.js",
|
|
55
56
|
"pkg": "pkg --compress Gzip --no-bytecode --public ."
|
|
@@ -69,8 +70,7 @@
|
|
|
69
70
|
"node18-windows-x64"
|
|
70
71
|
],
|
|
71
72
|
"assets": [
|
|
72
|
-
"node_modules/**/*"
|
|
73
|
-
"src/poe_graphql/**/*"
|
|
73
|
+
"node_modules/**/*"
|
|
74
74
|
],
|
|
75
75
|
"outputPath": "dist",
|
|
76
76
|
"scripts": [
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"temp": 1,
|
|
3
|
+
"top_p": 1,
|
|
4
|
+
"top_k": 0,
|
|
5
|
+
"typical_p": 1,
|
|
6
|
+
"top_a": 0,
|
|
7
|
+
"tfs": 1,
|
|
8
|
+
"epsilon_cutoff": 0,
|
|
9
|
+
"eta_cutoff": 0,
|
|
10
|
+
"rep_pen": 1,
|
|
11
|
+
"no_repeat_ngram_size": 0,
|
|
12
|
+
"penalty_alpha": 0,
|
|
13
|
+
"num_beams": 1,
|
|
14
|
+
"length_penalty": 1,
|
|
15
|
+
"min_length": 0,
|
|
16
|
+
"encoder_rep_pen": 1,
|
|
17
|
+
"do_sample": true,
|
|
18
|
+
"early_stopping": false,
|
|
19
|
+
"mirostat_mode": 2,
|
|
20
|
+
"mirostat_tau": 8,
|
|
21
|
+
"mirostat_eta": 0.1
|
|
22
|
+
}
|