Commit Graph

7753 Commits

Author SHA1 Message Date
Cohee 838dfaab80
Merge pull request #2978 from honey-tree/lb-extensions-retention
LB entry extensions field retention through card exports/imports
2024-10-12 20:13:01 +03:00
Honey Tree 3e9bad6845 Preserving the entry extensions field through v2 char exports and imports 2024-10-12 12:30:15 -03:00
Cohee 731bbec9ab
Merge pull request #2974 from SillyTavern/es-modules
Migrate Node server to ES Modules
2024-10-12 12:47:24 +03:00
Cohee 131e60ffe6 Update node types 2024-10-12 11:36:26 +03:00
Cohee 89c0b0e1cd Replace Google Translate API package 2024-10-12 10:47:05 +03:00
Cohee b0d0f2111b Tool Calling: Reserve prompt budget for tool definitions. 2024-10-12 00:22:37 +03:00
RossAscends 5d6d7568c3 clarify QR popout only possible on desktop 2024-10-12 06:01:44 +09:00
RossAscends d772d24052 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-10-12 05:58:42 +09:00
RossAscends cdb271e6ec fix QR popout controlBar display, hide QR popout button for mobile 2024-10-12 05:58:39 +09:00
Cohee ffa8716d07 Plugins: support .cjs module extension 2024-10-11 23:00:37 +03:00
Cohee fa84b3ede4 Fix legacy config conversion 2024-10-11 22:32:30 +03:00
Cohee 9dcf3c27e9 Merge branch 'staging' into es-modules 2024-10-11 22:20:45 +03:00
Cohee ac50cec02f
Merge pull request #2971 from honey-tree/world_info_force_activate_expansion
Expand WORLDINFO_FORCE_ACTIVATE API to allow for dynamically modified entries
2024-10-11 22:20:19 +03:00
Cohee 6f4e98024a [chore] Add a log on force activation 2024-10-11 22:10:25 +03:00
Cohee b65da795ef [chore] Fix comments/logs 2024-10-11 21:59:55 +03:00
Cohee a82dce7c87 Merge branch 'staging' into world_info_force_activate_expansion 2024-10-11 21:52:55 +03:00
Cohee 4fcad0752f [chore] Fix type errors 2024-10-11 21:33:36 +03:00
Cohee 161fc7f0f0 STscript: don't parse boolean operands as 0 for strings containing just spaces 2024-10-11 21:01:32 +03:00
Cohee 72138c632d [chore] Remove unused import 2024-10-11 20:58:06 +03:00
Cohee bee19908e7 [chore] Fix type error in post-install 2024-10-11 20:38:19 +03:00
Cohee ab2427142c [chore] Fix type errors in server.js 2024-10-11 20:34:13 +03:00
Cohee afc3bfb740 Install correct version of express types 2024-10-11 20:33:55 +03:00
Cohee 90eef29982 Merge branch 'staging' into es-modules 2024-10-11 20:30:23 +03:00
Cohee 44e73fbf27
Merge pull request #2975 from akvadrako/together-ai-new-image-api
Support the non-deprecated Together.ai Create Image API
2024-10-11 20:29:31 +03:00
Cohee 34b1fa2cff [chore] Run code format 2024-10-11 20:28:54 +03:00
Devin Bayer ed8e379e54 support new together.ai image generation api 2024-10-11 17:48:33 +02:00
Cohee fe33519422 Image Generation: Don't replace dots with commas 2024-10-11 15:32:45 +00:00
Cohee 5ff58e20c1 Plugins: Fix classic commonjs single file modules 2024-10-11 08:43:01 +00:00
Cohee a0889a15fd Explicitly import node process 2024-10-11 10:43:29 +03:00
Cohee 7ca1b2e532 Remove node polyfill 2024-10-11 10:33:09 +03:00
Cohee 0c8ccf1765 Update module imports 2024-10-11 00:41:08 +03:00
Cohee a0e6030836 Simplify node imports 2024-10-11 00:28:17 +03:00
Cohee 4bafacaec4 Add usage for plugins.js 2024-10-11 00:08:53 +03:00
Cohee 8afa887d07 Fix relative import in recover.js 2024-10-11 00:07:00 +03:00
Cohee c67c0cbf7e Fix dirname for Node 18 2024-10-11 00:06:02 +03:00
Cohee 478976f647 Fix open autorun import 2024-10-10 23:50:51 +03:00
Cohee 0355bc7a85 Fix globalAgent assignment 2024-10-10 23:49:33 +03:00
Cohee 1616e7e067 Explicitly import Buffer. Specify jsdoc local extensions 2024-10-10 23:36:22 +03:00
Cohee d52b4fbbde Node: Migrate to ES Modules 2024-10-10 22:37:22 +03:00
Cohee dcd3f13e62
Merge pull request #2973 from honey-tree/gemini-fix-electric-boogaloo
Remove a trailing slash from the Gemini API URL in case it gets added in by URL.toString
2024-10-10 21:16:28 +03:00
Honey Tree ac05840b81 Remove a trailing slash from the API URL in case it gets added in by URL.toString 2024-10-10 14:58:03 -03:00
Cohee 5a52196331
Merge pull request #2967 from KhreedAI/staging
Fix World Info Entry Priority Sort
2024-10-10 19:33:26 +03:00
Honey Tree 61ba579fe2 Moving check down for spec adherence 2024-10-10 12:03:26 -03:00
Honey Tree 0d1e96cc17 Map.get returns undefined and not null on empty 2024-10-10 11:44:13 -03:00
Khreed efb63c7f24 Re-evaluate world info entry - simplified priority sort order
Changed priority primarySort ternary to check disabled first, then constant, then normal.
2024-10-10 10:19:16 -04:00
Honey Tree 7fd798b854 Typing fixes to avoid breaking any APIs 2024-10-10 10:12:19 -03:00
Honey Tree 6efa36bdbf Expand WORLD_INFO_FORCE_ACTIVATE API to allow for dynamically modified Lorebook entries 2024-10-10 09:52:54 -03:00
Cohee 357c2e0756
Merge pull request #2970 from QuantumEntangledAndy/bug/modalPolyfilCenter
Center the crop popup on change, when polyfilled
2024-10-10 11:35:03 +03:00
QuantumEntangledAndy b05d5e12fe
Use a resize observer to center the popup after an image is loaded when polyfilled 2024-10-10 10:41:40 +07:00
RossAscends 6cca977d07 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-10-10 11:08:53 +09:00