spooling 0.1.3__tar.gz → 0.1.4__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.
Files changed (54) hide show
  1. spooling-0.1.4/PKG-INFO +506 -0
  2. {spooling-0.1.3 → spooling-0.1.4}/pyproject.toml +2 -1
  3. {spooling-0.1.3 → spooling-0.1.4}/spooling/cli.py +236 -0
  4. {spooling-0.1.3 → spooling-0.1.4}/spooling/config.py +1 -1
  5. {spooling-0.1.3 → spooling-0.1.4}/spooling/server.py +55 -0
  6. spooling-0.1.4/spooling/stats.py +563 -0
  7. spooling-0.1.4/spooling.egg-info/PKG-INFO +506 -0
  8. spooling-0.1.3/PKG-INFO +0 -28
  9. spooling-0.1.3/spooling/stats.py +0 -180
  10. spooling-0.1.3/spooling.egg-info/PKG-INFO +0 -28
  11. {spooling-0.1.3 → spooling-0.1.4}/LICENSE +0 -0
  12. {spooling-0.1.3 → spooling-0.1.4}/README.md +0 -0
  13. {spooling-0.1.3 → spooling-0.1.4}/setup.cfg +0 -0
  14. {spooling-0.1.3 → spooling-0.1.4}/spooling/__init__.py +0 -0
  15. {spooling-0.1.3 → spooling-0.1.4}/spooling/agent.py +0 -0
  16. {spooling-0.1.3 → spooling-0.1.4}/spooling/classifiers.py +0 -0
  17. {spooling-0.1.3 → spooling-0.1.4}/spooling/cloud.py +0 -0
  18. {spooling-0.1.3 → spooling-0.1.4}/spooling/db.py +0 -0
  19. {spooling-0.1.3 → spooling-0.1.4}/spooling/embeddings.py +0 -0
  20. {spooling-0.1.3 → spooling-0.1.4}/spooling/evals.py +0 -0
  21. {spooling-0.1.3 → spooling-0.1.4}/spooling/experiments.py +0 -0
  22. {spooling-0.1.3 → spooling-0.1.4}/spooling/ingest.py +0 -0
  23. {spooling-0.1.3 → spooling-0.1.4}/spooling/mcp_server.py +0 -0
  24. {spooling-0.1.3 → spooling-0.1.4}/spooling/parser.py +0 -0
  25. {spooling-0.1.3 → spooling-0.1.4}/spooling/pricing.py +0 -0
  26. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/__init__.py +0 -0
  27. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/antigravity.py +0 -0
  28. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/base.py +0 -0
  29. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/codex.py +0 -0
  30. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/copilot.py +0 -0
  31. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/cortex_code.py +0 -0
  32. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/cursor.py +0 -0
  33. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/gemini.py +0 -0
  34. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/github.py +0 -0
  35. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/gitlab.py +0 -0
  36. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/kiro.py +0 -0
  37. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/opencode.py +0 -0
  38. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/session_file.py +0 -0
  39. {spooling-0.1.3 → spooling-0.1.4}/spooling/providers/windsurf.py +0 -0
  40. {spooling-0.1.3 → spooling-0.1.4}/spooling/redact.py +0 -0
  41. {spooling-0.1.3 → spooling-0.1.4}/spooling/remote_otel.py +0 -0
  42. {spooling-0.1.3 → spooling-0.1.4}/spooling/sdk.py +0 -0
  43. {spooling-0.1.3 → spooling-0.1.4}/spooling/search.py +0 -0
  44. {spooling-0.1.3 → spooling-0.1.4}/spooling/subscription_pricing.py +0 -0
  45. {spooling-0.1.3 → spooling-0.1.4}/spooling/tracing.py +0 -0
  46. {spooling-0.1.3 → spooling-0.1.4}/spooling/watcher.py +0 -0
  47. {spooling-0.1.3 → spooling-0.1.4}/spooling.egg-info/SOURCES.txt +0 -0
  48. {spooling-0.1.3 → spooling-0.1.4}/spooling.egg-info/dependency_links.txt +0 -0
  49. {spooling-0.1.3 → spooling-0.1.4}/spooling.egg-info/entry_points.txt +0 -0
  50. {spooling-0.1.3 → spooling-0.1.4}/spooling.egg-info/requires.txt +0 -0
  51. {spooling-0.1.3 → spooling-0.1.4}/spooling.egg-info/top_level.txt +0 -0
  52. {spooling-0.1.3 → spooling-0.1.4}/tests/test_parser.py +0 -0
  53. {spooling-0.1.3 → spooling-0.1.4}/tests/test_pricing.py +0 -0
  54. {spooling-0.1.3 → spooling-0.1.4}/tests/test_redact.py +0 -0
@@ -0,0 +1,506 @@
1
+ Metadata-Version: 2.4
2
+ Name: spooling
3
+ Version: 0.1.4
4
+ Summary: Local session tracker and semantic search for AI coding assistants
5
+ Author: Parsed Analytics, Inc.
6
+ License-Expression: MIT
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Programming Language :: Python :: 3.11
9
+ Classifier: Programming Language :: Python :: 3.12
10
+ Requires-Python: >=3.11
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: click>=8.1
14
+ Requires-Dist: psycopg[binary]>=3.1
15
+ Requires-Dist: sentence-transformers>=3.0
16
+ Requires-Dist: fastapi>=0.111
17
+ Requires-Dist: uvicorn[standard]>=0.30
18
+ Requires-Dist: jinja2>=3.1
19
+ Requires-Dist: watchdog>=4.0
20
+ Requires-Dist: rich>=13.0
21
+ Requires-Dist: httpx>=0.27
22
+ Requires-Dist: anthropic>=0.40
23
+ Requires-Dist: strands-agents[ollama]>=1.35
24
+ Requires-Dist: strands-agents-evals>=0.1
25
+ Requires-Dist: mcp>=1.27
26
+ Provides-Extra: dev
27
+ Requires-Dist: pytest>=8.0; extra == "dev"
28
+ Requires-Dist: pytest-mock>=3.14; extra == "dev"
29
+ Dynamic: license-file
30
+
31
+ # Spooling
32
+
33
+ Local session tracker and semantic search for AI coding assistants.
34
+
35
+ Track your AI coding sessions across **OpenAI Codex CLI**, **GitHub Copilot**, **Cursor**, **Windsurf**, **Kiro**, **Google Antigravity**, and **opencode**, all in one place. Get usage stats, cost estimates, per-provider breakdowns, semantic search via pgvector, and a built-in AI chat agent to explore your history.
36
+
37
+ **Website:** [spooling.ai](https://spooling.ai)
38
+
39
+ ---
40
+
41
+ ## Prerequisites
42
+
43
+ - **Python 3.11+**
44
+ - **Node.js 18+**
45
+ - **Docker** (for PostgreSQL + pgvector)
46
+ - **pipx** or **uv** (optional, alternative install methods)
47
+ - **Ollama** (optional, for free local AI chat) or an **Anthropic API key**
48
+
49
+ ---
50
+
51
+ ## How it works
52
+
53
+ **Four commands. Zero cloud.**
54
+
55
+ ### 01   Clone & start the database
56
+
57
+ ```bash
58
+ git clone https://github.com/sashimiboi/spooling && cd spooling
59
+ docker compose up -d # postgres + pgvector :5434
60
+ ```
61
+
62
+ ### 02   Install backend + UI
63
+
64
+ Choose one:
65
+
66
+ ```bash
67
+ # pip (recommended)
68
+ python3 -m venv .venv && source .venv/bin/activate
69
+ pip install -e .
70
+
71
+ # pipx
72
+ pipx install .
73
+
74
+ # uv
75
+ uv sync
76
+ ```
77
+
78
+ Then install the UI:
79
+
80
+ ```bash
81
+ cd ui && npm install && cd ..
82
+ ```
83
+
84
+ ### 03   Detect providers & sync
85
+
86
+ ```bash
87
+ spooling init # scan for available providers
88
+ spooling sync # embed every session into pgvector
89
+ ```
90
+
91
+ ### 04   Search & explore
92
+
93
+ ```bash
94
+ spooling ui # API :3002 · MCP :3004 · GUI :3003
95
+ spooling search "that redis race condition"
96
+ ```
97
+
98
+ Open **http://localhost:3003** and you're in.
99
+
100
+ ---
101
+
102
+ ## Connect Spooling to your AI coding agent
103
+
104
+ `spooling ui` automatically exposes an MCP server at `http://127.0.0.1:3004/mcp` (HTTP streamable transport). Any MCP-speaking agent can connect to it and pull context from your local KB mid-conversation. The agent gets tools like `spooling_search`, `spooling_recent_sessions`, `spooling_get_session`, `spooling_workspace_stats`, and `spooling_top_projects`.
105
+
106
+ ### Cursor / Windsurf / Codex / Antigravity
107
+
108
+ Edit your client's MCP config (usually `~/.cursor/mcp.json`, `~/.codeium/windsurf/mcp_config.json`, or the equivalent) and add:
109
+
110
+ ```json
111
+ {
112
+ "mcpServers": {
113
+ "spooling": {
114
+ "type": "http",
115
+ "url": "http://127.0.0.1:3004/mcp"
116
+ }
117
+ }
118
+ }
119
+ ```
120
+
121
+ Restart the client. The `spooling` server and its tools should appear in the MCP panel.
122
+
123
+ ### Generic JSON-RPC smoke test
124
+
125
+ ```bash
126
+ curl -s http://127.0.0.1:3004/mcp \
127
+ -H "Content-Type: application/json" \
128
+ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | jq
129
+ ```
130
+
131
+ Should return the five `spool_*` tools. If you get "connection refused", `spooling ui` is not running (or its ports got squatted, run `lsof -ti :3004 | xargs kill -9` and retry).
132
+
133
+ ---
134
+
135
+ ## CLI Usage
136
+
137
+ All CLI commands require the venv to be active and the database running.
138
+
139
+ ```bash
140
+ source .venv/bin/activate
141
+ ```
142
+
143
+ ### `spooling init`
144
+
145
+ Check database connection and show which AI coding tool providers are detected on your system. This scans default paths for Codex CLI, GitHub Copilot, Cursor, and Windsurf session data.
146
+
147
+ ```bash
148
+ spooling init
149
+ ```
150
+
151
+ ### `spooling sync`
152
+
153
+ Parse and ingest sessions from all connected providers into the database. Chunks and embeds message content into pgvector for semantic search.
154
+
155
+ ```bash
156
+ spooling sync # Full sync with embeddings
157
+ spooling sync --no-embed # Skip embeddings (faster initial sync)
158
+ spooling sync -p cursor # Sync only Cursor sessions
159
+ spooling sync -p codex # Sync only Codex CLI sessions
160
+ ```
161
+
162
+ ### `spooling stats`
163
+
164
+ Show usage statistics - sessions, messages, tool calls, tokens, costs, broken down by project and day.
165
+
166
+ ```bash
167
+ spooling stats # Overview + last 7 days
168
+ spooling stats --week # Weekly breakdown
169
+ spooling stats --days 30 # Last 30 days
170
+ ```
171
+
172
+ ### `spooling search <query>`
173
+
174
+ Semantic search across all your session history using natural language.
175
+
176
+ ```bash
177
+ spooling search "snowflake connector"
178
+ spooling search "authentication bug" -n 5
179
+ spooling search "database migration" -p ~/myproject
180
+ ```
181
+
182
+ Options:
183
+ - `-n, --limit` - Number of results (default: 10)
184
+ - `-p, --project` - Filter by project name
185
+
186
+ ### `spooling watch`
187
+
188
+ Watch all connected provider directories for new session data and auto-sync in real time.
189
+
190
+ ```bash
191
+ spooling watch
192
+ ```
193
+
194
+ ### `spooling serve`
195
+
196
+ Start the API server only (for when you want to run the GUI separately).
197
+
198
+ ```bash
199
+ spooling serve # Default: http://127.0.0.1:3002
200
+ spooling serve --port 8080 # Custom port
201
+ spooling serve --host 0.0.0.0 # Bind to all interfaces
202
+ ```
203
+
204
+ ### `spooling ui`
205
+
206
+ Start the API server, the MCP HTTP server, and the Next.js UI together.
207
+
208
+ ```bash
209
+ spooling ui
210
+ ```
211
+
212
+ ### `spooling mcp`
213
+
214
+ Start the Spooling MCP server on its own. Defaults to streamable-HTTP at
215
+ `http://127.0.0.1:3004/mcp`, which any MCP-compatible agent can connect to
216
+ by URL. `spooling ui` already launches this alongside the API, so you only
217
+ need to run it directly when you want the MCP server without the GUI.
218
+
219
+ ```bash
220
+ spooling mcp # streamable-HTTP at http://127.0.0.1:3004/mcp (default)
221
+ spooling mcp --stdio # stdio transport, for stdio-only clients
222
+ ```
223
+
224
+ ---
225
+
226
+ ## Spooling Cloud (optional)
227
+
228
+ By default Spooling stays 100% local. If you also want your sessions in the
229
+ hosted workspace at [spooling.ai](https://spooling.ai) (so teammates can
230
+ search the same pool, or you can chat with sessions from any browser),
231
+ the CLI ships with a `spooling cloud` subcommand.
232
+
233
+ ### One-time setup
234
+
235
+ 1. Mint an API key in the GUI at `app.spooling.ai/settings/api-keys`
236
+ (looks like `sk_live_...`).
237
+ 2. Save it locally:
238
+
239
+ ```bash
240
+ spooling cloud login --key sk_live_...
241
+ ```
242
+
243
+ The key is stored at `~/.config/spooling/cloud.json` with `0600` perms.
244
+ You can override the API base with `--api-url` or the
245
+ `SPOOLING_CLOUD_URL` env var (default: `https://api.spooling.ai`).
246
+
247
+ ### Push once
248
+
249
+ Send the most recent local sessions up to the cloud:
250
+
251
+ ```bash
252
+ spooling push # 100 sessions, batches of 20
253
+ spooling push --limit 500 # bigger backfill
254
+ ```
255
+
256
+ The server upserts by session id, so re-running is safe.
257
+
258
+ ### Watch (continuous push)
259
+
260
+ Stream new and updated sessions to the cloud on a timer. Stop with
261
+ Ctrl+C.
262
+
263
+ ```bash
264
+ spooling cloud watch # every 60s, 1000 sessions/cycle
265
+ spooling cloud watch --interval 30 # tighter cadence
266
+ spooling cloud watch --lookback 60 # widen the overlap window if you edit old sessions
267
+ ```
268
+
269
+ What it does each cycle:
270
+
271
+ 1. Reads `last_push_at` from `~/.config/spooling/cloud.json`.
272
+ 2. Queries local sessions where `started_at >= last_push_at - lookback`
273
+ (default lookback: 10 minutes, so messages appended to an in-progress
274
+ session get re-uploaded).
275
+ 3. POSTs to `/v1/sessions/batch` in chunks of `--batch` (default 20).
276
+ 4. Advances `last_push_at` to the cycle start on success.
277
+
278
+ Cycles with no new work are silent. If a push fails the watermark is
279
+ not advanced, so the next cycle retries the same window.
280
+
281
+ ### Status / logout
282
+
283
+ ```bash
284
+ spooling cloud status # show what is in the cloud + stored API base
285
+ spooling cloud logout # remove the stored API key
286
+ ```
287
+
288
+ ### Auto-start at login (macOS)
289
+
290
+ Run `spooling cloud watch` as a launchd agent so it survives reboots:
291
+
292
+ ```bash
293
+ cat > ~/Library/LaunchAgents/ai.spooling.cloud-watch.plist <<'PLIST'
294
+ <?xml version="1.0" encoding="UTF-8"?>
295
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
296
+ <plist version="1.0">
297
+ <dict>
298
+ <key>Label</key><string>ai.spooling.cloud-watch</string>
299
+ <key>ProgramArguments</key>
300
+ <array>
301
+ <string>/usr/local/bin/spooling</string>
302
+ <string>cloud</string>
303
+ <string>watch</string>
304
+ </array>
305
+ <key>RunAtLoad</key><true/>
306
+ <key>KeepAlive</key><true/>
307
+ <key>StandardOutPath</key><string>/tmp/spooling-cloud-watch.log</string>
308
+ <key>StandardErrorPath</key><string>/tmp/spooling-cloud-watch.log</string>
309
+ </dict>
310
+ </plist>
311
+ PLIST
312
+ launchctl load ~/Library/LaunchAgents/ai.spooling.cloud-watch.plist
313
+ ```
314
+
315
+ (Adjust the `spooling` path with `which spooling` if it lives elsewhere.)
316
+
317
+ ---
318
+
319
+ ## MCP Endpoint
320
+
321
+ Spooling exposes an MCP server so any AI agent can query your session history
322
+ as a context source. The server runs over **streamable-HTTP** at
323
+ `http://127.0.0.1:3004/mcp` and is started automatically alongside `spooling
324
+ ui`.
325
+
326
+ Drop this into your MCP client config (`~/.mcp.json`, Cursor,
327
+ Codex, or any other streamable-HTTP capable agent):
328
+
329
+ ```json
330
+ {
331
+ "mcpServers": {
332
+ "spooling": {
333
+ "url": "http://127.0.0.1:3004/mcp"
334
+ }
335
+ }
336
+ }
337
+ ```
338
+
339
+ Or register it with an MCP client's config file.
340
+
341
+ The **Settings** page in the GUI shows the endpoint URL, a copy button, and
342
+ the full config snippet so you don't have to remember it.
343
+
344
+ ### Tools exposed
345
+
346
+ | Tool | Purpose |
347
+ |------|---------|
348
+ | `list_traces` | Recent Spooling traces, filterable by provider/project |
349
+ | `get_trace` | Full detail for one trace: header, spans, eval scores |
350
+ | `search_sessions` | Semantic search over embedded session chunks |
351
+ | `get_stats` | Top-line stats: traces, tokens, cost, errors |
352
+ | `get_top_vendors` | Most-used external vendors by tool-call count |
353
+ | `list_evals` | Recent eval runs, optionally filtered by rubric |
354
+ | `list_rubrics` | All configured Strands eval rubrics |
355
+ | `run_eval` | Run a rubric against a trace and persist the result |
356
+
357
+ ### Stdio (legacy clients)
358
+
359
+ For MCP clients that only speak stdio, run `spooling mcp --stdio` and register
360
+ it with the command-based form:
361
+
362
+ ```bash
363
+ # MCP config for stdio transport
364
+ ```
365
+
366
+ ---
367
+
368
+ ## GUI
369
+
370
+ The Spooling GUI runs on **http://localhost:3003** and includes:
371
+
372
+ | Page | Description |
373
+ |------|-------------|
374
+ | **Dashboard** | Overview stats, per-provider breakdown, daily activity chart, projects, top tools, recent sessions |
375
+ | **Sessions** | Browse all sessions with provider labels, filtering, click into any session for full conversation view |
376
+ | **Search** | Semantic search across all session history with similarity scores |
377
+ | **Analytics** | Charts for daily usage, cost trends, token usage, tool distribution, filterable by provider (AG Charts) |
378
+ | **Chat** | AI assistant that can answer questions about your session data (RAG-powered) |
379
+ | **Connections** | Connect/disconnect AI coding tools (Codex, Copilot, Cursor, Windsurf) |
380
+ | **Settings** | Configure the AI chat provider (Ollama or Anthropic) |
381
+
382
+ ### Running the GUI
383
+
384
+ ```bash
385
+ # Terminal 1: API server
386
+ source .venv/bin/activate
387
+ spooling serve
388
+
389
+ # Terminal 2: Next.js dev server
390
+ cd ui
391
+ npm run dev
392
+ ```
393
+
394
+ Or use `spooling ui` to start both at once.
395
+
396
+ ---
397
+
398
+ ## Chat Agent Setup
399
+
400
+ The chat page lets you ask questions about your coding sessions in natural language. It uses RAG - retrieves relevant context from pgvector before answering.
401
+
402
+ ### Option A: Ollama (free, local)
403
+
404
+ ```bash
405
+ # Install Ollama
406
+ brew install ollama
407
+
408
+ # Start the server
409
+ ollama serve
410
+
411
+ # Pull a model
412
+ ollama pull gemma3:4b
413
+ ```
414
+
415
+ Go to **Settings** in the GUI and select Ollama. The model will auto-detect.
416
+
417
+ ### Option B: Anthropic API (bring your own key)
418
+
419
+ Go to **Settings** in the GUI, select Anthropic, and paste your API key from [console.anthropic.com](https://console.anthropic.com).
420
+
421
+ Available models: Sonnet, Haiku, Opus.
422
+
423
+ ---
424
+
425
+ ## Architecture
426
+
427
+ ```
428
+ spooling/
429
+ ├── docker-compose.yml # PostgreSQL + pgvector
430
+ ├── init.sql # Database schema
431
+ ├── pyproject.toml # Python package config
432
+ ├── spooling/ # Python backend
433
+ │ ├── cli.py # Click CLI
434
+ │ ├── config.py # Configuration
435
+ │ ├── db.py # Database connection
436
+ │ ├── providers/ # Provider plugins (codex, copilot, cursor, windsurf)
437
+ │ ├── parser.py # Session JSONL parser
438
+ │ ├── embeddings.py # sentence-transformers (all-MiniLM-L6-v2)
439
+ │ ├── ingest.py # Sync pipeline
440
+ │ ├── search.py # pgvector semantic search
441
+ │ ├── stats.py # Usage statistics
442
+ │ ├── watcher.py # File watcher (watchdog)
443
+ │ ├── agent.py # Chat agent (Ollama + Anthropic)
444
+ │ └── server.py # FastAPI API server
445
+ └── ui/ # Next.js frontend
446
+ ├── next.config.js # API proxy to :3002
447
+ └── src/
448
+ ├── components/ # shadcn/ui components
449
+ ├── lib/ # API helpers
450
+ └── app/(app)/ # Pages (dashboard, sessions, search, etc.)
451
+ ```
452
+
453
+ ### Stack
454
+
455
+ | Layer | Technology |
456
+ |-------|-----------|
457
+ | Database | PostgreSQL 16 + pgvector (Docker) |
458
+ | Embeddings | sentence-transformers / all-MiniLM-L6-v2 (local) |
459
+ | Backend | Python, FastAPI, Click |
460
+ | Frontend | Next.js 14, shadcn/ui, Tailwind CSS, AG Charts |
461
+ | Chat AI | Ollama (local) or Anthropic API |
462
+
463
+ ### Ports
464
+
465
+ | Service | Port |
466
+ |---------|------|
467
+ | PostgreSQL | 5434 |
468
+ | API Server | 3002 |
469
+ | GUI | 3003 |
470
+ | MCP Server (streamable-HTTP) | 3004 |
471
+
472
+ ---
473
+
474
+ ## Environment Variables
475
+
476
+ All optional - defaults work out of the box for local development.
477
+
478
+ | Variable | Default | Description |
479
+ |----------|---------|-------------|
480
+ | `SPOOLING_DB_HOST` | `localhost` | Database host |
481
+ | `SPOOLING_DB_PORT` | `5434` | Database port |
482
+ | `SPOOLING_DB_NAME` | `spooling` | Database name |
483
+ | `SPOOLING_DB_USER` | `spooling` | Database user |
484
+ | `SPOOLING_DB_PASSWORD` | `spooling` | Database password |
485
+ | `SPOOLING_EMBEDDING_MODEL` | `all-MiniLM-L6-v2` | Sentence transformer model |
486
+ | `SPOOLING_UI_HOST` | `127.0.0.1` | API server host |
487
+ | `ANTHROPIC_API_KEY` | - | Anthropic API key (alternative to setting in UI) |
488
+
489
+ ---
490
+
491
+ ## Supported Providers
492
+
493
+ | Provider | Data Location | Format |
494
+ |----------|--------------|--------|
495
+ | **JSONL Sessions** | `~/.sessions/projects/` | UUID-named JSONL files with conversation history, tool calls, git context |
496
+ | **OpenAI Codex CLI** | `~/.codex/sessions/` | `rollout-*.jsonl` files organized by date |
497
+ | **GitHub Copilot** | `~/Library/Application Support/Code/User/workspaceStorage/` | Chat session JSON from VS Code |
498
+ | **Cursor** | `~/Library/Application Support/Cursor/User/workspaceStorage/` | Chat and composer sessions from SQLite |
499
+ | **Windsurf** | `~/Library/Application Support/Windsurf/User/workspaceStorage/` | Chat and Cascade sessions from SQLite |
500
+ | **Kiro** | `~/Library/Application Support/Kiro/User/workspaceStorage/` | AWS Kiro chat and agent sessions from SQLite |
501
+ | **Google Antigravity** | `~/Library/Application Support/Antigravity/User/workspaceStorage/` | Antigravity chat and agent sessions from SQLite |
502
+ | **opencode** | `~/.local/share/opencode/opencode.db` | sst/opencode SQLite database with session/message/part tables (Vercel AI SDK part shape) |
503
+
504
+ Run `spooling init` to see which providers are detected on your system.
505
+
506
+ No data is sent to external servers. Everything runs locally.
@@ -1,7 +1,8 @@
1
1
  [project]
2
2
  name = "spooling"
3
- version = "0.1.3"
3
+ version = "0.1.4"
4
4
  description = "Local session tracker and semantic search for AI coding assistants"
5
+ readme = "README.md"
5
6
  license = "MIT"
6
7
  license-files = ["LICENSE"]
7
8
  authors = [{ name = "Parsed Analytics, Inc." }]