@realtimex/sdk 2.0.9 → 2.0.10

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/sdk",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "SDK for building Local Apps that integrate with RealtimeX",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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.9
23
+ npm install -g @realtimex/pp-cli@2.0.10
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.9`.
29
+ The output must be `realtimex-pp-cli 2.0.10`.
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.9`, reinstall with the pinned npm command above. Do not proceed with skill commands until exact-version verification succeeds.
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.10`, 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-sessions** — Manage list terminal sessions
118
+
119
+ - `realtimex-pp-cli list-terminal-sessions` — List terminal runtime sessions known to the desktop app. Optionally filter by workspaceSlug and threadSlug.
120
+
117
121
  **list-threads** — Manage list threads
118
122
 
119
123
  - `realtimex-pp-cli list-threads <workspaceSlug>` — List threads for one exact workspace slug.
@@ -146,6 +150,14 @@ If `--version` reports "command not found" after install, the npm global bin dir
146
150
 
147
151
  - `realtimex-pp-cli rename-workspace <workspaceSlug>` — Rename one workspace by exact workspace slug. Only the name is changed.
148
152
 
153
+ **resume-latest-terminal-session** — Manage resume latest terminal session
154
+
155
+ - `realtimex-pp-cli resume-latest-terminal-session` — Resume the latest terminal runtime session for one exact thread.
156
+
157
+ **resume-terminal-session** — Manage resume terminal session
158
+
159
+ - `realtimex-pp-cli resume-terminal-session <sessionId>` — Resume a terminal runtime session by attaching a CLI controller.
160
+
149
161
  **send-message** — Manage send message
150
162
 
151
163
  - `realtimex-pp-cli send-message <workspaceSlug> <threadSlug>` — Send one message to an exact thread using the same routing as channel replies.
@@ -194,6 +206,10 @@ If `--version` reports "command not found" after install, the npm global bin dir
194
206
 
195
207
  - `realtimex-pp-cli stop-channel <channelId>` — Stop one chat channel by exact channel id.
196
208
 
209
+ **terminate-terminal-session** — Manage terminate terminal session
210
+
211
+ - `realtimex-pp-cli terminate-terminal-session <sessionId>` — Terminate a terminal runtime session by detaching any controller and closing the underlying PTY session.
212
+
197
213
  **update-channel** — Manage update channel
198
214
 
199
215
  - `realtimex-pp-cli update-channel <channelId>` — Update one chat channel by exact channel id. Only channel writable fields are changed.
@@ -324,9 +340,9 @@ Verify: `claude mcp list`
324
340
  ```bash
325
341
  realtimex-pp-cli --version
326
342
  ```
327
- If the command is missing or the output is not exactly `realtimex-pp-cli 2.0.9`, reinstall the pinned version:
343
+ If the command is missing or the output is not exactly `realtimex-pp-cli 2.0.10`, reinstall the pinned version:
328
344
  ```bash
329
- npm install -g @realtimex/pp-cli@2.0.9
345
+ npm install -g @realtimex/pp-cli@2.0.10
330
346
  ```
331
347
  Then run `realtimex-pp-cli --version` again and proceed only after exact-version verification succeeds.
332
348
  2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
@@ -344,6 +360,15 @@ This skill intentionally exposes a small action-first command set. Prefer these
344
360
  * Never call the RealTimeX API directly with `curl`, `fetch`, raw HTTP clients, or custom scripts.
345
361
  * If the current CLI cannot do the requested task, say the feature is not available and will be added soon.
346
362
  * Use `--agent` on every command.
363
+ * Treat `$RTX_WORKSPACE_SLUG` as the current workspace slug when it is set, and `$RTX_THREAD_SLUG` as the current thread slug when it is set.
364
+ * For requests that refer to "current workspace", "this workspace", "current thread", or "this thread", use those environment values directly when they are available.
365
+ * When you need the resolved current workspace/thread objects or related context, call:
366
+
367
+ ```bash
368
+ realtimex-pp-cli prepare --workspace-slug "$RTX_WORKSPACE_SLUG" --thread-slug "$RTX_THREAD_SLUG" --agent
369
+ ```
370
+
371
+ * If `$RTX_WORKSPACE_SLUG` or `$RTX_THREAD_SLUG` is missing for a current-context request that requires it, ask for the missing workspace or thread before running the command.
347
372
  * Always run first:
348
373
 
349
374
  ```bash