Repository navigation
winuse 0.2.4
winuse 0.2.4 answers the feedback from driving Java Swing apps: get_table reads Swing tables, a Java window the bridge cannot read comes with a diagnosis that says where the connection stopped, the internal node limit of the Java tree is reported, and passwords can be typed without landing in the log.
Changes
get_tableon Swing tables. AJTableis read through the bridge's table interface: the header row first, then every cell (boolean cells astrue/false).max_rowscaps the data rows;row_countandomitted_rowsare reported for UIA grids as well, so an empty list isrow_count: 0. AJTableis oneTablenode in the interactive tree (its cells no longer eat the node budget); scopeget_ui_treeto the table ref to list the cells.- Bridge diagnostics. When a Java window cannot be read,
get_ui_treereturnsjava_access_bridge_diagnosticsnext to thejava_access_bridgereason:stage(client_unavailable,no_hello,handshake_failed,timeout,send_failed,no_answer,not_owned),jvm_pid,jvm_connected,bridge_module,wire_format,bitness,client_window,timeout_msandconnected_jvmswith the last failed request of each. The reason names the JVM pid and the failed step instead of a generic "not responding";winuse doctorprints the same reason. No window titles or element data are included. - Node limit flag.
get_ui_treereportsnode_limit_reached: trueandnode_limit: 5000when the Java tree walk stopped at its internal bridge round-trip limit (previously only a log warning). - Secrets.
get_ui_treetakesinclude_values: false(no element value is read, so field contents stay out of the result and the log).set_text,type_text,paste_textandclipboard_settakesecret: true: the text is used but the log, the journal and saved scenarios hold"***"; replaying such a step stops withsecret text was not recordeduntil the scenario names the value as${NAME}.
Scenarios recorded with 0.2.3 replay unchanged. The one behaviour change for existing clients: the cells of a Swing table are no longer listed in the default (interactive_only) tree.
Install
- Install the .NET 10 runtime (or SDK).
- Unzip
winuse-0.2.4-win-x64.zipinto a folder. - Register with Claude Code:
claude mcp add winuse -- <folder>\winuse.exe --mcp - Set
JEV_API_KEY, orCLOUDFLARE_ACCOUNT_IDandCLOUDFLARE_API_TOKEN, as user environment variables, then runwinuse doctor.
Upgrading from 0.2.3: unzip over the old folder and restart the AI client.
Known issues
The bridge reports no position for a Swing table cell, so a cell listed in a scoped tree carries the table's rectangle. Unchanged from 0.2.3: a JRE without the Java side of the bridge cannot be read; type_text with Japanese text can be garbled under the Japanese IME (intermittent).
Full changelog: CHANGELOG.md