@epam/ai-dial-chat-hooks 1.2.0-dev.3 → 1.2.0-dev.38
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/catalog/map-deployment-to-catalog-item.js +2 -2
- package/catalog/map-skill-to-catalog-item.js +2 -2
- package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.js +39 -39
- package/catalog/useSkillItemDetails.js +19 -17
- package/catalog.d.ts +38 -5
- package/catalog.js +14 -14
- package/conversation/announcement-message.js +16 -5
- package/conversation/useAttachmentUpload/useAttachmentUpload.js +12 -5
- package/conversation/useConversationHandlers/useConversationHandlers.js +13 -17
- package/conversation/useConversationStream/useConversationStream.js +5 -1
- package/conversation/useTranscribeAudio/transcription-retry.js +5 -4
- package/conversation-overlay.d.ts +7 -0
- package/conversation-overlay.js +2 -0
- package/conversation.d.ts +33 -8
- package/conversation.js +22 -23
- package/file-manager-canvas.d.ts +398 -0
- package/file-manager-canvas.js +2 -0
- package/file-manager.d.ts +0 -325
- package/file-manager.js +14 -15
- package/files/attachment-canvas.js +51 -13
- package/index.d.ts +144 -14
- package/index.js +109 -109
- package/package.json +26 -16
package/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Annotation } from '@epam/ai-dial-chat-shared';
|
|
2
2
|
import { AnnotationGroup } from '@epam/ai-dial-quotations';
|
|
3
|
+
import { ApplicationVisualizer } from '@epam/ai-dial-chat-shared';
|
|
3
4
|
import { ArchiveItemDto } from '@epam/ai-dial-chat-api-client';
|
|
4
5
|
import { Attachment } from '@epam/ai-dial-chat-shared';
|
|
5
6
|
import { AttachmentDisplayResolvers } from '@epam/ai-dial-chat-shared';
|
|
@@ -69,6 +70,7 @@ import { FileUploadStatus } from '@epam/ai-dial-chat-shared';
|
|
|
69
70
|
import { FileUploadValidationResult } from '@epam/ai-dial-chat-shared';
|
|
70
71
|
import { FilterTab } from '@epam/ai-dial-chat-shared';
|
|
71
72
|
import { getParentFolderPath } from '@epam/ai-dial-chat-shared';
|
|
73
|
+
import type { GroupedAttachmentItem } from '@epam/ai-dial-chat-shared';
|
|
72
74
|
import type { InputHighlightData } from '@epam/pdf-highlighter-kit';
|
|
73
75
|
import { ListFilesItemDto } from '@epam/ai-dial-chat-api-client';
|
|
74
76
|
import { ListFilesResponseDto } from '@epam/ai-dial-chat-api-client';
|
|
@@ -212,6 +214,26 @@ export declare interface AnnouncementContent {
|
|
|
212
214
|
title: string | null;
|
|
213
215
|
description: string | null;
|
|
214
216
|
html: string | null;
|
|
217
|
+
/** Entries of the popover the banner opens. */
|
|
218
|
+
items?: readonly AnnouncementListItem[];
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/** One entry of the announcements popover behind the banner's `+N` pill. */
|
|
222
|
+
export declare interface AnnouncementListItem {
|
|
223
|
+
/** Plain-text heading of the entry. */
|
|
224
|
+
title: string;
|
|
225
|
+
/** Supporting copy of the entry, sanitized before it is rendered. */
|
|
226
|
+
description?: string | null;
|
|
227
|
+
/** Optional call to action shown at the end of the entry. */
|
|
228
|
+
link?: AnnouncementListItemLink | null;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/** A link rendered as the call to action of an announcements-popover entry. */
|
|
232
|
+
export declare interface AnnouncementListItemLink {
|
|
233
|
+
/** Visible text of the call to action. */
|
|
234
|
+
label: string;
|
|
235
|
+
/** Absolute `http`/`https` target the call to action opens. */
|
|
236
|
+
href: string;
|
|
215
237
|
}
|
|
216
238
|
|
|
217
239
|
/** Normalized shape returned by {@link getApiErrorDetails}. */
|
|
@@ -294,6 +316,7 @@ declare enum AttachmentContentType {
|
|
|
294
316
|
Code = 'code',
|
|
295
317
|
Html = 'html',
|
|
296
318
|
Visualizer = 'visualizer',
|
|
319
|
+
GroupedVisualizer = 'grouped_visualizer',
|
|
297
320
|
McpApp = 'mcp_app',
|
|
298
321
|
Unsupported = 'unsupported',
|
|
299
322
|
Error = 'error',
|
|
@@ -353,7 +376,7 @@ export declare enum AudioTranscriptionErrorReason {
|
|
|
353
376
|
Unavailable = "unavailable",
|
|
354
377
|
/** The recording exceeds the caller's configured size limit. */
|
|
355
378
|
TooLarge = "tooLarge",
|
|
356
|
-
/**
|
|
379
|
+
/** Recognition is rate-limited, unavailable, or exhausted short gateway retries. */
|
|
357
380
|
Busy = "busy",
|
|
358
381
|
/** Recognition failed for any other reason. */
|
|
359
382
|
Failed = "failed"
|
|
@@ -379,9 +402,18 @@ export declare const buildAdditionalLocaleOptions: (additionalLocaleCodes: strin
|
|
|
379
402
|
* hidden only while the current announcement produces the same signature, so
|
|
380
403
|
* editing any part of it brings the banner back with no version counter.
|
|
381
404
|
*
|
|
405
|
+
* Every piece of content the banner surface renders feeds the signature — the
|
|
406
|
+
* title, the description, and the popover entries behind the pill, which live
|
|
407
|
+
* inside the banner and are hidden along with it. Publishing a new entry in
|
|
408
|
+
* that list therefore invalidates an earlier dismissal on its own, even when
|
|
409
|
+
* the banner line itself is untouched.
|
|
410
|
+
*
|
|
382
411
|
* A legacy-only announcement returns the raw HTML string — byte-identical to
|
|
383
412
|
* what shipped before the structured fields existed — so dismissals recorded
|
|
384
|
-
* by older builds keep working without a storage migration.
|
|
413
|
+
* by older builds keep working without a storage migration. `items` is left
|
|
414
|
+
* out of the payload entirely when the list is empty for the same reason: a
|
|
415
|
+
* deployment that never configured the popover keeps matching the signatures
|
|
416
|
+
* its users already have stored.
|
|
385
417
|
*/
|
|
386
418
|
export declare const buildAnnouncementSignature: (content: AnnouncementContent) => string;
|
|
387
419
|
|
|
@@ -493,6 +525,13 @@ export declare const buildSkillManifestFromFrontmatter: (baseFrontmatter: Record
|
|
|
493
525
|
* authored it, when it last changed, and its file inventory. Grouping folders
|
|
494
526
|
* in the file listing are excluded from both the count and the rows. Sizes are
|
|
495
527
|
* not shown — the skill metadata carries no content-length field.
|
|
528
|
+
*
|
|
529
|
+
* `skill` is the authoritative `getSkillMetadata` response when that request
|
|
530
|
+
* fulfilled; the caller falls back to the catalog listing entry only when it
|
|
531
|
+
* rejected (`useSkillItemDetails`'s `onFetchSkillDetails`). Either way, this
|
|
532
|
+
* function never fills a gap in one source from the other — an absent
|
|
533
|
+
* `author` omits the row and an absent `updatedAt` leaves the updated row's
|
|
534
|
+
* value empty, exactly as `skill` carries it.
|
|
496
535
|
*/
|
|
497
536
|
export declare const buildSkillOverview: (skill: SkillMetadataItemDto | undefined, files: SkillMetadataItemDto[], about: SkillAboutDetails | undefined, labels: SkillOverviewLabels) => CatalogItemOverview;
|
|
498
537
|
|
|
@@ -1809,6 +1848,30 @@ export declare interface GreetingTranslations {
|
|
|
1809
1848
|
nightNoName: string;
|
|
1810
1849
|
}
|
|
1811
1850
|
|
|
1851
|
+
/** Content payload for an application-scoped grouped visualizer: every attachment a message's visualizer claims, rendered together inside one sandboxed iframe. */
|
|
1852
|
+
declare interface GroupedVisualizerCanvasContent {
|
|
1853
|
+
/** Discriminates the content type to select the correct renderer. */
|
|
1854
|
+
type: AttachmentContentType.GroupedVisualizer;
|
|
1855
|
+
/** Iframe `src`, resolved from the matching registry entry's `url`. */
|
|
1856
|
+
url: string;
|
|
1857
|
+
/** One item per claimed attachment, in the message's attachment order. Each `url` is absolute, resolved by the host. */
|
|
1858
|
+
attachments: GroupedAttachmentItem[];
|
|
1859
|
+
/** Presentation layout hints (`themeId`, `width`, `height`, `mobileHeight`) shared by every item. */
|
|
1860
|
+
layout: CustomVisualizerDataLayout;
|
|
1861
|
+
/** postMessage protocol namespace — MUST equal the registry entry's `title`, or the iframe never receives data. */
|
|
1862
|
+
visualizerName: string;
|
|
1863
|
+
/** Milliseconds to wait for a `send()` request's response before rejecting. From the registry entry; does NOT bound the handshake. */
|
|
1864
|
+
requestTimeout?: number;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
/** Outcome of building a grouped visualizer payload. */
|
|
1868
|
+
export declare interface GroupedVisualizerResolution {
|
|
1869
|
+
/** The grouped payload, or `null` when no claimed attachment resolved to a URL. */
|
|
1870
|
+
content: GroupedVisualizerCanvasContent | null;
|
|
1871
|
+
/** The claimed attachments that reached `content.attachments`, in the input's order. The caller returns the rest to the ordinary attachment tray. */
|
|
1872
|
+
resolved: DisplayAttachment[];
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1812
1875
|
/** Whether at least one tool toggle in `value` is active. */
|
|
1813
1876
|
export declare const hasActiveToolConfig: (value: Record<string, boolean> | undefined) => boolean;
|
|
1814
1877
|
|
|
@@ -2515,7 +2578,17 @@ declare interface OoxmlDocxHighlightLocation {
|
|
|
2515
2578
|
text: string;
|
|
2516
2579
|
}
|
|
2517
2580
|
|
|
2518
|
-
/**
|
|
2581
|
+
/** A complete table row in the DOCX body, matched by cell text. */
|
|
2582
|
+
declare interface OoxmlDocxTableRowLocation {
|
|
2583
|
+
/** Location kind. */
|
|
2584
|
+
kind: OoxmlHighlightKind.DocxTableRow;
|
|
2585
|
+
/** Plain text of each cell, in column order. */
|
|
2586
|
+
cells: string[];
|
|
2587
|
+
/** 1-based matching row in document order. */
|
|
2588
|
+
occurrence: number;
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2591
|
+
/** Supported document formats rendered by the installed `@silurus/ooxml` runtime. */
|
|
2519
2592
|
declare enum OoxmlFileType {
|
|
2520
2593
|
Docx = 'docx',
|
|
2521
2594
|
Xlsx = 'xlsx',
|
|
@@ -2537,6 +2610,10 @@ declare enum OoxmlHighlightKind {
|
|
|
2537
2610
|
DocxTextRange = 'docxTextRange',
|
|
2538
2611
|
/** A character range inside a single PPTX shape on one slide. */
|
|
2539
2612
|
PptxTextRange = 'pptxTextRange',
|
|
2613
|
+
/** A complete DOCX table row identified by its cell text. */
|
|
2614
|
+
DocxTableRow = 'docxTableRow',
|
|
2615
|
+
/** A complete PPTX table row identified by its cell text on one slide. */
|
|
2616
|
+
PptxTableRow = 'pptxTableRow',
|
|
2540
2617
|
/** One cell, or a contiguous same-row cell range, on a named XLSX sheet. */
|
|
2541
2618
|
XlsxCellRange = 'xlsxCellRange',
|
|
2542
2619
|
}
|
|
@@ -2545,6 +2622,8 @@ declare enum OoxmlHighlightKind {
|
|
|
2545
2622
|
declare type OoxmlHighlightLocation =
|
|
2546
2623
|
| OoxmlDocxHighlightLocation
|
|
2547
2624
|
| OoxmlPptxHighlightLocation
|
|
2625
|
+
| OoxmlDocxTableRowLocation
|
|
2626
|
+
| OoxmlPptxTableRowLocation
|
|
2548
2627
|
| OoxmlXlsxHighlightLocation;
|
|
2549
2628
|
|
|
2550
2629
|
/** A cited character range inside a single shape on one PPTX slide. */
|
|
@@ -2563,6 +2642,18 @@ declare interface OoxmlPptxHighlightLocation {
|
|
|
2563
2642
|
text: string;
|
|
2564
2643
|
}
|
|
2565
2644
|
|
|
2645
|
+
/** A complete table row on one PPTX slide, matched by cell text. */
|
|
2646
|
+
declare interface OoxmlPptxTableRowLocation {
|
|
2647
|
+
/** Location kind. */
|
|
2648
|
+
kind: OoxmlHighlightKind.PptxTableRow;
|
|
2649
|
+
/** Plain text of each cell, in column order. */
|
|
2650
|
+
cells: string[];
|
|
2651
|
+
/** 1-based matching row on the specified slide. */
|
|
2652
|
+
occurrence: number;
|
|
2653
|
+
/** 1-based slide number. */
|
|
2654
|
+
slide: number;
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2566
2657
|
/** A cited cell, or contiguous same-row cell range, on a named XLSX sheet. */
|
|
2567
2658
|
declare interface OoxmlXlsxHighlightLocation {
|
|
2568
2659
|
/** Discriminates this location within `OoxmlHighlightLocation`. */
|
|
@@ -2827,6 +2918,24 @@ export declare interface QuickAppSchemaLike {
|
|
|
2827
2918
|
*/
|
|
2828
2919
|
export declare const readSkillFileBytes: (response: Response) => Promise<Uint8Array | null>;
|
|
2829
2920
|
|
|
2921
|
+
/**
|
|
2922
|
+
* Reads a skill file response as raw bytes with no size ceiling, for the
|
|
2923
|
+
* supporting-file **preview** path.
|
|
2924
|
+
*
|
|
2925
|
+
* Previews are user-initiated, one file at a time, and a realistic binary
|
|
2926
|
+
* (a PDF, an image) routinely exceeds `SKILL_MANIFEST_MAX_BYTES` — a cap
|
|
2927
|
+
* sized for `SKILL.md` frontmatter, not for binaries — so applying that cap
|
|
2928
|
+
* here rejected virtually every real PDF before it was ever decoded. This
|
|
2929
|
+
* reader therefore never returns `null`: file size is not a failure class on
|
|
2930
|
+
* the preview path.
|
|
2931
|
+
*
|
|
2932
|
+
* `readSkillFileBytes` and `readSkillManifest` keep their
|
|
2933
|
+
* `SKILL_MANIFEST_MAX_BYTES` ceiling, because they feed the manifest parse
|
|
2934
|
+
* and the textual Content-tab read, where an oversized body must never be
|
|
2935
|
+
* decoded into a string.
|
|
2936
|
+
*/
|
|
2937
|
+
export declare const readSkillFilePreviewBytes: (response: Response) => Promise<Uint8Array>;
|
|
2938
|
+
|
|
2830
2939
|
/**
|
|
2831
2940
|
* Reads a skill manifest response as text, or `null` when the body is larger
|
|
2832
2941
|
* than `SKILL_MANIFEST_MAX_BYTES`. The size is checked before decoding, so an
|
|
@@ -2891,7 +3000,8 @@ export declare const resolveCatalogPrimaryAction: (item: CatalogItem, fetchPromp
|
|
|
2891
3000
|
/** Resolves a syntax-highlighted code canvas content payload from a DisplayAttachment, or `null` if unavailable. */
|
|
2892
3001
|
export declare const resolveCodeCanvasContent: (attachment: DisplayAttachment, resolvers: AttachmentCanvasUrlResolvers, language?: string) => Promise<CodeCanvasContent | ErrorCanvasContent | null>;
|
|
2893
3002
|
|
|
2894
|
-
|
|
3003
|
+
/** Resolves a deployment's display folder, including organization applications without a folder path. */
|
|
3004
|
+
export declare const resolveDeploymentFolder: (deployment: Pick<DeploymentItemDto, "isMy" | "sharedWithMe" | "applicationFolder"> & Partial<Pick<DeploymentItemDto, "type">>, labels: DeploymentFolderLabels) => string[];
|
|
2895
3005
|
|
|
2896
3006
|
/**
|
|
2897
3007
|
* Resolves a DialFile to the bucket-relative API path used by files BFF endpoints.
|
|
@@ -2927,6 +3037,17 @@ export declare type ResolveDownloadUrl = (fileId: string) => string | undefined;
|
|
|
2927
3037
|
*/
|
|
2928
3038
|
export declare const resolveExternalSourceContentType: (contentType: string, url: string) => string;
|
|
2929
3039
|
|
|
3040
|
+
/**
|
|
3041
|
+
* Builds the grouped payload for an application-scoped visualizer from the
|
|
3042
|
+
* attachments its entry claims, reporting which of them `resolveAbsoluteUrl`
|
|
3043
|
+
* could produce a URL for. Unlike the single-attachment resolver this fetches
|
|
3044
|
+
* nothing: the grouped protocol hands the visualizer URLs and lets it read
|
|
3045
|
+
* them itself, so the URLs must be absolute — a host-relative path would
|
|
3046
|
+
* resolve against the iframe's own origin. Producing one is host knowledge,
|
|
3047
|
+
* which is why it arrives as a callback rather than being built here.
|
|
3048
|
+
*/
|
|
3049
|
+
export declare const resolveGroupedVisualizerCanvasContent: (attachments: DisplayAttachment[], resolveAbsoluteUrl: (attachment: DisplayAttachment) => string | undefined, entry: ApplicationVisualizer, themeId: string) => GroupedVisualizerResolution;
|
|
3050
|
+
|
|
2930
3051
|
/**
|
|
2931
3052
|
* Resolves an HTML canvas content payload from a DisplayAttachment.
|
|
2932
3053
|
* Fetches and inlines the HTML as `srcdoc` when the attachment has a download URL or inline data.
|
|
@@ -2937,10 +3058,12 @@ export declare const resolveHtmlCanvasContent: (attachment: DisplayAttachment, r
|
|
|
2937
3058
|
|
|
2938
3059
|
/**
|
|
2939
3060
|
* Resolves an image canvas content payload from a DisplayAttachment without
|
|
2940
|
-
* fetching — returns
|
|
2941
|
-
*
|
|
2942
|
-
*
|
|
2943
|
-
*
|
|
3061
|
+
* fetching — returns a local blob URL or the BFF download URL directly so the
|
|
3062
|
+
* browser cache can be shared with the conversation view's `<img>` element.
|
|
3063
|
+
* A local `File` with bytes takes precedence over the DIAL download URL; a
|
|
3064
|
+
* 0-byte `File` (the file-manager placeholder) does not. Error detection is
|
|
3065
|
+
* delegated to `<img onError>` in the canvas renderer. Returns `null` if no
|
|
3066
|
+
* URL source is available.
|
|
2944
3067
|
*/
|
|
2945
3068
|
export declare const resolveImageCanvasContent: (attachment: DisplayAttachment, resolvers: AttachmentCanvasUrlResolvers) => ImageCanvasContent | null;
|
|
2946
3069
|
|
|
@@ -3146,6 +3269,12 @@ export declare interface SkillDetailsApi {
|
|
|
3146
3269
|
limit?: number;
|
|
3147
3270
|
recursive?: boolean;
|
|
3148
3271
|
}, signal?: AbortSignal): Promise<SkillFileListResponseDto>;
|
|
3272
|
+
/**
|
|
3273
|
+
* Fetches a single skill's own authoritative metadata (`author`,
|
|
3274
|
+
* `updatedAt`, and the rest of `SkillMetadataItemDto`) — not the catalog
|
|
3275
|
+
* listing entry, which may be sparse for a shared skill.
|
|
3276
|
+
*/
|
|
3277
|
+
getSkillMetadata(bucket: string, path: string, signal?: AbortSignal): Promise<SkillMetadataItemDto>;
|
|
3149
3278
|
}
|
|
3150
3279
|
|
|
3151
3280
|
/** Already-configured DIAL Core download operations `useSkillEditorLoad` needs. */
|
|
@@ -3862,8 +3991,8 @@ export declare const useAttachmentUpload: ({ filesApi, bucket, onNetworkError, d
|
|
|
3862
3991
|
|
|
3863
3992
|
/** Parameters for {@link useAttachmentUpload}. */
|
|
3864
3993
|
export declare interface UseAttachmentUploadParams {
|
|
3865
|
-
/** Already-configured
|
|
3866
|
-
filesApi: Pick<FilesApi, 'uploadFile'
|
|
3994
|
+
/** Already-configured client; optional listing skips stored names after a conflict. */
|
|
3995
|
+
filesApi: Pick<FilesApi, 'uploadFile'> & Partial<Pick<FilesApi, 'listFiles'>>;
|
|
3867
3996
|
/** DIAL Core bucket the file is uploaded into. */
|
|
3868
3997
|
bucket: string | undefined;
|
|
3869
3998
|
/** Called with batched filenames after a burst of network-error upload failures. */
|
|
@@ -5444,10 +5573,11 @@ export declare interface UseSkillFilePreviewResult {
|
|
|
5444
5573
|
|
|
5445
5574
|
/**
|
|
5446
5575
|
* Headless hook that encapsulates skill detail fetching: manifest download and
|
|
5447
|
-
* parse, package file listing,
|
|
5448
|
-
* loads. `useCatalogItemDetails` delegates
|
|
5449
|
-
* only surface skill details consume this
|
|
5450
|
-
* deployment and prompt ports the full catalog
|
|
5576
|
+
* parse, package file listing, authoritative metadata fetching, overview
|
|
5577
|
+
* construction, and in-package file loads. `useCatalogItemDetails` delegates
|
|
5578
|
+
* its skill branch here; hosts that only surface skill details consume this
|
|
5579
|
+
* hook directly, without the deployment and prompt ports the full catalog
|
|
5580
|
+
* pipeline requires.
|
|
5451
5581
|
*/
|
|
5452
5582
|
export declare const useSkillItemDetails: ({ api, skills, skillOverviewLabels, }: UseSkillItemDetailsOptions) => UseSkillItemDetailsResult;
|
|
5453
5583
|
|
package/index.js
CHANGED
|
@@ -25,112 +25,112 @@ import { PromptSource as ae, parsePromptResourceUrl as oe } from "./prompt/promp
|
|
|
25
25
|
import { buildPromptOverview as se, isOrganisationPromptItem as ce, mapPromptToCatalogItem as le } from "./catalog/map-prompt-to-catalog-item.js";
|
|
26
26
|
import { SKILL_FILE_UPLOAD_MAX_BYTES as ue, SKILL_MANIFEST_FILE as de, SKILL_UPLOAD_MAX_FILES as fe, SKILL_UPLOAD_MAX_TOTAL_BYTES as pe, buildSkillFilesPayload as me, buildSkillManifest as he, buildSkillManifestForSubmit as ge, buildSkillManifestFromFrontmatter as _e, isValidSkillRelativePath as ve, nameFromPath as ye, normalizeSkillName as be, parseSkillManifest as xe, skillFileBytesToBlob as Se, unpackSkillArchive as Ce } from "./skill/skill.js";
|
|
27
27
|
import { PUBLIC_SKILL_BUCKET as we, SKILL_LISTING_MAX_PAGES as Te, SKILL_LISTING_PAGE_SIZE as Ee, SKILL_MANIFEST_MAX_BYTES as De, SkillSource as Oe, parseSkillResourceUrl as ke } from "./skill/skill-types.js";
|
|
28
|
-
import { buildSkillContentTree as Ae, buildSkillOverview as je, mapSkillToCatalogItem as Me, readSkillFileBytes as Ne,
|
|
29
|
-
import { McpResourceKind as
|
|
30
|
-
import { getPublicCatalogEntityFolderPath as
|
|
31
|
-
import { deriveAvailableTabIds as
|
|
32
|
-
import { CatalogPrimaryActionType as
|
|
33
|
-
import { useCatalogEditNavigation as
|
|
34
|
-
import { parseSkillManifestDocument as
|
|
35
|
-
import { useSkillItemDetails as
|
|
36
|
-
import { useCatalogItemDetails as
|
|
37
|
-
import { OAuthResourceKind as
|
|
38
|
-
import { emitToolsetLoginSuccess as
|
|
39
|
-
import { getToolsetOAuthChannelName as
|
|
40
|
-
import { buildToolsetAuthorizeUrl as
|
|
41
|
-
import { initiateOAuthLogin as
|
|
42
|
-
import { ToolsetLoginOutcomeType as
|
|
43
|
-
import { useCatalogToolsetCredentials as
|
|
44
|
-
import { useSkillDetailsPanelData as
|
|
45
|
-
import { FavoriteEntityType as
|
|
46
|
-
import { usePublishFolders as
|
|
47
|
-
import { buildAnnouncementSignature as
|
|
48
|
-
import { DEFAULT_GENERATION_CONFLICT_MESSAGE as
|
|
49
|
-
import { shouldWatchForDisplayNameUpdate as
|
|
50
|
-
import { formatAppVersion as
|
|
51
|
-
import { getModelIdFromConversationId as
|
|
52
|
-
import { getTimeOfDayGreeting as
|
|
53
|
-
import { createDeploymentChangedMessage as
|
|
54
|
-
import { getLastDeploymentId as
|
|
55
|
-
import { toOverlayMessages as
|
|
56
|
-
import { getQuickAppConversationStarters as
|
|
57
|
-
import { getStarterPopulateText as
|
|
58
|
-
import { useOAuthCallbackCompletion as
|
|
59
|
-
import { buildPromptExportEnvelope as
|
|
60
|
-
import { PROMPT_CONTENT_MAX_LENGTH as
|
|
61
|
-
import { usePromptsState as
|
|
62
|
-
import { UnsupportedTriggerReason as
|
|
63
|
-
import { apSchedulerDayToJsDay as
|
|
64
|
-
import { mapFormValuesToCreateBody as
|
|
65
|
-
import { validateSkillFileBatch as
|
|
66
|
-
import { skillFileToAttachment as
|
|
67
|
-
import { SkillEditorLoadState as
|
|
68
|
-
import { useSkillEditorSubmit as
|
|
69
|
-
import { useSkillFileActions as
|
|
70
|
-
import { SkillPreviewErrorKind as
|
|
71
|
-
import { useSkillsState as
|
|
72
|
-
import { RecipientsCountStatus as
|
|
73
|
-
import { deriveConversationRowActionState as
|
|
74
|
-
import { useActiveConversationSync as
|
|
75
|
-
import { useAsyncConfirmDialog as
|
|
76
|
-
import { useConversationLookupMaps as
|
|
77
|
-
import { getConversationSource as
|
|
78
|
-
import { useImportFilePicker as
|
|
79
|
-
import { sanitizeFileName as
|
|
80
|
-
import { useAttachmentUpload as
|
|
81
|
-
import { AudioTranscriptionError as
|
|
82
|
-
import { useTranscribeAudio as
|
|
83
|
-
import { DEFAULT_MAX_ARCHIVE_BYTES as
|
|
84
|
-
import { attachmentToDto as
|
|
85
|
-
import { createMessagePair as
|
|
86
|
-
import { hasActiveToolConfig as
|
|
87
|
-
import { getStarterConversationText as
|
|
88
|
-
import { getConversationPath as
|
|
89
|
-
import { useConversationHandlers as
|
|
90
|
-
import { useConversationImport as
|
|
91
|
-
import { useConversationScroll as
|
|
92
|
-
import { isAwaitingGenerationResume as
|
|
93
|
-
import { useConversationStream as
|
|
94
|
-
import { useConversationSources as
|
|
95
|
-
import { DialFilesApiUploadMode as
|
|
96
|
-
import { FileManagerNotificationReason as
|
|
97
|
-
import { COLUMNS_WITHOUT_AUTHOR as
|
|
98
|
-
import { DialFileManagerActionProfile as
|
|
99
|
-
import { buildSharedItemVirtualPath as
|
|
100
|
-
import { getParentFolderPath as
|
|
101
|
-
import { prepareCopyItems as
|
|
102
|
-
import { buildFromCache as
|
|
103
|
-
import { createFilesApiClient as
|
|
104
|
-
import { createUploadFileWithProgress as
|
|
105
|
-
import { openAnnotationAttachment as
|
|
106
|
-
import { annotationToOoxmlCanvasContent as
|
|
107
|
-
import { getUrlFileName as
|
|
108
|
-
import { annotationToDisplayAttachment as
|
|
109
|
-
import { dialFileToAttachment as
|
|
110
|
-
import { DownloadDestinationType as
|
|
111
|
-
import { prepareDownloadDestination as
|
|
112
|
-
import { useDialFileListing as
|
|
113
|
-
import { useDialFileMetadata as
|
|
114
|
-
import { useDialFileMutations as
|
|
115
|
-
import { useDialFileSharing as
|
|
116
|
-
import { useDialFileUploadBatch as
|
|
117
|
-
import { useDialFileManager as
|
|
118
|
-
import { useDialFileManagerTabConfig as
|
|
119
|
-
import { isCustomAppSchema as
|
|
120
|
-
import { getBrowserTimezone as
|
|
121
|
-
import { isValidAbsoluteUrl as
|
|
122
|
-
import { buildExternalServiceScopeId as
|
|
123
|
-
import { useChatSettingsFormConfig as
|
|
124
|
-
import { usePageFileDrag as
|
|
125
|
-
import { useViewportWidth as
|
|
126
|
-
import { usePanelMaxWidth as
|
|
127
|
-
import { useShareLink as
|
|
128
|
-
import { useToolsMenu as
|
|
129
|
-
import { useUsageData as
|
|
130
|
-
import { McpAppResourceFetchError as
|
|
131
|
-
import { useMcpAppTools as
|
|
132
|
-
import { useMcpAppHostContext as
|
|
133
|
-
import { useMcpAppHostAdapter as
|
|
134
|
-
import { useOpenMcpAppCanvas as
|
|
135
|
-
import { useGridEditingScroll as
|
|
136
|
-
export { x as AttachmentValidationErrorReason,
|
|
28
|
+
import { buildSkillContentTree as Ae, buildSkillOverview as je, mapSkillToCatalogItem as Me, readSkillFileBytes as Ne, readSkillFilePreviewBytes as Pe, readSkillManifest as Fe, resolveSkillFileDownloadPath as Ie, resolveSkillManifestFileId as Le } from "./catalog/map-skill-to-catalog-item.js";
|
|
29
|
+
import { McpResourceKind as Re, buildApplicationMcpUrl as ze, buildConnectApi as Be, buildToolsetMcpUrl as Ve, resolveMcpResourceKind as He } from "./catalog/mcp-endpoint-url.js";
|
|
30
|
+
import { getPublicCatalogEntityFolderPath as Ue, isPublicCatalogEntityId as We, mapPublishConversationResultDto as Ge, mapPublishHistoryEntryDto as Ke, toPublishEntityType as qe } from "./catalog/publish.js";
|
|
31
|
+
import { deriveAvailableTabIds as Je, deriveFavoriteItems as Ye, filterCatalogItemsBySelector as Xe, filterHiddenOwnedItems as Ze, reconcileFilterTopics as Qe } from "./catalog/catalog-derivations.js";
|
|
32
|
+
import { CatalogPrimaryActionType as $e, resolveCatalogPrimaryAction as et } from "./catalog/catalog-primary-action.js";
|
|
33
|
+
import { useCatalogEditNavigation as tt } from "./catalog/useCatalogEditNavigation/useCatalogEditNavigation.js";
|
|
34
|
+
import { parseSkillManifestDocument as nt } from "./skill/skill-manifest.js";
|
|
35
|
+
import { useSkillItemDetails as rt } from "./catalog/useSkillItemDetails.js";
|
|
36
|
+
import { useCatalogItemDetails as it } from "./catalog/useCatalogItemDetails.js";
|
|
37
|
+
import { OAuthResourceKind as at, TOOLSET_REDIRECT_STATE_KEY as ot, ToolsetAuthStatus as st, ToolsetAuthTypes as ct, ToolsetCredentialsLevel as lt, ToolsetOAuthCallbackQuery as ut, ToolsetOAuthChannelControlType as dt, ToolsetOAuthFailureReason as ft, ToolsetOAuthInitiationResultType as pt, ToolsetOAuthResultType as mt, WithLogin as ht } from "./oauth/types.js";
|
|
38
|
+
import { emitToolsetLoginSuccess as gt, subscribeToolsetLoginSuccess as _t } from "./shared/toolset-login-events.js";
|
|
39
|
+
import { getToolsetOAuthChannelName as vt, waitForToolsetOAuthResult as yt } from "./oauth/handshake.js";
|
|
40
|
+
import { buildToolsetAuthorizeUrl as bt, getToolsetRedirectUri as xt } from "./oauth/authorize-url.js";
|
|
41
|
+
import { initiateOAuthLogin as St, navigateToolsetOAuthPopup as Ct, openToolsetOAuthPopup as wt } from "./oauth/popup.js";
|
|
42
|
+
import { ToolsetLoginOutcomeType as Tt, useToolsetLogin as Et } from "./oauth/useToolsetLogin/useToolsetLogin.js";
|
|
43
|
+
import { useCatalogToolsetCredentials as Dt } from "./catalog/useCatalogToolsetCredentials/useCatalogToolsetCredentials.js";
|
|
44
|
+
import { useSkillDetailsPanelData as Ot } from "./catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.js";
|
|
45
|
+
import { FavoriteEntityType as kt, useFavoriteEntitiesState as At } from "./catalog/useFavoriteEntitiesState/useFavoriteEntitiesState.js";
|
|
46
|
+
import { usePublishFolders as jt } from "./catalog/usePublishFolders/usePublishFolders.js";
|
|
47
|
+
import { buildAnnouncementSignature as Mt, hasAnnouncementContent as Nt, hasStructuredAnnouncement as Pt, sanitizeAnnouncementHtml as Ft, sanitizeAnnouncementMessageHtml as It } from "./conversation/announcement-message.js";
|
|
48
|
+
import { DEFAULT_GENERATION_CONFLICT_MESSAGE as Lt, GenerationConflictError as Rt, createChatStreamApi as zt } from "./conversation/create-chat-stream-api.js";
|
|
49
|
+
import { shouldWatchForDisplayNameUpdate as Bt } from "./conversation/display-name-watch.js";
|
|
50
|
+
import { formatAppVersion as Vt, sanitizeFooterHtml as Ht } from "./conversation/footer-message.js";
|
|
51
|
+
import { getModelIdFromConversationId as Ut } from "./conversation/get-model-id-from-conversation-id.js";
|
|
52
|
+
import { getTimeOfDayGreeting as Wt } from "./conversation/greeting.js";
|
|
53
|
+
import { createDeploymentChangedMessage as Gt } from "./conversation/message-factory.js";
|
|
54
|
+
import { getLastDeploymentId as Kt, getLastUserMessageToolConfiguration as qt, isMessageStreaming as Jt, messageHasStages as Yt, normalizeResponseFormat as Xt } from "./conversation/message-utils.js";
|
|
55
|
+
import { toOverlayMessages as Zt } from "./conversation/overlay-messages.js";
|
|
56
|
+
import { getQuickAppConversationStarters as Qt } from "./conversation/quick-app-conversation-starters.js";
|
|
57
|
+
import { getStarterPopulateText as $t, getStartersFromSchema as en } from "./conversation/starter-option.js";
|
|
58
|
+
import { useOAuthCallbackCompletion as tn } from "./oauth/useOAuthCallbackCompletion/useOAuthCallbackCompletion.js";
|
|
59
|
+
import { buildPromptExportEnvelope as nn, buildPromptExportFileName as rn, serializePromptExport as an } from "./prompt/export-prompt.js";
|
|
60
|
+
import { PROMPT_CONTENT_MAX_LENGTH as on, PROMPT_COUNTER_ANNOUNCE_THRESHOLD as sn, PROMPT_DESCRIPTION_MAX_LENGTH as cn, PROMPT_NAME_MAX_LENGTH as ln, PromptFieldError as un, buildPromptPath as dn, getRemainingCharacters as fn, validatePromptContent as pn, validatePromptDescription as mn, validatePromptName as hn } from "./prompt/prompt.js";
|
|
61
|
+
import { usePromptsState as gn } from "./prompt/usePromptsState/usePromptsState.js";
|
|
62
|
+
import { UnsupportedTriggerReason as _n } from "./scheduled-task/scheduled-task-mapping.js";
|
|
63
|
+
import { apSchedulerDayToJsDay as vn, jsDayToApSchedulerDay as yn } from "./shared/cron-weekday.js";
|
|
64
|
+
import { mapFormValuesToCreateBody as bn, mapFormValuesToUpdateBody as xn, mapScheduledTaskDtoToFormValues as Sn } from "./scheduled-task/scheduled-task-trigger.js";
|
|
65
|
+
import { validateSkillFileBatch as Cn } from "./skill/skill-file-batch-validation.js";
|
|
66
|
+
import { skillFileToAttachment as wn } from "./skill/skill-file-preview.js";
|
|
67
|
+
import { SkillEditorLoadState as Tn, useSkillEditorLoad as En } from "./skill/useSkillEditorLoad.js";
|
|
68
|
+
import { useSkillEditorSubmit as Dn } from "./skill/useSkillEditorSubmit.js";
|
|
69
|
+
import { useSkillFileActions as On } from "./skill/useSkillFileActions.js";
|
|
70
|
+
import { SkillPreviewErrorKind as kn, useSkillFilePreview as An } from "./skill/useSkillFilePreview.js";
|
|
71
|
+
import { useSkillsState as jn } from "./skill/useSkillsState/useSkillsState.js";
|
|
72
|
+
import { RecipientsCountStatus as Mn, useShareRecipientsCount as Nn } from "./useShareRecipientsCount/useShareRecipientsCount.js";
|
|
73
|
+
import { deriveConversationRowActionState as Pn } from "./conversation/deriveConversationRowActionState/deriveConversationRowActionState.js";
|
|
74
|
+
import { useActiveConversationSync as Fn } from "./conversation/useActiveConversationSync/useActiveConversationSync.js";
|
|
75
|
+
import { useAsyncConfirmDialog as In } from "./conversation/useAsyncConfirmDialog/useAsyncConfirmDialog.js";
|
|
76
|
+
import { useConversationLookupMaps as Ln } from "./conversation/useConversationLookupMaps/useConversationLookupMaps.js";
|
|
77
|
+
import { getConversationSource as Rn, useConversationPanelItems as zn } from "./conversation/useConversationPanelItems/useConversationPanelItems.js";
|
|
78
|
+
import { useImportFilePicker as Bn } from "./conversation/useImportFilePicker/useImportFilePicker.js";
|
|
79
|
+
import { sanitizeFileName as Vn, splitFileNameExtension as Hn, trimFileNameToByteLimit as Un } from "./files/file-name.js";
|
|
80
|
+
import { useAttachmentUpload as Wn } from "./conversation/useAttachmentUpload/useAttachmentUpload.js";
|
|
81
|
+
import { AudioTranscriptionError as Gn, AudioTranscriptionErrorReason as Kn } from "./conversation/useTranscribeAudio/audio-transcription-error.js";
|
|
82
|
+
import { useTranscribeAudio as qn } from "./conversation/useTranscribeAudio/useTranscribeAudio.js";
|
|
83
|
+
import { DEFAULT_MAX_ARCHIVE_BYTES as Jn, useConversationExport as Yn } from "./conversation/useConversationExport/useConversationExport.js";
|
|
84
|
+
import { attachmentToDto as Xn, attachmentsToDtos as Zn } from "./conversation/useConversationHandlers/attachment-to-dto.js";
|
|
85
|
+
import { createMessagePair as Qn } from "./conversation/useConversationHandlers/message-factory.js";
|
|
86
|
+
import { hasActiveToolConfig as $n, isAnswerIncomplete as er, isMessageChanged as tr, shouldRerunGenerationOnEdit as nr } from "./conversation/useConversationHandlers/message-utils.js";
|
|
87
|
+
import { getStarterConversationText as rr, getStarterDisplayText as ir, getStarterSubmitText as ar } from "./conversation/useConversationHandlers/starter-option.js";
|
|
88
|
+
import { getConversationPath as or } from "./conversation/useConversationStream/conversation-path.js";
|
|
89
|
+
import { useConversationHandlers as sr } from "./conversation/useConversationHandlers/useConversationHandlers.js";
|
|
90
|
+
import { useConversationImport as cr } from "./conversation/useConversationImport/useConversationImport.js";
|
|
91
|
+
import { useConversationScroll as lr } from "./conversation/useConversationScroll/useConversationScroll.js";
|
|
92
|
+
import { isAwaitingGenerationResume as ur } from "./conversation/useConversationStream/generation-resume.js";
|
|
93
|
+
import { useConversationStream as dr } from "./conversation/useConversationStream/useConversationStream.js";
|
|
94
|
+
import { useConversationSources as fr } from "./conversation-sources/useConversationSources/useConversationSources.js";
|
|
95
|
+
import { DialFilesApiUploadMode as pr } from "./files/dial-files-api.js";
|
|
96
|
+
import { FileManagerNotificationReason as mr, FileNameValidationErrorReason as hr, FileOperationKind as gr } from "./files/dial-file-manager.types.js";
|
|
97
|
+
import { COLUMNS_WITHOUT_AUTHOR as _r, COLUMNS_WITH_AUTHOR as vr, CORE_PERMISSION_MAP as yr, DATE_OPTIONS as br, PATH_SEPARATOR_REGEXP as xr, RESERVED_MARKER_NAME as Sr, UPLOAD_CONCURRENCY as Cr } from "./files/dial-file-manager.model.js";
|
|
98
|
+
import { DialFileManagerActionProfile as wr, DialFileManagerVariant as Tr, deriveActionProfile as Er } from "./files/file-manager-variant.js";
|
|
99
|
+
import { buildSharedItemVirtualPath as Dr, dialCorePathToRelative as Or, findDialFileByPath as kr, findFolderByVirtualPath as Ar, formatOperationFolderName as jr, getVirtualPathName as Mr, hasDialFileWritePermission as Nr, hasForbiddenNameSymbols as Pr, isCopyMoveDuplicateAllowed as Fr, isShareActionsAllowed as Ir, normalizeVirtualPath as Lr, parseNewFolderVirtualPath as Rr, resolveOwnerCoords as zr } from "./files/dial-file-manager-path.util.js";
|
|
100
|
+
import { getParentFolderPath as Br, resolveDialFileApiPath as Vr, virtualPathToApiPath as Hr } from "./files/resolve-dial-file-api-path.js";
|
|
101
|
+
import { prepareCopyItems as Ur, prepareMoveRenameItems as Wr } from "./files/dial-file-manager-copy-move.util.js";
|
|
102
|
+
import { buildFromCache as Gr, fetchByTab as Kr, fetchForSearch as qr, findFirstSuccessfulCopyMoveItem as Jr, mapCorePermissions as Yr, mapFileMetadataToDialFile as Xr, mapSearchItem as Zr, mergeCreatedFolderIntoCache as Qr, updateEntry as $r } from "./files/dial-file-manager-mapping.util.js";
|
|
103
|
+
import { createFilesApiClient as ei } from "./files/create-files-api.js";
|
|
104
|
+
import { createUploadFileWithProgress as ti } from "./files/create-upload-file-with-progress.js";
|
|
105
|
+
import { openAnnotationAttachment as ni } from "./files/annotation.js";
|
|
106
|
+
import { annotationToOoxmlCanvasContent as ri, annotationToPdfCanvasContent as ii, clearAttachmentCache as ai, hasAttachmentTextSource as oi, referenceAttachmentToPdfCanvasContent as si, resolveCodeCanvasContent as ci, resolveGroupedVisualizerCanvasContent as li, resolveHtmlCanvasContent as ui, resolveImageCanvasContent as di, resolveJsonCanvasContent as fi, resolveMarkdownCanvasContent as pi, resolveOoxmlCanvasContent as mi, resolvePdfCanvasContent as hi, resolveTextCanvasContent as gi, resolveVisualizerCanvasContent as _i } from "./files/attachment-canvas.js";
|
|
107
|
+
import { getUrlFileName as vi, isExternalSourcePreviewable as yi, resolveExternalSourceContentType as bi } from "./files/source-content.js";
|
|
108
|
+
import { annotationToDisplayAttachment as xi, attachmentDtoToDisplayAttachment as Si, attachmentDtosToDisplayAttachments as Ci } from "./files/attachment-dto-to-display.js";
|
|
109
|
+
import { dialFileToAttachment as wi, dialFilesToAttachments as Ti, dialFolderPathToAttachment as Ei } from "./files/dial-file-to-attachment.js";
|
|
110
|
+
import { DownloadDestinationType as Di } from "./files/download-destination.js";
|
|
111
|
+
import { prepareDownloadDestination as Oi } from "./files/prepare-download-destination.js";
|
|
112
|
+
import { useDialFileListing as ki } from "./files/useDialFileListing/useDialFileListing.js";
|
|
113
|
+
import { useDialFileMetadata as Ai } from "./files/useDialFileMetadata/useDialFileMetadata.js";
|
|
114
|
+
import { useDialFileMutations as ji } from "./files/useDialFileMutations/useDialFileMutations.js";
|
|
115
|
+
import { useDialFileSharing as Mi } from "./files/useDialFileSharing/useDialFileSharing.js";
|
|
116
|
+
import { useDialFileUploadBatch as Ni } from "./files/useDialFileUploadBatch/useDialFileUploadBatch.js";
|
|
117
|
+
import { useDialFileManager as Pi } from "./files/useDialFileManager/useDialFileManager.js";
|
|
118
|
+
import { useDialFileManagerTabConfig as Fi } from "./files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.js";
|
|
119
|
+
import { isCustomAppSchema as Ii, isQuickAppSchema as Li } from "./shared/application-schema.js";
|
|
120
|
+
import { getBrowserTimezone as Ri } from "./shared/browser-timezone.js";
|
|
121
|
+
import { isValidAbsoluteUrl as zi, isValidFeaturesData as Bi, parseFeaturesData as Vi } from "./shared/custom-apps.js";
|
|
122
|
+
import { buildExternalServiceScopeId as Hi, getExternalServiceFallbackName as Ui, parseExternalServiceUrl as Wi } from "./shared/external-services.js";
|
|
123
|
+
import { useChatSettingsFormConfig as Gi } from "./useChatSettingsFormConfig/useChatSettingsFormConfig.js";
|
|
124
|
+
import { usePageFileDrag as Ki } from "./usePageFileDrag/usePageFileDrag.js";
|
|
125
|
+
import { useViewportWidth as qi } from "./useViewportWidth/useViewportWidth.js";
|
|
126
|
+
import { usePanelMaxWidth as Ji } from "./usePanelMaxWidth/usePanelMaxWidth.js";
|
|
127
|
+
import { useShareLink as Yi } from "./useShareLink/useShareLink.js";
|
|
128
|
+
import { useToolsMenu as Xi } from "./useToolsMenu/useToolsMenu.js";
|
|
129
|
+
import { useUsageData as Zi } from "./usage/useUsageData/useUsageData.js";
|
|
130
|
+
import { McpAppResourceFetchError as Qi, createMcpAppsApiClient as $i } from "./mcp-apps/mcp-apps-api-client.js";
|
|
131
|
+
import { useMcpAppTools as ea } from "./mcp-apps/useMcpAppTools/useMcpAppTools.js";
|
|
132
|
+
import { useMcpAppHostContext as ta } from "./mcp-apps/useMcpAppHostContext/useMcpAppHostContext.js";
|
|
133
|
+
import { useMcpAppHostAdapter as na } from "./mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.js";
|
|
134
|
+
import { useOpenMcpAppCanvas as ra } from "./mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.js";
|
|
135
|
+
import { useGridEditingScroll as ia } from "@epam/ai-dial-chat-shared";
|
|
136
|
+
export { x as AttachmentValidationErrorReason, Gn as AudioTranscriptionError, Kn as AudioTranscriptionErrorReason, R as AuthenticationType, _r as COLUMNS_WITHOUT_AUTHOR, vr as COLUMNS_WITH_AUTHOR, yr as CORE_PERMISSION_MAP, $e as CatalogPrimaryActionType, T as ConversationExportMode, E as ConversationTransferErrorCode, D as ConversationTransferWarningCode, br as DATE_OPTIONS, Lt as DEFAULT_GENERATION_CONFLICT_MESSAGE, Jn as DEFAULT_MAX_ARCHIVE_BYTES, wr as DialFileManagerActionProfile, Tr as DialFileManagerVariant, pr as DialFilesApiUploadMode, Di as DownloadDestinationType, k as EXPORT_APP_NAME, O as ExportFileNameKind, kt as FavoriteEntityType, mr as FileManagerNotificationReason, hr as FileNameValidationErrorReason, gr as FileOperationKind, Rt as GenerationConflictError, Qi as McpAppResourceFetchError, Re as McpResourceKind, at as OAuthResourceKind, xr as PATH_SEPARATOR_REGEXP, on as PROMPT_CONTENT_MAX_LENGTH, sn as PROMPT_COUNTER_ANNOUNCE_THRESHOLD, cn as PROMPT_DESCRIPTION_MAX_LENGTH, ln as PROMPT_NAME_MAX_LENGTH, we as PUBLIC_SKILL_BUCKET, un as PromptFieldError, ae as PromptSource, Sr as RESERVED_MARKER_NAME, Mn as RecipientsCountStatus, ue as SKILL_FILE_UPLOAD_MAX_BYTES, Te as SKILL_LISTING_MAX_PAGES, Ee as SKILL_LISTING_PAGE_SIZE, de as SKILL_MANIFEST_FILE, De as SKILL_MANIFEST_MAX_BYTES, fe as SKILL_UPLOAD_MAX_FILES, pe as SKILL_UPLOAD_MAX_TOTAL_BYTES, Tn as SkillEditorLoadState, kn as SkillPreviewErrorKind, Oe as SkillSource, ot as TOOLSET_REDIRECT_STATE_KEY, st as ToolsetAuthStatus, ct as ToolsetAuthTypes, lt as ToolsetCredentialsLevel, Tt as ToolsetLoginOutcomeType, ut as ToolsetOAuthCallbackQuery, dt as ToolsetOAuthChannelControlType, ft as ToolsetOAuthFailureReason, pt as ToolsetOAuthInitiationResultType, mt as ToolsetOAuthResultType, Cr as UPLOAD_CONCURRENCY, _n as UnsupportedTriggerReason, ht as WithLogin, xi as annotationToDisplayAttachment, ri as annotationToOoxmlCanvasContent, ii as annotationToPdfCanvasContent, vn as apSchedulerDayToJsDay, W as appendLocaleCode, Si as attachmentDtoToDisplayAttachment, Ci as attachmentDtosToDisplayAttachments, Xn as attachmentToDto, Zn as attachmentsToDtos, G as buildAdditionalLocaleOptions, Mt as buildAnnouncementSignature, ze as buildApplicationMcpUrl, N as buildChatCompletionsUrl, Be as buildConnectApi, P as buildDeploymentConnectApi, Hi as buildExternalServiceScopeId, Gr as buildFromCache, nn as buildPromptExportEnvelope, rn as buildPromptExportFileName, se as buildPromptOverview, dn as buildPromptPath, F as buildResponsesUrl, Dr as buildSharedItemVirtualPath, Ae as buildSkillContentTree, me as buildSkillFilesPayload, he as buildSkillManifest, ge as buildSkillManifestForSubmit, _e as buildSkillManifestFromFrontmatter, je as buildSkillOverview, bt as buildToolsetAuthorizeUrl, Ve as buildToolsetMcpUrl, ai as clearAttachmentCache, K as composeLocalePayload, zt as createChatStreamApi, i as createCsrfMiddleware, Gt as createDeploymentChangedMessage, ei as createFilesApiClient, $i as createMcpAppsApiClient, Qn as createMessagePair, j as createPublishApiClient, a as createUnauthorizedMiddleware, ti as createUploadFileWithProgress, V as decodeToolsetId, q as decomposeLocalizedFields, Er as deriveActionProfile, Je as deriveAvailableTabIds, Pn as deriveConversationRowActionState, Ye as deriveFavoriteItems, Or as dialCorePathToRelative, wi as dialFileToAttachment, Ti as dialFilesToAttachments, Ei as dialFolderPathToAttachment, m as downloadAttachment, gt as emitToolsetLoginSuccess, I as encodeDeploymentId, H as encodeToolsetId, Kr as fetchByTab, qr as fetchForSearch, Xe as filterCatalogItemsBySelector, Ze as filterHiddenOwnedItems, L as findDeploymentByIdOrReference, kr as findDialFileByPath, Jr as findFirstSuccessfulCopyMoveItem, Ar as findFolderByVirtualPath, Vt as formatAppVersion, X as formatCalendarDate, C as formatDateYM, w as formatDateYMD, jr as formatOperationFolderName, A as formatQuotedNameList, e as getApiErrorDetails, t as getApiErrorMessage, n as getApiErrorStatus, Ri as getBrowserTimezone, or as getConversationPath, Rn as getConversationSource, Ui as getExternalServiceFallbackName, Kt as getLastDeploymentId, qt as getLastUserMessageToolConfiguration, Ut as getModelIdFromConversationId, Br as getParentFolderPath, Ue as getPublicCatalogEntityFolderPath, Qt as getQuickAppConversationStarters, fn as getRemainingCharacters, rr as getStarterConversationText, ir as getStarterDisplayText, $t as getStarterPopulateText, ar as getStarterSubmitText, en as getStartersFromSchema, Wt as getTimeOfDayGreeting, vt as getToolsetOAuthChannelName, xt as getToolsetRedirectUri, vi as getUrlFileName, Mr as getVirtualPathName, $n as hasActiveToolConfig, Nt as hasAnnouncementContent, oi as hasAttachmentTextSource, Nr as hasDialFileWritePermission, Pr as hasForbiddenNameSymbols, Pt as hasStructuredAnnouncement, o as includesIgnoreCase, St as initiateOAuthLogin, er as isAnswerIncomplete, ur as isAwaitingGenerationResume, r as isConversationNotFoundError, Fr as isCopyMoveDuplicateAllowed, Ii as isCustomAppSchema, _ as isDialFileAcceptType, d as isDialFileId, h as isDownloadableAttachment, yi as isExternalSourcePreviewable, tr as isMessageChanged, Jt as isMessageStreaming, ce as isOrganisationPromptItem, We as isPublicCatalogEntityId, U as isPublicToolsetId, Li as isQuickAppSchema, Ir as isShareActionsAllowed, zi as isValidAbsoluteUrl, Bi as isValidFeaturesData, ve as isValidSkillRelativePath, yn as jsDayToApSchedulerDay, Yr as mapCorePermissions, Q as mapDeploymentDetailsDtoToEntityDetails, z as mapDeploymentLimitsDtoToCatalogLimits, B as mapDeploymentLimitsToInput, te as mapDeploymentToCatalogItem, ne as mapDeploymentToolsetCredentials, $ as mapEntityDetailsToCatalogDetails, Xr as mapFileMetadataToDialFile, bn as mapFormValuesToCreateBody, xn as mapFormValuesToUpdateBody, le as mapPromptToCatalogItem, Ge as mapPublishConversationResultDto, Ke as mapPublishHistoryEntryDto, Sn as mapScheduledTaskDtoToFormValues, Zr as mapSearchItem, Me as mapSkillToCatalogItem, ee as mapToolsetCredentials, re as mapToolsetToCatalogItem, Qr as mergeCreatedFolderIntoCache, Yt as messageHasStages, v as mimeTypesToAttachmentExtensionLabels, y as mimeTypesToDialFileAcceptTypes, b as mimeTypesToFileAccept, ye as nameFromPath, Ct as navigateToolsetOAuthPopup, Xt as normalizeResponseFormat, be as normalizeSkillName, Lr as normalizeVirtualPath, ni as openAnnotationAttachment, wt as openToolsetOAuthPopup, Z as padTwoDigits, Wi as parseExternalServiceUrl, Vi as parseFeaturesData, Rr as parseNewFolderVirtualPath, oe as parsePromptResourceUrl, xe as parseSkillManifest, nt as parseSkillManifestDocument, ke as parseSkillResourceUrl, Ur as prepareCopyItems, Oi as prepareDownloadDestination, Wr as prepareMoveRenameItems, Ne as readSkillFileBytes, Pe as readSkillFilePreviewBytes, Fe as readSkillManifest, Qe as reconcileFilterTopics, si as referenceAttachmentToPdfCanvasContent, et as resolveCatalogPrimaryAction, ci as resolveCodeCanvasContent, ie as resolveDeploymentFolder, Vr as resolveDialFileApiPath, f as resolveDialFileBucketAndPath, bi as resolveExternalSourceContentType, li as resolveGroupedVisualizerCanvasContent, ui as resolveHtmlCanvasContent, di as resolveImageCanvasContent, fi as resolveJsonCanvasContent, J as resolveLocalizedText, pi as resolveMarkdownCanvasContent, He as resolveMcpResourceKind, mi as resolveOoxmlCanvasContent, zr as resolveOwnerCoords, hi as resolvePdfCanvasContent, p as resolveRelativeDialFilePath, Ie as resolveSkillFileDownloadPath, Le as resolveSkillManifestFileId, gi as resolveTextCanvasContent, _i as resolveVisualizerCanvasContent, s as safeDecodeURI, c as safeDecodeURIComponent, Ft as sanitizeAnnouncementHtml, It as sanitizeAnnouncementMessageHtml, Vn as sanitizeFileName, Ht as sanitizeFooterHtml, an as serializePromptExport, nr as shouldRerunGenerationOnEdit, Bt as shouldWatchForDisplayNameUpdate, Se as skillFileBytesToBlob, wn as skillFileToAttachment, Hn as splitFileNameExtension, l as stripSurroundingSlashes, u as stripTrailingSlashes, _t as subscribeToolsetLoginSuccess, Y as toBaseLocale, Zt as toOverlayMessages, qe as toPublishEntityType, M as toPublishRuleDto, Un as trimFileNameToByteLimit, Ce as unpackSkillArchive, $r as updateEntry, Fn as useActiveConversationSync, In as useAsyncConfirmDialog, g as useAttachmentAction, Wn as useAttachmentUpload, S as useAttachmentValidation, tt as useCatalogEditNavigation, it as useCatalogItemDetails, Dt as useCatalogToolsetCredentials, Gi as useChatSettingsFormConfig, Yn as useConversationExport, sr as useConversationHandlers, cr as useConversationImport, Ln as useConversationLookupMaps, zn as useConversationPanelItems, lr as useConversationScroll, fr as useConversationSources, dr as useConversationStream, ki as useDialFileListing, Pi as useDialFileManager, Fi as useDialFileManagerTabConfig, Ai as useDialFileMetadata, ji as useDialFileMutations, Mi as useDialFileSharing, Ni as useDialFileUploadBatch, At as useFavoriteEntitiesState, ia as useGridEditingScroll, Bn as useImportFilePicker, na as useMcpAppHostAdapter, ta as useMcpAppHostContext, ea as useMcpAppTools, tn as useOAuthCallbackCompletion, ra as useOpenMcpAppCanvas, Ki as usePageFileDrag, Ji as usePanelMaxWidth, gn as usePromptsState, jt as usePublishFolders, Yi as useShareLink, Nn as useShareRecipientsCount, Ot as useSkillDetailsPanelData, En as useSkillEditorLoad, Dn as useSkillEditorSubmit, On as useSkillFileActions, An as useSkillFilePreview, rt as useSkillItemDetails, jn as useSkillsState, Xi as useToolsMenu, Et as useToolsetLogin, qn as useTranscribeAudio, Zi as useUsageData, qi as useViewportWidth, pn as validatePromptContent, mn as validatePromptDescription, hn as validatePromptName, Cn as validateSkillFileBatch, Hr as virtualPathToApiPath, yt as waitForToolsetOAuthResult };
|