sbxloop 0.4.1__tar.gz → 0.4.2__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.1 → sbxloop-0.4.2}/PKG-INFO +1 -1
- sbxloop-0.4.1/src/sbxloop/_vendor/sbxloop_worker-0.4.1-py3-none-any.whl → sbxloop-0.4.2/src/sbxloop/_vendor/sbxloop_worker-0.4.2-py3-none-any.whl +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/_version.py +2 -2
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/cli/tui.py +15 -3
- {sbxloop-0.4.1 → sbxloop-0.4.2}/.gitignore +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/README.md +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/hatch_build.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/pyproject.toml +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/__init__.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/cli/__init__.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/cli/app.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/cli/doctor.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/config.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/deliver.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/__init__.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/engine.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/model.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/phases.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/prompts/__init__.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/prompts/decompose.md +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/prompts/execute.md +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/prompts/plan.md +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/prompts/scrutinize.md +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/prompts/validate.md +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/engine/store.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/errors.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/events.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/gh/__init__.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/gh/ops.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/gh/reporter.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/ids.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/py.typed +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/sbx/__init__.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/sbx/cli.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/sbx/models.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/sbx/pair.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/sbx/parse.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/sbx/provision.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/sbx/sandbox.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/worker/__init__.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/src/sbxloop/worker/client.py +0 -0
- {sbxloop-0.4.1 → sbxloop-0.4.2}/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.2
|
|
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
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.4.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 4,
|
|
21
|
+
__version__ = version = '0.4.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 4, 2)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -116,14 +116,22 @@ def render_event(event: Event) -> RenderableType | None:
|
|
|
116
116
|
tool = data.get("tool") or "tool"
|
|
117
117
|
success = data.get("success")
|
|
118
118
|
exit_code = data.get("exit_code")
|
|
119
|
-
|
|
119
|
+
error = str(data.get("error") or "").strip()
|
|
120
|
+
if success is None and exit_code is None and not error:
|
|
120
121
|
return None # nothing informative beyond the start line
|
|
121
|
-
if success or (success is None and exit_code == 0):
|
|
122
|
+
if success or (success is None and exit_code == 0 and not error):
|
|
122
123
|
suffix = " exit 0" if exit_code == 0 else ""
|
|
123
124
|
return Text(f"{_stamp(event)} ✓ {tool}{suffix}", style="green dim")
|
|
124
125
|
suffix = f" exit {exit_code}" if exit_code is not None else ""
|
|
125
126
|
failure = Text(f"{_stamp(event)} ✗ {tool}{suffix}", style="red")
|
|
126
|
-
|
|
127
|
+
args = _one_line(str(data.get("args") or ""))
|
|
128
|
+
if args:
|
|
129
|
+
failure.append(" $ ", style="bold red")
|
|
130
|
+
failure.append(args, style="red dim")
|
|
131
|
+
failure.overflow = "fold"
|
|
132
|
+
# Failed executions carry the reason in `error` (the SDK omits
|
|
133
|
+
# `output` on failure); prefer real output when both exist.
|
|
134
|
+
tail = str(data.get("output") or "").strip() or error
|
|
127
135
|
if tail:
|
|
128
136
|
return Group(
|
|
129
137
|
failure,
|
|
@@ -224,13 +232,17 @@ def format_event(event: Event) -> str:
|
|
|
224
232
|
if event.data.get("task_id"):
|
|
225
233
|
parts.append(f"[{event.data['task_id']}]")
|
|
226
234
|
keys = ("state", "content", "tool", "op", "line", "message", "outcome", "error", "url", "path")
|
|
235
|
+
picked = ""
|
|
227
236
|
for key in keys:
|
|
228
237
|
if event.data.get(key):
|
|
238
|
+
picked = key
|
|
229
239
|
value = str(event.data[key]).replace("\n", " ")
|
|
230
240
|
parts.append(value[:160])
|
|
231
241
|
break
|
|
232
242
|
if event.data.get("args"):
|
|
233
243
|
parts.append(_one_line(str(event.data["args"]), 120))
|
|
244
|
+
if picked != "error" and event.data.get("error"):
|
|
245
|
+
parts.append(_one_line(str(event.data["error"]), 160))
|
|
234
246
|
return " ".join(parts)
|
|
235
247
|
|
|
236
248
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|