Skip to content

v0.2.0

Choose a tag to compare

@himattm himattm released this 27 Jan 20:11
· 68 commits to main since this release
756095d

Changelog (0.1.4 → 0.2.0)

Fixed

  • Orphaned task cleanup with PID reuse detection - Tasks from cancelled sub-agents no longer block subsequent tasks (#7)

    • Added is_task_queue_process() to detect if a PID is actually running task_queue vs being reused by an unrelated process
    • Added SERVER_INSTANCE_ID and _active_task_ids tracking in MCP server to detect orphaned tasks from disconnected clients
    • Added CLI_INSTANCE_ID tracking in tq.py for same protection
    • Handle asyncio.CancelledError to properly clean up when sub-agents are cancelled
  • Ctrl+C leaving orphaned waiting tasks - Split registration from wait to ensure cleanup

Changed

  • Refactored shared infrastructure - Extracted queue_core.py with shared database, logging, and cleanup logic
  • Memory efficiency - Stream output directly to file with bounded deque
  • Wait time calculation - Use POLL_INTERVAL_WAITING instead of hardcoded value

Added

  • server_id column to queue table with migration for existing databases
  • Signal handling integration tests for tq CLI

Security

  • Pin pypa/gh-action-pypi-publish to commit SHA
  • Add nosec B602 comments explaining intentional shell=True usage for CLI tool