Skip to content

feat: render query results as mermaid#81

Merged
longlho merged 2 commits into
mainfrom
codex/query-mermaid
May 29, 2026
Merged

feat: render query results as mermaid#81
longlho merged 2 commits into
mainfrom
codex/query-mermaid

Conversation

@longlho
Copy link
Copy Markdown
Contributor

@longlho longlho commented May 29, 2026

Summary

  • add --output=text|json|mermaid for query commands while keeping --json as a shortcut
  • add a core render_query_mermaid helper for query path/subgraph results
  • document Mermaid output for dependency path queries

Test Plan

  • rustup run 1.93.0 cargo fmt --check
  • rustup run 1.93.0 cargo test -p codescythe query_somepath_tracks_named_export_edges
  • bazel test //crates/codescythe:codescythe_test //crates/codescythe_cli:codescythe_cli_e2e_test

Base automatically changed from codex/query-core to main May 29, 2026 04:17
@longlho longlho force-pushed the codex/query-mermaid branch from dcd9a21 to 0946d0c Compare May 29, 2026 04:20
@longlho longlho merged commit b6667d9 into main May 29, 2026
1 check passed
@longlho longlho deleted the codex/query-mermaid branch May 29, 2026 10:56
longlho pushed a commit that referenced this pull request May 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.6.0](codescythe_cli_v0.5.0...codescythe_cli_v0.6.0)
(2026-05-29)


### Features

* add dependency path query command
([#80](#80))
([70d4482](70d4482))
* merge somepath query modes
([#85](#85))
([eeb0bb6](eeb0bb6))
* render query output as svg
([#83](#83))
([aeb7974](aeb7974))
* render query results as mermaid
([#81](#81))
([b6667d9](b6667d9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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