@promptbook/editable 0.100.0-28 → 0.100.0-31
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 +1 -1
- package/esm/typings/src/_packages/types.index.d.ts +2 -2
- package/esm/typings/src/book-2.0/agent-source/parseAgentSource.d.ts +2 -2
- package/esm/typings/src/book-2.0/commitments/_misc/parseAgentSourceWithCommitments.d.ts +2 -2
- package/esm/typings/src/book-components/BookEditor/BookEditor.d.ts +0 -2
- package/esm/typings/src/execution/AvailableModel.d.ts +4 -0
- package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/deepseek/deepseek-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/google/google-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/ollama/ollama-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/openai/openai-models.d.ts +1 -1
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
package/esm/index.es.js
CHANGED
@@ -17,7 +17,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
17
17
|
* @generated
|
18
18
|
* @see https://github.com/webgptorg/promptbook
|
19
19
|
*/
|
20
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.100.0-
|
20
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.100.0-31';
|
21
21
|
/**
|
22
22
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
23
23
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { AgentBasicInformation } from '../book-2.0/agent-source/parseAgentSource';
|
2
2
|
import type { string_book } from '../book-2.0/agent-source/string_book';
|
3
3
|
import type { BookCommitment } from '../book-2.0/commitments/_base/BookCommitment';
|
4
4
|
import type { CommitmentDefinition } from '../book-2.0/commitments/_base/CommitmentDefinition';
|
@@ -317,7 +317,7 @@ import type { TODO_any } from '../utils/organization/TODO_any';
|
|
317
317
|
import type { CheckSerializableAsJsonOptions } from '../utils/serialization/checkSerializableAsJson';
|
318
318
|
import type { ExportJsonOptions } from '../utils/serialization/exportJson';
|
319
319
|
import type { string_promptbook_version } from '../version';
|
320
|
-
export type {
|
320
|
+
export type { AgentBasicInformation };
|
321
321
|
export type { string_book };
|
322
322
|
export type { BookCommitment };
|
323
323
|
export type { CommitmentDefinition };
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { string_agent_name } from '../../types/typeAliases';
|
2
2
|
import type { string_url_image } from '../../types/typeAliases';
|
3
3
|
import type { string_book } from './string_book';
|
4
|
-
export interface
|
4
|
+
export interface AgentBasicInformation {
|
5
5
|
/**
|
6
6
|
* Name of the agent
|
7
7
|
* This is the first line of the agent source
|
@@ -27,4 +27,4 @@ export interface AgentSourceBasicInformation {
|
|
27
27
|
*
|
28
28
|
* @public exported from `@promptbook/core`
|
29
29
|
*/
|
30
|
-
export declare function parseAgentSource(agentSource: string_book):
|
30
|
+
export declare function parseAgentSource(agentSource: string_book): AgentBasicInformation;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { AgentBasicInformation } from '../../agent-source/parseAgentSource';
|
2
2
|
import type { string_book } from '../../agent-source/string_book';
|
3
3
|
import type { AgentSourceParseResult } from './AgentSourceParseResult';
|
4
4
|
/**
|
@@ -14,7 +14,7 @@ export declare function parseAgentSourceWithCommitments(agentSource: string_book
|
|
14
14
|
*
|
15
15
|
* @private
|
16
16
|
*/
|
17
|
-
export declare function parseAgentSourceBasicInfo(agentSource: string_book):
|
17
|
+
export declare function parseAgentSourceBasicInfo(agentSource: string_book): AgentBasicInformation;
|
18
18
|
/**
|
19
19
|
* Extracts META LINK commitments from agent source
|
20
20
|
* Returns an array of all META LINK URLs found in the agent source
|
@@ -21,8 +21,6 @@ export interface BookEditorProps {
|
|
21
21
|
/**
|
22
22
|
* Renders a book editor
|
23
23
|
*
|
24
|
-
* 🔥 LIVE COMPONENT TEST: This component is being served live from the playground server!
|
25
|
-
*
|
26
24
|
* @public exported from `@promptbook/components`
|
27
25
|
*/
|
28
26
|
export declare function BookEditor(props: BookEditorProps): import("react/jsx-runtime").JSX.Element;
|
@@ -40,6 +40,10 @@ export type AvailableModel = {
|
|
40
40
|
readonly prompt: number_usd;
|
41
41
|
readonly output: number_usd;
|
42
42
|
};
|
43
|
+
/**
|
44
|
+
* If the model is deprecated, it should not be used for new tasks
|
45
|
+
*/
|
46
|
+
readonly isDeprecated?: boolean;
|
43
47
|
};
|
44
48
|
/**
|
45
49
|
* TODO: [🧠] Maybe rename to something else - like `ModelInformation` or `ModelMetadata`
|
@@ -3,7 +3,7 @@ import type { number_usd } from '../../types/typeAliases';
|
|
3
3
|
/**
|
4
4
|
* List of available Anthropic Claude models with pricing
|
5
5
|
*
|
6
|
-
* Note:
|
6
|
+
* Note: Synced with official API docs at 2025-08-20
|
7
7
|
*
|
8
8
|
* @see https://docs.anthropic.com/en/docs/models-overview
|
9
9
|
* @public exported from `@promptbook/anthropic-claude`
|
@@ -3,7 +3,7 @@ import type { number_usd } from '../../types/typeAliases';
|
|
3
3
|
/**
|
4
4
|
* List of available Deepseek models with descriptions
|
5
5
|
*
|
6
|
-
* Note:
|
6
|
+
* Note: Synced with official API docs at 2025-08-20
|
7
7
|
*
|
8
8
|
* @see https://www.deepseek.com/models
|
9
9
|
* @public exported from `@promptbook/deepseek`
|
@@ -3,7 +3,7 @@ import type { number_usd } from '../../types/typeAliases';
|
|
3
3
|
/**
|
4
4
|
* List of available Google models with descriptions
|
5
5
|
*
|
6
|
-
* Note:
|
6
|
+
* Note: Synced with official API docs at 2025-08-20
|
7
7
|
*
|
8
8
|
* @see https://ai.google.dev/models/gemini
|
9
9
|
* @public exported from `@promptbook/google`
|
@@ -2,7 +2,7 @@ import type { AvailableModel } from '../../execution/AvailableModel';
|
|
2
2
|
/**
|
3
3
|
* List of available models in Ollama library
|
4
4
|
*
|
5
|
-
* Note:
|
5
|
+
* Note: Synced with official API docs at 2025-08-20
|
6
6
|
*
|
7
7
|
* @see https://ollama.com/library
|
8
8
|
* @public exported from `@promptbook/ollama`
|
@@ -2,7 +2,7 @@ import type { AvailableModel } from '../../execution/AvailableModel';
|
|
2
2
|
/**
|
3
3
|
* List of available OpenAI models with pricing
|
4
4
|
*
|
5
|
-
* Note:
|
5
|
+
* Note: Synced with official API docs at 2025-08-20
|
6
6
|
*
|
7
7
|
* @see https://platform.openai.com/docs/models/
|
8
8
|
* @see https://openai.com/api/pricing/
|
@@ -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.100.0-
|
18
|
+
* It follows semantic versioning (e.g., `0.100.0-30`).
|
19
19
|
*
|
20
20
|
* @generated
|
21
21
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@promptbook/editable",
|
3
|
-
"version": "0.100.0-
|
3
|
+
"version": "0.100.0-31",
|
4
4
|
"description": "Promptbook: Run AI apps in plain human language across multiple models and platforms",
|
5
5
|
"private": false,
|
6
6
|
"sideEffects": false,
|
@@ -95,7 +95,7 @@
|
|
95
95
|
"module": "./esm/index.es.js",
|
96
96
|
"typings": "./esm/typings/src/_packages/editable.index.d.ts",
|
97
97
|
"peerDependencies": {
|
98
|
-
"@promptbook/core": "0.100.0-
|
98
|
+
"@promptbook/core": "0.100.0-31"
|
99
99
|
},
|
100
100
|
"dependencies": {
|
101
101
|
"crypto-js": "4.2.0",
|
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.100.0-
|
26
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.100.0-31';
|
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
|