@realtimex/sdk 2.0.51 → 2.0.53
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 +29 -0
- package/index.js +20 -1
- package/package.json +1 -1
- package/skills/realtimex-artifacts/SKILL.md +3 -3
- package/skills/realtimex-automation-flows/SKILL.md +3 -3
- package/skills/realtimex-browser-sessions/SKILL.md +3 -3
- package/skills/realtimex-channels/SKILL.md +7 -3
- package/skills/realtimex-decisions/SKILL.md +3 -3
- package/skills/realtimex-delegates/SKILL.md +3 -3
- package/skills/realtimex-heartbeat/SKILL.md +3 -3
- package/skills/realtimex-local-apps/SKILL.md +3 -3
- package/skills/realtimex-moderator-sdk/SKILL.md +3 -3
- package/skills/realtimex-plugin-and-skill/SKILL.md +3 -3
- package/skills/realtimex-secrets/SKILL.md +3 -3
- package/skills/realtimex-terminal-agents/SKILL.md +3 -3
- package/skills/realtimex-webhooks/SKILL.md +3 -3
- package/skills/realtimex-workspaces/SKILL.md +3 -3
package/index.d.ts
CHANGED
|
@@ -145,6 +145,30 @@ export interface CancelThreadWakeOptions extends RealtimeXRequestOptions {
|
|
|
145
145
|
body?: CancelThreadWakeBody;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
export type ChannelActParams = {
|
|
149
|
+
control: string;
|
|
150
|
+
};
|
|
151
|
+
export type ChannelActQuery = Record<string, never>;
|
|
152
|
+
export type ChannelActHeaders = {
|
|
153
|
+
"x-app-id"?: string;
|
|
154
|
+
};
|
|
155
|
+
export type ChannelActBody = {
|
|
156
|
+
argsJson?: string;
|
|
157
|
+
limit?: number;
|
|
158
|
+
before?: string;
|
|
159
|
+
query?: string;
|
|
160
|
+
name?: string;
|
|
161
|
+
message?: string;
|
|
162
|
+
context?: string;
|
|
163
|
+
};
|
|
164
|
+
export type ChannelActResponse = Record<string, unknown>;
|
|
165
|
+
export interface ChannelActOptions extends RealtimeXRequestOptions {
|
|
166
|
+
params?: ChannelActParams;
|
|
167
|
+
query?: ChannelActQuery;
|
|
168
|
+
headers?: ChannelActHeaders & Record<string, string>;
|
|
169
|
+
body?: ChannelActBody;
|
|
170
|
+
}
|
|
171
|
+
|
|
148
172
|
export type ChatRichContentContainmentParams = Record<string, never>;
|
|
149
173
|
export type ChatRichContentContainmentQuery = Record<string, never>;
|
|
150
174
|
export type ChatRichContentContainmentHeaders = Record<string, never>;
|
|
@@ -360,6 +384,7 @@ export type CreateChannelBody = {
|
|
|
360
384
|
settings?: {
|
|
361
385
|
deliveryMode?: "agent" | "platform";
|
|
362
386
|
ownerMessages?: boolean;
|
|
387
|
+
approvalPrompts?: "desktop" | "chat";
|
|
363
388
|
};
|
|
364
389
|
};
|
|
365
390
|
export type CreateChannelResponse = Record<string, unknown>;
|
|
@@ -3185,6 +3210,7 @@ export type UpdateChannelBody = {
|
|
|
3185
3210
|
settings?: {
|
|
3186
3211
|
deliveryMode?: "agent" | "platform";
|
|
3187
3212
|
ownerMessages?: boolean;
|
|
3213
|
+
approvalPrompts?: "desktop" | "chat";
|
|
3188
3214
|
};
|
|
3189
3215
|
};
|
|
3190
3216
|
export type UpdateChannelResponse = Record<string, unknown>;
|
|
@@ -3451,6 +3477,9 @@ export declare class RealtimeXClient {
|
|
|
3451
3477
|
/** 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. */
|
|
3452
3478
|
cancelThreadWake(options?: CancelThreadWakeOptions): Promise<CancelThreadWakeResponse>;
|
|
3453
3479
|
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. */
|
|
3481
|
+
channelAct(options?: ChannelActOptions): Promise<ChannelActResponse>;
|
|
3482
|
+
channelAct(control: string, body: ChannelActBody, options?: Omit<ChannelActOptions, 'params' | 'body'>): Promise<ChannelActResponse>;
|
|
3454
3483
|
/** Measure chat rich-content containment in the owned Electron renderer. */
|
|
3455
3484
|
chatRichContentContainment(options?: ChatRichContentContainmentOptions): Promise<ChatRichContentContainmentResponse>;
|
|
3456
3485
|
chatRichContentContainment(body: ChatRichContentContainmentBody, options?: Omit<ChatRichContentContainmentOptions, 'body'>): Promise<ChatRichContentContainmentResponse>;
|
package/index.js
CHANGED
|
@@ -67,6 +67,18 @@ const operations = {
|
|
|
67
67
|
"headerParams": [],
|
|
68
68
|
"hasBody": true
|
|
69
69
|
},
|
|
70
|
+
"channelAct": {
|
|
71
|
+
"method": "POST",
|
|
72
|
+
"path": "/channel-act/{control}",
|
|
73
|
+
"pathParams": [
|
|
74
|
+
"control"
|
|
75
|
+
],
|
|
76
|
+
"queryParams": [],
|
|
77
|
+
"headerParams": [
|
|
78
|
+
"x-app-id"
|
|
79
|
+
],
|
|
80
|
+
"hasBody": true
|
|
81
|
+
},
|
|
70
82
|
"chatRichContentContainment": {
|
|
71
83
|
"method": "POST",
|
|
72
84
|
"path": "/chat-rich-content-containment",
|
|
@@ -2182,6 +2194,13 @@ class RealtimeXClient {
|
|
|
2182
2194
|
);
|
|
2183
2195
|
}
|
|
2184
2196
|
|
|
2197
|
+
channelAct(...args) {
|
|
2198
|
+
return this.request(
|
|
2199
|
+
"channelAct",
|
|
2200
|
+
normalizeOperationOptions(operations["channelAct"], args)
|
|
2201
|
+
);
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2185
2204
|
chatRichContentContainment(...args) {
|
|
2186
2205
|
return this.request(
|
|
2187
2206
|
"chatRichContentContainment",
|
|
@@ -3271,5 +3290,5 @@ module.exports = {
|
|
|
3271
3290
|
createRealtimeXClient,
|
|
3272
3291
|
createRealtimeXWebhookClient,
|
|
3273
3292
|
operations,
|
|
3274
|
-
version: "2.0.
|
|
3293
|
+
version: "2.0.53",
|
|
3275
3294
|
};
|
package/package.json
CHANGED
|
@@ -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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
For requests about the current workspace or thread, resolve context first:
|
|
@@ -39,6 +39,10 @@ realtimex-pp-cli prepare --agent
|
|
|
39
39
|
|
|
40
40
|
- `realtimex-pp-cli approve-channel-pairing-code <code>` — Approve one pending channel pairing code by visible 6-digit code or database id.
|
|
41
41
|
|
|
42
|
+
**channel-act** — Manage channel act
|
|
43
|
+
|
|
44
|
+
- `realtimex-pp-cli channel-act <control>` — Run one control of the external chat this terminal answers (Zalo Personal first)
|
|
45
|
+
|
|
42
46
|
**complete-channel-setup** — Manage complete channel setup
|
|
43
47
|
|
|
44
48
|
- `realtimex-pp-cli complete-channel-setup <channelId>` — Complete channel setup
|
|
@@ -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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
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.
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.53. 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.
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.53`, install the pinned version:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.53
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
For requests about the current workspace or thread, resolve context first:
|