@promptbook/wizard 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
@@ -36,7 +36,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
36
36
  * @generated
37
37
  * @see https://github.com/webgptorg/promptbook
38
38
  */
39
- const PROMPTBOOK_ENGINE_VERSION = '0.104.0-16';
39
+ const PROMPTBOOK_ENGINE_VERSION = '0.104.0-17';
40
40
  /**
41
41
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
42
42
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -16800,6 +16800,7 @@ class UseBrowserCommitmentDefinition extends BaseCommitmentDefinition {
16800
16800
  const updatedTools = existingTools.some((tool) => tool.name === 'web_browser')
16801
16801
  ? existingTools
16802
16802
  : [
16803
+ // TODO: [🔰] Use through proper MCP server
16803
16804
  ...existingTools,
16804
16805
  {
16805
16806
  name: 'web_browser',
@@ -16987,13 +16988,18 @@ class UseSearchEngineCommitmentDefinition extends BaseCommitmentDefinition {
16987
16988
  ? existingTools
16988
16989
  : [
16989
16990
  ...existingTools,
16991
+ { type: 'web_search' },
16992
+ // <- Note: [🔰] This is just using simple native search tool by OpenAI @see https://platform.openai.com/docs/guides/tools-web-search
16993
+ // In future we will use proper MCP search tool:
16994
+ /*
16995
+
16990
16996
  {
16991
16997
  name: 'web_search',
16992
- description: spaceTrim$1(`
16993
- Search the internet for information.
16994
- Use this tool when you need to find up-to-date information or facts that you don't know.
16995
- ${!content ? '' : `Search scope / instructions: ${content}`}
16996
- `),
16998
+ description: spaceTrim(`
16999
+ Search the internet for information.
17000
+ Use this tool when you need to find up-to-date information or facts that you don't know.
17001
+ ${!content ? '' : `Search scope / instructions: ${content}`}
17002
+ `),
16997
17003
  parameters: {
16998
17004
  type: 'object',
16999
17005
  properties: {
@@ -17005,6 +17011,7 @@ class UseSearchEngineCommitmentDefinition extends BaseCommitmentDefinition {
17005
17011
  required: ['query'],
17006
17012
  },
17007
17013
  },
17014
+ */
17008
17015
  ];
17009
17016
  // Return requirements with updated tools and metadata
17010
17017
  return {