forgexa-cli 1.41.2__tar.gz → 1.41.3__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 (27) hide show
  1. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/PKG-INFO +1 -1
  2. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli/__init__.py +1 -1
  3. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli/agent_core.py +3 -0
  4. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli/daemon.py +14 -3
  5. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli.egg-info/PKG-INFO +1 -1
  6. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/pyproject.toml +1 -1
  7. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/README.md +0 -0
  8. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli/_build_config.py +0 -0
  9. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli/_local_bind.py +0 -0
  10. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli/autoupgrade.py +0 -0
  11. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli/main.py +0 -0
  12. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli/py.typed +0 -0
  13. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli.egg-info/SOURCES.txt +0 -0
  14. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli.egg-info/dependency_links.txt +0 -0
  15. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli.egg-info/entry_points.txt +0 -0
  16. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli.egg-info/requires.txt +0 -0
  17. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/forgexa_cli.egg-info/top_level.txt +0 -0
  18. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/setup.cfg +0 -0
  19. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/tests/test_auth_and_runtime_commands.py +0 -0
  20. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/tests/test_autoupgrade.py +0 -0
  21. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/tests/test_check_command.py +0 -0
  22. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/tests/test_expiry_warnings_and_revoke.py +0 -0
  23. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/tests/test_local_bind_commands.py +0 -0
  24. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/tests/test_runtime_credentials.py +0 -0
  25. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/tests/test_session_credentials.py +0 -0
  26. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/tests/test_silent_install.py +0 -0
  27. {forgexa_cli-1.41.2 → forgexa_cli-1.41.3}/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.41.2
3
+ Version: 1.41.3
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
@@ -1,2 +1,2 @@
1
1
  """forgexa-cli — Forgexa command-line client."""
2
- __version__ = "1.41.2"
2
+ __version__ = "1.41.3"
@@ -1679,6 +1679,7 @@ def build_copilot_command(
1679
1679
  model: str | None = None,
1680
1680
  reasoning: str | None = None,
1681
1681
  resume_session_id: str | None = None,
1682
+ disable_builtin_mcps: bool = False,
1682
1683
  ) -> list[str]:
1683
1684
  """GitHub Copilot CLI non-interactive JSON-streaming invocation.
1684
1685
 
@@ -1695,6 +1696,8 @@ def build_copilot_command(
1695
1696
  "--output-format", "json",
1696
1697
  "--allow-all",
1697
1698
  ]
1699
+ if disable_builtin_mcps:
1700
+ cmd.append("--disable-builtin-mcps")
1698
1701
  if reasoning:
1699
1702
  cmd += ["--effort", reasoning]
1700
1703
  if resume_session_id:
@@ -910,7 +910,7 @@ except (ImportError, ModuleNotFoundError):
910
910
  # DAEMON_VERSION is the protocol/logic version of the daemon code.
911
911
  # Kept in sync with pyproject.toml version via bump-version.sh.
912
912
  # CLIENT_TYPE identifies which packaging/distribution this daemon runs in.
913
- DAEMON_VERSION = "1.41.2"
913
+ DAEMON_VERSION = "1.41.3"
914
914
 
915
915
 
916
916
  def _detect_client_type() -> str:
@@ -5055,7 +5055,15 @@ class ProcessManager:
5055
5055
  elif agent.agent_id == "kimi":
5056
5056
  result = await self._run_kimi_code(agent, prompt, workspace_path, timeout, task.task_id, on_chunk)
5057
5057
  elif agent.agent_id == "copilot":
5058
- result = await self._run_copilot(agent, prompt, workspace_path, timeout, task.task_id, on_chunk)
5058
+ result = await self._run_copilot(
5059
+ agent,
5060
+ prompt,
5061
+ workspace_path,
5062
+ timeout,
5063
+ task.task_id,
5064
+ on_chunk,
5065
+ disable_builtin_mcps=task.input_data.get("task_type") == "test_script_generate",
5066
+ )
5059
5067
  else:
5060
5068
  result = await self._run_generic(agent, prompt, workspace_path, timeout, task.task_id, on_chunk)
5061
5069
 
@@ -5869,6 +5877,7 @@ class ProcessManager:
5869
5877
  self, agent: DiscoveredAgent, prompt: str, cwd: Path, timeout: int, task_id: str,
5870
5878
  on_chunk: Any = None,
5871
5879
  *,
5880
+ disable_builtin_mcps: bool = False,
5872
5881
  _retry_without_effort: bool = False,
5873
5882
  _isolated_copilot_home: str | None = None,
5874
5883
  ) -> TaskResult:
@@ -5994,6 +6003,7 @@ class ProcessManager:
5994
6003
  prompt=_effective_prompt,
5995
6004
  model=model_override,
5996
6005
  reasoning=reasoning if not _retry_without_effort else None,
6006
+ disable_builtin_mcps=disable_builtin_mcps,
5997
6007
  )
5998
6008
  cmd = _prepare_agent_command(cmd)
5999
6009
 
@@ -6131,6 +6141,7 @@ class ProcessManager:
6131
6141
  )
6132
6142
  return await self._run_copilot(
6133
6143
  agent, prompt, cwd, timeout, task_id, on_chunk,
6144
+ disable_builtin_mcps=disable_builtin_mcps,
6134
6145
  _retry_without_effort=True,
6135
6146
  _isolated_copilot_home=_isolated_copilot_home,
6136
6147
  )
@@ -11022,7 +11033,7 @@ class RuntimeDaemon:
11022
11033
  node_type="ai_job",
11023
11034
  agent_type=agent_type,
11024
11035
  input_prompt=full_prompt,
11025
- input_data={},
11036
+ input_data={"task_type": task_type},
11026
11037
  timeout_seconds=settings.AGENT_TIMEOUT,
11027
11038
  max_retries=0,
11028
11039
  retry_count=0,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.41.2
3
+ Version: 1.41.3
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "forgexa-cli"
3
- version = "1.41.2"
3
+ version = "1.41.3"
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"
File without changes
File without changes