langstage-cli 0.5.3__tar.gz → 0.5.4__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.
Files changed (21) hide show
  1. {langstage_cli-0.5.3/langstage_cli.egg-info → langstage_cli-0.5.4}/PKG-INFO +1 -1
  2. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/langstage_cli/__init__.py +8 -1
  3. {langstage_cli-0.5.3 → langstage_cli-0.5.4/langstage_cli.egg-info}/PKG-INFO +1 -1
  4. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/pyproject.toml +1 -1
  5. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/tests/test_rename_shim.py +4 -1
  6. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/LICENSE +0 -0
  7. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/README.md +0 -0
  8. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/deepagent_code/__init__.py +0 -0
  9. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/langstage_cli/cli.py +0 -0
  10. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/langstage_cli/config.py +0 -0
  11. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/langstage_cli.egg-info/SOURCES.txt +0 -0
  12. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/langstage_cli.egg-info/dependency_links.txt +0 -0
  13. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/langstage_cli.egg-info/entry_points.txt +0 -0
  14. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/langstage_cli.egg-info/requires.txt +0 -0
  15. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/langstage_cli.egg-info/top_level.txt +0 -0
  16. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/setup.cfg +0 -0
  17. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/tests/test_cli.py +0 -0
  18. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/tests/test_cli_help.py +0 -0
  19. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/tests/test_codeconfig.py +0 -0
  20. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/tests/test_config.py +0 -0
  21. {langstage_cli-0.5.3 → langstage_cli-0.5.4}/tests/test_show_config.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langstage-cli
3
- Version: 0.5.3
3
+ Version: 0.5.4
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
@@ -8,6 +8,8 @@ tool-call serialization, content extraction) are available from
8
8
  ``langgraph_stream_parser.extractors`` if needed directly.
9
9
  """
10
10
 
11
+ from importlib.metadata import PackageNotFoundError, version
12
+
11
13
  from langgraph_stream_parser import (
12
14
  prepare_agent_input,
13
15
  stream_graph_updates,
@@ -16,7 +18,12 @@ from langgraph_stream_parser import (
16
18
  aresume_graph_from_interrupt,
17
19
  )
18
20
 
19
- __version__ = "0.4.0"
21
+ # Single source of truth is the installed distribution metadata, so this can
22
+ # never drift from pyproject's version (it was stuck at a stale "0.4.0").
23
+ try:
24
+ __version__ = version("langstage-cli")
25
+ except PackageNotFoundError: # pragma: no cover - editable/source checkout
26
+ __version__ = "0.0.0+local"
20
27
 
21
28
  __all__ = [
22
29
  "prepare_agent_input",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langstage-cli
3
- Version: 0.5.3
3
+ Version: 0.5.4
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "langstage-cli"
7
- version = "0.5.3"
7
+ version = "0.5.4"
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"
@@ -27,6 +27,9 @@ def test_legacy_submodules_alias_the_new_ones():
27
27
 
28
28
  def test_legacy_package_reexports_public_api():
29
29
  import deepagent_code
30
+ import langstage_cli
30
31
 
31
32
  assert callable(deepagent_code.prepare_agent_input)
32
- assert deepagent_code.__version__ == "0.4.0"
33
+ # The shim mirrors the new package's version (now derived from metadata),
34
+ # so assert equality rather than a hard-coded literal that would drift.
35
+ assert deepagent_code.__version__ == langstage_cli.__version__
File without changes
File without changes
File without changes