@realtimex/sdk 2.0.10 → 2.0.11
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: realtimex-moderator-sdk
|
|
3
|
-
description: "Use the RealTimeX API through the generated CLI for workspace, thread, channel (Telegram, Zalo, Discord), skills, plugins and send messages, setup personality, heartbeat tasks operations."
|
|
3
|
+
description: "Use the RealTimeX API through the generated CLI for workspace, thread, terminal-agent sessions, channel (Telegram, Zalo, Discord), skills, plugins and send messages, setup personality, heartbeat tasks operations."
|
|
4
4
|
author: ""
|
|
5
5
|
license: "Apache-2.0"
|
|
6
6
|
argument-hint: "<command> [args] | install cli"
|
|
@@ -20,15 +20,15 @@ This skill drives the `realtimex-pp-cli` binary. Verify the CLI is installed and
|
|
|
20
20
|
|
|
21
21
|
1. Install or reinstall the pinned version via npm:
|
|
22
22
|
```bash
|
|
23
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
23
|
+
npm install -g @realtimex/pp-cli@2.0.11
|
|
24
24
|
```
|
|
25
25
|
2. Verify the exact version:
|
|
26
26
|
```bash
|
|
27
27
|
realtimex-pp-cli --version
|
|
28
28
|
```
|
|
29
|
-
The output must be `realtimex-pp-cli 2.0.
|
|
29
|
+
The output must be `realtimex-pp-cli 2.0.11`.
|
|
30
30
|
|
|
31
|
-
If `--version` reports "command not found" after install, the npm global bin directory is not on `$PATH`. If it reports any version other than `2.0.
|
|
31
|
+
If `--version` reports "command not found" after install, the npm global bin directory is not on `$PATH`. If it reports any version other than `2.0.11`, reinstall with the pinned npm command above. Do not proceed with skill commands until exact-version verification succeeds.
|
|
32
32
|
|
|
33
33
|
* Always run first:
|
|
34
34
|
|
|
@@ -114,6 +114,10 @@ If `--version` reports "command not found" after install, the npm global bin dir
|
|
|
114
114
|
|
|
115
115
|
- `realtimex-pp-cli list-plugins` — List installed plugins with enabled state and runtime load status.
|
|
116
116
|
|
|
117
|
+
**list-terminal-agents** — Manage list terminal agents
|
|
118
|
+
|
|
119
|
+
- `realtimex-pp-cli list-terminal-agents` — List terminal CLI agents that can be used with open-terminal-session.
|
|
120
|
+
|
|
117
121
|
**list-terminal-sessions** — Manage list terminal sessions
|
|
118
122
|
|
|
119
123
|
- `realtimex-pp-cli list-terminal-sessions` — List terminal runtime sessions known to the desktop app. Optionally filter by workspaceSlug and threadSlug.
|
|
@@ -130,6 +134,10 @@ If `--version` reports "command not found" after install, the npm global bin dir
|
|
|
130
134
|
|
|
131
135
|
- `realtimex-pp-cli list-workspaces` — List all workspaces visible to the current API caller. Use this before choosing a workspace slug.
|
|
132
136
|
|
|
137
|
+
**open-terminal-session** — Manage open terminal session
|
|
138
|
+
|
|
139
|
+
- `realtimex-pp-cli open-terminal-session` — Open a new desktop terminal session for one terminal CLI agent. Use list-terminal-agents or prepare.
|
|
140
|
+
|
|
133
141
|
**prepare** — Manage prepare
|
|
134
142
|
|
|
135
143
|
- `realtimex-pp-cli prepare` — Return compact workspace, thread, current workspace/thread from explicit workspaceSlug and threadSlug query parameters
|
|
@@ -340,9 +348,9 @@ Verify: `claude mcp list`
|
|
|
340
348
|
```bash
|
|
341
349
|
realtimex-pp-cli --version
|
|
342
350
|
```
|
|
343
|
-
If the command is missing or the output is not exactly `realtimex-pp-cli 2.0.
|
|
351
|
+
If the command is missing or the output is not exactly `realtimex-pp-cli 2.0.11`, reinstall the pinned version:
|
|
344
352
|
```bash
|
|
345
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
353
|
+
npm install -g @realtimex/pp-cli@2.0.11
|
|
346
354
|
```
|
|
347
355
|
Then run `realtimex-pp-cli --version` again and proceed only after exact-version verification succeeds.
|
|
348
356
|
2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
|
|
@@ -399,6 +407,15 @@ For workspace default-agent setup:
|
|
|
399
407
|
* Use exact agent `canonical` and optional agent `modelId` values from `prepare.agents`.
|
|
400
408
|
* Never use `prepare.models` for workspace default-agent setup.
|
|
401
409
|
|
|
410
|
+
For terminal agents and terminal sessions:
|
|
411
|
+
|
|
412
|
+
* Use `list-terminal-agents` when you only need available terminal agents. Use `prepare` when you also need workspace/thread/provider/model context.
|
|
413
|
+
* Use `open-terminal-session` to open a new desktop terminal session for a terminal agent. It auto-attaches the CLI controller through the desktop runtime launch request.
|
|
414
|
+
* Use exact `agentName`, `providerId`, and `modelId` values from `list-terminal-agents` or `prepare.agents`.
|
|
415
|
+
* When opening a terminal session for the current thread, pass both `--workspace-slug "$RTX_WORKSPACE_SLUG"` and `--thread-slug "$RTX_THREAD_SLUG"`.
|
|
416
|
+
* Use `list-terminal-sessions` to inspect grouped terminal sessions by `workspaceSlug` and `threadSlug`. Each session includes compact identity fields and `attached` status.
|
|
417
|
+
* Use `resume-terminal-session` or `resume-latest-terminal-session` to resume + attach an existing session. Use `terminate-terminal-session` to close + detach a session.
|
|
418
|
+
|
|
402
419
|
For agent skills:
|
|
403
420
|
|
|
404
421
|
* Use `list-workspace-agent-skills` before enabling, disabling, or reloading workspace skills.
|