@dvina/sdk 4.1.59 → 4.1.66
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/_generated_documents-VM6RSSXR.js +1 -0
- package/dist/adapters/angular/index.d.ts +2 -2
- package/dist/adapters/angular/index.js +1 -159
- package/dist/adapters/react/index.js +1 -49
- package/dist/billing/index.js +1 -5
- package/dist/chunk-5E7LX4YQ.js +1 -0
- package/dist/chunk-D2L26FRK.js +5 -0
- package/dist/chunk-EK7ODJWE.js +1 -0
- package/dist/chunk-G34ETQUN.js +1 -0
- package/dist/chunk-H3TI6B7T.js +1 -0
- package/dist/chunk-IIQ3WGOJ.js +1 -0
- package/dist/chunk-IO56LXKJ.js +1 -0
- package/dist/chunk-SJ6Q5IDB.js +31 -0
- package/dist/{client-D309vpHA.d.ts → client-CEoJfTM9.d.ts} +2 -257
- package/dist/{index-fFR5so7x.d.ts → index-BzmzBgTh.d.ts} +1 -1
- package/dist/index.d.ts +7 -134
- package/dist/index.js +1 -10
- package/dist/inference/index.js +1 -5
- package/dist/package.json +12 -48
- package/dist/pagination/index.d.ts +2 -2
- package/dist/pagination/index.js +1 -5
- package/dist/{sync-engine-BIaOIpU3.d.ts → sync-engine-Bh0UcTVd.d.ts} +13 -0
- package/package.json +13 -49
- package/dist/_generated_documents-GHGFCEAV.js +0 -4
- package/dist/_generated_documents-GHGFCEAV.js.map +0 -1
- package/dist/_generated_documents-Z5MUI5BE.cjs +0 -2777
- package/dist/_generated_documents-Z5MUI5BE.cjs.map +0 -1
- package/dist/adapters/angular/index.cjs +0 -163
- package/dist/adapters/angular/index.cjs.map +0 -1
- package/dist/adapters/angular/index.d.cts +0 -254
- package/dist/adapters/angular/index.js.map +0 -1
- package/dist/adapters/react/index.cjs +0 -51
- package/dist/adapters/react/index.cjs.map +0 -1
- package/dist/adapters/react/index.d.cts +0 -62
- package/dist/adapters/react/index.js.map +0 -1
- package/dist/billing/index.cjs +0 -26
- package/dist/billing/index.cjs.map +0 -1
- package/dist/billing/index.d.cts +0 -328
- package/dist/billing/index.js.map +0 -1
- package/dist/chunk-2J5WONKO.cjs +0 -1608
- package/dist/chunk-2J5WONKO.cjs.map +0 -1
- package/dist/chunk-342BFYZZ.cjs +0 -98
- package/dist/chunk-342BFYZZ.cjs.map +0 -1
- package/dist/chunk-5WRI5ZAA.js +0 -29
- package/dist/chunk-5WRI5ZAA.js.map +0 -1
- package/dist/chunk-7XBJ77RJ.js +0 -103
- package/dist/chunk-7XBJ77RJ.js.map +0 -1
- package/dist/chunk-AE5KAIKK.js +0 -24
- package/dist/chunk-AE5KAIKK.js.map +0 -1
- package/dist/chunk-COFT5ZYL.js +0 -23777
- package/dist/chunk-COFT5ZYL.js.map +0 -1
- package/dist/chunk-DZUJEN5N.cjs +0 -32
- package/dist/chunk-DZUJEN5N.cjs.map +0 -1
- package/dist/chunk-FOKGSMXS.cjs +0 -27
- package/dist/chunk-FOKGSMXS.cjs.map +0 -1
- package/dist/chunk-HHBDJ65K.cjs +0 -24198
- package/dist/chunk-HHBDJ65K.cjs.map +0 -1
- package/dist/chunk-KEM6SUTS.js +0 -92
- package/dist/chunk-KEM6SUTS.js.map +0 -1
- package/dist/chunk-KSVHC4YE.cjs +0 -1841
- package/dist/chunk-KSVHC4YE.cjs.map +0 -1
- package/dist/chunk-KV5SP7RP.cjs +0 -114
- package/dist/chunk-KV5SP7RP.cjs.map +0 -1
- package/dist/chunk-NH4SMZCW.js +0 -1148
- package/dist/chunk-NH4SMZCW.js.map +0 -1
- package/dist/chunk-PDM2KR7T.js +0 -392
- package/dist/chunk-PDM2KR7T.js.map +0 -1
- package/dist/chunk-UELAE75E.cjs +0 -408
- package/dist/chunk-UELAE75E.cjs.map +0 -1
- package/dist/chunk-WX7EFPHT.js +0 -1600
- package/dist/chunk-WX7EFPHT.js.map +0 -1
- package/dist/client-BRIS6DdR.d.cts +0 -8159
- package/dist/client-Bb2gD6Iz.d.cts +0 -488
- package/dist/error-CsVoUTY8.d.cts +0 -95
- package/dist/index-D_Z25Pa1.d.cts +0 -79
- package/dist/index.cjs +0 -2039
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -3823
- package/dist/index.js.map +0 -1
- package/dist/inference/index.cjs +0 -70
- package/dist/inference/index.cjs.map +0 -1
- package/dist/inference/index.d.cts +0 -80
- package/dist/inference/index.js.map +0 -1
- package/dist/pagination/index.cjs +0 -34
- package/dist/pagination/index.cjs.map +0 -1
- package/dist/pagination/index.d.cts +0 -6
- package/dist/pagination/index.js.map +0 -1
- package/dist/sync-engine-gpxyhQBl.d.cts +0 -478
- package/dist/types-Chg8ASmf.d.cts +0 -116
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/dist/inference/index.cjs
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkUELAE75E_cjs = require('../chunk-UELAE75E.cjs');
|
|
4
|
-
require('../chunk-KV5SP7RP.cjs');
|
|
5
|
-
require('../chunk-DZUJEN5N.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "ChatCompletionStream", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkUELAE75E_cjs.ChatCompletionStream; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "DvinaContextLengthError", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunkUELAE75E_cjs.DvinaContextLengthError; }
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "DvinaDeploymentError", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function () { return chunkUELAE75E_cjs.DvinaDeploymentError; }
|
|
20
|
-
});
|
|
21
|
-
Object.defineProperty(exports, "DvinaInferenceAuthError", {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () { return chunkUELAE75E_cjs.DvinaInferenceAuthError; }
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "DvinaInferenceError", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () { return chunkUELAE75E_cjs.DvinaInferenceError; }
|
|
28
|
-
});
|
|
29
|
-
Object.defineProperty(exports, "DvinaProviderError", {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
get: function () { return chunkUELAE75E_cjs.DvinaProviderError; }
|
|
32
|
-
});
|
|
33
|
-
Object.defineProperty(exports, "DvinaProviderUnavailableError", {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function () { return chunkUELAE75E_cjs.DvinaProviderUnavailableError; }
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, "DvinaQuotaError", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () { return chunkUELAE75E_cjs.DvinaQuotaError; }
|
|
40
|
-
});
|
|
41
|
-
Object.defineProperty(exports, "DvinaRateLimitError", {
|
|
42
|
-
enumerable: true,
|
|
43
|
-
get: function () { return chunkUELAE75E_cjs.DvinaRateLimitError; }
|
|
44
|
-
});
|
|
45
|
-
Object.defineProperty(exports, "DvinaStreamError", {
|
|
46
|
-
enumerable: true,
|
|
47
|
-
get: function () { return chunkUELAE75E_cjs.DvinaStreamError; }
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, "DvinaTimeoutError", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () { return chunkUELAE75E_cjs.DvinaTimeoutError; }
|
|
52
|
-
});
|
|
53
|
-
Object.defineProperty(exports, "DvinaUnsupportedModelError", {
|
|
54
|
-
enumerable: true,
|
|
55
|
-
get: function () { return chunkUELAE75E_cjs.DvinaUnsupportedModelError; }
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(exports, "createInferenceClient", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
get: function () { return chunkUELAE75E_cjs.createInferenceClient; }
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, "createInferenceClientInternal", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () { return chunkUELAE75E_cjs.createInferenceClientInternal; }
|
|
64
|
-
});
|
|
65
|
-
Object.defineProperty(exports, "parseSSEStream", {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function () { return chunkUELAE75E_cjs.parseSSEStream; }
|
|
68
|
-
});
|
|
69
|
-
//# sourceMappingURL=index.cjs.map
|
|
70
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
export { C as Chat, a as ChatCompletionChoice, b as ChatCompletionChunk, c as ChatCompletionRequest, d as ChatCompletionResponse, e as ChatCompletionStream, f as ChatCompletionStreamRequest, g as ChatCompletions, h as ChatMessage, i as ContentPart, H as HealthResponse, I as InferenceClient, j as InferenceClientOptions, k as InferenceErrorResponse, M as Model, l as ModelListResponse, m as Models, R as Responses, n as ResponsesRequest, o as ResponsesStreamRequest, S as StreamChunkChoice, p as StreamDelta, T as Tool, q as ToolCall, r as ToolChoice, U as Usage, s as createInferenceClient, t as createInferenceClientInternal, u as parseSSEStream } from '../client-Bb2gD6Iz.cjs';
|
|
2
|
-
import { D as DvinaError } from '../error-CsVoUTY8.cjs';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Base error class for inference API errors.
|
|
6
|
-
* Contains the OpenAI-compatible error shape returned by the server.
|
|
7
|
-
*/
|
|
8
|
-
declare class DvinaInferenceError extends DvinaError {
|
|
9
|
-
/** HTTP status code from the server */
|
|
10
|
-
readonly status: number;
|
|
11
|
-
/** OpenAI-compatible error type (e.g. 'invalid_request_error') */
|
|
12
|
-
readonly type: string;
|
|
13
|
-
/** Machine-readable error code (e.g. 'model_not_found') */
|
|
14
|
-
readonly code: string;
|
|
15
|
-
constructor(message: string, status: number, type: string, code: string, cause?: Error);
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Error thrown when the inference API returns 429 (rate limited).
|
|
19
|
-
*/
|
|
20
|
-
declare class DvinaRateLimitError extends DvinaInferenceError {
|
|
21
|
-
/** Retry-After header value in seconds, if provided by the server */
|
|
22
|
-
readonly retryAfter?: number;
|
|
23
|
-
constructor(message: string, retryAfter?: number, cause?: Error);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Error thrown when the workspace token quota is exceeded (403 with code 'token_limit_reached').
|
|
27
|
-
*/
|
|
28
|
-
declare class DvinaQuotaError extends DvinaInferenceError {
|
|
29
|
-
constructor(message?: string, cause?: Error);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Error thrown when inference API authentication fails (401/403).
|
|
33
|
-
*/
|
|
34
|
-
declare class DvinaInferenceAuthError extends DvinaInferenceError {
|
|
35
|
-
constructor(message?: string, status?: number, cause?: Error);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Error thrown during an SSE stream when the connection drops or a mid-stream error occurs.
|
|
39
|
-
*/
|
|
40
|
-
declare class DvinaStreamError extends DvinaInferenceError {
|
|
41
|
-
constructor(message: string, cause?: Error);
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Error thrown when the prompt exceeds the model's context window (400, code 'context_length_exceeded').
|
|
45
|
-
*/
|
|
46
|
-
declare class DvinaContextLengthError extends DvinaInferenceError {
|
|
47
|
-
constructor(message?: string, cause?: Error);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Error thrown when the inference request times out (400, code 'request_timeout').
|
|
51
|
-
*/
|
|
52
|
-
declare class DvinaTimeoutError extends DvinaInferenceError {
|
|
53
|
-
constructor(message?: string, cause?: Error);
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Error thrown when the upstream provider is unreachable (502, code 'provider_unavailable').
|
|
57
|
-
*/
|
|
58
|
-
declare class DvinaProviderUnavailableError extends DvinaInferenceError {
|
|
59
|
-
constructor(message?: string, cause?: Error);
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Error thrown when the upstream provider returns an error (502/400, code 'provider_error').
|
|
63
|
-
*/
|
|
64
|
-
declare class DvinaProviderError extends DvinaInferenceError {
|
|
65
|
-
constructor(message?: string, status?: number, cause?: Error);
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Error thrown when a requested deployment is not found (502, code 'deployment_not_found').
|
|
69
|
-
*/
|
|
70
|
-
declare class DvinaDeploymentError extends DvinaInferenceError {
|
|
71
|
-
constructor(message?: string, cause?: Error);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Error thrown when a requested model is not supported (400, code 'unsupported_model').
|
|
75
|
-
*/
|
|
76
|
-
declare class DvinaUnsupportedModelError extends DvinaInferenceError {
|
|
77
|
-
constructor(message?: string, cause?: Error);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export { DvinaContextLengthError, DvinaDeploymentError, DvinaInferenceAuthError, DvinaInferenceError, DvinaProviderError, DvinaProviderUnavailableError, DvinaQuotaError, DvinaRateLimitError, DvinaStreamError, DvinaTimeoutError, DvinaUnsupportedModelError };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkFOKGSMXS_cjs = require('../chunk-FOKGSMXS.cjs');
|
|
4
|
-
var chunk342BFYZZ_cjs = require('../chunk-342BFYZZ.cjs');
|
|
5
|
-
require('../chunk-DZUJEN5N.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "extractNodes", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return chunkFOKGSMXS_cjs.extractNodes; }
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "mergeConnections", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return chunkFOKGSMXS_cjs.mergeConnections; }
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "AbstractConnection", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function () { return chunk342BFYZZ_cjs.AbstractConnection; }
|
|
20
|
-
});
|
|
21
|
-
Object.defineProperty(exports, "Connection", {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () { return chunk342BFYZZ_cjs.Connection; }
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "PageInfo", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () { return chunk342BFYZZ_cjs.PageInfo; }
|
|
28
|
-
});
|
|
29
|
-
Object.defineProperty(exports, "defaultConnection", {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
get: function () { return chunk342BFYZZ_cjs.defaultConnection; }
|
|
32
|
-
});
|
|
33
|
-
//# sourceMappingURL=index.cjs.map
|
|
34
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { A as AbstractConnection, C as Connection, P as PageInfo, d as defaultConnection, e as extractNodes, m as mergeConnections } from '../index-D_Z25Pa1.cjs';
|
|
2
|
-
import '../types-Chg8ASmf.cjs';
|
|
3
|
-
import 'graphql';
|
|
4
|
-
import '../sync-engine-gpxyhQBl.cjs';
|
|
5
|
-
import 'dexie';
|
|
6
|
-
import '../error-CsVoUTY8.cjs';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|