forgexa-cli 1.109.4__tar.gz → 1.109.7__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.109.4 → forgexa_cli-1.109.7}/PKG-INFO +1 -1
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/agent_core.py +14 -5
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/daemon.py +1 -1
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli.egg-info/PKG-INFO +1 -1
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/pyproject.toml +1 -1
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/README.md +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/_build_config.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/_local_bind.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/autoupgrade.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/aws_evidence.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/aws_logs_evidence.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/code_review_rules.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/component_runtime.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/main.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/observability_contract.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/observability_evidence.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/ocr_adapter.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/runtime_evidence.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/workspace_storage.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli/zcode_protocol.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli.egg-info/requires.txt +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/setup.cfg +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_auth_and_runtime_commands.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_autoupgrade.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_check_command.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_delivery_review_packaged.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_expiry_warnings_and_revoke.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_local_bind_commands.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_publish_script.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_runtime_credentials.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_session_credentials.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_silent_install.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_upgrade_observability.py +0 -0
- {forgexa_cli-1.109.4 → forgexa_cli-1.109.7}/tests/test_workspace_storage.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.109.
|
|
2
|
+
__version__ = "1.109.7"
|
|
@@ -3903,6 +3903,7 @@ def delivery_review_linux_command(
|
|
|
3903
3903
|
command: list[str], *, cwd: Path, home: Path, writable: bool = False, network: bool = True,
|
|
3904
3904
|
read_paths: list[Path] | None = None, write_paths: list[Path] | None = None,
|
|
3905
3905
|
read_only_paths: list[Path] | None = None, deny_paths: list[Path] | None = None,
|
|
3906
|
+
excluded_source: Path | None = None,
|
|
3906
3907
|
) -> list[str]:
|
|
3907
3908
|
sandbox = delivery_review_sandbox_exec()
|
|
3908
3909
|
if sys.platform != "linux" or not sandbox:
|
|
@@ -3918,13 +3919,20 @@ def delivery_review_linux_command(
|
|
|
3918
3919
|
wrapped = [sandbox, "--unshare-all", "--die-with-parent", "--new-session", "--cap-drop", "ALL"]
|
|
3919
3920
|
if network:
|
|
3920
3921
|
wrapped.append("--share-net")
|
|
3921
|
-
|
|
3922
|
+
system_paths = (
|
|
3922
3923
|
"/usr", "/bin", "/sbin", "/lib", "/lib64", "/etc/ssl/certs", "/etc/ca-certificates", "/etc/pki",
|
|
3923
3924
|
"/etc/resolv.conf", "/etc/hosts", "/etc/nsswitch.conf", "/etc/gai.conf", "/etc/localtime",
|
|
3924
3925
|
"/etc/passwd", "/etc/group", "/etc/ld.so.cache", "/etc/alternatives",
|
|
3925
|
-
)
|
|
3926
|
-
|
|
3927
|
-
|
|
3926
|
+
)
|
|
3927
|
+
system_paths = tuple(path for path in system_paths if Path(path).exists())
|
|
3928
|
+
if excluded_source is not None:
|
|
3929
|
+
source = excluded_source.resolve()
|
|
3930
|
+
mounted = {workspace, isolated_home, *roots, *writable_roots, *readonly_roots,
|
|
3931
|
+
*(Path(path).resolve() for path in system_paths)}
|
|
3932
|
+
if any(path == source or path in source.parents or source in path.parents for path in mounted):
|
|
3933
|
+
raise RuntimeError("The Linux review sandbox would expose the original repository")
|
|
3934
|
+
for path in system_paths:
|
|
3935
|
+
wrapped += ["--ro-bind", path, path]
|
|
3928
3936
|
wrapped += ["--proc", "/proc", "--dev", "/dev", "--tmpfs", "/tmp", "--tmpfs", "/var/tmp"]
|
|
3929
3937
|
for path in sorted(roots):
|
|
3930
3938
|
if path.exists():
|
|
@@ -3963,7 +3971,7 @@ def delivery_review_sandbox_command(
|
|
|
3963
3971
|
command: list[str], workspace: Path, home: Path, *, writable: bool,
|
|
3964
3972
|
network: bool = True, read_paths: list[Path] | None = None,
|
|
3965
3973
|
allow_claude_tmp: bool = False, deny_paths: list[Path] | None = None,
|
|
3966
|
-
restrict_global_reads: bool = False,
|
|
3974
|
+
restrict_global_reads: bool = False, excluded_source: Path | None = None,
|
|
3967
3975
|
) -> list[str]:
|
|
3968
3976
|
sandbox = delivery_review_sandbox_exec()
|
|
3969
3977
|
if not sandbox:
|
|
@@ -4011,6 +4019,7 @@ def delivery_review_sandbox_command(
|
|
|
4011
4019
|
return delivery_review_linux_command(
|
|
4012
4020
|
command, cwd=workspace_path, home=home_path, writable=writable, network=network,
|
|
4013
4021
|
read_paths=[Path(root) for root in read_roots], deny_paths=deny_paths,
|
|
4022
|
+
excluded_source=excluded_source,
|
|
4014
4023
|
)
|
|
4015
4024
|
executable_rules = " ".join(f"(subpath {json.dumps(root)})" for root in sorted(read_roots))
|
|
4016
4025
|
metadata_paths = {
|
|
@@ -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.109.
|
|
1431
|
+
DAEMON_VERSION = "1.109.7"
|
|
1432
1432
|
|
|
1433
1433
|
|
|
1434
1434
|
def _detect_client_type() -> str:
|
|
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
|