gitlab-cloud-connector 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/config/backend_services/ai_gateway_agent.yml +5 -0
  3. data/config/schemas/unit_primitive_schema.json +54 -64
  4. data/config/unit_primitives/agent_quick_actions.yml +9 -0
  5. data/config/unit_primitives/ask_build.yml +1 -5
  6. data/config/unit_primitives/ask_commit.yml +1 -5
  7. data/config/unit_primitives/ask_epic.yml +2 -5
  8. data/config/unit_primitives/ask_issue.yml +2 -5
  9. data/config/unit_primitives/ask_merge_request.yml +13 -0
  10. data/config/unit_primitives/categorize_duo_chat_question.yml +10 -0
  11. data/config/unit_primitives/code_suggestions.yml +3 -7
  12. data/config/unit_primitives/complete_code.yml +0 -4
  13. data/config/unit_primitives/documentation_search.yml +0 -8
  14. data/config/unit_primitives/duo_chat.yml +1 -6
  15. data/config/unit_primitives/duo_workflow_execute_workflow.yml +3 -6
  16. data/config/unit_primitives/duo_workflow_generate_token.yml +10 -0
  17. data/config/unit_primitives/explain_code.yml +1 -7
  18. data/config/unit_primitives/explain_vulnerability.yml +3 -7
  19. data/config/unit_primitives/fix_code.yml +1 -6
  20. data/config/unit_primitives/generate_code.yml +0 -4
  21. data/config/unit_primitives/generate_commit_message.yml +2 -7
  22. data/config/unit_primitives/generate_cube_query.yml +9 -0
  23. data/config/unit_primitives/generate_issue_description.yml +1 -5
  24. data/config/unit_primitives/glab_ask_git_command.yml +2 -6
  25. data/config/unit_primitives/include_dependency_context.yml +2 -5
  26. data/config/unit_primitives/include_file_context.yml +1 -6
  27. data/config/unit_primitives/include_issue_context.yml +1 -5
  28. data/config/unit_primitives/include_local_git_context.yml +11 -0
  29. data/config/unit_primitives/include_merge_request_context.yml +1 -5
  30. data/config/unit_primitives/include_snippet_context.yml +1 -6
  31. data/config/unit_primitives/observability_all.yml +0 -7
  32. data/config/unit_primitives/refactor_code.yml +1 -6
  33. data/config/unit_primitives/resolve_vulnerability.yml +2 -7
  34. data/config/unit_primitives/review_merge_request.yml +10 -0
  35. data/config/unit_primitives/security_scans.yml +0 -6
  36. data/config/unit_primitives/semantic_search_issue.yml +9 -0
  37. data/config/unit_primitives/summarize_comments.yml +0 -7
  38. data/config/unit_primitives/summarize_issue_discussions.yml +9 -0
  39. data/config/unit_primitives/summarize_merge_request.yml +10 -0
  40. data/config/unit_primitives/summarize_new_merge_request.yml +11 -0
  41. data/config/unit_primitives/summarize_review.yml +1 -5
  42. data/config/unit_primitives/troubleshoot_job.yml +2 -7
  43. data/config/unit_primitives/write_tests.yml +0 -6
  44. data/lib/gitlab/cloud_connector/version.rb +1 -1
  45. metadata +14 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 770d5e1b4415c2544e4fb0be3d99fa19b05ab8f7969fc0f6c2c1fc5ea6fb0fb9
4
- data.tar.gz: 04e860d904164310a5cabce27bea3896f0d93e6bd66a24fae7e56610f5eaef0e
3
+ metadata.gz: 5c57fb113278c2e577aad185c79e45c5e640495c12a9bc0b48afbd925aa7c74a
4
+ data.tar.gz: 4639436cc983b23598ff7f46a58c87d502c36030f5a06becb339a97460a2889e
5
5
  SHA512:
6
- metadata.gz: 1a355ece375da0c859f01cddea2adbd9e1a94800b314e1fc649358c607b1f1b109aa38552c36afd341d02e6aff10f1fb86cf48242fecb068edf47119d59d5f62
7
- data.tar.gz: 4b2e636501b08c3a2ba6d4dee1eb9599d73e9da252035ada0c7c5ae4aa6b7aa843c2119d5f7db2afdfb908ee3fab8b96648784ec0e28bd3a5c569699fb96f895
6
+ metadata.gz: 0030a33d736c6cfbd1f0af157a3627cc541ad3d379275c0649a78786881f12cefe06e316ca6d80bbf74a5cbdc34d728861312af8494efa376d85e3810b416765
7
+ data.tar.gz: d02c56fd8f8c79b3f64decc114be325c07bae61b7b15a6fbf741d1ed5de7b4cf2c7c9de9a616f3228a9202e1028e5fbe8cf3551ff83e92d9a44c490270ad689b
@@ -0,0 +1,5 @@
1
+ ---
2
+ name: ai_gateway_agent
3
+ project_url: unknown
4
+ group: group::ai framework
5
+ jwt_aud: gitlab-ai-gateway-agent
@@ -1,96 +1,86 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-06/schema#",
3
3
  "type": "object",
4
- "required": ["name", "description", "group", "feature_category", "backend_services", "license_types"],
4
+ "required": [
5
+ "name",
6
+ "description",
7
+ "group",
8
+ "feature_category",
9
+ "backend_services"
10
+ ],
5
11
  "properties": {
6
- "name": {
7
- "description": "Name of the unit primitive",
8
- "type": "string",
9
- "pattern": "^[a-z0-9]+(_[a-z0-9]+)*$"
12
+ "add_ons": {
13
+ "type": "array",
14
+ "items": {
15
+ "type": "string"
16
+ }
17
+ },
18
+ "backend_services": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "string"
22
+ }
23
+ },
24
+ "cut_off_date": {
25
+ "description": "After this date, unit primitive has no free access",
26
+ "type": "time", "format": "date-time"
27
+ },
28
+ "deprecated_by_url": {
29
+ "description": "URL of merge request where the unit primitive was deprecated",
30
+ "type": "string"
31
+ },
32
+ "deprecation_message": {
33
+ "description": "Message explaining why the unit primitive is deprecated and any additional context",
34
+ "type": "string"
10
35
  },
11
36
  "description": {
12
37
  "description": "Description of the unit primitive",
13
- "type": ["string", "null"]
38
+ "type": "string"
14
39
  },
15
- "group": {
16
- "description": "The group that introduced the unit primitive",
17
- "type": ["string", "null"]
40
+ "documentation_url": {
41
+ "description": "URL of documentation for introduced Unit Primitive",
42
+ "type": "string"
18
43
  },
19
44
  "feature_category": {
20
45
  "description": "The feature category that introduced the unit primitive",
21
- "type": ["string", "null"]
46
+ "type": "string"
22
47
  },
23
- "unit_primitive_issue_url": {
24
- "description": "Url of original unit primitive issue",
25
- "type": ["string", "null"]
48
+ "group": {
49
+ "description": "The group that introduced the unit primitive, e.g. \"group::cloud connector\"",
50
+ "type": "string"
26
51
  },
27
52
  "introduced_by_url": {
28
53
  "description": "URL of merge request introducing the Unit Primitive",
29
- "type": ["string", "null"]
54
+ "type": "string"
30
55
  },
31
- "documentation_url": {
32
- "description": "URL of documentation for introduced Unit Primitive",
33
- "type": ["string", "null"]
56
+ "license_types": {
57
+ "type": "array",
58
+ "items": {
59
+ "type": "string"
60
+ }
34
61
  },
35
62
  "milestone": {
36
63
  "description": "Milestone in which the Unit Primitive was introduced",
37
- "type": ["string", "null"]
38
- },
39
- "cut_off_date": {
40
- "description": "After this date, unit primitive has no free access",
41
- "anyOf": [
42
- {
43
- "type": "null"
44
- },
45
- {
46
- "type": "time",
47
- "format": "date-time"
48
- }
49
- ]
64
+ "type": "string"
50
65
  },
51
66
  "min_gitlab_version": {
52
67
  "description": "Minimum gitlab version required to use this Unit Primitive",
53
- "type": ["string", "null"],
68
+ "type": "string",
54
69
  "pattern": "\\A(\\d+\\.\\d+)"
55
70
  },
56
71
  "min_gitlab_version_for_free_access": {
57
72
  "description": "Minimum gitlab version required to use this Unit Primitive while it has free access",
58
- "type": ["string", "null"],
73
+ "type": "string",
59
74
  "pattern": "\\A(\\d+\\.\\d+)"
60
75
  },
61
- "backend_services": {
62
- "type": "array",
63
- "items": {
64
- "type": "string"
65
- }
66
- },
67
- "add_ons": {
68
- "anyOf": [
69
- {
70
- "type": "array",
71
- "items": {
72
- "type": "string"
73
- }
74
- },
75
- {
76
- "type": "null"
77
- }
78
- ]
79
- },
80
- "license_types": {
81
- "type": "array",
82
- "items": {
83
- "type": "string"
84
- }
85
- },
86
- "deprecated": {
87
- "description": "Indicates if the unit primitive is deprecated",
88
- "type": "boolean",
89
- "default": false
76
+ "name": {
77
+ "description": "Name of the unit primitive",
78
+ "type": "string",
79
+ "pattern": "^[a-z0-9]+(_[a-z0-9]+)*$"
90
80
  },
91
- "deprecation_message": {
92
- "description": "Message explaining why the unit primitive is deprecated and any additional context",
93
- "type": ["string", "null"]
81
+ "unit_primitive_issue_url": {
82
+ "description": "Url of original unit primitive issue",
83
+ "type": "string"
94
84
  }
95
85
  },
96
86
  "additionalProperties": false
@@ -0,0 +1,9 @@
1
+ ---
2
+ name: agent_quick_actions
3
+ description: 'Quick actions for agent.'
4
+ group: group::duo_chat
5
+ feature_category: duo_chat
6
+ backend_services:
7
+ - ai_gateway_agent
8
+ license_types:
9
+ - ultimate
@@ -2,14 +2,10 @@
2
2
  name: ask_build
3
3
  description: Ask questions about GitLab builds.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo_chat/examples.html#ask-about-cicd
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
- license_types:
15
- - ultimate
@@ -2,14 +2,10 @@
2
2
  name: ask_commit
3
3
  description: Ask questions about GitLab commits.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo_chat/examples.html#ask-about-a-specific-commit
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
- license_types:
15
- - ultimate
@@ -2,14 +2,11 @@
2
2
  name: ask_epic
3
3
  description: Ask questions about GitLab epics.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo_chat/examples.html#ask-about-a-specific-epic
8
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10890/diffs
10
9
  backend_services:
11
10
  - ai_gateway
12
11
  add_ons:
13
12
  - duo_enterprise
14
- license_types:
15
- - ultimate
@@ -2,14 +2,11 @@
2
2
  name: ask_issue
3
3
  description: Ask questions about GitLab issues.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo_chat/examples.html#ask-about-a-specific-issue
8
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10890/diffs
10
9
  backend_services:
11
10
  - ai_gateway
12
11
  add_ons:
13
12
  - duo_enterprise
14
- license_types:
15
- - ultimate
@@ -0,0 +1,13 @@
1
+ ---
2
+ name: ask_merge_request
3
+ description: Ask questions about GitLab merge reuest.
4
+ cut_off_date: 2024-10-17T00:00:00+00:00
5
+ group: group::duo_chat
6
+ feature_category: duo_chat
7
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10899
8
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo_chat/examples.html#ask-about-a-specific-merge-request
9
+ unit_primitive_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/485499
10
+ backend_services:
11
+ - ai_gateway
12
+ add_ons:
13
+ - duo_enterprise
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: categorize_duo_chat_question
3
+ description: This should not be an unit primitive
4
+ cut_off_date: 2024-10-17T00:00:00+00:00
5
+ group: group::project management
6
+ feature_category: team_planning
7
+ backend_services:
8
+ - ai_gateway
9
+ add_ons:
10
+ - duo_enterprise
@@ -2,18 +2,14 @@
2
2
  name: code_suggestions
3
3
  description: Helps you write code more efficiently by generating code and showing suggestions as you type.
4
4
  cut_off_date: 2024-02-15T00:00:00+00:00
5
- min_gitlab_version_for_free_access:
6
5
  min_gitlab_version: '16.8'
7
- unit_primitive_issue_url:
8
- introduced_by_url:
9
- documentation_url:
10
6
  group: group::code suggestions
11
7
  feature_category: code_suggestions
8
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#code-suggestions
9
+ deprecated_by_url: https://gitlab.com/gitlab-org/cloud-connector/gitlab-cloud-connector/-/merge_requests/47
10
+ deprecation_message: This unit primitive is deprecated, please use code_create or code_generate unit primitives.
12
11
  backend_services:
13
12
  - ai_gateway
14
13
  add_ons:
15
14
  - duo_pro
16
15
  - duo_enterprise
17
- license_types:
18
- - premium
19
- - ultimate
@@ -2,7 +2,6 @@
2
2
  name: complete_code
3
3
  description: Helps you write code more efficiently by showing code suggestions as you type.
4
4
  cut_off_date: 2024-02-15T00:00:00+00:00
5
- min_gitlab_version_for_free_access:
6
5
  min_gitlab_version: "16.8"
7
6
  unit_primitive_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/497813
8
7
  introduced_by_url: https://gitlab.com/gitlab-org/cloud-connector/gitlab-cloud-connector/-/merge_requests/46
@@ -14,6 +13,3 @@ backend_services:
14
13
  add_ons:
15
14
  - duo_pro
16
15
  - duo_enterprise
17
- license_types:
18
- - premium
19
- - ultimate
@@ -2,11 +2,6 @@
2
2
  name: documentation_search
3
3
  description: Perform semantic search on gitlab documentations for a given query.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- min_gitlab_version_for_free_access: '16.8'
6
- min_gitlab_version: '16.9'
7
- unit_primitive_issue_url:
8
- introduced_by_url:
9
- documentation_url:
10
5
  group: group::duo_chat
11
6
  feature_category: duo_chat
12
7
  backend_services:
@@ -14,6 +9,3 @@ backend_services:
14
9
  add_ons:
15
10
  - duo_pro
16
11
  - duo_enterprise
17
- license_types:
18
- - premium
19
- - ultimate
@@ -4,16 +4,11 @@ description: Ask various GitLab-related questions and tasks.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
5
  min_gitlab_version_for_free_access: '16.8'
6
6
  min_gitlab_version: '16.9'
7
- unit_primitive_issue_url:
8
- introduced_by_url:
9
- documentation_url:
10
7
  group: group::duo_chat
11
8
  feature_category: duo_chat
9
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#gitlab-duo-chat
12
10
  backend_services:
13
11
  - ai_gateway
14
12
  add_ons:
15
13
  - duo_pro
16
14
  - duo_enterprise
17
- license_types:
18
- - premium
19
- - ultimate
@@ -1,13 +1,10 @@
1
1
  ---
2
2
  name: duo_workflow_execute_workflow
3
3
  description: Automate tasks and help increase productivity in your development workflow by using GitLab Duo Workflow.
4
- cut_off_date:
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
4
  group: group::duo workflow
9
5
  feature_category: duo_workflow
6
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#gitlab-duo-workflow
7
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10734
8
+ unit_primitive_issue_url: https://gitlab.com/gitlab-org/duo-workflow/duo-workflow-service/-/issues/17
10
9
  backend_services:
11
10
  - duo_workflow_service
12
- license_types:
13
- - ultimate
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: duo_workflow_generate_token
3
+ description: Automate tasks and help increase productivity in your development workflow by using GitLab Duo Workflow.
4
+ group: group::duo workflow
5
+ feature_category: duo_workflow
6
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#gitlab-duo-workflow
7
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10734
8
+ unit_primitive_issue_url: https://gitlab.com/gitlab-org/duo-workflow/duo-workflow-service/-/issues/17
9
+ backend_services:
10
+ - duo_workflow_service
@@ -2,16 +2,10 @@
2
2
  name: explain_code
3
3
  description: Explain function or method of the selected code.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::source code
9
6
  feature_category: source_code_management
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#code-explanation
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
- - duo_pro
15
- license_types:
16
- - premium
17
- - ultimate
@@ -2,16 +2,12 @@
2
2
  name: explain_vulnerability
3
3
  description: Explain a security vulnerability of the given CVE or code.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- min_gitlab_version_for_free_access: '17.2'
6
- min_gitlab_version: '17.2'
7
- unit_primitive_issue_url:
8
- introduced_by_url:
9
- documentation_url:
10
5
  group: group::threat insights
11
6
  feature_category: vulnerability_management
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#vulnerability-explanation
8
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10344
9
+ unit_primitive_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/470958
12
10
  backend_services:
13
11
  - ai_gateway
14
12
  add_ons:
15
13
  - duo_enterprise
16
- license_types:
17
- - ultimate
@@ -2,16 +2,11 @@
2
2
  name: fix_code
3
3
  description: Fix the selected code.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#fix-code
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
12
  - duo_pro
15
- license_types:
16
- - premium
17
- - ultimate
@@ -2,7 +2,6 @@
2
2
  name: generate_code
3
3
  description: Helps you write code more efficiently by generating code as you type.
4
4
  cut_off_date: 2024-02-15T00:00:00+00:00
5
- min_gitlab_version_for_free_access:
6
5
  min_gitlab_version: "16.8"
7
6
  unit_primitive_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/497813
8
7
  introduced_by_url: https://gitlab.com/gitlab-org/cloud-connector/gitlab-cloud-connector/-/merge_requests/46
@@ -14,6 +13,3 @@ backend_services:
14
13
  add_ons:
15
14
  - duo_pro
16
15
  - duo_enterprise
17
- license_types:
18
- - premium
19
- - ultimate
@@ -2,16 +2,11 @@
2
2
  name: generate_commit_message
3
3
  description: Generate a Git commit message.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- min_gitlab_version_for_free_access: '17.2'
6
- min_gitlab_version: '17.2'
7
- unit_primitive_issue_url:
8
- introduced_by_url:
9
- documentation_url:
10
5
  group: group::code review
11
6
  feature_category: code_review_workflow
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#merge-commit-message-generation
8
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10371
12
9
  backend_services:
13
10
  - ai_gateway
14
11
  add_ons:
15
12
  - duo_enterprise
16
- license_types:
17
- - ultimate
@@ -0,0 +1,9 @@
1
+ ---
2
+ name: generate_cube_query
3
+ description: Convert plain text questions about event data in to a structured query in JSON format.
4
+ group: group::platform insights
5
+ feature_category: product_analytics_visualization
6
+ backend_services:
7
+ - ai_gateway
8
+ add_ons:
9
+ - duo_enterprise
@@ -2,14 +2,10 @@
2
2
  name: generate_issue_description
3
3
  description: Generate an issue description.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::project management
9
6
  feature_category: team_planning
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#issue-description-generation
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
- license_types:
15
- - ultimate
@@ -2,16 +2,12 @@
2
2
  name: glab_ask_git_command
3
3
  description: Discover or recall git commands when and where you need them.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- min_gitlab_version_for_free_access: '17.2'
6
5
  min_gitlab_version: '17.2'
7
- unit_primitive_issue_url:
8
- introduced_by_url:
9
- documentation_url:
10
6
  group: group::code review
11
7
  feature_category: code_review_workflow
8
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#gitlab-duo-for-the-cli
9
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10298
12
10
  backend_services:
13
11
  - ai_gateway
14
12
  add_ons:
15
13
  - duo_enterprise
16
- license_types:
17
- - ultimate
@@ -2,14 +2,11 @@
2
2
  name: include_dependency_context
3
3
  description: Include dependency context in the prompt.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ unit_primitive_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/491740
8
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/11140
10
9
  backend_services:
11
10
  - ai_gateway
12
11
  add_ons:
13
12
  - duo_enterprise
14
- license_types:
15
- - ultimate
@@ -2,16 +2,11 @@
2
2
  name: include_file_context
3
3
  description: Include file context in the prompt.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/168327/
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
12
  - duo_pro
15
- license_types:
16
- - premium
17
- - ultimate
@@ -2,14 +2,10 @@
2
2
  name: include_issue_context
3
3
  description: Include issue context in the prompt.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/168327/
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
- license_types:
15
- - ultimate
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: include_local_git_context
3
+ description: Include local git context (Git Diffs/Commits) in the prompt.
4
+ cut_off_date: 2024-10-17T00:00:00+00:00
5
+ group: group::duo_chat
6
+ feature_category: duo_chat
7
+ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/172401
8
+ backend_services:
9
+ - ai_gateway
10
+ add_ons:
11
+ - duo_enterprise
@@ -2,14 +2,10 @@
2
2
  name: include_merge_request_context
3
3
  description: Include merge request context in the prompt.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/168327/
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
- license_types:
15
- - ultimate
@@ -2,16 +2,11 @@
2
2
  name: include_snippet_context
3
3
  description: Include snippet context in the prompt.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/168327/
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
12
  - duo_pro
15
- license_types:
16
- - premium
17
- - ultimate
@@ -1,14 +1,7 @@
1
1
  ---
2
2
  name: observability_all
3
3
  description: Observability unit primitive.
4
- cut_off_date:
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
4
  group: group::platform insights
9
5
  feature_category: observability
10
6
  backend_services:
11
7
  - observability
12
- license_types:
13
- - premium
14
- - ultimate
@@ -2,16 +2,11 @@
2
2
  name: refactor_code
3
3
  description: Refactor the selected code.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#refactor-code
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
12
  - duo_pro
15
- license_types:
16
- - premium
17
- - ultimate
@@ -2,16 +2,11 @@
2
2
  name: resolve_vulnerability
3
3
  description: Write code that fixes the vulnerability.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- min_gitlab_version_for_free_access: '17.2'
6
- min_gitlab_version: '17.2'
7
- unit_primitive_issue_url:
8
- introduced_by_url:
9
- documentation_url:
10
5
  group: group::threat insights
11
6
  feature_category: vulnerability_management
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#vulnerability-resolution
8
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10457
12
9
  backend_services:
13
10
  - ai_gateway
14
11
  add_ons:
15
12
  - duo_enterprise
16
- license_types:
17
- - ultimate
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: review_merge_request
3
+ description: Review new hunk and old hunk of a merge request diff.
4
+ group: group::code review
5
+ feature_category: code_review_workflow
6
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#code-review
7
+ backend_services:
8
+ - ai_gateway
9
+ add_ons:
10
+ - duo_enterprise
@@ -1,13 +1,7 @@
1
1
  ---
2
2
  name: security_scans
3
3
  description: Used to check your source code for known vulnerabilities.
4
- cut_off_date:
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
4
  group: group::static analysis
9
5
  feature_category: static_application_security_testing
10
6
  backend_services:
11
7
  - security_gateway
12
- license_types:
13
- - ultimate
@@ -0,0 +1,9 @@
1
+ ---
2
+ name: semantic_search_issue
3
+ description: Perform semantic search on gitlab issues for a given query.
4
+ group: group::global search
5
+ feature_category: global_search
6
+ backend_services:
7
+ - ai_gateway
8
+ add_ons:
9
+ - duo_enterprise
@@ -2,16 +2,9 @@
2
2
  name: summarize_comments
3
3
  description: Summarize comments of the issue or epic.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- min_gitlab_version_for_free_access: '17.2'
6
- min_gitlab_version: '17.2'
7
- unit_primitive_issue_url:
8
- introduced_by_url:
9
- documentation_url:
10
5
  group: group::project management
11
6
  feature_category: team_planning
12
7
  backend_services:
13
8
  - ai_gateway
14
9
  add_ons:
15
10
  - duo_enterprise
16
- license_types:
17
- - ultimate
@@ -0,0 +1,9 @@
1
+ ---
2
+ name: summarize_issue_discussions
3
+ description: Summarize discussions of the issue from the comments.
4
+ group: group::code review
5
+ feature_category: code_review_workflow
6
+ backend_services:
7
+ - ai_gateway
8
+ add_ons:
9
+ - duo_enterprise
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: summarize_merge_request
3
+ description: Summarize merge request from the comments.
4
+ group: group::code review
5
+ feature_category: code_review_workflow
6
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#merge-request-summary
7
+ backend_services:
8
+ - ai_gateway
9
+ add_ons:
10
+ - duo_enterprise
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: summarize_new_merge_request
3
+ description: Summarizes the changes for a new merge request based on the diff.
4
+ cut_off_date: 2024-10-17T00:00:00+00:00 # this is the cut_off date used for duo_enterprise rollout (feature requires duo_enterprise add_on in order to be used).
5
+ group: group::code review
6
+ feature_category: code_review_workflow
7
+ introduced_by_url: gitlab.com/gitlab-org/cloud-connector/gitlab-cloud-connector/-/merge_requests/54
8
+ backend_services:
9
+ - ai_gateway
10
+ add_ons:
11
+ - duo_enterprise
@@ -2,14 +2,10 @@
2
2
  name: summarize_review
3
3
  description: Summarize open reviews in merge requests.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::code review
9
6
  feature_category: code_review_workflow
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#code-review-summary
10
8
  backend_services:
11
9
  - ai_gateway
12
10
  add_ons:
13
11
  - duo_enterprise
14
- license_types:
15
- - ultimate
@@ -2,16 +2,11 @@
2
2
  name: troubleshoot_job
3
3
  description: Troubleshoot why a GitLab CI job failed and suggest a fix for it.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- min_gitlab_version_for_free_access: '17.2'
6
- min_gitlab_version: '17.2'
7
- unit_primitive_issue_url:
8
- introduced_by_url:
9
- documentation_url:
10
5
  group: group::pipeline execution
11
6
  feature_category: continuous_integration
7
+ documentation_url: https://docs.gitlab.com/ee/user/gitlab_duo/#root-cause-analysis
8
+ introduced_by_url: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/10457
12
9
  backend_services:
13
10
  - ai_gateway
14
11
  add_ons:
15
12
  - duo_enterprise
16
- license_types:
17
- - ultimate
@@ -2,9 +2,6 @@
2
2
  name: write_tests
3
3
  description: Write tests for the selected code.
4
4
  cut_off_date: 2024-10-17T00:00:00+00:00
5
- unit_primitive_issue_url:
6
- introduced_by_url:
7
- documentation_url:
8
5
  group: group::duo_chat
9
6
  feature_category: duo_chat
10
7
  backend_services:
@@ -12,6 +9,3 @@ backend_services:
12
9
  add_ons:
13
10
  - duo_pro
14
11
  - duo_enterprise
15
- license_types:
16
- - premium
17
- - ultimate
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module CloudConnector
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
  end
7
7
  end
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.2
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-11-28 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
@@ -107,32 +108,43 @@ files:
107
108
  - config/schemas/backend_service_schema.json
108
109
  - config/schemas/license_type_schema.json
109
110
  - config/schemas/unit_primitive_schema.json
111
+ - config/unit_primitives/agent_quick_actions.yml
110
112
  - config/unit_primitives/ask_build.yml
111
113
  - config/unit_primitives/ask_commit.yml
112
114
  - config/unit_primitives/ask_epic.yml
113
115
  - config/unit_primitives/ask_issue.yml
116
+ - config/unit_primitives/ask_merge_request.yml
117
+ - config/unit_primitives/categorize_duo_chat_question.yml
114
118
  - config/unit_primitives/code_suggestions.yml
115
119
  - config/unit_primitives/complete_code.yml
116
120
  - config/unit_primitives/documentation_search.yml
117
121
  - config/unit_primitives/duo_chat.yml
118
122
  - config/unit_primitives/duo_workflow_execute_workflow.yml
123
+ - config/unit_primitives/duo_workflow_generate_token.yml
119
124
  - config/unit_primitives/explain_code.yml
120
125
  - config/unit_primitives/explain_vulnerability.yml
121
126
  - config/unit_primitives/fix_code.yml
122
127
  - config/unit_primitives/generate_code.yml
123
128
  - config/unit_primitives/generate_commit_message.yml
129
+ - config/unit_primitives/generate_cube_query.yml
124
130
  - config/unit_primitives/generate_issue_description.yml
125
131
  - config/unit_primitives/glab_ask_git_command.yml
126
132
  - config/unit_primitives/include_dependency_context.yml
127
133
  - config/unit_primitives/include_file_context.yml
128
134
  - config/unit_primitives/include_issue_context.yml
135
+ - config/unit_primitives/include_local_git_context.yml
129
136
  - config/unit_primitives/include_merge_request_context.yml
130
137
  - config/unit_primitives/include_snippet_context.yml
131
138
  - config/unit_primitives/observability_all.yml
132
139
  - config/unit_primitives/refactor_code.yml
133
140
  - config/unit_primitives/resolve_vulnerability.yml
141
+ - config/unit_primitives/review_merge_request.yml
134
142
  - config/unit_primitives/security_scans.yml
143
+ - config/unit_primitives/semantic_search_issue.yml
135
144
  - config/unit_primitives/summarize_comments.yml
145
+ - config/unit_primitives/summarize_issue_discussions.yml
146
+ - config/unit_primitives/summarize_merge_request.yml
147
+ - config/unit_primitives/summarize_new_merge_request.yml
136
148
  - config/unit_primitives/summarize_review.yml
137
149
  - config/unit_primitives/troubleshoot_job.yml
138
150
  - config/unit_primitives/write_tests.yml