10 Commits

Author SHA1 Message Date
bobo.yang
c937e67c70 Refactor historyMessagesBase.ts and handlerRegister.ts 2024-06-17 21:33:30 +08:00
bobo.yang
2bdf9d01eb feat: Add getCurrentFileInfo and getIDEServicePort handlers
- Added getCurrentFileInfo handler to retrieve the absolute path of the current file
- Added getIDEServicePort handler to retrieve the IDE service port
- Updated fileHandler.ts and handlerRegister.ts to include the new handlers
- Created getCurrentFileInfo.ts in ide_services/endpoints to implement the getCurrentFileInfo handler
- Updated services.ts in ide_services to include the getCurrentFileInfo handler
2024-06-16 22:06:27 +08:00
bobo.yang
cce0020696 Refactor configHandler.ts to read and write YAML configuration files 2024-06-14 13:24:07 +08:00
Rankin Zheng
6679c355ae feat: Add function to open code in new file
- Implemented createAndOpenFile to open a document with the provided content
- Registered createAndOpenFile handler for 'code_new_file' messages
- Enhanced codeBlockHandler and handlerRegister with new functionality
2024-04-15 22:50:15 +08:00
bobo.yang
c52c4339e0 save work 2024-04-01 17:15:44 +08:00
bobo.yang
2beb8e34da feat: Add topic management and update message history retrieval
- Implement new topicHandler with getTopics and deleteTopic functions
- Refactor historyMessagesHandler to accept topicId for message retrieval
- Adjust historyMessagesBase function signature to take topicId as an argument
2024-02-05 11:19:01 +08:00
bobo.yang
8915e178ac feat: Add fileHandler for read and write operations
- Added fileHandler.ts for handling read and write file operations
- Registered readFile and writeFile handlers in handlerRegister.ts
- Imported readFile and writeFile in handlerRegister.ts
2024-01-08 22:11:29 +08:00
bobo.yang
b734c69d61 set lang config default value 2023-12-27 16:15:39 +08:00
bobo.yang
9e6eeef721 Add language support for DevChat interface 2023-12-25 14:03:37 +08:00
bobo.yang
dc1836510d remove command and action extension 2023-11-29 23:34:15 +08:00