pika-shared 1.4.2 → 1.4.3
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/types/chatbot/chatbot-types.d.mts +281 -25
- package/dist/types/chatbot/chatbot-types.d.ts +281 -25
- package/dist/types/chatbot/chatbot-types.js +5 -1
- package/dist/types/chatbot/chatbot-types.js.map +1 -1
- package/dist/types/chatbot/chatbot-types.mjs +4 -2
- package/dist/types/chatbot/chatbot-types.mjs.map +1 -1
- package/dist/types/chatbot/webcomp-types.d.mts +5 -1
- package/dist/types/chatbot/webcomp-types.d.ts +5 -1
- package/dist/util/instruction-assistance-utils.js +30 -20
- package/dist/util/instruction-assistance-utils.js.map +1 -1
- package/dist/util/instruction-assistance-utils.mjs +30 -20
- package/dist/util/instruction-assistance-utils.mjs.map +1 -1
- package/dist/util/server-utils.js +4 -2
- package/dist/util/server-utils.js.map +1 -1
- package/dist/util/server-utils.mjs +4 -2
- package/dist/util/server-utils.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -56,7 +56,8 @@ function getOverridableFeatures(siteFeatures, chatApp, user) {
|
|
|
56
56
|
websiteEnabled: false
|
|
57
57
|
},
|
|
58
58
|
tags: {
|
|
59
|
-
tagsEnabled: []
|
|
59
|
+
tagsEnabled: [],
|
|
60
|
+
tagsDisabled: []
|
|
60
61
|
},
|
|
61
62
|
agentInstructionAssistance: {
|
|
62
63
|
enabled: false,
|
|
@@ -155,7 +156,8 @@ function getOverridableFeatures(siteFeatures, chatApp, user) {
|
|
|
155
156
|
result.chatDisclaimerNotice = disclaimerResult.notice;
|
|
156
157
|
const effectiveTagsFeature = chatApp.override?.features?.tags || chatApp.features?.tags;
|
|
157
158
|
result.tags = handleSimpleFeature("tags", effectiveTagsFeature, siteFeatures?.tags, result.tags, (feature) => ({
|
|
158
|
-
tagsEnabled: feature.tagsEnabled ?? []
|
|
159
|
+
tagsEnabled: feature.tagsEnabled ?? [],
|
|
160
|
+
tagsDisabled: feature.tagsDisabled ?? []
|
|
159
161
|
}));
|
|
160
162
|
const effectiveAgentInstructionAssistanceFeature = chatApp.override?.features?.agentInstructionAssistance || chatApp.features?.agentInstructionAssistance;
|
|
161
163
|
result.agentInstructionAssistance = handleSimpleFeature(
|