github-agent 2.4.9__py3-none-any.whl → 2.4.12__py3-none-any.whl

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 (85) hide show
  1. github_agent/__init__.py +15 -1
  2. github_agent/api/api_client_base.py +5 -5
  3. github_agent/api/api_client_branches.py +2 -2
  4. github_agent/api/api_client_comments.py +1 -1
  5. github_agent/api/api_client_commits.py +2 -2
  6. github_agent/api/api_client_contents.py +2 -2
  7. github_agent/api/api_client_dependabot.py +1 -1
  8. github_agent/api/api_client_issues.py +2 -2
  9. github_agent/api/api_client_orgs.py +2 -2
  10. github_agent/api/api_client_pages.py +2 -2
  11. github_agent/api/api_client_pulls.py +2 -2
  12. github_agent/api/api_client_releases.py +2 -2
  13. github_agent/api/api_client_repos.py +2 -2
  14. github_agent/api/api_client_search.py +2 -2
  15. github_agent/api/api_client_workflows.py +2 -2
  16. github_agent/auth.py +6 -6
  17. github_agent/connector_sources.py +1 -21
  18. github_agent/github_gql.py +4 -4
  19. github_agent/github_http.py +4 -4
  20. github_agent/kg_ingest.py +2 -2
  21. github_agent/mcp/mcp_action.py +2 -2
  22. github_agent/mcp/mcp_branch.py +2 -2
  23. github_agent/mcp/mcp_collaborator.py +2 -2
  24. github_agent/mcp/mcp_commit.py +2 -2
  25. github_agent/mcp/mcp_content.py +2 -2
  26. github_agent/mcp/mcp_dependabot.py +2 -2
  27. github_agent/mcp/mcp_issue.py +2 -2
  28. github_agent/mcp/mcp_org.py +2 -2
  29. github_agent/mcp/mcp_pull.py +2 -2
  30. github_agent/mcp/mcp_release.py +2 -2
  31. github_agent/mcp/mcp_repo.py +2 -2
  32. github_agent/mcp/mcp_search.py +2 -2
  33. github_agent/mcp_server.py +16 -8
  34. github_agent/ontology/__init__.py +2 -2
  35. github_agent/ontology/github.ttl +1 -1
  36. github_agent/skills/github-actions-ci-review/SKILL.md +1 -1
  37. github_agent/skills/github-agent-development/SKILL.md +86 -0
  38. github_agent/skills/github-backlog-planner/SKILL.md +5 -5
  39. github_agent/skills/github-backlog-planner/scripts/build_plan.py +1 -1
  40. github_agent/skills/github-ci-failure-sweep/SKILL.md +3 -3
  41. github_agent/skills/github-dependabot-review/SKILL.md +1 -1
  42. github_agent/skills/github-issue-tracking/SKILL.md +1 -1
  43. github_agent/skills/github-org-remediation-loop/SKILL.md +2 -2
  44. github_agent/skills/github-pr-review-sweep/SKILL.md +2 -2
  45. github_agent/skills/github-project-provisioner/SKILL.md +1 -1
  46. github_agent/skills/github-pull-request-create/SKILL.md +1 -1
  47. github_agent/skills/github-pull-request-review/SKILL.md +1 -1
  48. github_agent/skills/github-repository-management/SKILL.md +1 -1
  49. github_agent/skills/github-tools/SKILL.md +1 -1
  50. github_agent/skills/github-triage-resolver/SKILL.md +1 -1
  51. {github_agent-2.4.9.dist-info → github_agent-2.4.12.dist-info}/METADATA +9 -9
  52. github_agent-2.4.12.dist-info/RECORD +130 -0
  53. github_agent-2.4.12.dist-info/entry_points.txt +5 -0
  54. {github_agent-2.4.9.dist-info → github_agent-2.4.12.dist-info}/top_level.txt +0 -1
  55. tests/conftest.py +9 -12
  56. tests/test_action_discovery.py +1 -1
  57. tests/test_api_client_endpoints.py +1 -1
  58. tests/test_api_validation.py +1 -1
  59. tests/test_auth_client_edge_cases.py +3 -3
  60. tests/test_cq_paths.py +2 -2
  61. tests/test_default_content_surfaces.py +35 -9
  62. tests/test_fleet_name.py +4 -4
  63. tests/test_github_agent_brute_force_coverage.py +4 -4
  64. tests/test_github_gql.py +10 -6
  65. tests/test_github_http.py +49 -16
  66. tests/test_ingest_sources.py +6 -10
  67. tests/test_init_dynamics.py +1 -0
  68. tests/test_kg_ingest.py +5 -6
  69. tests/test_mcp_coverage.py +11 -3
  70. tests/test_mcp_package_dispatch.py +91 -31
  71. tests/test_model_fields.py +7 -8
  72. tests/test_org_crud.py +1 -1
  73. tests/test_pages.py +1 -1
  74. tests/test_skill_github_tools_fetch_comments.py +10 -3
  75. tests/test_skill_github_tools_inspect_pr_checks.py +13 -5
  76. tests/test_skill_org_remediation_classify_fix_risk.py +3 -1
  77. tests/test_skill_triage_resolver_classify_safe.py +10 -3
  78. github_agent/ontology/certification.json +0 -33
  79. github_agent/ontology/shapes/connector.shacl.ttl +0 -224
  80. github_agent-2.4.9.dist-info/RECORD +0 -133
  81. github_agent-2.4.9.dist-info/entry_points.txt +0 -11
  82. scripts/security_sanitizer.py +0 -318
  83. scripts/verify_api_integration.py +0 -320
  84. {github_agent-2.4.9.dist-info → github_agent-2.4.12.dist-info}/WHEEL +0 -0
  85. {github_agent-2.4.9.dist-info → github_agent-2.4.12.dist-info}/licenses/LICENSE +0 -0
github_agent/__init__.py CHANGED
@@ -1 +1,15 @@
1
- __version__ = "2.4.9"
1
+ from scion_sdk.connector import Connector
2
+ from scion_sdk.connector_identity import connector_version
3
+
4
+ from github_agent.api_client import Api
5
+ from github_agent.auth import get_client
6
+ from github_agent.mcp_server import TOOL_REGISTRY
7
+
8
+ __version__ = connector_version("github_agent")
9
+
10
+ connector = Connector(
11
+ api=Api,
12
+ get_client=get_client,
13
+ tool_registry=TOOL_REGISTRY,
14
+ instructions="Github MCP Server - Manage your repositories, issues, and pull requests.",
15
+ )
@@ -7,15 +7,15 @@ from concurrent.futures import ThreadPoolExecutor, as_completed
7
7
  from typing import TypeVar
8
8
 
9
9
  import requests
10
- from agent_connector_sdk.exceptions import (
10
+ from pydantic import BaseModel
11
+ from scion_sdk.exceptions import (
11
12
  AuthError,
12
13
  MissingParameterError,
13
14
  UnauthorizedError,
14
15
  )
15
- from agent_connector_sdk.tls.profile import ResolvedTLSProfile
16
- from agent_connector_sdk.tls.resolve import resolve_tls_profile
17
- from agent_connector_sdk.utilities import get_logger
18
- from pydantic import BaseModel
16
+ from scion_sdk.tls.profile import ResolvedTLSProfile
17
+ from scion_sdk.tls.resolve import resolve_tls_profile
18
+ from scion_sdk.utilities import get_logger
19
19
 
20
20
  logger = get_logger(__name__)
21
21
  T = TypeVar("T", bound=BaseModel)
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env python
2
- from agent_connector_sdk.exceptions import (
2
+ from pydantic import ValidationError
3
+ from scion_sdk.exceptions import (
3
4
  ParameterError,
4
5
  require_auth,
5
6
  )
6
- from pydantic import ValidationError
7
7
 
8
8
  from github_agent.api.api_client_base import BaseApiClient
9
9
  from github_agent.github_input_models import (
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python
2
- from agent_connector_sdk.exceptions import require_auth
2
+ from scion_sdk.exceptions import require_auth
3
3
 
4
4
  from github_agent.api.api_client_base import BaseApiClient
5
5
  from github_agent.github_response_models import Response
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env python
2
- from agent_connector_sdk.exceptions import (
2
+ from pydantic import ValidationError
3
+ from scion_sdk.exceptions import (
3
4
  ParameterError,
4
5
  require_auth,
5
6
  )
6
- from pydantic import ValidationError
7
7
 
8
8
  from github_agent.api.api_client_base import BaseApiClient
9
9
  from github_agent.github_input_models import (
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env python
2
- from agent_connector_sdk.exceptions import (
2
+ from pydantic import ValidationError
3
+ from scion_sdk.exceptions import (
3
4
  ParameterError,
4
5
  require_auth,
5
6
  )
6
- from pydantic import ValidationError
7
7
 
8
8
  from github_agent.api.api_client_base import BaseApiClient
9
9
  from github_agent.github_input_models import (
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python
2
2
  from typing import Any
3
3
 
4
- from agent_connector_sdk.exceptions import require_auth
4
+ from scion_sdk.exceptions import require_auth
5
5
 
6
6
  from github_agent.api.api_client_base import BaseApiClient
7
7
  from github_agent.github_response_models import Response
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env python
2
- from agent_connector_sdk.exceptions import (
2
+ from pydantic import ValidationError
3
+ from scion_sdk.exceptions import (
3
4
  MissingParameterError,
4
5
  ParameterError,
5
6
  require_auth,
6
7
  )
7
- from pydantic import ValidationError
8
8
 
9
9
  from github_agent.api.api_client_base import BaseApiClient
10
10
  from github_agent.github_input_models import (
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env python
2
2
  from urllib.parse import urlparse
3
3
 
4
- from agent_connector_sdk.exceptions import (
4
+ from pydantic import ValidationError
5
+ from scion_sdk.exceptions import (
5
6
  ParameterError,
6
7
  require_auth,
7
8
  )
8
- from pydantic import ValidationError
9
9
 
10
10
  from github_agent.api.api_client_base import BaseApiClient
11
11
  from github_agent.github_input_models import (
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env python
2
2
  import requests
3
- from agent_connector_sdk.exceptions import (
3
+ from pydantic import ValidationError
4
+ from scion_sdk.exceptions import (
4
5
  ParameterError,
5
6
  require_auth,
6
7
  )
7
- from pydantic import ValidationError
8
8
 
9
9
  from github_agent.api.api_client_base import BaseApiClient
10
10
  from github_agent.github_input_models import (
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env python
2
- from agent_connector_sdk.exceptions import (
2
+ from pydantic import ValidationError
3
+ from scion_sdk.exceptions import (
3
4
  MissingParameterError,
4
5
  ParameterError,
5
6
  require_auth,
6
7
  )
7
- from pydantic import ValidationError
8
8
 
9
9
  from github_agent.api.api_client_base import BaseApiClient
10
10
  from github_agent.github_input_models import (
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env python
2
- from agent_connector_sdk.exceptions import (
2
+ from pydantic import ValidationError
3
+ from scion_sdk.exceptions import (
3
4
  ParameterError,
4
5
  require_auth,
5
6
  )
6
- from pydantic import ValidationError
7
7
 
8
8
  from github_agent.api.api_client_base import BaseApiClient
9
9
  from github_agent.github_response_models import (
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env python
2
2
  import requests
3
- from agent_connector_sdk.exceptions import (
3
+ from pydantic import ValidationError
4
+ from scion_sdk.exceptions import (
4
5
  ParameterError,
5
6
  require_auth,
6
7
  )
7
- from pydantic import ValidationError
8
8
 
9
9
  from github_agent.api.api_client_base import BaseApiClient
10
10
  from github_agent.github_input_models import (
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env python
2
- from agent_connector_sdk.exceptions import (
2
+ from pydantic import ValidationError
3
+ from scion_sdk.exceptions import (
3
4
  ParameterError,
4
5
  require_auth,
5
6
  )
6
- from pydantic import ValidationError
7
7
 
8
8
  from github_agent.api.api_client_base import BaseApiClient
9
9
  from github_agent.github_input_models import (
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env python
2
2
  from typing import Any
3
3
 
4
- from agent_connector_sdk.exceptions import (
4
+ from pydantic import ValidationError
5
+ from scion_sdk.exceptions import (
5
6
  ParameterError,
6
7
  require_auth,
7
8
  )
8
- from pydantic import ValidationError
9
9
 
10
10
  from github_agent.api.api_client_base import BaseApiClient
11
11
  from github_agent.github_input_models import (
github_agent/auth.py CHANGED
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/python
2
2
 
3
3
  import httpx
4
- from agent_connector_sdk.auth.delegation import (
4
+ from scion_sdk.auth.delegation import (
5
5
  DelegationSettings,
6
6
  current_user_token,
7
7
  exchange_token,
8
8
  )
9
- from agent_connector_sdk.config import setting
10
- from agent_connector_sdk.exceptions import (
9
+ from scion_sdk.config import setting
10
+ from scion_sdk.exceptions import (
11
11
  AuthError,
12
12
  LoginRequiredError,
13
13
  UnauthorizedError,
14
14
  )
15
- from agent_connector_sdk.tls.profile import ResolvedTLSProfile
16
- from agent_connector_sdk.tls.resolve import resolve_tls_profile
17
- from agent_connector_sdk.utilities import get_logger
15
+ from scion_sdk.tls.profile import ResolvedTLSProfile
16
+ from scion_sdk.tls.resolve import resolve_tls_profile
17
+ from scion_sdk.utilities import get_logger
18
18
 
19
19
  from github_agent.api_client import Api
20
20
 
@@ -6,8 +6,7 @@ Served live as ``connector://resources``. Regenerate by editing the declarations
6
6
  # ruff: noqa: E501
7
7
  from __future__ import annotations
8
8
 
9
- from agent_connector_sdk.ingest.live_declaration import source_meta
10
- from agent_connector_sdk.ingest.sources import IngestSourceDeclaration, IngestSourceSpec
9
+ from scion_sdk.ingest.live_declaration import source_meta
11
10
 
12
11
  CONNECTOR = "github-mcp"
13
12
 
@@ -203,22 +202,3 @@ RESOURCES = (
203
202
  "name": "WorkflowRun",
204
203
  },
205
204
  )
206
-
207
-
208
- def declaration() -> IngestSourceDeclaration:
209
- """The declaration the server assembles from this module."""
210
- specs = []
211
- for item in SOURCES:
212
- for entry in item["connector_sources"]:
213
- body = {k: v for k, v in entry.items() if k not in ("tool", "mapping")}
214
- specs.append(
215
- IngestSourceSpec.model_validate({**body, "tools": (entry["tool"],)})
216
- )
217
- return IngestSourceDeclaration.model_validate(
218
- {
219
- "connector": CONNECTOR,
220
- "sources": specs,
221
- "schema_mappings": SCHEMA_MAPPINGS,
222
- "resources": RESOURCES,
223
- }
224
- )
@@ -4,10 +4,10 @@
4
4
  import logging
5
5
  from typing import Any
6
6
 
7
- from agent_connector_sdk.exceptions import MissingParameterError
8
- from agent_connector_sdk.tls.profile import ResolvedTLSProfile
9
- from agent_connector_sdk.tls.resolve import resolve_tls_profile
10
- from agent_connector_sdk.transports.graphql import GraphQLAuth, GraphQLClient
7
+ from scion_sdk.exceptions import MissingParameterError
8
+ from scion_sdk.tls.profile import ResolvedTLSProfile
9
+ from scion_sdk.tls.resolve import resolve_tls_profile
10
+ from scion_sdk.transports.graphql import GraphQLAuth, GraphQLClient
11
11
 
12
12
 
13
13
  class GraphQL:
@@ -7,9 +7,9 @@ import json
7
7
  import ssl
8
8
  from typing import Any
9
9
 
10
- from agent_connector_sdk.tls.errors import TransportSecurityError
11
- from agent_connector_sdk.tls.profile import ResolvedTLSProfile
12
- from agent_connector_sdk.tls.resolve import resolve_tls_profile
10
+ from scion_sdk.tls.errors import TransportSecurityError
11
+ from scion_sdk.tls.profile import ResolvedTLSProfile
12
+ from scion_sdk.tls.resolve import resolve_tls_profile
13
13
 
14
14
  GITHUB_API_HOST = "api.github.com"
15
15
  MAX_REQUEST_BYTES = 1 * 1024 * 1024
@@ -17,7 +17,7 @@ MAX_RESPONSE_BYTES = 8 * 1024 * 1024
17
17
 
18
18
 
19
19
  def _tls_profile() -> ResolvedTLSProfile:
20
- """Resolve the GitHub TLS profile from the SDK (SDK-CONNECTOR-CONTROL-R017)."""
20
+ """Resolve the GitHub TLS profile from the SDK (SCION-CONNECTOR-CONTROL-R017)."""
21
21
  try:
22
22
  return resolve_tls_profile("github")
23
23
  except TransportSecurityError:
github_agent/kg_ingest.py CHANGED
@@ -4,7 +4,7 @@ CONCEPT:AU-KG.ingest.enterprise-source-extractor. The github-agent connector nat
4
4
  pushes its data into the ONE epistemic-graph knowledge graph as **typed OWL nodes**
5
5
  (``:Repository``, ``:PullRequest``, ``:Issue``, ``:Release``, ``:Organization``,
6
6
  ``:Person``, ``:PipelineRun``, ``:CheckRun``) plus links, and release notes as
7
- **:Document** nodes for semantic search, through the ``agent_connector_sdk.ingest``
7
+ **:Document** nodes for semantic search, through the ``scion_sdk.ingest``
8
8
  facade — the one connector write path; there is no self-contained fallback
9
9
  transaction here.
10
10
 
@@ -22,7 +22,7 @@ import logging
22
22
  import time
23
23
  from typing import Any
24
24
 
25
- from agent_connector_sdk.ingest import (
25
+ from scion_sdk.ingest import (
26
26
  ChangeSet,
27
27
  Entity,
28
28
  IngestBinding,
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import get_client
13
13
 
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import get_client
13
13
 
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import get_client
13
13
 
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import get_client
13
13
 
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import get_client
13
13
 
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import allow_destructive_default, get_client
13
13
 
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import get_client
13
13
 
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.api.api_client_orgs import OrganizationCreationNotSupportedError
13
13
  from github_agent.auth import allow_destructive_default, get_client
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import (
13
13
  allow_destructive_default,
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import get_client
13
13
 
@@ -5,11 +5,11 @@ Auto-generated from mcp_server.py during ecosystem standardization.
5
5
 
6
6
  from typing import Any
7
7
 
8
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
9
- from agent_connector_sdk.mcp.concurrency import run_blocking
10
8
  from fastmcp import Context, FastMCP
11
9
  from fastmcp.dependencies import Depends
12
10
  from pydantic import Field
11
+ from scion_sdk.mcp.action_dispatch import resolve_action
12
+ from scion_sdk.mcp.concurrency import run_blocking
13
13
 
14
14
  from github_agent.auth import allow_destructive_default, get_client
15
15
  from github_agent.github_response_models import PagesAlreadyEnabled, PagesNotEnabled
@@ -3,11 +3,11 @@
3
3
  Auto-generated from mcp_server.py during ecosystem standardization.
4
4
  """
5
5
 
6
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
7
- from agent_connector_sdk.mcp.concurrency import run_blocking
8
6
  from fastmcp import Context, FastMCP
9
7
  from fastmcp.dependencies import Depends
10
8
  from pydantic import Field
9
+ from scion_sdk.mcp.action_dispatch import resolve_action
10
+ from scion_sdk.mcp.concurrency import run_blocking
11
11
 
12
12
  from github_agent.auth import get_client
13
13
 
@@ -22,13 +22,16 @@ warnings.filterwarnings("ignore", message=".*urllib3.*or charset_normalizer.*")
22
22
 
23
23
  import logging
24
24
  import sys
25
+ from pathlib import Path
25
26
  from typing import Any
26
27
 
27
- from agent_connector_sdk.config import load_config
28
- from agent_connector_sdk.mcp.action_dispatch import resolve_action
29
- from agent_connector_sdk.mcp.concurrency import run_blocking
30
- from agent_connector_sdk.mcp.server import create_mcp_server
31
- from agent_connector_sdk.mcp.tool_surface import register_tool_surface
28
+ from scion_sdk.config import load_config
29
+ from scion_sdk.connector_identity import connector_version
30
+ from scion_sdk.mcp.action_dispatch import resolve_action
31
+ from scion_sdk.mcp.concurrency import run_blocking
32
+ from scion_sdk.mcp.content import ConnectorContent
33
+ from scion_sdk.mcp.server import create_mcp_server
34
+ from scion_sdk.mcp.tool_surface import register_tool_surface
32
35
 
33
36
  from github_agent.api.api_client_orgs import OrganizationCreationNotSupportedError
34
37
  from github_agent.api_client import Api
@@ -39,7 +42,7 @@ from github_agent.auth import (
39
42
  )
40
43
  from github_agent.github_response_models import PagesAlreadyEnabled, PagesNotEnabled
41
44
 
42
- __version__ = "2.4.9"
45
+ __version__ = connector_version("github_agent")
43
46
  logger = get_logger("GithubMCPServer")
44
47
  logger.setLevel(logging.INFO)
45
48
 
@@ -3598,10 +3601,10 @@ def register_graphql_tools(mcp: FastMCP):
3598
3601
  ),
3599
3602
  ) -> dict:
3600
3603
  """Discover the live GitHub GraphQL schema (types, fields, and attributes) in real-time."""
3601
- from agent_connector_sdk.mcp.graphql import (
3604
+ from scion_sdk.mcp.graphql import (
3602
3605
  ctx_graphql_get_type_details as graphql_type_details,
3603
3606
  )
3604
- from agent_connector_sdk.mcp.graphql import (
3607
+ from scion_sdk.mcp.graphql import (
3605
3608
  ctx_graphql_list_types as graphql_schema_types,
3606
3609
  )
3607
3610
 
@@ -3656,6 +3659,11 @@ def get_mcp_instance(
3656
3659
  name="Github MCP",
3657
3660
  version=__version__,
3658
3661
  instructions="Github MCP Server - Manage your repositories, issues, and pull requests.",
3662
+ content=ConnectorContent.for_package(
3663
+ "github_agent",
3664
+ Path(__file__).resolve().parent,
3665
+ __version__,
3666
+ ),
3659
3667
  )
3660
3668
 
3661
3669
  registered_tags = register_tool_surface(
@@ -3,7 +3,7 @@
3
3
  Data-only subpackage: it carries ``github.ttl`` (the ``owl:Ontology``
4
4
  ``http://knuckles.team/kg/github`` module — organizations, repositories, pull requests,
5
5
  issues, releases, branches, commits, workflows and workflow runs with their review and
6
- delivery relationships) which the agent-connector-sdk hub federates in via
7
- the ``agent_connector_sdk.ontology_providers`` entry-point. It holds no business logic
6
+ delivery relationships) which the scion-sdk hub federates in via
7
+ the ``scion_sdk.ontology_providers`` entry-point. It holds no business logic
8
8
  and no heavy imports so the hub can resolve it cheaply.
9
9
  """
@@ -218,4 +218,4 @@
218
218
  rdfs:comment """GitHub source-control, code-review and CI/CD model — organizations,
219
219
  repositories, pull requests, issues, releases, branches, commits, workflows and
220
220
  workflow runs, with their review and delivery relationships — federated into the
221
- agent-connector-sdk knowledge-graph hub. Reuses the shared :Person and :Document classes.""" .
221
+ scion-sdk knowledge-graph hub. Reuses the shared :Person and :Document classes.""" .
@@ -11,7 +11,7 @@ description: >-
11
11
  license: MIT
12
12
  tags: [github, actions, ci, workflows, pipelines, jobs, logs, mcp]
13
13
  metadata:
14
- author: Genius
14
+ author: Knuckles-Team
15
15
  version: '0.1.0'
16
16
  ---
17
17
  # GitHub Actions CI Review