forgexa-cli 1.10.4__tar.gz → 1.10.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.10.4
3
+ Version: 1.10.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.10.4"
2
+ __version__ = "1.10.6"
@@ -404,7 +404,7 @@ except (ImportError, ModuleNotFoundError):
404
404
  # DAEMON_VERSION is the protocol/logic version of the daemon code.
405
405
  # Kept in sync with pyproject.toml version via bump-version.sh.
406
406
  # CLIENT_TYPE identifies which packaging/distribution this daemon runs in.
407
- DAEMON_VERSION = "1.10.4"
407
+ DAEMON_VERSION = "1.10.6"
408
408
 
409
409
 
410
410
  def _detect_client_type() -> str:
@@ -4546,7 +4546,7 @@ class RuntimeDaemon:
4546
4546
  # If this is not caught the agent will run `git add -A` and commit a
4547
4547
  # catastrophic mass-deletion (e.g. SI-434: 47,566 files deleted).
4548
4548
  try:
4549
- _index_count_out = await self._git(
4549
+ _index_count_out = await self.workspace_manager._git(
4550
4550
  "ls-files", "--cached", "--", ".", cwd=workspace_path,
4551
4551
  timeout=30,
4552
4552
  )
@@ -5492,10 +5492,12 @@ class RuntimeDaemon:
5492
5492
  )
5493
5493
  await _flush_output_to_server()
5494
5494
 
5495
- # 4. Auto-commit if successful
5495
+ # 4. Auto-commit if successful (always call _auto_commit on success:
5496
+ # _auto_commit handles both uncommitted changes AND internally-committed
5497
+ # changes that just need to be pushed — same as _execute_task).
5496
5498
  input_ctx = aj.get("input_context", {})
5497
5499
  git_info = {}
5498
- if result.status == "success" and result.files_changed:
5500
+ if result.status == "success":
5499
5501
  git_info = await self._auto_commit(workspace_path, fake_task)
5500
5502
 
5501
5503
  # 5. Report completion
@@ -5582,7 +5584,7 @@ class RuntimeDaemon:
5582
5584
  task: TaskInfo,
5583
5585
  workspace_path: Path,
5584
5586
  result: TaskResult,
5585
- reporter: "TaskReporter",
5587
+ reporter: "ProgressReporter",
5586
5588
  on_chunk: Any,
5587
5589
  max_retries: int = 2,
5588
5590
  ) -> TaskResult:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.10.4
3
+ Version: 1.10.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.10.4"
3
+ version = "1.10.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