@worktango/ai-assistant 0.0.105 → 0.0.106
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/README.md +41 -0
- package/dist/{Absenteeism-vN3dczpk.mjs → Absenteeism-BSkoRzJx.mjs} +1 -1
- package/dist/{ActivityFeed-BP2T7qB8.mjs → ActivityFeed-clffD7nc.mjs} +1 -1
- package/dist/{AddUser-yaaOR4Gl.mjs → AddUser-Cv_IDb_b.mjs} +1 -1
- package/dist/{Admin-TUo7ZFYb.mjs → Admin-DWH5k64Y.mjs} +1 -1
- package/dist/{Admin-DhtkOjyJ.mjs → Admin-Z7R_uaGz.mjs} +1 -1
- package/dist/{AiGeneral-Co7bSAKP.mjs → AiGeneral-D-aWPBH_.mjs} +1 -1
- package/dist/{AiScoring-CSc4RlU6.mjs → AiScoring-pQjUcLAZ.mjs} +1 -1
- package/dist/{AiText-CXOb2P9v.mjs → AiText-C1G7FAox.mjs} +1 -1
- package/dist/{Anniversary-_bkDYwVC.mjs → Anniversary-C_P7JSo4.mjs} +1 -1
- package/dist/{Appreciation-D8naFIhP.mjs → Appreciation-CkbkHihC.mjs} +1 -1
- package/dist/{ArrowDown-C0HHs0pc.mjs → ArrowDown-CHdEdq3B.mjs} +1 -1
- package/dist/{ArrowLeft-CsiCR6lG.mjs → ArrowLeft-ay1OpzH_.mjs} +1 -1
- package/dist/{ArrowRight-DGt0bXg5.mjs → ArrowRight-C7BFro_3.mjs} +1 -1
- package/dist/{ArrowUp-BqYiMrAW.mjs → ArrowUp-DVLr2Wa7.mjs} +1 -1
- package/dist/{Attachment-B44Th4u-.mjs → Attachment-CJm3iwWG.mjs} +1 -1
- package/dist/{BeQuickDontHurry-dw56U3kA.mjs → BeQuickDontHurry-CLcrpI6P.mjs} +1 -1
- package/dist/{Birthday-h-Pn9OrU.mjs → Birthday-7Pt1rwYB.mjs} +1 -1
- package/dist/{BrandPromise-CjaAMXzf.mjs → BrandPromise-DGQTlW5f.mjs} +1 -1
- package/dist/{BrandVision-DQB3yq7v.mjs → BrandVision-B9GWWUqX.mjs} +1 -1
- package/dist/{Calendar-CTUeAM4S.mjs → Calendar-D2JFoIKn.mjs} +1 -1
- package/dist/{CaretDn-SI6rl-jR.mjs → CaretDn-BN_BtftL.mjs} +1 -1
- package/dist/{CaretDown-DTMOm8Xk.mjs → CaretDown-CWz4ZwoC.mjs} +1 -1
- package/dist/{CaretLeft-GP_niTPu.mjs → CaretLeft-7BftEv9x.mjs} +1 -1
- package/dist/{CaretRight-8kL0e94S.mjs → CaretRight-Hj16_R23.mjs} +1 -1
- package/dist/{CaretUp-ChbxgeuF.mjs → CaretUp-BrDS-bvL.mjs} +1 -1
- package/dist/{ChallengeAccepted-CY8XRve5.mjs → ChallengeAccepted-Zjodpasl.mjs} +1 -1
- package/dist/{CheckIn-DcS885j0.mjs → CheckIn-b-hbRkzU.mjs} +1 -1
- package/dist/{CheckIns-Bm89hpwo.mjs → CheckIns-BHZzHiKi.mjs} +1 -1
- package/dist/{CheckSeal-CgywOKVg.mjs → CheckSeal-D5rssnFa.mjs} +1 -1
- package/dist/{Checkmark-DKjVxb2Q.mjs → Checkmark-cScBzOku.mjs} +1 -1
- package/dist/{Clock-CZLQaczF.mjs → Clock-EmmfgeXW.mjs} +1 -1
- package/dist/{Close-BF3-6viD.mjs → Close-Cx5B03-O.mjs} +1 -1
- package/dist/{CloudDownload-Vj69VxMN.mjs → CloudDownload-CLmn9uCJ.mjs} +1 -1
- package/dist/{Comment-CuassOG8.mjs → Comment-D_tOwfgY.mjs} +1 -1
- package/dist/{Comments-D4NQqdw9.mjs → Comments-BQgFtm5m.mjs} +1 -1
- package/dist/{Connections-9NIdMV_U.mjs → Connections-wavfJfON.mjs} +1 -1
- package/dist/{Copy-Dw6SIcVv.mjs → Copy-BFQz1TsC.mjs} +1 -1
- package/dist/{CustomQuestion-CZef32xQ.mjs → CustomQuestion-DH9tlLq0.mjs} +1 -1
- package/dist/{CustomerSuccess-gPjpKJnh.mjs → CustomerSuccess-DDnimu6X.mjs} +1 -1
- package/dist/{DatePicker-DVD9fFOG.mjs → DatePicker-BdxkpZdw.mjs} +1 -1
- package/dist/{Dot-CmoxuuH6.mjs → Dot-ByCvMvRs.mjs} +1 -1
- package/dist/{Download-Dlvdx3i2.mjs → Download-BpI13NML.mjs} +1 -1
- package/dist/{Drag-CCLGunXK.mjs → Drag-BZZ1UEVW.mjs} +1 -1
- package/dist/{Earn-CradVaJ1.mjs → Earn-DHkCK8pH.mjs} +1 -1
- package/dist/{Email-B47QKqMM.mjs → Email-D2fqiSaZ.mjs} +1 -1
- package/dist/{EmojiDisplay-4IXqO1gn.mjs → EmojiDisplay-COyxT50q.mjs} +2 -2
- package/dist/{EmojiPicker-5Zi1xUVI.mjs → EmojiPicker-BmW_23rb.mjs} +2 -2
- package/dist/{EnpsSurvey-CB_Lwv5y.mjs → EnpsSurvey-kdAojUlE.mjs} +1 -1
- package/dist/{Expired-CBDGf_71.mjs → Expired-BlqSFpg0.mjs} +1 -1
- package/dist/{Eye-Cemhs7Lc.mjs → Eye-T6khJu4n.mjs} +1 -1
- package/dist/{Feedback-D-qFgwwY.mjs → Feedback-CeAY-4S8.mjs} +1 -1
- package/dist/{Feedback-Ccy_EovP.mjs → Feedback-DQ0auy8x.mjs} +1 -1
- package/dist/{Filter-TAlCbaCZ.mjs → Filter-pwb6pi2x.mjs} +1 -1
- package/dist/{Flag-CRl9LgyR.mjs → Flag-BxpswTRb.mjs} +1 -1
- package/dist/{Giphy-Dj7LubqY.mjs → Giphy-3VW06GkN.mjs} +1 -1
- package/dist/{GoalCount-DQPGJ0L3.mjs → GoalCount-UYyh-Q_f.mjs} +1 -1
- package/dist/{GoalPercent-BAFTY5G6.mjs → GoalPercent-Cz80xDXH.mjs} +1 -1
- package/dist/{GoalTask-CQGe4PAL.mjs → GoalTask-BXGfvQ1i.mjs} +1 -1
- package/dist/{GoalTask-D1vq5M-x.mjs → GoalTask-ZN5Kd6dP.mjs} +1 -1
- package/dist/{Goals-B46Db01K.mjs → Goals-BYGavoyF.mjs} +1 -1
- package/dist/{Goals-Ck76n8ta.mjs → Goals-DwHOFjx9.mjs} +1 -1
- package/dist/{Growth-ClcYCfdG.mjs → Growth-BmJ0spe8.mjs} +1 -1
- package/dist/{Hamburger-DWZTx-qI.mjs → Hamburger-DfJ95EBO.mjs} +1 -1
- package/dist/{Help-DhJzYqX1.mjs → Help-etUgO5Bb.mjs} +1 -1
- package/dist/{HighFive-d5ACTyxW.mjs → HighFive-Dp2NQlMK.mjs} +1 -1
- package/dist/{HighFive-C5jVZXrG.mjs → HighFive-orCVH7tZ.mjs} +1 -1
- package/dist/{Home-DVxP0ItD.mjs → Home-DWhEGSJW.mjs} +1 -1
- package/dist/{Home-DSm0Auoo.mjs → Home-RIcKMhx8.mjs} +1 -1
- package/dist/{HorizontalLine-C3crLT9L.mjs → HorizontalLine-RDXOELfY.mjs} +1 -1
- package/dist/{Hourglass-Bvqg0jYR.mjs → Hourglass-DFI_uktS.mjs} +1 -1
- package/dist/{Image-BPzxGFVQ.mjs → Image-B2lTOFQV.mjs} +1 -1
- package/dist/{ImageFile-ciFTkBa3.mjs → ImageFile-CXewA-IP.mjs} +1 -1
- package/dist/{InGoodCompany-NnWffHSB.mjs → InGoodCompany-w8LX93U7.mjs} +1 -1
- package/dist/{Incentives-DP0i6yLk.mjs → Incentives-DbttQZw9.mjs} +1 -1
- package/dist/{Info-DuK1aCtW.mjs → Info-CDb8ZfD-.mjs} +1 -1
- package/dist/{Insights-RWfmcE0y.mjs → Insights-0kENcXoM.mjs} +1 -1
- package/dist/{Insights-ABzj6s8z.mjs → Insights-DDKxfP36.mjs} +1 -1
- package/dist/{Integrations-DVslQ8G0.mjs → Integrations-Ck_6gRmx.mjs} +1 -1
- package/dist/{KazooLogo-BmSiIpMv.mjs → KazooLogo-BF7fSs3v.mjs} +1 -1
- package/dist/{KnowYourAudience-BO7-AYom.mjs → KnowYourAudience-UjeVQaqo.mjs} +1 -1
- package/dist/{Launch-CrmZe7MA.mjs → Launch-c800vmSV.mjs} +1 -1
- package/dist/{Link-d0imuk81.mjs → Link-CuZ6BpZi.mjs} +1 -1
- package/dist/{LinkArrow-Dwb3mPyU.mjs → LinkArrow-CP0kBYoA.mjs} +1 -1
- package/dist/{Loading-CuWPqGsj.mjs → Loading-DXhcnL-L.mjs} +1 -1
- package/dist/{Lock-hi82OzZa.mjs → Lock-C5NdEcGi.mjs} +1 -1
- package/dist/{Management-BEWvTosz.mjs → Management-eqInJfMr.mjs} +1 -1
- package/dist/{MeatballMenu-ChF4akqq.mjs → MeatballMenu-rNtUmBY4.mjs} +1 -1
- package/dist/{Messages-CqByMptt.mjs → Messages-BfweRIM2.mjs} +1 -1
- package/dist/{Microphone-D0JAWwpN.mjs → Microphone-Co-QRg-m.mjs} +1 -1
- package/dist/{Mobile-7e6IWA-i.mjs → Mobile-CV-rQKzx.mjs} +1 -1
- package/dist/{Nomination-CPtg3CD9.mjs → Nomination-DUsx-Rca.mjs} +1 -1
- package/dist/{NominationsAndAwards-BO4gtNaO.mjs → NominationsAndAwards-D6-5edDc.mjs} +1 -1
- package/dist/{Notification-DJGSBIFw.mjs → Notification-DjVRcJwU.mjs} +1 -1
- package/dist/{Okrs-ubrP8dSR.mjs → Okrs-8txrOiJA.mjs} +1 -1
- package/dist/{Pause-0JIqNbyR.mjs → Pause-YZlKhr4I.mjs} +1 -1
- package/dist/{PeerToPeer-KAemVcyV.mjs → PeerToPeer-DvwhOr4C.mjs} +1 -1
- package/dist/{Pencil-6BFfkOpi.mjs → Pencil-s_g0aXkp.mjs} +1 -1
- package/dist/{People-DJGo8C60.mjs → People-BqADw5ox.mjs} +1 -1
- package/dist/{PerformanceManagement-BdCWJyzB.mjs → PerformanceManagement-BZw5CQe-.mjs} +1 -1
- package/dist/{Pin-C-3A-UZT.mjs → Pin-BQ9wiCVU.mjs} +1 -1
- package/dist/{PinnedIconAward-Bzw0tMw0.mjs → PinnedIconAward-DMbiVZT9.mjs} +1 -1
- package/dist/{PinnedIconBrightIdea-DQWSIu2s.mjs → PinnedIconBrightIdea-C9D4RHom.mjs} +1 -1
- package/dist/{PinnedIconBullseye-ClnPFpwq.mjs → PinnedIconBullseye-Cj34FSUk.mjs} +1 -1
- package/dist/{PinnedIconChampagne-BVrNU_Y9.mjs → PinnedIconChampagne-B8DvX1YA.mjs} +1 -1
- package/dist/{PinnedIconCheer-Drs7o9CW.mjs → PinnedIconCheer-DG72GOoL.mjs} +1 -1
- package/dist/{PinnedIconCrown-CAwk1F6H.mjs → PinnedIconCrown-C0z4Nvln.mjs} +1 -1
- package/dist/{PinnedIconDiamond-B-bVEGR1.mjs → PinnedIconDiamond-DcUCHTVu.mjs} +1 -1
- package/dist/{PinnedIconHoleInOne-BZx2scWX.mjs → PinnedIconHoleInOne-Dj55Wp6x.mjs} +1 -1
- package/dist/{PinnedIconMedal-Dv3G1jT3.mjs → PinnedIconMedal-BS5EIacZ.mjs} +1 -1
- package/dist/{PinnedIconMetrics-DauHJoD2.mjs → PinnedIconMetrics-DneODiZH.mjs} +1 -1
- package/dist/{PinnedIconPin-BIAxeaf8.mjs → PinnedIconPin-BhdPp2oZ.mjs} +1 -1
- package/dist/{PinnedIconRockAndRoll-Bn8v76lW.mjs → PinnedIconRockAndRoll-CGqaluUe.mjs} +1 -1
- package/dist/{PinnedIconRocket-DA_1t7qK.mjs → PinnedIconRocket-CvwKX3Aw.mjs} +1 -1
- package/dist/{PinnedIconStrength-Btf0f0eg.mjs → PinnedIconStrength-CdIxjA8L.mjs} +1 -1
- package/dist/{PinnedIconTeddyBear-DKiaX_sM.mjs → PinnedIconTeddyBear-C0zUi2BN.mjs} +1 -1
- package/dist/{PlatformLogo-DwRp94-4.mjs → PlatformLogo-CtBzTGCP.mjs} +1 -1
- package/dist/{Plus-Di6zqPST.mjs → Plus-Cxl9W0O_.mjs} +1 -1
- package/dist/{Popper-BlHAQoEY.mjs → Popper-BfuoZXrI.mjs} +1 -1
- package/dist/{PrivateEye-DzwKGeDy.mjs → PrivateEye-DFIRfhcJ.mjs} +1 -1
- package/dist/{PrivatePushPin-CZUUSV12.mjs → PrivatePushPin-CnYu0-0u.mjs} +1 -1
- package/dist/{Processing-Co-okzXH.mjs → Processing-CkX-4Z3N.mjs} +1 -1
- package/dist/{Productivity-BkXBwb_G.mjs → Productivity-PPAm4YUG.mjs} +1 -1
- package/dist/{ProgressCircle-DscFCf38.mjs → ProgressCircle-wjRT0fKY.mjs} +1 -1
- package/dist/{PulseSurvey-4hZEHLAI.mjs → PulseSurvey-1a8Uf5gm.mjs} +1 -1
- package/dist/{PushPin-BjD3oEJZ.mjs → PushPin-CzOrN3QC.mjs} +1 -1
- package/dist/{QuotesLeft-EP4HEx2t.mjs → QuotesLeft-DlyHWrKm.mjs} +1 -1
- package/dist/{QuotesRight-RlpRJwl9.mjs → QuotesRight-BBgA0YNz.mjs} +1 -1
- package/dist/{Recognition-4YO9ysy-.mjs → Recognition-DAf1nQGi.mjs} +1 -1
- package/dist/{Recognition-BFIfxYfn.mjs → Recognition-DXC2qQnH.mjs} +1 -1
- package/dist/{Retention-B6WYgfQi.mjs → Retention-BmC-NyTd.mjs} +1 -1
- package/dist/{Rewards-DuDg8mpU.mjs → Rewards-BAJLIYnI.mjs} +1 -1
- package/dist/{Rewards-anl8krTo.mjs → Rewards-C4T9Cl_Z.mjs} +1 -1
- package/dist/{RewardsCatalog-Dnu5p6nu.mjs → RewardsCatalog-ZkCmsFJH.mjs} +1 -1
- package/dist/{Roadmap-_b06LVG1.mjs → Roadmap-_uVLpXcn.mjs} +1 -1
- package/dist/{Search-BOFl4mUG.mjs → Search-BH_VIouS.mjs} +1 -1
- package/dist/{Security-DCl46_2M.mjs → Security-BCToeog-.mjs} +1 -1
- package/dist/{SendRecognition-zBAPUblE.mjs → SendRecognition-B3Epzcy-.mjs} +1 -1
- package/dist/{ShareLink-DvLwGJjN.mjs → ShareLink-CHRkXyYi.mjs} +1 -1
- package/dist/{SidebarCollapse-CthDG1FC.mjs → SidebarCollapse-BvnLbUtc.mjs} +1 -1
- package/dist/{Skill-CO7jdSB0.mjs → Skill-Dc35nwK1.mjs} +1 -1
- package/dist/{Skills-BhwP7C4n.mjs → Skills-DTwXmnTz.mjs} +1 -1
- package/dist/{Smiley-CH7-53oU.mjs → Smiley-D0IXLh0c.mjs} +1 -1
- package/dist/{Stop-7-qI3fO4.mjs → Stop-B20D-rl1.mjs} +1 -1
- package/dist/{Survey-jIyinddO.mjs → Survey-C-Jsk51t.mjs} +1 -1
- package/dist/{Surveys-CshU35Vk.mjs → Surveys-CXoYCeZD.mjs} +1 -1
- package/dist/{SyncUps-8mUQUswj.mjs → SyncUps-CRFLvsF5.mjs} +1 -1
- package/dist/{Syncs-D4NkX8hP.mjs → Syncs-BsMg45qe.mjs} +1 -1
- package/dist/{TalentReview-BmG6Up94.mjs → TalentReview-C2OyqAhi.mjs} +1 -1
- package/dist/{TalentReview-BM9HpEKJ.mjs → TalentReview-Cycp9omP.mjs} +1 -1
- package/dist/{TalentReviewInsights-CC3r4NSV.mjs → TalentReviewInsights-J8M-i2H0.mjs} +1 -1
- package/dist/{TaskCompleted-B-diUk50.mjs → TaskCompleted-xeJLecX9.mjs} +1 -1
- package/dist/{Team-DLD9MA5O.mjs → Team-DG7AFOsi.mjs} +1 -1
- package/dist/{Teams-bRXEIT88.mjs → Teams-CPP69q5q.mjs} +1 -1
- package/dist/{TextBold-DyWRL7n1.mjs → TextBold-BJW7PywG.mjs} +1 -1
- package/dist/{TextBulletList-CP4HERhx.mjs → TextBulletList-DQxNdAqK.mjs} +1 -1
- package/dist/{TextInput-gVEaIgBV.mjs → TextInput-CFOtPW3q.mjs} +1 -1
- package/dist/{TextItalic-CWG720LM.mjs → TextItalic-OqDIbzvy.mjs} +1 -1
- package/dist/{TextNumberList-_-6DjXo0.mjs → TextNumberList-BdOiSQRW.mjs} +1 -1
- package/dist/{TextUnderline-BCOodYc6.mjs → TextUnderline-DriAalE7.mjs} +1 -1
- package/dist/{Toggle-jcDDkCKL.mjs → Toggle-CBbWHEJc.mjs} +1 -1
- package/dist/{Translate-Ca7AOkqN.mjs → Translate-Bx2imP3c.mjs} +1 -1
- package/dist/{Trash-BxhjQ2nC.mjs → Trash-CoSTymt8.mjs} +1 -1
- package/dist/{TrendDown-L29yM8Hz.mjs → TrendDown-CL39PEr2.mjs} +1 -1
- package/dist/{TrendUp-DidCarHp.mjs → TrendUp-BN2L_LXw.mjs} +1 -1
- package/dist/{Undo-DjaGUApO.mjs → Undo-0qoDNTAn.mjs} +1 -1
- package/dist/{Unplugged-CiKayUCX.mjs → Unplugged-4iYZ9UBx.mjs} +1 -1
- package/dist/{UpDownCaret-DulvxjtL.mjs → UpDownCaret-DNI9ZDEw.mjs} +1 -1
- package/dist/{VerticalLine-DeaDdcr4.mjs → VerticalLine-DIQ6Dos_.mjs} +1 -1
- package/dist/{Warning-DDrTU6HN.mjs → Warning-DksHjHJs.mjs} +1 -1
- package/dist/{WarningNoOutline-B3hCQJlI.mjs → WarningNoOutline-CLBs4lxn.mjs} +1 -1
- package/dist/{YesAnd-COJ8lQ6Q.mjs → YesAnd-BzX3MoHa.mjs} +1 -1
- package/dist/{emoji-Cxlu8ki4.mjs → emoji-Dl39mbAY.mjs} +1 -1
- package/dist/express.js +277 -3
- package/dist/{react-apexcharts.min-WUYkLvUY.mjs → react-apexcharts.min-CyapRKVu.mjs} +1 -1
- package/dist/react.es.js +1 -1
- package/dist/react.umd.js +2 -2
- package/dist/{reactComponent-C28s58wH.mjs → reactComponent-DMmMkRID.mjs} +225 -221
- package/express.d.ts +33 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as c } from "./reactComponent-
|
|
1
|
+
import { j as c } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
const t = () => /* @__PURE__ */ c.jsx("path", { d: "M23 12c0 6.075-4.925 11-11 11-6.072-0.007-10.993-4.928-11-11 0-6.075 4.925-11 11-11s11 4.925 11 11zM6.259 11.079l-0.275 0.275c-0.171 0.172-0.266 0.405-0.262 0.647s0.104 0.473 0.279 0.64l5.34 5.142c0.372 0.35 0.951 0.352 1.326 0.006l5.337-5.055c0.176-0.166 0.278-0.396 0.281-0.638s-0.092-0.475-0.264-0.645l-0.275-0.275c-0.367-0.352-0.942-0.366-1.326-0.032l-2.359 2.108c-0.376 0.336-0.684 0.198-0.684-0.306v-5.958c0-0.506-0.41-0.917-0.917-0.917h-0.917c-0.506 0-0.917 0.41-0.917 0.917v5.945c0 0.504-0.309 0.638-0.676 0.297l-2.37-2.178c-0.379-0.341-0.958-0.328-1.323 0.028z" });
|
|
3
3
|
export {
|
|
4
4
|
t as trend_down
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as c } from "./reactComponent-
|
|
1
|
+
import { j as c } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
const t = () => /* @__PURE__ */ c.jsx("path", { d: "M1 12c0-6.075 4.925-11 11-11 6.072 0.007 10.993 4.928 11 11 0 6.075-4.925 11-11 11s-11-4.925-11-11zM17.741 12.921l0.275-0.275c0.171-0.171 0.266-0.405 0.262-0.647s-0.104-0.473-0.279-0.64l-5.34-5.143c-0.372-0.35-0.951-0.352-1.326-0.006l-5.337 5.055c-0.176 0.166-0.278 0.396-0.281 0.638s0.092 0.475 0.264 0.645l0.275 0.275c0.367 0.352 0.942 0.366 1.326 0.032l2.359-2.108c0.376-0.336 0.684-0.198 0.684 0.306v5.958c0 0.506 0.41 0.917 0.917 0.917h0.917c0.506 0 0.917-0.41 0.917-0.917v-5.945c0-0.504 0.309-0.638 0.676-0.297l2.37 2.178c0.38 0.341 0.958 0.328 1.323-0.029z" });
|
|
3
3
|
export {
|
|
4
4
|
t as trend_up
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as i } from "./reactComponent-
|
|
1
|
+
import { j as i } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
function t({ className: r = "primary-foreground" }) {
|
|
3
3
|
return /* @__PURE__ */ i.jsxs("svg", { width: "196", height: "196", viewBox: "0 0 196 196", className: r, children: [
|
|
4
4
|
/* @__PURE__ */ i.jsx("circle", { cx: "98", cy: "98", r: "98", fill: "currentColor" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as C } from "./reactComponent-
|
|
1
|
+
import { j as C } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
function L({ illustrationColor: t }) {
|
|
3
3
|
return /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
|
4
4
|
/* @__PURE__ */ C.jsx("title", { children: "Yes and illustration" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as A, g as yt, r as _t, h as Et, i as Ct, k as he } from "./reactComponent-
|
|
1
|
+
import { _ as A, g as yt, r as _t, h as Et, i as Ct, k as he } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
import s from "react";
|
|
3
3
|
function te(i) {
|
|
4
4
|
"@babel/helpers - typeof";
|
package/dist/express.js
CHANGED
|
@@ -11225,7 +11225,9 @@ function setupAiAssistantRoutes(args) {
|
|
|
11225
11225
|
proxyRes: (proxyRes, req, res) => {
|
|
11226
11226
|
if (proxyRes.statusCode !== 200) {
|
|
11227
11227
|
const originalUrl = req.originalUrl;
|
|
11228
|
-
logger.error(
|
|
11228
|
+
logger.error(
|
|
11229
|
+
`[setupAiAssistantRoutes] Proxy error ${proxyRes.statusCode}: ${originalUrl}`
|
|
11230
|
+
);
|
|
11229
11231
|
}
|
|
11230
11232
|
if (req.headers.accept === "text/event-stream") {
|
|
11231
11233
|
res.writeHead(res.statusCode, {
|
|
@@ -11234,9 +11236,18 @@ function setupAiAssistantRoutes(args) {
|
|
|
11234
11236
|
Connection: "keep-alive"
|
|
11235
11237
|
});
|
|
11236
11238
|
}
|
|
11239
|
+
if (proxyRes.statusCode === 200 && (args.onRestEndpointSuccess || args.onGraphQLOperationSuccess)) {
|
|
11240
|
+
handleSuccessCallback({
|
|
11241
|
+
proxyRes,
|
|
11242
|
+
req,
|
|
11243
|
+
logger,
|
|
11244
|
+
onRestEndpointSuccess: args.onRestEndpointSuccess,
|
|
11245
|
+
onGraphQLOperationSuccess: args.onGraphQLOperationSuccess
|
|
11246
|
+
});
|
|
11247
|
+
}
|
|
11237
11248
|
},
|
|
11238
11249
|
error: (err, req, res) => {
|
|
11239
|
-
logger.error("Proxy error:", err);
|
|
11250
|
+
logger.error("[setupAiAssistantRoutes] Proxy error:", err);
|
|
11240
11251
|
if ("headersSent" in res && !res.headersSent) {
|
|
11241
11252
|
res.statusCode = 502;
|
|
11242
11253
|
res.write("Bad Gateway");
|
|
@@ -11245,7 +11256,10 @@ function setupAiAssistantRoutes(args) {
|
|
|
11245
11256
|
}
|
|
11246
11257
|
}
|
|
11247
11258
|
};
|
|
11248
|
-
logger.debug(
|
|
11259
|
+
logger.debug(
|
|
11260
|
+
"[setupAiAssistantRoutes] Setting up AI Assistant proxy:",
|
|
11261
|
+
proxyOptions
|
|
11262
|
+
);
|
|
11249
11263
|
const proxy = (0, import_http_proxy_middleware.createProxyMiddleware)(proxyOptions);
|
|
11250
11264
|
args.app.use(
|
|
11251
11265
|
routePath,
|
|
@@ -11257,6 +11271,266 @@ function setupAiAssistantRoutes(args) {
|
|
|
11257
11271
|
function getRequestWithNewAuthHeader(req) {
|
|
11258
11272
|
return req;
|
|
11259
11273
|
}
|
|
11274
|
+
function handleSuccessCallback(args) {
|
|
11275
|
+
const {
|
|
11276
|
+
proxyRes,
|
|
11277
|
+
req,
|
|
11278
|
+
logger,
|
|
11279
|
+
onRestEndpointSuccess,
|
|
11280
|
+
onGraphQLOperationSuccess
|
|
11281
|
+
} = args;
|
|
11282
|
+
const expressRequest = req;
|
|
11283
|
+
const targetPath = expressRequest.path || expressRequest.url || "";
|
|
11284
|
+
const requestBody = expressRequest.body;
|
|
11285
|
+
const chunks = [];
|
|
11286
|
+
proxyRes.on("data", (chunk) => {
|
|
11287
|
+
chunks.push(chunk);
|
|
11288
|
+
});
|
|
11289
|
+
proxyRes.on("end", () => {
|
|
11290
|
+
processBufferedResponse({
|
|
11291
|
+
chunks,
|
|
11292
|
+
requestBody,
|
|
11293
|
+
targetPath,
|
|
11294
|
+
expressRequest,
|
|
11295
|
+
logger,
|
|
11296
|
+
onRestEndpointSuccess,
|
|
11297
|
+
onGraphQLOperationSuccess
|
|
11298
|
+
});
|
|
11299
|
+
});
|
|
11300
|
+
}
|
|
11301
|
+
function processBufferedResponse(args) {
|
|
11302
|
+
const {
|
|
11303
|
+
chunks,
|
|
11304
|
+
requestBody,
|
|
11305
|
+
targetPath,
|
|
11306
|
+
expressRequest,
|
|
11307
|
+
logger,
|
|
11308
|
+
onRestEndpointSuccess,
|
|
11309
|
+
onGraphQLOperationSuccess
|
|
11310
|
+
} = args;
|
|
11311
|
+
try {
|
|
11312
|
+
const responseBody = Buffer.concat(chunks).toString("utf8");
|
|
11313
|
+
if (!responseBody) {
|
|
11314
|
+
return;
|
|
11315
|
+
}
|
|
11316
|
+
const parsedResponse = tryParseJSON(responseBody, logger);
|
|
11317
|
+
if (!parsedResponse) {
|
|
11318
|
+
return;
|
|
11319
|
+
}
|
|
11320
|
+
routeCallback({
|
|
11321
|
+
requestBody,
|
|
11322
|
+
parsedResponse,
|
|
11323
|
+
targetPath,
|
|
11324
|
+
expressRequest,
|
|
11325
|
+
logger,
|
|
11326
|
+
onRestEndpointSuccess,
|
|
11327
|
+
onGraphQLOperationSuccess
|
|
11328
|
+
});
|
|
11329
|
+
} catch (error) {
|
|
11330
|
+
logger.error("[setupAiAssistantRoutes] Error in success callback:", error);
|
|
11331
|
+
}
|
|
11332
|
+
}
|
|
11333
|
+
function routeCallback(args) {
|
|
11334
|
+
const {
|
|
11335
|
+
requestBody,
|
|
11336
|
+
parsedResponse,
|
|
11337
|
+
targetPath,
|
|
11338
|
+
expressRequest,
|
|
11339
|
+
logger,
|
|
11340
|
+
onRestEndpointSuccess,
|
|
11341
|
+
onGraphQLOperationSuccess
|
|
11342
|
+
} = args;
|
|
11343
|
+
const isGraphQLRequest = isGraphQLRequestBody(requestBody);
|
|
11344
|
+
if (isGraphQLRequest && onGraphQLOperationSuccess) {
|
|
11345
|
+
handleGraphQLCallback({
|
|
11346
|
+
requestBody,
|
|
11347
|
+
parsedResponse,
|
|
11348
|
+
expressRequest,
|
|
11349
|
+
onGraphQLOperationSuccess,
|
|
11350
|
+
logger
|
|
11351
|
+
});
|
|
11352
|
+
} else if (!isGraphQLRequest && onRestEndpointSuccess) {
|
|
11353
|
+
handleRestCallback({
|
|
11354
|
+
targetPath,
|
|
11355
|
+
requestBody,
|
|
11356
|
+
parsedResponse,
|
|
11357
|
+
expressRequest,
|
|
11358
|
+
onRestEndpointSuccess,
|
|
11359
|
+
logger
|
|
11360
|
+
});
|
|
11361
|
+
}
|
|
11362
|
+
}
|
|
11363
|
+
function tryParseJSON(responseBody, logger) {
|
|
11364
|
+
try {
|
|
11365
|
+
return JSON.parse(responseBody);
|
|
11366
|
+
} catch (error) {
|
|
11367
|
+
logger.debug(
|
|
11368
|
+
"[setupAiAssistantRoutes] Response is not JSON, skipping callback"
|
|
11369
|
+
);
|
|
11370
|
+
return void 0;
|
|
11371
|
+
}
|
|
11372
|
+
}
|
|
11373
|
+
function hasGraphQLFields(item) {
|
|
11374
|
+
return typeof item === "object" && item !== null && ("operationName" in item || "query" in item);
|
|
11375
|
+
}
|
|
11376
|
+
function isGraphQLRequestBody(requestBody) {
|
|
11377
|
+
if (!Array.isArray(requestBody)) {
|
|
11378
|
+
return hasGraphQLFields(requestBody);
|
|
11379
|
+
}
|
|
11380
|
+
if (requestBody.length > 0) {
|
|
11381
|
+
return hasGraphQLFields(requestBody[0]);
|
|
11382
|
+
}
|
|
11383
|
+
return false;
|
|
11384
|
+
}
|
|
11385
|
+
function handleGraphQLCallback(args) {
|
|
11386
|
+
const {
|
|
11387
|
+
requestBody,
|
|
11388
|
+
parsedResponse,
|
|
11389
|
+
expressRequest,
|
|
11390
|
+
onGraphQLOperationSuccess,
|
|
11391
|
+
logger
|
|
11392
|
+
} = args;
|
|
11393
|
+
if (Array.isArray(requestBody)) {
|
|
11394
|
+
handleBatchedGraphQLCallbacks({
|
|
11395
|
+
requestBodies: requestBody,
|
|
11396
|
+
parsedResponse,
|
|
11397
|
+
expressRequest,
|
|
11398
|
+
onGraphQLOperationSuccess,
|
|
11399
|
+
logger
|
|
11400
|
+
});
|
|
11401
|
+
return;
|
|
11402
|
+
}
|
|
11403
|
+
const operationName = extractGraphQLOperationName(requestBody, logger);
|
|
11404
|
+
if (!operationName) {
|
|
11405
|
+
return;
|
|
11406
|
+
}
|
|
11407
|
+
const callback = onGraphQLOperationSuccess[operationName];
|
|
11408
|
+
if (callback) {
|
|
11409
|
+
invokeGraphQLCallback({
|
|
11410
|
+
callback,
|
|
11411
|
+
requestBody,
|
|
11412
|
+
parsedResponse,
|
|
11413
|
+
expressRequest,
|
|
11414
|
+
operationName,
|
|
11415
|
+
logger
|
|
11416
|
+
});
|
|
11417
|
+
}
|
|
11418
|
+
}
|
|
11419
|
+
function handleBatchedGraphQLCallbacks(args) {
|
|
11420
|
+
const {
|
|
11421
|
+
requestBodies,
|
|
11422
|
+
parsedResponse,
|
|
11423
|
+
expressRequest,
|
|
11424
|
+
onGraphQLOperationSuccess,
|
|
11425
|
+
logger
|
|
11426
|
+
} = args;
|
|
11427
|
+
const responses = Array.isArray(parsedResponse) ? parsedResponse : [parsedResponse];
|
|
11428
|
+
requestBodies.forEach((requestBody, index) => {
|
|
11429
|
+
const operationName = extractGraphQLOperationName(requestBody, logger);
|
|
11430
|
+
if (!operationName) {
|
|
11431
|
+
return;
|
|
11432
|
+
}
|
|
11433
|
+
const callback = onGraphQLOperationSuccess[operationName];
|
|
11434
|
+
if (!callback) {
|
|
11435
|
+
return;
|
|
11436
|
+
}
|
|
11437
|
+
const response = responses[index] || parsedResponse;
|
|
11438
|
+
invokeGraphQLCallback({
|
|
11439
|
+
callback,
|
|
11440
|
+
requestBody,
|
|
11441
|
+
parsedResponse: response,
|
|
11442
|
+
expressRequest,
|
|
11443
|
+
operationName,
|
|
11444
|
+
logger
|
|
11445
|
+
});
|
|
11446
|
+
});
|
|
11447
|
+
}
|
|
11448
|
+
function extractGraphQLOperationName(requestBody, logger) {
|
|
11449
|
+
if (typeof requestBody !== "object" || requestBody === null) {
|
|
11450
|
+
return void 0;
|
|
11451
|
+
}
|
|
11452
|
+
const body = requestBody;
|
|
11453
|
+
if (body.operationName) {
|
|
11454
|
+
return body.operationName;
|
|
11455
|
+
}
|
|
11456
|
+
if (body.query) {
|
|
11457
|
+
const match = body.query.match(/(?:query|mutation)\s+(\w+)/);
|
|
11458
|
+
if (match) {
|
|
11459
|
+
return match[1];
|
|
11460
|
+
}
|
|
11461
|
+
}
|
|
11462
|
+
logger.debug(
|
|
11463
|
+
"[setupAiAssistantRoutes] Could not determine GraphQL operation name"
|
|
11464
|
+
);
|
|
11465
|
+
return void 0;
|
|
11466
|
+
}
|
|
11467
|
+
function invokeGraphQLCallback(args) {
|
|
11468
|
+
const {
|
|
11469
|
+
callback,
|
|
11470
|
+
requestBody,
|
|
11471
|
+
parsedResponse,
|
|
11472
|
+
expressRequest,
|
|
11473
|
+
operationName,
|
|
11474
|
+
logger
|
|
11475
|
+
} = args;
|
|
11476
|
+
const context = {
|
|
11477
|
+
request: {
|
|
11478
|
+
path: expressRequest.path || expressRequest.url || "",
|
|
11479
|
+
method: expressRequest.method || "POST",
|
|
11480
|
+
body: requestBody
|
|
11481
|
+
},
|
|
11482
|
+
response: parsedResponse
|
|
11483
|
+
};
|
|
11484
|
+
const typedCallback = callback;
|
|
11485
|
+
Promise.resolve(typedCallback(context)).catch((error) => {
|
|
11486
|
+
logger.error(
|
|
11487
|
+
`[setupAiAssistantRoutes] Error in GraphQL callback for ${operationName}:`,
|
|
11488
|
+
error
|
|
11489
|
+
);
|
|
11490
|
+
});
|
|
11491
|
+
}
|
|
11492
|
+
function handleRestCallback(args) {
|
|
11493
|
+
const {
|
|
11494
|
+
targetPath,
|
|
11495
|
+
requestBody,
|
|
11496
|
+
parsedResponse,
|
|
11497
|
+
expressRequest,
|
|
11498
|
+
onRestEndpointSuccess,
|
|
11499
|
+
logger
|
|
11500
|
+
} = args;
|
|
11501
|
+
const matchingPath = findMatchingRestEndpoint(
|
|
11502
|
+
targetPath,
|
|
11503
|
+
onRestEndpointSuccess
|
|
11504
|
+
);
|
|
11505
|
+
if (!matchingPath) {
|
|
11506
|
+
return;
|
|
11507
|
+
}
|
|
11508
|
+
const callback = onRestEndpointSuccess[matchingPath];
|
|
11509
|
+
if (callback) {
|
|
11510
|
+
const requestPath = expressRequest.path || expressRequest.url || "";
|
|
11511
|
+
const context = {
|
|
11512
|
+
request: {
|
|
11513
|
+
path: requestPath,
|
|
11514
|
+
method: expressRequest.method || "POST",
|
|
11515
|
+
body: requestBody
|
|
11516
|
+
},
|
|
11517
|
+
response: parsedResponse
|
|
11518
|
+
};
|
|
11519
|
+
const typedCallback = callback;
|
|
11520
|
+
Promise.resolve(typedCallback(context)).catch((error) => {
|
|
11521
|
+
logger.error(
|
|
11522
|
+
`[setupAiAssistantRoutes] Error in REST callback for ${matchingPath}:`,
|
|
11523
|
+
error
|
|
11524
|
+
);
|
|
11525
|
+
});
|
|
11526
|
+
}
|
|
11527
|
+
}
|
|
11528
|
+
function findMatchingRestEndpoint(targetPath, callbacks) {
|
|
11529
|
+
const match = Object.keys(callbacks).find(
|
|
11530
|
+
(path) => targetPath.includes(path)
|
|
11531
|
+
);
|
|
11532
|
+
return match;
|
|
11533
|
+
}
|
|
11260
11534
|
// Annotate the CommonJS export names for ESM import in node:
|
|
11261
11535
|
0 && (module.exports = {
|
|
11262
11536
|
setupAiAssistantRoutes
|
package/dist/react.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, n as o, p as a, m as n, q as i, u as g, v as p, t as A, s as m } from "./reactComponent-
|
|
1
|
+
import { A as e, n as o, p as a, m as n, q as i, u as g, v as p, t as A, s as m } from "./reactComponent-DMmMkRID.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as AiAssistant,
|
|
4
4
|
o as AiAssistantSettingsComponent,
|