@threadbase-sh/scanner 0.25.0 → 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 (36) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/cli.js.map +1 -1
  3. package/dist/filters.d.ts +1 -1
  4. package/dist/index.d.ts +26 -26
  5. package/dist/indexer.d.ts +1 -1
  6. package/dist/name-stores.d.ts +2 -2
  7. package/dist/parse-helpers.d.ts +1 -1
  8. package/dist/parse.d.ts +4 -4
  9. package/dist/parser.d.ts +2 -2
  10. package/dist/persistent/claude-name-slots.d.ts +1 -1
  11. package/dist/persistent/conversation-reducer.d.ts +2 -2
  12. package/dist/persistent/conversation-stream.d.ts +2 -2
  13. package/dist/persistent/cursor.d.ts +1 -1
  14. package/dist/persistent/dir-watermark.d.ts +3 -3
  15. package/dist/persistent/index-engine.d.ts +9 -9
  16. package/dist/persistent/jsonl-tail-reader.d.ts +2 -2
  17. package/dist/persistent/metadata-reducer.d.ts +2 -2
  18. package/dist/persistent/paged-reader.d.ts +3 -3
  19. package/dist/persistent/repositories/checkpoints.repo.d.ts +1 -1
  20. package/dist/persistent/repositories/conversations.repo.d.ts +1 -1
  21. package/dist/persistent/repositories/fts.repo.d.ts +2 -2
  22. package/dist/persistent/sidecar.d.ts +1 -1
  23. package/dist/profiles.d.ts +1 -1
  24. package/dist/providers/codex-cli.d.ts +3 -3
  25. package/dist/providers/copilot.d.ts +3 -3
  26. package/dist/providers/cursor.d.ts +3 -3
  27. package/dist/providers/parse.d.ts +2 -2
  28. package/dist/providers/provider.d.ts +1 -1
  29. package/dist/providers/threadbase.d.ts +3 -3
  30. package/dist/scanner.d.ts +2 -2
  31. package/dist/search-matches.d.ts +1 -1
  32. package/dist/session-name.d.ts +1 -1
  33. package/dist/tiers.d.ts +1 -1
  34. package/dist/types.d.ts +1 -1
  35. package/dist/watcher/file-watcher.d.ts +1 -1
  36. package/package.json +2 -2
package/dist/filters.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ConversationMeta, Include, SortOrder } from "./types";
1
+ import type { ConversationMeta, Include, SortOrder } from "./types.js";
2
2
  export declare function applySort(metas: ConversationMeta[], order: SortOrder): ConversationMeta[];
3
3
  export declare function applySinceFilter(metas: ConversationMeta[], since: string): ConversationMeta[];
4
4
  export declare function applyIncludeFilter(metas: ConversationMeta[], include: Include): ConversationMeta[];
package/dist/index.d.ts CHANGED
@@ -1,29 +1,29 @@
1
- export { applyAccountFilter, applyIncludeFilter, applyPagination, applyProjectFilter, applySinceFilter, applySort, } from "./filters";
2
- export { readGitBranch } from "./git";
3
- export { SearchIndexer } from "./indexer";
4
- export type { Logger, LoggerOptions } from "./logger";
5
- export { createLogger, getLogger, setLogger } from "./logger";
6
- export { readCodexNameSlots, readCopilotNameSlots, readCursorCliNameSlots, readCursorIdeNameSlots, setCursorStateDb, } from "./name-stores";
7
- export type { ConvReducerState as JsonlParseState } from "./persistent/conversation-reducer";
8
- export { initialConvState as createJsonlParseState, parseJsonlLine, } from "./persistent/conversation-reducer";
9
- export type { Sidecar } from "./persistent/sidecar";
10
- export { readSidecar, sidecarPath } from "./persistent/sidecar";
11
- export { detectDefaultProfile, getProjectsDir, loadProfiles, resolveConfigDir, saveProfiles, } from "./profiles";
12
- export { CodexCliProvider, isCodexInjectedContext, parseCodexJsonlLine, } from "./providers/codex-cli";
13
- export { CopilotProvider, parseCopilotJsonlLine } from "./providers/copilot";
14
- export { CursorProvider, parseCursorJsonlLine, unwrapCursorUserText, } from "./providers/cursor";
15
- export type { DiscoveredConversationFile, ScannerProvider, ScannerProviderName, } from "./providers/provider";
16
- export { CLAUDE_CODE_PROVIDER, CODEX_CLI_PROVIDER, COPILOT_PROVIDER, CURSOR_PROVIDER, canonicalizeProviderList, canonicalizeProviderName, LEGACY_CURSOR_PROVIDER, providerMatches, } from "./providers/provider";
17
- export { ThreadbaseProvider } from "./providers/threadbase";
18
- export type { ConversationScannerOptions, PersistentConfig, ScannerChangeEvent, WatchOptions, } from "./scanner";
19
- export { ConversationScanner } from "./scanner";
20
- export type { NameSlot, NameSlots, ResolvedSessionName } from "./session-name";
21
- export { applyNameCandidate, isValidNameCandidate, NAME_PRECEDENCE, resolveSessionName, } from "./session-name";
22
- export { cleanSystemTags } from "./tags";
23
- export { DEFAULT_TIERS, resolveTier } from "./tiers";
24
- export * from "./types";
25
- import { ConversationScanner } from "./scanner";
26
- import type { Conversation, GetConversationOptions, ScanOptions, ScanResult, SearchOptions, SearchResult } from "./types";
1
+ export { applyAccountFilter, applyIncludeFilter, applyPagination, applyProjectFilter, applySinceFilter, applySort, } from "./filters.js";
2
+ export { readGitBranch } from "./git.js";
3
+ export { SearchIndexer } from "./indexer.js";
4
+ export type { Logger, LoggerOptions } from "./logger.js";
5
+ export { createLogger, getLogger, setLogger } from "./logger.js";
6
+ export { readCodexNameSlots, readCopilotNameSlots, readCursorCliNameSlots, readCursorIdeNameSlots, setCursorStateDb, } from "./name-stores.js";
7
+ export type { ConvReducerState as JsonlParseState } from "./persistent/conversation-reducer.js";
8
+ export { initialConvState as createJsonlParseState, parseJsonlLine, } from "./persistent/conversation-reducer.js";
9
+ export type { Sidecar } from "./persistent/sidecar.js";
10
+ export { readSidecar, sidecarPath } from "./persistent/sidecar.js";
11
+ export { detectDefaultProfile, getProjectsDir, loadProfiles, resolveConfigDir, saveProfiles, } from "./profiles.js";
12
+ export { CodexCliProvider, isCodexInjectedContext, parseCodexJsonlLine, } from "./providers/codex-cli.js";
13
+ export { CopilotProvider, parseCopilotJsonlLine } from "./providers/copilot.js";
14
+ export { CursorProvider, parseCursorJsonlLine, unwrapCursorUserText, } from "./providers/cursor.js";
15
+ export type { DiscoveredConversationFile, ScannerProvider, ScannerProviderName, } from "./providers/provider.js";
16
+ export { CLAUDE_CODE_PROVIDER, CODEX_CLI_PROVIDER, COPILOT_PROVIDER, CURSOR_PROVIDER, canonicalizeProviderList, canonicalizeProviderName, LEGACY_CURSOR_PROVIDER, providerMatches, } from "./providers/provider.js";
17
+ export { ThreadbaseProvider } from "./providers/threadbase.js";
18
+ export type { ConversationScannerOptions, PersistentConfig, ScannerChangeEvent, WatchOptions, } from "./scanner.js";
19
+ export { ConversationScanner } from "./scanner.js";
20
+ export type { NameSlot, NameSlots, ResolvedSessionName } from "./session-name.js";
21
+ export { applyNameCandidate, isValidNameCandidate, NAME_PRECEDENCE, resolveSessionName, } from "./session-name.js";
22
+ export { cleanSystemTags } from "./tags.js";
23
+ export { DEFAULT_TIERS, resolveTier } from "./tiers.js";
24
+ export * from "./types.js";
25
+ import { ConversationScanner } from "./scanner.js";
26
+ import type { Conversation, GetConversationOptions, ScanOptions, ScanResult, SearchOptions, SearchResult } from "./types.js";
27
27
  export declare function resetDefaultScanner(): void;
28
28
  export declare function scan(options?: ScanOptions, scanner?: ConversationScanner): Promise<ScanResult>;
29
29
  export declare function search(query: string, options?: SearchOptions, scanner?: ConversationScanner): Promise<SearchResult[]>;
package/dist/indexer.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ConversationMeta, SearchResult } from "./types";
1
+ import type { ConversationMeta, SearchResult } from "./types.js";
2
2
  export declare class SearchIndexer {
3
3
  private index;
4
4
  private documents;
@@ -1,5 +1,5 @@
1
- import type { ScannerProviderName } from "./providers/provider";
2
- import { type NameSlots } from "./session-name";
1
+ import type { ScannerProviderName } from "./providers/provider.js";
2
+ import { type NameSlots } from "./session-name.js";
3
3
  export declare function readCodexNameSlots(codexHome: string, id: string): NameSlots;
4
4
  export declare function readCursorCliNameSlots(chatsDir: string, id: string): NameSlots;
5
5
  export declare function readCursorIdeNameSlots(stateDbPath: string, id: string): NameSlots;
@@ -1,4 +1,4 @@
1
- import type { TeamInfo, ToolResultBlock, ToolUseBlock } from "./types";
1
+ import type { TeamInfo, ToolResultBlock, ToolUseBlock } from "./types.js";
2
2
  export declare function asQueuedPromptUserEntry(entry: Record<string, unknown>): Record<string, unknown>;
3
3
  export declare function extractTextContent(content: unknown): string;
4
4
  export declare function extractToolUseNames(content: unknown): string[];
package/dist/parse.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export type { ConvReducerState as JsonlParseState } from "./persistent/conversation-reducer";
2
- export { initialConvState as createJsonlParseState, parseJsonlLine, } from "./persistent/conversation-reducer";
3
- export { cleanSystemTags } from "./tags";
4
- export type * from "./types";
1
+ export type { ConvReducerState as JsonlParseState } from "./persistent/conversation-reducer.js";
2
+ export { initialConvState as createJsonlParseState, parseJsonlLine, } from "./persistent/conversation-reducer.js";
3
+ export { cleanSystemTags } from "./tags.js";
4
+ export type * from "./types.js";
5
5
  //# sourceMappingURL=parse.d.ts.map
package/dist/parser.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { ContentTier, Conversation, ConversationMeta, TurnDuration } from "./types";
2
- export { asQueuedPromptUserEntry, extractTextContent, extractThinking, extractToolResultBlocks, extractToolUseBlocks, extractToolUseNames, hasImageBlocks, isOnlyToolResultContent, parseTeammateMessageTag, } from "./parse-helpers";
1
+ import type { ContentTier, Conversation, ConversationMeta, TurnDuration } from "./types.js";
2
+ export { asQueuedPromptUserEntry, extractTextContent, extractThinking, extractToolResultBlocks, extractToolUseBlocks, extractToolUseNames, hasImageBlocks, isOnlyToolResultContent, parseTeammateMessageTag, } from "./parse-helpers.js";
3
3
  export declare function turnDurationOf(entry: Record<string, unknown>): TurnDuration | null;
4
4
  export declare function parseMeta(filePath: string, account: string, tier: ContentTier, onEntry?: (entry: Record<string, unknown>) => void): Promise<ConversationMeta | null>;
5
5
  export declare function parseConversation(filePath: string, account: string): Promise<Conversation | null>;
@@ -1,3 +1,3 @@
1
- import { type NameSlots } from "../session-name";
1
+ import { type NameSlots } from "../session-name.js";
2
2
  export declare function applyClaudeNameEntry(slots: NameSlots, entry: Record<string, unknown>): NameSlots;
3
3
  //# sourceMappingURL=claude-name-slots.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { NameSlots } from "../session-name";
2
- import type { CompactionInfo, ConversationMessage, TeamInfo, ToolUseBlock } from "../types";
1
+ import type { NameSlots } from "../session-name.js";
2
+ import type { CompactionInfo, ConversationMessage, TeamInfo, ToolUseBlock } from "../types.js";
3
3
  export interface ConvReducerState {
4
4
  cwd: string;
5
5
  sessionId: string;
@@ -1,5 +1,5 @@
1
- import type { Conversation } from "../types";
2
- import { type ConvReducerState } from "./conversation-reducer";
1
+ import type { Conversation } from "../types.js";
2
+ import { type ConvReducerState } from "./conversation-reducer.js";
3
3
  export interface ConversationResume {
4
4
  state: ConvReducerState;
5
5
  offset: number;
@@ -1,4 +1,4 @@
1
- import type { FileRow } from "./repositories/conversation-files.repo";
1
+ import type { FileRow } from "./repositories/conversation-files.repo.js";
2
2
  export type FileChange = "unchanged" | "appended" | "reindex" | "vanished";
3
3
  export interface FileStat {
4
4
  size: number;
@@ -1,6 +1,6 @@
1
- import { type DiscoveredFile } from "../discovery";
2
- import type { ConversationFilesRepo } from "./repositories/conversation-files.repo";
3
- import type { ScannedDirsRepo } from "./repositories/scanned-dirs.repo";
1
+ import { type DiscoveredFile } from "../discovery.js";
2
+ import type { ConversationFilesRepo } from "./repositories/conversation-files.repo.js";
3
+ import type { ScannedDirsRepo } from "./repositories/scanned-dirs.repo.js";
4
4
  export declare const FULL_RECONCILE_EVERY_N_SCANS = 20;
5
5
  export declare function discoverJsonlFilesGated(dirs: {
6
6
  projectsDir: string;
@@ -1,12 +1,12 @@
1
- import { type ScannerProvider } from "../providers/provider";
2
- import type { ConversationMeta, ConversationPage, GetConversationPageOptions, Profile, ScanOptions, SearchHighlight, TurnDuration } from "../types";
3
- import { type FileChange } from "./cursor";
4
- import { type DB } from "./db";
5
- import { CheckpointsRepo } from "./repositories/checkpoints.repo";
6
- import { ConversationFilesRepo } from "./repositories/conversation-files.repo";
7
- import { ConversationsRepo } from "./repositories/conversations.repo";
8
- import { FtsRepo, type FtsSearchFilters } from "./repositories/fts.repo";
9
- import { ScannedDirsRepo } from "./repositories/scanned-dirs.repo";
1
+ import { type ScannerProvider } from "../providers/provider.js";
2
+ import type { ConversationMeta, ConversationPage, GetConversationPageOptions, Profile, ScanOptions, SearchHighlight, TurnDuration } from "../types.js";
3
+ import { type FileChange } from "./cursor.js";
4
+ import { type DB } from "./db.js";
5
+ import { CheckpointsRepo } from "./repositories/checkpoints.repo.js";
6
+ import { ConversationFilesRepo } from "./repositories/conversation-files.repo.js";
7
+ import { ConversationsRepo } from "./repositories/conversations.repo.js";
8
+ import { FtsRepo, type FtsSearchFilters } from "./repositories/fts.repo.js";
9
+ import { ScannedDirsRepo } from "./repositories/scanned-dirs.repo.js";
10
10
  export interface EngineSearchHit {
11
11
  meta: ConversationMeta;
12
12
  body: {
@@ -1,5 +1,5 @@
1
- import type { ContentTier } from "../types";
2
- import { type ReducerState } from "./metadata-reducer";
1
+ import type { ContentTier } from "../types.js";
2
+ import { type ReducerState } from "./metadata-reducer.js";
3
3
  export declare const YIELD_EVERY_LINES = 500;
4
4
  export interface TailReadResult {
5
5
  newOffset: number;
@@ -1,5 +1,5 @@
1
- import { type NameSlots } from "../session-name";
2
- import type { ContentTier, ConversationMeta, MessageSender, MessageSnapshot, TurnDuration } from "../types";
1
+ import { type NameSlots } from "../session-name.js";
2
+ import type { ContentTier, ConversationMeta, MessageSender, MessageSnapshot, TurnDuration } from "../types.js";
3
3
  export interface ReducerState {
4
4
  sessionId: string;
5
5
  nameSlots: NameSlots;
@@ -1,6 +1,6 @@
1
- import type { Conversation, ConversationMessage, ConversationPage, GetConversationPageOptions, TurnDuration } from "../types";
2
- import { type ConvReducerState } from "./conversation-reducer";
3
- import type { Checkpoint } from "./repositories/checkpoints.repo";
1
+ import type { Conversation, ConversationMessage, ConversationPage, GetConversationPageOptions, TurnDuration } from "../types.js";
2
+ import { type ConvReducerState } from "./conversation-reducer.js";
3
+ import type { Checkpoint } from "./repositories/checkpoints.repo.js";
4
4
  export declare const CHECKPOINT_INTERVAL = 500;
5
5
  export declare function streamMessages(filePath: string, startOffset: number, startLine: number, state: ConvReducerState, onMessage: (message: ConversationMessage, nextByteOffset: number, nextLine: number) => boolean, onEntry?: (entry: Record<string, unknown>) => boolean): Promise<{
6
6
  offset: number;
@@ -1,5 +1,5 @@
1
1
  import type { Database } from "better-sqlite3";
2
- import type { ConvReducerState } from "../conversation-reducer";
2
+ import type { ConvReducerState } from "../conversation-reducer.js";
3
3
  export interface Checkpoint {
4
4
  messageIndex: number;
5
5
  byteOffset: number;
@@ -1,5 +1,5 @@
1
1
  import type { Database } from "better-sqlite3";
2
- import type { ConversationMeta } from "../../types";
2
+ import type { ConversationMeta } from "../../types.js";
3
3
  export interface ConversationRow {
4
4
  id: number;
5
5
  file_id: number;
@@ -1,6 +1,6 @@
1
1
  import type { Database } from "better-sqlite3";
2
- import type { SearchDocument } from "../../search-document";
3
- import type { ConversationMeta, SearchHighlight } from "../../types";
2
+ import type { SearchDocument } from "../../search-document.js";
3
+ import type { ConversationMeta, SearchHighlight } from "../../types.js";
4
4
  export interface FtsSearchFilters {
5
5
  account?: string;
6
6
  provider?: string;
@@ -1,4 +1,4 @@
1
- import type { ConversationMeta } from "../types";
1
+ import type { ConversationMeta } from "../types.js";
2
2
  export declare const SIDECAR_VERSION = 1;
3
3
  export interface Sidecar {
4
4
  version: number;
@@ -1,4 +1,4 @@
1
- import type { Profile } from "./types";
1
+ import type { Profile } from "./types.js";
2
2
  export declare function resolveConfigDir(configDir: string): string;
3
3
  export declare function getProjectsDir(profile: Profile): string;
4
4
  export declare function detectDefaultProfile(): Promise<Profile>;
@@ -1,6 +1,6 @@
1
- import { isCodexInjectedContext, type NameSlots } from "../session-name";
2
- import type { ContentTier, Conversation, ConversationMessage, ConversationMeta, MessageSender, MessageSnapshot } from "../types";
3
- import { type DiscoveredConversationFile, type ScannerProvider } from "./provider";
1
+ import { isCodexInjectedContext, type NameSlots } from "../session-name.js";
2
+ import type { ContentTier, Conversation, ConversationMessage, ConversationMeta, MessageSender, MessageSnapshot } from "../types.js";
3
+ import { type DiscoveredConversationFile, type ScannerProvider } from "./provider.js";
4
4
  export interface CodexAccumulator {
5
5
  sessionId: string;
6
6
  cwd: string;
@@ -1,6 +1,6 @@
1
- import { type NameSlots } from "../session-name";
2
- import type { ContentTier, Conversation, ConversationMessage, ConversationMeta, MessageSender, MessageSnapshot } from "../types";
3
- import { type DiscoveredConversationFile, type ScannerProvider } from "./provider";
1
+ import { type NameSlots } from "../session-name.js";
2
+ import type { ContentTier, Conversation, ConversationMessage, ConversationMeta, MessageSender, MessageSnapshot } from "../types.js";
3
+ import { type DiscoveredConversationFile, type ScannerProvider } from "./provider.js";
4
4
  export interface CopilotAccumulator {
5
5
  sessionId: string;
6
6
  cwd: string;
@@ -1,6 +1,6 @@
1
- import { type NameSlots } from "../session-name";
2
- import type { ContentTier, Conversation, ConversationMessage, ConversationMeta, MessageSender, MessageSnapshot } from "../types";
3
- import { type DiscoveredConversationFile, type ScannerProvider } from "./provider";
1
+ import { type NameSlots } from "../session-name.js";
2
+ import type { ContentTier, Conversation, ConversationMessage, ConversationMeta, MessageSender, MessageSnapshot } from "../types.js";
3
+ import { type DiscoveredConversationFile, type ScannerProvider } from "./provider.js";
4
4
  export interface CursorAccumulator {
5
5
  sessionId: string;
6
6
  latestTimestamp: string;
@@ -1,4 +1,4 @@
1
- import type { ContentTier, ConversationMeta } from "../types";
2
- import type { ScannerProvider } from "./provider";
1
+ import type { ContentTier, ConversationMeta } from "../types.js";
2
+ import type { ScannerProvider } from "./provider.js";
3
3
  export declare function parseMetaWithProvider(provider: ScannerProvider, filePath: string, account: string, tier: ContentTier, onEntry?: (entry: Record<string, unknown>) => void): Promise<ConversationMeta | null>;
4
4
  //# sourceMappingURL=parse.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ContentTier, ConversationMeta } from "../types";
1
+ import type { ContentTier, ConversationMeta } from "../types.js";
2
2
  export interface ScannerProvider<Acc = unknown> {
3
3
  name: ScannerProviderName;
4
4
  discover(roots: string[]): Promise<DiscoveredConversationFile[]>;
@@ -1,6 +1,6 @@
1
- import { type ReducerState } from "../persistent/metadata-reducer";
2
- import type { ContentTier, ConversationMeta } from "../types";
3
- import { type DiscoveredConversationFile, type ScannerProvider } from "./provider";
1
+ import { type ReducerState } from "../persistent/metadata-reducer.js";
2
+ import type { ContentTier, ConversationMeta } from "../types.js";
3
+ import { type DiscoveredConversationFile, type ScannerProvider } from "./provider.js";
4
4
  export declare class ThreadbaseProvider implements ScannerProvider<ReducerState> {
5
5
  readonly name: "claude-code";
6
6
  discover(roots: string[]): Promise<DiscoveredConversationFile[]>;
package/dist/scanner.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { Conversation, ConversationMeta, ConversationPageWithMeta, GetConversationOptions, GetConversationPageOptions, Profile, ScanOptions, ScanResult, SearchOptions, SearchResult, SingleFilePage } from "./types";
2
- import { type IndexJob } from "./watcher/index-queue";
1
+ import type { Conversation, ConversationMeta, ConversationPageWithMeta, GetConversationOptions, GetConversationPageOptions, Profile, ScanOptions, ScanResult, SearchOptions, SearchResult, SingleFilePage } from "./types.js";
2
+ import { type IndexJob } from "./watcher/index-queue.js";
3
3
  export interface PersistentConfig {
4
4
  dbPath?: string;
5
5
  sidecar?: boolean;
@@ -1,4 +1,4 @@
1
- import type { ConversationMeta, SearchHighlight, SearchMatch } from "./types";
1
+ import type { ConversationMeta, SearchHighlight, SearchMatch } from "./types.js";
2
2
  export declare const FTS_HIT_OPEN = "\u0002";
3
3
  export declare const FTS_HIT_CLOSE = "\u0003";
4
4
  export declare const FTS_SNIPPET_TOKENS = 16;
@@ -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.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Unified Claude Code conversation history scanner",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -53,7 +53,7 @@
53
53
  "node": ">=22"
54
54
  },
55
55
  "scripts": {
56
- "build": "tsup && tsc -p tsconfig.build.json && node scripts/check-parse-entry.mjs",
56
+ "build": "tsup && tsc -p tsconfig.build.json && node scripts/fix-dts-specifiers.mjs && node scripts/check-parse-entry.mjs",
57
57
  "prepare": "npm run build",
58
58
  "dev": "tsup --watch",
59
59
  "test": "vitest run",