Files
oh-my-pi/packages
Rens Tillmann 07b2bd03d8 feat(browser): implement screenshot path saving
- Add `browser.screenshotDir` setting (tools tab) for a persistent
  default screenshot directory, configurable via /settings
- Honour the existing `path` parameter in the screenshot action,
  which was declared in the schema but never consumed by the implementation
- Resolution order: params.path (abs) > join(screenshotDir, params.path)
  > join(screenshotDir, screenshot-<timestamp>.png) > /tmp only
- Writes full-resolution buffer to disk (not the API-compressed copy)
- Creates destination directory recursively if it doesn't exist
- details.screenshotPath reflects the actual saved location

Fixes: path param silently ignored since removal in v11.5.0
2026-03-20 20:11:25 +01:00
..
2026-03-18 23:21:20 +01:00
2026-03-18 23:21:20 +01:00
2026-03-18 23:21:20 +01:00
2026-03-18 23:21:20 +01:00
2026-03-18 23:21:20 +01:00
2026-03-18 23:21:20 +01:00