sbxloop-worker 0.4.0__tar.gz → 0.4.1__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.
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/.gitignore +4 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/PKG-INFO +1 -1
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/pyproject.toml +14 -2
- sbxloop_worker-0.4.1/src/sbxloop_worker/__init__.py +19 -0
- sbxloop_worker-0.4.1/src/sbxloop_worker/_version.py +24 -0
- sbxloop_worker-0.4.0/src/sbxloop_worker/__init__.py +0 -10
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/README.md +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/__main__.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/_json.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/backends/__init__.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/backends/copilot.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/backends/echo.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/events.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/githubops.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/protocol.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/py.typed +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/src/sbxloop_worker/runner.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/tests/conftest.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/tests/test_githubops.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/tests/test_json_extract.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/tests/test_protocol.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/tests/test_runner_unit.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/tests/test_worker_contract.py +0 -0
- {sbxloop_worker-0.4.0 → sbxloop_worker-0.4.1}/tests/worker_harness.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sbxloop-worker
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: In-sandbox worker runtime for sbxloop (protocol models, agent backends, job runner)
|
|
5
5
|
Project-URL: Homepage, https://github.com/brettbergin/sbxloop
|
|
6
6
|
Project-URL: Repository, https://github.com/brettbergin/sbxloop
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "sbxloop-worker"
|
|
3
|
-
|
|
3
|
+
dynamic = ["version"] # derived from git tags by hatch-vcs (see [tool.hatch.version])
|
|
4
4
|
description = "In-sandbox worker runtime for sbxloop (protocol models, agent backends, job runner)"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -25,8 +25,20 @@ Homepage = "https://github.com/brettbergin/sbxloop"
|
|
|
25
25
|
Repository = "https://github.com/brettbergin/sbxloop"
|
|
26
26
|
|
|
27
27
|
[build-system]
|
|
28
|
-
requires = ["hatchling>=1.27"]
|
|
28
|
+
requires = ["hatchling>=1.27", "hatch-vcs"]
|
|
29
29
|
build-backend = "hatchling.build"
|
|
30
30
|
|
|
31
|
+
# Both workspace packages version from the same repo-root git tag, keeping the
|
|
32
|
+
# lockstep invariant by construction. `fallback_root` lets a wheel built from
|
|
33
|
+
# an extracted sdist (no git) pick the version up from the sdist's PKG-INFO.
|
|
34
|
+
[tool.hatch.version]
|
|
35
|
+
source = "vcs"
|
|
36
|
+
raw-options = { root = "../..", fallback_root = ".", local_scheme = "no-local-version", fallback_version = "0.0.0" }
|
|
37
|
+
|
|
38
|
+
# Write the resolved version into the package so `sbxloop_worker.__version__`
|
|
39
|
+
# reports it at runtime (inside the sandbox, where dist metadata may be absent).
|
|
40
|
+
[tool.hatch.build.hooks.vcs]
|
|
41
|
+
version-file = "src/sbxloop_worker/_version.py"
|
|
42
|
+
|
|
31
43
|
[tool.hatch.build.targets.wheel]
|
|
32
44
|
packages = ["src/sbxloop_worker"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""sbxloop-worker — the in-sandbox runtime for sbxloop.
|
|
2
|
+
|
|
3
|
+
Runs inside a Docker Sandbox microVM. Hosts the shared host/worker protocol
|
|
4
|
+
models, the agent backends (GitHub Copilot SDK), and the job runner invoked
|
|
5
|
+
via ``python -m sbxloop_worker``.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
try:
|
|
9
|
+
# written at build time by hatch-vcs (see pyproject [tool.hatch.build.hooks.vcs])
|
|
10
|
+
from sbxloop_worker._version import __version__
|
|
11
|
+
except ImportError: # pragma: no cover - raw source tree that was never built
|
|
12
|
+
try:
|
|
13
|
+
from importlib.metadata import version as _pkg_version
|
|
14
|
+
|
|
15
|
+
__version__ = _pkg_version("sbxloop-worker")
|
|
16
|
+
except Exception:
|
|
17
|
+
__version__ = "0.0.0"
|
|
18
|
+
|
|
19
|
+
__all__ = ["__version__"]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# file generated by vcs-versioning
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
__all__ = [
|
|
6
|
+
"__version__",
|
|
7
|
+
"__version_tuple__",
|
|
8
|
+
"version",
|
|
9
|
+
"version_tuple",
|
|
10
|
+
"__commit_id__",
|
|
11
|
+
"commit_id",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
version: str
|
|
15
|
+
__version__: str
|
|
16
|
+
__version_tuple__: tuple[int | str, ...]
|
|
17
|
+
version_tuple: tuple[int | str, ...]
|
|
18
|
+
commit_id: str | None
|
|
19
|
+
__commit_id__: str | None
|
|
20
|
+
|
|
21
|
+
__version__ = version = '0.4.1'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 4, 1)
|
|
23
|
+
|
|
24
|
+
__commit_id__ = commit_id = None
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"""sbxloop-worker — the in-sandbox runtime for sbxloop.
|
|
2
|
-
|
|
3
|
-
Runs inside a Docker Sandbox microVM. Hosts the shared host/worker protocol
|
|
4
|
-
models, the agent backends (GitHub Copilot SDK), and the job runner invoked
|
|
5
|
-
via ``python -m sbxloop_worker``.
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
__version__ = "0.4.0"
|
|
9
|
-
|
|
10
|
-
__all__ = ["__version__"]
|
|
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
|