@epam/ai-dial-skills 1.2.0-dev.201 → 1.2.0-dev.208

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.
@@ -1,3 +1,4 @@
1
+ import { SkillUnresolvedReason } from '../types/skill-unresolved-reason';
1
2
  /** Localizable string labels for {@link ChatSkillProps}'s component. */
2
3
  export interface ChatSkillLabels {
3
4
  /** Label for the tooltip's "View details" action. Defaults to `'View details'`. */
@@ -8,6 +9,18 @@ export interface ChatSkillLabels {
8
9
  * remove the skill or select a different model to proceed.
9
10
  */
10
11
  unsupportedTooltipLabel?: string;
12
+ /**
13
+ * Message shown alone in the tooltip, with a trash-can icon, while
14
+ * `unresolvedReason` is `SkillUnresolvedReason.Deleted`, stating that the
15
+ * skill has been deleted and its details are no longer available.
16
+ */
17
+ deletedTooltipLabel?: string;
18
+ /**
19
+ * Message shown alone in the tooltip, with a lock icon, while
20
+ * `unresolvedReason` is `SkillUnresolvedReason.NotShared`, stating that the
21
+ * viewer lacks access to the skill and should ask the chat owner to share it.
22
+ */
23
+ notSharedTooltipLabel?: string;
11
24
  }
12
25
  /** How a skill chip opens its description card. */
13
26
  export type ChatSkillDetailsTrigger = 'hover' | 'click';
@@ -30,6 +43,15 @@ export interface ChatSkillProps {
30
43
  * "View details" button.
31
44
  */
32
45
  isUnsupported?: boolean;
46
+ /**
47
+ * Why this skill's url resolved to no loaded listing entry (absent from
48
+ * every pool). While set, it takes precedence over `isUnsupported` and the
49
+ * tooltip shows a fixed icon-plus-message for that reason alone — no
50
+ * description paragraph and no "View details" button, since there is no
51
+ * metadata to fetch and no panel to open. The `/{name}` label itself is
52
+ * unaffected — it keeps rendering with `labelClassName` alone.
53
+ */
54
+ unresolvedReason?: SkillUnresolvedReason;
33
55
  /** CSS class applied to the `/name` label. Defaults to `'dial-body-paragraph-text'`. */
34
56
  labelClassName?: string;
35
57
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"chat-skill-props.d.ts","sourceRoot":"","sources":["../../src/models/chat-skill-props.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,WAAW,eAAe;IAC9B,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,mDAAmD;AACnD,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,OAAO,CAAC;AAExD,yCAAyC;AACzC,MAAM,WAAW,cAAc;IAC7B,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,yFAAyF;IACzF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,wFAAwF;IACxF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC,wFAAwF;IACxF,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,oCAAoC;IACpC,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B"}
1
+ {"version":3,"file":"chat-skill-props.d.ts","sourceRoot":"","sources":["../../src/models/chat-skill-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,wEAAwE;AACxE,MAAM,WAAW,eAAe;IAC9B,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,mDAAmD;AACnD,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,OAAO,CAAC;AAExD,yCAAyC;AACzC,MAAM,WAAW,cAAc;IAC7B,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,yFAAyF;IACzF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;OAOG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IACzC,wFAAwF;IACxF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC,wFAAwF;IACxF,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,oCAAoC;IACpC,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B"}
@@ -12,13 +12,17 @@ export interface SkillArchiveUploadDialogLabels {
12
12
  fileInputAriaLabel?: string;
13
13
  /** Accessible name for the dialog's close button. Defaults to `'Close'`. */
14
14
  closeAriaLabel?: string;
15
+ /** Accessible name of the spinner shown while the upload is in flight. Defaults to `'Uploading skill'`. */
16
+ uploadingAriaLabel?: string;
15
17
  }
16
18
  /** Props for {@link SkillArchiveUploadDialog}. */
17
19
  export interface SkillArchiveUploadDialogProps {
18
20
  /** Whether the dialog is open. */
19
21
  isOpen: boolean;
20
- /** Rejection message rendered under the drop area; omit when nothing was rejected. */
22
+ /** Rejection or upload-failure message rendered under the drop area; omit when there is none. */
21
23
  errorText?: string;
24
+ /** Whether an upload is in flight: the drop area is disabled and a spinner is shown. Defaults to `false`. */
25
+ isUploading?: boolean;
22
26
  /** `accept` value forwarded to the drop zone/native file input. Defaults to `'.zip,.md'`. */
23
27
  accept?: string;
24
28
  /** Labels rendered by the dialog; each falls back to an English default. */
@@ -1 +1 @@
1
- {"version":3,"file":"skill-archive-upload-dialog-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-archive-upload-dialog-props.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,MAAM,WAAW,8BAA8B;IAC7C,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yGAAyG;IACzG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oFAAoF;IACpF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uHAAuH;IACvH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gHAAgH;IAChH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,kCAAkC;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,sFAAsF;IACtF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6FAA6F;IAC7F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,+DAA+D;IAC/D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,6EAA6E;IAC7E,eAAe,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACzC,+DAA+D;IAC/D,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B"}
1
+ {"version":3,"file":"skill-archive-upload-dialog-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-archive-upload-dialog-props.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,MAAM,WAAW,8BAA8B;IAC7C,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yGAAyG;IACzG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oFAAoF;IACpF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uHAAuH;IACvH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gHAAgH;IAChH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2GAA2G;IAC3G,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,kCAAkC;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,iGAAiG;IACjG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6GAA6G;IAC7G,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6FAA6F;IAC7F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4EAA4E;IAC5E,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,+DAA+D;IAC/D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,6EAA6E;IAC7E,eAAe,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACzC,+DAA+D;IAC/D,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B"}
@@ -1,3 +1,4 @@
1
+ import { SkillUnresolvedReason } from '../types/skill-unresolved-reason';
1
2
  /** Props for the shared skill info tooltip content component. */
2
3
  export interface SkillInfoTooltipContentProps {
3
4
  /** The skill's listing-sourced description paragraph. Omitted entirely when empty. */
@@ -7,6 +8,18 @@ export interface SkillInfoTooltipContentProps {
7
8
  * no description paragraph and no "View details" button render.
8
9
  */
9
10
  unsupportedMessage?: string;
11
+ /**
12
+ * Why the skill's url resolved to no loaded listing entry. While set, it
13
+ * takes precedence over `unsupportedMessage` and replaces the whole
14
+ * content with an icon and the matching fixed message — no description
15
+ * paragraph and no "View details" button render. Required alongside
16
+ * `deletedMessage`/`notSharedMessage`, whichever this value selects.
17
+ */
18
+ unresolvedReason?: SkillUnresolvedReason;
19
+ /** Message shown alone, with a trash-can icon, while `unresolvedReason` is `SkillUnresolvedReason.Deleted`. */
20
+ deletedMessage?: string;
21
+ /** Message shown alone, with a lock icon, while `unresolvedReason` is `SkillUnresolvedReason.NotShared`. */
22
+ notSharedMessage?: string;
10
23
  /** Label for the "View details" action. Defaults to `'View details'`. */
11
24
  viewDetailsLabel?: string;
12
25
  /** Called when the "View details" button is clicked. Unused while `unsupportedMessage` is set. */
@@ -1 +1 @@
1
- {"version":3,"file":"skill-info-tooltip-content-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-info-tooltip-content-props.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,WAAW,4BAA4B;IAC3C,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kGAAkG;IAClG,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"skill-info-tooltip-content-props.d.ts","sourceRoot":"","sources":["../../src/models/skill-info-tooltip-content-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,iEAAiE;AACjE,MAAM,WAAW,4BAA4B;IAC3C,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IACzC,+GAA+G;IAC/G,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4GAA4G;IAC5G,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kGAAkG;IAClG,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
@@ -29,6 +29,18 @@ export interface SkillSelectorOverlayLabels {
29
29
  * is open with an empty query. Defaults to `'Type to filter'`.
30
30
  */
31
31
  emptyQueryHintLabel?: string;
32
+ /**
33
+ * History tooltip message shown, with a trash-can icon, for a history
34
+ * entry whose url is the viewer's own bucket but resolves to no loaded
35
+ * listing entry. Defaults to `ChatSkill`'s own default text.
36
+ */
37
+ deletedTooltipLabel?: string;
38
+ /**
39
+ * History tooltip message shown, with a lock icon, for a history entry
40
+ * whose url is a foreign bucket and resolves to no loaded listing entry.
41
+ * Defaults to `ChatSkill`'s own default text.
42
+ */
43
+ notSharedTooltipLabel?: string;
32
44
  /** Labels forwarded to the favorites panel rendered as the overlay. */
33
45
  panelLabels?: FavoriteSkillsPanelLabels;
34
46
  }
@@ -54,6 +66,16 @@ export interface UseSkillSelectorOverlayOptions {
54
66
  publicSkills?: SkillListingEntry[];
55
67
  /** Ids (`skills/{bucket}/{path}` URLs) of the user's favorited skills. */
56
68
  favoriteIds: ReadonlySet<string>;
69
+ /**
70
+ * The viewer's own DIAL Core storage bucket (as it appears in a
71
+ * `skills/{bucket}/{path}` url). Used only to tell "the viewer's own skill
72
+ * was deleted" apart from "a foreign skill was never shared with the
73
+ * viewer" when a history entry's url resolves to no loaded listing entry
74
+ * (see `renderHistorySkillSegments`/`renderHistorySkills`'s
75
+ * `unresolvedReason`). A plain resolved value — this lib reads no
76
+ * auth/user context of its own.
77
+ */
78
+ viewerBucket: string;
57
79
  /** Removes a skill from favorites; fired by a row's star button. */
58
80
  onToggleFavorite: (id: string) => void;
59
81
  /** Localizable string overrides. */
@@ -189,20 +211,24 @@ export interface UseSkillSelectorOverlayResult {
189
211
  * ordered array interleaving plain-text runs and `ChatSkill` elements at
190
212
  * each mention's actual text position — for `UserMessageBubble`'s
191
213
  * `textSegments` prop. Resolves each entry's name from the listing pools
192
- * matched on its url, falling back to the url's last non-empty segment,
193
- * sharing the "View details" panel with the favorite rows. Returns `null`
194
- * while `skills` is empty/absent; a mention `matchSkillMentions` cannot
195
- * locate in `content` is simply omitted from the render (see
196
- * `matchSkillMentions`'s own doc for that heuristic).
214
+ * matched on its url, falling back to the url's last non-empty segment;
215
+ * when a url matches no pool, the rendered `ChatSkill` also carries
216
+ * `unresolvedReason` (`'deleted'` when the url's bucket equals
217
+ * `viewerBucket`, `'not-shared'` otherwise), replacing the tooltip's
218
+ * description and "View details" button with a fixed icon-plus-message.
219
+ * Shares the "View details" panel with the favorite rows for resolved
220
+ * entries. Returns `null` while `skills` is empty/absent; a mention
221
+ * `matchSkillMentions` cannot locate in `content` is simply omitted from
222
+ * the render (see `matchSkillMentions`'s own doc for that heuristic).
197
223
  */
198
224
  renderHistorySkillSegments: (content: string, skills: RequestSkill[] | undefined) => ReactNode[] | null;
199
225
  /**
200
226
  * Renders every entry of `skills` as a flat list of `ChatSkill` elements,
201
227
  * ignoring text position — for `AssistantMessageBubble`'s `beforeContent`
202
228
  * slot, since assistant text is model-generated markdown and never
203
- * authors positioned mentions. Each entry's name/description resolve the
204
- * same way as `renderHistorySkillSegments`. Returns `null` while the
205
- * array is empty/absent.
229
+ * authors positioned mentions. Each entry's name/description/
230
+ * `unresolvedReason` resolve the same way as `renderHistorySkillSegments`.
231
+ * Returns `null` while the array is empty/absent.
206
232
  */
207
233
  renderHistorySkills: (skills: RequestSkill[] | undefined) => ReactNode;
208
234
  }
@@ -1 +1 @@
1
- {"version":3,"file":"skill-selector-overlay.d.ts","sourceRoot":"","sources":["../../src/models/skill-selector-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,aAA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ACvC;;;;;;OAMG;IACH,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C;;;;;;;OAOG;IACH,kBAAkB,EAAE,CAClB,aAAa,EAAE,MAAM,KAClB,oBAAoB,GAAG,SAAS,CAAC;IACtC;;;;;;OAMG;IACH,qBAAqB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C;;;;OAIG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAC5B;;;;;OAKG;IACH,cAAc,EAAE,YAAY,EAAE,GAAG,SAAS,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B;;;;;;OAMG;IACH,iBAAiB,EAAE,CACjB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAC/B,IAAI,CAAC;IACV;;;;;;;;;;;;;;OAcG;IACH,0BAA0B,EAAE,CAC1B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAC/B,SAAS,EAAE,GAAG,IAAI,CAAC;IACxB;;;;;;;OAOG;IACH,mBAAmB,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,SAAS,CAAC;CACxE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-skills",
3
3
  "description": "Host-agnostic UI for picking a favorite skill to attach to a chat input",
4
- "version": "1.2.0-dev.201",
4
+ "version": "1.2.0-dev.208",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@tabler/icons-react": "^3.44.0",
21
- "@epam/ai-dial-catalog": "1.2.0-dev.201",
22
- "@epam/ai-dial-conversation-input": "1.2.0-dev.201"
21
+ "@epam/ai-dial-catalog": "1.2.0-dev.208",
22
+ "@epam/ai-dial-conversation-input": "1.2.0-dev.208"
23
23
  },
24
24
  "peerDependencies": {
25
- "@epam/ai-dial-chat-shared": "1.2.0-dev.201",
25
+ "@epam/ai-dial-chat-shared": "1.2.0-dev.208",
26
26
  "@epam/ai-dial-react-file-manager": "^0.3.0-dev.16",
27
27
  "@epam/ai-dial-ui-kit": "^0.15.0-dev.23",
28
28
  "react": "^19.2.8"
@@ -0,0 +1,8 @@
1
+ /** Why a skill's url resolved to no loaded listing entry. */
2
+ export declare enum SkillUnresolvedReason {
3
+ /** The url's bucket is the viewer's own bucket. The viewer's own skill no longer exists. */
4
+ Deleted = "deleted",
5
+ /** The url's bucket belongs to someone else. A personal skill never shared with the viewer (or since unshared/deleted). */
6
+ NotShared = "not-shared"
7
+ }
8
+ //# sourceMappingURL=skill-unresolved-reason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-unresolved-reason.d.ts","sourceRoot":"","sources":["../../src/types/skill-unresolved-reason.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,oBAAY,qBAAqB;IAC/B,4FAA4F;IAC5F,OAAO,YAAY;IACnB,2HAA2H;IAC3H,SAAS,eAAe;CACzB"}
@@ -1,2 +1,3 @@
1
1
  export declare const getSkillFallbackName: (url: string) => string;
2
+ export declare const getSkillUrlBucket: (url: string) => string | null;
2
3
  //# sourceMappingURL=skill-url.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skill-url.d.ts","sourceRoot":"","sources":["../../src/utils/skill-url.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB,GAAI,KAAK,MAAM,KAAG,MAGlD,CAAC"}
1
+ {"version":3,"file":"skill-url.d.ts","sourceRoot":"","sources":["../../src/utils/skill-url.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB,GAAI,KAAK,MAAM,KAAG,MAGlD,CAAC;AAUF,eAAO,MAAM,iBAAiB,GAAI,KAAK,MAAM,KAAG,MAAM,GAAG,IAIxD,CAAC"}