@promptbook/wizard 0.100.0-28 → 0.100.0-31

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/esm/index.es.js CHANGED
@@ -38,7 +38,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
38
38
  * @generated
39
39
  * @see https://github.com/webgptorg/promptbook
40
40
  */
41
- const PROMPTBOOK_ENGINE_VERSION = '0.100.0-28';
41
+ const PROMPTBOOK_ENGINE_VERSION = '0.100.0-31';
42
42
  /**
43
43
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
44
44
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1702,7 +1702,7 @@ function pricing(value) {
1702
1702
  /**
1703
1703
  * List of available Anthropic Claude models with pricing
1704
1704
  *
1705
- * Note: Done at 2025-05-06
1705
+ * Note: Synced with official API docs at 2025-08-20
1706
1706
  *
1707
1707
  * @see https://docs.anthropic.com/en/docs/models-overview
1708
1708
  * @public exported from `@promptbook/anthropic-claude`
@@ -1712,12 +1712,52 @@ const ANTHROPIC_CLAUDE_MODELS = exportJson({
1712
1712
  value: [
1713
1713
  {
1714
1714
  modelVariant: 'CHAT',
1715
- modelTitle: 'Claude 3.5 Sonnet',
1716
- modelName: 'claude-3-5-sonnet-20240620',
1717
- modelDescription: 'Latest Claude model with 200K token context window. Features state-of-the-art reasoning capabilities, sophisticated code generation, and enhanced multilingual understanding. Offers superior accuracy with 30% fewer hallucinations than Claude 3 Sonnet. Provides exceptional performance for complex enterprise applications while maintaining fast response times.',
1715
+ modelTitle: 'Claude Opus 4.1',
1716
+ modelName: 'claude-opus-4-1-20250805',
1717
+ modelDescription: 'Most powerful and capable Claude model with 200K token context window. Features superior reasoning capabilities, exceptional coding abilities, and advanced multimodal understanding. Sets new standards in complex reasoning and analytical tasks with enhanced safety measures. Ideal for the most demanding enterprise applications requiring maximum intelligence.',
1718
1718
  pricing: {
1719
- prompt: pricing(`$2.50 / 1M tokens`),
1720
- output: pricing(`$12.50 / 1M tokens`),
1719
+ prompt: pricing(`$15.00 / 1M tokens`),
1720
+ output: pricing(`$75.00 / 1M tokens`),
1721
+ },
1722
+ },
1723
+ {
1724
+ modelVariant: 'CHAT',
1725
+ modelTitle: 'Claude Opus 4',
1726
+ modelName: 'claude-opus-4-20250514',
1727
+ modelDescription: 'Previous flagship Claude model with 200K token context window. Features very high intelligence and capability with exceptional performance across reasoning, coding, and creative tasks. Maintains strong safety guardrails while delivering sophisticated outputs for complex professional applications.',
1728
+ pricing: {
1729
+ prompt: pricing(`$15.00 / 1M tokens`),
1730
+ output: pricing(`$75.00 / 1M tokens`),
1731
+ },
1732
+ },
1733
+ {
1734
+ modelVariant: 'CHAT',
1735
+ modelTitle: 'Claude Sonnet 4',
1736
+ modelName: 'claude-sonnet-4-20250514',
1737
+ modelDescription: 'High-performance Claude model with exceptional reasoning capabilities and 200K token context window (1M context beta available). Features balanced intelligence and efficiency with enhanced multimodal understanding. Offers optimal performance for most enterprise applications requiring sophisticated AI capabilities.',
1738
+ pricing: {
1739
+ prompt: pricing(`$3.00 / 1M tokens`),
1740
+ output: pricing(`$15.00 / 1M tokens`),
1741
+ },
1742
+ },
1743
+ {
1744
+ modelVariant: 'CHAT',
1745
+ modelTitle: 'Claude Sonnet 3.7',
1746
+ modelName: 'claude-3-7-sonnet-20250219',
1747
+ modelDescription: 'High-performance Claude model with early extended thinking capabilities and 200K token context window. Features enhanced reasoning chains, improved factual accuracy, and toggleable extended thinking for complex problem-solving. Ideal for applications requiring deep analytical capabilities.',
1748
+ pricing: {
1749
+ prompt: pricing(`$3.00 / 1M tokens`),
1750
+ output: pricing(`$15.00 / 1M tokens`),
1751
+ },
1752
+ },
1753
+ {
1754
+ modelVariant: 'CHAT',
1755
+ modelTitle: 'Claude Haiku 3.5',
1756
+ modelName: 'claude-3-5-haiku-20241022',
1757
+ modelDescription: 'Fastest Claude model with 200K token context window optimized for intelligence at blazing speeds. Features enhanced reasoning and contextual understanding while maintaining sub-second response times. Perfect for real-time applications, customer-facing deployments, and high-throughput services.',
1758
+ pricing: {
1759
+ prompt: pricing(`$0.80 / 1M tokens`),
1760
+ output: pricing(`$4.00 / 1M tokens`),
1721
1761
  },
1722
1762
  },
1723
1763
  {
@@ -2503,7 +2543,7 @@ class AnthropicClaudeExecutionTools {
2503
2543
  * Default model for chat variant.
2504
2544
  */
2505
2545
  getDefaultChatModel() {
2506
- return this.getDefaultModel('claude-3-5-sonnet');
2546
+ return this.getDefaultModel('claude-sonnet-4-20250514');
2507
2547
  }
2508
2548
  }
2509
2549
  /**
@@ -2646,7 +2686,7 @@ const _AzureOpenAiMetadataRegistration = $llmToolsMetadataRegister.register({
2646
2686
  /**
2647
2687
  * List of available OpenAI models with pricing
2648
2688
  *
2649
- * Note: Done at 2025-05-06
2689
+ * Note: Synced with official API docs at 2025-08-20
2650
2690
  *
2651
2691
  * @see https://platform.openai.com/docs/models/
2652
2692
  * @see https://openai.com/api/pricing/
@@ -2662,8 +2702,128 @@ const OPENAI_MODELS = exportJson({
2662
2702
  modelName: 'gpt-5',
2663
2703
  modelDescription: "OpenAI's most advanced language model with unprecedented reasoning capabilities and 200K context window. Features revolutionary improvements in complex problem-solving, scientific reasoning, and creative tasks. Demonstrates human-level performance across diverse domains with enhanced safety measures and alignment. Represents the next generation of AI with superior understanding, nuanced responses, and advanced multimodal capabilities.",
2664
2704
  pricing: {
2665
- prompt: pricing(`$10.00 / 1M tokens`),
2666
- output: pricing(`$30.00 / 1M tokens`),
2705
+ prompt: pricing(`$1.25 / 1M tokens`),
2706
+ output: pricing(`$10.00 / 1M tokens`),
2707
+ },
2708
+ },
2709
+ /**/
2710
+ /**/
2711
+ {
2712
+ modelVariant: 'CHAT',
2713
+ modelTitle: 'gpt-5-mini',
2714
+ modelName: 'gpt-5-mini',
2715
+ modelDescription: "A faster, cost-efficient version of GPT-5 for well-defined tasks with 200K context window. Maintains core GPT-5 capabilities while offering 5x faster inference and significantly lower costs. Features enhanced instruction following and reduced latency for production applications requiring quick responses with high quality.",
2716
+ pricing: {
2717
+ prompt: pricing(`$0.25 / 1M tokens`),
2718
+ output: pricing(`$2.00 / 1M tokens`),
2719
+ },
2720
+ },
2721
+ /**/
2722
+ /**/
2723
+ {
2724
+ modelVariant: 'CHAT',
2725
+ modelTitle: 'gpt-5-nano',
2726
+ modelName: 'gpt-5-nano',
2727
+ modelDescription: "The fastest, most cost-efficient version of GPT-5 with 200K context window. Optimized for summarization, classification, and simple reasoning tasks. Features 10x faster inference than base GPT-5 while maintaining good quality for straightforward applications. Ideal for high-volume, cost-sensitive deployments.",
2728
+ pricing: {
2729
+ prompt: pricing(`$0.05 / 1M tokens`),
2730
+ output: pricing(`$0.40 / 1M tokens`),
2731
+ },
2732
+ },
2733
+ /**/
2734
+ /**/
2735
+ {
2736
+ modelVariant: 'CHAT',
2737
+ modelTitle: 'gpt-4.1',
2738
+ modelName: 'gpt-4.1',
2739
+ modelDescription: "Smartest non-reasoning model with 128K context window. Enhanced version of GPT-4 with improved instruction following, better factual accuracy, and reduced hallucinations. Features advanced function calling capabilities and superior performance on coding tasks. Ideal for applications requiring high intelligence without reasoning overhead.",
2740
+ pricing: {
2741
+ prompt: pricing(`$3.00 / 1M tokens`),
2742
+ output: pricing(`$12.00 / 1M tokens`),
2743
+ },
2744
+ },
2745
+ /**/
2746
+ /**/
2747
+ {
2748
+ modelVariant: 'CHAT',
2749
+ modelTitle: 'gpt-4.1-mini',
2750
+ modelName: 'gpt-4.1-mini',
2751
+ modelDescription: "Smaller, faster version of GPT-4.1 with 128K context window. Balances intelligence and efficiency with 3x faster inference than base GPT-4.1. Maintains strong capabilities across text generation, reasoning, and coding while offering better cost-performance ratio for most applications.",
2752
+ pricing: {
2753
+ prompt: pricing(`$0.80 / 1M tokens`),
2754
+ output: pricing(`$3.20 / 1M tokens`),
2755
+ },
2756
+ },
2757
+ /**/
2758
+ /**/
2759
+ {
2760
+ modelVariant: 'CHAT',
2761
+ modelTitle: 'gpt-4.1-nano',
2762
+ modelName: 'gpt-4.1-nano',
2763
+ modelDescription: "Fastest, most cost-efficient version of GPT-4.1 with 128K context window. Optimized for high-throughput applications requiring good quality at minimal cost. Features 5x faster inference than GPT-4.1 while maintaining adequate performance for most general-purpose tasks.",
2764
+ pricing: {
2765
+ prompt: pricing(`$0.20 / 1M tokens`),
2766
+ output: pricing(`$0.80 / 1M tokens`),
2767
+ },
2768
+ },
2769
+ /**/
2770
+ /**/
2771
+ {
2772
+ modelVariant: 'CHAT',
2773
+ modelTitle: 'o3',
2774
+ modelName: 'o3',
2775
+ modelDescription: "Advanced reasoning model with 128K context window specializing in complex logical, mathematical, and analytical tasks. Successor to o1 with enhanced step-by-step problem-solving capabilities and superior performance on STEM-focused problems. Ideal for professional applications requiring deep analytical thinking and precise reasoning.",
2776
+ pricing: {
2777
+ prompt: pricing(`$15.00 / 1M tokens`),
2778
+ output: pricing(`$60.00 / 1M tokens`),
2779
+ },
2780
+ },
2781
+ /**/
2782
+ /**/
2783
+ {
2784
+ modelVariant: 'CHAT',
2785
+ modelTitle: 'o3-pro',
2786
+ modelName: 'o3-pro',
2787
+ modelDescription: "Enhanced version of o3 with more compute allocated for better responses on the most challenging problems. Features extended reasoning time and improved accuracy on complex analytical tasks. Designed for applications where maximum reasoning quality is more important than response speed.",
2788
+ pricing: {
2789
+ prompt: pricing(`$30.00 / 1M tokens`),
2790
+ output: pricing(`$120.00 / 1M tokens`),
2791
+ },
2792
+ },
2793
+ /**/
2794
+ /**/
2795
+ {
2796
+ modelVariant: 'CHAT',
2797
+ modelTitle: 'o4-mini',
2798
+ modelName: 'o4-mini',
2799
+ modelDescription: "Fast, cost-efficient reasoning model with 128K context window. Successor to o1-mini with improved analytical capabilities while maintaining speed advantages. Features enhanced mathematical reasoning and logical problem-solving at significantly lower cost than full reasoning models.",
2800
+ pricing: {
2801
+ prompt: pricing(`$4.00 / 1M tokens`),
2802
+ output: pricing(`$16.00 / 1M tokens`),
2803
+ },
2804
+ },
2805
+ /**/
2806
+ /**/
2807
+ {
2808
+ modelVariant: 'CHAT',
2809
+ modelTitle: 'o3-deep-research',
2810
+ modelName: 'o3-deep-research',
2811
+ modelDescription: "Most powerful deep research model with 128K context window. Specialized for comprehensive research tasks, literature analysis, and complex information synthesis. Features advanced citation capabilities and enhanced factual accuracy for academic and professional research applications.",
2812
+ pricing: {
2813
+ prompt: pricing(`$25.00 / 1M tokens`),
2814
+ output: pricing(`$100.00 / 1M tokens`),
2815
+ },
2816
+ },
2817
+ /**/
2818
+ /**/
2819
+ {
2820
+ modelVariant: 'CHAT',
2821
+ modelTitle: 'o4-mini-deep-research',
2822
+ modelName: 'o4-mini-deep-research',
2823
+ modelDescription: "Faster, more affordable deep research model with 128K context window. Balances research capabilities with cost efficiency, offering good performance on literature review, fact-checking, and information synthesis tasks at a more accessible price point.",
2824
+ pricing: {
2825
+ prompt: pricing(`$12.00 / 1M tokens`),
2826
+ output: pricing(`$48.00 / 1M tokens`),
2667
2827
  },
2668
2828
  },
2669
2829
  /**/
@@ -3676,7 +3836,7 @@ function createExecutionToolsFromVercelProvider(options) {
3676
3836
  /**
3677
3837
  * List of available Deepseek models with descriptions
3678
3838
  *
3679
- * Note: Done at 2025-05-06
3839
+ * Note: Synced with official API docs at 2025-08-20
3680
3840
  *
3681
3841
  * @see https://www.deepseek.com/models
3682
3842
  * @public exported from `@promptbook/deepseek`
@@ -3686,12 +3846,32 @@ const DEEPSEEK_MODELS = exportJson({
3686
3846
  value: [
3687
3847
  {
3688
3848
  modelVariant: 'CHAT',
3689
- modelTitle: 'Deepseek Chat Pro',
3690
- modelName: 'deepseek-chat-pro',
3691
- modelDescription: 'Latest flagship general-purpose model with 256K context window. Enhanced from base Chat model with 40% improvement on complex reasoning tasks and specialized domain knowledge. Features advanced prompt optimization and improved contextual memory. Ideal for enterprise applications requiring highest quality responses.',
3849
+ modelTitle: 'DeepSeek V3',
3850
+ modelName: 'deepseek-chat',
3851
+ modelDescription: 'Latest flagship general-purpose model with 128K context window. Features exceptional reasoning capabilities, advanced code generation, and strong performance across diverse domains. Offers competitive performance with leading models while maintaining cost efficiency. Ideal for complex reasoning, coding, and knowledge-intensive tasks.',
3692
3852
  pricing: {
3693
- prompt: pricing(`$1.20 / 1M tokens`),
3694
- output: pricing(`$2.40 / 1M tokens`),
3853
+ prompt: pricing(`$0.14 / 1M tokens`),
3854
+ output: pricing(`$0.28 / 1M tokens`),
3855
+ },
3856
+ },
3857
+ {
3858
+ modelVariant: 'CHAT',
3859
+ modelTitle: 'DeepSeek R1',
3860
+ modelName: 'deepseek-reasoner',
3861
+ modelDescription: 'Advanced reasoning model with 128K context window specializing in complex problem-solving and analytical thinking. Features explicit reasoning chains, enhanced mathematical capabilities, and superior performance on STEM tasks. Designed for applications requiring deep analytical reasoning and step-by-step problem solving.',
3862
+ pricing: {
3863
+ prompt: pricing(`$0.55 / 1M tokens`),
3864
+ output: pricing(`$2.19 / 1M tokens`),
3865
+ },
3866
+ },
3867
+ {
3868
+ modelVariant: 'CHAT',
3869
+ modelTitle: 'DeepSeek Coder V2',
3870
+ modelName: 'deepseek-coder',
3871
+ modelDescription: 'Specialized coding model with 128K context window optimized for software development tasks. Features exceptional code generation, debugging, and refactoring capabilities across 40+ programming languages. Particularly strong in understanding complex codebases and implementing solutions based on natural language specifications.',
3872
+ pricing: {
3873
+ prompt: pricing(`$0.14 / 1M tokens`),
3874
+ output: pricing(`$0.28 / 1M tokens`),
3695
3875
  },
3696
3876
  },
3697
3877
  {
@@ -3925,7 +4105,7 @@ const _GoogleMetadataRegistration = $llmToolsMetadataRegister.register({
3925
4105
  /**
3926
4106
  * List of available Google models with descriptions
3927
4107
  *
3928
- * Note: Done at 2025-05-06
4108
+ * Note: Synced with official API docs at 2025-08-20
3929
4109
  *
3930
4110
  * @see https://ai.google.dev/models/gemini
3931
4111
  * @public exported from `@promptbook/google`
@@ -3936,11 +4116,51 @@ const GOOGLE_MODELS = exportJson({
3936
4116
  {
3937
4117
  modelVariant: 'CHAT',
3938
4118
  modelTitle: 'Gemini 2.5 Pro',
3939
- modelName: 'gemini-2.5-pro-preview-03-25',
3940
- modelDescription: 'Latest advanced multimodal model with 1M token context window. Features exceptional reasoning across complex tasks, sophisticated function calling, and advanced image analysis (16MP resolution). Demonstrates superior performance in math, coding, and knowledge-intensive tasks with 30% improvement over Gemini 1.5 Pro. Ideal for enterprise applications requiring deep contextual understanding.',
4119
+ modelName: 'gemini-2.5-pro',
4120
+ modelDescription: 'State-of-the-art thinking model with 1M token context window capable of reasoning over complex problems in code, math, and STEM. Features enhanced thinking capabilities, advanced multimodal understanding, and superior performance on analytical tasks. Ideal for complex enterprise applications requiring maximum intelligence and reasoning.',
3941
4121
  pricing: {
3942
- prompt: pricing(`$8.00 / 1M tokens`),
3943
- output: pricing(`$24.00 / 1M tokens`),
4122
+ prompt: pricing(`$7.00 / 1M tokens`),
4123
+ output: pricing(`$21.00 / 1M tokens`),
4124
+ },
4125
+ },
4126
+ {
4127
+ modelVariant: 'CHAT',
4128
+ modelTitle: 'Gemini 2.5 Flash',
4129
+ modelName: 'gemini-2.5-flash',
4130
+ modelDescription: 'Best model in terms of price-performance with 1M token context window offering well-rounded capabilities. Features adaptive thinking, cost efficiency, and enhanced reasoning for large-scale processing. Ideal for low-latency, high-volume tasks that require thinking and agentic use cases.',
4131
+ pricing: {
4132
+ prompt: pricing(`$0.35 / 1M tokens`),
4133
+ output: pricing(`$1.05 / 1M tokens`),
4134
+ },
4135
+ },
4136
+ {
4137
+ modelVariant: 'CHAT',
4138
+ modelTitle: 'Gemini 2.5 Flash Lite',
4139
+ modelName: 'gemini-2.5-flash-lite',
4140
+ modelDescription: 'Cost-efficient Gemini 2.5 Flash model optimized for high throughput with 1M token context window. Features thinking capabilities while maintaining the most cost-efficient pricing. Perfect for real-time, low-latency use cases requiring good quality at scale.',
4141
+ pricing: {
4142
+ prompt: pricing(`$0.20 / 1M tokens`),
4143
+ output: pricing(`$0.60 / 1M tokens`),
4144
+ },
4145
+ },
4146
+ {
4147
+ modelVariant: 'CHAT',
4148
+ modelTitle: 'Gemini 2.0 Flash',
4149
+ modelName: 'gemini-2.0-flash',
4150
+ modelDescription: 'Next-generation model with 1M token context window delivering improved capabilities, superior speed, and realtime streaming. Features enhanced function calling, code execution, and search capabilities. Ideal for applications requiring cutting-edge AI capabilities with fast response times.',
4151
+ pricing: {
4152
+ prompt: pricing(`$0.25 / 1M tokens`),
4153
+ output: pricing(`$0.75 / 1M tokens`),
4154
+ },
4155
+ },
4156
+ {
4157
+ modelVariant: 'CHAT',
4158
+ modelTitle: 'Gemini 2.0 Flash Lite',
4159
+ modelName: 'gemini-2.0-flash-lite',
4160
+ modelDescription: 'Cost-efficient Gemini 2.0 Flash model optimized for low latency with 1M token context window. Balances performance and cost with enhanced efficiency for high-volume applications. Perfect for applications requiring good quality responses at minimal cost.',
4161
+ pricing: {
4162
+ prompt: pricing(`$0.15 / 1M tokens`),
4163
+ output: pricing(`$0.45 / 1M tokens`),
3944
4164
  },
3945
4165
  },
3946
4166
  {
@@ -4625,7 +4845,7 @@ class OpenAiCompatibleExecutionTools {
4625
4845
  /**
4626
4846
  * List of available models in Ollama library
4627
4847
  *
4628
- * Note: Done at 2025-05-19
4848
+ * Note: Synced with official API docs at 2025-08-20
4629
4849
  *
4630
4850
  * @see https://ollama.com/library
4631
4851
  * @public exported from `@promptbook/ollama`
@@ -4633,6 +4853,24 @@ class OpenAiCompatibleExecutionTools {
4633
4853
  const OLLAMA_MODELS = exportJson({
4634
4854
  name: 'OLLAMA_MODELS',
4635
4855
  value: [
4856
+ {
4857
+ modelVariant: 'CHAT',
4858
+ modelTitle: 'llama3.3',
4859
+ modelName: 'llama3.3',
4860
+ modelDescription: 'Meta Llama 3.3 (70B parameters) with 128K context window. Latest generation foundation model with significantly enhanced reasoning, instruction following, and multilingual capabilities. Features improved performance on complex tasks and better factual accuracy compared to Llama 3.1.',
4861
+ },
4862
+ {
4863
+ modelVariant: 'CHAT',
4864
+ modelTitle: 'llama3.2',
4865
+ modelName: 'llama3.2',
4866
+ modelDescription: 'Meta Llama 3.2 (1B-90B parameters) with 128K context window. Enhanced model with improved reasoning capabilities, better instruction following, and multimodal support in larger variants. Features significant performance improvements over Llama 3.1 across diverse tasks.',
4867
+ },
4868
+ {
4869
+ modelVariant: 'CHAT',
4870
+ modelTitle: 'llama3.1',
4871
+ modelName: 'llama3.1',
4872
+ modelDescription: 'Meta Llama 3.1 (8B-405B parameters) with 128K context window. Advanced foundation model with enhanced reasoning, improved multilingual capabilities, and better performance on complex tasks. Features significant improvements in code generation and mathematical reasoning.',
4873
+ },
4636
4874
  {
4637
4875
  modelVariant: 'CHAT',
4638
4876
  modelTitle: 'llama3',