@hcrosse/opencode-pr-tracker 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -6
- package/dist/server.js +1006 -33
- package/dist/server.js.map +9 -6
- package/dist/tui.js +2520 -890
- package/dist/tui.js.map +15 -8
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -27,26 +27,49 @@ opencode plugin @hcrosse/opencode-pr-tracker@0.1.0
|
|
|
27
27
|
|
|
28
28
|
Restart OpenCode after installation.
|
|
29
29
|
|
|
30
|
+
## Update
|
|
31
|
+
|
|
32
|
+
OpenCode caches installed npm plugins and does not update them automatically.
|
|
33
|
+
Install each new release by its exact version with `--force`:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
opencode plugin @hcrosse/opencode-pr-tracker@0.2.0 --global --force
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Replace `0.2.0` with the version you want. Omit `--global` for a plugin installed
|
|
40
|
+
in the current project.
|
|
41
|
+
|
|
42
|
+
The plugin checks for compatible stable releases at most once every 24 hours.
|
|
43
|
+
When an update is available, the sidebar shows its version. Click it or run
|
|
44
|
+
`/pr-tracker-plugin-update` to see the exact command for the current installation
|
|
45
|
+
scope. The plugin never installs updates automatically.
|
|
46
|
+
|
|
30
47
|
## Commands
|
|
31
48
|
|
|
32
|
-
- `/pr-attach` accepts a
|
|
49
|
+
- `/pr-attach` accepts a pull request URL, with or without `https://`, or a positive pull request number for the current GitHub repository.
|
|
33
50
|
- `/pr-open` lets you select and open an attached pull request on macOS or Linux.
|
|
34
51
|
- `/pr-detach` lets you select and remove an attached pull request.
|
|
35
|
-
-
|
|
52
|
+
- `/pr-sync` immediately refreshes attached pull request status.
|
|
53
|
+
- `/pr-tracker-feedback` collects bug reports, feature requests, or other feedback and previews optional diagnostics. It opens a prefilled browser issue by default, with confirmed `gh` submission as an alternative. Diagnostics never automatically include session content, local paths, repository names, or pull request URLs.
|
|
54
|
+
- `/pr-tracker-plugin-update` checks for a compatible plugin release and shows the update command.
|
|
55
|
+
- Agents can use the `pr_list`, `pr_attach`, and `pr_detach` tools when the server plugin is enabled.
|
|
36
56
|
|
|
37
57
|
The `pr_detach` tool also accepts a positive pull request number when exactly
|
|
38
|
-
one session attachment has that number. Use a
|
|
58
|
+
one session attachment has that number. Use a pull request URL when repositories
|
|
39
59
|
have attached pull requests with the same number.
|
|
40
60
|
|
|
41
|
-
The plugin accepts
|
|
42
|
-
`https://github.com/<owner>/<repository>/pull/<number
|
|
61
|
+
The plugin accepts pull request URLs in the forms
|
|
62
|
+
`https://github.com/<owner>/<repository>/pull/<number>` and
|
|
63
|
+
`github.com/<owner>/<repository>/pull/<number>`.
|
|
43
64
|
|
|
44
65
|
## Sidebar
|
|
45
66
|
|
|
46
67
|
Each attached pull request appears with its repository, number, title, and
|
|
47
68
|
current state. Open and closed pull requests refresh at least once per minute
|
|
48
69
|
and when session activity changes. Click a row to open the pull request on
|
|
49
|
-
macOS or Linux.
|
|
70
|
+
macOS or Linux. When more than two pull requests are attached, click the
|
|
71
|
+
**Pull requests** heading to collapse or expand its rows. Status refreshes
|
|
72
|
+
continue while the section is collapsed.
|
|
50
73
|
|
|
51
74
|
| State | Appearance |
|
|
52
75
|
| ------------------------ | --------------------- |
|