@adaptic/lumic-utils 1.0.26 → 1.0.28
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/{apollo-client.client-CtjgIfRT.js → apollo-client.client-CzTlfziA.js} +3 -3
- package/dist/{apollo-client.client-CtjgIfRT.js.map → apollo-client.client-CzTlfziA.js.map} +1 -1
- package/dist/{apollo-client.client-Uv0-ZrFd.js → apollo-client.client-KzZx5slz.js} +4 -4
- package/dist/{apollo-client.client-Uv0-ZrFd.js.map → apollo-client.client-KzZx5slz.js.map} +1 -1
- package/dist/{apollo-client.server-DaXmxoBl.js → apollo-client.server-Bv2rQsCw.js} +3 -3
- package/dist/{apollo-client.server-DaXmxoBl.js.map → apollo-client.server-Bv2rQsCw.js.map} +1 -1
- package/dist/{apollo-client.server-JYHXy9ib.js → apollo-client.server-DQPc4Iam.js} +3 -3
- package/dist/{apollo-client.server-JYHXy9ib.js.map → apollo-client.server-DQPc4Iam.js.map} +1 -1
- package/dist/{index-Bu-2kk3p.js → index-Cjy8RH6E.js} +2 -2
- package/dist/{index-Bu-2kk3p.js.map → index-Cjy8RH6E.js.map} +1 -1
- package/dist/{index-DgFDhFuO.js → index-FqzV71J4.js} +52 -4
- package/dist/{index-z7Y1nTVX.js.map → index-FqzV71J4.js.map} +1 -1
- package/dist/{index-z7Y1nTVX.js → index-I-0uzUiF.js} +52 -4
- package/dist/{index-DgFDhFuO.js.map → index-I-0uzUiF.js.map} +1 -1
- package/dist/{index-HopiPnjc.js → index-QMP2OpYn.js} +2 -2
- package/dist/{index-HopiPnjc.js.map → index-QMP2OpYn.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/test.cjs +1 -1
- package/dist/test.mjs +1 -1
- package/dist/types/types/openai-types.d.ts +37 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bW as AWSLambdaError, bX as AWSS3Error, c5 as AWS_LAMBDA_TIMEOUT_MS, c6 as AWS_S3_TIMEOUT_MS, aV as CircuitBreaker, aX as CircuitBreakerOpenError, aW as CircuitBreakerState, aY as DEFAULT_CIRCUIT_BREAKER_CONFIG, c8 as GENERIC_FETCH_TIMEOUT_MS, c3 as GOOGLE_SHEETS_TIMEOUT_MS, bY as GoogleSheetsError, b_ as JsonParseError, b0 as LLMCostTracker, bV as LLMError, bt as LLM_ADVANCED_PROVIDER, bq as LLM_DEFAULT_PROVIDER, br as LLM_MINI_PROVIDER, bx as LLM_MODEL_ADVANCED, bv as LLM_MODEL_MINI, bw as LLM_MODEL_NORMAL, bs as LLM_NORMAL_PROVIDER, bu as LLM_PROVIDER, c4 as LLM_TIMEOUT_MS, bT as LumicError, bn as MODEL_ALIASES, bo as OPENAI_COMPATIBLE_PROVIDERS, c7 as OPENWEATHER_TIMEOUT_MS, b$ as PDFError, c2 as PERPLEXITY_TIMEOUT_MS, bp as PROVIDER_DEFAULT_MODELS, bZ as PerplexityError, be as RATE_LIMIT_PROFILES, c1 as SLACK_TIMEOUT_MS, bj as SUPPORTED_MODELS, bU as SlackError, bd as TokenBucketRateLimiter, c0 as ZipError, bi as checkIntegrationHealth, bS as createSafeValidator, bR as createValidator, b8 as generateCorrelationId, ba as getCorrelationContext, bc as getCorrelationHeaders, b9 as getCorrelationId, b1 as getLLMCostTracker, aM as getLumicLogger, b5 as getMetricsCollector, bl as getModelCapabilities, bm as getModelProvider, bf as getRateLimiter, aR as getSecrets, bH as googleSheetsValueRangeSchema, bk as isValidModel, bM as lambdaInvokeResponseSchema, l as lumic, by as makeAnthropicCall, bz as makeOpenAICompatibleCall, bA as openAIChatCompletionSchema, bB as openAIImageResponseSchema, bE as perplexityResponseSchema, aT as requireSecret, bg as resetAllRateLimiters, b3 as resetLLMCostTracker, b6 as resetMetricsCollector, aS as resetSecrets, bL as s3GetObjectSchema, bK as s3ListObjectsSchema, bJ as safeValidateGoogleSheetsResponse, bQ as safeValidateLambdaResponse, bD as safeValidateOpenAIChatCompletion, bG as safeValidatePerplexityResponse, bO as safeValidateS3ListObjects, aP as sanitizeAWSAuth, aO as sanitizeError, aN as sanitizeForLog, aQ as sanitizeObject, b2 as setLLMCostTracker, aL as setLumicLogger, b4 as setMetricsCollector, a$ as validateGoogleSheetsRange, bI as validateGoogleSheetsResponse, bP as validateLambdaResponse, bC as validateOpenAIChatCompletion, bF as validatePerplexityResponse, a_ as validateS3Key, bN as validateS3ListObjects, aZ as validateSlackChannel, bb as withCorrelationId, b7 as withMetrics, bh as withRateLimit, aU as withRetry } from './index-
|
|
1
|
+
export { bW as AWSLambdaError, bX as AWSS3Error, c5 as AWS_LAMBDA_TIMEOUT_MS, c6 as AWS_S3_TIMEOUT_MS, aV as CircuitBreaker, aX as CircuitBreakerOpenError, aW as CircuitBreakerState, aY as DEFAULT_CIRCUIT_BREAKER_CONFIG, c8 as GENERIC_FETCH_TIMEOUT_MS, c3 as GOOGLE_SHEETS_TIMEOUT_MS, bY as GoogleSheetsError, b_ as JsonParseError, b0 as LLMCostTracker, bV as LLMError, bt as LLM_ADVANCED_PROVIDER, bq as LLM_DEFAULT_PROVIDER, br as LLM_MINI_PROVIDER, bx as LLM_MODEL_ADVANCED, bv as LLM_MODEL_MINI, bw as LLM_MODEL_NORMAL, bs as LLM_NORMAL_PROVIDER, bu as LLM_PROVIDER, c4 as LLM_TIMEOUT_MS, bT as LumicError, bn as MODEL_ALIASES, bo as OPENAI_COMPATIBLE_PROVIDERS, c7 as OPENWEATHER_TIMEOUT_MS, b$ as PDFError, c2 as PERPLEXITY_TIMEOUT_MS, bp as PROVIDER_DEFAULT_MODELS, bZ as PerplexityError, be as RATE_LIMIT_PROFILES, c1 as SLACK_TIMEOUT_MS, bj as SUPPORTED_MODELS, bU as SlackError, bd as TokenBucketRateLimiter, c0 as ZipError, bi as checkIntegrationHealth, bS as createSafeValidator, bR as createValidator, b8 as generateCorrelationId, ba as getCorrelationContext, bc as getCorrelationHeaders, b9 as getCorrelationId, b1 as getLLMCostTracker, aM as getLumicLogger, b5 as getMetricsCollector, bl as getModelCapabilities, bm as getModelProvider, bf as getRateLimiter, aR as getSecrets, bH as googleSheetsValueRangeSchema, bk as isValidModel, bM as lambdaInvokeResponseSchema, l as lumic, by as makeAnthropicCall, bz as makeOpenAICompatibleCall, bA as openAIChatCompletionSchema, bB as openAIImageResponseSchema, bE as perplexityResponseSchema, aT as requireSecret, bg as resetAllRateLimiters, b3 as resetLLMCostTracker, b6 as resetMetricsCollector, aS as resetSecrets, bL as s3GetObjectSchema, bK as s3ListObjectsSchema, bJ as safeValidateGoogleSheetsResponse, bQ as safeValidateLambdaResponse, bD as safeValidateOpenAIChatCompletion, bG as safeValidatePerplexityResponse, bO as safeValidateS3ListObjects, aP as sanitizeAWSAuth, aO as sanitizeError, aN as sanitizeForLog, aQ as sanitizeObject, b2 as setLLMCostTracker, aL as setLumicLogger, b4 as setMetricsCollector, a$ as validateGoogleSheetsRange, bI as validateGoogleSheetsResponse, bP as validateLambdaResponse, bC as validateOpenAIChatCompletion, bF as validatePerplexityResponse, a_ as validateS3Key, bN as validateS3ListObjects, aZ as validateSlackChannel, bb as withCorrelationId, b7 as withMetrics, bh as withRateLimit, aU as withRetry } from './index-I-0uzUiF.js';
|
|
2
2
|
import 'openai';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '@aws-sdk/client-s3';
|
package/dist/test.cjs
CHANGED
package/dist/test.mjs
CHANGED
|
@@ -34,6 +34,33 @@ export declare const OPENAI_COMPATIBLE_PROVIDERS: Record<string, OpenAICompatibl
|
|
|
34
34
|
* Supported models with their capabilities
|
|
35
35
|
*/
|
|
36
36
|
export declare const SUPPORTED_MODELS: {
|
|
37
|
+
readonly 'gpt-5.6-sol': {
|
|
38
|
+
readonly provider: "openai";
|
|
39
|
+
readonly supportsTools: true;
|
|
40
|
+
readonly supportsJson: true;
|
|
41
|
+
readonly supportsStructuredOutput: true;
|
|
42
|
+
readonly supportsDeveloperPrompt: true;
|
|
43
|
+
readonly supportsTemperature: false;
|
|
44
|
+
readonly isReasoningModel: false;
|
|
45
|
+
};
|
|
46
|
+
readonly 'gpt-5.6-terra': {
|
|
47
|
+
readonly provider: "openai";
|
|
48
|
+
readonly supportsTools: true;
|
|
49
|
+
readonly supportsJson: true;
|
|
50
|
+
readonly supportsStructuredOutput: true;
|
|
51
|
+
readonly supportsDeveloperPrompt: true;
|
|
52
|
+
readonly supportsTemperature: false;
|
|
53
|
+
readonly isReasoningModel: false;
|
|
54
|
+
};
|
|
55
|
+
readonly 'gpt-5.6-luna': {
|
|
56
|
+
readonly provider: "openai";
|
|
57
|
+
readonly supportsTools: true;
|
|
58
|
+
readonly supportsJson: true;
|
|
59
|
+
readonly supportsStructuredOutput: true;
|
|
60
|
+
readonly supportsDeveloperPrompt: true;
|
|
61
|
+
readonly supportsTemperature: false;
|
|
62
|
+
readonly isReasoningModel: false;
|
|
63
|
+
};
|
|
37
64
|
readonly 'gpt-5.5': {
|
|
38
65
|
readonly provider: "openai";
|
|
39
66
|
readonly supportsTools: true;
|
|
@@ -79,6 +106,15 @@ export declare const SUPPORTED_MODELS: {
|
|
|
79
106
|
readonly supportsTemperature: false;
|
|
80
107
|
readonly isReasoningModel: false;
|
|
81
108
|
};
|
|
109
|
+
readonly 'gpt-5.4-pro': {
|
|
110
|
+
readonly provider: "openai";
|
|
111
|
+
readonly supportsTools: true;
|
|
112
|
+
readonly supportsJson: true;
|
|
113
|
+
readonly supportsStructuredOutput: true;
|
|
114
|
+
readonly supportsDeveloperPrompt: true;
|
|
115
|
+
readonly supportsTemperature: false;
|
|
116
|
+
readonly isReasoningModel: false;
|
|
117
|
+
};
|
|
82
118
|
readonly 'gpt-5': {
|
|
83
119
|
readonly provider: "openai";
|
|
84
120
|
readonly supportsTools: true;
|
|
@@ -429,7 +465,7 @@ export type SupportedModel = keyof typeof SUPPORTED_MODELS;
|
|
|
429
465
|
/**
|
|
430
466
|
* Represents OpenAI models
|
|
431
467
|
*/
|
|
432
|
-
export type OpenAIModel = Extract<SupportedModel, 'gpt-5.5' | 'gpt-5.5-pro' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'o1' | 'o1-mini' | 'o3' | 'o3-mini' | 'o4-mini'>;
|
|
468
|
+
export type OpenAIModel = Extract<SupportedModel, 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-5.5' | 'gpt-5.5-pro' | 'gpt-5.4' | 'gpt-5.4-pro' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'o1' | 'o1-mini' | 'o3' | 'o3-mini' | 'o4-mini'>;
|
|
433
469
|
/**
|
|
434
470
|
* Represents Anthropic Claude models
|
|
435
471
|
*/
|