@arbidocs/sdk 0.5.6 → 0.5.8

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.cjs CHANGED
@@ -6038,6 +6038,7 @@ function buildTurnRequest(request) {
6038
6038
  ...request.conversationId ? { conversation_ext_id: request.conversationId } : {},
6039
6039
  ...request.model && !pa2 ? { model: request.model } : {},
6040
6040
  ...activeArtifactExtId ? { active_artifact_ext_id: activeArtifactExtId } : {},
6041
+ ...request.bindDocumentId && !request.previousResponseId && !pa2 ? { bound_document_ext_id: request.bindDocumentId } : {},
6041
6042
  ...request.mentions && request.mentions.length > 0 ? { mentions: request.mentions } : {},
6042
6043
  ...request.assistantMode ? { assistant_mode: request.assistantMode } : {}
6043
6044
  };
@@ -11321,9 +11322,10 @@ var Arbi = class {
11321
11322
  getThreads: (conversationId) => getConversationThreads(this.requireClient(), conversationId),
11322
11323
  delete: (conversationId) => deleteConversation(this.requireClient(), conversationId),
11323
11324
  /**
11324
- * Patch a conversation: `title`, `shared` (owner only), and the work fields (`description`,
11325
- * `due_at`, `parent_conversation_ext_id`, `status`, `plan`). The one call
11326
- * behind rename, share and unshare.
11325
+ * Patch a conversation: `title`, `shared` (owner only), its bound document
11326
+ * (`bound_document_ext_id`, `null` unbinds), and the work fields (`description`, `due_at`,
11327
+ * `parent_conversation_ext_id`, `status`, `plan`). The one call behind rename, share, unshare
11328
+ * and attaching a thread to a document.
11327
11329
  */
11328
11330
  update: (conversationId, body) => updateConversation(this.requireClient(), conversationId, body),
11329
11331
  /** Create a work item: a plain to-do, or (with a prompt / skill) agent work that starts now. */