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