@realtimex/sdk 2.0.54 → 2.0.56

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
@@ -876,6 +876,22 @@ export interface GetArtifactOptions extends RealtimeXRequestOptions {
876
876
  body?: GetArtifactBody;
877
877
  }
878
878
 
879
+ export type GetChannelParams = {
880
+ channelId: string;
881
+ };
882
+ export type GetChannelQuery = Record<string, never>;
883
+ export type GetChannelHeaders = {
884
+ "x-app-id"?: string;
885
+ };
886
+ export type GetChannelBody = unknown;
887
+ export type GetChannelResponse = Record<string, unknown>;
888
+ export interface GetChannelOptions extends RealtimeXRequestOptions {
889
+ params?: GetChannelParams;
890
+ query?: GetChannelQuery;
891
+ headers?: GetChannelHeaders & Record<string, string>;
892
+ body?: GetChannelBody;
893
+ }
894
+
879
895
  export type GetChannelWebhookParams = {
880
896
  channelId: string;
881
897
  };
@@ -3578,6 +3594,9 @@ export declare class RealtimeXClient {
3578
3594
  /** Get one public artifact by artifact id. */
3579
3595
  getArtifact(options?: GetArtifactOptions): Promise<GetArtifactResponse>;
3580
3596
  getArtifact(artifactId: string, options?: Omit<GetArtifactOptions, 'params'>): Promise<GetArtifactResponse>;
3597
+ /** Show one chat channel by exact channel id: its non-secret settings, who can use it (whoCanUse), access policies, pending request count, live status, setup state and guidancePolicy. Tokens, app secrets and account sessions are never returned. Errors: 404 no such channel, or one in a workspace this caller cannot reach. */
3598
+ getChannel(options?: GetChannelOptions): Promise<GetChannelResponse>;
3599
+ getChannel(channelId: string, options?: Omit<GetChannelOptions, 'params'>): Promise<GetChannelResponse>;
3581
3600
  getChannelWebhook(options?: GetChannelWebhookOptions): Promise<GetChannelWebhookResponse>;
3582
3601
  getChannelWebhook(channelId: string, options?: Omit<GetChannelWebhookOptions, 'params'>): Promise<GetChannelWebhookResponse>;
3583
3602
  getDelegateMandate(options?: GetDelegateMandateOptions): Promise<GetDelegateMandateResponse>;
package/index.js CHANGED
@@ -410,6 +410,18 @@ const operations = {
410
410
  ],
411
411
  "hasBody": false
412
412
  },
413
+ "getChannel": {
414
+ "method": "GET",
415
+ "path": "/get-channel/{channelId}",
416
+ "pathParams": [
417
+ "channelId"
418
+ ],
419
+ "queryParams": [],
420
+ "headerParams": [
421
+ "x-app-id"
422
+ ],
423
+ "hasBody": false
424
+ },
413
425
  "getChannelWebhook": {
414
426
  "method": "GET",
415
427
  "path": "/get-channel-webhook/{channelId}",
@@ -2419,6 +2431,13 @@ class RealtimeXClient {
2419
2431
  );
2420
2432
  }
2421
2433
 
2434
+ getChannel(...args) {
2435
+ return this.request(
2436
+ "getChannel",
2437
+ normalizeOperationOptions(operations["getChannel"], args)
2438
+ );
2439
+ }
2440
+
2422
2441
  getChannelWebhook(...args) {
2423
2442
  return this.request(
2424
2443
  "getChannelWebhook",
@@ -3291,5 +3310,5 @@ module.exports = {
3291
3310
  createRealtimeXClient,
3292
3311
  createRealtimeXWebhookClient,
3293
3312
  operations,
3294
- version: "2.0.54",
3313
+ version: "2.0.56",
3295
3314
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "2.0.54",
3
+ "version": "2.0.56",
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -15,16 +15,16 @@ List, create, start, stop, delete and show tabs of named RealTimeX browser sessi
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -55,6 +55,10 @@ realtimex-pp-cli prepare --agent
55
55
 
56
56
  - `realtimex-pp-cli delete-channel <channelId>` — Delete one chat channel by exact channel id.
57
57
 
58
+ **get-channel** — Manage get channel
59
+
60
+ - `realtimex-pp-cli get-channel <channelId>` — Show one chat channel by exact channel id: its non-secret settings, who can use it (whoCanUse), access policies
61
+
58
62
  **get-channel-webhook** — Manage get channel webhook
59
63
 
60
64
  - `realtimex-pp-cli get-channel-webhook <channelId>` — Get channel webhook
@@ -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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
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.54. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.56. 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.54`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.56`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.54
27
+ npm install -g @realtimex/pp-cli@2.0.56
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first: