@claude-sessions/core 0.4.0 → 0.4.2-beta.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.
package/dist/server.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { r as ResumeSessionOptions, s as ResumeSessionResult } from './types-BdPaAnP8.js';
1
+ import { r as ResumeSessionOptions, s as ResumeSessionResult } from './types-mWa378iC.js';
2
2
 
3
3
  /**
4
4
  * Resume a session using claude CLI
@@ -260,6 +260,8 @@ 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 */
264
+ sortTimestamp: number;
263
265
  /** All summaries in reverse order (newest first) */
264
266
  summaries: SummaryInfo[];
265
267
  agents: AgentInfo[];
@@ -413,4 +415,4 @@ interface SummarizeSessionResult {
413
415
  formatted: string;
414
416
  }
415
417
 
416
- 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, MoveSessionResult as b, SessionSortOptions as c, SummarizeSessionOptions as d, ConversationLine as e, SearchResult as f, SessionsIndex as g, SessionIndexEntry as h, ContentItem as i, SessionMeta as j, SessionTodos as k, SessionFilesSummary as l, SplitSessionResult as m, ClearSessionsResult as n, CleanupPreview as o, SessionTreeData as p, ProjectTreeData 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 };
418
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-sessions/core",
3
- "version": "0.4.0",
3
+ "version": "0.4.2-beta.1",
4
4
  "description": "Core library for Claude Code session management",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,10 +27,10 @@
27
27
  "effect": "^3.19.14"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/node": "^25.0.6",
30
+ "@types/node": "^25.0.9",
31
31
  "tsup": "^8.3.0",
32
32
  "typescript": "^5.7.0",
33
- "vitest": "^4.0.16"
33
+ "vitest": "^4.0.17"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "tsup",