@dotcraft/sdk 0.10.5 → 0.11.0

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.
@@ -883,11 +883,25 @@ export interface ChannelChat {
883
883
  [key: string]: unknown;
884
884
  }
885
885
  export interface ChannelDeliveryCapabilities {
886
+ history?: ChannelHistoryCapability | null;
886
887
  media?: ChannelMediaCapabilitySet | null;
887
888
  targets: ChannelTargetCapability;
888
889
  text: ChannelTextCapability;
889
890
  [key: string]: unknown;
890
891
  }
892
+ export interface ChannelHistoryCapability {
893
+ maxMessages: number;
894
+ [key: string]: unknown;
895
+ }
896
+ export interface ChannelHistoryMessage {
897
+ fromBot?: boolean | null;
898
+ messageId?: string | null;
899
+ senderId?: string | null;
900
+ senderName?: string | null;
901
+ sentAt?: string | null;
902
+ text?: string;
903
+ [key: string]: unknown;
904
+ }
891
905
  export interface ChannelInfo {
892
906
  category?: string;
893
907
  name?: string;
@@ -1364,6 +1378,19 @@ export interface ExtChannelConfigOptionAvailabilityResult {
1364
1378
  available: string[] | null;
1365
1379
  [key: string]: unknown;
1366
1380
  }
1381
+ export interface ExtChannelHistoryParams {
1382
+ before?: string | null;
1383
+ limit?: number;
1384
+ target?: string;
1385
+ [key: string]: unknown;
1386
+ }
1387
+ export interface ExtChannelHistoryResult {
1388
+ before?: string | null;
1389
+ errorCode?: string | null;
1390
+ errorMessage?: string | null;
1391
+ messages?: ChannelHistoryMessage[];
1392
+ [key: string]: unknown;
1393
+ }
1367
1394
  export interface ExtChannelSendParams {
1368
1395
  deliveryId?: string;
1369
1396
  message?: ChannelOutboundMessage;
@@ -2057,7 +2084,7 @@ export interface McpServerElicitationRequestParams {
2057
2084
  mode?: string;
2058
2085
  requestedSchema?: JsonValue;
2059
2086
  serverName?: string;
2060
- threadId?: string | null;
2087
+ threadId: string;
2061
2088
  turnId?: string | null;
2062
2089
  url?: string | null;
2063
2090
  [key: string]: unknown;
@@ -3077,6 +3104,11 @@ export interface ServerInfo {
3077
3104
  version: string;
3078
3105
  [key: string]: unknown;
3079
3106
  }
3107
+ export interface ServerRequestResolvedNotification {
3108
+ requestId: number;
3109
+ threadId: string;
3110
+ [key: string]: unknown;
3111
+ }
3080
3112
  export interface SessionIdentity {
3081
3113
  channelContext?: string | null;
3082
3114
  channelName: string;