rakit-cli 2.0.1__tar.gz → 2.0.2__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.5
2
2
  Name: rakit-cli
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: Pendamping folder notebook lokal & server MCP stdio untuk RAKIT v2.0
5
5
  Project-URL: Homepage, https://github.com/radianapp/rakit
6
6
  Project-URL: Documentation, https://github.com/radianapp/rakit
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "rakit-cli"
7
- version = "2.0.1"
7
+ version = "2.0.2"
8
8
  description = "Pendamping folder notebook lokal & server MCP stdio untuk RAKIT v2.0"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -1,3 +1,3 @@
1
1
  """Paket pendamping folder notebook lokal (`rakit`) dan server MCP `stdio` (`rakit-mcp`)."""
2
2
 
3
- __version__ = "2.0.1"
3
+ __version__ = "2.0.2"
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- RAKIT_CLI_VERSION = "2.0.1"
5
+ RAKIT_CLI_VERSION = "2.0.2"
6
6
 
7
7
  RAKIT_ASCII_LOGO = r"""
8
8
  ____ _ _ _____ _____ ____ ___
@@ -819,6 +819,13 @@ def main(argv: Sequence[str] | None = None) -> int:
819
819
  except urllib.error.HTTPError as exc:
820
820
  server_sync_status = f"http_{exc.code}"
821
821
  server_message = f"Gagal sinkron ke server (HTTP {exc.code})."
822
+ try:
823
+ err_body = exc.read().decode("utf-8", errors="replace").strip()
824
+ except Exception:
825
+ err_body = ""
826
+ if err_body:
827
+ # Tampilkan alasan dari server/proxy (mis. blokir WAF) agar mudah didiagnosis.
828
+ server_message += f" Respons: {err_body[:300]}"
822
829
  except Exception:
823
830
  server_sync_status = "offline"
824
831
  server_message = "Pemindaian lokal selesai (peladen RAKIT offline)."
@@ -190,7 +190,7 @@ wheels = [
190
190
 
191
191
  [[package]]
192
192
  name = "rakit-cli"
193
- version = "2.0.1"
193
+ version = "2.0.2"
194
194
  source = { editable = "." }
195
195
 
196
196
  [package.dev-dependencies]
File without changes
File without changes