465 Commits

Author SHA1 Message Date
bobo.yang
e36da6da6c fix: Remove extra newlines in error message output
- Modified error message in push_changes() to remove extra newlines
- Improved consistency in error message formatting
- Simplified stderr output for failed branch determination
2025-03-07 11:03:58 +08:00
bobo.yang
c307e1ae43 fix: Add newline after push failure message
- Updated error output in push_changes() to include newlines after failure
- Improves readability of error messages in the terminal output
- Maintains consistency with successful push message formatting
2025-03-07 11:02:59 +08:00
bobo.yang
1f158fb047 fix: Remove newline after push failure message
- Modified error output in push_changes() function to remove trailing newlines
- Keeps error messages more consistent with standard error formatting
- Improves log readability when capturing stderr output
2025-03-07 11:02:20 +08:00
bobo.yang
c59cd3fcb8 fix: Improve error message formatting for failed branch detection
- Enhanced error message display when current branch cannot be determined
- Added newline characters for better readability in console output
- Maintains consistent formatting with other status messages
2025-03-07 11:01:19 +08:00
bobo.yang
b5aa4b22ac style: Improve console output formatting in push_changes
- Add newlines after push status messages for better readability
- Ensure consistent formatting for success and error messages
- Update output formatting in git push operations
2025-03-07 11:00:41 +08:00
bobo.yang
316567c83e docs: Update commit message prompt format
- Added markdown codeblock format specification for responses
- Changed format of issue reference to use angle brackets
- Added instruction to only output the commit message codeblock
2025-03-07 10:51:16 +08:00
bobo.yang
2f24253997 feat: Add push functionality to commit workflow
- Added ask_for_push() function to prompt user for pushing changes
- Implemented push_changes() function to push commits to remote
- Updated workflow steps from 2 to 3 and improved command line args handling
2025-03-07 10:41:38 +08:00
bobo.yang
90d7e0b7b9 feat: Add push functionality to commit workflow
- Fixed Step markdown formatting in chatmark/step.py
- Added push capability with user confirmation after commit
- Improved command line argument handling with better defaults
2025-03-07 08:58:37 +08:00
kagami
f4a4dbc529
Merge pull request #133 from devchat-ai/feat/update-vscode-text-selection
feat: Enhance VSCode text selection handling
2024-11-28 05:58:51 +00:00
bobo.yang
656c2287e4 fix lint error 2024-11-28 13:15:44 +08:00
bobo yang
d1321f4863 feat: Enhance VSCode text selection handling
- Add functions to get selected and visible text
- Update visible_lines() to use new get_visible_text()
- Refactor selected_lines() to use get_selected_text()
2024-11-28 12:48:01 +08:00
kagami
ed9898d038
Merge pull request #132 from devchat-ai/feat/add-multi-select-dropdown
feat: Add MultiSelect widget to chatmark library
2024-11-14 11:04:31 +00:00
bobo.yang
5da21b00d5 feat: Add MultiSelect widget and update imports
- Implement MultiSelect widget inheriting from Checkbox
- Update import order in __init__.py for consistency
- Prepare groundwork for multi-select dropdown functionality
2024-11-14 19:03:47 +08:00
bobo.yang
b8e2a0bef8 feat: Refactor MultiSelect to inherit from Checkbox
- Rename multiSelect class to MultiSelect for consistency
- Inherit MultiSelect from Checkbox to reduce code duplication
- Remove redundant properties and methods in MultiSelect class
2024-11-14 18:58:35 +08:00
bobo.yang
014579d557 feat: Add MultiSelect widget to chatmark library
- Implement MultiSelect class in widgets.py
- Update __init__.py to export MultiSelect
- Add support for multiple option selection with checkboxes
2024-11-14 18:45:59 +08:00
kagami
6d34ceb8e2
Merge pull request #131 from devchat-ai/feature/switch-submodule-directories
refactor: Replace subprocess calls with subprocess_check_output
2024-11-14 07:49:32 +00:00
bobo.yang
b0e7369929 fix lint errors 2024-11-14 15:04:27 +08:00
bobo.yang
2c1a10c4ce add gitlab workflows 2024-11-14 14:58:53 +08:00
bobo.yang
41a1de7bbb refactor: Replace os.system with subprocess_run in git add
- Replaced os.system with subprocess_run for git add command
- Updated import to include subprocess_run from git_api
- Ensured compatibility with existing git operations
2024-11-14 12:39:29 +08:00
bobo.yang
5585ff9fc2 fix lint error 2024-11-14 12:28:26 +08:00
bobo yang
2525010384 refactor: Replace subprocess calls with subprocess_check_output
- Replaced all instances of subprocess.check_output with subprocess_check_output
- Added subprocess_check_output function to handle current repo directory
- Updated git commands to use the new subprocess_check_output function
2024-11-14 12:23:09 +08:00
kagami
a4942d8527
Merge pull request #130 from devchat-ai/update_readme
Update README
2024-07-19 06:23:00 +00:00
bobo
ced0e1b111 update readme 2024-07-19 14:12:34 +08:00
kagami
b3b01a31ba
Merge pull request #129 from devchat-ai/update_pr_readme
feat: Add README files and update PR command structure
2024-07-19 04:54:04 +00:00
bobo
e03d1eb5dd docs: Add README for commit command and update YAML
- Add README.md explaining usage and steps of commit command
- Include optional issue closing feature in README
- Update command.yml to reference new README.md for help
2024-07-19 12:52:17 +08:00
bobo
1a7a272d08 feat: Add README files and update PR command structure
- Add README.md for PR command and its subcommands
- Update command.yml files to include help references
- Modify requirements.txt to use pr_env branch
- Add configuration options for PR inline review
2024-07-19 12:52:17 +08:00
kagami
a4005b6326
Merge pull request #128 from devchat-ai/auto_apply_fix_issue
feat: Enhance issue fixing and add aider integration
2024-07-19 04:42:19 +00:00
bobo
4a3b29c15e update README.md 2024-07-19 10:07:42 +08:00
bobo
7c30ca2135 fix lint error 2024-07-18 16:22:22 +08:00
bobo
c47261b06f chore: Ignore .aider* files in .gitignore 2024-07-18 16:02:33 +08:00
bobo
4e38d7785b feat: Add aider integration workflow command 2024-07-18 16:02:25 +08:00
bobo
c4352d8486 feat: Enhance fix_issue workflow with aider integration
- Add README instructions for fix_issue command usage
- Implement aider-based issue fixing when available
- Improve error handling and output formatting
- Refactor main function for better modularity
2024-07-18 16:01:08 +08:00
bobo
3980e6f996 feat: Add ask_issue workflow for automated lint error fixing
- Implement ask_issue command with README, command.yml, and main.py
- Create workflow to generate fix solutions using LLM
- Add functionality to extract and process diagnostics from IDE
2024-07-18 16:00:24 +08:00
bobo
f9fe89c5c0 feat: Remove unused RPC call for symbol definitions
- Delete get_symbol_defines_in_selected_code() function
- Clean up unused RPC call decorator
- Improve code organization in vscode_service.py
2024-07-18 15:45:04 +08:00
bobo
6ef65bc3ca feat: Add select_range method to IDEService
- Implement new RPC method for text selection in files
- Include parameters for file name and selection coordinates
- Add functionality to cancel current selection
2024-07-18 15:44:06 +08:00
bobo
7f0b440e42 chore: Add autoedit parameter to diff_apply method 2024-07-04 17:07:59 +08:00
kagami
d218bf7711
Merge pull request #127 from devchat-ai/add_fix_issue_command
feat: Add fix_issue command and new IDE service methods
2024-07-02 00:54:24 +00:00
bobo
8830931562 feat: Refactor fix_issue command to improve code readability and maintainability 2024-07-01 21:42:18 +08:00
bobo
ecdee052aa fix lint error 2024-07-01 21:39:44 +08:00
bobo
8a15ea83f2 fix lint error 2024-07-01 21:37:29 +08:00
bobo
d8d1c34406 fix: Update rules_path to "sonar-rspec" for consistency 2024-07-01 21:27:58 +08:00
bobo
89d19679f5 fix: Handle error cases and exit with non-zero status 2024-07-01 21:27:58 +08:00
bobo
9d07b91a3e feat: Add fix_issue command
- Implement new command to automatically fix lint errors
- Create main.py with functions for issue detection and fixing
- Add command.yml and README.md for fix_issue functionality
2024-07-01 21:27:57 +08:00
bobo
a8b6b4ea63 feat: Add new IDE service methods
- Implement get_diagnostics_in_range for code diagnostics
- Add get_collapsed_code method for code collapsing
- Introduce get_extension_tools_path for tool path retrieval
2024-07-01 21:27:57 +08:00
kagami
7b19535fd7
Merge pull request #126 from devchat-ai/update_workflows
Refactor and Enhance PR Creation and Review Features
2024-07-01 06:04:53 +00:00
bobo
5f4ebe5a5c Update PR requirements.txt 2024-07-01 13:55:15 +08:00
bobo
eb08230b60 update pr requirements.txt 2024-07-01 12:32:29 +08:00
bobo
bb3d04d7a9 fix lint error 2024-06-30 16:11:31 +08:00
bobo
8cbb645fa8 fix lint error 2024-06-30 16:07:38 +08:00
bobo
da9f21e1dc refactor: Rename config functions and parameters
- Renamed `read_config` to `read_config_item` and updated its usage
- Renamed `save_config` to `save_config_item` and updated its usage
- Renamed `save_branch` parameter to `base_branch` in `save_last_base_branch`
2024-06-30 15:48:54 +08:00