@dotcraft/sdk 0.5.9 → 0.6.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.
@@ -68,6 +68,7 @@ export interface AcpTerminalWaitForExitParams {
68
68
  [key: string]: unknown;
69
69
  }
70
70
  export interface AgentMessagePayload {
71
+ deliveryMode?: string | null;
71
72
  text: string;
72
73
  [key: string]: unknown;
73
74
  }
@@ -1340,11 +1341,6 @@ export interface ExternalChannelUpsertResult {
1340
1341
  channel?: ExternalChannelConfig;
1341
1342
  [key: string]: unknown;
1342
1343
  }
1343
- export interface HeartbeatTriggerResult {
1344
- error?: string | null;
1345
- result?: string | null;
1346
- [key: string]: unknown;
1347
- }
1348
1344
  export interface HookErrorInfo {
1349
1345
  message?: string;
1350
1346
  path?: string;
@@ -2068,6 +2064,43 @@ export interface PluginAppNativeApplication {
2068
2064
  protocol?: string;
2069
2065
  [key: string]: unknown;
2070
2066
  }
2067
+ export interface PluginConfigField {
2068
+ defaultValue?: JsonValue;
2069
+ key: string;
2070
+ max?: number;
2071
+ min?: number;
2072
+ options?: string[];
2073
+ type: string;
2074
+ [key: string]: unknown;
2075
+ }
2076
+ export interface PluginConfigGetParams {
2077
+ id: string;
2078
+ [key: string]: unknown;
2079
+ }
2080
+ export interface PluginConfigMutateParams {
2081
+ id: string;
2082
+ operations: PluginConfigMutationOperation[];
2083
+ scope: string;
2084
+ [key: string]: unknown;
2085
+ }
2086
+ export interface PluginConfigMutationOperation {
2087
+ key: string;
2088
+ op: string;
2089
+ value?: JsonValue;
2090
+ [key: string]: unknown;
2091
+ }
2092
+ export interface PluginConfigSchema {
2093
+ fields: PluginConfigField[];
2094
+ [key: string]: unknown;
2095
+ }
2096
+ export interface PluginConfigSnapshot {
2097
+ personal: JsonValue;
2098
+ schema: PluginConfigSchema;
2099
+ value: JsonValue;
2100
+ workspace: JsonValue;
2101
+ writableScopes: string[];
2102
+ [key: string]: unknown;
2103
+ }
2071
2104
  export interface PluginDependencyInfo {
2072
2105
  availability?: string;
2073
2106
  id?: string;
@@ -2076,6 +2109,7 @@ export interface PluginDependencyInfo {
2076
2109
  [key: string]: unknown;
2077
2110
  }
2078
2111
  export interface PluginDesktopInfo {
2112
+ description?: string;
2079
2113
  entry?: string;
2080
2114
  revision?: string;
2081
2115
  styles?: string[];
@@ -2153,7 +2187,6 @@ export interface PluginInstallParams {
2153
2187
  [key: string]: unknown;
2154
2188
  }
2155
2189
  export interface PluginInterface {
2156
- brandColor?: string | null;
2157
2190
  capabilities?: string[];
2158
2191
  category?: string | null;
2159
2192
  composerIconDataUrl?: string | null;
@@ -2469,7 +2502,6 @@ export interface ServerCapabilities {
2469
2502
  extensions?: ServerCapabilityExtensions | null;
2470
2503
  externalChannelManagement?: boolean;
2471
2504
  gitWorktrees?: boolean;
2472
- heartbeatManagement?: boolean;
2473
2505
  hooksManagement?: boolean;
2474
2506
  inlineVisualizations?: boolean;
2475
2507
  manualCompaction?: boolean;
@@ -2483,6 +2515,7 @@ export interface ServerCapabilities {
2483
2515
  memoryManagement?: boolean;
2484
2516
  modeSwitch?: boolean;
2485
2517
  modelCatalogManagement?: boolean;
2518
+ pluginConfiguration?: boolean;
2486
2519
  pluginManagement?: boolean;
2487
2520
  pluginMarketplaces?: boolean;
2488
2521
  providerManagement?: boolean;
@@ -2678,6 +2711,12 @@ export interface SkillsViewResult {
2678
2711
  name?: string;
2679
2712
  [key: string]: unknown;
2680
2713
  }
2714
+ export interface SleepPayload {
2715
+ actualDurationMs?: number | null;
2716
+ durationMs: number;
2717
+ status: string;
2718
+ [key: string]: unknown;
2719
+ }
2681
2720
  export interface SocialBindingAcceptParams {
2682
2721
  code?: string;
2683
2722
  target?: SocialChannelTarget;
@@ -4037,6 +4076,17 @@ export interface TurnStartResult {
4037
4076
  turn: SessionTurn;
4038
4077
  [key: string]: unknown;
4039
4078
  }
4079
+ export interface TurnSteerParams {
4080
+ expectedTurnId: string;
4081
+ input: InputPart[];
4082
+ sender?: SenderContext | null;
4083
+ threadId: string;
4084
+ [key: string]: unknown;
4085
+ }
4086
+ export interface TurnSteerResult {
4087
+ turnId: string;
4088
+ [key: string]: unknown;
4089
+ }
4040
4090
  export interface UiResourceContent {
4041
4091
  mimeType?: string | null;
4042
4092
  text?: string | null;
@@ -4132,6 +4182,7 @@ export interface UserInputQuestion {
4132
4182
  [key: string]: unknown;
4133
4183
  }
4134
4184
  export interface UserInputRequestParams {
4185
+ isBlocking: boolean;
4135
4186
  itemId: string;
4136
4187
  questions: UserInputQuestion[];
4137
4188
  requestId: string;
@@ -4140,6 +4191,7 @@ export interface UserInputRequestParams {
4140
4191
  [key: string]: unknown;
4141
4192
  }
4142
4193
  export interface UserInputRequestPayload {
4194
+ isBlocking: boolean;
4143
4195
  questions: UserInputQuestion[];
4144
4196
  requestId: string;
4145
4197
  [key: string]: unknown;