forgexa-cli 1.66.1__tar.gz → 1.66.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.
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/PKG-INFO +1 -1
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/aws_evidence.py +10 -3
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/daemon.py +1 -1
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli.egg-info/PKG-INFO +1 -1
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/pyproject.toml +1 -1
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/README.md +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/_build_config.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/_local_bind.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/agent_core.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/autoupgrade.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/main.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/runtime_evidence.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli/zcode_protocol.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli.egg-info/requires.txt +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/setup.cfg +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/tests/test_auth_and_runtime_commands.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/tests/test_autoupgrade.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/tests/test_check_command.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/tests/test_expiry_warnings_and_revoke.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/tests/test_local_bind_commands.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/tests/test_runtime_credentials.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/tests/test_session_credentials.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/tests/test_silent_install.py +0 -0
- {forgexa_cli-1.66.1 → forgexa_cli-1.66.2}/tests/test_upgrade_observability.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.66.
|
|
2
|
+
__version__ = "1.66.2"
|
|
@@ -55,7 +55,7 @@ MODEL_PROVIDER_LABELS = {
|
|
|
55
55
|
"tencent": "Tencent / CodeBuddy",
|
|
56
56
|
"qoder": "Qoder",
|
|
57
57
|
"bytedance": "ByteDance / Trae",
|
|
58
|
-
"zhipu": "Z.ai
|
|
58
|
+
"zhipu": "Zhipu / Z.ai",
|
|
59
59
|
}
|
|
60
60
|
AGENT_MODEL_PROVIDERS = {
|
|
61
61
|
"claude": ("Claude Code", "anthropic"),
|
|
@@ -78,10 +78,14 @@ def provider_catalog() -> dict:
|
|
|
78
78
|
agents = [{"agent_id": agent_id, "label": label, "provider": provider,
|
|
79
79
|
"evidence_supported": agent_id in MODEL_ENDPOINT_KEYS}
|
|
80
80
|
for agent_id, (label, provider) in AGENT_MODEL_PROVIDERS.items()]
|
|
81
|
-
|
|
81
|
+
providers = [{"value": provider, "label": label,
|
|
82
82
|
"agent_ids": [agent["agent_id"] for agent in agents if agent["provider"] == provider],
|
|
83
83
|
"evidence_supported": any(agent["provider"] == provider and agent["evidence_supported"] for agent in agents)}
|
|
84
|
-
for provider, label in MODEL_PROVIDER_LABELS.items()]
|
|
84
|
+
for provider, label in MODEL_PROVIDER_LABELS.items()]
|
|
85
|
+
zhipu = next(provider for provider in providers if provider["value"] == "zhipu")
|
|
86
|
+
zhipu["agent_ids"].insert(0, "claude")
|
|
87
|
+
zhipu["evidence_supported"] = True
|
|
88
|
+
return {"agents": agents, "providers": providers}
|
|
85
89
|
|
|
86
90
|
|
|
87
91
|
class EvidenceError(ValueError):
|
|
@@ -132,6 +136,7 @@ def model_destination(driver_id: str, environment: dict) -> dict:
|
|
|
132
136
|
"api.moonshot.ai": "moonshot",
|
|
133
137
|
"api.xiaomimimo.com": "xiaomi",
|
|
134
138
|
"api.deepseek.com": "deepseek",
|
|
139
|
+
"open.bigmodel.cn": "zhipu",
|
|
135
140
|
}
|
|
136
141
|
provider = known_hosts.get(parsed.hostname or "")
|
|
137
142
|
if (
|
|
@@ -140,6 +145,8 @@ def model_destination(driver_id: str, environment: dict) -> dict:
|
|
|
140
145
|
or parsed.password
|
|
141
146
|
or not provider
|
|
142
147
|
or parsed.port not in (None, 443)
|
|
148
|
+
or (provider == "zhipu" and (driver_id != "claude"
|
|
149
|
+
or parsed.path.rstrip("/") != "/api/anthropic" or parsed.query or parsed.fragment))
|
|
143
150
|
):
|
|
144
151
|
raise EvidenceError("aws_evidence_unknown_provider")
|
|
145
152
|
return {"model_provider": provider, "endpoint": endpoint.rstrip("/")}
|
|
@@ -1234,7 +1234,7 @@ except (ImportError, ModuleNotFoundError):
|
|
|
1234
1234
|
# DAEMON_VERSION is the protocol/logic version of the daemon code.
|
|
1235
1235
|
# Kept in sync with pyproject.toml version via bump-version.sh.
|
|
1236
1236
|
# CLIENT_TYPE identifies which packaging/distribution this daemon runs in.
|
|
1237
|
-
DAEMON_VERSION = "1.66.
|
|
1237
|
+
DAEMON_VERSION = "1.66.2"
|
|
1238
1238
|
|
|
1239
1239
|
|
|
1240
1240
|
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
|