devops-bot-sdk 1.4.24__tar.gz → 1.4.25__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.
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/PKG-INFO +1 -1
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/devops_bot_sdk.egg-info/PKG-INFO +1 -1
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/pyproject.toml +1 -1
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/__init__.py +2 -2
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/client.py +1 -1
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/updater.py +10 -3
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/README.md +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/devops_bot_sdk.egg-info/SOURCES.txt +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/devops_bot_sdk.egg-info/dependency_links.txt +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/devops_bot_sdk.egg-info/entry_points.txt +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/devops_bot_sdk.egg-info/requires.txt +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/devops_bot_sdk.egg-info/top_level.txt +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/collectors/__init__.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/collectors/files.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/collectors/process.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/collectors/screenshot.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/config.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/crucial.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/exceptions.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/git_ops.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/graphify.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/hooks/__init__.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/hooks/crucial_guard.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/ipc/__init__.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/ipc/electron_bridge.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/ipc/handlers.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/local_exec.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/models/__init__.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/models/envelope.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/models/requests.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/models/responses.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/models/snapshots.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/py.typed +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/run_auto.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/sse.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/test.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/sdk/test_pipeline.py +0 -0
- {devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/setup.cfg +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "devops-bot-sdk"
|
|
7
|
-
version = "1.4.
|
|
7
|
+
version = "1.4.25"
|
|
8
8
|
description = "DevOps Bot Desktop SDK — thin client for the AgentOS Electron desktop app"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "LicenseRef-Proprietary"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""AgentOS Desktop SDK — thin HTTPS/SSE client for the Electron app.
|
|
2
2
|
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.25
|
|
4
4
|
|
|
5
5
|
Public surface:
|
|
6
6
|
BackendClient.from_config() — create client from ~/.agentos/config.toml
|
|
@@ -30,7 +30,7 @@ Rules:
|
|
|
30
30
|
- All data egress through submit_webhook only
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
|
-
__version__ = "1.4.
|
|
33
|
+
__version__ = "1.4.25"
|
|
34
34
|
__author__ = "AgentOS"
|
|
35
35
|
|
|
36
36
|
from sdk.client import BackendClient
|
|
@@ -36,7 +36,7 @@ from sdk.sse import _check_status, stream_with_reconnect
|
|
|
36
36
|
|
|
37
37
|
logger = logging.getLogger(__name__)
|
|
38
38
|
|
|
39
|
-
SDK_VERSION = "1.4.
|
|
39
|
+
SDK_VERSION = "1.4.25"
|
|
40
40
|
_POLL_INTERVAL = 3.0
|
|
41
41
|
_POLL_TIMEOUT = 600.0
|
|
42
42
|
_ORCHESTRATE_TIMEOUT = 2700.0 # 45 min — covers approval wait + VPS execution time
|
|
@@ -184,11 +184,18 @@ def _fetch_github_token() -> str | None:
|
|
|
184
184
|
# ── Core update logic ─────────────────────────────────────────────────────────
|
|
185
185
|
|
|
186
186
|
def _install_candidates() -> list[str]:
|
|
187
|
-
"""Ordered pip targets:
|
|
188
|
-
|
|
187
|
+
"""Ordered pip targets: SSH (default) → detected URL → token-HTTPS branch → PyPI dist.
|
|
188
|
+
|
|
189
|
+
SSH is tried FIRST on every platform (Windows + Linux) so the normal upgrade
|
|
190
|
+
path uses the user's git SSH key — no token required. HTTPS-with-token is only
|
|
191
|
+
a fallback for boxes that have no SSH key configured.
|
|
192
|
+
"""
|
|
193
|
+
branch = _sdk_branch()
|
|
194
|
+
ssh_branch = f"{_GITHUB_SSH}@{branch}" # honour AGENTOS_SDK_BRANCH (default 'main')
|
|
195
|
+
cands = list(_unique([ssh_branch, _GITHUB_SSH, _detect_install_url()]))
|
|
189
196
|
gh_token = _fetch_github_token()
|
|
190
197
|
if gh_token:
|
|
191
|
-
cands.append(f"git+https://{gh_token}@github.com/{_GITHUB_REPO}.git@{
|
|
198
|
+
cands.append(f"git+https://{gh_token}@github.com/{_GITHUB_REPO}.git@{branch}")
|
|
192
199
|
cands.append(_DIST)
|
|
193
200
|
return cands
|
|
194
201
|
|
|
File without changes
|
|
File without changes
|
{devops_bot_sdk-1.4.24 → devops_bot_sdk-1.4.25}/devops_bot_sdk.egg-info/dependency_links.txt
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
|
|
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
|