@realtimex/sdk 2.0.43 → 2.0.45

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/index.d.ts CHANGED
@@ -115,6 +115,21 @@ export interface CancelHumanQuestionOptions extends RealtimeXRequestOptions {
115
115
  body?: CancelHumanQuestionBody;
116
116
  }
117
117
 
118
+ export type CancelThreadWakeParams = Record<string, never>;
119
+ export type CancelThreadWakeQuery = Record<string, never>;
120
+ export type CancelThreadWakeHeaders = Record<string, never>;
121
+ export type CancelThreadWakeBody = {
122
+ key: string;
123
+ acknowledgeUnknown?: boolean;
124
+ };
125
+ export type CancelThreadWakeResponse = unknown;
126
+ export interface CancelThreadWakeOptions extends RealtimeXRequestOptions {
127
+ params?: CancelThreadWakeParams;
128
+ query?: CancelThreadWakeQuery;
129
+ headers?: CancelThreadWakeHeaders & Record<string, string>;
130
+ body?: CancelThreadWakeBody;
131
+ }
132
+
118
133
  export type ChatRichContentContainmentParams = Record<string, never>;
119
134
  export type ChatRichContentContainmentQuery = Record<string, never>;
120
135
  export type ChatRichContentContainmentHeaders = Record<string, never>;
@@ -207,6 +222,22 @@ export interface CompanionHostCapabilityRenameOptions extends RealtimeXRequestOp
207
222
  body?: CompanionHostCapabilityRenameBody;
208
223
  }
209
224
 
225
+ export type CompleteChannelSetupParams = {
226
+ channelId: string;
227
+ };
228
+ export type CompleteChannelSetupQuery = Record<string, never>;
229
+ export type CompleteChannelSetupHeaders = {
230
+ "x-app-id"?: string;
231
+ };
232
+ export type CompleteChannelSetupBody = unknown;
233
+ export type CompleteChannelSetupResponse = Record<string, unknown>;
234
+ export interface CompleteChannelSetupOptions extends RealtimeXRequestOptions {
235
+ params?: CompleteChannelSetupParams;
236
+ query?: CompleteChannelSetupQuery;
237
+ headers?: CompleteChannelSetupHeaders & Record<string, string>;
238
+ body?: CompleteChannelSetupBody;
239
+ }
240
+
210
241
  export type ConfigurePluginParams = {
211
242
  pluginId: string;
212
243
  };
@@ -234,6 +265,7 @@ export type CreateBrowserSessionHeaders = {
234
265
  export type CreateBrowserSessionBody = {
235
266
  sessionName: string;
236
267
  url?: string;
268
+ profile?: string;
237
269
  remoteDebugPort?: number;
238
270
  guardrails?: Record<string, unknown>;
239
271
  origin?: string;
@@ -255,10 +287,14 @@ export type CreateChannelHeaders = {
255
287
  };
256
288
  export type CreateChannelBody = {
257
289
  name?: string;
258
- plugin_type?: "telegram" | "discord" | "zalo";
259
- channelType?: "telegram" | "discord" | "zalo";
260
- type?: "telegram" | "discord" | "zalo";
290
+ plugin_type?: "telegram" | "discord" | "zalo" | "messenger";
291
+ channelType?: "telegram" | "discord" | "zalo" | "messenger";
292
+ type?: "telegram" | "discord" | "zalo" | "messenger";
261
293
  botToken?: string;
294
+ pageAccessToken?: string;
295
+ appId?: string;
296
+ appSecret?: string;
297
+ dmPolicy?: "open" | "pairing" | "disabled";
262
298
  thread_id?: number;
263
299
  threadId?: number;
264
300
  agentGuidance?: string;
@@ -267,7 +303,9 @@ export type CreateChannelBody = {
267
303
  start?: boolean;
268
304
  enabled?: boolean;
269
305
  config?: Record<string, unknown>;
270
- settings?: Record<string, unknown>;
306
+ settings?: {
307
+ deliveryMode?: "agent" | "platform";
308
+ };
271
309
  };
272
310
  export type CreateChannelResponse = Record<string, unknown>;
273
311
  export interface CreateChannelOptions extends RealtimeXRequestOptions {
@@ -667,6 +705,26 @@ export interface EnableWorkspaceAgentSkillOptions extends RealtimeXRequestOption
667
705
  body?: EnableWorkspaceAgentSkillBody;
668
706
  }
669
707
 
708
+ export type FocusBrowserTabParams = {
709
+ sessionName: string;
710
+ };
711
+ export type FocusBrowserTabQuery = Record<string, never>;
712
+ export type FocusBrowserTabHeaders = {
713
+ "x-app-id"?: string;
714
+ };
715
+ export type FocusBrowserTabBody = {
716
+ tabId?: number;
717
+ tabRef?: string;
718
+ focusWindow?: boolean;
719
+ };
720
+ export type FocusBrowserTabResponse = Record<string, unknown>;
721
+ export interface FocusBrowserTabOptions extends RealtimeXRequestOptions {
722
+ params?: FocusBrowserTabParams;
723
+ query?: FocusBrowserTabQuery;
724
+ headers?: FocusBrowserTabHeaders & Record<string, string>;
725
+ body?: FocusBrowserTabBody;
726
+ }
727
+
670
728
  export type ForgetMemoryParams = Record<string, never>;
671
729
  export type ForgetMemoryQuery = Record<string, never>;
672
730
  export type ForgetMemoryHeaders = Record<string, never>;
@@ -701,6 +759,22 @@ export interface GetArtifactOptions extends RealtimeXRequestOptions {
701
759
  body?: GetArtifactBody;
702
760
  }
703
761
 
762
+ export type GetChannelWebhookParams = {
763
+ channelId: string;
764
+ };
765
+ export type GetChannelWebhookQuery = Record<string, never>;
766
+ export type GetChannelWebhookHeaders = {
767
+ "x-app-id"?: string;
768
+ };
769
+ export type GetChannelWebhookBody = unknown;
770
+ export type GetChannelWebhookResponse = Record<string, unknown>;
771
+ export interface GetChannelWebhookOptions extends RealtimeXRequestOptions {
772
+ params?: GetChannelWebhookParams;
773
+ query?: GetChannelWebhookQuery;
774
+ headers?: GetChannelWebhookHeaders & Record<string, string>;
775
+ body?: GetChannelWebhookBody;
776
+ }
777
+
704
778
  export type GetDelegateMandateParams = Record<string, never>;
705
779
  export type GetDelegateMandateQuery = {
706
780
  scopeKind: "global" | "project" | "workspace";
@@ -884,6 +958,62 @@ export interface GetWorkspaceOptions extends RealtimeXRequestOptions {
884
958
  body?: GetWorkspaceBody;
885
959
  }
886
960
 
961
+ export type GetWorkspacePluginParams = {
962
+ pluginId: string;
963
+ };
964
+ export type GetWorkspacePluginQuery = {
965
+ workspaceSlug: string;
966
+ };
967
+ export type GetWorkspacePluginHeaders = Record<string, never>;
968
+ export type GetWorkspacePluginBody = unknown;
969
+ export type GetWorkspacePluginResponse = {
970
+ success: true;
971
+ workspace: {
972
+ id: number;
973
+ slug: string;
974
+ name: string;
975
+ };
976
+ plugin: {
977
+ id: string;
978
+ manifestId?: string | null;
979
+ name?: string;
980
+ displayName?: string;
981
+ description?: string | null;
982
+ version?: string | null;
983
+ globallyEnabled?: boolean;
984
+ activationScope?: "workspace" | "global";
985
+ activationPaused?: boolean;
986
+ enabled: boolean;
987
+ workspaceEnabled: boolean | null;
988
+ inheritsEnabled?: boolean;
989
+ hasWorkspaceConfig?: boolean;
990
+ lifecycle: {
991
+ runtimeStatus: "loaded" | "unloaded";
992
+ runtimeHold: boolean;
993
+ resetPending: boolean;
994
+ };
995
+ provisioning?: Record<string, unknown> | null;
996
+ descriptor: {
997
+ visible?: boolean;
998
+ canDisable?: boolean;
999
+ canOverride?: boolean;
1000
+ reason?: string | null;
1001
+ };
1002
+ setupSchema?: Array<Record<string, unknown>>;
1003
+ globalValues?: Record<string, unknown>;
1004
+ defaultValues?: Record<string, unknown>;
1005
+ effectiveValues?: Record<string, unknown>;
1006
+ overrides?: Record<string, unknown>;
1007
+ skillSync?: Record<string, unknown> | null;
1008
+ };
1009
+ };
1010
+ export interface GetWorkspacePluginOptions extends RealtimeXRequestOptions {
1011
+ params?: GetWorkspacePluginParams;
1012
+ query?: GetWorkspacePluginQuery;
1013
+ headers?: GetWorkspacePluginHeaders & Record<string, string>;
1014
+ body?: GetWorkspacePluginBody;
1015
+ }
1016
+
887
1017
  export type GoalKickoffComposerParams = Record<string, never>;
888
1018
  export type GoalKickoffComposerQuery = Record<string, never>;
889
1019
  export type GoalKickoffComposerHeaders = Record<string, never>;
@@ -984,6 +1114,20 @@ export interface ListArtifactsOptions extends RealtimeXRequestOptions {
984
1114
  body?: ListArtifactsBody;
985
1115
  }
986
1116
 
1117
+ export type ListBrowserProfilesParams = Record<string, never>;
1118
+ export type ListBrowserProfilesQuery = Record<string, never>;
1119
+ export type ListBrowserProfilesHeaders = {
1120
+ "x-app-id"?: string;
1121
+ };
1122
+ export type ListBrowserProfilesBody = unknown;
1123
+ export type ListBrowserProfilesResponse = Record<string, unknown>;
1124
+ export interface ListBrowserProfilesOptions extends RealtimeXRequestOptions {
1125
+ params?: ListBrowserProfilesParams;
1126
+ query?: ListBrowserProfilesQuery;
1127
+ headers?: ListBrowserProfilesHeaders & Record<string, string>;
1128
+ body?: ListBrowserProfilesBody;
1129
+ }
1130
+
987
1131
  export type ListBrowserSessionsParams = Record<string, never>;
988
1132
  export type ListBrowserSessionsQuery = Record<string, never>;
989
1133
  export type ListBrowserSessionsHeaders = {
@@ -1180,6 +1324,21 @@ export interface ListThreadsOptions extends RealtimeXRequestOptions {
1180
1324
  body?: ListThreadsBody;
1181
1325
  }
1182
1326
 
1327
+ export type ListThreadWakesParams = Record<string, never>;
1328
+ export type ListThreadWakesQuery = {
1329
+ limit?: number;
1330
+ cursor?: string;
1331
+ };
1332
+ export type ListThreadWakesHeaders = Record<string, never>;
1333
+ export type ListThreadWakesBody = unknown;
1334
+ export type ListThreadWakesResponse = unknown;
1335
+ export interface ListThreadWakesOptions extends RealtimeXRequestOptions {
1336
+ params?: ListThreadWakesParams;
1337
+ query?: ListThreadWakesQuery;
1338
+ headers?: ListThreadWakesHeaders & Record<string, string>;
1339
+ body?: ListThreadWakesBody;
1340
+ }
1341
+
1183
1342
  export type ListWebhookDeliveriesParams = Record<string, never>;
1184
1343
  export type ListWebhookDeliveriesQuery = {
1185
1344
  endpointId?: string;
@@ -1225,6 +1384,60 @@ export interface ListWorkspaceAgentSkillsOptions extends RealtimeXRequestOptions
1225
1384
  body?: ListWorkspaceAgentSkillsBody;
1226
1385
  }
1227
1386
 
1387
+ export type ListWorkspacePluginsParams = Record<string, never>;
1388
+ export type ListWorkspacePluginsQuery = {
1389
+ workspaceSlug: string;
1390
+ };
1391
+ export type ListWorkspacePluginsHeaders = Record<string, never>;
1392
+ export type ListWorkspacePluginsBody = unknown;
1393
+ export type ListWorkspacePluginsResponse = {
1394
+ success: true;
1395
+ workspace: {
1396
+ id: number;
1397
+ slug: string;
1398
+ name: string;
1399
+ };
1400
+ plugins: Array<{
1401
+ id: string;
1402
+ manifestId?: string | null;
1403
+ name?: string;
1404
+ displayName?: string;
1405
+ description?: string | null;
1406
+ version?: string | null;
1407
+ globallyEnabled?: boolean;
1408
+ activationScope?: "workspace" | "global";
1409
+ activationPaused?: boolean;
1410
+ enabled: boolean;
1411
+ workspaceEnabled: boolean | null;
1412
+ inheritsEnabled?: boolean;
1413
+ hasWorkspaceConfig?: boolean;
1414
+ lifecycle: {
1415
+ runtimeStatus: "loaded" | "unloaded";
1416
+ runtimeHold: boolean;
1417
+ resetPending: boolean;
1418
+ };
1419
+ provisioning?: Record<string, unknown> | null;
1420
+ descriptor: {
1421
+ visible?: boolean;
1422
+ canDisable?: boolean;
1423
+ canOverride?: boolean;
1424
+ reason?: string | null;
1425
+ };
1426
+ setupSchema?: Array<Record<string, unknown>>;
1427
+ globalValues?: Record<string, unknown>;
1428
+ defaultValues?: Record<string, unknown>;
1429
+ effectiveValues?: Record<string, unknown>;
1430
+ overrides?: Record<string, unknown>;
1431
+ skillSync?: Record<string, unknown> | null;
1432
+ }>;
1433
+ };
1434
+ export interface ListWorkspacePluginsOptions extends RealtimeXRequestOptions {
1435
+ params?: ListWorkspacePluginsParams;
1436
+ query?: ListWorkspacePluginsQuery;
1437
+ headers?: ListWorkspacePluginsHeaders & Record<string, string>;
1438
+ body?: ListWorkspacePluginsBody;
1439
+ }
1440
+
1228
1441
  export type ListWorkspacesParams = Record<string, never>;
1229
1442
  export type ListWorkspacesQuery = Record<string, never>;
1230
1443
  export type ListWorkspacesHeaders = {
@@ -1651,6 +1864,67 @@ export interface ResendHumanQuestionOptions extends RealtimeXRequestOptions {
1651
1864
  body?: ResendHumanQuestionBody;
1652
1865
  }
1653
1866
 
1867
+ export type ResetWorkspacePluginParams = {
1868
+ pluginId: string;
1869
+ };
1870
+ export type ResetWorkspacePluginQuery = {
1871
+ workspaceSlug: string;
1872
+ yes: boolean;
1873
+ };
1874
+ export type ResetWorkspacePluginHeaders = Record<string, never>;
1875
+ export type ResetWorkspacePluginBody = unknown;
1876
+ export type ResetWorkspacePluginResponse = {
1877
+ success: true;
1878
+ workspace: {
1879
+ id: number;
1880
+ slug: string;
1881
+ name: string;
1882
+ };
1883
+ plugin: {
1884
+ id: string;
1885
+ manifestId?: string | null;
1886
+ name?: string;
1887
+ displayName?: string;
1888
+ description?: string | null;
1889
+ version?: string | null;
1890
+ globallyEnabled?: boolean;
1891
+ activationScope?: "workspace" | "global";
1892
+ activationPaused?: boolean;
1893
+ enabled: boolean;
1894
+ workspaceEnabled: boolean | null;
1895
+ inheritsEnabled?: boolean;
1896
+ hasWorkspaceConfig?: boolean;
1897
+ lifecycle: {
1898
+ runtimeStatus: "loaded" | "unloaded";
1899
+ runtimeHold: boolean;
1900
+ resetPending: boolean;
1901
+ };
1902
+ provisioning?: Record<string, unknown> | null;
1903
+ descriptor: {
1904
+ visible?: boolean;
1905
+ canDisable?: boolean;
1906
+ canOverride?: boolean;
1907
+ reason?: string | null;
1908
+ };
1909
+ setupSchema?: Array<Record<string, unknown>>;
1910
+ globalValues?: Record<string, unknown>;
1911
+ defaultValues?: Record<string, unknown>;
1912
+ effectiveValues?: Record<string, unknown>;
1913
+ overrides?: Record<string, unknown>;
1914
+ skillSync?: Record<string, unknown> | null;
1915
+ } | null;
1916
+ operation: {
1917
+ kind: "set" | "reset";
1918
+ status: "completed";
1919
+ };
1920
+ };
1921
+ export interface ResetWorkspacePluginOptions extends RealtimeXRequestOptions {
1922
+ params?: ResetWorkspacePluginParams;
1923
+ query?: ResetWorkspacePluginQuery;
1924
+ headers?: ResetWorkspacePluginHeaders & Record<string, string>;
1925
+ body?: ResetWorkspacePluginBody;
1926
+ }
1927
+
1654
1928
  export type ResolveDelegateParams = Record<string, never>;
1655
1929
  export type ResolveDelegateQuery = {
1656
1930
  scopeKind: "global" | "project" | "workspace";
@@ -1730,6 +2004,22 @@ export interface RestartLocalAppOptions extends RealtimeXRequestOptions {
1730
2004
  body?: RestartLocalAppBody;
1731
2005
  }
1732
2006
 
2007
+ export type ResubscribeChannelParams = {
2008
+ channelId: string;
2009
+ };
2010
+ export type ResubscribeChannelQuery = Record<string, never>;
2011
+ export type ResubscribeChannelHeaders = {
2012
+ "x-app-id"?: string;
2013
+ };
2014
+ export type ResubscribeChannelBody = unknown;
2015
+ export type ResubscribeChannelResponse = Record<string, unknown>;
2016
+ export interface ResubscribeChannelOptions extends RealtimeXRequestOptions {
2017
+ params?: ResubscribeChannelParams;
2018
+ query?: ResubscribeChannelQuery;
2019
+ headers?: ResubscribeChannelHeaders & Record<string, string>;
2020
+ body?: ResubscribeChannelBody;
2021
+ }
2022
+
1733
2023
  export type ResumeArtifactParams = {
1734
2024
  artifactId: string;
1735
2025
  };
@@ -2106,6 +2396,26 @@ export interface SetLocalAppEnabledOptions extends RealtimeXRequestOptions {
2106
2396
  body?: SetLocalAppEnabledBody;
2107
2397
  }
2108
2398
 
2399
+ export type SetThreadWakeParams = Record<string, never>;
2400
+ export type SetThreadWakeQuery = Record<string, never>;
2401
+ export type SetThreadWakeHeaders = Record<string, never>;
2402
+ export type SetThreadWakeBody = {
2403
+ key: string;
2404
+ in?: string;
2405
+ at?: string;
2406
+ until?: string;
2407
+ reason: string;
2408
+ context?: Record<string, unknown>;
2409
+ onReply?: "cancel" | "keep";
2410
+ };
2411
+ export type SetThreadWakeResponse = unknown;
2412
+ export interface SetThreadWakeOptions extends RealtimeXRequestOptions {
2413
+ params?: SetThreadWakeParams;
2414
+ query?: SetThreadWakeQuery;
2415
+ headers?: SetThreadWakeHeaders & Record<string, string>;
2416
+ body?: SetThreadWakeBody;
2417
+ }
2418
+
2109
2419
  export type SetupHeartbeatTasksParams = Record<string, never>;
2110
2420
  export type SetupHeartbeatTasksQuery = {
2111
2421
  workspaceSlug?: string;
@@ -2209,6 +2519,69 @@ export interface SetWorkspaceDefaultAgentOptions extends RealtimeXRequestOptions
2209
2519
  body?: SetWorkspaceDefaultAgentBody;
2210
2520
  }
2211
2521
 
2522
+ export type SetWorkspacePluginParams = {
2523
+ pluginId: string;
2524
+ };
2525
+ export type SetWorkspacePluginQuery = {
2526
+ workspaceSlug: string;
2527
+ };
2528
+ export type SetWorkspacePluginHeaders = Record<string, never>;
2529
+ export type SetWorkspacePluginBody = {
2530
+ enabled?: boolean;
2531
+ config?: Record<string, unknown>;
2532
+ };
2533
+ export type SetWorkspacePluginResponse = {
2534
+ success: true;
2535
+ workspace: {
2536
+ id: number;
2537
+ slug: string;
2538
+ name: string;
2539
+ };
2540
+ plugin: {
2541
+ id: string;
2542
+ manifestId?: string | null;
2543
+ name?: string;
2544
+ displayName?: string;
2545
+ description?: string | null;
2546
+ version?: string | null;
2547
+ globallyEnabled?: boolean;
2548
+ activationScope?: "workspace" | "global";
2549
+ activationPaused?: boolean;
2550
+ enabled: boolean;
2551
+ workspaceEnabled: boolean | null;
2552
+ inheritsEnabled?: boolean;
2553
+ hasWorkspaceConfig?: boolean;
2554
+ lifecycle: {
2555
+ runtimeStatus: "loaded" | "unloaded";
2556
+ runtimeHold: boolean;
2557
+ resetPending: boolean;
2558
+ };
2559
+ provisioning?: Record<string, unknown> | null;
2560
+ descriptor: {
2561
+ visible?: boolean;
2562
+ canDisable?: boolean;
2563
+ canOverride?: boolean;
2564
+ reason?: string | null;
2565
+ };
2566
+ setupSchema?: Array<Record<string, unknown>>;
2567
+ globalValues?: Record<string, unknown>;
2568
+ defaultValues?: Record<string, unknown>;
2569
+ effectiveValues?: Record<string, unknown>;
2570
+ overrides?: Record<string, unknown>;
2571
+ skillSync?: Record<string, unknown> | null;
2572
+ } | null;
2573
+ operation: {
2574
+ kind: "set" | "reset";
2575
+ status: "completed";
2576
+ };
2577
+ };
2578
+ export interface SetWorkspacePluginOptions extends RealtimeXRequestOptions {
2579
+ params?: SetWorkspacePluginParams;
2580
+ query?: SetWorkspacePluginQuery;
2581
+ headers?: SetWorkspacePluginHeaders & Record<string, string>;
2582
+ body?: SetWorkspacePluginBody;
2583
+ }
2584
+
2212
2585
  export type StartBrowserSessionParams = {
2213
2586
  sessionName: string;
2214
2587
  };
@@ -2337,6 +2710,20 @@ export interface TerminateTerminalSessionOptions extends RealtimeXRequestOptions
2337
2710
  body?: TerminateTerminalSessionBody;
2338
2711
  }
2339
2712
 
2713
+ export type TestChannelParams = Record<string, never>;
2714
+ export type TestChannelQuery = Record<string, never>;
2715
+ export type TestChannelHeaders = {
2716
+ "x-app-id"?: string;
2717
+ };
2718
+ export type TestChannelBody = unknown;
2719
+ export type TestChannelResponse = Record<string, unknown>;
2720
+ export interface TestChannelOptions extends RealtimeXRequestOptions {
2721
+ params?: TestChannelParams;
2722
+ query?: TestChannelQuery;
2723
+ headers?: TestChannelHeaders & Record<string, string>;
2724
+ body?: TestChannelBody;
2725
+ }
2726
+
2340
2727
  export type TestWebhookEndpointParams = {
2341
2728
  endpointId: string;
2342
2729
  };
@@ -2408,6 +2795,9 @@ export type UpdateChannelBody = {
2408
2795
  maxFileUploadMb?: number;
2409
2796
  ttsEnabled?: boolean;
2410
2797
  tts_enabled?: boolean;
2798
+ settings?: {
2799
+ deliveryMode?: "agent" | "platform";
2800
+ };
2411
2801
  };
2412
2802
  export type UpdateChannelResponse = Record<string, unknown>;
2413
2803
  export interface UpdateChannelOptions extends RealtimeXRequestOptions {
@@ -2665,6 +3055,9 @@ export declare class RealtimeXClient {
2665
3055
  calibrateDecisionBattery(body: CalibrateDecisionBatteryBody, options?: Omit<CalibrateDecisionBatteryOptions, 'body'>): Promise<CalibrateDecisionBatteryResponse>;
2666
3056
  cancelHumanQuestion(options?: CancelHumanQuestionOptions): Promise<CancelHumanQuestionResponse>;
2667
3057
  cancelHumanQuestion(requestId: string, body: CancelHumanQuestionBody, options?: Omit<CancelHumanQuestionOptions, 'params' | 'body'>): Promise<CancelHumanQuestionResponse>;
3058
+ /** Cancel a scheduled wake-up of the thread of the calling agent session by key. Cancelling an already cancelled key succeeds. A wake that is being delivered cannot be retracted. A wake with uncertain delivery can only be released with acknowledgeUnknown after checking the thread. */
3059
+ cancelThreadWake(options?: CancelThreadWakeOptions): Promise<CancelThreadWakeResponse>;
3060
+ cancelThreadWake(body: CancelThreadWakeBody, options?: Omit<CancelThreadWakeOptions, 'body'>): Promise<CancelThreadWakeResponse>;
2668
3061
  /** Measure chat rich-content containment in the owned Electron renderer. */
2669
3062
  chatRichContentContainment(options?: ChatRichContentContainmentOptions): Promise<ChatRichContentContainmentResponse>;
2670
3063
  chatRichContentContainment(body: ChatRichContentContainmentBody, options?: Omit<ChatRichContentContainmentOptions, 'body'>): Promise<ChatRichContentContainmentResponse>;
@@ -2677,6 +3070,8 @@ export declare class RealtimeXClient {
2677
3070
  /** Verify Companion host-capability rename preview, navigation cancellation, confirmation, and terminal-session isolation. */
2678
3071
  companionHostCapabilityRename(options?: CompanionHostCapabilityRenameOptions): Promise<CompanionHostCapabilityRenameResponse>;
2679
3072
  companionHostCapabilityRename(body: CompanionHostCapabilityRenameBody, options?: Omit<CompanionHostCapabilityRenameOptions, 'body'>): Promise<CompanionHostCapabilityRenameResponse>;
3073
+ completeChannelSetup(options?: CompleteChannelSetupOptions): Promise<CompleteChannelSetupResponse>;
3074
+ completeChannelSetup(channelId: string, options?: Omit<CompleteChannelSetupOptions, 'params'>): Promise<CompleteChannelSetupResponse>;
2680
3075
  /** Set non-secret global configuration values for one installed plugin. Use a plugin id, name, or displayName from list-plugins. Password fields are refused for manual global setup; workspace-owned fields are rejected and must be configured in Workspace Settings → Plugins. */
2681
3076
  configurePlugin(options?: ConfigurePluginOptions): Promise<ConfigurePluginResponse>;
2682
3077
  configurePlugin(pluginId: string, body: ConfigurePluginBody, options?: Omit<ConfigurePluginOptions, 'params' | 'body'>): Promise<ConfigurePluginResponse>;
@@ -2742,11 +3137,16 @@ export declare class RealtimeXClient {
2742
3137
  /** Enable one agent skill in a workspace. Use a skill id, name, or displayName from list-workspace-agent-skills. */
2743
3138
  enableWorkspaceAgentSkill(options?: EnableWorkspaceAgentSkillOptions): Promise<EnableWorkspaceAgentSkillResponse>;
2744
3139
  enableWorkspaceAgentSkill(params: EnableWorkspaceAgentSkillParams, options?: Omit<EnableWorkspaceAgentSkillOptions, 'params'>): Promise<EnableWorkspaceAgentSkillResponse>;
3140
+ /** Make a tab the displayed tab of a running RealTimeX Browser session, so it renders before an agent interacts with it. Pass tabId from list-browser-sessions, or a tabRef. focusWindow defaults to false here (unlike the SDK focus route), so the window does not take focus from the Human; set it to true only when the Human should see the window. */
3141
+ focusBrowserTab(options?: FocusBrowserTabOptions): Promise<FocusBrowserTabResponse>;
3142
+ focusBrowserTab(sessionName: string, body: FocusBrowserTabBody, options?: Omit<FocusBrowserTabOptions, 'params' | 'body'>): Promise<FocusBrowserTabResponse>;
2745
3143
  forgetMemory(options?: ForgetMemoryOptions): Promise<ForgetMemoryResponse>;
2746
3144
  forgetMemory(body: ForgetMemoryBody, options?: Omit<ForgetMemoryOptions, 'body'>): Promise<ForgetMemoryResponse>;
2747
3145
  /** Get one public artifact by artifact id. */
2748
3146
  getArtifact(options?: GetArtifactOptions): Promise<GetArtifactResponse>;
2749
3147
  getArtifact(artifactId: string, options?: Omit<GetArtifactOptions, 'params'>): Promise<GetArtifactResponse>;
3148
+ getChannelWebhook(options?: GetChannelWebhookOptions): Promise<GetChannelWebhookResponse>;
3149
+ getChannelWebhook(channelId: string, options?: Omit<GetChannelWebhookOptions, 'params'>): Promise<GetChannelWebhookResponse>;
2750
3150
  getDelegateMandate(options?: GetDelegateMandateOptions): Promise<GetDelegateMandateResponse>;
2751
3151
  getDelegateMandate(query?: GetDelegateMandateQuery, options?: Omit<GetDelegateMandateOptions, 'query'>): Promise<GetDelegateMandateResponse>;
2752
3152
  getHumanQuestion(options?: GetHumanQuestionOptions): Promise<GetHumanQuestionResponse>;
@@ -2777,6 +3177,9 @@ export declare class RealtimeXClient {
2777
3177
  /** Get one workspace by exact workspace slug. */
2778
3178
  getWorkspace(options?: GetWorkspaceOptions): Promise<GetWorkspaceResponse>;
2779
3179
  getWorkspace(workspaceSlug: string, options?: Omit<GetWorkspaceOptions, 'params'>): Promise<GetWorkspaceResponse>;
3180
+ /** Get the selection, non-secret settings and workspace config schema of one plugin in one workspace. Use a plugin id, name or displayName. Secret fields are never returned. */
3181
+ getWorkspacePlugin(options?: GetWorkspacePluginOptions): Promise<GetWorkspacePluginResponse>;
3182
+ getWorkspacePlugin(pluginId: string, options?: Omit<GetWorkspacePluginOptions, 'params'>): Promise<GetWorkspacePluginResponse>;
2780
3183
  /** Verify the shared Project/global Goal kickoff composer, routing, attachment authorization, retry, preview, and responsive layouts. */
2781
3184
  goalKickoffComposer(options?: GoalKickoffComposerOptions): Promise<GoalKickoffComposerResponse>;
2782
3185
  goalKickoffComposer(body: GoalKickoffComposerBody, options?: Omit<GoalKickoffComposerOptions, 'body'>): Promise<GoalKickoffComposerResponse>;
@@ -2794,6 +3197,8 @@ export declare class RealtimeXClient {
2794
3197
  /** List public artifacts for one exact workspace slug. Revoked artifacts are hidden unless includeRevoked=true is passed. */
2795
3198
  listArtifacts(options?: ListArtifactsOptions): Promise<ListArtifactsResponse>;
2796
3199
  listArtifacts(workspaceSlug: string, options?: Omit<ListArtifactsOptions, 'params'>): Promise<ListArtifactsResponse>;
3200
+ /** List RealTimeX Browser profiles: the identities (sign-ins) sessions run on, with retention policy and the session using each one. */
3201
+ listBrowserProfiles(options?: ListBrowserProfilesOptions): Promise<ListBrowserProfilesResponse>;
2797
3202
  /** List registered RealTimeX Browser sessions and their live runtime state. */
2798
3203
  listBrowserSessions(options?: ListBrowserSessionsOptions): Promise<ListBrowserSessionsResponse>;
2799
3204
  /** List configured chat channels. Use returned channel ids with update-channel. */
@@ -2822,6 +3227,9 @@ export declare class RealtimeXClient {
2822
3227
  /** List threads for one exact workspace slug. */
2823
3228
  listThreads(options?: ListThreadsOptions): Promise<ListThreadsResponse>;
2824
3229
  listThreads(workspaceSlug: string, options?: Omit<ListThreadsOptions, 'params'>): Promise<ListThreadsResponse>;
3230
+ /** List wake-ups of the thread of the calling agent session, newest first, including delivered, cancelled, expired and uncertain ones, plus the workspace wake policy. */
3231
+ listThreadWakes(options?: ListThreadWakesOptions): Promise<ListThreadWakesResponse>;
3232
+ listThreadWakes(query?: ListThreadWakesQuery, options?: Omit<ListThreadWakesOptions, 'query'>): Promise<ListThreadWakesResponse>;
2825
3233
  /** List bounded delivery metadata for visible webhook endpoints. Raw headers, bodies, signatures, and payload fields are omitted. */
2826
3234
  listWebhookDeliveries(options?: ListWebhookDeliveriesOptions): Promise<ListWebhookDeliveriesResponse>;
2827
3235
  listWebhookDeliveries(query?: ListWebhookDeliveriesQuery, options?: Omit<ListWebhookDeliveriesOptions, 'query'>): Promise<ListWebhookDeliveriesResponse>;
@@ -2830,6 +3238,9 @@ export declare class RealtimeXClient {
2830
3238
  /** List available non-candidate agent skills with enabled/disabled state for one exact workspace slug. */
2831
3239
  listWorkspaceAgentSkills(options?: ListWorkspaceAgentSkillsOptions): Promise<ListWorkspaceAgentSkillsResponse>;
2832
3240
  listWorkspaceAgentSkills(workspaceSlug: string, options?: Omit<ListWorkspaceAgentSkillsOptions, 'params'>): Promise<ListWorkspaceAgentSkillsResponse>;
3241
+ /** List the plugin selections and non-secret settings of one workspace. Read-only. Each plugin reports its saved selection (workspaceEnabled), effective state (enabled), non-secret settings and lifecycle flags. Secret fields are never returned; set them in Workspace Settings → Plugins. */
3242
+ listWorkspacePlugins(options?: ListWorkspacePluginsOptions): Promise<ListWorkspacePluginsResponse>;
3243
+ listWorkspacePlugins(query?: ListWorkspacePluginsQuery, options?: Omit<ListWorkspacePluginsOptions, 'query'>): Promise<ListWorkspacePluginsResponse>;
2833
3244
  /** List all workspaces visible to the current API caller. Use this before choosing a workspace slug. */
2834
3245
  listWorkspaces(options?: ListWorkspacesOptions): Promise<ListWorkspacesResponse>;
2835
3246
  /** Verify handoff, reply, and card order after returning to a cached background thread. */
@@ -2890,6 +3301,9 @@ export declare class RealtimeXClient {
2890
3301
  renameWorkspace(workspaceSlug: string, body: RenameWorkspaceBody, options?: Omit<RenameWorkspaceOptions, 'params' | 'body'>): Promise<RenameWorkspaceResponse>;
2891
3302
  resendHumanQuestion(options?: ResendHumanQuestionOptions): Promise<ResendHumanQuestionResponse>;
2892
3303
  resendHumanQuestion(requestId: string, options?: Omit<ResendHumanQuestionOptions, 'params'>): Promise<ResendHumanQuestionResponse>;
3304
+ /** Clear the saved selection and every workspace setting of one plugin in one workspace. This includes secrets set in Workspace Settings. Workspace-activated plugins return to off; others return to the global setting. Requires yes=true. */
3305
+ resetWorkspacePlugin(options?: ResetWorkspacePluginOptions): Promise<ResetWorkspacePluginResponse>;
3306
+ resetWorkspacePlugin(pluginId: string, options?: Omit<ResetWorkspacePluginOptions, 'params'>): Promise<ResetWorkspacePluginResponse>;
2893
3307
  resolveDelegate(options?: ResolveDelegateOptions): Promise<ResolveDelegateResponse>;
2894
3308
  resolveDelegate(query?: ResolveDelegateQuery, options?: Omit<ResolveDelegateOptions, 'query'>): Promise<ResolveDelegateResponse>;
2895
3309
  resolveHumanQuestion(options?: ResolveHumanQuestionOptions): Promise<ResolveHumanQuestionResponse>;
@@ -2902,6 +3316,8 @@ export declare class RealtimeXClient {
2902
3316
  respondTerminalIdlePrompt(sessionId: string, body: RespondTerminalIdlePromptBody, options?: Omit<RespondTerminalIdlePromptOptions, 'params' | 'body'>): Promise<RespondTerminalIdlePromptResponse>;
2903
3317
  restartLocalApp(options?: RestartLocalAppOptions): Promise<RestartLocalAppResponse>;
2904
3318
  restartLocalApp(appId: string, body: RestartLocalAppBody, options?: Omit<RestartLocalAppOptions, 'params' | 'body'>): Promise<RestartLocalAppResponse>;
3319
+ resubscribeChannel(options?: ResubscribeChannelOptions): Promise<ResubscribeChannelResponse>;
3320
+ resubscribeChannel(channelId: string, options?: Omit<ResubscribeChannelOptions, 'params'>): Promise<ResubscribeChannelResponse>;
2905
3321
  /** Resume one paused artifact by artifact id. */
2906
3322
  resumeArtifact(options?: ResumeArtifactOptions): Promise<ResumeArtifactResponse>;
2907
3323
  resumeArtifact(artifactId: string, options?: Omit<ResumeArtifactOptions, 'params'>): Promise<ResumeArtifactResponse>;
@@ -2957,6 +3373,9 @@ export declare class RealtimeXClient {
2957
3373
  setHeartbeatTimezone(body: SetHeartbeatTimezoneBody, options?: Omit<SetHeartbeatTimezoneOptions, 'body'>): Promise<SetHeartbeatTimezoneResponse>;
2958
3374
  setLocalAppEnabled(options?: SetLocalAppEnabledOptions): Promise<SetLocalAppEnabledResponse>;
2959
3375
  setLocalAppEnabled(appId: string, body: SetLocalAppEnabledBody, options?: Omit<SetLocalAppEnabledOptions, 'params' | 'body'>): Promise<SetLocalAppEnabledResponse>;
3376
+ /** Schedule a one-shot wake-up for the thread of the calling agent session. When it is due, RealtimeX starts a normal turn in this thread with your reason and saved context; waking sends nothing by itself. Setting an existing key replaces its scheduled wake. Give exactly one of in (a delay such as 45m) or at (an ISO time with offset). Optional until expires the wake if it cannot fire in time. onReply defaults to cancel: a new customer or user message in the thread cancels the wake. Errors: 403 not a thread-bound agent session, 409 policy disabled or key in flight/uncertain, 429 too many pending wakes. */
3377
+ setThreadWake(options?: SetThreadWakeOptions): Promise<SetThreadWakeResponse>;
3378
+ setThreadWake(body: SetThreadWakeBody, options?: Omit<SetThreadWakeOptions, 'body'>): Promise<SetThreadWakeResponse>;
2960
3379
  /** Set up HEARTBEAT.md task instructions for a workspace or global ambient agent. Returns the target path, template, file path, and concise editing instructions. */
2961
3380
  setupHeartbeatTasks(options?: SetupHeartbeatTasksOptions): Promise<SetupHeartbeatTasksResponse>;
2962
3381
  setupHeartbeatTasks(query?: SetupHeartbeatTasksQuery, options?: Omit<SetupHeartbeatTasksOptions, 'query'>): Promise<SetupHeartbeatTasksResponse>;
@@ -2969,6 +3388,9 @@ export declare class RealtimeXClient {
2969
3388
  /** Set the default CLI agent for a workspace. Use prepare first to find a valid agent canonical/providerId and optional modelId. */
2970
3389
  setWorkspaceDefaultAgent(options?: SetWorkspaceDefaultAgentOptions): Promise<SetWorkspaceDefaultAgentResponse>;
2971
3390
  setWorkspaceDefaultAgent(workspaceSlug: string, body: SetWorkspaceDefaultAgentBody, options?: Omit<SetWorkspaceDefaultAgentOptions, 'params' | 'body'>): Promise<SetWorkspaceDefaultAgentResponse>;
3391
+ /** Turn a plugin on or off in one workspace or change its non-secret workspace settings. config is a partial update: settings you leave out keep their current workspace values. Uses the same validation, lock and lifecycle as Workspace Settings → Plugins. Secret fields are refused. Returns the saved state. */
3392
+ setWorkspacePlugin(options?: SetWorkspacePluginOptions): Promise<SetWorkspacePluginResponse>;
3393
+ setWorkspacePlugin(pluginId: string, body: SetWorkspacePluginBody, options?: Omit<SetWorkspacePluginOptions, 'params' | 'body'>): Promise<SetWorkspacePluginResponse>;
2972
3394
  /** Start an existing named RealTimeX Browser session, optionally opening an absolute HTTP or HTTPS URL. */
2973
3395
  startBrowserSession(options?: StartBrowserSessionOptions): Promise<StartBrowserSessionResponse>;
2974
3396
  startBrowserSession(sessionName: string, body: StartBrowserSessionBody, options?: Omit<StartBrowserSessionOptions, 'params' | 'body'>): Promise<StartBrowserSessionResponse>;
@@ -2990,6 +3412,7 @@ export declare class RealtimeXClient {
2990
3412
  /** Terminate a terminal runtime session by detaching any controller and closing the underlying PTY session. */
2991
3413
  terminateTerminalSession(options?: TerminateTerminalSessionOptions): Promise<TerminateTerminalSessionResponse>;
2992
3414
  terminateTerminalSession(sessionId: string, options?: Omit<TerminateTerminalSessionOptions, 'params'>): Promise<TerminateTerminalSessionResponse>;
3415
+ testChannel(options?: TestChannelOptions): Promise<TestChannelResponse>;
2993
3416
  /** Submit an optional JSON payload as a signed test delivery through a visible webhook endpoint. */
2994
3417
  testWebhookEndpoint(options?: TestWebhookEndpointOptions): Promise<TestWebhookEndpointResponse>;
2995
3418
  testWebhookEndpoint(endpointId: string, body: TestWebhookEndpointBody, options?: Omit<TestWebhookEndpointOptions, 'params' | 'body'>): Promise<TestWebhookEndpointResponse>;