Repository navigation
Releases: brianmsm/btwExtra
Releases · brianmsm/btwExtra
Release list
btwExtra 0.3.0
Highlights
- HTML table content + screenshot tools covering gt, gtsummary, DT, reactable, flextable, rhandsontable, tinytable, htmlTable, knitr::kable, table1, sjPlot, custom HTML, and ARIA role=table structures.
- Robust extraction pipeline with S3 dispatch, HTML/role fallbacks, JSON decoding for widgets, and raw HTML handling (spanners, multi-level headers).
- Screenshot tool resilience: selector defaults, fallback to full-page capture, and path/base64 payloads for MCP clients.
- Tool descriptions clarified; R CMD check clean with exported methods documented.
Testing
- testthat::test_local('tests/testthat')
- devtools::check(document = FALSE, error_on = 'warning')
v0.2.0
What's new
- Added plot capture support to
btwExtra_tool_env_run_r_code(PNG base64 + temp file path in results). - Added media payload and path hint; safer display guidance via
magick::image_read(<path>)when users request to see plots. - Documented markdown-style descriptions for better client rendering.
v0.1.0
Initial release of btwExtra.
- Added run-R-code escape-hatch tool (btwExtra_tool_env_run_r_code) with once-per-session truncation guidance.
- MCP helpers (btwExtra_default_tools, btwExtra_mcp_server) to combine btw::btw_tools() with btwExtra::btwExtra_tools().
- README documents configuring MCP and the need to call mcptools::mcp_session() in the target R session.
- Added testthat suite and cleaned package metadata for 0.1.0.