rebrand: PostHog→Insights in MCP analytics

This commit is contained in:
2026-03-13 16:52:56 -07:00
parent df275b96f8
commit 20778ab5c8
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ CLUSTER_DOMAINS: dict[str, list[str]] = {
"s3.hanzo.ai",
"search.hanzo.ai",
"gateway.hanzo.ai",
"hanzo.space",
"s3.hanzo.ai",
],
"adnexus": [
"ad.nexus",
@@ -20,12 +20,12 @@ from typing import Any, Callable, Dict, Optional, TypeVar
# Try to import Insights client (used as backend), but make it optional
try:
from insights import Posthog
from insights import Insights
INSIGHTS_AVAILABLE = True
except ImportError:
INSIGHTS_AVAILABLE = False
Posthog = None
Insights = None
F = TypeVar("F", bound=Callable[..., Any])
@@ -64,7 +64,7 @@ class InsightsAnalytics:
# Initialize backend if available and configured
if INSIGHTS_AVAILABLE and self.config.api_key and self.config.enabled:
self._client = Posthog(
self._client = Insights(
self.config.api_key,
host=self.config.host,
debug=self.config.debug,
+3 -3
View File
@@ -20,7 +20,7 @@ uv add hanzo-s3
from hanzo_s3 import S3Client
client = S3Client(
"s3.hanzo.space",
"s3-api.hanzo.ai",
access_key="YOUR-ACCESS-KEY",
secret_key="YOUR-SECRET-KEY",
)
@@ -41,7 +41,7 @@ client.fget_object("my-bucket", "remote/path.txt", "/local/download.txt")
```python
from hanzo_s3.admin import S3Admin
admin = S3Admin("s3.hanzo.space", credentials=provider)
admin = S3Admin("s3-api.hanzo.ai", credentials=provider)
info = admin.info()
```
@@ -60,6 +60,6 @@ All original `minio` names are also re-exported for backward compatibility.
## Links
- Documentation: https://docs.hanzo.ai/s3
- Hanzo Space: https://hanzo.space
- Hanzo Storage: https://s3.hanzo.ai
- Source (upstream): https://github.com/hanzos3/py-sdk
- Source (SDK): https://github.com/hanzoai/python-sdk
+1 -1
View File
@@ -8,7 +8,7 @@ Usage::
from hanzo_s3 import S3Client
client = S3Client(
"s3.hanzo.space",
"s3-api.hanzo.ai",
access_key="YOUR-ACCESS-KEY",
secret_key="YOUR-SECRET-KEY",
)
+1 -1
View File
@@ -5,7 +5,7 @@ Usage::
from hanzo_s3.admin import S3Admin
admin = S3Admin(
"s3.hanzo.space",
"s3-api.hanzo.ai",
credentials=provider,
)
+1 -1
View File
@@ -34,7 +34,7 @@ dev = [
]
[project.urls]
Homepage = "https://hanzo.space"
Homepage = "https://s3.hanzo.ai"
Documentation = "https://docs.hanzo.ai/s3"
Repository = "https://github.com/hanzos3/py-sdk"
Source = "https://github.com/hanzoai/python-sdk"
+1 -1
View File
@@ -90,7 +90,7 @@ def _parse_s3_path(path: str) -> tuple[str, str]:
@click.group(name="s3")
def storage_group():
"""Hanzo S3 — S3-compatible object storage (hanzo.space / s3.hanzo.ai).
"""Hanzo S3 — S3-compatible object storage (s3.hanzo.ai).
\b
Buckets: