@promptbook/cli 0.100.0-15 → 0.100.0-18
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/README.md +1 -0
- package/esm/index.es.js +14 -2
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +6 -4
- package/esm/typings/src/_packages/types.index.d.ts +2 -2
- package/esm/typings/src/book-2.0/agent-source/parseAgentSource.d.ts +2 -2
- package/esm/typings/src/book-2.0/agent-source/string_book.d.ts +26 -0
- package/esm/typings/src/book-2.0/commitments/_misc/createAgentModelRequirements.d.ts +7 -7
- package/esm/typings/src/book-2.0/commitments/_misc/createAgentModelRequirementsWithCommitments.d.ts +4 -4
- package/esm/typings/src/book-2.0/commitments/_misc/parseAgentSourceWithCommitments.d.ts +4 -4
- package/esm/typings/src/pipeline/book-notation.d.ts +2 -1
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +14 -2
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/book-2.0/agent-source/string_agent_source.d.ts +0 -42
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ Write AI applications using plain human language across multiple models and plat
|
|
|
18
18
|
|
|
19
19
|
## 🌟 New Features
|
|
20
20
|
|
|
21
|
+
- 🚀 **GPT-5 Support** - Now includes OpenAI's most advanced language model with unprecedented reasoning capabilities and 200K context window
|
|
21
22
|
- 💡 VS Code support for `.book` files with syntax highlighting and IntelliSense
|
|
22
23
|
- 🐳 Official Docker image (`hejny/promptbook`) for seamless containerized usage
|
|
23
24
|
- 🔥 Native support for OpenAI `o3-mini`, GPT-4 and other leading LLMs
|
package/esm/index.es.js
CHANGED
|
@@ -47,7 +47,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
47
47
|
* @generated
|
|
48
48
|
* @see https://github.com/webgptorg/promptbook
|
|
49
49
|
*/
|
|
50
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.100.0-
|
|
50
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.100.0-18';
|
|
51
51
|
/**
|
|
52
52
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
53
53
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -15899,6 +15899,18 @@ const _AzureOpenAiMetadataRegistration = $llmToolsMetadataRegister.register({
|
|
|
15899
15899
|
const OPENAI_MODELS = exportJson({
|
|
15900
15900
|
name: 'OPENAI_MODELS',
|
|
15901
15901
|
value: [
|
|
15902
|
+
/**/
|
|
15903
|
+
{
|
|
15904
|
+
modelVariant: 'CHAT',
|
|
15905
|
+
modelTitle: 'gpt-5',
|
|
15906
|
+
modelName: 'gpt-5',
|
|
15907
|
+
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.",
|
|
15908
|
+
pricing: {
|
|
15909
|
+
prompt: pricing(`$10.00 / 1M tokens`),
|
|
15910
|
+
output: pricing(`$30.00 / 1M tokens`),
|
|
15911
|
+
},
|
|
15912
|
+
},
|
|
15913
|
+
/**/
|
|
15902
15914
|
/*/
|
|
15903
15915
|
{
|
|
15904
15916
|
modelTitle: 'dall-e-3',
|
|
@@ -18305,7 +18317,7 @@ class OpenAiExecutionTools extends OpenAiCompatibleExecutionTools {
|
|
|
18305
18317
|
* Default model for chat variant.
|
|
18306
18318
|
*/
|
|
18307
18319
|
getDefaultChatModel() {
|
|
18308
|
-
return this.getDefaultModel('gpt-
|
|
18320
|
+
return this.getDefaultModel('gpt-5');
|
|
18309
18321
|
}
|
|
18310
18322
|
/**
|
|
18311
18323
|
* Default model for completion variant.
|