forgexa-cli 1.7.5__tar.gz → 1.7.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.7.5
3
+ Version: 1.7.6
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: MIT
@@ -1,2 +1,2 @@
1
1
  """forgexa-cli — Forgexa command-line client."""
2
- __version__ = "1.7.5"
2
+ __version__ = "1.7.6"
@@ -332,7 +332,7 @@ except (ImportError, ModuleNotFoundError):
332
332
  # DAEMON_VERSION is the protocol/logic version of the daemon code.
333
333
  # Kept in sync with pyproject.toml version via bump-version.sh.
334
334
  # CLIENT_TYPE identifies which packaging/distribution this daemon runs in.
335
- DAEMON_VERSION = "1.7.5"
335
+ DAEMON_VERSION = "1.7.6"
336
336
 
337
337
 
338
338
  def _detect_client_type() -> str:
@@ -2356,7 +2356,9 @@ class ProcessManager:
2356
2356
  model_override = os.environ.get("FACTORY_OPENCODE_MODEL")
2357
2357
  if model_override:
2358
2358
  cmd += ["--model", model_override]
2359
- cmd.append(prompt)
2359
+ # -- ensures yargs treats everything after it as positional args, not flags.
2360
+ # Without this, prompts containing --flag-like text cause yargs to print help and exit 1.
2361
+ cmd += ["--", prompt]
2360
2362
  result = await self._run_cli(cmd, cwd, timeout, task_id, on_chunk=on_chunk)
2361
2363
  parsed_metrics = self._parse_agent_jsonl_output(result.stdout)
2362
2364
  result.metrics.update(parsed_metrics)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.7.5
3
+ Version: 1.7.6
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: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "forgexa-cli"
3
- version = "1.7.5"
3
+ version = "1.7.6"
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 = { text = "MIT" }
File without changes
File without changes