@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/index.d.ts +43 -8
- package/dist/index.js +52 -9
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/{types-BMQErZZE.d.ts → types-AvikAHId.d.ts} +8 -2
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -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)
|
|
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,
|
|
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 };
|