@cellaware/utils 9.5.2 → 9.5.4

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.
@@ -25,6 +25,7 @@ export interface BICanvasCustomWidget {
25
25
  }
26
26
  export interface BICanvasState {
27
27
  pages: any[];
28
+ schema?: any;
28
29
  selectedPageId: string;
29
30
  customWidgets: BICanvasCustomWidget[];
30
31
  }
@@ -31,3 +31,5 @@ export interface ChatWMSUserSettings {
31
31
  clientId: string;
32
32
  }
33
33
  export declare function chatwmsInitUserSettings(): ChatWMSUserSettings;
34
+ export declare const CHATWMS_USER_GROUP_ADMIN = "__admin__";
35
+ export declare const CHATWMS_USER_GROUP_CONFIG = "__config__";
@@ -41,3 +41,5 @@ export function chatwmsInitUserSettings() {
41
41
  clientId: ''
42
42
  };
43
43
  }
44
+ export const CHATWMS_USER_GROUP_ADMIN = '__admin__';
45
+ export const CHATWMS_USER_GROUP_CONFIG = '__config__';
package/dist/llm/cost.js CHANGED
@@ -1,7 +1,8 @@
1
1
  // https://platform.openai.com/docs/pricing
2
2
  // Important: prices increase with *long context* (>272K tokens).
3
3
  const MODEL_COSTS = {
4
- 'gpt-5.6-sol': { inputCost: 5.00, outputCost: 30.00 },
4
+ 'gpt-6-astra': { inputCost: 10.00, outputCost: 50.00 },
5
+ 'gpt-5.6-sol': { inputCost: 4.00, outputCost: 20.00 },
5
6
  'gpt-5.6-terra': { inputCost: 2.00, outputCost: 12.00 },
6
7
  'gpt-5.6-luna': { inputCost: 0.20, outputCost: 1.20 },
7
8
  'gpt-5.5': { inputCost: 5.00, outputCost: 30.00 },
@@ -1,4 +1,4 @@
1
- export type ModelName = '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-mini' | 'gpt-5.4-nano' | 'gpt-5.4-pro' | 'gpt-5.3-chat-latest' | 'gpt-5.3-codex' | 'gpt-5.2-pro' | 'gpt-5.2-codex' | 'gpt-5.2-chat-latest' | 'gpt-5.2' | 'gpt-5.1' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'o1' | 'o1-mini' | 'o3' | 'o3-mini' | 'o4-mini';
1
+ export type ModelName = 'gpt-6-astra' | '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-mini' | 'gpt-5.4-nano' | 'gpt-5.4-pro' | 'gpt-5.3-chat-latest' | 'gpt-5.3-codex' | 'gpt-5.2-pro' | 'gpt-5.2-codex' | 'gpt-5.2-chat-latest' | 'gpt-5.2' | 'gpt-5.1' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'o1' | 'o1-mini' | 'o3' | 'o3-mini' | 'o4-mini';
2
2
  export type ReasoningEffort = 'none' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
3
3
  export type Verbosity = 'low' | 'medium' | 'high';
4
4
  export interface OpenAIModelOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "9.5.2",
3
+ "version": "9.5.4",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",