forgexa-cli 1.25.4__tar.gz → 1.26.0__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.
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/PKG-INFO +1 -1
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli/daemon.py +3 -3
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli.egg-info/PKG-INFO +1 -1
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/pyproject.toml +1 -1
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/README.md +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli/_build_config.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli/_local_bind.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli/agent_core.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli/autoupgrade.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli/main.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli.egg-info/requires.txt +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/setup.cfg +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/tests/test_auth_and_runtime_commands.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/tests/test_autoupgrade.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/tests/test_check_command.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/tests/test_expiry_warnings_and_revoke.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/tests/test_local_bind_commands.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/tests/test_runtime_credentials.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/tests/test_session_credentials.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/tests/test_silent_install.py +0 -0
- {forgexa_cli-1.25.4 → forgexa_cli-1.26.0}/tests/test_upgrade_observability.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.
|
|
2
|
+
__version__ = "1.26.0"
|
|
@@ -909,14 +909,14 @@ except (ImportError, ModuleNotFoundError):
|
|
|
909
909
|
# DAEMON_VERSION is the protocol/logic version of the daemon code.
|
|
910
910
|
# Kept in sync with pyproject.toml version via bump-version.sh.
|
|
911
911
|
# CLIENT_TYPE identifies which packaging/distribution this daemon runs in.
|
|
912
|
-
DAEMON_VERSION = "1.
|
|
912
|
+
DAEMON_VERSION = "1.26.0"
|
|
913
913
|
|
|
914
914
|
|
|
915
915
|
def _detect_client_type() -> str:
|
|
916
916
|
"""Auto-detect client type from runtime context.
|
|
917
917
|
|
|
918
918
|
Priority:
|
|
919
|
-
1. FORGEXA_CLIENT_TYPE env var (set by desktop Tauri launcher)
|
|
919
|
+
1. FORGEXA_CLIENT_TYPE env var (set by desktop/IDE Tauri launcher)
|
|
920
920
|
2. Import context: app.config importable → "server"
|
|
921
921
|
3. Default: "cli" (standalone pip-installed daemon)
|
|
922
922
|
|
|
@@ -924,7 +924,7 @@ def _detect_client_type() -> str:
|
|
|
924
924
|
of deployment context, making the bundle-daemon.sh copy safe.
|
|
925
925
|
"""
|
|
926
926
|
env_type = os.environ.get("FORGEXA_CLIENT_TYPE", "").strip().lower()
|
|
927
|
-
if env_type in ("server", "cli", "desktop"):
|
|
927
|
+
if env_type in ("server", "cli", "desktop", "ide"):
|
|
928
928
|
return env_type
|
|
929
929
|
# Server: app.config was successfully imported at module level above
|
|
930
930
|
if "app.config" in sys.modules:
|
|
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
|
|
File without changes
|