pika-shared 1.4.1 → 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 +662 -30
- package/dist/types/chatbot/chatbot-types.d.ts +662 -30
- package/dist/types/chatbot/chatbot-types.js +11 -1
- package/dist/types/chatbot/chatbot-types.js.map +1 -1
- package/dist/types/chatbot/chatbot-types.mjs +7 -2
- package/dist/types/chatbot/chatbot-types.mjs.map +1 -1
- package/dist/types/chatbot/webcomp-types.d.mts +227 -4
- package/dist/types/chatbot/webcomp-types.d.ts +227 -4
- package/dist/util/icon-utils.d.mts +12 -0
- package/dist/util/icon-utils.d.ts +12 -0
- package/dist/util/icon-utils.js +26 -0
- package/dist/util/icon-utils.js.map +1 -0
- package/dist/util/icon-utils.mjs +24 -0
- package/dist/util/icon-utils.mjs.map +1 -0
- package/dist/util/instruction-assistance-utils.d.mts +28 -1
- package/dist/util/instruction-assistance-utils.d.ts +28 -1
- package/dist/util/instruction-assistance-utils.js +80 -22
- package/dist/util/instruction-assistance-utils.js.map +1 -1
- package/dist/util/instruction-assistance-utils.mjs +79 -23
- package/dist/util/instruction-assistance-utils.mjs.map +1 -1
- package/dist/util/server-utils.js +10 -4
- package/dist/util/server-utils.js.map +1 -1
- package/dist/util/server-utils.mjs +10 -4
- package/dist/util/server-utils.mjs.map +1 -1
- package/dist/util/wc-utils.js +1 -1
- package/dist/util/wc-utils.js.map +1 -1
- package/dist/util/wc-utils.mjs +1 -1
- package/dist/util/wc-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,
|
|
@@ -65,7 +66,9 @@ function getOverridableFeatures(siteFeatures, chatApp, user) {
|
|
|
65
66
|
completeExampleInstructionEnabled: false,
|
|
66
67
|
completeExampleInstructionLine: void 0,
|
|
67
68
|
jsonOnlyImperativeInstructionEnabled: false,
|
|
68
|
-
jsonOnlyImperativeInstructionLine: void 0
|
|
69
|
+
jsonOnlyImperativeInstructionLine: void 0,
|
|
70
|
+
includeTypescriptBackedOutputFormattingRequirements: false,
|
|
71
|
+
typescriptBackedOutputFormattingRequirements: void 0
|
|
69
72
|
},
|
|
70
73
|
instructionAugmentation: {
|
|
71
74
|
enabled: false,
|
|
@@ -153,7 +156,8 @@ function getOverridableFeatures(siteFeatures, chatApp, user) {
|
|
|
153
156
|
result.chatDisclaimerNotice = disclaimerResult.notice;
|
|
154
157
|
const effectiveTagsFeature = chatApp.override?.features?.tags || chatApp.features?.tags;
|
|
155
158
|
result.tags = handleSimpleFeature("tags", effectiveTagsFeature, siteFeatures?.tags, result.tags, (feature) => ({
|
|
156
|
-
tagsEnabled: feature.tagsEnabled ?? []
|
|
159
|
+
tagsEnabled: feature.tagsEnabled ?? [],
|
|
160
|
+
tagsDisabled: feature.tagsDisabled ?? []
|
|
157
161
|
}));
|
|
158
162
|
const effectiveAgentInstructionAssistanceFeature = chatApp.override?.features?.agentInstructionAssistance || chatApp.features?.agentInstructionAssistance;
|
|
159
163
|
result.agentInstructionAssistance = handleSimpleFeature(
|
|
@@ -168,7 +172,9 @@ function getOverridableFeatures(siteFeatures, chatApp, user) {
|
|
|
168
172
|
completeExampleInstructionEnabled: feature.completeExampleInstructionLine?.enabled ?? false,
|
|
169
173
|
completeExampleInstructionLine: feature.completeExampleInstructionLine?.mdLine ?? void 0,
|
|
170
174
|
jsonOnlyImperativeInstructionEnabled: feature.jsonOnlyImperativeInstructionLine?.enabled ?? false,
|
|
171
|
-
jsonOnlyImperativeInstructionLine: feature.jsonOnlyImperativeInstructionLine?.line ?? void 0
|
|
175
|
+
jsonOnlyImperativeInstructionLine: feature.jsonOnlyImperativeInstructionLine?.line ?? void 0,
|
|
176
|
+
includeTypescriptBackedOutputFormattingRequirements: feature.includeTypescriptBackedOutputFormattingRequirements?.enabled ?? false,
|
|
177
|
+
typescriptBackedOutputFormattingRequirements: feature.typescriptBackedOutputFormattingRequirements ?? void 0
|
|
172
178
|
})
|
|
173
179
|
);
|
|
174
180
|
const effectiveInstructionAugmentationFeature = chatApp.override?.features?.instructionAugmentation || chatApp.features?.instructionAugmentation;
|