Commit Graph
100 Commits
Author SHA1 Message Date
misyaguziya 50c85ccd75 [Update] バージョン番号を3.3.2から3.4.0に更新 2026-01-17 11:59:07 +09:00
misyaguziya d4036e758c Merge branch 'readme' into develop 2026-01-14 15:32:43 +09:00
misyaguziya 0921ef578b [Update] テレメトリー機能を追加し、匿名データ収集の詳細をREADMEに記載 2026-01-14 15:27:40 +09:00
misyaguziya 6d34d6b041 Merge branch 'bugfix_clipboard' into develop 2026-01-13 21:12:19 +09:00
misyaguziya 4e5acd4ac3 [Update] クリップボード機能を統合し、コピーとペーストを一度の呼び出しで実行できるように変更 2026-01-13 21:12:05 +09:00
misyaguziya ba0f834fbd Merge branch 'bugfix_trans_model_name' into develop 2026-01-13 15:25:17 +09:00
misyaguziya c257591b21 [Update] 後方互換性のためのモデルの重みディレクトリ名変更機能を追加 2026-01-13 15:25:01 +09:00
misyaguziya d39d5a198e [Update] 互換性のために古いモデルのディレクトリ名を変更する機能を追加 2026-01-13 11:15:31 +09:00
misyaguziya 19f5c4fa75 Merge branch 'bugfix_tans_lang' into develop 2026-01-13 10:44:04 +09:00
misyaguziya 0f9f7ec3f3 [Update] 英語とポルトガル語の表記を修正 2026-01-13 10:40:46 +09:00
misyaguziya 44f7a414ad Merge branch 'bugfix_llm_select' into develop 2026-01-11 17:58:31 +09:00
misyaguziya a31e47bf85 [Update] 翻訳エンジンのバックグラウンドチェックを削除し、エンジンのステータス確認を簡素化 2026-01-11 14:27:23 +09:00
misyaguziya 7dab5c4c06 Merge branch 'docs' into develop 2026-01-11 08:55:45 +09:00
misyaguziya 4559d83766 [Update] クリップボード機能の設計書を追加し、設定およびコントローラーの制御を明記 2026-01-11 08:55:30 +09:00
misyaguziya 40d2678c23 Merge branch 'bugfix_llm' into develop 2026-01-11 07:31:34 +09:00
misyaguziya bf7d2e61a7 [Update] 翻訳者クラスにLM StudioおよびOllamaの接続状態を管理する機能を追加 2026-01-10 23:50:36 +09:00
misyaguziya 7834a98a54 Merge branch 'bugfix_pip_list' into develop 2026-01-10 02:51:14 +09:00
misyaguziya bdd43eb3cb ペースト機能のために必要なパッケージを追加 2026-01-10 02:51:01 +09:00
misyaguziya d51b069bb2 Merge branch 'develop' of https://github.com/misyaguziya/VRCT into develop 2026-01-10 02:19:26 +09:00
misyaguziya 2d7f9b35ad Merge branch 'copy_and_paste' into develop
# Conflicts:
#	src-python/config.py
#	src-python/model.py
2026-01-10 02:19:01 +09:00
misyaguziya c2a906fca8 [Update] クリップボード機能の強化: VRモニタリングをバックグラウンドスレッドで実行し、機能の有効化/無効化を追加 2026-01-10 02:13:20 +09:00
misyaguziya 718706b2e4 Merge branch 'telemetry' into develop 2026-01-09 23:50:33 +09:00
misyaguziya 1bbc9e6182 feat: テレメトリ設定のプロパティ名を変更し、APIを追加してテレメトリの有効化/無効化を管理 2026-01-09 23:49:39 +09:00
misyaguziya c371eeff96 Merge branch 'telemetry' into develop 2026-01-09 22:34:26 +09:00
misyaguziya 19af0ea918 refactor: 不要なシャットダウン処理を削除し、アプリ終了時のテレメトリ送信を簡素化 2026-01-09 22:30:01 +09:00
misyaguziya 7336d01469 [Update] クリップボード機能の統合: コピーおよびペーストの設定を一つのプロパティにまとめ、関連するメソッドを整理 2026-01-09 19:35:55 +09:00
misyaguziya 4b29b283a1 Merge branch 'develop' into copy_and_paste 2026-01-09 19:18:58 +09:00
misyaguziya 3f646a97d8 Merge branch 'refactoring_backend' into develop 2026-01-09 10:01:00 +09:00
misyaguziya d4a5a1ca6f 一旦フロントエンドまで接続 2026-01-09 10:00:33 +09:00
misyaguziya d157dc8b7b feat: テレメトリ機能を追加し、アプリの起動・終了時にイベントを送信するように変更 2026-01-08 09:16:18 +09:00
misyaguziya 4eb61fa4b7 feat: アプリ終了時の app_closed イベント処理を追加 2026-01-05 22:38:17 +09:00
misyaguziya 300c0d4648 feat: テレメトリ実装設計書を追加 2026-01-05 21:55:45 +09:00
misyaguziya c60995a0fe [Update] 初期化プロセスのログ出力を整理し、不要な時間計測を削除 2026-01-04 14:58:02 +09:00
misyaguziya dd1c47069c [Update] エラーハンドリングの構造を統一し、VRAM不足や接続エラーの通知方法を改善 2026-01-03 09:48:14 +09:00
misyaguziya 312999a50b [Update] Optimize initialization process: reduce startup time, implement caching for model weight checks, and enhance parallel processing for AI model checks. 2026-01-03 08:35:39 +09:00
misyaguziya b0cf8bf335 feat: Implement unified error handling system
- Added `errors.py` to define a centralized error management system with error codes and metadata.
- Created `VRCTError` class for generating standardized error responses.
- Introduced `error_handling_migration_guide.md` to document migration patterns for existing error handling to the new system.
- Updated error handling patterns in the codebase to utilize the new error management system.
2026-01-02 19:38:06 +09:00
misyaguziya 3771081210 Merge branch 'bugfix_build' into develop 2025-12-30 14:58:37 +09:00
misyaguziya 2a5044b86a [Fix] Update data paths in backend_cuda.spec to correct translation settings directory structure. 2025-12-30 14:58:19 +09:00
misyaguziya c806c0f93b Merge branch 'error_handling' into develop 2025-12-30 07:52:46 +09:00
misyaguziya 01061cf98f [Fix] Error Handling: Update setter methods to clarify None value handling and enhance authentication failure response policy. 2025-12-30 07:52:08 +09:00
misyaguziya 588b95eebe [Fix] Error Handling: Update setter methods to allow None values for type checks and enhance sensitive data handling in authentication failures. 2025-12-30 06:44:15 +09:00
misyaguziya 6014c2d362 [Fix] Error Handling: Refactor authentication response handling to avoid exposing sensitive data. 2025-12-30 06:07:46 +09:00
misyaguziya 4031a5556d [Fix] Error Handling: Update authentication check to use OpenRouter API for key validation. 2025-12-29 19:15:08 +09:00
misyaguziya bf1c0236b5 [Fix] Error Handling: Improve network disconnection handling and enhance logging mechanisms. 2025-12-29 16:27:27 +09:00
misyaguziya 063b79477f [Fix] Error Handling: Enhance authentication checks and add support for Groq and OpenRouter models. 2025-12-26 05:30:37 +09:00
misyaguziya 97ea17f649 docs: Remove obsolete URL properties from Config class 2025-12-16 18:10:42 +09:00
misyaguziya 86afa24d5b docs: Update documents link in README files 2025-12-16 17:37:34 +09:00
misyaguziya f3bace5376 docs: Remove Ko-fi support link from README files 2025-12-16 17:32:08 +09:00
misyaguziya 76134a465b Merge branch 'llm' into develop 2025-12-15 01:32:34 +09:00
misyaguziya dac903e07c feat: Implement translation prompt history injection for Chat/Mic/Speaker
- Added a history management system in model.py to store and retrieve recent messages from Chat, Mic, and Speaker.
- Updated controller.py to automatically add messages to the translation history after processing.
- Enhanced translation clients (OpenAI, Gemini, Groq, etc.) to accept and utilize context history for improved translation quality.
- Introduced YAML configuration options for enabling history injection and customizing its behavior across different translation models.
- Ensured that only original messages are stored in history to optimize token usage during translation.
2025-12-15 01:15:47 +09:00
misyaguziya 9e88cff889 Refactor translation settings and prompts
- Updated paths for translation settings in backend.spec and backend_cuda.spec to reflect new directory structure.
- Renamed loadPromptConfig to loadTranslatePromptConfig in translation utility files for consistency.
- Created new YAML files for translation prompts (gemini, groq, lmstudio, ollama, openai, openrouter, plamo) with standardized system prompts.
- Added languages.yml file to define language mappings for various translation backends.
2025-12-14 16:10:40 +09:00
misyaguziya 86a6de75ae [Add] Implement clipboard control functions in Controller class 2025-12-11 14:38:08 +09:00
misyaguziya 07bcf041b5 Merge branch 'add_llm' into develop 2025-12-11 14:17:39 +09:00
misyaguziya da4845f9ce [Add] README自動生成モード: プロジェクト解析に基づくREADMEファイル生成のための新しいモードを追加 2025-12-11 14:16:59 +09:00
misyaguziya c2cd5ee973 [Add] Documentation: Integrate Groq and OpenRouter API support, including model management and authentication details. 2025-12-11 14:16:02 +09:00
misyaguziya 658da465ea Merge branch 'add_llm' into develop 2025-12-11 09:53:31 +09:00
misyaguziya f327b8e4fa [Add] Controller: Update model selection logic for Groq and OpenRouter, and add corresponding API endpoints in mainloop. 2025-12-11 09:28:38 +09:00
misyaguziya 8b853f4c20 [Add] OpenRouter: Integrate OpenRouter API for authentication, model management, and translation capabilities. 2025-12-10 23:48:56 +09:00
misyaguziya e59d52815c [Add] Groq: Implement Groq API integration with authentication, model management, and translation capabilities. 2025-12-10 23:33:51 +09:00
misyaguziya 592149afed Merge branch 'build' into develop 2025-11-25 21:47:14 +09:00
misyaguziya 3ce8590ce2 buildドキュメントを追加 2025-11-25 21:46:48 +09:00
misyaguziya 318928d049 Merge branch 'bugfix_ollama' into develop 2025-11-25 18:43:42 +09:00
misyaguziya ea4863f195 入れ込み忘れを修正 2025-11-25 18:43:16 +09:00
misyaguziya 7f7413e050 [Update] utils: Change version update message to English 2025-11-25 12:22:22 +09:00
misyaguziya ff6ac43fee [Update] Build scripts and configuration: Added new build and install scripts, updated versioning in config files, and improved project structure. 2025-11-25 12:20:55 +09:00
misyaguziya 54ec5ba45d [Update] バージョン管理: package.json, tauri.conf.json, config.pyのバージョンを更新し、update_version.pyを追加 2025-11-25 00:22:23 +09:00
misyaguziya 9a35577ec6 [Update] Controller: Add methods for LMStudio and Ollama connection status checks 2025-11-24 18:01:30 +09:00
misyaguziya 5ca809c8dd [Update] Config: Add model revalidation logic to ensure selected models are valid based on available options. 2025-11-23 00:59:09 +09:00
misyaguziya add96c1fda [Update] Config: Enhance configuration persistence by filtering serializable properties and updating loading logic for managed properties. 2025-11-23 00:07:32 +09:00
misyaguziya 27b3006ffd [Update] Controller: Add error handling for empty translation model lists and improve logging for translation engine availability checks. 2025-11-20 01:38:50 +09:00
misyaguziya 4eac9654a7 clipboard機能のパイプラインを接続 2025-11-20 00:25:28 +09:00
misyaguziya 3cd37cf458 [Add] Implement clipboard functionality with support for Windows, Pyperclip, and Tkinter 2025-11-17 17:01:09 +09:00
misyaguziya 81e90a285b Merge branch 'bugfix_config' into develop 2025-11-14 11:30:22 +09:00
misyaguziya 877f4cefa9 [Fix] Update configuration handling to improve stability and error management 2025-11-14 11:26:33 +09:00
misyaguziya 2cc7052d7a Merge branch 'bugfix_openai_auth' into develop 2025-11-14 10:58:16 +09:00
misyaguziya bc6798714d [Fix] Improve OpenAI authentication handling and error response 2025-11-14 10:42:40 +09:00
misyaguziya 44b04ddef6 Merge branch 'refactor_endpoints' into develop 2025-11-13 10:02:40 +09:00
misyaguziya 215f5f6815 [Refactor] Update endpoint names to use 'selectable' prefix for mic, speaker, and translation engines 2025-11-12 20:55:08 +09:00
misyaguziya cfc0e9fcc4 [Feature] Add VAD parameters and no-repeat N-gram size to Config and AudioTranscriber 2025-11-12 12:42:04 +09:00
misyaguziya 62f7c6d534 Merge branch 'test_client' into develop 2025-10-30 22:04:34 +09:00
misyaguziya 3af594960a test_endpoints.py と docs/test_endpoints.md を追加: APIエンドポイント総合テストモジュールを実装・文書化
- 新規: src-python/test_endpoints.py を追加。メインループ統合の総合テストモジュールを実装
  - /set/data/* の動的値を実行時に /get/data/... から取得して self.config_dict にキャッシュしてから選択する方式を導入
  - main_instance の start()/controller.init() 呼び出しと、Watchdog 用の no-op コールバック設定を追加
  - main.mapping のすべての status を True に設定してテスト対象を列挙
  - /set/enable /set/disable /set/data /run /delete/data の個別テスト実装(single/all/random/specific パターン)
  - LLM/API 関連(plamo/gemini/openai/lmstudio/ollama 等)のモデルリスト取得・ランダム選択、認証キー/URL 系は期待ステータスに [200,400] を設定
  - マイク/スピーカー等の検証(閾値・タイムアウト)で不正値時に期待ステータスを [400] にするバリデーション追加
  - 実行系エンドポイント(/run/*)のテスト実装、テスト不能な操作は [401] でスキップ扱い
  - ランダムアクセステスト(全体/ON-OFF/特定セット)を実装
  - 翻訳の総当たりテスト機能と結果を translation_test_results.json に出力
  - テスト結果を収集する record_test_result と generate_summary によるサマリー出力を実装
  - 実行中のデバッグログ出力やスキップ/エラー時の詳細ログを追加

- 新規: src-python/docs/test_endpoints.md を追加。上記モジュールの目的・使用方法・取得/キャッシュ戦略・対象エンドポイント一覧などを文書化

目的: API エンドポイントの包括的な自動テスト基盤を整備し、動的値取得による安定化・LLM/API の接続挙動検査・ランダム負荷試験を容易にする
2025-10-30 22:03:37 +09:00
misyaguziya 7f3db2f82c test_client.pyを改善: /set/data/ のモデル/認証キー/URL系エンドポイント(plamo,gemini,openai,lmstudio,ollama)で expected に [200,400] を追加。データが None の場合のスキップ条件を見直し、expected に 400 が含まれる場合はデータ無しでもリクエストを送信してテストするように変更。 2025-10-29 23:37:12 +09:00
misyaguziya 5f3dcbec81 Merge branch 'bugfix_config' into develop 2025-10-29 11:51:58 +09:00
misyaguziya 8e73469e41 backend_test.mdを更新・mainloop.mdを更新・test_client.mdを追加: /set/data/* の実行時取得とキャッシュ挙動を文書化して動的値選択の理由を追記、mainloopの start() 簡素化(メインループ維持、KeyboardInterruptでstop)と Watchdog(/run/feed_watchdog) 連携を明記、status=348ログ取り扱い・初期化待機・Watchdog運用などドキュメント整形と説明強化 2025-10-29 11:51:04 +09:00
misyaguziya 30f5b44168 test_client.pyを改善: サイレントモード・348ログ展開・自動テストのエクスポート機能を追加
- TestClient.send_request に silent 引数を追加し、詳細ログの抑制に対応
- バックエンド初期化待機/受信処理で status==348 をログ扱いとして全フィールドを整形表示するよう拡張
- 受信表示や他エンドポイントログの出力を silent フラグで抑制するよう修正
- AutomatedEndpointTester のコンストラクタを拡張 (silent, export_path, export_csv) とし、内部呼び出しで silent を伝搬
- テスト結果の JSON/CSV エクスポート機能を追加 (export_results / export_results_csv) とエクスポート用ユーティリティを実装
- インタラクティブメニューに詳細ログ抑制・出力ファイル選択オプションを追加し、AutomatedEndpointTester へ渡すようにした
- その他、watchdog/disable系呼び出し等で silent を使った出力抑制を適用
2025-10-29 11:22:38 +09:00
misyaguziya 66d102abf1 test_client.pyを改善: watchdog スレッドを追加して /run/feed_watchdog を30秒間隔で送信、初期化後に起動・cleanupで停止してjoinする処理と送信エラーのハンドリングを追加 2025-10-29 04:46:46 +09:00
misyaguziya cf5ce23839 test_client.pyを改善: 起動時のconfig.json削除を追加、初期化待機ロジックを拡張(VRCT_INIT_TIMEOUT対応、ソフトタイムアウト警告、30秒ごとの進捗ログ、プロセス終了検出とログ化、JSONログ表示の安定化)およびAutomatedEndpointTesterクラスを追加して run_all / run_random / run_specific を実装・メニューに統合 2025-10-29 04:38:49 +09:00
misyaguziya 65729d8cad test_client.pyを追加: バックエンドをsubprocessで起動しstdin/stdout経由で通信する対話式テストクライアントを実装。/run/initialization_completeの待機、リクエストデータのJSON→Base64変換、サンプルテスト/対話モード、色付きログ表示、タイムアウト・通信エラーのハンドリング、プロセスの安全なクリーンアップを含む 2025-10-28 23:03:26 +09:00
misyaguziya 5ce281e99b Main.startを簡素化し、受信/ハンドラスレッドの起動を削除してメインループで稼働を維持。KeyboardInterruptでstopを呼び出すように変更 2025-10-28 23:02:16 +09:00
misyaguziya 73969c2fb6 compute_typesをソートして出力を安定化、getBestComputeTypeのselected_typesを初期化してロジックを簡素化 2025-10-25 15:22:50 +09:00
misyaguziya a54538ee70 configのdictとlistの保存の問題を修正 2025-10-24 16:17:02 +09:00
misyaguziya c5d075253d Merge branch 'overlay_ruby' into develop 2025-10-23 16:24:05 +09:00
misyaguziya c97ceec3bc 長文の折り返しに対応 2025-10-23 16:23:50 +09:00
misyaguziya 72a82d82d8 Merge branch 'overlay_ruby' into develop 2025-10-23 15:39:37 +09:00
misyaguziya c9d09f1e08 不要なconfig Parameterを削除 2025-10-23 15:39:12 +09:00
misyaguziya a66459baa3 Merge branch 'overlay_ruby' into develop
# Conflicts:
#	src-python/config.py
2025-10-23 14:51:47 +09:00
misyaguziya 31e7ba2a08 Merge branch 'config' into develop 2025-10-23 14:42:24 +09:00
misyaguziya 0a9cb9952b overlay: 大ログにトランスリテレーション(ルビ)対応を追加し描画/APIを拡張
- controller/model: transliteration_message / transliteration_translation を伝搬するよう変更し、createOverlayImage* 呼び出しの引数を更新
- overlay: createTextboxLargeLogWithRubyTokens を実装し、大ログでのトークン単位ルビ描画(フォールバックロジック、外側パディング、行間等)を追加
- overlay: 小型ログAPI/呼び出しを transliteration_* 名に合わせて修正・簡素化
- docs: overlay_ruby.md に大ログ向け仕様と使用例を追記
2025-10-23 14:41:37 +09:00
misyaguziya 66d3c09a0d overlay: ルビ表示の上下パディングを対称化(outer_padding導入)しテキスト周囲にUIパディングを追加、ルビ機能のドキュメントを追加 2025-10-22 17:22:50 +09:00
misyaguziya 8be132abe6 overlay: フォントキャッシュ追加と小型ログのルビ描画を改善
- フォントのメモリキャッシュ(_font_cache)と _get_font を導入し truetype 読み込みを最適化
- createTextboxSmallLog を堅牢化(None対応、幅測定の例外処理、改行判定の改善)
- 単語単位ルビ描画機能を追加(renderRubyBlock / createTextboxSmallLogWithRubyTokens)
  - トークン毎の幅算出/センタリング、行折り返し検出時のフォールバック実装
- createOverlayImageSmallLog を拡張して、元文・翻訳それぞれにルビ適用とフォールバック合成を実行
- __main__ のテスト呼び出しを翻訳リスト形式に合わせて修正し、ルビテスト追加
2025-10-22 14:23:41 +09:00