@atlaskit/rovo-triggers 6.4.0 → 7.0.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 CHANGED
@@ -1,5 +1,43 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 7.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`b0222d13caefe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b0222d13caefe) -
8
+ Replace `@typescript-eslint/no-explicit-any` suppressions with real types across
9
+ rovo-content-bridge and rovo-platform packages (TREX-1392).
10
+
11
+ Key changes:
12
+ - `rovo-content-bridge-api`: Replace `any` in `CommandConstructor`, type guards, handlers,
13
+ debugger, and desktop transport with `unknown`, typed event interfaces, and a new `WebContents`
14
+ interface.
15
+ - `rovo-content-bridge-api-commands`: Replace `any` fields with `SerializableValue` in chart,
16
+ Jira, and content commands.
17
+ - `rovo-playground`: Replace `any` in plugin config, settings store, and ADF utilities with
18
+ `unknown` and recursive typed nodes.
19
+ - `rovo-platform-ui-components`, `rovo-navigation`, `rovo-spaces`, `rovo-triggers`,
20
+ `rovo-agent-analytics`, `rovo-agent-components`, `rovo-chat-side-by-side-evaluation`,
21
+ `rovo-agent-debug-modal`: Replace remaining `any` occurrences with `unknown`, typed interfaces,
22
+ or properly inferred types.
23
+
24
+ ### Patch Changes
25
+
26
+ - [`18aff6350fd6a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/18aff6350fd6a) -
27
+ Add optional `tags` field to `ChatNewPayload` and forward conversation-channel tags through the
28
+ `chat-new` bridge to `createSeededConversation`. Used by the Confluence @ Mention Agents feature
29
+ to pass `mention-in-comment`, `page:<pageId>`, and `comment:<commentId>` tags so the backend can
30
+ create a `SessionAssociationPublic` record and initialize conversation state.
31
+
32
+ ## 6.5.0
33
+
34
+ ### Minor Changes
35
+
36
+ - [`c5948348a4e51`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c5948348a4e51) -
37
+ TREX-1373 (part 3/3): add @typescript-eslint/no-explicit-any OXLint suppression comments across
38
+ rovo-\* and misc packages. Includes OXLint override and Mithril ratchet to prevent new
39
+ suppressions.
40
+
3
41
  ## 6.4.0
4
42
 
5
43
  ### Minor Changes
@@ -92,6 +92,12 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
92
92
  * Sent as `search_artifact` in `body.context`.
93
93
  */
94
94
  searchArtifact?: SendMessageSearchArtifact;
95
+ /**
96
+ * Optional conversation-channel tags forwarded to the backend on conversation creation.
97
+ * Used by the agent-mention-in-comment feature to pass mention-in-comment, page:<pageId>,
98
+ * and comment:<commentId> so the backend can create a SessionAssociationPublic record.
99
+ */
100
+ tags?: string[];
95
101
  } & Partial<TargetAgentParam> & PlaceholderParam>;
96
102
  export type EditorContextPayloadData = {
97
103
  document: {
@@ -161,7 +167,7 @@ export type JiraCreateContextPayloadData = {
161
167
  projectIdOrKey: string;
162
168
  issueTypeId: string;
163
169
  summary: string;
164
- fields: Record<string, any>;
170
+ fields: Record<string, unknown>;
165
171
  }[] | null;
166
172
  };
167
173
  export type EditorContextPayload = PayloadCore<'editor-context-payload'> & {
@@ -92,6 +92,12 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
92
92
  * Sent as `search_artifact` in `body.context`.
93
93
  */
94
94
  searchArtifact?: SendMessageSearchArtifact;
95
+ /**
96
+ * Optional conversation-channel tags forwarded to the backend on conversation creation.
97
+ * Used by the agent-mention-in-comment feature to pass mention-in-comment, page:<pageId>,
98
+ * and comment:<commentId> so the backend can create a SessionAssociationPublic record.
99
+ */
100
+ tags?: string[];
95
101
  } & Partial<TargetAgentParam> & PlaceholderParam>;
96
102
  export type EditorContextPayloadData = {
97
103
  document: {
@@ -161,7 +167,7 @@ export type JiraCreateContextPayloadData = {
161
167
  projectIdOrKey: string;
162
168
  issueTypeId: string;
163
169
  summary: string;
164
- fields: Record<string, any>;
170
+ fields: Record<string, unknown>;
165
171
  }[] | null;
166
172
  };
167
173
  export type EditorContextPayload = PayloadCore<'editor-context-payload'> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "6.4.0",
3
+ "version": "7.0.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": {