@epam/ai-dial-chat-hooks 1.3.0-dev.259 → 1.3.0-dev.260
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/catalog-entity-kind.d.ts +31 -0
- package/catalog/catalog-entity-kind.d.ts.map +1 -0
- package/catalog/catalog-entity-kind.js +21 -0
- package/catalog.js +12 -11
- package/conversation/useConversationPanelItems/useConversationPanelItems.d.ts.map +1 -1
- package/conversation/useDeploymentChangeTracking.d.ts.map +1 -1
- package/conversation-sources/stage-citations.d.ts +9 -0
- package/conversation-sources/stage-citations.d.ts.map +1 -0
- package/conversation-sources/stage-citations.js +8 -0
- package/conversation-sources.js +3 -1
- package/entry-points/catalog.d.ts +1 -0
- package/entry-points/catalog.d.ts.map +1 -1
- package/entry-points/conversation-sources.d.ts +1 -0
- package/entry-points/conversation-sources.d.ts.map +1 -1
- package/entry-points/scheduled-tasks.d.ts +1 -0
- package/entry-points/scheduled-tasks.d.ts.map +1 -1
- package/entry-points/skills-state.d.ts +1 -0
- package/entry-points/skills-state.d.ts.map +1 -1
- package/entry-points/utils.d.ts +2 -0
- package/entry-points/utils.d.ts.map +1 -1
- package/external-services/useExternalServiceLogin.d.ts +6 -0
- package/external-services/useExternalServiceLogin.d.ts.map +1 -1
- package/external-services/useExternalServiceLogin.js +14 -12
- package/external-services.js +1 -1
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.js +165 -159
- package/package.json +17 -17
- package/scheduled-task/scheduled-task-next-occurrence.d.ts +9 -0
- package/scheduled-task/scheduled-task-next-occurrence.d.ts.map +1 -0
- package/scheduled-task/scheduled-task-next-occurrence.js +20 -0
- package/scheduled-task/useActiveScheduledTaskDetails.d.ts.map +1 -1
- package/scheduled-tasks.js +6 -5
- package/shared/client-channel.d.ts +53 -0
- package/shared/client-channel.d.ts.map +1 -0
- package/shared/client-channel.js +6 -0
- package/shared/theme-colors.d.ts +16 -0
- package/shared/theme-colors.d.ts.map +1 -0
- package/shared/theme-colors.js +14 -0
- package/skill/skill-lookup.d.ts +20 -0
- package/skill/skill-lookup.d.ts.map +1 -0
- package/skill/skill-lookup.js +12 -0
- package/skill-editor/useSkillFilePreviewSyncController.d.ts.map +1 -1
- package/skills-state.js +3 -1
- package/usage/map-user-usage-to-model-limits.d.ts.map +1 -1
- package/utils.js +6 -4
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/** A DIAL Core client-channel RPC request event, as framed on the `subscribe` SSE stream. */
|
|
2
|
+
export interface ClientChannelRpcRequest {
|
|
3
|
+
/** RPC correlation id the host answers with. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** RPC method name, e.g. `TOOLSET_SIGNIN_METHOD`. */
|
|
6
|
+
method: string;
|
|
7
|
+
/** Method-specific parameters. */
|
|
8
|
+
params?: Record<string, unknown>;
|
|
9
|
+
}
|
|
10
|
+
/** Method name for a mid-completion toolset sign-in interrupt. */
|
|
11
|
+
export declare const TOOLSET_SIGNIN_METHOD = "toolset/signin";
|
|
12
|
+
/** Method name for a mid-completion application external-service sign-in interrupt. */
|
|
13
|
+
export declare const EXTERNAL_SERVICE_SIGNIN_METHOD = "external-service/signin";
|
|
14
|
+
/** Kind of sign-in a pending client-channel event asks for. */
|
|
15
|
+
export declare enum PendingSigninEventKind {
|
|
16
|
+
/** A `toolset/signin` request. */
|
|
17
|
+
Toolset = "toolset",
|
|
18
|
+
/** An `external-service/signin` request. */
|
|
19
|
+
ExternalService = "external-service"
|
|
20
|
+
}
|
|
21
|
+
/** A pending `toolset/signin` event awaiting a login/decline resolution. */
|
|
22
|
+
export interface PendingToolsetSigninEvent {
|
|
23
|
+
/** Discriminant. */
|
|
24
|
+
kind: PendingSigninEventKind.Toolset;
|
|
25
|
+
/** RPC correlation id — every login/decline action resolves exactly this id. */
|
|
26
|
+
id: string;
|
|
27
|
+
/** Id of the toolset to sign in to. */
|
|
28
|
+
toolsetId: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A pending `external-service/signin` event awaiting a login/decline
|
|
32
|
+
* resolution. The underlying RPC event's `params.url` is shaped
|
|
33
|
+
* `applications/{bucket}/{app}/external_services/{name}` (parsed by
|
|
34
|
+
* `parseExternalServiceUrl`): `appId` is the application's own resource id
|
|
35
|
+
* (used to fetch its details for display metadata), `serviceName` keys the
|
|
36
|
+
* application's `external_services` map for this specific dependency's
|
|
37
|
+
* `displayName`/`authSettings`, and is also required (rejoined with `appId`
|
|
38
|
+
* via `buildExternalServiceScopeId`) as the exact scope id DIAL Core expects
|
|
39
|
+
* for sign-in/sign-out.
|
|
40
|
+
*/
|
|
41
|
+
export interface PendingExternalServiceSigninEvent {
|
|
42
|
+
/** Discriminant. */
|
|
43
|
+
kind: PendingSigninEventKind.ExternalService;
|
|
44
|
+
/** RPC correlation id — every login/decline action resolves exactly this id. */
|
|
45
|
+
id: string;
|
|
46
|
+
/** Resource id of the application that depends on the service. */
|
|
47
|
+
appId: string;
|
|
48
|
+
/** Key of the service in the application's `external_services` map. */
|
|
49
|
+
serviceName: string;
|
|
50
|
+
}
|
|
51
|
+
/** A pending sign-in event of either kind. */
|
|
52
|
+
export type PendingSigninEvent = PendingToolsetSigninEvent | PendingExternalServiceSigninEvent;
|
|
53
|
+
//# sourceMappingURL=client-channel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-channel.d.ts","sourceRoot":"","sources":["../../src/shared/client-channel.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,MAAM,WAAW,uBAAuB;IACtC,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,qDAAqD;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,kEAAkE;AAClE,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAEtD,uFAAuF;AACvF,eAAO,MAAM,8BAA8B,4BAA4B,CAAC;AAExE,+DAA+D;AAC/D,oBAAY,sBAAsB;IAChC,kCAAkC;IAClC,OAAO,YAAY;IACnB,4CAA4C;IAC5C,eAAe,qBAAqB;CACrC;AAED,4EAA4E;AAC5E,MAAM,WAAW,yBAAyB;IACxC,oBAAoB;IACpB,IAAI,EAAE,sBAAsB,CAAC,OAAO,CAAC;IACrC,gFAAgF;IAChF,EAAE,EAAE,MAAM,CAAC;IACX,uCAAuC;IACvC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,iCAAiC;IAChD,oBAAoB;IACpB,IAAI,EAAE,sBAAsB,CAAC,eAAe,CAAC;IAC7C,gFAAgF;IAChF,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,8CAA8C;AAC9C,MAAM,MAAM,kBAAkB,GAC5B,yBAAyB,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/shared/client-channel.ts
|
|
2
|
+
var e = "toolset/signin", t = "external-service/signin", n = /* @__PURE__ */ function(e) {
|
|
3
|
+
return e.Toolset = "toolset", e.ExternalService = "external-service", e;
|
|
4
|
+
}({});
|
|
5
|
+
//#endregion
|
|
6
|
+
export { t as EXTERNAL_SERVICE_SIGNIN_METHOD, n as PendingSigninEventKind, e as TOOLSET_SIGNIN_METHOD };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Colour scheme the operating system reports through `prefers-color-scheme`. */
|
|
2
|
+
export declare enum ColorScheme {
|
|
3
|
+
/** The OS asks for a dark scheme. */
|
|
4
|
+
Dark = "dark",
|
|
5
|
+
/** The OS asks for a light scheme, or states no preference. */
|
|
6
|
+
Light = "light"
|
|
7
|
+
}
|
|
8
|
+
/** Returns the colour scheme the OS currently prefers. */
|
|
9
|
+
export declare const getOsPreferredTheme: () => ColorScheme;
|
|
10
|
+
/**
|
|
11
|
+
* Writes `colors` to `element` as `--<key>` custom properties after removing
|
|
12
|
+
* the ones the previous call wrote to that element. Without `colors` it only
|
|
13
|
+
* removes them; properties it never wrote are left alone.
|
|
14
|
+
*/
|
|
15
|
+
export declare const applyThemeColors: (element: HTMLElement, colors?: Readonly<Record<string, string>>) => void;
|
|
16
|
+
//# sourceMappingURL=theme-colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-colors.d.ts","sourceRoot":"","sources":["../../src/shared/theme-colors.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,oBAAY,WAAW;IACrB,qCAAqC;IACrC,IAAI,SAAS;IACb,+DAA+D;IAC/D,KAAK,UAAU;CAChB;AAED,0DAA0D;AAC1D,eAAO,MAAM,mBAAmB,QAAO,WAGhB,CAAC;AAWxB;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAC3B,SAAS,WAAW,EACpB,SAAS,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KACxC,IAkBF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/shared/theme-colors.ts
|
|
2
|
+
var e = /* @__PURE__ */ function(e) {
|
|
3
|
+
return e.Dark = "dark", e.Light = "light", e;
|
|
4
|
+
}({}), t = () => window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", n = /* @__PURE__ */ new WeakMap(), r = (e, t) => {
|
|
5
|
+
let r = n.get(e);
|
|
6
|
+
if (r && (r.forEach((t) => e.style.removeProperty(t)), n.delete(e)), !t) return;
|
|
7
|
+
let i = Object.entries(t).map(([t, n]) => {
|
|
8
|
+
let r = `--${t}`;
|
|
9
|
+
return e.style.setProperty(r, n), r;
|
|
10
|
+
});
|
|
11
|
+
i.length > 0 && n.set(e, i);
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { e as ColorScheme, r as applyThemeColors, t as getOsPreferredTheme };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SkillMetadataItemDto } from '@epam/ai-dial-chat-api-client';
|
|
2
|
+
/** Skill listings a URL is looked up in, as a host's skills state exposes them. */
|
|
3
|
+
export interface SkillListingPools {
|
|
4
|
+
/** Skills the user owns. */
|
|
5
|
+
skills: SkillMetadataItemDto[];
|
|
6
|
+
/** Skills shared with the user. */
|
|
7
|
+
sharedWithMe?: SkillMetadataItemDto[];
|
|
8
|
+
/** Organisation-published skills. */
|
|
9
|
+
publicSkills?: SkillMetadataItemDto[];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Finds the listed skill a resource URL names, across the personal, shared and
|
|
13
|
+
* organisation listings. Both sides are compared per-segment normalized, so a
|
|
14
|
+
* URL that arrives decoded (e.g. read from a query string) still matches the
|
|
15
|
+
* percent-encoded `url` DIAL Core lists.
|
|
16
|
+
* @param pools - the skill listings to search
|
|
17
|
+
* @param url - `skills/{bucket}/{path}` resource URL, encoded or decoded
|
|
18
|
+
*/
|
|
19
|
+
export declare const findSkillByUrl: ({ skills, sharedWithMe, publicSkills }: SkillListingPools, url: string) => SkillMetadataItemDto | undefined;
|
|
20
|
+
//# sourceMappingURL=skill-lookup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-lookup.d.ts","sourceRoot":"","sources":["../../src/skill/skill-lookup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAG1E,mFAAmF;AACnF,MAAM,WAAW,iBAAiB;IAChC,4BAA4B;IAC5B,MAAM,EAAE,oBAAoB,EAAE,CAAC;IAC/B,mCAAmC;IACnC,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACtC,qCAAqC;IACrC,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAC;CACvC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GACzB,wCAAwC,iBAAiB,EACzD,KAAK,MAAM,KACV,oBAAoB,GAAG,SAKzB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { normalizeDeploymentId as e } from "../catalog/deployment-id.js";
|
|
2
|
+
//#region src/skill/skill-lookup.ts
|
|
3
|
+
var t = ({ skills: t, sharedWithMe: n, publicSkills: r }, i) => {
|
|
4
|
+
let a = e(i);
|
|
5
|
+
return [
|
|
6
|
+
...t,
|
|
7
|
+
...n ?? [],
|
|
8
|
+
...r ?? []
|
|
9
|
+
].find((t) => e(t.url) === a);
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { t as findSkillByUrl };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSkillFilePreviewSyncController.d.ts","sourceRoot":"","sources":["../../src/skill-editor/useSkillFilePreviewSyncController.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAQpE,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"useSkillFilePreviewSyncController.d.ts","sourceRoot":"","sources":["../../src/skill-editor/useSkillFilePreviewSyncController.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAQpE,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,6BAA6B,CAAC;AAErC,uDAAuD;AACvD,oBAAY,qBAAqB;IAC/B,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AACD,qDAAqD;AACrD,MAAM,WAAW,2BAA2B;IAC1C,0DAA0D;IAC1D,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,iCAAiC;IACjC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,gBAAgB,GAAG,SAAS,CAAC;IAChD,gCAAgC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oCAAoC;IACpC,eAAe,EAAE,MAAM,CAAC;IACxB,2CAA2C;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yCAAyC;IACzC,YAAY,EAAE,OAAO,CAAC;IACtB,yCAAyC;IACzC,eAAe,EAAE,OAAO,CAAC;IACzB,yCAAyC;IACzC,YAAY,EAAE,MAAM,MAAM,OAAO,CAAC;IAClC,0EAA0E;IAC1E,oBAAoB,EAAE,CACpB,UAAU,EAAE,iBAAiB,EAC7B,EAAE,EAAE,MAAM,EACV,YAAY,EAAE,MAAM,OAAO,KACxB,OAAO,CAAC,OAAO,CAAC,CAAC;IACtB,yCAAyC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AACD,qFAAqF;AACrF,eAAO,MAAM,iCAAiC,GAAI,sKAY/C,2BAA2B;;;CA0F7B,CAAC"}
|
package/skills-state.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { findSkillByUrl as e } from "./skill/skill-lookup.js";
|
|
2
|
+
import { useSkillsState as t } from "./skill/useSkillsState/useSkillsState.js";
|
|
3
|
+
export { e as findSkillByUrl, t as useSkillsState };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-user-usage-to-model-limits.d.ts","sourceRoot":"","sources":["../../src/usage/map-user-usage-to-model-limits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAGjB,yBAAyB,EAC1B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAIV,wBAAwB,EACxB,aAAa,EACd,MAAM,+BAA+B,CAAC;AAMvC,
|
|
1
|
+
{"version":3,"file":"map-user-usage-to-model-limits.d.ts","sourceRoot":"","sources":["../../src/usage/map-user-usage-to-model-limits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAGjB,yBAAyB,EAC1B,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAIV,wBAAwB,EACxB,aAAa,EACd,MAAM,+BAA+B,CAAC;AAMvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,kEAAkE;AAClE,KAAK,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC;AAE5E,oFAAoF;AACpF,KAAK,cAAc,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,CAAC;AAE1E,2EAA2E;AAC3E,KAAK,kBAAkB,GAAG,CACxB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,IAAI,EACxD,MAAM,EAAE,MAAM,KACX,MAAM,CAAC;AAmBZ;;;;GAIG;AACH,eAAO,MAAM,4BAA4B;IACvC,oEAAoE;;IAEpE,oEAAoE;;IAEpE,oEAAoE;;IAEpE,yFAAyF;;IAEzF,qFAAqF;;IAErF,iDAAiD;;IAEjD,kEAAkE;;IAElE,oEAAoE;;IAEpE,wGAAwG;;IAExG,sEAAsE;;IAEtE,sHAAsH;;IAEtH,oEAAoE;;IAEpE,8EAA8E;;IAE9E,sFAAsF;;CAE9E,CAAC;AA6HX;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,GAC/C,OAAO,yBAAyB,GAAG,SAAS,EAC5C,cAAc,MAAM,EACpB,GAAG,SAAS,EACZ,kBAAiB,eAA6B,KAC7C,wBAsBD,CAAC;AAkMH;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,GACpC,OAAO,yBAAyB,GAAG,SAAS,EAC5C,iBAAiB,iBAAiB,EAAE,EACpC,cAAc,MAAM,EACpB,GAAG,SAAS,EACZ,gBAAgB,cAAc,EAC9B,oBAAoB,kBAAkB,KACrC,aAAa,EAgIf,CAAC"}
|
package/utils.js
CHANGED
|
@@ -13,7 +13,9 @@ import { apSchedulerDayToJsDay as R, jsDayToApSchedulerDay as z } from "./shared
|
|
|
13
13
|
import { getBrowserTimezone as B } from "./shared/browser-timezone.js";
|
|
14
14
|
import { isValidAbsoluteUrl as V, isValidFeaturesData as H, parseFeaturesData as U } from "./shared/custom-apps.js";
|
|
15
15
|
import { buildExternalServiceScopeId as W, getExternalServiceFallbackName as G, parseExternalServiceUrl as K } from "./shared/external-services.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
16
|
+
import { EXTERNAL_SERVICE_SIGNIN_METHOD as q, PendingSigninEventKind as J, TOOLSET_SIGNIN_METHOD as Y } from "./shared/client-channel.js";
|
|
17
|
+
import { ColorScheme as X, applyThemeColors as Z, getOsPreferredTheme as Q } from "./shared/theme-colors.js";
|
|
18
|
+
import { useUsageData as $ } from "./usage/useUsageData/useUsageData.js";
|
|
19
|
+
import { triggerBrowserDownload as ee } from "./files/browser-download.js";
|
|
20
|
+
import { usePersistedState as te } from "./shared/usePersistedState/usePersistedState.js";
|
|
21
|
+
export { X as ColorScheme, q as EXTERNAL_SERVICE_SIGNIN_METHOD, D as PROMPT_CONTENT_MAX_LENGTH, O as PROMPT_COUNTER_ANNOUNCE_THRESHOLD, k as PROMPT_DESCRIPTION_MAX_LENGTH, A as PROMPT_NAME_MAX_LENGTH, J as PendingSigninEventKind, j as PromptFieldError, y as PromptSource, Y as TOOLSET_SIGNIN_METHOD, R as apSchedulerDayToJsDay, d as appendLocaleCode, Z as applyThemeColors, f as buildAdditionalLocaleOptions, W as buildExternalServiceScopeId, w as buildPromptExportEnvelope, T as buildPromptExportFileName, M as buildPromptPath, p as composeLocalePayload, i as createCsrfMiddleware, a as createUnauthorizedMiddleware, m as decomposeLocalizedFields, _ as formatCalendarDate, e as getApiErrorDetails, t as getApiErrorMessage, n as getApiErrorStatus, B as getBrowserTimezone, G as getExternalServiceFallbackName, Q as getOsPreferredTheme, N as getRemainingCharacters, x as getRunnerSchemas, o as includesIgnoreCase, r as isConversationNotFoundError, S as isCustomAppSchema, C as isQuickAppSchema, V as isValidAbsoluteUrl, H as isValidFeaturesData, z as jsDayToApSchedulerDay, v as padTwoDigits, K as parseExternalServiceUrl, U as parseFeaturesData, b as parsePromptResourceUrl, h as resolveLocalizedText, s as safeDecodeURI, c as safeDecodeURIComponent, E as serializePromptExport, l as stripSurroundingSlashes, u as stripTrailingSlashes, g as toBaseLocale, ee as triggerBrowserDownload, te as usePersistedState, L as usePromptsState, $ as useUsageData, P as validatePromptContent, F as validatePromptDescription, I as validatePromptName };
|