@ravshansbox/pi-next-issue 2.15.0 → 2.16.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 +1 -1
- package/index.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ The footer shows each running issue with its stage, the number of tool calls and
|
|
|
22
22
|
|
|
23
23
|
When an issue waits for a person, with the `needsHuman` label of the [config](../next-issue/README.md), the footer shows the count, for example `2 questions waiting`, and a note appears once for each new question. Neither interrupts what you do. Pi asks the worker for the list when it connects and every minute, and the worker also sends it after each issue of a run. A question answered on GitHub or in another pi leaves the count with the next list.
|
|
24
24
|
|
|
25
|
-
Run `/next-issue answer` to go through the waiting questions one at a time. Each shows the issue, the title and the reason of the hand-over. Choose:
|
|
25
|
+
Run `/next-issue answer` to go through the waiting questions one at a time. Pi suggests `answer` as you type after `/next-issue `. Each shows the issue, the title and the reason of the hand-over. Choose:
|
|
26
26
|
|
|
27
27
|
- **Retry**: takes the `needsHuman` label off the issue and its pull request, so the next run resumes it.
|
|
28
28
|
- **Retry with guidance**: asks for text, posts it as a comment where the worker reads it, on the pull request of the issue or on the issue when it has none, then takes the `needsHuman` label off.
|
package/index.ts
CHANGED
|
@@ -445,6 +445,8 @@ export function createExtension(options: Options) {
|
|
|
445
445
|
pi.registerCommand('next-issue', {
|
|
446
446
|
description:
|
|
447
447
|
'Start or stop working through the GitHub issues of this repository, or answer the waiting questions with "answer"',
|
|
448
|
+
getArgumentCompletions: (prefix) =>
|
|
449
|
+
'answer'.startsWith(prefix) ? [{ value: 'answer', label: 'answer' }] : null,
|
|
448
450
|
handler: async (args, ctx) => {
|
|
449
451
|
if (args.trim() === 'answer') {
|
|
450
452
|
try {
|