@atlaskit/ads-mcp 2.0.1 → 2.0.2

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.
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content hooks from design-system *.docs.tsx files
5
5
  *
6
- * @codegen <<SignedSource::718b97f68d1509c179c232447e56441b>>
6
+ * @codegen <<SignedSource::3f9ebe69098395387c0ca311824baa42>>
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 */
@@ -1682,6 +1682,18 @@ export const atlaskitHooks = [{
1682
1682
  },
1683
1683
  package: '@atlassian/rovo-platform-ui-components',
1684
1684
  examples: []
1685
+ }, {
1686
+ name: 'useInitializeWorkstreamPreferences',
1687
+ description: 'Creates absent workstream inference preferences and returns the saved setting.',
1688
+ status: 'early-access',
1689
+ usageGuidelines: ['Call under the host Relay environment after an explicit activation action. This hook does not create or read user pins.', 'Use the saved enabled value, which may be false. A rejected or uncertain request must not be presented as enabled; initialization can be retried without resetting an existing setting.'],
1690
+ keywords: ['workstream', 'inference', 'preferences', 'initialization', 'relay'],
1691
+ category: 'rovo',
1692
+ returns: {
1693
+ type: '(ari: string) => Promise<{ ari: string; enabled: boolean; canEdit: boolean }>'
1694
+ },
1695
+ package: '@atlassian/rovo-proactive-insights',
1696
+ examples: []
1685
1697
  }, {
1686
1698
  name: 'usePromptOfTheDay',
1687
1699
  description: 'Reads today’s account-scoped prompt suggestions with a shared request cache and an explicit availability status.',