@claude-sessions/core 0.4.7 → 0.4.8

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.
package/dist/server.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { r as ResumeSessionOptions, s as ResumeSessionResult } from './types-BMQErZZE.js';
1
+ import { t as ResumeSessionOptions, u as ResumeSessionResult } from './types-AvikAHId.js';
2
2
 
3
3
  /**
4
4
  * Resume a session using claude CLI
@@ -260,7 +260,7 @@ interface SessionTreeData {
260
260
  updatedAt?: string;
261
261
  /** File modification time (Unix timestamp ms) */
262
262
  fileMtime?: number;
263
- /** Pre-calculated sort timestamp (Unix timestamp ms) for 'summary' field */
263
+ /** Pre-calculated sort timestamp (Unix timestamp ms) - reflects active sort field for display */
264
264
  sortTimestamp: number;
265
265
  /** All summaries in reverse order (newest first) */
266
266
  summaries: SummaryInfo[];
@@ -282,6 +282,12 @@ interface ProjectTreeData {
282
282
  */
283
283
  type SessionSortField = 'summary' | 'modified' | 'created' | 'updated' | 'messageCount' | 'title';
284
284
  type SessionSortOrder = 'asc' | 'desc';
285
+ /**
286
+ * Title display mode for session list
287
+ * - 'message': Show first user message (default, legacy behavior)
288
+ * - 'datetime': Show relative/absolute date when no custom title or summary
289
+ */
290
+ type TitleDisplayMode = 'message' | 'datetime';
285
291
  interface SessionSortOptions {
286
292
  field: SessionSortField;
287
293
  order: SessionSortOrder;
@@ -417,4 +423,4 @@ interface SummarizeSessionResult {
417
423
  formatted: string;
418
424
  }
419
425
 
420
- export type { AgentInfo as A, CompressSessionOptions as C, DeleteSessionResult as D, FileChange as F, MessagePayload as M, Project as P, RenameSessionResult as R, SummaryInfo as S, TodoItem as T, Message as a, SessionTodos as b, MoveSessionResult as c, SessionSortOptions as d, ProjectTreeData as e, SummarizeSessionOptions as f, ConversationLine as g, SearchResult as h, SessionsIndex as i, SessionIndexEntry as j, ContentItem as k, SessionMeta as l, SessionFilesSummary as m, SplitSessionResult as n, ClearSessionsResult as o, CleanupPreview as p, SessionTreeData as q, ResumeSessionOptions as r, ResumeSessionResult as s, ToolUsageStats as t, SessionAnalysis as u, CompressSessionResult as v, ProjectKnowledge as w, SummarizeSessionResult as x, SessionSortField as y, SessionSortOrder as z };
426
+ export type { AgentInfo as A, SessionSortOrder as B, CompressSessionOptions as C, DeleteSessionResult as D, FileChange as F, MessagePayload as M, Project as P, RenameSessionResult as R, SummaryInfo as S, TitleDisplayMode as T, Message as a, SessionSortField as b, SessionTodos as c, MoveSessionResult as d, SessionSortOptions as e, ProjectTreeData as f, SummarizeSessionOptions as g, ConversationLine as h, SearchResult as i, SessionsIndex as j, SessionIndexEntry as k, ContentItem as l, SessionMeta as m, TodoItem as n, SessionFilesSummary as o, SplitSessionResult as p, ClearSessionsResult as q, CleanupPreview as r, SessionTreeData as s, ResumeSessionOptions as t, ResumeSessionResult as u, ToolUsageStats as v, SessionAnalysis as w, CompressSessionResult as x, ProjectKnowledge as y, SummarizeSessionResult as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-sessions/core",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "Core library for Claude Code session management",
5
5
  "type": "module",
6
6
  "license": "MIT",