1410 Commits

Author SHA1 Message Date
bobo.yang
c52c4339e0 save work 2024-04-01 17:15:44 +08:00
boob.yang
8cf7147b11
Merge pull request #471 from devchat-ai/update_workflows_commit_240401
Update subproject commit hash
2024-04-01 17:12:42 +08:00
bobo.yang
ecf1c43ff3 Update subproject commit hash 2024-04-01 17:09:11 +08:00
Rankin Zheng
eaeebf720a feat: update workflow command 2024-03-30 00:48:55 +08:00
boob.yang
ca12258d4e
Merge pull request #469 from devchat-ai/ui/add-recommended-workflow-presentation-#305
Feat: Display Recommended Workflows in VSCode Plugin
2024-03-27 10:26:11 +08:00
bobo.yang
bba9b723f1 Refactor recommendCommands assignment in DevChat class 2024-03-27 08:54:22 +08:00
boob.yang
bd9c03b8a2
Merge pull request #470 from devchat-ai/update_tools_submodule_commit_0326
Update Subproject Commit Hash
2024-03-26 17:34:08 +08:00
bobo.yang
ccff4d6c8d Update subproject commit hash 2024-03-26 17:31:51 +08:00
bobo.yang
45872ed887 Add recommend property to CommandEntry interface 2024-03-26 16:33:34 +08:00
bobo.yang
3473b3ced9 Fix JSON parsing error in DevChat class 2024-03-26 16:33:25 +08:00
bobo.yang
3c7f7a2479 Refactor file reading to use fs.promises.readFile 2024-03-26 16:29:00 +08:00
bobo.yang
6d43aa75ab Update error logging in DevChat class 2024-03-26 16:26:35 +08:00
bobo.yang
63d55709a2 Fix typo in CommandEntry's recommend field 2024-03-26 16:24:54 +08:00
bobo.yang
2734ff3388 Add @iarna/toml dependency to package.json 2024-03-26 16:18:59 +08:00
bobo.yang
7c03eb81da feat: Integrate recommended workflows display
- Added fs, os imports and promisify for async file reading
- Implemented async method to load and parse the configuration file
- Extended CommandEntry interface and adjusted command logic to include recommendations
2024-03-26 16:18:03 +08:00
boob.yang
2a5fb709fb
Merge pull request #467 from devchat-ai/bugfix/chat-output-jumble-#293
Fix output disruption by preventing duplicate chat command execution
2024-03-15 11:51:15 +08:00
bobo.yang
0a74fd6dd5 fix: Prevent duplicate chat command execution
- Added a check to prevent sending a new command if one is already in progress
- Utilized UiUtilWrapper to display an error message when a second command is attempted
- Ensured that the check is reset after the command execution completes
2024-03-15 11:47:02 +08:00
小石头
a32930b98c
Merge pull request #466 from devchat-ai/feat/fix-workflow
Feat/fix workflow
2024-03-14 23:10:41 +08:00
小石头
1ecf282883 Update subproject commit hash 2024-03-14 23:07:02 +08:00
小石头
7e64e1e234 Fix typo in objectName value 2024-03-14 23:06:34 +08:00
小石头
c9146b9fd3
Merge pull request #465 from devchat-ai/feat/fix-workflow
Update Devchat commands and titles
2024-03-12 21:23:06 +08:00
小石头
dda0ec3207 Update Devchat commands and titles 2024-03-12 21:20:03 +08:00
boob.yang
78aa781dc9
Merge pull request #464 from devchat-ai/refactor/selection-range-adjustment-#291
Fix Docstring Function Selection Range to Include Last Line
2024-03-12 16:52:07 +08:00
bobo.yang
fa03786854 refactor: Adjust selection range for function docstrings
- Ensured selection range now includes the last line
- Fixed an issue causing line duplication during refactoring
- Improves accuracy for function extraction in docstrings
2024-03-12 16:49:21 +08:00
boob.yang
17d7a305bf
Merge pull request #463 from devchat-ai/enhancement/devchat-vscode-claude3-integration-#286
Feature: Integrate Claude3 Support in DevChat VSCode Extension
2024-03-12 13:31:27 +08:00
bobo.yang
b2bd118e33 feat: Update tests and remove deprecated tests for Claude3 integration
- Comment out mocha imports in various tests to prep for new test strategy
- Replace `before` with `beforeEach` and `after` with `afterEach` for consistency
- Remove deprecated `commandsBase.test.ts` and `dtm.test.ts` files to reflect focus on new functionality
2024-03-10 16:36:28 +08:00
bobo.yang
33a4ee14f1 refactor: Remove usage of deprecated contexts and APIs
- Comment out refDefsContext and defRefsContext usage in loadContexts
- Replace accessKey logic with defaultModel in several files
- Remove unused functions related to API key handling

Closes #286
2024-03-10 16:35:10 +08:00
bobo.yang
70ea72fabe refactor: Optimize file content retrieval
- Removed redundant getFileContent function from diffHandler
- Centralized getFileContent into commonUtil for shared usage
- Adjusted imports in devchat to reflect the new location
2024-03-10 16:34:07 +08:00
bobo.yang
655a9e52f8 feat: Integrate Claude3 models into vscode extension
- Updated package.json to include support for claude-3 models
- Removed references to claude-2 models in extension and ApiKeyManager
- Added API functionality and configured default settings for new models
2024-03-10 16:32:16 +08:00
小石头
ed04737f6c
Merge pull request #462 from devchat-ai/feat/explain
Feat/explain
2024-03-08 16:14:05 +08:00
小石头
5be13ca16c Update DevChat commands and add comment generation 2024-03-08 16:11:57 +08:00
小石头
19b1280222 Update submodules in gui and workflowsCommands 2024-03-07 18:50:38 +08:00
boob.yang
0689beeba8
Merge pull request #461 from devchat-ai/hotfix/vscode-compat-init-fail-#280
Fix Plugin Initialization for Non-existent Model Data
2024-03-02 13:13:16 +08:00
bobo.yang
8b020ec700 fix: Handle VSCode initialization failure gracefully
- Wrap configuration update calls in try-catch to catch and log errors
- Ensure plugin initialization continues despite non-existent model data
- Log errors using `logger.channel()` for easier debugging and monitoring
2024-03-02 13:10:42 +08:00
kagami
46375991f0
Merge pull request #460 from devchat-ai/find-defs
Implement /find_def_locations in IDE Service
2024-02-27 16:31:00 +08:00
kagami
ed8a3779d3 Implement /find_def_locations in IDE Service 2024-02-27 16:14:01 +08:00
boob.yang
14cb991122
Merge pull request #459 from devchat-ai/update_tools_commit_02262
Update subproject commit hash
2024-02-26 15:35:47 +08:00
bobo.yang
96e3076a0f Update subproject commit hash 2024-02-26 15:32:54 +08:00
boob.yang
8b97d7b5e2
Merge pull request #458 from devchat-ai/update_tools_commit_0226
Update subproject commit reference
2024-02-26 14:16:21 +08:00
bobo.yang
43d56aa727 Update subproject commit reference 2024-02-26 14:05:05 +08:00
Rankin Zheng
b1ca176889
Merge pull request #457 from devchat-ai/chore/add-code-comments-#275
Improve Code Documentation for Better Readability
2024-02-23 13:04:32 +08:00
Rankin Zheng
d07a8e0c86 chore: Add comments to improve code readability
- Added detailed comments to the isProviderHasSetted function to enhance understandability.
- Ensured comments include a brief description and the return type expectation.
- Aimed to address feedback on code documentation for better maintenance.

Closes #275
2024-02-23 13:02:43 +08:00
boob.yang
d44efd3e92
Merge pull request #456 from devchat-ai/fix/trim-key-whitespace-#265
Fix: Trim whitespace from OPENAI_API_KEY to prevent misleading 'APIConnectionError'
2024-02-18 21:00:48 +08:00
bobo.yang
98423e2ad3 fix: Trim API key whitespace
- Trim leading/trailing whitespace from OPENAI_API_KEY
- Prevent misleading 'APIConnectionError' due to key format
- Ensure API keys are in a valid format before network requests

Closes #265
2024-02-18 20:51:01 +08:00
boob.yang
3c4d261002
Merge pull request #455 from devchat-ai/hotfix/windows-launch-permissions-#264
Fix launch issue without admin permissions on Windows
2024-02-18 16:35:39 +08:00
bobo.yang
a6cc1b8221 fix: Improve config checks to prevent launch failures
- Added null checks to configuration retrieval to prevent failures
- Ensured default configurations are provided for missing settings
- Modified activation sequence to prevent errors with uninitiated UI utils
2024-02-18 16:33:07 +08:00
boob.yang
d25b16b6ef
Merge pull request #454 from devchat-ai/bugfix/devchat-subprocess-cleanup-#258
Fix: Terminate Devchat Subprocesses After Closing VS Code
2024-02-09 09:56:28 +08:00
bobo.yang
2e607f3bad fix: Ensure devchat subprocesses terminate on IDE close
- Added a deactivate function to handle IDE shutdown events
- Utilize stopDevChatBase to terminate devchat subprocesses
- Included necessary import for the constants module
2024-02-09 09:54:03 +08:00
boob.yang
dc58a93bed
Merge pull request #453 from devchat-ai/enhancement/combine-insert-retrieve-steps-#256
Streamline Log Insertion by Combining Insert and Retrieve Actions
2024-02-09 09:34:09 +08:00
bobo.yang
9ed798e1e1 feat: Streamline DevChat log insertion and retrieval
- Combine log insertion and retrieval steps into a single action
- Modify logInsert method to return an array of LogEntry objects
- Ensure backward compatibility by adapting existing code to new returns
2024-02-09 09:31:38 +08:00