pi-mono/apps/p2/plugins/artifacts
Mario Zechner 04f672a18d feat(p2): render artifacts inline at the tool call site
The artifact tool takes inline: true to also show the produced version below
its transcript card: Markdown/text rendered, HTML/SVG in the sandboxed preview
frame. Drawings fill the frame's width (an SVG with a viewBox or an absolute
size scales to it; an HTML page that is only an SVG or image too) and the frame
takes the content height the preview reports, capped at 70vh. Every viewer sees
it, guests included (owner decision). The TUI renders inline Markdown and text.
SVG previews now carry the diagnostics bridge in CDATA (its && broke the XML).
2026-11-04 21:13:26 +01:00
..
contract.ts feat: add apps/p2 (imported from pi-private at 7dadff697) 2026-11-03 13:39:06 +00:00
package.json feat: add apps/p2 (imported from pi-private at 7dadff697) 2026-11-03 13:39:06 +00:00
preview.tsx feat(p2): render artifacts inline at the tool call site 2026-11-04 21:13:26 +01:00
server.ts feat: add apps/p2 (imported from pi-private at 7dadff697) 2026-11-03 13:39:06 +00:00
store.ts feat(p2): render artifacts inline at the tool call site 2026-11-04 21:13:26 +01:00
tool.ts feat(p2): render artifacts inline at the tool call site 2026-11-04 21:13:26 +01:00
tui.ts feat(p2): render artifacts inline at the tool call site 2026-11-04 21:13:26 +01:00
web.tsx feat(p2): render artifacts inline at the tool call site 2026-11-04 21:13:26 +01:00
worker.ts feat(p2): /tree, branches of the main conversation as Durable forks 2026-11-04 13:40:36 +01:00