@atlaskit/rovo-triggers 10.35.0 → 10.37.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,23 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 10.37.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`8181d8d675df9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8181d8d675df9) -
8
+ Add chat entry points for the JSM RFS activation Test now flow.
9
+
10
+ ## 10.36.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`fd47723e42634`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fd47723e42634) -
15
+ Add artifacts context type
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 10.35.0
4
22
 
5
23
  ### Minor Changes
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.ChatEntryPoint = void 0;
7
7
  var ChatEntryPoint = exports.ChatEntryPoint = /*#__PURE__*/function (ChatEntryPoint) {
8
+ ChatEntryPoint["JSM_ROVO_SETTINGS_TEST_NOW"] = "jsmRovoSettingsTestNow";
9
+ ChatEntryPoint["JSM_PORTAL_SETTINGS_TEST_NOW"] = "jsmPortalSettingsTestNow";
8
10
  ChatEntryPoint["SEARCH_PAGE_AUTO_OPEN_CHAT"] = "searchPageAutoOpenChat";
9
11
  ChatEntryPoint["SEARCH_PAGE_SUMMARIZE_IN_CHAT"] = "searchPageSummarizeInChat";
10
12
  return ChatEntryPoint;
package/dist/cjs/types.js CHANGED
@@ -49,6 +49,9 @@ var Topics = exports.Topics = {
49
49
 
50
50
  /** Partial database context for iframe updates (e.g. selection-only). */
51
51
 
52
+ // Not using PayloadCore because `data: type | undefined` is necessary
53
+ // but `| undefined` will cause `data` to be removed by PayloadCore.
54
+
52
55
  // Not using the PayloadCore because the `data: type | undefined` is necessary
53
56
  // but `| undefined` will cause `data` to be removed by PayloadCore
54
57
 
@@ -1,4 +1,6 @@
1
1
  export let ChatEntryPoint = /*#__PURE__*/function (ChatEntryPoint) {
2
+ ChatEntryPoint["JSM_ROVO_SETTINGS_TEST_NOW"] = "jsmRovoSettingsTestNow";
3
+ ChatEntryPoint["JSM_PORTAL_SETTINGS_TEST_NOW"] = "jsmPortalSettingsTestNow";
2
4
  ChatEntryPoint["SEARCH_PAGE_AUTO_OPEN_CHAT"] = "searchPageAutoOpenChat";
3
5
  ChatEntryPoint["SEARCH_PAGE_SUMMARIZE_IN_CHAT"] = "searchPageSummarizeInChat";
4
6
  return ChatEntryPoint;
@@ -43,6 +43,9 @@ export const Topics = {
43
43
 
44
44
  /** Partial database context for iframe updates (e.g. selection-only). */
45
45
 
46
+ // Not using PayloadCore because `data: type | undefined` is necessary
47
+ // but `| undefined` will cause `data` to be removed by PayloadCore.
48
+
46
49
  // Not using the PayloadCore because the `data: type | undefined` is necessary
47
50
  // but `| undefined` will cause `data` to be removed by PayloadCore
48
51
 
@@ -1,4 +1,6 @@
1
1
  export var ChatEntryPoint = /*#__PURE__*/function (ChatEntryPoint) {
2
+ ChatEntryPoint["JSM_ROVO_SETTINGS_TEST_NOW"] = "jsmRovoSettingsTestNow";
3
+ ChatEntryPoint["JSM_PORTAL_SETTINGS_TEST_NOW"] = "jsmPortalSettingsTestNow";
2
4
  ChatEntryPoint["SEARCH_PAGE_AUTO_OPEN_CHAT"] = "searchPageAutoOpenChat";
3
5
  ChatEntryPoint["SEARCH_PAGE_SUMMARIZE_IN_CHAT"] = "searchPageSummarizeInChat";
4
6
  return ChatEntryPoint;
package/dist/esm/types.js CHANGED
@@ -43,6 +43,9 @@ export var Topics = {
43
43
 
44
44
  /** Partial database context for iframe updates (e.g. selection-only). */
45
45
 
46
+ // Not using PayloadCore because `data: type | undefined` is necessary
47
+ // but `| undefined` will cause `data` to be removed by PayloadCore.
48
+
46
49
  // Not using the PayloadCore because the `data: type | undefined` is necessary
47
50
  // but `| undefined` will cause `data` to be removed by PayloadCore
48
51
 
@@ -1,4 +1,6 @@
1
1
  export declare enum ChatEntryPoint {
2
+ JSM_ROVO_SETTINGS_TEST_NOW = "jsmRovoSettingsTestNow",
3
+ JSM_PORTAL_SETTINGS_TEST_NOW = "jsmPortalSettingsTestNow",
2
4
  SEARCH_PAGE_AUTO_OPEN_CHAT = "searchPageAutoOpenChat",
3
5
  SEARCH_PAGE_SUMMARIZE_IN_CHAT = "searchPageSummarizeInChat"
4
6
  }
@@ -294,6 +294,16 @@ export type JiraCreateContextPayloadData = {
294
294
  fields: Record<string, unknown>;
295
295
  }[] | null;
296
296
  };
297
+ export type ArtifactContextPayloadData = {
298
+ artifactId: string;
299
+ mimeType: string;
300
+ title: string;
301
+ description: string;
302
+ url: string;
303
+ };
304
+ export type ArtifactContextPayload = PayloadCore<'artifact-context-payload'> & {
305
+ data: ArtifactContextPayloadData | undefined;
306
+ };
297
307
  export type EditorContextPayload = PayloadCore<'editor-context-payload'> & {
298
308
  data: EditorContextPayloadData;
299
309
  };
@@ -685,7 +695,7 @@ export type SmartlinksSubscriptionChangedPayload = PayloadCore<'smartlinks-subsc
685
695
  * is expected to be open at a time.
686
696
  */
687
697
  export type CloseInContextAifcModalPayload = PayloadCore<'close-in-context-aifc-modal'>;
688
- export type Payload = MessageSendPayload | ChatClosePayload | CloseInContextAifcModalPayload | SmartCreationModalOpenPayload | ChatNewPayload | InsightsOpenInChatPayload | InsightsChatExitedPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | OpenRovoRemixSidebarPayload | UpdateRovoRemixPresetPayload | SubmitRovoRemixPayload | RovoRemixHandoffFailedPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | JiraInlineAgentCreationAgentAssignedPayload | JiraWorkItemsCreatingPayload | JiraWorkItemsCreatedPayload | JiraWorkItemsCreateFailedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | InsertSkillPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | RecommendedSpacesFirstTimeSelectedPayload | CustomSkillUpdatePayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload | ConfluenceContentFinalizedPayload;
698
+ export type Payload = MessageSendPayload | ChatClosePayload | CloseInContextAifcModalPayload | SmartCreationModalOpenPayload | ChatNewPayload | InsightsOpenInChatPayload | InsightsChatExitedPayload | ChatDraftPayload | ChatSmartLink3PPostAuthLaunchPayload | EditorContextPayload | ChatOpenPayload | OpenBrowseAgentPayload | SmartlinksSubscriptionChangedPayload | OpenBrowseAgentSidebarPayload | OpenRovoRemixSidebarPayload | UpdateRovoRemixPresetPayload | SubmitRovoRemixPayload | RovoRemixHandoffFailedPayload | EditorSuggestionPayload | EditorAgentChangedPayload | BrowserContextPayload | WhiteboardContextPayload | JiraCreateContextPayload | ArtifactContextPayload | JiraInlineAgentCreationAgentAssignedPayload | JiraWorkItemsCreatingPayload | JiraWorkItemsCreatedPayload | JiraWorkItemsCreateFailedPayload | DatabaseContextPayload | ForgeAppAuthSuccess | ForgeAppAuthFailure | JiraWorkflowWizardActionsPayload | InsertPromptPayload | DashboardInsightsActionsPayload | SetChatContextPayload | InsertUrlsPayload | InsertSkillPayload | SelectActionPayload | AddChartToDashboardPayload | GenericExternalActionErrorPayload | OpenChatDebugModalPayload | OpenChatFeedbackModalPayload | JsmJourneyBuilderActionsPayload | StudioAutomationBuildUpdatePayload | SolutionArchitectHandoffPayload | SolutionPlanStateUpdatePayload | SolutionDraftAgentUpdatePayload | SolutionArchitectAgentActivationPayload | SolutionArchitectAgentActivationFlowStartedPayload | SolutionArchitectAgentActivationFlowStoppedPayload | UpdateAgentConfigurationPayload | StudioLandingPageRedirectPayload | UploadAndInsertMediaPayload | SmartLinksContextPayload | SpaceSelectedPayload | SpaceDeselectedPayload | RecommendedSpacesSelectedPayload | RecommendedSpacesFirstTimeSelectedPayload | CustomSkillUpdatePayload | TaskPlanConfirmedPayload | TaskAskQuestionRenderedPayload | TaskPlanRenderedPayload | TaskSkipAllQuestionsPayload | TaskCancelPlanPayload | TaskAskQuestionConfirmedPayload | TaskModifyPlanRequestedPayload | TaskModifyPlanSubmittedPayload | ConfluenceContentFinalizedPayload;
689
699
  export type TaskPlanConfirmedPayload = PayloadCore<'task-plan-confirmed', {
690
700
  conversationId: string;
691
701
  planTitle: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "10.35.0",
3
+ "version": "10.37.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": {
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/primitives": "^22.5.0",
45
45
  "@atlaskit/ssr": "workspace:^",
46
46
  "@atlassian/a11y-jest-testing": "^0.17.0",
47
- "@atlassian/conversation-assistant-service-api": "^17.11.0",
47
+ "@atlassian/conversation-assistant-service-api": "^17.12.0",
48
48
  "@atlassian/feature-flags-test-utils": "^1.3.0",
49
49
  "@atlassian/testing-library": "^0.11.0",
50
50
  "@atlassian/workbench": "workspace:*",