Files
SillyTavern/public/scripts
erew123 e857db40fb Updated AllTalk Extension to support AllTalk V2
1. Core Feature Addition:
   - Added AllTalk V1/V2 server version selection
   - Added RVC (Realistic Voice Conversion) support for V2
   - RVC features are automatically disabled when V1 is selected

2. Code Improvements:
   - Replaced custom debounce implementation with shared utils.js debounce utility
   - Fixed linting issues:
     - Converted HTML attribute quotes in template literals to single quotes
     - Added trailing commas where required
     - Fixed console.error message formatting

3. New Settings/Properties Added:
   ```javascript
   server_version: 'v2' (default)
   rvc_character_voice: 'Disabled'
   rvc_character_pitch: '0'
   rvc_narrator_voice: 'Disabled'
   rvc_narrator_pitch: '0'
   ```

4. Bug Fixes/Improvements:
   - Better error handling for RVC voice fetching
   - Improved URL handling for V1/V2 differences in API responses
   - Enhanced settings initialization and validation

5. Structural Changes:
   - Added RVC-specific UI elements and controls
   - Added version-specific logic for API endpoints
   - Improved settings synchronization between UI and backend

**NOTE** On line 70 there is an eslint bypass:

```javascript
        // HTML template literals can trigger ESLint quotes warnings when quotes are used in HTML attributes.
        // Disabling quotes rule for this one line as it's a false positive with HTML template literals.
        // eslint-disable-next-line quotes
        let html = `<div class="at-settings-separator">AllTalk V2 Settings</div>`;
```

The reason is:
1. ESLint's quotes rule wants all strings to use single quotes
2. However, this is a template literal containing HTML, where double quotes are standard for attributes
3. I tried various solutions:
   - Using single quotes: `<div class='at-settings-separator'>`
   - Using double quotes: `<div class="at-settings-separator">`
   - Even tried escaping quotes
   But ESLint just kept flagging it as an error
2024-11-15 13:14:38 +00:00
..
2024-10-06 13:01:14 +03:00
2024-10-01 21:25:20 +07:00
2024-09-13 21:35:42 +03:00
2024-10-18 19:46:37 +03:00
2024-10-13 14:02:53 +03:00
2023-12-10 20:02:25 +02:00
2024-07-04 20:14:50 +03:00
2024-06-13 23:55:28 +02:00
2024-10-13 14:02:53 +03:00
2023-12-02 21:56:16 +02:00
2024-10-06 19:13:01 +03:00
2024-10-28 11:07:39 +02:00
2024-10-06 19:12:28 +03:00
2024-06-18 11:32:50 +03:00
2024-07-04 01:41:21 +03:00
2024-10-13 14:02:53 +03:00
2023-12-18 17:32:10 +02:00
2024-10-13 14:02:53 +03:00
2024-09-16 22:08:40 +03:00
2024-10-09 01:31:45 +03:00
2024-10-23 23:38:17 +03:00
2023-12-02 13:04:51 -05:00
2023-12-02 13:04:51 -05:00
2023-12-02 22:06:57 +02:00
2024-10-14 10:02:39 +00:00
2024-03-03 19:36:40 +02:00
2024-09-25 14:58:24 +00:00
2024-09-29 03:20:01 +02:00
2024-04-11 22:36:23 +03:00
2024-10-07 09:17:43 +07:00
2024-10-28 11:07:39 +02:00
2024-10-13 14:02:53 +03:00