Commit Graph

27 Commits

Author SHA1 Message Date
Ariel Deitcher b2503f37eb chore: repository resource tests (#69)
* refactor to make testing easier

* not needed in handler func

* small cleanup

* create repository_resource_test

* remove chatty comments

* comment cleanup, function rename and some more tests

* fix test for ubuntu runner

* remove it for now

* make required args explicit instead of panic

* more tests and cleanup

* chore: use raw repo resources (#70)

* use raw repo URIs for resources

* fetch repository content from raw urls

* ensure no error in test write

* Update pkg/github/repository_resource.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* use appropriate file name for text file test

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Sam Morrow <info@sam-morrow.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-02 23:33:34 +02:00
Javier Uruen Val 5f3926d535 add support for create_pull_request (#63)
Co-authored-by: Toby Padilla <toby@toby.sh>
2025-04-01 15:48:39 -06:00
William Martin 001a665c6b Use a config filename that is different from the binary name (#46)
This was causing issues in the Docker container, where viper looks for a
filename, without considering the extension, resulting in it trying to
parse the binary itself as JSON.
2025-03-28 13:22:55 +01:00
Javier Uruen Val 92bceb5fa5 linter 2025-03-26 11:03:52 +01:00
Toby Padilla 5eb969e27b fix: add required fields for OpenAI API 2025-03-24 17:31:28 -06:00
Toby Padilla dd8eddff49 fix: mention "me" and "my" in get_me description 2025-03-24 17:26:46 -06:00
Javier Uruen Val bc3bc766c8 use generic for helper functions 2025-03-24 17:28:21 +01:00
Javier Uruen Val d24038cbd2 validate tools params 2025-03-24 17:28:21 +01:00
Javier Uruen Val af22499413 fix array schemas (#37) 2025-03-24 17:17:58 +01:00
Javier Uruen Val a26315fa15 add support for the push_files tool 2025-03-24 14:14:50 +01:00
Javier Uruen Val 7c772d2612 add support for the create_pull_request_review_tool (#33) 2025-03-24 13:50:49 +01:00
Javier Uruen Val faa236676f add support for the update_issue tool 2025-03-24 13:25:27 +01:00
Sam Morrow 3f7d5b0b8a feat: read-only flag 2025-03-20 18:49:46 +01:00
Sam Morrow dd46f8a837 add a framework for translations 2025-03-20 18:33:30 +01:00
Javier Uruen Val b3b3e02afd add support for list_issues (#26)
* add create_issue tool

* add support for list_issues
2025-03-20 18:20:34 +01:00
Javier Uruen Val 26e3c6c1ec add create_issue tool (#18) 2025-03-20 18:17:10 +01:00
Javier Uruen Val 031dd741a2 change some descriptions (#23)
* change some descriptions

* Update pkg/github/repositories.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-19 13:35:24 +01:00
Sam Morrow 1f43410b72 feature: repo resource 2025-03-18 18:47:22 +01:00
Javier Uruen Val e0bffe9926 Merge pull request #15 from github/juruen/iologging
add iologger for debugging purposes
2025-03-18 08:50:42 +01:00
Javier Uruen Val 6d63777956 add iologging for debugging purposes 2025-03-17 13:49:32 +01:00
Javier Uruen Val 3dddc2abcd add initial tests 2025-03-17 13:26:14 +01:00
Sam Morrow 6c4bbf06ee chore: remove deprecated func 2025-03-14 17:46:09 +01:00
Sam Morrow 81cc812e49 feat: add basic code scanning methods 2025-03-14 17:45:50 +01:00
Toby Padilla 62b20f7d8e fix: added "reason" argument to get_me function 2025-03-14 08:19:15 -06:00
Javier Uruen Val 1c4cb29229 split into multiple files 2025-03-10 09:49:52 +01:00
Javier Uruen Val 0fd6c76bac implement more tools 2025-03-10 09:31:52 +01:00
Javier Uruen Val 901b16a207 initial commit 2025-03-10 08:47:39 +01:00