forgexa-cli 1.83.0__tar.gz → 1.83.1__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.
Files changed (34) hide show
  1. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/PKG-INFO +3 -3
  2. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/README.md +2 -2
  3. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/__init__.py +1 -1
  4. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/agent_core.py +7 -2
  5. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/daemon.py +8 -2
  6. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli.egg-info/PKG-INFO +3 -3
  7. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/pyproject.toml +1 -1
  8. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_check_command.py +3 -3
  9. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/_build_config.py +0 -0
  10. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/_local_bind.py +0 -0
  11. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/autoupgrade.py +0 -0
  12. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/aws_evidence.py +0 -0
  13. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/aws_logs_evidence.py +0 -0
  14. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/main.py +0 -0
  15. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/observability_contract.py +0 -0
  16. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/observability_evidence.py +0 -0
  17. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/py.typed +0 -0
  18. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/runtime_evidence.py +0 -0
  19. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli/zcode_protocol.py +0 -0
  20. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli.egg-info/SOURCES.txt +0 -0
  21. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli.egg-info/dependency_links.txt +0 -0
  22. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli.egg-info/entry_points.txt +0 -0
  23. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli.egg-info/requires.txt +0 -0
  24. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/forgexa_cli.egg-info/top_level.txt +0 -0
  25. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/setup.cfg +0 -0
  26. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_auth_and_runtime_commands.py +0 -0
  27. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_autoupgrade.py +0 -0
  28. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_expiry_warnings_and_revoke.py +0 -0
  29. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_local_bind_commands.py +0 -0
  30. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_publish_script.py +0 -0
  31. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_runtime_credentials.py +0 -0
  32. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_session_credentials.py +0 -0
  33. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_silent_install.py +0 -0
  34. {forgexa_cli-1.83.0 → forgexa_cli-1.83.1}/tests/test_upgrade_observability.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.83.0
3
+ Version: 1.83.1
4
4
  Summary: Forgexa CLI — command-line client and AI agent runtime for the Forgexa platform
5
5
  Author-email: Jason Sun <dev.winds@gmail.com>
6
6
  License-Expression: MIT
@@ -37,9 +37,9 @@ Requires-Dist: socksio>=1.0.0; extra == "daemon"
37
37
  Command-line client and agent runtime for the [Forgexa](https://forgexa.net) platform.
38
38
 
39
39
  Communicates with the Forgexa server via REST API.
40
- Includes a built-in **daemon** with thirteen integrations: Claude Code, Codex, GitHub Copilot, Gemini CLI, OpenCode, Kimi Code, MiMo Code, Qwen Code, CodeBuddy, Qoder CLI, TraeCode CLI, ZCode, and DeepSeek Harness. Six standard candidates are automatically routed; seven require explicit selection. Harness (`deepseek`) is a developer preview for personal Runtimes/Desktop, pinned to 0.2.0-rc.2 and Node 22.19+ within 22.x or 24+. It owns a managed runtime profile with read-only external credentials, without copying personal settings. Shared pools/native Windows are blocked. After exact-build live acceptance, `forgexa agent approve-live deepseek` records an attestation; `forgexa check --agent deepseek --quick` avoids model calls, while normal `check` runs a potentially billable minimal task. See [global/local installation and limits](../documentation/guide/agent-installation.md#deepseek-harness-developer-preview).
40
+ Includes a built-in **daemon** with fourteen integrations: Claude Code, Codex, GitHub Copilot, Gemini CLI, OpenCode, Kimi Code, MiMo Code, Qwen Code, CodeBuddy, Qoder CLI, TraeCode CLI, ZCode, DeepSeek Harness, and MiniMax Code. Six standard candidates are automatically routed; eight require explicit selection. MiniMax Code and Harness require owned personal Runtimes/Desktop and local build/profile acceptance. Harness retains its exact 0.2.0-rc.2 and read-only external credential requirements. See [installation and limits](../documentation/guide/agent-installation.md).
41
41
 
42
- MiniMax Code is an additional acceptance-pending personal preview, not part of the supported count above. Run `forgexa agent minimax-init` to create an empty private profile, authenticate in that profile, then use `forgexa agent minimax-status` and `forgexa agent approve-live minimax --evidence PATH` after real safety acceptance. Personal credentials are never copied; Agent-only approval is refused. See [MiniMax setup, evidence and recovery](../documentation/guide/agent-installation.md#minimax-code).
42
+ MiniMax Code is included in that count, supporting reviewed 0.7.0 with 0.6.13 compatibility. Run `forgexa agent minimax-init` to create an empty private profile, authenticate there, then use `forgexa agent minimax-status` and `forgexa agent approve-live minimax --evidence PATH` after real local acceptance. Personal credentials are never copied; Agent-only approval is refused. `forgexa check --agent minimax --quick` is non-billable; normal `check` runs a potentially billable task. See [MiniMax setup, evidence and recovery](../documentation/guide/agent-installation.md#minimax-code).
43
43
 
44
44
  ## Installation
45
45
 
@@ -3,9 +3,9 @@
3
3
  Command-line client and agent runtime for the [Forgexa](https://forgexa.net) platform.
4
4
 
5
5
  Communicates with the Forgexa server via REST API.
6
- Includes a built-in **daemon** with thirteen integrations: Claude Code, Codex, GitHub Copilot, Gemini CLI, OpenCode, Kimi Code, MiMo Code, Qwen Code, CodeBuddy, Qoder CLI, TraeCode CLI, ZCode, and DeepSeek Harness. Six standard candidates are automatically routed; seven require explicit selection. Harness (`deepseek`) is a developer preview for personal Runtimes/Desktop, pinned to 0.2.0-rc.2 and Node 22.19+ within 22.x or 24+. It owns a managed runtime profile with read-only external credentials, without copying personal settings. Shared pools/native Windows are blocked. After exact-build live acceptance, `forgexa agent approve-live deepseek` records an attestation; `forgexa check --agent deepseek --quick` avoids model calls, while normal `check` runs a potentially billable minimal task. See [global/local installation and limits](../documentation/guide/agent-installation.md#deepseek-harness-developer-preview).
6
+ Includes a built-in **daemon** with fourteen integrations: Claude Code, Codex, GitHub Copilot, Gemini CLI, OpenCode, Kimi Code, MiMo Code, Qwen Code, CodeBuddy, Qoder CLI, TraeCode CLI, ZCode, DeepSeek Harness, and MiniMax Code. Six standard candidates are automatically routed; eight require explicit selection. MiniMax Code and Harness require owned personal Runtimes/Desktop and local build/profile acceptance. Harness retains its exact 0.2.0-rc.2 and read-only external credential requirements. See [installation and limits](../documentation/guide/agent-installation.md).
7
7
 
8
- MiniMax Code is an additional acceptance-pending personal preview, not part of the supported count above. Run `forgexa agent minimax-init` to create an empty private profile, authenticate in that profile, then use `forgexa agent minimax-status` and `forgexa agent approve-live minimax --evidence PATH` after real safety acceptance. Personal credentials are never copied; Agent-only approval is refused. See [MiniMax setup, evidence and recovery](../documentation/guide/agent-installation.md#minimax-code).
8
+ MiniMax Code is included in that count, supporting reviewed 0.7.0 with 0.6.13 compatibility. Run `forgexa agent minimax-init` to create an empty private profile, authenticate there, then use `forgexa agent minimax-status` and `forgexa agent approve-live minimax --evidence PATH` after real local acceptance. Personal credentials are never copied; Agent-only approval is refused. `forgexa check --agent minimax --quick` is non-billable; normal `check` runs a potentially billable task. See [MiniMax setup, evidence and recovery](../documentation/guide/agent-installation.md#minimax-code).
9
9
 
10
10
  ## Installation
11
11
 
@@ -1,2 +1,2 @@
1
1
  """forgexa-cli — Forgexa command-line client."""
2
- __version__ = "1.83.0"
2
+ __version__ = "1.83.1"
@@ -2681,6 +2681,7 @@ def _reject_nonfinite_json(value: str) -> None:
2681
2681
 
2682
2682
 
2683
2683
  MINIMAX_MAX_OUTPUT_BYTES = 4 * 1024 * 1024
2684
+ MINIMAX_SUPPORTED_VERSIONS = ("0.6.13", "0.7.0")
2684
2685
  MINIMAX_POLICY_VERSION = 1
2685
2686
  MINIMAX_ACCEPTANCE_CHECKS = (
2686
2687
  "start", "resume", "cancel", "timeout", "permissions", "filesystem",
@@ -2790,8 +2791,12 @@ def minimax_build_info(binary: str) -> dict:
2790
2791
  if root is None or node is None or not Path(node).is_file():
2791
2792
  raise RuntimeError("MiniMax requires a verifiable official package and Node installation")
2792
2793
  metadata = json.loads((root / "package.json").read_text(encoding="utf-8"))
2793
- if metadata.get("version") != "0.6.13":
2794
- raise RuntimeError("MiniMax requires the fixed 0.6.13 candidate; other builds need protocol review")
2794
+ if metadata.get("version") not in MINIMAX_SUPPORTED_VERSIONS:
2795
+ raise RuntimeError(
2796
+ "MiniMax Code requires a protocol-reviewed version ("
2797
+ + ", ".join(MINIMAX_SUPPORTED_VERSIONS)
2798
+ + "); review other builds before use"
2799
+ )
2795
2800
  env = deepseek_harness_probe_env()
2796
2801
  version = subprocess.run([node, "-p", "process.versions.node"], capture_output=True,
2797
2802
  text=True, timeout=10, env=env)
@@ -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.83.0"
1237
+ DAEMON_VERSION = "1.83.1"
1238
1238
 
1239
1239
 
1240
1240
  def _detect_client_type() -> str:
@@ -1772,11 +1772,17 @@ def _build_runtime_critic_prompt(
1772
1772
  ]
1773
1773
  parts.extend((
1774
1774
  "## Approved Responsibility Boundaries", json.dumps(responsibilities, ensure_ascii=True, sort_keys=True),
1775
+ "This is the designated final completeness review: recheck every approved task and criterion "
1776
+ "assigned to this phase, including other contributors' unresolved source obligations. Only an "
1777
+ "explicit server-owned deferred verification contract reserves later execution; required "
1778
+ "prepared assets and in-scope checks remain mandatory."
1779
+ if audit_contract.get("final_verification") else
1775
1780
  "The feature's acceptance criteria remain mandatory, but they are not all obligations of this node. "
1776
1781
  "Assess this task's approved responsibility and required in-scope checks. Execution and sign-off "
1777
1782
  "assigned to other approved tasks stay pending under those owners; their absence alone does not "
1778
1783
  "invalidate a complete source contribution. A task that owns runtime verification still requires "
1779
- "that evidence. Independently inspect committed source and checks; implementer claims are not "
1784
+ "that evidence.",
1785
+ "Independently inspect committed source and checks; implementer claims are not "
1780
1786
  "independent proof. Missing assigned source, actual failed checks and genuine deviations remain blocking. "
1781
1787
  "For unverified, name the exact assigned obligation and the unavailable source or check evidence, "
1782
1788
  "rather than substituting the entire feature's unexecuted acceptance for this task's review.",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.83.0
3
+ Version: 1.83.1
4
4
  Summary: Forgexa CLI — command-line client and AI agent runtime for the Forgexa platform
5
5
  Author-email: Jason Sun <dev.winds@gmail.com>
6
6
  License-Expression: MIT
@@ -37,9 +37,9 @@ Requires-Dist: socksio>=1.0.0; extra == "daemon"
37
37
  Command-line client and agent runtime for the [Forgexa](https://forgexa.net) platform.
38
38
 
39
39
  Communicates with the Forgexa server via REST API.
40
- Includes a built-in **daemon** with thirteen integrations: Claude Code, Codex, GitHub Copilot, Gemini CLI, OpenCode, Kimi Code, MiMo Code, Qwen Code, CodeBuddy, Qoder CLI, TraeCode CLI, ZCode, and DeepSeek Harness. Six standard candidates are automatically routed; seven require explicit selection. Harness (`deepseek`) is a developer preview for personal Runtimes/Desktop, pinned to 0.2.0-rc.2 and Node 22.19+ within 22.x or 24+. It owns a managed runtime profile with read-only external credentials, without copying personal settings. Shared pools/native Windows are blocked. After exact-build live acceptance, `forgexa agent approve-live deepseek` records an attestation; `forgexa check --agent deepseek --quick` avoids model calls, while normal `check` runs a potentially billable minimal task. See [global/local installation and limits](../documentation/guide/agent-installation.md#deepseek-harness-developer-preview).
40
+ Includes a built-in **daemon** with fourteen integrations: Claude Code, Codex, GitHub Copilot, Gemini CLI, OpenCode, Kimi Code, MiMo Code, Qwen Code, CodeBuddy, Qoder CLI, TraeCode CLI, ZCode, DeepSeek Harness, and MiniMax Code. Six standard candidates are automatically routed; eight require explicit selection. MiniMax Code and Harness require owned personal Runtimes/Desktop and local build/profile acceptance. Harness retains its exact 0.2.0-rc.2 and read-only external credential requirements. See [installation and limits](../documentation/guide/agent-installation.md).
41
41
 
42
- MiniMax Code is an additional acceptance-pending personal preview, not part of the supported count above. Run `forgexa agent minimax-init` to create an empty private profile, authenticate in that profile, then use `forgexa agent minimax-status` and `forgexa agent approve-live minimax --evidence PATH` after real safety acceptance. Personal credentials are never copied; Agent-only approval is refused. See [MiniMax setup, evidence and recovery](../documentation/guide/agent-installation.md#minimax-code).
42
+ MiniMax Code is included in that count, supporting reviewed 0.7.0 with 0.6.13 compatibility. Run `forgexa agent minimax-init` to create an empty private profile, authenticate there, then use `forgexa agent minimax-status` and `forgexa agent approve-live minimax --evidence PATH` after real local acceptance. Personal credentials are never copied; Agent-only approval is refused. `forgexa check --agent minimax --quick` is non-billable; normal `check` runs a potentially billable task. See [MiniMax setup, evidence and recovery](../documentation/guide/agent-installation.md#minimax-code).
43
43
 
44
44
  ## Installation
45
45
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "forgexa-cli"
3
- version = "1.83.0"
3
+ version = "1.83.1"
4
4
  description = "Forgexa CLI — command-line client and AI agent runtime for the Forgexa platform"
5
5
  requires-python = ">=3.9"
6
6
  license = "MIT"
@@ -67,7 +67,7 @@ def test_minimax_live_approval_forwards_bound_evidence(tmp_path, monkeypatch, ca
67
67
 
68
68
  def approve(binary, document):
69
69
  captured.append((binary, document))
70
- return {"fingerprint": "bound-build", "version": "0.6.13"}
70
+ return {"fingerprint": "bound-build", "version": "0.7.0"}
71
71
 
72
72
  monkeypatch.setattr(agent_core, "approve_minimax_build", approve)
73
73
  main.cmd_agent_approve_live(SimpleNamespace(agent_id="minimax", binary="/fake/mcode", evidence=str(path)))
@@ -77,7 +77,7 @@ def test_minimax_live_approval_forwards_bound_evidence(tmp_path, monkeypatch, ca
77
77
 
78
78
  def test_minimax_quick_check_reports_pending_without_live_calls(monkeypatch, capsys):
79
79
  monkeypatch.setattr(daemon.AgentDiscovery, "AGENT_REGISTRY", {"minimax": {"commands": ["mcode"], "detect": "mcode --version"}})
80
- agent = _agent("minimax", "0.6.13")
80
+ agent = _agent("minimax", "0.7.0")
81
81
  agent.min_version_ok = False
82
82
  agent.version_warning = "MiniMax build/profile acceptance missing"
83
83
  monkeypatch.setattr(daemon.AgentDiscovery, "discover", AsyncMock(return_value=[agent]))
@@ -97,7 +97,7 @@ async def test_minimax_live_check_discloses_profile_provider_and_budget(tmp_path
97
97
  "root": tmp_path / "profile", "policy": {"provider": "dedicated", "region": "cn"},
98
98
  })
99
99
  manager = SimpleNamespace(run_agent=AsyncMock(return_value=SimpleNamespace(status="success")))
100
- assert await main._live_check_agent(manager, _agent("minimax", "0.6.13"), 15) == (True, "")
100
+ assert await main._live_check_agent(manager, _agent("minimax", "0.7.0"), 15) == (True, "")
101
101
  output = capsys.readouterr().err
102
102
  assert "profile=profile" in output and "provider=dedicated" in output
103
103
  assert "timeout=15s" in output and "max_steps=60" in output and "charges" in output
File without changes