gitlab-cloud-connector 0.2.1 → 0.2.3
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.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +4 -5
- data/README.md +48 -1
- data/config/backend_services/ai_gateway_agent.yml +5 -0
- data/config/schemas/service_schema.json +38 -0
- data/config/schemas/unit_primitive_schema.json +54 -64
- data/config/services/agent_quick_actions.yml +6 -0
- data/config/services/anthropic_proxy.yml +11 -0
- data/config/services/code_suggestions.yml +5 -0
- data/config/services/duo_chat.yml +21 -0
- data/config/services/duo_workflow.yml +4 -0
- data/config/services/generate_description.yml +4 -0
- data/config/services/sast.yml +6 -0
- data/config/services/self_hosted_models.yml +24 -0
- data/config/services/summarize_new_merge_request.yml +4 -0
- data/config/services/vertex_ai_proxy.yml +9 -0
- data/config/unit_primitives/agent_quick_actions.yml +9 -0
- data/config/unit_primitives/ask_build.yml +1 -5
- data/config/unit_primitives/ask_commit.yml +1 -5
- data/config/unit_primitives/ask_epic.yml +2 -5
- data/config/unit_primitives/ask_issue.yml +2 -5
- data/config/unit_primitives/ask_merge_request.yml +13 -0
- data/config/unit_primitives/categorize_duo_chat_question.yml +10 -0
- data/config/unit_primitives/code_suggestions.yml +3 -7
- data/config/unit_primitives/complete_code.yml +0 -4
- data/config/unit_primitives/documentation_search.yml +0 -8
- data/config/unit_primitives/duo_chat.yml +1 -6
- data/config/unit_primitives/duo_workflow_execute_workflow.yml +3 -6
- data/config/unit_primitives/explain_code.yml +2 -7
- data/config/unit_primitives/explain_vulnerability.yml +3 -7
- data/config/unit_primitives/fix_code.yml +1 -6
- data/config/unit_primitives/generate_code.yml +0 -4
- data/config/unit_primitives/generate_commit_message.yml +2 -7
- data/config/unit_primitives/generate_cube_query.yml +10 -0
- data/config/unit_primitives/generate_issue_description.yml +1 -5
- data/config/unit_primitives/glab_ask_git_command.yml +2 -6
- data/config/unit_primitives/include_dependency_context.yml +2 -5
- data/config/unit_primitives/include_file_context.yml +1 -6
- data/config/unit_primitives/include_issue_context.yml +1 -5
- data/config/unit_primitives/include_local_git_context.yml +11 -0
- data/config/unit_primitives/include_merge_request_context.yml +1 -5
- data/config/unit_primitives/include_snippet_context.yml +1 -6
- data/config/unit_primitives/observability_all.yml +0 -7
- data/config/unit_primitives/refactor_code.yml +1 -6
- data/config/unit_primitives/resolve_vulnerability.yml +2 -7
- data/config/unit_primitives/review_merge_request.yml +11 -0
- data/config/unit_primitives/security_scans.yml +0 -6
- data/config/unit_primitives/semantic_search_issue.yml +9 -0
- data/config/unit_primitives/summarize_comments.yml +0 -7
- data/config/unit_primitives/summarize_issue_discussions.yml +9 -0
- data/config/unit_primitives/summarize_merge_request.yml +11 -0
- data/config/unit_primitives/summarize_review.yml +1 -5
- data/config/unit_primitives/troubleshoot_job.yml +2 -7
- data/config/unit_primitives/write_tests.yml +0 -6
- data/lib/cloud_connector.rb +4 -1
- data/lib/gitlab/cloud_connector/available_services_generator.rb +96 -0
- data/lib/gitlab/cloud_connector/configuration.rb +23 -0
- data/lib/gitlab/cloud_connector/data_model/associations.rb +32 -0
- data/lib/gitlab/cloud_connector/data_model/base.rb +49 -0
- data/lib/gitlab/cloud_connector/data_model/data_loader.rb +39 -0
- data/lib/gitlab/cloud_connector/data_models.rb +37 -0
- data/lib/gitlab/cloud_connector/version.rb +1 -1
- metadata +29 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 631ee0be48c3afe5732dcdd2cbf8f1f2bfb081ac40783a3790981072c80ab57d
|
|
4
|
+
data.tar.gz: b22b16aaf5e29d67081cd4ee03e83f572daeed2db9ab15962c0e82ed192676ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4cb3e67ea39fb9b7db24a5fe6b9375d8e1b8278c27bd91b929d11dd8bec180adbfb7a182d9f175a744ac3e7f2e490bd05bc888b7770d01b4b30dfe7f2aa3aff
|
|
7
|
+
data.tar.gz: 01ce43956fe3a3fc248757294520cf220dbc00b25b7d5f3774fc5320f467874f0f1ac1f43bbe91efcf07d1d9c80df7dbbfe21ce1ca429f3c5719a045396ebdd8
|
data/CONTRIBUTING.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
# Making changes to this repository
|
|
2
2
|
|
|
3
3
|
We welcome contributions. When making changes:
|
|
4
4
|
|
|
5
|
-
1. Follow good
|
|
5
|
+
1. Follow good Git commit practices. Summarize the change concisely in the commit title,
|
|
6
6
|
and add relevant details in the commit body.
|
|
7
7
|
1. Add a [changelog trailer](https://docs.gitlab.com/ee/user/project/changelogs.html) where it applies.
|
|
8
8
|
1. Open a merge request.
|
|
@@ -44,7 +44,6 @@ This code of conduct applies both within project spaces and in public spaces
|
|
|
44
44
|
when an individual is representing the project or its community.
|
|
45
45
|
|
|
46
46
|
Instances of abusive, harassing, or otherwise unacceptable behavior can be
|
|
47
|
-
reported by emailing contact@gitlab.com
|
|
47
|
+
reported by emailing <contact@gitlab.com>.
|
|
48
48
|
|
|
49
|
-
This Code of Conduct is adapted from the [Contributor Covenant](https://contributor-covenant.org
|
|
50
|
-
available at [https://contributor-covenant.org/version/1/1/0/](https://contributor-covenant.org/version/1/1/0/).
|
|
49
|
+
This Code of Conduct is adapted from the [Contributor Covenant, version 1.1.0](https://contributor-covenant.org/version/1/1/0/).
|
data/README.md
CHANGED
|
@@ -10,6 +10,54 @@ We expect Bundler is used to manage dependencies. To add the dependency, add it
|
|
|
10
10
|
gem "gitlab-cloud-connector", "~> 0.1.1", require: 'cloud_connector'
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
### Data Storage
|
|
16
|
+
|
|
17
|
+
Cloud Connector uses YAML files stored in the project's `/config` directory. The data is organized by model type:
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
# config/backend_services/ai_gateway.yml
|
|
21
|
+
name: ai_gateway
|
|
22
|
+
description: "AI Gateway"
|
|
23
|
+
jwt_aud: gitlab-ai-gateway
|
|
24
|
+
|
|
25
|
+
# config/add_ons/duo_pro.yml
|
|
26
|
+
name: duo_pro
|
|
27
|
+
description: "Duo Pro"
|
|
28
|
+
|
|
29
|
+
# config/unit_primitives/duo_chat.yml
|
|
30
|
+
name: duo_chat
|
|
31
|
+
description: "Duo Chat"
|
|
32
|
+
backend_services:
|
|
33
|
+
- ai_gateway
|
|
34
|
+
add_ons:
|
|
35
|
+
- duo_pro
|
|
36
|
+
- duo_enterprise
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Working with DataModels
|
|
40
|
+
|
|
41
|
+
`DataModels` are the core data structures in the Cloud Connector. Each model inherits from `DataModel::Base`. The data is loaded from YAML files into memory at runtime, making it efficient for read operations and relationship traversal.
|
|
42
|
+
|
|
43
|
+
```ruby
|
|
44
|
+
require 'cloud_connector'
|
|
45
|
+
|
|
46
|
+
# Find unit primitive by name
|
|
47
|
+
# Note: value should be a symbol (e.g., `:duo_chat` instead of `'duo_chat'`).
|
|
48
|
+
duo_chat = Gitlab::CloudConnector::DataModels::UnitPrimitive.find_by_name(:duo_chat)
|
|
49
|
+
duo_chat.description
|
|
50
|
+
duo_chat.cut_off_date
|
|
51
|
+
|
|
52
|
+
# access associations
|
|
53
|
+
duo_chat.add_ons
|
|
54
|
+
duo_chat.license_types
|
|
55
|
+
duo_chat.backend_services
|
|
56
|
+
|
|
57
|
+
# read duo_chat audiences
|
|
58
|
+
duo_chat.backend_services.map(&:jwt_aud)
|
|
59
|
+
```
|
|
60
|
+
|
|
13
61
|
## Release Process
|
|
14
62
|
|
|
15
63
|
See [Release Process](../../README.md#release-process)
|
|
@@ -18,4 +66,3 @@ Once the new gem version is visible on [RubyGems.org](https://rubygems.org/gems/
|
|
|
18
66
|
it is recommended to update [GitLab's `Gemfile`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/Gemfile)
|
|
19
67
|
and [Customers Dot's `Gemfile`](https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/main/Gemfile) to bump the `gitlab-cloud-connector`
|
|
20
68
|
Ruby gem to the new version also. See [Usage](#usage) for how to do this.
|
|
21
|
-
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"description": "This is the legacy format for the service object that is being deprecated. Consider transitioning to the new format.",
|
|
5
|
+
"required": ["name"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"pattern": "^[a-z0-9]+(_[a-z0-9]+)*$",
|
|
10
|
+
"description": "The unique name of the service, consisting of lowercase alphanumeric characters and underscores."
|
|
11
|
+
},
|
|
12
|
+
"basic_unit_primitive": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"pattern": "^[a-z0-9]+(_[a-z0-9]+)*$",
|
|
15
|
+
"description": "The basic unit primitive identifier."
|
|
16
|
+
},
|
|
17
|
+
"gitlab_realm": {
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": ["gitlab-com", "self-managed"]
|
|
22
|
+
},
|
|
23
|
+
"description": "An array of unit primitives associated with the service."
|
|
24
|
+
},
|
|
25
|
+
"description": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "A brief description of the service."
|
|
28
|
+
},
|
|
29
|
+
"unit_primitives": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"description": "An array of unit primitives associated with the service."
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
@@ -1,96 +1,86 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
3
|
"type": "object",
|
|
4
|
-
"required": [
|
|
4
|
+
"required": [
|
|
5
|
+
"name",
|
|
6
|
+
"description",
|
|
7
|
+
"group",
|
|
8
|
+
"feature_category",
|
|
9
|
+
"backend_services"
|
|
10
|
+
],
|
|
5
11
|
"properties": {
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
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":
|
|
38
|
+
"type": "string"
|
|
14
39
|
},
|
|
15
|
-
"
|
|
16
|
-
"description": "
|
|
17
|
-
"type":
|
|
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":
|
|
46
|
+
"type": "string"
|
|
22
47
|
},
|
|
23
|
-
"
|
|
24
|
-
"description": "
|
|
25
|
-
"type":
|
|
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":
|
|
54
|
+
"type": "string"
|
|
30
55
|
},
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
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":
|
|
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":
|
|
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":
|
|
73
|
+
"type": "string",
|
|
59
74
|
"pattern": "\\A(\\d+\\.\\d+)"
|
|
60
75
|
},
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
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
|
-
"
|
|
92
|
-
"description": "
|
|
93
|
-
"type":
|
|
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,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: anthropic_proxy
|
|
3
|
+
unit_primitives:
|
|
4
|
+
- categorize_duo_chat_question
|
|
5
|
+
- generate_commit_message
|
|
6
|
+
- generate_issue_description
|
|
7
|
+
- glab_ask_git_command
|
|
8
|
+
- resolve_vulnerability
|
|
9
|
+
- review_merge_request
|
|
10
|
+
- summarize_issue_discussions
|
|
11
|
+
- summarize_review
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: duo_chat
|
|
3
|
+
basic_unit_primitive: duo_chat
|
|
4
|
+
unit_primitives:
|
|
5
|
+
- ask_build
|
|
6
|
+
- ask_commit
|
|
7
|
+
- ask_epic
|
|
8
|
+
- ask_issue
|
|
9
|
+
- ask_merge_request
|
|
10
|
+
- documentation_search
|
|
11
|
+
- duo_chat
|
|
12
|
+
- explain_code
|
|
13
|
+
- fix_code
|
|
14
|
+
- include_dependency_context
|
|
15
|
+
- include_file_context
|
|
16
|
+
- include_issue_context
|
|
17
|
+
- include_local_git_context
|
|
18
|
+
- include_merge_request_context
|
|
19
|
+
- include_snippet_context
|
|
20
|
+
- refactor_code
|
|
21
|
+
- write_tests
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: self_hosted_models
|
|
3
|
+
gitlab_realm:
|
|
4
|
+
- gitlab-com
|
|
5
|
+
unit_primitives:
|
|
6
|
+
- ask_build
|
|
7
|
+
- ask_commit
|
|
8
|
+
- ask_epic
|
|
9
|
+
- ask_issue
|
|
10
|
+
- ask_merge_request
|
|
11
|
+
- complete_code
|
|
12
|
+
- generate_code
|
|
13
|
+
- documentation_search
|
|
14
|
+
- duo_chat
|
|
15
|
+
- explain_code
|
|
16
|
+
- fix_code
|
|
17
|
+
- include_dependency_context
|
|
18
|
+
- include_file_context
|
|
19
|
+
- include_issue_context
|
|
20
|
+
- include_local_git_context
|
|
21
|
+
- include_merge_request_context
|
|
22
|
+
- include_snippet_context
|
|
23
|
+
- refactor_code
|
|
24
|
+
- write_tests
|
|
@@ -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
|
|
@@ -2,16 +2,11 @@
|
|
|
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
|
-
- duo_enterprise
|
|
14
11
|
- duo_pro
|
|
15
|
-
|
|
16
|
-
- premium
|
|
17
|
-
- ultimate
|
|
12
|
+
- duo_enterprise
|
|
@@ -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
|