@realtimex/sdk 2.0.46 → 2.0.48

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
@@ -270,7 +270,43 @@ export type CreateBrowserSessionBody = {
270
270
  guardrails?: Record<string, unknown>;
271
271
  origin?: string;
272
272
  };
273
- export type CreateBrowserSessionResponse = Record<string, unknown>;
273
+ export type CreateBrowserSessionResponse = {
274
+ success: boolean;
275
+ session?: {
276
+ sessionName: string;
277
+ status: string;
278
+ running: boolean;
279
+ remoteDebugPort?: number | null;
280
+ tabs?: Array<{
281
+ id?: number;
282
+ url?: string;
283
+ title?: string;
284
+ isActive?: boolean;
285
+ }>;
286
+ control: {
287
+ mode?: "agent" | "person" | "idle";
288
+ source?: "gateway" | "host-only";
289
+ agent?: {
290
+ clients?: number;
291
+ lastCommandAt?: string | null;
292
+ active?: boolean;
293
+ };
294
+ person?: {
295
+ since?: string | null;
296
+ };
297
+ startedBy?: Record<string, unknown> | null;
298
+ updatedAt?: string | null;
299
+ } | null;
300
+ pendingAuth: {
301
+ host: string;
302
+ realm: string | null;
303
+ } | null;
304
+ downloads: {
305
+ count: number;
306
+ lastAt: string | null;
307
+ } | null;
308
+ } | null;
309
+ };
274
310
  export interface CreateBrowserSessionOptions extends RealtimeXRequestOptions {
275
311
  params?: CreateBrowserSessionParams;
276
312
  query?: CreateBrowserSessionQuery;
@@ -287,11 +323,14 @@ export type CreateChannelHeaders = {
287
323
  };
288
324
  export type CreateChannelBody = {
289
325
  name?: string;
290
- plugin_type?: "telegram" | "discord" | "zalo" | "messenger";
291
- channelType?: "telegram" | "discord" | "zalo" | "messenger";
292
- type?: "telegram" | "discord" | "zalo" | "messenger";
326
+ plugin_type?: "telegram" | "discord" | "zalo" | "messenger" | "pancake";
327
+ channelType?: "telegram" | "discord" | "zalo" | "messenger" | "pancake";
328
+ type?: "telegram" | "discord" | "zalo" | "messenger" | "pancake";
293
329
  botToken?: string;
294
330
  pageAccessToken?: string;
331
+ pageId?: string;
332
+ staffQuietMinutes?: number;
333
+ pauseTag?: string;
295
334
  appId?: string;
296
335
  appSecret?: string;
297
336
  dmPolicy?: "open" | "pairing" | "disabled";
@@ -305,6 +344,7 @@ export type CreateChannelBody = {
305
344
  config?: Record<string, unknown>;
306
345
  settings?: {
307
346
  deliveryMode?: "agent" | "platform";
347
+ ownerMessages?: boolean;
308
348
  };
309
349
  };
310
350
  export type CreateChannelResponse = Record<string, unknown>;
@@ -358,7 +398,7 @@ export type CreateSecretBody = {
358
398
  }>;
359
399
  name?: string;
360
400
  value?: string;
361
- kind?: "login" | "card" | "identity" | "note" | "ssh_key" | "secret";
401
+ kind?: "login" | "card" | "identity" | "note" | "ssh_key" | "remote_computer" | "secret";
362
402
  username?: string;
363
403
  password?: string;
364
404
  loginUrl?: string;
@@ -717,7 +757,43 @@ export type FocusBrowserTabBody = {
717
757
  tabRef?: string;
718
758
  focusWindow?: boolean;
719
759
  };
720
- export type FocusBrowserTabResponse = Record<string, unknown>;
760
+ export type FocusBrowserTabResponse = {
761
+ success: boolean;
762
+ session?: {
763
+ sessionName: string;
764
+ status: string;
765
+ running: boolean;
766
+ remoteDebugPort?: number | null;
767
+ tabs?: Array<{
768
+ id?: number;
769
+ url?: string;
770
+ title?: string;
771
+ isActive?: boolean;
772
+ }>;
773
+ control: {
774
+ mode?: "agent" | "person" | "idle";
775
+ source?: "gateway" | "host-only";
776
+ agent?: {
777
+ clients?: number;
778
+ lastCommandAt?: string | null;
779
+ active?: boolean;
780
+ };
781
+ person?: {
782
+ since?: string | null;
783
+ };
784
+ startedBy?: Record<string, unknown> | null;
785
+ updatedAt?: string | null;
786
+ } | null;
787
+ pendingAuth: {
788
+ host: string;
789
+ realm: string | null;
790
+ } | null;
791
+ downloads: {
792
+ count: number;
793
+ lastAt: string | null;
794
+ } | null;
795
+ } | null;
796
+ };
721
797
  export interface FocusBrowserTabOptions extends RealtimeXRequestOptions {
722
798
  params?: FocusBrowserTabParams;
723
799
  query?: FocusBrowserTabQuery;
@@ -1114,6 +1190,39 @@ export interface ListArtifactsOptions extends RealtimeXRequestOptions {
1114
1190
  body?: ListArtifactsBody;
1115
1191
  }
1116
1192
 
1193
+ export type ListBrowserDownloadsParams = {
1194
+ sessionName: string;
1195
+ };
1196
+ export type ListBrowserDownloadsQuery = Record<string, never>;
1197
+ export type ListBrowserDownloadsHeaders = {
1198
+ "x-app-id"?: string;
1199
+ };
1200
+ export type ListBrowserDownloadsBody = unknown;
1201
+ export type ListBrowserDownloadsResponse = {
1202
+ success: true;
1203
+ sessionName: string;
1204
+ downloads: Array<{
1205
+ id: string;
1206
+ filename?: string | null;
1207
+ path?: string | null;
1208
+ state: "progressing" | "completed" | "cancelled" | "interrupted";
1209
+ url?: string | null;
1210
+ mimeType?: string | null;
1211
+ startedBy: "agent" | "person" | "unknown";
1212
+ receivedBytes?: number;
1213
+ totalBytes?: number;
1214
+ startedAt?: string | null;
1215
+ endedAt?: string | null;
1216
+ reason?: string;
1217
+ }>;
1218
+ };
1219
+ export interface ListBrowserDownloadsOptions extends RealtimeXRequestOptions {
1220
+ params?: ListBrowserDownloadsParams;
1221
+ query?: ListBrowserDownloadsQuery;
1222
+ headers?: ListBrowserDownloadsHeaders & Record<string, string>;
1223
+ body?: ListBrowserDownloadsBody;
1224
+ }
1225
+
1117
1226
  export type ListBrowserProfilesParams = Record<string, never>;
1118
1227
  export type ListBrowserProfilesQuery = Record<string, never>;
1119
1228
  export type ListBrowserProfilesHeaders = {
@@ -1134,7 +1243,44 @@ export type ListBrowserSessionsHeaders = {
1134
1243
  "x-app-id"?: string;
1135
1244
  };
1136
1245
  export type ListBrowserSessionsBody = unknown;
1137
- export type ListBrowserSessionsResponse = Record<string, unknown>;
1246
+ export type ListBrowserSessionsResponse = {
1247
+ success: true;
1248
+ sessions: Array<{
1249
+ sessionName: string;
1250
+ status: string;
1251
+ running: boolean;
1252
+ remoteDebugPort?: number | null;
1253
+ tabs?: Array<{
1254
+ id?: number;
1255
+ url?: string;
1256
+ title?: string;
1257
+ isActive?: boolean;
1258
+ }>;
1259
+ control: {
1260
+ mode?: "agent" | "person" | "idle";
1261
+ source?: "gateway" | "host-only";
1262
+ agent?: {
1263
+ clients?: number;
1264
+ lastCommandAt?: string | null;
1265
+ active?: boolean;
1266
+ };
1267
+ person?: {
1268
+ since?: string | null;
1269
+ };
1270
+ startedBy?: Record<string, unknown> | null;
1271
+ updatedAt?: string | null;
1272
+ } | null;
1273
+ pendingAuth: {
1274
+ host: string;
1275
+ realm: string | null;
1276
+ } | null;
1277
+ downloads: {
1278
+ count: number;
1279
+ lastAt: string | null;
1280
+ } | null;
1281
+ }>;
1282
+ profiles?: Array<Record<string, unknown>>;
1283
+ };
1138
1284
  export interface ListBrowserSessionsOptions extends RealtimeXRequestOptions {
1139
1285
  params?: ListBrowserSessionsParams;
1140
1286
  query?: ListBrowserSessionsQuery;
@@ -1565,6 +1711,43 @@ export interface PauseArtifactOptions extends RealtimeXRequestOptions {
1565
1711
  body?: PauseArtifactBody;
1566
1712
  }
1567
1713
 
1714
+ export type PeerConnectionFixtureParams = Record<string, never>;
1715
+ export type PeerConnectionFixtureQuery = Record<string, never>;
1716
+ export type PeerConnectionFixtureHeaders = Record<string, never>;
1717
+ export type PeerConnectionFixtureBody = {
1718
+ workspaceSlug?: string;
1719
+ storageUser?: string;
1720
+ artifactPath?: string;
1721
+ timeoutMs?: number;
1722
+ confirmDestructive?: boolean;
1723
+ };
1724
+ export type PeerConnectionFixtureResponse = Record<string, unknown>;
1725
+ export interface PeerConnectionFixtureOptions extends RealtimeXRequestOptions {
1726
+ params?: PeerConnectionFixtureParams;
1727
+ query?: PeerConnectionFixtureQuery;
1728
+ headers?: PeerConnectionFixtureHeaders & Record<string, string>;
1729
+ body?: PeerConnectionFixtureBody;
1730
+ }
1731
+
1732
+ export type PeerRequestFixtureParams = Record<string, never>;
1733
+ export type PeerRequestFixtureQuery = Record<string, never>;
1734
+ export type PeerRequestFixtureHeaders = Record<string, never>;
1735
+ export type PeerRequestFixtureBody = {
1736
+ workspaceSlug?: string;
1737
+ threadSlug?: string;
1738
+ storageUser?: string;
1739
+ artifactPath?: string;
1740
+ timeoutMs?: number;
1741
+ confirmDestructive?: boolean;
1742
+ };
1743
+ export type PeerRequestFixtureResponse = Record<string, unknown>;
1744
+ export interface PeerRequestFixtureOptions extends RealtimeXRequestOptions {
1745
+ params?: PeerRequestFixtureParams;
1746
+ query?: PeerRequestFixtureQuery;
1747
+ headers?: PeerRequestFixtureHeaders & Record<string, string>;
1748
+ body?: PeerRequestFixtureBody;
1749
+ }
1750
+
1568
1751
  export type PostCliDelegateConsultationsConsultationIdReplyParams = {
1569
1752
  consultationId: string;
1570
1753
  };
@@ -1768,8 +1951,12 @@ export interface PublishArtifactOptions extends RealtimeXRequestOptions {
1768
1951
 
1769
1952
  export type ReadMemoryParams = Record<string, never>;
1770
1953
  export type ReadMemoryQuery = {
1954
+ request?: string;
1771
1955
  workspaceSlug?: string;
1772
1956
  topic?: string;
1957
+ person?: string;
1958
+ people?: boolean;
1959
+ query?: string;
1773
1960
  };
1774
1961
  export type ReadMemoryHeaders = Record<string, never>;
1775
1962
  export type ReadMemoryBody = unknown;
@@ -2592,7 +2779,43 @@ export type StartBrowserSessionHeaders = {
2592
2779
  export type StartBrowserSessionBody = {
2593
2780
  url?: string;
2594
2781
  };
2595
- export type StartBrowserSessionResponse = Record<string, unknown>;
2782
+ export type StartBrowserSessionResponse = {
2783
+ success: boolean;
2784
+ session?: {
2785
+ sessionName: string;
2786
+ status: string;
2787
+ running: boolean;
2788
+ remoteDebugPort?: number | null;
2789
+ tabs?: Array<{
2790
+ id?: number;
2791
+ url?: string;
2792
+ title?: string;
2793
+ isActive?: boolean;
2794
+ }>;
2795
+ control: {
2796
+ mode?: "agent" | "person" | "idle";
2797
+ source?: "gateway" | "host-only";
2798
+ agent?: {
2799
+ clients?: number;
2800
+ lastCommandAt?: string | null;
2801
+ active?: boolean;
2802
+ };
2803
+ person?: {
2804
+ since?: string | null;
2805
+ };
2806
+ startedBy?: Record<string, unknown> | null;
2807
+ updatedAt?: string | null;
2808
+ } | null;
2809
+ pendingAuth: {
2810
+ host: string;
2811
+ realm: string | null;
2812
+ } | null;
2813
+ downloads: {
2814
+ count: number;
2815
+ lastAt: string | null;
2816
+ } | null;
2817
+ } | null;
2818
+ };
2596
2819
  export interface StartBrowserSessionOptions extends RealtimeXRequestOptions {
2597
2820
  params?: StartBrowserSessionParams;
2598
2821
  query?: StartBrowserSessionQuery;
@@ -2640,7 +2863,43 @@ export type StopBrowserSessionHeaders = {
2640
2863
  export type StopBrowserSessionBody = {
2641
2864
  timeoutMs?: number;
2642
2865
  };
2643
- export type StopBrowserSessionResponse = Record<string, unknown>;
2866
+ export type StopBrowserSessionResponse = {
2867
+ success: boolean;
2868
+ session?: {
2869
+ sessionName: string;
2870
+ status: string;
2871
+ running: boolean;
2872
+ remoteDebugPort?: number | null;
2873
+ tabs?: Array<{
2874
+ id?: number;
2875
+ url?: string;
2876
+ title?: string;
2877
+ isActive?: boolean;
2878
+ }>;
2879
+ control: {
2880
+ mode?: "agent" | "person" | "idle";
2881
+ source?: "gateway" | "host-only";
2882
+ agent?: {
2883
+ clients?: number;
2884
+ lastCommandAt?: string | null;
2885
+ active?: boolean;
2886
+ };
2887
+ person?: {
2888
+ since?: string | null;
2889
+ };
2890
+ startedBy?: Record<string, unknown> | null;
2891
+ updatedAt?: string | null;
2892
+ } | null;
2893
+ pendingAuth: {
2894
+ host: string;
2895
+ realm: string | null;
2896
+ } | null;
2897
+ downloads: {
2898
+ count: number;
2899
+ lastAt: string | null;
2900
+ } | null;
2901
+ } | null;
2902
+ };
2644
2903
  export interface StopBrowserSessionOptions extends RealtimeXRequestOptions {
2645
2904
  params?: StopBrowserSessionParams;
2646
2905
  query?: StopBrowserSessionQuery;
@@ -2797,6 +3056,7 @@ export type UpdateChannelBody = {
2797
3056
  tts_enabled?: boolean;
2798
3057
  settings?: {
2799
3058
  deliveryMode?: "agent" | "platform";
3059
+ ownerMessages?: boolean;
2800
3060
  };
2801
3061
  };
2802
3062
  export type UpdateChannelResponse = Record<string, unknown>;
@@ -2850,7 +3110,7 @@ export type UpdateSecretBody = {
2850
3110
  }>;
2851
3111
  name?: string;
2852
3112
  value?: string;
2853
- kind?: "login" | "card" | "identity" | "note" | "ssh_key" | "secret";
3113
+ kind?: "login" | "card" | "identity" | "note" | "ssh_key" | "remote_computer" | "secret";
2854
3114
  username?: string;
2855
3115
  password?: string;
2856
3116
  loginUrl?: string;
@@ -2949,6 +3209,8 @@ export type WriteMemoryBody = {
2949
3209
  content: string;
2950
3210
  topic?: string;
2951
3211
  expectedHash?: string | null;
3212
+ person?: string;
3213
+ file?: "owner" | "shared" | "dm";
2952
3214
  };
2953
3215
  export type WriteMemoryResponse = Record<string, unknown>;
2954
3216
  export interface WriteMemoryOptions extends RealtimeXRequestOptions {
@@ -3075,7 +3337,7 @@ export declare class RealtimeXClient {
3075
3337
  /** 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. */
3076
3338
  configurePlugin(options?: ConfigurePluginOptions): Promise<ConfigurePluginResponse>;
3077
3339
  configurePlugin(pluginId: string, body: ConfigurePluginBody, options?: Omit<ConfigurePluginOptions, 'params' | 'body'>): Promise<ConfigurePluginResponse>;
3078
- /** Create an isolated named RealTimeX Browser session. When url is supplied, start the session and open that URL. */
3340
+ /** Create a named RealTimeX Browser session on its own throwaway profile, or, with profileName, on a profile the user created in Settings. When url is supplied, start it and open that URL. */
3079
3341
  createBrowserSession(options?: CreateBrowserSessionOptions): Promise<CreateBrowserSessionResponse>;
3080
3342
  createBrowserSession(body: CreateBrowserSessionBody, options?: Omit<CreateBrowserSessionOptions, 'body'>): Promise<CreateBrowserSessionResponse>;
3081
3343
  /** Create a chat channel in one exact workspace. Defaults to Telegram when plugin_type, channelType, and type are omitted. Use flat botToken and thread_id fields instead of nested config/settings. */
@@ -3103,7 +3365,7 @@ export declare class RealtimeXClient {
3103
3365
  /** Create and deliver a valid synthetic Delegate Human-authorization task in an isolated development runtime. */
3104
3366
  delegateHumanTaskFixture(options?: DelegateHumanTaskFixtureOptions): Promise<DelegateHumanTaskFixtureResponse>;
3105
3367
  delegateHumanTaskFixture(body: DelegateHumanTaskFixtureBody, options?: Omit<DelegateHumanTaskFixtureOptions, 'body'>): Promise<DelegateHumanTaskFixtureResponse>;
3106
- /** Delete a stopped named RealTimeX Browser session and its isolated profile. */
3368
+ /** Delete a stopped named RealTimeX Browser session. Its throwaway profile is removed with it; a profile the user created in Settings stays. */
3107
3369
  deleteBrowserSession(options?: DeleteBrowserSessionOptions): Promise<DeleteBrowserSessionResponse>;
3108
3370
  deleteBrowserSession(sessionName: string, options?: Omit<DeleteBrowserSessionOptions, 'params'>): Promise<DeleteBrowserSessionResponse>;
3109
3371
  /** Delete one chat channel by exact channel id. */
@@ -3197,6 +3459,9 @@ export declare class RealtimeXClient {
3197
3459
  /** List public artifacts for one exact workspace slug. Revoked artifacts are hidden unless includeRevoked=true is passed. */
3198
3460
  listArtifacts(options?: ListArtifactsOptions): Promise<ListArtifactsResponse>;
3199
3461
  listArtifacts(workspaceSlug: string, options?: Omit<ListArtifactsOptions, 'params'>): Promise<ListArtifactsResponse>;
3462
+ /** List the downloads of a running RealTimeX Browser session, newest first: filename, path, state (progressing, completed, cancelled or interrupted), url, startedBy (agent, person or unknown) and byte counts. Files are saved to <Downloads folder>/RealTimeX Browser/<profile name>/. It answers while the person is in control. A session that is not running has no list. */
3463
+ listBrowserDownloads(options?: ListBrowserDownloadsOptions): Promise<ListBrowserDownloadsResponse>;
3464
+ listBrowserDownloads(sessionName: string, options?: Omit<ListBrowserDownloadsOptions, 'params'>): Promise<ListBrowserDownloadsResponse>;
3200
3465
  /** List RealTimeX Browser profiles: the identities (sign-ins) sessions run on, with retention policy and the session using each one. */
3201
3466
  listBrowserProfiles(options?: ListBrowserProfilesOptions): Promise<ListBrowserProfilesResponse>;
3202
3467
  /** List registered RealTimeX Browser sessions and their live runtime state. */
@@ -3261,6 +3526,12 @@ export declare class RealtimeXClient {
3261
3526
  /** Pause one published artifact by artifact id. Paused artifacts remain listed but stop serving publicly. */
3262
3527
  pauseArtifact(options?: PauseArtifactOptions): Promise<PauseArtifactResponse>;
3263
3528
  pauseArtifact(artifactId: string, options?: Omit<PauseArtifactOptions, 'params'>): Promise<PauseArtifactResponse>;
3529
+ /** Put an isolated development runtime into one desktop-connection state for the #2671 thread-reference item. */
3530
+ peerConnectionFixture(options?: PeerConnectionFixtureOptions): Promise<PeerConnectionFixtureResponse>;
3531
+ peerConnectionFixture(body: PeerConnectionFixtureBody, options?: Omit<PeerConnectionFixtureOptions, 'body'>): Promise<PeerConnectionFixtureResponse>;
3532
+ /** Seed one desktop-connection request card per UX contract v3 state into a thread of an isolated development runtime. */
3533
+ peerRequestFixture(options?: PeerRequestFixtureOptions): Promise<PeerRequestFixtureResponse>;
3534
+ peerRequestFixture(body: PeerRequestFixtureBody, options?: Omit<PeerRequestFixtureOptions, 'body'>): Promise<PeerRequestFixtureResponse>;
3264
3535
  postCliDelegateConsultationsConsultationIdReply(options?: PostCliDelegateConsultationsConsultationIdReplyOptions): Promise<PostCliDelegateConsultationsConsultationIdReplyResponse>;
3265
3536
  postCliDelegateConsultationsConsultationIdReply(consultationId: string, options?: Omit<PostCliDelegateConsultationsConsultationIdReplyOptions, 'params'>): Promise<PostCliDelegateConsultationsConsultationIdReplyResponse>;
3266
3537
  postCliDelegateRunsRunIdConsultations(options?: PostCliDelegateRunsRunIdConsultationsOptions): Promise<PostCliDelegateRunsRunIdConsultationsResponse>;
package/index.js CHANGED
@@ -609,6 +609,18 @@ const operations = {
609
609
  ],
610
610
  "hasBody": false
611
611
  },
612
+ "listBrowserDownloads": {
613
+ "method": "GET",
614
+ "path": "/list-browser-downloads/{sessionName}",
615
+ "pathParams": [
616
+ "sessionName"
617
+ ],
618
+ "queryParams": [],
619
+ "headerParams": [
620
+ "x-app-id"
621
+ ],
622
+ "hasBody": false
623
+ },
612
624
  "listBrowserProfiles": {
613
625
  "method": "GET",
614
626
  "path": "/list-browser-profiles",
@@ -881,6 +893,22 @@ const operations = {
881
893
  ],
882
894
  "hasBody": false
883
895
  },
896
+ "peerConnectionFixture": {
897
+ "method": "POST",
898
+ "path": "/peer-connection-fixture",
899
+ "pathParams": [],
900
+ "queryParams": [],
901
+ "headerParams": [],
902
+ "hasBody": true
903
+ },
904
+ "peerRequestFixture": {
905
+ "method": "POST",
906
+ "path": "/peer-request-fixture",
907
+ "pathParams": [],
908
+ "queryParams": [],
909
+ "headerParams": [],
910
+ "hasBody": true
911
+ },
884
912
  "postCliDelegateConsultationsConsultationIdReply": {
885
913
  "method": "POST",
886
914
  "path": "/delegate-consultations/{consultationId}/reply",
@@ -1002,8 +1030,12 @@ const operations = {
1002
1030
  "path": "/read-memory",
1003
1031
  "pathParams": [],
1004
1032
  "queryParams": [
1033
+ "request",
1005
1034
  "workspaceSlug",
1006
- "topic"
1035
+ "topic",
1036
+ "person",
1037
+ "people",
1038
+ "query"
1007
1039
  ],
1008
1040
  "headerParams": [],
1009
1041
  "hasBody": false
@@ -2437,6 +2469,13 @@ class RealtimeXClient {
2437
2469
  );
2438
2470
  }
2439
2471
 
2472
+ listBrowserDownloads(...args) {
2473
+ return this.request(
2474
+ "listBrowserDownloads",
2475
+ normalizeOperationOptions(operations["listBrowserDownloads"], args)
2476
+ );
2477
+ }
2478
+
2440
2479
  listBrowserProfiles(...args) {
2441
2480
  return this.request(
2442
2481
  "listBrowserProfiles",
@@ -2619,6 +2658,20 @@ class RealtimeXClient {
2619
2658
  );
2620
2659
  }
2621
2660
 
2661
+ peerConnectionFixture(...args) {
2662
+ return this.request(
2663
+ "peerConnectionFixture",
2664
+ normalizeOperationOptions(operations["peerConnectionFixture"], args)
2665
+ );
2666
+ }
2667
+
2668
+ peerRequestFixture(...args) {
2669
+ return this.request(
2670
+ "peerRequestFixture",
2671
+ normalizeOperationOptions(operations["peerRequestFixture"], args)
2672
+ );
2673
+ }
2674
+
2622
2675
  postCliDelegateConsultationsConsultationIdReply(...args) {
2623
2676
  return this.request(
2624
2677
  "postCliDelegateConsultationsConsultationIdReply",
@@ -3113,5 +3166,5 @@ module.exports = {
3113
3166
  createRealtimeXClient,
3114
3167
  createRealtimeXWebhookClient,
3115
3168
  operations,
3116
- version: "2.0.46",
3169
+ version: "2.0.48",
3117
3170
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "2.0.46",
3
+ "version": "2.0.48",
4
4
  "description": "RealtimeX runtime SDK package and moderator agent skill assets.",
5
5
  "private": false,
6
6
  "main": "./index.js",
@@ -15,16 +15,16 @@ List, publish, inspect, pause, resume, and revoke RealTimeX workspace artifacts.
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Run RealTimeX automation workflows and guided automation-flow commands, includin
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -83,6 +83,14 @@ realtimex-pp-cli prepare --agent
83
83
 
84
84
  - `realtimex-pp-cli memory-page` — Exercise the global Memory page with intercepted synthetic sources in an owned dev renderer.
85
85
 
86
+ **peer-connection-fixture** — Manage peer connection fixture
87
+
88
+ - `realtimex-pp-cli peer-connection-fixture` — Put an isolated development runtime into one desktop-connection state for the #2671 thread-reference item.
89
+
90
+ **peer-request-fixture** — Manage peer request fixture
91
+
92
+ - `realtimex-pp-cli peer-request-fixture` — Seed one desktop-connection request card per UX contract v3 state into a thread of an isolated development runtime.
93
+
86
94
  **run-automation-workflow** — Manage run automation workflow
87
95
 
88
96
  - `realtimex-pp-cli run-automation-workflow` — Run any app automation flow or scenario exposed via flowMetadata.cli.enabled=true by passing workflowName.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: realtimex-browser-sessions
3
- description: "List, create, start, stop, delete and show tabs of isolated RealTimeX browser sessions. Use for named browser runtime and profile lifecycle work."
3
+ description: "List, create, start, stop, delete and show tabs of named RealTimeX browser sessions. Use for named browser runtime and profile lifecycle work."
4
4
  allowed-tools: "Read Bash"
5
5
  metadata:
6
6
  openclaw:
@@ -11,20 +11,20 @@ metadata:
11
11
 
12
12
  # RealTimeX Browser Sessions
13
13
 
14
- List, create, start, stop, delete and show tabs of isolated RealTimeX browser sessions. Use for named browser runtime and profile lifecycle work.
14
+ List, create, start, stop, delete and show tabs of named RealTimeX browser sessions. Use for named browser runtime and profile lifecycle work.
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -37,16 +37,20 @@ realtimex-pp-cli prepare --agent
37
37
 
38
38
  **create-browser-session** — Manage create browser session
39
39
 
40
- - `realtimex-pp-cli create-browser-session` — Create an isolated named RealTimeX Browser session. When url is supplied, start the session and open that URL.
40
+ - `realtimex-pp-cli create-browser-session` — Create a named RealTimeX Browser session on its own throwaway profile, or, with profileName
41
41
 
42
42
  **delete-browser-session** — Manage delete browser session
43
43
 
44
- - `realtimex-pp-cli delete-browser-session <sessionName>` — Delete a stopped named RealTimeX Browser session and its isolated profile.
44
+ - `realtimex-pp-cli delete-browser-session <sessionName>` — Delete a stopped named RealTimeX Browser session.
45
45
 
46
46
  **focus-browser-tab** — Manage focus browser tab
47
47
 
48
48
  - `realtimex-pp-cli focus-browser-tab <sessionName>` — Make a tab the displayed tab of a running RealTimeX Browser session, so it renders before an agent interacts with it.
49
49
 
50
+ **list-browser-downloads** — Manage list browser downloads
51
+
52
+ - `realtimex-pp-cli list-browser-downloads <sessionName>` — List the downloads of a running RealTimeX Browser session, newest first: filename, path, state (progressing, completed
53
+
50
54
  **list-browser-profiles** — Manage list browser profiles
51
55
 
52
56
  - `realtimex-pp-cli list-browser-profiles` — List RealTimeX Browser profiles: the identities (sign-ins) sessions run on
@@ -66,10 +70,12 @@ realtimex-pp-cli prepare --agent
66
70
  ## Domain rules
67
71
 
68
72
  - List browser sessions before lifecycle changes and use the exact returned session name.
69
- - Create a named session before starting it; stop it when the task is done and do not delete it to clean up. Pass `--profile-name` only for a profile the user created in Settings and `list-browser-profiles` shows; the host removes throwaway sessions after your agent session ends.
73
+ - Create a named session before starting it; stop it when the task is done and do not delete it to clean up. Pass `--profile-name` only for a profile the user created in Settings and `list-browser-profiles` shows, and a name `list-browser-profiles` does not show answers `404 profile-not-found` with `knownProfiles`; the host removes throwaway sessions after your agent session ends.
70
74
  - A session runs on a profile (a saved sign-in); without `--profile-name` it gets its own throwaway profile. Never substitute terminal-session identifiers for session names.
71
75
  - Before interacting with a tab over CDP, run `focus-browser-tab <sessionName> --tab-id <id>` so it becomes the displayed tab; add `--focus-window` only when the Human should see it.
72
76
  - If you attached `agent-browser` to a session, do not run `agent-browser close`; stopping the session closes it.
77
+ - `list-browser-sessions` returns `control` per session (`mode` is `agent`, `person` or `idle`; null with browser control off). If a command fails because the person is in control, stop and wait for the hand-back message; to check later, run `list-browser-sessions` once and read `control.mode`, never in a loop.
78
+ - `list-browser-downloads <sessionName>` lists the files a session downloaded, with `state`, `path` and `startedBy`; files are under `<Downloads>/RealTimeX Browser/<profile name>/`. A session entry's `pendingAuth` names an HTTP challenge only the person can answer.
73
79
 
74
80
  ## Shared constraints
75
81
 
@@ -15,16 +15,16 @@ Create, configure, start, stop, and delete RealTimeX chat channels, approve pair
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Run advisory decision-model judgments, list decision batteries, and calibrate ba
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Manage RealTimeX Delegate scope bindings, policy drafts and compiler jobs, activ
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Configure RealTimeX heartbeat scheduling, agents, active hours, timezone, autopi
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Create, inspect, configure, start, stop, restart, and delete RealTimeX Local App
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Use this router to select the smallest RealTimeX skill that owns the requested o
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -41,7 +41,7 @@ realtimex-pp-cli prepare --agent
41
41
  | `realtimex-secrets` | Manage encrypted Login, Card, Identity, SSH key and Secure note items, tags and workspace scope with the moderator CLI. Use saved fields in terminal commands or browser forms through rtxexec. |
42
42
  | `realtimex-workspaces` | Manage RealTimeX workspaces, threads, messages, workspace personality, LLM configuration, and default agents. Use for workspace and conversation operations. |
43
43
  | `realtimex-terminal-agents` | Manage RealTimeX terminal agents, terminal sessions, session messages, and idle prompts. Use for desktop terminal-agent runtime and terminal-session lifecycle work. |
44
- | `realtimex-browser-sessions` | List, create, start, stop, delete and show tabs of isolated RealTimeX browser sessions. Use for named browser runtime and profile lifecycle work. |
44
+ | `realtimex-browser-sessions` | List, create, start, stop, delete and show tabs of named RealTimeX browser sessions. Use for named browser runtime and profile lifecycle work. |
45
45
  | `realtimex-local-apps` | Create, inspect, configure, start, stop, restart, and delete RealTimeX Local Apps. Use for local source, npx, uvx, webhook-trigger, status, log, and lifecycle operations. |
46
46
  | `realtimex-heartbeat` | Configure RealTimeX heartbeat scheduling, agents, active hours, timezone, autopilot, and immediate workspace heartbeat runs. Use for recurring HEARTBEAT.md task execution. |
47
47
  | `realtimex-automation-flows` | Run RealTimeX automation workflows and guided automation-flow commands, including working-directory setup and workspace layout. Use for explicit multi-step automation execution. |
@@ -15,16 +15,16 @@ Manage RealTimeX plugins and agent skills, including configuration, enablement,
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Manage encrypted Login, Card, Identity, SSH key and Secure note items, tags and
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Manage RealTimeX terminal agents, terminal sessions, session messages, and idle
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Create, inspect, update, test, and delete RealTimeX public webhook endpoints and
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ Manage RealTimeX workspaces, threads, messages, workspace personality, LLM confi
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.46. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.48. Before using its commands:
19
19
 
20
20
  ```bash
21
21
  realtimex-pp-cli --version
22
22
  ```
23
23
 
24
- If it is missing or does not report `realtimex-pp-cli 2.0.46`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.48`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.46
27
+ npm install -g @realtimex/pp-cli@2.0.48
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first: