Commit graph

13 commits

Author SHA1 Message Date
Darkatse
f4e41588b6 refactor(agent): Split model gateway into provider modules
- preserve the canonical AgentModelRequest/AgentModelResponse boundary
- isolate OpenAI Responses continuation and provider schema sanitization
- expand gateway tests for native metadata loss and cross-provider state
- update Agent docs to reflect the completed Phase 2D gateway baseline
- remove the obsolete SkillImportExport draft
- add the Agent design plan as historical background
2026-05-02 23:10:38 -04:00
Darkatse
286aba7954 Refactoring (Extension Compatibility): Third-party extension compatibility refactoring. Start 1.5.0 branch 2026-03-08 17:35:03 -04:00
Darkatse
e78703595c feat (extension): Added GitLab/Gitee support 2026-03-07 15:41:23 -05:00
Darkatse
862509e0c5 Refactoring (chat): chat slice loading 2026-03-01 00:16:19 -05:00
Darkatse
87b9eea129 Refactoring (chat): chat service backend chain has been changed to direct file path reading. 2026-02-28 20:07:52 -05:00
Darkatse
a4993159ba refactor: Chat backend performance optimization 2026-02-18 13:45:34 +08:00
Darkatse
771e80c34f fix: alternate_greetings import 2026-02-18 06:59:49 +08:00
Darkatse
6ecfcbfc41 refactor: chat backend refactoring 2026-02-16 12:45:39 +08:00
Darkatse
f06a7c6b17 refactor: extension adapter 2026-02-16 09:25:14 +08:00
Darkatse
1e4652c736 Backend implementations of OpenAI (compatible), Claude, and Gemini APIs 2026-02-10 22:48:51 -05:00
Darkatse
feb6bf97f5 Refactor the architecture; synchronize with upstream Sillytavern version 1.15.0. 2026-02-10 17:04:12 -05:00
Darkatse
3e732292af feat: Implement Tauri adapters for characters, chats, groups, and themes
- Refactored characters-adapter.js to intercept API calls for character management, replacing original function patches with fetch overrides.
- Updated chats-adapter.js to similarly intercept chat-related API calls, enhancing error handling and logging.
- Introduced theme management with new DTOs, services, and repositories for theme saving and deletion.
- Created file-based theme repository for persistent storage of themes.
- Developed themes-api.js to provide a Tauri backend interface for theme operations.
- Established themes-adapter.js to integrate the themes API with Tauri, handling fetch overrides for theme-related requests.
2025-05-25 17:28:57 +08:00
Darkatse
15b68908bf Initial backend refactor to Rust with Clean Architecture
This commit introduces the initial phase of refactoring the SillyTavern backend
from Node.js to Rust, adopting a Clean Architecture approach. This foundational
work aims to improve performance, maintainability, and type safety.

Key accomplishments in this commit include:

* **Backend Refactoring & Architecture:**
    * Restructured the backend codebase based on Clean Architecture principles.
    * Implemented the core backend logic in Rust for several key modules.

* **API Endpoints Ported to Rust:**
    * The following API endpoints have been successfully refactored to Rust:
        - `/api/version`
        - `/api/secrets`
        - `/api/settings`
        - `/api/avatars`
        - `/api/chats`
        - `/api/characters`
        - `/api/groups`
        - `/api/backgrounds`

* **Frontend Integration:**
    * Injected Tauri adapters and necessary API communication layers into the
        original SillyTavern frontend to interface with the new Rust backend.

* **Documentation:**
    * Authored initial project documentation, including a Product Requirements
        Document (PRD) and a comprehensive backend architecture overview.

This commit lays the groundwork for further development and migration of
remaining features to the new Rust-based backend.
2025-05-09 18:00:59 +08:00