Commit 54c2af113789

Vincent Demeester <vincent@sbr.pm>
2026-02-05 22:26:01
refactor(pi): renamed session-history extension to ai-storage
Renamed extension to better reflect its broader scope: - Storage for sessions, research, plans, and learnings - Command names unchanged (/save-session, /session-log, /list-sessions) - Updated extension description and package.json The name 'ai-storage' better represents the unified storage system for all AI-generated artifacts across different tools.
1 parent 6a87c7f
Changed files (3)
dots
pi
dots/pi/agent/extensions/session-history/index.ts โ†’ dots/pi/agent/extensions/ai-storage/index.ts
@@ -1,21 +1,23 @@
 /**
- * Session History Extension for Pi
+ * AI Storage Extension for Pi
  *
- * Integrates pi with unified AI agent storage.
- * Auto-detects the tool being used (pi, claude, copilot, etc.)
+ * Unified storage for AI-generated artifacts across all AI coding tools.
+ * Auto-detects the tool being used (pi, claude, copilot, cursor, etc.)
  *
  * Features:
- * - /save-session: Triggers AI to generate and save session summary
- * - /session-log: Shows today's session activity
+ * - /save-session: Generate and save conversation summaries
+ * - /session-log: View today's session activity
+ * - /list-sessions: Browse and search session history
+ * - Automatic saving of research, plans, and learnings via AI tools
  * - Auto-logs session starts
  *
  * Storage locations (XDG-compliant):
  * - Sessions: ~/.local/share/ai/sessions/YYYY-MM/*.md
- * - Plans: ~/.local/share/ai/plans/*.md (no date prefix)
- * - Learnings: ~/.local/share/ai/learnings/YYYY-MM/*.md
  * - Research: ~/.local/share/ai/research/YYYY-MM/*.md
+ * - Plans: ~/.local/share/ai/plans/*.md (no date prefix, timeless)
+ * - Learnings: ~/.local/share/ai/learnings/YYYY-MM/*.md
  *
- * Compatible with Claude Code, pi, opencode, and other AI coding tools.
+ * Compatible with Claude Code, pi, opencode, cursor, and other AI coding tools.
  */
 
 import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
dots/pi/agent/extensions/session-history/package-lock.json โ†’ dots/pi/agent/extensions/ai-storage/package-lock.json
File renamed without changes
dots/pi/agent/extensions/session-history/package.json โ†’ dots/pi/agent/extensions/ai-storage/package.json
@@ -1,7 +1,7 @@
 {
-  "name": "session-history",
+  "name": "ai-storage",
   "version": "1.0.0",
-  "description": "Session history management for pi with unified AI agent storage",
+  "description": "Unified storage for AI-generated artifacts (sessions, research, plans, learnings)",
   "type": "module",
   "dependencies": {
     "chrono-node": "^2.9.0"