@realtimex/sdk 2.0.23 → 2.0.24
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 +23 -0
- package/index.js +16 -1
- package/package.json +1 -1
- package/skills/realtimex-moderator-sdk/SKILL.md +9 -5
package/index.d.ts
CHANGED
|
@@ -1270,6 +1270,26 @@ export interface UpdateChannelOptions extends RealtimeXRequestOptions {
|
|
|
1270
1270
|
body?: UpdateChannelBody;
|
|
1271
1271
|
}
|
|
1272
1272
|
|
|
1273
|
+
export type WorkspaceShellLayoutParams = Record<string, never>;
|
|
1274
|
+
export type WorkspaceShellLayoutQuery = Record<string, never>;
|
|
1275
|
+
export type WorkspaceShellLayoutHeaders = Record<string, never>;
|
|
1276
|
+
export type WorkspaceShellLayoutBody = {
|
|
1277
|
+
cdpUrl?: string;
|
|
1278
|
+
mainAppUrl?: string;
|
|
1279
|
+
workspaceSlug?: string;
|
|
1280
|
+
artifactPath?: string;
|
|
1281
|
+
screenshotDir?: string;
|
|
1282
|
+
timeoutMs?: number;
|
|
1283
|
+
confirmDestructive?: boolean;
|
|
1284
|
+
};
|
|
1285
|
+
export type WorkspaceShellLayoutResponse = Record<string, unknown>;
|
|
1286
|
+
export interface WorkspaceShellLayoutOptions extends RealtimeXRequestOptions {
|
|
1287
|
+
params?: WorkspaceShellLayoutParams;
|
|
1288
|
+
query?: WorkspaceShellLayoutQuery;
|
|
1289
|
+
headers?: WorkspaceShellLayoutHeaders & Record<string, string>;
|
|
1290
|
+
body?: WorkspaceShellLayoutBody;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1273
1293
|
export interface RealtimeXClientOptions {
|
|
1274
1294
|
baseUrl?: string;
|
|
1275
1295
|
appId?: string;
|
|
@@ -1489,6 +1509,9 @@ export declare class RealtimeXClient {
|
|
|
1489
1509
|
/** Update one chat channel by exact channel id. Only channel writable fields are changed. */
|
|
1490
1510
|
updateChannel(options?: UpdateChannelOptions): Promise<UpdateChannelResponse>;
|
|
1491
1511
|
updateChannel(channelId: string, body: UpdateChannelBody, options?: Omit<UpdateChannelOptions, 'params' | 'body'>): Promise<UpdateChannelResponse>;
|
|
1512
|
+
/** Verify workspace navigation, title-bar containment, Files dock behavior, and action contrast at desktop and compact viewports. */
|
|
1513
|
+
workspaceShellLayout(options?: WorkspaceShellLayoutOptions): Promise<WorkspaceShellLayoutResponse>;
|
|
1514
|
+
workspaceShellLayout(body: WorkspaceShellLayoutBody, options?: Omit<WorkspaceShellLayoutOptions, 'body'>): Promise<WorkspaceShellLayoutResponse>;
|
|
1492
1515
|
}
|
|
1493
1516
|
|
|
1494
1517
|
export declare function createRealtimeXClient(
|
package/index.js
CHANGED
|
@@ -759,6 +759,14 @@ const operations = {
|
|
|
759
759
|
"x-app-id"
|
|
760
760
|
],
|
|
761
761
|
"hasBody": true
|
|
762
|
+
},
|
|
763
|
+
"workspaceShellLayout": {
|
|
764
|
+
"method": "POST",
|
|
765
|
+
"path": "/workspace-shell-layout",
|
|
766
|
+
"pathParams": [],
|
|
767
|
+
"queryParams": [],
|
|
768
|
+
"headerParams": [],
|
|
769
|
+
"hasBody": true
|
|
762
770
|
}
|
|
763
771
|
};
|
|
764
772
|
|
|
@@ -1417,6 +1425,13 @@ class RealtimeXClient {
|
|
|
1417
1425
|
normalizeOperationOptions(operations["updateChannel"], args)
|
|
1418
1426
|
);
|
|
1419
1427
|
}
|
|
1428
|
+
|
|
1429
|
+
workspaceShellLayout(...args) {
|
|
1430
|
+
return this.request(
|
|
1431
|
+
"workspaceShellLayout",
|
|
1432
|
+
normalizeOperationOptions(operations["workspaceShellLayout"], args)
|
|
1433
|
+
);
|
|
1434
|
+
}
|
|
1420
1435
|
}
|
|
1421
1436
|
|
|
1422
1437
|
function createRealtimeXClient(options = {}) {
|
|
@@ -1429,5 +1444,5 @@ module.exports = {
|
|
|
1429
1444
|
createClient: createRealtimeXClient,
|
|
1430
1445
|
createRealtimeXClient,
|
|
1431
1446
|
operations,
|
|
1432
|
-
version: "2.0.
|
|
1447
|
+
version: "2.0.24",
|
|
1433
1448
|
};
|
package/package.json
CHANGED
|
@@ -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.24
|
|
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.24`.
|
|
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.24`, 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
|
|
|
@@ -298,6 +298,10 @@ If `--version` reports "command not found" after install, the npm global bin dir
|
|
|
298
298
|
|
|
299
299
|
- `realtimex-pp-cli update-channel <channelId>` — Update one chat channel by exact channel id. Only channel writable fields are changed.
|
|
300
300
|
|
|
301
|
+
**workspace-shell-layout** — Manage workspace shell layout
|
|
302
|
+
|
|
303
|
+
- `realtimex-pp-cli workspace-shell-layout` — Verify workspace navigation, title-bar containment, Files dock behavior
|
|
304
|
+
|
|
301
305
|
|
|
302
306
|
### Finding the right command
|
|
303
307
|
|
|
@@ -424,9 +428,9 @@ Verify: `claude mcp list`
|
|
|
424
428
|
```bash
|
|
425
429
|
realtimex-pp-cli --version
|
|
426
430
|
```
|
|
427
|
-
If the command is missing or the output is not exactly `realtimex-pp-cli 2.0.
|
|
431
|
+
If the command is missing or the output is not exactly `realtimex-pp-cli 2.0.24`, reinstall the pinned version:
|
|
428
432
|
```bash
|
|
429
|
-
npm install -g @realtimex/pp-cli@2.0.
|
|
433
|
+
npm install -g @realtimex/pp-cli@2.0.24
|
|
430
434
|
```
|
|
431
435
|
Then run `realtimex-pp-cli --version` again and proceed only after exact-version verification succeeds.
|
|
432
436
|
2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
|