flowmesh-cli 0.1.8__tar.gz → 0.1.9__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 (31) hide show
  1. {flowmesh_cli-0.1.8/src/flowmesh_cli.egg-info → flowmesh_cli-0.1.9}/PKG-INFO +3 -3
  2. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/pyproject.toml +3 -3
  3. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/_version.py +1 -1
  4. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/ssh.py +4 -0
  5. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9/src/flowmesh_cli.egg-info}/PKG-INFO +3 -3
  6. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli.egg-info/requires.txt +2 -2
  7. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/LICENSE +0 -0
  8. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/README.md +0 -0
  9. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/setup.cfg +0 -0
  10. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/__init__.py +0 -0
  11. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/cli.py +0 -0
  12. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/__init__.py +0 -0
  13. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/base.py +0 -0
  14. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/node.py +0 -0
  15. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/result.py +0 -0
  16. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/system.py +0 -0
  17. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/task.py +0 -0
  18. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/trace.py +0 -0
  19. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/worker.py +0 -0
  20. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/commands/workflow.py +0 -0
  21. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/core/__init__.py +0 -0
  22. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/core/assets.py +0 -0
  23. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/core/logging.py +0 -0
  24. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/core/paths.py +0 -0
  25. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/core/query.py +0 -0
  26. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/core/task.py +0 -0
  27. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli/core/typer.py +0 -0
  28. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli.egg-info/SOURCES.txt +0 -0
  29. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli.egg-info/dependency_links.txt +0 -0
  30. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli.egg-info/entry_points.txt +0 -0
  31. {flowmesh_cli-0.1.8 → flowmesh_cli-0.1.9}/src/flowmesh_cli.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flowmesh-cli
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: FlowMesh command line interface
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.12
@@ -10,9 +10,9 @@ Requires-Dist: typer>=0.12.5
10
10
  Requires-Dist: pyyaml>=6.0.2
11
11
  Requires-Dist: rich>=14.2.0
12
12
  Requires-Dist: websockets>=15.0
13
- Requires-Dist: flowmesh-sdk==0.1.8
13
+ Requires-Dist: flowmesh-sdk==0.1.9
14
14
  Provides-Extra: stack
15
- Requires-Dist: flowmesh-cli-stack==0.1.8; extra == "stack"
15
+ Requires-Dist: flowmesh-cli-stack==0.1.9; extra == "stack"
16
16
  Dynamic: license-file
17
17
 
18
18
  # FlowMesh CLI
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "flowmesh-cli"
7
- version = "0.1.8"
7
+ version = "0.1.9"
8
8
  description = "FlowMesh command line interface"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -15,11 +15,11 @@ dependencies = [
15
15
  "pyyaml>=6.0.2",
16
16
  "rich>=14.2.0",
17
17
  "websockets>=15.0",
18
- "flowmesh-sdk==0.1.8",
18
+ "flowmesh-sdk==0.1.9",
19
19
  ]
20
20
 
21
21
  [project.optional-dependencies]
22
- stack = ["flowmesh-cli-stack==0.1.8"]
22
+ stack = ["flowmesh-cli-stack==0.1.9"]
23
23
 
24
24
  [project.scripts]
25
25
  flowmesh = "flowmesh_cli.cli:main"
@@ -3,7 +3,7 @@
3
3
  from importlib.metadata import PackageNotFoundError, version
4
4
 
5
5
  _PACKAGE_NAME = "flowmesh-cli"
6
- _STATIC_VERSION = "0.1.8"
6
+ _STATIC_VERSION = "0.1.9"
7
7
 
8
8
 
9
9
  def _resolve_version() -> str:
@@ -16,6 +16,7 @@ from flowmesh import FlowMesh
16
16
  from flowmesh.exceptions import FlowMeshError, NotFoundError
17
17
  from flowmesh.models.common import TERMINAL_TASK_STATUSES, TaskStatus
18
18
  from flowmesh.params import append_param, extend_params
19
+ from flowmesh.ssh import describe_direct_route
19
20
 
20
21
  from ..core import logging
21
22
  from ..core.query import parse_query_filters
@@ -60,6 +61,9 @@ def _exec_ssh(
60
61
  if not host:
61
62
  logging.error("SSH host is not available.")
62
63
  raise typer.Exit(code=1)
64
+ if direct or mode == "direct":
65
+ if route := describe_direct_route(ssh_info, host, port):
66
+ typer.echo(route, err=True)
63
67
  if port:
64
68
  args += ["-p", str(port)]
65
69
  args.append(f"{user}@{host}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flowmesh-cli
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: FlowMesh command line interface
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.12
@@ -10,9 +10,9 @@ Requires-Dist: typer>=0.12.5
10
10
  Requires-Dist: pyyaml>=6.0.2
11
11
  Requires-Dist: rich>=14.2.0
12
12
  Requires-Dist: websockets>=15.0
13
- Requires-Dist: flowmesh-sdk==0.1.8
13
+ Requires-Dist: flowmesh-sdk==0.1.9
14
14
  Provides-Extra: stack
15
- Requires-Dist: flowmesh-cli-stack==0.1.8; extra == "stack"
15
+ Requires-Dist: flowmesh-cli-stack==0.1.9; extra == "stack"
16
16
  Dynamic: license-file
17
17
 
18
18
  # FlowMesh CLI
@@ -2,7 +2,7 @@ typer>=0.12.5
2
2
  pyyaml>=6.0.2
3
3
  rich>=14.2.0
4
4
  websockets>=15.0
5
- flowmesh-sdk==0.1.8
5
+ flowmesh-sdk==0.1.9
6
6
 
7
7
  [stack]
8
- flowmesh-cli-stack==0.1.8
8
+ flowmesh-cli-stack==0.1.9
File without changes
File without changes
File without changes