omp-rpc-auto-title
v0.1.0
Published
Generate OMP session titles for ordinary RPC prompts.
Maintainers
Readme
OMP RPC Auto Title
Adds OMP's built-in model-based session title generation to ordinary RPC prompts. OMP normally starts this work from its terminal input path, while RPC prompt does not.
The extension runs only in RPC mode. When an unnamed session receives a substantive user prompt, it starts title generation in the background, leaves the agent turn running, and persists the resulting name. It skips named sessions, coalesces simultaneous prompts, and checks the session again before saving so a manual rename or session switch wins. OMP's PI_NO_TITLE environment variable disables it.
The title model selection and title text come from OMP's own generateSessionTitle implementation and active settings. If OMP has no available title model, or the input is too short to name, the session remains unnamed and a later prompt can retry.
Installation
Install the published package through OMP:
omp plugin install omp-rpc-auto-titleRestart the OMP RPC process after installation. Pi Desktop starts a new RPC process when its agent is restarted. To remove the package:
omp plugin uninstall omp-rpc-auto-titleDevelopment
bun run typecheck
bun testThis package targets OMP 18.2.10. It imports OMP's internal title generator and scoped settings resolver, so compatibility should be rechecked after an OMP upgrade. The extension API's public setSessionName records a generated title as a user-set name; OMP's automatic replan title refresh therefore will not replace it.
