← 插件

Archive purge

Rami Alhamad5次安装

Permanently deletes threads and their transcripts a set time after you archive them

$ paseo plugin add hmdrams-dev/archive-purge
Archive purge 截图 1

该插件的概览尚未翻译为你的语言,因此以英文显示。

Archive purge permanently deletes threads some time after you archive them. In Paseo, archiving only hides a thread: its record and the agent's full transcript stay on disk and readable. With this plugin, archiving becomes a real delete after a delay you choose.

Every 15 minutes the plugin looks for threads that have been archived longer than your chosen time. It deletes each one with paseo delete, which removes the Paseo record. It can then also delete the transcript files that the agent provider wrote for that thread.

Settings

Open Settings, then Plugins, then the cog on Archive purge. You can also search "Archive purge settings" in the Command Center.

  • Delete archived threads: turns automatic deletion on or off. It is on by default.
  • Delete after: how long a thread stays archived before deletion. Choose from 1 hour to 90 days. The default is 7 days.
  • Delete transcripts too: also removes the provider's session files. It is on by default.
  • Status: the next check time, how many threads are archived and due, and the result of the last run.
  • Run now: deletes due threads immediately, even when automatic deletion is off.

What it deletes

Deletion is permanent and cannot be undone. Unarchive a thread before its time is up to keep it.

With transcripts on, the plugin removes files and folders named with the thread's session ID in these locations:

  • Claude Code: ~/.claude/projects, file-history, todos and session-env, plus CLAUDE_CONFIG_DIR and the Claude homes made by the Account switcher plugin
  • Codex: ~/.codex/sessions and ~/.codex/archived_sessions
  • Pi: ~/.pi/agent/sessions
  • Muse: ~/.local/share/muse/sessions
  • Antigravity: ~/.gemini/antigravity-cli

A transcript that a kept thread still uses is never deleted. For other providers, only the Paseo record is removed.

Data and limits

The plugin works only on the daemon host's files and sends nothing over the network. It stores its last run result in the Paseo plugin data folder.

It does not remove copies held in backups, synced folders, daemon logs or a provider's own cloud history.

It needs the Paseo CLI on the daemon host. It looks in ~/.local/bin, the Paseo app bundle and Homebrew, then on PATH. Set PASEO_CLI to override. It requires Paseo 0.18.2 or later and has been tested on macOS.