superwise-sentinel-cli 0.2.2__tar.gz → 0.2.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.
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/CHANGELOG.md +7 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/PKG-INFO +2 -2
- superwise_sentinel_cli-0.2.3/build.env +1 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/pyproject.toml +1 -1
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/shell_profile.py +25 -6
- superwise_sentinel_cli-0.2.2/build.env +0 -1
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/.gitignore +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/.gitlab-ci.yml +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/.pre-commit-config.yaml +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/.releaserc.json +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/CLAUDE.md +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/README.md +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/poetry.lock +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/poetry.toml +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/scripts/semantic-release-cli-publish.sh +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/__init__.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/auth.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/cli.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/config.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/controller.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/docker_manager.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/exceptions.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/tests/__init__.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/tests/test_auth.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/tests/test_controller.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/tests/test_docker_manager.py +0 -0
- {superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/tests/test_shell_profile.py +0 -0
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [0.2.2](https://gitlab.com/askboss/product/superwise/platform/sentinel-cli/compare/0.2.1...0.2.2) (2026-08-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### <!-- 2. -->:bug: Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add proxy status command ([084b8c5](https://gitlab.com/askboss/product/superwise/platform/sentinel-cli/commit/084b8c547f92ecb59f41e8e939676dd5216f1f37))
|
|
7
|
+
|
|
1
8
|
## [0.2.1](https://gitlab.com/askboss/product/superwise/platform/sentinel-cli/compare/0.2.0...0.2.1) (2026-07-26)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: superwise-sentinel-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Sentinel is an LLM proxy that intercepts traffic, enabling you to monitor, secure, and optimize your AI usage. This CLI tool helps you quickly set up traffic interception on this machine
|
|
5
5
|
Requires-Python: <4.0,>=3.11
|
|
6
6
|
Requires-Dist: click>=8.1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
RELEASED_VERSION=0.2.3
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "superwise-sentinel-cli"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.3"
|
|
8
8
|
description = "Sentinel is an LLM proxy that intercepts traffic, enabling you to monitor, secure, and optimize your AI usage. This CLI tool helps you quickly set up traffic interception on this machine"
|
|
9
9
|
requires-python = ">=3.11, <4.0"
|
|
10
10
|
dependencies = [
|
|
@@ -14,6 +14,30 @@ _STATE_FILE = CONFIG_DIR / "protected_vars.json"
|
|
|
14
14
|
_SOURCE_MARKER = "# sentinel-env"
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
def _detect_windows_user_profile() -> Path:
|
|
18
|
+
fallback = (
|
|
19
|
+
Path(os.environ.get("USERPROFILE", Path.home()))
|
|
20
|
+
/ "Documents"
|
|
21
|
+
/ "WindowsPowerShell"
|
|
22
|
+
/ "Microsoft.PowerShell_profile.ps1"
|
|
23
|
+
)
|
|
24
|
+
try:
|
|
25
|
+
result = subprocess.run(
|
|
26
|
+
["powershell", "-NoProfile", "-Command", "$PROFILE"],
|
|
27
|
+
capture_output=True,
|
|
28
|
+
text=True,
|
|
29
|
+
check=False,
|
|
30
|
+
timeout=5,
|
|
31
|
+
)
|
|
32
|
+
except (OSError, subprocess.SubprocessError):
|
|
33
|
+
return fallback
|
|
34
|
+
|
|
35
|
+
output = result.stdout.strip()
|
|
36
|
+
if result.returncode != 0 or not output:
|
|
37
|
+
return fallback
|
|
38
|
+
return Path(output)
|
|
39
|
+
|
|
40
|
+
|
|
17
41
|
@dataclass(frozen=True)
|
|
18
42
|
class ShellContext:
|
|
19
43
|
env_file: Path
|
|
@@ -30,12 +54,7 @@ class ShellContext:
|
|
|
30
54
|
def get_platform_context() -> ShellContext:
|
|
31
55
|
if IS_WINDOWS:
|
|
32
56
|
env_file = CONFIG_DIR / "env.ps1"
|
|
33
|
-
profile_file = (
|
|
34
|
-
Path(os.environ.get("USERPROFILE", Path.home()))
|
|
35
|
-
/ "Documents"
|
|
36
|
-
/ "WindowsPowerShell"
|
|
37
|
-
/ "Microsoft.PowerShell_profile.ps1"
|
|
38
|
-
)
|
|
57
|
+
profile_file = _detect_windows_user_profile()
|
|
39
58
|
source_line = f"{_SOURCE_MARKER}\nif (Test-Path '{env_file}') {{ . '{env_file}' }}"
|
|
40
59
|
return _WindowsShellContext(env_file=env_file, profile_file=profile_file, source_line=source_line)
|
|
41
60
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
RELEASED_VERSION=0.2.2
|
|
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
|
{superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/__init__.py
RENAMED
|
File without changes
|
{superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/auth.py
RENAMED
|
File without changes
|
{superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/cli.py
RENAMED
|
File without changes
|
{superwise_sentinel_cli-0.2.2 → superwise_sentinel_cli-0.2.3}/src/superwise_sentinel_cli/config.py
RENAMED
|
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
|