<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ida-tui.git/spawn.sh, branch main</title>
<subtitle>tui for headless ida</subtitle>
<id>https://git.sl0p.foo/ida-tui.git/atom/spawn.sh?h=main</id>
<link rel='self' href='https://git.sl0p.foo/ida-tui.git/atom/spawn.sh?h=main'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/'/>
<updated>2026-07-11T19:09:45Z</updated>
<entry>
<title>spawn.sh: run location-independent + env-configurable host/port/target</title>
<updated>2026-07-11T19:09:45Z</updated>
<author>
<name>user</name>
<email>user@clank</email>
</author>
<published>2026-07-11T19:09:45Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=4e68fbb9e052d874704162254a07a854e9dcc82e'/>
<id>urn:sha1:4e68fbb9e052d874704162254a07a854e9dcc82e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server: inject a del_type tool into ida-pro-mcp (enables struct delete)</title>
<updated>2026-07-10T09:55:33Z</updated>
<author>
<name>blasty</name>
<email>blasty@local</email>
</author>
<published>2026-07-10T09:55:33Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=25590831d851e9e8ab8ff15b4122e01dfafd6d58'/>
<id>urn:sha1:25590831d851e9e8ab8ff15b4122e01dfafd6d58</id>
<content type='text'>
ida-pro-mcp has no delete-type tool, so struct-editor delete couldn't work. We
don't vendor/fork the server; instead server/patch_server.py idempotently appends
a del_type @tool to the installed ida_pro_mcp/ida_mcp/api_types.py, which every
worker (python -m ida_pro_mcp.idalib_server) imports -&gt; it self-registers on the
shared MCP_SERVER. spawn.sh runs the patch before launching, so it's re-applied
on each start (survives reinstalls) and tracked in-repo instead of hand-editing
site-packages.

del_type calls ida_typeinf.del_named_type(get_idati(), name, NTF_TYPE). After a
supervisor restart, Program.delete_type() now succeeds; the struct editor's Del
removes the type and the list refreshes. Verified end-to-end; pilot 84/84.
</content>
</entry>
<entry>
<title>stop piling up idalib workers; raise max-workers headroom</title>
<updated>2026-07-09T13:55:38Z</updated>
<author>
<name>blasty</name>
<email>blasty@local</email>
</author>
<published>2026-07-09T13:55:38Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=4a83deb7bc2dcfed4696cd1bf2542a947ad7c4fb'/>
<id>urn:sha1:4a83deb7bc2dcfed4696cd1bf2542a947ad7c4fb</id>
<content type='text'>
Root cause of 'Maximum idalib worker count reached': the app bumped idle_ttl to
~never on every open, so sessions never freed and hit the default cap of 4.

- app: drop the immortal bump_idle_ttl(1e9); rely on the KeepAlive heartbeat
  (120s) to keep the running session warm, and open with a moderate idle_ttl
  (1800s) so the worker self-exits and frees its slot after the TUI closes.
- spawn.sh: set IDA_MCP_MAX_WORKERS (default 8) for headroom.
- doc: supervisor prunes unreachable workers before counting, so killing an idle
  worker frees a slot on the next open.

(Verified separately: big/truncated decompile results propagate renames fine via
the earlier force_recompile fix.)
</content>
</entry>
<entry>
<title>persistent MCP client: warm handshake, keep-alive pool, error taxonomy, thread-safe</title>
<updated>2026-07-09T09:14:23Z</updated>
<author>
<name>blasty</name>
<email>blasty@local</email>
</author>
<published>2026-07-09T09:14:23Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=eec630887ce72a7dafae4c33f5e85ad7c746b038'/>
<id>urn:sha1:eec630887ce72a7dafae4c33f5e85ad7c746b038</id>
<content type='text'>
- 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 -&gt; re-handshake -&gt; retry), bounded transport retries
- auto db-injection + resolve_db (ignores stale empty-id sessions)
- live smoke test: 13/13 pass
</content>
</entry>
</feed>
