Giving the artefact access to the query string sounds ok. Easiest thing would be to use Ruby to inject it into the untrusted html document. Maybe as a meta tag or something.
相关话题
话题 | 回复 | 浏览量 | 活动 | |
---|---|---|---|---|
AI Artifact User storage | 16 | 395 | 2025 年6 月 23 日 | |
Discourse AI - Web Artifacts | 4 | 438 | 2025 年6 月 13 日 | |
A setting to allow storing persistent JSON data in artifacts | 4 | 94 | 2025 年5 月 30 日 | |
An admin API for AI web artifact creation and editing | 8 | 181 | 2025 年8 月 17 日 | |
Announcing: AI Web Artifacts | 43 | 919 | 2025 年6 月 27 日 |