@threadbase-sh/scanner 0.24.8 → 0.25.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 (48) hide show
  1. package/README.md +20 -0
  2. package/dist/cli.js +91 -89
  3. package/dist/cli.js.map +1 -1
  4. package/dist/filters.d.ts +1 -1
  5. package/dist/index.cjs +363 -363
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.ts +26 -26
  8. package/dist/index.js +351 -351
  9. package/dist/index.js.map +1 -1
  10. package/dist/indexer.d.ts +1 -1
  11. package/dist/name-stores.d.ts +2 -2
  12. package/dist/parse-helpers.d.ts +14 -0
  13. package/dist/parse-helpers.d.ts.map +1 -0
  14. package/dist/parse.cjs +340 -0
  15. package/dist/parse.cjs.map +1 -0
  16. package/dist/parse.d.ts +5 -0
  17. package/dist/parse.d.ts.map +1 -0
  18. package/dist/parse.js +311 -0
  19. package/dist/parse.js.map +1 -0
  20. package/dist/parser.d.ts +2 -13
  21. package/dist/parser.d.ts.map +1 -1
  22. package/dist/persistent/claude-name-slots.d.ts +1 -1
  23. package/dist/persistent/conversation-reducer.d.ts +2 -2
  24. package/dist/persistent/conversation-stream.d.ts +2 -2
  25. package/dist/persistent/cursor.d.ts +1 -1
  26. package/dist/persistent/dir-watermark.d.ts +3 -3
  27. package/dist/persistent/index-engine.d.ts +9 -9
  28. package/dist/persistent/jsonl-tail-reader.d.ts +2 -2
  29. package/dist/persistent/metadata-reducer.d.ts +2 -2
  30. package/dist/persistent/paged-reader.d.ts +3 -3
  31. package/dist/persistent/repositories/checkpoints.repo.d.ts +1 -1
  32. package/dist/persistent/repositories/conversations.repo.d.ts +1 -1
  33. package/dist/persistent/repositories/fts.repo.d.ts +2 -2
  34. package/dist/persistent/sidecar.d.ts +1 -1
  35. package/dist/profiles.d.ts +1 -1
  36. package/dist/providers/codex-cli.d.ts +3 -3
  37. package/dist/providers/copilot.d.ts +3 -3
  38. package/dist/providers/cursor.d.ts +3 -3
  39. package/dist/providers/parse.d.ts +2 -2
  40. package/dist/providers/provider.d.ts +1 -1
  41. package/dist/providers/threadbase.d.ts +3 -3
  42. package/dist/scanner.d.ts +2 -2
  43. package/dist/search-matches.d.ts +1 -1
  44. package/dist/session-name.d.ts +1 -1
  45. package/dist/tiers.d.ts +1 -1
  46. package/dist/types.d.ts +1 -1
  47. package/dist/watcher/file-watcher.d.ts +1 -1
  48. package/package.json +7 -2
@@ -1,4 +1,4 @@
1
- import type { ScannerProviderName } from "./providers/provider";
1
+ import type { ScannerProviderName } from "./providers/provider.js";
2
2
  export type NameSlot = "userTitle" | "toolTitle" | "lastPrompt" | "firstUserMessage" | "slug";
3
3
  export declare const NAME_PRECEDENCE: readonly NameSlot[];
4
4
  export interface NameSlots {
package/dist/tiers.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ContentTier } from "./types";
1
+ import type { ContentTier } from "./types.js";
2
2
  export declare const DEFAULT_TIERS: Record<string, ContentTier>;
3
3
  export declare function resolveTier(tierName: string, customTiers?: Record<string, ContentTier>): ContentTier;
4
4
  //# sourceMappingURL=tiers.d.ts.map
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { NameSlots } from "./session-name";
1
+ import type { NameSlots } from "./session-name.js";
2
2
  export type MessageSender = "user" | "assistant";
3
3
  export type Include = "all" | "conversations" | "subagents" | "teammates";
4
4
  export type View = "flat" | "tree" | "grouped";
@@ -1,4 +1,4 @@
1
- import type { Profile } from "../types";
1
+ import type { Profile } from "../types.js";
2
2
  export interface WatchEvent {
3
3
  filePath: string;
4
4
  account: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadbase-sh/scanner",
3
- "version": "0.24.8",
3
+ "version": "0.25.1",
4
4
  "description": "Unified Claude Code conversation history scanner",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -36,6 +36,11 @@
36
36
  "import": "./dist/index.js",
37
37
  "require": "./dist/index.cjs"
38
38
  },
39
+ "./parse": {
40
+ "types": "./dist/parse.d.ts",
41
+ "import": "./dist/parse.js",
42
+ "require": "./dist/parse.cjs"
43
+ },
39
44
  "./package.json": "./package.json"
40
45
  },
41
46
  "publishConfig": {
@@ -48,7 +53,7 @@
48
53
  "node": ">=22"
49
54
  },
50
55
  "scripts": {
51
- "build": "tsup && tsc -p tsconfig.build.json",
56
+ "build": "tsup && tsc -p tsconfig.build.json && node scripts/fix-dts-specifiers.mjs && node scripts/check-parse-entry.mjs",
52
57
  "prepare": "npm run build",
53
58
  "dev": "tsup --watch",
54
59
  "test": "vitest run",