mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 04:16:34 +00:00
Merge branch 'v1.1-develop' of github.com:oraios/serena into v1.1-develop
This commit is contained in:
commit
104112c342
2 files changed
+29
-10
No files matched your search
+11
-10
@@ -3,23 +3,24 @@
|
||||
Status of the `main` branch. Changes prior to the next official version change will appear here.
|
||||
|
||||
* General:
|
||||
- Added `serena init` and `serena setup` commands
|
||||
- **Major**: added commands for hooks and documentation on recommended setup. Consider setting up the [recommended hooks](https://oraios.github.io/serena/02-usage/030_clients.html) !
|
||||
- Reworked installation instructions, switching to releases on pypi for distribution. Please update your mcp startup commands!
|
||||
- Add `serena init` and `serena setup` commands
|
||||
- **Major**: Add commands for hooks and documentation of recommended setup. Consider setting up the [recommended hooks](https://oraios.github.io/serena/02-usage/030_clients.html) !
|
||||
- Rework installation instructions, switching to releases on pypi for distribution. Please update your mcp startup commands!
|
||||
- Add minimal usage data collection on startup (only Serena version, language backend, OS, dashboard enabled status; no personally identifiable information)
|
||||
- Fix: git commit id in Serena version strings was incorrect
|
||||
|
||||
* Language Servers:
|
||||
- Added Crystal language support (uses [Crystalline](https://github.com/elbywan/crystalline) language server)
|
||||
- Add Crystal language support (uses [Crystalline](https://github.com/elbywan/crystalline) language server)
|
||||
- Fix: Reactivation of the same project restarted language servers #1280
|
||||
|
||||
* JetBrains:
|
||||
- `JetBrainsFindReferencingSymbolTool`: Include context lines (when using plugin version 2023.2.15+)
|
||||
|
||||
* Dashboard:
|
||||
- Add version display
|
||||
- Dashboard viewer (Windows): Add a parent monitoring thread to ensure termination.
|
||||
- Fix: Dashboard viewer (Windows): Add a parent monitoring thread to ensure termination.
|
||||
Some clients would terminate the MCP server in a way that did not ensure proper termination.
|
||||
|
||||
* Fixes:
|
||||
- Fix reactivation of the same project restarting language servers #1280
|
||||
- Fix git commit id in version
|
||||
- Fix manual server shutdown triggered by GUI tool/dashboard not cleaning everything up.
|
||||
- Fix: Manual server shutdown triggered by GUI tool/dashboard not cleaning everything up.
|
||||
|
||||
# 1.0.0
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ from contextlib import contextmanager
|
||||
from logging import Logger
|
||||
from typing import TYPE_CHECKING, Optional, TypeVar
|
||||
|
||||
import requests
|
||||
import webview
|
||||
from sensai.util import logging
|
||||
from sensai.util.logging import LogTime
|
||||
@@ -406,6 +407,23 @@ class SerenaAgent:
|
||||
if self._gui_log_viewer is not None:
|
||||
self._gui_log_viewer.set_dashboard_url(dashboard_url)
|
||||
|
||||
self._send_usage_info()
|
||||
|
||||
def _send_usage_info(self) -> None:
|
||||
is_ci = os.getenv("CI") == "true" or os.getenv("GITHUB_ACTIONS") == "true"
|
||||
if is_ci:
|
||||
return
|
||||
params = {
|
||||
"os": platform.system(),
|
||||
"dashboard": int(self.serena_config.web_dashboard),
|
||||
"version": self.version,
|
||||
"backend": self._language_backend.value,
|
||||
}
|
||||
try:
|
||||
requests.get("https://www.oraios-software.de/serena_usage.php", params=params, timeout=1, verify=False)
|
||||
except Exception as e:
|
||||
log.debug(f"Failed to send usage info: {e}")
|
||||
|
||||
@classmethod
|
||||
def _create_base_toolset(
|
||||
cls,
|
||||
|
||||
Reference in new issue
Block a user