Skip to content

Fix: merge main into trace PR - #59

Merged
Patel230 merged 15 commits into
mainfrom
fix/trace-merge
Jul 26, 2026
Merged

Fix: merge main into trace PR#59
Patel230 merged 15 commits into
mainfrom
fix/trace-merge

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Fix merge conflicts with main

Patel230 and others added 15 commits July 23, 2026 20:14
The examples README referenced non-existent commands (trace start, trace stop,
trace list, trace show, etc.). Rewrite with the actual CLI surface: trace
enable, trace status, trace session list/info/resume/export/replay, trace
checkpoint list/rewind, trace fork, trace investigate.
The version check in PersistentPostRun was synchronous with a 2s timeout,
adding up to 2 seconds of latency to every command invocation. Run it in
a goroutine so it never blocks command completion.
Adds a --json flag to 'trace session list' that outputs the filtered
session list as indented JSON instead of styled cards. Mirrors the
existing --json support on 'trace session info'.
…p/ pkg

- Add --json flag to `trace recap` emitting MeRecapResponse as indented
  JSON (encoder writes to cmd.OutOrStdout(), consistent with sessions list).
- Add --json flag to `trace plugin list` emitting []InstalledPlugin.
- Add --json flag to `trace agent list` emitting [{name, installed}] entries.
- Add JSON tags to InstalledPlugin (Name, Path, Symlink, LinkTarget).
- Delete the dead mcp/ package — a basic JSON-RPC MCP server that was
  never imported or referenced anywhere in the codebase.
- Add tests: JSON output paths for recap (mock HTTP server + git repo),
  plugin list, and agent list. Update existing agent list tests for the
  new jsonOut parameter. Update flag-registration test to include --json.

All cli, cli/recap, and cli/api tests pass.

Co-Authored-By: Grok <noreply@xai.com>
- Add cli/graph_cmd.go with graph command
- Add cli/graph_cmd_test.go with test coverage
- Update cli/root.go, root_test.go, go.mod
- Update README
- Add JournalGraph for tracking execution flow
- Record transitions, durations, and status
- Support JSON serialization and portable GraphSpec conversion
@Patel230
Patel230 merged commit 9f9b4d7 into main Jul 26, 2026
13 checks passed
@Patel230
Patel230 deleted the fix/trace-merge branch July 26, 2026 09:07
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