@promptbook/remote-server 0.101.0-15 → 0.101.0-17

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 (28) hide show
  1. package/esm/index.es.js +3 -3
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/typings/src/_packages/components.index.d.ts +4 -0
  4. package/esm/typings/src/_packages/core.index.d.ts +2 -0
  5. package/esm/typings/src/_packages/types.index.d.ts +2 -0
  6. package/esm/typings/src/book-2.0/agent-source/AgentModelRequirements.d.ts +3 -0
  7. package/esm/typings/src/book-2.0/agent-source/createAgentModelRequirements.d.ts +0 -20
  8. package/esm/typings/src/book-2.0/agent-source/createAgentModelRequirementsWithCommitments.d.ts +1 -26
  9. package/esm/typings/src/book-2.0/commitments/MODEL/MODEL.d.ts +23 -2
  10. package/esm/typings/src/book-2.0/commitments/NOTE/NOTE.d.ts +14 -2
  11. package/esm/typings/src/book-2.0/commitments/index.d.ts +1 -1
  12. package/esm/typings/src/book-components/AvatarProfile/AvatarChip/AvatarChip.d.ts +2 -2
  13. package/esm/typings/src/book-components/BookEditor/BookEditor.d.ts +5 -0
  14. package/esm/typings/src/book-components/BookEditor/BookEditorInner.d.ts +1 -0
  15. package/esm/typings/src/book-components/Chat/utils/parseMessageButtons.d.ts +22 -0
  16. package/esm/typings/src/formats/csv/CsvFormatError.d.ts +1 -1
  17. package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +1 -1
  18. package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsForTestingAndScriptsAndPlayground.d.ts +1 -1
  19. package/esm/typings/src/remote-server/openapi-types.d.ts +31 -31
  20. package/esm/typings/src/types/ModelRequirements.d.ts +2 -4
  21. package/esm/typings/src/utils/color/utils/colorSaturation.d.ts +1 -1
  22. package/esm/typings/src/utils/editable/edit-pipeline-string/addPipelineCommand.d.ts +1 -1
  23. package/esm/typings/src/version.d.ts +1 -1
  24. package/package.json +2 -2
  25. package/umd/index.umd.js +3 -3
  26. package/umd/index.umd.js.map +1 -1
  27. package/esm/typings/src/book-2.0/utils/extractAgentMetadata.d.ts +0 -17
  28. package/esm/typings/src/book-2.0/utils/extractProfileImageFromSystemMessage.d.ts +0 -12
package/umd/index.umd.js CHANGED
@@ -47,7 +47,7 @@
47
47
  * @generated
48
48
  * @see https://github.com/webgptorg/promptbook
49
49
  */
50
- const PROMPTBOOK_ENGINE_VERSION = '0.101.0-15';
50
+ const PROMPTBOOK_ENGINE_VERSION = '0.101.0-17';
51
51
  /**
52
52
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
53
53
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -6653,13 +6653,13 @@
6653
6653
  // Calculate and update tldr based on pipeline progress
6654
6654
  const cv = newOngoingResult;
6655
6655
  // Calculate progress based on parameters resolved vs total parameters
6656
- const totalParameters = pipeline.parameters.filter(p => !p.isInput).length;
6656
+ const totalParameters = pipeline.parameters.filter((p) => !p.isInput).length;
6657
6657
  let resolvedParameters = 0;
6658
6658
  let currentTaskTitle = '';
6659
6659
  // Get the resolved parameters from output parameters
6660
6660
  if (cv === null || cv === void 0 ? void 0 : cv.outputParameters) {
6661
6661
  // Count how many output parameters have non-empty values
6662
- resolvedParameters = Object.values(cv.outputParameters).filter(value => value !== undefined && value !== null && String(value).trim() !== '').length;
6662
+ resolvedParameters = Object.values(cv.outputParameters).filter((value) => value !== undefined && value !== null && String(value).trim() !== '').length;
6663
6663
  }
6664
6664
  // Try to determine current task from execution report
6665
6665
  if (((_a = cv === null || cv === void 0 ? void 0 : cv.executionReport) === null || _a === void 0 ? void 0 : _a.promptExecutions) && cv.executionReport.promptExecutions.length > 0) {