@realtimex/sdk 2.0.1 → 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.
package/dist/index.js CHANGED
@@ -146,88 +146,309 @@ var DeveloperApiClient = class {
146
146
  }
147
147
  };
148
148
 
149
+ // src/v1/modules/v1Chat.ts
150
+ var V1ChatModule = class {
151
+ constructor(client) {
152
+ this.client = client;
153
+ }
154
+ /**
155
+ * Stream a chat response for a workspace default thread.
156
+ * @see POST /v1/workspace/{slug}/stream-chat
157
+ */
158
+ // @streaming-stub — implement SSE parsing in overrides/v1ChatStreaming.ts
159
+ async streamWorkspaceChat(slug, body) {
160
+ return this.client.requestRaw("POST", `/v1/workspace/${slug}/stream-chat`, body);
161
+ }
162
+ /**
163
+ * Stream a chat response for a workspace thread.
164
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/stream-chat
165
+ */
166
+ // @streaming-stub — implement SSE parsing in overrides/v1ChatStreaming.ts
167
+ async streamThreadChat(slug, threadSlug, body) {
168
+ return this.client.requestRaw("POST", `/v1/workspace/${slug}/thread/${threadSlug}/stream-chat`, body);
169
+ }
170
+ };
171
+
149
172
  // src/v1/modules/v1Workspace.ts
150
173
  var V1WorkspaceModule = class {
151
174
  constructor(client) {
152
175
  this.client = client;
153
176
  }
154
177
  /**
155
- * Create a new workspace
178
+ * List workspaces using the app workspace list behavior.
179
+ * @see GET /v1/workspaces
180
+ */
181
+ async listWorkspaces() {
182
+ return this.client.request("GET", `/v1/workspaces`);
183
+ }
184
+ /**
185
+ * Create a workspace using the app workspace creation behavior.
156
186
  * @see POST /v1/workspace/new
157
187
  */
158
188
  async createWorkspace(body) {
159
189
  return this.client.request("POST", `/v1/workspace/new`, body);
160
190
  }
161
191
  /**
162
- * List all current workspaces
163
- * @see GET /v1/workspaces
192
+ * Search workspaces and threads.
193
+ * @see POST /v1/workspace/search
164
194
  */
165
- async listWorkspaces() {
166
- return this.client.request("GET", `/v1/workspaces`);
195
+ async searchWorkspaces(body) {
196
+ return this.client.request("POST", `/v1/workspace/search`, body);
167
197
  }
168
198
  /**
169
- * Get a workspace by its unique slug.
199
+ * Get a workspace by slug.
170
200
  * @see GET /v1/workspace/{slug}
171
201
  */
172
202
  async getWorkspace(slug) {
173
203
  return this.client.request("GET", `/v1/workspace/${slug}`);
174
204
  }
175
205
  /**
176
- * Deletes a workspace by its slug.
206
+ * Delete a workspace.
177
207
  * @see DELETE /v1/workspace/{slug}
178
208
  */
179
209
  async deleteWorkspace(slug) {
180
210
  return this.client.request("DELETE", `/v1/workspace/${slug}`);
181
211
  }
182
212
  /**
183
- * Update workspace settings by its unique slug.
213
+ * Get document content for a workspace document.
214
+ * @see GET /v1/workspace/{slug}/document/{docPath}
215
+ */
216
+ async getWorkspaceDocument(slug, docPath) {
217
+ return this.client.request("GET", `/v1/workspace/${slug}/document/${docPath}`);
218
+ }
219
+ /**
220
+ * Get or create workspace config.
221
+ * @see GET /v1/workspace/{slug}/config
222
+ */
223
+ async getWorkspaceConfig(slug) {
224
+ return this.client.request("GET", `/v1/workspace/${slug}/config`);
225
+ }
226
+ /**
227
+ * Update workspace config.
228
+ * @see POST /v1/workspace/{slug}/config
229
+ */
230
+ async updateWorkspaceConfig(slug, body) {
231
+ return this.client.request("POST", `/v1/workspace/${slug}/config`, body);
232
+ }
233
+ /**
234
+ * Update workspace settings by slug.
184
235
  * @see POST /v1/workspace/{slug}/update
185
236
  */
186
237
  async updateWorkspace(slug, body) {
187
238
  return this.client.request("POST", `/v1/workspace/${slug}/update`, body);
188
239
  }
189
240
  /**
190
- * Get a workspaces chats regardless of user by its unique slug.
191
- * @see GET /v1/workspace/{slug}/chats
241
+ * Generate a local LLM tuning suggestion.
242
+ * @see POST /v1/workspace/{slug}/local-llm-tuning-suggestion
192
243
  */
193
- async listChats(slug) {
194
- return this.client.request("GET", `/v1/workspace/${slug}/chats`);
244
+ async suggestWorkspaceLocalLlmTuning(slug, body) {
245
+ return this.client.request("POST", `/v1/workspace/${slug}/local-llm-tuning-suggestion`, body);
246
+ }
247
+ /**
248
+ * Upload a document to workspace documents.
249
+ * @see POST /v1/workspace/{slug}/upload
250
+ */
251
+ // @upload-stub — multipart upload; wire form manually or use helper
252
+ async uploadWorkspaceDocument(slug, form) {
253
+ return this.client.requestMultipart("POST", `/v1/workspace/${slug}/upload`, form);
254
+ }
255
+ /**
256
+ * Upload a link to workspace documents.
257
+ * @see POST /v1/workspace/{slug}/upload-link
258
+ */
259
+ async uploadWorkspaceLink(slug, body) {
260
+ return this.client.request("POST", `/v1/workspace/${slug}/upload-link`, body);
195
261
  }
196
262
  /**
197
- * Add or remove documents from a workspace by its unique slug.
263
+ * Update workspace document embeddings.
198
264
  * @see POST /v1/workspace/{slug}/update-embeddings
199
265
  */
200
- async updateEmbeddings(slug, body) {
266
+ async updateWorkspaceEmbeddings(slug, body) {
201
267
  return this.client.request("POST", `/v1/workspace/${slug}/update-embeddings`, body);
202
268
  }
203
269
  /**
204
- * Add or remove pin from a document in a workspace by its unique slug.
270
+ * Reset workspace vector database records.
271
+ * @see DELETE /v1/workspace/{slug}/reset-vector-db
272
+ */
273
+ async resetWorkspaceVectorDb(slug) {
274
+ return this.client.request("DELETE", `/v1/workspace/${slug}/reset-vector-db`);
275
+ }
276
+ /**
277
+ * Get workspace LLM provider metadata.
278
+ * @see GET /v1/workspace/{slug}/llm-provider
279
+ */
280
+ async getWorkspaceLlmProvider(slug) {
281
+ return this.client.request("GET", `/v1/workspace/${slug}/llm-provider`);
282
+ }
283
+ /**
284
+ * Get workspace vision availability.
285
+ * @see GET /v1/workspace/{slug}/vision-availability
286
+ */
287
+ async getWorkspaceVisionAvailability(slug) {
288
+ return this.client.request("GET", `/v1/workspace/${slug}/vision-availability`);
289
+ }
290
+ /**
291
+ * Get workspace chats.
292
+ * @see GET /v1/workspace/{slug}/chats
293
+ */
294
+ async getWorkspaceChats(slug) {
295
+ return this.client.request("GET", `/v1/workspace/${slug}/chats`);
296
+ }
297
+ /**
298
+ * Get workspace terminal session details.
299
+ * @see GET /v1/workspace/{slug}/terminal-session-details
300
+ */
301
+ async getWorkspaceTerminalSessionDetails(slug) {
302
+ return this.client.request("GET", `/v1/workspace/${slug}/terminal-session-details`);
303
+ }
304
+ /**
305
+ * Persist terminal UI events.
306
+ * @see POST /v1/workspace/{slug}/terminal-ui-events
307
+ */
308
+ async persistWorkspaceTerminalUiEvents(slug, body) {
309
+ return this.client.request("POST", `/v1/workspace/${slug}/terminal-ui-events`, body);
310
+ }
311
+ /**
312
+ * Persist a linked terminal message.
313
+ * @see POST /v1/workspace/{slug}/linked-terminal-message
314
+ */
315
+ async createWorkspaceLinkedTerminalMessage(slug, body) {
316
+ return this.client.request("POST", `/v1/workspace/${slug}/linked-terminal-message`, body);
317
+ }
318
+ /**
319
+ * Delete selected workspace chats.
320
+ * @see DELETE /v1/workspace/{slug}/delete-chats
321
+ */
322
+ async deleteWorkspaceChats(slug, body) {
323
+ return this.client.request("DELETE", `/v1/workspace/${slug}/delete-chats`, body);
324
+ }
325
+ /**
326
+ * Delete edited workspace chats from a starting id.
327
+ * @see DELETE /v1/workspace/{slug}/delete-edited-chats
328
+ */
329
+ async deleteEditedWorkspaceChats(slug, body) {
330
+ return this.client.request("DELETE", `/v1/workspace/${slug}/delete-edited-chats`, body);
331
+ }
332
+ /**
333
+ * Update a workspace chat response.
334
+ * @see POST /v1/workspace/{slug}/update-chat
335
+ */
336
+ async updateWorkspaceChat(slug, body) {
337
+ return this.client.request("POST", `/v1/workspace/${slug}/update-chat`, body);
338
+ }
339
+ /**
340
+ * Update workspace chat feedback.
341
+ * @see POST /v1/workspace/{slug}/chat-feedback/{chatId}
342
+ */
343
+ async updateWorkspaceChatFeedback(slug, chatId, body) {
344
+ return this.client.request("POST", `/v1/workspace/${slug}/chat-feedback/${chatId}`, body);
345
+ }
346
+ /**
347
+ * Get suggested messages for a workspace.
348
+ * @see GET /v1/workspace/{slug}/suggested-messages
349
+ */
350
+ async getWorkspaceSuggestedMessages(slug) {
351
+ return this.client.request("GET", `/v1/workspace/${slug}/suggested-messages`);
352
+ }
353
+ /**
354
+ * Save suggested messages for a workspace.
355
+ * @see POST /v1/workspace/{slug}/suggested-messages
356
+ */
357
+ async saveWorkspaceSuggestedMessages(slug, body) {
358
+ return this.client.request("POST", `/v1/workspace/${slug}/suggested-messages`, body);
359
+ }
360
+ /**
361
+ * Update workspace document pin status.
205
362
  * @see POST /v1/workspace/{slug}/update-pin
206
363
  */
207
- async updatePin(slug, body) {
364
+ async updateWorkspaceDocumentPin(slug, body) {
208
365
  return this.client.request("POST", `/v1/workspace/${slug}/update-pin`, body);
209
366
  }
210
367
  /**
211
- * Execute a chat with a workspace
212
- * @see POST /v1/workspace/{slug}/chat
368
+ * Generate text-to-speech audio for a workspace chat.
369
+ * @see GET /v1/workspace/{slug}/tts/{chatId}
213
370
  */
214
- async chat(slug, body) {
215
- return this.client.request("POST", `/v1/workspace/${slug}/chat`, body);
371
+ async getWorkspaceChatTts(slug, chatId) {
372
+ return this.client.request("GET", `/v1/workspace/${slug}/tts/${chatId}`);
216
373
  }
217
374
  /**
218
- * Execute a streamable chat with a workspace
219
- * @see POST /v1/workspace/{slug}/stream-chat
375
+ * Get a workspace profile picture.
376
+ * @see GET /v1/workspace/{slug}/pfp
220
377
  */
221
- // @streaming-stub — implement SSE parsing in overrides/v1WorkspaceStreaming.ts
222
- async streamChat(slug, body) {
223
- return this.client.requestRaw("POST", `/v1/workspace/${slug}/stream-chat`, body);
378
+ async getWorkspaceProfilePicture(slug) {
379
+ return this.client.request("GET", `/v1/workspace/${slug}/pfp`);
380
+ }
381
+ /**
382
+ * Upload a workspace profile picture.
383
+ * @see POST /v1/workspace/{slug}/upload-pfp
384
+ */
385
+ // @upload-stub — multipart upload; wire form manually or use helper
386
+ async uploadWorkspaceProfilePicture(slug, form) {
387
+ return this.client.requestMultipart("POST", `/v1/workspace/${slug}/upload-pfp`, form);
388
+ }
389
+ /**
390
+ * Remove a workspace profile picture.
391
+ * @see DELETE /v1/workspace/{slug}/remove-pfp
392
+ */
393
+ async removeWorkspaceProfilePicture(slug) {
394
+ return this.client.request("DELETE", `/v1/workspace/${slug}/remove-pfp`);
395
+ }
396
+ /**
397
+ * Fork the workspace default thread.
398
+ * @see POST /v1/workspace/{slug}/thread/fork
399
+ */
400
+ async forkThread(slug, body) {
401
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/fork`, body);
224
402
  }
225
403
  /**
226
- * Perform a vector similarity search in a workspace
227
- * @see POST /v1/workspace/{slug}/vector-search
404
+ * Hide a workspace chat.
405
+ * @see PUT /v1/workspace/workspace-chats/{id}
228
406
  */
229
- async vectorSearch(slug, body) {
230
- return this.client.request("POST", `/v1/workspace/${slug}/vector-search`, body);
407
+ async hideWorkspaceChat(id) {
408
+ return this.client.request("PUT", `/v1/workspace/workspace-chats/${id}`);
409
+ }
410
+ /**
411
+ * Upload and embed a document.
412
+ * @see POST /v1/workspace/{slug}/upload-and-embed
413
+ */
414
+ // @upload-stub — multipart upload; wire form manually or use helper
415
+ async uploadAndEmbedWorkspaceDocument(slug, form) {
416
+ return this.client.requestMultipart("POST", `/v1/workspace/${slug}/upload-and-embed`, form);
417
+ }
418
+ /**
419
+ * Remove and unembed a document.
420
+ * @see DELETE /v1/workspace/{slug}/remove-and-unembed
421
+ */
422
+ async removeAndUnembedWorkspaceDocument(slug, body) {
423
+ return this.client.request("DELETE", `/v1/workspace/${slug}/remove-and-unembed`, body);
424
+ }
425
+ /**
426
+ * Get workspace prompt history.
427
+ * @see GET /v1/workspace/{slug}/prompt-history
428
+ */
429
+ async getWorkspacePromptHistory(slug) {
430
+ return this.client.request("GET", `/v1/workspace/${slug}/prompt-history`);
431
+ }
432
+ /**
433
+ * Clear workspace prompt history.
434
+ * @see DELETE /v1/workspace/{slug}/prompt-history
435
+ */
436
+ async deleteWorkspacePromptHistory(slug) {
437
+ return this.client.request("DELETE", `/v1/workspace/${slug}/prompt-history`);
438
+ }
439
+ /**
440
+ * Delete a workspace prompt history entry.
441
+ * @see DELETE /v1/workspace/{slug}/prompt-history/{id}
442
+ */
443
+ async deleteWorkspacePromptHistoryEntry(slug, id) {
444
+ return this.client.request("DELETE", `/v1/workspace/${slug}/prompt-history/${id}`);
445
+ }
446
+ /**
447
+ * Validate search provider configuration.
448
+ * @see POST /v1/workspace/{slug}/search/validate
449
+ */
450
+ async validateWorkspaceSearchProvider(slug, body) {
451
+ return this.client.request("POST", `/v1/workspace/${slug}/search/validate`, body);
231
452
  }
232
453
  };
233
454
 
@@ -237,47 +458,151 @@ var V1ThreadModule = class {
237
458
  this.client = client;
238
459
  }
239
460
  /**
240
- * Create a new workspace thread
461
+ * Create a workspace thread.
241
462
  * @see POST /v1/workspace/{slug}/thread/new
242
463
  */
243
- async createThread(slug, body) {
244
- return this.client.request("POST", `/v1/workspace/${slug}/thread/new`, body);
464
+ async createThread(slug) {
465
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/new`);
245
466
  }
246
467
  /**
247
- * Update thread settings by its unique slug.
248
- * @see POST /v1/workspace/{slug}/thread/{threadSlug}/update
468
+ * List workspace threads.
469
+ * @see GET /v1/workspace/{slug}/threads
249
470
  */
250
- async updateThread(slug, threadSlug, body) {
251
- return this.client.request("POST", `/v1/workspace/${slug}/thread/${threadSlug}/update`, body);
471
+ async listThreads(slug) {
472
+ return this.client.request("GET", `/v1/workspace/${slug}/threads`);
473
+ }
474
+ /**
475
+ * Open an SSE stream for workspace thread events.
476
+ * @see GET /v1/workspace/{slug}/thread-events
477
+ */
478
+ async openThreadEventsStream(slug) {
479
+ return this.client.request("GET", `/v1/workspace/${slug}/thread-events`);
480
+ }
481
+ /**
482
+ * Get a workspace thread.
483
+ * @see GET /v1/workspace/{slug}/thread/{threadSlug}
484
+ */
485
+ async getThread(slug, threadSlug) {
486
+ return this.client.request("GET", `/v1/workspace/${slug}/thread/${threadSlug}`);
252
487
  }
253
488
  /**
254
- * Delete a workspace thread
489
+ * Delete a workspace thread.
255
490
  * @see DELETE /v1/workspace/{slug}/thread/{threadSlug}
256
491
  */
257
492
  async deleteThread(slug, threadSlug) {
258
493
  return this.client.request("DELETE", `/v1/workspace/${slug}/thread/${threadSlug}`);
259
494
  }
260
495
  /**
261
- * Get chats for a workspace thread
496
+ * Get thread vision availability.
497
+ * @see GET /v1/workspace/{slug}/thread/{threadSlug}/vision-availability
498
+ */
499
+ async getThreadVisionAvailability(slug, threadSlug) {
500
+ return this.client.request("GET", `/v1/workspace/${slug}/thread/${threadSlug}/vision-availability`);
501
+ }
502
+ /**
503
+ * Promote a thread into a tracked goal.
504
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/goal
505
+ */
506
+ async createThreadGoal(slug, threadSlug, body) {
507
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/${threadSlug}/goal`, body);
508
+ }
509
+ /**
510
+ * Draft a terminal goal for a workspace.
511
+ * @see POST /v1/workspace/{slug}/terminal-goal-draft
512
+ */
513
+ async draftWorkspaceTerminalGoal(slug, body) {
514
+ return this.client.request("POST", `/v1/workspace/${slug}/terminal-goal-draft`, body);
515
+ }
516
+ /**
517
+ * Create a terminal goal for a workspace.
518
+ * @see POST /v1/workspace/{slug}/terminal-goal
519
+ */
520
+ async createWorkspaceTerminalGoal(slug, body) {
521
+ return this.client.request("POST", `/v1/workspace/${slug}/terminal-goal`, body);
522
+ }
523
+ /**
524
+ * Draft a terminal goal for a workspace thread.
525
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/terminal-goal-draft
526
+ */
527
+ async draftThreadTerminalGoal(slug, threadSlug, body) {
528
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/${threadSlug}/terminal-goal-draft`, body);
529
+ }
530
+ /**
531
+ * Create a terminal goal for a workspace thread.
532
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/terminal-goal
533
+ */
534
+ async createThreadTerminalGoal(slug, threadSlug, body) {
535
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/${threadSlug}/terminal-goal`, body);
536
+ }
537
+ /**
538
+ * Bulk delete workspace threads.
539
+ * @see DELETE /v1/workspace/{slug}/thread-bulk-delete
540
+ */
541
+ async bulkDeleteThreads(slug, body) {
542
+ return this.client.request("DELETE", `/v1/workspace/${slug}/thread-bulk-delete`, body);
543
+ }
544
+ /**
545
+ * Get workspace thread chats.
262
546
  * @see GET /v1/workspace/{slug}/thread/{threadSlug}/chats
263
547
  */
264
- async listChats(slug, threadSlug) {
548
+ async getThreadChats(slug, threadSlug) {
265
549
  return this.client.request("GET", `/v1/workspace/${slug}/thread/${threadSlug}/chats`);
266
550
  }
267
551
  /**
268
- * Chat with a workspace thread
269
- * @see POST /v1/workspace/{slug}/thread/{threadSlug}/chat
552
+ * Get thread terminal session details.
553
+ * @see GET /v1/workspace/{slug}/thread/{threadSlug}/terminal-session-details
270
554
  */
271
- async chat(slug, threadSlug, body) {
272
- return this.client.request("POST", `/v1/workspace/${slug}/thread/${threadSlug}/chat`, body);
555
+ async getThreadTerminalSessionDetails(slug, threadSlug) {
556
+ return this.client.request("GET", `/v1/workspace/${slug}/thread/${threadSlug}/terminal-session-details`);
273
557
  }
274
558
  /**
275
- * Stream chat with a workspace thread
276
- * @see POST /v1/workspace/{slug}/thread/{threadSlug}/stream-chat
559
+ * Update a workspace thread.
560
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/update
277
561
  */
278
- // @streaming-stub implement SSE parsing in overrides/v1ThreadStreaming.ts
279
- async streamChat(slug, threadSlug, body) {
280
- return this.client.requestRaw("POST", `/v1/workspace/${slug}/thread/${threadSlug}/stream-chat`, body);
562
+ async updateThread(slug, threadSlug, body) {
563
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/${threadSlug}/update`, body);
564
+ }
565
+ /**
566
+ * Delete edited chats from a thread.
567
+ * @see DELETE /v1/workspace/{slug}/thread/{threadSlug}/delete-edited-chats
568
+ */
569
+ async deleteEditedThreadChats(slug, threadSlug, body) {
570
+ return this.client.request("DELETE", `/v1/workspace/${slug}/thread/${threadSlug}/delete-edited-chats`, body);
571
+ }
572
+ /**
573
+ * Update a thread chat response.
574
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/update-chat
575
+ */
576
+ async updateThreadChat(slug, threadSlug, body) {
577
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/${threadSlug}/update-chat`, body);
578
+ }
579
+ /**
580
+ * Persist terminal UI events for a workspace thread.
581
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/terminal-ui-events
582
+ */
583
+ async persistThreadTerminalUiEvents(slug, threadSlug, body) {
584
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/${threadSlug}/terminal-ui-events`, body);
585
+ }
586
+ /**
587
+ * Persist a linked terminal message for a workspace thread.
588
+ * @see POST /v1/workspace/{slug}/thread/{threadSlug}/linked-terminal-message
589
+ */
590
+ async createThreadLinkedTerminalMessage(slug, threadSlug, body) {
591
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/${threadSlug}/linked-terminal-message`, body);
592
+ }
593
+ /**
594
+ * Coordinate a task into a workspace thread.
595
+ * @see POST /v1/workspace/{slug}/thread/coordinate-task
596
+ */
597
+ async coordinateThreadTask(slug, body) {
598
+ return this.client.request("POST", `/v1/workspace/${slug}/thread/coordinate-task`, body);
599
+ }
600
+ /**
601
+ * Open an SSE stream for external workspace thread chat events.
602
+ * @see GET /v1/workspace/{slug}/thread/{threadSlug}/chat-stream
603
+ */
604
+ async openThreadChatStream(slug, threadSlug) {
605
+ return this.client.request("GET", `/v1/workspace/${slug}/thread/${threadSlug}/chat-stream`);
281
606
  }
282
607
  };
283
608
 
@@ -286,6 +611,7 @@ var V1ApiNamespace = class {
286
611
  // [GENERATED-PROPS-END]
287
612
  constructor(baseUrl, apiKey, appId) {
288
613
  this._client = new DeveloperApiClient(baseUrl, apiKey, appId);
614
+ this.chat = new V1ChatModule(this._client);
289
615
  this.workspace = new V1WorkspaceModule(this._client);
290
616
  this.thread = new V1ThreadModule(this._client);
291
617
  }
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  ServerError,
7
7
  V1ApiNamespace,
8
8
  ValidationError
9
- } from "./chunk-ORAAYW4C.mjs";
9
+ } from "./chunk-DZUAP6FW.mjs";
10
10
 
11
11
  // src/index.ts
12
12
  var _RealtimeXSDK = class _RealtimeXSDK {
@@ -1,5 +1,5 @@
1
- import { D as DeveloperApiClient } from '../errors-C98IGxYU.mjs';
2
- export { A as AuthenticationError, a as DeveloperApiError, N as NotFoundError, S as ServerError, V as V1ApiNamespace, d as V1ThreadModule, c as V1WorkspaceModule, b as ValidationError } from '../errors-C98IGxYU.mjs';
1
+ import { D as DeveloperApiClient } from '../errors-DwEt8WYf.mjs';
2
+ export { A as AuthenticationError, a as DeveloperApiError, N as NotFoundError, S as ServerError, V as V1ApiNamespace, c as V1ChatModule, e as V1ThreadModule, d as V1WorkspaceModule, b as ValidationError } from '../errors-DwEt8WYf.mjs';
3
3
 
4
4
  interface WorkspaceStreamChunk {
5
5
  /** The text fragment emitted by this SSE event */
@@ -1,5 +1,5 @@
1
- import { D as DeveloperApiClient } from '../errors-C98IGxYU.js';
2
- export { A as AuthenticationError, a as DeveloperApiError, N as NotFoundError, S as ServerError, V as V1ApiNamespace, d as V1ThreadModule, c as V1WorkspaceModule, b as ValidationError } from '../errors-C98IGxYU.js';
1
+ import { D as DeveloperApiClient } from '../errors-DwEt8WYf.js';
2
+ export { A as AuthenticationError, a as DeveloperApiError, N as NotFoundError, S as ServerError, V as V1ApiNamespace, c as V1ChatModule, e as V1ThreadModule, d as V1WorkspaceModule, b as ValidationError } from '../errors-DwEt8WYf.js';
3
3
 
4
4
  interface WorkspaceStreamChunk {
5
5
  /** The text fragment emitted by this SSE event */