vssh 3.3.8__tar.gz → 3.3.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vssh
3
- Version: 3.3.8
3
+ Version: 3.3.9
4
4
  Summary: Secure SSH/SCP tool with Tailscale failover, P2P transport, and MCP server
5
5
  Author-email: MeshPOP <mpop@mpop.dev>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "vssh"
7
- version = "3.3.8"
7
+ version = "3.3.9"
8
8
  description = "Secure SSH/SCP tool with Tailscale failover, P2P transport, and MCP server"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vssh
3
- Version: 3.3.8
3
+ Version: 3.3.9
4
4
  Summary: Secure SSH/SCP tool with Tailscale failover, P2P transport, and MCP server
5
5
  Author-email: MeshPOP <mpop@mpop.dev>
6
6
  License: MIT
@@ -12,6 +12,8 @@ from pathlib import Path
12
12
  from concurrent.futures import ThreadPoolExecutor, as_completed
13
13
  from typing import Tuple, Optional
14
14
 
15
+ __version__ = '3.3.9'
16
+
15
17
  # ========== Standalone Config (no mpop dependency) ==========
16
18
  VSSH_DIR_CONF = Path.home() / '.vssh'
17
19
 
@@ -3459,6 +3461,16 @@ def _cmd_install(args):
3459
3461
  '</plist>',
3460
3462
  ]
3461
3463
  plist = '\n'.join(plist_lines)
3464
+ # Also fix pip entry point if it exists (may use wrong Python)
3465
+ for ep in [_os.path.join(_os.path.dirname(python_exe), 'vssh'),
3466
+ '/opt/homebrew/bin/vssh', '/usr/local/bin/vssh']:
3467
+ if ep != wrapper and _os.path.exists(ep):
3468
+ try:
3469
+ _sh.copy2(wrapper, ep)
3470
+ _os.chmod(ep, 0o755)
3471
+ print(f" fixed : {ep}")
3472
+ except Exception:
3473
+ pass
3462
3474
  _sp.run(['launchctl', 'unload', plist_path], capture_output=True)
3463
3475
  with open(plist_path, 'w') as _f:
3464
3476
  _f.write(plist)
@@ -3478,11 +3490,8 @@ def _cmd_install(args):
3478
3490
 
3479
3491
 
3480
3492
  def _get_vssh_version():
3481
- try:
3482
- from importlib.metadata import version as _v
3483
- return _v('vssh')
3484
- except Exception:
3485
- return '?'
3493
+ return __version__
3494
+
3486
3495
 
3487
3496
 
3488
3497
  def main():
@@ -3493,7 +3502,7 @@ def main():
3493
3502
  from importlib.metadata import version as _v
3494
3503
  print(f"vssh v{_v('vssh')}")
3495
3504
  except Exception:
3496
- print("vssh v3.3.2")
3505
+ print(f"vssh v{__version__}")
3497
3506
  return
3498
3507
  if not args:
3499
3508
  print('''vssh v3 - Distributed command & file transport daemon for server meshes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes