Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/context-tree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,12 @@ what changed in each release.
Issues and pull requests are welcome. Please run the typecheck and the unit tests before
opening one.

## The other plugin in this repo

[`opencode-git-stats`](../git-stats/README.md) puts the working tree's diff figures and a
GitHub-coloured chip per pull request your session touched in the same sidebar. The two
are independent — install either, or both.

## License

[MIT](./LICENSE) © Naveen (navbytes)
16 changes: 9 additions & 7 deletions packages/git-stats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@ pull request your [OpenCode](https://opencode.ai) session touched.**

</div>

```
Git Stats
⎇ fix-release-prerelease-bump
+123 -45 · 7 files
#20 Merged × #21 Draft ×
```

![The Git Stats card in the OpenCode sidebar](docs/screenshots/sidebar-card.png)

- **Working-tree figures** — total additions, deletions and changed files for the
whole folder, not just the files this session edited. They come from OpenCode's
Expand All @@ -30,6 +24,8 @@ Git Stats
- **Close a chip** — click the `×` beside it, or run `/prs` to hide one, hide them
all, or bring the hidden ones back. Dismissals are per session and survive a
restart.

![The /prs picker, listing each chip with its pull request title](docs/screenshots/prs-dialog.png)
- **Open the PR** — click the chip's label and the pull request opens in your
browser. (The label is also an OSC 8 hyperlink, but OpenCode keeps mouse tracking
on, so the terminal hands the click to the plugin rather than following the link
Expand Down Expand Up @@ -130,6 +126,12 @@ To try a local build, point `tui.json` at the built file:
{ "plugin": ["/absolute/path/to/packages/git-stats/dist/tui.js"] }
```

## The other plugin in this repo

[`opencode-context-tree`](../context-tree/README.md) turns the session itself into a tree
you can branch, merge, crop and undo, with a trajectory view. The two are independent —
install either, or both.

## License

MIT
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading