@promptbook/cli 0.84.0-9 → 0.84.0

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 (44) hide show
  1. package/README.md +21 -9
  2. package/bin/promptbook-cli.js +1 -0
  3. package/esm/index.es.js +3794 -3343
  4. package/esm/index.es.js.map +1 -1
  5. package/esm/typings/src/_packages/cli.index.d.ts +4 -0
  6. package/esm/typings/src/_packages/core.index.d.ts +12 -2
  7. package/esm/typings/src/_packages/deepseek.index.d.ts +8 -0
  8. package/esm/typings/src/_packages/types.index.d.ts +2 -0
  9. package/esm/typings/src/_packages/utils.index.d.ts +2 -0
  10. package/esm/typings/src/_packages/wizzard.index.d.ts +4 -0
  11. package/esm/typings/src/cli/cli-commands/about.d.ts +4 -1
  12. package/esm/typings/src/cli/cli-commands/hello.d.ts +3 -1
  13. package/esm/typings/src/cli/cli-commands/list-models.d.ts +3 -1
  14. package/esm/typings/src/cli/cli-commands/list-scrapers.d.ts +13 -0
  15. package/esm/typings/src/cli/cli-commands/make.d.ts +3 -1
  16. package/esm/typings/src/cli/cli-commands/prettify.d.ts +3 -1
  17. package/esm/typings/src/cli/cli-commands/run.d.ts +3 -1
  18. package/esm/typings/src/cli/cli-commands/runInteractiveChatbot.d.ts +1 -1
  19. package/esm/typings/src/cli/cli-commands/test-command.d.ts +3 -1
  20. package/esm/typings/src/config.d.ts +27 -1
  21. package/esm/typings/src/conversion/compilePipelineOnRemoteServer.d.ts +1 -1
  22. package/esm/typings/src/execution/FilesystemTools.d.ts +1 -1
  23. package/esm/typings/src/execution/assertsExecutionSuccessful.d.ts +3 -1
  24. package/esm/typings/src/llm-providers/_common/register/$registeredLlmToolsMessage.d.ts +9 -0
  25. package/esm/typings/src/llm-providers/deepseek/DeepseekExecutionToolsOptions.d.ts +9 -0
  26. package/esm/typings/src/llm-providers/deepseek/createDeepseekExecutionTools.d.ts +14 -0
  27. package/esm/typings/src/llm-providers/deepseek/register-configuration.d.ts +14 -0
  28. package/esm/typings/src/llm-providers/deepseek/register-constructor.d.ts +15 -0
  29. package/esm/typings/src/pipeline/book-notation.d.ts +3 -2
  30. package/esm/typings/src/pipeline/prompt-notation.d.ts +18 -5
  31. package/esm/typings/src/prepare/preparePipelineOnRemoteServer.d.ts +1 -1
  32. package/esm/typings/src/remote-server/socket-types/_subtypes/PromptbookServer_Identification.d.ts +5 -2
  33. package/esm/typings/src/utils/editable/edit-pipeline-string/deflatePipeline.test.d.ts +1 -0
  34. package/esm/typings/src/utils/editable/utils/isFlatPipeline.test.d.ts +1 -0
  35. package/esm/typings/src/utils/environment/$isRunningInBrowser.d.ts +3 -0
  36. package/esm/typings/src/utils/environment/$isRunningInJest.d.ts +3 -0
  37. package/esm/typings/src/utils/environment/$isRunningInNode.d.ts +3 -0
  38. package/esm/typings/src/utils/environment/$isRunningInWebWorker.d.ts +3 -0
  39. package/esm/typings/src/utils/files/mimeTypeToExtension.d.ts +10 -0
  40. package/esm/typings/src/utils/files/mimeTypeToExtension.test.d.ts +1 -0
  41. package/esm/typings/src/wizzard/wizzard.d.ts +7 -1
  42. package/package.json +12 -16
  43. package/umd/index.umd.js +3798 -3345
  44. package/umd/index.umd.js.map +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- ⚠️ WARNING: This code has been generated so that any manual changes will be overwritten -->
2
2
 
3
- # Promptbook
3
+ # Promptbook
4
4
 
5
5
 
6
6
 
@@ -14,19 +14,16 @@
14
14
 
15
15
 
16
16
 
17
- ## New Features
17
+ ## 🌟 New Features
18
18
 
19
+ - 💫 Support of [`o3-mini` model by OpenAI](https://openai.com/index/openai-o3-mini/)
20
+ - 🐋 **Support of [DeepSeek models](https://www.npmjs.com/package/@promptbook/deepseek)**
19
21
  - 💙 Working [the **Book** language v1.0.0](https://github.com/webgptorg/book)
20
22
  - 🖤 Run books from CLI - `npx ptbk run path/to/your/book`
21
- - 📚 Support of `.docx`, `.doc` and `.pdf` documents
22
- - ✨ **Support of [OpenAI o1 model](https://openai.com/o1/)**
23
+ - 📚 Support of `.docx`, `.doc` and `.pdf` documents as knowledge
23
24
 
24
25
 
25
26
 
26
- <blockquote style="color: #ff8811">
27
- <b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
28
- </blockquote>
29
-
30
27
  ## 📦 Package `@promptbook/cli`
31
28
 
32
29
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
@@ -320,8 +317,9 @@ Or you can install them separately:
320
317
  - **[@promptbook/anthropic-claude](https://www.npmjs.com/package/@promptbook/anthropic-claude)** - Execution tools for Anthropic Claude API, wrapper around Anthropic Claude SDK
321
318
  - **[@promptbook/vercel](https://www.npmjs.com/package/@promptbook/vercel)** - Adapter for Vercel functionalities
322
319
  - **[@promptbook/google](https://www.npmjs.com/package/@promptbook/google)** - Integration with Google's Gemini API
320
+ - **[@promptbook/deepseek](https://www.npmjs.com/package/@promptbook/deepseek)** - Integration with [DeepSeek API](https://www.deepseek.com/)
323
321
  - **[@promptbook/azure-openai](https://www.npmjs.com/package/@promptbook/azure-openai)** - Execution tools for Azure OpenAI API
324
- - **[@promptbook/langtail](https://www.npmjs.com/package/@promptbook/langtail)** - Execution tools for Langtail API, wrapper around Langtail SDK
322
+
325
323
  - **[@promptbook/fake-llm](https://www.npmjs.com/package/@promptbook/fake-llm)** - Mocked execution tools for testing the library and saving the tokens
326
324
  - **[@promptbook/remote-client](https://www.npmjs.com/package/@promptbook/remote-client)** - Remote client for remote execution of promptbooks
327
325
  - **[@promptbook/remote-server](https://www.npmjs.com/package/@promptbook/remote-server)** - Remote server for remote execution of promptbooks
@@ -491,6 +489,20 @@ See [TODO.md](./TODO.md)
491
489
 
492
490
 
493
491
 
492
+ ## 🤝 Partners
493
+
494
+ <div style="display: flex; align-items: center; gap: 20px;">
495
+
496
+ <a href="https://promptbook.studio/">
497
+ <img src="./other/design/promptbook-studio-logo.png" alt="Partner 3" height="100">
498
+ </a>
499
+
500
+ <a href="https://technologickainkubace.org/en/about-technology-incubation/about-the-project/">
501
+ <img src="./other/partners/CI-Technology-Incubation.png" alt="Technology Incubation" height="100">
502
+ </a>
503
+
504
+ </div>
505
+
494
506
  ## 🖋️ Contributing
495
507
 
496
508
  I am open to pull requests, feedback, and suggestions. Or if you like this utility, you can [☕ buy me a coffee](https://www.buymeacoffee.com/hejny) or [donate via cryptocurrencies](https://github.com/hejny/hejny/blob/main/documents/crypto.md).
@@ -11,5 +11,6 @@ const { _CLI } = require('../umd/index.umd.js');
11
11
  _CLI._initialize_promptbookCli();
12
12
 
13
13
  /**
14
+ * TODO: !!! During the build check that this file exists
14
15
  * TODO: [🕌] When more functionalities, rename
15
16
  */