Skip to content

About

Paseo plugin: per-session molt compression savings panel, workspace stats, and composer pills

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

paseo-molt

Paseo plugin that shows what the omp-molt context optimizer did to your omp sessions: tokens saved, real billed spend, cache health, and per-session detail — in a workspace panel, a sidebar screen, and a per-agent composer pill.

What it shows

  • Hero totals — blocks molted, tokens saved, real spend (USD), and cache read/write/input tokens, summed across every session file touched in the last 30 days.
  • Session rows — the newest sessions with id · cache % · last activity, tokens saved, and cache-hit badge. In a workspace panel the list is scoped to that workspace's session store, and rows are linked to live agents by last-activity proximity, so a row click opens the agent conversation.
  • Composer pill — one per agent: cache 93.4% · in 45k · saved 1.5M, updated every 5 seconds; press opens a popover with that session's numbers.

How it works

Read-only. The plugin scans ~/.omp/agent/sessions/<slug>/<ts>_<uuid>.jsonl on the daemon machine for the last molt-state entry of each session file (those counters are cumulative, so the last entry wins), lists ~/.omp/agent/molt-archive for archived-original counts and recent hashes, and makes no writes, no network calls, and no omp interaction. Parsed files are cached by size + mtime, so steady-state polling is a stat per file.

The sessions directory defaults to ~/.omp/agent/sessions and can be overridden in the plugin's settings screen (poll interval too, 5–600s).

Requires the omp-molt extension in omp; the plugin only displays what molt already records. Zeroed stats until molt runs.

Install

Requires paseo >= 0.17.1:

paseo install woss/paseo-molt

(or add the repo directory as a plugin source for local development).

Development

npm install
npm run typecheck
npm test

Vitest suite covers the agent↔session proximity matching, the molt-state parser (last-entry-wins, cache, garbage/missing files), and the cwd→slug session-file mapping.

License

MIT

About

Paseo plugin: per-session molt compression savings panel, workspace stats, and composer pills

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages