@realtimex/sdk 2.0.36 → 2.0.38

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
@@ -243,8 +243,27 @@ export type CreateSecretParams = Record<string, never>;
243
243
  export type CreateSecretQuery = Record<string, never>;
244
244
  export type CreateSecretHeaders = Record<string, never>;
245
245
  export type CreateSecretBody = {
246
+ ssoCredentialIds?: Array<string>;
247
+ moveValueTo?: "password" | "apiToken";
248
+ displayName?: string;
249
+ fields?: {
250
+ [key: string]: string | null;
251
+ };
252
+ notes?: string;
253
+ tags?: Array<string>;
254
+ websites?: Array<string>;
255
+ customFields?: Array<{
246
256
  name: string;
247
- value: string;
257
+ label: string;
258
+ type: "text" | "hidden";
259
+ }>;
260
+ name?: string;
261
+ value?: string;
262
+ kind?: "login" | "card" | "identity" | "note" | "ssh_key" | "secret";
263
+ username?: string;
264
+ password?: string;
265
+ loginUrl?: string;
266
+ allowedOrigins?: Array<string>;
248
267
  description?: string;
249
268
  enabled?: boolean;
250
269
  workspaceSlugs?: Array<string> | null;
@@ -347,6 +366,25 @@ export interface CreateWorkspaceAgentSkillOptions extends RealtimeXRequestOption
347
366
  body?: CreateWorkspaceAgentSkillBody;
348
367
  }
349
368
 
369
+ export type DelegateHumanTaskFixtureParams = Record<string, never>;
370
+ export type DelegateHumanTaskFixtureQuery = Record<string, never>;
371
+ export type DelegateHumanTaskFixtureHeaders = Record<string, never>;
372
+ export type DelegateHumanTaskFixtureBody = {
373
+ workspaceSlug?: string;
374
+ threadSlug?: string;
375
+ storageUser?: string;
376
+ artifactPath?: string;
377
+ timeoutMs?: number;
378
+ confirmDestructive?: boolean;
379
+ };
380
+ export type DelegateHumanTaskFixtureResponse = Record<string, unknown>;
381
+ export interface DelegateHumanTaskFixtureOptions extends RealtimeXRequestOptions {
382
+ params?: DelegateHumanTaskFixtureParams;
383
+ query?: DelegateHumanTaskFixtureQuery;
384
+ headers?: DelegateHumanTaskFixtureHeaders & Record<string, string>;
385
+ body?: DelegateHumanTaskFixtureBody;
386
+ }
387
+
350
388
  export type DeleteBrowserSessionParams = {
351
389
  sessionName: string;
352
390
  };
@@ -1103,6 +1141,34 @@ export interface PauseArtifactOptions extends RealtimeXRequestOptions {
1103
1141
  body?: PauseArtifactBody;
1104
1142
  }
1105
1143
 
1144
+ export type PostCliDelegateConsultationsConsultationIdReplyParams = {
1145
+ consultationId: string;
1146
+ };
1147
+ export type PostCliDelegateConsultationsConsultationIdReplyQuery = Record<string, never>;
1148
+ export type PostCliDelegateConsultationsConsultationIdReplyHeaders = Record<string, never>;
1149
+ export type PostCliDelegateConsultationsConsultationIdReplyBody = unknown;
1150
+ export type PostCliDelegateConsultationsConsultationIdReplyResponse = Record<string, unknown>;
1151
+ export interface PostCliDelegateConsultationsConsultationIdReplyOptions extends RealtimeXRequestOptions {
1152
+ params?: PostCliDelegateConsultationsConsultationIdReplyParams;
1153
+ query?: PostCliDelegateConsultationsConsultationIdReplyQuery;
1154
+ headers?: PostCliDelegateConsultationsConsultationIdReplyHeaders & Record<string, string>;
1155
+ body?: PostCliDelegateConsultationsConsultationIdReplyBody;
1156
+ }
1157
+
1158
+ export type PostCliDelegateRunsRunIdConsultationsParams = {
1159
+ runId: string;
1160
+ };
1161
+ export type PostCliDelegateRunsRunIdConsultationsQuery = Record<string, never>;
1162
+ export type PostCliDelegateRunsRunIdConsultationsHeaders = Record<string, never>;
1163
+ export type PostCliDelegateRunsRunIdConsultationsBody = unknown;
1164
+ export type PostCliDelegateRunsRunIdConsultationsResponse = Record<string, unknown>;
1165
+ export interface PostCliDelegateRunsRunIdConsultationsOptions extends RealtimeXRequestOptions {
1166
+ params?: PostCliDelegateRunsRunIdConsultationsParams;
1167
+ query?: PostCliDelegateRunsRunIdConsultationsQuery;
1168
+ headers?: PostCliDelegateRunsRunIdConsultationsHeaders & Record<string, string>;
1169
+ body?: PostCliDelegateRunsRunIdConsultationsBody;
1170
+ }
1171
+
1106
1172
  export type PostCliDelegateRunsRunIdDecisionParams = {
1107
1173
  runId: string;
1108
1174
  };
@@ -1320,6 +1386,20 @@ export interface ResolveDelegateOptions extends RealtimeXRequestOptions {
1320
1386
  body?: ResolveDelegateBody;
1321
1387
  }
1322
1388
 
1389
+ export type ResolveWorkingDirectoryParams = {
1390
+ id: number;
1391
+ };
1392
+ export type ResolveWorkingDirectoryQuery = Record<string, never>;
1393
+ export type ResolveWorkingDirectoryHeaders = Record<string, never>;
1394
+ export type ResolveWorkingDirectoryBody = unknown;
1395
+ export type ResolveWorkingDirectoryResponse = unknown;
1396
+ export interface ResolveWorkingDirectoryOptions extends RealtimeXRequestOptions {
1397
+ params?: ResolveWorkingDirectoryParams;
1398
+ query?: ResolveWorkingDirectoryQuery;
1399
+ headers?: ResolveWorkingDirectoryHeaders & Record<string, string>;
1400
+ body?: ResolveWorkingDirectoryBody;
1401
+ }
1402
+
1323
1403
  export type RespondTerminalIdlePromptParams = {
1324
1404
  sessionId: string;
1325
1405
  };
@@ -1495,15 +1575,6 @@ export type SendMessageHeaders = {
1495
1575
  };
1496
1576
  export type SendMessageBody = {
1497
1577
  message: string;
1498
- externalSource?: {
1499
- type: string;
1500
- origin: string;
1501
- name?: string;
1502
- participantName?: string;
1503
- fromRole?: string;
1504
- toRole?: string;
1505
- loopId?: string;
1506
- };
1507
1578
  attachments?: Array<Record<string, unknown>>;
1508
1579
  webSearchEnabled?: boolean;
1509
1580
  broadcastThreadEvents?: boolean;
@@ -1530,15 +1601,6 @@ export type SendTerminalSessionMessageHeaders = {
1530
1601
  };
1531
1602
  export type SendTerminalSessionMessageBody = {
1532
1603
  message: string;
1533
- externalSource?: {
1534
- type: string;
1535
- origin: string;
1536
- name?: string;
1537
- participantName?: string;
1538
- fromRole?: string;
1539
- toRole?: string;
1540
- loopId?: string;
1541
- };
1542
1604
  attachments?: Array<Record<string, unknown>>;
1543
1605
  webSearchEnabled?: boolean;
1544
1606
  broadcastThreadEvents?: boolean;
@@ -2048,8 +2110,27 @@ export type UpdateSecretParams = {
2048
2110
  export type UpdateSecretQuery = Record<string, never>;
2049
2111
  export type UpdateSecretHeaders = Record<string, never>;
2050
2112
  export type UpdateSecretBody = {
2113
+ ssoCredentialIds?: Array<string>;
2114
+ moveValueTo?: "password" | "apiToken";
2115
+ displayName?: string;
2116
+ fields?: {
2117
+ [key: string]: string | null;
2118
+ };
2119
+ notes?: string;
2120
+ tags?: Array<string>;
2121
+ websites?: Array<string>;
2122
+ customFields?: Array<{
2123
+ name: string;
2124
+ label: string;
2125
+ type: "text" | "hidden";
2126
+ }>;
2051
2127
  name?: string;
2052
2128
  value?: string;
2129
+ kind?: "login" | "card" | "identity" | "note" | "ssh_key" | "secret";
2130
+ username?: string;
2131
+ password?: string;
2132
+ loginUrl?: string;
2133
+ allowedOrigins?: Array<string>;
2053
2134
  description?: string;
2054
2135
  enabled?: boolean;
2055
2136
  workspaceSlugs?: Array<string> | null;
@@ -2263,6 +2344,9 @@ export declare class RealtimeXClient {
2263
2344
  /** Create a managed agent skill owned by one workspace. Terminal agents should use this instead of writing final skill content into runtime skill directories. */
2264
2345
  createWorkspaceAgentSkill(options?: CreateWorkspaceAgentSkillOptions): Promise<CreateWorkspaceAgentSkillResponse>;
2265
2346
  createWorkspaceAgentSkill(workspaceSlug: string, body: CreateWorkspaceAgentSkillBody, options?: Omit<CreateWorkspaceAgentSkillOptions, 'params' | 'body'>): Promise<CreateWorkspaceAgentSkillResponse>;
2347
+ /** Create and deliver a valid synthetic Delegate Human-authorization task in an isolated development runtime. */
2348
+ delegateHumanTaskFixture(options?: DelegateHumanTaskFixtureOptions): Promise<DelegateHumanTaskFixtureResponse>;
2349
+ delegateHumanTaskFixture(body: DelegateHumanTaskFixtureBody, options?: Omit<DelegateHumanTaskFixtureOptions, 'body'>): Promise<DelegateHumanTaskFixtureResponse>;
2266
2350
  /** Delete a stopped named RealTimeX Browser session and its isolated profile. */
2267
2351
  deleteBrowserSession(options?: DeleteBrowserSessionOptions): Promise<DeleteBrowserSessionResponse>;
2268
2352
  deleteBrowserSession(sessionName: string, options?: Omit<DeleteBrowserSessionOptions, 'params'>): Promise<DeleteBrowserSessionResponse>;
@@ -2385,6 +2469,10 @@ export declare class RealtimeXClient {
2385
2469
  /** Pause one published artifact by artifact id. Paused artifacts remain listed but stop serving publicly. */
2386
2470
  pauseArtifact(options?: PauseArtifactOptions): Promise<PauseArtifactResponse>;
2387
2471
  pauseArtifact(artifactId: string, options?: Omit<PauseArtifactOptions, 'params'>): Promise<PauseArtifactResponse>;
2472
+ postCliDelegateConsultationsConsultationIdReply(options?: PostCliDelegateConsultationsConsultationIdReplyOptions): Promise<PostCliDelegateConsultationsConsultationIdReplyResponse>;
2473
+ postCliDelegateConsultationsConsultationIdReply(consultationId: string, options?: Omit<PostCliDelegateConsultationsConsultationIdReplyOptions, 'params'>): Promise<PostCliDelegateConsultationsConsultationIdReplyResponse>;
2474
+ postCliDelegateRunsRunIdConsultations(options?: PostCliDelegateRunsRunIdConsultationsOptions): Promise<PostCliDelegateRunsRunIdConsultationsResponse>;
2475
+ postCliDelegateRunsRunIdConsultations(runId: string, options?: Omit<PostCliDelegateRunsRunIdConsultationsOptions, 'params'>): Promise<PostCliDelegateRunsRunIdConsultationsResponse>;
2388
2476
  postCliDelegateRunsRunIdDecision(options?: PostCliDelegateRunsRunIdDecisionOptions): Promise<PostCliDelegateRunsRunIdDecisionResponse>;
2389
2477
  postCliDelegateRunsRunIdDecision(runId: string, options?: Omit<PostCliDelegateRunsRunIdDecisionOptions, 'params'>): Promise<PostCliDelegateRunsRunIdDecisionResponse>;
2390
2478
  postCliDelegateRunsRunIdEvidence(options?: PostCliDelegateRunsRunIdEvidenceOptions): Promise<PostCliDelegateRunsRunIdEvidenceResponse>;
@@ -2414,6 +2502,9 @@ export declare class RealtimeXClient {
2414
2502
  renameWorkspace(workspaceSlug: string, body: RenameWorkspaceBody, options?: Omit<RenameWorkspaceOptions, 'params' | 'body'>): Promise<RenameWorkspaceResponse>;
2415
2503
  resolveDelegate(options?: ResolveDelegateOptions): Promise<ResolveDelegateResponse>;
2416
2504
  resolveDelegate(query?: ResolveDelegateQuery, options?: Omit<ResolveDelegateOptions, 'query'>): Promise<ResolveDelegateResponse>;
2505
+ /** Resolve a working directory mentioned in the current message to its local path. Pass the numeric ID from the message facts. Works only from the agent terminal session that received the mention, and only when the directory is already within this session\'s allowed file access. Resolving never grants access or changes the working directory; an unavailable directory cannot be used for this turn. */
2506
+ resolveWorkingDirectory(options?: ResolveWorkingDirectoryOptions): Promise<ResolveWorkingDirectoryResponse>;
2507
+ resolveWorkingDirectory(id: number, options?: Omit<ResolveWorkingDirectoryOptions, 'params'>): Promise<ResolveWorkingDirectoryResponse>;
2417
2508
  /** Send one constrained response action to an exact idle terminal session only when its PTY event sequence is unchanged. */
2418
2509
  respondTerminalIdlePrompt(options?: RespondTerminalIdlePromptOptions): Promise<RespondTerminalIdlePromptResponse>;
2419
2510
  respondTerminalIdlePrompt(sessionId: string, body: RespondTerminalIdlePromptBody, options?: Omit<RespondTerminalIdlePromptOptions, 'params' | 'body'>): Promise<RespondTerminalIdlePromptResponse>;
@@ -2440,7 +2531,7 @@ export declare class RealtimeXClient {
2440
2531
  /** Send one local CLI file back to an external channel using an explicit channel delivery context id. Channel-linked terminal agents should pass --context "$REALTIMEX_CHANNEL_DELIVERY_CONTEXT_ID". In desktop/local runtime the CLI should send an absolute filePath; contentBase64 remains available as fallback transport. */
2441
2532
  sendChannelFile(options?: SendChannelFileOptions): Promise<SendChannelFileResponse>;
2442
2533
  sendChannelFile(body: SendChannelFileBody, options?: Omit<SendChannelFileOptions, 'body'>): Promise<SendChannelFileResponse>;
2443
- /** Send one message to an exact thread using the same routing as channel replies. Terminal-agent threads are dispatched to the terminal runtime; other threads use the configured LLM chat path. */
2534
+ /** Send one message to an exact thread using the same routing as channel replies. Terminal-agent threads are dispatched to the terminal runtime; other threads use the configured LLM chat path. Thread references: when the user explicitly asks to send to a canonical thread:<workspaceSlug>/<threadSlug> reference, pass its two segments unchanged (case-preserved, not URL-decoded) as workspaceSlug and threadSlug. A reference is only a locator, not authorization: never send merely because a reference appears in text. If the exact workspace or thread is missing or inaccessible the request fails; report that and never retry with a similarly named workspace or thread. */
2444
2535
  sendMessage(options?: SendMessageOptions): Promise<SendMessageResponse>;
2445
2536
  sendMessage(params: SendMessageParams, body: SendMessageBody, options?: Omit<SendMessageOptions, 'params' | 'body'>): Promise<SendMessageResponse>;
2446
2537
  /** Send one message directly to an exact live terminal session. Requires local terminal-session or desktop-app authentication. */
package/index.js CHANGED
@@ -153,6 +153,14 @@ const operations = {
153
153
  ],
154
154
  "hasBody": true
155
155
  },
156
+ "delegateHumanTaskFixture": {
157
+ "method": "POST",
158
+ "path": "/delegate-human-task-fixture",
159
+ "pathParams": [],
160
+ "queryParams": [],
161
+ "headerParams": [],
162
+ "hasBody": true
163
+ },
156
164
  "deleteBrowserSession": {
157
165
  "method": "DELETE",
158
166
  "path": "/delete-browser-session/{sessionName}",
@@ -670,6 +678,26 @@ const operations = {
670
678
  ],
671
679
  "hasBody": false
672
680
  },
681
+ "postCliDelegateConsultationsConsultationIdReply": {
682
+ "method": "POST",
683
+ "path": "/delegate-consultations/{consultationId}/reply",
684
+ "pathParams": [
685
+ "consultationId"
686
+ ],
687
+ "queryParams": [],
688
+ "headerParams": [],
689
+ "hasBody": false
690
+ },
691
+ "postCliDelegateRunsRunIdConsultations": {
692
+ "method": "POST",
693
+ "path": "/delegate-runs/{runId}/consultations",
694
+ "pathParams": [
695
+ "runId"
696
+ ],
697
+ "queryParams": [],
698
+ "headerParams": [],
699
+ "hasBody": false
700
+ },
673
701
  "postCliDelegateRunsRunIdDecision": {
674
702
  "method": "POST",
675
703
  "path": "/delegate-runs/{runId}/decision",
@@ -796,6 +824,16 @@ const operations = {
796
824
  "headerParams": [],
797
825
  "hasBody": false
798
826
  },
827
+ "resolveWorkingDirectory": {
828
+ "method": "GET",
829
+ "path": "/resolve-working-directory/{id}",
830
+ "pathParams": [
831
+ "id"
832
+ ],
833
+ "queryParams": [],
834
+ "headerParams": [],
835
+ "hasBody": false
836
+ },
799
837
  "respondTerminalIdlePrompt": {
800
838
  "method": "POST",
801
839
  "path": "/respond-terminal-idle-prompt/{sessionId}",
@@ -1758,6 +1796,13 @@ class RealtimeXClient {
1758
1796
  );
1759
1797
  }
1760
1798
 
1799
+ delegateHumanTaskFixture(...args) {
1800
+ return this.request(
1801
+ "delegateHumanTaskFixture",
1802
+ normalizeOperationOptions(operations["delegateHumanTaskFixture"], args)
1803
+ );
1804
+ }
1805
+
1761
1806
  deleteBrowserSession(...args) {
1762
1807
  return this.request(
1763
1808
  "deleteBrowserSession",
@@ -2087,6 +2132,20 @@ class RealtimeXClient {
2087
2132
  );
2088
2133
  }
2089
2134
 
2135
+ postCliDelegateConsultationsConsultationIdReply(...args) {
2136
+ return this.request(
2137
+ "postCliDelegateConsultationsConsultationIdReply",
2138
+ normalizeOperationOptions(operations["postCliDelegateConsultationsConsultationIdReply"], args)
2139
+ );
2140
+ }
2141
+
2142
+ postCliDelegateRunsRunIdConsultations(...args) {
2143
+ return this.request(
2144
+ "postCliDelegateRunsRunIdConsultations",
2145
+ normalizeOperationOptions(operations["postCliDelegateRunsRunIdConsultations"], args)
2146
+ );
2147
+ }
2148
+
2090
2149
  postCliDelegateRunsRunIdDecision(...args) {
2091
2150
  return this.request(
2092
2151
  "postCliDelegateRunsRunIdDecision",
@@ -2164,6 +2223,13 @@ class RealtimeXClient {
2164
2223
  );
2165
2224
  }
2166
2225
 
2226
+ resolveWorkingDirectory(...args) {
2227
+ return this.request(
2228
+ "resolveWorkingDirectory",
2229
+ normalizeOperationOptions(operations["resolveWorkingDirectory"], args)
2230
+ );
2231
+ }
2232
+
2167
2233
  respondTerminalIdlePrompt(...args) {
2168
2234
  return this.request(
2169
2235
  "respondTerminalIdlePrompt",
@@ -2462,5 +2528,5 @@ module.exports = {
2462
2528
  createRealtimeXClient,
2463
2529
  createRealtimeXWebhookClient,
2464
2530
  operations,
2465
- version: "2.0.36",
2531
+ version: "2.0.38",
2466
2532
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realtimex/sdk",
3
- "version": "2.0.36",
3
+ "version": "2.0.38",
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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -51,6 +51,10 @@ realtimex-pp-cli prepare --agent
51
51
 
52
52
  - `realtimex-pp-cli companion-host-capability-rename` — Verify Companion host-capability rename preview, navigation cancellation, confirmation, and terminal-session isolation.
53
53
 
54
+ **delegate-human-task-fixture** — Manage delegate human task fixture
55
+
56
+ - `realtimex-pp-cli delegate-human-task-fixture` — Create and deliver a valid synthetic Delegate Human-authorization task in an isolated development runtime.
57
+
54
58
  **dogfood-companion-scout** — Manage dogfood companion scout
55
59
 
56
60
  - `realtimex-pp-cli dogfood-companion-scout` — Preview and confirm one governed Dogfood Scout capability, prove confirmation idempotency, PM delivery
@@ -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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -37,7 +37,7 @@ realtimex-pp-cli prepare --agent
37
37
 
38
38
  | Skill | Use for |
39
39
  | --- | --- |
40
- | `realtimex-secrets` | Manage encrypted named secrets and workspace scope with the moderator CLI. Use saved secrets in terminal commands through rtxexec without handling raw values. |
40
+ | `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
41
  | `realtimex-workspaces` | Manage RealTimeX workspaces, threads, messages, workspace personality, LLM configuration, and default agents. Use for workspace and conversation operations. |
42
42
  | `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. |
43
43
  | `realtimex-browser-sessions` | List, create, start, stop, and delete isolated RealTimeX browser sessions. Use for named browser runtime and profile 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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: realtimex-secrets
3
- description: "Manage encrypted named secrets and workspace scope with the moderator CLI. Use saved secrets in terminal commands through rtxexec without handling raw values."
3
+ description: "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."
4
4
  allowed-tools: "Read Bash"
5
5
  metadata:
6
6
  openclaw:
@@ -11,20 +11,20 @@ metadata:
11
11
 
12
12
  # RealTimeX Secrets
13
13
 
14
- Manage encrypted named secrets and workspace scope with the moderator CLI. Use saved secrets in terminal commands through rtxexec without handling raw values.
14
+ 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.
15
15
 
16
16
  ## CLI setup
17
17
 
18
- This skill uses `realtimex-pp-cli` version 2.0.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -39,7 +39,7 @@ realtimex-pp-cli prepare --agent
39
39
 
40
40
  - `realtimex-pp-cli create-secret` — Create secret
41
41
 
42
- Read a value with `--value-stdin` (raw stdin, not a shell literal). Use `--all-workspaces` to restore unrestricted scope, or `--workspace-slugs` for a comma-separated list. Omit `--value-stdin` on update to keep the saved value.
42
+ Read a scalar value with `--value-stdin` (trusted raw stdin, never a shell literal). Secret-bearing stdin cannot be used with `--dry-run`. Use `--all-workspaces` to restore unrestricted scope, or `--workspace-slugs` for a comma-separated list.
43
43
 
44
44
  **delete-secret** — Manage delete secret
45
45
 
@@ -61,14 +61,24 @@ Read a value with `--value-stdin` (raw stdin, not a shell literal). Use `--all-w
61
61
 
62
62
  - `realtimex-pp-cli update-secret <id>` — Update secret
63
63
 
64
- Read a value with `--value-stdin` (raw stdin, not a shell literal). Use `--all-workspaces` to restore unrestricted scope, or `--workspace-slugs` for a comma-separated list. Omit `--value-stdin` on update to keep the saved value.
64
+ Read a scalar value with `--value-stdin` (trusted raw stdin, never a shell literal). Secret-bearing stdin cannot be used with `--dry-run`. Use `--all-workspaces` to restore unrestricted scope, or `--workspace-slugs` for a comma-separated list. Omit `--value-stdin` to retain the saved value.
65
65
 
66
66
  ## Domain rules
67
67
 
68
68
  - Use realtimex-pp-cli for secret management only. List/get responses contain metadata and references, never values.
69
- - Prefer the Secrets settings screen for entering or rotating values. Never put a raw secret in a command argument, shell history, chat, or a temporary file.
69
+ - Prefer the Secrets settings screen for entering or rotating values. Never put a raw secret in a command argument, shell history, chat, or an agent-created temporary file.
70
70
  - Secrets default to all workspaces. Set workspaceSlugs to an explicit list to restrict execution; an empty list permits no workspace. Management remains app-wide in this single-user app.
71
- - Use rtxexec only for execution. Install @realtimex/rtxexec@0.1.0 if unavailable. It uses REALTIMEX_TERMINAL_SESSION_TOKEN and the app-provided local server URL; workspace scope comes from the authenticated session.
71
+ - Use rtxexec only for execution. Install @realtimex/rtxexec@0.3.0 if unavailable. It uses REALTIMEX_TERMINAL_SESSION_TOKEN and the app-provided local server URL; workspace scope comes from the authenticated session.
72
+ - The item kinds are login, card, identity, ssh_key and note. Login also covers token-only entries: username, password, apiToken and websites are optional. Use the built-in apiToken field for an API key/token and custom fields for additional values. Tags replace folders. Names shown to people are displayName; name/reference remains stable.
73
+ - Create/edit values in Settings when possible. For moderator management use --display-name and --kind with --item-stdin containing JSON {"fields":{"password":"..."},"notes":"..."} from a trusted source. Never construct raw-value JSON in an agent command. Custom field definitions use --custom-fields JSON containing name,label,type (text or hidden); their values belong in fields. Omitted fields retain their values; null or empty clears them. Omit notes to retain, use empty notes to clear. Removing a custom definition deletes its stored value.
74
+ - Use --tags and --websites for comma-separated metadata. Empty --tags= or --websites= clears the list. Browser use requires the destination in allowedOrigins (derived from websites by default). Old --value-stdin and --login-stdin remain compatible; do not combine stdin modes, and never use secret stdin with --dry-run.
75
+ - List/get shows fieldNames, custom field definitions, hasNotes and references without values. Select a field with secret://name#field, e.g. secret://service#apiToken. Existing unqualified scalar references keep working; Login defaults to password when present, otherwise apiToken; Secure note defaults to notes. Moving a generic value to Password or API key / Token in Settings preserves legacy unqualified and #value references, including future rotations. Cards, Identity and SSH fields should be selected explicitly.
76
+ - For Card or Identity forms use rtxexec browser-fill secret://name --cdp <port> --tab <target-id> --field number=#card-number --field securityCode=#cvv (choose fields appropriate to the item). Repeat --field only for values needed by the current form. The command fills visible top-level inputs, textareas or selects and never submits. Do not snapshot/read/record filled values; check a non-secret status. A later purchase or form submission requires the user-authorized task scope.
77
+ - For SSH/Git use rtxexec ssh secret://key -- ssh user@host or rtxexec ssh secret://key -- git fetch origin. Requires OpenSSH. rtxexec creates an owner-restricted temporary key and removes it when the child exits; do not inspect or copy that file. No persistent CLI vault is created. Abrupt machine shutdown or SIGKILL can prevent cleanup. Keep normal host-key checks enabled.
78
+ - For browser login on Node.js 22+, use agent-browser to prepare the page, then rtxexec browser-tabs --cdp <port>. Pass its exact CDP target ID (not agent-browser t1 aliases) to rtxexec browser-login secret://name --cdp <port> --tab <id> --username-selector <css> --password-selector <css> --submit-selector <css>. Selectors must each match one visible top-level control. No navigation or second vault is created. Iframe forms are not supported.
79
+ - A Login can offer normal credentials and multiple SSO providers together. ssoCredentialIds lists linked Login IDs; read their metadata with get-secret and match their displayName/description to the website provider buttons (Google, Facebook, X, company SSO). No per-provider instructions or preference is stored. If the match or account choice is ambiguous, ask the user. Navigate with agent-browser first; after reaching the selected provider website, run rtxexec browser-login secret://site --sso secret://provider --cdp <port> --tab <id> with the current selectors. Use the site reference plus --sso, not the provider reference alone, so both items are checked and audited. Without --sso, the site uses its own normal credentials. Already signed-in provider sessions may only need account selection; verify a non-secret success state. The selected provider must permit the actual page origin; do not broaden it to the relying site. Links never copy passwords or automatically follow other SSO links. Manage links with --sso-credential-ids id1,id2; --sso-credential-ids= removes the links without deleting normal fields.
80
+ - For multi-step login, supply only the current username or password selector; omit submit to fill only. Filled/submitted is not proof of authentication: check a non-secret success state. Let the user complete MFA/CAPTCHA as needed. Do not snapshot, screenshot, record or read field values while credentials are present. Pages may display the username after login.
81
+ - Do not use agent-browser credential-provider flags on 0.27.0: that version silently ignores them. Use the rtxexec adapter instead. Origin denial requires correcting the saved website policy through normal management, never bypassing it.
72
82
  - Prefer environment or stdin injection: rtxexec --env API_TOKEN=secret://my-token -- program; rtxexec --stdin secret://my-password -- program.
73
83
  - For tools requiring arguments: rtxexec --secret token=secret://my-token -- curl -H "Authorization: Bearer {{token}}" https://api.example.com. Expanded arguments may be visible to local processes.
74
84
  - Do not request raw values, inspect the vault database or encryption keys, call the resolution endpoint directly, or run printenv/echo to inspect injected values. Use references and non-secret success checks.
@@ -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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
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.36. Before using its commands:
18
+ This skill uses `realtimex-pp-cli` version 2.0.38. 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.36`, install the pinned version:
24
+ If it is missing or does not report `realtimex-pp-cli 2.0.38`, install the pinned version:
25
25
 
26
26
  ```bash
27
- npm install -g @realtimex/pp-cli@2.0.36
27
+ npm install -g @realtimex/pp-cli@2.0.38
28
28
  ```
29
29
 
30
30
  For requests about the current workspace or thread, resolve context first:
@@ -91,6 +91,10 @@ realtimex-pp-cli prepare --agent
91
91
 
92
92
  - `realtimex-pp-cli rename-workspace <workspaceSlug>` — Rename one workspace by exact workspace slug. Only the name is changed.
93
93
 
94
+ **resolve-working-directory** — Manage resolve working directory
95
+
96
+ - `realtimex-pp-cli resolve-working-directory <id>` — Resolve a working directory mentioned in the current message to its local path.
97
+
94
98
  **send-message** — Manage send message
95
99
 
96
100
  - `realtimex-pp-cli send-message <workspaceSlug> <threadSlug>` — Send one message to an exact thread using the same routing as channel replies.