forgexa-cli 1.107.3__tar.gz → 1.107.5__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.107.3 → forgexa_cli-1.107.5}/PKG-INFO +1 -1
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/agent_core.py +2 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/daemon.py +14 -1
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli.egg-info/PKG-INFO +1 -1
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/pyproject.toml +1 -1
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/README.md +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/_build_config.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/_local_bind.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/autoupgrade.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/aws_evidence.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/aws_logs_evidence.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/code_review_rules.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/component_runtime.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/main.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/observability_contract.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/observability_evidence.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/ocr_adapter.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/runtime_evidence.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/workspace_storage.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli/zcode_protocol.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli.egg-info/requires.txt +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/setup.cfg +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_auth_and_runtime_commands.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_autoupgrade.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_check_command.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_delivery_review_packaged.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_expiry_warnings_and_revoke.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_local_bind_commands.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_publish_script.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_runtime_credentials.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_session_credentials.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_silent_install.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_upgrade_observability.py +0 -0
- {forgexa_cli-1.107.3 → forgexa_cli-1.107.5}/tests/test_workspace_storage.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.107.
|
|
2
|
+
__version__ = "1.107.5"
|
|
@@ -3263,6 +3263,8 @@ def _parse_claude_output(stdout: str) -> dict:
|
|
|
3263
3263
|
for data in reversed(parsed):
|
|
3264
3264
|
if data.get("type") == "result":
|
|
3265
3265
|
_extract_from(data)
|
|
3266
|
+
if data.get("subtype") == "error_max_turns":
|
|
3267
|
+
metrics["claude_result_subtype"] = "error_max_turns"
|
|
3266
3268
|
break
|
|
3267
3269
|
|
|
3268
3270
|
# ── 4. Fallback: scan all lines for any usage/cost data ──
|
|
@@ -1428,7 +1428,7 @@ except (ImportError, ModuleNotFoundError):
|
|
|
1428
1428
|
# DAEMON_VERSION is the protocol/logic version of the daemon code.
|
|
1429
1429
|
# Kept in sync with pyproject.toml version via bump-version.sh.
|
|
1430
1430
|
# CLIENT_TYPE identifies which packaging/distribution this daemon runs in.
|
|
1431
|
-
DAEMON_VERSION = "1.107.
|
|
1431
|
+
DAEMON_VERSION = "1.107.5"
|
|
1432
1432
|
|
|
1433
1433
|
|
|
1434
1434
|
def _detect_client_type() -> str:
|
|
@@ -7941,6 +7941,19 @@ class ProcessManager:
|
|
|
7941
7941
|
|
|
7942
7942
|
# Parse Claude JSON output for metrics
|
|
7943
7943
|
metrics = self._parse_claude_output(stdout)
|
|
7944
|
+
if metrics.get("claude_result_subtype") == "error_max_turns":
|
|
7945
|
+
return TaskResult(
|
|
7946
|
+
status="failed",
|
|
7947
|
+
exit_code=returncode or 1,
|
|
7948
|
+
stdout=stdout[-settings.AGENT_MAX_OUTPUT_SIZE:],
|
|
7949
|
+
stderr=stderr[-10000:],
|
|
7950
|
+
error=(
|
|
7951
|
+
f"Claude reached its maximum number of turns ({max_turns}). "
|
|
7952
|
+
"Review the retained output and narrow the task before retrying."
|
|
7953
|
+
),
|
|
7954
|
+
failure_code="agent_turn_limit",
|
|
7955
|
+
metrics=metrics,
|
|
7956
|
+
)
|
|
7944
7957
|
structured_errors = self._extract_output_signals("\n".join(part for part in (stdout, stderr) if part))["error_messages"]
|
|
7945
7958
|
structured_error_text = "; ".join(str(msg).strip() for msg in structured_errors if str(msg).strip())
|
|
7946
7959
|
|
|
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
|