@applica-software-guru/persona-sdk 0.1.26 → 0.1.27

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/index.d.ts CHANGED
@@ -666,11 +666,12 @@ export declare interface ModelConfiguration {
666
666
  ollamaModelName?: string;
667
667
  openaiCompatibleModelName?: string;
668
668
  openaiCompatibleApiKey?: string;
669
+ openrouterModelName?: string;
669
670
  }
670
671
 
671
- export declare type ModelName = 'gemini-3.5-flash' | 'gemini-3-pro' | 'gemini-3-flash-preview' | 'gemini-3.1-pro-preview' | 'gemini-3.1-flash-lite' | 'gemini-2.5-pro' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-2.0-flash' | 'gemini-1.5-flash' | 'gemini-1.5-pro' | 'gemini-2.5-pro-exp-03-25' | 'gemini-2.0-flash-001' | 'gemini-2.0-flash-lite' | 'gemini-2.0-flash-lite-001' | 'gemini-1.5-flash-latest' | 'gemini-1.5-flash-001' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro-latest' | 'gemini-1.5-pro-001' | 'gemini-1.5-pro-002' | 'gpt-5.5' | 'gpt-5.4' | 'gpt-5.3' | 'gpt-5.2' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.5' | 'o1' | 'o1-mini' | 'o3-mini' | 'o4-mini' | 'o4-mini-high' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'accounts/fireworks/models/minimax-m2p7' | 'accounts/fireworks/models/minimax-m2p5' | 'accounts/fireworks/models/deepseek-v3p2' | 'accounts/fireworks/models/kimi-k2p5' | 'accounts/fireworks/models/glm-5' | 'accounts/fireworks/models/glm-5p1' | 'accounts/fireworks/models/deepseek-v4-pro' | 'accounts/fireworks/models/qwen3p6-plus' | 'grok-4.3' | 'grok-4-1-fast-reasoning' | 'grok-4-1-fast-non-reasoning' | 'grok-code-fast-1' | 'grok-4-fast-reasoning' | 'grok-4-fast-non-reasoning' | 'grok-4-0709' | 'grok-3-mini' | 'grok-3' | 'grok-2-vision-1212' | 'ollama' | 'openai-compatible';
672
+ export declare type ModelName = 'gemini-3.5-flash' | 'gemini-3-pro' | 'gemini-3-flash-preview' | 'gemini-3.1-pro-preview' | 'gemini-3.1-flash-lite' | 'gemini-2.5-pro' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-2.0-flash' | 'gemini-1.5-flash' | 'gemini-1.5-pro' | 'gemini-2.5-pro-exp-03-25' | 'gemini-2.0-flash-001' | 'gemini-2.0-flash-lite' | 'gemini-2.0-flash-lite-001' | 'gemini-1.5-flash-latest' | 'gemini-1.5-flash-001' | 'gemini-1.5-flash-002' | 'gemini-1.5-pro-latest' | 'gemini-1.5-pro-001' | 'gemini-1.5-pro-002' | 'gpt-5.5' | 'gpt-5.4' | 'gpt-5.3' | 'gpt-5.2' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.5' | 'o1' | 'o1-mini' | 'o3-mini' | 'o4-mini' | 'o4-mini-high' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'accounts/fireworks/models/minimax-m2p7' | 'accounts/fireworks/models/minimax-m2p5' | 'accounts/fireworks/models/deepseek-v3p2' | 'accounts/fireworks/models/kimi-k2p5' | 'accounts/fireworks/models/glm-5' | 'accounts/fireworks/models/glm-5p1' | 'accounts/fireworks/models/deepseek-v4-pro' | 'accounts/fireworks/models/qwen3p6-plus' | 'grok-4.3' | 'grok-4-1-fast-reasoning' | 'grok-4-1-fast-non-reasoning' | 'grok-code-fast-1' | 'grok-4-fast-reasoning' | 'grok-4-fast-non-reasoning' | 'grok-4-0709' | 'grok-3-mini' | 'grok-3' | 'grok-2-vision-1212' | 'ollama' | 'openai-compatible' | 'openrouter';
672
673
 
673
- export declare type ModelProvider = 'google' | 'openai' | 'grok' | 'fireworks' | 'ollama' | 'openai_compatible';
674
+ export declare type ModelProvider = 'google' | 'openai' | 'grok' | 'fireworks' | 'ollama' | 'openai_compatible' | 'openrouter';
674
675
 
675
676
  export declare interface NetworkConfiguration {
676
677
  allowedWebsites?: string[];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@applica-software-guru/persona-sdk",
3
3
  "description": "Official TypeScript SDK for the Persona API — manage agents, sessions, projects, knowledge bases, workflows, triggers and more.",
4
4
  "private": false,
5
- "version": "0.1.26",
5
+ "version": "0.1.27",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "dev": "vite",
@@ -65,7 +65,8 @@ export type ModelName =
65
65
  | 'grok-3'
66
66
  | 'grok-2-vision-1212'
67
67
  | 'ollama'
68
- | 'openai-compatible';
68
+ | 'openai-compatible'
69
+ | 'openrouter';
69
70
 
70
71
  export type SynthesizerName = 'gcloud' | 'elevenlabs' | 'gtts' | 'openai';
71
72
 
@@ -79,7 +80,7 @@ export type CollaborationMode = 'delegate_and_return' | 'persistent_transfer' |
79
80
 
80
81
  export type ReasoningEffort = 'minimal' | 'low' | 'medium' | 'high';
81
82
 
82
- export type ModelProvider = 'google' | 'openai' | 'grok' | 'fireworks' | 'ollama' | 'openai_compatible';
83
+ export type ModelProvider = 'google' | 'openai' | 'grok' | 'fireworks' | 'ollama' | 'openai_compatible' | 'openrouter';
83
84
 
84
85
  export type AgentType = 'agent';
85
86
 
@@ -106,6 +107,7 @@ export interface ModelConfiguration {
106
107
  ollamaModelName?: string;
107
108
  openaiCompatibleModelName?: string;
108
109
  openaiCompatibleApiKey?: string;
110
+ openrouterModelName?: string;
109
111
  }
110
112
 
111
113
  export interface SynthesizerVoice {