Skip to content

YouxPC 0.2.0

Latest

Choose a tag to compare

@Ar5en1c Ar5en1c released this 01 Dec 22:23

pc_do is safer to batch with, and the server no longer leaks memory over long sessions.

pc_do

  • Every step is checked before the first one runs. A step that names two actions, carries a field that doesn't belong, scrolls a direction that doesn't exist or presses a key that doesn't exist is refused with its position, and nothing runs. This is stricter than before: a step like {"click":"a","type":"b"} used to run only one of the two without saying so.
  • dry_run:true returns the plan and any ids missing from the latest snapshot, and does nothing.
  • on_error:"continue" keeps going after a failed step. The default is still "stop".
  • timeout_seconds (1 to 120, default 60) limits the whole call. It's checked before each step, so a step that has started is finished.

pc_snapshot

  • New options compact, roles and contains for a smaller answer. Ids stay the same as in the full view.

Memory

  • Each MCP message now runs in its own autorelease pool. Before this, two long sessions grew to 27 GB each. Over 600 calls per read only tool, the footprint now stays at 5 to 7.5 MB. scripts/mcp_memory_stress.py is the driver I used to measure it.

57 tests pass. YouxPC is a fork of Ghost OS by Ghostwright (MIT).