A small but targeted improvement landed in Datasette Agent this week. Datasette Agent, a plugin for the Datasette data publishing tool, lets you run chat sessions that can open an iframe side panel. That panel can then navigate across different pages—useful for interactive workflows or surfacing contextual information alongside a chat.
With version 0.7a1, the side panel’s navigation gains support for fragment hashes. This means when a plugin updates the URL fragment (the part after #), the side panel can respond and navigate accordingly. If you’re using other Datasette plugins that update fragment hashes to reflect user-driven state changes, this update means the side panel will now stay in sync.
What changed in 0.7a1
The core change is straightforward: navigation inside the iframe side panel now tracks fragment hashes. Previously, if a plugin changed the fragment hash—for example, to select a different chart or filter—the side panel wouldn’t necessarily follow. Now, the panel can react to those changes, making for a smoother, more integrated experience.
This update was motivated by bugs encountered while working on the datasette-charts 0.2a0 release, which presumably relies on fragment hash updates to manage state. Fixing the navigation in datasette-agent means less friction when using charts and similar interactive plugins.
Where this is useful
If you’ve built or deployed Datasette plugins that use fragment hashes for state (such as filtering, tabbing, or drilldowns), this change means your chat-augmented workflows will behave more predictably. The side panel will reflect the current state of the plugin, and users won’t get out-of-sync displays when interacting with advanced features.
You don’t need to change your existing plugins—this is an internal improvement to datasette-agent’s handling of navigation. Just upgrade to 0.7a1 and the side panel will behave better with plugins that touch the fragment.
What to upgrade to
To get the improved navigation, install or upgrade to datasette-agent 0.7a1. There are no breaking changes noted in the source, and the update is specifically about smoother integration with plugins that update fragment hashes.




