@realtimex/sdk 1.7.28 → 2.0.1

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.
Files changed (66) hide show
  1. package/dist/chunk-ORAAYW4C.mjs +271 -0
  2. package/dist/errors-C98IGxYU.d.mts +168 -0
  3. package/dist/errors-C98IGxYU.d.ts +168 -0
  4. package/dist/index.d.mts +8 -2048
  5. package/dist/index.d.ts +8 -2048
  6. package/dist/index.js +168 -4723
  7. package/dist/index.mjs +7 -3783
  8. package/dist/v1/index.d.mts +3 -56
  9. package/dist/v1/index.d.ts +3 -56
  10. package/dist/v1/index.js +2 -756
  11. package/dist/v1/index.mjs +2 -42
  12. package/package.json +6 -7
  13. package/dist/chunk-Z5GAUBIM.mjs +0 -993
  14. package/dist/errors-NufsyIZ-.d.mts +0 -678
  15. package/dist/errors-NufsyIZ-.d.ts +0 -678
  16. package/skills/realtimex-moderator-sdk/SKILL.md +0 -102
  17. package/skills/realtimex-moderator-sdk/references/activities.md +0 -14
  18. package/skills/realtimex-moderator-sdk/references/agents.md +0 -13
  19. package/skills/realtimex-moderator-sdk/references/api-reference/acpagent.md +0 -105
  20. package/skills/realtimex-moderator-sdk/references/api-reference/activities.md +0 -24
  21. package/skills/realtimex-moderator-sdk/references/api-reference/agent.md +0 -27
  22. package/skills/realtimex-moderator-sdk/references/api-reference/api.md +0 -17
  23. package/skills/realtimex-moderator-sdk/references/api-reference/auth.md +0 -36
  24. package/skills/realtimex-moderator-sdk/references/api-reference/contract.md +0 -27
  25. package/skills/realtimex-moderator-sdk/references/api-reference/core.md +0 -40
  26. package/skills/realtimex-moderator-sdk/references/api-reference/database.md +0 -24
  27. package/skills/realtimex-moderator-sdk/references/api-reference/index.md +0 -43
  28. package/skills/realtimex-moderator-sdk/references/api-reference/llm.md +0 -176
  29. package/skills/realtimex-moderator-sdk/references/api-reference/mcp.md +0 -50
  30. package/skills/realtimex-moderator-sdk/references/api-reference/port.md +0 -21
  31. package/skills/realtimex-moderator-sdk/references/api-reference/stt.md +0 -15
  32. package/skills/realtimex-moderator-sdk/references/api-reference/task.md +0 -62
  33. package/skills/realtimex-moderator-sdk/references/api-reference/tts.md +0 -18
  34. package/skills/realtimex-moderator-sdk/references/api-reference/v1-acpauth.md +0 -21
  35. package/skills/realtimex-moderator-sdk/references/api-reference/v1-acpcommands.md +0 -15
  36. package/skills/realtimex-moderator-sdk/references/api-reference/v1-admin.md +0 -48
  37. package/skills/realtimex-moderator-sdk/references/api-reference/v1-auth.md +0 -18
  38. package/skills/realtimex-moderator-sdk/references/api-reference/v1-channels.md +0 -78
  39. package/skills/realtimex-moderator-sdk/references/api-reference/v1-credentials.md +0 -27
  40. package/skills/realtimex-moderator-sdk/references/api-reference/v1-customthemes.md +0 -24
  41. package/skills/realtimex-moderator-sdk/references/api-reference/v1-desktopbrowser.md +0 -39
  42. package/skills/realtimex-moderator-sdk/references/api-reference/v1-desktopembed.md +0 -24
  43. package/skills/realtimex-moderator-sdk/references/api-reference/v1-desktopruntimesessions.md +0 -33
  44. package/skills/realtimex-moderator-sdk/references/api-reference/v1-document.md +0 -39
  45. package/skills/realtimex-moderator-sdk/references/api-reference/v1-embed.md +0 -27
  46. package/skills/realtimex-moderator-sdk/references/api-reference/v1-openai.md +0 -21
  47. package/skills/realtimex-moderator-sdk/references/api-reference/v1-sttapi.md +0 -12
  48. package/skills/realtimex-moderator-sdk/references/api-reference/v1-system.md +0 -36
  49. package/skills/realtimex-moderator-sdk/references/api-reference/v1-thread.md +0 -26
  50. package/skills/realtimex-moderator-sdk/references/api-reference/v1-users.md +0 -15
  51. package/skills/realtimex-moderator-sdk/references/api-reference/v1-workspace.md +0 -39
  52. package/skills/realtimex-moderator-sdk/references/api-reference/webhook.md +0 -13
  53. package/skills/realtimex-moderator-sdk/references/api-reference.md +0 -1330
  54. package/skills/realtimex-moderator-sdk/references/app-concepts.md +0 -1276
  55. package/skills/realtimex-moderator-sdk/references/browser.md +0 -27
  56. package/skills/realtimex-moderator-sdk/references/channels.md +0 -189
  57. package/skills/realtimex-moderator-sdk/references/credentials.md +0 -111
  58. package/skills/realtimex-moderator-sdk/references/known-issues.md +0 -237
  59. package/skills/realtimex-moderator-sdk/references/llm.md +0 -13
  60. package/skills/realtimex-moderator-sdk/references/mcp.md +0 -13
  61. package/skills/realtimex-moderator-sdk/references/permissions.md +0 -30
  62. package/skills/realtimex-moderator-sdk/references/quickstart.md +0 -16
  63. package/skills/realtimex-moderator-sdk/references/terminal-sessions.md +0 -34
  64. package/skills/realtimex-moderator-sdk/references/workspaces.md +0 -20
  65. package/skills/realtimex-moderator-sdk/scripts/lib/sdk-init.js +0 -171
  66. package/skills/realtimex-moderator-sdk/scripts/rtx.js +0 -1359
@@ -1,50 +0,0 @@
1
- # sdk.mcp — MCP Server Tools
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `MCPModule` *(extends ApiModule)*
6
-
7
- ### Methods
8
-
9
- ```ts
10
- super(realtimexUrl, appId, appName, apiKey): void
11
-
12
- // List configured MCP servers.
13
- async getServers(provider: 'local' | 'remote' | 'all' = 'all'): Promise<MCPServer[]>
14
-
15
- // List available tools for a specific MCP server.
16
- async getTools(serverName: string, provider: 'local' | 'remote' = 'local'): Promise<MCPTool[]>
17
-
18
- // Execute a tool on an MCP server.
19
- async executeTool(serverName: string, toolName: string, args: Record<string, any> = {}, provider: 'local' | 'remote' = 'local'): Promise<any>
20
- ```
21
-
22
- ## `MCPServer`
23
-
24
- ```ts
25
- name: string
26
- display_name: string
27
- description: string | null
28
- server_type: string
29
- enabled: boolean
30
- provider: 'local' | 'remote'
31
- tags: string[]
32
- ```
33
-
34
- ## `MCPTool`
35
-
36
- ```ts
37
- name: string
38
- description: string | null
39
- ```
40
-
41
- ## `MCPToolResult`
42
-
43
- ```ts
44
- success: boolean
45
- server: string
46
- tool: string
47
- provider: string
48
- result: any
49
- error?: string
50
- ```
@@ -1,21 +0,0 @@
1
- # sdk.port — Port Management
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `PortModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Get suggested port from environment (RTX_PORT) or default
11
- getSuggestedPort(): number
12
-
13
- // Check if a port is available on a specific host
14
- async isPortAvailable(port: number): Promise<boolean>
15
-
16
- // Find an available port starting from the suggested port
17
- async findAvailablePort(startPort?: number, maxAttempts: number = 100): Promise<number>
18
-
19
- // Get a ready-to-use port
20
- async getPort(): Promise<number>
21
- ```
@@ -1,15 +0,0 @@
1
- # sdk.stt — Speech-to-Text
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `STTModule` *(extends ApiModule)*
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Get available STT providers and their models.
11
- async listProviders(): Promise<STTProvider[]>
12
-
13
- // Listen to microphone and transcribe speech to text.
14
- async listen(options: STTListenOptions): Promise<STTResponse>
15
- ```
@@ -1,62 +0,0 @@
1
- # sdk.task — Task Lifecycle Reporting
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `TaskModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Configure callback signing behavior.
11
- configureContract(config: { callbackSecret?: string; signCallbacksByDefault?: boolean }): void
12
-
13
- // Claim a task before processing.
14
- async claim(taskUuid: string, options: TaskEventOptions = {}): Promise<TaskStatusResponse>
15
-
16
- // Alias for claim()
17
- async claimed(taskUuid: string, options: TaskEventOptions = {}): Promise<TaskStatusResponse>
18
-
19
- // Mark task as processing.
20
- async start(taskUuid: string, machineIdOrOptions?: string | TaskEventOptions): Promise<TaskStatusResponse>
21
-
22
- // Report incremental task progress.
23
- async progress(taskUuid: string, progressData: Record<string, unknown> = {}, options: TaskEventOptions = {}): Promise<TaskStatusResponse>
24
-
25
- // Mark task as completed with result.
26
- async complete(taskUuid: string, result: Record<string, unknown> = {}, machineIdOrOptions?: string | TaskEventOptions): Promise<TaskStatusResponse>
27
-
28
- // Mark task as failed with error.
29
- async fail(taskUuid: string, error: string, machineIdOrOptions?: string | TaskEventOptions): Promise<TaskStatusResponse>
30
-
31
- // Mark task as canceled.
32
- async cancel(taskUuid: string, reason?: string, options: TaskEventOptions = {}): Promise<TaskStatusResponse>
33
- ```
34
-
35
- ## `TaskStatusResponse`
36
-
37
- ```ts
38
- success: boolean
39
- task_uuid: string
40
- status: string
41
- event_id?: string
42
- attempt_id?: string
43
- event_type?: ContractEventType | string
44
- deduplicated?: boolean
45
- duplicate?: boolean
46
- message?: string
47
- ```
48
-
49
- ## `TaskEventOptions`
50
-
51
- ```ts
52
- machineId?: string
53
- attemptId?: string | number
54
- eventId?: string
55
- timestamp?: string
56
- callbackUrl?: string
57
- callbackSecret?: string
58
- sign?: boolean
59
- userEmail?: string
60
- activityId?: string
61
- tableName?: string
62
- ```
@@ -1,18 +0,0 @@
1
- # sdk.tts — Text-to-Speech
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `TTSModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Request a single permission from Electron via internal API
11
- async speak(text: string, options: TTSOptions = {}): Promise<ArrayBuffer>
12
-
13
- // Generate speech from text with streaming (yields decoded audio chunks)
14
- async *speakStream(text: string, options: TTSOptions = {}): AsyncGenerator<TTSChunk>
15
-
16
- // List available TTS providers with configuration options
17
- async listProviders(): Promise<TTSProvider[]>
18
- ```
@@ -1,21 +0,0 @@
1
- # sdk.v1.acpAuth — v1 Acp Auth
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1AcpAuthModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // @see GET /v1/acp/auth/profiles
11
- async listProfiles(): Promise<unknown>
12
-
13
- // @see POST /v1/acp/auth/profiles
14
- async createProfile(): Promise<unknown>
15
-
16
- // @see GET /v1/acp/auth/status
17
- async getStatus(): Promise<unknown>
18
-
19
- // @see DELETE /v1/acp/auth/profiles/{id}
20
- async deleteProfile(id: string): Promise<unknown>
21
- ```
@@ -1,15 +0,0 @@
1
- # sdk.v1.acpCommands — v1 Acp Commands
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1AcpCommandsModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // @see POST /v1/acp/command
11
- async createCommand(): Promise<unknown>
12
-
13
- // @see POST /v1/acp/command/permission-decision
14
- async permissionDecision(): Promise<unknown>
15
- ```
@@ -1,48 +0,0 @@
1
- # sdk.v1.admin — v1 Admin
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1AdminModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Check to see if the instance is in multi-user-mode first. Methods are disabled until multi user mode is enabled via the UI.
11
- async getIsMultiUserMode(): Promise<unknown>
12
-
13
- // Check to see if the instance is in multi-user-mode first. Methods are disabled until multi user mode is enabled via the UI.
14
- async listUsers(): Promise<unknown>
15
-
16
- // Create a new user with username and password. Methods are disabled until multi user mode is enabled via the UI.
17
- async createUser(body?: Record<string, unknown>): Promise<unknown>
18
-
19
- // Update existing user settings. Methods are disabled until multi user mode is enabled via the UI.
20
- async updateUser(id: string, body?: Record<string, unknown>): Promise<unknown>
21
-
22
- // Delete existing user by id. Methods are disabled until multi user mode is enabled via the UI.
23
- async deleteUser(id: string): Promise<unknown>
24
-
25
- // List all existing invitations to instance regardless of status. Methods are disabled until multi user mode is enabled via the UI.
26
- async listInvites(): Promise<unknown>
27
-
28
- // Create a new invite code for someone to use to register with instance. Methods are disabled until multi user mode is enabled via the UI.
29
- async createInvite(body?: Record<string, unknown>): Promise<unknown>
30
-
31
- // Deactivates (soft-delete) invite by id. Methods are disabled until multi user mode is enabled via the UI.
32
- async deleteInvite(id: string): Promise<unknown>
33
-
34
- // Retrieve a list of users with permissions to access the specified workspace.
35
- async listWorkspaceUsers(workspaceId: string): Promise<unknown>
36
-
37
- // Overwrite workspace permissions to only be accessible by the given user ids and admins. Methods are disabled until multi user mode is enabled via the UI.
38
- async updateUsers(workspaceId: string, body?: Record<string, unknown>): Promise<unknown>
39
-
40
- // Set workspace permissions to be accessible by the given user ids and admins. Methods are disabled until multi user mode is enabled via the UI.
41
- async workspacesManageUsers(workspaceSlug: string, body?: Record<string, unknown>): Promise<unknown>
42
-
43
- // All chats in the system ordered by most recent. Methods are disabled until multi user mode is enabled via the UI.
44
- async workspaceChats(body?: Record<string, unknown>): Promise<unknown>
45
-
46
- // Update multi-user preferences for instance. Methods are disabled until multi user mode is enabled via the UI.
47
- async createPreference(body?: Record<string, unknown>): Promise<unknown>
48
- ```
@@ -1,18 +0,0 @@
1
- # sdk.v1.auth — v1 Auth
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1AuthModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Verify the attached Authentication header contains a valid API token.
11
- async getAuth(): Promise<unknown>
12
-
13
- // Relay external browser auth callbacks back to the local Electron renderer. Localhost only; keyed by OAuth state.
14
- async externalCallback(): Promise<unknown>
15
-
16
- // Poll for a relayed external browser auth callback by OAuth state. Localhost only.
17
- async getExternalCallback(state: string): Promise<unknown>
18
- ```
@@ -1,78 +0,0 @@
1
- # sdk.v1.channels — v1 Channels
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1ChannelsModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // List configured channel plugins without exposing encrypted plugin configuration.
11
- async listPlugins(): Promise<unknown>
12
-
13
- // Create a channel plugin. The request may include provider credentials in config, but credentials are never returned.
14
- async createPlugin(body?: Record<string, unknown>): Promise<unknown>
15
-
16
- // Get editable non-secret channel plugin configuration.
17
- async getConfig(id: string): Promise<unknown>
18
-
19
- // Update a channel plugin. Config values are encrypted before storage.
20
- async updatePlugin(id: string, body?: Record<string, unknown>): Promise<unknown>
21
-
22
- // Delete a channel plugin and stop any running plugin instance.
23
- async deletePlugin(id: string): Promise<unknown>
24
-
25
- // Enable and start a channel plugin.
26
- async pluginsStart(id: string): Promise<unknown>
27
-
28
- // Disable and stop a channel plugin.
29
- async pluginsStop(id: string): Promise<unknown>
30
-
31
- // Test channel provider credentials without saving a plugin.
32
- async pluginsTest(body?: Record<string, unknown>): Promise<unknown>
33
-
34
- // Get runtime status for all running channel plugins.
35
- async getStatus(): Promise<unknown>
36
-
37
- // Start a QR login flow for Zalo personal or WhatsApp plugins.
38
- async pluginsQrLoginStart(id: string, body?: Record<string, unknown>): Promise<unknown>
39
-
40
- // Poll QR login status for Zalo personal or WhatsApp plugins.
41
- async getState(id: string): Promise<unknown>
42
-
43
- // Cancel a QR login flow for Zalo personal or WhatsApp plugins.
44
- async pluginsQrLoginCancel(id: string): Promise<unknown>
45
-
46
- // Log out a QR-authenticated Zalo personal or WhatsApp plugin and clear stored credentials.
47
- async pluginsLogout(id: string): Promise<unknown>
48
-
49
- // Update safe channel policies for Zalo personal or WhatsApp plugins without overwriting credentials.
50
- async pluginsPolicies(id: string, body?: Record<string, unknown>): Promise<unknown>
51
-
52
- // Search a Zalo personal friends directory.
53
- async listDirectoryFriends(id: string): Promise<unknown>
54
-
55
- // Search a Zalo personal groups directory.
56
- async listDirectoryGroups(id: string): Promise<unknown>
57
-
58
- // List pending pairing codes for a channel plugin.
59
- async listPluginPairingCodes(id: string): Promise<unknown>
60
-
61
- // Generate a pairing code for a channel plugin.
62
- async pluginsPairingCodes(id: string, body?: Record<string, unknown>): Promise<unknown>
63
-
64
- // Approve a channel pairing code.
65
- async pairingCodesApprove(id: string): Promise<unknown>
66
-
67
- // Reject a channel pairing code.
68
- async pairingCodesReject(id: string): Promise<unknown>
69
-
70
- // List channel users for a plugin.
71
- async listPluginUsers(id: string): Promise<unknown>
72
-
73
- // Set authorization for a channel user.
74
- async pluginsUsersAuthorization(id: string, userId: string, body?: Record<string, unknown>): Promise<unknown>
75
-
76
- // Remove a channel user from a plugin.
77
- async deleteUser(id: string, userId: string): Promise<unknown>
78
- ```
@@ -1,27 +0,0 @@
1
- # sdk.v1.credentials — v1 Credentials
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1CredentialsModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // @see POST /v1/credentials
11
- async createCredential(): Promise<unknown>
12
-
13
- // @see GET /v1/credentials
14
- async listCredentials(): Promise<unknown>
15
-
16
- // @see GET /v1/credentials/{id}
17
- async getCredential(id: string): Promise<unknown>
18
-
19
- // @see PUT /v1/credentials/{id}
20
- async replaceCredential(id: string): Promise<unknown>
21
-
22
- // @see DELETE /v1/credentials/{id}
23
- async deleteCredential(id: string): Promise<unknown>
24
-
25
- // @see POST /v1/credentials/{id}/restore
26
- async restore(id: string): Promise<unknown>
27
- ```
@@ -1,24 +0,0 @@
1
- # sdk.v1.customThemes — v1 Custom Themes
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1CustomThemesModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // @see GET /v1/custom-themes
11
- async listCustomThemes(): Promise<unknown>
12
-
13
- // @see GET /v1/custom-themes/{id}
14
- async getCustomTheme(id: string): Promise<unknown>
15
-
16
- // @see POST /v1/custom-themes/{id}
17
- async updateCustomTheme(id: string): Promise<unknown>
18
-
19
- // @see DELETE /v1/custom-themes/{id}
20
- async deleteCustomTheme(id: string): Promise<unknown>
21
-
22
- // @see POST /v1/custom-themes/new
23
- async createCustomTheme(): Promise<unknown>
24
- ```
@@ -1,39 +0,0 @@
1
- # sdk.v1.desktopBrowser — v1 Desktop Browser
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1DesktopBrowserModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // List RealTimeX Browser sessions available in the Electron desktop app.
11
- async listSessions(): Promise<unknown>
12
-
13
- // Create a named RealTimeX Browser session in the Electron desktop app.
14
- async createSession(body?: Record<string, unknown>): Promise<unknown>
15
-
16
- // Get a specific RealTimeX Browser session by session name.
17
- async getSession(sessionName: string): Promise<unknown>
18
-
19
- // Delete a named RealTimeX Browser session from the Electron desktop app.
20
- async deleteSession(sessionName: string): Promise<unknown>
21
-
22
- // Create a RealTimeX Browser tab, optionally launching the browser session if needed.
23
- async createTab(body?: Record<string, unknown>): Promise<unknown>
24
-
25
- // Get a RealTimeX Browser tab snapshot by tab reference.
26
- async getTab(tabRef: string): Promise<unknown>
27
-
28
- // Close an existing RealTimeX Browser tab.
29
- async deleteTab(tabRef: string): Promise<unknown>
30
-
31
- // Evaluate JavaScript in a specific RealTimeX Browser tab.
32
- async evaluateTab(tabRef: string, body?: Record<string, unknown>): Promise<unknown>
33
-
34
- // Focus an existing RealTimeX Browser tab.
35
- async focusTab(tabRef: string, body?: Record<string, unknown>): Promise<unknown>
36
-
37
- // Navigate an existing RealTimeX Browser tab to a new URL.
38
- async navigateTab(tabRef: string, body?: Record<string, unknown>): Promise<unknown>
39
- ```
@@ -1,24 +0,0 @@
1
- # sdk.v1.desktopEmbed — v1 Desktop Embed
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1DesktopEmbedModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // @see GET /v1/desktop-public-embed/status
11
- async getStatus(): Promise<unknown>
12
-
13
- // @see POST /v1/desktop-public-embed/exposures
14
- async createExposure(): Promise<unknown>
15
-
16
- // @see POST /v1/desktop-public-embed/exposures/{exposureId}/heartbeat
17
- async exposuresHeartbeat(exposureId: string): Promise<unknown>
18
-
19
- // @see GET /v1/desktop-public-embed/exposures/{exposureId}
20
- async getExposure(exposureId: string): Promise<unknown>
21
-
22
- // @see DELETE /v1/desktop-public-embed/exposures/{exposureId}
23
- async deleteExposure(exposureId: string): Promise<unknown>
24
- ```
@@ -1,33 +0,0 @@
1
- # sdk.v1.desktopRuntimeSessions — v1 Desktop Runtime Sessions
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1DesktopRuntimeSessionsModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Open the shared terminal launcher in the Electron desktop app.
11
- async openLauncher(body?: Record<string, unknown>): Promise<unknown>
12
-
13
- // Launch a local PTY-backed shell terminal in the Electron desktop app.
14
- async launchTerminalShell(body?: Record<string, unknown>): Promise<unknown>
15
-
16
- // Launch a local PTY-backed CLI agent terminal in the Electron desktop app.
17
- async launchTerminalCliAgent(body?: Record<string, unknown>): Promise<unknown>
18
-
19
- // List desktop PTY-backed runtime sessions currently known to the Electron app.
20
- async listRuntimeSessions(): Promise<unknown>
21
-
22
- // Fetch one desktop PTY-backed runtime session by runtime session ID or PTY session ID.
23
- async getRuntimeSession(sessionId: string): Promise<unknown>
24
-
25
- // Close an existing desktop runtime session.
26
- async deleteRuntimeSession(sessionId: string): Promise<unknown>
27
-
28
- // Write input to an existing desktop runtime session. Use `message` to submit a CLI turn or `input` for raw PTY data.
29
- async write(sessionId: string, body?: Record<string, unknown>): Promise<unknown>
30
-
31
- // Approve or deny a pending desktop runtime session action.
32
- async permission(sessionId: string, body?: Record<string, unknown>): Promise<unknown>
33
- ```
@@ -1,39 +0,0 @@
1
- # sdk.v1.document — v1 Document
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1DocumentModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Upload a new file to RealTimeX to be parsed and prepared for embedding.
11
- async uploadLink(body?: Record<string, unknown>): Promise<unknown>
12
-
13
- // Upload a file by specifying its raw text content and metadata values without having to upload a file.
14
- async rawText(body?: Record<string, unknown>): Promise<unknown>
15
-
16
- // List of all locally-stored documents in instance
17
- async listDocuments(): Promise<unknown>
18
-
19
- // Get all documents stored in a specific folder.
20
- async getFolder(folderName: string): Promise<unknown>
21
-
22
- // Check available filetypes and MIMEs that can be uploaded.
23
- async listAcceptedFileTypes(): Promise<unknown>
24
-
25
- // Get the known available metadata schema for when doing a raw-text upload and the acceptable type of value for each key.
26
- async getMetadataSchema(): Promise<unknown>
27
-
28
- // Get a single document by its unique RealTimeX document name
29
- async getDocument(docName: string): Promise<unknown>
30
-
31
- // Create a new folder inside the documents storage directory.
32
- async createFolder(body?: Record<string, unknown>): Promise<unknown>
33
-
34
- // Remove a folder and all its contents from the documents storage directory.
35
- async deleteRemoveFolder(): Promise<unknown>
36
-
37
- // Move files within the documents storage directory.
38
- async moveFiles(body?: Record<string, unknown>): Promise<unknown>
39
- ```
@@ -1,27 +0,0 @@
1
- # sdk.v1.embed — v1 Embed
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1EmbedModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // List all active embeds
11
- async getEmbed(): Promise<unknown>
12
-
13
- // Get all chats for a specific embed
14
- async listChats(embedUuid: string): Promise<unknown>
15
-
16
- // Get chats for a specific embed and session
17
- async getChat(embedUuid: string, sessionUuid: string): Promise<unknown>
18
-
19
- // Create a new embed configuration
20
- async createEmbed(body?: Record<string, unknown>): Promise<unknown>
21
-
22
- // Update an existing embed configuration
23
- async updateEmbed(embedUuid: string, body?: Record<string, unknown>): Promise<unknown>
24
-
25
- // Delete an existing embed configuration
26
- async deleteEmbed(embedUuid: string): Promise<unknown>
27
- ```
@@ -1,21 +0,0 @@
1
- # sdk.v1.openAI — v1 Open A I
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1OpenAIModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Get all available "models" which are workspaces you can use for chatting.
11
- async listModels(): Promise<unknown>
12
-
13
- // Execute a chat with a workspace with OpenAI compatibility. Supports streaming as well. Model must be a workspace slug from /models.
14
- async chatCompletions(body?: Record<string, unknown>): Promise<unknown>
15
-
16
- // Get the embeddings of any arbitrary text string. This will use the embedder provider set in the system. Please ensure the token length of each string fits within the context of your embedder model.
17
- async createEmbedding(body?: Record<string, unknown>): Promise<unknown>
18
-
19
- // List all the vector database collections connected to RealTimeX. These are essentially workspaces but return their unique vector db identifier - this is the same as the workspace slug.
20
- async listVectorStores(): Promise<unknown>
21
- ```
@@ -1,12 +0,0 @@
1
- # sdk.v1.sttApi — v1 Stt Api
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1SttApiModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // @see POST /v1/stt/groq/transcribe
11
- async groqTranscribe(body?: Record<string, unknown>): Promise<unknown>
12
- ```
@@ -1,36 +0,0 @@
1
- # sdk.v1.system — v1 System
2
-
3
- > Auto-generated from `@realtimex/sdk` source · v**1.7.28** · 2026-06-02
4
-
5
- ## `V1SystemModule`
6
-
7
- ### Methods
8
-
9
- ```ts
10
- // Dump all settings to file storage
11
- async getEnvDump(): Promise<unknown>
12
-
13
- // Get all current system settings that are defined.
14
- async getSystem(): Promise<unknown>
15
-
16
- // Number of all vectors in connected vector database
17
- async getVectorCount(): Promise<unknown>
18
-
19
- // Update a system setting or preference.
20
- async updateEnv(body?: Record<string, unknown>): Promise<unknown>
21
-
22
- // Export all of the chats from the system in a known format. Output depends on the type sent. Will be send with the correct header for the output.
23
- async listExportChats(): Promise<unknown>
24
-
25
- // Permanently remove documents from the system.
26
- async deleteRemoveDocument(): Promise<unknown>
27
-
28
- // Returns a health check object with server uptime and version.
29
- async getHealth(): Promise<unknown>
30
-
31
- // Returns a health check object with server uptime and version.
32
- async getHealthVersion2(): Promise<unknown>
33
-
34
- // Returns a health check object with server uptime and version.
35
- async getHealthVersion3(): Promise<unknown>
36
- ```