@arbidocs/client 0.3.84 → 0.3.86

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.d.cts CHANGED
@@ -1448,6 +1448,34 @@ interface paths {
1448
1448
  patch?: never;
1449
1449
  trace?: never;
1450
1450
  };
1451
+ '/v1/conversation/search': {
1452
+ parameters: {
1453
+ query?: never;
1454
+ header?: never;
1455
+ path?: never;
1456
+ cookie?: never;
1457
+ };
1458
+ get?: never;
1459
+ put?: never;
1460
+ /**
1461
+ * Search Conversations
1462
+ * @description Search conversation messages in the current workspace.
1463
+ *
1464
+ * First-class semantic/keyword/hybrid search over the dedicated messages
1465
+ * vector collection. Results are grouped by conversation, with decrypted
1466
+ * snippets of the matching messages.
1467
+ *
1468
+ * Gated by the per-user ``show_conversation_search`` experimental flag — this
1469
+ * is the user-facing feature switch, independent of the agent's
1470
+ * ``search_conversations`` tool (gated by AgentsConfig).
1471
+ */
1472
+ post: operations['search_conversations'];
1473
+ delete?: never;
1474
+ options?: never;
1475
+ head?: never;
1476
+ patch?: never;
1477
+ trace?: never;
1478
+ };
1451
1479
  '/v1/conversation/{conversation_ext_id}': {
1452
1480
  parameters: {
1453
1481
  query?: never;
@@ -2509,6 +2537,12 @@ interface components {
2509
2537
  * @default false
2510
2538
  */
2511
2539
  VISION_ENABLED: boolean;
2540
+ /**
2541
+ * Conversation Search Enabled
2542
+ * @description Enable the search_conversations tool so the agent can semantically search past conversation messages in the workspace. Independent of the user-facing conversation search feature flag (show_conversation_search).
2543
+ * @default false
2544
+ */
2545
+ CONVERSATION_SEARCH_ENABLED: boolean;
2512
2546
  /**
2513
2547
  * Personal Agent
2514
2548
  * @description Enable the personal_agent tool for delegating tasks to an external agent via OpenClaw.
@@ -2699,6 +2733,7 @@ interface components {
2699
2733
  * "SUGGESTED_QUERIES": false,
2700
2734
  * "ARTIFACTS_ENABLED": false,
2701
2735
  * "VISION_ENABLED": false,
2736
+ * "CONVERSATION_SEARCH_ENABLED": false,
2702
2737
  * "PERSONAL_AGENT": false,
2703
2738
  * "MEMORY_ENABLED": false,
2704
2739
  * "SKILLS_ENABLED": true,
@@ -3792,6 +3827,56 @@ interface components {
3792
3827
  /** Last Message Status */
3793
3828
  last_message_status?: string | null;
3794
3829
  };
3830
+ /**
3831
+ * ConversationSearchGroup
3832
+ * @description Matching messages grouped under their conversation.
3833
+ */
3834
+ ConversationSearchGroup: {
3835
+ /** Conversation Ext Id */
3836
+ conversation_ext_id: string;
3837
+ /** Title */
3838
+ title?: string | null;
3839
+ /** Score */
3840
+ score: number;
3841
+ /** Messages */
3842
+ messages: components['schemas']['MessageSearchHit'][];
3843
+ };
3844
+ /**
3845
+ * ConversationSearchRequest
3846
+ * @description Request body for conversation message search.
3847
+ */
3848
+ ConversationSearchRequest: {
3849
+ /**
3850
+ * Query
3851
+ * @description Search query text
3852
+ */
3853
+ query: string;
3854
+ /**
3855
+ * Search Mode
3856
+ * @description Search mode: dense-only, sparse-only (BM25), or RRF fusion
3857
+ * @default hybrid
3858
+ * @enum {string}
3859
+ */
3860
+ search_mode: 'semantic' | 'keyword' | 'hybrid';
3861
+ /**
3862
+ * Limit
3863
+ * @description Maximum number of conversations to return
3864
+ * @default 10
3865
+ */
3866
+ limit: number;
3867
+ };
3868
+ /**
3869
+ * ConversationSearchResponse
3870
+ * @description Response for conversation message search, grouped by conversation.
3871
+ */
3872
+ ConversationSearchResponse: {
3873
+ /** Query */
3874
+ query: string;
3875
+ /** Search Mode */
3876
+ search_mode: string;
3877
+ /** Results */
3878
+ results: components['schemas']['ConversationSearchGroup'][];
3879
+ };
3795
3880
  /** ConversationTitleUpdateRequest */
3796
3881
  ConversationTitleUpdateRequest: {
3797
3882
  /**
@@ -4394,6 +4479,11 @@ interface components {
4394
4479
  * @default true
4395
4480
  */
4396
4481
  referral_reward: boolean;
4482
+ /**
4483
+ * Product Updates
4484
+ * @default true
4485
+ */
4486
+ product_updates: boolean;
4397
4487
  };
4398
4488
  /**
4399
4489
  * EmailNotificationSettingsUpdate
@@ -4408,6 +4498,8 @@ interface components {
4408
4498
  contact_accepted?: boolean | null;
4409
4499
  /** Referral Reward */
4410
4500
  referral_reward?: boolean | null;
4501
+ /** Product Updates */
4502
+ product_updates?: boolean | null;
4411
4503
  };
4412
4504
  /** EmbedderConfig */
4413
4505
  EmbedderConfig: {
@@ -5210,6 +5302,23 @@ interface components {
5210
5302
  /** Parent Message Ext Id */
5211
5303
  parent_message_ext_id?: string | null;
5212
5304
  };
5305
+ /**
5306
+ * MessageSearchHit
5307
+ * @description A single matching message within a conversation search result.
5308
+ */
5309
+ MessageSearchHit: {
5310
+ /** Message Ext Id */
5311
+ message_ext_id: string;
5312
+ /**
5313
+ * Role
5314
+ * @enum {string}
5315
+ */
5316
+ role: 'user' | 'assistant' | 'system';
5317
+ /** Snippet */
5318
+ snippet: string;
5319
+ /** Score */
5320
+ score: number;
5321
+ };
5213
5322
  /** ModelCitationConfig */
5214
5323
  ModelCitationConfig: {
5215
5324
  /**
@@ -5432,7 +5541,7 @@ interface components {
5432
5541
  * Type is self-descriptive, no need to parse content field.
5433
5542
  * @enum {string}
5434
5543
  */
5435
- NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared';
5544
+ NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared';
5436
5545
  /**
5437
5546
  * NotificationUpdate
5438
5547
  * @description Single notification update for bulk PATCH.
@@ -8253,6 +8362,11 @@ interface components {
8253
8362
  * @default false
8254
8363
  */
8255
8364
  show_pa_mode: boolean;
8365
+ /**
8366
+ * Show Conversation Search
8367
+ * @default false
8368
+ */
8369
+ show_conversation_search: boolean;
8256
8370
  /**
8257
8371
  * Show Agent Sessions
8258
8372
  * @default false
@@ -8328,6 +8442,8 @@ interface components {
8328
8442
  show_chronology?: boolean | null;
8329
8443
  /** Show Pa Mode */
8330
8444
  show_pa_mode?: boolean | null;
8445
+ /** Show Conversation Search */
8446
+ show_conversation_search?: boolean | null;
8331
8447
  /** Show Agent Sessions */
8332
8448
  show_agent_sessions?: boolean | null;
8333
8449
  /** Show Mcp Connectors */
@@ -10900,6 +11016,39 @@ interface operations {
10900
11016
  };
10901
11017
  };
10902
11018
  };
11019
+ search_conversations: {
11020
+ parameters: {
11021
+ query?: never;
11022
+ header?: never;
11023
+ path?: never;
11024
+ cookie?: never;
11025
+ };
11026
+ requestBody: {
11027
+ content: {
11028
+ 'application/json': components['schemas']['ConversationSearchRequest'];
11029
+ };
11030
+ };
11031
+ responses: {
11032
+ /** @description Successful Response */
11033
+ 200: {
11034
+ headers: {
11035
+ [name: string]: unknown;
11036
+ };
11037
+ content: {
11038
+ 'application/json': components['schemas']['ConversationSearchResponse'];
11039
+ };
11040
+ };
11041
+ /** @description Validation Error */
11042
+ 422: {
11043
+ headers: {
11044
+ [name: string]: unknown;
11045
+ };
11046
+ content: {
11047
+ 'application/json': components['schemas']['HTTPValidationError'];
11048
+ };
11049
+ };
11050
+ };
11051
+ };
10903
11052
  delete_conversation: {
10904
11053
  parameters: {
10905
11054
  query?: never;
package/dist/index.d.ts CHANGED
@@ -1448,6 +1448,34 @@ interface paths {
1448
1448
  patch?: never;
1449
1449
  trace?: never;
1450
1450
  };
1451
+ '/v1/conversation/search': {
1452
+ parameters: {
1453
+ query?: never;
1454
+ header?: never;
1455
+ path?: never;
1456
+ cookie?: never;
1457
+ };
1458
+ get?: never;
1459
+ put?: never;
1460
+ /**
1461
+ * Search Conversations
1462
+ * @description Search conversation messages in the current workspace.
1463
+ *
1464
+ * First-class semantic/keyword/hybrid search over the dedicated messages
1465
+ * vector collection. Results are grouped by conversation, with decrypted
1466
+ * snippets of the matching messages.
1467
+ *
1468
+ * Gated by the per-user ``show_conversation_search`` experimental flag — this
1469
+ * is the user-facing feature switch, independent of the agent's
1470
+ * ``search_conversations`` tool (gated by AgentsConfig).
1471
+ */
1472
+ post: operations['search_conversations'];
1473
+ delete?: never;
1474
+ options?: never;
1475
+ head?: never;
1476
+ patch?: never;
1477
+ trace?: never;
1478
+ };
1451
1479
  '/v1/conversation/{conversation_ext_id}': {
1452
1480
  parameters: {
1453
1481
  query?: never;
@@ -2509,6 +2537,12 @@ interface components {
2509
2537
  * @default false
2510
2538
  */
2511
2539
  VISION_ENABLED: boolean;
2540
+ /**
2541
+ * Conversation Search Enabled
2542
+ * @description Enable the search_conversations tool so the agent can semantically search past conversation messages in the workspace. Independent of the user-facing conversation search feature flag (show_conversation_search).
2543
+ * @default false
2544
+ */
2545
+ CONVERSATION_SEARCH_ENABLED: boolean;
2512
2546
  /**
2513
2547
  * Personal Agent
2514
2548
  * @description Enable the personal_agent tool for delegating tasks to an external agent via OpenClaw.
@@ -2699,6 +2733,7 @@ interface components {
2699
2733
  * "SUGGESTED_QUERIES": false,
2700
2734
  * "ARTIFACTS_ENABLED": false,
2701
2735
  * "VISION_ENABLED": false,
2736
+ * "CONVERSATION_SEARCH_ENABLED": false,
2702
2737
  * "PERSONAL_AGENT": false,
2703
2738
  * "MEMORY_ENABLED": false,
2704
2739
  * "SKILLS_ENABLED": true,
@@ -3792,6 +3827,56 @@ interface components {
3792
3827
  /** Last Message Status */
3793
3828
  last_message_status?: string | null;
3794
3829
  };
3830
+ /**
3831
+ * ConversationSearchGroup
3832
+ * @description Matching messages grouped under their conversation.
3833
+ */
3834
+ ConversationSearchGroup: {
3835
+ /** Conversation Ext Id */
3836
+ conversation_ext_id: string;
3837
+ /** Title */
3838
+ title?: string | null;
3839
+ /** Score */
3840
+ score: number;
3841
+ /** Messages */
3842
+ messages: components['schemas']['MessageSearchHit'][];
3843
+ };
3844
+ /**
3845
+ * ConversationSearchRequest
3846
+ * @description Request body for conversation message search.
3847
+ */
3848
+ ConversationSearchRequest: {
3849
+ /**
3850
+ * Query
3851
+ * @description Search query text
3852
+ */
3853
+ query: string;
3854
+ /**
3855
+ * Search Mode
3856
+ * @description Search mode: dense-only, sparse-only (BM25), or RRF fusion
3857
+ * @default hybrid
3858
+ * @enum {string}
3859
+ */
3860
+ search_mode: 'semantic' | 'keyword' | 'hybrid';
3861
+ /**
3862
+ * Limit
3863
+ * @description Maximum number of conversations to return
3864
+ * @default 10
3865
+ */
3866
+ limit: number;
3867
+ };
3868
+ /**
3869
+ * ConversationSearchResponse
3870
+ * @description Response for conversation message search, grouped by conversation.
3871
+ */
3872
+ ConversationSearchResponse: {
3873
+ /** Query */
3874
+ query: string;
3875
+ /** Search Mode */
3876
+ search_mode: string;
3877
+ /** Results */
3878
+ results: components['schemas']['ConversationSearchGroup'][];
3879
+ };
3795
3880
  /** ConversationTitleUpdateRequest */
3796
3881
  ConversationTitleUpdateRequest: {
3797
3882
  /**
@@ -4394,6 +4479,11 @@ interface components {
4394
4479
  * @default true
4395
4480
  */
4396
4481
  referral_reward: boolean;
4482
+ /**
4483
+ * Product Updates
4484
+ * @default true
4485
+ */
4486
+ product_updates: boolean;
4397
4487
  };
4398
4488
  /**
4399
4489
  * EmailNotificationSettingsUpdate
@@ -4408,6 +4498,8 @@ interface components {
4408
4498
  contact_accepted?: boolean | null;
4409
4499
  /** Referral Reward */
4410
4500
  referral_reward?: boolean | null;
4501
+ /** Product Updates */
4502
+ product_updates?: boolean | null;
4411
4503
  };
4412
4504
  /** EmbedderConfig */
4413
4505
  EmbedderConfig: {
@@ -5210,6 +5302,23 @@ interface components {
5210
5302
  /** Parent Message Ext Id */
5211
5303
  parent_message_ext_id?: string | null;
5212
5304
  };
5305
+ /**
5306
+ * MessageSearchHit
5307
+ * @description A single matching message within a conversation search result.
5308
+ */
5309
+ MessageSearchHit: {
5310
+ /** Message Ext Id */
5311
+ message_ext_id: string;
5312
+ /**
5313
+ * Role
5314
+ * @enum {string}
5315
+ */
5316
+ role: 'user' | 'assistant' | 'system';
5317
+ /** Snippet */
5318
+ snippet: string;
5319
+ /** Score */
5320
+ score: number;
5321
+ };
5213
5322
  /** ModelCitationConfig */
5214
5323
  ModelCitationConfig: {
5215
5324
  /**
@@ -5432,7 +5541,7 @@ interface components {
5432
5541
  * Type is self-descriptive, no need to parse content field.
5433
5542
  * @enum {string}
5434
5543
  */
5435
- NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared';
5544
+ NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared';
5436
5545
  /**
5437
5546
  * NotificationUpdate
5438
5547
  * @description Single notification update for bulk PATCH.
@@ -8253,6 +8362,11 @@ interface components {
8253
8362
  * @default false
8254
8363
  */
8255
8364
  show_pa_mode: boolean;
8365
+ /**
8366
+ * Show Conversation Search
8367
+ * @default false
8368
+ */
8369
+ show_conversation_search: boolean;
8256
8370
  /**
8257
8371
  * Show Agent Sessions
8258
8372
  * @default false
@@ -8328,6 +8442,8 @@ interface components {
8328
8442
  show_chronology?: boolean | null;
8329
8443
  /** Show Pa Mode */
8330
8444
  show_pa_mode?: boolean | null;
8445
+ /** Show Conversation Search */
8446
+ show_conversation_search?: boolean | null;
8331
8447
  /** Show Agent Sessions */
8332
8448
  show_agent_sessions?: boolean | null;
8333
8449
  /** Show Mcp Connectors */
@@ -10900,6 +11016,39 @@ interface operations {
10900
11016
  };
10901
11017
  };
10902
11018
  };
11019
+ search_conversations: {
11020
+ parameters: {
11021
+ query?: never;
11022
+ header?: never;
11023
+ path?: never;
11024
+ cookie?: never;
11025
+ };
11026
+ requestBody: {
11027
+ content: {
11028
+ 'application/json': components['schemas']['ConversationSearchRequest'];
11029
+ };
11030
+ };
11031
+ responses: {
11032
+ /** @description Successful Response */
11033
+ 200: {
11034
+ headers: {
11035
+ [name: string]: unknown;
11036
+ };
11037
+ content: {
11038
+ 'application/json': components['schemas']['ConversationSearchResponse'];
11039
+ };
11040
+ };
11041
+ /** @description Validation Error */
11042
+ 422: {
11043
+ headers: {
11044
+ [name: string]: unknown;
11045
+ };
11046
+ content: {
11047
+ 'application/json': components['schemas']['HTTPValidationError'];
11048
+ };
11049
+ };
11050
+ };
11051
+ };
10903
11052
  delete_conversation: {
10904
11053
  parameters: {
10905
11054
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.3.84",
3
+ "version": "0.3.86",
4
4
  "description": "TypeScript SDK for the ARBI API — zero-knowledge auth, E2E encryption, and type-safe REST client",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",