## Что это
## Резюме (RU)
Фича: панель результатов агента в стиле Claude Artifacts (GitHub #271)
*Полный перевод тела — в работе. Английский оригинал ниже.*
---
# Original (EN)
### Objective
Deliver the Claude Artifacts-style right-side resizable result panel for ROX.ONE conversations, with versioned artifact entities, Preview/Code modes, and sandboxed rendering.
### Source Links
* GitHub issue: [https://github.com/agisota/rox.one/issues/271]()
* GitHub PR: None yet
* GitHub branch: Pending implementation branch
* GitHub Project item: GitHub Project #9 / rox board
* DeepWiki/repo context: [https://deepwiki.com/agisota/rox.one]()
* Local branch / cwd: /Users/marklindgreen/Projects/rox-one-terminal-pr264-fix
### Current State
GitHub #271 is open and present on GitHub Project #9 with status Todo. Linear PZD-10 is the existing synced feature for this work. Implementation is paused until this Linear-first intake is complete.
### Requirements
Functional: resizable right-side panel, artifact entity with id/conversationId/type/title/content/versions, Preview and Code modes, Copy/Download/Fullscreen/Close, update current artifact instead of duplicating. Security: render HTML/interactive UI in sandbox iframe with no token/cookie/main-app access. UX: fit current ROX.ONE design and avoid layout regressions. Performance: panel should not slow chat/session startup. Compatibility: keep existing conversations and current chat flows working.
### Specification
* Affected surfaces/components/modules: Electron chat workspace, conversation state/store, artifact panel UI, artifact preview renderer, artifact version controls, download/copy handlers.
* Data model/API/storage changes: add artifact record shape with id, conversationId, type, title, content, versions; define migration or backward-compatible default if persisted config/session storage changes.
* UI behavior and states: closed, open, resizing, Preview, Code, fullscreen, loading, empty, error, updated-version available.
* Error handling: malformed artifact content renders a contained error state; sandbox load failure does not crash the main chat.
* Edge cases: repeated agent edits update current artifact; large content remains scrollable; unsafe HTML cannot escape iframe.
* Telemetry/logging/observability: log contained preview failures without leaking artifact content or secrets.
* Backwards compatibility: exist...
## Статус
Это задача из текущего backlog'а ROX.ONE (Linear). Текущий статус в Linear: `На ревью — In Review`. Метки: `Фича` / `Feature`, `Улучшение` / `Improvement`.
## 🔗 Linear
- [PZD-10](https://linear.app/kuhjie/issue/PZD-10/ficha-panel-rezultatov-agenta-v-stile-claude-artifacts-github-271) — backing ticket
- Parent epic: [PZD-116](https://linear.app/kuhjie/issue/PZD-116)