@xenosystem/agent-sdk 0.9.29 → 0.9.30

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.cts CHANGED
@@ -622,6 +622,8 @@ interface SessionMeta {
622
622
  };
623
623
  formatVersion?: number;
624
624
  hostBinding?: AgentSessionHostBindingV1;
625
+ pinned?: boolean;
626
+ pinnedAt?: string;
625
627
  }
626
628
  type TranscriptEventType = "session_start" | "user_message" | "assistant_message" | "tool_call" | "tool_result" | "delegation_summary" | "checkpoint" | "context_compressed" | "session_end" | "error";
627
629
  interface SessionStartData {
@@ -630,6 +632,8 @@ interface SessionStartData {
630
632
  model: string;
631
633
  workingDirectory: string;
632
634
  formatVersion?: number;
635
+ forkedFrom?: string;
636
+ checkpointId?: string;
633
637
  }
634
638
  interface ToolCallData {
635
639
  toolName: string;
@@ -10506,12 +10510,20 @@ declare class SessionLock {
10506
10510
  static cleanStale(sessionsDir: string): Promise<string[]>;
10507
10511
  }
10508
10512
  declare class SessionRegistry {
10513
+ static fork(sessionId: string, options?: {
10514
+ checkpointId?: string;
10515
+ name?: string;
10516
+ }): Promise<SessionMeta>;
10517
+ static setTitle(sessionId: string, title: string | null): Promise<SessionMeta>;
10518
+ static setPinned(sessionId: string, pinned: boolean): Promise<SessionMeta>;
10519
+ static setArchived(sessionId: string, archived: boolean): Promise<SessionMeta>;
10509
10520
  static getSessionsDir(): string;
10510
10521
  static list(options?: {
10511
10522
  status?: SessionStatus[];
10512
10523
  role?: string;
10513
10524
  workingDirectory?: string;
10514
10525
  limit?: number;
10526
+ includeArchived?: boolean;
10515
10527
  }): Promise<SessionMeta[]>;
10516
10528
  static find(sessionId: string): Promise<SessionMeta | null>;
10517
10529
  static findMostRecent(roleOrOptions?: string | {
package/dist/index.d.ts CHANGED
@@ -622,6 +622,8 @@ interface SessionMeta {
622
622
  };
623
623
  formatVersion?: number;
624
624
  hostBinding?: AgentSessionHostBindingV1;
625
+ pinned?: boolean;
626
+ pinnedAt?: string;
625
627
  }
626
628
  type TranscriptEventType = "session_start" | "user_message" | "assistant_message" | "tool_call" | "tool_result" | "delegation_summary" | "checkpoint" | "context_compressed" | "session_end" | "error";
627
629
  interface SessionStartData {
@@ -630,6 +632,8 @@ interface SessionStartData {
630
632
  model: string;
631
633
  workingDirectory: string;
632
634
  formatVersion?: number;
635
+ forkedFrom?: string;
636
+ checkpointId?: string;
633
637
  }
634
638
  interface ToolCallData {
635
639
  toolName: string;
@@ -10506,12 +10510,20 @@ declare class SessionLock {
10506
10510
  static cleanStale(sessionsDir: string): Promise<string[]>;
10507
10511
  }
10508
10512
  declare class SessionRegistry {
10513
+ static fork(sessionId: string, options?: {
10514
+ checkpointId?: string;
10515
+ name?: string;
10516
+ }): Promise<SessionMeta>;
10517
+ static setTitle(sessionId: string, title: string | null): Promise<SessionMeta>;
10518
+ static setPinned(sessionId: string, pinned: boolean): Promise<SessionMeta>;
10519
+ static setArchived(sessionId: string, archived: boolean): Promise<SessionMeta>;
10509
10520
  static getSessionsDir(): string;
10510
10521
  static list(options?: {
10511
10522
  status?: SessionStatus[];
10512
10523
  role?: string;
10513
10524
  workingDirectory?: string;
10514
10525
  limit?: number;
10526
+ includeArchived?: boolean;
10515
10527
  }): Promise<SessionMeta[]>;
10516
10528
  static find(sessionId: string): Promise<SessionMeta | null>;
10517
10529
  static findMostRecent(roleOrOptions?: string | {