@promptbook/editable 0.100.0-33 → 0.100.0-35
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
@@ -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-35';
|
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,5 +1,6 @@
|
|
1
1
|
import type { Observable } from 'rxjs';
|
2
2
|
import { PartialDeep } from 'type-fest';
|
3
|
+
import type { number_percent } from '../types/typeAliases';
|
3
4
|
import type { task_id } from '../types/typeAliases';
|
4
5
|
import type { string_SCREAMING_CASE } from '../utils/normalization/normalizeTo_SCREAMING_CASE';
|
5
6
|
import type { string_promptbook_version } from '../version';
|
@@ -80,6 +81,19 @@ export type AbstractTask<TTaskResult extends AbstractTaskResult> = {
|
|
80
81
|
* Status of the task
|
81
82
|
*/
|
82
83
|
readonly status: task_status;
|
84
|
+
/**
|
85
|
+
* Short summary of the task status for quick overview in the UI
|
86
|
+
*/
|
87
|
+
readonly tldr: {
|
88
|
+
/**
|
89
|
+
* Progress in percentage from 0 to 1 (100%) that can be used to display a progress bar
|
90
|
+
*/
|
91
|
+
readonly percent: number_percent;
|
92
|
+
/**
|
93
|
+
* Short summary message of the task status that can be displayed in the UI
|
94
|
+
*/
|
95
|
+
readonly message: string;
|
96
|
+
};
|
83
97
|
/**
|
84
98
|
* Date when the task was created
|
85
99
|
*/
|
@@ -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-34`).
|
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-35",
|
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-35"
|
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-35';
|
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
|