Commit Graph

51 Commits

Author SHA1 Message Date
Yeuoly 4b75eed6b7 refactor: separate CI tests, and support pg bouncer (#529)
* feat: add support for PgBouncer in database initialization

* refactor: consolidate gorm configuration for database connection

* Add MySQL and multi-driver DB integration tests (#535)

* feat: streamline integration tests by using a centralized docker-compose file

* fix: add timeout

* refactor: replace inline service definitions with docker-compose action for integration tests

* fix: update pgbouncer image and environment variable names for consistency
2025-12-17 22:08:47 +08:00
Yeuoly 96532cb100 Remove Claude code review workflow (#473) 2025-10-14 15:42:32 +08:00
Yeuoly ab7540eed9 Add Claude Code GitHub Workflow (#434)
* "Claude PR Assistant workflow"

* "Claude Code Review workflow"
2025-08-27 14:03:59 +08:00
Maries a0414b30e6 0.2.0 (#402)
* feat(oauth): add RedirectURI field to OAuth request structures

* feat(oauth): update OAuthSchema validation

* feat: add Context field to request and session structures

* feat: add CredentialType field to Credentials and InvokeToolRequest structures

* fix: handle unhandled default case in basic_type.go

* feat: add support for build branches in build-push.yml
2025-07-17 16:28:43 +08:00
Yeuoly f80d8a8946 feat: add pull request template for improved contribution guidelines (#366)
- Introduced a new pull request template to standardize contributions.
- The template includes sections for description, type of change, essential checklist, and additional information to assist reviewers.
2025-06-26 12:09:55 +08:00
Byron Wang 1fb2d1b532 update issute template: add self checks 2025-05-28 19:04:13 +08:00
Byron.wang cdf3493c35 Update issue templates 2025-05-22 16:46:13 +08:00
Yeuoly 9730b7dc63 tests: enhance integration testing for specific plugins (#242)
* feat: enhance integration testing for specific plugins

- Added integration tests for the official agent, including test data for agent strategy invocation.
- Introduced JSON schema generation and validation utilities to ensure proper request formatting.
- Enhanced mock invocation handling in the plugin manager to support tool parameters.
- Added new test utilities for simulating OpenAI server responses and managing plugin runtime.

* fix: update RunOnce function to return response stream and enhance integration test

- Modified the RunOnce function to return a response stream instead of an error, allowing for better handling of streamed responses.
- Updated the integration test for the official agent to read from the response stream, ensuring proper validation of the agent strategy invocation.
2025-04-24 16:33:50 +08:00
Yeuoly 8ff2949924 chore: update build-push workflow to skip builds on pull requests (#233) (#234)
* chore: update build-push workflow to skip builds on pull requests (#233)

- Modified the conditional for the build job to skip execution on pull requests when the `skip_on_pr` flag is set to true for specific services.

* optimize
2025-04-22 16:55:07 +08:00
Yeuoly 399c027756 chore: add checkout step in publish-cli workflow (#229) (#232) 2025-04-22 16:29:27 +08:00
Bowen Liang d918e0292d chore: modernize GHA versions (#226) 2025-04-20 17:43:38 +08:00
Bowen Liang ef676bee47 chore: align go version in GHA to 1.23 (#225) 2025-04-20 17:43:05 +08:00
Yeuoly 73a4d93a62 benchmark/local-runtime (#219)
* benchmark/local-runtime

* test

* fix

* fix: add uv

* fix: uv path

* fix: get uv

* done
2025-04-17 00:03:28 +08:00
Yeuoly 2d216df27a feat: add benchmark workflow (#216)
* feat: add benchmark workflow

- Introduced a GitHub Actions workflow for benchmarking Go code, triggered on pushes to the main branch and pull requests.
- Added a benchmark test for the stream package to measure performance of the Write method under concurrent conditions.

* fix: setup license

* fix: exclude non-benchmark

* fix: stash license

* chore: update triggers

* update README
2025-04-16 21:23:54 +08:00
Yeuoly a697cc0f0f feat(ci): enhance CLI publishing workflow with macOS signing (#196)
* feat(ci): enhance CLI publishing workflow with macOS signing

* refactor(ci): update CLI publishing workflow to use artifact uploads instead of direct release uploads

* fix: remove upload

* upgrade actions/download-artifact@v4

* fix: artifact conflicts

* fix: typo

* refactor(ci): update macOS CLI publishing workflow to handle arm64 and amd64 binaries separately

* optimize

* refactor(ci): remove stapling of notarization tickets from CLI publishing workflow

* fix

* done
2025-04-14 20:23:23 +08:00
He Wang 19c1009fb4 test plugin server with mysql 2025-03-27 11:54:27 +08:00
Yeuoly fce99c8dc7 fix: Prevent Docker Hub login during pull requests 2025-03-11 17:27:46 +08:00
Yeuoly 32cd95f9d4 Enhance/introduce uv (#81)
* enhance: introduce uv

* fix: missing pip module

* add docker build to github actions

* fix: replace pip3 with pip

* fix

* fix: add pip

* fix

* fix

* add find uv test

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-03-09 16:19:11 +08:00
Yeuoly 17383467ee refactor: docker build 2025-01-08 00:34:54 +08:00
Yeuoly ac0e7f3d50 fix: using hash id as version 2025-01-06 14:42:21 +08:00
Yeuoly 75c07102a4 refactor: add version to build args 2025-01-06 14:41:25 +08:00
Yeuoly e39b35d7d9 refactor: docker build 2025-01-06 14:38:44 +08:00
Yeuoly 96ee1a5431 fix: add .exe extenstion to windows cli 2024-12-18 22:01:15 +08:00
Yeuoly 244713eb52 fix: avoid quotes from versions 2024-11-15 17:29:15 +08:00
Yeuoly f6a6e0eb1b enhance: append 'v' prefix to cli version 2024-11-15 17:26:17 +08:00
Yeuoly 5d09e10624 fix: allows spaces in commandline version 2024-11-15 17:21:40 +08:00
Yeuoly e54b307a4d refactor: plugin and bundle command, support version command 2024-11-15 17:21:02 +08:00
Yeuoly e9e3d8c00b enhancement: reduce github action runs for cli complation 2024-11-07 13:54:26 +08:00
Yeuoly 60a5a5113e fix: github actions has incorrectly using of platforms 2024-11-07 13:44:28 +08:00
Yeuoly cf61a868e1 fix: missing darwin 2024-11-07 13:35:48 +08:00
Yeuoly c087652464 feat: ci for cli auto publish 2024-11-07 13:28:12 +08:00
Yeuoly e7e9358b06 cleanup: remove useless codes 2024-10-17 18:07:26 +08:00
Yeuoly 77c9dc47fc refactor: github workflows 2024-10-17 18:06:13 +08:00
Yeuoly 764807fe66 fix: github workflows 2024-10-17 17:41:45 +08:00
Yeuoly 89a760822c fix: github workflows 2024-10-17 17:36:50 +08:00
Yeuoly d993145b03 fix: github workflows 2024-10-17 17:04:42 +08:00
Yeuoly 3f62009bdf fix: github workflows 2024-10-17 16:53:32 +08:00
Yeuoly 14278845b8 fix: using full commit hash id 2024-10-17 16:04:24 +08:00
Yeuoly de83e44c07 fix: github workflows 2024-10-17 15:57:15 +08:00
Yeuoly 2663a1fb99 fix: github workflows 2024-10-17 15:53:29 +08:00
Yeuoly cc239fd52f fix: github workflows 2024-10-17 15:51:58 +08:00
Yeuoly bda1ca4d70 feat: add github compilation workflows 2024-10-17 15:42:02 +08:00
Yeuoly ab8de2036a chore: upgrade to 1.21.6 2024-08-28 13:56:08 +08:00
Yeuoly 2783171b04 fix: upgrade github workflows golang version to 1.21.6 2024-08-28 13:54:33 +08:00
Yeuoly e17ff25acc feat: add db tests 2024-08-06 23:31:22 +08:00
Yeuoly 7de9d7ea92 fix: redis password 2024-07-26 17:11:51 +08:00
Yeuoly 57f56125b0 feat: connection keys 2024-07-26 17:10:02 +08:00
Yeuoly be0a7e85c4 fix: key for tests 2024-07-19 18:17:08 +08:00
Yeuoly 957b3cd449 feat: tests 2024-07-19 18:12:52 +08:00
Yeuoly e8389f35d6 feat: tests 2024-07-19 18:08:14 +08:00