build(obelisk): let Claude Code search its own session history

- SQLite + FTS5 index over ~/.claude JSONL transcripts.
  - Agent writes JS queries at runtime — same sandbox pattern as workflows.
  - Covers sessions, subagents, workflow executions, tool calls, and full-text search.
This commit is contained in:
tommy0103
2026-05-30 03:21:35 +08:00
commit bc9b6dde72
10 changed files with 1307 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 90" width="360" height="90">
<defs>
<linearGradient id="aurora" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#ec4899" stop-opacity="0"/>
<stop offset="0.5" stop-color="#a855f7" stop-opacity="0.55"/>
<stop offset="1" stop-color="#6366f1" stop-opacity="0.75"/>
</linearGradient>
<linearGradient id="stone" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#475569"/>
<stop offset="1" stop-color="#1e293b"/>
</linearGradient>
</defs>
<g transform="translate(8 8) scale(0.3125)">
<ellipse cx="120" cy="40" rx="56" ry="40" fill="url(#aurora)"/>
<polygon points="120,40 106,64 134,64" fill="url(#stone)"/>
<polygon points="106,64 120,64 122,212 100,212" fill="url(#stone)"/>
<polygon points="120,64 134,64 140,212 122,212" fill="#1e293b"/>
<circle cx="80" cy="30" r="1.2" fill="#a855f7"/>
<circle cx="150" cy="20" r="1.5" fill="#6366f1"/>
</g>
<text x="100" y="58" font-family="Iowan Old Style, Charter, Georgia, serif" font-size="36" font-weight="500" fill="#1f2328" letter-spacing="-0.01em">Obelisk</text>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB