@synthryn/sypi-refine
v0.6.0-beta.20260816.6a00fcae
Published
Optional extension: Rewrite a text draft into a tighter coding-agent prompt, compare the original and rewrite, and accept, edit, retry, or keep the original. Use it when a rough request needs tighter wording without surrendering control of the submitted p
Maintainers
Readme
@synthryn/sypi-refine
Optional SyPi prompt-refinement UI. It makes one tool-free model call only after an explicit request, then shows the original and rewrite before changing the prompt editor. Nothing is sent to the coding agent until the user submits the reviewed editor text.
Install it from the optional extension catalog, then use one of these routes:
/refine- open the draft and model actions/refine <draft>- rewrite the supplied text<draft> -refine- rewrite text with one exact trailing marker/refine model- use the model picker/refine model current- follow the current session model/refine model <provider/model>- pin another configured model
The review offers use, edit, retry, and keep-original actions. High-confidence paths, URLs, flags, inline code, and numbers that disappear are called out. A retry is another explicit model call. Escape always keeps the original draft.
With no preference, refinement follows the current session model. A selected
model is stored in the active SyPi profile under refine.model; the extension
creates no project files. The selected model must already be configured in
SyPi. It uses that model's existing provider authentication and may incur the
provider's normal usage cost.
Each call uses a compact instruction, no tools, no conversation history, no prompt-cache retention, minimal reasoning where required, and a proportional output cap of at most 1,024 tokens. The extension registers no model-facing tool, performs no background calls, and adds no idle tool-schema tokens.
