@promptbook/cli 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
@@ -47,7 +47,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
47
47
  * @generated
48
48
  * @see https://github.com/webgptorg/promptbook
49
49
  */
50
- const PROMPTBOOK_ENGINE_VERSION = '0.104.0-16';
50
+ const PROMPTBOOK_ENGINE_VERSION = '0.104.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
@@ -25787,6 +25787,7 @@ class UseBrowserCommitmentDefinition extends BaseCommitmentDefinition {
25787
25787
  const updatedTools = existingTools.some((tool) => tool.name === 'web_browser')
25788
25788
  ? existingTools
25789
25789
  : [
25790
+ // TODO: [🔰] Use through proper MCP server
25790
25791
  ...existingTools,
25791
25792
  {
25792
25793
  name: 'web_browser',
@@ -25974,13 +25975,18 @@ class UseSearchEngineCommitmentDefinition extends BaseCommitmentDefinition {
25974
25975
  ? existingTools
25975
25976
  : [
25976
25977
  ...existingTools,
25978
+ { type: 'web_search' },
25979
+ // <- Note: [🔰] This is just using simple native search tool by OpenAI @see https://platform.openai.com/docs/guides/tools-web-search
25980
+ // In future we will use proper MCP search tool:
25981
+ /*
25982
+
25977
25983
  {
25978
25984
  name: 'web_search',
25979
- description: spaceTrim$1(`
25980
- Search the internet for information.
25981
- Use this tool when you need to find up-to-date information or facts that you don't know.
25982
- ${!content ? '' : `Search scope / instructions: ${content}`}
25983
- `),
25985
+ description: spaceTrim(`
25986
+ Search the internet for information.
25987
+ Use this tool when you need to find up-to-date information or facts that you don't know.
25988
+ ${!content ? '' : `Search scope / instructions: ${content}`}
25989
+ `),
25984
25990
  parameters: {
25985
25991
  type: 'object',
25986
25992
  properties: {
@@ -25992,6 +25998,7 @@ class UseSearchEngineCommitmentDefinition extends BaseCommitmentDefinition {
25992
25998
  required: ['query'],
25993
25999
  },
25994
26000
  },
26001
+ */
25995
26002
  ];
25996
26003
  // Return requirements with updated tools and metadata
25997
26004
  return {