Repository navigation
Replies: 3 comments
|
There is a second prompt-management workflow I use that is temporary rather than reusable: parking the draft I am writing so I can handle another thought and restore it later. Today I copy the unfinished prompt into a notes buffer, clear the composer, and later reconstruct it—often losing attachments or forgetting which provider it was meant for. A better flow is a quick “stash draft” action: save text plus attachments into a small per-provider queue, clear the composer, offer Undo, and let the same action on an empty composer open the queue for restore or deletion. Restoring should append to the current draft without silently sending anything. The scope is all clients and providers. I have only demonstrated a local persisted queue; whether stashes should follow the user across devices like the saved library in this thread is an open product choice. A plugin might eventually own the storage and picker, but core currently owns keyboard dispatch, draft mutation, attachment lifetime/garbage collection, and native composer presentation, so it would need explicit safe extension points. This is one user's demand and should not be read as broad validation. PR #2628 is prior exploration of the temporary-queue flow. |
|
Kingsley's plugin solves this today: paseo-quick-prompts (npm, https://github.com/kingsleydon/paseo-plugins). Saved prompts show as one-tap pills above every agent's composer, or as one Prompts menu pill. You edit them under Settings → Plugins, and they're stored on the daemon so every device sees the same list. I've been running it daily on 0.13.0-beta.1 and it works well. Since this keeps coming up (#1015 asked for the same buttons and was moved to Discussions), and it's already in the plugin registry, would you consider shipping it as a built-in plugin? @kingsleydon, would you be open to that? |
|
The “insert a saved prompt, then keep typing” part gets a plugin building block in merged PR #9207: a picker can insert the text and call |
Uh oh!
There was an error while loading. Please reload this page.
What I'm trying to do
A handful of prompts do most of the work in my day. A review prompt that spells
out what to check and what to ignore. A "write the commit message from the diff,
no marketing words" prompt. A bug-report template that tells the agent to paste
raw evidence instead of its own diagnosis. Each is a paragraph or two, tuned over
weeks, and each gets used several times a day across different agents.
How I do it today
I keep them in a notes file and copy-paste. On desktop that means leaving Paseo,
finding the file, copying, coming back. On the phone it is worse — app switch,
scroll, select, copy, switch back, and the app has usually dropped my composer
draft by then.
The failure mode is not the friction, it is the drift. Copy-pasting is annoying
enough that I start typing the prompt from memory instead, get a shorter and
worse version, and the tuning I did last month quietly stops being used.
Where Paseo gets in the way
The composer is the right place for this and knows nothing about it. Paseo already
knows which host I am on and already persists per-host state, so the natural home
for "my prompts" exists — but the only thing that survives between sessions is
the text I have already sent.
Project instructions and agent-level system prompts do not solve it. Those are
about what the agent always knows. These are about what I am asking for this
time, and they need to be editable in the moment and insertable into a message I
am already halfway through writing.
What the flow would look like
A control in the composer toolbar. It opens a searchable list; picking one drops
the text at my cursor and returns focus to the input. It does not send —
almost every use is "prompt, then the specific file or symbol I care about".
Storage belongs to the host, not the client. I start a task on the desktop and
follow it from the phone on the way out; if my prompts live in browser storage
they are three different collections, and the phone always has the stale one.
What we built
A Saved prompts control in the composer toolbar: search, create, edit,
delete. Selecting a prompt replaces the current selection and restores focus, and
never sends.
$PASEO_HOME/prompt-library.json. Every browser,desktop, and mobile client on that host sees one collection. Projects,
workspaces, and agents do not each keep their own.
malformed root envelope blocks normal CRUD instead of overwriting, and only an
explicit confirmed reset can clear it. Losing a prompt library to a partial
write is the one failure that would stop me using it.
server_info.features.promptLibrary. Old hosts get"Update this Host to use saved prompts" rather than a silent fallback to local
storage.
migration: on first open it finds the old local collection, asks, merges
idempotently by normalized title and content, and only deletes the old key
after the merge succeeds.
Code:
packages/app/src/prompt-library/,packages/server/src/server/prompt-library/One gotcha worth passing on
The prompt editor initially broke IME composition.
AdaptiveTextInputlets thenative control own the text; re-rendering the parent on every
onChangeTextends composition early, so typing Chinese, Japanese, or Korean into the prompt
body produced duplicated or dropped characters on web and Electron. Uncommitted
draft text must not round-trip through parent state. We have a Chromium CDP test
driving real composition events over this, since it is invisible to anyone
testing in English.
Known limits
did not come up for us; a team-shared library plausibly would for others.
Context for all four of our fork workflows: #2914
All reactions