@realtimex/sdk 2.0.32 → 2.0.34

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/README.md CHANGED
@@ -74,5 +74,8 @@ server-error retries reuse the serialized body, timestamp, and delivery ID so
74
74
  the receiving endpoint can deduplicate delivery safely. A successful receipt
75
75
  confirms acceptance and routing, not agent-task completion.
76
76
 
77
- The package also publishes generated skill assets under
78
- `skills/realtimex-moderator-sdk`.
77
+ The package publishes a concise router at `skills/realtimex-moderator-sdk` and
78
+ focused generated skills for workspaces, terminal agents, browser sessions,
79
+ Local Apps, heartbeat, automation flows, artifacts, channels, webhooks, and
80
+ plugin/skill administration. All skills use the same pinned
81
+ `realtimex-pp-cli` binary.
package/index.d.ts CHANGED
@@ -151,6 +151,29 @@ export interface CreateChannelOptions extends RealtimeXRequestOptions {
151
151
  body?: CreateChannelBody;
152
152
  }
153
153
 
154
+ export type CreateLocalAppParams = Record<string, never>;
155
+ export type CreateLocalAppQuery = Record<string, never>;
156
+ export type CreateLocalAppHeaders = Record<string, never>;
157
+ export type CreateLocalAppBody = {
158
+ displayName: string;
159
+ description?: string;
160
+ sourceType: "source" | "npx" | "uvx";
161
+ sourcePath?: string;
162
+ packageInput?: string;
163
+ homeUrl?: string;
164
+ env?: {
165
+ [key: string]: string;
166
+ };
167
+ tags?: Array<string>;
168
+ };
169
+ export type CreateLocalAppResponse = Record<string, unknown>;
170
+ export interface CreateLocalAppOptions extends RealtimeXRequestOptions {
171
+ params?: CreateLocalAppParams;
172
+ query?: CreateLocalAppQuery;
173
+ headers?: CreateLocalAppHeaders & Record<string, string>;
174
+ body?: CreateLocalAppBody;
175
+ }
176
+
154
177
  export type CreateThreadParams = {
155
178
  workspaceSlug: string;
156
179
  };
@@ -273,6 +296,22 @@ export interface DeleteChannelOptions extends RealtimeXRequestOptions {
273
296
  body?: DeleteChannelBody;
274
297
  }
275
298
 
299
+ export type DeleteLocalAppParams = {
300
+ appId: string;
301
+ };
302
+ export type DeleteLocalAppQuery = Record<string, never>;
303
+ export type DeleteLocalAppHeaders = Record<string, never>;
304
+ export type DeleteLocalAppBody = {
305
+ confirmDestructive: true;
306
+ };
307
+ export type DeleteLocalAppResponse = Record<string, unknown>;
308
+ export interface DeleteLocalAppOptions extends RealtimeXRequestOptions {
309
+ params?: DeleteLocalAppParams;
310
+ query?: DeleteLocalAppQuery;
311
+ headers?: DeleteLocalAppHeaders & Record<string, string>;
312
+ body?: DeleteLocalAppBody;
313
+ }
314
+
276
315
  export type DeleteThreadParams = {
277
316
  workspaceSlug: string;
278
317
  threadSlug: string;
@@ -406,6 +445,50 @@ export interface GetArtifactOptions extends RealtimeXRequestOptions {
406
445
  body?: GetArtifactBody;
407
446
  }
408
447
 
448
+ export type GetLocalAppParams = {
449
+ appId: string;
450
+ };
451
+ export type GetLocalAppQuery = Record<string, never>;
452
+ export type GetLocalAppHeaders = Record<string, never>;
453
+ export type GetLocalAppBody = unknown;
454
+ export type GetLocalAppResponse = Record<string, unknown>;
455
+ export interface GetLocalAppOptions extends RealtimeXRequestOptions {
456
+ params?: GetLocalAppParams;
457
+ query?: GetLocalAppQuery;
458
+ headers?: GetLocalAppHeaders & Record<string, string>;
459
+ body?: GetLocalAppBody;
460
+ }
461
+
462
+ export type GetLocalAppLogsParams = {
463
+ appId: string;
464
+ };
465
+ export type GetLocalAppLogsQuery = {
466
+ limit?: number;
467
+ };
468
+ export type GetLocalAppLogsHeaders = Record<string, never>;
469
+ export type GetLocalAppLogsBody = unknown;
470
+ export type GetLocalAppLogsResponse = Record<string, unknown>;
471
+ export interface GetLocalAppLogsOptions extends RealtimeXRequestOptions {
472
+ params?: GetLocalAppLogsParams;
473
+ query?: GetLocalAppLogsQuery;
474
+ headers?: GetLocalAppLogsHeaders & Record<string, string>;
475
+ body?: GetLocalAppLogsBody;
476
+ }
477
+
478
+ export type GetLocalAppStatusParams = {
479
+ appId: string;
480
+ };
481
+ export type GetLocalAppStatusQuery = Record<string, never>;
482
+ export type GetLocalAppStatusHeaders = Record<string, never>;
483
+ export type GetLocalAppStatusBody = unknown;
484
+ export type GetLocalAppStatusResponse = Record<string, unknown>;
485
+ export interface GetLocalAppStatusOptions extends RealtimeXRequestOptions {
486
+ params?: GetLocalAppStatusParams;
487
+ query?: GetLocalAppStatusQuery;
488
+ headers?: GetLocalAppStatusHeaders & Record<string, string>;
489
+ body?: GetLocalAppStatusBody;
490
+ }
491
+
409
492
  export type GetPluginParams = {
410
493
  pluginId: string;
411
494
  };
@@ -612,6 +695,18 @@ export interface ListLlmProvidersOptions extends RealtimeXRequestOptions {
612
695
  body?: ListLlmProvidersBody;
613
696
  }
614
697
 
698
+ export type ListLocalAppsParams = Record<string, never>;
699
+ export type ListLocalAppsQuery = Record<string, never>;
700
+ export type ListLocalAppsHeaders = Record<string, never>;
701
+ export type ListLocalAppsBody = unknown;
702
+ export type ListLocalAppsResponse = Record<string, unknown>;
703
+ export interface ListLocalAppsOptions extends RealtimeXRequestOptions {
704
+ params?: ListLocalAppsParams;
705
+ query?: ListLocalAppsQuery;
706
+ headers?: ListLocalAppsHeaders & Record<string, string>;
707
+ body?: ListLocalAppsBody;
708
+ }
709
+
615
710
  export type ListPluginsParams = Record<string, never>;
616
711
  export type ListPluginsQuery = Record<string, never>;
617
712
  export type ListPluginsHeaders = {
@@ -950,6 +1045,20 @@ export interface RespondTerminalIdlePromptOptions extends RealtimeXRequestOption
950
1045
  body?: RespondTerminalIdlePromptBody;
951
1046
  }
952
1047
 
1048
+ export type RestartLocalAppParams = {
1049
+ appId: string;
1050
+ };
1051
+ export type RestartLocalAppQuery = Record<string, never>;
1052
+ export type RestartLocalAppHeaders = Record<string, never>;
1053
+ export type RestartLocalAppBody = unknown;
1054
+ export type RestartLocalAppResponse = Record<string, unknown>;
1055
+ export interface RestartLocalAppOptions extends RealtimeXRequestOptions {
1056
+ params?: RestartLocalAppParams;
1057
+ query?: RestartLocalAppQuery;
1058
+ headers?: RestartLocalAppHeaders & Record<string, string>;
1059
+ body?: RestartLocalAppBody;
1060
+ }
1061
+
953
1062
  export type ResumeArtifactParams = {
954
1063
  artifactId: string;
955
1064
  };
@@ -1270,6 +1379,22 @@ export interface SetHeartbeatTimezoneOptions extends RealtimeXRequestOptions {
1270
1379
  body?: SetHeartbeatTimezoneBody;
1271
1380
  }
1272
1381
 
1382
+ export type SetLocalAppEnabledParams = {
1383
+ appId: string;
1384
+ };
1385
+ export type SetLocalAppEnabledQuery = Record<string, never>;
1386
+ export type SetLocalAppEnabledHeaders = Record<string, never>;
1387
+ export type SetLocalAppEnabledBody = {
1388
+ enabled: boolean;
1389
+ };
1390
+ export type SetLocalAppEnabledResponse = Record<string, unknown>;
1391
+ export interface SetLocalAppEnabledOptions extends RealtimeXRequestOptions {
1392
+ params?: SetLocalAppEnabledParams;
1393
+ query?: SetLocalAppEnabledQuery;
1394
+ headers?: SetLocalAppEnabledHeaders & Record<string, string>;
1395
+ body?: SetLocalAppEnabledBody;
1396
+ }
1397
+
1273
1398
  export type SetupHeartbeatTasksParams = Record<string, never>;
1274
1399
  export type SetupHeartbeatTasksQuery = {
1275
1400
  workspaceSlug?: string;
@@ -1407,6 +1532,20 @@ export interface StartChannelOptions extends RealtimeXRequestOptions {
1407
1532
  body?: StartChannelBody;
1408
1533
  }
1409
1534
 
1535
+ export type StartLocalAppParams = {
1536
+ appId: string;
1537
+ };
1538
+ export type StartLocalAppQuery = Record<string, never>;
1539
+ export type StartLocalAppHeaders = Record<string, never>;
1540
+ export type StartLocalAppBody = unknown;
1541
+ export type StartLocalAppResponse = Record<string, unknown>;
1542
+ export interface StartLocalAppOptions extends RealtimeXRequestOptions {
1543
+ params?: StartLocalAppParams;
1544
+ query?: StartLocalAppQuery;
1545
+ headers?: StartLocalAppHeaders & Record<string, string>;
1546
+ body?: StartLocalAppBody;
1547
+ }
1548
+
1410
1549
  export type StopBrowserSessionParams = {
1411
1550
  sessionName: string;
1412
1551
  };
@@ -1441,6 +1580,22 @@ export interface StopChannelOptions extends RealtimeXRequestOptions {
1441
1580
  body?: StopChannelBody;
1442
1581
  }
1443
1582
 
1583
+ export type StopLocalAppParams = {
1584
+ appId: string;
1585
+ };
1586
+ export type StopLocalAppQuery = Record<string, never>;
1587
+ export type StopLocalAppHeaders = Record<string, never>;
1588
+ export type StopLocalAppBody = {
1589
+ force?: boolean;
1590
+ };
1591
+ export type StopLocalAppResponse = Record<string, unknown>;
1592
+ export interface StopLocalAppOptions extends RealtimeXRequestOptions {
1593
+ params?: StopLocalAppParams;
1594
+ query?: StopLocalAppQuery;
1595
+ headers?: StopLocalAppHeaders & Record<string, string>;
1596
+ body?: StopLocalAppBody;
1597
+ }
1598
+
1444
1599
  export type StopThreadTerminalSessionParams = Record<string, never>;
1445
1600
  export type StopThreadTerminalSessionQuery = Record<string, never>;
1446
1601
  export type StopThreadTerminalSessionHeaders = {
@@ -1547,6 +1702,27 @@ export interface UpdateChannelOptions extends RealtimeXRequestOptions {
1547
1702
  body?: UpdateChannelBody;
1548
1703
  }
1549
1704
 
1705
+ export type UpdateLocalAppParams = {
1706
+ appId: string;
1707
+ };
1708
+ export type UpdateLocalAppQuery = Record<string, never>;
1709
+ export type UpdateLocalAppHeaders = Record<string, never>;
1710
+ export type UpdateLocalAppBody = {
1711
+ displayName?: string;
1712
+ description?: string;
1713
+ homeUrl?: string;
1714
+ env?: {
1715
+ [key: string]: string;
1716
+ };
1717
+ };
1718
+ export type UpdateLocalAppResponse = Record<string, unknown>;
1719
+ export interface UpdateLocalAppOptions extends RealtimeXRequestOptions {
1720
+ params?: UpdateLocalAppParams;
1721
+ query?: UpdateLocalAppQuery;
1722
+ headers?: UpdateLocalAppHeaders & Record<string, string>;
1723
+ body?: UpdateLocalAppBody;
1724
+ }
1725
+
1550
1726
  export type UpdateWebhookEndpointParams = {
1551
1727
  endpointId: string;
1552
1728
  };
@@ -1706,6 +1882,8 @@ export declare class RealtimeXClient {
1706
1882
  /** 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. */
1707
1883
  createChannel(options?: CreateChannelOptions): Promise<CreateChannelResponse>;
1708
1884
  createChannel(workspaceSlug: string, body: CreateChannelBody, options?: Omit<CreateChannelOptions, 'params' | 'body'>): Promise<CreateChannelResponse>;
1885
+ createLocalApp(options?: CreateLocalAppOptions): Promise<CreateLocalAppResponse>;
1886
+ createLocalApp(body: CreateLocalAppBody, options?: Omit<CreateLocalAppOptions, 'body'>): Promise<CreateLocalAppResponse>;
1709
1887
  /** Create a thread in one workspace. The name is optional but recommended. */
1710
1888
  createThread(options?: CreateThreadOptions): Promise<CreateThreadResponse>;
1711
1889
  createThread(workspaceSlug: string, body: CreateThreadBody, options?: Omit<CreateThreadOptions, 'params' | 'body'>): Promise<CreateThreadResponse>;
@@ -1724,6 +1902,8 @@ export declare class RealtimeXClient {
1724
1902
  /** Delete one chat channel by exact channel id. */
1725
1903
  deleteChannel(options?: DeleteChannelOptions): Promise<DeleteChannelResponse>;
1726
1904
  deleteChannel(channelId: string, options?: Omit<DeleteChannelOptions, 'params'>): Promise<DeleteChannelResponse>;
1905
+ deleteLocalApp(options?: DeleteLocalAppOptions): Promise<DeleteLocalAppResponse>;
1906
+ deleteLocalApp(appId: string, body: DeleteLocalAppBody, options?: Omit<DeleteLocalAppOptions, 'params' | 'body'>): Promise<DeleteLocalAppResponse>;
1727
1907
  /** Delete one thread by exact workspace slug and exact thread slug. */
1728
1908
  deleteThread(options?: DeleteThreadOptions): Promise<DeleteThreadResponse>;
1729
1909
  deleteThread(params: DeleteThreadParams, options?: Omit<DeleteThreadOptions, 'params'>): Promise<DeleteThreadResponse>;
@@ -1748,6 +1928,13 @@ export declare class RealtimeXClient {
1748
1928
  /** Get one public artifact by artifact id. */
1749
1929
  getArtifact(options?: GetArtifactOptions): Promise<GetArtifactResponse>;
1750
1930
  getArtifact(artifactId: string, options?: Omit<GetArtifactOptions, 'params'>): Promise<GetArtifactResponse>;
1931
+ getLocalApp(options?: GetLocalAppOptions): Promise<GetLocalAppResponse>;
1932
+ getLocalApp(appId: string, options?: Omit<GetLocalAppOptions, 'params'>): Promise<GetLocalAppResponse>;
1933
+ /** Read bounded recent desktop logs. Each entry is capped at 4 KiB and secret-bearing configuration is omitted. */
1934
+ getLocalAppLogs(options?: GetLocalAppLogsOptions): Promise<GetLocalAppLogsResponse>;
1935
+ getLocalAppLogs(appId: string, options?: Omit<GetLocalAppLogsOptions, 'params'>): Promise<GetLocalAppLogsResponse>;
1936
+ getLocalAppStatus(options?: GetLocalAppStatusOptions): Promise<GetLocalAppStatusResponse>;
1937
+ getLocalAppStatus(appId: string, options?: Omit<GetLocalAppStatusOptions, 'params'>): Promise<GetLocalAppStatusResponse>;
1751
1938
  /** Get one installed plugin with its config schema (keys, labels, types, defaults) and current non-secret configuration values. Secret (password-type) values are never returned; secretConfigState reports whether each one is set. Use a plugin id, name, or displayName from list-plugins. */
1752
1939
  getPlugin(options?: GetPluginOptions): Promise<GetPluginResponse>;
1753
1940
  getPlugin(pluginId: string, options?: Omit<GetPluginOptions, 'params'>): Promise<GetPluginResponse>;
@@ -1783,6 +1970,7 @@ export declare class RealtimeXClient {
1783
1970
  listLlmModels(provider: string, options?: Omit<ListLlmModelsOptions, 'params'>): Promise<ListLlmModelsResponse>;
1784
1971
  /** List supported LLM providers. Use provider ids from this response when configuring workspace or thread LLM settings. */
1785
1972
  listLlmProviders(options?: ListLlmProvidersOptions): Promise<ListLlmProvidersResponse>;
1973
+ listLocalApps(options?: ListLocalAppsOptions): Promise<ListLocalAppsResponse>;
1786
1974
  /** List installed plugins with enabled state and runtime load status. Use returned ids with enable-plugin, disable-plugin, and reload-plugin. */
1787
1975
  listPlugins(options?: ListPluginsOptions): Promise<ListPluginsResponse>;
1788
1976
  /** List terminal CLI agents that can be used with open-terminal-session. This is the same compact agent catalog returned by prepare.agents. */
@@ -1833,6 +2021,8 @@ export declare class RealtimeXClient {
1833
2021
  /** Send one constrained response action to an exact idle terminal session only when its PTY event sequence is unchanged. */
1834
2022
  respondTerminalIdlePrompt(options?: RespondTerminalIdlePromptOptions): Promise<RespondTerminalIdlePromptResponse>;
1835
2023
  respondTerminalIdlePrompt(sessionId: string, body: RespondTerminalIdlePromptBody, options?: Omit<RespondTerminalIdlePromptOptions, 'params' | 'body'>): Promise<RespondTerminalIdlePromptResponse>;
2024
+ restartLocalApp(options?: RestartLocalAppOptions): Promise<RestartLocalAppResponse>;
2025
+ restartLocalApp(appId: string, body: RestartLocalAppBody, options?: Omit<RestartLocalAppOptions, 'params' | 'body'>): Promise<RestartLocalAppResponse>;
1836
2026
  /** Resume one paused artifact by artifact id. */
1837
2027
  resumeArtifact(options?: ResumeArtifactOptions): Promise<ResumeArtifactResponse>;
1838
2028
  resumeArtifact(artifactId: string, options?: Omit<ResumeArtifactOptions, 'params'>): Promise<ResumeArtifactResponse>;
@@ -1881,6 +2071,8 @@ export declare class RealtimeXClient {
1881
2071
  /** Set workspace or global ambient-agent heartbeat timezone, for example Asia/Saigon or UTC. */
1882
2072
  setHeartbeatTimezone(options?: SetHeartbeatTimezoneOptions): Promise<SetHeartbeatTimezoneResponse>;
1883
2073
  setHeartbeatTimezone(body: SetHeartbeatTimezoneBody, options?: Omit<SetHeartbeatTimezoneOptions, 'body'>): Promise<SetHeartbeatTimezoneResponse>;
2074
+ setLocalAppEnabled(options?: SetLocalAppEnabledOptions): Promise<SetLocalAppEnabledResponse>;
2075
+ setLocalAppEnabled(appId: string, body: SetLocalAppEnabledBody, options?: Omit<SetLocalAppEnabledOptions, 'params' | 'body'>): Promise<SetLocalAppEnabledResponse>;
1884
2076
  /** Set up HEARTBEAT.md task instructions for a workspace or global ambient agent. Returns the target path, template, file path, and concise editing instructions. */
1885
2077
  setupHeartbeatTasks(options?: SetupHeartbeatTasksOptions): Promise<SetupHeartbeatTasksResponse>;
1886
2078
  setupHeartbeatTasks(query?: SetupHeartbeatTasksQuery, options?: Omit<SetupHeartbeatTasksOptions, 'query'>): Promise<SetupHeartbeatTasksResponse>;
@@ -1899,12 +2091,16 @@ export declare class RealtimeXClient {
1899
2091
  /** Start one chat channel by exact channel id. */
1900
2092
  startChannel(options?: StartChannelOptions): Promise<StartChannelResponse>;
1901
2093
  startChannel(channelId: string, options?: Omit<StartChannelOptions, 'params'>): Promise<StartChannelResponse>;
2094
+ startLocalApp(options?: StartLocalAppOptions): Promise<StartLocalAppResponse>;
2095
+ startLocalApp(appId: string, body: StartLocalAppBody, options?: Omit<StartLocalAppOptions, 'params' | 'body'>): Promise<StartLocalAppResponse>;
1902
2096
  /** Gracefully stop an existing named RealTimeX Browser session. */
1903
2097
  stopBrowserSession(options?: StopBrowserSessionOptions): Promise<StopBrowserSessionResponse>;
1904
2098
  stopBrowserSession(sessionName: string, body: StopBrowserSessionBody, options?: Omit<StopBrowserSessionOptions, 'params' | 'body'>): Promise<StopBrowserSessionResponse>;
1905
2099
  /** Stop one chat channel by exact channel id. */
1906
2100
  stopChannel(options?: StopChannelOptions): Promise<StopChannelResponse>;
1907
2101
  stopChannel(channelId: string, options?: Omit<StopChannelOptions, 'params'>): Promise<StopChannelResponse>;
2102
+ stopLocalApp(options?: StopLocalAppOptions): Promise<StopLocalAppResponse>;
2103
+ stopLocalApp(appId: string, body: StopLocalAppBody, options?: Omit<StopLocalAppOptions, 'params' | 'body'>): Promise<StopLocalAppResponse>;
1908
2104
  /** Interrupt the selected or current chat-linked terminal session for one exact thread without closing the underlying terminal session. This uses the same stop dispatcher as channel /stop commands. */
1909
2105
  stopThreadTerminalSession(options?: StopThreadTerminalSessionOptions): Promise<StopThreadTerminalSessionResponse>;
1910
2106
  /** Terminate a terminal runtime session by detaching any controller and closing the underlying PTY session. */
@@ -1922,6 +2118,8 @@ export declare class RealtimeXClient {
1922
2118
  /** Update one chat channel by exact channel id. Only channel writable fields are changed. */
1923
2119
  updateChannel(options?: UpdateChannelOptions): Promise<UpdateChannelResponse>;
1924
2120
  updateChannel(channelId: string, body: UpdateChannelBody, options?: Omit<UpdateChannelOptions, 'params' | 'body'>): Promise<UpdateChannelResponse>;
2121
+ updateLocalApp(options?: UpdateLocalAppOptions): Promise<UpdateLocalAppResponse>;
2122
+ updateLocalApp(appId: string, body: UpdateLocalAppBody, options?: Omit<UpdateLocalAppOptions, 'params' | 'body'>): Promise<UpdateLocalAppResponse>;
1925
2123
  /** Update a visible webhook endpoint. Passing secret rotates it; the value is never returned. */
1926
2124
  updateWebhookEndpoint(options?: UpdateWebhookEndpointOptions): Promise<UpdateWebhookEndpointResponse>;
1927
2125
  updateWebhookEndpoint(endpointId: string, body: UpdateWebhookEndpointBody, options?: Omit<UpdateWebhookEndpointOptions, 'params' | 'body'>): Promise<UpdateWebhookEndpointResponse>;
package/index.js CHANGED
@@ -70,6 +70,14 @@ const operations = {
70
70
  ],
71
71
  "hasBody": true
72
72
  },
73
+ "createLocalApp": {
74
+ "method": "POST",
75
+ "path": "/create-local-app",
76
+ "pathParams": [],
77
+ "queryParams": [],
78
+ "headerParams": [],
79
+ "hasBody": true
80
+ },
73
81
  "createThread": {
74
82
  "method": "POST",
75
83
  "path": "/create-thread/{workspaceSlug}",
@@ -137,6 +145,16 @@ const operations = {
137
145
  ],
138
146
  "hasBody": false
139
147
  },
148
+ "deleteLocalApp": {
149
+ "method": "DELETE",
150
+ "path": "/delete-local-app/{appId}",
151
+ "pathParams": [
152
+ "appId"
153
+ ],
154
+ "queryParams": [],
155
+ "headerParams": [],
156
+ "hasBody": true
157
+ },
140
158
  "deleteThread": {
141
159
  "method": "DELETE",
142
160
  "path": "/delete-thread/{workspaceSlug}/{threadSlug}",
@@ -236,6 +254,38 @@ const operations = {
236
254
  ],
237
255
  "hasBody": false
238
256
  },
257
+ "getLocalApp": {
258
+ "method": "GET",
259
+ "path": "/get-local-app/{appId}",
260
+ "pathParams": [
261
+ "appId"
262
+ ],
263
+ "queryParams": [],
264
+ "headerParams": [],
265
+ "hasBody": false
266
+ },
267
+ "getLocalAppLogs": {
268
+ "method": "GET",
269
+ "path": "/get-local-app-logs/{appId}",
270
+ "pathParams": [
271
+ "appId"
272
+ ],
273
+ "queryParams": [
274
+ "limit"
275
+ ],
276
+ "headerParams": [],
277
+ "hasBody": false
278
+ },
279
+ "getLocalAppStatus": {
280
+ "method": "GET",
281
+ "path": "/get-local-app-status/{appId}",
282
+ "pathParams": [
283
+ "appId"
284
+ ],
285
+ "queryParams": [],
286
+ "headerParams": [],
287
+ "hasBody": false
288
+ },
239
289
  "getPlugin": {
240
290
  "method": "GET",
241
291
  "path": "/get-plugin/{pluginId}",
@@ -380,6 +430,14 @@ const operations = {
380
430
  ],
381
431
  "hasBody": false
382
432
  },
433
+ "listLocalApps": {
434
+ "method": "GET",
435
+ "path": "/list-local-apps",
436
+ "pathParams": [],
437
+ "queryParams": [],
438
+ "headerParams": [],
439
+ "hasBody": false
440
+ },
383
441
  "listPlugins": {
384
442
  "method": "GET",
385
443
  "path": "/list-plugins",
@@ -589,6 +647,16 @@ const operations = {
589
647
  ],
590
648
  "hasBody": true
591
649
  },
650
+ "restartLocalApp": {
651
+ "method": "POST",
652
+ "path": "/restart-local-app/{appId}",
653
+ "pathParams": [
654
+ "appId"
655
+ ],
656
+ "queryParams": [],
657
+ "headerParams": [],
658
+ "hasBody": true
659
+ },
592
660
  "resumeArtifact": {
593
661
  "method": "POST",
594
662
  "path": "/resume-artifact/{artifactId}",
@@ -760,6 +828,16 @@ const operations = {
760
828
  ],
761
829
  "hasBody": true
762
830
  },
831
+ "setLocalAppEnabled": {
832
+ "method": "POST",
833
+ "path": "/set-local-app-enabled/{appId}",
834
+ "pathParams": [
835
+ "appId"
836
+ ],
837
+ "queryParams": [],
838
+ "headerParams": [],
839
+ "hasBody": true
840
+ },
763
841
  "setupHeartbeatTasks": {
764
842
  "method": "GET",
765
843
  "path": "/setup-heartbeat-tasks",
@@ -831,6 +909,16 @@ const operations = {
831
909
  ],
832
910
  "hasBody": false
833
911
  },
912
+ "startLocalApp": {
913
+ "method": "POST",
914
+ "path": "/start-local-app/{appId}",
915
+ "pathParams": [
916
+ "appId"
917
+ ],
918
+ "queryParams": [],
919
+ "headerParams": [],
920
+ "hasBody": true
921
+ },
834
922
  "stopBrowserSession": {
835
923
  "method": "POST",
836
924
  "path": "/stop-browser-session/{sessionName}",
@@ -855,6 +943,16 @@ const operations = {
855
943
  ],
856
944
  "hasBody": false
857
945
  },
946
+ "stopLocalApp": {
947
+ "method": "POST",
948
+ "path": "/stop-local-app/{appId}",
949
+ "pathParams": [
950
+ "appId"
951
+ ],
952
+ "queryParams": [],
953
+ "headerParams": [],
954
+ "hasBody": true
955
+ },
858
956
  "stopThreadTerminalSession": {
859
957
  "method": "POST",
860
958
  "path": "/stop-thread-terminal-session",
@@ -923,6 +1021,16 @@ const operations = {
923
1021
  ],
924
1022
  "hasBody": true
925
1023
  },
1024
+ "updateLocalApp": {
1025
+ "method": "POST",
1026
+ "path": "/update-local-app/{appId}",
1027
+ "pathParams": [
1028
+ "appId"
1029
+ ],
1030
+ "queryParams": [],
1031
+ "headerParams": [],
1032
+ "hasBody": true
1033
+ },
926
1034
  "updateWebhookEndpoint": {
927
1035
  "method": "POST",
928
1036
  "path": "/update-webhook-endpoint/{endpointId}",
@@ -1408,6 +1516,13 @@ class RealtimeXClient {
1408
1516
  );
1409
1517
  }
1410
1518
 
1519
+ createLocalApp(...args) {
1520
+ return this.request(
1521
+ "createLocalApp",
1522
+ normalizeOperationOptions(operations["createLocalApp"], args)
1523
+ );
1524
+ }
1525
+
1411
1526
  createThread(...args) {
1412
1527
  return this.request(
1413
1528
  "createThread",
@@ -1450,6 +1565,13 @@ class RealtimeXClient {
1450
1565
  );
1451
1566
  }
1452
1567
 
1568
+ deleteLocalApp(...args) {
1569
+ return this.request(
1570
+ "deleteLocalApp",
1571
+ normalizeOperationOptions(operations["deleteLocalApp"], args)
1572
+ );
1573
+ }
1574
+
1453
1575
  deleteThread(...args) {
1454
1576
  return this.request(
1455
1577
  "deleteThread",
@@ -1506,6 +1628,27 @@ class RealtimeXClient {
1506
1628
  );
1507
1629
  }
1508
1630
 
1631
+ getLocalApp(...args) {
1632
+ return this.request(
1633
+ "getLocalApp",
1634
+ normalizeOperationOptions(operations["getLocalApp"], args)
1635
+ );
1636
+ }
1637
+
1638
+ getLocalAppLogs(...args) {
1639
+ return this.request(
1640
+ "getLocalAppLogs",
1641
+ normalizeOperationOptions(operations["getLocalAppLogs"], args)
1642
+ );
1643
+ }
1644
+
1645
+ getLocalAppStatus(...args) {
1646
+ return this.request(
1647
+ "getLocalAppStatus",
1648
+ normalizeOperationOptions(operations["getLocalAppStatus"], args)
1649
+ );
1650
+ }
1651
+
1509
1652
  getPlugin(...args) {
1510
1653
  return this.request(
1511
1654
  "getPlugin",
@@ -1597,6 +1740,13 @@ class RealtimeXClient {
1597
1740
  );
1598
1741
  }
1599
1742
 
1743
+ listLocalApps(...args) {
1744
+ return this.request(
1745
+ "listLocalApps",
1746
+ normalizeOperationOptions(operations["listLocalApps"], args)
1747
+ );
1748
+ }
1749
+
1600
1750
  listPlugins(...args) {
1601
1751
  return this.request(
1602
1752
  "listPlugins",
@@ -1723,6 +1873,13 @@ class RealtimeXClient {
1723
1873
  );
1724
1874
  }
1725
1875
 
1876
+ restartLocalApp(...args) {
1877
+ return this.request(
1878
+ "restartLocalApp",
1879
+ normalizeOperationOptions(operations["restartLocalApp"], args)
1880
+ );
1881
+ }
1882
+
1726
1883
  resumeArtifact(...args) {
1727
1884
  return this.request(
1728
1885
  "resumeArtifact",
@@ -1835,6 +1992,13 @@ class RealtimeXClient {
1835
1992
  );
1836
1993
  }
1837
1994
 
1995
+ setLocalAppEnabled(...args) {
1996
+ return this.request(
1997
+ "setLocalAppEnabled",
1998
+ normalizeOperationOptions(operations["setLocalAppEnabled"], args)
1999
+ );
2000
+ }
2001
+
1838
2002
  setupHeartbeatTasks(...args) {
1839
2003
  return this.request(
1840
2004
  "setupHeartbeatTasks",
@@ -1877,6 +2041,13 @@ class RealtimeXClient {
1877
2041
  );
1878
2042
  }
1879
2043
 
2044
+ startLocalApp(...args) {
2045
+ return this.request(
2046
+ "startLocalApp",
2047
+ normalizeOperationOptions(operations["startLocalApp"], args)
2048
+ );
2049
+ }
2050
+
1880
2051
  stopBrowserSession(...args) {
1881
2052
  return this.request(
1882
2053
  "stopBrowserSession",
@@ -1891,6 +2062,13 @@ class RealtimeXClient {
1891
2062
  );
1892
2063
  }
1893
2064
 
2065
+ stopLocalApp(...args) {
2066
+ return this.request(
2067
+ "stopLocalApp",
2068
+ normalizeOperationOptions(operations["stopLocalApp"], args)
2069
+ );
2070
+ }
2071
+
1894
2072
  stopThreadTerminalSession(...args) {
1895
2073
  return this.request(
1896
2074
  "stopThreadTerminalSession",
@@ -1933,6 +2111,13 @@ class RealtimeXClient {
1933
2111
  );
1934
2112
  }
1935
2113
 
2114
+ updateLocalApp(...args) {
2115
+ return this.request(
2116
+ "updateLocalApp",
2117
+ normalizeOperationOptions(operations["updateLocalApp"], args)
2118
+ );
2119
+ }
2120
+
1936
2121
  updateWebhookEndpoint(...args) {
1937
2122
  return this.request(
1938
2123
  "updateWebhookEndpoint",
@@ -1965,5 +2150,5 @@ module.exports = {
1965
2150
  createRealtimeXClient,
1966
2151
  createRealtimeXWebhookClient,
1967
2152
  operations,
1968
- version: "2.0.32",
2153
+ version: "2.0.34",
1969
2154
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "2.0.32",
3
+ "version": "2.0.34",
4
4
  "description": "RealtimeX runtime SDK package and moderator agent skill assets.",
5
5
  "private": false,
6
6
  "main": "./index.js",