langstage-cli 0.6.7__tar.gz → 0.6.8__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.
- {langstage_cli-0.6.7/langstage_cli.egg-info → langstage_cli-0.6.8}/PKG-INFO +4 -2
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/README.md +3 -1
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/langstage_cli/cli.py +3 -2
- {langstage_cli-0.6.7 → langstage_cli-0.6.8/langstage_cli.egg-info}/PKG-INFO +4 -2
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/pyproject.toml +1 -1
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_quiet_output.py +8 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/LICENSE +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/deepagent_code/__init__.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/langstage_cli/__init__.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/langstage_cli/agui_stream.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/langstage_cli/config.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/langstage_cli.egg-info/SOURCES.txt +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/langstage_cli.egg-info/dependency_links.txt +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/langstage_cli.egg-info/entry_points.txt +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/langstage_cli.egg-info/requires.txt +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/langstage_cli.egg-info/top_level.txt +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/setup.cfg +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_agui_stream.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_checkpointer.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_cli.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_cli_help.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_codeconfig.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_config.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_configurable.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_help_render.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_no_interactive_approve.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_rename_shim.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_show_config.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_spec_resolution.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_stream_mode.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_streaming_marker.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_turn_exit_and_render.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_unicode_console.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_verify_flag.py +0 -0
- {langstage_cli-0.6.7 → langstage_cli-0.6.8}/tests/test_workspace.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langstage-cli
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.8
|
|
4
4
|
Summary: The terminal stage for your LangGraph agent — Claude Code-style CLI for any CompiledGraph
|
|
5
5
|
Author-email: Kedar Dabhadkar <kdabhadk@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -41,7 +41,9 @@ Dynamic: license-file
|
|
|
41
41
|
|
|
42
42
|
> Renamed from **deepagent-code** (the old package name now just installs this one, and the `deepagent-code` command still works). Not to be confused with LangChain's **`deepagents-code`** (`dcode`) — that's a separate project; `langstage-cli` is the terminal stage of the [LangStage family](#every-stage-for-your-langgraph-agent).
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
<p align="center">
|
|
45
|
+
<img src="assets/header.svg" alt="langstage-cli — the terminal stage for your LangGraph agent" width="100%" />
|
|
46
|
+
</p>
|
|
45
47
|
|
|
46
48
|
## Every stage for your LangGraph agent
|
|
47
49
|
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
> Renamed from **deepagent-code** (the old package name now just installs this one, and the `deepagent-code` command still works). Not to be confused with LangChain's **`deepagents-code`** (`dcode`) — that's a separate project; `langstage-cli` is the terminal stage of the [LangStage family](#every-stage-for-your-langgraph-agent).
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img src="assets/header.svg" alt="langstage-cli — the terminal stage for your LangGraph agent" width="100%" />
|
|
9
|
+
</p>
|
|
8
10
|
|
|
9
11
|
## Every stage for your LangGraph agent
|
|
10
12
|
|
|
@@ -173,12 +173,13 @@ def rl_wrap(code: str) -> str:
|
|
|
173
173
|
return code
|
|
174
174
|
|
|
175
175
|
|
|
176
|
-
def make_prompt(text: str = "❯", color: str =
|
|
176
|
+
def make_prompt(text: str = "❯", color: str | None = None) -> str:
|
|
177
177
|
"""Create a prompt string with proper readline escaping for ANSI codes.
|
|
178
178
|
|
|
179
179
|
This prevents line wrapping issues on Windows and other terminals.
|
|
180
180
|
"""
|
|
181
|
-
|
|
181
|
+
prompt_color = BRIGHT_BLUE if color is None else color
|
|
182
|
+
return f"{rl_wrap(BOLD)}{rl_wrap(prompt_color)}{text}{rl_wrap(RESET)} "
|
|
182
183
|
|
|
183
184
|
|
|
184
185
|
def register_command(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langstage-cli
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.8
|
|
4
4
|
Summary: The terminal stage for your LangGraph agent — Claude Code-style CLI for any CompiledGraph
|
|
5
5
|
Author-email: Kedar Dabhadkar <kdabhadk@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -41,7 +41,9 @@ Dynamic: license-file
|
|
|
41
41
|
|
|
42
42
|
> Renamed from **deepagent-code** (the old package name now just installs this one, and the `deepagent-code` command still works). Not to be confused with LangChain's **`deepagents-code`** (`dcode`) — that's a separate project; `langstage-cli` is the terminal stage of the [LangStage family](#every-stage-for-your-langgraph-agent).
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
<p align="center">
|
|
45
|
+
<img src="assets/header.svg" alt="langstage-cli — the terminal stage for your LangGraph agent" width="100%" />
|
|
46
|
+
</p>
|
|
45
47
|
|
|
46
48
|
## Every stage for your LangGraph agent
|
|
47
49
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "langstage-cli"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.8"
|
|
8
8
|
description = "The terminal stage for your LangGraph agent — Claude Code-style CLI for any CompiledGraph"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -36,6 +36,14 @@ def test_quiet_flag_forces_clean_output(tmp_path, monkeypatch):
|
|
|
36
36
|
assert "\x1b[" not in r.output and "⏺" not in r.output, r.output
|
|
37
37
|
|
|
38
38
|
|
|
39
|
+
def test_make_prompt_uses_disabled_color_globals_after_ansi_is_disabled():
|
|
40
|
+
c._disable_ansi()
|
|
41
|
+
|
|
42
|
+
prompt = c.make_prompt()
|
|
43
|
+
|
|
44
|
+
assert "\x1b[" not in prompt, repr(prompt)
|
|
45
|
+
|
|
46
|
+
|
|
39
47
|
def test_errors_go_to_stderr_not_stdout(tmp_path, monkeypatch):
|
|
40
48
|
# A failed single-shot run must keep stdout clean so a scripted caller can
|
|
41
49
|
# consume the (empty) reply and read the diagnostic off stderr / the exit code.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|