@elevasis/sdk 0.6.1 → 0.6.2
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/cli.cjs +15 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -3
- package/dist/worker/index.js +14 -3
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -40260,11 +40260,10 @@ var GoogleOptionsSchema = external_exports.object({
|
|
|
40260
40260
|
thinkingLevel: external_exports.enum(["minimal", "low", "medium", "high"]).optional()
|
|
40261
40261
|
});
|
|
40262
40262
|
var GoogleConfigSchema = external_exports.object({
|
|
40263
|
-
model: external_exports.enum(["gemini-3-flash-preview"]),
|
|
40263
|
+
model: external_exports.enum(["gemini-3-flash-preview", "gemini-3.1-flash-lite-preview"]),
|
|
40264
40264
|
provider: external_exports.literal("google"),
|
|
40265
40265
|
apiKey: external_exports.string(),
|
|
40266
|
-
temperature: external_exports.
|
|
40267
|
-
// Must be 1 for Gemini 3 (changing degrades performance)
|
|
40266
|
+
temperature: external_exports.number().min(0).max(2).optional(),
|
|
40268
40267
|
maxOutputTokens: external_exports.number().min(500).optional(),
|
|
40269
40268
|
topP: external_exports.number().min(0).max(1).optional(),
|
|
40270
40269
|
modelOptions: GoogleOptionsSchema.optional()
|
|
@@ -40372,6 +40371,18 @@ var MODEL_INFO = {
|
|
|
40372
40371
|
category: "standard",
|
|
40373
40372
|
configSchema: GoogleConfigSchema
|
|
40374
40373
|
},
|
|
40374
|
+
"gemini-3.1-flash-lite-preview": {
|
|
40375
|
+
inputCostPer1M: 25,
|
|
40376
|
+
// $0.25 per 1M tokens
|
|
40377
|
+
outputCostPer1M: 150,
|
|
40378
|
+
// $1.50 per 1M tokens
|
|
40379
|
+
minTokens: 4e3,
|
|
40380
|
+
recommendedTokens: 8e3,
|
|
40381
|
+
maxTokens: 1e6,
|
|
40382
|
+
// 1M context window
|
|
40383
|
+
category: "standard",
|
|
40384
|
+
configSchema: GoogleConfigSchema
|
|
40385
|
+
},
|
|
40375
40386
|
// Anthropic Claude Models (direct SDK access via @anthropic-ai/sdk)
|
|
40376
40387
|
// Using aliases - automatically points to latest versions
|
|
40377
40388
|
"claude-opus-4-5": {
|
|
@@ -43873,7 +43884,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
|
|
|
43873
43884
|
// package.json
|
|
43874
43885
|
var package_default = {
|
|
43875
43886
|
name: "@elevasis/sdk",
|
|
43876
|
-
version: "0.6.
|
|
43887
|
+
version: "0.6.2",
|
|
43877
43888
|
description: "SDK for building Elevasis organization resources",
|
|
43878
43889
|
type: "module",
|
|
43879
43890
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -588,7 +588,7 @@ type OpenRouterModel = 'openrouter/anthropic/claude-sonnet-4.5' | 'openrouter/de
|
|
|
588
588
|
/**
|
|
589
589
|
* Supported Google models (direct SDK access)
|
|
590
590
|
*/
|
|
591
|
-
type GoogleModel = 'gemini-3-flash-preview';
|
|
591
|
+
type GoogleModel = 'gemini-3-flash-preview' | 'gemini-3.1-flash-lite-preview';
|
|
592
592
|
/**
|
|
593
593
|
* Supported Anthropic models (direct SDK access via @anthropic-ai/sdk)
|
|
594
594
|
* Using aliases for automatic updates to latest versions
|
package/dist/index.js
CHANGED
|
@@ -236,11 +236,10 @@ var GoogleOptionsSchema = z.object({
|
|
|
236
236
|
thinkingLevel: z.enum(["minimal", "low", "medium", "high"]).optional()
|
|
237
237
|
});
|
|
238
238
|
var GoogleConfigSchema = z.object({
|
|
239
|
-
model: z.enum(["gemini-3-flash-preview"]),
|
|
239
|
+
model: z.enum(["gemini-3-flash-preview", "gemini-3.1-flash-lite-preview"]),
|
|
240
240
|
provider: z.literal("google"),
|
|
241
241
|
apiKey: z.string(),
|
|
242
|
-
temperature: z.
|
|
243
|
-
// Must be 1 for Gemini 3 (changing degrades performance)
|
|
242
|
+
temperature: z.number().min(0).max(2).optional(),
|
|
244
243
|
maxOutputTokens: z.number().min(500).optional(),
|
|
245
244
|
topP: z.number().min(0).max(1).optional(),
|
|
246
245
|
modelOptions: GoogleOptionsSchema.optional()
|
|
@@ -348,6 +347,18 @@ var MODEL_INFO = {
|
|
|
348
347
|
category: "standard",
|
|
349
348
|
configSchema: GoogleConfigSchema
|
|
350
349
|
},
|
|
350
|
+
"gemini-3.1-flash-lite-preview": {
|
|
351
|
+
inputCostPer1M: 25,
|
|
352
|
+
// $0.25 per 1M tokens
|
|
353
|
+
outputCostPer1M: 150,
|
|
354
|
+
// $1.50 per 1M tokens
|
|
355
|
+
minTokens: 4e3,
|
|
356
|
+
recommendedTokens: 8e3,
|
|
357
|
+
maxTokens: 1e6,
|
|
358
|
+
// 1M context window
|
|
359
|
+
category: "standard",
|
|
360
|
+
configSchema: GoogleConfigSchema
|
|
361
|
+
},
|
|
351
362
|
// Anthropic Claude Models (direct SDK access via @anthropic-ai/sdk)
|
|
352
363
|
// Using aliases - automatically points to latest versions
|
|
353
364
|
"claude-opus-4-5": {
|
package/dist/worker/index.js
CHANGED
|
@@ -2638,11 +2638,10 @@ var GoogleOptionsSchema = z.object({
|
|
|
2638
2638
|
thinkingLevel: z.enum(["minimal", "low", "medium", "high"]).optional()
|
|
2639
2639
|
});
|
|
2640
2640
|
var GoogleConfigSchema = z.object({
|
|
2641
|
-
model: z.enum(["gemini-3-flash-preview"]),
|
|
2641
|
+
model: z.enum(["gemini-3-flash-preview", "gemini-3.1-flash-lite-preview"]),
|
|
2642
2642
|
provider: z.literal("google"),
|
|
2643
2643
|
apiKey: z.string(),
|
|
2644
|
-
temperature: z.
|
|
2645
|
-
// Must be 1 for Gemini 3 (changing degrades performance)
|
|
2644
|
+
temperature: z.number().min(0).max(2).optional(),
|
|
2646
2645
|
maxOutputTokens: z.number().min(500).optional(),
|
|
2647
2646
|
topP: z.number().min(0).max(1).optional(),
|
|
2648
2647
|
modelOptions: GoogleOptionsSchema.optional()
|
|
@@ -2750,6 +2749,18 @@ var MODEL_INFO = {
|
|
|
2750
2749
|
category: "standard",
|
|
2751
2750
|
configSchema: GoogleConfigSchema
|
|
2752
2751
|
},
|
|
2752
|
+
"gemini-3.1-flash-lite-preview": {
|
|
2753
|
+
inputCostPer1M: 25,
|
|
2754
|
+
// $0.25 per 1M tokens
|
|
2755
|
+
outputCostPer1M: 150,
|
|
2756
|
+
// $1.50 per 1M tokens
|
|
2757
|
+
minTokens: 4e3,
|
|
2758
|
+
recommendedTokens: 8e3,
|
|
2759
|
+
maxTokens: 1e6,
|
|
2760
|
+
// 1M context window
|
|
2761
|
+
category: "standard",
|
|
2762
|
+
configSchema: GoogleConfigSchema
|
|
2763
|
+
},
|
|
2753
2764
|
// Anthropic Claude Models (direct SDK access via @anthropic-ai/sdk)
|
|
2754
2765
|
// Using aliases - automatically points to latest versions
|
|
2755
2766
|
"claude-opus-4-5": {
|