@xenosystem/agent-sdk 0.9.13 → 0.9.15

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.
@@ -339,6 +339,11 @@ interface PermissionPromptInfo {
339
339
  }
340
340
  type PermissionPromptFn = (info: PermissionPromptInfo) => Promise<"allow" | "always" | "deny">;
341
341
  type SessionStatus = "creating" | "active" | "paused" | "completed" | "abandoned" | "archived";
342
+ interface AgentSessionHostBindingV1 {
343
+ schemaVersion: 1;
344
+ conversationId: string;
345
+ hostStorageIdentity: string;
346
+ }
342
347
  interface SessionMeta {
343
348
  id: string;
344
349
  role: string;
@@ -358,6 +363,7 @@ interface SessionMeta {
358
363
  total: number;
359
364
  };
360
365
  formatVersion?: number;
366
+ hostBinding?: AgentSessionHostBindingV1;
361
367
  }
362
368
  type TranscriptEventType = "session_start" | "user_message" | "assistant_message" | "tool_call" | "tool_result" | "delegation_summary" | "checkpoint" | "context_compressed" | "session_end" | "error";
363
369
  interface SessionStartData {
@@ -1110,6 +1116,7 @@ interface SessionCreateOptions {
1110
1116
  parentSession?: string;
1111
1117
  workingDirectory: string;
1112
1118
  model: string;
1119
+ hostBinding?: AgentSessionHostBindingV1;
1113
1120
  }
1114
1121
  interface SessionResumeOptions {
1115
1122
  sessionId: string;
@@ -339,6 +339,11 @@ interface PermissionPromptInfo {
339
339
  }
340
340
  type PermissionPromptFn = (info: PermissionPromptInfo) => Promise<"allow" | "always" | "deny">;
341
341
  type SessionStatus = "creating" | "active" | "paused" | "completed" | "abandoned" | "archived";
342
+ interface AgentSessionHostBindingV1 {
343
+ schemaVersion: 1;
344
+ conversationId: string;
345
+ hostStorageIdentity: string;
346
+ }
342
347
  interface SessionMeta {
343
348
  id: string;
344
349
  role: string;
@@ -358,6 +363,7 @@ interface SessionMeta {
358
363
  total: number;
359
364
  };
360
365
  formatVersion?: number;
366
+ hostBinding?: AgentSessionHostBindingV1;
361
367
  }
362
368
  type TranscriptEventType = "session_start" | "user_message" | "assistant_message" | "tool_call" | "tool_result" | "delegation_summary" | "checkpoint" | "context_compressed" | "session_end" | "error";
363
369
  interface SessionStartData {
@@ -1110,6 +1116,7 @@ interface SessionCreateOptions {
1110
1116
  parentSession?: string;
1111
1117
  workingDirectory: string;
1112
1118
  model: string;
1119
+ hostBinding?: AgentSessionHostBindingV1;
1113
1120
  }
1114
1121
  interface SessionResumeOptions {
1115
1122
  sessionId: string;