@realtimex/sdk 1.7.4 → 1.7.6

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.
@@ -1,6 +1,6 @@
1
1
  # RealTimeX SDK — API Reference
2
2
 
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.4** · 2026-04-16
3
+ > Auto-generated from `@realtimex/sdk` source · v**1.7.6** · 2026-05-04
4
4
 
5
5
  **Package:** `@realtimex/sdk` (CJS) · **Server:** `http://localhost:3001`
6
6
  **Developer Mode auth:** `Authorization: Bearer <apiKey>`
@@ -503,7 +503,7 @@ outcome?: string
503
503
 
504
504
  ---
505
505
 
506
- ## sdk.agent — LLM Agent Sessions (REST/SSE)
506
+ ## sdk.agent — Runtime Sessions (CLI Agent / Terminal mode)
507
507
 
508
508
  ### `AgentModule`
509
509
 
@@ -752,6 +752,12 @@ async createPreference(body?: Record<string, unknown>): Promise<unknown>
752
752
  ```ts
753
753
  // Verify the attached Authentication header contains a valid API token.
754
754
  async getAuth(): Promise<unknown>
755
+
756
+ // Relay external browser auth callbacks back to the local Electron renderer. Localhost only; keyed by OAuth state.
757
+ async externalCallback(): Promise<unknown>
758
+
759
+ // Poll for a relayed external browser auth callback by OAuth state. Localhost only.
760
+ async getExternalCallback(state: string): Promise<unknown>
755
761
  ```
756
762
 
757
763
  ---
@@ -912,6 +918,41 @@ async listVectorStores(): Promise<unknown>
912
918
 
913
919
  ---
914
920
 
921
+ ## sdk.v1.runtimeSessions — Runtime Sessions (CLI Agent / Terminal mode)
922
+
923
+ ### `V1RuntimeSessionsModule`
924
+
925
+ ```ts
926
+ // Resolve the desktop shell launch working directory for a workspace or thread context.
927
+ async desktopShellLaunchSpec(body?: Record<string, unknown>): Promise<unknown>
928
+
929
+ // Evaluate the runtime terminal permission policy for a pending CLI action.
930
+ async terminalPermissionsEvaluate(body?: Record<string, unknown>): Promise<unknown>
931
+
932
+ // Resolve the CLI agent terminal launch command and working directory.
933
+ async cliAgentLaunchSpec(body?: Record<string, unknown>): Promise<unknown>
934
+
935
+ // Create a persistent ACP-backed CLI agent runtime session.
936
+ async cliAgent(body?: Record<string, unknown>): Promise<unknown>
937
+
938
+ // Stream a chat turn to an existing CLI agent runtime session using Server-Sent Events.
939
+ async cliAgentChatStream(sessionKey: string, body?: Record<string, unknown>): Promise<unknown>
940
+
941
+ // Resolve a pending permission request for a CLI agent runtime session.
942
+ async cliAgentPermission(sessionKey: string, body?: Record<string, unknown>): Promise<unknown>
943
+
944
+ // Cancel the current CLI turn for an active runtime session.
945
+ async cliAgentCancel(sessionKey: string, body?: Record<string, unknown>): Promise<unknown>
946
+
947
+ // Close a CLI agent runtime session and clear its control-plane metadata.
948
+ async deleteCliAgent(sessionKey: string): Promise<unknown>
949
+
950
+ // Fetch the current state and runtime options for a CLI agent session.
951
+ async getCliAgent(sessionKey: string): Promise<unknown>
952
+ ```
953
+
954
+ ---
955
+
915
956
  ## sdk.v1.sttApi — v1 Stt Api
916
957
 
917
958
  ### `V1SttApiModule`