← Plugins

SessionManager

nathan57installs

Manage native Claude Code, Codex, and Antigravity sessions, subagent & swarm trees, usage analytics & heatmaps, /context & /status telemetry, Skills, MCP servers, and agent plugins on each Paseo host.

$ paseo plugin add jjayjackie/session-manager
SessionManager screenshot 1SessionManager screenshot 2SessionManager screenshot 3SessionManager screenshot 4SessionManager screenshot 5SessionManager screenshot 6

Manage native Claude Code, Codex, and Antigravity sessions, customizable auto-splitting Paseo Agent composer pills & /swarm widgets, 3-pane Paseo Agent management with cascade Trash cleanup, rich Markdown conversation previews, multi-agent usage analytics & heatmaps, and native Skills, MCP servers, and agent plugins on every Paseo host.

Inside active Paseo Agent views, SessionManager provides customizable companion composer pills (addComposerPill), single-scroll popovers with a translucent liquid-glass + FAB, and companion Context & Stats and Swarm panels (addAgentPanel in explorer and workspace locations):

  • Customizable Auto-Splitting Companion Composer Pills: pairs a dynamic radial SVG context ring with 6 customizable metrics (pillShowContextSize and pillShowSpeed default ON, e.g. 236k · 44 tok/s; pillShowContextPercent, pillShowCacheHit, pillShowCost, and pillShowTotalTokens default OFF), automatically splitting across 1–3 companion pills (session-context, session-context-stats, session-context-cost) to prevent ... clipping under Paseo's 160px pill cap across Claude Code, Codex, Antigravity, and custom Paseo provider profiles (extends chains and directory env-key hints).
  • Single-Scroll Popovers, Liquid-Glass + FAB & Dual Full-Panel Mode: eliminates redundant footer bars and double scrollbars in Context & Swarm popovers, adding a floating bottom-right translucent liquid-glass circular + FAB on web (1-tap top-right + on native) that opens full 10-category context breakdowns, orchestrator/model context, session stats, reference cost, tok/s speed sparklines, or Swarm details in user-selectable In-Chat Overlay Modal (modal, default) or Right Explorer Sidebar (explorer) mode (fullPanelMode).
  • Antigravity Native /swarm Status Viewer: surfaces a conditional live swarm pill, single-scroll popover, and dedicated Swarm panel showing the active /swarm goal and task threads (plan.json), member roster (members.json) with models, Working / Waiting / Stopped / Killed states, workspace modes, unread board counts, one-click native session jumps, and recent message board posts (board.jsonl), powered by an O(1) read-only tail reader.
  • Host-Scoped Preferences (Settings → SessionManager Preferences): configures composer pill visibility (showAgentContextBar, showAgentSwarmBadge), full-panel mode (fullPanelMode), and all 6 pill metric toggles with a WYSIWYG live preview and one-click reset, streamed live to connected clients per host via sm.preferences.watch.

The plugin workbench organizes host operations into five tabs (Sessions, Agent, Usage, Extensions, Trash):

  • Sessions & Rich Conversation Preview (Sessions): groups sessions across providers by working directory, nests parent-child subagent & swarm session trees inline without double-counting disk or usage, provides live/historical /context and /status telemetry, copies shell-safe native resume commands, and renders full zero-omission conversations with a linear-time O(N) Markdown renderer (headings, lists, GFM tables, fenced code blocks with copy), collapsible Magpie-style execution traces, server-side full-session search & role/tool/error filters, a Full-Width Reader Modal, single-window O(1)-memory cursor pagination, live compaction with disjoint byte-span hydration, and strict UTF-8 wire budgets.
  • 3-Pane Paseo Agent Workbench & Cascade Trash Cleanup (Agent): manages every Paseo agent on the host across all 5 states (Needs input, Running, Needs review, Completed, Archived) in a 3-pane master-detail layout (Left Projects sidebar | Center clean Agent rows | Right AgentDetailPane with grouped Action Strip and copyable Metadata Card; modal on narrow screens) paired with a streamlined 2-row toolbar (Select all archived + Delete selected archived). Permanent deletion of archived agents routes strictly through Paseo's native daemon RPC (never unlinking ~/.paseo/agents directly) and defaults in the UI (deleteSessions: true; safe false default on legacy RPC) to moving linked Claude Code, Codex, and Antigravity native session trees (main session + embedded/standalone subagents + Antigravity /swarm members) safely into recoverable Trash — protected by fresh server-deduplicated preview (sm.agents.preview-delete with treesByRootKey + server-side previewToken), strict canonical profile-root matching, exact-ID & archivedAt pre-flight checks, commit/pre-rename/post-claim liveness & writer-lock guards (fail-closed on unreadable locks/DBs), deadline-bounded read-only preparation, durable operationId + sm.agents.delete-status recovery, and incremental catalog updates with coalesced assembly.
  • Usage Analytics (Usage): computes read-only local analytics with an anchored Date-Time Range Picker (DST-safe bounds, live End follows current time), automatic hourly/daily/weekly bucketing, a responsive full-width GitHub-style Activity Heatmap for All time, architectural monochrome All with By-App stacked charts vs. pure brand-colored single-provider bars, official static reference API pricing, and rebalanced 12-column Request Logs featuring per-request Cache Hit % and null-last cacheHit sorting.
  • Extensions (Extensions): toggles only Claude Code, Codex, and Antigravity Skills, MCP servers, and native agent plugins (Paseo's own plugins are never read or modified), with comment-preserving TOML editing for Codex, reversible 0600 stashes, per-file locks, pre-write 0600 snapshots with one-click rollback, and server-side secret redaction.
  • Recoverable Trash (Trash): moves only allowlisted per-session artifacts using SHA-256 fingerprint preview, atomic no-overwrite staging, O_NOFOLLOW | O_NONBLOCK checks, durable inventory journaling, byte-identical restore, and live protection for active Claude Code PIDs, open Antigravity WAL databases, running Paseo agents, and writes within the last 90 seconds.

Scanned directories on each host:

  • Claude Code: CLAUDE_CONFIG_DIR, ~/.claude, ~/.claude.json, and Paseo provider profiles (including nested <sessionId>/subagents/ and legacy agent-*.jsonl).
  • Codex: CODEX_HOME, ~/.codex, and Paseo provider profiles (including thread_spawn / forked_from_id child threads and state_*.sqlite spawn edges).
  • Antigravity: ANTIGRAVITY_DATA_DIR, ANTIGRAVITY_CLI_DIR, ~/.gemini/antigravity-cli, ~/.gemini/antigravity, ~/.gemini/config, and Paseo provider profiles (including subagents metadata, transcript.jsonl / transcript_full.jsonl swarm records, and .system_generated/swarm/ state).

Each host runs its own scans and stores trash, configuration snapshots, and disabled-item stashes under $PASEO_HOME/plugin-data/session-manager/. Agent credentials (auth.json, .credentials.json, system keyrings), external billing APIs, shared databases, project memory, and source code are never read for secrets or modified.

Requires Paseo 0.16.0 or later. Supports English and Simplified Chinese following the Paseo app language. See the repository README for installation and development details.

Related plugins

Browse all plugins →