akashcli 4.8.6__tar.gz → 4.8.7__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 (33) hide show
  1. {akashcli-4.8.6 → akashcli-4.8.7}/PKG-INFO +1 -1
  2. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/__init__.py +1 -1
  3. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/cli.py +35 -2
  4. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli.egg-info/PKG-INFO +1 -1
  5. {akashcli-4.8.6 → akashcli-4.8.7}/pyproject.toml +1 -1
  6. {akashcli-4.8.6 → akashcli-4.8.7}/README.md +0 -0
  7. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/_net.py +0 -0
  8. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/auth.py +0 -0
  9. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/client.py +0 -0
  10. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/config.py +0 -0
  11. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/crypto.py +0 -0
  12. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/env_manager.py +0 -0
  13. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/exceptions.py +0 -0
  14. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/exec.py +0 -0
  15. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/integrity.py +0 -0
  16. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/logger.py +0 -0
  17. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/models.py +0 -0
  18. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/p2p.py +0 -0
  19. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/packages.py +0 -0
  20. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/relay.py +0 -0
  21. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/restore.py +0 -0
  22. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/snapshot_crypto.py +0 -0
  23. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/storage.py +0 -0
  24. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/terminal.py +0 -0
  25. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/updater.py +0 -0
  26. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/uploader.py +0 -0
  27. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli/utils.py +0 -0
  28. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli.egg-info/SOURCES.txt +0 -0
  29. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli.egg-info/dependency_links.txt +0 -0
  30. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli.egg-info/entry_points.txt +0 -0
  31. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli.egg-info/requires.txt +0 -0
  32. {akashcli-4.8.6 → akashcli-4.8.7}/akashcli.egg-info/top_level.txt +0 -0
  33. {akashcli-4.8.6 → akashcli-4.8.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: akashcli
3
- Version: 4.8.6
3
+ Version: 4.8.7
4
4
  Summary: Akash CLI — secure remote shell relay, file vault, and device management
5
5
  License-Expression: MIT
6
6
  Keywords: akash,cli,relay,remote-shell,vault
@@ -2,7 +2,7 @@ try:
2
2
  from importlib.metadata import version
3
3
  __version__ = version("akashcli")
4
4
  except Exception:
5
- __version__ = "4.8.6"
5
+ __version__ = "4.8.7"
6
6
 
7
7
  AKASH_VERSION = __version__
8
8
 
@@ -4092,6 +4092,7 @@ def mcp_share(
4092
4092
  temp: Optional[str] = typer.Option(None, "--temp", "-t", help="Temporary short URL duration (e.g. '30m', '30 min', '1h')"),
4093
4093
  codex: bool = typer.Option(False, "--codex", "-c", help="Show snippet only for Codex CLI/Desktop"),
4094
4094
  claude: bool = typer.Option(False, "--claude", help="Show snippet only for Claude Desktop / Cursor"),
4095
+ chatgpt: bool = typer.Option(False, "--chatgpt", "-g", help="Show snippet only for ChatGPT Custom GPT Actions"),
4095
4096
  keys: bool = typer.Option(False, "--keys", "-k", help="Show raw Client ID and Secret"),
4096
4097
  replace: bool = typer.Option(False, "--replace", "-r", help="Automatically destroy active ticket and issue a new one"),
4097
4098
  reuse: bool = typer.Option(False, "--reuse", help="Automatically reuse active ticket if still valid"),
@@ -4238,7 +4239,7 @@ def mcp_share(
4238
4239
  mode_label = "Permanent Small & Secure"
4239
4240
 
4240
4241
  _p()
4241
- _print_mcp_cloud_logo("Akash MCP · Quick Connect", "AI Assistant Setup (Cursor, Claude Desktop, Gemini)")
4242
+ _print_mcp_cloud_logo("Akash MCP · Quick Connect", "AI Assistant Setup (Cursor, Claude, Gemini, ChatGPT)")
4242
4243
  print(" " + _GR + "──────────────────────────────────────────────────" + _RS)
4243
4244
  print(" " + _DM + "Agent : " + _RS + _ye(name) + " " + _dim("(" + pid + ")"))
4244
4245
  print(" " + _DM + "Mode : " + _RS + _C + mode_label + _RS)
@@ -4249,7 +4250,7 @@ def mcp_share(
4249
4250
  print(" " + _GR + "──────────────────────────────────────────────────" + _RS)
4250
4251
  _p()
4251
4252
 
4252
- show_all = not codex and not claude
4253
+ show_all = not codex and not claude and not chatgpt
4253
4254
 
4254
4255
  if show_all:
4255
4256
  gemini_url = base + "/mcp"
@@ -4259,6 +4260,38 @@ def mcp_share(
4259
4260
  print(" " + _GR + "──────────────────────────────────────────────────" + _RS)
4260
4261
  _p()
4261
4262
 
4263
+ if show_all or chatgpt:
4264
+ app_token = None
4265
+ for tok_path in [Path.home() / ".akash_app_tokens.json", Path.home() / ".akash" / "app_tokens.json"]:
4266
+ if tok_path.exists():
4267
+ try:
4268
+ tok_data = json.loads(tok_path.read_text(encoding="utf-8"))
4269
+ for k in tok_data.get("tokens", {}).keys():
4270
+ if k.startswith("akash_sec_client_"):
4271
+ app_token = k
4272
+ break
4273
+ if not app_token:
4274
+ for k in tok_data.get("tokens", {}).keys():
4275
+ if k.startswith("akash_sec_"):
4276
+ app_token = k
4277
+ break
4278
+ except Exception:
4279
+ pass
4280
+ if app_token:
4281
+ break
4282
+ token_val = app_token or csec or "akash_sec_client_03e804cabbbcface799a4522ca673dd166b8e76813f84389"
4283
+ openapi_url = base + "/openapi.json"
4284
+ privacy_url = base + "/privacy"
4285
+ print(" " + _C + "For ChatGPT Custom GPT (OpenAPI Actions)" + _RS + ":")
4286
+ print(" " + _DM + "OpenAPI Schema URL : " + _RS + _cy(openapi_url))
4287
+ print(" " + _DM + "Authentication : " + _RS + _W + "API Key" + _RS + " " + _dim("->") + " " + _W + "Custom" + _RS)
4288
+ print(" " + _DM + "Custom Header Name : " + _RS + _ye("X-App-Token"))
4289
+ print(" " + _DM + "Token / Key Value : " + _RS + _dim(token_val))
4290
+ print(" " + _DM + "Privacy Policy URL : " + _RS + _cy(privacy_url))
4291
+ print(" " + _dim(" (Import schema URL into ChatGPT GPT Builder -> Actions)"))
4292
+ print(" " + _GR + "──────────────────────────────────────────────────" + _RS)
4293
+ _p()
4294
+
4262
4295
  if show_all or codex:
4263
4296
  print(" " + _C + "For Codex CLI / Desktop" + _RS + " " + _dim("(~/.codex/config.toml)") + ":")
4264
4297
  print(" " + _DM + "Option A: Same Device (Termux / Localhost)" + _RS)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: akashcli
3
- Version: 4.8.6
3
+ Version: 4.8.7
4
4
  Summary: Akash CLI — secure remote shell relay, file vault, and device management
5
5
  License-Expression: MIT
6
6
  Keywords: akash,cli,relay,remote-shell,vault
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "akashcli"
3
- version = "4.8.6"
3
+ version = "4.8.7"
4
4
  description = "Akash CLI — secure remote shell relay, file vault, and device management"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9"
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