@promptbook/remote-client 0.112.0-73 → 0.112.0-79
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/README.md +9 -9
- package/esm/index.es.js +310 -204
- package/esm/index.es.js.map +1 -1
- package/esm/src/avatars/types/AvatarVisualDefinition.d.ts +1 -1
- package/esm/src/avatars/visuals/octopus3d2AvatarVisual.d.ts +7 -0
- package/esm/src/avatars/visuals/octopus3dAvatarVisualShared.d.ts +37 -0
- package/esm/src/book-components/Chat/save/_common/chatExportRendering.d.ts +47 -0
- package/esm/src/book-components/Chat/save/html/htmlSaveFormatDefinition.d.ts +12 -0
- package/esm/src/book-components/Chat/save/index.d.ts +2 -2
- package/esm/src/book-components/Chat/save/markdown/mdSaveFormatDefinition.d.ts +5 -3
- package/esm/src/book-components/Chat/save/pdf/buildChatPdf.d.ts +3 -3
- package/esm/src/book-components/Chat/save/pdf/pdfSaveFormatDefinition.d.ts +1 -1
- package/esm/src/cli/cli-commands/agent/agentProjectPaths.d.ts +8 -8
- package/esm/src/cli/cli-commands/agent/initializeAgentRunnerCommand.d.ts +1 -1
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +56 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer.test.d.ts +1 -0
- package/esm/src/cli/cli-commands/agents-server/ensureAgentsServerEnvFile.d.ts +7 -0
- package/esm/src/cli/cli-commands/agents-server/ensureAgentsServerGitignoreFile.d.ts +7 -0
- package/esm/src/cli/cli-commands/agents-server/init.d.ts +9 -0
- package/esm/src/cli/cli-commands/agents-server/init.test.d.ts +1 -0
- package/esm/src/cli/cli-commands/agents-server/initializeAgentsServerProjectConfiguration.d.ts +17 -0
- package/esm/src/cli/cli-commands/agents-server/printAgentsServerInitializationSummary.d.ts +7 -0
- package/esm/src/cli/cli-commands/agents-server/run.d.ts +14 -0
- package/esm/src/cli/cli-commands/agents-server/run.test.d.ts +1 -0
- package/esm/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +23 -0
- package/esm/src/cli/cli-commands/agents-server.d.ts +8 -0
- package/esm/src/cli/cli-commands/common/projectInitialization.d.ts +65 -0
- package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +44 -0
- package/esm/src/cli/common/$deprecateCliCommand.d.ts +8 -0
- package/esm/src/cli/common/$deprecateCliCommand.test.d.ts +1 -0
- package/esm/src/utils/color/Color.d.ts +4 -44
- package/esm/src/utils/color/ColorValue.d.ts +55 -0
- package/esm/src/utils/color/isHexColorString.d.ts +10 -0
- package/esm/src/utils/color/parseColorString.d.ts +11 -0
- package/esm/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +310 -204
- package/umd/index.umd.js.map +1 -1
- package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +1 -1
- package/umd/src/avatars/visuals/octopus3d2AvatarVisual.d.ts +7 -0
- package/umd/src/avatars/visuals/octopus3dAvatarVisualShared.d.ts +37 -0
- package/umd/src/book-components/Chat/save/_common/chatExportRendering.d.ts +47 -0
- package/umd/src/book-components/Chat/save/html/htmlSaveFormatDefinition.d.ts +12 -0
- package/umd/src/book-components/Chat/save/index.d.ts +2 -2
- package/umd/src/book-components/Chat/save/markdown/mdSaveFormatDefinition.d.ts +5 -3
- package/umd/src/book-components/Chat/save/pdf/buildChatPdf.d.ts +3 -3
- package/umd/src/book-components/Chat/save/pdf/pdfSaveFormatDefinition.d.ts +1 -1
- package/umd/src/cli/cli-commands/agent/agentProjectPaths.d.ts +8 -8
- package/umd/src/cli/cli-commands/agent/initializeAgentRunnerCommand.d.ts +1 -1
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +56 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer.test.d.ts +1 -0
- package/umd/src/cli/cli-commands/agents-server/ensureAgentsServerEnvFile.d.ts +7 -0
- package/umd/src/cli/cli-commands/agents-server/ensureAgentsServerGitignoreFile.d.ts +7 -0
- package/umd/src/cli/cli-commands/agents-server/init.d.ts +9 -0
- package/umd/src/cli/cli-commands/agents-server/init.test.d.ts +1 -0
- package/umd/src/cli/cli-commands/agents-server/initializeAgentsServerProjectConfiguration.d.ts +17 -0
- package/umd/src/cli/cli-commands/agents-server/printAgentsServerInitializationSummary.d.ts +7 -0
- package/umd/src/cli/cli-commands/agents-server/run.d.ts +14 -0
- package/umd/src/cli/cli-commands/agents-server/run.test.d.ts +1 -0
- package/umd/src/cli/cli-commands/agents-server/startAgentsServer.d.ts +23 -0
- package/umd/src/cli/cli-commands/agents-server.d.ts +8 -0
- package/umd/src/cli/cli-commands/common/projectInitialization.d.ts +65 -0
- package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +44 -0
- package/umd/src/cli/common/$deprecateCliCommand.d.ts +8 -0
- package/umd/src/cli/common/$deprecateCliCommand.test.d.ts +1 -0
- package/umd/src/utils/color/Color.d.ts +4 -44
- package/umd/src/utils/color/ColorValue.d.ts +55 -0
- package/umd/src/utils/color/isHexColorString.d.ts +10 -0
- package/umd/src/utils/color/parseColorString.d.ts +11 -0
- package/umd/src/version.d.ts +1 -1
- package/esm/src/cli/cli-commands/coder/appendBlock.d.ts +0 -6
- package/esm/src/cli/cli-commands/coder/readTextFileIfExists.d.ts +0 -6
- package/umd/src/cli/cli-commands/coder/appendBlock.d.ts +0 -6
- package/umd/src/cli/cli-commands/coder/readTextFileIfExists.d.ts +0 -6
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { string_color } from '../../types/string_person_fullname';
|
|
2
|
+
import type { WithTake } from '../take/interfaces/ITakeChain';
|
|
3
|
+
import type { Color } from './Color';
|
|
4
|
+
/**
|
|
5
|
+
* Shared immutable channel storage and serialization helpers for `Color`.
|
|
6
|
+
*
|
|
7
|
+
* @private base class of Color
|
|
8
|
+
*/
|
|
9
|
+
export declare abstract class ColorValue {
|
|
10
|
+
readonly red: number;
|
|
11
|
+
readonly green: number;
|
|
12
|
+
readonly blue: number;
|
|
13
|
+
readonly alpha: number;
|
|
14
|
+
protected constructor(red: number, green: number, blue: number, alpha?: number);
|
|
15
|
+
/**
|
|
16
|
+
* Shortcut for `red` property
|
|
17
|
+
* Number from 0 to 255
|
|
18
|
+
* @alias red
|
|
19
|
+
*/
|
|
20
|
+
get r(): number;
|
|
21
|
+
/**
|
|
22
|
+
* Shortcut for `green` property
|
|
23
|
+
* Number from 0 to 255
|
|
24
|
+
* @alias green
|
|
25
|
+
*/
|
|
26
|
+
get g(): number;
|
|
27
|
+
/**
|
|
28
|
+
* Shortcut for `blue` property
|
|
29
|
+
* Number from 0 to 255
|
|
30
|
+
* @alias blue
|
|
31
|
+
*/
|
|
32
|
+
get b(): number;
|
|
33
|
+
/**
|
|
34
|
+
* Shortcut for `alpha` property
|
|
35
|
+
* Number from 0 (transparent) to 255 (opaque)
|
|
36
|
+
* @alias alpha
|
|
37
|
+
*/
|
|
38
|
+
get a(): number;
|
|
39
|
+
/**
|
|
40
|
+
* Shortcut for `alpha` property
|
|
41
|
+
* Number from 0 (transparent) to 255 (opaque)
|
|
42
|
+
* @alias alpha
|
|
43
|
+
*/
|
|
44
|
+
get opacity(): number;
|
|
45
|
+
/**
|
|
46
|
+
* Shortcut for 1-`alpha` property
|
|
47
|
+
*/
|
|
48
|
+
get transparency(): number;
|
|
49
|
+
clone(): WithTake<Color>;
|
|
50
|
+
toString(): string_color;
|
|
51
|
+
toHex(): string_color;
|
|
52
|
+
toRgb(): string_color;
|
|
53
|
+
toHsl(): string_color;
|
|
54
|
+
protected abstract createColor(red: number, green: number, blue: number, alpha: number): Color;
|
|
55
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { string_color } from '../../types/string_person_fullname';
|
|
2
|
+
/**
|
|
3
|
+
* Checks if the given value is a valid hex color string
|
|
4
|
+
*
|
|
5
|
+
* @param value - value to check
|
|
6
|
+
* @returns true if the value is a valid hex color string (e.g., `#009edd`, `#fff`, etc.)
|
|
7
|
+
*
|
|
8
|
+
* @private function of Color
|
|
9
|
+
*/
|
|
10
|
+
export declare function isHexColorString(value: unknown): value is string_color;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { string_color } from '../../types/string_person_fullname';
|
|
2
|
+
import type { ColorChannelSet } from './parsers/ColorChannelSet';
|
|
3
|
+
/**
|
|
4
|
+
* Parses a supported color string into RGBA channels.
|
|
5
|
+
*
|
|
6
|
+
* @param color as a string for example `#009edd`, `rgb(0,158,221)`, `rgb(0%,62%,86.7%)`, `hsl(197.1,100%,43.3%)`, `red`, `darkgrey`,...
|
|
7
|
+
* @returns RGBA channel values.
|
|
8
|
+
*
|
|
9
|
+
* @private function of Color
|
|
10
|
+
*/
|
|
11
|
+
export declare function parseColorString(color: string_color): ColorChannelSet;
|
package/umd/src/version.d.ts
CHANGED
|
@@ -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.112.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.112.0-78`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|