@promptbook/remote-client 0.60.0-3 → 0.60.0-5

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 (92) hide show
  1. package/README.md +3 -5
  2. package/esm/index.es.js +1 -1
  3. package/esm/typings/promptbook-collection/index.d.ts +1 -1
  4. package/esm/typings/src/_packages/core.index.d.ts +9 -9
  5. package/esm/typings/src/_packages/node.index.d.ts +1 -1
  6. package/esm/typings/src/_packages/types.index.d.ts +3 -3
  7. package/{umd/typings/src/library → esm/typings/src/collection}/PipelineCollection.d.ts +4 -4
  8. package/{umd/typings/src/library → esm/typings/src/collection}/SimplePipelineCollection.d.ts +5 -5
  9. package/{umd/typings/src/library/libraryToJson.d.ts → esm/typings/src/collection/collectionToJson.d.ts} +2 -2
  10. package/esm/typings/src/{library → collection}/constructors/createCollectionFromDirectory.d.ts +3 -3
  11. package/esm/typings/src/{library → collection}/constructors/createCollectionFromJson.d.ts +1 -1
  12. package/{umd/typings/src/library → esm/typings/src/collection}/constructors/createCollectionFromPromise.d.ts +1 -1
  13. package/esm/typings/src/{library → collection}/constructors/createCollectionFromUrl.d.ts +1 -1
  14. package/esm/typings/src/collection/constructors/createSubcollection.d.ts +12 -0
  15. package/esm/typings/src/config.d.ts +2 -2
  16. package/esm/typings/src/conversion/prettify/prettifyPipelineString.d.ts +1 -1
  17. package/esm/typings/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +1 -1
  18. package/esm/typings/src/errors/CollectionError.d.ts +1 -1
  19. package/esm/typings/src/errors/ExecutionError.d.ts +1 -1
  20. package/esm/typings/src/errors/NotFoundError.d.ts +1 -1
  21. package/esm/typings/src/execution/EmbeddingVector.d.ts +1 -1
  22. package/esm/typings/src/execution/{PromptbookExecutor.d.ts → PipelineExecutor.d.ts} +3 -3
  23. package/esm/typings/src/execution/assertsExecutionSuccessful.d.ts +2 -2
  24. package/{umd/typings/src/execution/createPromptbookExecutor.d.ts → esm/typings/src/execution/createPipelineExecutor.d.ts} +13 -13
  25. package/esm/typings/src/execution/utils/replaceParameters.d.ts +1 -1
  26. package/esm/typings/src/llm-providers/mocked/joker.test.d.ts +1 -1
  27. package/esm/typings/src/llm-providers/mocked/mocked-chat.test.d.ts +1 -1
  28. package/esm/typings/src/llm-providers/mocked/mocked-completion.test.d.ts +1 -1
  29. package/esm/typings/src/llm-providers/remote/interfaces/RemoteServerOptions.d.ts +4 -4
  30. package/esm/typings/src/llm-providers/remote/startRemoteServer.d.ts +1 -1
  31. package/esm/typings/src/types/Command.d.ts +2 -2
  32. package/esm/typings/src/types/PipelineJson/PipelineJson.d.ts +6 -6
  33. package/esm/typings/src/types/PipelineJson/PromptTemplateJson.d.ts +1 -1
  34. package/esm/typings/src/types/PipelineString.d.ts +1 -1
  35. package/esm/typings/src/types/Prompt.d.ts +4 -4
  36. package/esm/typings/src/types/TaskProgress.d.ts +1 -1
  37. package/esm/typings/src/types/execution-report/ExecutionReportJson.d.ts +3 -3
  38. package/esm/typings/src/types/execution-report/config.d.ts +1 -1
  39. package/esm/typings/src/types/typeAliases.d.ts +2 -2
  40. package/esm/typings/src/utils/emojis.d.ts +1 -1
  41. package/package.json +2 -2
  42. package/umd/index.umd.js +1 -1
  43. package/umd/typings/promptbook-collection/index.d.ts +1 -1
  44. package/umd/typings/src/_packages/core.index.d.ts +9 -9
  45. package/umd/typings/src/_packages/node.index.d.ts +1 -1
  46. package/umd/typings/src/_packages/types.index.d.ts +3 -3
  47. package/{esm/typings/src/library → umd/typings/src/collection}/PipelineCollection.d.ts +4 -4
  48. package/{esm/typings/src/library → umd/typings/src/collection}/SimplePipelineCollection.d.ts +5 -5
  49. package/{esm/typings/src/library/libraryToJson.d.ts → umd/typings/src/collection/collectionToJson.d.ts} +2 -2
  50. package/umd/typings/src/{library → collection}/constructors/createCollectionFromDirectory.d.ts +3 -3
  51. package/umd/typings/src/{library → collection}/constructors/createCollectionFromJson.d.ts +1 -1
  52. package/{esm/typings/src/library → umd/typings/src/collection}/constructors/createCollectionFromPromise.d.ts +1 -1
  53. package/umd/typings/src/{library → collection}/constructors/createCollectionFromUrl.d.ts +1 -1
  54. package/umd/typings/src/collection/constructors/createSubcollection.d.ts +12 -0
  55. package/umd/typings/src/config.d.ts +2 -2
  56. package/umd/typings/src/conversion/prettify/prettifyPipelineString.d.ts +1 -1
  57. package/umd/typings/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +1 -1
  58. package/umd/typings/src/errors/CollectionError.d.ts +1 -1
  59. package/umd/typings/src/errors/ExecutionError.d.ts +1 -1
  60. package/umd/typings/src/errors/NotFoundError.d.ts +1 -1
  61. package/umd/typings/src/execution/EmbeddingVector.d.ts +1 -1
  62. package/umd/typings/src/execution/{PromptbookExecutor.d.ts → PipelineExecutor.d.ts} +3 -3
  63. package/umd/typings/src/execution/assertsExecutionSuccessful.d.ts +2 -2
  64. package/{esm/typings/src/execution/createPromptbookExecutor.d.ts → umd/typings/src/execution/createPipelineExecutor.d.ts} +13 -13
  65. package/umd/typings/src/execution/utils/replaceParameters.d.ts +1 -1
  66. package/umd/typings/src/llm-providers/mocked/joker.test.d.ts +1 -1
  67. package/umd/typings/src/llm-providers/mocked/mocked-chat.test.d.ts +1 -1
  68. package/umd/typings/src/llm-providers/mocked/mocked-completion.test.d.ts +1 -1
  69. package/umd/typings/src/llm-providers/remote/interfaces/RemoteServerOptions.d.ts +4 -4
  70. package/umd/typings/src/llm-providers/remote/startRemoteServer.d.ts +1 -1
  71. package/umd/typings/src/types/Command.d.ts +2 -2
  72. package/umd/typings/src/types/PipelineJson/PipelineJson.d.ts +6 -6
  73. package/umd/typings/src/types/PipelineJson/PromptTemplateJson.d.ts +1 -1
  74. package/umd/typings/src/types/PipelineString.d.ts +1 -1
  75. package/umd/typings/src/types/Prompt.d.ts +4 -4
  76. package/umd/typings/src/types/TaskProgress.d.ts +1 -1
  77. package/umd/typings/src/types/execution-report/ExecutionReportJson.d.ts +3 -3
  78. package/umd/typings/src/types/execution-report/config.d.ts +1 -1
  79. package/umd/typings/src/types/typeAliases.d.ts +2 -2
  80. package/umd/typings/src/utils/emojis.d.ts +1 -1
  81. package/esm/typings/src/library/constructors/createSubcollection.d.ts +0 -12
  82. package/umd/typings/src/library/constructors/createSubcollection.d.ts +0 -12
  83. /package/esm/typings/src/{library/constructors/createCollectionFromDirectory.test.d.ts → collection/collectionToJson.test.d.ts} +0 -0
  84. /package/{umd/typings/src/library → esm/typings/src/collection}/constructors/createCollectionFromDirectory.test.d.ts +0 -0
  85. /package/esm/typings/src/{library → collection}/constructors/createCollectionFromJson.test.d.ts +0 -0
  86. /package/esm/typings/src/{library → collection}/constructors/createCollectionFromPromise.test.d.ts +0 -0
  87. /package/esm/typings/src/{library → collection}/constructors/justTestFsImport.d.ts +0 -0
  88. /package/{esm/typings/src/library/libraryToJson.test.d.ts → umd/typings/src/collection/collectionToJson.test.d.ts} +0 -0
  89. /package/umd/typings/src/{library/constructors/createCollectionFromJson.test.d.ts → collection/constructors/createCollectionFromDirectory.test.d.ts} +0 -0
  90. /package/umd/typings/src/{library/constructors/createCollectionFromPromise.test.d.ts → collection/constructors/createCollectionFromJson.test.d.ts} +0 -0
  91. /package/umd/typings/src/{library/libraryToJson.test.d.ts → collection/constructors/createCollectionFromPromise.test.d.ts} +0 -0
  92. /package/umd/typings/src/{library → collection}/constructors/justTestFsImport.d.ts +0 -0
@@ -15,9 +15,9 @@ import type { string_version } from '../typeAliases';
15
15
  */
16
16
  export type ExecutionReportJson = {
17
17
  /**
18
- * Unique identifier of the promptbook from promptbook which was executed
18
+ * Unique identifier of the pipeline from promptbook which was executed
19
19
  */
20
- readonly promptbookUrl?: string_pipeline_url;
20
+ readonly pipelineUrl?: string_pipeline_url;
21
21
  /**
22
22
  * Title of from promptbook which was executed
23
23
  */
@@ -41,7 +41,7 @@ export type ExecutionReportJson = {
41
41
  /**
42
42
  * The prompt wich was executed
43
43
  */
44
- prompt: Omit<Prompt, 'promptbookUrl' | 'parameters'>;
44
+ prompt: Omit<Prompt, 'pipelineUrl' | 'parameters'>;
45
45
  /**
46
46
  * Result of the prompt execution (if not failed during LLM execution)
47
47
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The thresholds for the relative time in the `moment` library.
2
+ * The thresholds for the relative time in the `moment` NPM package.
3
3
  *
4
4
  * @see https://momentjscom.readthedocs.io/en/latest/moment/07-customization/13-relative-time-threshold/
5
5
  */
@@ -179,13 +179,13 @@ export type string_url = string;
179
179
  /**
180
180
  * Semantic helper
181
181
  *
182
- * For example `"https://promptbook.webgpt.com/cs/write-website-content.ptbk.md"`
182
+ * For example `"https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md"`
183
183
  */
184
184
  export type string_pipeline_url = string;
185
185
  /**
186
186
  * Semantic helper
187
187
  *
188
- * For example `"https://promptbook.webgpt.com/cs/write-website-content.ptbk.md#keywords"`
188
+ * For example `"https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md#keywords"`
189
189
  */
190
190
  export type string_pipeline_url_with_hashtemplate = string;
191
191
  /**
@@ -18,5 +18,5 @@ export declare const EMOJIS_IN_CATEGORIES: Record<string, Array<string_char_emoj
18
18
  */
19
19
  export declare const EMOJIS: Set<string_char_emoji>;
20
20
  /**
21
- * TODO: Mirror from Collboard or some common library
21
+ * TODO: Mirror from Collboard or some common package
22
22
  */
@@ -1,12 +0,0 @@
1
- import type { string_pipeline_url } from '../../types/typeAliases';
2
- import type { PipelineCollection } from '../PipelineCollection';
3
- /**
4
- * Creates PipelineCollection as a subset of another PipelineCollection
5
- *
6
- * Note: You can use any type of library as a parent library - local, remote, etc.
7
- * Note: This is just a thin wrapper / proxy around the parent library
8
- *
9
- * @param promptbookSources
10
- * @returns PipelineCollection
11
- */
12
- export declare function createSubcollection(library: PipelineCollection, predicate: (url: string_pipeline_url) => boolean): PipelineCollection;
@@ -1,12 +0,0 @@
1
- import type { string_pipeline_url } from '../../types/typeAliases';
2
- import type { PipelineCollection } from '../PipelineCollection';
3
- /**
4
- * Creates PipelineCollection as a subset of another PipelineCollection
5
- *
6
- * Note: You can use any type of library as a parent library - local, remote, etc.
7
- * Note: This is just a thin wrapper / proxy around the parent library
8
- *
9
- * @param promptbookSources
10
- * @returns PipelineCollection
11
- */
12
- export declare function createSubcollection(library: PipelineCollection, predicate: (url: string_pipeline_url) => boolean): PipelineCollection;