[PR #6326] feat(windows): admit live SQLite, process, and window tools #7286

Open
opened 2026-11-01 21:46:46 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/6326
Author: @theconsigti03-spe
Created: 10/22/2026
Status: 🔄 Open

Base: main ← Head: feat/windows-live-tools


📝 Commits (2)

  • 2838fd6 feat(windows): admit live SQLite, process, and window tools
  • c05adab fix(windows): give the UI helper the same deadline signal as macOS

📊 Changes

17 files changed (+1085 additions, -91 deletions)

View changed files

➕ bridge/windows/ReaWindowsJob.cs (+200 -0)
➕ bridge/windows/ReaWindowsUi.cs (+311 -0)
📝 docs/process-capture.md (+6 -11)
📝 src/application/CapabilityInventory.ts (+15 -0)
📝 src/native/NativeMacOSProviderMetadata.ts (+10 -2)
📝 src/native/NativeUiHelperRuntime.ts (+3 -0)
📝 src/native/NativeUiObservation.test.ts (+12 -7)
📝 src/native/NativeUiObservation.ts (+20 -5)
➕ src/native/WindowsNativeUi.ts (+90 -0)
📝 src/process/capture/ProcessCaptureCapability.ts (+24 -5)
📝 src/process/capture/ProcessCaptureLifecycle.ts (+78 -7)
📝 src/process/capture/ProcessHarness.test.ts (+56 -24)
📝 src/process/capture/ProcessHarness.ts (+24 -14)
➕ src/process/capture/WindowsPtyJob.ts (+225 -0)
📝 src/server/sessionAvailabilityPolicy.ts (+1 -2)
📝 tests/boundary/mcp/serverIdentity.test.ts (+2 -3)
📝 tests/boundary/process/processCaptureCapability.test.ts (+8 -11)

📄 Description

Summary

  • inspect_sqlite_database follows the Node 24.15 DatabaseSync.limits property. The system Node stays 22. The MCP process uses Node 24.15 or newer.
  • capture_process_scenario on Windows adopts the PTY root into a Job Object compiled with csc.exe, so descendants die with the job. Terminal frames are subscribed in the same turn as spawn.
  • observe_native_ui and capture_native_ui_scenario accept a PE target and read the window through UI Automation and PrintWindow. Mach-O, LLDB, and Swift stay macOS-only.
  • Rebased onto rea-agents 6.7.0. The Windows helper now carries the same deadline signal the interruption control requires.

Test plan

  • src/process/capture/ProcessHarness.test.ts including the Windows descendant job and the rea-ok terminal text
  • src/native/NativeUiObservation.test.ts (30 tests) after the deadline signal fix
  • Live on pc-luiz: three falas rows, cmd.exe /c echo rea-ok with verified cleanup, Notepad nodes and PNG
  • Upstream maintainer review. This branch is pushed to Fuzzytech-Solutions/rea because this account cannot push to morluto/rea.

Made with Cursor


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/6326 **Author:** [@theconsigti03-spe](https://github.com/theconsigti03-spe) **Created:** 10/22/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/windows-live-tools` --- ### 📝 Commits (2) - [`2838fd6`](https://github.com/morluto/rea/commit/2838fd6e85b64ef64d2d6877b3afa84dc26c149b) feat(windows): admit live SQLite, process, and window tools - [`c05adab`](https://github.com/morluto/rea/commit/c05adabaa84cd45b0c84f113b3e1c52630ea9af6) fix(windows): give the UI helper the same deadline signal as macOS ### 📊 Changes **17 files changed** (+1085 additions, -91 deletions) <details> <summary>View changed files</summary> ➕ `bridge/windows/ReaWindowsJob.cs` (+200 -0) ➕ `bridge/windows/ReaWindowsUi.cs` (+311 -0) 📝 `docs/process-capture.md` (+6 -11) 📝 `src/application/CapabilityInventory.ts` (+15 -0) 📝 `src/native/NativeMacOSProviderMetadata.ts` (+10 -2) 📝 `src/native/NativeUiHelperRuntime.ts` (+3 -0) 📝 `src/native/NativeUiObservation.test.ts` (+12 -7) 📝 `src/native/NativeUiObservation.ts` (+20 -5) ➕ `src/native/WindowsNativeUi.ts` (+90 -0) 📝 `src/process/capture/ProcessCaptureCapability.ts` (+24 -5) 📝 `src/process/capture/ProcessCaptureLifecycle.ts` (+78 -7) 📝 `src/process/capture/ProcessHarness.test.ts` (+56 -24) 📝 `src/process/capture/ProcessHarness.ts` (+24 -14) ➕ `src/process/capture/WindowsPtyJob.ts` (+225 -0) 📝 `src/server/sessionAvailabilityPolicy.ts` (+1 -2) 📝 `tests/boundary/mcp/serverIdentity.test.ts` (+2 -3) 📝 `tests/boundary/process/processCaptureCapability.test.ts` (+8 -11) </details> ### 📄 Description ## Summary - `inspect_sqlite_database` follows the Node 24.15 `DatabaseSync.limits` property. The system Node stays 22. The MCP process uses Node 24.15 or newer. - `capture_process_scenario` on Windows adopts the PTY root into a Job Object compiled with `csc.exe`, so descendants die with the job. Terminal frames are subscribed in the same turn as spawn. - `observe_native_ui` and `capture_native_ui_scenario` accept a PE target and read the window through UI Automation and `PrintWindow`. Mach-O, LLDB, and Swift stay macOS-only. - Rebased onto `rea-agents` 6.7.0. The Windows helper now carries the same deadline signal the interruption control requires. ## Test plan - [x] `src/process/capture/ProcessHarness.test.ts` including the Windows descendant job and the `rea-ok` terminal text - [x] `src/native/NativeUiObservation.test.ts` (30 tests) after the deadline signal fix - [x] Live on pc-luiz: three `falas` rows, `cmd.exe /c echo rea-ok` with verified cleanup, Notepad nodes and PNG - [ ] Upstream maintainer review. This branch is pushed to `Fuzzytech-Solutions/rea` because this account cannot push to `morluto/rea`. Made with [Cursor](https://cursor.com) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#7286
No description provided.