@promptbook/javascript 0.112.0-36 → 0.112.0-39
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 +10 -6
- package/esm/index.es.js +1 -1
- package/esm/src/_packages/components.index.d.ts +2 -0
- package/esm/src/_packages/types.index.d.ts +48 -46
- package/esm/src/book-components/Chat/Chat/ChatActionsBar.d.ts +7 -0
- package/esm/src/book-components/Chat/Chat/ChatActionsBar.test.d.ts +2 -0
- package/esm/src/book-components/Chat/Chat/ChatInputArea.d.ts +4 -0
- package/esm/src/book-components/Chat/Chat/ChatMessageItem.d.ts +8 -0
- package/esm/src/book-components/Chat/Chat/ChatMessageList.d.ts +2 -0
- package/esm/src/book-components/Chat/Chat/ChatProps.d.ts +50 -1
- package/esm/src/book-components/Chat/Chat/ChatReplyPreview.d.ts +19 -0
- package/esm/src/book-components/Chat/Chat/createProgressCardChecklistMarkdown.d.ts +2 -2
- package/esm/src/book-components/Chat/MockedChat/MockedChat.d.ts +1 -1
- package/esm/src/book-components/Chat/types/ChatMessage.d.ts +35 -0
- package/esm/src/book-components/Chat/utils/resolveChatMessageReplyPreviewText.d.ts +25 -0
- package/esm/src/book-components/Chat/utils/resolveChatMessageReplySenderLabel.d.ts +12 -0
- package/esm/src/cli/cli-commands/coder/agentCodingFile.d.ts +14 -0
- package/esm/src/cli/cli-commands/coder/agentsFile.d.ts +12 -0
- package/esm/src/cli/cli-commands/coder/appendBlock.d.ts +6 -0
- package/esm/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +10 -0
- package/esm/src/cli/cli-commands/coder/ensureCoderEnvFile.d.ts +15 -0
- package/esm/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +7 -0
- package/esm/src/cli/cli-commands/coder/ensureCoderMarkdownFile.d.ts +7 -0
- package/esm/src/cli/cli-commands/coder/ensureCoderPackageJsonFile.d.ts +7 -0
- package/esm/src/cli/cli-commands/coder/ensureCoderVscodeSettingsFile.d.ts +7 -0
- package/esm/src/cli/cli-commands/coder/ensureDirectory.d.ts +7 -0
- package/esm/src/cli/cli-commands/coder/find-refactor-candidates.d.ts +1 -1
- package/esm/src/cli/cli-commands/coder/find-refactor-candidates.test.d.ts +1 -0
- package/esm/src/cli/cli-commands/coder/formatDisplayPath.d.ts +6 -0
- package/esm/src/cli/cli-commands/coder/getDefaultCoderPackageJsonScripts.d.ts +6 -0
- package/esm/src/cli/cli-commands/coder/getDefaultCoderVscodeSettings.d.ts +6 -0
- package/esm/src/cli/cli-commands/coder/init.d.ts +3 -38
- package/esm/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +25 -0
- package/esm/src/cli/cli-commands/coder/mergeStringRecordJsonFile.d.ts +18 -0
- package/esm/src/cli/cli-commands/coder/printInitializationSummary.d.ts +7 -0
- package/esm/src/cli/cli-commands/coder/readTextFileIfExists.d.ts +6 -0
- package/esm/src/types/string_agent_url.d.ts +7 -0
- package/esm/src/types/string_agent_url_private.d.ts +9 -0
- package/esm/src/types/string_base64.d.ts +13 -0
- package/esm/src/types/string_base64_private.d.ts +2 -2
- package/esm/src/types/string_base_url.d.ts +7 -0
- package/esm/src/types/string_base_url_private.d.ts +9 -0
- package/esm/src/types/string_email.d.ts +13 -0
- package/esm/src/types/string_email_private.d.ts +2 -2
- package/esm/src/types/string_host.d.ts +42 -0
- package/esm/src/types/string_host_private.d.ts +7 -7
- package/esm/src/types/string_href.d.ts +19 -0
- package/esm/src/types/string_href_private.d.ts +24 -0
- package/esm/src/types/string_mime_type.d.ts +15 -0
- package/esm/src/types/string_mime_type_private.d.ts +2 -2
- package/esm/src/types/string_pipeline_root_url.d.ts +7 -0
- package/esm/src/types/string_pipeline_root_url_private.d.ts +9 -0
- package/esm/src/types/string_pipeline_url.d.ts +13 -0
- package/esm/src/types/string_pipeline_url_private.d.ts +17 -0
- package/esm/src/types/string_promptbook_server_url.d.ts +7 -0
- package/esm/src/types/string_promptbook_server_url_private.d.ts +9 -0
- package/esm/src/types/string_url.d.ts +14 -141
- package/esm/src/types/string_url_image.d.ts +7 -0
- package/esm/src/types/string_url_image_private.d.ts +9 -0
- package/esm/src/types/string_url_private.d.ts +0 -80
- package/esm/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/src/_packages/components.index.d.ts +2 -0
- package/umd/src/_packages/types.index.d.ts +48 -46
- package/umd/src/book-components/Chat/Chat/ChatActionsBar.d.ts +7 -0
- package/umd/src/book-components/Chat/Chat/ChatActionsBar.test.d.ts +2 -0
- package/umd/src/book-components/Chat/Chat/ChatInputArea.d.ts +4 -0
- package/umd/src/book-components/Chat/Chat/ChatMessageItem.d.ts +8 -0
- package/umd/src/book-components/Chat/Chat/ChatMessageList.d.ts +2 -0
- package/umd/src/book-components/Chat/Chat/ChatProps.d.ts +50 -1
- package/umd/src/book-components/Chat/Chat/ChatReplyPreview.d.ts +19 -0
- package/umd/src/book-components/Chat/Chat/createProgressCardChecklistMarkdown.d.ts +2 -2
- package/umd/src/book-components/Chat/MockedChat/MockedChat.d.ts +1 -1
- package/umd/src/book-components/Chat/types/ChatMessage.d.ts +35 -0
- package/umd/src/book-components/Chat/utils/resolveChatMessageReplyPreviewText.d.ts +25 -0
- package/umd/src/book-components/Chat/utils/resolveChatMessageReplySenderLabel.d.ts +12 -0
- package/umd/src/cli/cli-commands/coder/agentCodingFile.d.ts +14 -0
- package/umd/src/cli/cli-commands/coder/agentsFile.d.ts +12 -0
- package/umd/src/cli/cli-commands/coder/appendBlock.d.ts +6 -0
- package/umd/src/cli/cli-commands/coder/boilerplateTemplates.d.ts +10 -0
- package/umd/src/cli/cli-commands/coder/ensureCoderEnvFile.d.ts +15 -0
- package/umd/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +7 -0
- package/umd/src/cli/cli-commands/coder/ensureCoderMarkdownFile.d.ts +7 -0
- package/umd/src/cli/cli-commands/coder/ensureCoderPackageJsonFile.d.ts +7 -0
- package/umd/src/cli/cli-commands/coder/ensureCoderVscodeSettingsFile.d.ts +7 -0
- package/umd/src/cli/cli-commands/coder/ensureDirectory.d.ts +7 -0
- package/umd/src/cli/cli-commands/coder/find-refactor-candidates.d.ts +1 -1
- package/umd/src/cli/cli-commands/coder/find-refactor-candidates.test.d.ts +1 -0
- package/umd/src/cli/cli-commands/coder/formatDisplayPath.d.ts +6 -0
- package/umd/src/cli/cli-commands/coder/getDefaultCoderPackageJsonScripts.d.ts +6 -0
- package/umd/src/cli/cli-commands/coder/getDefaultCoderVscodeSettings.d.ts +6 -0
- package/umd/src/cli/cli-commands/coder/init.d.ts +3 -38
- package/umd/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +25 -0
- package/umd/src/cli/cli-commands/coder/mergeStringRecordJsonFile.d.ts +18 -0
- package/umd/src/cli/cli-commands/coder/printInitializationSummary.d.ts +7 -0
- package/umd/src/cli/cli-commands/coder/readTextFileIfExists.d.ts +6 -0
- package/umd/src/types/string_agent_url.d.ts +7 -0
- package/umd/src/types/string_agent_url_private.d.ts +9 -0
- package/umd/src/types/string_base64.d.ts +13 -0
- package/umd/src/types/string_base64_private.d.ts +2 -2
- package/umd/src/types/string_base_url.d.ts +7 -0
- package/umd/src/types/string_base_url_private.d.ts +9 -0
- package/umd/src/types/string_email.d.ts +13 -0
- package/umd/src/types/string_email_private.d.ts +2 -2
- package/umd/src/types/string_host.d.ts +42 -0
- package/umd/src/types/string_host_private.d.ts +7 -7
- package/umd/src/types/string_href.d.ts +19 -0
- package/umd/src/types/string_href_private.d.ts +24 -0
- package/umd/src/types/string_mime_type.d.ts +15 -0
- package/umd/src/types/string_mime_type_private.d.ts +2 -2
- package/umd/src/types/string_pipeline_root_url.d.ts +7 -0
- package/umd/src/types/string_pipeline_root_url_private.d.ts +9 -0
- package/umd/src/types/string_pipeline_url.d.ts +13 -0
- package/umd/src/types/string_pipeline_url_private.d.ts +17 -0
- package/umd/src/types/string_promptbook_server_url.d.ts +7 -0
- package/umd/src/types/string_promptbook_server_url_private.d.ts +9 -0
- package/umd/src/types/string_url.d.ts +14 -141
- package/umd/src/types/string_url_image.d.ts +7 -0
- package/umd/src/types/string_url_image_private.d.ts +9 -0
- package/umd/src/types/string_url_private.d.ts +0 -80
- package/umd/src/version.d.ts +1 -1
|
@@ -1,150 +1,23 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { string_domain_private, string_host_private, string_hostname_private, string_ip_address_private, string_origin_private, string_protocol_private, string_tdl_private } from './string_host_private';
|
|
3
|
-
import type { string_email_private, string_emails_private } from './string_email_private';
|
|
4
|
-
import type { string_mime_type_private, string_mime_type_with_wildcard_private } from './string_mime_type_private';
|
|
5
|
-
import type { string_agent_url_private, string_base_url_private, string_href_private, string_pipeline_root_url_private, string_pipeline_url_private, string_pipeline_url_with_task_hash_private, string_promptbook_server_url_private, string_uri_part_private, string_uri_private, string_url_image_private, string_url_private } from './string_url_private';
|
|
1
|
+
import type { string_url_private } from './string_url_private';
|
|
6
2
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* For example `"text/plain"` or `"application/collboard"`
|
|
10
|
-
*/
|
|
11
|
-
export type string_mime_type = string_mime_type_private;
|
|
12
|
-
/**
|
|
13
|
-
* Semantic helper
|
|
14
|
-
*
|
|
15
|
-
* For example `"text/*"` or `"image/*"`
|
|
3
|
+
* Compatibility facade for semantic URL-related type aliases.
|
|
16
4
|
*
|
|
17
|
-
*
|
|
5
|
+
* The concrete type declarations live in focused modules under `src/types`.
|
|
18
6
|
*/
|
|
19
|
-
export type string_mime_type_with_wildcard
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export type
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
*/
|
|
31
|
-
export type string_data_url = string_data_url_private;
|
|
32
|
-
/**
|
|
33
|
-
* Semantic helper
|
|
34
|
-
*
|
|
35
|
-
* For example `"towns.cz"`
|
|
36
|
-
*/
|
|
37
|
-
export type string_domain = string_domain_private;
|
|
38
|
-
/**
|
|
39
|
-
* Semantic helper
|
|
40
|
-
*
|
|
41
|
-
* For example `"https://*.pavolhejny.com/*"`
|
|
42
|
-
*/
|
|
43
|
-
export type string_origin = string_origin_private;
|
|
44
|
-
/**
|
|
45
|
-
* Semantic helper
|
|
46
|
-
*
|
|
47
|
-
* For example `"com"`
|
|
48
|
-
*/
|
|
49
|
-
export type string_tdl = string_tdl_private;
|
|
50
|
-
/**
|
|
51
|
-
* Semantic helper
|
|
52
|
-
*
|
|
53
|
-
* For example `"localhost"` or `"collboard.com"`
|
|
54
|
-
*/
|
|
55
|
-
export type string_hostname = string_hostname_private;
|
|
56
|
-
/**
|
|
57
|
-
* Semantic helper
|
|
58
|
-
*
|
|
59
|
-
* For example `"localhost:9977"` or `"collboard.com"`
|
|
60
|
-
*/
|
|
61
|
-
export type string_host = string_host_private;
|
|
62
|
-
/**
|
|
63
|
-
* Semantic helper
|
|
64
|
-
*/
|
|
65
|
-
export type string_protocol = string_protocol_private;
|
|
66
|
-
/**
|
|
67
|
-
* Semantic helper
|
|
68
|
-
*
|
|
69
|
-
* For example `"192.168.1.1"` (IPv4)
|
|
70
|
-
* For example `"2001:0db8:85a3:0000:0000:8a2e:0370:7334"` (IPv6)
|
|
71
|
-
*/
|
|
72
|
-
export type string_ip_address = string_ip_address_private;
|
|
7
|
+
export type { string_mime_type, string_mime_type_with_wildcard } from './string_mime_type';
|
|
8
|
+
export type { string_base64, string_data_url } from './string_base64';
|
|
9
|
+
export type { string_domain, string_host, string_hostname, string_ip_address, string_origin, string_protocol, string_tdl, } from './string_host';
|
|
10
|
+
export type { string_href, string_uri, string_uri_part } from './string_href';
|
|
11
|
+
export type { string_email, string_emails } from './string_email';
|
|
12
|
+
export type { string_promptbook_server_url } from './string_promptbook_server_url';
|
|
13
|
+
export type { string_base_url } from './string_base_url';
|
|
14
|
+
export type { string_pipeline_root_url } from './string_pipeline_root_url';
|
|
15
|
+
export type { string_agent_url } from './string_agent_url';
|
|
16
|
+
export type { string_pipeline_url, string_pipeline_url_with_task_hash } from './string_pipeline_url';
|
|
17
|
+
export type { string_url_image } from './string_url_image';
|
|
73
18
|
/**
|
|
74
19
|
* Semantic helper
|
|
75
20
|
*
|
|
76
21
|
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi"`
|
|
77
22
|
*/
|
|
78
23
|
export type string_url = string_url_private;
|
|
79
|
-
/**
|
|
80
|
-
* Semantic helper
|
|
81
|
-
*
|
|
82
|
-
* For example `"https://s1.ptbk.io/promptbook"`
|
|
83
|
-
*/
|
|
84
|
-
export type string_promptbook_server_url = string_promptbook_server_url_private;
|
|
85
|
-
/**
|
|
86
|
-
* Semantic helper
|
|
87
|
-
*
|
|
88
|
-
* For example `"https://collboard.com"`
|
|
89
|
-
*/
|
|
90
|
-
export type string_base_url = string_base_url_private;
|
|
91
|
-
/**
|
|
92
|
-
* Semantic helper
|
|
93
|
-
*
|
|
94
|
-
* For example `"https://promptbook.studio/webgpt/"`
|
|
95
|
-
*/
|
|
96
|
-
export type string_pipeline_root_url = string_pipeline_root_url_private;
|
|
97
|
-
/**
|
|
98
|
-
* Semantic helper
|
|
99
|
-
*
|
|
100
|
-
* For example `"https://s6.ptbk.io/agents/agent-007"`
|
|
101
|
-
*/
|
|
102
|
-
export type string_agent_url = string_agent_url_private;
|
|
103
|
-
/**
|
|
104
|
-
* Semantic helper
|
|
105
|
-
*
|
|
106
|
-
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.book"`
|
|
107
|
-
*/
|
|
108
|
-
export type string_pipeline_url = string_pipeline_url_private;
|
|
109
|
-
/**
|
|
110
|
-
* Semantic helper
|
|
111
|
-
*
|
|
112
|
-
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.book#keywords"`
|
|
113
|
-
*/
|
|
114
|
-
export type string_pipeline_url_with_task_hash = string_pipeline_url_with_task_hash_private;
|
|
115
|
-
/**
|
|
116
|
-
* Semantic helper
|
|
117
|
-
*
|
|
118
|
-
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi"` OR `/9SeSQTupmQHwuSrLi`
|
|
119
|
-
*/
|
|
120
|
-
export type string_href = string_href_private;
|
|
121
|
-
/**
|
|
122
|
-
* Semantic helper
|
|
123
|
-
*
|
|
124
|
-
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi.png?width=1200&height=630"`
|
|
125
|
-
*/
|
|
126
|
-
export type string_url_image = string_url_image_private;
|
|
127
|
-
/**
|
|
128
|
-
* Semantic helper
|
|
129
|
-
*
|
|
130
|
-
* For example `"/9SeSQTupmQHwuSrLi"`
|
|
131
|
-
*/
|
|
132
|
-
export type string_uri = string_uri_private;
|
|
133
|
-
/**
|
|
134
|
-
* Semantic helper
|
|
135
|
-
*
|
|
136
|
-
* For example `"9SeSQTupmQHwuSrLi"`
|
|
137
|
-
*/
|
|
138
|
-
export type string_uri_part = string_uri_part_private;
|
|
139
|
-
/**
|
|
140
|
-
* Semantic helper
|
|
141
|
-
*
|
|
142
|
-
* For example `"pavol@hejny.org"`
|
|
143
|
-
*/
|
|
144
|
-
export type string_email = string_email_private;
|
|
145
|
-
/**
|
|
146
|
-
* Semantic helper
|
|
147
|
-
*
|
|
148
|
-
* For example `"pavol@hejny.org, jirka@webgpt.cz"`
|
|
149
|
-
*/
|
|
150
|
-
export type string_emails = string_emails_private;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { string_url_private } from './string_url_private';
|
|
2
|
+
/**
|
|
3
|
+
* Semantic helper
|
|
4
|
+
*
|
|
5
|
+
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi.png?width=1200&height=630"`
|
|
6
|
+
*
|
|
7
|
+
* @private internal utility of `string_url_image.ts`
|
|
8
|
+
*/
|
|
9
|
+
export type string_url_image_private = string_url_private;
|
|
@@ -6,83 +6,3 @@
|
|
|
6
6
|
* @private internal utility of `string_url.ts`
|
|
7
7
|
*/
|
|
8
8
|
export type string_url_private = string;
|
|
9
|
-
/**
|
|
10
|
-
* Semantic helper
|
|
11
|
-
*
|
|
12
|
-
* For example `"https://s1.ptbk.io/promptbook"`
|
|
13
|
-
*
|
|
14
|
-
* @private internal utility of `string_url.ts`
|
|
15
|
-
*/
|
|
16
|
-
export type string_promptbook_server_url_private = string_url_private;
|
|
17
|
-
/**
|
|
18
|
-
* Semantic helper
|
|
19
|
-
*
|
|
20
|
-
* For example `"https://collboard.com"`
|
|
21
|
-
*
|
|
22
|
-
* @private internal utility of `string_url.ts`
|
|
23
|
-
*/
|
|
24
|
-
export type string_base_url_private = string_url_private;
|
|
25
|
-
/**
|
|
26
|
-
* Semantic helper
|
|
27
|
-
*
|
|
28
|
-
* For example `"https://promptbook.studio/webgpt/"`
|
|
29
|
-
*
|
|
30
|
-
* @private internal utility of `string_url.ts`
|
|
31
|
-
*/
|
|
32
|
-
export type string_pipeline_root_url_private = string_url_private;
|
|
33
|
-
/**
|
|
34
|
-
* Semantic helper
|
|
35
|
-
*
|
|
36
|
-
* For example `"https://s6.ptbk.io/agents/agent-007"`
|
|
37
|
-
*
|
|
38
|
-
* @private internal utility of `string_url.ts`
|
|
39
|
-
*/
|
|
40
|
-
export type string_agent_url_private = string_url_private;
|
|
41
|
-
/**
|
|
42
|
-
* Semantic helper
|
|
43
|
-
*
|
|
44
|
-
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.book"`
|
|
45
|
-
*
|
|
46
|
-
* @private internal utility of `string_url.ts`
|
|
47
|
-
*/
|
|
48
|
-
export type string_pipeline_url_private = string_url_private;
|
|
49
|
-
/**
|
|
50
|
-
* Semantic helper
|
|
51
|
-
*
|
|
52
|
-
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.book#keywords"`
|
|
53
|
-
*
|
|
54
|
-
* @private internal utility of `string_url.ts`
|
|
55
|
-
*/
|
|
56
|
-
export type string_pipeline_url_with_task_hash_private = string_pipeline_url_private;
|
|
57
|
-
/**
|
|
58
|
-
* Semantic helper
|
|
59
|
-
*
|
|
60
|
-
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi"` OR `/9SeSQTupmQHwuSrLi`
|
|
61
|
-
*
|
|
62
|
-
* @private internal utility of `string_url.ts`
|
|
63
|
-
*/
|
|
64
|
-
export type string_href_private = string;
|
|
65
|
-
/**
|
|
66
|
-
* Semantic helper
|
|
67
|
-
*
|
|
68
|
-
* For example `"https://collboard.com/9SeSQTupmQHwuSrLi.png?width=1200&height=630"`
|
|
69
|
-
*
|
|
70
|
-
* @private internal utility of `string_url.ts`
|
|
71
|
-
*/
|
|
72
|
-
export type string_url_image_private = string_url_private;
|
|
73
|
-
/**
|
|
74
|
-
* Semantic helper
|
|
75
|
-
*
|
|
76
|
-
* For example `"/9SeSQTupmQHwuSrLi"`
|
|
77
|
-
*
|
|
78
|
-
* @private internal utility of `string_url.ts`
|
|
79
|
-
*/
|
|
80
|
-
export type string_uri_private = string;
|
|
81
|
-
/**
|
|
82
|
-
* Semantic helper
|
|
83
|
-
*
|
|
84
|
-
* For example `"9SeSQTupmQHwuSrLi"`
|
|
85
|
-
*
|
|
86
|
-
* @private internal utility of `string_url.ts`
|
|
87
|
-
*/
|
|
88
|
-
export type string_uri_part_private = string;
|
package/esm/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-38`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/javascript",
|
|
3
|
-
"version": "0.112.0-
|
|
3
|
+
"version": "0.112.0-39",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"module": "./esm/index.es.js",
|
|
98
98
|
"typings": "./esm/typings/src/_packages/javascript.index.d.ts",
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@promptbook/core": "0.112.0-
|
|
100
|
+
"@promptbook/core": "0.112.0-39"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"crypto": "1.0.1",
|
package/umd/index.umd.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* @generated
|
|
23
23
|
* @see https://github.com/webgptorg/promptbook
|
|
24
24
|
*/
|
|
25
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.112.0-
|
|
25
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.112.0-39';
|
|
26
26
|
/**
|
|
27
27
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
28
28
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -61,6 +61,7 @@ import { reactSaveFormatDefinition } from '../book-components/Chat/save/react/re
|
|
|
61
61
|
import { txtSaveFormatDefinition } from '../book-components/Chat/save/text/txtSaveFormatDefinition';
|
|
62
62
|
import type { ChatProgressItem } from '../book-components/Chat/types/ChatMessage';
|
|
63
63
|
import type { ChatProgressCard } from '../book-components/Chat/types/ChatMessage';
|
|
64
|
+
import type { ChatMessageReplyingTo } from '../book-components/Chat/types/ChatMessage';
|
|
64
65
|
import type { ChatMessage } from '../book-components/Chat/types/ChatMessage';
|
|
65
66
|
import type { ChatParticipant } from '../book-components/Chat/types/ChatParticipant';
|
|
66
67
|
import type { MessageButton } from '../book-components/Chat/utils/parseMessageButtons';
|
|
@@ -142,6 +143,7 @@ export { reactSaveFormatDefinition };
|
|
|
142
143
|
export { txtSaveFormatDefinition };
|
|
143
144
|
export type { ChatProgressItem };
|
|
144
145
|
export type { ChatProgressCard };
|
|
146
|
+
export type { ChatMessageReplyingTo };
|
|
145
147
|
export type { ChatMessage };
|
|
146
148
|
export type { ChatParticipant };
|
|
147
149
|
export type { MessageButton };
|
|
@@ -44,6 +44,7 @@ import type { SourceChipProps } from '../book-components/Chat/SourceChip/SourceC
|
|
|
44
44
|
import type { ChatToolCall } from '../book-components/Chat/types/ChatMessage';
|
|
45
45
|
import type { ChatProgressItem } from '../book-components/Chat/types/ChatMessage';
|
|
46
46
|
import type { ChatProgressCard } from '../book-components/Chat/types/ChatMessage';
|
|
47
|
+
import type { ChatMessageReplyingTo } from '../book-components/Chat/types/ChatMessage';
|
|
47
48
|
import type { ChatMessage } from '../book-components/Chat/types/ChatMessage';
|
|
48
49
|
import type { ChatParticipant } from '../book-components/Chat/types/ChatParticipant';
|
|
49
50
|
import type { ParsedCitation } from '../book-components/Chat/utils/parseCitationsFromContent';
|
|
@@ -277,7 +278,13 @@ import type { string_agent_name } from '../types/string_agent_name';
|
|
|
277
278
|
import type { string_agent_name_in_book } from '../types/string_agent_name';
|
|
278
279
|
import type { string_agent_hash } from '../types/string_agent_name';
|
|
279
280
|
import type { string_agent_permanent_id } from '../types/string_agent_name';
|
|
281
|
+
import type { string_agent_url } from '../types/string_agent_url';
|
|
282
|
+
import type { string_base_url } from '../types/string_base_url';
|
|
283
|
+
import type { string_base64 } from '../types/string_base64';
|
|
284
|
+
import type { string_data_url } from '../types/string_base64';
|
|
280
285
|
import type { string_business_category_name } from '../types/string_business_category_name';
|
|
286
|
+
import type { string_email } from '../types/string_email';
|
|
287
|
+
import type { string_emails } from '../types/string_email';
|
|
281
288
|
import type { string_absolute_filename } from '../types/string_filename';
|
|
282
289
|
import type { string_relative_filename } from '../types/string_filename';
|
|
283
290
|
import type { string_filename } from '../types/string_filename';
|
|
@@ -285,6 +292,16 @@ import type { string_absolute_dirname } from '../types/string_filename';
|
|
|
285
292
|
import type { string_relative_dirname } from '../types/string_filename';
|
|
286
293
|
import type { string_dirname } from '../types/string_filename';
|
|
287
294
|
import type { string_executable_path } from '../types/string_filename';
|
|
295
|
+
import type { string_domain } from '../types/string_host';
|
|
296
|
+
import type { string_origin } from '../types/string_host';
|
|
297
|
+
import type { string_tdl } from '../types/string_host';
|
|
298
|
+
import type { string_hostname } from '../types/string_host';
|
|
299
|
+
import type { string_host } from '../types/string_host';
|
|
300
|
+
import type { string_protocol } from '../types/string_host';
|
|
301
|
+
import type { string_ip_address } from '../types/string_host';
|
|
302
|
+
import type { string_href } from '../types/string_href';
|
|
303
|
+
import type { string_uri } from '../types/string_href';
|
|
304
|
+
import type { string_uri_part } from '../types/string_href';
|
|
288
305
|
import type { string_knowledge_source_content } from '../types/string_knowledge_source_content';
|
|
289
306
|
import type { string_knowledge_source_link } from '../types/string_knowledge_source_content';
|
|
290
307
|
import type { string_html } from '../types/string_markdown';
|
|
@@ -306,6 +323,8 @@ import type { string_css_property } from '../types/string_markdown';
|
|
|
306
323
|
import type { string_fonts } from '../types/string_markdown';
|
|
307
324
|
import type { string_css_value } from '../types/string_markdown';
|
|
308
325
|
import type { string_css_selector } from '../types/string_markdown';
|
|
326
|
+
import type { string_mime_type } from '../types/string_mime_type';
|
|
327
|
+
import type { string_mime_type_with_wildcard } from '../types/string_mime_type';
|
|
309
328
|
import type { string_model_name } from '../types/string_model_name';
|
|
310
329
|
import type { string_name } from '../types/string_name';
|
|
311
330
|
import type { string_parameter_name } from '../types/string_name';
|
|
@@ -329,6 +348,9 @@ import type { string_javascript_name } from '../types/string_person_fullname';
|
|
|
329
348
|
import type { string_postprocessing_function_name } from '../types/string_person_fullname';
|
|
330
349
|
import type { string_persona_description } from '../types/string_persona_description';
|
|
331
350
|
import type { string_model_description } from '../types/string_persona_description';
|
|
351
|
+
import type { string_pipeline_root_url } from '../types/string_pipeline_root_url';
|
|
352
|
+
import type { string_pipeline_url } from '../types/string_pipeline_url';
|
|
353
|
+
import type { string_pipeline_url_with_task_hash } from '../types/string_pipeline_url';
|
|
332
354
|
import type { string_prompt } from '../types/string_prompt';
|
|
333
355
|
import type { string_prompt_image } from '../types/string_prompt';
|
|
334
356
|
import type { string_template } from '../types/string_prompt';
|
|
@@ -336,6 +358,7 @@ import type { string_text_prompt } from '../types/string_prompt';
|
|
|
336
358
|
import type { string_chat_prompt } from '../types/string_prompt';
|
|
337
359
|
import type { string_system_message } from '../types/string_prompt';
|
|
338
360
|
import type { string_completion_prompt } from '../types/string_prompt';
|
|
361
|
+
import type { string_promptbook_server_url } from '../types/string_promptbook_server_url';
|
|
339
362
|
import type { string_uuid } from '../types/string_sha256';
|
|
340
363
|
import type { string_sha256 } from '../types/string_sha256';
|
|
341
364
|
import type { string_base_58 } from '../types/string_sha256';
|
|
@@ -355,30 +378,8 @@ import type { string_language } from '../types/string_token';
|
|
|
355
378
|
import type { string_date_iso8601 } from '../types/string_token';
|
|
356
379
|
import type { string_app_id } from '../types/string_token';
|
|
357
380
|
import type { string_user_id } from '../types/string_token';
|
|
358
|
-
import type {
|
|
359
|
-
import type { string_mime_type_with_wildcard } from '../types/string_url';
|
|
360
|
-
import type { string_base64 } from '../types/string_url';
|
|
361
|
-
import type { string_data_url } from '../types/string_url';
|
|
362
|
-
import type { string_domain } from '../types/string_url';
|
|
363
|
-
import type { string_origin } from '../types/string_url';
|
|
364
|
-
import type { string_tdl } from '../types/string_url';
|
|
365
|
-
import type { string_hostname } from '../types/string_url';
|
|
366
|
-
import type { string_host } from '../types/string_url';
|
|
367
|
-
import type { string_protocol } from '../types/string_url';
|
|
368
|
-
import type { string_ip_address } from '../types/string_url';
|
|
381
|
+
import type { string_url_image } from '../types/string_url_image';
|
|
369
382
|
import type { string_url } from '../types/string_url';
|
|
370
|
-
import type { string_promptbook_server_url } from '../types/string_url';
|
|
371
|
-
import type { string_base_url } from '../types/string_url';
|
|
372
|
-
import type { string_pipeline_root_url } from '../types/string_url';
|
|
373
|
-
import type { string_agent_url } from '../types/string_url';
|
|
374
|
-
import type { string_pipeline_url } from '../types/string_url';
|
|
375
|
-
import type { string_pipeline_url_with_task_hash } from '../types/string_url';
|
|
376
|
-
import type { string_href } from '../types/string_url';
|
|
377
|
-
import type { string_url_image } from '../types/string_url';
|
|
378
|
-
import type { string_uri } from '../types/string_url';
|
|
379
|
-
import type { string_uri_part } from '../types/string_url';
|
|
380
|
-
import type { string_email } from '../types/string_url';
|
|
381
|
-
import type { string_emails } from '../types/string_url';
|
|
382
383
|
import type { TaskType } from '../types/TaskType';
|
|
383
384
|
import type { ToolCallState } from '../types/ToolCall';
|
|
384
385
|
import type { ToolCallLogLevel } from '../types/ToolCall';
|
|
@@ -472,6 +473,7 @@ export type { SourceChipProps };
|
|
|
472
473
|
export type { ChatToolCall };
|
|
473
474
|
export type { ChatProgressItem };
|
|
474
475
|
export type { ChatProgressCard };
|
|
476
|
+
export type { ChatMessageReplyingTo };
|
|
475
477
|
export type { ChatMessage };
|
|
476
478
|
export type { ChatParticipant };
|
|
477
479
|
export type { ParsedCitation };
|
|
@@ -705,7 +707,13 @@ export type { string_agent_name };
|
|
|
705
707
|
export type { string_agent_name_in_book };
|
|
706
708
|
export type { string_agent_hash };
|
|
707
709
|
export type { string_agent_permanent_id };
|
|
710
|
+
export type { string_agent_url };
|
|
711
|
+
export type { string_base_url };
|
|
712
|
+
export type { string_base64 };
|
|
713
|
+
export type { string_data_url };
|
|
708
714
|
export type { string_business_category_name };
|
|
715
|
+
export type { string_email };
|
|
716
|
+
export type { string_emails };
|
|
709
717
|
export type { string_absolute_filename };
|
|
710
718
|
export type { string_relative_filename };
|
|
711
719
|
export type { string_filename };
|
|
@@ -713,6 +721,16 @@ export type { string_absolute_dirname };
|
|
|
713
721
|
export type { string_relative_dirname };
|
|
714
722
|
export type { string_dirname };
|
|
715
723
|
export type { string_executable_path };
|
|
724
|
+
export type { string_domain };
|
|
725
|
+
export type { string_origin };
|
|
726
|
+
export type { string_tdl };
|
|
727
|
+
export type { string_hostname };
|
|
728
|
+
export type { string_host };
|
|
729
|
+
export type { string_protocol };
|
|
730
|
+
export type { string_ip_address };
|
|
731
|
+
export type { string_href };
|
|
732
|
+
export type { string_uri };
|
|
733
|
+
export type { string_uri_part };
|
|
716
734
|
export type { string_knowledge_source_content };
|
|
717
735
|
export type { string_knowledge_source_link };
|
|
718
736
|
export type { string_html };
|
|
@@ -734,6 +752,8 @@ export type { string_css_property };
|
|
|
734
752
|
export type { string_fonts };
|
|
735
753
|
export type { string_css_value };
|
|
736
754
|
export type { string_css_selector };
|
|
755
|
+
export type { string_mime_type };
|
|
756
|
+
export type { string_mime_type_with_wildcard };
|
|
737
757
|
export type { string_model_name };
|
|
738
758
|
export type { string_name };
|
|
739
759
|
export type { string_parameter_name };
|
|
@@ -757,6 +777,9 @@ export type { string_javascript_name };
|
|
|
757
777
|
export type { string_postprocessing_function_name };
|
|
758
778
|
export type { string_persona_description };
|
|
759
779
|
export type { string_model_description };
|
|
780
|
+
export type { string_pipeline_root_url };
|
|
781
|
+
export type { string_pipeline_url };
|
|
782
|
+
export type { string_pipeline_url_with_task_hash };
|
|
760
783
|
export type { string_prompt };
|
|
761
784
|
export type { string_prompt_image };
|
|
762
785
|
export type { string_template };
|
|
@@ -764,6 +787,7 @@ export type { string_text_prompt };
|
|
|
764
787
|
export type { string_chat_prompt };
|
|
765
788
|
export type { string_system_message };
|
|
766
789
|
export type { string_completion_prompt };
|
|
790
|
+
export type { string_promptbook_server_url };
|
|
767
791
|
export type { string_uuid };
|
|
768
792
|
export type { string_sha256 };
|
|
769
793
|
export type { string_base_58 };
|
|
@@ -783,30 +807,8 @@ export type { string_language };
|
|
|
783
807
|
export type { string_date_iso8601 };
|
|
784
808
|
export type { string_app_id };
|
|
785
809
|
export type { string_user_id };
|
|
786
|
-
export type { string_mime_type };
|
|
787
|
-
export type { string_mime_type_with_wildcard };
|
|
788
|
-
export type { string_base64 };
|
|
789
|
-
export type { string_data_url };
|
|
790
|
-
export type { string_domain };
|
|
791
|
-
export type { string_origin };
|
|
792
|
-
export type { string_tdl };
|
|
793
|
-
export type { string_hostname };
|
|
794
|
-
export type { string_host };
|
|
795
|
-
export type { string_protocol };
|
|
796
|
-
export type { string_ip_address };
|
|
797
|
-
export type { string_url };
|
|
798
|
-
export type { string_promptbook_server_url };
|
|
799
|
-
export type { string_base_url };
|
|
800
|
-
export type { string_pipeline_root_url };
|
|
801
|
-
export type { string_agent_url };
|
|
802
|
-
export type { string_pipeline_url };
|
|
803
|
-
export type { string_pipeline_url_with_task_hash };
|
|
804
|
-
export type { string_href };
|
|
805
810
|
export type { string_url_image };
|
|
806
|
-
export type {
|
|
807
|
-
export type { string_uri_part };
|
|
808
|
-
export type { string_email };
|
|
809
|
-
export type { string_emails };
|
|
811
|
+
export type { string_url };
|
|
810
812
|
export type { TaskType };
|
|
811
813
|
export type { ToolCallState };
|
|
812
814
|
export type { ToolCallLogLevel };
|
|
@@ -17,6 +17,13 @@ export type ChatActionsBarProps = {
|
|
|
17
17
|
title: string;
|
|
18
18
|
onReset?: () => Promisable<void>;
|
|
19
19
|
resetRequiresConfirmation?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Optional navigation target for the "New chat" control.
|
|
22
|
+
*
|
|
23
|
+
* When provided, the control is rendered as a link so the host app can rely
|
|
24
|
+
* on browser-native navigation affordances such as opening in a new tab/window.
|
|
25
|
+
*/
|
|
26
|
+
newChatButtonHref?: string;
|
|
20
27
|
onUseTemplate?: () => void;
|
|
21
28
|
extraActions?: ReactNode;
|
|
22
29
|
saveFormats?: Array<string_chat_format_name>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type MouseEvent } from 'react';
|
|
2
2
|
import { Color } from '../../../utils/color/Color';
|
|
3
3
|
import type { WithTake } from '../../../utils/take/interfaces/ITakeChain';
|
|
4
|
+
import type { ChatMessage } from '../types/ChatMessage';
|
|
4
5
|
import type { ChatParticipant } from '../types/ChatParticipant';
|
|
5
6
|
import type { ChatProps, ChatSoundSystem } from './ChatProps';
|
|
6
7
|
/**
|
|
@@ -31,6 +32,8 @@ export type ChatInputAreaProps = {
|
|
|
31
32
|
speechRecognition?: ChatProps['speechRecognition'];
|
|
32
33
|
speechRecognitionLanguage?: ChatProps['speechRecognitionLanguage'];
|
|
33
34
|
defaultMessage?: string;
|
|
35
|
+
replyingToMessage?: ChatMessage | null;
|
|
36
|
+
onCancelReply?: ChatProps['onCancelReply'];
|
|
34
37
|
enterBehavior?: ChatProps['enterBehavior'];
|
|
35
38
|
resolveEnterBehavior?: ChatProps['resolveEnterBehavior'];
|
|
36
39
|
placeholderMessageContent?: string;
|
|
@@ -42,6 +45,7 @@ export type ChatInputAreaProps = {
|
|
|
42
45
|
soundSystem?: ChatSoundSystem;
|
|
43
46
|
onButtonClick: ChatInputButtonClickHandler;
|
|
44
47
|
chatInputClassName?: string;
|
|
48
|
+
chatUiTranslations?: ChatProps['chatUiTranslations'];
|
|
45
49
|
};
|
|
46
50
|
/**
|
|
47
51
|
* Renders the chat input area with text, file upload, and voice controls.
|
|
@@ -60,6 +60,14 @@ type ChatMessageItemProps = Pick<ChatProps, 'onMessage' | 'onActionButton' | 'on
|
|
|
60
60
|
* Maps tool name to agent information
|
|
61
61
|
*/
|
|
62
62
|
teammates?: ChatProps['teammates'];
|
|
63
|
+
/**
|
|
64
|
+
* Called when the user chooses to reply to this message.
|
|
65
|
+
*/
|
|
66
|
+
onReplyToMessage?: ChatProps['onReplyToMessage'];
|
|
67
|
+
/**
|
|
68
|
+
* Determines whether this message can be replied to.
|
|
69
|
+
*/
|
|
70
|
+
canReplyToMessage?: ChatProps['canReplyToMessage'];
|
|
63
71
|
/**
|
|
64
72
|
* Optional cached metadata keyed by TEAM tool names to enrich tool call chips.
|
|
65
73
|
*/
|
|
@@ -40,6 +40,8 @@ export type ChatMessageListProps = {
|
|
|
40
40
|
onMessage?: (messageContent: string) => Promisable<void>;
|
|
41
41
|
onActionButton?: ChatProps['onActionButton'];
|
|
42
42
|
onQuickMessageButton?: ChatProps['onQuickMessageButton'];
|
|
43
|
+
onReplyToMessage?: ChatProps['onReplyToMessage'];
|
|
44
|
+
canReplyToMessage?: ChatProps['canReplyToMessage'];
|
|
43
45
|
onCreateAgent?: (bookContent: string) => void;
|
|
44
46
|
toolTitles?: Record<string, string>;
|
|
45
47
|
teammates?: ChatProps['teammates'];
|
|
@@ -2,6 +2,7 @@ import type { CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import type { Promisable } from 'type-fest';
|
|
3
3
|
import { Color } from '../../../_packages/color.index';
|
|
4
4
|
import { SpeechRecognition } from '../../../types/SpeechRecognition';
|
|
5
|
+
import type { string_href } from '../../../types/typeAliases';
|
|
5
6
|
import { string_color } from '../../../types/typeAliases';
|
|
6
7
|
import type { string_chat_format_name } from '../save/_common/string_chat_format_name';
|
|
7
8
|
import type { ChatMessage } from '../types/ChatMessage';
|
|
@@ -124,6 +125,26 @@ export type ChatUiTranslations = {
|
|
|
124
125
|
* @default "Write a message..."
|
|
125
126
|
*/
|
|
126
127
|
readonly inputPlaceholder?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Label shown above quoted reply previews in both composer and reply bubbles.
|
|
130
|
+
* @default "Replying to"
|
|
131
|
+
*/
|
|
132
|
+
readonly replyingToLabel?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Visible label for the explicit reply action on one message.
|
|
135
|
+
* @default "Reply"
|
|
136
|
+
*/
|
|
137
|
+
readonly replyActionLabel?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Accessible title for the explicit reply action on one message.
|
|
140
|
+
* @default "Reply to this message"
|
|
141
|
+
*/
|
|
142
|
+
readonly replyActionTitle?: string;
|
|
143
|
+
/**
|
|
144
|
+
* Accessible label for the composer button that cancels reply mode.
|
|
145
|
+
* @default "Cancel reply"
|
|
146
|
+
*/
|
|
147
|
+
readonly cancelReplyLabel?: string;
|
|
127
148
|
/**
|
|
128
149
|
* Label for the "Save" button in the chat actions bar.
|
|
129
150
|
* @default "Save"
|
|
@@ -433,7 +454,11 @@ export type ChatProps = {
|
|
|
433
454
|
* - When set, the send textarea and button will be shown
|
|
434
455
|
* - When undefined, the chat has no input and is read-only showing only the messages
|
|
435
456
|
*/
|
|
436
|
-
onMessage?(messageContent: string
|
|
457
|
+
onMessage?(messageContent: string, attachments?: Array<{
|
|
458
|
+
name: string;
|
|
459
|
+
type: string;
|
|
460
|
+
url: string;
|
|
461
|
+
}>, replyingToMessage?: ChatMessage | null): Promisable<void>;
|
|
437
462
|
/**
|
|
438
463
|
* Called when user clicks a quick action button parsed from message markdown.
|
|
439
464
|
*
|
|
@@ -447,6 +472,22 @@ export type ChatProps = {
|
|
|
447
472
|
* When not provided, quick message buttons fall back to `onMessage`.
|
|
448
473
|
*/
|
|
449
474
|
onQuickMessageButton?(messageContent: string): Promisable<void>;
|
|
475
|
+
/**
|
|
476
|
+
* Optional callback fired when the user starts replying to one existing message.
|
|
477
|
+
*/
|
|
478
|
+
onReplyToMessage?(message: ChatMessage): void;
|
|
479
|
+
/**
|
|
480
|
+
* Optional callback fired when the user cancels the currently composed reply.
|
|
481
|
+
*/
|
|
482
|
+
onCancelReply?(): void;
|
|
483
|
+
/**
|
|
484
|
+
* Optional callback that determines whether one message can be replied to.
|
|
485
|
+
*/
|
|
486
|
+
canReplyToMessage?(message: ChatMessage): boolean;
|
|
487
|
+
/**
|
|
488
|
+
* Optional message currently being quoted by the composer.
|
|
489
|
+
*/
|
|
490
|
+
readonly replyingToMessage?: ChatMessage | null;
|
|
450
491
|
/**
|
|
451
492
|
* Optional callback
|
|
452
493
|
*
|
|
@@ -460,6 +501,14 @@ export type ChatProps = {
|
|
|
460
501
|
* @default true
|
|
461
502
|
*/
|
|
462
503
|
readonly resetRequiresConfirmation?: boolean;
|
|
504
|
+
/**
|
|
505
|
+
* Optional navigation target for the action-bar "New chat" control.
|
|
506
|
+
*
|
|
507
|
+
* When provided, the control is rendered as a plain link instead of invoking `onReset`.
|
|
508
|
+
* This allows host applications to rely on browser-native navigation affordances such as
|
|
509
|
+
* right-click "Open in new tab/window".
|
|
510
|
+
*/
|
|
511
|
+
readonly newChatButtonHref?: string_href;
|
|
463
512
|
/**
|
|
464
513
|
* Determines whether the voice recognition button is rendered
|
|
465
514
|
*/
|