@realtimex/sdk 2.0.24 → 2.0.25

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
@@ -904,6 +904,29 @@ export interface SendMessageOptions extends RealtimeXRequestOptions {
904
904
  body?: SendMessageBody;
905
905
  }
906
906
 
907
+ export type SendTerminalSessionMessageParams = {
908
+ sessionId: string;
909
+ };
910
+ export type SendTerminalSessionMessageQuery = Record<string, never>;
911
+ export type SendTerminalSessionMessageHeaders = {
912
+ "x-app-id"?: string;
913
+ };
914
+ export type SendTerminalSessionMessageBody = {
915
+ message: string;
916
+ attachments?: Array<Record<string, unknown>>;
917
+ webSearchEnabled?: boolean;
918
+ broadcastThreadEvents?: boolean;
919
+ stripAgentPrefixForDelivery?: boolean;
920
+ channelTurnId?: string;
921
+ };
922
+ export type SendTerminalSessionMessageResponse = Record<string, unknown>;
923
+ export interface SendTerminalSessionMessageOptions extends RealtimeXRequestOptions {
924
+ params?: SendTerminalSessionMessageParams;
925
+ query?: SendTerminalSessionMessageQuery;
926
+ headers?: SendTerminalSessionMessageHeaders & Record<string, string>;
927
+ body?: SendTerminalSessionMessageBody;
928
+ }
929
+
907
930
  export type SetDefaultWorkspaceAgentParams = Record<string, never>;
908
931
  export type SetDefaultWorkspaceAgentQuery = Record<string, never>;
909
932
  export type SetDefaultWorkspaceAgentHeaders = Record<string, never>;
@@ -1456,6 +1479,9 @@ export declare class RealtimeXClient {
1456
1479
  /** Send one message to an exact thread using the same routing as channel replies. Terminal-agent threads are dispatched to the terminal runtime; other threads use the configured LLM chat path. */
1457
1480
  sendMessage(options?: SendMessageOptions): Promise<SendMessageResponse>;
1458
1481
  sendMessage(params: SendMessageParams, body: SendMessageBody, options?: Omit<SendMessageOptions, 'params' | 'body'>): Promise<SendMessageResponse>;
1482
+ /** Send one message directly to an exact live terminal session. Requires local terminal-session or desktop-app authentication. */
1483
+ sendTerminalSessionMessage(options?: SendTerminalSessionMessageOptions): Promise<SendTerminalSessionMessageResponse>;
1484
+ sendTerminalSessionMessage(sessionId: string, body: SendTerminalSessionMessageBody, options?: Omit<SendTerminalSessionMessageOptions, 'params' | 'body'>): Promise<SendTerminalSessionMessageResponse>;
1459
1485
  /** Set a workspace default agent from the desktop workspace chat settings UI. */
1460
1486
  setDefaultWorkspaceAgent(options?: SetDefaultWorkspaceAgentOptions): Promise<SetDefaultWorkspaceAgentResponse>;
1461
1487
  setDefaultWorkspaceAgent(body: SetDefaultWorkspaceAgentBody, options?: Omit<SetDefaultWorkspaceAgentOptions, 'body'>): Promise<SetDefaultWorkspaceAgentResponse>;
package/index.js CHANGED
@@ -563,6 +563,18 @@ const operations = {
563
563
  ],
564
564
  "hasBody": true
565
565
  },
566
+ "sendTerminalSessionMessage": {
567
+ "method": "POST",
568
+ "path": "/send-terminal-session-message/{sessionId}",
569
+ "pathParams": [
570
+ "sessionId"
571
+ ],
572
+ "queryParams": [],
573
+ "headerParams": [
574
+ "x-app-id"
575
+ ],
576
+ "hasBody": true
577
+ },
566
578
  "setDefaultWorkspaceAgent": {
567
579
  "method": "POST",
568
580
  "path": "/set-default-workspace-agent",
@@ -1300,6 +1312,13 @@ class RealtimeXClient {
1300
1312
  );
1301
1313
  }
1302
1314
 
1315
+ sendTerminalSessionMessage(...args) {
1316
+ return this.request(
1317
+ "sendTerminalSessionMessage",
1318
+ normalizeOperationOptions(operations["sendTerminalSessionMessage"], args)
1319
+ );
1320
+ }
1321
+
1303
1322
  setDefaultWorkspaceAgent(...args) {
1304
1323
  return this.request(
1305
1324
  "setDefaultWorkspaceAgent",
@@ -1444,5 +1463,5 @@ module.exports = {
1444
1463
  createClient: createRealtimeXClient,
1445
1464
  createRealtimeXClient,
1446
1465
  operations,
1447
- version: "2.0.24",
1466
+ version: "2.0.25",
1448
1467
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "2.0.24",
3
+ "version": "2.0.25",
4
4
  "description": "RealtimeX runtime SDK package and moderator agent skill assets.",
5
5
  "private": false,
6
6
  "main": "./index.js",
@@ -20,15 +20,15 @@ This skill drives the `realtimex-pp-cli` binary. Verify the CLI is installed and
20
20
 
21
21
  1. Install or reinstall the pinned version via npm:
22
22
  ```bash
23
- npm install -g @realtimex/pp-cli@2.0.24
23
+ npm install -g @realtimex/pp-cli@2.0.25
24
24
  ```
25
25
  2. Verify the exact version:
26
26
  ```bash
27
27
  realtimex-pp-cli --version
28
28
  ```
29
- The output must be `realtimex-pp-cli 2.0.24`.
29
+ The output must be `realtimex-pp-cli 2.0.25`.
30
30
 
31
- If `--version` reports "command not found" after install, the npm global bin directory is not on `$PATH`. If it reports any version other than `2.0.24`, reinstall with the pinned npm command above. Do not proceed with skill commands until exact-version verification succeeds.
31
+ If `--version` reports "command not found" after install, the npm global bin directory is not on `$PATH`. If it reports any version other than `2.0.25`, reinstall with the pinned npm command above. Do not proceed with skill commands until exact-version verification succeeds.
32
32
 
33
33
  * Always run first:
34
34
 
@@ -226,6 +226,10 @@ If `--version` reports "command not found" after install, the npm global bin dir
226
226
 
227
227
  - `realtimex-pp-cli send-message <workspaceSlug> <threadSlug>` — Send one message to an exact thread using the same routing as channel replies.
228
228
 
229
+ **send-terminal-session-message** — Manage send terminal session message
230
+
231
+ - `realtimex-pp-cli send-terminal-session-message <sessionId>` — Send one message directly to an exact live terminal session.
232
+
229
233
  **set-default-workspace-agent** — Manage set default workspace agent
230
234
 
231
235
  - `realtimex-pp-cli set-default-workspace-agent` — Set a workspace default agent from the desktop workspace chat settings UI.
@@ -428,9 +432,9 @@ Verify: `claude mcp list`
428
432
  ```bash
429
433
  realtimex-pp-cli --version
430
434
  ```
431
- If the command is missing or the output is not exactly `realtimex-pp-cli 2.0.24`, reinstall the pinned version:
435
+ If the command is missing or the output is not exactly `realtimex-pp-cli 2.0.25`, reinstall the pinned version:
432
436
  ```bash
433
- npm install -g @realtimex/pp-cli@2.0.24
437
+ npm install -g @realtimex/pp-cli@2.0.25
434
438
  ```
435
439
  Then run `realtimex-pp-cli --version` again and proceed only after exact-version verification succeeds.
436
440
  2. Match the user query to the best command from the Unique Capabilities and Command Reference above.