gitlab-cloud-connector 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +4 -5
  3. data/README.md +48 -1
  4. data/config/backend_services/ai_gateway_agent.yml +5 -0
  5. data/config/schemas/service_schema.json +38 -0
  6. data/config/schemas/unit_primitive_schema.json +54 -64
  7. data/config/services/agent_quick_actions.yml +6 -0
  8. data/config/services/anthropic_proxy.yml +11 -0
  9. data/config/services/code_suggestions.yml +5 -0
  10. data/config/services/duo_chat.yml +21 -0
  11. data/config/services/duo_workflow.yml +4 -0
  12. data/config/services/generate_description.yml +4 -0
  13. data/config/services/sast.yml +6 -0
  14. data/config/services/self_hosted_models.yml +24 -0
  15. data/config/services/summarize_new_merge_request.yml +4 -0
  16. data/config/services/vertex_ai_proxy.yml +9 -0
  17. data/config/unit_primitives/agent_quick_actions.yml +9 -0
  18. data/config/unit_primitives/ask_build.yml +1 -5
  19. data/config/unit_primitives/ask_commit.yml +1 -5
  20. data/config/unit_primitives/ask_epic.yml +2 -5
  21. data/config/unit_primitives/ask_issue.yml +2 -5
  22. data/config/unit_primitives/ask_merge_request.yml +13 -0
  23. data/config/unit_primitives/categorize_duo_chat_question.yml +10 -0
  24. data/config/unit_primitives/code_suggestions.yml +3 -7
  25. data/config/unit_primitives/complete_code.yml +0 -4
  26. data/config/unit_primitives/documentation_search.yml +0 -8
  27. data/config/unit_primitives/duo_chat.yml +1 -6
  28. data/config/unit_primitives/duo_workflow_execute_workflow.yml +3 -6
  29. data/config/unit_primitives/explain_code.yml +2 -7
  30. data/config/unit_primitives/explain_vulnerability.yml +3 -7
  31. data/config/unit_primitives/fix_code.yml +1 -6
  32. data/config/unit_primitives/generate_code.yml +0 -4
  33. data/config/unit_primitives/generate_commit_message.yml +2 -7
  34. data/config/unit_primitives/generate_cube_query.yml +10 -0
  35. data/config/unit_primitives/generate_issue_description.yml +1 -5
  36. data/config/unit_primitives/glab_ask_git_command.yml +2 -6
  37. data/config/unit_primitives/include_dependency_context.yml +2 -5
  38. data/config/unit_primitives/include_file_context.yml +1 -6
  39. data/config/unit_primitives/include_issue_context.yml +1 -5
  40. data/config/unit_primitives/include_local_git_context.yml +11 -0
  41. data/config/unit_primitives/include_merge_request_context.yml +1 -5
  42. data/config/unit_primitives/include_snippet_context.yml +1 -6
  43. data/config/unit_primitives/observability_all.yml +0 -7
  44. data/config/unit_primitives/refactor_code.yml +1 -6
  45. data/config/unit_primitives/resolve_vulnerability.yml +2 -7
  46. data/config/unit_primitives/review_merge_request.yml +11 -0
  47. data/config/unit_primitives/security_scans.yml +0 -6
  48. data/config/unit_primitives/semantic_search_issue.yml +9 -0
  49. data/config/unit_primitives/summarize_comments.yml +0 -7
  50. data/config/unit_primitives/summarize_issue_discussions.yml +9 -0
  51. data/config/unit_primitives/summarize_merge_request.yml +11 -0
  52. data/config/unit_primitives/summarize_review.yml +1 -5
  53. data/config/unit_primitives/troubleshoot_job.yml +2 -7
  54. data/config/unit_primitives/write_tests.yml +0 -6
  55. data/lib/cloud_connector.rb +4 -1
  56. data/lib/gitlab/cloud_connector/available_services_generator.rb +96 -0
  57. data/lib/gitlab/cloud_connector/configuration.rb +23 -0
  58. data/lib/gitlab/cloud_connector/data_model/associations.rb +32 -0
  59. data/lib/gitlab/cloud_connector/data_model/base.rb +49 -0
  60. data/lib/gitlab/cloud_connector/data_model/data_loader.rb +39 -0
  61. data/lib/gitlab/cloud_connector/data_models.rb +37 -0
  62. data/lib/gitlab/cloud_connector/version.rb +1 -1
  63. metadata +29 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-cloud-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Milojevic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-20 00:00:00.000000000 Z
11
+ date: 2024-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -98,6 +98,7 @@ files:
98
98
  - config/add_ons/duo_enterprise.yml
99
99
  - config/add_ons/duo_pro.yml
100
100
  - config/backend_services/ai_gateway.yml
101
+ - config/backend_services/ai_gateway_agent.yml
101
102
  - config/backend_services/duo_workflow_service.yml
102
103
  - config/backend_services/observability.yml
103
104
  - config/backend_services/security_gateway.yml
@@ -106,11 +107,25 @@ files:
106
107
  - config/schemas/add_on_schema.json
107
108
  - config/schemas/backend_service_schema.json
108
109
  - config/schemas/license_type_schema.json
110
+ - config/schemas/service_schema.json
109
111
  - config/schemas/unit_primitive_schema.json
112
+ - config/services/agent_quick_actions.yml
113
+ - config/services/anthropic_proxy.yml
114
+ - config/services/code_suggestions.yml
115
+ - config/services/duo_chat.yml
116
+ - config/services/duo_workflow.yml
117
+ - config/services/generate_description.yml
118
+ - config/services/sast.yml
119
+ - config/services/self_hosted_models.yml
120
+ - config/services/summarize_new_merge_request.yml
121
+ - config/services/vertex_ai_proxy.yml
122
+ - config/unit_primitives/agent_quick_actions.yml
110
123
  - config/unit_primitives/ask_build.yml
111
124
  - config/unit_primitives/ask_commit.yml
112
125
  - config/unit_primitives/ask_epic.yml
113
126
  - config/unit_primitives/ask_issue.yml
127
+ - config/unit_primitives/ask_merge_request.yml
128
+ - config/unit_primitives/categorize_duo_chat_question.yml
114
129
  - config/unit_primitives/code_suggestions.yml
115
130
  - config/unit_primitives/complete_code.yml
116
131
  - config/unit_primitives/documentation_search.yml
@@ -121,22 +136,34 @@ files:
121
136
  - config/unit_primitives/fix_code.yml
122
137
  - config/unit_primitives/generate_code.yml
123
138
  - config/unit_primitives/generate_commit_message.yml
139
+ - config/unit_primitives/generate_cube_query.yml
124
140
  - config/unit_primitives/generate_issue_description.yml
125
141
  - config/unit_primitives/glab_ask_git_command.yml
126
142
  - config/unit_primitives/include_dependency_context.yml
127
143
  - config/unit_primitives/include_file_context.yml
128
144
  - config/unit_primitives/include_issue_context.yml
145
+ - config/unit_primitives/include_local_git_context.yml
129
146
  - config/unit_primitives/include_merge_request_context.yml
130
147
  - config/unit_primitives/include_snippet_context.yml
131
148
  - config/unit_primitives/observability_all.yml
132
149
  - config/unit_primitives/refactor_code.yml
133
150
  - config/unit_primitives/resolve_vulnerability.yml
151
+ - config/unit_primitives/review_merge_request.yml
134
152
  - config/unit_primitives/security_scans.yml
153
+ - config/unit_primitives/semantic_search_issue.yml
135
154
  - config/unit_primitives/summarize_comments.yml
155
+ - config/unit_primitives/summarize_issue_discussions.yml
156
+ - config/unit_primitives/summarize_merge_request.yml
136
157
  - config/unit_primitives/summarize_review.yml
137
158
  - config/unit_primitives/troubleshoot_job.yml
138
159
  - config/unit_primitives/write_tests.yml
139
160
  - lib/cloud_connector.rb
161
+ - lib/gitlab/cloud_connector/available_services_generator.rb
162
+ - lib/gitlab/cloud_connector/configuration.rb
163
+ - lib/gitlab/cloud_connector/data_model/associations.rb
164
+ - lib/gitlab/cloud_connector/data_model/base.rb
165
+ - lib/gitlab/cloud_connector/data_model/data_loader.rb
166
+ - lib/gitlab/cloud_connector/data_models.rb
140
167
  - lib/gitlab/cloud_connector/json_web_token.rb
141
168
  - lib/gitlab/cloud_connector/version.rb
142
169
  homepage: https://gitlab.com/gitlab-org/cloud-connector/gitlab-cloud-connector