Skip to content

feat: add d2_oracle_serialize tool to serialize D2 graph into D2 text format - #2

Merged
i2y merged 1 commit into
mainfrom
feat/d2-oracle-serialize
Jun 28, 2025
Merged

feat: add d2_oracle_serialize tool to serialize D2 graph into D2 text format#2
i2y merged 1 commit into
mainfrom
feat/d2-oracle-serialize

Conversation

@i2y

@i2y i2y commented Jun 28, 2025

Copy link
Copy Markdown
Owner

What

This PR adds d2_oracle_serialize tool that returns the current D2 text representation of a diagram being edited with D2 Oracle API.

Why

AI assistants need to show users the current state of their diagrams in D2 format during incremental editing, enabling verification and manual adjustments before final rendering.

@i2y
i2y marked this pull request as ready for review June 28, 2025 03:07
@i2y
i2y merged commit 6a867df into main Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant