@zerotal/ai 1.7.3 → 1.7.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.
Files changed (2) hide show
  1. package/api-surface.md +2 -2
  2. package/package.json +4 -4
package/api-surface.md CHANGED
@@ -605,7 +605,7 @@ interface OpenAiConfigShape = {
605
605
 
606
606
  type AiConfigInput = { default?: string | undefined; drivers?: DeepPartial<{ anthropic?: AnthropicConfigShape; openai?: OpenAiConfigShape; ollama?: OllamaConfigShape; }> | undefined; embeddings?: DeepPartial<EmbeddingsConfigShape> | undefined; limits?: DeepPartial<AiLimitsConfigShape> | undefined; redact?: boolean | undefined; agent?: DeepPartial<AiAgentConfigShape> | undefined;}
607
607
 
608
- type AiEffort = 'max' | 'medium' | 'low' | 'high' | 'xhigh'
608
+ type AiEffort = 'low' | 'medium' | 'high' | 'xhigh' | 'max'
609
609
 
610
610
  type AiProviderOptions = { [x: string]: Record<string, unknown>;}
611
611
 
@@ -615,6 +615,6 @@ type AiRole = 'user' | 'assistant'
615
615
 
616
616
  type AiStopReason = 'end_turn' | 'max_tokens' | 'tool_use' | 'pause_turn' | 'refusal' | 'stop_sequence' | 'unknown'
617
617
 
618
- type AiStreamChunk = { type: 'text'; text: string;} | { type: 'thinking'; text: string;} | { type: 'tool_call'; call: AiToolCall;} | { type: 'done'; response: AiResponse;}
618
+ type AiStreamChunk = { type: 'text'; text: string } | { type: 'thinking'; text: string } | { type: 'tool_call'; call: AiToolCall } | { type: 'done'; response: AiResponse }
619
619
 
620
620
  type SchemaInput = { [x: string]: FieldRuleDefinition | FieldRule;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerotal/ai",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "license": "MIT",
5
5
  "maturity": "experimental",
6
6
  "private": false,
@@ -30,9 +30,9 @@
30
30
  "typecheck": "tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "@zerotal/core": "1.7.3",
34
- "@zerotal/validator": "1.7.3",
35
- "@zerotal/queue": "1.7.3"
33
+ "@zerotal/core": "1.7.4",
34
+ "@zerotal/validator": "1.7.4",
35
+ "@zerotal/queue": "1.7.4"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@anthropic-ai/sdk": ">=0.70.0"