@promptbook/remote-server 0.103.0-37 → 0.103.0-40

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 (43) hide show
  1. package/esm/index.es.js +19 -18
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/typings/books/index.d.ts +0 -81
  4. package/esm/typings/src/_packages/core.index.d.ts +12 -10
  5. package/esm/typings/src/_packages/node.index.d.ts +4 -2
  6. package/esm/typings/src/_packages/types.index.d.ts +3 -1
  7. package/esm/typings/src/book-components/_common/Modal/Modal.d.ts +1 -1
  8. package/esm/typings/src/cli/cli-commands/start-agents-server.d.ts +14 -0
  9. package/esm/typings/src/cli/cli-commands/{start-server.d.ts → start-pipelines-server.d.ts} +2 -2
  10. package/esm/typings/src/collection/agent-collection/AgentCollection.d.ts +36 -0
  11. package/esm/typings/src/collection/agent-collection/constructors/AgentCollectionInDirectory.d.ts +88 -0
  12. package/esm/typings/src/collection/{PipelineCollection.d.ts → pipeline-collection/PipelineCollection.d.ts} +7 -3
  13. package/esm/typings/src/collection/{SimplePipelineCollection.d.ts → pipeline-collection/SimplePipelineCollection.d.ts} +5 -5
  14. package/esm/typings/src/collection/{constructors/createCollectionFromDirectory.d.ts → pipeline-collection/constructors/createPipelineCollectionFromDirectory.d.ts} +8 -10
  15. package/esm/typings/src/collection/pipeline-collection/constructors/createPipelineCollectionFromJson.d.ts +13 -0
  16. package/esm/typings/src/collection/{constructors/createCollectionFromPromise.d.ts → pipeline-collection/constructors/createPipelineCollectionFromPromise.d.ts} +6 -5
  17. package/esm/typings/src/collection/pipeline-collection/constructors/createPipelineCollectionFromPromise.test.d.ts +1 -0
  18. package/esm/typings/src/collection/{constructors/createCollectionFromUrl.d.ts → pipeline-collection/constructors/createPipelineCollectionFromUrl.d.ts} +3 -3
  19. package/esm/typings/src/collection/{constructors/createSubcollection.d.ts → pipeline-collection/constructors/createPipelineSubcollection.d.ts} +3 -3
  20. package/esm/typings/src/collection/pipeline-collection/pipelineCollectionToJson.d.ts +13 -0
  21. package/esm/typings/src/config.d.ts +8 -1
  22. package/esm/typings/src/execution/FilesystemTools.d.ts +1 -1
  23. package/esm/typings/src/execution/LlmExecutionTools.d.ts +6 -0
  24. package/esm/typings/src/llm-providers/agent/Agent.d.ts +6 -1
  25. package/esm/typings/src/llm-providers/agent/AgentLlmExecutionTools.d.ts +9 -4
  26. package/esm/typings/src/llm-providers/agent/createAgentLlmExecutionTools.d.ts +0 -4
  27. package/esm/typings/src/llm-providers/openai/OpenAiAssistantExecutionTools.d.ts +17 -1
  28. package/esm/typings/src/other/templates/getTemplatesPipelineCollection.d.ts +1 -1
  29. package/esm/typings/src/remote-server/startRemoteServer.d.ts +1 -1
  30. package/esm/typings/src/remote-server/types/RemoteServerOptions.d.ts +22 -8
  31. package/esm/typings/src/transpilers/formatted-book-in-markdown/register.d.ts +1 -1
  32. package/esm/typings/src/utils/files/listAllFiles.d.ts +2 -3
  33. package/esm/typings/src/version.d.ts +1 -1
  34. package/esm/typings/src/wizard/$getCompiledBook.d.ts +1 -2
  35. package/package.json +2 -2
  36. package/umd/index.umd.js +22 -21
  37. package/umd/index.umd.js.map +1 -1
  38. package/esm/typings/src/collection/collectionToJson.d.ts +0 -13
  39. package/esm/typings/src/collection/constructors/createCollectionFromJson.d.ts +0 -13
  40. /package/esm/typings/src/collection/{constructors/createCollectionFromDirectory.test.d.ts → agent-collection/constructors/AgentCollectionInDirectory.test.d.ts} +0 -0
  41. /package/esm/typings/src/collection/{constructors/createCollectionFromJson.test.d.ts → pipeline-collection/constructors/createPipelineCollectionFromDirectory.test.d.ts} +0 -0
  42. /package/esm/typings/src/collection/{constructors/createCollectionFromPromise.test.d.ts → pipeline-collection/constructors/createPipelineCollectionFromJson.test.d.ts} +0 -0
  43. /package/esm/typings/src/collection/{collectionToJson.test.d.ts → pipeline-collection/pipelineCollectionToJson.test.d.ts} +0 -0
@@ -1,13 +0,0 @@
1
- import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
2
- import type { PipelineCollection } from './PipelineCollection';
3
- /**
4
- * Converts PipelineCollection to serialized JSON
5
- *
6
- * Note: Functions `collectionToJson` and `createCollectionFromJson` are complementary
7
- *
8
- * @public exported from `@promptbook/core`
9
- */
10
- export declare function collectionToJson(collection: PipelineCollection): Promise<ReadonlyArray<PipelineJson>>;
11
- /**
12
- * TODO: [🧠] Maybe clear `sourceFile` or clear when exposing through API or remote server
13
- */
@@ -1,13 +0,0 @@
1
- import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
2
- import type { PipelineCollection } from '../PipelineCollection';
3
- /**
4
- * Creates PipelineCollection from array of PipelineJson or PipelineString
5
- *
6
- * Note: Functions `collectionToJson` and `createCollectionFromJson` are complementary
7
- * Note: Syntax, parsing, and logic consistency checks are performed on all sources during build
8
- *
9
- * @param promptbookSources
10
- * @returns PipelineCollection
11
- * @public exported from `@promptbook/core`
12
- */
13
- export declare function createCollectionFromJson(...promptbooks: ReadonlyArray<PipelineJson>): PipelineCollection;