sing-box-cli 0.0.20__tar.gz → 0.0.21__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.
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/CHANGELOG.md +6 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/PKG-INFO +1 -1
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/pyproject.toml +1 -1
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/__init__.py +1 -1
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/connections.py +1 -1
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/monitor.py +1 -1
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/.github/dependabot.yml +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/.github/workflows/main.yml +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/.gitignore +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/.pre-commit-config.yaml +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/LICENSE +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/README.md +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/assets/image.png +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/scripts/bump.sh +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/scripts/format.sh +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/scripts/lint.sh +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/scripts/pre-commit.sh +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/client.py +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/config.py +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/main.py +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/policy.py +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/py.typed +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/run.py +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/service.py +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/src/sing_box_service/widget.py +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/tests/test_config.py +0 -0
- {sing_box_cli-0.0.20 → sing_box_cli-0.0.21}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sing-box-cli
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.21
|
|
4
4
|
Summary: cross-platform sing-box-service manager.
|
|
5
5
|
Project-URL: Homepage, https://github.com/aittcuszz/sing-box-service
|
|
6
6
|
Project-URL: Issues, https://github.com/atticuszz/sing-box-service/issues
|
|
@@ -210,7 +210,7 @@ sort_commits = "oldest"
|
|
|
210
210
|
|
|
211
211
|
|
|
212
212
|
[tool.bumpversion]
|
|
213
|
-
current_version = "0.0.
|
|
213
|
+
current_version = "0.0.21"
|
|
214
214
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
215
215
|
serialize = ["{major}.{minor}.{patch}"]
|
|
216
216
|
search = "{current_version}"
|
|
@@ -76,7 +76,7 @@ def create_connections_table(
|
|
|
76
76
|
for idx, conn in enumerate(sorted_connections[:max_display]):
|
|
77
77
|
# Extract data
|
|
78
78
|
metadata = conn.get("metadata", {})
|
|
79
|
-
host = metadata.get("host", "
|
|
79
|
+
host = metadata.get("host", "") or metadata.get("destinationIP", "?")
|
|
80
80
|
|
|
81
81
|
network = metadata.get("network", "?").upper()
|
|
82
82
|
upload = format_bytes(conn.get("upload", 0))
|
|
@@ -336,7 +336,7 @@ class ResourceVisualizer:
|
|
|
336
336
|
for conn in sorted_connections[:max_display]:
|
|
337
337
|
# Extract data
|
|
338
338
|
metadata = conn.get("metadata", {})
|
|
339
|
-
host = metadata.get("host", "
|
|
339
|
+
host = metadata.get("host", "") or metadata.get("destinationIP", "?")
|
|
340
340
|
|
|
341
341
|
network = metadata.get("network", "?").upper()
|
|
342
342
|
upload = format_bytes(conn.get("upload", 0))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|