@realtimex/sdk 2.0.68 → 2.0.69

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
@@ -3893,7 +3893,7 @@ export declare class RealtimeXClient {
3893
3893
  archiveActiveThreadSpa(body: ArchiveActiveThreadSpaBody, options?: Omit<ArchiveActiveThreadSpaOptions, 'body'>): Promise<ArchiveActiveThreadSpaResponse>;
3894
3894
  askHuman(options?: AskHumanOptions): Promise<AskHumanResponse>;
3895
3895
  askHuman(body: AskHumanBody, options?: Omit<AskHumanOptions, 'body'>): Promise<AskHumanResponse>;
3896
- /** Fit per-model thresholds for a Message gate battery from labelled messages: every state is built the way the gate builds it and sent under the channel.message-gate class (the decision model\'s allowance for that class applies). corpus builtin is the shipped Vietnamese and English corpus; corpusPath names a .jsonl file in this workspace\'s .realtimex-decisions/corpus folder; each line is { id, lang, state: { message, guidance, recent }, expected: { <question>: <answer> } } with at least 50 labels per question. Thresholds keep zero consequential false positives and maximize coverage. Reports coverage, false positives and negatives, accuracy and the unsure rate per question and language; write true saves the lock (workspace batteries in .realtimex-decisions/locks; the built-in battery only in development). Errors: 400 invalid corpus or battery (DECISION_INVALID_REQUEST), 429 rate limited. */
3896
+ /** Fit per-model thresholds for a Message gate battery from labelled messages: every state is built the way the gate builds it and sent under the channel.message-gate class (the decision model\'s allowance for that class applies). corpus builtin is the shipped Vietnamese and English corpus; corpusPath names a .jsonl file in this workspace\'s .realtimex-decisions/corpus folder; each line is { id, lang, state: { message, guidance, recent }, expected: { <question>: <answer> } } with at least 50 labels per question. Thresholds keep zero consequential false positives and maximize coverage; each question also gets a rule-out floor (ruleOut) the true answer\'s probability always exceeds on the corpus, so an unsure answer whose accepted values are at or under it rules that rule condition out instead of waking the agent. Reports coverage, false positives and negatives, accuracy and the unsure rate per question and language, and a gateReport: the action each item should get from its labels against the action it gets (missedWake, falseDrop, and how actions moved with rule-out). write true saves the lock only when missedWake and falseDrop are both 0 (workspace batteries in .realtimex-decisions/locks; the built-in battery only in development). Errors: 400 invalid corpus or battery (DECISION_INVALID_REQUEST), 429 rate limited. */
3897
3897
  calibrateChannelGate(options?: CalibrateChannelGateOptions): Promise<CalibrateChannelGateResponse>;
3898
3898
  calibrateChannelGate(body: CalibrateChannelGateBody, options?: Omit<CalibrateChannelGateOptions, 'body'>): Promise<CalibrateChannelGateResponse>;
3899
3899
  /** Fit per-model battery thresholds from labelled states or paired decision digests; report only unless write=true. */
@@ -4268,7 +4268,7 @@ export declare class RealtimeXClient {
4268
4268
  /** Change one chat of a 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 private chat also a sealed sender_handle cu_<n>, or on Pancake the conversation id or the person\'s id). Any chat: guidance (or clearGuidance) is the chat\'s own guidance, always used when set, and useFrom picks which levels above it apply: a group uses all (All chats) and groups (All groups), a private chat all and private (All private chats); each on, off or inherit (follow the level above), for example all=off,groups=on. get-channel-guidance shows what the agent then sees. Zalo Personal and WhatsApp only: for a group allow (turn it on or off) and replyMode; 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. Other channel types take guidance, clearGuidance and useFrom only; website takes none. 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 a field this channel type does not have; USE_FROM_INVALID_KEY or USE_FROM_INVALID_VALUE for useFrom; CHANNEL_GUIDANCE_TOO_LONG above 4,000 characters), 403 a route into or out of a workspace this session cannot reach (ISOLATED_WORKSPACE_CROSSING_REFUSED), 404 no such channel or person (CONTACT_NOT_FOUND), 409 picked while the channel does not use only people I pick, or a person with several conversations (CONTACT_AMBIGUOUS, lists them). */
4269
4269
  setChannelChat(options?: SetChannelChatOptions): Promise<SetChannelChatResponse>;
4270
4270
  setChannelChat(channelId: string, body: SetChannelChatBody, options?: Omit<SetChannelChatOptions, 'params' | 'body'>): Promise<SetChannelChatResponse>;
4271
- /** Set the Message gate of one level (level all, private or groups) or one chat (chatType group or dm with chatId; a group may also take chatName; a private chat also a sealed sender_handle cu_<n>). mode off (default everywhere) lets every message wake the agent; on screens each incoming message with the gate battery (one decision-model call when a rule needs it) and wakes the agent, holds the message (saved, readable in channel-act history) or drops it; shadow evaluates and logs but always wakes. battery is a gate battery id (list-channel-gate-batteries) or null for the built-in Follow guidance battery (channel-gate). clear removes the setting at that level, so it follows the level above. The nearest level that sets the gate wins. Agent decides chats only. With a decision model that runs off this computer, the owner must confirm in Settings before any message is sent out; until then every message wakes the agent and get-channel-gate reports status consent_pending. Errors: 400 invalid level or chat (GATE_LEVEL_INVALID, INVALID_CHAT), mode (GATE_MODE_INVALID), battery (GATE_BATTERY_INVALID, GATE_BATTERY_UNKNOWN, GATE_BATTERY_NOT_GATE) or nothing to change (NOTHING_TO_UPDATE, CONFLICTING_FIELDS), 404 no such channel or person, 409 a person with several conversations (CONTACT_AMBIGUOUS). */
4271
+ /** Set the Message gate of one level (level all, private or groups) or one chat (chatType group or dm with chatId; a group may also take chatName; a private chat also a sealed sender_handle cu_<n>). mode off (default everywhere) lets every message wake the agent; on screens each incoming message with the gate battery (one decision-model call when a rule needs it) and wakes the agent, holds the message (saved, readable in channel-act history) or drops it. Drop keeps a message from the agent; the platform still has it (its own automations and history still see it); shadow evaluates and logs but always wakes. battery is a gate battery id (list-channel-gate-batteries) or null for the built-in Follow guidance battery (channel-gate). clear removes the setting at that level, so it follows the level above. The nearest level that sets the gate wins. Agent decides chats only. With a decision model that runs off this computer, the owner must confirm in Settings before any message is sent out; until then every message wakes the agent and get-channel-gate reports status consent_pending. Errors: 400 invalid level or chat (GATE_LEVEL_INVALID, INVALID_CHAT), mode (GATE_MODE_INVALID), battery (GATE_BATTERY_INVALID, GATE_BATTERY_UNKNOWN, GATE_BATTERY_NOT_GATE) or nothing to change (NOTHING_TO_UPDATE, CONFLICTING_FIELDS), 404 no such channel or person, 409 a person with several conversations (CONTACT_AMBIGUOUS). */
4272
4272
  setChannelGate(options?: SetChannelGateOptions): Promise<SetChannelGateResponse>;
4273
4273
  setChannelGate(channelId: string, body: SetChannelGateBody, options?: Omit<SetChannelGateOptions, 'params' | 'body'>): Promise<SetChannelGateResponse>;
4274
4274
  /** Set the guidance of one default level of a channel. level all is All chats (every chat; the same text as update-channel --agent-guidance), private is All private chats and groups is All groups. guidance (or clearGuidance) is the level\'s own text, up to 4,000 characters. useFrom (private and groups only) picks whether All chats applies: all=on, off or inherit. Unticks pass down: a chat follows the level above unless it changed that box itself. Each chat can add its own guidance with set-channel-chat. get-channel-guidance shows the combined text the agent sees; above 8,000 characters it warns but still saves. Errors: 400 invalid level (GUIDANCE_LEVEL_INVALID), useFrom on all (USE_FROM_NOT_ALLOWED), a wrong box (USE_FROM_INVALID_KEY or USE_FROM_INVALID_VALUE) or text over 4,000 characters (CHANNEL_GUIDANCE_TOO_LONG), 404 no such channel. */
package/index.js CHANGED
@@ -3693,5 +3693,5 @@ module.exports = {
3693
3693
  createRealtimeXClient,
3694
3694
  createRealtimeXWebhookClient,
3695
3695
  operations,
3696
- version: "2.0.68",
3696
+ version: "2.0.69",
3697
3697
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "2.0.68",
3
+ "version": "2.0.69",
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
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.68. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.69. 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.68`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.69`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.68
27
+ npm install -g @realtimex/pp-cli@2.0.69
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first: