@realtimex/sdk 2.0.62 → 2.0.64

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
@@ -2751,6 +2751,9 @@ export type SetChannelAccessBody = {
2751
2751
  removeTrustedMembers?: Array<string>;
2752
2752
  approvedPeople?: "keep" | "pause";
2753
2753
  selfChatMode?: boolean;
2754
+ inviteCode?: "create" | "revoke";
2755
+ inviteHours?: number;
2756
+ inviteMaxUses?: number;
2754
2757
  };
2755
2758
  export type SetChannelAccessResponse = Record<string, unknown>;
2756
2759
  export interface SetChannelAccessOptions extends RealtimeXRequestOptions {
@@ -4102,7 +4105,7 @@ export declare class RealtimeXClient {
4102
4105
  /** Watch one RealTimeX Browser tab for a condition and wake the thread of the calling agent session when it occurs, until a deadline. The host observes the tab; waiting costs no turns. kind dom watches rendered elements (CSS selector, optional text, appears or changes); kind url watches the tab address. Name the tab by its id from list-browser-sessions. Setting an existing key replaces that watch. The watch is a Webhooks & Events endpoint the person sees and can pause or remove. It wakes your own thread; to deliver to another thread, a workspace */
4103
4106
  setBrowserWatch(options?: SetBrowserWatchOptions): Promise<SetBrowserWatchResponse>;
4104
4107
  setBrowserWatch(body: SetBrowserWatchBody, options?: Omit<SetBrowserWatchOptions, 'body'>): Promise<SetBrowserWatchResponse>;
4105
- /** Set who can use one channel, as Settings › Channels › Who can use it does. Only the fields you pass change. Private chats (dmPolicy): open (anyone), pairing (people I approve; not on Pancake), allowlist (only people I pick) or disabled. On Zalo Personal and WhatsApp also: groups (groupPolicy open, allowlist = only groups I turn on, or disabled), requireMention and replyMode for groups, the picked people (addAllowFrom/removeAllowFrom, ids from list-channel-friends) and the trusted members whose new groups turn on automatically (addTrustedMembers/removeTrustedMembers). Switching to allowlist while people can use the agent privately needs approvedPeople keep (they join the list) or pause. Pancake also takes its picked conversations (addAllowFrom/removeAllowFrom, Pancake conversation ids); anyone else who messages the page is ignored. Other channel types take dmPolicy only. Anything that may widen access (any policy but disabled, adding people or members, mentions not required, replies to every message) waits for the owner on the desktop when run from a terminal answering an external chat. Errors: 400 invalid value or a setting this channel type does not have, 404 no such channel, 409 approvedPeople needed. */
4108
+ /** Set who can use one channel, as Settings › Channels › Who can use it does. Only the fields you pass change. Private chats (dmPolicy): open (anyone), pairing (people I approve; not on Pancake), allowlist (only people I pick) or disabled. On Zalo Personal and WhatsApp also: groups (groupPolicy open, allowlist = only groups I turn on, or disabled), requireMention and replyMode for groups, the picked people (addAllowFrom/removeAllowFrom, ids from list-channel-friends) and the trusted members whose new groups turn on automatically (addTrustedMembers/removeTrustedMembers). Switching to allowlist while people can use the agent privately needs approvedPeople keep (they join the list) or pause. Pancake also takes its picked conversations (addAllowFrom/removeAllowFrom, Pancake conversation ids) and an invite code testers send to be picked (inviteCode create with inviteHours and inviteMaxUses, or inviteCode revoke; leaving allowlist revokes it); anyone else who messages the page is ignored. Other channel types take dmPolicy only. Anything that may widen access (any policy but disabled, adding people or members, creating an invite code, mentions not required, replies to every message) waits for the owner on the desktop when run from a terminal answering an external chat. Errors: 400 invalid value or a setting this channel type does not have, 404 no such channel, 409 approvedPeople needed. */
4106
4109
  setChannelAccess(options?: SetChannelAccessOptions): Promise<SetChannelAccessResponse>;
4107
4110
  setChannelAccess(channelId: string, body: SetChannelAccessBody, options?: Omit<SetChannelAccessOptions, 'params' | 'body'>): Promise<SetChannelAccessResponse>;
4108
4111
  /** Change one chat of a Zalo Personal or WhatsApp channel, as the Chats tab does. Name it with chatType (group or dm) and chatId (from list-channel-groups or list-channel-friends). For a group: allow (turn it on or off), replyMode and guidance (or clearGuidance). For a private chat: picked (on or off the list under only people I pick). For either: routeWorkspaceId and routeThreadId send the chat to that workspace or thread; clearRoute sends it back to the channel\'s own. Only the fields you pass change. Turning a group on, picking a person, replies to every message and any route change wait for the owner on the desktop when run from a terminal answering an external chat. Errors: 400 invalid chat or field (CHANNEL_TYPE_UNSUPPORTED for other channel types), 403 a route into or out of a workspace this session cannot reach (ISOLATED_WORKSPACE_CROSSING_REFUSED), 404 no such channel, 409 picked while the channel does not use only people I pick. */
@@ -4186,7 +4189,7 @@ export declare class RealtimeXClient {
4186
4189
  /** Stop ignoring one sender: their ignored access request (by id from list-channel-requests, under ignored) is removed, so they can ask for access again. This widens who can reach the owner: from a terminal answering an external chat it waits for the owner on the desktop. Errors: 404 no such request in a channel this caller can reach. */
4187
4190
  unignoreChannelPairingCode(options?: UnignoreChannelPairingCodeOptions): Promise<UnignoreChannelPairingCodeResponse>;
4188
4191
  unignoreChannelPairingCode(code: string, options?: Omit<UnignoreChannelPairingCodeOptions, 'params'>): Promise<UnignoreChannelPairingCodeResponse>;
4189
- /** Update one chat channel by exact channel id. Only the fields you pass change; every other setting, the token and the account session keep their values. Limits keep the server floors and ceilings: an out-of-range value returns 400 LIMIT_OUT_OF_RANGE with the allowed min and max, and nothing is saved. From a terminal answering an external chat, a change that may widen access or loosen a limit (dmPolicy other than disabled, workspaceId, a rate limit, the turn budget, pacing or splitting off, enabling slash commands, approvalPrompts chat) waits for the owner on the desktop. Errors: 400 invalid value or nothing to update, 403 a move into or out of a client-isolated workspace (desktop owner only), 404 no such channel, or one in a workspace this caller cannot reach, 409 a move while a Take over runs. */
4192
+ /** Update one chat channel by exact channel id. Only the fields you pass change; every other setting, the token and the account session keep their values. Limits keep the server floors and ceilings: an out-of-range value returns 400 LIMIT_OUT_OF_RANGE with the allowed min and max, and nothing is saved. From a terminal answering an external chat, a change that may widen access or loosen a limit (dmPolicy other than disabled, workspaceId, a rate limit, pacing or splitting off, enabling slash commands, approvalPrompts chat) waits for the owner on the desktop. Errors: 400 invalid value or nothing to update, 403 a move into or out of a client-isolated workspace (desktop owner only), 404 no such channel, or one in a workspace this caller cannot reach, 409 a move while a Take over runs. */
4190
4193
  updateChannel(options?: UpdateChannelOptions): Promise<UpdateChannelResponse>;
4191
4194
  updateChannel(channelId: string, body: UpdateChannelBody, options?: Omit<UpdateChannelOptions, 'params' | 'body'>): Promise<UpdateChannelResponse>;
4192
4195
  /** Change one group name rule of a Zalo Personal or WhatsApp channel (the rules under get-channel policies.groups whose key is a name pattern, not a group id). action update sets allow, replyMode or guidance (or clearGuidance); remove deletes the rule; apply copies the rule onto one group (targetGroupId) and deletes the rule. Removing or applying a rule, turning it on and replies to every message wait for the owner on the desktop when run from a terminal answering an external chat. Errors: 400 invalid rule (CHANNEL_TYPE_UNSUPPORTED for other channel types), 404 no such channel or rule. */
package/index.js CHANGED
@@ -3550,5 +3550,5 @@ module.exports = {
3550
3550
  createRealtimeXClient,
3551
3551
  createRealtimeXWebhookClient,
3552
3552
  operations,
3553
- version: "2.0.62",
3553
+ version: "2.0.64",
3554
3554
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "2.0.62",
3
+ "version": "2.0.64",
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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: who can use
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
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.62. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.64. 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.62`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.64`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.62
27
+ npm install -g @realtimex/pp-cli@2.0.64
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first: