Skip to content

yade-mcp-bridge v0.2.0

Choose a tag to compare

@github-actions github-actions released this 09 Apr 16:49
· 119 commits to master since this release

What's New

Non-Blocking Console Mode

start() no longer blocks the YADE Python console. The task pump now runs in a background daemon thread, allowing users to continue typing commands while the bridge is active.

  • Background thread pump replaces blocking while True loop
  • Stdout log handler removed in console mode to avoid prompt interference
  • Works in both auto and console modes

User Console Input Capture

Captures what users type in the YADE IPython console and persists to disk (JSONL format). MCP clients can query the history to understand user intent.

  • IPython pre_run_cell/post_run_cell hooks capture input, output, and errors
  • JSONL persistence — crash-safe, survives bridge/MCP restarts
  • Cursor-based delivery — bridge tracks what was already consumed
  • WebSocket handler (console_history) + push notification (console_entry)
  • Finds YADE's InteractiveShellEmbed via gc scan (YADE doesn't register the singleton)

Other

  • TeeBuffer now accepts terminal=None for suppressing terminal output
  • Fixed incorrect test assertions in test_tasks.py

Full Changelog

bridge-v0.1.3...bridge-v0.2.0