@epam/ai-dial-chat-hooks 1.1.0-dev.432 → 1.1.0-dev.433

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.
@@ -4,7 +4,7 @@ import { parseSkillResourceUrl as n } from "../../skill/skill-types.js";
4
4
  import { CatalogEntityType as r } from "@epam/ai-dial-chat-shared";
5
5
  import { useCallback as i, useMemo as a } from "react";
6
6
  //#region src/catalog/useCatalogEditNavigation/useCatalogEditNavigation.ts
7
- var o = ({ deployments: o, isCustomAppsEnabled: s, isSchemaAppsEnabled: c, isHideCustomAppCreationEnabled: l, isToolsetsEnabled: u, isPromptsEnabled: d, quickAppSchemaId: f, urls: p, onNavigate: m, deletePrompt: h, deleteToolset: g, deleteSkill: _, deleteApplication: v, refetchPrompts: y, refetchToolsets: b, refetchSkills: x, refetchDeployments: S, onDeleteSuccess: C, labels: w, onNotify: T, triggerSkillArchivePicker: E }) => ({
7
+ var o = ({ deployments: o, isCustomAppsEnabled: s, isSchemaAppsEnabled: c, isHideCustomAppCreationEnabled: l, isToolsetsEnabled: u, isPromptsEnabled: d, quickAppSchemaId: f, urls: p, onNavigate: m, deletePrompt: h, deleteToolset: g, deleteSkill: _, deleteApplication: v, refetchPrompts: y, refetchToolsets: b, refetchSkills: x, refetchDeployments: S, onDeleteSuccess: C, labels: w, onNotify: T, onSkillUploadClick: E }) => ({
8
8
  handleEdit: i((e) => {
9
9
  if (e.type === r.Prompt) {
10
10
  m(p.buildPromptEditUrl(e.id));
package/catalog.d.ts CHANGED
@@ -895,7 +895,7 @@ export declare const toPublishRuleDto: (rule: PublicationRule) => PublishRuleDto
895
895
  * item through the endpoint its type owns and refetching/notifying on
896
896
  * completion, and building the Create dropdown's options.
897
897
  */
898
- export declare const useCatalogEditNavigation: ({ deployments, isCustomAppsEnabled, isSchemaAppsEnabled, isHideCustomAppCreationEnabled, isToolsetsEnabled, isPromptsEnabled, quickAppSchemaId, urls, onNavigate, deletePrompt, deleteToolset, deleteSkill, deleteApplication, refetchPrompts, refetchToolsets, refetchSkills, refetchDeployments, onDeleteSuccess, labels, onNotify, triggerSkillArchivePicker, }: UseCatalogEditNavigationParams) => UseCatalogEditNavigationResult;
898
+ export declare const useCatalogEditNavigation: ({ deployments, isCustomAppsEnabled, isSchemaAppsEnabled, isHideCustomAppCreationEnabled, isToolsetsEnabled, isPromptsEnabled, quickAppSchemaId, urls, onNavigate, deletePrompt, deleteToolset, deleteSkill, deleteApplication, refetchPrompts, refetchToolsets, refetchSkills, refetchDeployments, onDeleteSuccess, labels, onNotify, onSkillUploadClick, }: UseCatalogEditNavigationParams) => UseCatalogEditNavigationResult;
899
899
 
900
900
  /** Parameters accepted by {@link useCatalogEditNavigation}. */
901
901
  export declare interface UseCatalogEditNavigationParams {
@@ -929,8 +929,8 @@ export declare interface UseCatalogEditNavigationParams {
929
929
  labels: CatalogEditNavigationLabels;
930
930
  /** Called to surface a host notification when a delete fails. */
931
931
  onNotify: (notification: CatalogEditNavigationNotification) => void;
932
- /** Opens the file picker used to upload a skill archive from the Create menu. */
933
- triggerSkillArchivePicker: () => void;
932
+ /** Called when the Create menu's Skill Upload option is picked. */
933
+ onSkillUploadClick: () => void;
934
934
  }
935
935
 
936
936
  /** Return value of {@link useCatalogEditNavigation}. */
package/index.d.ts CHANGED
@@ -3756,7 +3756,7 @@ export declare interface UseAttachmentValidationResult {
3756
3756
  * item through the endpoint its type owns and refetching/notifying on
3757
3757
  * completion, and building the Create dropdown's options.
3758
3758
  */
3759
- export declare const useCatalogEditNavigation: ({ deployments, isCustomAppsEnabled, isSchemaAppsEnabled, isHideCustomAppCreationEnabled, isToolsetsEnabled, isPromptsEnabled, quickAppSchemaId, urls, onNavigate, deletePrompt, deleteToolset, deleteSkill, deleteApplication, refetchPrompts, refetchToolsets, refetchSkills, refetchDeployments, onDeleteSuccess, labels, onNotify, triggerSkillArchivePicker, }: UseCatalogEditNavigationParams) => UseCatalogEditNavigationResult;
3759
+ export declare const useCatalogEditNavigation: ({ deployments, isCustomAppsEnabled, isSchemaAppsEnabled, isHideCustomAppCreationEnabled, isToolsetsEnabled, isPromptsEnabled, quickAppSchemaId, urls, onNavigate, deletePrompt, deleteToolset, deleteSkill, deleteApplication, refetchPrompts, refetchToolsets, refetchSkills, refetchDeployments, onDeleteSuccess, labels, onNotify, onSkillUploadClick, }: UseCatalogEditNavigationParams) => UseCatalogEditNavigationResult;
3760
3760
 
3761
3761
  /** Parameters accepted by {@link useCatalogEditNavigation}. */
3762
3762
  export declare interface UseCatalogEditNavigationParams {
@@ -3790,8 +3790,8 @@ export declare interface UseCatalogEditNavigationParams {
3790
3790
  labels: CatalogEditNavigationLabels;
3791
3791
  /** Called to surface a host notification when a delete fails. */
3792
3792
  onNotify: (notification: CatalogEditNavigationNotification) => void;
3793
- /** Opens the file picker used to upload a skill archive from the Create menu. */
3794
- triggerSkillArchivePicker: () => void;
3793
+ /** Called when the Create menu's Skill Upload option is picked. */
3794
+ onSkillUploadClick: () => void;
3795
3795
  }
3796
3796
 
3797
3797
  /** Return value of {@link useCatalogEditNavigation}. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-chat-hooks",
3
3
  "description": "Framework-level React hooks extracted from AI DIAL Chat for building custom chat interfaces",
4
- "version": "1.1.0-dev.432",
4
+ "version": "1.1.0-dev.433",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -104,21 +104,21 @@
104
104
  },
105
105
  "peerDependencies": {
106
106
  "react": "^19.2.6",
107
- "@epam/ai-dial-attachment-canvas": "1.1.0-dev.432",
108
- "@epam/ai-dial-attachment-input": "1.1.0-dev.432",
109
- "@epam/ai-dial-catalog": "1.1.0-dev.432",
110
- "@epam/ai-dial-chat-api-client": "1.1.0-dev.432",
111
- "@epam/ai-dial-chat-overlay": "1.1.0-dev.432",
112
- "@epam/ai-dial-chat-shared": "1.1.0-dev.432",
113
- "@epam/ai-dial-deployment-creation-form": "1.1.0-dev.432",
114
- "@epam/ai-dial-mcp-apps": "1.1.0-dev.432",
115
- "@epam/ai-dial-publish-panel": "1.1.0-dev.432",
116
- "@epam/ai-dial-quotations": "1.1.0-dev.432",
107
+ "@epam/ai-dial-attachment-canvas": "1.1.0-dev.433",
108
+ "@epam/ai-dial-attachment-input": "1.1.0-dev.433",
109
+ "@epam/ai-dial-catalog": "1.1.0-dev.433",
110
+ "@epam/ai-dial-chat-api-client": "1.1.0-dev.433",
111
+ "@epam/ai-dial-chat-overlay": "1.1.0-dev.433",
112
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.433",
113
+ "@epam/ai-dial-deployment-creation-form": "1.1.0-dev.433",
114
+ "@epam/ai-dial-mcp-apps": "1.1.0-dev.433",
115
+ "@epam/ai-dial-publish-panel": "1.1.0-dev.433",
116
+ "@epam/ai-dial-quotations": "1.1.0-dev.433",
117
117
  "@epam/ai-dial-react-file-manager": "*",
118
- "@epam/ai-dial-scheduled-tasks": "1.1.0-dev.432",
119
- "@epam/ai-dial-share": "1.1.0-dev.432",
120
- "@epam/ai-dial-skill-editor": "1.1.0-dev.432",
121
- "@epam/ai-dial-source-panel": "1.1.0-dev.432",
118
+ "@epam/ai-dial-scheduled-tasks": "1.1.0-dev.433",
119
+ "@epam/ai-dial-share": "1.1.0-dev.433",
120
+ "@epam/ai-dial-skill-editor": "1.1.0-dev.433",
121
+ "@epam/ai-dial-source-panel": "1.1.0-dev.433",
122
122
  "@epam/ai-dial-ui-kit": "*",
123
123
  "@modelcontextprotocol/sdk": "^1.27.1",
124
124
  "@epam/pdf-highlighter-kit": ">=0.0.14",