@applica-software-guru/persona-sdk 0.1.25 → 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-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.25",
5
+ "version": "0.1.27",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "dev": "vite",
@@ -54,6 +54,7 @@ export type ModelName =
54
54
  | 'accounts/fireworks/models/glm-5p1'
55
55
  | 'accounts/fireworks/models/deepseek-v4-pro'
56
56
  | 'accounts/fireworks/models/qwen3p6-plus'
57
+ | 'grok-4.3'
57
58
  | 'grok-4-1-fast-reasoning'
58
59
  | 'grok-4-1-fast-non-reasoning'
59
60
  | 'grok-code-fast-1'
@@ -64,7 +65,8 @@ export type ModelName =
64
65
  | 'grok-3'
65
66
  | 'grok-2-vision-1212'
66
67
  | 'ollama'
67
- | 'openai-compatible';
68
+ | 'openai-compatible'
69
+ | 'openrouter';
68
70
 
69
71
  export type SynthesizerName = 'gcloud' | 'elevenlabs' | 'gtts' | 'openai';
70
72
 
@@ -78,7 +80,7 @@ export type CollaborationMode = 'delegate_and_return' | 'persistent_transfer' |
78
80
 
79
81
  export type ReasoningEffort = 'minimal' | 'low' | 'medium' | 'high';
80
82
 
81
- export type ModelProvider = 'google' | 'openai' | 'grok' | 'fireworks' | 'ollama' | 'openai_compatible';
83
+ export type ModelProvider = 'google' | 'openai' | 'grok' | 'fireworks' | 'ollama' | 'openai_compatible' | 'openrouter';
82
84
 
83
85
  export type AgentType = 'agent';
84
86
 
@@ -105,6 +107,7 @@ export interface ModelConfiguration {
105
107
  ollamaModelName?: string;
106
108
  openaiCompatibleModelName?: string;
107
109
  openaiCompatibleApiKey?: string;
110
+ openrouterModelName?: string;
108
111
  }
109
112
 
110
113
  export interface SynthesizerVoice {