@omercnet/paseo-pr-radar 0.3.4-next.72.1
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/LICENSE +21 -0
- package/README.md +64 -0
- package/client/pr-radar.tsx +860 -0
- package/client/radar.ts +601 -0
- package/docs/images/pr-radar-compact.png +0 -0
- package/docs/images/pr-radar-github-inbox-compact.png +0 -0
- package/docs/images/pr-radar-github-inbox-wide.png +0 -0
- package/docs/images/pr-radar-wide.png +0 -0
- package/index.client.tsx +23 -0
- package/index.server.ts +9 -0
- package/package.json +66 -0
- package/paseo-plugin.json +4 -0
- package/server/viewer-scope.ts +402 -0
- package/shared/viewer-scope.ts +53 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Omer Cohen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# PR Radar
|
|
2
|
+
|
|
3
|
+
A Paseo plugin that turns pull requests linked to active workspaces into a viewer-aware delivery queue.
|
|
4
|
+
|
|
5
|
+
PR Radar combines Paseo workspace and agent state with pull request checks, review status, mergeability, and the current GitHub user's relationship to each pull request. It answers which deliverables need you, which are already being handled, and which are waiting elsewhere.
|
|
6
|
+
|
|
7
|
+
## Screenshots
|
|
8
|
+
|
|
9
|
+
Repository, pull request, workspace, and agent names in these screenshots are synthetic. The live
|
|
10
|
+
browser DOM was rewritten before capture so no private identifiers are published.
|
|
11
|
+
|
|
12
|
+
### Wide dashboard
|
|
13
|
+
|
|
14
|
+

|
|
15
|
+
|
|
16
|
+
### Compact dashboard
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
## What it shows
|
|
21
|
+
|
|
22
|
+
- Needs you: authored blockers and review requests whose checks have completed.
|
|
23
|
+
- Being handled: actionable work with an active Paseo agent.
|
|
24
|
+
- Waiting externally: running checks, pending reviews, repository requirements, and external-author work.
|
|
25
|
+
- Ready: authored pull requests that are mergeable with settled checks and reviews.
|
|
26
|
+
- Viewer labels: `YOURS`, `REVIEW`, and `EXTERNAL`.
|
|
27
|
+
- Contextual actions: ask an existing agent or start one in the linked workspace.
|
|
28
|
+
|
|
29
|
+
Paseo supplies normalized workspace pull request status. A daemon-side plugin handler uses the authenticated `gh` CLI to distinguish authored pull requests from review requests. If viewer lookup fails, PR Radar falls back conservatively and does not claim that a row needs the user.
|
|
30
|
+
|
|
31
|
+
## Install
|
|
32
|
+
|
|
33
|
+
Install the published package on the daemon host:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
paseo plugin install npm:@omercnet/paseo-pr-radar
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Or install from the plugin's monorepo directory:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
paseo plugin add omercnet/paseo-plugins:pr-radar
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
The daemon must have plugins enabled and `gh` authenticated for GitHub viewer-aware triage.
|
|
46
|
+
|
|
47
|
+
## Develop
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npm ci
|
|
51
|
+
npm run check
|
|
52
|
+
npm test
|
|
53
|
+
npm run test:coverage
|
|
54
|
+
npm run typecheck
|
|
55
|
+
npx paseo plugin install "$PWD"
|
|
56
|
+
npx paseo plugin reload pr-radar
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Release Please maintains the version, changelog, component tag, and GitHub release from
|
|
60
|
+
Conventional Commits in the monorepo.
|
|
61
|
+
|
|
62
|
+
The project targets Paseo `0.8.x`, including compatible `0.8` prereleases. Host-owned navigation opens linked agents and
|
|
63
|
+
workspaces without private routes or page reloads on web, desktop, iOS, and Android. React `19.1`
|
|
64
|
+
and React Native `0.81` match the versions supplied by the plugin host.
|