返回全部动态
datasette-apps 0.2a0 发布,增强代理调试功能
原标题:datasette-apps 0.2a0
AI 摘要
Simon Willison 发布了 datasette-apps 0.2a0 版本,该版本改进了通过 Datasette Agent 创建和编辑应用时的体验。新增的 app_debug() 工具利用隐藏 iframe 和沙箱 JavaScript 执行,使代理能够对应用进行冒烟测试,例如测量元素尺寸。该功能基于 datasette-agent 0.4a0 中新增的 context.browser_task() 机制。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
1st August 2026 Changes that improve Datasette Apps when created and edited using 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
发布时间:2026-08-02 05:23
抓取时间:2026-08-02 17:40
来源机构:Simon Willison