Skip to content

Conversation

@anotherjesse
Copy link
Contributor

@anotherjesse anotherjesse commented Jul 3, 2025

Summary

  • show charm view as a tree in the CLI
  • support raw JSON output via --json

Testing

  • deno task check (fails: Deno version mismatch)
  • deno task test (fails: failed to load sqlite plug due to missing permissions)

https://chatgpt.com/codex/tasks/task_e_6865d5551a80832ca1406c8e4c717d78


Summary by cubic

Added a new CLI command to show a charm's view as a tree, with an option to output raw JSON using --json. This makes it easier to inspect and debug charm views directly from the command line.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cubic found 2 issues across 2 files. Review them in cubic.dev

React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai to give specific feedback.

@anotherjesse anotherjesse changed the title Implement charm view tree output cli charm view tree UI output Jul 3, 2025
@anotherjesse anotherjesse requested a review from jsantell July 3, 2025 15:41
@commontoolsinc commontoolsinc deleted a comment from cubic-dev-ai bot Jul 3, 2025
@commontoolsinc commontoolsinc deleted a comment from cubic-dev-ai bot Jul 3, 2025
@ellyxir
Copy link
Contributor

ellyxir commented Jul 3, 2025

can we link to tickets in linear?

Copy link
Collaborator

@jsantell jsantell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@seefeldb seefeldb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not blocking, but inspectCharm() and then also render could be improved by using the charm's argument and result schema, and then also call render with a cell on the UI schema.

It would also be a first step to getting all the streams out -- or if you want to be fancy render the UI as it updates

@anotherjesse
Copy link
Contributor Author

https://github.com/embarklabs/neo-blessed ... for fancy TUIs

@anotherjesse anotherjesse merged commit e536524 into main Jul 3, 2025
8 checks passed
@anotherjesse anotherjesse deleted the codex/add-cli-export-for-vdom-as-json branch July 3, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants