@dvina/sdk 4.1.59 → 4.1.64

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.
Files changed (83) hide show
  1. package/dist/_generated_documents-XONZIXZ4.js +1 -0
  2. package/dist/adapters/angular/index.js +1 -159
  3. package/dist/adapters/react/index.js +1 -49
  4. package/dist/billing/index.js +1 -5
  5. package/dist/chunk-5E7LX4YQ.js +1 -0
  6. package/dist/chunk-EK7ODJWE.js +1 -0
  7. package/dist/chunk-EOIDWBEZ.js +1 -0
  8. package/dist/chunk-G34ETQUN.js +1 -0
  9. package/dist/chunk-H3TI6B7T.js +1 -0
  10. package/dist/chunk-IIQ3WGOJ.js +1 -0
  11. package/dist/chunk-JQL7QV2D.js +5 -0
  12. package/dist/chunk-SJ6Q5IDB.js +31 -0
  13. package/dist/index.js +1 -10
  14. package/dist/inference/index.js +1 -5
  15. package/dist/package.json +12 -48
  16. package/dist/pagination/index.js +1 -5
  17. package/package.json +13 -49
  18. package/dist/_generated_documents-GHGFCEAV.js +0 -4
  19. package/dist/_generated_documents-GHGFCEAV.js.map +0 -1
  20. package/dist/_generated_documents-Z5MUI5BE.cjs +0 -2777
  21. package/dist/_generated_documents-Z5MUI5BE.cjs.map +0 -1
  22. package/dist/adapters/angular/index.cjs +0 -163
  23. package/dist/adapters/angular/index.cjs.map +0 -1
  24. package/dist/adapters/angular/index.d.cts +0 -254
  25. package/dist/adapters/angular/index.js.map +0 -1
  26. package/dist/adapters/react/index.cjs +0 -51
  27. package/dist/adapters/react/index.cjs.map +0 -1
  28. package/dist/adapters/react/index.d.cts +0 -62
  29. package/dist/adapters/react/index.js.map +0 -1
  30. package/dist/billing/index.cjs +0 -26
  31. package/dist/billing/index.cjs.map +0 -1
  32. package/dist/billing/index.d.cts +0 -328
  33. package/dist/billing/index.js.map +0 -1
  34. package/dist/chunk-2J5WONKO.cjs +0 -1608
  35. package/dist/chunk-2J5WONKO.cjs.map +0 -1
  36. package/dist/chunk-342BFYZZ.cjs +0 -98
  37. package/dist/chunk-342BFYZZ.cjs.map +0 -1
  38. package/dist/chunk-5WRI5ZAA.js +0 -29
  39. package/dist/chunk-5WRI5ZAA.js.map +0 -1
  40. package/dist/chunk-7XBJ77RJ.js +0 -103
  41. package/dist/chunk-7XBJ77RJ.js.map +0 -1
  42. package/dist/chunk-AE5KAIKK.js +0 -24
  43. package/dist/chunk-AE5KAIKK.js.map +0 -1
  44. package/dist/chunk-COFT5ZYL.js +0 -23777
  45. package/dist/chunk-COFT5ZYL.js.map +0 -1
  46. package/dist/chunk-DZUJEN5N.cjs +0 -32
  47. package/dist/chunk-DZUJEN5N.cjs.map +0 -1
  48. package/dist/chunk-FOKGSMXS.cjs +0 -27
  49. package/dist/chunk-FOKGSMXS.cjs.map +0 -1
  50. package/dist/chunk-HHBDJ65K.cjs +0 -24198
  51. package/dist/chunk-HHBDJ65K.cjs.map +0 -1
  52. package/dist/chunk-KEM6SUTS.js +0 -92
  53. package/dist/chunk-KEM6SUTS.js.map +0 -1
  54. package/dist/chunk-KSVHC4YE.cjs +0 -1841
  55. package/dist/chunk-KSVHC4YE.cjs.map +0 -1
  56. package/dist/chunk-KV5SP7RP.cjs +0 -114
  57. package/dist/chunk-KV5SP7RP.cjs.map +0 -1
  58. package/dist/chunk-NH4SMZCW.js +0 -1148
  59. package/dist/chunk-NH4SMZCW.js.map +0 -1
  60. package/dist/chunk-PDM2KR7T.js +0 -392
  61. package/dist/chunk-PDM2KR7T.js.map +0 -1
  62. package/dist/chunk-UELAE75E.cjs +0 -408
  63. package/dist/chunk-UELAE75E.cjs.map +0 -1
  64. package/dist/chunk-WX7EFPHT.js +0 -1600
  65. package/dist/chunk-WX7EFPHT.js.map +0 -1
  66. package/dist/client-BRIS6DdR.d.cts +0 -8159
  67. package/dist/client-Bb2gD6Iz.d.cts +0 -488
  68. package/dist/error-CsVoUTY8.d.cts +0 -95
  69. package/dist/index-D_Z25Pa1.d.cts +0 -79
  70. package/dist/index.cjs +0 -2039
  71. package/dist/index.cjs.map +0 -1
  72. package/dist/index.d.cts +0 -3823
  73. package/dist/index.js.map +0 -1
  74. package/dist/inference/index.cjs +0 -70
  75. package/dist/inference/index.cjs.map +0 -1
  76. package/dist/inference/index.d.cts +0 -80
  77. package/dist/inference/index.js.map +0 -1
  78. package/dist/pagination/index.cjs +0 -34
  79. package/dist/pagination/index.cjs.map +0 -1
  80. package/dist/pagination/index.d.cts +0 -6
  81. package/dist/pagination/index.js.map +0 -1
  82. package/dist/sync-engine-gpxyhQBl.d.cts +0 -478
  83. 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"}
@@ -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"}