@nuvin/nuvin-core 1.19.0 → 2.0.0-rc.1

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/VERSION CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "1.19.0",
3
- "commit": "62fe16d"
2
+ "version": "2.0.0-rc.1",
3
+ "commit": "2d4facf"
4
4
  }
package/dist/index.d.ts CHANGED
@@ -23,7 +23,7 @@ type AgentTemplate = {
23
23
  metadata?: Record<string, unknown>;
24
24
  location?: 'built-in' | 'global' | 'profile' | 'local';
25
25
  };
26
- type CompleteAgent = Required<Pick<AgentTemplate, 'instructions' | 'name' | 'description' | 'allowed_tools' | 'temperature'>> & Pick<AgentTemplate, 'model' | 'disable_model_invocation' | 'user_invocable' | 'context' | 'agent' | 'provider' | 'top_p' | 'max_tokens' | 'timeout_ms' | 'share_context' | 'metadata'> & {
26
+ type CompleteAgent = Required<Pick<AgentTemplate, 'instructions' | 'name' | 'description' | 'allowed_tools'>> & Pick<AgentTemplate, 'model' | 'disable_model_invocation' | 'user_invocable' | 'context' | 'agent' | 'provider' | 'temperature' | 'top_p' | 'max_tokens' | 'timeout_ms' | 'share_context' | 'metadata'> & {
27
27
  location?: 'built-in' | 'global' | 'profile' | 'local';
28
28
  };
29
29
  /**
@@ -540,8 +540,8 @@ type ChatMessage = {
540
540
  type CompletionParams = {
541
541
  messages: ChatMessage[];
542
542
  model: string;
543
- temperature: number;
544
- topP: number;
543
+ temperature?: number;
544
+ topP?: number;
545
545
  maxTokens?: number;
546
546
  tools?: Array<{
547
547
  type: 'function';
@@ -628,6 +628,7 @@ type SendMessageOptions = {
628
628
  conversationId?: string;
629
629
  stream?: boolean;
630
630
  signal?: AbortSignal;
631
+ skipAutoSummaryCheck?: boolean;
631
632
  };
632
633
  type UserAttachment = ImageContentPart & {
633
634
  token?: string;
@@ -915,9 +916,9 @@ interface MetricsPort {
915
916
  type AgentConfig = {
916
917
  id: string;
917
918
  systemPrompt: string;
918
- topP: number;
919
+ topP?: number;
919
920
  model: string;
920
- temperature: number;
921
+ temperature?: number;
921
922
  maxTokens?: number;
922
923
  enabledTools?: string[];
923
924
  maxToolConcurrency?: number;
@@ -1433,6 +1434,10 @@ type InjectedSystemParams = {
1433
1434
  name: string;
1434
1435
  description: string;
1435
1436
  }>;
1437
+ availableSkills?: Array<{
1438
+ name: string;
1439
+ description: string;
1440
+ }>;
1436
1441
  folderTree?: string;
1437
1442
  shell?: string;
1438
1443
  gitBranch?: string;
@@ -1890,6 +1895,10 @@ type SystemContext = {
1890
1895
  gitRepo?: string;
1891
1896
  recentCommits?: string;
1892
1897
  folderTree?: string;
1898
+ availableSkills?: Array<{
1899
+ name: string;
1900
+ description: string;
1901
+ }>;
1893
1902
  };
1894
1903
  type AgentInfo = {
1895
1904
  id: string;
@@ -3046,7 +3055,7 @@ interface LLMOptions {
3046
3055
  retry?: Partial<RetryConfig>;
3047
3056
  }
3048
3057
  interface CustomProviderDefinition {
3049
- type?: 'openai-compat' | 'anthropic-compat';
3058
+ type?: 'openai-compat' | 'anthropic-compat' | 'openai-response-compat';
3050
3059
  baseUrl?: string;
3051
3060
  models?: ModelConfig;
3052
3061
  customHeaders?: Record<string, string>;