[Feature] Agent-oriented VChart spec authoring workflow
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Inizia esaminando il workflow esistente di vchart-development-assistant e i formati di output di vchart-mcp-server, quindi chiarisci se questo debba appartenere a un nuovo skill o a un'estensione. Definisci il workflow rivolto all'agente intorno a target, context, result e test; è completato quando può produrre una VChart spec riutilizzabile con mapping dei dati e configurazione verificati, facoltativamente verificata da un renderer reale.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What problem does this feature solve?
VChart already provides vchart-development-assistant, which is useful for developers building, modifying, or debugging VChart applications.
I think there is a related but different workflow that may be worth supporting explicitly: an autonomous/data agent producing a VChart visualization as part of its own work.
In this case, the agent is not necessarily helping a developer write a VChart application. It may have already analyzed some data and simply needs to decide how to visualize the result, author a valid VChart spec, and pass that spec to a renderer.
For example:
User
↓
"Show these data with an appropriate VChart visualization."
↓
Agent
- understands the visualization goal
- inspects the data and runtime constraints
- chooses an appropriate chart
- authors a VChart spec
- validates the result
↓
VChart spec
↓
host / renderer
The VChart spec itself is the useful artifact here. It may be rendered in a browser, embedded into another application, consumed by another tool, or converted to image/HTML later.
I ran a small prototype of this workflow with Feishu Card as the host renderer.
After the host/output constraints had been provided in the earlier conversation context, the later user request was simply natural language plus data:
下面的数据
周一 12
周二 25
周三 18
周四 32
用合适的 vchart 图表展示
The agent chose a bar chart, generated the VChart payload, and the host rendered it directly as a native chart.
In this prototype, Feishu is only the renderer and the transport layer passes the generated payload through unchanged. The VChart authoring itself is done by the agent.
What feels missing is a reusable way to provide that working knowledge. Currently, the prototype relies on conversation history to teach the agent the relevant VChart and renderer constraints. A VChart skill could make this knowledge explicit and reusable, instead of requiring low-level instructions to be repeated in each conversation.
The existing vchart-development-assistant is primarily developer-oriented and currently treats runnable application output such as HTML as the final result. For autonomous/data-agent workflows, I think it may also be useful to treat a reusable VChart spec as a first-class result.
This also seems consistent with vchart-mcp-server, where spec, image, and html are already separate output forms.
What does the proposed API look like?
This may not require a new VChart runtime API.
I think the useful addition is an agent-facing authoring workflow, either as a new skill or as an additional workflow in the existing vchart-development-assistant.
A possible working model is:
Target
- What should the visualization communicate?
Context
- What data is available?
- What VChart/runtime/renderer constraints apply?
Result
- Produce an appropriate, reusable VChart spec.
Test
- Check data/field mappings and required configuration.
- When possible, verify the spec with a real VChart renderer.
The intention is not to turn visualization into a rigid step-by-step pipeline. The agent should still be able to make decisions based on the actual data and task; the skill would provide the domain knowledge, constraints, references, and validation methods needed to do that reliably.
I am not strongly attached to whether this should be a separate skill or an extension of vchart-development-assistant. I would prefer to align on that boundary before implementing it.
If this use case fits the direction of VChart's skill ecosystem, I would be happy to work on the implementation.
- Lingua principale
- TypeScript
- Stelle
- 1.9k
- Fork
- 221
- Merge medio
- 2g 1h
- PR unite (30g)
- 17
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di VisActor/VChart
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
VisActor/VChart#4639 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] 布局会在图里筛选掉全部数据项后出现错乱Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
VisActor/VChart#4634 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] bar、line等图表随图例切换而残留Forse di nuovo libera @skie1997 l’ha presa 96 giorni fa e non c’è nessuna pull request aperta. Apertabug
VisActor/VChart#4622 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature] 支持线性 x 轴场景下的自动柱宽策略Apertaenhancement vchart
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
VisActor/VChart#4615 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] 瀑布图 负值柱子方向异常Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
VisActor/VChart#4612 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di VisActor/VChart
Issue simili
-
[Android] Nested transforms are composed in reverse orderForse già presa @Danyalo l’ha presa oggi. ApertaRepro provided
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
software-mansion/react-native-svg#3090 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
radix-ui/primitives#4228 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
rocketride-org/rocketride-server#2705 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
archon-ready archon-size-s archon-type-bug area: web
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
coleam00/Archon#4707 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
HarperFast/grafana-datasource#177 ·