chasm-cli 2.0.0

Universal chat session manager - harvest, merge, and analyze AI chat history from VS Code, Cursor, and other editors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
{% extends "base.html" %}

{% block hero %}
{% if page and page.is_homepage %}
<style>
  @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;800;900&family=Exo+2:wght@300;400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

  .chasm-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #010408 0%, #0a0e17 40%, #111827 100%);
    overflow: hidden;
    padding: 2rem;
  }

  .chasm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
      radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 80% 60%, rgba(0, 201, 167, 0.04) 0%, transparent 50%);
    pointer-events: none;
  }

  /* Stars */
  .chasm-hero .stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .chasm-hero .star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 4s ease-in-out infinite;
  }
  @keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.6; }
  }

  .chasm-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
  }

  .chasm-hero__logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
  }

  .chasm-hero__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #00d4ff 0%, #00c9a7 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem;
    line-height: 1.1;
  }

  .chasm-hero__subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: #94a3b8;
    margin: 0 0 1rem;
    letter-spacing: 0.06em;
  }

  .chasm-hero__tagline {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
  }

  .chasm-hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }

  .chasm-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .chasm-hero__btn--primary {
    background: linear-gradient(135deg, #00d4ff 0%, #00c9a7 100%);
    color: #010408;
  }
  .chasm-hero__btn--primary:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
  }

  .chasm-hero__btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid #1e293b;
  }
  .chasm-hero__btn--secondary:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
  }

  .chasm-hero__status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #00c9a7;
    letter-spacing: 0.08em;
    margin-bottom: 3rem;
  }

  /* Stats bar */
  .chasm-hero__stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
  }

  .chasm-hero__stat {
    text-align: center;
  }

  .chasm-hero__stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00d4ff;
    display: block;
  }

  .chasm-hero__stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-top: 0.25rem;
    display: block;
  }

  /* Features grid */
  .chasm-hero__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin-bottom: 3rem;
  }

  .chasm-hero__feature {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 1.2rem;
    text-align: left;
    transition: all 0.3s ease;
  }

  .chasm-hero__feature:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
    transform: translateY(-2px);
  }

  .chasm-hero__feature-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .chasm-hero__feature-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-bottom: 0.3rem;
  }

  .chasm-hero__feature-desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
  }

  /* Terminal preview */
  .chasm-hero__terminal {
    background: #0a0e17;
    border: 1px solid #1e293b;
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    text-align: left;
    overflow: hidden;
  }

  .chasm-hero__terminal-bar {
    background: #111827;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #1e293b;
  }

  .chasm-hero__terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }

  .chasm-hero__terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #64748b;
    margin-left: 0.5rem;
    letter-spacing: 0.05em;
  }

  .chasm-hero__terminal-body {
    padding: 1rem 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .t-prompt { color: #00c9a7; }
  .t-cmd { color: #e2e8f0; }
  .t-flag { color: #7c3aed; }
  .t-path { color: #f59e0b; }
  .t-ok { color: #22c55e; }
  .t-dim { color: #475569; }
  .t-cyan { color: #00d4ff; }

  @media (max-width: 768px) {
    .chasm-hero__title { font-size: 2.8rem; }
    .chasm-hero__features { grid-template-columns: repeat(2, 1fr); }
    .chasm-hero__stats { gap: 1.5rem; }
  }

  @media (max-width: 480px) {
    .chasm-hero__features { grid-template-columns: 1fr; }
  }
</style>

<section class="chasm-hero">
  <!-- Stars -->
  <div class="stars">
    <div class="star" style="top:8%;left:15%;animation-delay:0s"></div>
    <div class="star" style="top:12%;left:65%;animation-delay:1.2s"></div>
    <div class="star" style="top:25%;left:30%;animation-delay:0.5s"></div>
    <div class="star" style="top:35%;left:80%;animation-delay:2s"></div>
    <div class="star" style="top:5%;left:45%;animation-delay:1.8s"></div>
    <div class="star" style="top:50%;left:10%;animation-delay:0.8s"></div>
    <div class="star" style="top:45%;left:90%;animation-delay:3s"></div>
    <div class="star" style="top:60%;left:55%;animation-delay:1.5s"></div>
    <div class="star" style="top:70%;left:20%;animation-delay:2.5s"></div>
    <div class="star" style="top:80%;left:70%;animation-delay:0.3s"></div>
  </div>

  <div class="chasm-hero__content">
    <!-- Logo SVG -->
    <svg class="chasm-hero__logo" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
      <defs>
        <linearGradient id="g1" x1="0" y1="0" x2="120" y2="120" gradientUnits="userSpaceOnUse">
          <stop offset="0%" stop-color="#00d4ff"/>
          <stop offset="50%" stop-color="#00c9a7"/>
          <stop offset="100%" stop-color="#7c3aed"/>
        </linearGradient>
      </defs>
      <!-- Bridge arch -->
      <path d="M15 85 Q60 20 105 85" stroke="url(#g1)" stroke-width="4" fill="none" stroke-linecap="round"/>
      <!-- Void below -->
      <path d="M35 85 L45 105 M55 85 L60 110 M75 85 L70 105 M85 85 L80 100" stroke="#1e293b" stroke-width="2" stroke-linecap="round" opacity="0.5"/>
      <!-- Pillars -->
      <line x1="30" y1="65" x2="30" y2="85" stroke="#00d4ff" stroke-width="3" stroke-linecap="round"/>
      <line x1="90" y1="65" x2="90" y2="85" stroke="#00d4ff" stroke-width="3" stroke-linecap="round"/>
      <!-- Data nodes -->
      <circle cx="30" cy="60" r="5" fill="#00d4ff" opacity="0.8"/>
      <circle cx="60" cy="35" r="5" fill="#00c9a7" opacity="0.8"/>
      <circle cx="90" cy="60" r="5" fill="#7c3aed" opacity="0.8"/>
      <!-- Connection lines -->
      <line x1="35" y1="58" x2="55" y2="37" stroke="#00d4ff" stroke-width="1" opacity="0.3"/>
      <line x1="65" y1="37" x2="85" y2="58" stroke="#7c3aed" stroke-width="1" opacity="0.3"/>
    </svg>

    <h1 class="chasm-hero__title">CHASM</h1>
    <p class="chasm-hero__subtitle">Chat Session Manager</p>
    <p class="chasm-hero__tagline">Bridging the divide between AI providers</p>

    <div class="chasm-hero__cta">
      <a href="/getting-started/quickstart/" class="chasm-hero__btn chasm-hero__btn--primary">
        ⚑ Quick Start
      </a>
      <a href="https://github.com/nervosys/chasm" target="_blank" rel="noopener" class="chasm-hero__btn chasm-hero__btn--secondary">
        ⬑ GitHub
      </a>
    </div>

    <div class="chasm-hero__status">
      v1.3.2 β€’ 831 TESTS PASSING β€’ AGPL-3.0
    </div>

    <!-- Stats -->
    <div class="chasm-hero__stats">
      <div class="chasm-hero__stat">
        <span class="chasm-hero__stat-value">20+</span>
        <span class="chasm-hero__stat-label">AI Providers</span>
      </div>
      <div class="chasm-hero__stat">
        <span class="chasm-hero__stat-value">831</span>
        <span class="chasm-hero__stat-label">Tests Passing</span>
      </div>
      <div class="chasm-hero__stat">
        <span class="chasm-hero__stat-value">6</span>
        <span class="chasm-hero__stat-label">Orchestration Modes</span>
      </div>
      <div class="chasm-hero__stat">
        <span class="chasm-hero__stat-value">0</span>
        <span class="chasm-hero__stat-label">Vendor Lock-in</span>
      </div>
    </div>

    <!-- Features -->
    <div class="chasm-hero__features">
      <div class="chasm-hero__feature">
        <div class="chasm-hero__feature-icon">πŸ”„</div>
        <div class="chasm-hero__feature-title">Session Recovery</div>
        <div class="chasm-hero__feature-desc">Recover lost VS Code chat sessions after updates, crashes, or workspace changes.</div>
      </div>
      <div class="chasm-hero__feature">
        <div class="chasm-hero__feature-icon">πŸ”</div>
        <div class="chasm-hero__feature-title">Harvest & Search</div>
        <div class="chasm-hero__feature-desc">Full-text search across all your AI conversations from every provider.</div>
      </div>
      <div class="chasm-hero__feature">
        <div class="chasm-hero__feature-icon">▢️</div>
        <div class="chasm-hero__feature-title">Run & Record</div>
        <div class="chasm-hero__feature-desc">Chat with any provider. Real-time recording ensures nothing is lost.</div>
      </div>
      <div class="chasm-hero__feature">
        <div class="chasm-hero__feature-icon">πŸ€–</div>
        <div class="chasm-hero__feature-title">Agentic Coding</div>
        <div class="chasm-hero__feature-desc">Multi-agent orchestration β€” sequential, parallel, swarm, and more.</div>
      </div>
      <div class="chasm-hero__feature">
        <div class="chasm-hero__feature-icon">πŸ”€</div>
        <div class="chasm-hero__feature-title">Merge & Consolidate</div>
        <div class="chasm-hero__feature-desc">Combine sessions across workspaces and time periods into one timeline.</div>
      </div>
      <div class="chasm-hero__feature">
        <div class="chasm-hero__feature-icon">⏺️</div>
        <div class="chasm-hero__feature-title">Real-time Recording</div>
        <div class="chasm-hero__feature-desc">WebSocket + REST recording captures every conversation as it happens.</div>
      </div>
    </div>

    <!-- Terminal -->
    <div class="chasm-hero__terminal">
      <div class="chasm-hero__terminal-bar">
        <div class="chasm-hero__terminal-dot" style="background:#ff5f57"></div>
        <div class="chasm-hero__terminal-dot" style="background:#febc2e"></div>
        <div class="chasm-hero__terminal-dot" style="background:#28c840"></div>
        <span class="chasm-hero__terminal-title">β–Έ CHASM TERMINAL</span>
      </div>
      <div class="chasm-hero__terminal-body">
        <span class="t-prompt">$</span> <span class="t-cmd">cargo install chasm</span><br>
        <span class="t-dim">  Installing chasm v1.3.2...</span><br>
        <span class="t-ok">  βœ“ Installed</span><br><br>
        <span class="t-prompt">$</span> <span class="t-cmd">chasm harvest run</span><br>
        <span class="t-dim">  Scanning providers...</span><br>
        <span class="t-ok">  βœ“ Copilot</span> <span class="t-dim">β€” 47 sessions</span><br>
        <span class="t-ok">  βœ“ Cursor</span> <span class="t-dim">β€” 12 sessions</span><br>
        <span class="t-ok">  βœ“ Claude Code</span> <span class="t-dim">β€” 8 sessions</span><br>
        <span class="t-cyan">  Harvested: 67 sessions, 3,841 messages</span><br><br>
        <span class="t-prompt">$</span> <span class="t-cmd">chasm harvest search</span> <span class="t-flag">"authentication"</span><br>
        <span class="t-cyan">  Found 5 matching sessions β–Έ</span>
      </div>
    </div>
  </div>
</section>
{% endif %}
{% endblock %}