Commit graph

2349 commits

Author SHA1 Message Date
Max
fb49ca41cd
Merge pull request #965 from trheyi/main
chore: Update S3 copy command in build-linux workflow to disable chec…
2025-05-18 18:45:44 +08:00
Max
aaf93f0240 chore: Update S3 copy command in build-linux workflow to disable checksums
- Modified the S3 copy command in the build-linux.yml workflow to set AWS_S3_DISABLE_CHECKSUMS to true, improving upload performance and consistency.
2025-05-18 18:45:07 +08:00
Max
6729b5f1d8
Merge pull request #964 from trheyi/main
chore: Remove --no-checksum-validation option from S3 copy command in…
2025-05-18 18:21:42 +08:00
Max
e1780db83b chore: Remove --no-checksum-validation option from S3 copy command in build-linux workflow
- Updated the S3 copy command in the build-linux.yml workflow to remove the --no-checksum-validation option, reverting to the previous behavior for consistency in file uploads.
2025-05-18 18:21:10 +08:00
Max
d436da3c6e
Merge pull request #963 from trheyi/main
chore: Add --no-checksum-validation option to S3 copy command in buil…
2025-05-18 18:08:51 +08:00
Max
dcf3e7ef76 chore: Add --no-checksum-validation option to S3 copy command in build-linux workflow
- Updated the S3 copy command in the build-linux.yml workflow to include the --no-checksum-validation option for improved performance during file uploads.
2025-05-18 18:08:03 +08:00
Max
19ddc4150b
Merge pull request #962 from trheyi/main
chore: Rename XGen to CUI in macOS build workflow
2025-05-18 18:00:23 +08:00
Max
e7ac051d88 chore: Rename XGen to CUI in macOS build workflow
- Updated references in the build-macos.yml workflow to replace XGen with CUI.
- Adjusted file movements and cleanup commands to reflect the new naming convention for consistency.
2025-05-18 17:59:54 +08:00
Max
603cf5a180
Merge pull request #961 from trheyi/main
chore: Update version and Go installation in CI workflows
2025-05-18 17:58:00 +08:00
Max
4dbdb07efb chore: Update version and Go installation in CI workflows
- Bumped the version from 0.9.0 to 0.10.5 in the macOS build workflow.
- Updated the Go installation in the Dockerfile from version 1.24.0 to 1.24.3 for improved compatibility and features.
2025-05-18 17:57:21 +08:00
Max
7c4a6f585c
Merge pull request #960 from trheyi/main
chore: Update .gitignore and Makefile for improved artifact management
2025-05-18 17:37:57 +08:00
Max
eeac6bbf96 chore: Update .gitignore and Makefile for improved artifact management
- Added backup entries for bindata.go and const.go in .gitignore to prevent accidental commits.
- Refactored Makefile to streamline CUI commit retrieval and ensure consistent versioning in artifact generation.
- Implemented backup and restoration of bindata.go and const.go during the release process for better safety.
2025-05-18 17:37:28 +08:00
Max
18db28247c
Merge pull request #959 from trheyi/main
feat: Update versioning and commit information in Makefile and versio…
2025-05-18 16:47:58 +08:00
Max
4c026755c4 feat: Update versioning and commit information in Makefile and version command
- Added CUI commit information to the Makefile for artifact generation.
- Enhanced version command output to include Yao and CUI commit details with improved formatting.
- Updated constant names in share/const.go for clarity on versioning.
- Fixed references to CUI commit in process and app files to align with new naming conventions.
2025-05-18 16:47:32 +08:00
Max
4ffc2d559b
Merge pull request #958 from trheyi/main
⚠️ BREAKING: Rename XGen to CUI and update license terms
2025-05-18 12:17:12 +08:00
Max
f55fc7b374 ⚠️ BREAKING: Rename XGen to CUI and update license terms
1. Major Changes:
   - Migrate all XGen references to CUI
   - Update project naming conventions across codebase

2. License Updates:
   - Revise open source license terms
   - Update copyright and usage conditions

This is a breaking change that requires updates in dependent projects.
2025-05-18 12:16:45 +08:00
Max
bdd69637d9
Merge pull request #957 from trheyi/main
chore: Update Go version in CI workflows to 1.24
2025-05-18 10:20:34 +08:00
Max
42e5e5ecdb chore: Update Go version in CI workflows to 1.24
- Updated the Go version in both `pr-test.yml` and `unit-test.yml` workflows from 1.23 to 1.24 to ensure compatibility with the latest features and improvements.
2025-05-18 10:19:19 +08:00
Max
fc345da85e
Merge pull request #956 from trheyi/main
refactor: Simplify sheet dimension retrieval in Excel processing
2025-05-15 13:03:49 +08:00
Max
c357c72934 refactor: Simplify sheet dimension retrieval in Excel processing
- Replaced the previous method of calculating sheet dimensions with a more efficient approach using the `Cols` method.
- Removed commented-out code related to dimension handling, streamlining the function for better readability and maintainability.
2025-05-15 13:02:13 +08:00
Max
74db0d9a53
Merge pull request #955 from trheyi/main
feat: Add row reading and dimension retrieval functionalities for Exc…
2025-05-15 12:56:53 +08:00
Max
1cce634d24 feat: Add row reading and dimension retrieval functionalities for Excel sheets
- Implemented `excel.sheet.rows` to read specified rows from a sheet with pagination support.
- Added `excel.sheet.dimension` to retrieve the number of rows and columns in a sheet.
- Enhanced the Excel processing logic to handle new functionalities and updated related tests.
- Updated README with examples for the new features.
2025-05-15 12:56:28 +08:00
Max
a66bc2c4ca
Merge pull request #954 from trheyi/main
feat: Add support for Vision and Search in Assistant API
2025-05-14 16:03:49 +08:00
Max
aca3014167 feat: Add support for Vision and Search in Assistant API
- Introduced Vision and Search capabilities in the Assistant API, enhancing its functionality.
- Updated the Context struct to include Vision and Search fields for better context management.
- Added a new Search type to facilitate search engine integration.
- Adjusted the execute method to handle the new features appropriately.
2025-05-14 16:03:13 +08:00
Max
91883eb2f5
Merge pull request #953 from trheyi/main
fix: Correct assistant ID handling in chat methods
2025-05-13 15:20:14 +08:00
Max
51cb155d73 fix: Correct assistant ID handling in chat methods
- Updated the assignment of assistant_id to use the Default value from neo.Use, ensuring consistent behavior when the assistant_id is nil.
- Adjusted the logic for determining assistant_deleteable to compare against the Default value, improving clarity and correctness in chat functionality.
2025-05-13 15:18:25 +08:00
Max
a12378e346
Merge pull request #952 from trheyi/main
fix: Enhance loading functions to handle non-existent directories
2025-05-13 09:10:42 +08:00
Max
fabced291c fix: Enhance loading functions to handle non-existent directories
- Added checks in various loading functions to ignore processing if the respective directories do not exist, improving error handling and preventing unnecessary operations.
- Updated the Load function signature to return warnings alongside errors, allowing for better feedback on loading issues across different components.
2025-05-13 09:10:10 +08:00
Max
c3b30a018e
Merge pull request #951 from trheyi/main
fix: Add support for attachments in message mapping
2025-05-12 14:39:02 +08:00
Max
15f3f0adf8 fix: Add support for attachments in message mapping
- Implemented functionality to handle attachments in the Map method of the Message struct.
- Added JSON parsing for attachments, ensuring proper error handling and feedback during the process.
2025-05-12 14:38:37 +08:00
Max
dcad01db10
Merge pull request #950 from trheyi/main
fix: Update download URL for Yao binary in Dockerfiles
2025-05-09 15:39:45 +08:00
Max
8b7d56a83d fix: Update download URL for Yao binary in Dockerfiles
- Changed the download URL for the Yao binary in both development and production Dockerfiles to a new location.
- Ensured that the binary is still installed correctly with the appropriate permissions.
2025-05-09 15:39:00 +08:00
Max
c084e68427
Merge pull request #949 from trheyi/main
fix: Comment out Assistant metadata in error handling within Assistan…
2025-05-09 15:26:15 +08:00
Max
6934381319 fix: Comment out Assistant metadata in error handling within Assistant API
- Commented out the Assistant metadata in error handling to prevent unnecessary data exposure during error responses.
- Ensured that the output is sent to the client correctly in the streamChat method, maintaining clarity in the execution flow.
2025-05-09 15:25:39 +08:00
Max
6f615766cc
Merge pull request #948 from trheyi/main
fix: Update client type constant for Android in context management
2025-05-09 12:23:40 +08:00
Max
eb89272048 fix: Update client type constant for Android in context management
- Renamed ClientTypeSDK to ClientTypeAndroid for clarity and consistency in client type definitions.
- Updated SupportedClientTypes map to reflect the change in client type naming.
2025-05-09 12:14:41 +08:00
Max
6599a24ffb
Merge pull request #947 from trheyi/main
fix: Improve result handling in Assistant API streamChat method
2025-05-09 12:09:47 +08:00
Max
dc54d17f2b fix: Improve result handling in Assistant API streamChat method
- Refactored the result handling logic to ensure that the output is sent to the client correctly, whether a callback is provided or not.
- Simplified the flow by removing redundant callback handling when a result is available.
2025-05-09 12:09:19 +08:00
Max
3b943b25c0
Merge pull request #946 from trheyi/main
fix: Update asset metadata and improve error handling in Agent class
2025-05-09 10:51:16 +08:00
Max
4c7b1547e8 fix: Update asset metadata and improve error handling in Agent class
- Updated modification times for various asset files in bindata.go to reflect recent changes.
- Enhanced error handling in the Agent class in libsui/agent.ts by providing more descriptive error messages for rejected promises.
- Improved message parsing error handling to ensure clearer feedback on failures.
2025-05-09 10:50:49 +08:00
Max
e618de72e6
Merge pull request #945 from trheyi/main
feat: Update asset metadata and enhance Assistant API functionality
2025-05-09 10:28:33 +08:00
Max
c44c332334 feat: Update asset metadata and enhance Assistant API functionality
- Updated modification times for various asset files in bindata.go to reflect recent changes.
- Refactored the Assistant API to improve result handling and streamline message processing.
- Removed unused stream handling code in the Assistant, simplifying the execution flow.
- Enhanced the Agent class in libsui/agent.ts to better manage message states and improve error handling.
2025-05-09 10:27:31 +08:00
Max
ac55508e05
Merge pull request #944 from trheyi/main
feat: Enhance context management and update asset metadata in SUI
2025-05-08 20:06:24 +08:00
Max
712bb99ab1 feat: Enhance context management and update asset metadata in SUI
- Updated modification times for various asset files in bindata.go to reflect recent changes.
- Improved context handling in the API by adding support for silent mode, history visibility, and client type.
- Refactored assistant ID usage to ensure consistent access to the default assistant across various methods.
- Enhanced the Agent class in libsui/agent.ts to manage silent mode and history visibility settings effectively.
2025-05-08 20:05:39 +08:00
Max
dec0a7db6e
Merge pull request #943 from trheyi/main
Update asset metadata and enhance Agent class functionality in SUI
2025-05-08 12:21:36 +08:00
Max
afc2971830 Update asset metadata and enhance Agent class functionality in SUI
- Updated modification times for various asset files in bindata.go to reflect recent changes.
- Enhanced the Agent class in libsui/agent.ts by adding type tracking for message processing, improving message creation logic based on type changes.
- Improved event handling in the Agent class to streamline message processing and enhance user interactions.
2025-05-08 12:21:07 +08:00
Max
deb8d18326
Merge pull request #942 from trheyi/main
Update asset metadata and enhance Agent class functionality in SUI
2025-05-07 15:10:00 +08:00
Max
54e291b804 Update asset metadata and enhance Agent class functionality in SUI
- Updated modification times for various asset files in bindata.go to reflect recent changes.
- Enhanced the Agent class in libsui/agent.ts by adding context management and a cancel method for better resource handling.
- Improved type definitions and event handling in the Agent class to streamline message processing and enhance user interactions.
2025-05-07 15:07:52 +08:00
Max
979057ae2b
Merge pull request #941 from trheyi/main
feat: Enhance context management and agent functionality in SUI
2025-05-06 19:25:00 +08:00
Max
83bdab3499 feat: Enhance context management and agent functionality in SUI
- Added support for assistant ID in context handling to improve user-specific interactions.
- Updated asset metadata in bindata.go to reflect recent changes in modification times.
- Enhanced the Agent class in libsui/agent.ts with improved type definitions for the Call method, ensuring better type safety and clarity in asynchronous operations.
- Improved event handling in the Agent class to manage message completion more effectively.
2025-05-06 19:24:06 +08:00