@realtimex/sdk 2.0.34 → 2.0.36
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 +409 -8
- package/index.js +313 -1
- package/package.json +2 -1
- package/skills/realtimex-artifacts/SKILL.md +3 -3
- package/skills/realtimex-automation-flows/SKILL.md +35 -3
- package/skills/realtimex-browser-sessions/SKILL.md +3 -3
- package/skills/realtimex-channels/SKILL.md +3 -3
- package/skills/realtimex-delegates/SKILL.md +65 -0
- package/skills/realtimex-heartbeat/SKILL.md +3 -3
- package/skills/realtimex-local-apps/SKILL.md +3 -3
- package/skills/realtimex-moderator-sdk/SKILL.md +6 -4
- package/skills/realtimex-plugin-and-skill/SKILL.md +7 -7
- package/skills/realtimex-secrets/SKILL.md +84 -0
- 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
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: realtimex-delegates
|
|
3
|
+
description: "Manage RealTimeX Delegate scope bindings, policy drafts and compiler jobs, activation, lifecycle, decisions, and executions. Use for explicit Human-representing Delegate authority administration."
|
|
4
|
+
allowed-tools: "Read Bash"
|
|
5
|
+
metadata:
|
|
6
|
+
openclaw:
|
|
7
|
+
requires:
|
|
8
|
+
bins:
|
|
9
|
+
- realtimex-pp-cli
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# RealTimeX Delegates
|
|
13
|
+
|
|
14
|
+
Manage RealTimeX Delegate scope bindings, policy drafts and compiler jobs, activation, lifecycle, decisions, and executions. Use for explicit Human-representing Delegate authority administration.
|
|
15
|
+
|
|
16
|
+
## CLI setup
|
|
17
|
+
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.36. Before using its commands:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
realtimex-pp-cli --version
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.36`, install the pinned version:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.36
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
For requests about the current workspace or thread, resolve context first:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
realtimex-pp-cli prepare --agent
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Command reference
|
|
37
|
+
|
|
38
|
+
**get-delegate-mandate** — Manage get delegate mandate
|
|
39
|
+
|
|
40
|
+
- `realtimex-pp-cli get-delegate-mandate` — Get delegate mandate
|
|
41
|
+
|
|
42
|
+
**propose-delegate-mandate** — Manage propose delegate mandate
|
|
43
|
+
|
|
44
|
+
- `realtimex-pp-cli propose-delegate-mandate <authorityId>` — Propose delegate mandate
|
|
45
|
+
|
|
46
|
+
**resolve-delegate** — Manage resolve delegate
|
|
47
|
+
|
|
48
|
+
- `realtimex-pp-cli resolve-delegate` — Resolve delegate
|
|
49
|
+
|
|
50
|
+
## Domain rules
|
|
51
|
+
|
|
52
|
+
- Treat `configure-plugin` as topology deployment only; it does not grant, activate, suspend, resume, or revoke Delegate authority.
|
|
53
|
+
- Always supply the explicit native scope identifier: global topology registry id, project topology assignment id, or numeric Workspace Team database id.
|
|
54
|
+
- Inspect the Delegate, draft, compiler job, or execution before dependent mutations, and preserve every server-returned id and revision exactly.
|
|
55
|
+
- Never automatically retry Delegate mutations after a timeout, network error, 429, or 5xx response. Read authoritative state before deciding whether a manual repeat is safe.
|
|
56
|
+
- Use `expected-revision 0` for the first draft save and `expected-policy-version none` only when no policy is active.
|
|
57
|
+
- Supply exact instance confirmation where required. Do not invent confirmation or refresh stale activation revisions automatically.
|
|
58
|
+
- Poll compiler jobs and pending decisions with the generated GET commands; polling must not create work or authority.
|
|
59
|
+
|
|
60
|
+
## Shared constraints
|
|
61
|
+
|
|
62
|
+
- Run documented commands with `--agent`.
|
|
63
|
+
- Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
|
|
64
|
+
- Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
|
|
65
|
+
- Ask one concise clarification when required target context is missing or ambiguous.
|
|
@@ -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.36. 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.36`, 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.36
|
|
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.36. 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.36`, 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.36
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
For requests about the current workspace or thread, resolve context first:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: realtimex-moderator-sdk
|
|
3
|
-
description: "Route RealTimeX API work to the focused workspace, terminal-agent, browser-session, local-app, heartbeat, automation-flow, artifact, channel, webhook, or plugin-and-skill capability. Use when a request spans capabilities or the correct RealTimeX skill is unclear."
|
|
3
|
+
description: "Route RealTimeX API work to the focused workspace, terminal-agent, browser-session, local-app, heartbeat, automation-flow, artifact, channel, webhook, secret-management, Delegate-authority, or plugin-and-skill capability. Use when a request spans capabilities or the correct RealTimeX skill is unclear."
|
|
4
4
|
allowed-tools: "Read Bash"
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
@@ -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.36. 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.36`, 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.36
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
For requests about the current workspace or thread, resolve context first:
|
|
@@ -37,6 +37,7 @@ realtimex-pp-cli prepare --agent
|
|
|
37
37
|
|
|
38
38
|
| Skill | Use for |
|
|
39
39
|
| --- | --- |
|
|
40
|
+
| `realtimex-secrets` | Manage encrypted named secrets and workspace scope with the moderator CLI. Use saved secrets in terminal commands through rtxexec without handling raw values. |
|
|
40
41
|
| `realtimex-workspaces` | Manage RealTimeX workspaces, threads, messages, workspace personality, LLM configuration, and default agents. Use for workspace and conversation operations. |
|
|
41
42
|
| `realtimex-terminal-agents` | Manage RealTimeX terminal agents, terminal sessions, session messages, and idle prompts. Use for desktop terminal-agent runtime and terminal-session lifecycle work. |
|
|
42
43
|
| `realtimex-browser-sessions` | List, create, start, stop, and delete isolated RealTimeX browser sessions. Use for named browser runtime and profile lifecycle work. |
|
|
@@ -47,6 +48,7 @@ realtimex-pp-cli prepare --agent
|
|
|
47
48
|
| `realtimex-channels` | Create, configure, start, stop, and delete RealTimeX chat channels, approve pairing codes, and deliver channel files. Use for Telegram, Zalo, Discord, and other channel integrations. |
|
|
48
49
|
| `realtimex-webhooks` | Create, inspect, update, test, and delete RealTimeX public webhook endpoints and inspect bounded delivery metadata. Use for inbound public webhook trigger configuration. |
|
|
49
50
|
| `realtimex-plugin-and-skill` | Manage RealTimeX plugins and agent skills, including configuration, enablement, reload, installation, promotion, and workspace skill state. Use for plugin and skill administration. |
|
|
51
|
+
| `realtimex-delegates` | Manage RealTimeX Delegate scope bindings, policy drafts and compiler jobs, activation, lifecycle, decisions, and executions. Use for explicit Human-representing Delegate authority administration. |
|
|
50
52
|
|
|
51
53
|
## Cross-domain requests
|
|
52
54
|
|
|
@@ -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.36. 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.36`, 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.36
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
For requests about the current workspace or thread, resolve context first:
|
|
@@ -37,7 +37,7 @@ realtimex-pp-cli prepare --agent
|
|
|
37
37
|
|
|
38
38
|
**configure-plugin** — Manage configure plugin
|
|
39
39
|
|
|
40
|
-
- `realtimex-pp-cli configure-plugin <pluginId>` — Set non-secret configuration values for one installed plugin.
|
|
40
|
+
- `realtimex-pp-cli configure-plugin <pluginId>` — Set non-secret global configuration values for one installed plugin.
|
|
41
41
|
|
|
42
42
|
**create-workspace-agent-skill** — Manage create workspace agent skill
|
|
43
43
|
|
|
@@ -61,7 +61,7 @@ realtimex-pp-cli prepare --agent
|
|
|
61
61
|
|
|
62
62
|
**get-plugin** — Manage get plugin
|
|
63
63
|
|
|
64
|
-
- `realtimex-pp-cli get-plugin <pluginId>` — Get one installed plugin with its config schema
|
|
64
|
+
- `realtimex-pp-cli get-plugin <pluginId>` — Get one installed plugin with its global config schema and current non-secret global values.
|
|
65
65
|
|
|
66
66
|
**install-plugin** — Manage install plugin
|
|
67
67
|
|
|
@@ -69,7 +69,7 @@ realtimex-pp-cli prepare --agent
|
|
|
69
69
|
|
|
70
70
|
**list-agent-skills** — Manage list agent skills
|
|
71
71
|
|
|
72
|
-
- `realtimex-pp-cli list-agent-skills` — List
|
|
72
|
+
- `realtimex-pp-cli list-agent-skills` — List available non-candidate agent skills.
|
|
73
73
|
|
|
74
74
|
**list-plugins** — Manage list plugins
|
|
75
75
|
|
|
@@ -77,7 +77,7 @@ realtimex-pp-cli prepare --agent
|
|
|
77
77
|
|
|
78
78
|
**list-workspace-agent-skills** — Manage list workspace agent skills
|
|
79
79
|
|
|
80
|
-
- `realtimex-pp-cli list-workspace-agent-skills <workspaceSlug>` — List
|
|
80
|
+
- `realtimex-pp-cli list-workspace-agent-skills <workspaceSlug>` — List available non-candidate agent skills with enabled/disabled state for one exact workspace slug.
|
|
81
81
|
|
|
82
82
|
**promote-workspace-agent-skill** — Manage promote workspace agent skill
|
|
83
83
|
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: realtimex-secrets
|
|
3
|
+
description: "Manage encrypted named secrets and workspace scope with the moderator CLI. Use saved secrets in terminal commands through rtxexec without handling raw values."
|
|
4
|
+
allowed-tools: "Read Bash"
|
|
5
|
+
metadata:
|
|
6
|
+
openclaw:
|
|
7
|
+
requires:
|
|
8
|
+
bins:
|
|
9
|
+
- realtimex-pp-cli
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# RealTimeX Secrets
|
|
13
|
+
|
|
14
|
+
Manage encrypted named secrets and workspace scope with the moderator CLI. Use saved secrets in terminal commands through rtxexec without handling raw values.
|
|
15
|
+
|
|
16
|
+
## CLI setup
|
|
17
|
+
|
|
18
|
+
This skill uses `realtimex-pp-cli` version 2.0.36. Before using its commands:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
realtimex-pp-cli --version
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
If it is missing or does not report `realtimex-pp-cli 2.0.36`, install the pinned version:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install -g @realtimex/pp-cli@2.0.36
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
For requests about the current workspace or thread, resolve context first:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
realtimex-pp-cli prepare --agent
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Command reference
|
|
37
|
+
|
|
38
|
+
**create-secret** — Manage create secret
|
|
39
|
+
|
|
40
|
+
- `realtimex-pp-cli create-secret` — Create secret
|
|
41
|
+
|
|
42
|
+
Read a value with `--value-stdin` (raw stdin, not a shell literal). Use `--all-workspaces` to restore unrestricted scope, or `--workspace-slugs` for a comma-separated list. Omit `--value-stdin` on update to keep the saved value.
|
|
43
|
+
|
|
44
|
+
**delete-secret** — Manage delete secret
|
|
45
|
+
|
|
46
|
+
- `realtimex-pp-cli delete-secret <id>` — Delete secret
|
|
47
|
+
|
|
48
|
+
**get-secret** — Manage get secret
|
|
49
|
+
|
|
50
|
+
- `realtimex-pp-cli get-secret <id>` — Get secret
|
|
51
|
+
|
|
52
|
+
**list-secret-usage** — Manage list secret usage
|
|
53
|
+
|
|
54
|
+
- `realtimex-pp-cli list-secret-usage <id>` — List secret usage
|
|
55
|
+
|
|
56
|
+
**list-secrets** — Manage list secrets
|
|
57
|
+
|
|
58
|
+
- `realtimex-pp-cli list-secrets` — List secrets
|
|
59
|
+
|
|
60
|
+
**update-secret** — Manage update secret
|
|
61
|
+
|
|
62
|
+
- `realtimex-pp-cli update-secret <id>` — Update secret
|
|
63
|
+
|
|
64
|
+
Read a value with `--value-stdin` (raw stdin, not a shell literal). Use `--all-workspaces` to restore unrestricted scope, or `--workspace-slugs` for a comma-separated list. Omit `--value-stdin` on update to keep the saved value.
|
|
65
|
+
|
|
66
|
+
## Domain rules
|
|
67
|
+
|
|
68
|
+
- Use realtimex-pp-cli for secret management only. List/get responses contain metadata and references, never values.
|
|
69
|
+
- Prefer the Secrets settings screen for entering or rotating values. Never put a raw secret in a command argument, shell history, chat, or a temporary file.
|
|
70
|
+
- Secrets default to all workspaces. Set workspaceSlugs to an explicit list to restrict execution; an empty list permits no workspace. Management remains app-wide in this single-user app.
|
|
71
|
+
- Use rtxexec only for execution. Install @realtimex/rtxexec@0.1.0 if unavailable. It uses REALTIMEX_TERMINAL_SESSION_TOKEN and the app-provided local server URL; workspace scope comes from the authenticated session.
|
|
72
|
+
- Prefer environment or stdin injection: rtxexec --env API_TOKEN=secret://my-token -- program; rtxexec --stdin secret://my-password -- program.
|
|
73
|
+
- For tools requiring arguments: rtxexec --secret token=secret://my-token -- curl -H "Authorization: Bearer {{token}}" https://api.example.com. Expanded arguments may be visible to local processes.
|
|
74
|
+
- Do not request raw values, inspect the vault database or encryption keys, call the resolution endpoint directly, or run printenv/echo to inspect injected values. Use references and non-secret success checks.
|
|
75
|
+
- rtxexec launches the command directly without a shell. Do not use secret placeholders inside sh -c, bash -c, cmd /c, PowerShell command strings, or other evaluated code.
|
|
76
|
+
- Output masking is best effort for known values, not protection against arbitrary encoding, child-created files, or an agent deliberately reading secrets. Programs requiring an interactive TTY or Windows batch scripts need another supported invocation.
|
|
77
|
+
- Usage records mean values were resolved for an executable, not that the command completed successfully. Disabled, deleted, or out-of-scope secrets fail before execution.
|
|
78
|
+
|
|
79
|
+
## Shared constraints
|
|
80
|
+
|
|
81
|
+
- Run documented commands with `--agent`.
|
|
82
|
+
- Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
|
|
83
|
+
- Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
|
|
84
|
+
- Ask one concise clarification when required target context is missing or ambiguous.
|
|
@@ -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.36. 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.36`, 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.36
|
|
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.36. 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.36`, 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.36
|
|
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.36. 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.36`, 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.36
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
For requests about the current workspace or thread, resolve context first:
|