forgexa-cli 1.105.1__tar.gz → 1.106.0__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.105.1 → forgexa_cli-1.106.0}/PKG-INFO +1 -1
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/agent_core.py +10 -1
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/daemon.py +1 -1
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/observability_evidence.py +23 -13
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli.egg-info/PKG-INFO +1 -1
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/pyproject.toml +1 -1
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/README.md +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/_build_config.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/_local_bind.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/autoupgrade.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/aws_evidence.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/aws_logs_evidence.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/code_review_rules.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/component_runtime.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/main.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/observability_contract.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/ocr_adapter.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/runtime_evidence.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/workspace_storage.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli/zcode_protocol.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli.egg-info/requires.txt +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/setup.cfg +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_auth_and_runtime_commands.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_autoupgrade.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_check_command.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_delivery_review_packaged.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_expiry_warnings_and_revoke.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_local_bind_commands.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_publish_script.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_runtime_credentials.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_session_credentials.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_silent_install.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_upgrade_observability.py +0 -0
- {forgexa_cli-1.105.1 → forgexa_cli-1.106.0}/tests/test_workspace_storage.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.
|
|
2
|
+
__version__ = "1.106.0"
|
|
@@ -2070,12 +2070,21 @@ class AgentDiscovery:
|
|
|
2070
2070
|
/ "globalStorage" / "github.copilot-chat" / "copilotCli"
|
|
2071
2071
|
)
|
|
2072
2072
|
if sys.platform == "linux":
|
|
2073
|
-
#
|
|
2073
|
+
# Homebrew is also an official Copilot CLI installation method on Linux.
|
|
2074
|
+
extra_dirs += [
|
|
2075
|
+
Path("/home/linuxbrew/.linuxbrew/bin"),
|
|
2076
|
+
home / ".linuxbrew" / "bin",
|
|
2077
|
+
]
|
|
2078
|
+
# VS Code desktop and Remote/WSL extension-managed Linux CLIs.
|
|
2074
2079
|
for config_dir in (
|
|
2075
2080
|
home / ".config" / "Code" / "User" / "globalStorage"
|
|
2076
2081
|
/ "github.copilot-chat" / "copilotCli",
|
|
2077
2082
|
home / ".config" / "Code - Insiders" / "User" / "globalStorage"
|
|
2078
2083
|
/ "github.copilot-chat" / "copilotCli",
|
|
2084
|
+
home / ".vscode-server" / "data" / "User" / "globalStorage"
|
|
2085
|
+
/ "github.copilot-chat" / "copilotCli",
|
|
2086
|
+
home / ".vscode-server-insiders" / "data" / "User" / "globalStorage"
|
|
2087
|
+
/ "github.copilot-chat" / "copilotCli",
|
|
2079
2088
|
):
|
|
2080
2089
|
extra_dirs.append(config_dir)
|
|
2081
2090
|
# nvm (macOS + Linux). Probe the default ~/.nvm root AND the
|
|
@@ -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.
|
|
1431
|
+
DAEMON_VERSION = "1.106.0"
|
|
1432
1432
|
|
|
1433
1433
|
|
|
1434
1434
|
def _detect_client_type() -> str:
|
|
@@ -20,22 +20,34 @@ class EvidenceError(ValueError):
|
|
|
20
20
|
def _contract():
|
|
21
21
|
try:
|
|
22
22
|
if __package__ == "app":
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
try:
|
|
24
|
+
module = import_module("app.observability_contract")
|
|
25
|
+
except ModuleNotFoundError as error:
|
|
26
|
+
if error.name != "app.observability_contract":
|
|
27
|
+
raise
|
|
28
|
+
module = import_module("app.schemas.observability_evidence")
|
|
29
|
+
serialization = import_module("app.observability_lifecycle")
|
|
30
|
+
else:
|
|
31
|
+
serialization = module
|
|
25
32
|
else:
|
|
26
33
|
module = import_module(
|
|
27
34
|
f"{__package__}.observability_contract" if __package__ else "observability_contract"
|
|
28
35
|
)
|
|
29
36
|
serialization = module
|
|
30
37
|
except ImportError as error:
|
|
31
|
-
if getattr(error, "name", None)
|
|
38
|
+
if (getattr(error, "name", None) or "").split(".")[0] in {
|
|
39
|
+
"pydantic", "pydantic_core", "annotated_types", "typing_extensions", "typing_inspection",
|
|
40
|
+
}:
|
|
32
41
|
raise EvidenceError("observability_evidence_runtime_dependency_missing") from None
|
|
33
42
|
raise EvidenceError("observability_evidence_protocol_unsupported") from None
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
try:
|
|
44
|
+
return (
|
|
45
|
+
module.ObservabilityEvidenceReference, module.ObservabilityAttachmentMetadata,
|
|
46
|
+
module.ObservabilityAttachmentPayload,
|
|
47
|
+
serialization.canonical_bytes, serialization.strict_json_loads,
|
|
48
|
+
)
|
|
49
|
+
except AttributeError:
|
|
50
|
+
raise EvidenceError("observability_evidence_protocol_unsupported") from None
|
|
39
51
|
|
|
40
52
|
|
|
41
53
|
def validate_reference(reference) -> dict:
|
|
@@ -53,11 +65,9 @@ def validate_reference(reference) -> dict:
|
|
|
53
65
|
@lru_cache(maxsize=1)
|
|
54
66
|
def _transaction_contract():
|
|
55
67
|
try:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if __package__ else "observability_contract"
|
|
60
|
-
)
|
|
68
|
+
reference_module = _contract()[0].__module__
|
|
69
|
+
module = import_module("app.schemas.newrelic_transactions" if reference_module.startswith("app.schemas.")
|
|
70
|
+
else reference_module)
|
|
61
71
|
return module.NewRelicTransactionAttachmentPayload
|
|
62
72
|
except (ImportError, AttributeError):
|
|
63
73
|
raise EvidenceError("observability_evidence_protocol_unsupported") from 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
|