sbxloop 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-0.4.0 → sbxloop-0.4.1}/.gitignore +4 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/PKG-INFO +2 -2
- {sbxloop-0.4.0 → sbxloop-0.4.1}/hatch_build.py +6 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/pyproject.toml +18 -3
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/__init__.py +10 -1
- sbxloop-0.4.0/src/sbxloop/_vendor/sbxloop_worker-0.4.0-py3-none-any.whl → sbxloop-0.4.1/src/sbxloop/_vendor/sbxloop_worker-0.4.1-py3-none-any.whl +0 -0
- sbxloop-0.4.1/src/sbxloop/_version.py +24 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/README.md +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/cli/__init__.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/cli/app.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/cli/doctor.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/cli/tui.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/config.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/deliver.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/__init__.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/engine.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/model.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/phases.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/prompts/__init__.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/prompts/decompose.md +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/prompts/execute.md +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/prompts/plan.md +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/prompts/scrutinize.md +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/prompts/validate.md +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/engine/store.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/errors.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/events.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/gh/__init__.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/gh/ops.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/gh/reporter.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/ids.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/py.typed +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/sbx/__init__.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/sbx/cli.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/sbx/models.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/sbx/pair.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/sbx/parse.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/sbx/provision.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/sbx/sandbox.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/worker/__init__.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/worker/client.py +0 -0
- {sbxloop-0.4.0 → sbxloop-0.4.1}/src/sbxloop/worker/wheel.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sbxloop
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: Agentic loop orchestration on Docker Sandboxes (sbx) with isolated credential domains
|
|
5
5
|
Project-URL: Homepage, https://github.com/brettbergin/sbxloop
|
|
6
6
|
Project-URL: Repository, https://github.com/brettbergin/sbxloop
|
|
@@ -19,7 +19,7 @@ Requires-Python: >=3.11
|
|
|
19
19
|
Requires-Dist: pydantic>=2.7
|
|
20
20
|
Requires-Dist: python-dotenv>=1.0
|
|
21
21
|
Requires-Dist: rich>=13.7
|
|
22
|
-
Requires-Dist: sbxloop-worker
|
|
22
|
+
Requires-Dist: sbxloop-worker
|
|
23
23
|
Requires-Dist: typer>=0.12
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
|
|
@@ -29,6 +29,12 @@ class VendorWorkerWheelHook(BuildHookInterface): # type: ignore[type-arg]
|
|
|
29
29
|
host_version = self.metadata.version
|
|
30
30
|
expected = f"sbxloop_worker-{host_version}-py3-none-any.whl"
|
|
31
31
|
|
|
32
|
+
# The static dependency list can't carry an exact pin now that versions
|
|
33
|
+
# come from git tags (hatch-vcs), so add the lockstep pin to the wheel
|
|
34
|
+
# metadata here.
|
|
35
|
+
if self.target_name == "wheel":
|
|
36
|
+
build_data.setdefault("dependencies", []).append(f"sbxloop-worker=={host_version}")
|
|
37
|
+
|
|
32
38
|
if (vendor_dir / expected).is_file():
|
|
33
39
|
return
|
|
34
40
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "sbxloop"
|
|
3
|
-
|
|
3
|
+
dynamic = ["version"] # derived from git tags by hatch-vcs (see [tool.hatch.version])
|
|
4
4
|
description = "Agentic loop orchestration on Docker Sandboxes (sbx) with isolated credential domains"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -21,7 +21,10 @@ dependencies = [
|
|
|
21
21
|
"python-dotenv>=1.0",
|
|
22
22
|
"typer>=0.12",
|
|
23
23
|
"rich>=13.7",
|
|
24
|
-
|
|
24
|
+
# Unpinned here because the version is dynamic; the build hook
|
|
25
|
+
# (hatch_build.py) adds the exact lockstep pin `sbxloop-worker==X.Y.Z`
|
|
26
|
+
# to the wheel metadata at build time.
|
|
27
|
+
"sbxloop-worker",
|
|
25
28
|
]
|
|
26
29
|
|
|
27
30
|
[project.scripts]
|
|
@@ -36,9 +39,21 @@ Issues = "https://github.com/brettbergin/sbxloop/issues"
|
|
|
36
39
|
sbxloop-worker = { workspace = true }
|
|
37
40
|
|
|
38
41
|
[build-system]
|
|
39
|
-
requires = ["hatchling>=1.27"]
|
|
42
|
+
requires = ["hatchling>=1.27", "hatch-vcs"]
|
|
40
43
|
build-backend = "hatchling.build"
|
|
41
44
|
|
|
45
|
+
# Both workspace packages version from the same repo-root git tag, keeping the
|
|
46
|
+
# lockstep invariant by construction. `fallback_root` lets a wheel built from
|
|
47
|
+
# an extracted sdist (no git) pick the version up from the sdist's PKG-INFO.
|
|
48
|
+
[tool.hatch.version]
|
|
49
|
+
source = "vcs"
|
|
50
|
+
raw-options = { root = "../..", fallback_root = ".", local_scheme = "no-local-version", fallback_version = "0.0.0" }
|
|
51
|
+
|
|
52
|
+
# Write the resolved version into the package so `sbxloop.__version__` and
|
|
53
|
+
# `sbxloop --version` report it at runtime.
|
|
54
|
+
[tool.hatch.build.hooks.vcs]
|
|
55
|
+
version-file = "src/sbxloop/_version.py"
|
|
56
|
+
|
|
42
57
|
[tool.hatch.build.targets.wheel]
|
|
43
58
|
packages = ["src/sbxloop"]
|
|
44
59
|
artifacts = ["src/sbxloop/_vendor/*.whl"]
|
|
@@ -6,7 +6,16 @@ agentic layer, and a GitHub-ops sandbox holding only ``GH_TOKEN`` for
|
|
|
6
6
|
user-facing GitHub interactions. The balanced network policy is the default.
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
try:
|
|
10
|
+
# written at build time by hatch-vcs (see pyproject [tool.hatch.build.hooks.vcs])
|
|
11
|
+
from sbxloop._version import __version__
|
|
12
|
+
except ImportError: # pragma: no cover - raw source tree that was never built
|
|
13
|
+
try:
|
|
14
|
+
from importlib.metadata import version as _pkg_version
|
|
15
|
+
|
|
16
|
+
__version__ = _pkg_version("sbxloop")
|
|
17
|
+
except Exception:
|
|
18
|
+
__version__ = "0.0.0"
|
|
10
19
|
|
|
11
20
|
from sbxloop.config import Budgets, Config, load_config
|
|
12
21
|
from sbxloop.engine import LoopEngine, RunResult, run_outcome
|
|
Binary file
|
|
@@ -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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|