@atlaskit/ads-mcp 1.12.4 → 1.12.5
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 +23 -0
- package/dist/cjs/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +13 -1
- package/dist/es2019/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +13 -1
- package/dist/esm/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +13 -1
- package/dist/types/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/ads-mcp
|
|
2
2
|
|
|
3
|
+
## 1.12.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a9c65041a487b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a9c65041a487b) -
|
|
8
|
+
Reduce third-party starter loading latency under `rovo_chat_3p_zero_state_prompt` by fetching
|
|
9
|
+
recent activity alongside page context, retaining Relay results for five minutes, and warming the
|
|
10
|
+
same query on launcher hover or keyboard focus. Share prefetches with Chat requests and preserve
|
|
11
|
+
page-link priority and existing fallback behavior. Read fresh cached activity on the first render
|
|
12
|
+
when Chat reopens.
|
|
13
|
+
|
|
14
|
+
Keep third-party starter actions and icon components stable across equivalent context updates, and
|
|
15
|
+
reuse connector fallback selections when their inputs are unchanged. Refresh Smart Link discovery
|
|
16
|
+
subscriptions on page navigation so third-party starters do not remain loading after the page
|
|
17
|
+
changes.
|
|
18
|
+
|
|
19
|
+
Use the configured account ID before profile hydration so reopening Chat preserves fresh activity.
|
|
20
|
+
Preserve known-account cache entries and in-flight prefetches while the account ID is temporarily
|
|
21
|
+
unavailable. Remove the activity parser dependency from Chat now that the service package owns it.
|
|
22
|
+
|
|
23
|
+
Share launcher warm-up wiring through `useThirdPartyStarterPrefetch` while preserving each
|
|
24
|
+
launcher's eligibility and account lookup behavior.
|
|
25
|
+
|
|
3
26
|
## 1.12.4
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -9,7 +9,7 @@ exports.atlaskitHooks = void 0;
|
|
|
9
9
|
*
|
|
10
10
|
* Structured content hooks from design-system *.docs.tsx files
|
|
11
11
|
*
|
|
12
|
-
* @codegen <<SignedSource::
|
|
12
|
+
* @codegen <<SignedSource::5a256eea96620feac883f72ce361e3c7>>
|
|
13
13
|
* @codegenCommand afm workspace @af/ads-ai-tooling codegen
|
|
14
14
|
*/
|
|
15
15
|
/* eslint-disable @repo/internal/react/boolean-prop-naming-convention -- not our types */
|
|
@@ -742,6 +742,18 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
742
742
|
category: 'rovo',
|
|
743
743
|
package: '@atlassian/conversation-assistant-preview-card',
|
|
744
744
|
examples: []
|
|
745
|
+
}, {
|
|
746
|
+
name: 'useThirdPartyStarterPrefetch',
|
|
747
|
+
description: 'Warms recent-activity starter data when a Rovo Chat launcher receives hover or focus.',
|
|
748
|
+
status: 'general-availability',
|
|
749
|
+
usageGuidelines: ['Use for Rovo Chat launchers that share the recent-activity starter query. Keep surface-specific eligibility at the call site and render the returned prefetch node beside the launcher.', 'Call warmThirdPartyStarter on hover or keyboard focus. Supply a known accountId, or fetchAccountId for intent-time profile lookup; mounting the hook does not load Relay or fetch a profile.', 'The hook checks the starter experiment without exposure. Each intent allows a retry; the service reuses fresh results and in-flight requests. Profile and chunk failures remain invisible because Chat fetches independently when opened.'],
|
|
750
|
+
keywords: ['rovo', 'chat', 'starter', 'prefetch', 'hover', 'focus'],
|
|
751
|
+
category: 'rovo',
|
|
752
|
+
returns: {
|
|
753
|
+
type: '{ warmThirdPartyStarter: () => void; prefetch: ReactNode }'
|
|
754
|
+
},
|
|
755
|
+
package: '@atlassian/conversation-assistant-service',
|
|
756
|
+
examples: []
|
|
745
757
|
}, {
|
|
746
758
|
name: 'useTemplateContextProvider',
|
|
747
759
|
description: 'Public use-template-context-provider entrypoint for @atlassian/conversation-assistant-template-selector.',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content hooks from design-system *.docs.tsx files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::5a256eea96620feac883f72ce361e3c7>>
|
|
7
7
|
* @codegenCommand afm workspace @af/ads-ai-tooling codegen
|
|
8
8
|
*/
|
|
9
9
|
/* eslint-disable @repo/internal/react/boolean-prop-naming-convention -- not our types */
|
|
@@ -736,6 +736,18 @@ export const atlaskitHooks = [{
|
|
|
736
736
|
category: 'rovo',
|
|
737
737
|
package: '@atlassian/conversation-assistant-preview-card',
|
|
738
738
|
examples: []
|
|
739
|
+
}, {
|
|
740
|
+
name: 'useThirdPartyStarterPrefetch',
|
|
741
|
+
description: 'Warms recent-activity starter data when a Rovo Chat launcher receives hover or focus.',
|
|
742
|
+
status: 'general-availability',
|
|
743
|
+
usageGuidelines: ['Use for Rovo Chat launchers that share the recent-activity starter query. Keep surface-specific eligibility at the call site and render the returned prefetch node beside the launcher.', 'Call warmThirdPartyStarter on hover or keyboard focus. Supply a known accountId, or fetchAccountId for intent-time profile lookup; mounting the hook does not load Relay or fetch a profile.', 'The hook checks the starter experiment without exposure. Each intent allows a retry; the service reuses fresh results and in-flight requests. Profile and chunk failures remain invisible because Chat fetches independently when opened.'],
|
|
744
|
+
keywords: ['rovo', 'chat', 'starter', 'prefetch', 'hover', 'focus'],
|
|
745
|
+
category: 'rovo',
|
|
746
|
+
returns: {
|
|
747
|
+
type: '{ warmThirdPartyStarter: () => void; prefetch: ReactNode }'
|
|
748
|
+
},
|
|
749
|
+
package: '@atlassian/conversation-assistant-service',
|
|
750
|
+
examples: []
|
|
739
751
|
}, {
|
|
740
752
|
name: 'useTemplateContextProvider',
|
|
741
753
|
description: 'Public use-template-context-provider entrypoint for @atlassian/conversation-assistant-template-selector.',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content hooks from design-system *.docs.tsx files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::5a256eea96620feac883f72ce361e3c7>>
|
|
7
7
|
* @codegenCommand afm workspace @af/ads-ai-tooling codegen
|
|
8
8
|
*/
|
|
9
9
|
/* eslint-disable @repo/internal/react/boolean-prop-naming-convention -- not our types */
|
|
@@ -736,6 +736,18 @@ export var atlaskitHooks = [{
|
|
|
736
736
|
category: 'rovo',
|
|
737
737
|
package: '@atlassian/conversation-assistant-preview-card',
|
|
738
738
|
examples: []
|
|
739
|
+
}, {
|
|
740
|
+
name: 'useThirdPartyStarterPrefetch',
|
|
741
|
+
description: 'Warms recent-activity starter data when a Rovo Chat launcher receives hover or focus.',
|
|
742
|
+
status: 'general-availability',
|
|
743
|
+
usageGuidelines: ['Use for Rovo Chat launchers that share the recent-activity starter query. Keep surface-specific eligibility at the call site and render the returned prefetch node beside the launcher.', 'Call warmThirdPartyStarter on hover or keyboard focus. Supply a known accountId, or fetchAccountId for intent-time profile lookup; mounting the hook does not load Relay or fetch a profile.', 'The hook checks the starter experiment without exposure. Each intent allows a retry; the service reuses fresh results and in-flight requests. Profile and chunk failures remain invisible because Chat fetches independently when opened.'],
|
|
744
|
+
keywords: ['rovo', 'chat', 'starter', 'prefetch', 'hover', 'focus'],
|
|
745
|
+
category: 'rovo',
|
|
746
|
+
returns: {
|
|
747
|
+
type: '{ warmThirdPartyStarter: () => void; prefetch: ReactNode }'
|
|
748
|
+
},
|
|
749
|
+
package: '@atlassian/conversation-assistant-service',
|
|
750
|
+
examples: []
|
|
739
751
|
}, {
|
|
740
752
|
name: 'useTemplateContextProvider',
|
|
741
753
|
description: 'Public use-template-context-provider entrypoint for @atlassian/conversation-assistant-template-selector.',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content hooks from design-system *.docs.tsx files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::5a256eea96620feac883f72ce361e3c7>>
|
|
7
7
|
* @codegenCommand afm workspace @af/ads-ai-tooling codegen
|
|
8
8
|
*/
|
|
9
9
|
import type { HookMcpPayload } from './types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/ads-mcp",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.5",
|
|
4
4
|
"description": "The official Atlassian Design System MCP server to develop apps and user interfaces matching the Atlassian style.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|