Visuals: live edits (agent updates a visual in place, you edit with a live preview, office previews refresh)

オープン
#829 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
electron, typescript

調査の方向性

Start with the referenced Canvas editing APIs, artifacts.canvas.*, and the spec at docs/spec/clauses/21-visuals-and-artifacts.md; then inspect the workflow tests for the three parts. The issue defines completion through live visual editing with version history, in-place render_html updates, and bounded office preview refreshes. It requests one PR per part, so choose a part and confirm its scope against the spec before estimating implementation.

索引モデルが issue の本文から書いたものです。

説明

p1 type:feature

Follows #361 and #771. Today an agent's visual can't be changed in place: each render_html adds a new card, Mermaid's Show code is read-only, chart and report blocks have no editing, and an office preview is a one-time picture.

1. You edit any visual with a live preview (first)

  • Mermaid, chart, html-report blocks and render_html pages have an Edit action.
  • Edit opens the source beside a preview that redraws as you type (debounced); invalid source shows its error and keeps the last good drawing.
  • Save keeps the edit as a new version of that visual in the chat; Cancel discards it. The original stays reachable.
  • The agent sees the edited source on its next turn.
  • Builds on Canvas editing (artifacts.canvas.*); no second editor.

2. The agent updates a visual in place

  • render_html takes an optional id of a page it replaces; that card updates instead of a new one appearing.
  • The card keeps earlier versions behind a switch ("v2 of 3"); your own edits from part 1 count as versions.
  • Updating a page from another chat is refused.

3. Office previews refresh by themselves

  • An office file shown in the chat (office_render, file previews) redraws when the file changes on disk, whether edited in Excel, Numbers, Word or by the agent.
  • Bounded: watching stops when the preview is off screen or closed; renders are debounced.
  • No in-chat cell editor (out of scope).

Spec-driven: cases under docs/spec/clauses/21-visuals-and-artifacts.md, workflow tests red before green, one PR per part.

主要言語
TypeScript
スター
3
フォーク
0
平均マージ
17時間 33分
マージ済み PR(30日)
163

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

musterhq/muster-code のほかの issue

musterhq/muster-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。