claude-jacked 0.2.3__tar.gz → 0.2.7__tar.gz
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.
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/PKG-INFO +123 -26
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/README.md +122 -25
- claude_jacked-0.2.7/design/session_indexing_improvements.md +1286 -0
- claude_jacked-0.2.7/install.sh +39 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/jacked/cli.py +364 -28
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/jacked/client.py +118 -1
- claude_jacked-0.2.7/jacked/data/skills/jacked/SKILL.md +162 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/jacked/indexer.py +166 -66
- claude_jacked-0.2.7/jacked/retriever.py +524 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/jacked/searcher.py +61 -13
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/jacked/transcript.py +339 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/pyproject.toml +1 -1
- claude_jacked-0.2.7/uninstall.sh +26 -0
- claude_jacked-0.2.3/jacked/retriever.py +0 -272
- claude_jacked-0.2.3/skills/jacked/SKILL.md +0 -132
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/.claude/settings.local.json +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/.github/workflows/publish.yml +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/.gitignore +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/LICENSE +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/docs/DESIGN.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/jacked/__init__.py +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/jacked/config.py +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/code-simplicity-reviewer.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/defensive-error-handler.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/double-check-reviewer.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/git-pr-workflow-manager.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/issue-pr-coordinator.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/pr-workflow-checker.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/readme-maintainer.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/test-coverage-engineer.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/test-coverage-improver.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/agents/wiki-documentation-architect.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/commands/dc.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7/jacked/data}/commands/pr.md +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/tests/__init__.py +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/tests/test_config.py +0 -0
- {claude_jacked-0.2.3 → claude_jacked-0.2.7}/tests/test_transcript.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: claude-jacked
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7
|
|
4
4
|
Summary: Cross-machine semantic search for Claude Code sessions
|
|
5
5
|
Project-URL: Homepage, https://github.com/jackneil/claude-jacked
|
|
6
6
|
Project-URL: Repository, https://github.com/jackneil/claude-jacked
|
|
@@ -30,9 +30,25 @@ Description-Content-Type: text/markdown
|
|
|
30
30
|
|
|
31
31
|
Supercharge your Claude Code workflow with cross-machine session search, review agents, and workflow commands.
|
|
32
32
|
|
|
33
|
-
## Install
|
|
33
|
+
## Quick Install
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
**One-liner (Linux/macOS/Git Bash):**
|
|
36
|
+
```bash
|
|
37
|
+
curl -sSL https://raw.githubusercontent.com/jackneil/claude-jacked/master/install.sh | bash
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Or manual two-step:**
|
|
41
|
+
```bash
|
|
42
|
+
pipx install claude-jacked && jacked install
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Then set up Qdrant credentials (see [Qdrant Setup](#set-up-qdrant-cloud)) and run `jacked backfill`.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Guided Install (Copy Into Claude Code)
|
|
50
|
+
|
|
51
|
+
> 📋 [View on GitHub](https://github.com/jackneil/claude-jacked#guided-install-copy-into-claude-code) for copy button
|
|
36
52
|
|
|
37
53
|
```
|
|
38
54
|
Install claude-jacked for me. First check what's already set up, then help me with anything missing:
|
|
@@ -56,12 +72,11 @@ REPORT what's already configured vs what's missing before proceeding.
|
|
|
56
72
|
SETUP PHASE (only do steps that are missing):
|
|
57
73
|
1. If no Python 3.11+: help install miniconda
|
|
58
74
|
2. If no pipx: pip install pipx && pipx ensurepath
|
|
59
|
-
3. If jacked not installed: pipx install claude-jacked
|
|
75
|
+
3. If jacked not installed: pipx install claude-jacked && jacked install
|
|
60
76
|
4. If no Qdrant credentials anywhere: walk me through cloud.qdrant.io setup
|
|
61
77
|
5. If env vars in Windows but not bash: add export lines to ~/.bashrc, then source it
|
|
62
78
|
6. If env vars missing entirely: help add to shell profile
|
|
63
|
-
7. If
|
|
64
|
-
8. If no indexed sessions: jacked backfill
|
|
79
|
+
7. If no indexed sessions: jacked backfill
|
|
65
80
|
|
|
66
81
|
VERIFY: jacked status && jacked configure --show
|
|
67
82
|
|
|
@@ -107,7 +122,7 @@ The goal: never lose useful context, never repeat solved problems, catch issues
|
|
|
107
122
|
|
|
108
123
|
## Manual Install
|
|
109
124
|
|
|
110
|
-
### Install the CLI
|
|
125
|
+
### Step 1: Install the CLI
|
|
111
126
|
|
|
112
127
|
**Use pipx** (recommended - installs globally, always on PATH):
|
|
113
128
|
|
|
@@ -119,7 +134,21 @@ Don't have pipx? `pip install pipx && pipx ensurepath`
|
|
|
119
134
|
|
|
120
135
|
**Why not regular pip?** If you `pip install` into a conda env or virtualenv, the `jacked` command only works when that env is active. Claude Code hooks run in a fresh shell without your env activated → `jacked: command not found`. pipx avoids this by installing to an isolated global location that's always on PATH.
|
|
121
136
|
|
|
122
|
-
###
|
|
137
|
+
### Step 2: Install Claude Code Integration
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
jacked install
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
This installs:
|
|
144
|
+
- All agents to `~/.claude/agents/`
|
|
145
|
+
- All commands to `~/.claude/commands/`
|
|
146
|
+
- The `/jacked` skill to `~/.claude/skills/`
|
|
147
|
+
- Auto-index hook (indexes sessions after every Claude response)
|
|
148
|
+
|
|
149
|
+
Restart Claude Code after running this.
|
|
150
|
+
|
|
151
|
+
### Step 3: Set Up Qdrant Cloud
|
|
123
152
|
|
|
124
153
|
The session search features require Qdrant Cloud for vector storage and embedding:
|
|
125
154
|
|
|
@@ -132,29 +161,31 @@ export QDRANT_CLAUDE_SESSIONS_ENDPOINT="https://your-cluster.qdrant.io"
|
|
|
132
161
|
export QDRANT_CLAUDE_SESSIONS_API_KEY="your-api-key"
|
|
133
162
|
```
|
|
134
163
|
|
|
135
|
-
###
|
|
164
|
+
### Step 4: Index Your Sessions
|
|
136
165
|
|
|
137
166
|
```bash
|
|
138
|
-
jacked
|
|
167
|
+
jacked backfill # Index all existing sessions
|
|
168
|
+
jacked status # Verify it's working
|
|
169
|
+
jacked search "something you worked on before"
|
|
139
170
|
```
|
|
140
171
|
|
|
141
|
-
|
|
142
|
-
- All agents to `~/.claude/agents/`
|
|
143
|
-
- All commands to `~/.claude/commands/`
|
|
144
|
-
- The `/jacked` skill to `~/.claude/skills/`
|
|
145
|
-
- Auto-index hook (indexes sessions after every Claude response)
|
|
172
|
+
**Note:** If you only want the agents and commands (not the session search), you can manually copy just those files from the repo without setting up Qdrant. But the main `jacked` functionality requires it.
|
|
146
173
|
|
|
147
|
-
|
|
174
|
+
---
|
|
148
175
|
|
|
149
|
-
|
|
176
|
+
## Uninstall
|
|
150
177
|
|
|
178
|
+
**One-liner:**
|
|
151
179
|
```bash
|
|
152
|
-
|
|
153
|
-
jacked status # Verify it's working
|
|
154
|
-
jacked search "something you worked on before"
|
|
180
|
+
curl -sSL https://raw.githubusercontent.com/jackneil/claude-jacked/master/uninstall.sh | bash
|
|
155
181
|
```
|
|
156
182
|
|
|
157
|
-
**
|
|
183
|
+
**Or manual two-step:**
|
|
184
|
+
```bash
|
|
185
|
+
jacked uninstall && pipx uninstall claude-jacked
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
This removes hooks, skill, agents, and commands from Claude Code. Your Qdrant index is preserved if you reinstall later.
|
|
158
189
|
|
|
159
190
|
---
|
|
160
191
|
|
|
@@ -281,13 +312,16 @@ jacked search "query" # Semantic search with multi-factor ranking
|
|
|
281
312
|
jacked search "query" --mine # Only your sessions
|
|
282
313
|
jacked search "query" --user sarah # Only this teammate's sessions
|
|
283
314
|
jacked search "query" --repo path # Boost results from this repo
|
|
315
|
+
jacked search "query" --type chunk # Search full transcript chunks only
|
|
284
316
|
|
|
285
|
-
jacked
|
|
286
|
-
jacked
|
|
317
|
+
jacked sessions # List indexed sessions
|
|
318
|
+
jacked sessions --repo myproject # Filter by repo name
|
|
287
319
|
|
|
288
|
-
jacked retrieve <session_id> #
|
|
289
|
-
jacked retrieve <
|
|
290
|
-
jacked retrieve <id> --
|
|
320
|
+
jacked retrieve <session_id> # Smart mode: plan + summaries + labels
|
|
321
|
+
jacked retrieve <id> --mode full # Get full transcript (huge)
|
|
322
|
+
jacked retrieve <id> --mode plan # Just the plan file
|
|
323
|
+
jacked retrieve <id> --mode agents # Just subagent summaries
|
|
324
|
+
jacked retrieve <id> --mode labels # Just summary labels (tiny)
|
|
291
325
|
|
|
292
326
|
jacked index /path/to/session.jsonl --repo /path # Index specific session
|
|
293
327
|
jacked backfill # Index all existing sessions
|
|
@@ -295,7 +329,11 @@ jacked backfill --force # Re-index everything
|
|
|
295
329
|
|
|
296
330
|
jacked status # Check Qdrant connectivity
|
|
297
331
|
jacked delete <session_id> # Remove session from index
|
|
332
|
+
jacked cleardb # Delete all YOUR indexed data (requires confirmation)
|
|
298
333
|
jacked install # Install hook + skill + agents + commands
|
|
334
|
+
jacked install --sounds # Also install sound notification hooks
|
|
335
|
+
jacked uninstall # Remove hook + skill + agents + commands
|
|
336
|
+
jacked uninstall --sounds # Remove only sound hooks
|
|
299
337
|
jacked configure # Show config help
|
|
300
338
|
jacked configure --show # Show current config values
|
|
301
339
|
```
|
|
@@ -326,6 +364,44 @@ jacked configure --show # Show current config values
|
|
|
326
364
|
└─────────────────────────────────────────────────────────────┘
|
|
327
365
|
```
|
|
328
366
|
|
|
367
|
+
### Smart Retrieval (v0.2.6+)
|
|
368
|
+
|
|
369
|
+
Sessions are indexed with multiple content types for efficient retrieval:
|
|
370
|
+
|
|
371
|
+
| Content Type | What It Contains | Token Cost |
|
|
372
|
+
|--------------|------------------|------------|
|
|
373
|
+
| `plan` | Full implementation strategy from plan files | ~500-2K |
|
|
374
|
+
| `subagent_summary` | Rich summaries from exploration/planning agents | ~200-500 each |
|
|
375
|
+
| `summary_label` | Tiny chapter titles from auto-compaction | ~10-20 each |
|
|
376
|
+
| `user_message` | First 5 user messages for intent matching | ~100-500 each |
|
|
377
|
+
| `chunk` | Full transcript chunks (legacy) | ~2K each |
|
|
378
|
+
|
|
379
|
+
**Retrieval Modes:**
|
|
380
|
+
|
|
381
|
+
| Mode | What's Included | When to Use |
|
|
382
|
+
|------|-----------------|-------------|
|
|
383
|
+
| `smart` | Plan + agent summaries + labels + user msgs | Default - best balance (~5-10K tokens) |
|
|
384
|
+
| `plan` | Just the plan file | Quick strategic overview |
|
|
385
|
+
| `labels` | Just summary labels | Quick topic check (tiny) |
|
|
386
|
+
| `agents` | All subagent summaries | Deep dive into exploration results |
|
|
387
|
+
| `full` | Everything including transcript | Need full details (50-200K tokens - use sparingly!) |
|
|
388
|
+
|
|
389
|
+
**Why smart mode?** Full transcripts can be 50-200K tokens, which blows up your context window. Smart mode returns the highest-value content (~5-10K tokens) so you get the key decisions and plans without the bloat.
|
|
390
|
+
|
|
391
|
+
**Staleness warnings:** When loading old context, you'll see warnings based on age:
|
|
392
|
+
- 7-30 days: "Code may have changed since this session"
|
|
393
|
+
- 30-90 days: "Treat as starting point for WHERE to look, not WHAT to do"
|
|
394
|
+
- 90+ days: "Historical reference only - verify everything"
|
|
395
|
+
|
|
396
|
+
### Re-indexing After Upgrade
|
|
397
|
+
|
|
398
|
+
If you upgraded from a version before v0.2.6, your existing sessions are indexed as full transcript chunks only. To get smart retrieval:
|
|
399
|
+
|
|
400
|
+
```bash
|
|
401
|
+
jacked cleardb # Wipes YOUR data (not teammates), requires typing "DELETE MY DATA"
|
|
402
|
+
jacked backfill # Re-index with new content types
|
|
403
|
+
```
|
|
404
|
+
|
|
329
405
|
---
|
|
330
406
|
|
|
331
407
|
## Configuration
|
|
@@ -375,6 +451,25 @@ The `jacked install` command adds this to `~/.claude/settings.json`:
|
|
|
375
451
|
}
|
|
376
452
|
```
|
|
377
453
|
|
|
454
|
+
### Sound Notifications
|
|
455
|
+
|
|
456
|
+
Add audio feedback when Claude needs attention or completes a task:
|
|
457
|
+
|
|
458
|
+
```bash
|
|
459
|
+
jacked install --sounds
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
This adds hooks that play:
|
|
463
|
+
- **Notification sound** when Claude requests user input
|
|
464
|
+
- **Completion sound** when Claude finishes a task
|
|
465
|
+
|
|
466
|
+
Works on Windows (PowerShell), macOS (afplay), Linux (paplay), and WSL. Falls back to terminal bell on unsupported systems.
|
|
467
|
+
|
|
468
|
+
To remove only sound hooks (keep everything else):
|
|
469
|
+
```bash
|
|
470
|
+
jacked uninstall --sounds
|
|
471
|
+
```
|
|
472
|
+
|
|
378
473
|
---
|
|
379
474
|
|
|
380
475
|
## Security Warning
|
|
@@ -390,6 +485,8 @@ Recommendations:
|
|
|
390
485
|
- Keep your Qdrant API key secure
|
|
391
486
|
- Consider self-hosting Qdrant for sensitive work
|
|
392
487
|
|
|
488
|
+
**Data isolation:** The `cleardb` command only deletes data belonging to the current user (based on `JACKED_USER_NAME`). Teammates' data is unaffected.
|
|
489
|
+
|
|
393
490
|
---
|
|
394
491
|
|
|
395
492
|
## Troubleshooting
|
|
@@ -2,9 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
Supercharge your Claude Code workflow with cross-machine session search, review agents, and workflow commands.
|
|
4
4
|
|
|
5
|
-
## Install
|
|
5
|
+
## Quick Install
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**One-liner (Linux/macOS/Git Bash):**
|
|
8
|
+
```bash
|
|
9
|
+
curl -sSL https://raw.githubusercontent.com/jackneil/claude-jacked/master/install.sh | bash
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
**Or manual two-step:**
|
|
13
|
+
```bash
|
|
14
|
+
pipx install claude-jacked && jacked install
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Then set up Qdrant credentials (see [Qdrant Setup](#set-up-qdrant-cloud)) and run `jacked backfill`.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Guided Install (Copy Into Claude Code)
|
|
22
|
+
|
|
23
|
+
> 📋 [View on GitHub](https://github.com/jackneil/claude-jacked#guided-install-copy-into-claude-code) for copy button
|
|
8
24
|
|
|
9
25
|
```
|
|
10
26
|
Install claude-jacked for me. First check what's already set up, then help me with anything missing:
|
|
@@ -28,12 +44,11 @@ REPORT what's already configured vs what's missing before proceeding.
|
|
|
28
44
|
SETUP PHASE (only do steps that are missing):
|
|
29
45
|
1. If no Python 3.11+: help install miniconda
|
|
30
46
|
2. If no pipx: pip install pipx && pipx ensurepath
|
|
31
|
-
3. If jacked not installed: pipx install claude-jacked
|
|
47
|
+
3. If jacked not installed: pipx install claude-jacked && jacked install
|
|
32
48
|
4. If no Qdrant credentials anywhere: walk me through cloud.qdrant.io setup
|
|
33
49
|
5. If env vars in Windows but not bash: add export lines to ~/.bashrc, then source it
|
|
34
50
|
6. If env vars missing entirely: help add to shell profile
|
|
35
|
-
7. If
|
|
36
|
-
8. If no indexed sessions: jacked backfill
|
|
51
|
+
7. If no indexed sessions: jacked backfill
|
|
37
52
|
|
|
38
53
|
VERIFY: jacked status && jacked configure --show
|
|
39
54
|
|
|
@@ -79,7 +94,7 @@ The goal: never lose useful context, never repeat solved problems, catch issues
|
|
|
79
94
|
|
|
80
95
|
## Manual Install
|
|
81
96
|
|
|
82
|
-
### Install the CLI
|
|
97
|
+
### Step 1: Install the CLI
|
|
83
98
|
|
|
84
99
|
**Use pipx** (recommended - installs globally, always on PATH):
|
|
85
100
|
|
|
@@ -91,7 +106,21 @@ Don't have pipx? `pip install pipx && pipx ensurepath`
|
|
|
91
106
|
|
|
92
107
|
**Why not regular pip?** If you `pip install` into a conda env or virtualenv, the `jacked` command only works when that env is active. Claude Code hooks run in a fresh shell without your env activated → `jacked: command not found`. pipx avoids this by installing to an isolated global location that's always on PATH.
|
|
93
108
|
|
|
94
|
-
###
|
|
109
|
+
### Step 2: Install Claude Code Integration
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
jacked install
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
This installs:
|
|
116
|
+
- All agents to `~/.claude/agents/`
|
|
117
|
+
- All commands to `~/.claude/commands/`
|
|
118
|
+
- The `/jacked` skill to `~/.claude/skills/`
|
|
119
|
+
- Auto-index hook (indexes sessions after every Claude response)
|
|
120
|
+
|
|
121
|
+
Restart Claude Code after running this.
|
|
122
|
+
|
|
123
|
+
### Step 3: Set Up Qdrant Cloud
|
|
95
124
|
|
|
96
125
|
The session search features require Qdrant Cloud for vector storage and embedding:
|
|
97
126
|
|
|
@@ -104,29 +133,31 @@ export QDRANT_CLAUDE_SESSIONS_ENDPOINT="https://your-cluster.qdrant.io"
|
|
|
104
133
|
export QDRANT_CLAUDE_SESSIONS_API_KEY="your-api-key"
|
|
105
134
|
```
|
|
106
135
|
|
|
107
|
-
###
|
|
136
|
+
### Step 4: Index Your Sessions
|
|
108
137
|
|
|
109
138
|
```bash
|
|
110
|
-
jacked
|
|
139
|
+
jacked backfill # Index all existing sessions
|
|
140
|
+
jacked status # Verify it's working
|
|
141
|
+
jacked search "something you worked on before"
|
|
111
142
|
```
|
|
112
143
|
|
|
113
|
-
|
|
114
|
-
- All agents to `~/.claude/agents/`
|
|
115
|
-
- All commands to `~/.claude/commands/`
|
|
116
|
-
- The `/jacked` skill to `~/.claude/skills/`
|
|
117
|
-
- Auto-index hook (indexes sessions after every Claude response)
|
|
144
|
+
**Note:** If you only want the agents and commands (not the session search), you can manually copy just those files from the repo without setting up Qdrant. But the main `jacked` functionality requires it.
|
|
118
145
|
|
|
119
|
-
|
|
146
|
+
---
|
|
120
147
|
|
|
121
|
-
|
|
148
|
+
## Uninstall
|
|
122
149
|
|
|
150
|
+
**One-liner:**
|
|
123
151
|
```bash
|
|
124
|
-
|
|
125
|
-
jacked status # Verify it's working
|
|
126
|
-
jacked search "something you worked on before"
|
|
152
|
+
curl -sSL https://raw.githubusercontent.com/jackneil/claude-jacked/master/uninstall.sh | bash
|
|
127
153
|
```
|
|
128
154
|
|
|
129
|
-
**
|
|
155
|
+
**Or manual two-step:**
|
|
156
|
+
```bash
|
|
157
|
+
jacked uninstall && pipx uninstall claude-jacked
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
This removes hooks, skill, agents, and commands from Claude Code. Your Qdrant index is preserved if you reinstall later.
|
|
130
161
|
|
|
131
162
|
---
|
|
132
163
|
|
|
@@ -253,13 +284,16 @@ jacked search "query" # Semantic search with multi-factor ranking
|
|
|
253
284
|
jacked search "query" --mine # Only your sessions
|
|
254
285
|
jacked search "query" --user sarah # Only this teammate's sessions
|
|
255
286
|
jacked search "query" --repo path # Boost results from this repo
|
|
287
|
+
jacked search "query" --type chunk # Search full transcript chunks only
|
|
256
288
|
|
|
257
|
-
jacked
|
|
258
|
-
jacked
|
|
289
|
+
jacked sessions # List indexed sessions
|
|
290
|
+
jacked sessions --repo myproject # Filter by repo name
|
|
259
291
|
|
|
260
|
-
jacked retrieve <session_id> #
|
|
261
|
-
jacked retrieve <
|
|
262
|
-
jacked retrieve <id> --
|
|
292
|
+
jacked retrieve <session_id> # Smart mode: plan + summaries + labels
|
|
293
|
+
jacked retrieve <id> --mode full # Get full transcript (huge)
|
|
294
|
+
jacked retrieve <id> --mode plan # Just the plan file
|
|
295
|
+
jacked retrieve <id> --mode agents # Just subagent summaries
|
|
296
|
+
jacked retrieve <id> --mode labels # Just summary labels (tiny)
|
|
263
297
|
|
|
264
298
|
jacked index /path/to/session.jsonl --repo /path # Index specific session
|
|
265
299
|
jacked backfill # Index all existing sessions
|
|
@@ -267,7 +301,11 @@ jacked backfill --force # Re-index everything
|
|
|
267
301
|
|
|
268
302
|
jacked status # Check Qdrant connectivity
|
|
269
303
|
jacked delete <session_id> # Remove session from index
|
|
304
|
+
jacked cleardb # Delete all YOUR indexed data (requires confirmation)
|
|
270
305
|
jacked install # Install hook + skill + agents + commands
|
|
306
|
+
jacked install --sounds # Also install sound notification hooks
|
|
307
|
+
jacked uninstall # Remove hook + skill + agents + commands
|
|
308
|
+
jacked uninstall --sounds # Remove only sound hooks
|
|
271
309
|
jacked configure # Show config help
|
|
272
310
|
jacked configure --show # Show current config values
|
|
273
311
|
```
|
|
@@ -298,6 +336,44 @@ jacked configure --show # Show current config values
|
|
|
298
336
|
└─────────────────────────────────────────────────────────────┘
|
|
299
337
|
```
|
|
300
338
|
|
|
339
|
+
### Smart Retrieval (v0.2.6+)
|
|
340
|
+
|
|
341
|
+
Sessions are indexed with multiple content types for efficient retrieval:
|
|
342
|
+
|
|
343
|
+
| Content Type | What It Contains | Token Cost |
|
|
344
|
+
|--------------|------------------|------------|
|
|
345
|
+
| `plan` | Full implementation strategy from plan files | ~500-2K |
|
|
346
|
+
| `subagent_summary` | Rich summaries from exploration/planning agents | ~200-500 each |
|
|
347
|
+
| `summary_label` | Tiny chapter titles from auto-compaction | ~10-20 each |
|
|
348
|
+
| `user_message` | First 5 user messages for intent matching | ~100-500 each |
|
|
349
|
+
| `chunk` | Full transcript chunks (legacy) | ~2K each |
|
|
350
|
+
|
|
351
|
+
**Retrieval Modes:**
|
|
352
|
+
|
|
353
|
+
| Mode | What's Included | When to Use |
|
|
354
|
+
|------|-----------------|-------------|
|
|
355
|
+
| `smart` | Plan + agent summaries + labels + user msgs | Default - best balance (~5-10K tokens) |
|
|
356
|
+
| `plan` | Just the plan file | Quick strategic overview |
|
|
357
|
+
| `labels` | Just summary labels | Quick topic check (tiny) |
|
|
358
|
+
| `agents` | All subagent summaries | Deep dive into exploration results |
|
|
359
|
+
| `full` | Everything including transcript | Need full details (50-200K tokens - use sparingly!) |
|
|
360
|
+
|
|
361
|
+
**Why smart mode?** Full transcripts can be 50-200K tokens, which blows up your context window. Smart mode returns the highest-value content (~5-10K tokens) so you get the key decisions and plans without the bloat.
|
|
362
|
+
|
|
363
|
+
**Staleness warnings:** When loading old context, you'll see warnings based on age:
|
|
364
|
+
- 7-30 days: "Code may have changed since this session"
|
|
365
|
+
- 30-90 days: "Treat as starting point for WHERE to look, not WHAT to do"
|
|
366
|
+
- 90+ days: "Historical reference only - verify everything"
|
|
367
|
+
|
|
368
|
+
### Re-indexing After Upgrade
|
|
369
|
+
|
|
370
|
+
If you upgraded from a version before v0.2.6, your existing sessions are indexed as full transcript chunks only. To get smart retrieval:
|
|
371
|
+
|
|
372
|
+
```bash
|
|
373
|
+
jacked cleardb # Wipes YOUR data (not teammates), requires typing "DELETE MY DATA"
|
|
374
|
+
jacked backfill # Re-index with new content types
|
|
375
|
+
```
|
|
376
|
+
|
|
301
377
|
---
|
|
302
378
|
|
|
303
379
|
## Configuration
|
|
@@ -347,6 +423,25 @@ The `jacked install` command adds this to `~/.claude/settings.json`:
|
|
|
347
423
|
}
|
|
348
424
|
```
|
|
349
425
|
|
|
426
|
+
### Sound Notifications
|
|
427
|
+
|
|
428
|
+
Add audio feedback when Claude needs attention or completes a task:
|
|
429
|
+
|
|
430
|
+
```bash
|
|
431
|
+
jacked install --sounds
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
This adds hooks that play:
|
|
435
|
+
- **Notification sound** when Claude requests user input
|
|
436
|
+
- **Completion sound** when Claude finishes a task
|
|
437
|
+
|
|
438
|
+
Works on Windows (PowerShell), macOS (afplay), Linux (paplay), and WSL. Falls back to terminal bell on unsupported systems.
|
|
439
|
+
|
|
440
|
+
To remove only sound hooks (keep everything else):
|
|
441
|
+
```bash
|
|
442
|
+
jacked uninstall --sounds
|
|
443
|
+
```
|
|
444
|
+
|
|
350
445
|
---
|
|
351
446
|
|
|
352
447
|
## Security Warning
|
|
@@ -362,6 +457,8 @@ Recommendations:
|
|
|
362
457
|
- Keep your Qdrant API key secure
|
|
363
458
|
- Consider self-hosting Qdrant for sensitive work
|
|
364
459
|
|
|
460
|
+
**Data isolation:** The `cleardb` command only deletes data belonging to the current user (based on `JACKED_USER_NAME`). Teammates' data is unaffected.
|
|
461
|
+
|
|
365
462
|
---
|
|
366
463
|
|
|
367
464
|
## Troubleshooting
|