@promptbook/cli 0.61.0-11 → 0.61.0-13

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

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.