thzdaq-cli 0.0.6b4__tar.gz → 0.0.6b5__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. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/PKG-INFO +2 -2
  2. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/pyproject.toml +2 -2
  3. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/agents.py +4 -5
  4. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/.gitignore +0 -0
  5. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/LICENSE +0 -0
  6. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/README.md +0 -0
  7. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/__init__.py +0 -0
  8. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/__main__.py +0 -0
  9. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/app.py +0 -0
  10. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/approvals.py +0 -0
  11. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/client.py +0 -0
  12. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/daemon.py +0 -0
  13. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/devices.py +0 -0
  14. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/measurements.py +0 -0
  15. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/scripts.py +0 -0
  16. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/show.py +0 -0
  17. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/station.py +0 -0
  18. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/src/thzdaq_cli/workspaces.py +0 -0
  19. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/tests/conftest.py +0 -0
  20. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/tests/test_cli.py +0 -0
  21. {thzdaq_cli-0.0.6b4 → thzdaq_cli-0.0.6b5}/tests/test_workspaces.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: thzdaq-cli
3
- Version: 0.0.6b4
3
+ Version: 0.0.6b5
4
4
  Summary: ThzDAQ command line: a client of the bench daemon
5
5
  Project-URL: Homepage, https://github.com/yarvod/ThzDAQ
6
6
  Project-URL: Documentation, https://github.com/yarvod/ThzDAQ/blob/master/docs/daemon.md
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Topic :: Scientific/Engineering :: Physics
19
19
  Requires-Python: >=3.11
20
- Requires-Dist: thzdaq-api==0.0.6b4
20
+ Requires-Dist: thzdaq-api==0.0.6b5
21
21
  Description-Content-Type: text/markdown
22
22
 
23
23
  # thzdaq-cli
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "thzdaq-cli"
3
- version = "0.0.6b4"
3
+ version = "0.0.6b5"
4
4
  description = "ThzDAQ command line: a client of the bench daemon"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -17,7 +17,7 @@ classifiers = [
17
17
  "Topic :: Scientific/Engineering :: Physics",
18
18
  ]
19
19
  dependencies = [
20
- "thzdaq-api==0.0.6b4",
20
+ "thzdaq-api==0.0.6b5",
21
21
  ]
22
22
 
23
23
  [project.urls]
@@ -37,8 +37,8 @@ from thzdaq_cli.client import (
37
37
  )
38
38
 
39
39
  PLUGINS = "thzdaq.cli" # entry points of the packages that add a command
40
- MCP = "mcp"
41
- SERVER = "thzdaq" # the MCP server's name in the agents' configs
40
+ MCP = host.MCP
41
+ SERVER = host.MCP_NAME
42
42
  INSTALL = "thzdaq mcp needs the thzdaq-mcp package: uv tool install 'thzdaq[mcp]'"
43
43
 
44
44
  CLAUDE_CONFIG = ".mcp.json"
@@ -60,7 +60,7 @@ def add(commands) -> None:
60
60
  MCP, help="the MCP server for agents, on stdin and stdout"
61
61
  )
62
62
  serve.add_argument(
63
- "--workspace", help=f"its measurements go to data/ there ({HERE})"
63
+ host.WORKSPACE, help=f"its measurements go to data/ there ({HERE})"
64
64
  )
65
65
  serve.set_defaults(run=serve_mcp)
66
66
  setup = commands.add_parser(
@@ -96,8 +96,7 @@ def command() -> List[str]:
96
96
 
97
97
  def server_command(simulate: bool, folder: Path) -> List[str]:
98
98
  """thzdaq [--simulate] mcp --workspace FOLDER, absolute."""
99
- options = ["--simulate"] if simulate else []
100
- return [*command(), *options, MCP, "--workspace", str(folder)]
99
+ return host.mcp_server(command(), simulate, folder)
101
100
 
102
101
 
103
102
  def claude_config(path: Path, started: List[str]) -> str:
File without changes
File without changes
File without changes