@arbidocs/client 0.3.84 → 0.3.85
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 +142 -0
- package/dist/index.d.ts +142 -0
- package/package.json +1 -1
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
|
/**
|
|
@@ -5210,6 +5295,23 @@ interface components {
|
|
|
5210
5295
|
/** Parent Message Ext Id */
|
|
5211
5296
|
parent_message_ext_id?: string | null;
|
|
5212
5297
|
};
|
|
5298
|
+
/**
|
|
5299
|
+
* MessageSearchHit
|
|
5300
|
+
* @description A single matching message within a conversation search result.
|
|
5301
|
+
*/
|
|
5302
|
+
MessageSearchHit: {
|
|
5303
|
+
/** Message Ext Id */
|
|
5304
|
+
message_ext_id: string;
|
|
5305
|
+
/**
|
|
5306
|
+
* Role
|
|
5307
|
+
* @enum {string}
|
|
5308
|
+
*/
|
|
5309
|
+
role: 'user' | 'assistant' | 'system';
|
|
5310
|
+
/** Snippet */
|
|
5311
|
+
snippet: string;
|
|
5312
|
+
/** Score */
|
|
5313
|
+
score: number;
|
|
5314
|
+
};
|
|
5213
5315
|
/** ModelCitationConfig */
|
|
5214
5316
|
ModelCitationConfig: {
|
|
5215
5317
|
/**
|
|
@@ -8253,6 +8355,11 @@ interface components {
|
|
|
8253
8355
|
* @default false
|
|
8254
8356
|
*/
|
|
8255
8357
|
show_pa_mode: boolean;
|
|
8358
|
+
/**
|
|
8359
|
+
* Show Conversation Search
|
|
8360
|
+
* @default false
|
|
8361
|
+
*/
|
|
8362
|
+
show_conversation_search: boolean;
|
|
8256
8363
|
/**
|
|
8257
8364
|
* Show Agent Sessions
|
|
8258
8365
|
* @default false
|
|
@@ -8328,6 +8435,8 @@ interface components {
|
|
|
8328
8435
|
show_chronology?: boolean | null;
|
|
8329
8436
|
/** Show Pa Mode */
|
|
8330
8437
|
show_pa_mode?: boolean | null;
|
|
8438
|
+
/** Show Conversation Search */
|
|
8439
|
+
show_conversation_search?: boolean | null;
|
|
8331
8440
|
/** Show Agent Sessions */
|
|
8332
8441
|
show_agent_sessions?: boolean | null;
|
|
8333
8442
|
/** Show Mcp Connectors */
|
|
@@ -10900,6 +11009,39 @@ interface operations {
|
|
|
10900
11009
|
};
|
|
10901
11010
|
};
|
|
10902
11011
|
};
|
|
11012
|
+
search_conversations: {
|
|
11013
|
+
parameters: {
|
|
11014
|
+
query?: never;
|
|
11015
|
+
header?: never;
|
|
11016
|
+
path?: never;
|
|
11017
|
+
cookie?: never;
|
|
11018
|
+
};
|
|
11019
|
+
requestBody: {
|
|
11020
|
+
content: {
|
|
11021
|
+
'application/json': components['schemas']['ConversationSearchRequest'];
|
|
11022
|
+
};
|
|
11023
|
+
};
|
|
11024
|
+
responses: {
|
|
11025
|
+
/** @description Successful Response */
|
|
11026
|
+
200: {
|
|
11027
|
+
headers: {
|
|
11028
|
+
[name: string]: unknown;
|
|
11029
|
+
};
|
|
11030
|
+
content: {
|
|
11031
|
+
'application/json': components['schemas']['ConversationSearchResponse'];
|
|
11032
|
+
};
|
|
11033
|
+
};
|
|
11034
|
+
/** @description Validation Error */
|
|
11035
|
+
422: {
|
|
11036
|
+
headers: {
|
|
11037
|
+
[name: string]: unknown;
|
|
11038
|
+
};
|
|
11039
|
+
content: {
|
|
11040
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
11041
|
+
};
|
|
11042
|
+
};
|
|
11043
|
+
};
|
|
11044
|
+
};
|
|
10903
11045
|
delete_conversation: {
|
|
10904
11046
|
parameters: {
|
|
10905
11047
|
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
|
/**
|
|
@@ -5210,6 +5295,23 @@ interface components {
|
|
|
5210
5295
|
/** Parent Message Ext Id */
|
|
5211
5296
|
parent_message_ext_id?: string | null;
|
|
5212
5297
|
};
|
|
5298
|
+
/**
|
|
5299
|
+
* MessageSearchHit
|
|
5300
|
+
* @description A single matching message within a conversation search result.
|
|
5301
|
+
*/
|
|
5302
|
+
MessageSearchHit: {
|
|
5303
|
+
/** Message Ext Id */
|
|
5304
|
+
message_ext_id: string;
|
|
5305
|
+
/**
|
|
5306
|
+
* Role
|
|
5307
|
+
* @enum {string}
|
|
5308
|
+
*/
|
|
5309
|
+
role: 'user' | 'assistant' | 'system';
|
|
5310
|
+
/** Snippet */
|
|
5311
|
+
snippet: string;
|
|
5312
|
+
/** Score */
|
|
5313
|
+
score: number;
|
|
5314
|
+
};
|
|
5213
5315
|
/** ModelCitationConfig */
|
|
5214
5316
|
ModelCitationConfig: {
|
|
5215
5317
|
/**
|
|
@@ -8253,6 +8355,11 @@ interface components {
|
|
|
8253
8355
|
* @default false
|
|
8254
8356
|
*/
|
|
8255
8357
|
show_pa_mode: boolean;
|
|
8358
|
+
/**
|
|
8359
|
+
* Show Conversation Search
|
|
8360
|
+
* @default false
|
|
8361
|
+
*/
|
|
8362
|
+
show_conversation_search: boolean;
|
|
8256
8363
|
/**
|
|
8257
8364
|
* Show Agent Sessions
|
|
8258
8365
|
* @default false
|
|
@@ -8328,6 +8435,8 @@ interface components {
|
|
|
8328
8435
|
show_chronology?: boolean | null;
|
|
8329
8436
|
/** Show Pa Mode */
|
|
8330
8437
|
show_pa_mode?: boolean | null;
|
|
8438
|
+
/** Show Conversation Search */
|
|
8439
|
+
show_conversation_search?: boolean | null;
|
|
8331
8440
|
/** Show Agent Sessions */
|
|
8332
8441
|
show_agent_sessions?: boolean | null;
|
|
8333
8442
|
/** Show Mcp Connectors */
|
|
@@ -10900,6 +11009,39 @@ interface operations {
|
|
|
10900
11009
|
};
|
|
10901
11010
|
};
|
|
10902
11011
|
};
|
|
11012
|
+
search_conversations: {
|
|
11013
|
+
parameters: {
|
|
11014
|
+
query?: never;
|
|
11015
|
+
header?: never;
|
|
11016
|
+
path?: never;
|
|
11017
|
+
cookie?: never;
|
|
11018
|
+
};
|
|
11019
|
+
requestBody: {
|
|
11020
|
+
content: {
|
|
11021
|
+
'application/json': components['schemas']['ConversationSearchRequest'];
|
|
11022
|
+
};
|
|
11023
|
+
};
|
|
11024
|
+
responses: {
|
|
11025
|
+
/** @description Successful Response */
|
|
11026
|
+
200: {
|
|
11027
|
+
headers: {
|
|
11028
|
+
[name: string]: unknown;
|
|
11029
|
+
};
|
|
11030
|
+
content: {
|
|
11031
|
+
'application/json': components['schemas']['ConversationSearchResponse'];
|
|
11032
|
+
};
|
|
11033
|
+
};
|
|
11034
|
+
/** @description Validation Error */
|
|
11035
|
+
422: {
|
|
11036
|
+
headers: {
|
|
11037
|
+
[name: string]: unknown;
|
|
11038
|
+
};
|
|
11039
|
+
content: {
|
|
11040
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
11041
|
+
};
|
|
11042
|
+
};
|
|
11043
|
+
};
|
|
11044
|
+
};
|
|
10903
11045
|
delete_conversation: {
|
|
10904
11046
|
parameters: {
|
|
10905
11047
|
query?: never;
|
package/package.json
CHANGED