Commit Graph

2725 Commits

Author SHA1 Message Date
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
Sakamoto Shiina
d22c6c8f0c Merge branch 'ui_translation_api' into develop 2025-11-14 12:48:20 +09:00
Sakamoto Shiina
430c9f5da2 [Update] UI: Add LM Studio and Ollama model components to the Translation section. 2025-11-14 12:41:05 +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
Sakamoto Shiina
28b65deb95 [Refactor] Implement useSaveButtonLogic for managing save functionality in Translation settings. 2025-11-14 11:07:04 +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
Sakamoto Shiina
11c16fadbd [Update] UI: Add Plamo, OpenAI and Gemini authentication key components and integrate them into the Translation section. 2025-11-14 09:40:25 +09:00
Sakamoto Shiina
3105df3486 [bugfix] Ensure the delete function is callable and correctly handled in config setters. 2025-11-13 15:55:00 +09:00
Sakamoto Shiina
3a31b0a9fe [Refactor] Introduce AuthKey component and update related containers and styles. 2025-11-13 12:58:34 +09:00
Sakamoto Shiina
ef4a19d0bb [Refactor] Implement _OpenWebpageButton component and integrate it into DeeplAuthKeyContainer. 2025-11-13 12:17:18 +09:00
Sakamoto Shiina
ddcf49e243 [Refactor] Integrate DeepL authentication key URL and enhance OpenWebpage_DeeplAuthKey component to accept props. 2025-11-13 12:01:32 +09:00
Sakamoto Shiina
d6498a78ca Merge branch 'ui_refactor' into develop 2025-11-13 10:33:16 +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
Sakamoto Shiina
db60529466 [Update]: Allow inserting custom components into MultiDropdownMenu.
- For Device components Auto select device that is SwitchBox component.
2025-11-12 16:33:20 +09:00
Sakamoto Shiina
ddcd19d5eb [Refactor] Separate SwitchBox into _atom and wrapper, add secondary label support. 2025-11-12 15:27:10 +09:00
Sakamoto Shiina
d529ed8962 [Refactor] Introduce MultiDropdownMenuContainer template for layout consistency. 2025-11-12 14:48:13 +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
Sakamoto Shiina
4a852374ab [Refactor]: Introduce MultiDropdownMenu component for layout consistency. 2025-11-12 12:32:18 +09:00
Sakamoto Shiina
01327fa852 [Refactor] Introduce wrapper component for DropdownMenu to enhance versatility. 2025-11-12 10:18:26 +09:00
Sakamoto Shiina
dc3c236791 [Refactor] Move DropdownMenu to _atoms directory. 2025-11-12 10:01:55 +09:00
Sakamoto Shiina
b21a46e96e [Refactor] Extract container logic into TemplatesContainerWrapper. 2025-11-11 03:02:21 +09:00
Sakamoto Shiina
3612f2cb80 [Refactor] MessageFormats: Improve reusability of setting container templates. 2025-11-10 23:07:17 +09:00
Sakamoto Shiina
5d15b47b3e [Refactor] WordFilter: Improve reusability of setting container templates. 2025-11-10 22:55:29 +09:00
Sakamoto Shiina
2062849887 Merge branch 'ui_refactor' into develop 2025-11-08 07:47:13 +09:00
Sakamoto Shiina
1bdea275dc [Refactor] Improve slider logic flexibility.(Adjust to Vr section) 2025-11-08 06:46:52 +09:00
Sakamoto Shiina
4770908831 [bugfix] Correct postUpdateAction handling in slider component.
- Fixed bug where postUpdateAction was not properly passed as a prop to the slider component
- Prevented infinite re-renders by removing postUpdateAction from the dependency array
2025-11-07 08:09:18 +09:00
Sakamoto Shiina
9b69ffe8ff [Refactor/TMP2] Refactor slider logic and appearance settings
- Improve slider logic by adding useMemo for marks calculation and fixing floating point precision issues
- Add loop safety check to prevent infinite loops in createMarks function
- Remove show_label_values prop from TransparencyContainer
- Add proper decimal place handling for slider values
2025-11-07 06:41:33 +09:00
Sakamoto Shiina
2cd4ddc4a3 [Refactor/TMP1] Unify Slider components. (Appearance, Transcription.) VR section is commented out temporally. 2025-11-06 21:44:33 +09:00
Sakamoto Shiina
e23bf223ae [Refactor] Improve clarity of slider logic by inverting label filtering. 2025-11-06 13:04:35 +09:00
Sakamoto Shiina
c76b2981c6 [Refactor] Unify and encapsulate slider UI logic into useSliderLogic hook. Part 1. 2025-11-06 12:44:04 +09:00
Sakamoto Shiina
4adfc8fbc1 [Refactor] Export config hooks from index.js 2025-11-06 10:50:21 +09:00
Sakamoto Shiina
5cbd7618e3 [Refactor] Reorganize config hooks into config_page_setter folder. 2025-11-05 15:15:09 +09:00
Sakamoto Shiina
db820375f1 [Refactor] Move to src-ui/views and src-ui/logics structure. 2025-11-05 11:49:48 +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