@realtimex/sdk 2.0.53 → 2.0.54

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
@@ -1333,6 +1333,7 @@ export type ListBrowserWatchesParams = Record<string, never>;
1333
1333
  export type ListBrowserWatchesQuery = {
1334
1334
  key?: string;
1335
1335
  includeResolved?: boolean;
1336
+ includeIncoming?: boolean;
1336
1337
  limit?: number;
1337
1338
  cursor?: string;
1338
1339
  };
@@ -2551,6 +2552,16 @@ export type SetBrowserWatchBody = {
2551
2552
  excerptChars?: number;
2552
2553
  reason: string;
2553
2554
  context?: Record<string, unknown>;
2555
+ route?: {
2556
+ dispatchMode: "send_to_thread" | "trigger_agent" | "trigger_flow" | "record_only";
2557
+ workspaceId?: number;
2558
+ workspaceSlug?: string;
2559
+ threadId?: number;
2560
+ threadSlug?: string;
2561
+ triggerFlowId?: string;
2562
+ };
2563
+ includePayloadPreview?: boolean;
2564
+ authorizationRequestId?: string;
2554
2565
  };
2555
2566
  export type SetBrowserWatchResponse = unknown;
2556
2567
  export interface SetBrowserWatchOptions extends RealtimeXRequestOptions {
@@ -3477,7 +3488,7 @@ export declare class RealtimeXClient {
3477
3488
  /** Cancel a scheduled wake-up of the thread of the calling agent session by key. Cancelling an already cancelled key succeeds. A wake that is being delivered cannot be retracted. A wake with uncertain delivery can only be released with acknowledgeUnknown after checking the thread. */
3478
3489
  cancelThreadWake(options?: CancelThreadWakeOptions): Promise<CancelThreadWakeResponse>;
3479
3490
  cancelThreadWake(body: CancelThreadWakeBody, options?: Omit<CancelThreadWakeOptions, 'body'>): Promise<CancelThreadWakeResponse>;
3480
- /** Run one control of the external chat this terminal answers (Zalo Personal first): channel-act list shows the controls this chat supports, channel-act describe --name <control> shows one control\'s arguments, and channel-act <name> runs it with --args-json and the flags below. Posting text stays on send-channel-message. Run it from the channel-linked terminal, so --context is optional. Errors: 400 invalid arguments (details and schema), 403 the control needs the owner\'s approval, 404 no such control or no linked chat, 409 channel stopped, 429 rate limited (wait retry_after seconds), 502 the channel refused. */
3491
+ /** Run one control of the external chat this terminal answers (Zalo Personal first): channel-act list shows the controls of this chat with their level, channel-act describe --name <control> shows the arguments of one control, and channel-act <name> runs it with --args-json and the flags below. Open controls (free, chat-write) run right away; ask controls run after the terminal permission prompt; user ids take cu_ and zm_ handles; history pages back with --before <next_before>. Posting text stays on send-channel-message. Run it from the channel-linked terminal, so --context is optional. Errors: 400 invalid arguments (details and schema) or a control that cannot be called safely (CHANNEL_ACT_UNAVAILABLE), 403 an account-wide list on an account that serves other workspaces (CHANNEL_ACT_ISOLATED), 404 no such control (a hint names the right one) or no linked chat, 409 channel stopped, 429 rate limited (wait retry_after seconds), 502 the channel refused. */
3481
3492
  channelAct(options?: ChannelActOptions): Promise<ChannelActResponse>;
3482
3493
  channelAct(control: string, body: ChannelActBody, options?: Omit<ChannelActOptions, 'params' | 'body'>): Promise<ChannelActResponse>;
3483
3494
  /** Measure chat rich-content containment in the owned Electron renderer. */
@@ -3626,7 +3637,7 @@ export declare class RealtimeXClient {
3626
3637
  listBrowserProfiles(options?: ListBrowserProfilesOptions): Promise<ListBrowserProfilesResponse>;
3627
3638
  /** List registered RealTimeX Browser sessions and their live runtime state. */
3628
3639
  listBrowserSessions(options?: ListBrowserSessionsOptions): Promise<ListBrowserSessionsResponse>;
3629
- /** List the browser watches of the thread of the calling agent session, newest first: open ones, or all with includeResolved=true. Each shows its publicId and name on the Webhooks & Events page, its state (paused when the person paused it there), why it is suspended, coverage gaps and recent fires. Page excerpts are never listed. */
3640
+ /** List the browser watches of the thread of the calling agent session, newest first: open ones, or all with includeResolved=true. Each shows its publicId and name on the Webhooks & Events page, its state (paused when the person paused it there), why it is suspended, coverage gaps and recent fires, where it delivers (route) and, for one that delivers elsewhere, its approval. With includeIncoming=true, incoming lists the watches set by another thread */
3630
3641
  listBrowserWatches(options?: ListBrowserWatchesOptions): Promise<ListBrowserWatchesResponse>;
3631
3642
  listBrowserWatches(query?: ListBrowserWatchesQuery, options?: Omit<ListBrowserWatchesOptions, 'query'>): Promise<ListBrowserWatchesResponse>;
3632
3643
  /** List the members of the group chat this terminal is answering, as names and handles to tag with @[Name](handle) in send-channel-message. Run it from the channel-linked terminal, so --context is optional. Handles are cu_<id> (the same as sender_handle) or zm_<id> (this chat only). Errors: 400 not a group chat or the channel has no mentions, 404 no linked chat, 409 channel stopped, 503 member list unavailable (try again later). */
@@ -3790,7 +3801,7 @@ export declare class RealtimeXClient {
3790
3801
  /** Send one message directly to an exact live terminal session. Requires local terminal-session or desktop-app authentication. */
3791
3802
  sendTerminalSessionMessage(options?: SendTerminalSessionMessageOptions): Promise<SendTerminalSessionMessageResponse>;
3792
3803
  sendTerminalSessionMessage(sessionId: string, body: SendTerminalSessionMessageBody, options?: Omit<SendTerminalSessionMessageOptions, 'params' | 'body'>): Promise<SendTerminalSessionMessageResponse>;
3793
- /** 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 always wakes your own thread. The wake sends nothing by itself and grants no new permission. Pair it with a thread wake at the deadline. Errors: 400 invalid input or selector, 403 not a thread-bound agent session, thread wakes off, or a route field (WATCH_ROUTE_NOT_ALLOWED), 404 session or tab not found, 409 tab ambiguous or not observable, key busy or uncertain, or paused by the person, 429 limits, 503 desktop or browser unavailable. */
3804
+ /** 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 */
3794
3805
  setBrowserWatch(options?: SetBrowserWatchOptions): Promise<SetBrowserWatchResponse>;
3795
3806
  setBrowserWatch(body: SetBrowserWatchBody, options?: Omit<SetBrowserWatchOptions, 'body'>): Promise<SetBrowserWatchResponse>;
3796
3807
  /** Set a workspace default agent from the desktop workspace chat settings UI. */
package/index.js CHANGED
@@ -668,6 +668,7 @@ const operations = {
668
668
  "queryParams": [
669
669
  "key",
670
670
  "includeResolved",
671
+ "includeIncoming",
671
672
  "limit",
672
673
  "cursor"
673
674
  ],
@@ -3290,5 +3291,5 @@ module.exports = {
3290
3291
  createRealtimeXClient,
3291
3292
  createRealtimeXWebhookClient,
3292
3293
  operations,
3293
- version: "2.0.53",
3294
+ version: "2.0.54",
3294
3295
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "2.0.53",
3
+ "version": "2.0.54",
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
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.53. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.54. 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.53`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.54`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.53
27
+ npm install -g @realtimex/pp-cli@2.0.54
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first: