gitlab-api 27.3.1__tar.gz → 27.3.3__tar.gz

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 (91) hide show
  1. {gitlab_api-27.3.1/gitlab_api.egg-info → gitlab_api-27.3.3}/PKG-INFO +4 -4
  2. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/README.md +1 -1
  3. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/connector_manifest.yml +1 -1
  4. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/connectors/tool_schema_fingerprints.json +1 -1
  5. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/kg_ingest.py +1 -1
  6. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/mcp_server.py +1 -1
  7. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/ontology/certification.json +3 -3
  8. {gitlab_api-27.3.1 → gitlab_api-27.3.3/gitlab_api.egg-info}/PKG-INFO +4 -4
  9. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api.egg-info/SOURCES.txt +1 -0
  10. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api.egg-info/entry_points.txt +3 -0
  11. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api.egg-info/requires.txt +2 -2
  12. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/pyproject.toml +7 -3
  13. gitlab_api-27.3.3/tests/test_fleet_name.py +50 -0
  14. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_ingest_sources.py +1 -1
  15. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/LICENSE +0 -0
  16. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/MANIFEST.in +0 -0
  17. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/__init__.py +0 -0
  18. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/__main__.py +0 -0
  19. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/__init__.py +0 -0
  20. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_base.py +0 -0
  21. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_environments.py +0 -0
  22. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_issues.py +0 -0
  23. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_merge_requests.py +0 -0
  24. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_other.py +0 -0
  25. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_pipelines.py +0 -0
  26. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_projects.py +0 -0
  27. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_repositories.py +0 -0
  28. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_system.py +0 -0
  29. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_users_groups.py +0 -0
  30. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api/api_client_vulnerabilities.py +0 -0
  31. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/api_client.py +0 -0
  32. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/auth.py +0 -0
  33. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/connector_prep.py +0 -0
  34. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/connectors/__init__.py +0 -0
  35. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/connectors/mcp_source_presets.json +0 -0
  36. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/gitlab_gql.py +0 -0
  37. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/gitlab_input_models.py +0 -0
  38. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/gitlab_response_models.py +0 -0
  39. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/instances.py +0 -0
  40. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/mcp_config.json +0 -0
  41. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/ontology/__init__.py +0 -0
  42. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/ontology/fixtures/records.json +0 -0
  43. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/ontology/gitlab.ttl +0 -0
  44. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/ontology/ingest_sources.json +0 -0
  45. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/ontology/mappings/source.yaml +0 -0
  46. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/ontology/migrations/manifest.json +0 -0
  47. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/ontology/shapes/connector.shacl.ttl +0 -0
  48. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/prompts/__init__.py +0 -0
  49. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/prompts/devops_specialist.json +0 -0
  50. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/__init__.py +0 -0
  51. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-api-operations/SKILL.md +0 -0
  52. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-api-operations/agents/openai.yaml +0 -0
  53. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-api-operations/references/catalog.md +0 -0
  54. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-issues/SKILL.md +0 -0
  55. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-issues/WORKFLOW.md +0 -0
  56. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-merge-request-create/SKILL.md +0 -0
  57. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-merge-request-create/WORKFLOW.md +0 -0
  58. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-merge-request-review/SKILL.md +0 -0
  59. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-merge-request-review/WORKFLOW.md +0 -0
  60. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-pipelines/SKILL.md +0 -0
  61. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-pipelines/WORKFLOW.md +0 -0
  62. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-vulnerabilities/SKILL.md +0 -0
  63. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api/skills/gitlab-vulnerabilities/WORKFLOW.md +0 -0
  64. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api.egg-info/dependency_links.txt +0 -0
  65. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/gitlab_api.egg-info/top_level.txt +0 -0
  66. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/requirements.txt +0 -0
  67. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/scripts/check_import_safety.py +0 -0
  68. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/scripts/security_contract.py +0 -0
  69. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/scripts/security_sanitizer.py +0 -0
  70. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/scripts/verify_api_integration.py +0 -0
  71. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/setup.cfg +0 -0
  72. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/__init__.py +0 -0
  73. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/conftest.py +0 -0
  74. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_api_wrapper.py +0 -0
  75. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_auth.py +0 -0
  76. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_connector_prep.py +0 -0
  77. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_gitlab_a2a_validation.py +0 -0
  78. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_gitlab_api_brute_force_coverage.py +0 -0
  79. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_gitlab_gql.py +0 -0
  80. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_gitlab_mcp_validation.py +0 -0
  81. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_gitlab_models.py +0 -0
  82. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_identity_context_scoping.py +0 -0
  83. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_init_dynamics.py +0 -0
  84. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_instances.py +0 -0
  85. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_kg_ingest.py +0 -0
  86. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_mock_coverage.py +0 -0
  87. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_security_sanitizer.py +0 -0
  88. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_startup.py +0 -0
  89. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_tool_modes.py +0 -0
  90. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/test_verify_agent.py +0 -0
  91. {gitlab_api-27.3.1 → gitlab_api-27.3.3}/tests/verify_a2a_queries.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitlab-api
3
- Version: 27.3.1
3
+ Version: 27.3.3
4
4
  Summary: GitLab API + MCP Server
5
5
  Author-email: Project Maintainers <maintainers@users.noreply.github.com>
6
6
  License: MIT
@@ -12,11 +12,11 @@ Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: >=3.12
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.3
15
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11
16
16
  Requires-Dist: python-dotenv>=1.2.4
17
17
  Requires-Dist: gql[requests]>=4.4.0
18
18
  Provides-Extra: mcp
19
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.3; extra == "mcp"
19
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11; extra == "mcp"
20
20
  Provides-Extra: gql
21
21
  Requires-Dist: gql[requests]>=4.4.0; extra == "gql"
22
22
  Provides-Extra: all
@@ -50,7 +50,7 @@ Dynamic: license-file
50
50
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/gitlab-api)
51
51
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/gitlab-api)
52
52
 
53
- *Version: 27.3.1*
53
+ *Version: 27.3.3*
54
54
 
55
55
  > **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
56
56
  > backing GitLab instance are maintained in the
@@ -20,7 +20,7 @@
20
20
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/gitlab-api)
21
21
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/gitlab-api)
22
22
 
23
- *Version: 27.3.1*
23
+ *Version: 27.3.3*
24
24
 
25
25
  > **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
26
26
  > backing GitLab instance are maintained in the
@@ -1,4 +1,4 @@
1
- connector: gitlab-api
1
+ connector: gitlab-mcp
2
2
  ontology_source: gitlab
3
3
  schema_version: '1'
4
4
  resources:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "algorithm": "agent-connector-sdk:mcp-tool-contract-compat:v2",
3
- "connector": "gitlab-api",
3
+ "connector": "gitlab-mcp",
4
4
  "schema_version": "1",
5
5
  "tools": {
6
6
  "gitlab_get_projects": "18b7c440b1165616ba8455535985becf3c14d643a22f40c34d4f321c736c9e06"
@@ -23,7 +23,7 @@ from agent_connector_sdk.ingest import (
23
23
  current_ingest,
24
24
  )
25
25
 
26
- _BINDING = IngestBinding(connector="gitlab-api", stream="gitlab")
26
+ _BINDING = IngestBinding(connector="gitlab-mcp", stream="gitlab")
27
27
 
28
28
  _ENTITY_RESERVED_KEYS = frozenset({"id", "node_type"})
29
29
  _RELATIONSHIP_RESERVED_KEYS = frozenset({"source", "target", "relationship"})
@@ -35,7 +35,7 @@ from agent_connector_sdk.mcp.tool_surface import register_tool_surface
35
35
  from gitlab_api.api_client import Api
36
36
  from gitlab_api.auth import get_client
37
37
 
38
- __version__ = "27.3.1"
38
+ __version__ = "27.3.3"
39
39
  print(f"Gitlab MCP v{__version__}", file=sys.stderr)
40
40
 
41
41
  logger = get_logger(name="mcp_server")
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "api_version": "arbora.io/v1",
3
3
  "artifacts": {
4
- "connector_manifest.yml": "994ca982e951c529bbc3ae0206bbe94e0f5cc66d5ffb659c94e2d925a15af130",
4
+ "connector_manifest.yml": "ce8e95019a673f0268315c5ec472e7dc7ff3d924f5d3594a90f0f4e10a9ee11a",
5
5
  "gitlab_api/connectors/mcp_source_presets.json": "08401d486ad760f128203a710577be5be0a7c892acd6f46685077d19294b641e",
6
- "gitlab_api/connectors/tool_schema_fingerprints.json": "5e7928f836de01dc652c26eff3dbbdbde221f5cfe03b90b2d1479b83502c05ce",
6
+ "gitlab_api/connectors/tool_schema_fingerprints.json": "0cf8e4ef949fc58d36f74b949ae9e8f5ec25dc607dfb186da1eb1efc3728edc1",
7
7
  "gitlab_api/ontology/fixtures/records.json": "5f0417820053941933f15b3f459750753f4e8e34cf1e7853fd030c1143356b40",
8
8
  "gitlab_api/ontology/gitlab.ttl": "19fa64000d2e51c60c53074b1fae4ab98aed85318337b5a2199f4837ae9f3fc0",
9
9
  "gitlab_api/ontology/mappings/source.yaml": "167206b5387f7ca97ce02e0f15164f8fe41f06b413b591d0008c29e9f0a95e7f",
@@ -22,7 +22,7 @@
22
22
  "bundle_schema": "2",
23
23
  "epistemic_graph": ">=2.27.0,<3"
24
24
  },
25
- "connector": "gitlab-api",
25
+ "connector": "gitlab-mcp",
26
26
  "kind": "ConnectorSourceAttestation",
27
27
  "live_certified": false,
28
28
  "mode": "offline-source",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitlab-api
3
- Version: 27.3.1
3
+ Version: 27.3.3
4
4
  Summary: GitLab API + MCP Server
5
5
  Author-email: Project Maintainers <maintainers@users.noreply.github.com>
6
6
  License: MIT
@@ -12,11 +12,11 @@ Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: >=3.12
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.3
15
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11
16
16
  Requires-Dist: python-dotenv>=1.2.4
17
17
  Requires-Dist: gql[requests]>=4.4.0
18
18
  Provides-Extra: mcp
19
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.3; extra == "mcp"
19
+ Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.3.11; extra == "mcp"
20
20
  Provides-Extra: gql
21
21
  Requires-Dist: gql[requests]>=4.4.0; extra == "gql"
22
22
  Provides-Extra: all
@@ -50,7 +50,7 @@ Dynamic: license-file
50
50
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/gitlab-api)
51
51
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/gitlab-api)
52
52
 
53
- *Version: 27.3.1*
53
+ *Version: 27.3.3*
54
54
 
55
55
  > **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
56
56
  > backing GitLab instance are maintained in the
@@ -70,6 +70,7 @@ tests/conftest.py
70
70
  tests/test_api_wrapper.py
71
71
  tests/test_auth.py
72
72
  tests/test_connector_prep.py
73
+ tests/test_fleet_name.py
73
74
  tests/test_gitlab_a2a_validation.py
74
75
  tests/test_gitlab_api_brute_force_coverage.py
75
76
  tests/test_gitlab_gql.py
@@ -1,3 +1,6 @@
1
+ [agent_connector_sdk.connector]
2
+ gitlab-mcp = gitlab_api
3
+
1
4
  [agent_connector_sdk.ontology_providers]
2
5
  gitlab-api = gitlab_api.ontology
3
6
 
@@ -1,4 +1,4 @@
1
- agent-connector-sdk[mcp]<1.0.0,>=0.3.3
1
+ agent-connector-sdk[mcp]<1.0.0,>=0.3.11
2
2
  python-dotenv>=1.2.4
3
3
  gql[requests]>=4.4.0
4
4
 
@@ -9,7 +9,7 @@ gitlab-api[gql,mcp]>=27.2.0
9
9
  gql[requests]>=4.4.0
10
10
 
11
11
  [mcp]
12
- agent-connector-sdk[mcp]<1.0.0,>=0.3.3
12
+ agent-connector-sdk[mcp]<1.0.0,>=0.3.11
13
13
 
14
14
  [test]
15
15
  pytest-xdist>=3.8.0
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "gitlab-api"
7
- version = "27.3.1"
7
+ version = "27.3.3"
8
8
  description = "GitLab API + MCP Server"
9
9
  readme = "README.md"
10
10
  classifiers = [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
11
11
  requires-python = ">=3.12"
12
- dependencies = [ "agent-connector-sdk[mcp]>=0.3.3,<1.0.0", "python-dotenv>=1.2.4", "gql[requests]>=4.4.0",]
12
+ dependencies = [ "agent-connector-sdk[mcp]>=0.3.11,<1.0.0", "python-dotenv>=1.2.4", "gql[requests]>=4.4.0",]
13
13
  [[project.authors]]
14
14
  name = "Project Maintainers"
15
15
  email = "maintainers@users.noreply.github.com"
@@ -18,7 +18,7 @@ email = "maintainers@users.noreply.github.com"
18
18
  text = "MIT"
19
19
 
20
20
  [project.optional-dependencies]
21
- mcp = [ "agent-connector-sdk[mcp]>=0.3.3,<1.0.0",]
21
+ mcp = [ "agent-connector-sdk[mcp]>=0.3.11,<1.0.0",]
22
22
  gql = [ "gql[requests]>=4.4.0",]
23
23
  all = [ "gitlab-api[mcp,gql]>=27.2.0",]
24
24
  test = [
@@ -39,6 +39,10 @@ gitlab-api = "gitlab_api.connectors"
39
39
  [project.entry-points."agent_connector_sdk.prompt_providers"]
40
40
  gitlab-api = "gitlab_api.prompts"
41
41
 
42
+ # The one declared connector identity: the fleet name (SDK-CONNECTOR-CONTROL-R071).
43
+ [project.entry-points."agent_connector_sdk.connector"]
44
+ gitlab-mcp = "gitlab_api"
45
+
42
46
  [tool.uv.workspace]
43
47
  members = ["."]
44
48
 
@@ -0,0 +1,50 @@
1
+ """CONN-GITLAB-API-R002: the connector is filed under its fleet name, gitlab-mcp."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import ast
6
+ import json
7
+ import re
8
+ import tomllib
9
+ from pathlib import Path
10
+
11
+ import pytest
12
+
13
+ ROOT = Path(__file__).resolve().parents[1]
14
+ PACKAGE = ROOT / "gitlab_api"
15
+ FLEET = "gitlab-mcp"
16
+
17
+
18
+ def _call_connectors(path: Path) -> list[str]:
19
+ names = []
20
+ for node in ast.walk(ast.parse(path.read_text(encoding="utf-8"))):
21
+ if isinstance(node, ast.Call) and getattr(
22
+ node.func, "id", getattr(node.func, "attr", "")
23
+ ) in {
24
+ "IngestBinding",
25
+ "ConnectorContent",
26
+ }:
27
+ names += [
28
+ str(k.value.value)
29
+ for k in node.keywords
30
+ if k.arg == "connector" and isinstance(k.value, ast.Constant)
31
+ ]
32
+ return names
33
+
34
+
35
+ @pytest.mark.spec("CONN-GITLAB-API-R002")
36
+ def test_connector_name_is_the_fleet_name() -> None:
37
+ pyproject = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))
38
+ assert pyproject["project"]["entry-points"]["agent_connector_sdk.connector"] == {
39
+ FLEET: "gitlab_api"
40
+ }
41
+ manifest = (PACKAGE / "connector_manifest.yml").read_text(encoding="utf-8")
42
+ match = re.search(r'^\s*"?connector"?\s*:\s*"?([^"\s,]+)', manifest, re.MULTILINE)
43
+ assert match is not None and match.group(1) == FLEET
44
+ fingerprints = PACKAGE / "connectors" / "tool_schema_fingerprints.json"
45
+ if fingerprints.is_file():
46
+ assert (
47
+ json.loads(fingerprints.read_text(encoding="utf-8"))["connector"] == FLEET
48
+ )
49
+ for module in sorted(PACKAGE.glob("*.py")):
50
+ assert all(name == FLEET for name in _call_connectors(module)), module.name
@@ -18,7 +18,7 @@ from gitlab_api.api_client import Api
18
18
  def test_declares_ingestible_sources() -> None:
19
19
  declaration = load_ingest_sources(Path(gitlab_api.__file__).parent)
20
20
  assert declaration is not None
21
- assert declaration.connector == "gitlab-api"
21
+ assert declaration.connector == "gitlab-mcp"
22
22
  source = declaration.source("projects")
23
23
  assert source is not None and source.record_type == "Project"
24
24
  prefix = operation_prefix("gitlab-api")
File without changes
File without changes
File without changes