@atlaskit/rovo-triggers 5.9.0 → 5.10.0
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/CHANGELOG.md +8 -0
- package/dist/types/types.d.ts +8 -0
- package/dist/types-ts4.5/types.d.ts +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 5.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`15228c9272ac3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/15228c9272ac3) -
|
|
8
|
+
Added overrideAutoSend param to insert-prompt payload to allow for overriding default auto-send
|
|
9
|
+
behavior for prompts
|
|
10
|
+
|
|
3
11
|
## 5.9.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -132,6 +132,14 @@ export type ForgeAppAuthFailure = PayloadCore<'forge-auth-failure', {
|
|
|
132
132
|
*/
|
|
133
133
|
export type InsertPromptPayload = PayloadCore<'insert-prompt', {
|
|
134
134
|
prompt: string;
|
|
135
|
+
/**
|
|
136
|
+
* Overrides the default auto-send behavior for prompts.
|
|
137
|
+
* By default, prompts with backticks (`) are inserted as placeholders into the chat input
|
|
138
|
+
* (backticks indicate a placeholder), while prompts without backticks are sent immediately.
|
|
139
|
+
* Set this to true to insert prompts not containing backticks into the chat input for dynamic
|
|
140
|
+
* user completion, rather than sending them immediately.
|
|
141
|
+
*/
|
|
142
|
+
overrideAutoSend?: boolean;
|
|
135
143
|
} & PlaceholderParam>;
|
|
136
144
|
/** Inserts URLs as inline nodes into the chat input
|
|
137
145
|
* - URLs are deduplicated against existing content
|
|
@@ -132,6 +132,14 @@ export type ForgeAppAuthFailure = PayloadCore<'forge-auth-failure', {
|
|
|
132
132
|
*/
|
|
133
133
|
export type InsertPromptPayload = PayloadCore<'insert-prompt', {
|
|
134
134
|
prompt: string;
|
|
135
|
+
/**
|
|
136
|
+
* Overrides the default auto-send behavior for prompts.
|
|
137
|
+
* By default, prompts with backticks (`) are inserted as placeholders into the chat input
|
|
138
|
+
* (backticks indicate a placeholder), while prompts without backticks are sent immediately.
|
|
139
|
+
* Set this to true to insert prompts not containing backticks into the chat input for dynamic
|
|
140
|
+
* user completion, rather than sending them immediately.
|
|
141
|
+
*/
|
|
142
|
+
overrideAutoSend?: boolean;
|
|
135
143
|
} & PlaceholderParam>;
|
|
136
144
|
/** Inserts URLs as inline nodes into the chat input
|
|
137
145
|
* - URLs are deduplicated against existing content
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0",
|
|
4
4
|
"description": "Provides various trigger events to drive Rovo Chat functionality, such as a publish-subscribe and URL parameter hooks",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|