forgexa-cli 1.1.2__tar.gz → 1.1.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.1.2
3
+ Version: 1.1.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.1.2"
2
+ __version__ = "1.1.6"
@@ -542,8 +542,8 @@ class WorkspaceManager:
542
542
  readme.write_text(f"# {project_key}\n\nInitialized by Forgexa.\n")
543
543
  await self._git("add", ".", cwd=ws_path)
544
544
  await self._git(
545
- "-c", "user.name=AI Factory",
546
- "-c", "user.email=ai@factory.local",
545
+ "-c", "user.name=Forgexa Agent",
546
+ "-c", "user.email=agent@forgexa.net",
547
547
  "commit", "-m", "Initial commit",
548
548
  cwd=ws_path,
549
549
  )
@@ -2492,8 +2492,8 @@ class RuntimeDaemon:
2492
2492
  cwd=str(workspace_path),
2493
2493
  stdout=asyncio.subprocess.PIPE,
2494
2494
  stderr=asyncio.subprocess.PIPE,
2495
- env={**os.environ, "GIT_AUTHOR_NAME": "AI Factory", "GIT_AUTHOR_EMAIL": "ai@factory.local",
2496
- "GIT_COMMITTER_NAME": "AI Factory", "GIT_COMMITTER_EMAIL": "ai@factory.local"},
2495
+ env={**os.environ, "GIT_AUTHOR_NAME": "Forgexa Agent", "GIT_AUTHOR_EMAIL": "agent@forgexa.net",
2496
+ "GIT_COMMITTER_NAME": "Forgexa Agent", "GIT_COMMITTER_EMAIL": "agent@forgexa.net"},
2497
2497
  )
2498
2498
  await proc.communicate()
2499
2499
  has_new_commit = True
@@ -2800,8 +2800,8 @@ class RuntimeDaemon:
2800
2800
  # ── Tier 1: rebase ──
2801
2801
  try:
2802
2802
  await git(
2803
- "-c", "user.name=AI Factory",
2804
- "-c", "user.email=ai@factory.local",
2803
+ "-c", "user.name=Forgexa Agent",
2804
+ "-c", "user.email=agent@forgexa.net",
2805
2805
  "rebase", target,
2806
2806
  cwd=workspace_path, timeout=120,
2807
2807
  )
@@ -2817,8 +2817,8 @@ class RuntimeDaemon:
2817
2817
  # ── Tier 2: merge ──
2818
2818
  try:
2819
2819
  await git(
2820
- "-c", "user.name=AI Factory",
2821
- "-c", "user.email=ai@factory.local",
2820
+ "-c", "user.name=Forgexa Agent",
2821
+ "-c", "user.email=agent@forgexa.net",
2822
2822
  "merge", target, "--no-edit",
2823
2823
  cwd=workspace_path, timeout=120,
2824
2824
  )
@@ -2855,8 +2855,8 @@ class RuntimeDaemon:
2855
2855
  # No actual conflicts (merge completed or something unusual)
2856
2856
  try:
2857
2857
  await git(
2858
- "-c", "user.name=AI Factory",
2859
- "-c", "user.email=ai@factory.local",
2858
+ "-c", "user.name=Forgexa Agent",
2859
+ "-c", "user.email=agent@forgexa.net",
2860
2860
  "merge", "--continue", cwd=workspace_path,
2861
2861
  )
2862
2862
  except RuntimeError:
@@ -2956,8 +2956,8 @@ class RuntimeDaemon:
2956
2956
  await git("add", "-A", cwd=workspace_path)
2957
2957
  try:
2958
2958
  await git(
2959
- "-c", "user.name=AI Factory",
2960
- "-c", "user.email=ai@factory.local",
2959
+ "-c", "user.name=Forgexa Agent",
2960
+ "-c", "user.email=agent@forgexa.net",
2961
2961
  "commit", "--no-edit",
2962
2962
  cwd=workspace_path,
2963
2963
  )
@@ -221,7 +221,7 @@ def cmd_daemon_stop(_args: argparse.Namespace) -> None:
221
221
 
222
222
  def cmd_daemon_start(args: argparse.Namespace) -> None:
223
223
  """Start the local daemon (agent runtime)."""
224
- server_url = args.server_url or os.environ.get("FORGEXA_SERVER_URL", "http://localhost:8000")
224
+ server_url = args.server_url or _api_url()
225
225
  os.environ["DAEMON_SERVER_URL"] = server_url
226
226
 
227
227
  # Pass token if available
@@ -462,7 +462,7 @@ def main() -> None:
462
462
  description="Forgexa CLI — communicates with the Forgexa server via REST API.",
463
463
  epilog=(
464
464
  "Configuration:\n"
465
- " FORGEXA_SERVER_URL Server URL (default: http://localhost:8000)\n"
465
+ f" FORGEXA_SERVER_URL Server URL (default: {_DEFAULT_SERVER_URL})\n"
466
466
  " FORGEXA_TOKEN Bearer token (or use `forgexa login`)\n"
467
467
  ),
468
468
  formatter_class=argparse.RawDescriptionHelpFormatter,
@@ -470,7 +470,7 @@ def main() -> None:
470
470
  parser.add_argument(
471
471
  "--server-url",
472
472
  default=None,
473
- help="Server URL (default: $FORGEXA_SERVER_URL or http://localhost:8000)",
473
+ help=f"Server URL (default: $FORGEXA_SERVER_URL or {_DEFAULT_SERVER_URL})",
474
474
  )
475
475
  parser.add_argument(
476
476
  "--format",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: forgexa-cli
3
- Version: 1.1.2
3
+ Version: 1.1.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.1.2"
3
+ version = "1.1.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