pi-note 0.7.0 → 0.7.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/README.md +6 -6
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,11 +56,11 @@ standalone `settings/pi/extensions/pinote.ts` entry if installed; load only one
|
|
|
56
56
|
|
|
57
57
|
## Use
|
|
58
58
|
|
|
59
|
-
`/pi-note` picks a task,
|
|
60
|
-
“Read the current task
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
nothing is submitted automatically.
|
|
59
|
+
`/pi-note` picks a task, marks it in progress, and adds this prompt to the editor:
|
|
60
|
+
“Read the current Pinote task. Summarize your understanding, but don’t start work yet.”
|
|
61
|
+
The agent fetches current task text and saved handoff fields when you submit;
|
|
62
|
+
they are not copied into the draft. The prompt asks for a summary, not implementation.
|
|
63
|
+
Existing drafts are preserved; nothing is submitted automatically.
|
|
64
64
|
With a selected task it offers **Continue**, **Done**, and **Switch task**.
|
|
65
65
|
Type in the task picker to filter by text, ID, tag, or state (all words must match).
|
|
66
66
|
Use ↑/↓ and Enter to select, or Esc to cancel. Rows show **●** for in progress or
|
|
@@ -74,7 +74,7 @@ Resume restores that session's task; a new session starts unselected and does no
|
|
|
74
74
|
an older per-folder selection. Pi saves the session after the first submitted message;
|
|
75
75
|
quitting before that leaves the next launch unselected, while the task stays in progress.
|
|
76
76
|
Use **Continue**
|
|
77
|
-
to insert
|
|
77
|
+
to insert the same read-and-summarize prompt. Completing, removing, or scheduling a task clears it
|
|
78
78
|
from sessions that refresh it. Switching does not complete or reset the previous task.
|
|
79
79
|
Task fields such as `Worktree` and `PR` stay on the task, so sessions can use separate
|
|
80
80
|
worktrees and pull requests. Task status refreshes at session start, before/after
|
package/index.ts
CHANGED
|
@@ -349,7 +349,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
349
349
|
const chosen = await startTask(id, canAct);
|
|
350
350
|
if (!chosen || !canAct()) return;
|
|
351
351
|
const draft = ctx.ui.getEditorText();
|
|
352
|
-
const handoff =
|
|
352
|
+
const handoff = "Read the current Pinote task. Summarize your understanding, but don’t start work yet.";
|
|
353
353
|
ctx.ui.setEditorText(draft ? `${draft}\n\n${handoff}` : handoff);
|
|
354
354
|
ctx.ui.notify(`Pinote #${chosen.id} is in progress. Task added to input.`, "info");
|
|
355
355
|
} catch (error) {
|