whatileaked 0.3.0 → 0.3.1

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 (3) hide show
  1. package/README.md +3 -1
  2. package/dist/cli.js +12 -11
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # whatileaked
2
2
 
3
+ [![ci](https://github.com/selan-ai/whatileaked/actions/workflows/ci.yml/badge.svg)](https://github.com/selan-ai/whatileaked/actions/workflows/ci.yml)
4
+
3
5
  Your coding agent saves every conversation to your disk. If you ever pasted an
4
6
  API key into a chat, or asked the agent to read a `.env` file, that key is now
5
7
  sitting in a log file on your laptop — and it was uploaded to Anthropic or
@@ -193,7 +195,7 @@ npx whatileaked scan || echo "found something"
193
195
  | Agent | Folder |
194
196
  | --- | --- |
195
197
  | Claude Code | `~/.claude/projects/` · `~/.claude/CLAUDE.md` |
196
- | Codex | `~/.codex/sessions/` · `~/.codex/AGENTS.md` |
198
+ | Codex | `~/.codex/sessions/` · `~/.codex/archived_sessions/` · `~/.codex/AGENTS.md` |
197
199
  | Cursor | `~/.cursor/projects/*/agent-transcripts/` |
198
200
 
199
201
  Cursor keeps its older Ask-mode chats in SQLite rather than jsonl, and those are
package/dist/cli.js CHANGED
@@ -2606,17 +2606,18 @@ var CodexSource = class {
2606
2606
  if (instructions !== null) {
2607
2607
  yield { source: this.name, kind: FileKind.memory, path: instructions, project: this.name };
2608
2608
  }
2609
- const root = join3(this.#home, ".codex", "sessions");
2610
- for (const dir of await walkDirectories(root)) {
2611
- for (const file of await listFiles(dir, FileExtension.jsonl)) {
2612
- const path = join3(dir, file);
2613
- const cwd = await firstCwd2(path);
2614
- yield {
2615
- source: this.name,
2616
- kind: FileKind.transcript,
2617
- path,
2618
- project: cwd === null ? basename2(dir) : basename2(cwd)
2619
- };
2609
+ for (const root of ["sessions", "archived_sessions"]) {
2610
+ for (const dir of await walkDirectories(join3(this.#home, ".codex", root))) {
2611
+ for (const file of await listFiles(dir, FileExtension.jsonl)) {
2612
+ const path = join3(dir, file);
2613
+ const cwd = await firstCwd2(path);
2614
+ yield {
2615
+ source: this.name,
2616
+ kind: FileKind.transcript,
2617
+ path,
2618
+ project: cwd === null ? basename2(dir) : basename2(cwd)
2619
+ };
2620
+ }
2620
2621
  }
2621
2622
  }
2622
2623
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatileaked",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Scan your local Claude Code, Codex and Cursor transcripts for credentials you already sent to a model provider.",
5
5
  "type": "module",
6
6
  "imports": {