cogpit-memory 0.1.4 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -72,13 +72,17 @@ cogpit-memory search "authentication" # Cross-session sea
72
72
  cogpit-memory search "auth" --session <sessionId> # Single session
73
73
  cogpit-memory search "bug" --max-age 30d --limit 50 # Custom window
74
74
  cogpit-memory search "AuthProvider" --case-sensitive # Case-sensitive
75
+ cogpit-memory search "auth" --limit 200 --session-limit 50 # 50 unique sessions
76
+ cogpit-memory search "bug" --session-limit 20 --hits-per-session 2 # Compact results
75
77
  ```
76
78
 
77
79
  | Flag | Default | Description |
78
80
  |------|---------|-------------|
79
81
  | `--session` | all | Scope to single session |
80
82
  | `--max-age` | `5d` | Time window — any duration (`5d`, `30d`, `365d`) |
81
- | `--limit` | `20` | Max returned hits |
83
+ | `--limit` | `20` | Max total hits returned |
84
+ | `--session-limit` | all | Cap unique sessions in results |
85
+ | `--hits-per-session` | all | Max hits kept per session |
82
86
  | `--case-sensitive` | `false` | Case sensitivity |
83
87
 
84
88
  Each result includes the `cwd` (working directory where the session ran) and an array of hits. Each hit includes a `location` string (e.g. `turn/3/assistantMessage`, `agent/a7f3bc2/toolCall/tc1/result`) that maps directly to L2/L3 drill-down commands.