@petercatai/whisker-client 0.1.202506200718 → 0.1.202506240459-dev

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/api.d.ts CHANGED
@@ -301,6 +301,27 @@ export interface IBaseCodeSplitConfig {
301
301
  */
302
302
  chunk_overlap?: number;
303
303
  }
304
+ /**
305
+ * BaseMessage
306
+ * Base abstract message class.
307
+ *
308
+ * Messages are the inputs and outputs of ChatModels.
309
+ */
310
+ export interface IBaseMessage {
311
+ /** Content */
312
+ content: string | (string | Record<string, any>)[];
313
+ /** Additional Kwargs */
314
+ additional_kwargs?: Record<string, any>;
315
+ /** Response Metadata */
316
+ response_metadata?: Record<string, any>;
317
+ /** Type */
318
+ type: string;
319
+ /** Name */
320
+ name?: string | null;
321
+ /** Id */
322
+ id?: string | null;
323
+ [key: string]: any;
324
+ }
304
325
  /** Chunk */
305
326
  export interface IChunk {
306
327
  /**
@@ -914,6 +935,15 @@ export interface IKnowledgeOutput {
914
935
  */
915
936
  enabled?: boolean;
916
937
  }
938
+ /** KnowledgeScope */
939
+ export interface IKnowledgeScope {
940
+ /** Space Ids */
941
+ space_ids?: string[] | null;
942
+ /** Tenant Id */
943
+ tenant_id: string;
944
+ /** Auth Info */
945
+ auth_info: string;
946
+ }
917
947
  /** MarkdownCreate */
918
948
  export interface IMarkdownCreate {
919
949
  /**
@@ -1356,6 +1386,53 @@ export interface IPermission {
1356
1386
  /** Conditions */
1357
1387
  conditions?: Record<string, any> | null;
1358
1388
  }
1389
+ /** ProResearchRequest */
1390
+ export interface IProResearchRequest {
1391
+ /**
1392
+ * Messages
1393
+ * The messages to be sent to the agent.
1394
+ * @default []
1395
+ */
1396
+ messages?: IBaseMessage[];
1397
+ /**
1398
+ * Model
1399
+ * The name of the language model to use for the agent's query generation.
1400
+ * @default "wohu_qwen3_235b_a22b"
1401
+ */
1402
+ model?: string;
1403
+ /**
1404
+ * Number Of Initial Queries
1405
+ * The number of initial search queries to generate.
1406
+ * @default 3
1407
+ */
1408
+ number_of_initial_queries?: number;
1409
+ /**
1410
+ * Max Research Loops
1411
+ * The maximum number of research loops to perform.
1412
+ * @default 2
1413
+ */
1414
+ max_research_loops?: number;
1415
+ /**
1416
+ * Enable Knowledge Retrieval
1417
+ * Whether to enable knowledge retrieval functionality.
1418
+ * @default true
1419
+ */
1420
+ enable_knowledge_retrieval?: boolean;
1421
+ /**
1422
+ * Enable Web Search
1423
+ * Whether to enable web search functionality.
1424
+ * @default false
1425
+ */
1426
+ enable_web_search?: boolean;
1427
+ /**
1428
+ * Knowledge Scope List
1429
+ * List of knowledge scopes to search within.
1430
+ * @default []
1431
+ */
1432
+ knowledge_scope_list?: IKnowledgeScope[];
1433
+ /** Knowledge retrieval configuration. */
1434
+ knowledge_retrieval_config?: IRetrievalConfig | null;
1435
+ }
1359
1436
  /** QACreate */
1360
1437
  export interface IQACreate {
1361
1438
  /**
@@ -2775,6 +2852,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2775
2852
  */
2776
2853
  getAllExpiredApiKeys: (params?: RequestParams) => Promise<HttpResponse<IResponseModelListAPIKey, void | IHTTPValidationError>>;
2777
2854
  };
2855
+ api: {
2856
+ /**
2857
+ * No description
2858
+ *
2859
+ * @tags agent
2860
+ * @name ProResearchV1ApiAgentProResearchPost
2861
+ * @summary Pro Research
2862
+ * @request POST:/v1/api/agent/pro_research
2863
+ */
2864
+ proResearchV1ApiAgentProResearchPost: (data: IProResearchRequest, params?: RequestParams) => Promise<HttpResponse<any, void | IHTTPValidationError>>;
2865
+ };
2778
2866
  healthChecker: {
2779
2867
  /**
2780
2868
  * No description
package/dist/api.js CHANGED
@@ -677,6 +677,17 @@ class Api extends HttpClient {
677
677
  */
678
678
  getAllExpiredApiKeys: (params = {}) => this.request(Object.assign({ path: `/api/api_key/expired`, method: "GET", format: "json" }, params)),
679
679
  };
680
+ this.api = {
681
+ /**
682
+ * No description
683
+ *
684
+ * @tags agent
685
+ * @name ProResearchV1ApiAgentProResearchPost
686
+ * @summary Pro Research
687
+ * @request POST:/v1/api/agent/pro_research
688
+ */
689
+ proResearchV1ApiAgentProResearchPost: (data, params = {}) => this.request(Object.assign({ path: `/v1/api/agent/pro_research`, method: "POST", body: data, type: ContentType.Json, format: "json" }, params)),
690
+ };
680
691
  this.healthChecker = {
681
692
  /**
682
693
  * No description
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@petercatai/whisker-client",
3
- "version": "0.1.202506200718",
4
- "description": "Generated API client (Production)",
3
+ "version": "0.1.202506240459-dev",
4
+ "description": "Generated API client (preview)",
5
5
  "main": "dist/api.js",
6
6
  "types": "dist/api.d.ts",
7
7
  "files": [
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "publishConfig": {
15
15
  "access": "public",
16
- "tag": "latest"
16
+ "tag": "dev"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/node": "^24.0.3",