@realtimex/sdk 2.0.40 → 2.0.41

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 CHANGED
@@ -55,6 +55,31 @@ export interface ArchiveActiveThreadSpaOptions extends RealtimeXRequestOptions {
55
55
  body?: ArchiveActiveThreadSpaBody;
56
56
  }
57
57
 
58
+ export type CalibrateDecisionBatteryParams = Record<string, never>;
59
+ export type CalibrateDecisionBatteryQuery = Record<string, never>;
60
+ export type CalibrateDecisionBatteryHeaders = {
61
+ "x-app-id"?: string;
62
+ };
63
+ export type CalibrateDecisionBatteryBody = {
64
+ battery: string;
65
+ labels: Array<{
66
+ state?: unknown;
67
+ stateDigest?: string;
68
+ expected: Record<string, unknown>;
69
+ }>;
70
+ write?: boolean;
71
+ workspaceSlug?: string;
72
+ timeoutMs?: number;
73
+ perStateTimeoutMs?: number;
74
+ };
75
+ export type CalibrateDecisionBatteryResponse = unknown;
76
+ export interface CalibrateDecisionBatteryOptions extends RealtimeXRequestOptions {
77
+ params?: CalibrateDecisionBatteryParams;
78
+ query?: CalibrateDecisionBatteryQuery;
79
+ headers?: CalibrateDecisionBatteryHeaders & Record<string, string>;
80
+ body?: CalibrateDecisionBatteryBody;
81
+ }
82
+
58
83
  export type ChatRichContentContainmentParams = Record<string, never>;
59
84
  export type ChatRichContentContainmentQuery = Record<string, never>;
60
85
  export type ChatRichContentContainmentHeaders = Record<string, never>;
@@ -366,6 +391,29 @@ export interface CreateWorkspaceAgentSkillOptions extends RealtimeXRequestOption
366
391
  body?: CreateWorkspaceAgentSkillBody;
367
392
  }
368
393
 
394
+ export type DecideParams = Record<string, never>;
395
+ export type DecideQuery = Record<string, never>;
396
+ export type DecideHeaders = {
397
+ "x-app-id"?: string;
398
+ };
399
+ export type DecideBody = {
400
+ battery?: string;
401
+ questions?: Record<string, unknown>;
402
+ input?: string;
403
+ inputs?: Array<string>;
404
+ states?: Array<Record<string, unknown>>;
405
+ workspaceSlug?: string;
406
+ timeoutMs?: number;
407
+ perStateTimeoutMs?: number;
408
+ };
409
+ export type DecideResponse = unknown;
410
+ export interface DecideOptions extends RealtimeXRequestOptions {
411
+ params?: DecideParams;
412
+ query?: DecideQuery;
413
+ headers?: DecideHeaders & Record<string, string>;
414
+ body?: DecideBody;
415
+ }
416
+
369
417
  export type DelegateHumanTaskFixtureParams = Record<string, never>;
370
418
  export type DelegateHumanTaskFixtureQuery = Record<string, never>;
371
419
  export type DelegateHumanTaskFixtureHeaders = Record<string, never>;
@@ -898,6 +946,22 @@ export interface ListChannelsOptions extends RealtimeXRequestOptions {
898
946
  body?: ListChannelsBody;
899
947
  }
900
948
 
949
+ export type ListDecisionBatteriesParams = Record<string, never>;
950
+ export type ListDecisionBatteriesQuery = {
951
+ workspaceSlug?: string;
952
+ };
953
+ export type ListDecisionBatteriesHeaders = {
954
+ "x-app-id"?: string;
955
+ };
956
+ export type ListDecisionBatteriesBody = unknown;
957
+ export type ListDecisionBatteriesResponse = unknown;
958
+ export interface ListDecisionBatteriesOptions extends RealtimeXRequestOptions {
959
+ params?: ListDecisionBatteriesParams;
960
+ query?: ListDecisionBatteriesQuery;
961
+ headers?: ListDecisionBatteriesHeaders & Record<string, string>;
962
+ body?: ListDecisionBatteriesBody;
963
+ }
964
+
901
965
  export type ListLlmModelsParams = {
902
966
  provider: string;
903
967
  };
@@ -1152,6 +1216,23 @@ export interface LoopLiveHandoffOrderE2eOptions extends RealtimeXRequestOptions
1152
1216
  body?: LoopLiveHandoffOrderE2eBody;
1153
1217
  }
1154
1218
 
1219
+ export type MemoryPageParams = Record<string, never>;
1220
+ export type MemoryPageQuery = Record<string, never>;
1221
+ export type MemoryPageHeaders = Record<string, never>;
1222
+ export type MemoryPageBody = {
1223
+ cdpUrl?: string;
1224
+ artifactPath?: string;
1225
+ timeoutMs?: number;
1226
+ confirmDestructive?: boolean;
1227
+ };
1228
+ export type MemoryPageResponse = Record<string, unknown>;
1229
+ export interface MemoryPageOptions extends RealtimeXRequestOptions {
1230
+ params?: MemoryPageParams;
1231
+ query?: MemoryPageQuery;
1232
+ headers?: MemoryPageHeaders & Record<string, string>;
1233
+ body?: MemoryPageBody;
1234
+ }
1235
+
1155
1236
  export type OpenTerminalSessionParams = Record<string, never>;
1156
1237
  export type OpenTerminalSessionQuery = Record<string, never>;
1157
1238
  export type OpenTerminalSessionHeaders = {
@@ -1259,6 +1340,22 @@ export interface PostCliDelegateSubmissionsLookupOptions extends RealtimeXReques
1259
1340
  body?: PostCliDelegateSubmissionsLookupBody;
1260
1341
  }
1261
1342
 
1343
+ export type PostCliReplaceChannelTokenChannelIdParams = {
1344
+ channelId: string;
1345
+ };
1346
+ export type PostCliReplaceChannelTokenChannelIdQuery = Record<string, never>;
1347
+ export type PostCliReplaceChannelTokenChannelIdHeaders = {
1348
+ "x-app-id"?: string;
1349
+ };
1350
+ export type PostCliReplaceChannelTokenChannelIdBody = unknown;
1351
+ export type PostCliReplaceChannelTokenChannelIdResponse = Record<string, unknown>;
1352
+ export interface PostCliReplaceChannelTokenChannelIdOptions extends RealtimeXRequestOptions {
1353
+ params?: PostCliReplaceChannelTokenChannelIdParams;
1354
+ query?: PostCliReplaceChannelTokenChannelIdQuery;
1355
+ headers?: PostCliReplaceChannelTokenChannelIdHeaders & Record<string, string>;
1356
+ body?: PostCliReplaceChannelTokenChannelIdBody;
1357
+ }
1358
+
1262
1359
  export type PostV1DelegatesMandateAuthoringParams = Record<string, never>;
1263
1360
  export type PostV1DelegatesMandateAuthoringQuery = Record<string, never>;
1264
1361
  export type PostV1DelegatesMandateAuthoringHeaders = Record<string, never>;
@@ -2449,6 +2546,9 @@ export declare class RealtimeXClient {
2449
2546
  /** Verify archive and global-search thread navigation stay in one Electron renderer without eager TTS workers or runaway renderer RSS. */
2450
2547
  archiveActiveThreadSpa(options?: ArchiveActiveThreadSpaOptions): Promise<ArchiveActiveThreadSpaResponse>;
2451
2548
  archiveActiveThreadSpa(body: ArchiveActiveThreadSpaBody, options?: Omit<ArchiveActiveThreadSpaOptions, 'body'>): Promise<ArchiveActiveThreadSpaResponse>;
2549
+ /** Fit per-model battery thresholds from labelled states or paired decision digests; report only unless write=true. */
2550
+ calibrateDecisionBattery(options?: CalibrateDecisionBatteryOptions): Promise<CalibrateDecisionBatteryResponse>;
2551
+ calibrateDecisionBattery(body: CalibrateDecisionBatteryBody, options?: Omit<CalibrateDecisionBatteryOptions, 'body'>): Promise<CalibrateDecisionBatteryResponse>;
2452
2552
  /** Measure chat rich-content containment in the owned Electron renderer. */
2453
2553
  chatRichContentContainment(options?: ChatRichContentContainmentOptions): Promise<ChatRichContentContainmentResponse>;
2454
2554
  chatRichContentContainment(body: ChatRichContentContainmentBody, options?: Omit<ChatRichContentContainmentOptions, 'body'>): Promise<ChatRichContentContainmentResponse>;
@@ -2486,6 +2586,9 @@ export declare class RealtimeXClient {
2486
2586
  /** Create a managed agent skill owned by one workspace. Terminal agents should use this instead of writing final skill content into runtime skill directories. */
2487
2587
  createWorkspaceAgentSkill(options?: CreateWorkspaceAgentSkillOptions): Promise<CreateWorkspaceAgentSkillResponse>;
2488
2588
  createWorkspaceAgentSkill(workspaceSlug: string, body: CreateWorkspaceAgentSkillBody, options?: Omit<CreateWorkspaceAgentSkillOptions, 'params' | 'body'>): Promise<CreateWorkspaceAgentSkillResponse>;
2589
+ /** Advisory decisions over freeform inputs or a named declarative battery. Workspace/freeform content is on-host only. */
2590
+ decide(options?: DecideOptions): Promise<DecideResponse>;
2591
+ decide(body: DecideBody, options?: Omit<DecideOptions, 'body'>): Promise<DecideResponse>;
2489
2592
  /** Create and deliver a valid synthetic Delegate Human-authorization task in an isolated development runtime. */
2490
2593
  delegateHumanTaskFixture(options?: DelegateHumanTaskFixtureOptions): Promise<DelegateHumanTaskFixtureResponse>;
2491
2594
  delegateHumanTaskFixture(body: DelegateHumanTaskFixtureBody, options?: Omit<DelegateHumanTaskFixtureOptions, 'body'>): Promise<DelegateHumanTaskFixtureResponse>;
@@ -2574,6 +2677,9 @@ export declare class RealtimeXClient {
2574
2677
  listBrowserSessions(options?: ListBrowserSessionsOptions): Promise<ListBrowserSessionsResponse>;
2575
2678
  /** List configured chat channels. Use returned channel ids with update-channel. */
2576
2679
  listChannels(options?: ListChannelsOptions): Promise<ListChannelsResponse>;
2680
+ /** List host and workspace batteries with the fitted status for the active model; no model call. */
2681
+ listDecisionBatteries(options?: ListDecisionBatteriesOptions): Promise<ListDecisionBatteriesResponse>;
2682
+ listDecisionBatteries(query?: ListDecisionBatteriesQuery, options?: Omit<ListDecisionBatteriesOptions, 'query'>): Promise<ListDecisionBatteriesResponse>;
2577
2683
  /** List models for one provider id. Use an exact model id from this response when configuring workspace or thread LLM settings. */
2578
2684
  listLlmModels(options?: ListLlmModelsOptions): Promise<ListLlmModelsResponse>;
2579
2685
  listLlmModels(provider: string, options?: Omit<ListLlmModelsOptions, 'params'>): Promise<ListLlmModelsResponse>;
@@ -2612,6 +2718,9 @@ export declare class RealtimeXClient {
2612
2718
  /** Prove a live loop handoff stays above its active terminal-session card and card-linked reply. */
2613
2719
  loopLiveHandoffOrderE2e(options?: LoopLiveHandoffOrderE2eOptions): Promise<LoopLiveHandoffOrderE2eResponse>;
2614
2720
  loopLiveHandoffOrderE2e(body: LoopLiveHandoffOrderE2eBody, options?: Omit<LoopLiveHandoffOrderE2eOptions, 'body'>): Promise<LoopLiveHandoffOrderE2eResponse>;
2721
+ /** Exercise the global Memory page with intercepted synthetic sources in an owned dev renderer. */
2722
+ memoryPage(options?: MemoryPageOptions): Promise<MemoryPageResponse>;
2723
+ memoryPage(body: MemoryPageBody, options?: Omit<MemoryPageOptions, 'body'>): Promise<MemoryPageResponse>;
2615
2724
  /** Open a new desktop terminal session for one terminal CLI agent. Use list-terminal-agents or prepare.agents to choose agentName/providerId/modelId. workspaceSlug is required when threadSlug is provided. */
2616
2725
  openTerminalSession(options?: OpenTerminalSessionOptions): Promise<OpenTerminalSessionResponse>;
2617
2726
  openTerminalSession(body: OpenTerminalSessionBody, options?: Omit<OpenTerminalSessionOptions, 'body'>): Promise<OpenTerminalSessionResponse>;
@@ -2627,6 +2736,8 @@ export declare class RealtimeXClient {
2627
2736
  postCliDelegateRunsRunIdEvidence(options?: PostCliDelegateRunsRunIdEvidenceOptions): Promise<PostCliDelegateRunsRunIdEvidenceResponse>;
2628
2737
  postCliDelegateRunsRunIdEvidence(runId: string, options?: Omit<PostCliDelegateRunsRunIdEvidenceOptions, 'params'>): Promise<PostCliDelegateRunsRunIdEvidenceResponse>;
2629
2738
  postCliDelegateSubmissionsLookup(options?: PostCliDelegateSubmissionsLookupOptions): Promise<PostCliDelegateSubmissionsLookupResponse>;
2739
+ postCliReplaceChannelTokenChannelId(options?: PostCliReplaceChannelTokenChannelIdOptions): Promise<PostCliReplaceChannelTokenChannelIdResponse>;
2740
+ postCliReplaceChannelTokenChannelId(channelId: string, options?: Omit<PostCliReplaceChannelTokenChannelIdOptions, 'params'>): Promise<PostCliReplaceChannelTokenChannelIdResponse>;
2630
2741
  /** Legacy conversational mandate authoring */
2631
2742
  postV1DelegatesMandateAuthoring(options?: PostV1DelegatesMandateAuthoringOptions): Promise<PostV1DelegatesMandateAuthoringResponse>;
2632
2743
  /** Return compact workspace, thread, current workspace/thread, LLM provider, model, and CLI agent context before choosing arguments. Managed RealtimeX terminal authentication supplies the current route automatically; workspaceSlug and threadSlug remain optional compatibility inputs for other callers. */
package/index.js CHANGED
@@ -23,6 +23,16 @@ const operations = {
23
23
  "headerParams": [],
24
24
  "hasBody": true
25
25
  },
26
+ "calibrateDecisionBattery": {
27
+ "method": "POST",
28
+ "path": "/calibrate-decision-battery",
29
+ "pathParams": [],
30
+ "queryParams": [],
31
+ "headerParams": [
32
+ "x-app-id"
33
+ ],
34
+ "hasBody": true
35
+ },
26
36
  "chatRichContentContainment": {
27
37
  "method": "POST",
28
38
  "path": "/chat-rich-content-containment",
@@ -153,6 +163,16 @@ const operations = {
153
163
  ],
154
164
  "hasBody": true
155
165
  },
166
+ "decide": {
167
+ "method": "POST",
168
+ "path": "/decide",
169
+ "pathParams": [],
170
+ "queryParams": [],
171
+ "headerParams": [
172
+ "x-app-id"
173
+ ],
174
+ "hasBody": true
175
+ },
156
176
  "delegateHumanTaskFixture": {
157
177
  "method": "POST",
158
178
  "path": "/delegate-human-task-fixture",
@@ -513,6 +533,18 @@ const operations = {
513
533
  ],
514
534
  "hasBody": false
515
535
  },
536
+ "listDecisionBatteries": {
537
+ "method": "GET",
538
+ "path": "/list-decision-batteries",
539
+ "pathParams": [],
540
+ "queryParams": [
541
+ "workspaceSlug"
542
+ ],
543
+ "headerParams": [
544
+ "x-app-id"
545
+ ],
546
+ "hasBody": false
547
+ },
516
548
  "listLlmModels": {
517
549
  "method": "GET",
518
550
  "path": "/list-llm-models/{provider}",
@@ -682,6 +714,14 @@ const operations = {
682
714
  "headerParams": [],
683
715
  "hasBody": true
684
716
  },
717
+ "memoryPage": {
718
+ "method": "POST",
719
+ "path": "/memory-page",
720
+ "pathParams": [],
721
+ "queryParams": [],
722
+ "headerParams": [],
723
+ "hasBody": true
724
+ },
685
725
  "openTerminalSession": {
686
726
  "method": "POST",
687
727
  "path": "/open-terminal-session",
@@ -752,6 +792,18 @@ const operations = {
752
792
  "headerParams": [],
753
793
  "hasBody": false
754
794
  },
795
+ "postCliReplaceChannelTokenChannelId": {
796
+ "method": "POST",
797
+ "path": "/replace-channel-token/{channelId}",
798
+ "pathParams": [
799
+ "channelId"
800
+ ],
801
+ "queryParams": [],
802
+ "headerParams": [
803
+ "x-app-id"
804
+ ],
805
+ "hasBody": false
806
+ },
755
807
  "postV1DelegatesMandateAuthoring": {
756
808
  "method": "POST",
757
809
  "path": "/v1/delegates/mandate-authoring",
@@ -1788,6 +1840,13 @@ class RealtimeXClient {
1788
1840
  );
1789
1841
  }
1790
1842
 
1843
+ calibrateDecisionBattery(...args) {
1844
+ return this.request(
1845
+ "calibrateDecisionBattery",
1846
+ normalizeOperationOptions(operations["calibrateDecisionBattery"], args)
1847
+ );
1848
+ }
1849
+
1791
1850
  chatRichContentContainment(...args) {
1792
1851
  return this.request(
1793
1852
  "chatRichContentContainment",
@@ -1879,6 +1938,13 @@ class RealtimeXClient {
1879
1938
  );
1880
1939
  }
1881
1940
 
1941
+ decide(...args) {
1942
+ return this.request(
1943
+ "decide",
1944
+ normalizeOperationOptions(operations["decide"], args)
1945
+ );
1946
+ }
1947
+
1882
1948
  delegateHumanTaskFixture(...args) {
1883
1949
  return this.request(
1884
1950
  "delegateHumanTaskFixture",
@@ -2110,6 +2176,13 @@ class RealtimeXClient {
2110
2176
  );
2111
2177
  }
2112
2178
 
2179
+ listDecisionBatteries(...args) {
2180
+ return this.request(
2181
+ "listDecisionBatteries",
2182
+ normalizeOperationOptions(operations["listDecisionBatteries"], args)
2183
+ );
2184
+ }
2185
+
2113
2186
  listLlmModels(...args) {
2114
2187
  return this.request(
2115
2188
  "listLlmModels",
@@ -2222,6 +2295,13 @@ class RealtimeXClient {
2222
2295
  );
2223
2296
  }
2224
2297
 
2298
+ memoryPage(...args) {
2299
+ return this.request(
2300
+ "memoryPage",
2301
+ normalizeOperationOptions(operations["memoryPage"], args)
2302
+ );
2303
+ }
2304
+
2225
2305
  openTerminalSession(...args) {
2226
2306
  return this.request(
2227
2307
  "openTerminalSession",
@@ -2271,6 +2351,13 @@ class RealtimeXClient {
2271
2351
  );
2272
2352
  }
2273
2353
 
2354
+ postCliReplaceChannelTokenChannelId(...args) {
2355
+ return this.request(
2356
+ "postCliReplaceChannelTokenChannelId",
2357
+ normalizeOperationOptions(operations["postCliReplaceChannelTokenChannelId"], args)
2358
+ );
2359
+ }
2360
+
2274
2361
  postV1DelegatesMandateAuthoring(...args) {
2275
2362
  return this.request(
2276
2363
  "postV1DelegatesMandateAuthoring",
@@ -2674,5 +2761,5 @@ module.exports = {
2674
2761
  createRealtimeXClient,
2675
2762
  createRealtimeXWebhookClient,
2676
2763
  operations,
2677
- version: "2.0.40",
2764
+ version: "2.0.41",
2678
2765
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "2.0.40",
3
+ "version": "2.0.41",
4
4
  "description": "RealtimeX runtime SDK package and moderator agent skill assets.",
5
5
  "private": false,
6
6
  "main": "./index.js",
@@ -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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -79,6 +79,10 @@ realtimex-pp-cli prepare --agent
79
79
 
80
80
  - `realtimex-pp-cli loop-live-handoff-order-e2e` — Prove a live loop handoff stays above its active terminal-session card and card-linked reply.
81
81
 
82
+ **memory-page** — Manage memory page
83
+
84
+ - `realtimex-pp-cli memory-page` — Exercise the global Memory page with intercepted synthetic sources in an owned dev renderer.
85
+
82
86
  **run-automation-workflow** — Manage run automation workflow
83
87
 
84
88
  - `realtimex-pp-cli run-automation-workflow` — Run any app automation flow or scenario exposed via flowMetadata.cli.enabled=true by passing workflowName.
@@ -15,16 +15,16 @@ List, create, start, stop, and delete isolated RealTimeX browser sessions. Use f
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -0,0 +1,62 @@
1
+ ---
2
+ name: realtimex-decisions
3
+ description: "Run advisory decision-model judgments, list decision batteries, and calibrate battery thresholds with the moderator CLI. Use for batch judgments and battery inspection."
4
+ allowed-tools: "Read Bash"
5
+ metadata:
6
+ openclaw:
7
+ requires:
8
+ bins:
9
+ - realtimex-pp-cli
10
+ ---
11
+
12
+ # RealTimeX Decisions
13
+
14
+ Run advisory decision-model judgments, list decision batteries, and calibrate battery thresholds with the moderator CLI. Use for batch judgments and battery inspection.
15
+
16
+ ## CLI setup
17
+
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.41`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.41
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
+ **calibrate-decision-battery** — Manage calibrate decision battery
39
+
40
+ - `realtimex-pp-cli calibrate-decision-battery` — Fit per-model battery thresholds from labelled states or paired decision digests; report only unless write=true.
41
+
42
+ **decide** — Manage decide
43
+
44
+ - `realtimex-pp-cli decide` — Advisory decisions over freeform inputs or a named declarative battery. Workspace/freeform content is on-host only.
45
+
46
+ **list-decision-batteries** — Manage list decision batteries
47
+
48
+ - `realtimex-pp-cli list-decision-batteries` — List host and workspace batteries with the fitted status for the active model; no model call.
49
+
50
+ ## Domain rules
51
+
52
+ - Treat decision results as advisory. When fitted is false, only raw probabilities are available; do not treat them as approval.
53
+ - List batteries before using a named battery. Supply exactly one of battery or questions, and use workspaceSlug for workspace batteries.
54
+ - Freeform and workspace batteries stay on host. Off-host host batteries require consent for their egress class; do not bypass a denial.
55
+ - Calibrate in report-only mode before explicitly writing thresholds. A backend-unavailable response requires independent judgment, not a retry loop.
56
+
57
+ ## Shared constraints
58
+
59
+ - Run documented commands with `--agent`.
60
+ - Use exact identifiers returned by `prepare` or the relevant list/get command; do not guess values.
61
+ - Do not bypass the CLI with raw HTTP calls. If a required operation is absent, report that limitation.
62
+ - Ask one concise clarification when required target context is missing or ambiguous.
@@ -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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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-decisions` | Run advisory decision-model judgments, list decision batteries, and calibrate battery thresholds with the moderator CLI. Use for batch judgments and battery inspection. |
40
41
  | `realtimex-secrets` | Manage encrypted Login, Card, Identity, SSH key and Secure note items, tags and workspace scope with the moderator CLI. Use saved fields in terminal commands or browser forms through rtxexec. |
41
42
  | `realtimex-workspaces` | Manage RealTimeX workspaces, threads, messages, workspace personality, LLM configuration, and default agents. Use for workspace and conversation operations. |
42
43
  | `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. |
@@ -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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
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.40. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.41. 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.40`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.41`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.40
27
+ npm install -g @realtimex/pp-cli@2.0.41
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first: