@promptbook/browser 0.104.0-16 โ 0.104.0-18
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 +13 -6
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +8 -6
- package/esm/typings/src/book-2.0/utils/generatePlaceholderAgentProfileImageUrl.d.ts +1 -1
- package/esm/typings/src/config.d.ts +8 -1
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +13 -6
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/servers.d.ts +0 -50
|
@@ -29,6 +29,7 @@ import type { GroupedCommitmentDefinition } from '../commitments/index';
|
|
|
29
29
|
import { getGroupedCommitmentDefinitions } from '../commitments/index';
|
|
30
30
|
import { NAME } from '../config';
|
|
31
31
|
import { ADMIN_EMAIL } from '../config';
|
|
32
|
+
import { PROMPTBOOK_LEGAL_ENTITY } from '../config';
|
|
32
33
|
import { ADMIN_GITHUB_NAME } from '../config';
|
|
33
34
|
import { CLAIM } from '../config';
|
|
34
35
|
import { PROMPTBOOK_COLOR } from '../config';
|
|
@@ -191,9 +192,9 @@ import { SectionTypes } from '../types/SectionType';
|
|
|
191
192
|
import { TaskTypes } from '../types/TaskType';
|
|
192
193
|
import { aboutPromptbookInformation } from '../utils/misc/aboutPromptbookInformation';
|
|
193
194
|
import { $generateBookBoilerplate } from '../utils/random/$generateBookBoilerplate';
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
195
|
+
import { CORE_AGENTS_SERVER } from '../../servers';
|
|
196
|
+
import { CORE_AGENTS_SERVER_ADAM_AGENT_NAME } from '../../servers';
|
|
197
|
+
import { PUBLIC_AGENTS_SERVERS } from '../../servers';
|
|
197
198
|
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
|
|
198
199
|
export { computeAgentHash };
|
|
199
200
|
export { createAgentModelRequirements };
|
|
@@ -225,6 +226,7 @@ export type { GroupedCommitmentDefinition };
|
|
|
225
226
|
export { getGroupedCommitmentDefinitions };
|
|
226
227
|
export { NAME };
|
|
227
228
|
export { ADMIN_EMAIL };
|
|
229
|
+
export { PROMPTBOOK_LEGAL_ENTITY };
|
|
228
230
|
export { ADMIN_GITHUB_NAME };
|
|
229
231
|
export { CLAIM };
|
|
230
232
|
export { PROMPTBOOK_COLOR };
|
|
@@ -387,6 +389,6 @@ export { SectionTypes };
|
|
|
387
389
|
export { TaskTypes };
|
|
388
390
|
export { aboutPromptbookInformation };
|
|
389
391
|
export { $generateBookBoilerplate };
|
|
390
|
-
export {
|
|
391
|
-
export {
|
|
392
|
-
export {
|
|
392
|
+
export { CORE_AGENTS_SERVER };
|
|
393
|
+
export { CORE_AGENTS_SERVER_ADAM_AGENT_NAME };
|
|
394
|
+
export { PUBLIC_AGENTS_SERVERS };
|
|
@@ -7,7 +7,7 @@ import type { string_agent_name, string_agent_permanent_id, string_url, string_u
|
|
|
7
7
|
*
|
|
8
8
|
* @public exported from `@promptbook/core`
|
|
9
9
|
*/
|
|
10
|
-
export declare function generatePlaceholderAgentProfileImageUrl(agentIdOrName: string_agent_permanent_id | string_agent_name, agentsServerUrl
|
|
10
|
+
export declare function generatePlaceholderAgentProfileImageUrl(agentIdOrName: string_agent_permanent_id | string_agent_name, agentsServerUrl: URL | string_url): string_url_image;
|
|
11
11
|
/**
|
|
12
12
|
* TODO: [๐คน] Figure out best placeholder image generator https://i.pravatar.cc/1000?u=568
|
|
13
13
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CsvSettings } from './formats/csv/CsvSettings';
|
|
2
2
|
import type { IntermediateFilesStrategy } from './types/IntermediateFilesStrategy';
|
|
3
|
-
import type { string_app_id, string_email, string_name, string_promptbook_server_url } from './types/typeAliases';
|
|
3
|
+
import type { string_app_id, string_email, string_legal_entity, string_name, string_promptbook_server_url } from './types/typeAliases';
|
|
4
4
|
import { Color } from './utils/color/Color';
|
|
5
5
|
/**
|
|
6
6
|
* Warning message for the generated sections and files files
|
|
@@ -22,6 +22,12 @@ export declare const NAME = "Promptbook";
|
|
|
22
22
|
* @public exported from `@promptbook/core`
|
|
23
23
|
*/
|
|
24
24
|
export declare const ADMIN_EMAIL: string_email;
|
|
25
|
+
/**
|
|
26
|
+
* Email of the responsible person
|
|
27
|
+
*
|
|
28
|
+
* @public exported from `@promptbook/core`
|
|
29
|
+
*/
|
|
30
|
+
export declare const PROMPTBOOK_LEGAL_ENTITY: string_legal_entity;
|
|
25
31
|
/**
|
|
26
32
|
* Name of the responsible person for the Promptbook on GitHub
|
|
27
33
|
*
|
|
@@ -295,6 +301,7 @@ export declare const MOMENT_ARG_THRESHOLDS: {
|
|
|
295
301
|
/**
|
|
296
302
|
* Default remote server URL for the Promptbook
|
|
297
303
|
*
|
|
304
|
+
* @deprecated !!!! Deprecate all pipelines server
|
|
298
305
|
* @public exported from `@promptbook/core`
|
|
299
306
|
*/
|
|
300
307
|
export declare const DEFAULT_REMOTE_SERVER_URL: string_promptbook_server_url;
|
|
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
|
|
|
15
15
|
export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
|
|
16
16
|
/**
|
|
17
17
|
* Represents the version string of the Promptbook engine.
|
|
18
|
-
* It follows semantic versioning (e.g., `0.104.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.104.0-17`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/browser",
|
|
3
|
-
"version": "0.104.0-
|
|
3
|
+
"version": "0.104.0-18",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"module": "./esm/index.es.js",
|
|
95
95
|
"typings": "./esm/typings/src/_packages/browser.index.d.ts",
|
|
96
96
|
"peerDependencies": {
|
|
97
|
-
"@promptbook/core": "0.104.0-
|
|
97
|
+
"@promptbook/core": "0.104.0-18"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
100
|
"crypto": "1.0.1",
|
package/umd/index.umd.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* @generated
|
|
24
24
|
* @see https://github.com/webgptorg/promptbook
|
|
25
25
|
*/
|
|
26
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-
|
|
26
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-18';
|
|
27
27
|
/**
|
|
28
28
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
29
29
|
* Note: [๐] Ignore a discrepancy between file name and entity name
|
|
@@ -5724,6 +5724,7 @@
|
|
|
5724
5724
|
const updatedTools = existingTools.some((tool) => tool.name === 'web_browser')
|
|
5725
5725
|
? existingTools
|
|
5726
5726
|
: [
|
|
5727
|
+
// TODO: [๐ฐ] Use through proper MCP server
|
|
5727
5728
|
...existingTools,
|
|
5728
5729
|
{
|
|
5729
5730
|
name: 'web_browser',
|
|
@@ -5911,13 +5912,18 @@
|
|
|
5911
5912
|
? existingTools
|
|
5912
5913
|
: [
|
|
5913
5914
|
...existingTools,
|
|
5915
|
+
{ type: 'web_search' },
|
|
5916
|
+
// <- Note: [๐ฐ] This is just using simple native search tool by OpenAI @see https://platform.openai.com/docs/guides/tools-web-search
|
|
5917
|
+
// In future we will use proper MCP search tool:
|
|
5918
|
+
/*
|
|
5919
|
+
|
|
5914
5920
|
{
|
|
5915
5921
|
name: 'web_search',
|
|
5916
|
-
description: spaceTrim
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5922
|
+
description: spaceTrim(`
|
|
5923
|
+
Search the internet for information.
|
|
5924
|
+
Use this tool when you need to find up-to-date information or facts that you don't know.
|
|
5925
|
+
${!content ? '' : `Search scope / instructions: ${content}`}
|
|
5926
|
+
`),
|
|
5921
5927
|
parameters: {
|
|
5922
5928
|
type: 'object',
|
|
5923
5929
|
properties: {
|
|
@@ -5929,6 +5935,7 @@
|
|
|
5929
5935
|
required: ['query'],
|
|
5930
5936
|
},
|
|
5931
5937
|
},
|
|
5938
|
+
*/
|
|
5932
5939
|
];
|
|
5933
5940
|
// Return requirements with updated tools and metadata
|
|
5934
5941
|
return {
|