@realtimex/sdk 2.0.40 → 2.0.42

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>;
@@ -201,6 +226,7 @@ export type CreateChannelBody = {
201
226
  botToken?: string;
202
227
  thread_id?: number;
203
228
  threadId?: number;
229
+ agentGuidance?: string;
204
230
  autoStart?: boolean;
205
231
  autostart?: boolean;
206
232
  start?: boolean;
@@ -366,6 +392,29 @@ export interface CreateWorkspaceAgentSkillOptions extends RealtimeXRequestOption
366
392
  body?: CreateWorkspaceAgentSkillBody;
367
393
  }
368
394
 
395
+ export type DecideParams = Record<string, never>;
396
+ export type DecideQuery = Record<string, never>;
397
+ export type DecideHeaders = {
398
+ "x-app-id"?: string;
399
+ };
400
+ export type DecideBody = {
401
+ battery?: string;
402
+ questions?: Record<string, unknown>;
403
+ input?: string;
404
+ inputs?: Array<string>;
405
+ states?: Array<Record<string, unknown>>;
406
+ workspaceSlug?: string;
407
+ timeoutMs?: number;
408
+ perStateTimeoutMs?: number;
409
+ };
410
+ export type DecideResponse = unknown;
411
+ export interface DecideOptions extends RealtimeXRequestOptions {
412
+ params?: DecideParams;
413
+ query?: DecideQuery;
414
+ headers?: DecideHeaders & Record<string, string>;
415
+ body?: DecideBody;
416
+ }
417
+
369
418
  export type DelegateHumanTaskFixtureParams = Record<string, never>;
370
419
  export type DelegateHumanTaskFixtureQuery = Record<string, never>;
371
420
  export type DelegateHumanTaskFixtureHeaders = Record<string, never>;
@@ -898,6 +947,22 @@ export interface ListChannelsOptions extends RealtimeXRequestOptions {
898
947
  body?: ListChannelsBody;
899
948
  }
900
949
 
950
+ export type ListDecisionBatteriesParams = Record<string, never>;
951
+ export type ListDecisionBatteriesQuery = {
952
+ workspaceSlug?: string;
953
+ };
954
+ export type ListDecisionBatteriesHeaders = {
955
+ "x-app-id"?: string;
956
+ };
957
+ export type ListDecisionBatteriesBody = unknown;
958
+ export type ListDecisionBatteriesResponse = unknown;
959
+ export interface ListDecisionBatteriesOptions extends RealtimeXRequestOptions {
960
+ params?: ListDecisionBatteriesParams;
961
+ query?: ListDecisionBatteriesQuery;
962
+ headers?: ListDecisionBatteriesHeaders & Record<string, string>;
963
+ body?: ListDecisionBatteriesBody;
964
+ }
965
+
901
966
  export type ListLlmModelsParams = {
902
967
  provider: string;
903
968
  };
@@ -1152,6 +1217,23 @@ export interface LoopLiveHandoffOrderE2eOptions extends RealtimeXRequestOptions
1152
1217
  body?: LoopLiveHandoffOrderE2eBody;
1153
1218
  }
1154
1219
 
1220
+ export type MemoryPageParams = Record<string, never>;
1221
+ export type MemoryPageQuery = Record<string, never>;
1222
+ export type MemoryPageHeaders = Record<string, never>;
1223
+ export type MemoryPageBody = {
1224
+ cdpUrl?: string;
1225
+ artifactPath?: string;
1226
+ timeoutMs?: number;
1227
+ confirmDestructive?: boolean;
1228
+ };
1229
+ export type MemoryPageResponse = Record<string, unknown>;
1230
+ export interface MemoryPageOptions extends RealtimeXRequestOptions {
1231
+ params?: MemoryPageParams;
1232
+ query?: MemoryPageQuery;
1233
+ headers?: MemoryPageHeaders & Record<string, string>;
1234
+ body?: MemoryPageBody;
1235
+ }
1236
+
1155
1237
  export type OpenTerminalSessionParams = Record<string, never>;
1156
1238
  export type OpenTerminalSessionQuery = Record<string, never>;
1157
1239
  export type OpenTerminalSessionHeaders = {
@@ -1259,6 +1341,22 @@ export interface PostCliDelegateSubmissionsLookupOptions extends RealtimeXReques
1259
1341
  body?: PostCliDelegateSubmissionsLookupBody;
1260
1342
  }
1261
1343
 
1344
+ export type PostCliReplaceChannelTokenChannelIdParams = {
1345
+ channelId: string;
1346
+ };
1347
+ export type PostCliReplaceChannelTokenChannelIdQuery = Record<string, never>;
1348
+ export type PostCliReplaceChannelTokenChannelIdHeaders = {
1349
+ "x-app-id"?: string;
1350
+ };
1351
+ export type PostCliReplaceChannelTokenChannelIdBody = unknown;
1352
+ export type PostCliReplaceChannelTokenChannelIdResponse = Record<string, unknown>;
1353
+ export interface PostCliReplaceChannelTokenChannelIdOptions extends RealtimeXRequestOptions {
1354
+ params?: PostCliReplaceChannelTokenChannelIdParams;
1355
+ query?: PostCliReplaceChannelTokenChannelIdQuery;
1356
+ headers?: PostCliReplaceChannelTokenChannelIdHeaders & Record<string, string>;
1357
+ body?: PostCliReplaceChannelTokenChannelIdBody;
1358
+ }
1359
+
1262
1360
  export type PostV1DelegatesMandateAuthoringParams = Record<string, never>;
1263
1361
  export type PostV1DelegatesMandateAuthoringQuery = Record<string, never>;
1264
1362
  export type PostV1DelegatesMandateAuthoringHeaders = Record<string, never>;
@@ -2189,6 +2287,8 @@ export type UpdateChannelHeaders = {
2189
2287
  };
2190
2288
  export type UpdateChannelBody = {
2191
2289
  name?: string;
2290
+ agentGuidance?: string;
2291
+ clearAgentGuidance?: boolean;
2192
2292
  thread_id?: number;
2193
2293
  threadId?: number;
2194
2294
  chatOutput?: "auto" | "verbose" | "quiet";
@@ -2449,6 +2549,9 @@ export declare class RealtimeXClient {
2449
2549
  /** Verify archive and global-search thread navigation stay in one Electron renderer without eager TTS workers or runaway renderer RSS. */
2450
2550
  archiveActiveThreadSpa(options?: ArchiveActiveThreadSpaOptions): Promise<ArchiveActiveThreadSpaResponse>;
2451
2551
  archiveActiveThreadSpa(body: ArchiveActiveThreadSpaBody, options?: Omit<ArchiveActiveThreadSpaOptions, 'body'>): Promise<ArchiveActiveThreadSpaResponse>;
2552
+ /** Fit per-model battery thresholds from labelled states or paired decision digests; report only unless write=true. */
2553
+ calibrateDecisionBattery(options?: CalibrateDecisionBatteryOptions): Promise<CalibrateDecisionBatteryResponse>;
2554
+ calibrateDecisionBattery(body: CalibrateDecisionBatteryBody, options?: Omit<CalibrateDecisionBatteryOptions, 'body'>): Promise<CalibrateDecisionBatteryResponse>;
2452
2555
  /** Measure chat rich-content containment in the owned Electron renderer. */
2453
2556
  chatRichContentContainment(options?: ChatRichContentContainmentOptions): Promise<ChatRichContentContainmentResponse>;
2454
2557
  chatRichContentContainment(body: ChatRichContentContainmentBody, options?: Omit<ChatRichContentContainmentOptions, 'body'>): Promise<ChatRichContentContainmentResponse>;
@@ -2486,6 +2589,9 @@ export declare class RealtimeXClient {
2486
2589
  /** 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
2590
  createWorkspaceAgentSkill(options?: CreateWorkspaceAgentSkillOptions): Promise<CreateWorkspaceAgentSkillResponse>;
2488
2591
  createWorkspaceAgentSkill(workspaceSlug: string, body: CreateWorkspaceAgentSkillBody, options?: Omit<CreateWorkspaceAgentSkillOptions, 'params' | 'body'>): Promise<CreateWorkspaceAgentSkillResponse>;
2592
+ /** Advisory decisions over freeform inputs or a named declarative battery. Workspace/freeform content is on-host only. */
2593
+ decide(options?: DecideOptions): Promise<DecideResponse>;
2594
+ decide(body: DecideBody, options?: Omit<DecideOptions, 'body'>): Promise<DecideResponse>;
2489
2595
  /** Create and deliver a valid synthetic Delegate Human-authorization task in an isolated development runtime. */
2490
2596
  delegateHumanTaskFixture(options?: DelegateHumanTaskFixtureOptions): Promise<DelegateHumanTaskFixtureResponse>;
2491
2597
  delegateHumanTaskFixture(body: DelegateHumanTaskFixtureBody, options?: Omit<DelegateHumanTaskFixtureOptions, 'body'>): Promise<DelegateHumanTaskFixtureResponse>;
@@ -2574,6 +2680,9 @@ export declare class RealtimeXClient {
2574
2680
  listBrowserSessions(options?: ListBrowserSessionsOptions): Promise<ListBrowserSessionsResponse>;
2575
2681
  /** List configured chat channels. Use returned channel ids with update-channel. */
2576
2682
  listChannels(options?: ListChannelsOptions): Promise<ListChannelsResponse>;
2683
+ /** List host and workspace batteries with the fitted status for the active model; no model call. */
2684
+ listDecisionBatteries(options?: ListDecisionBatteriesOptions): Promise<ListDecisionBatteriesResponse>;
2685
+ listDecisionBatteries(query?: ListDecisionBatteriesQuery, options?: Omit<ListDecisionBatteriesOptions, 'query'>): Promise<ListDecisionBatteriesResponse>;
2577
2686
  /** List models for one provider id. Use an exact model id from this response when configuring workspace or thread LLM settings. */
2578
2687
  listLlmModels(options?: ListLlmModelsOptions): Promise<ListLlmModelsResponse>;
2579
2688
  listLlmModels(provider: string, options?: Omit<ListLlmModelsOptions, 'params'>): Promise<ListLlmModelsResponse>;
@@ -2612,6 +2721,9 @@ export declare class RealtimeXClient {
2612
2721
  /** Prove a live loop handoff stays above its active terminal-session card and card-linked reply. */
2613
2722
  loopLiveHandoffOrderE2e(options?: LoopLiveHandoffOrderE2eOptions): Promise<LoopLiveHandoffOrderE2eResponse>;
2614
2723
  loopLiveHandoffOrderE2e(body: LoopLiveHandoffOrderE2eBody, options?: Omit<LoopLiveHandoffOrderE2eOptions, 'body'>): Promise<LoopLiveHandoffOrderE2eResponse>;
2724
+ /** Exercise the global Memory page with intercepted synthetic sources in an owned dev renderer. */
2725
+ memoryPage(options?: MemoryPageOptions): Promise<MemoryPageResponse>;
2726
+ memoryPage(body: MemoryPageBody, options?: Omit<MemoryPageOptions, 'body'>): Promise<MemoryPageResponse>;
2615
2727
  /** 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
2728
  openTerminalSession(options?: OpenTerminalSessionOptions): Promise<OpenTerminalSessionResponse>;
2617
2729
  openTerminalSession(body: OpenTerminalSessionBody, options?: Omit<OpenTerminalSessionOptions, 'body'>): Promise<OpenTerminalSessionResponse>;
@@ -2627,6 +2739,8 @@ export declare class RealtimeXClient {
2627
2739
  postCliDelegateRunsRunIdEvidence(options?: PostCliDelegateRunsRunIdEvidenceOptions): Promise<PostCliDelegateRunsRunIdEvidenceResponse>;
2628
2740
  postCliDelegateRunsRunIdEvidence(runId: string, options?: Omit<PostCliDelegateRunsRunIdEvidenceOptions, 'params'>): Promise<PostCliDelegateRunsRunIdEvidenceResponse>;
2629
2741
  postCliDelegateSubmissionsLookup(options?: PostCliDelegateSubmissionsLookupOptions): Promise<PostCliDelegateSubmissionsLookupResponse>;
2742
+ postCliReplaceChannelTokenChannelId(options?: PostCliReplaceChannelTokenChannelIdOptions): Promise<PostCliReplaceChannelTokenChannelIdResponse>;
2743
+ postCliReplaceChannelTokenChannelId(channelId: string, options?: Omit<PostCliReplaceChannelTokenChannelIdOptions, 'params'>): Promise<PostCliReplaceChannelTokenChannelIdResponse>;
2630
2744
  /** Legacy conversational mandate authoring */
2631
2745
  postV1DelegatesMandateAuthoring(options?: PostV1DelegatesMandateAuthoringOptions): Promise<PostV1DelegatesMandateAuthoringResponse>;
2632
2746
  /** 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.42",
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.42",
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, install the pinned version:
25
+
26
+ ```bash
27
+ npm install -g @realtimex/pp-cli@2.0.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
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.42. 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.42`, 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.42
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first: