@qverisai/sdk 0.1.2 → 0.2.0

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/types.d.ts CHANGED
@@ -1,30 +1,18 @@
1
1
  /**
2
2
  * Qveris API Type Definitions
3
3
  *
4
- * This module contains TypeScript types that match the Qveris API v0.1.6 schema.
5
- * All types are fully documented for IDE autocompletion and developer experience.
4
+ * This module contains TypeScript types that match the Qveris API schema.
5
+ * Aligned with backend ToolInfo, SearchResponse, ToolCallResponse, and
6
+ * the REST API documentation at docs/en-US/rest-api.md.
6
7
  *
7
8
  * @module types
8
9
  * @see {@link https://qveris.ai/api/v1} Qveris API Base URL
9
10
  */
10
11
  /**
11
12
  * Request body for the Search Tools API.
12
- *
13
- * @example
14
- * ```typescript
15
- * const request: SearchRequest = {
16
- * query: "weather forecast API",
17
- * limit: 10,
18
- * session_id: "abcd1234-ab12-ab12-ab12-abcdef123456"
19
- * };
20
- * ```
21
13
  */
22
14
  export interface SearchRequest {
23
- /**
24
- * Natural language search query describing the tool capability you need.
25
- * @example "weather forecast API"
26
- * @example "send email notification"
27
- */
15
+ /** Natural language search query describing the tool capability you need. */
28
16
  query: string;
29
17
  /**
30
18
  * Maximum number of results to return.
@@ -33,15 +21,11 @@ export interface SearchRequest {
33
21
  * @maximum 100
34
22
  */
35
23
  limit?: number;
36
- /**
37
- * Session identifier for tracking user sessions.
38
- * Same ID corresponds to the same user session.
39
- */
24
+ /** Session identifier for tracking user sessions. */
40
25
  session_id?: string;
41
26
  }
42
27
  /**
43
28
  * Parameter definition for a tool.
44
- * Describes a single input parameter that a tool accepts.
45
29
  */
46
30
  export interface ToolParameter {
47
31
  /** Parameter name (used as key in the parameters object) */
@@ -62,41 +46,146 @@ export interface ToolExamples {
62
46
  /** Sample parameter values demonstrating typical usage */
63
47
  sample_parameters?: Record<string, unknown>;
64
48
  }
49
+ /**
50
+ * Historical execution performance statistics for a tool.
51
+ */
52
+ export interface ToolStats {
53
+ /** Historical average execution time in milliseconds */
54
+ avg_execution_time_ms?: number;
55
+ /** Historical success rate (0.0 - 1.0) */
56
+ success_rate?: number;
57
+ /** Legacy fallback estimate in credits per call */
58
+ cost?: number;
59
+ }
60
+ export interface BillingPrice {
61
+ amount_credits: number;
62
+ per?: number | null;
63
+ unit?: string | null;
64
+ unit_label?: string | null;
65
+ }
66
+ export interface BillingChargeLine {
67
+ component_key: string;
68
+ quantity?: number | null;
69
+ unit?: string | null;
70
+ unit_label?: string | null;
71
+ price?: BillingPrice | null;
72
+ amount_credits?: number | null;
73
+ description?: string | null;
74
+ is_adjustment?: boolean | null;
75
+ }
76
+ export interface BillingRule {
77
+ metering_mode?: string;
78
+ billing_unit?: string;
79
+ billing_unit_label?: string;
80
+ price?: BillingPrice | null;
81
+ price_breakdown?: Record<string, unknown>[] | null;
82
+ pricing_dimensions?: Record<string, unknown>[] | null;
83
+ minimum_charge_credits?: number | null;
84
+ snapshot_id?: number | null;
85
+ snapshot_version?: string | null;
86
+ runtime_pricing_version?: string | null;
87
+ pricing_source_system?: string | null;
88
+ description?: string;
89
+ }
90
+ export interface CompactBillingStatement {
91
+ price?: BillingPrice | null;
92
+ quantity?: number | null;
93
+ charge_lines?: BillingChargeLine[] | null;
94
+ minimum_charge_credits?: number | null;
95
+ list_amount_credits?: number | null;
96
+ requested_amount_credits?: number | null;
97
+ summary?: string | null;
98
+ }
99
+ /**
100
+ * Category/tag attached to a tool.
101
+ * Current API responses return category objects; legacy responses returned
102
+ * plain strings, so `ToolInfo.categories` accepts both.
103
+ */
104
+ export interface ToolCategory {
105
+ slug?: string;
106
+ name?: string;
107
+ description?: string;
108
+ }
109
+ /**
110
+ * Coverage tag attached to a capability (e.g. market coverage).
111
+ */
112
+ export interface ToolCapabilityTag {
113
+ id?: string;
114
+ name?: string;
115
+ type?: string;
116
+ description?: string;
117
+ }
118
+ /**
119
+ * Standardized capability descriptor attached to a tool
120
+ * (e.g. "MKT.BARS.ADJUSTED" with market coverage tags).
121
+ */
122
+ export interface ToolCapability {
123
+ id?: string;
124
+ tag?: ToolCapabilityTag[];
125
+ }
65
126
  /**
66
127
  * Information about a tool returned from search results.
67
128
  * Contains everything needed to understand and execute the tool.
68
129
  */
69
130
  export interface ToolInfo {
70
- /** Unique identifier for the tool (used in execute_tool) */
131
+ /** Unique identifier for the tool (used in call) */
71
132
  tool_id: string;
72
133
  /** Human-readable display name */
73
134
  name: string;
74
135
  /** Detailed description of what the tool does */
75
136
  description: string;
137
+ /** Tool categories/tags: category objects, or plain strings in legacy responses */
138
+ categories?: Array<string | ToolCategory>;
139
+ /** Standardized capability descriptors with coverage tags */
140
+ capabilities?: ToolCapability[];
141
+ /** Provider identifier */
142
+ provider_id?: string;
76
143
  /** Name of the organization/service providing this tool */
77
144
  provider_name?: string;
78
145
  /** Description of the provider */
79
146
  provider_description?: string;
147
+ /** Provider website URL */
148
+ provider_website_url?: string;
80
149
  /**
81
150
  * Geographic availability of the tool.
82
151
  * - "global" - Available worldwide
83
152
  * - "US|CA" - Whitelist: only available in US and Canada
84
- * - "!CN|RU" - Blacklist: not available in China and Russia
153
+ * - "-CN|RU" - Blacklist: not available in China and Russia
85
154
  */
86
155
  region?: string;
87
- /** Average response latency in milliseconds */
88
- avg_latency_ms?: number;
89
156
  /** List of parameters the tool accepts */
90
157
  params?: ToolParameter[];
91
158
  /** Usage examples with sample parameters */
92
159
  examples?: ToolExamples;
160
+ /** Historical execution performance statistics */
161
+ stats?: ToolStats;
162
+ /** Structured rule-level billing metadata when available */
163
+ billing_rule?: BillingRule;
164
+ /** Pre-call cost estimate in credits, when available */
165
+ expected_cost?: string | number;
166
+ /** Relevance score for the search query (0.0 - 1.0, higher = better match) */
167
+ final_score?: number;
168
+ /** Human-readable explanation of why this tool was recommended (Discover results only) */
169
+ why_recommended?: string;
170
+ /** Whether this tool has been executed before (verified in production) */
171
+ has_last_execution?: boolean;
172
+ /** Most recent execution record, if available */
173
+ last_execution_record?: Record<string, unknown>;
174
+ /** Documentation URL for the tool */
175
+ docs_url?: string;
176
+ /** Protocol type */
177
+ protocol?: string;
93
178
  }
94
179
  /**
95
180
  * Performance statistics for a search operation.
96
181
  */
97
182
  export interface SearchStats {
98
183
  /** Total time to complete the search in milliseconds */
99
- search_time_ms: number;
184
+ search_time_ms?: number;
185
+ /** Vector recall count */
186
+ vector_recall_count?: number;
187
+ /** Fulltext recall count */
188
+ fulltext_recall_count?: number;
100
189
  }
101
190
  /**
102
191
  * Response from the Search Tools API.
@@ -106,7 +195,7 @@ export interface SearchResponse {
106
195
  query?: string;
107
196
  /**
108
197
  * Unique identifier for this search.
109
- * Required when calling execute_tool for any tool from these results.
198
+ * Required when calling call for any tool from these results.
110
199
  */
111
200
  search_id: string;
112
201
  /** Total number of results returned */
@@ -115,58 +204,32 @@ export interface SearchResponse {
115
204
  results: ToolInfo[];
116
205
  /** Search performance statistics */
117
206
  stats?: SearchStats;
207
+ /** User's remaining credits after this operation */
208
+ remaining_credits?: number;
209
+ /** Total elapsed time in milliseconds */
210
+ elapsed_time_ms?: number;
118
211
  }
119
212
  /**
120
213
  * Request body for the Get Tools by IDs API.
121
- *
122
- * @example
123
- * ```typescript
124
- * const request: GetToolsByIdsRequest = {
125
- * tool_ids: ["tool-1", "tool-2"],
126
- * search_id: "search-123",
127
- * session_id: "abcd1234-ab12-ab12-ab12-abcdef123456"
128
- * };
129
- * ```
130
214
  */
131
215
  export interface GetToolsByIdsRequest {
132
- /**
133
- * Array of tool IDs to retrieve information for.
134
- */
216
+ /** Array of tool IDs to retrieve information for. */
135
217
  tool_ids: string[];
136
- /**
137
- * The search_id from the search that returned the tool(s).
138
- * Optional but recommended for analytics and billing.
139
- */
218
+ /** The search_id from the search that returned the tool(s). */
140
219
  search_id?: string;
141
- /**
142
- * Session identifier for tracking user sessions.
143
- * Same ID corresponds to the same user session.
144
- */
220
+ /** Session identifier for tracking user sessions. */
145
221
  session_id?: string;
146
222
  }
147
223
  /**
148
224
  * Request body for the Execute Tool API.
149
- *
150
- * @example
151
- * ```typescript
152
- * const request: ExecuteRequest = {
153
- * search_id: "abcd1234-ab12-ab12-ab12-abcdef123456",
154
- * session_id: "abcd1234-ab12-ab12-ab12-abcdef123456",
155
- * parameters: { city: "London", units: "metric" },
156
- * max_response_size: 20480
157
- * };
158
- * ```
159
225
  */
160
226
  export interface ExecuteRequest {
161
227
  /**
162
228
  * The search_id from the search that returned this tool.
163
- * Links the execution to the original search for analytics.
229
+ * Links the execution to the original search for analytics and billing.
164
230
  */
165
231
  search_id: string;
166
- /**
167
- * Session identifier for tracking user sessions.
168
- * Same ID corresponds to the same user session.
169
- */
232
+ /** Session identifier for tracking user sessions. */
170
233
  session_id?: string;
171
234
  /**
172
235
  * Key-value pairs of parameters to pass to the tool.
@@ -206,6 +269,11 @@ export interface ExecuteResultTruncated {
206
269
  * Useful for previewing the data structure.
207
270
  */
208
271
  truncated_content: string;
272
+ /**
273
+ * JSON Schema describing the structure of the full content.
274
+ * Helps the agent understand the data shape without downloading.
275
+ */
276
+ content_schema?: Record<string, unknown>;
209
277
  }
210
278
  /**
211
279
  * Union type for execution results (either full data or truncated).
@@ -235,9 +303,119 @@ export interface ExecuteResponse {
235
303
  error_message?: string | null;
236
304
  /** Execution duration in seconds */
237
305
  execution_time?: number;
306
+ /** Execution duration in milliseconds (alternative field) */
307
+ elapsed_time_ms?: number;
308
+ /** Legacy fallback estimate; use usage audit or credits ledger for final charge */
309
+ cost?: number;
310
+ /** Structured pre-settlement billing statement when available */
311
+ billing?: CompactBillingStatement;
312
+ /** Legacy/full pre-settlement bill snapshot when returned directly */
313
+ pre_settlement_bill?: Record<string, unknown>;
314
+ /** User's remaining credits after this execution */
315
+ remaining_credits?: number;
238
316
  /** Timestamp of execution (ISO 8601 format) */
317
+ created_at?: string;
318
+ }
319
+ export interface ApiEnvelope<T> {
320
+ status: string;
321
+ message?: string;
322
+ status_code?: number;
323
+ data: T;
324
+ }
325
+ export interface CreditsResponse {
326
+ remaining_credits: number;
327
+ daily_free?: Record<string, unknown>;
328
+ invite_reward?: Record<string, unknown>;
329
+ welcome_bonus?: Record<string, unknown>;
330
+ purchased?: Record<string, unknown>;
331
+ }
332
+ export interface UsageHistoryRequest {
333
+ start_date?: string;
334
+ end_date?: string;
335
+ summary?: boolean;
336
+ bucket?: string;
337
+ event_type?: string;
338
+ kind?: string;
339
+ success?: boolean;
340
+ charge_outcome?: string;
341
+ search_id?: string;
342
+ execution_id?: string;
343
+ min_credits?: number;
344
+ max_credits?: number;
345
+ limit?: number;
346
+ page?: number;
347
+ page_size?: number;
348
+ }
349
+ export interface UsageEventItem {
350
+ id: string;
351
+ event_type: string;
352
+ kind?: string | null;
353
+ source_system: string;
354
+ source_ref_type?: string | null;
355
+ source_ref_id?: string | null;
356
+ session_id?: string | null;
357
+ search_id?: string | null;
358
+ execution_id?: string | null;
359
+ tool_id?: string | null;
360
+ model?: string | null;
361
+ query?: string | null;
362
+ success: boolean;
363
+ charge_outcome?: string | null;
364
+ error_message?: string | null;
365
+ billing_snapshot_status?: string | null;
366
+ pre_settlement_bill?: Record<string, unknown> | null;
367
+ settlement_result?: Record<string, unknown> | null;
368
+ requested_amount_credits?: number | null;
369
+ actual_amount_credits?: number | null;
370
+ credits_ledger_entry_id?: string | null;
371
+ display_target?: string | null;
372
+ billing_summary?: string | null;
373
+ pre_settlement_amount_credits?: number | null;
374
+ settled_amount_credits?: number | null;
375
+ created_at: string;
376
+ }
377
+ export interface UsageEventsResponse {
378
+ items: UsageEventItem[];
379
+ total: number;
380
+ page: number;
381
+ page_size: number;
382
+ summary?: Record<string, unknown> | null;
383
+ }
384
+ export interface CreditsLedgerRequest {
385
+ start_date?: string;
386
+ end_date?: string;
387
+ summary?: boolean;
388
+ bucket?: string;
389
+ entry_type?: string;
390
+ direction?: string;
391
+ min_credits?: number;
392
+ max_credits?: number;
393
+ limit?: number;
394
+ page?: number;
395
+ page_size?: number;
396
+ }
397
+ export interface CreditsLedgerItem {
398
+ id: string;
399
+ entry_type: string;
400
+ amount_credits: number;
401
+ source_system: string;
402
+ source_ref_type?: string | null;
403
+ source_ref_id?: string | null;
404
+ pre_settlement_bill?: Record<string, unknown> | null;
405
+ settlement_result?: Record<string, unknown> | null;
406
+ balance_before?: Record<string, unknown> | null;
407
+ balance_after?: Record<string, unknown> | null;
408
+ ledger_metadata?: Record<string, unknown> | null;
409
+ description?: string | null;
239
410
  created_at: string;
240
411
  }
412
+ export interface CreditsLedgerResponse {
413
+ items: CreditsLedgerItem[];
414
+ total: number;
415
+ page: number;
416
+ page_size: number;
417
+ summary?: Record<string, unknown> | null;
418
+ }
241
419
  /**
242
420
  * Configuration options for the Qveris API client.
243
421
  */
@@ -246,10 +424,26 @@ export interface QverisClientConfig {
246
424
  apiKey: string;
247
425
  /** Base URL for the API (defaults to production) */
248
426
  baseUrl?: string;
427
+ /** Default request timeout in milliseconds */
428
+ timeoutMs?: number;
249
429
  }
250
430
  /**
251
431
  * Error response from the Qveris API.
252
432
  */
433
+ export type ApiOperation = 'discover' | 'inspect' | 'call' | 'credits' | 'usage_history' | 'credits_ledger';
434
+ export type ApiErrorType = 'http_error' | 'invalid_json' | 'timeout' | 'network_error';
435
+ export interface ApiObservability {
436
+ source: 'qveris_api';
437
+ operation: ApiOperation;
438
+ method: 'GET' | 'POST';
439
+ endpoint: string;
440
+ url: string;
441
+ query_params?: Record<string, string>;
442
+ timeout_ms: number;
443
+ http_status?: number;
444
+ request_id?: string;
445
+ error_type?: ApiErrorType;
446
+ }
253
447
  export interface ApiError {
254
448
  /** HTTP status code */
255
449
  status: number;
@@ -257,5 +451,9 @@ export interface ApiError {
257
451
  message: string;
258
452
  /** Original error details if available */
259
453
  details?: unknown;
454
+ /** Request metadata for diagnosing API/provider/tool-chain failures. */
455
+ observability?: ApiObservability;
456
+ /** Lower-level transport or runtime cause when available. */
457
+ cause?: string;
260
458
  }
261
459
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/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CHANGED
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * Qveris API Type Definitions
3
3
  *
4
- * This module contains TypeScript types that match the Qveris API v0.1.6 schema.
5
- * All types are fully documented for IDE autocompletion and developer experience.
4
+ * This module contains TypeScript types that match the Qveris API schema.
5
+ * Aligned with backend ToolInfo, SearchResponse, ToolCallResponse, and
6
+ * the REST API documentation at docs/en-US/rest-api.md.
6
7
  *
7
8
  * @module types
8
9
  * @see {@link https://qveris.ai/api/v1} Qveris API Base URL
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG"}
package/package.json CHANGED
@@ -1,55 +1,53 @@
1
- {
2
- "name": "@qverisai/sdk",
3
- "version": "0.1.2",
4
- "description": "Official Qveris AI MCP Server SDK - Search and execute tools via natural language",
5
- "keywords": [
6
- "qveris",
7
- "mcp",
8
- "model-context-protocol",
9
- "ai",
10
- "tools",
11
- "sdk"
12
- ],
13
- "author": "QverisAI",
14
- "license": "MIT",
15
- "repository": {
16
- "type": "git",
17
- "url": "https://github.com/qverisai/sdk"
18
- },
19
- "homepage": "https://github.com/qverisai/sdk#readme",
20
- "bugs": {
21
- "url": "https://github.com/qverisai/sdk/issues"
22
- },
23
- "type": "module",
24
- "main": "dist/index.js",
25
- "types": "dist/index.d.ts",
26
- "bin": {
27
- "qveris-mcp": "dist/index.js"
28
- },
29
- "files": [
30
- "dist"
31
- ],
32
- "scripts": {
33
- "build": "tsc",
34
- "dev": "tsc --watch",
35
- "start": "node dist/index.js",
36
- "test": "vitest run",
37
- "test:watch": "vitest",
38
- "test:coverage": "vitest run --coverage",
39
- "prepublishOnly": "npm run build",
40
- "typecheck": "tsc --noEmit"
41
- },
42
- "dependencies": {
43
- "@modelcontextprotocol/sdk": "^1.0.0",
44
- "uuid": "^11.0.3"
45
- },
46
- "devDependencies": {
47
- "@types/node": "^22.10.1",
48
- "@types/uuid": "^10.0.0",
49
- "typescript": "^5.7.2",
50
- "vitest": "^2.1.0"
51
- },
52
- "engines": {
53
- "node": ">=18.0.0"
54
- }
55
- }
1
+ {
2
+ "name": "@qverisai/sdk",
3
+ "version": "0.2.0",
4
+ "description": "QVeris TypeScript SDK for agent capability discovery, inspection, calling, and audit",
5
+ "keywords": [
6
+ "qveris",
7
+ "ai",
8
+ "agent",
9
+ "tools",
10
+ "sdk",
11
+ "typescript",
12
+ "function-calling"
13
+ ],
14
+ "author": "QVerisAI",
15
+ "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/QVerisAI/qveris-agent-toolkit",
19
+ "directory": "packages/js-sdk"
20
+ },
21
+ "homepage": "https://qveris.ai",
22
+ "bugs": {
23
+ "url": "https://github.com/QVerisAI/qveris-agent-toolkit/issues"
24
+ },
25
+ "type": "module",
26
+ "main": "dist/index.js",
27
+ "types": "dist/index.d.ts",
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "default": "./dist/index.js"
32
+ }
33
+ },
34
+ "files": [
35
+ "dist"
36
+ ],
37
+ "scripts": {
38
+ "build": "tsc",
39
+ "dev": "tsc --watch",
40
+ "test": "vitest run",
41
+ "test:watch": "vitest",
42
+ "prepublishOnly": "npm run build",
43
+ "typecheck": "tsc --noEmit"
44
+ },
45
+ "devDependencies": {
46
+ "@types/node": "^22.10.1",
47
+ "typescript": "^5.7.2",
48
+ "vitest": "^2.1.0"
49
+ },
50
+ "engines": {
51
+ "node": ">=18.0.0"
52
+ }
53
+ }