@promptbook/cli 0.61.0-11 → 0.61.0-12

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 (141) hide show
  1. package/esm/index.es.js +5692 -5631
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/typings/src/cli/cli-commands/hello.d.ts +3 -0
  4. package/esm/typings/src/cli/cli-commands/make.d.ts +3 -0
  5. package/esm/typings/src/cli/cli-commands/prettify.d.ts +3 -0
  6. package/esm/typings/src/cli/promptbookCli.d.ts +1 -0
  7. package/esm/typings/src/collection/PipelineCollection.d.ts +1 -1
  8. package/esm/typings/src/collection/SimplePipelineCollection.d.ts +1 -1
  9. package/esm/typings/src/collection/constructors/createCollectionFromDirectory.d.ts +1 -0
  10. package/esm/typings/src/commands/_BOILERPLATE/boilerplateCommandParser.d.ts +1 -0
  11. package/esm/typings/src/commands/_common/types/CommandParser.d.ts +1 -1
  12. package/esm/typings/src/conversion/pipelineJsonToString.d.ts +1 -1
  13. package/esm/typings/src/conversion/validation/validatePipeline.d.ts +4 -2
  14. package/esm/typings/src/execution/CommonExecutionToolsOptions.d.ts +1 -0
  15. package/esm/typings/src/formats/csv/ListFormatDefinition.d.ts +1 -0
  16. package/esm/typings/src/formats/json/JsonFormatDefinition.d.ts +1 -0
  17. package/esm/typings/src/formats/list/ListFormatDefinition.d.ts +1 -0
  18. package/esm/typings/src/formats/xml/XmlFormatDefinition.d.ts +1 -0
  19. package/esm/typings/src/knowledge/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +3 -0
  20. package/esm/typings/src/knowledge/prepare-knowledge/_common/prepareKnowledgePieces.d.ts +1 -1
  21. package/esm/typings/src/knowledge/prepare-knowledge/markdown/prepareKnowledgeFromMarkdown.d.ts +1 -0
  22. package/esm/typings/src/knowledge/prepare-knowledge/pdf/prepareKnowledgeFromPdf.d.ts +1 -0
  23. package/esm/typings/src/llm-providers/{utils → _common}/createLlmToolsFromEnv.d.ts +3 -2
  24. package/esm/typings/src/llm-providers/_common/getLlmToolsForCli.d.ts +10 -0
  25. package/esm/typings/src/llm-providers/_common/getLlmToolsForTestingAndScriptsAndPlayground.d.ts +10 -0
  26. package/esm/typings/src/llm-providers/{utils → _common/utils}/cache/CacheItem.d.ts +4 -4
  27. package/{umd/typings/src/llm-providers → esm/typings/src/llm-providers/_common}/utils/cache/CacheLlmToolsOptions.d.ts +1 -1
  28. package/{umd/typings/src/llm-providers → esm/typings/src/llm-providers/_common}/utils/cache/cacheLlmTools.d.ts +3 -4
  29. package/esm/typings/src/llm-providers/{utils → _common/utils}/count-total-cost/LlmExecutionToolsWithTotalCost.d.ts +2 -2
  30. package/{umd/typings/src/llm-providers → esm/typings/src/llm-providers/_common}/utils/count-total-cost/countTotalCost.d.ts +2 -2
  31. package/esm/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +1 -0
  32. package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
  33. package/esm/typings/src/llm-providers/azure-openai/AzureOpenAiExecutionTools.d.ts +1 -0
  34. package/esm/typings/src/llm-providers/langtail/LangtailExecutionTools.d.ts +3 -0
  35. package/esm/typings/src/llm-providers/langtail/LangtailExecutionToolsOptions.d.ts +1 -1
  36. package/esm/typings/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +1 -1
  37. package/esm/typings/src/llm-providers/mocked/MockedFackedLlmExecutionTools.d.ts +1 -1
  38. package/esm/typings/src/llm-providers/openai/OpenAiExecutionTools.d.ts +1 -0
  39. package/esm/typings/src/llm-providers/openai/computeUsage.d.ts +2 -2
  40. package/esm/typings/src/personas/preparePersona.d.ts +6 -1
  41. package/esm/typings/src/prepare/preparePipeline.d.ts +2 -1
  42. package/esm/typings/src/prepare/unpreparePipeline.d.ts +1 -0
  43. package/esm/typings/src/storage/_common/PromptbookStorage.d.ts +1 -0
  44. package/esm/typings/src/storage/_common/PromptbookStorage.test-type.d.ts +1 -1
  45. package/esm/typings/src/storage/files-storage/FilesStorage.d.ts +2 -0
  46. package/esm/typings/src/storage/files-storage/FilesStorageOptions.d.ts +3 -0
  47. package/esm/typings/src/storage/local-storage/getLocalStorage.d.ts +2 -1
  48. package/esm/typings/src/storage/local-storage/getSessionStorage.d.ts +2 -1
  49. package/esm/typings/src/storage/memory/MemoryStorage.d.ts +3 -0
  50. package/esm/typings/src/storage/utils/PrefixStorage.d.ts +3 -0
  51. package/esm/typings/src/storage/utils/makePromptbookStorageFromWebStorage.d.ts +0 -1
  52. package/esm/typings/src/types/ModelRequirements.d.ts +1 -1
  53. package/esm/typings/src/types/PipelineJson/PipelineJson.d.ts +1 -1
  54. package/esm/typings/src/types/PipelineString.d.ts +1 -1
  55. package/esm/typings/src/types/execution-report/countWorkingDuration.d.ts +1 -1
  56. package/esm/typings/src/utils/emojis.d.ts +2 -2
  57. package/esm/typings/src/utils/formatNumber.d.ts +1 -1
  58. package/esm/typings/src/utils/isRunningInWhatever.d.ts +3 -0
  59. package/esm/typings/src/utils/markdown/addAutoGeneratedSection.d.ts +1 -1
  60. package/esm/typings/src/utils/markdown/createMarkdownChart.d.ts +1 -1
  61. package/esm/typings/src/utils/markdown/createMarkdownTable.d.ts +1 -1
  62. package/esm/typings/src/utils/organization/TODO.d.ts +2 -0
  63. package/esm/typings/src/utils/organization/TODO_USE.d.ts +1 -0
  64. package/esm/typings/src/utils/organization/___.d.ts +2 -0
  65. package/esm/typings/src/utils/organization/just.d.ts +1 -0
  66. package/esm/typings/src/utils/organization/keepImported.d.ts +12 -0
  67. package/esm/typings/src/utils/organization/notUsing.d.ts +1 -0
  68. package/esm/typings/src/utils/organization/really_any.d.ts +2 -0
  69. package/esm/typings/src/version.d.ts +3 -0
  70. package/package.json +2 -2
  71. package/umd/index.umd.js +5696 -5635
  72. package/umd/index.umd.js.map +1 -1
  73. package/umd/typings/src/cli/cli-commands/hello.d.ts +3 -0
  74. package/umd/typings/src/cli/cli-commands/make.d.ts +3 -0
  75. package/umd/typings/src/cli/cli-commands/prettify.d.ts +3 -0
  76. package/umd/typings/src/cli/promptbookCli.d.ts +1 -0
  77. package/umd/typings/src/collection/PipelineCollection.d.ts +1 -1
  78. package/umd/typings/src/collection/SimplePipelineCollection.d.ts +1 -1
  79. package/umd/typings/src/collection/constructors/createCollectionFromDirectory.d.ts +1 -0
  80. package/umd/typings/src/commands/_BOILERPLATE/boilerplateCommandParser.d.ts +1 -0
  81. package/umd/typings/src/commands/_common/types/CommandParser.d.ts +1 -1
  82. package/umd/typings/src/conversion/pipelineJsonToString.d.ts +1 -1
  83. package/umd/typings/src/conversion/validation/validatePipeline.d.ts +4 -2
  84. package/umd/typings/src/execution/CommonExecutionToolsOptions.d.ts +1 -0
  85. package/umd/typings/src/formats/csv/ListFormatDefinition.d.ts +1 -0
  86. package/umd/typings/src/formats/json/JsonFormatDefinition.d.ts +1 -0
  87. package/umd/typings/src/formats/list/ListFormatDefinition.d.ts +1 -0
  88. package/umd/typings/src/formats/xml/XmlFormatDefinition.d.ts +1 -0
  89. package/umd/typings/src/knowledge/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +3 -0
  90. package/umd/typings/src/knowledge/prepare-knowledge/_common/prepareKnowledgePieces.d.ts +1 -1
  91. package/umd/typings/src/knowledge/prepare-knowledge/markdown/prepareKnowledgeFromMarkdown.d.ts +1 -0
  92. package/umd/typings/src/knowledge/prepare-knowledge/pdf/prepareKnowledgeFromPdf.d.ts +1 -0
  93. package/umd/typings/src/llm-providers/{utils → _common}/createLlmToolsFromEnv.d.ts +3 -2
  94. package/umd/typings/src/llm-providers/_common/getLlmToolsForCli.d.ts +10 -0
  95. package/umd/typings/src/llm-providers/_common/getLlmToolsForTestingAndScriptsAndPlayground.d.ts +10 -0
  96. package/umd/typings/src/llm-providers/{utils → _common/utils}/cache/CacheItem.d.ts +4 -4
  97. package/{esm/typings/src/llm-providers → umd/typings/src/llm-providers/_common}/utils/cache/CacheLlmToolsOptions.d.ts +1 -1
  98. package/{esm/typings/src/llm-providers → umd/typings/src/llm-providers/_common}/utils/cache/cacheLlmTools.d.ts +3 -4
  99. package/umd/typings/src/llm-providers/{utils → _common/utils}/count-total-cost/LlmExecutionToolsWithTotalCost.d.ts +2 -2
  100. package/{esm/typings/src/llm-providers → umd/typings/src/llm-providers/_common}/utils/count-total-cost/countTotalCost.d.ts +2 -2
  101. package/umd/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +1 -0
  102. package/umd/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
  103. package/umd/typings/src/llm-providers/azure-openai/AzureOpenAiExecutionTools.d.ts +1 -0
  104. package/umd/typings/src/llm-providers/langtail/LangtailExecutionTools.d.ts +3 -0
  105. package/umd/typings/src/llm-providers/langtail/LangtailExecutionToolsOptions.d.ts +1 -1
  106. package/umd/typings/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +1 -1
  107. package/umd/typings/src/llm-providers/mocked/MockedFackedLlmExecutionTools.d.ts +1 -1
  108. package/umd/typings/src/llm-providers/openai/OpenAiExecutionTools.d.ts +1 -0
  109. package/umd/typings/src/llm-providers/openai/computeUsage.d.ts +2 -2
  110. package/umd/typings/src/personas/preparePersona.d.ts +6 -1
  111. package/umd/typings/src/prepare/preparePipeline.d.ts +2 -1
  112. package/umd/typings/src/prepare/unpreparePipeline.d.ts +1 -0
  113. package/umd/typings/src/storage/_common/PromptbookStorage.d.ts +1 -0
  114. package/umd/typings/src/storage/_common/PromptbookStorage.test-type.d.ts +1 -1
  115. package/umd/typings/src/storage/files-storage/FilesStorage.d.ts +2 -0
  116. package/umd/typings/src/storage/files-storage/FilesStorageOptions.d.ts +3 -0
  117. package/umd/typings/src/storage/local-storage/getLocalStorage.d.ts +2 -1
  118. package/umd/typings/src/storage/local-storage/getSessionStorage.d.ts +2 -1
  119. package/umd/typings/src/storage/memory/MemoryStorage.d.ts +3 -0
  120. package/umd/typings/src/storage/utils/PrefixStorage.d.ts +3 -0
  121. package/umd/typings/src/storage/utils/makePromptbookStorageFromWebStorage.d.ts +0 -1
  122. package/umd/typings/src/types/ModelRequirements.d.ts +1 -1
  123. package/umd/typings/src/types/PipelineJson/PipelineJson.d.ts +1 -1
  124. package/umd/typings/src/types/PipelineString.d.ts +1 -1
  125. package/umd/typings/src/types/execution-report/countWorkingDuration.d.ts +1 -1
  126. package/umd/typings/src/utils/emojis.d.ts +2 -2
  127. package/umd/typings/src/utils/formatNumber.d.ts +1 -1
  128. package/umd/typings/src/utils/isRunningInWhatever.d.ts +3 -0
  129. package/umd/typings/src/utils/markdown/addAutoGeneratedSection.d.ts +1 -1
  130. package/umd/typings/src/utils/markdown/createMarkdownChart.d.ts +1 -1
  131. package/umd/typings/src/utils/markdown/createMarkdownTable.d.ts +1 -1
  132. package/umd/typings/src/utils/organization/TODO.d.ts +2 -0
  133. package/umd/typings/src/utils/organization/TODO_USE.d.ts +1 -0
  134. package/umd/typings/src/utils/organization/___.d.ts +2 -0
  135. package/umd/typings/src/utils/organization/just.d.ts +1 -0
  136. package/umd/typings/src/utils/organization/keepImported.d.ts +12 -0
  137. package/umd/typings/src/utils/organization/notUsing.d.ts +1 -0
  138. package/umd/typings/src/utils/organization/really_any.d.ts +2 -0
  139. package/umd/typings/src/version.d.ts +3 -0
  140. package/esm/typings/src/knowledge/prepare-knowledge/_common/utils/getLlmToolsForTestingAndScriptsAndPlayground.d.ts +0 -10
  141. package/umd/typings/src/knowledge/prepare-knowledge/_common/utils/getLlmToolsForTestingAndScriptsAndPlayground.d.ts +0 -10

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.