{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":490896027,"defaultBranch":"main","name":"commbase","ownerLogin":"mydroidandi","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-05-10T23:54:13.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/105326278?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1694930751.0","currentOid":""},"activityList":{"items":[{"before":"7ecf127f0746302632c6c3476ff6cad5054e52d6","after":"1395852772052dfe13733d294ae7a5e557a94f44","ref":"refs/heads/main","pushedAt":"2024-06-05T01:57:19.000Z","pushType":"pr_merge","commitsCount":5,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #497 from mydroidandi/development\n\nDevelopment","shortMessageHtmlLink":"Merge pull request #497 from mydroidandi/development"}},{"before":"7a1877239d646dcb6faf11f92d7eb83fdded5041","after":"0f313b0d01708311b0401cc7c268382b526b2fe5","ref":"refs/heads/development","pushedAt":"2024-06-05T01:45:53.000Z","pushType":"pr_merge","commitsCount":7,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #496 from mydroidandi/fb/estebanways\n\nFb/estebanways","shortMessageHtmlLink":"Merge pull request #496 from mydroidandi/fb/estebanways"}},{"before":"2996ed421996bdd8f9951a026b7530211e463fdb","after":"24cbd78c280cbee6fb9bda5c7b31c50614d4c18d","ref":"refs/heads/fb/estebanways","pushedAt":"2024-06-05T01:19:01.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge branch 'main' of github.com:mydroidandi/commbase into fb/estebanways","shortMessageHtmlLink":"Merge branch 'main' of github.com:mydroidandi/commbase into fb/esteba…"}},{"before":"2fafdd3e6598f4977387167afa184fb81ed7d04e","after":"7ecf127f0746302632c6c3476ff6cad5054e52d6","ref":"refs/heads/main","pushedAt":"2024-06-04T01:09:09.000Z","pushType":"pr_merge","commitsCount":5,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #495 from mydroidandi/development\n\nDevelopment","shortMessageHtmlLink":"Merge pull request #495 from mydroidandi/development"}},{"before":"6451c914f19850ed468f5ba254a3f726e9eee509","after":"7a1877239d646dcb6faf11f92d7eb83fdded5041","ref":"refs/heads/development","pushedAt":"2024-06-04T01:06:24.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #494 from mydroidandi/fb/estebanways\n\nFb/estebanways","shortMessageHtmlLink":"Merge pull request #494 from mydroidandi/fb/estebanways"}},{"before":"478ebb4f43dc81ec7fa1f112d18e4437ada26cad","after":"2996ed421996bdd8f9951a026b7530211e463fdb","ref":"refs/heads/fb/estebanways","pushedAt":"2024-06-04T00:55:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Improve text","shortMessageHtmlLink":"Improve text"}},{"before":"a957a92c2d5c3105f191007b133fbf61ce86f2de","after":"478ebb4f43dc81ec7fa1f112d18e4437ada26cad","ref":"refs/heads/fb/estebanways","pushedAt":"2024-06-04T00:52:03.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Add new sections Approach and Philosophy and Detailed Feature Overview","shortMessageHtmlLink":"Add new sections Approach and Philosophy and Detailed Feature Overview"}},{"before":"e4dd855ea6e5ead79e0b8e6bc3fab65b105fe95e","after":"2fafdd3e6598f4977387167afa184fb81ed7d04e","ref":"refs/heads/main","pushedAt":"2024-05-26T06:01:27.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #493 from mydroidandi/development\n\nDevelopment","shortMessageHtmlLink":"Merge pull request #493 from mydroidandi/development"}},{"before":"e54de7c7af6f6b8423f62196dd2e7ccf7eae9252","after":"6451c914f19850ed468f5ba254a3f726e9eee509","ref":"refs/heads/development","pushedAt":"2024-05-26T05:58:05.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #492 from mydroidandi/fb/estebanways\n\nFix shebang paths","shortMessageHtmlLink":"Merge pull request #492 from mydroidandi/fb/estebanways"}},{"before":"14e7811e35dd5129aba88ca12bcbf700151abf89","after":"a957a92c2d5c3105f191007b133fbf61ce86f2de","ref":"refs/heads/fb/estebanways","pushedAt":"2024-05-26T05:49:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Fix shebang paths","shortMessageHtmlLink":"Fix shebang paths"}},{"before":"dc6593093fbcdfa3e351fc5829e794dcf79b55d7","after":"e4dd855ea6e5ead79e0b8e6bc3fab65b105fe95e","ref":"refs/heads/main","pushedAt":"2024-05-26T04:26:44.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #491 from mydroidandi/development\n\nDevelopment","shortMessageHtmlLink":"Merge pull request #491 from mydroidandi/development"}},{"before":"168728c33268ad3d81b7ec1d75f0214c96b84707","after":"e54de7c7af6f6b8423f62196dd2e7ccf7eae9252","ref":"refs/heads/development","pushedAt":"2024-05-26T04:19:25.000Z","pushType":"pr_merge","commitsCount":59,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #490 from mydroidandi/fb/estebanways\n\nFb/estebanways","shortMessageHtmlLink":"Merge pull request #490 from mydroidandi/fb/estebanways"}},{"before":"66b09cb912dce8fd9408bdb17965081ab72b40c0","after":"14e7811e35dd5129aba88ca12bcbf700151abf89","ref":"refs/heads/fb/estebanways","pushedAt":"2024-05-26T04:01:10.000Z","pushType":"push","commitsCount":137,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Consolidating Changes: Modifications, Additions, Movements, and Deletions\n\nConsolidating Changes from Original Repository\n\n### Changes made in this repository\n\n- Merge branch 'main' of github.com:estebanways/commbase\n- Add script description\n- Add new files libcommbase/interactive/terminal_set_pytts3_voice_index.sh, libcommbase/routines/display_any_pytts3_voice_index_details.py, and libcommbase/routines/display_total_number_of_pytts3_voice_indexes.py to implement new command option --set-pyttsx3-voice-index and be able to: set pyttsx3 TTS engine voice index, show current voice index, and display any pytts3 voice index details\n- Give the file execution permissions\n- Manage to automatically start recording when the recorder device is available after pressing the recording char key just one time\n- Calculate and display the processing time in the reactive stt engine\n- Change the STT_ENGINE_PROCESSING_TIME_VISIBLE_ON variable value to True to be able to calculate and display the processing time in the reactive stt engine\n- Create optional serial hardware interaction with the reactive stt engine\n- Add serial hardware related proactive stt engine file paths and functions to reactive stt engine\n- Enable COMMBASE_HARDWARE_NOTIFICATIONS_ON to create serial hardware interaction with the reactive stt engine\n- Add a new option --show-full-commbase-log to display the full Commbase log in the apps pane\n- Add new file bundles/libcommbase/libcommbase/routines/assistant_discourse_with_external_capture_driving.sh\n- Read the CHAT_LOG_FILE configuration variable without slash by adding the slash directly in the code\n- Add the new terminal command --show-log-chat-log to display the log data/.chat_log.txt in the apps pane\n- Remove the first slash from the variable CHAT_LOG_FILE to read the CHAT_LOG_FILE configuration variable without a slash\n- Refactor the function toggle_capture_on-off.sh by writing logs to using the routines assistant_discourse and assistant_discourse_with_external_capture_driving instead of inner code\n- Read the CHAT_LOG_FILE configuration variable without slash by adding the slash to the variable file_path\n- Add the new discourses with keys default_microphone_is_mute_now and issue_with_the_microphone to the libcommbase translation files for toggle_capture_on-off.sh to used them\n- Read the CHAT_LOG_FILE configuration variable without slash by adding the slash to the cp command\n- Modify the assistant_discourse call and assistant_discourse.sh with the arguments: pane, i18n, origin, log_severity_level_1, and discourse_key to be able to standardize the log files content\n- Read the CHAT_LOG_FILE configuration variable without slash by adding the slash to the function get_chat_log_file()\n- Insert an empty line\n- Modify the calls to the new version of the routine assistant_discourse.sh to comply with the standardization on how the chat participant's discourses are logged to the file data/.chat_log.txt\n- Standardize how the chat participant's discourses are logged to the file data/.chat_log.txt using the log_severity_level_1. They look like this now: [2024-05-23 14:52:30] app: DEBUG: ✨ ASSISTANT: Mute the microphone to pause recording. [2024-05-23 14:52:47] stt-whisper-proactive: DEBUG: 🧑 END USER: Something about myself. The routine tail_chat_log.sh yet tailors the logs to show them in the chatroom\n- Add more information about the apps pane to the User s Guide\n- Add new routine log_command_with_timestamp.sh to create new command --show-log-commands to show log commands in the apps pane\n- Lowercase local log variable\n- Add the new option commbase --show-chatroom for the apps pane and reorganize the help menu\n- Add new file tail_log_file.sh to create new commbase option 'commbase --show-log-messages'\n- Reorganize project structure\n- Log message with timestamp instead of with elapsed time\n- Organize the content by index/key in alphabetical order\n- Add i18n_number parameter for internationalization\n- Create two separate routines based on log_message.sh: bundles/libcommbase/libcommbase/routines/log_message_with_elapsed_time.sh and bundles/libcommbase/libcommbase/routines/log_message_with_timestamp.sh\n- Modify the libcommbase routine append_message_to_log_file.sh to log messages either to a specified log file or to the output and rename it as log_message.sh\n- Add new libcommbase log_messages directory\n\n### Changes by file\n\n#### Update Installation Guide and Configuration\n\n**Modifications:**\n1. **INSTALL**\n - Added `bc` to required packages.\n - Updated installation commands.\n - Extended audio capture variable instructions.\n\n2. **README.md**\n - Added `log_messages` directory.\n - Modified `scripts` directory structure.\n\n3. **assets/docs/User's Guide.md**\n - Clarified Pane 1 functionality.\n - Enhanced logging configuration details.\n\n4. **bundles/commbase-recorder-transmitter-b/reccomm.sh**\n - Added `CARD_INDEX` and `DEVICE_INDEX`.\n - Implemented audio device checks.\n - Improved cleanup function.\n\n#### Refactor and enhance commbase STT whisper functionality\n\n**Details:**\n- Added timestamps to logs.\n- Refactored logging functions.\n- Improved hardware interaction.\n- Added processing time visibility feature.\n\n#### Added file_paths.py\n\n**Details:**\n- Fixed path construction in `get_chat_log_file`.\n- Added functions for hardware paths.\n- Updated `functions.py` with new functions.\n\n#### Logging improvements and language file updates\n\n**Details:**\n- Added timestamp variable.\n- Modified logging process.\n- Removed redundant conditional blocks.\n- Updated function call to `assistant_discourse`.\n\n### Deleted Files\n\nbundles/libcommbase/libcommbase/routines/append_message_to_log_file.sh\n\n### New Files\n\nbundles/libcommbase/libcommbase/interactive/terminal_set_pytts3_voice_index.sh\nbundles/libcommbase/libcommbase/routines/assistant_discourse_with_external_capture_driving.sh\nbundles/libcommbase/libcommbase/routines/display_any_pytts3_voice_index_details.py\nbundles/libcommbase/libcommbase/routines/display_total_number_of_pytts3_voice_indexes.py\nbundles/libcommbase/libcommbase/routines/log_command_with_timestamp.sh\nbundles/libcommbase/libcommbase/routines/log_message_with_elapsed_time.sh\nbundles/libcommbase/libcommbase/routines/log_message_with_timestamp.sh\nbundles/libcommbase/libcommbase/routines/tail_log_file.sh\n\n### Conclusion\n\nThese changes indicate a significant effort to enhance functionality, improve configuration options, and streamline logging processes within the Commbase project. The additions of new features, along with the structural and organizational improvements, mean a commitment to enhancing user experience and maintaining code clarity and efficiency.","shortMessageHtmlLink":"Consolidating Changes: Modifications, Additions, Movements, and Delet…"}},{"before":"865cfcfd36b4cdebf532e1a30249e4b7c7146809","after":"dc6593093fbcdfa3e351fc5829e794dcf79b55d7","ref":"refs/heads/main","pushedAt":"2024-05-20T07:35:15.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #489 from mydroidandi/development\n\nDevelopment","shortMessageHtmlLink":"Merge pull request #489 from mydroidandi/development"}},{"before":"edadd67cdee93b4055c62e7925c06777613b2490","after":"168728c33268ad3d81b7ec1d75f0214c96b84707","ref":"refs/heads/development","pushedAt":"2024-05-20T07:20:01.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #488 from mydroidandi/fb/estebanways\n\nConsolidating Changes: Modifications, Additions, Movements, and Delet…","shortMessageHtmlLink":"Merge pull request #488 from mydroidandi/fb/estebanways"}},{"before":"42060340b3c5ab86bd2001ab55e0ea983cc5db3b","after":"66b09cb912dce8fd9408bdb17965081ab72b40c0","ref":"refs/heads/fb/estebanways","pushedAt":"2024-05-20T07:02:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Consolidating Changes: Modifications, Additions, Movements, and Deletions\n\nConsolidating Changes from Original Repository\n\n### Changes made in this repository\n\n- Add new libcommbase routine append_message_to_log_file.sh to log Commbase and Commbase apps messages in a log file, which will allow programmers to separate logs from the current terminal-based Commbase UI to build graphical interfaces (GUIs) for Commbase apps\n- Add variables CONVERSATION_LOGS_PATH and LOG_MESSAGES_FILE to the User's Guide\n- Lowercase code comment\n- Remove blank space\n- Rename .commbase_history as .command_history\n- Re add the main log/ directory\n- Clean up the directory history\n- Improve the variable STT_ENGINE_PATH description\n- Improve STT engines security content\n- Fix 75% to 90%\n- Replace the Python badges with a Shell linter badge\n- Complete the repository descriptions\n- Remove redundant title\n- Fix the title style\n- Add languages and variants list\n- Call terminal_request_user_password_and_execute() if the script is run directly (not sourced)\n- Modify the function terminal_request_user_password_and_execute() to accept a command and 2 arguments\n- Create the new interactive terminal commbase commands --stop-commbase, --reboot-system, and --power-off-system, that require the libcommbase/interactive script terminal_request_user_password_and_execute.sh\n- Add new file terminal_request_user_password_and_execute.sh to create interactive skills that require the user account password for enhanced security\n- Add new files skill.sh and skills_catalog.csv\n- Rename the directory skills as interactive\n- Improve description\n\n### Changes by file\n\n**INSTALL**\n- Adjusted the description of the proactive STT engine to address security implications.\n\n**README.md**\n- Updated directory structure, moving files from 'libcommbase/routines' to 'libcommbase/interactive' for better organization.\n\n**bundles/commbase-recorder-transmitter-b/README.md**\n- Added description for the voice recorder and transmitter bundle.\n\n**bundles/commbase-recorder-transmitter-b/reccomm.sh**\n- Introduced a Bash script for recording audio and transmitting it to a remote host.\n\n**libcommbase/routines/assistant_discourse.sh**\n- Relocated to 'libcommbase/interactive' to align with the updated directory structure.\n\n**scripts/configuration/install_commbase_executable/commbase.default**\n- Added and updated command options for setting languages, selecting STT engines, and managing system operations.\n- Enhanced logging with a new routine to append messages to the log file.\n- Introduced commands to handle user password requests for system operations.\n- Improved start-up and shutdown processes with additional log messages and directory clean-up operations.\n\nSpecific Changes in `commbase.default`:\n- Added new command sections:\n - `--set-language`\n - `--select-stt-engine`\n - `--reboot-system`\n - `--power-off-system`\n- Modified existing commands:\n - `--stop-commbase`\n - `--restart-stt-engine`\n- Added new routines for logging and interactive user password requests:\n - `append_message_to_log_file`\n - `terminal_request_user_password_and_execute`\n- Updated routing logic to include new commands and routines.\n\n### Deleted Files\n\nbundles/libcommbase/libcommbase/routines/source_includes\nbundles/libcommbase/libcommbase/skills/skills_db/capture_mute\nbundles/libcommbase/libcommbase/skills/skills_db/run_skill_disconnect_yourself\nbundles/libcommbase/libcommbase/skills/skills_db/run_skill_list_your_command_history\nbundles/libcommbase/libcommbase/skills/skills_db/run_skill_reload_recognition\nbundles/libcommbase/libcommbase/skills/skills_db/run_skill_stop_capturing_sound\nbundles/libcommbase/libcommbase/skills/skills_db/run_skill_tell_me_about_yourself\nbundles/libcommbase/libcommbase/skills/skills_db/run_skill_wake_up\nbundles/libcommbase/libcommbase/skills/skills_db/terminal_only_select_stt_engine.sh\nbundles/libcommbase/libcommbase/skills/skills_db/terminal_only_set_language.sh\nbundles/libcommbase/libcommbase/skills/skills_db/toggle_default_capture_device\nhistory/.app_history\nhistory/.messaging_history\n\n### New Files\n\nbundles/libcommbase/libcommbase/interactive/\nbundles/libcommbase/libcommbase/routines/append_message_to_log_file.sh\nbundles/libcommbase/libcommbase/routines/list_your_command_history\nbundles/libcommbase/libcommbase/routines/tell_me_about_yourself\nbundles/libcommbase/libcommbase/skill.sh\nbundles/libcommbase/libcommbase/skills_catalog.csv\nhistory/.command_history\ni18n/log_messages/\n\n### Conclusion\n\nIn conclusion, the recent changes represent a holistic effort to consolidate, improve, and secure the Commbase system. Through organizational enhancements, functionality improvements, and security measures, the repository has evolved to better serve its users and maintainers. Moving forward, these changes set a strong foundation for further development and refinement of the Commbase platform.","shortMessageHtmlLink":"Consolidating Changes: Modifications, Additions, Movements, and Delet…"}},{"before":"6f58099480d5d610696dfeeb8ed23d632e39b0e1","after":"865cfcfd36b4cdebf532e1a30249e4b7c7146809","ref":"refs/heads/main","pushedAt":"2024-05-14T08:00:22.000Z","pushType":"pr_merge","commitsCount":6,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #487 from mydroidandi/development\n\nDevelopment","shortMessageHtmlLink":"Merge pull request #487 from mydroidandi/development"}},{"before":"806dbb7b5645c2d34a5b369cc7cbadc05e498551","after":"edadd67cdee93b4055c62e7925c06777613b2490","ref":"refs/heads/development","pushedAt":"2024-05-14T07:52:23.000Z","pushType":"pr_merge","commitsCount":5,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #486 from mydroidandi/fb/estebanways\n\nFb/estebanways","shortMessageHtmlLink":"Merge pull request #486 from mydroidandi/fb/estebanways"}},{"before":"ef5dca1eb5d5f3b468d2d79c1339084cbab9348f","after":"42060340b3c5ab86bd2001ab55e0ea983cc5db3b","ref":"refs/heads/fb/estebanways","pushedAt":"2024-05-14T07:37:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Add missing directory i18n/ from the original repository","shortMessageHtmlLink":"Add missing directory i18n/ from the original repository"}},{"before":"cf19f467d19292fdbf559bb6f74c5449b77171cb","after":"ef5dca1eb5d5f3b468d2d79c1339084cbab9348f","ref":"refs/heads/fb/estebanways","pushedAt":"2024-05-14T07:26:59.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge branch 'fb/estebanways' of github.com:mydroidandi/commbase into fb/estebanways","shortMessageHtmlLink":"Merge branch 'fb/estebanways' of github.com:mydroidandi/commbase into…"}},{"before":"85d2510669cd2acd6d93189383fa93a6eedf9bb6","after":"cf19f467d19292fdbf559bb6f74c5449b77171cb","ref":"refs/heads/fb/estebanways","pushedAt":"2024-05-14T07:03:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Consolidating Changes: Modifications, Additions, Movements, and Deletions\n\nConsolidating Changes from Original Repository\n\n### Changes made in this repository\n\n- Resolve issues with the information displayed in panes by removing the code to re-render the chat log, avoid using the previously exported variables tail_chat_log and time, removing the variable tail_chat_log, and re-declaring the variable time\n- Add new configuration variable STT_ENGINE_PROCESSING_TIME_VISIBLE_ON to be able to benchmark the time every speech takes to complete processing while the variable is set to 'True'.\n- chmod -x assistant_discourse.sh filter_pyttsx3_voices_by_language.sh\n- chmod -x restart_stt_engine*\n- Double quote variables\n- Add new file bundles/libcommbase/libcommbase/routines/restart_stt_engine_no_recorder.sh to restart the reactive stt engine without restarting the commbase recorder automagically to avoid recorder errors at restarting time\n- Restart STT engines, LLMs, and update language code\n- Improve tmux commands by adding tmux select-window -t 1 && at the beginning of them\n- When the stt engine restarts, gracefully terminate the recorder-transmitter PID whether the stt engine is commbase-stt-whisper-reactive-p\n- Fix a missing 'n' in the word transmitter\n- Revert troubled change to gracefully terminate the stt engine pid, and if that fails, use kill -9\n- Gracefully terminate the stt engine pid, and if that fails, use kill -9\n- Add new feature terminal commbase command: commbase --restart-stt-engine\n- Add a new configuration variable CUSTOM_RECORDER_TRANSMITTER_FILE to help programmers no need to update code in all the scripts that require to restart the reactive stt engine, for example: restart-stt-engine.sh (libcommbase routine), terminal_only_set_language.sh (libcommbase skill), and terminal_only_select_stt_engine.sh (libcommbase skill)\n- Reorganize libcommbase routines alphabetically and add new menu options --restart-stt-engine and --disconnect-yourself to the options case\n- Update commbase.default executable with new menu options to display\n- Add new options --select-stt-engine, --restart-stt-engine, --set-language, and --disconnect-yourself to commbase.default menu\n- Add stt engines description on security\n- Modify shellcheck action file\n- Remove line # shellcheck disable=SC2016,SC2154 to pass the linter on GitHub\n- Transform the files scripts/configuration/select_stt_engine.sh and scripts/configuration/set_language.sh into interactive terminal only skills stored in bundles/ibcommbaselibcommbase/skills/skills_db\n- Replace the directories parsers and runners with skills_db\n- Add a script to select the stt engine\n- Fix header to commbase\n- Move configuration scripts to the configuration directory\n- Add examples of hardware devices based on Commbase\n- Set the variable COMMBASE_HARDWARE_NOTIFICATIONS_ON = False by default, to disable the commbase communication with the speech to text engine hardware component or any other hardware like hardware interfaces, etc., to avoid showing connection errors on the working stt engine tmux panel in commbase installations only for computers (without hardware devices.)\n- Reflect variable changes in the User's Guide\n- Move the directory assets/ascii content to a new directory src/client/assets\n- Ignore the contents of the src/client/assets directory\n- Create the functions of the listening and processing statuses to communicate the stt with its optional hardware interface\n- Reorganize the serial_communication directory structure\n- Add a new directory serial_communication to the directory structure\n- Ignore the new directory /src/client/serial_communication\n- Clean up the code\n- Give the commbase proactive stt the ability to send the listening and processing statuses to any custom external commbase hardware\n- Make file executable\n\n### Changes by file\n\n1. Updated .github/workflows/shell-lint.yml to include shell linting for .sh files.\n2. Modified .gitignore to ignore contents of src/client/assets and src/client/serial_communication.\n3. Updated .shellcheckrc to disable specific checks.\n4. Revised INSTALL to clarify instructions regarding STT engines.\n5. Added src/client/assets/docs/User's Guide.md for User's Guide documentation.\n6. Added src/client/serial_communication/arduino/arduino_0/commbase_hardware_notifications/speech_to_text_engine_component/processing_start.dat for starting STT engine processing.\n7. Moved src/client/libcommbase/skills/parsers and src/client/libcommbase/skills/runners to src/client/libcommbase/skills_db.\n8. Deleted assets/ascii/avatar.asc.\n9. Added functionality to notify hardware about the start and stop of listening and processing processes, including adding new functions and modifying existing ones.\n10. Added new functions to read environment variables from a configuration file, and deleted built-in_skills and parse_skill_disconnect_yourself files, and changed file modes for assistant_discourse.sh and filter_pyttsx3_voices_by_language.sh.\n11. Deleted several files related to parsing and running skills, including parse_skill_list_your_command_history, parse_skill_reload_recognition, parse_skill_stop_capturing_sound, parse_skill_tell_me_about_yourself, parse_skill_wake_up, capture_mute.sh, and run_skill_disconnect_yourself.\n12. Deleted several files, including bundles/libcommbase/libcommbase/skills/runners/run_skill_list_your_command_history, bundles/libcommbase/libcommbase/skills/runners/run_skill_reload_recognition, bundles/libcommbase/libcommbase/skills/runners/run_skill_stop_capturing_sound, bundles/libcommbase/libcommbase/skills/runners/run_skill_tell_me_about_yourself, bundles/libcommbase/libcommbase/skills/runners/run_skill_wake_up, bundles/libcommbase/libcommbase/skills/runners/toggle_default_capture_device.sh, config/commbase.conf, data/.messages.json, i18n/discourses/en_us.json, i18n/discourses/es_es.json, and scripts/configuration/install_commbase_executable/commbase.default.\n\n### Deleted Files\n\n1. assets/ascii/avatar.asc\n2. bundles/libcommbase/libcommbase/built-in_skills\n3. bundles/libcommbase/libcommbase/skills/parsers/parse_skill_disconnect_yourself\n4. bundles/libcommbase/libcommbase/skills/parsers/parse_skill_list_your_command_history\n5. bundles/libcommbase/libcommbase/skills/parsers/parse_skill_reload_recognition\n6. bundles/libcommbase/libcommbase/skills/parsers/parse_skill_stop_capturing_sound\n7. bundles/libcommbase/libcommbase/skills/parsers/parse_skill_tell_me_about_yourself\n8. bundles/libcommbase/libcommbase/skills/parsers/parse_skill_wake_up\n9. bundles/libcommbase/libcommbase/skills/runners/capture_mute.sh\n10. bundles/libcommbase/libcommbase/skills/runners/run_skill_disconnect_yourself\n11. bundles/libcommbase/libcommbase/skills/runners/run_skill_list_your_command_history\n12. bundles/libcommbase/libcommbase/skills/runners/run_skill_reload_recognition\n13. bundles/libcommbase/libcommbase/skills/runners/run_skill_stop_capturing_sound\n14. bundles/libcommbase/libcommbase/skills/runners/run_skill_tell_me_about_yourself\n15. bundles/libcommbase/libcommbase/skills/runners/run_skill_wake_up\n16. bundles/libcommbase/libcommbase/skills/runners/toggle_default_capture_device.sh\n17. i18n/discourses/en_us.json\n18. i18n/discourses/es_es.json\n19. scripts/configuration/set_language.sh\n20. scripts/utilities/reset_commbase.conf/commbase.conf.default\n21. scripts/utilities/reset_commbase.conf/reset_commbase.conf.sh\n\n### New Files\n\n1. bundles/libcommbase/libcommbase/routines/restart_stt_engine.sh\n2. bundles/libcommbase/libcommbase/routines/restart_stt_engine_no_recorder.sh\n3. bundles/libcommbase/libcommbase/skills/skills_db/\n4. data/.chat_log.txt\n5. scripts/configuration/reset_commbase.conf/\n\n### Conclusion\n\nThere has been a significant overhaul and enhancement of the Commbase system, particularly focusing on improving the speech-to-text (STT) engine functionality and integration with hardware components.\n\nThese changes are an effort to enhance the functionality, usability, and integration capabilities of the Commbase system, making it more efficient and adaptable to various hardware configurations and user needs.","shortMessageHtmlLink":"Consolidating Changes: Modifications, Additions, Movements, and Delet…"}},{"before":"352828af72f5c0162787e8fbc4346fd993bfb66f","after":"6f58099480d5d610696dfeeb8ed23d632e39b0e1","ref":"refs/heads/main","pushedAt":"2024-05-08T09:08:24.000Z","pushType":"pr_merge","commitsCount":7,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #484 from mydroidandi/development\n\nDevelopment","shortMessageHtmlLink":"Merge pull request #484 from mydroidandi/development"}},{"before":"22bb0674991e0c0eb2e45c5eb265c60a4139dd7b","after":"806dbb7b5645c2d34a5b369cc7cbadc05e498551","ref":"refs/heads/development","pushedAt":"2024-05-08T09:04:14.000Z","pushType":"pr_merge","commitsCount":6,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #483 from mydroidandi/fb/estebanways\n\nFb/estebanways","shortMessageHtmlLink":"Merge pull request #483 from mydroidandi/fb/estebanways"}},{"before":"0fa13be5a353a2dd0ed6250bc0cfaf6c25d6d40f","after":"85d2510669cd2acd6d93189383fa93a6eedf9bb6","ref":"refs/heads/fb/estebanways","pushedAt":"2024-05-08T08:44:35.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge branch 'fb/estebanways' of github.com:mydroidandi/commbase into fb/estebanways","shortMessageHtmlLink":"Merge branch 'fb/estebanways' of github.com:mydroidandi/commbase into…"}},{"before":"2cc6cdb6f4882a8796ddabb379b5eb2bcc72fdfe","after":"0fa13be5a353a2dd0ed6250bc0cfaf6c25d6d40f","ref":"refs/heads/fb/estebanways","pushedAt":"2024-05-08T07:53:38.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Repository Refactoring and Feature Enhancements: Consolidated Changes\n\nConsolidating Changes from Original Repository\n\n### File modifications\n\n#### Changes to .gitignore\n\n- Updated paths to ignore specific directories and files within the project structure.\n- Ignored directories like \"src/client/bundles\", \"src/client/config\", \"src/client/log\", and \"src/server/skills_db\".\n\n#### Changes to INSTALL file\n\n- Added instructions for setting up the voice and language configurations for Commbase.\n- Provided guidance on setting up audio capture methods, particularly focusing on leveraging the Whisper-based Speech-to-Text (STT) engines included in Commbase.\n- Introduced instructions for setting up a macro pad, a small programmable keypad for custom functions or macros.\n- Outlined setup steps for the reactive Speech-to-Text (STT) engine, recommended for getting started with Commbase. Steps include having a copy of the remote recorder-transmitter script, installing it as executable, setting up variables, configuring SSH connection, and verifying functionality.\n\n#### Update README.md\n\n- Updated to reflect the project's organization and structure, providing insights into directories like 'i18n', 'bundles', 'config', 'server', and 'client', and their respective contents.\n\n#### Update Users Guide.md\n\n- Changed the section title from \"Configure the File to Toggle the Active Capture Device\" to \"Configure the File to Toggle the Default Capture Device.\"\n- Revised text to clarify the process of setting up a dedicated sound capture device.\n- Provided instructions for identifying and preparing a dedicated sound capture device.\n- Explained the significance of setting up the default capture device for Commbase and provided instructions for updating the configuration file (commbase.conf) with the selected capture devices.\n- Renamed and relocated keybinding script files.\n- Updated references to keybinding script files in configuration instructions.\n\n#### client_http_websocket.py\n\n- Imported necessary modules.\n- Defined event handler functions.\n- Added a main() function.\n- Included error handling.\n- Called a function `discourse_data_exchange_client_error()` to handle errors.\n\n#### functions.py\n\n- Included a function `discourse_data_exchange_client_error()`.\n\n#### updater_http_websocket.py\n\n- Included imports.\n- Defined functions to read and update JSON data.\n- Added a main() function.\n- Included error handling.\n- Called a function `discourse_data_exchange_client_error()`.\n\n#### json_1.json\n\n- Added a new key-value pair: `{\"language\": \"en_us\"}`.\n\n#### server_http_websocket.py\n\n- Organized imports.\n- Improved error handling.\n- Added a function `discourse_data_exchange_server_error()` to handle errors.\n- Modified the `save_json()` function to use a different shell script path and emit real-time updates to clients.\n- Modified the `update_json()` function to use a different shell script path.\n- Improved exception handling in various functions.\n\n#### Changes to reccomm.sh\n\n- Renamed the script from `recccom.sh` to `reccomm.sh`.\n- Refactored code for recording and transmitting audio.\n- Implemented a loop to await a key press to initiate or stop recording and send the file with SCP.\n\n#### commbase_stt_whisper_proactive_p.py\n\n- Imported and utilized various functions from external modules.\n- Set values for specific variables.\n- Implemented functionality for listening to speech input, recognizing audio, and writing text to a temporary file.\n- Modified the `main()` function to continuously listen for user input and write it to the temporary file.\n\n#### commbase_stt_whisper_reactive_p.py\n\n- Added a function `get_stt_engine_language()` to retrieve the language setting for the speech-to-text engine.\n\n#### functions.py\n\n- Added the function `get_stt_engine_language()` to read the 'STT_ENGINE_LANGUAGE' variable from the environment configuration file and return its value.\n\n#### controller.sh\n\n- Updated the path to control patterns JSON file to use variables.\n\n#### run_voice_recorder_in_pane.sh\n\n- Updated a comment to clarify the functionality of the script.\n\n#### update_control_in_messages_json.sh\n\n- Updated comments for clarity.\n\n#### Modified Configuration\n\n- Updated some configuration parameters in `commbase.conf`, including language settings and file paths.\n\n#### commbase.conf.default\n\n- Changed `COMMBASE_LOCALE` to `COMMBASE_LANG` and set it to \"en_us\".\n- Added settings for language and rate in TTS engine.\n- Added settings for proactive timeout in STT engine.\n- Added settings for language in various LLM engines.\n- Updated various paths and configurations related to logging, certificates, and other settings.\n\n#### commbase.default\n\n- Updated the script `commbase.default` to include options related to sound control and voice settings.\n\n#### app.sh\n\n- Added exporting of the time variable.\n- Updated the setup of Tmux session and panes.\n- Updated pane setup based on the STT engine being used.\n- Added setup for key bindings with xbindkeys.\n\n### Deleted Files\n\n- Deleted `capture_mute.sh`, `capture_unmute.sh`, and `toggle_active_capture_device.sh`.\n- Deleted `toggle_capture_on-off.sh`, `back_up_custom_agents_skills_and_skillsets.sh`, and `list_all_voices_available_for_pyttsx3.py`, and their associated Python script.\n- Deleted the entire file client_skill.sh\n- This suggests a removal or reorganization of functionality related to client skills execution.\n- `toggle_capture_on-off.sh`: A script to toggle sound capture on and off.\n- `control_patterns.json`: A JSON file containing control patterns.\n- `mute_the_microphone_to_pause_the_recording_instruction`: An instruction file.\n- `tell_me_about_yourself_introduction`: An introduction file.\n\n### New files\n\nHere's the list of new files excluding the ones that were deleted and then re-added:\n\n- assets/docs/Supported_languages.md\n- bundles/commbase-data-exchange/server/functions.py\n- bundles/commbase-data-exchange/server/updater_http_websocket.py\n- bundles/commbase-stt-whisper-proactive-p/functions.py\n- bundles/libcommbase/libcommbase/routines/assistant_discourse.sh\n- bundles/libcommbase/libcommbase/routines/capture_mute.sh\n- bundles/libcommbase/libcommbase/routines/cleanup_directory_by_age.sh\n- bundles/libcommbase/libcommbase/routines/cleanup_directory_by_file_count.sh\n- bundles/libcommbase/libcommbase/routines/discourse_data_exchange_client_error.sh\n- bundles/libcommbase/libcommbase/routines/discourse_data_exchange_server_error.sh\n- bundles/libcommbase/libcommbase/routines/filter_pyttsx3_voices_by_language.sh\n- bundles/libcommbase/libcommbase/routines/list_all_voices_available_for_pyttsx3.py\n- bundles/libcommbase/libcommbase/routines/toggle_default_capture_device.sh\n- bundles/libcommbase/libcommbase/skills/runners/toggle_default_capture_device.sh\n- bundles/libcommbase/resources/i18n/\n- i18n/\n- scripts/configuration/set_language.sh\n- scripts/utilities/back-up/.gitkeep\n- scripts/utilities/resizable_camera_capture.py\n- src/client/\n- src/server/\n\n### Conclusion\n\nThis commit represents a consolidation of changes from the original repository, encompassing a total of 47 modifications, additions, movements, and deletions. These changes aim to enhance the overall stability, functionality, and organization of the codebase.","shortMessageHtmlLink":"Repository Refactoring and Feature Enhancements: Consolidated Changes"}},{"before":"30da3ed3e1b83534fd1a7452d92b3d0d1063562f","after":"2cc6cdb6f4882a8796ddabb379b5eb2bcc72fdfe","ref":"refs/heads/fb/estebanways","pushedAt":"2024-05-08T05:15:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"The file changed after execution","shortMessageHtmlLink":"The file changed after execution"}},{"before":"a67660714cd9e7d33b448940f792782f9b1253ef","after":"352828af72f5c0162787e8fbc4346fd993bfb66f","ref":"refs/heads/main","pushedAt":"2024-03-11T05:07:02.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #482 from mydroidandi/development\n\nDevelopment","shortMessageHtmlLink":"Merge pull request #482 from mydroidandi/development"}},{"before":"7ef68cdee66e9f9ae2117d5b65d1577f66f4f45a","after":"22bb0674991e0c0eb2e45c5eb265c60a4139dd7b","ref":"refs/heads/development","pushedAt":"2024-03-11T05:02:47.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"Merge pull request #481 from mydroidandi/fb/estebanways\n\nFb/estebanways","shortMessageHtmlLink":"Merge pull request #481 from mydroidandi/fb/estebanways"}},{"before":"c075a2092622db52967c59aab8746f31b674821b","after":"30da3ed3e1b83534fd1a7452d92b3d0d1063562f","ref":"refs/heads/fb/estebanways","pushedAt":"2024-03-11T04:16:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"File modification","shortMessageHtmlLink":"File modification"}},{"before":"d7d4bccbd6e5db6ffc87a7f00f84fb947b3890ec","after":"c075a2092622db52967c59aab8746f31b674821b","ref":"refs/heads/fb/estebanways","pushedAt":"2024-03-08T05:51:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"estebanways","name":"Esteban Herrera","path":"/estebanways","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24625517?s=80&v=4"},"commit":{"message":"exit 99","shortMessageHtmlLink":"exit 99"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEXJ0N5gA","startCursor":null,"endCursor":null}},"title":"Activity · mydroidandi/commbase"}