@xpert-ai/chatkit-types 0.8.0 → 0.10.0

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/dist/index.js CHANGED
@@ -1,5 +1,120 @@
1
1
  import { CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED, ChatMessageEventTypeEnum, ChatMessageStepCategory, ChatMessageTypeEnum, STATE_VARIABLE_HUMAN } from "./constants.js";
2
2
  import "@langchain/core/messages/tool";
3
+ function resourceCardId(card) {
4
+ return JSON.stringify([
5
+ card.resource.namespace,
6
+ card.resource.type,
7
+ card.resource.id
8
+ ]);
9
+ }
10
+ function nonempty(value) {
11
+ return typeof value === "string" && value.trim().length > 0;
12
+ }
13
+ function scalar(value) {
14
+ return value === null || typeof value === "string" || typeof value === "boolean" || typeof value === "number" && Number.isFinite(value);
15
+ }
16
+ function parseResourceCard(value) {
17
+ if (!value || typeof value !== "object" || !("resource" in value) || !("title" in value) || !nonempty(value.title) || !("open" in value))
18
+ return null;
19
+ const resource = value.resource;
20
+ if (!resource || typeof resource !== "object" || !("namespace" in resource) || !nonempty(resource.namespace) || !("type" in resource) || !nonempty(resource.type) || !("id" in resource) || !nonempty(resource.id))
21
+ return null;
22
+ if ("artifactId" in resource && !nonempty(resource.artifactId)) return null;
23
+ const open = value.open;
24
+ if (!open || typeof open !== "object" || !("target" in open) || open.target !== "workbench.view" && open.target !== "assistant.project" || !("viewKey" in open) || !nonempty(open.viewKey))
25
+ return null;
26
+ if (Object.keys(open).some(
27
+ (key) => ![
28
+ "target",
29
+ "viewKey",
30
+ "selectionId",
31
+ "parameters",
32
+ "projectId"
33
+ ].includes(key)
34
+ ))
35
+ return null;
36
+ if ("selectionId" in open && !nonempty(open.selectionId)) return null;
37
+ const parameters = {};
38
+ if ("parameters" in open) {
39
+ if (!open.parameters || typeof open.parameters !== "object" || Array.isArray(open.parameters))
40
+ return null;
41
+ for (const [key, item] of Object.entries(open.parameters)) {
42
+ if (["__proto__", "constructor", "prototype"].includes(key)) return null;
43
+ if (scalar(item)) parameters[key] = item;
44
+ else if (Array.isArray(item) && item.every(scalar))
45
+ parameters[key] = item;
46
+ else return null;
47
+ }
48
+ }
49
+ const common = {
50
+ viewKey: open.viewKey,
51
+ ..."selectionId" in open && nonempty(open.selectionId) ? { selectionId: open.selectionId } : {},
52
+ ..."parameters" in open ? { parameters } : {}
53
+ };
54
+ let target;
55
+ if (open.target === "assistant.project") {
56
+ if (!("projectId" in open) || !nonempty(open.projectId)) return null;
57
+ target = {
58
+ ...common,
59
+ target: "assistant.project",
60
+ projectId: open.projectId
61
+ };
62
+ } else {
63
+ if ("projectId" in open) return null;
64
+ target = { ...common, target: "workbench.view" };
65
+ }
66
+ if ("description" in value && typeof value.description !== "string")
67
+ return null;
68
+ let icon;
69
+ if ("icon" in value) {
70
+ const candidate = value.icon;
71
+ if (!candidate || typeof candidate !== "object" || !("type" in candidate) || !("value" in candidate) || !nonempty(candidate.value))
72
+ return null;
73
+ if (candidate.type !== "svg" && candidate.type !== "emoji" && candidate.type !== "font")
74
+ return null;
75
+ icon = { type: candidate.type, value: candidate.value };
76
+ }
77
+ return {
78
+ resource: {
79
+ namespace: resource.namespace,
80
+ type: resource.type,
81
+ id: resource.id,
82
+ ..."artifactId" in resource && nonempty(resource.artifactId) ? { artifactId: resource.artifactId } : {}
83
+ },
84
+ title: value.title,
85
+ ..."description" in value ? { description: value.description } : {},
86
+ ...icon ? { icon } : {},
87
+ open: target
88
+ };
89
+ }
90
+ function createResourceCardContent(card) {
91
+ const data = parseResourceCard(card);
92
+ if (!data) throw new Error("Invalid resource card");
93
+ return { type: "resource_card", id: resourceCardId(data), data };
94
+ }
95
+ function isResourceCardContent(value) {
96
+ return !!value && typeof value === "object" && "type" in value && value.type === "resource_card";
97
+ }
98
+ function parseResourceCardContent(value) {
99
+ if (!value || typeof value !== "object" || !("type" in value) || value.type !== "resource_card" || !("data" in value))
100
+ return null;
101
+ const card = parseResourceCard(value.data);
102
+ if (!card) return null;
103
+ return {
104
+ ...createResourceCardContent(card),
105
+ ..."messageId" in value && nonempty(value.messageId) ? { messageId: value.messageId } : {},
106
+ ..."executionId" in value && nonempty(value.executionId) ? { executionId: value.executionId } : {}
107
+ };
108
+ }
109
+ function upsertResourceCardContent(parts, card) {
110
+ const index = parts.findIndex(
111
+ (part) => {
112
+ var _a;
113
+ return ((_a = parseResourceCardContent(part)) == null ? void 0 : _a.id) === card.id;
114
+ }
115
+ );
116
+ return index < 0 ? [...parts, card] : parts.map((part, i) => i === index ? card : part);
117
+ }
3
118
  function isApprovalHostReference(value) {
4
119
  return !!value && typeof value === "object" && "kind" in value && typeof value.kind === "string" && value.kind.length > 0 && "id" in value && typeof value.id === "string" && value.id.length > 0 && "expiresAt" in value && typeof value.expiresAt === "number" && Number.isFinite(value.expiresAt);
5
120
  }
@@ -300,6 +415,170 @@ function normalizeThreadReference(value) {
300
415
  function isLocator(value) {
301
416
  return typeof value === "string" && value.trim().length > 0 && value.length <= 128;
302
417
  }
418
+ const CHATKIT_ASSISTANT_CUSTOMIZE_EFFECT = "assistant.customize";
419
+ function parseAssistantAppearance(value) {
420
+ if (!value || typeof value !== "object" || !("version" in value) || value.version !== 1 || !("kind" in value))
421
+ return;
422
+ if (value.kind === "image") return { version: 1, kind: "image" };
423
+ if (!("id" in value) || typeof value.id !== "string" || !/^[a-zA-Z0-9][a-zA-Z0-9_-]{0,99}$/.test(value.id))
424
+ return;
425
+ if (value.kind === "character" && "color" in value && typeof value.color === "string" && /^#[0-9a-f]{6}$/i.test(value.color)) {
426
+ if ("config" in value && value.config !== void 0 && !isCharacterConfig(value.config))
427
+ return;
428
+ return value;
429
+ }
430
+ if (value.kind === "pet") {
431
+ if ("spriteVersionNumber" in value && value.spriteVersionNumber !== void 0 && value.spriteVersionNumber !== 1 && value.spriteVersionNumber !== 2) return;
432
+ if ("asset" in value && value.asset !== void 0) {
433
+ const asset = value.asset;
434
+ if (!asset || typeof asset !== "object" || !("type" in asset) || !["sprite-atlas", "animated-image"].includes(String(asset.type)) || !("url" in asset) || typeof asset.url !== "string" || asset.url.length > 4096 || !/^(https?:\/\/|\/(?!\/))/.test(asset.url))
435
+ return;
436
+ }
437
+ return value;
438
+ }
439
+ }
440
+ function isCharacterConfig(value) {
441
+ return !!value && typeof value === "object" && "shape" in value && [
442
+ "round",
443
+ "pebble",
444
+ "pill",
445
+ "drop",
446
+ "flame",
447
+ "triangle",
448
+ "square",
449
+ "bag",
450
+ "star",
451
+ "heart",
452
+ "cloud",
453
+ "clover"
454
+ ].includes(String(value.shape)) && "eyes" in value && [
455
+ "oval",
456
+ "toon",
457
+ "pill",
458
+ "dot",
459
+ "ring",
460
+ "happy",
461
+ "sleepy",
462
+ "wink",
463
+ "plus",
464
+ "slash",
465
+ "squint"
466
+ ].includes(String(value.eyes)) && "mouth" in value && ["none", "smile", "open", "neutral", "o"].includes(String(value.mouth)) && "motion" in value && ["float", "bounce", "sway", "none"].includes(String(value.motion)) && "eyeSize" in value && typeof value.eyeSize === "number" && Number.isFinite(value.eyeSize) && value.eyeSize >= 0.6 && value.eyeSize <= 1.5 && "eyeSpacing" in value && typeof value.eyeSpacing === "number" && Number.isFinite(value.eyeSpacing) && value.eyeSpacing >= 0.55 && value.eyeSpacing <= 1.6 && (!("brows" in value) || value.brows === void 0 || ["none", "flat", "angry", "worried", "raised"].includes(
467
+ String(value.brows)
468
+ )) && (!("ink" in value) || value.ink === void 0 || ["auto", "dark", "light"].includes(String(value.ink))) && (!("tilt" in value) || value.tilt === void 0 || typeof value.tilt === "number" && Number.isFinite(value.tilt) && value.tilt >= -15 && value.tilt <= 15) && (!("speed" in value) || value.speed === void 0 || typeof value.speed === "number" && Number.isFinite(value.speed) && value.speed >= 0.5 && value.speed <= 2) && (!("blink" in value) || value.blink === void 0 || typeof value.blink === "boolean");
469
+ }
470
+ const defaultCharacterConfig = {
471
+ shape: "round",
472
+ eyes: "oval",
473
+ mouth: "smile",
474
+ motion: "float",
475
+ eyeSize: 1,
476
+ eyeSpacing: 1,
477
+ brows: "none",
478
+ ink: "auto",
479
+ tilt: 0,
480
+ speed: 1,
481
+ blink: true
482
+ };
483
+ const shapes = {
484
+ round: '<circle cx="100" cy="100" r="65"/>',
485
+ pebble: '<path d="M34 96 C37 49 77 28 114 38 C161 42 177 84 163 128 C155 164 109 176 68 157 C43 149 30 121 34 96Z"/>',
486
+ pill: '<rect x="26" y="51" width="148" height="99" rx="49"/>',
487
+ drop: '<path d="M100 24 C87 46 39 72 39 111 C39 174 161 174 161 111 C161 72 113 46 100 24Z"/>',
488
+ flame: '<path d="M114 22 C108 59 159 57 164 109 C174 179 35 187 35 118 C34 94 45 79 62 64 C59 89 71 92 74 75 C76 48 96 30 114 22Z"/>',
489
+ triangle: '<path d="M86 35 Q100 13 114 35 L177 142 Q188 165 161 167 L39 167 Q12 165 24 142Z"/>',
490
+ square: '<rect x="37" y="37" width="126" height="126" rx="34"/>',
491
+ bag: '<path d="M78 56 V37 Q78 30 86 30 H114 Q122 30 122 37 V56" fill="none" stroke="currentColor" stroke-width="8"/><rect x="29" y="52" width="142" height="111" rx="22"/>',
492
+ star: '<path d="M92 30 Q100 14 108 30 L126 64 L166 70 Q185 72 171 87 L143 113 L149 152 Q153 172 135 164 L100 144 L65 164 Q47 172 51 152 L57 113 L29 87 Q15 72 34 70 L74 64Z"/>',
493
+ heart: '<path d="M100 60 C58 2 6 49 32 101 C45 129 71 151 100 171 C129 151 155 129 168 101 C194 49 142 2 100 60Z"/>',
494
+ cloud: '<path d="M48 153 C3 152 15 92 45 87 C42 40 93 30 114 58 C150 27 182 68 168 99 C199 139 163 165 133 152 C108 174 75 168 65 152Z"/>',
495
+ clover: '<path d="M100 49 C143 -1 200 63 151 100 C201 141 140 200 100 151 C60 200 -1 141 49 100 C0 60 60 0 100 49Z"/>'
496
+ };
497
+ const finite = (value, fallback, min, max) => typeof value === "number" && Number.isFinite(value) ? Math.min(max, Math.max(min, value)) : fallback;
498
+ function customCharacterSvg(appearance, state = "idle", animate = false) {
499
+ const config = { ...defaultCharacterConfig, ...appearance.config };
500
+ const color = /^#[0-9a-f]{6}$/i.test(appearance.color) ? appearance.color : "#7c6ee6";
501
+ const luminance = [1, 3, 5].map((start) => {
502
+ const channel = parseInt(color.slice(start, start + 2), 16) / 255;
503
+ return channel <= 0.04045 ? channel / 12.92 : ((channel + 0.055) / 1.055) ** 2.4;
504
+ });
505
+ const darkBackground = luminance[0] * 0.2126 + luminance[1] * 0.7152 + luminance[2] * 0.0722 < 0.18;
506
+ const ink = config.ink === "light" ? "#ffffff" : config.ink === "dark" ? "#20212c" : darkBackground ? "#ffffff" : "#20212c";
507
+ const speed = finite(config.speed, 1, 0.5, 2);
508
+ const tilt = finite(config.tilt, 0, -15, 15);
509
+ const eyeSize = finite(config.eyeSize, 1, 0.6, 1.5);
510
+ const gap = finite(config.eyeSpacing, 1, 0.55, 1.6) * 18;
511
+ const moving = animate && config.motion !== "none";
512
+ const thinking = state === "review";
513
+ const working = state === "running" || state === "running-right" || state === "running-left";
514
+ const success = state === "waving" || state === "jumping";
515
+ const sleeping = state === "sleeping";
516
+ const alarm = state === "waiting";
517
+ const faceScale = [
518
+ "drop",
519
+ "flame",
520
+ "triangle",
521
+ "star",
522
+ "heart",
523
+ "clover"
524
+ ].includes(config.shape) ? 0.78 : 1;
525
+ const faceY = ["drop", "triangle", "flame"].includes(config.shape) ? 10 : 0;
526
+ const eyes = sleeping ? "sleepy" : success ? "happy" : config.eyes;
527
+ const brows = alarm || state === "failed" ? "worried" : config.brows;
528
+ const blink = moving && config.blink !== false && !sleeping ? `<animateTransform attributeName="transform" type="scale" values="1 1;1 1;1 .1;1 1;1 1" keyTimes="0;.83;.87;.91;1" dur="${4.5 / speed}s" repeatCount="indefinite"/>` : "";
529
+ const eye = (x, right) => {
530
+ let drawing;
531
+ switch (eyes) {
532
+ case "happy":
533
+ drawing = '<path d="M-7 1 Q0 -11 7 1"/>';
534
+ break;
535
+ case "sleepy":
536
+ drawing = '<path d="M-7 0 Q0 4 7 0"/>';
537
+ break;
538
+ case "plus":
539
+ drawing = '<path d="M-7 0 H7 M0 -7 V7"/>';
540
+ break;
541
+ case "slash":
542
+ drawing = '<path d="M-5 7 L5 -7"/>';
543
+ break;
544
+ case "squint":
545
+ drawing = `<path d="${right ? "M5 -7 L-3 0 L5 7" : "M-5 -7 L3 0 L-5 7"}"/>`;
546
+ break;
547
+ case "ring":
548
+ drawing = '<ellipse rx="6" ry="8" stroke-width="3"/>';
549
+ break;
550
+ case "dot":
551
+ drawing = `<circle r="4.5" fill="${ink}" stroke="none"/>`;
552
+ break;
553
+ case "pill":
554
+ drawing = `<rect x="-3" y="-9" width="6" height="18" rx="3" fill="${ink}" stroke="none"/>`;
555
+ break;
556
+ case "wink":
557
+ if (right) {
558
+ drawing = '<path d="M-6 -5 L3 0 L-6 5"/>';
559
+ break;
560
+ }
561
+ case "toon":
562
+ drawing = `<ellipse rx="9" ry="11" fill="#ffffff" stroke="#20212c" stroke-width="1"/><ellipse cx="${thinking ? 2 : 0}" cy="${thinking ? -3 : working ? 3 : 1}" rx="4" ry="6" fill="#20212c" stroke="none"/>`;
563
+ break;
564
+ default:
565
+ drawing = `<ellipse rx="5" ry="8" fill="${ink}" stroke="none"/>`;
566
+ }
567
+ return `<g transform="translate(${x} 97)"><g>${["oval", "toon", "dot", "ring", "pill", "wink"].includes(eyes) ? blink : ""}${drawing}</g></g>`;
568
+ };
569
+ const brow = (x, right) => {
570
+ const lift = right ? -1 : 1;
571
+ const path = brows === "flat" ? "M-8 -17 H8" : brows === "angry" ? `M-8 ${-21 - 4 * lift} L8 ${-21 + 4 * lift}` : brows === "worried" ? `M-8 ${-21 + 4 * lift} L8 ${-21 - 4 * lift}` : brows === "raised" ? right ? "M-8 -21 Q0 -30 8 -21" : "M-8 -18 H8" : "";
572
+ return path ? `<path transform="translate(${x} 97)" d="${path}" stroke-width="3"/>` : "";
573
+ };
574
+ const mouth = state === "failed" ? '<path d="M88 130 Q100 116 112 130"/>' : alarm || thinking ? '<ellipse cx="100" cy="127" rx="4" ry="5"/>' : success || config.mouth === "open" ? `<path d="M87 123 Q100 128 113 123 Q111 144 100 144 Q89 144 87 123Z" fill="${ink}"/>` : config.mouth === "none" ? "" : config.mouth === "neutral" || sleeping ? '<path d="M91 127 H109"/>' : config.mouth === "o" ? '<ellipse cx="100" cy="127" rx="5" ry="7"/>' : '<path d="M87 125 Q100 138 113 125"/>';
575
+ const animation = !moving ? "" : state === "failed" ? `<animateTransform attributeName="transform" type="translate" values="0 0;-3 0;3 0;0 0" dur="${0.4 / speed}s" repeatCount="2"/>` : config.motion === "sway" ? `<animateTransform attributeName="transform" type="rotate" values="-5 100 130;5 100 130;-5 100 130" dur="${2.4 / speed}s" repeatCount="indefinite"/>` : `<animateTransform attributeName="transform" type="translate" values="0 0;0 ${success || config.motion === "bounce" ? -12 : sleeping ? -2 : -5};0 0" dur="${(success || config.motion === "bounce" ? 1.1 : sleeping ? 4 : 3) / speed}s" repeatCount="indefinite"/>`;
576
+ const pulse = moving ? `<animate attributeName="opacity" values=".35;1;.35" dur="${1.5 / speed}s" repeatCount="indefinite"/>` : "";
577
+ const activity = thinking ? `<g fill="${ink}" opacity=".6"><circle cx="153" cy="49" r="3"/><circle cx="161" cy="39" r="5"/><circle cx="174" cy="26" r="7"/>${pulse}</g>` : working ? `<g fill="none" stroke="${ink}" stroke-width="3" stroke-linecap="round"><path d="M158 142 H175 M158 150 H183 M158 158 H171"/>${pulse}</g>` : alarm ? `<g fill="${ink}"><circle cx="161" cy="46" r="10"/><path d="M161 40 V47 M161 51 V52" stroke="${color}" stroke-width="2.5"/>${pulse}</g>` : sleeping ? `<path d="M150 60 H163 L151 72 H164 M169 35 H184 L170 48 H185" fill="none" stroke="${ink}" opacity=".5" stroke-width="3"/>` : state === "listening" ? `<g fill="none" stroke="${ink}" stroke-width="3" stroke-linecap="round"><path d="M167 84 V108 M175 91 V101"/>${pulse}</g>` : "";
578
+ const shift = thinking ? "3 -3" : working ? "1 3" : "0 0";
579
+ const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><ellipse cx="100" cy="186" rx="42" ry="5" fill="${color}" opacity=".12"/><g>${animation}<g transform="rotate(${tilt} 100 100)"><g fill="${color}" color="${color}">${shapes[config.shape] ?? shapes.round}</g><g transform="translate(100 ${100 + faceY}) scale(${faceScale}) translate(-100 -100)"><g transform="translate(${shift})" fill="none" stroke="${ink}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><g transform="translate(100 97) scale(${eyeSize}) translate(-100 -97)">${eye(100 - gap, false)}${eye(100 + gap, true)}${brow(100 - gap, false)}${brow(100 + gap, true)}</g>${mouth}</g></g></g></g>${activity}</svg>`;
580
+ return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`;
581
+ }
303
582
  const PET_ANIMATION_NAMES = [
304
583
  "idle",
305
584
  "running-right",
@@ -368,6 +647,11 @@ const DEFAULT_PET_SIZE = {
368
647
  width: petSpriteAtlas.cellWidth,
369
648
  height: petSpriteAtlas.cellHeight
370
649
  };
650
+ function petLookFrame(dx, dy, deadZone = 12) {
651
+ if (!Number.isFinite(dx) || !Number.isFinite(dy) || Math.hypot(dx, dy) <= deadZone) return null;
652
+ const index = (Math.round(Math.atan2(dx, -dy) / (Math.PI / 8)) + 16) % 16;
653
+ return { row: 9 + Math.floor(index / 8), column: index % 8 };
654
+ }
371
655
  const DEFAULT_PET_BOUNDS_PADDING = {
372
656
  top: 0,
373
657
  right: 0,
@@ -394,7 +678,7 @@ function mergeFrameAnimation(base, override) {
394
678
  frameDurations: (override == null ? void 0 : override.frameDurations) && override.frameDurations.length > 0 ? override.frameDurations : base.frameDurations
395
679
  };
396
680
  }
397
- function mergePetSpriteAtlas(override) {
681
+ function mergePetSpriteAtlas(override, spriteVersionNumber = 1) {
398
682
  var _a;
399
683
  const animations = {};
400
684
  for (const name of PET_ANIMATION_NAMES) {
@@ -405,7 +689,7 @@ function mergePetSpriteAtlas(override) {
405
689
  }
406
690
  return {
407
691
  columns: (override == null ? void 0 : override.columns) ?? petSpriteAtlas.columns,
408
- rows: (override == null ? void 0 : override.rows) ?? petSpriteAtlas.rows,
692
+ rows: (override == null ? void 0 : override.rows) ?? (spriteVersionNumber === 2 ? 11 : petSpriteAtlas.rows),
409
693
  cellWidth: (override == null ? void 0 : override.cellWidth) ?? petSpriteAtlas.cellWidth,
410
694
  cellHeight: (override == null ? void 0 : override.cellHeight) ?? petSpriteAtlas.cellHeight,
411
695
  animations
@@ -454,7 +738,7 @@ function resolvePetCharacter(character) {
454
738
  return {
455
739
  kind: "atlas",
456
740
  src: character.src,
457
- atlas: mergePetSpriteAtlas(character.atlas)
741
+ atlas: mergePetSpriteAtlas(character.atlas, character.spriteVersionNumber)
458
742
  };
459
743
  }
460
744
  function normalizeBoundsPadding(value) {
@@ -827,6 +1111,7 @@ function countFileChangeLines(report) {
827
1111
  return { status: "ready", added: m - previous[m], removed: n - previous[m] };
828
1112
  }
829
1113
  export {
1114
+ CHATKIT_ASSISTANT_CUSTOMIZE_EFFECT,
830
1115
  CHATKIT_TASK_SUMMARY_OPEN_RESOURCE_EFFECT,
831
1116
  CHAT_EVENT_TYPE_FOLLOW_UP_CONSUMED,
832
1117
  ChatMessageEventTypeEnum,
@@ -848,6 +1133,9 @@ export {
848
1133
  chatSkillUsageKey,
849
1134
  clampPetPosition,
850
1135
  countFileChangeLines,
1136
+ createResourceCardContent,
1137
+ customCharacterSvg,
1138
+ defaultCharacterConfig,
851
1139
  fileChangeRangeKey,
852
1140
  getFileActivityContribution,
853
1141
  getLegacyFileActivityContribution,
@@ -869,6 +1157,7 @@ export {
869
1157
  isLangGraphInterrupt,
870
1158
  isLangGraphInterruptPayload,
871
1159
  isLangGraphInterruptTask,
1160
+ isResourceCardContent,
872
1161
  isToolCallInterrupt,
873
1162
  isToolCallInterruptPayload,
874
1163
  isToolCallInterruptTask,
@@ -884,12 +1173,18 @@ export {
884
1173
  normalizePetOptions,
885
1174
  normalizeRequestLanguage,
886
1175
  normalizeThreadReference,
1176
+ parseAssistantAppearance,
887
1177
  parseFileActivityContent,
888
1178
  parseFileChangeReport,
1179
+ parseResourceCard,
1180
+ parseResourceCardContent,
1181
+ petLookFrame,
889
1182
  petSpriteAtlas,
890
1183
  projectMessageFileActivity,
891
1184
  resolveLocalizedText,
892
1185
  resolvePetCharacter,
893
- upsertFileActivityContent
1186
+ resourceCardId,
1187
+ upsertFileActivityContent,
1188
+ upsertResourceCardContent
894
1189
  };
895
1190
  //# sourceMappingURL=index.js.map