@realtimex/sdk 1.7.28 → 2.0.2

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-DZUAP6FW.mjs +598 -0
  2. package/dist/errors-DwEt8WYf.d.mts +399 -0
  3. package/dist/errors-DwEt8WYf.d.ts +399 -0
  4. package/dist/index.d.mts +8 -2048
  5. package/dist/index.d.ts +8 -2048
  6. package/dist/index.js +308 -4537
  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 +255 -681
  11. package/dist/v1/index.mjs +4 -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
@@ -0,0 +1,399 @@
1
+ /**
2
+ * DeveloperApiClient - HTTP client for the RealtimeX v1 Developer API.
3
+ *
4
+ * Supports two authentication modes:
5
+ * - API Key: Authorization: Bearer <apiKey>
6
+ * - App ID: x-app-id header (for LocalApp / SDK agent authentication)
7
+ *
8
+ * When both are provided, x-app-id takes priority on the server side.
9
+ */
10
+ declare class DeveloperApiClient {
11
+ private readonly baseUrl;
12
+ private readonly apiKey;
13
+ private readonly appId?;
14
+ constructor(baseUrl: string, apiKey: string, appId?: string);
15
+ private getHeaders;
16
+ private handleResponse;
17
+ /**
18
+ * Make a JSON request to the v1 API.
19
+ */
20
+ request<T = unknown>(method: string, path: string, body?: unknown): Promise<T>;
21
+ /**
22
+ * Make a multipart/form-data request (e.g. file uploads).
23
+ * Do NOT set Content-Type — browser/fetch will set it with the boundary.
24
+ */
25
+ requestMultipart<T = unknown>(method: string, path: string, form: FormData): Promise<T>;
26
+ /**
27
+ * Make a raw request and return the Response object directly.
28
+ * Used for streaming (SSE) endpoints.
29
+ */
30
+ requestRaw(method: string, path: string, body?: unknown): Promise<Response>;
31
+ }
32
+
33
+ declare class V1ChatModule {
34
+ private readonly client;
35
+ constructor(client: DeveloperApiClient);
36
+ /**
37
+ * Stream a chat response for a workspace default thread.
38
+ * @see POST /v1/workspace/{slug}/stream-chat
39
+ */
40
+ streamWorkspaceChat(slug: string, body?: Record<string, unknown>): Promise<Response>;
41
+ /**
42
+ * Stream a chat response for a workspace thread.
43
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/stream-chat
44
+ */
45
+ streamThreadChat(slug: string, threadSlug: string, body?: Record<string, unknown>): Promise<Response>;
46
+ }
47
+
48
+ declare class V1WorkspaceModule {
49
+ private readonly client;
50
+ constructor(client: DeveloperApiClient);
51
+ /**
52
+ * List workspaces using the app workspace list behavior.
53
+ * @see GET /v1/workspaces
54
+ */
55
+ listWorkspaces(): Promise<unknown>;
56
+ /**
57
+ * Create a workspace using the app workspace creation behavior.
58
+ * @see POST /v1/workspace/new
59
+ */
60
+ createWorkspace(body?: Record<string, unknown>): Promise<unknown>;
61
+ /**
62
+ * Search workspaces and threads.
63
+ * @see POST /v1/workspace/search
64
+ */
65
+ searchWorkspaces(body?: Record<string, unknown>): Promise<unknown>;
66
+ /**
67
+ * Get a workspace by slug.
68
+ * @see GET /v1/workspace/{slug}
69
+ */
70
+ getWorkspace(slug: string): Promise<unknown>;
71
+ /**
72
+ * Delete a workspace.
73
+ * @see DELETE /v1/workspace/{slug}
74
+ */
75
+ deleteWorkspace(slug: string): Promise<unknown>;
76
+ /**
77
+ * Get document content for a workspace document.
78
+ * @see GET /v1/workspace/{slug}/document/{docPath}
79
+ */
80
+ getWorkspaceDocument(slug: string, docPath: string): Promise<unknown>;
81
+ /**
82
+ * Get or create workspace config.
83
+ * @see GET /v1/workspace/{slug}/config
84
+ */
85
+ getWorkspaceConfig(slug: string): Promise<unknown>;
86
+ /**
87
+ * Update workspace config.
88
+ * @see POST /v1/workspace/{slug}/config
89
+ */
90
+ updateWorkspaceConfig(slug: string, body?: Record<string, unknown>): Promise<unknown>;
91
+ /**
92
+ * Update workspace settings by slug.
93
+ * @see POST /v1/workspace/{slug}/update
94
+ */
95
+ updateWorkspace(slug: string, body?: Record<string, unknown>): Promise<unknown>;
96
+ /**
97
+ * Generate a local LLM tuning suggestion.
98
+ * @see POST /v1/workspace/{slug}/local-llm-tuning-suggestion
99
+ */
100
+ suggestWorkspaceLocalLlmTuning(slug: string, body?: Record<string, unknown>): Promise<unknown>;
101
+ /**
102
+ * Upload a document to workspace documents.
103
+ * @see POST /v1/workspace/{slug}/upload
104
+ */
105
+ uploadWorkspaceDocument(slug: string, form: FormData): Promise<unknown>;
106
+ /**
107
+ * Upload a link to workspace documents.
108
+ * @see POST /v1/workspace/{slug}/upload-link
109
+ */
110
+ uploadWorkspaceLink(slug: string, body?: Record<string, unknown>): Promise<unknown>;
111
+ /**
112
+ * Update workspace document embeddings.
113
+ * @see POST /v1/workspace/{slug}/update-embeddings
114
+ */
115
+ updateWorkspaceEmbeddings(slug: string, body?: Record<string, unknown>): Promise<unknown>;
116
+ /**
117
+ * Reset workspace vector database records.
118
+ * @see DELETE /v1/workspace/{slug}/reset-vector-db
119
+ */
120
+ resetWorkspaceVectorDb(slug: string): Promise<unknown>;
121
+ /**
122
+ * Get workspace LLM provider metadata.
123
+ * @see GET /v1/workspace/{slug}/llm-provider
124
+ */
125
+ getWorkspaceLlmProvider(slug: string): Promise<unknown>;
126
+ /**
127
+ * Get workspace vision availability.
128
+ * @see GET /v1/workspace/{slug}/vision-availability
129
+ */
130
+ getWorkspaceVisionAvailability(slug: string): Promise<unknown>;
131
+ /**
132
+ * Get workspace chats.
133
+ * @see GET /v1/workspace/{slug}/chats
134
+ */
135
+ getWorkspaceChats(slug: string): Promise<unknown>;
136
+ /**
137
+ * Get workspace terminal session details.
138
+ * @see GET /v1/workspace/{slug}/terminal-session-details
139
+ */
140
+ getWorkspaceTerminalSessionDetails(slug: string): Promise<unknown>;
141
+ /**
142
+ * Persist terminal UI events.
143
+ * @see POST /v1/workspace/{slug}/terminal-ui-events
144
+ */
145
+ persistWorkspaceTerminalUiEvents(slug: string, body?: Record<string, unknown>): Promise<unknown>;
146
+ /**
147
+ * Persist a linked terminal message.
148
+ * @see POST /v1/workspace/{slug}/linked-terminal-message
149
+ */
150
+ createWorkspaceLinkedTerminalMessage(slug: string, body?: Record<string, unknown>): Promise<unknown>;
151
+ /**
152
+ * Delete selected workspace chats.
153
+ * @see DELETE /v1/workspace/{slug}/delete-chats
154
+ */
155
+ deleteWorkspaceChats(slug: string, body?: Record<string, unknown>): Promise<unknown>;
156
+ /**
157
+ * Delete edited workspace chats from a starting id.
158
+ * @see DELETE /v1/workspace/{slug}/delete-edited-chats
159
+ */
160
+ deleteEditedWorkspaceChats(slug: string, body?: Record<string, unknown>): Promise<unknown>;
161
+ /**
162
+ * Update a workspace chat response.
163
+ * @see POST /v1/workspace/{slug}/update-chat
164
+ */
165
+ updateWorkspaceChat(slug: string, body?: Record<string, unknown>): Promise<unknown>;
166
+ /**
167
+ * Update workspace chat feedback.
168
+ * @see POST /v1/workspace/{slug}/chat-feedback/{chatId}
169
+ */
170
+ updateWorkspaceChatFeedback(slug: string, chatId: string, body?: Record<string, unknown>): Promise<unknown>;
171
+ /**
172
+ * Get suggested messages for a workspace.
173
+ * @see GET /v1/workspace/{slug}/suggested-messages
174
+ */
175
+ getWorkspaceSuggestedMessages(slug: string): Promise<unknown>;
176
+ /**
177
+ * Save suggested messages for a workspace.
178
+ * @see POST /v1/workspace/{slug}/suggested-messages
179
+ */
180
+ saveWorkspaceSuggestedMessages(slug: string, body?: Record<string, unknown>): Promise<unknown>;
181
+ /**
182
+ * Update workspace document pin status.
183
+ * @see POST /v1/workspace/{slug}/update-pin
184
+ */
185
+ updateWorkspaceDocumentPin(slug: string, body?: Record<string, unknown>): Promise<unknown>;
186
+ /**
187
+ * Generate text-to-speech audio for a workspace chat.
188
+ * @see GET /v1/workspace/{slug}/tts/{chatId}
189
+ */
190
+ getWorkspaceChatTts(slug: string, chatId: string): Promise<unknown>;
191
+ /**
192
+ * Get a workspace profile picture.
193
+ * @see GET /v1/workspace/{slug}/pfp
194
+ */
195
+ getWorkspaceProfilePicture(slug: string): Promise<unknown>;
196
+ /**
197
+ * Upload a workspace profile picture.
198
+ * @see POST /v1/workspace/{slug}/upload-pfp
199
+ */
200
+ uploadWorkspaceProfilePicture(slug: string, form: FormData): Promise<unknown>;
201
+ /**
202
+ * Remove a workspace profile picture.
203
+ * @see DELETE /v1/workspace/{slug}/remove-pfp
204
+ */
205
+ removeWorkspaceProfilePicture(slug: string): Promise<unknown>;
206
+ /**
207
+ * Fork the workspace default thread.
208
+ * @see POST /v1/workspace/{slug}/thread/fork
209
+ */
210
+ forkThread(slug: string, body?: Record<string, unknown>): Promise<unknown>;
211
+ /**
212
+ * Hide a workspace chat.
213
+ * @see PUT /v1/workspace/workspace-chats/{id}
214
+ */
215
+ hideWorkspaceChat(id: string): Promise<unknown>;
216
+ /**
217
+ * Upload and embed a document.
218
+ * @see POST /v1/workspace/{slug}/upload-and-embed
219
+ */
220
+ uploadAndEmbedWorkspaceDocument(slug: string, form: FormData): Promise<unknown>;
221
+ /**
222
+ * Remove and unembed a document.
223
+ * @see DELETE /v1/workspace/{slug}/remove-and-unembed
224
+ */
225
+ removeAndUnembedWorkspaceDocument(slug: string, body?: Record<string, unknown>): Promise<unknown>;
226
+ /**
227
+ * Get workspace prompt history.
228
+ * @see GET /v1/workspace/{slug}/prompt-history
229
+ */
230
+ getWorkspacePromptHistory(slug: string): Promise<unknown>;
231
+ /**
232
+ * Clear workspace prompt history.
233
+ * @see DELETE /v1/workspace/{slug}/prompt-history
234
+ */
235
+ deleteWorkspacePromptHistory(slug: string): Promise<unknown>;
236
+ /**
237
+ * Delete a workspace prompt history entry.
238
+ * @see DELETE /v1/workspace/{slug}/prompt-history/{id}
239
+ */
240
+ deleteWorkspacePromptHistoryEntry(slug: string, id: string): Promise<unknown>;
241
+ /**
242
+ * Validate search provider configuration.
243
+ * @see POST /v1/workspace/{slug}/search/validate
244
+ */
245
+ validateWorkspaceSearchProvider(slug: string, body?: Record<string, unknown>): Promise<unknown>;
246
+ }
247
+
248
+ declare class V1ThreadModule {
249
+ private readonly client;
250
+ constructor(client: DeveloperApiClient);
251
+ /**
252
+ * Create a workspace thread.
253
+ * @see POST /v1/workspace/{slug}/thread/new
254
+ */
255
+ createThread(slug: string): Promise<unknown>;
256
+ /**
257
+ * List workspace threads.
258
+ * @see GET /v1/workspace/{slug}/threads
259
+ */
260
+ listThreads(slug: string): Promise<unknown>;
261
+ /**
262
+ * Open an SSE stream for workspace thread events.
263
+ * @see GET /v1/workspace/{slug}/thread-events
264
+ */
265
+ openThreadEventsStream(slug: string): Promise<unknown>;
266
+ /**
267
+ * Get a workspace thread.
268
+ * @see GET /v1/workspace/{slug}/thread/{threadSlug}
269
+ */
270
+ getThread(slug: string, threadSlug: string): Promise<unknown>;
271
+ /**
272
+ * Delete a workspace thread.
273
+ * @see DELETE /v1/workspace/{slug}/thread/{threadSlug}
274
+ */
275
+ deleteThread(slug: string, threadSlug: string): Promise<unknown>;
276
+ /**
277
+ * Get thread vision availability.
278
+ * @see GET /v1/workspace/{slug}/thread/{threadSlug}/vision-availability
279
+ */
280
+ getThreadVisionAvailability(slug: string, threadSlug: string): Promise<unknown>;
281
+ /**
282
+ * Promote a thread into a tracked goal.
283
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/goal
284
+ */
285
+ createThreadGoal(slug: string, threadSlug: string, body?: Record<string, unknown>): Promise<unknown>;
286
+ /**
287
+ * Draft a terminal goal for a workspace.
288
+ * @see POST /v1/workspace/{slug}/terminal-goal-draft
289
+ */
290
+ draftWorkspaceTerminalGoal(slug: string, body?: Record<string, unknown>): Promise<unknown>;
291
+ /**
292
+ * Create a terminal goal for a workspace.
293
+ * @see POST /v1/workspace/{slug}/terminal-goal
294
+ */
295
+ createWorkspaceTerminalGoal(slug: string, body?: Record<string, unknown>): Promise<unknown>;
296
+ /**
297
+ * Draft a terminal goal for a workspace thread.
298
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/terminal-goal-draft
299
+ */
300
+ draftThreadTerminalGoal(slug: string, threadSlug: string, body?: Record<string, unknown>): Promise<unknown>;
301
+ /**
302
+ * Create a terminal goal for a workspace thread.
303
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/terminal-goal
304
+ */
305
+ createThreadTerminalGoal(slug: string, threadSlug: string, body?: Record<string, unknown>): Promise<unknown>;
306
+ /**
307
+ * Bulk delete workspace threads.
308
+ * @see DELETE /v1/workspace/{slug}/thread-bulk-delete
309
+ */
310
+ bulkDeleteThreads(slug: string, body?: Record<string, unknown>): Promise<unknown>;
311
+ /**
312
+ * Get workspace thread chats.
313
+ * @see GET /v1/workspace/{slug}/thread/{threadSlug}/chats
314
+ */
315
+ getThreadChats(slug: string, threadSlug: string): Promise<unknown>;
316
+ /**
317
+ * Get thread terminal session details.
318
+ * @see GET /v1/workspace/{slug}/thread/{threadSlug}/terminal-session-details
319
+ */
320
+ getThreadTerminalSessionDetails(slug: string, threadSlug: string): Promise<unknown>;
321
+ /**
322
+ * Update a workspace thread.
323
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/update
324
+ */
325
+ updateThread(slug: string, threadSlug: string, body?: Record<string, unknown>): Promise<unknown>;
326
+ /**
327
+ * Delete edited chats from a thread.
328
+ * @see DELETE /v1/workspace/{slug}/thread/{threadSlug}/delete-edited-chats
329
+ */
330
+ deleteEditedThreadChats(slug: string, threadSlug: string, body?: Record<string, unknown>): Promise<unknown>;
331
+ /**
332
+ * Update a thread chat response.
333
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/update-chat
334
+ */
335
+ updateThreadChat(slug: string, threadSlug: string, body?: Record<string, unknown>): Promise<unknown>;
336
+ /**
337
+ * Persist terminal UI events for a workspace thread.
338
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/terminal-ui-events
339
+ */
340
+ persistThreadTerminalUiEvents(slug: string, threadSlug: string, body?: Record<string, unknown>): Promise<unknown>;
341
+ /**
342
+ * Persist a linked terminal message for a workspace thread.
343
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/linked-terminal-message
344
+ */
345
+ createThreadLinkedTerminalMessage(slug: string, threadSlug: string, body?: Record<string, unknown>): Promise<unknown>;
346
+ /**
347
+ * Coordinate a task into a workspace thread.
348
+ * @see POST /v1/workspace/{slug}/thread/coordinate-task
349
+ */
350
+ coordinateThreadTask(slug: string, body?: Record<string, unknown>): Promise<unknown>;
351
+ /**
352
+ * Open an SSE stream for external workspace thread chat events.
353
+ * @see GET /v1/workspace/{slug}/thread/{threadSlug}/chat-stream
354
+ */
355
+ openThreadChatStream(slug: string, threadSlug: string): Promise<unknown>;
356
+ }
357
+
358
+ /**
359
+ * V1ApiNamespace - Container for all RealtimeX Developer API (v1) modules.
360
+ *
361
+ * Usage:
362
+ * const sdk = new RealtimeXSDK({ realtimex: { apiKey: 'sk-...' } });
363
+ * await sdk.v1?.workspace.listWorkspaces();
364
+ * await sdk.v1?.thread.createThread('workspace-slug');
365
+ *
366
+ * Regenerate modules: node scripts/generate-v1-sdk.mjs --force
367
+ */
368
+
369
+ declare class V1ApiNamespace {
370
+ /** @internal Shared HTTP client used by all v1 modules */
371
+ readonly _client: DeveloperApiClient;
372
+ chat: V1ChatModule;
373
+ workspace: V1WorkspaceModule;
374
+ thread: V1ThreadModule;
375
+ constructor(baseUrl: string, apiKey: string, appId?: string);
376
+ }
377
+
378
+ /**
379
+ * RealtimeX SDK - Developer API (v1) Error Classes
380
+ */
381
+ declare class DeveloperApiError extends Error {
382
+ readonly status: number;
383
+ readonly code: string;
384
+ constructor(status: number, code: string, message: string);
385
+ }
386
+ declare class AuthenticationError extends DeveloperApiError {
387
+ constructor(message?: string);
388
+ }
389
+ declare class NotFoundError extends DeveloperApiError {
390
+ constructor(message?: string);
391
+ }
392
+ declare class ValidationError extends DeveloperApiError {
393
+ constructor(message: string);
394
+ }
395
+ declare class ServerError extends DeveloperApiError {
396
+ constructor(message?: string);
397
+ }
398
+
399
+ export { AuthenticationError as A, DeveloperApiClient as D, NotFoundError as N, ServerError as S, V1ApiNamespace as V, DeveloperApiError as a, ValidationError as b, V1ChatModule as c, V1WorkspaceModule as d, V1ThreadModule as e };