forgexa-cli 1.1.4__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.
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/PKG-INFO +1 -1
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli/daemon.py +12 -12
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli/main.py +3 -3
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli.egg-info/PKG-INFO +1 -1
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/pyproject.toml +1 -1
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/README.md +0 -0
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli/_build_config.py +0 -0
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli.egg-info/requires.txt +0 -0
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.1.4 → forgexa_cli-1.1.6}/setup.cfg +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.1.
|
|
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=
|
|
546
|
-
"-c", "user.email=
|
|
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": "
|
|
2496
|
-
"GIT_COMMITTER_NAME": "
|
|
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=
|
|
2804
|
-
"-c", "user.email=
|
|
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=
|
|
2821
|
-
"-c", "user.email=
|
|
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=
|
|
2859
|
-
"-c", "user.email=
|
|
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=
|
|
2960
|
-
"-c", "user.email=
|
|
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
|
|
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:
|
|
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
|
|
473
|
+
help=f"Server URL (default: $FORGEXA_SERVER_URL or {_DEFAULT_SERVER_URL})",
|
|
474
474
|
)
|
|
475
475
|
parser.add_argument(
|
|
476
476
|
"--format",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|