paseo-follow-up 2.3.0-beta.4 → 2.4.0-beta.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/CHANGELOG.md +55 -0
- package/README.md +47 -204
- package/client/brief.tsx +9 -7
- package/client/catch-up.tsx +2 -1
- package/client/dismiss.tsx +125 -63
- package/client/header.tsx +10 -6
- package/client/needs-you.tsx +1 -1
- package/client/questions.tsx +1 -1
- package/client/stacks.tsx +24 -2
- package/docs/screenshots/follow-up-send-to-paseo-dark.png +0 -0
- package/docs/screenshots/follow-up-send-to-paseo-light.png +0 -0
- package/index.client.tsx +1 -1
- package/index.server.ts +10 -3
- package/package.json +2 -2
- package/server/agent-actions.ts +4 -3
- package/server/browser-bridge.ts +20 -2
- package/server/pr-actions.ts +17 -11
- package/server/pr-owner.ts +30 -13
- package/server/ranker.ts +3 -2
- package/shared/activity.ts +2 -2
- package/shared/attention.ts +82 -10
- package/shared/brief.ts +25 -2
- package/shared/catch-up.ts +1 -1
- package/shared/contracts.ts +3 -2
- package/shared/errors.ts +35 -1
- package/shared/home.ts +38 -12
- package/shared/pr-actions.ts +61 -3
- package/shared/questions.ts +5 -2
- package/shared/ranker.ts +3 -2
- package/shared/scale.ts +24 -0
- package/shared/status-invariants.ts +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,61 @@
|
|
|
2
2
|
|
|
3
3
|
What changed in each version of Follow-up, newest first. Follow-up shows "What's new" after an update that brings new release notes: the curated part of each stable release since you last looked (betas install quietly; Settings → General can turn it off), and every version's notes from Home's version line.
|
|
4
4
|
|
|
5
|
+
## 2.3.0 (2026-11-22)
|
|
6
|
+
|
|
7
|
+
Clear what doesn't need you, find the workspace you meant, and spend far less of GitHub's limit.
|
|
8
|
+
|
|
9
|
+
- **Dismiss anything in Needs you**, questions included, with the small × in its corner. Remove and Keep sit side by side, the agent isn't messaged, and Undo brings it back. A removed item returns by itself when something about it changes.
|
|
10
|
+
- **Search finds what you meant**, even typed on the wrong keyboard layout, in any language. Search from anywhere is now ⌘⇧K (Ctrl+Shift+K), since Paseo 0.17 uses ⌘/.
|
|
11
|
+
- **Ask for More context anywhere:** the panel, Home, the question dialog, the chat pill or your phone.
|
|
12
|
+
- **Repairs reach your main agent as soon as it's free**, even while its subagents keep working, and a waiting repair says what it's waiting for.
|
|
13
|
+
- **Far less of GitHub's limit:** Follow-up reads a PR in full only when something on it changed, and pauses its checks if the limit runs low.
|
|
14
|
+
- **Settings are tabs** on Follow-up's own settings page on Paseo 0.16 and later, and Home lists its keys when you press S. Plus many smaller fixes.
|
|
15
|
+
|
|
16
|
+
<details><summary>Full changelog since 2.2.0</summary>
|
|
17
|
+
|
|
18
|
+
### Home and Needs you
|
|
19
|
+
|
|
20
|
+
- Dismiss anything in Needs you with the small x in its corner: an agent's ask, a merge or reviewers ask, repairs waiting on you, and the rest. The agent isn't messaged, and Undo brings it back.
|
|
21
|
+
- On Home, Enter opens the selected workspace's chat however you picked it, including pressing Enter again right after a search. O does the same, as in Catch up.
|
|
22
|
+
- Press S on Home (or the keyboard button by settings) to see every Home key.
|
|
23
|
+
- Ask for more context on a question from the panel, Home, the question dialog, the chat pill or your phone, not only in Catch up. The answer shows on the question wherever you look at it.
|
|
24
|
+
- Search finds workspaces typed on the wrong keyboard layout, with a quiet hint and your text kept intact. Desktop uses physical keys; Hebrew and Russian also work on phones and pasted text.
|
|
25
|
+
- On Paseo 0.16 and later, Follow-up's settings categories (General, Following, Reviewers, Agents, Inbox & display) are Paseo's own tabs on the Follow-up settings page, and every Settings link opens the right one.
|
|
26
|
+
- When the agent says only a person can move something, such as a stale review the reviewer must re-review, Needs you shows it as that PR waiting on its reviewer, with Ask for re-review, instead of "The tasks didn't finish".
|
|
27
|
+
- Search from anywhere is now ⌘⇧K (Ctrl+Shift+K): Paseo 0.17 uses ⌘/ for its model picker. If you picked ⌘/, you’re moved to ⌘⇧K; change it in Settings → Display.
|
|
28
|
+
|
|
29
|
+
### Questions and answers
|
|
30
|
+
|
|
31
|
+
- A dismissed item comes back by itself when something about it changes, like a new push or a new failure. In Catch up, Shift+D dismisses any card.
|
|
32
|
+
- The card for a new agent or workspace stays after it's created and opens it.
|
|
33
|
+
- With Claude agents, the Done card and a question's number now show in the chat.
|
|
34
|
+
- When the limit runs low, Follow-up pauses its checks and leaves the rest to your agents. The Pull requests card says when it updates again.
|
|
35
|
+
|
|
36
|
+
### Repairs and PRs
|
|
37
|
+
|
|
38
|
+
- Repairs reach your main agent as soon as it's free, even while its subagents keep working.
|
|
39
|
+
- A waiting repair says what it's waiting for, like the main agent's turn, a permission prompt or Session Guard, and Send now still sends it the moment the main agent is free.
|
|
40
|
+
- Follow-up checks your PRs with a small fraction of GitHub's hourly limit, even with lots of PRs: it reads a PR in full only when something on it changed.
|
|
41
|
+
|
|
42
|
+
### Setup, Settings and updates
|
|
43
|
+
|
|
44
|
+
- The panel's Project settings button now opens Following.
|
|
45
|
+
|
|
46
|
+
### More
|
|
47
|
+
|
|
48
|
+
- Keep is where the keyboard lands, so pressing Enter twice never removes anything, and neither does a double-click on the x.
|
|
49
|
+
- Dismissing asks for a second click on the same spot, so a stray click doesn't dismiss anything. The first click turns the x into a small red Dismiss button; clicking elsewhere, Esc, or waiting a few seconds puts the x back.
|
|
50
|
+
|
|
51
|
+
### Fixes
|
|
52
|
+
|
|
53
|
+
- Dismiss a question that no longer matters. The agent isn't messaged, and Undo brings it back. In Catch up, Shift+D does it.
|
|
54
|
+
- Removing an item from Needs you now shows Remove and Keep side by side, so backing out is one obvious click.
|
|
55
|
+
- A removed item now says Removed everywhere you see it, on its card and in question history, matching the toast.
|
|
56
|
+
- Needs you no longer shows a repair that stopped mattering: once its PR merges or the problem is gone, it clears on its own.
|
|
57
|
+
|
|
58
|
+
</details>
|
|
59
|
+
|
|
5
60
|
## 2.2.0 (2026-11-18)
|
|
6
61
|
|
|
7
62
|
Catch up walks you through everything that needs you, one card at a time.
|
package/README.md
CHANGED
|
@@ -2,239 +2,82 @@
|
|
|
2
2
|
|
|
3
3
|
# Follow-up
|
|
4
4
|
|
|
5
|
-
[](LICENSE)
|
|
5
|
+
[](https://www.npmjs.com/package/paseo-follow-up)
|
|
6
|
+
[](https://paseo.sh)
|
|
7
|
+
[](LICENSE)
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
review comments back to the right agent by itself, and lets you answer an agent's question without opening its chat.
|
|
9
|
+
A [Paseo](https://paseo.sh) plugin that follows every workspace your coding agents work in until the work is merged.
|
|
10
|
+
One list shows which agents are waiting on you and why.
|
|
13
11
|
|
|
14
12
|
<img alt="Follow-up Home: every workspace in one list, grouped by what it needs from you, with the selected workspace's question and its options on the right" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-home.png">
|
|
15
13
|
|
|
16
|
-
Screenshots use synthetic workspaces, people and PRs.
|
|
17
|
-
|
|
18
14
|
## Install
|
|
19
15
|
|
|
20
16
|
```sh
|
|
21
17
|
paseo plugin install npm:paseo-follow-up
|
|
22
18
|
```
|
|
23
19
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## What you can do
|
|
28
|
-
|
|
29
|
-
- **See everything that needs you in one list.** Home lists every workspace, grouped by what it needs from you. When
|
|
30
|
-
an agent finishes, asks something, hits an error or waits for a permission, it moves to the top, under **Needs you**,
|
|
31
|
-
and stays there until you mark it done or reply. You act on it right there, without opening the chat.
|
|
32
|
-
- **Answer agents from anywhere.** When an agent needs a decision, it asks in a card with lettered options, its
|
|
33
|
-
recommendation and room for your own answer. Answer on Home, in the workspace's side panel, in the bar above the
|
|
34
|
-
agent's message box, or on your phone. The answer goes straight into the agent's chat.
|
|
35
|
-
- **Let fixes go back to the agent.** When a PR's checks fail, it hits a merge conflict or a reviewer leaves comments,
|
|
36
|
-
Follow-up sends them to the agent that made the PR, in one message once it's idle. You're only asked for what's yours
|
|
37
|
-
to decide, like merging. Works with plain GitHub; Graphite is optional.
|
|
38
|
-
- **Know what each workspace is about.** A one-line description of what it's for, and the Linear issues, Slack threads
|
|
39
|
-
and docs it's about.
|
|
40
|
-
- **Ask about any workspace.** Type in Home's search box and an agent that knows all your workspaces passes your
|
|
41
|
-
question to the one doing the work. Optionally, Follow-up orders the list by what your Linear issues, Slack mentions
|
|
42
|
-
and review requests say matters most.
|
|
43
|
-
- **Use your own models.** Its small background jobs, like writing those descriptions, run on any model provider Paseo
|
|
44
|
-
has. Your agents can do anything you can click in Follow-up, after showing you a plan.
|
|
45
|
-
- **Forget about it.** It updates itself when nothing is busy, rolls back if an update fails, and stays light on the
|
|
46
|
-
machine.
|
|
47
|
-
|
|
48
|
-
## Setup
|
|
49
|
-
|
|
50
|
-
The first time you open Follow-up from the sidebar, a short setup takes Home's place. It takes about two minutes, and
|
|
51
|
-
**Skip setup** leaves it at any point.
|
|
52
|
-
|
|
53
|
-
<img alt="Follow-up's setup, first step: an example PR going from failed checks to a fix sent to its agent to a merge only you can approve" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-setup.png">
|
|
54
|
-
|
|
55
|
-
It shows what Follow-up does, checks GitHub and the helper agents (with the fix to copy for anything missing), and asks
|
|
56
|
-
what Follow-up may do without asking you, how you ship PRs, who reviews, how it updates and which helpers to turn on.
|
|
57
|
-
Every switch is the same one Settings shows. Run it again from Settings → General → **Set up Follow-up again**.
|
|
58
|
-
|
|
59
|
-
## Using it
|
|
60
|
-
|
|
61
|
-
Open **Follow-up** in Paseo's sidebar for Home, or the Follow-up icon in a workspace's header for that workspace's
|
|
62
|
-
panel. ⌘K (Ctrl+K) has a Follow-up command for most things.
|
|
63
|
-
|
|
64
|
-
On Paseo 0.16 or newer, Follow-up can also be your sidebar: pick **Follow-up: Needs you** in Settings → Sidebar →
|
|
65
|
-
View. Follow-up 2.0 still runs on Paseo 0.15; there it simply doesn't offer the view.
|
|
66
|
-
|
|
67
|
-
<img alt="Paseo 0.16's sidebar showing Follow-up's view: workspaces grouped by what they need from you, each with its status, beside the selected workspace's chat" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-sidebar.png" width="600">
|
|
68
|
-
|
|
69
|
-
<img alt="The workspace panel beside the agent's chat: 1 of 3 PRs merged, a stack bar, a question to answer, a failed check for the agent to fix and a task waiting on a deploy" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-panel.png">
|
|
70
|
-
|
|
71
|
-
- **Answer a question.** Pick an option, add a note if you like, and send. Cmd+Enter (Ctrl+Enter) sends. If the agent
|
|
72
|
-
is busy or waking up, the card says Sending until it has the answer, and offers Send again if it couldn't deliver.
|
|
73
|
-
|
|
74
|
-
<img alt="A question card: three lettered options, A recommended, with a note for the agent" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-questions.png">
|
|
75
|
-
|
|
76
|
-
- **The bar above the message box** (the pill) shows what needs you in the chat you're in, with the same actions.
|
|
77
|
-
|
|
78
|
-
<img alt="The composer pill opened: a question to answer, tasks ready to send and an approved PR" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-pill.png">
|
|
79
|
-
|
|
80
|
-
- **A PR.** Tap a PR, or its segment in the stack bar, for its checks, reviewers and Merge. When Merge isn't available
|
|
81
|
-
yet, the sheet says what it's waiting for. Follow-up never merges on its own, and Merge checks the stack again first.
|
|
82
|
-
|
|
83
|
-
<img alt="The PR sheet for a PR whose required test check failed" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-pr-sheet.png">
|
|
84
|
-
|
|
85
|
-
- **Linked items.** Next to a workspace's Spec: the Linear issues, Slack threads and docs it's about, with who linked
|
|
86
|
-
each one and why. Paste a link or a key to add one. Agents link what they start from, and a Linear key counts only
|
|
87
|
-
once Linear confirms it.
|
|
88
|
-
|
|
89
|
-
<img alt="A workspace's Linked list: a Linear issue, a Slack thread and a doc, each with who linked it" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-linked-items.png">
|
|
90
|
-
|
|
91
|
-
- **On a phone**, Home is the list and a row opens its detail. Sheets open from the bottom.
|
|
92
|
-
|
|
93
|
-
<img alt="Follow-up on a phone: Home's list, and a workspace's detail with its question" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-phone.png">
|
|
94
|
-
|
|
95
|
-
With Updates set to **Tell me**, Home says when any newer stable version is available, including minor and patch
|
|
96
|
-
releases. On the Beta channel, betas show only in Settings → General.
|
|
97
|
-
|
|
98
|
-
After an update that brings new release notes, Follow-up shows **What's new** once. Betas install quietly.
|
|
99
|
-
To stop it, turn off **Show What's new after updates** in Settings → General. Release notes are there too, and in
|
|
100
|
-
[CHANGELOG.md](CHANGELOG.md).
|
|
101
|
-
|
|
102
|
-
## Helper agents and providers
|
|
103
|
-
|
|
104
|
-
Follow-up runs a few small background jobs ("helpers") for you. Each one is optional, and Settings → **Agents** shows what each uses and
|
|
105
|
-
recommends a model from the providers you have, with **Use recommended** in one click.
|
|
106
|
-
|
|
107
|
-
| Helper | What it does | Runs on |
|
|
108
|
-
| --- | --- | --- |
|
|
109
|
-
| Summaries | One sentence under each workspace's title saying what it's for | Any provider Paseo has |
|
|
110
|
-
| AI priority | Sorts Home from Linear, Slack and review requests, about hourly on workdays, and only when something changed | Any provider Paseo has |
|
|
111
|
-
| Overseer | One agent you ask about all your workspaces. Starts only when you click Start on Home | A Paseo agent, Claude by default |
|
|
112
|
-
| Recovery | Rebuilds a workspace's tracking when Follow-up lost track of it. Runs only when you ask | The main agent's provider, or one you pick |
|
|
113
|
-
|
|
114
|
-
Claude and Codex run a job directly. Other providers run it as a short hidden agent. AI priority reads Linear and
|
|
115
|
-
Slack through read-only tools and never posts anything.
|
|
116
|
-
|
|
117
|
-
## Settings
|
|
118
|
-
|
|
119
|
-
Settings (the gear on Home, or ⌘K → **Follow-up: settings**) has five categories:
|
|
120
|
-
|
|
121
|
-
- **General.** Updates (Install automatically, Tell me or Off; Stable or Beta), setup, and the release notes.
|
|
122
|
-
- **Following.** Which projects and workspaces Follow-up follows, auto-send, how each repository ships PRs (GitHub or
|
|
123
|
-
Graphite, the merge method, how agents handle review comments), and Trust bypass for permission prompts.
|
|
124
|
-
- **Reviewers.** Who **Add reviewers** asks: a default for every repository and a list per repository.
|
|
125
|
-
- **Agents.** The helper agents and their models, what agents do while a question waits, and, on Paseo 0.15, Wait for
|
|
126
|
-
background jobs.
|
|
127
|
-
- **Inbox & display.** The Needs-you inbox, the sidebar badge and the pills.
|
|
128
|
-
|
|
129
|
-
## What Follow-up never does on its own
|
|
130
|
-
|
|
131
|
-
- Merge, turn on merge when ready, request reviewers or archive. Those take your click, or an agent's confirmed plan.
|
|
132
|
-
- Answer a question for you. Answers go out only when you send them.
|
|
133
|
-
- Wake an agent that's resting to read it. It reads the transcript on disk instead.
|
|
134
|
-
|
|
135
|
-
## Report a bug or request a feature
|
|
136
|
-
|
|
137
|
-
Ask any agent in Paseo to "report a bug about Follow-up" (or a feature request, or feedback), or use **Report a bug**
|
|
138
|
-
in Settings → General, Command-K, `/report-issue` in the composer, or **Report this** on any error. The agent asks what
|
|
139
|
-
it needs, checks what it can, and shows you the exact issue before filing it in this repository with your own GitHub
|
|
140
|
-
sign-in. It adds Follow-up's version, Paseo's, your OS and recent errors, and replaces private repository names, PR
|
|
141
|
-
titles, hostnames, emails and paths with placeholders. Screenshots are uploaded to a public `paseo-issue-assets`
|
|
142
|
-
repository in your account only if you say yes for that report; otherwise you drag them into the issue. Without a
|
|
143
|
-
GitHub sign-in you get a prefilled link instead. You can also [open an issue](https://github.com/tomgrin10/paseo-follow-up/issues/new/choose) by hand.
|
|
144
|
-
|
|
145
|
-
## Upgrading from 1.x
|
|
146
|
-
|
|
147
|
-
Update as usual. 2.0 copies your data to its new folder and moves itself to the plugin id `follow-up` once, while
|
|
148
|
-
nothing is busy; Settings → General says when it's done. 2.0 needs Paseo 0.15 or later. To go back to 1.0.1:
|
|
149
|
-
|
|
150
|
-
```sh
|
|
151
|
-
paseo plugin remove follow-up
|
|
152
|
-
paseo plugin install npm:paseo-follow-up@1.0.1
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
1.x's data folder is never deleted, so 1.0.1 starts from where it was before the move.
|
|
20
|
+
You need Paseo 0.15 or later, Node 22+ and a signed-in GitHub CLI (`gh`) on the machine Paseo runs on. Then open
|
|
21
|
+
Follow-up in Paseo's sidebar. A two-minute setup walks you through the rest.
|
|
156
22
|
|
|
157
|
-
|
|
23
|
+
## What you get
|
|
158
24
|
|
|
159
|
-
|
|
25
|
+
- One list of every workspace, with the ones that need you at the top.
|
|
26
|
+
- Answer an agent's question from the list, the side panel, the chat or your phone, without opening its chat.
|
|
27
|
+
- Failed checks, merge conflicts and review comments go back to the agent that made the PR, by themselves.
|
|
28
|
+
- A one-line summary of each workspace, plus the Linear issues, Slack threads and docs it's about.
|
|
29
|
+
- Ask one agent about all your workspaces from Home's search box.
|
|
30
|
+
- Background jobs run on any model Paseo has, and your agents can do anything you can click.
|
|
31
|
+
- It updates itself when nothing is busy and rolls back if an update fails.
|
|
32
|
+
- On the pull request itself, see which workspace owns it and what it needs ([Send to Paseo](#on-the-pull-request-too)).
|
|
160
33
|
|
|
161
|
-
|
|
162
|
-
and GitHub PR status with your existing credentials, and keeps its state in `$PASEO_HOME/plugin-data/follow-up`. It
|
|
163
|
-
gives agents scoped tools and installs reversible hooks for Claude Code and Codex. [OVERVIEW.md](OVERVIEW.md) has the
|
|
164
|
-
full data-access statement.
|
|
34
|
+
## On the pull request, too
|
|
165
35
|
|
|
166
|
-
|
|
36
|
+
Add the [Send to Paseo](https://chromewebstore.google.com/detail/send-to-paseo/blflbbgkckbabbkoigpocilbkkmfijfg)
|
|
37
|
+
Chrome extension and a pull request on GitHub or Graphite shows the workspace that owns it and what it needs, like
|
|
38
|
+
"Needs you · Merge ready". **Open** jumps to its agent in Paseo, or send that agent an instruction from the same popup.
|
|
39
|
+
Follow-up can also switch Graphite's **Merge when ready** through it, after you confirm in Chrome.
|
|
167
40
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
41
|
+
<picture>
|
|
42
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-send-to-paseo-dark.png">
|
|
43
|
+
<img alt="Send to Paseo open on a GitHub pull request: a Workspace for this PR section with Follow-up's icon, the workspace webhook-retries marked Needs you · Merge ready · agent idle and an Open button, and below it a box to send the agent an instruction" src="https://raw.githubusercontent.com/tomgrin10/paseo-follow-up/main/docs/screenshots/follow-up-send-to-paseo-light.png">
|
|
44
|
+
</picture>
|
|
171
45
|
|
|
172
|
-
|
|
46
|
+
## What it never does on its own
|
|
173
47
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
```ini
|
|
179
|
-
[Service]
|
|
180
|
-
Environment=MALLOC_ARENA_MAX=2 MALLOC_MMAP_THRESHOLD_=131072 MALLOC_TRIM_THRESHOLD_=131072
|
|
181
|
-
```
|
|
48
|
+
- Merge, request reviewers or archive. Those take your click, or an agent's plan that you confirmed.
|
|
49
|
+
- Answer a question for you.
|
|
50
|
+
- Wake a resting agent. It reads the transcript on disk instead.
|
|
182
51
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
```sh
|
|
187
|
-
paseo daemon stop
|
|
188
|
-
MALLOC_ARENA_MAX=2 MALLOC_MMAP_THRESHOLD_=131072 MALLOC_TRIM_THRESHOLD_=131072 paseo daemon start
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
In our test harness (140 workspaces, 45 idle minutes) Follow-up grew about 20 MB without them and 3 to 6 MB with them,
|
|
192
|
-
at no measurable CPU cost. On a busy real setup they kept Follow-up flat while idle, but memory still stepped up during
|
|
193
|
-
bursts of activity and stayed there: after about 4.7 hours it used 363 MB with them and 375 MB without. To undo it,
|
|
194
|
-
remove the settings and restart Paseo.
|
|
52
|
+
It runs on your machine with your own GitHub sign-in. [OVERVIEW.md](OVERVIEW.md) says exactly what it reads and
|
|
53
|
+
writes.
|
|
195
54
|
|
|
196
55
|
## Docs
|
|
197
56
|
|
|
57
|
+
- [Using Follow-up](docs/guide.md): setup, the panel, the pill, settings, helper agents, updates, reporting a bug,
|
|
58
|
+
upgrading from 1.x and memory on Linux.
|
|
198
59
|
- [CHANGELOG.md](CHANGELOG.md): release notes.
|
|
199
|
-
- [AGENTS.md](AGENTS.md):
|
|
200
|
-
how to test.
|
|
201
|
-
- [docs/](docs/): one page per part, such as [Needs you](docs/needs-you.md), [PRs](docs/prs.md),
|
|
202
|
-
[Linked items](docs/linked-items.md), [updates](docs/updates.md), [Wait](docs/wait.md) and
|
|
203
|
-
[agent tools](docs/rpcs-and-tools.md).
|
|
204
|
-
|
|
205
|
-
## Development
|
|
206
|
-
|
|
207
|
-
```sh
|
|
208
|
-
npm ci
|
|
209
|
-
npm run verify
|
|
210
|
-
npm run test:install
|
|
211
|
-
npm run shots # re-shoots the README images in an isolated daemon
|
|
212
|
-
```
|
|
60
|
+
- [AGENTS.md](AGENTS.md): how it's built and how to work on it.
|
|
213
61
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
[docs/releasing.md](docs/releasing.md).
|
|
62
|
+
Questions or bugs: ask any agent in Paseo to "report a bug about Follow-up", or
|
|
63
|
+
[open an issue](https://github.com/tomgrin10/paseo-follow-up/issues/new/choose).
|
|
217
64
|
|
|
218
65
|
## Credits
|
|
219
66
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
refs, lettered options and a recommendation, the question modes and the activity log are adapted from it (MIT, see
|
|
224
|
-
[THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)).
|
|
225
|
-
- [Better Paseo](https://github.com/RoundRedDot/better-paseo) by RoundRedDot: its Tasks board, every agent in lanes by
|
|
226
|
-
state, shaped Home's grouped list and the reply box in its detail pane.
|
|
67
|
+
Ideas borrowed, with thanks, from [Progress](https://github.com/stevecastaneda/paseo-plugins/tree/main/progress) by
|
|
68
|
+
Steve Castaneda (questions with lettered options; MIT, see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)) and
|
|
69
|
+
[Better Paseo](https://github.com/RoundRedDot/better-paseo) by RoundRedDot (the grouped Home list).
|
|
227
70
|
|
|
228
71
|
## Other plugins
|
|
229
72
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
73
|
+
[Defer](https://github.com/tomgrin10/paseo-defer),
|
|
74
|
+
[Send to Paseo](https://github.com/tomgrin10/send-to-paseo),
|
|
75
|
+
[Session Guard](https://github.com/tomgrin10/paseo-session-guard),
|
|
76
|
+
[Smart Session](https://github.com/tomgrin10/paseo-smart-session),
|
|
77
|
+
[Transcript Search](https://github.com/tomgrin10/paseo-transcript-search),
|
|
78
|
+
[Transfer](https://github.com/tomgrin10/paseo-transfer),
|
|
79
|
+
[Vitals](https://github.com/tomgrin10/paseo-vitals) and
|
|
80
|
+
[Workspace Switcher](https://github.com/tomgrin10/paseo-switcher).
|
|
238
81
|
|
|
239
82
|
## License
|
|
240
83
|
|
package/client/brief.tsx
CHANGED
|
@@ -6,7 +6,8 @@ import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|
|
6
6
|
import { openExternalUrl, useRpc, type PluginClientContext, type PluginTimelineItemProps } from "@getpaseo/plugin/client";
|
|
7
7
|
import { deliveryStatus } from "../shared/queue";
|
|
8
8
|
import { Icon, TextInput, copyText, useToast } from "@getpaseo/plugin/client/ui";
|
|
9
|
-
import { BRIEF_KIND, BRIEF_VERSION, askedDecisions, cardPicks, notedCount, pickedCount, briefSchema, collapsedLine, extrasFit, hasOriginal, nothingNeededLine, isTight, pastRows, pastTone, selectsFirst, sendBar, shownBrief, pastAsk, liveBrief, newAnswerId, type Brief, type BriefDecision, type BriefMove } from "../shared/brief";
|
|
9
|
+
import { BRIEF_KIND, briefCardAsk, BRIEF_VERSION, askedDecisions, cardPicks, notedCount, pickedCount, briefSchema, collapsedLine, outcomeLabel, extrasFit, hasOriginal, nothingNeededLine, isTight, pastRows, pastTone, selectsFirst, sendBar, shownBrief, pastAsk, liveBrief, newAnswerId, type Brief, type BriefDecision, type BriefMove } from "../shared/brief";
|
|
10
|
+
import { needsYou } from "../shared/attention";
|
|
10
11
|
import { age } from "../shared/inbox";
|
|
11
12
|
import { noReviewReposVersion, onNoReviewRepos } from "../shared/pr-workflow";
|
|
12
13
|
import { briefKey, HEADLINE_WORD } from "../shared/headline";
|
|
@@ -38,6 +39,8 @@ export type BriefDeps = {
|
|
|
38
39
|
openAgent(agentId: string): void;
|
|
39
40
|
/** The workspace's list form (shared/list.ts); the PR sheet reads the full one itself. */
|
|
40
41
|
workspace(id: string): ListWorkspace | undefined;
|
|
42
|
+
/** The agent's Needs-you inbox row, so a card knows whether its brief is an ask (briefAsks). */
|
|
43
|
+
row?(agentId: string): { needs?: unknown } | null;
|
|
41
44
|
/** Opens Follow-up's panel for a workspace whose record this client hasn't loaded yet. */
|
|
42
45
|
openPanel(workspaceId: string): void;
|
|
43
46
|
/** Done's Undo window, so the composer pill says Done (and its Undo cancels the same toast) until it ends. */
|
|
@@ -316,7 +319,7 @@ function Past({ b, c, now, compact, height, pending = false, onResend, resending
|
|
|
316
319
|
{answered && b.outcome !== "Done"
|
|
317
320
|
? <View style={{ flex: 1, minWidth: 0, gap: 2 }}>
|
|
318
321
|
<RichText linkColor={c.foreground} numberOfLines={expanded ? undefined : 1} style={{ color: c.foregroundMuted, fontSize: 12, lineHeight: 16 }}>{ask}</RichText>
|
|
319
|
-
<Text style={{ color: c.foreground, fontSize: 14, lineHeight: 20, fontWeight: "600" }}>{b.outcome}</Text>
|
|
322
|
+
<Text style={{ color: c.foreground, fontSize: 14, lineHeight: 20, fontWeight: "600" }}>{outcomeLabel(b.outcome)}</Text>
|
|
320
323
|
</View>
|
|
321
324
|
: <Text numberOfLines={expanded ? undefined : 1} style={{ flex: 1, minWidth: 0, color: c.foregroundMuted, fontSize: 13, lineHeight: 18 }}>{collapsedLine(b)}</Text>}
|
|
322
325
|
<Text style={{ color: c.foregroundMuted, fontSize: 12, lineHeight: 16, fontVariant: ["tabular-nums"] }}>{right}</Text>
|
|
@@ -371,10 +374,9 @@ function BriefCardBody({ item, theme, layout, agentId, deps, embedded = false, s
|
|
|
371
374
|
const unverifiable = live.isError || !agentId;
|
|
372
375
|
const shown = row.state !== "open" ? { brief: row, actionable: false } : unverifiable && checked.brief.state === "open" ? { ...checked, actionable: true } : checked;
|
|
373
376
|
const b = shown.brief;
|
|
374
|
-
//
|
|
375
|
-
//
|
|
376
|
-
const
|
|
377
|
-
const askText = waitingOn.length ? `Waiting on your answer to ${waitingOn.join(", ")}` : b.ask;
|
|
377
|
+
// One predicate decides whether the brief's own words draw (briefCardShown, inside briefCardAsk): beside what Needs you
|
|
378
|
+
// holds, a brief without an ask points at it instead (a-brief-without-an-ask-never-sits-beside-needs-you).
|
|
379
|
+
const askText = briefCardAsk(b, agentId ? deps.row?.(agentId) : null, workspace ? needsYou(workspace, Date.now()) : []);
|
|
378
380
|
// A refusal that means "already answered or replaced" isn't a failure: re-read, and the card shows what happened.
|
|
379
381
|
const reconcile = (e?: unknown) => { if (e !== undefined) notice(mootNote(e), toast); setError(null); void cache.invalidateQueries({ queryKey: liveBriefKey(agentId) }); if (row.workspaceId) void cache.invalidateQueries({ queryKey: workspaceKey(row.workspaceId) }); };
|
|
380
382
|
const now = useNow(60_000);
|
|
@@ -425,7 +427,7 @@ function BriefCardBody({ item, theme, layout, agentId, deps, embedded = false, s
|
|
|
425
427
|
// dismissing-anything-in-needs-you-sends-the-agent-nothing: an ask still in Needs you (or in Later) has the small x
|
|
426
428
|
// beside its age. It signs the row off as dismissed: the agent is sent nothing, and a restated ask isn't flagged again.
|
|
427
429
|
const x = flaggedAct && shown.actionable && agentId ? <View style={{ marginVertical: compact ? -8 : -5, marginRight: compact ? -8 : -6 }}>
|
|
428
|
-
<DismissX theme={theme} compact={compact} label="
|
|
430
|
+
<DismissX theme={theme} compact={compact} label="Remove the agent's ask" disabled={!!sending} onPress={() => dismiss({ agentId }, { onDismissed })} />
|
|
429
431
|
</View> : null;
|
|
430
432
|
const border = acts ? withAlpha(attention, isLight(c) ? 0.5 : 0.45) : c.border;
|
|
431
433
|
// Every send from the card (a pick, Something else, Send answers, the keyboard's Send) goes through runAction: the
|
package/client/catch-up.tsx
CHANGED
|
@@ -189,7 +189,8 @@ export function CatchUp({ theme, compact, deps, navigation, onExit }: { theme: T
|
|
|
189
189
|
}
|
|
190
190
|
// The card's own Dismiss (QuestionBody), so the key does exactly what the click does.
|
|
191
191
|
// The card's own x (client/dismiss.tsx), whatever the card is, so the key does exactly what the click does.
|
|
192
|
-
|
|
192
|
+
// Its last button: the x itself, or Remove once armed (so ⇧D twice removes, as two clicks would).
|
|
193
|
+
case "dismiss": { const all = root()?.querySelectorAll('[data-catch-up-card] [data-testid="dismiss-x"] [role="button"]'); const d = all?.length ? all[all.length - 1] : null; if (!d) return; d.click?.(); break; }
|
|
193
194
|
case "note": { const add = inCard('[aria-label^="Add a note"]'); if (add) add.click?.(); else r.querySelector('[aria-label="Tell the agent something"]')?.focus?.(); break; }
|
|
194
195
|
// Its sheet or popover takes focus itself (MoveResult).
|
|
195
196
|
case "later": if (!click('[aria-label="Later (L)"]')) return; break;
|