forgexa-cli 1.54.0__tar.gz → 1.54.1__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.54.0 → forgexa_cli-1.54.1}/PKG-INFO +1 -1
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/__init__.py +1 -1
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/agent_core.py +10 -1
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/daemon.py +1 -1
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli.egg-info/PKG-INFO +1 -1
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/pyproject.toml +1 -1
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/README.md +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/_build_config.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/_local_bind.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/autoupgrade.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/main.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/py.typed +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/runtime_evidence.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli/zcode_protocol.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli.egg-info/SOURCES.txt +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli.egg-info/dependency_links.txt +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli.egg-info/entry_points.txt +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli.egg-info/requires.txt +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/forgexa_cli.egg-info/top_level.txt +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/setup.cfg +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/tests/test_auth_and_runtime_commands.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/tests/test_autoupgrade.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/tests/test_check_command.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/tests/test_expiry_warnings_and_revoke.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/tests/test_local_bind_commands.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/tests/test_runtime_credentials.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/tests/test_session_credentials.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/tests/test_silent_install.py +0 -0
- {forgexa_cli-1.54.0 → forgexa_cli-1.54.1}/tests/test_upgrade_observability.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""forgexa-cli — Forgexa command-line client."""
|
|
2
|
-
__version__ = "1.54.
|
|
2
|
+
__version__ = "1.54.1"
|
|
@@ -2745,6 +2745,7 @@ def build_copilot_command(
|
|
|
2745
2745
|
resume_session_id: str | None = None,
|
|
2746
2746
|
disable_builtin_mcps: bool = False,
|
|
2747
2747
|
denied_tools: list[str] | None = None,
|
|
2748
|
+
prompt_via_stdin: bool = False,
|
|
2748
2749
|
) -> list[str]:
|
|
2749
2750
|
"""GitHub Copilot CLI non-interactive JSON-streaming invocation.
|
|
2750
2751
|
|
|
@@ -2755,6 +2756,12 @@ def build_copilot_command(
|
|
|
2755
2756
|
Host-only option (the daemon leaves it at its default):
|
|
2756
2757
|
``resume_session_id`` continues a previous session via
|
|
2757
2758
|
``--resume=<id>`` (session state lives under ``COPILOT_HOME/session-state/``).
|
|
2759
|
+
|
|
2760
|
+
``prompt_via_stdin`` omits ``-p`` so the caller pipes the prompt into
|
|
2761
|
+
stdin instead - verified live on CLI 1.0.86, where piped stdin is a full
|
|
2762
|
+
non-interactive prompt source. The host uses it when the argv form would
|
|
2763
|
+
exceed the platform command-line limit (inlined attachments can push the
|
|
2764
|
+
prompt past Windows' 32k-char CreateProcess ceiling).
|
|
2758
2765
|
"""
|
|
2759
2766
|
cmd = [
|
|
2760
2767
|
binary,
|
|
@@ -2771,7 +2778,9 @@ def build_copilot_command(
|
|
|
2771
2778
|
cmd.append(f"--resume={resume_session_id}")
|
|
2772
2779
|
if model:
|
|
2773
2780
|
cmd = [binary, "--model", model] + cmd[1:]
|
|
2774
|
-
cmd += ["-C", str(cwd)
|
|
2781
|
+
cmd += ["-C", str(cwd)]
|
|
2782
|
+
if not prompt_via_stdin:
|
|
2783
|
+
cmd += ["-p", prompt]
|
|
2775
2784
|
return cmd
|
|
2776
2785
|
|
|
2777
2786
|
|
|
@@ -1138,7 +1138,7 @@ except (ImportError, ModuleNotFoundError):
|
|
|
1138
1138
|
# DAEMON_VERSION is the protocol/logic version of the daemon code.
|
|
1139
1139
|
# Kept in sync with pyproject.toml version via bump-version.sh.
|
|
1140
1140
|
# CLIENT_TYPE identifies which packaging/distribution this daemon runs in.
|
|
1141
|
-
DAEMON_VERSION = "1.54.
|
|
1141
|
+
DAEMON_VERSION = "1.54.1"
|
|
1142
1142
|
|
|
1143
1143
|
|
|
1144
1144
|
def _detect_client_type() -> str:
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|