aboutsummaryrefslogtreecommitdiffstats
path: root/idatui/__main__.py
diff options
context:
space:
mode:
authorblasty <blasty@local>2026-07-09 11:14:23 +0200
committerblasty <blasty@local>2026-07-09 11:14:23 +0200
commiteec630887ce72a7dafae4c33f5e85ad7c746b038 (patch)
tree7f5c736249e6ba32317cb4c17a25a4652661593b /idatui/__main__.py
downloadida-tui-eec630887ce72a7dafae4c33f5e85ad7c746b038.tar.gz
ida-tui-eec630887ce72a7dafae4c33f5e85ad7c746b038.tar.xz
ida-tui-eec630887ce72a7dafae4c33f5e85ad7c746b038.zip
persistent MCP client: warm handshake, keep-alive pool, error taxonomy, thread-safe
- IDAClient: single handshake, ~7ms warm calls (vs ~60ms cold CLI) - keep-alive connection pool over http.client; concurrent-safe (40 threads OK) - grounded error taxonomy: IDAToolError on isError, soft per-item errors as data - session-expiry recovery (404 -> re-handshake -> retry), bounded transport retries - auto db-injection + resolve_db (ignores stale empty-id sessions) - live smoke test: 13/13 pass
Diffstat (limited to 'idatui/__main__.py')
-rw-r--r--idatui/__main__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/idatui/__main__.py b/idatui/__main__.py
new file mode 100644
index 0000000..29f5cf4
--- /dev/null
+++ b/idatui/__main__.py
@@ -0,0 +1,6 @@
+"""``python -m idatui`` -> client self-check (until the TUI app lands)."""
+import sys
+
+from .client import _main
+
+raise SystemExit(_main(sys.argv[1:]))