datasette-apps 0.2a0

Simon Willison's Weblog Simon Willison's Weblog

Release: https://github.com/datasette/datasette-apps/releases/tag/0.2a0">datasette-apps 0.2a0



Changes that improve Datasette Apps when created and edited using https://agent.datasette.io/">Datasette Agent:




The app_debug() tool is pretty neat: it works by displaying the app in a opacity: 0 iframe with pointer-events: none (so it can't be seen or interacted with) and then executing agent-provided JavaScript inside that sandboxed iframe.

This means the agent can smoke test that the app is working and even do things like measure the dimensions of different elements.


This uses the new context.browser_task() mechanism added in https://simonwillison.net/2026/Jul/31/datasette-agent/">datasette-agent 0.4a0.




Tags: https://simonwillison.net/tags/iframes">iframes, https://simonwillison.net/tags/datasette">datasette, https://simonwillison.net/tags/datasette-apps">datasette-apps

Read full article at Simon Willison's Weblog →