@promptbook/core 0.104.0-16 → 0.104.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.
package/esm/index.es.js CHANGED
@@ -27,7 +27,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
27
27
  * @generated
28
28
  * @see https://github.com/webgptorg/promptbook
29
29
  */
30
- const PROMPTBOOK_ENGINE_VERSION = '0.104.0-16';
30
+ const PROMPTBOOK_ENGINE_VERSION = '0.104.0-17';
31
31
  /**
32
32
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
33
33
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -10617,6 +10617,7 @@ class UseBrowserCommitmentDefinition extends BaseCommitmentDefinition {
10617
10617
  const updatedTools = existingTools.some((tool) => tool.name === 'web_browser')
10618
10618
  ? existingTools
10619
10619
  : [
10620
+ // TODO: [🔰] Use through proper MCP server
10620
10621
  ...existingTools,
10621
10622
  {
10622
10623
  name: 'web_browser',
@@ -10804,13 +10805,18 @@ class UseSearchEngineCommitmentDefinition extends BaseCommitmentDefinition {
10804
10805
  ? existingTools
10805
10806
  : [
10806
10807
  ...existingTools,
10808
+ { type: 'web_search' },
10809
+ // <- Note: [🔰] This is just using simple native search tool by OpenAI @see https://platform.openai.com/docs/guides/tools-web-search
10810
+ // In future we will use proper MCP search tool:
10811
+ /*
10812
+
10807
10813
  {
10808
10814
  name: 'web_search',
10809
- description: spaceTrim$1(`
10810
- Search the internet for information.
10811
- Use this tool when you need to find up-to-date information or facts that you don't know.
10812
- ${!content ? '' : `Search scope / instructions: ${content}`}
10813
- `),
10815
+ description: spaceTrim(`
10816
+ Search the internet for information.
10817
+ Use this tool when you need to find up-to-date information or facts that you don't know.
10818
+ ${!content ? '' : `Search scope / instructions: ${content}`}
10819
+ `),
10814
10820
  parameters: {
10815
10821
  type: 'object',
10816
10822
  properties: {
@@ -10822,6 +10828,7 @@ class UseSearchEngineCommitmentDefinition extends BaseCommitmentDefinition {
10822
10828
  required: ['query'],
10823
10829
  },
10824
10830
  },
10831
+ */
10825
10832
  ];
10826
10833
  // Return requirements with updated tools and metadata
10827
10834
  return {